- Description
- Start
- required packages
- Hardware
- GUI
-
This is the source code for the
redox flow battery
controlGUI
, theGUI
is built using the python version ofQt5
pyside2
, the system consists of thecell itself
,Shenchen Peristaltic Pump
and Keithley Instruments Model 2450 , HDF5 files was used for data storage.
-
Download the repository, run the
main
python file which contains the main GUI.
Package | Version |
---|---|
conda | 4.9.2 |
h5py | 2.10.0 |
matplotlib | 3.3.2 |
numpy | 1.19.2 |
pandas | 1.1.3 |
PyQt5 | 5.15.2 |
pyqtgraph | 0.11.0 |
pyserial | 3.5 |
PySide2 | 5.15.2 |
qtmodern | 0.2.0 |
ViTables | 3.0.2 |
PyVISA | 1.11.3 |
-
MODBUS-RTU standard communication is used to control the pump, message frame as below:
Slave address Function code Data area CRC Check (Cyclic Redundancy Check) 1 Byte 1 Byte or up to 252 bytes 2 Bytes CRC low CRC high CRC check
: CRC code is 2 bytes, 16 check codes. Use CRC-16(which used in American binary synchronous system).Polynomial: G(X)=X16+X15+X2+1
.
-
this instrument used for charging/discharging and a variety of measurements, data will be stored in an HDF5 file for other usage, the instrument uses
SCPI
standard as a syntax, some functionality has its ownGUI
, other commands can be accessed viaSCPI command line
.$ pip install -U pyvisa
-
the National Instruments USB-6001/6002/6003 data acquisition '(DAQ) devices'. The NI-DAQmx Python where used, nidaqmx can be installed with pip:
$ python -m pip install nidaqmx
-
the GUI was built using PySide2 module which is
Qt
for Python,get
PySide2
via pip by running:pip install PySide2
.