This is the dynalene control system as the successor of dynalene_system LabVIEW project.
The cRIO is the NI cRIO-9038. The modules are:
- Slot 1: NI 9870
- Slot 2: NI 9871
- Slot 3: NI 9871
- Slot 4: NI 9425
- Slot 5: NI 9207
- Slot 6: NI 9476
- Slot 7: NI 9425
- Slot 8: NI 9264
- Temperature hub: This is a home-made device by Oliver Weicha. In the future, we will replace it with a commercial product. For the thermal probes, the Omega PR-21 series are used.
- Pressure transducer: PX459-100A485-I. You can download the PX51-PXM51-SERIES_software in the link to get the ModBus protocol document.
- Flowmeter: FDT-40 Series with the transducers: FDT-46 (2") / FDT-45 (1.5") / FDT-42 (3/4"). You can download the user guide to get the ModBus protocol.
- Power grid: PM5000 Power Meter Series are used. You can download the user guide and the Modbus register list.
- Pier fan: Ebmpapst EC axial fans - HyBlade is used. You need to register the account and request the Modbus document to get the Modbus protocol.
- Recirculation pump: Grundfos CRE 10-5 K-FJ-A-E-HQQE is used. You can get the Modbus document to know the protocol details.
- Chiller: Titan central water chillers TI-25WDX-MZCD-4PX is used. You can get the Modbus document to know the product details (see Multizone III).
- Motor operated valve (MOV): Valworx electric actuated ball valves series 5660 and Valworx on-off electric actuators series 5618 are used.
- Pressure control valve (PCV): Flowrite 599 series two-way valve and Flowrite 599 series SKD6xU electronic valve actuators are used.
- Control mixing valve (CMV): VG7000 series bronze control valves and VA7820-HGx-2 / VA7830-HGx-2 electric valve actuators are used.
- Ultrasonic sensor for the tank level: Omega U-series ultrasonic sensors are used.
You can develop the code under the Windows, Mac, and Linux.
See the config/ directory for the configuration files:
- parameters_app.yaml is the configuration of application.
The logging files are in the log/ directory.
To format the code, do:
.githooks/pre-commitEach module and function have the related unit tests. Since the CI test is needed, you can use the cargo-nextest instead of the built-in test framework. Do the following to run all tests:
cargo nextest runTo test a single module, do:
cargo nextest run --lib $module_nameTo generate the junit.xml (ouput path is target/nextest/ci/junit.xml), do:
cargo nextest run --profile ciSee here for the design of software.
The UML diagrams are used to detail the system design for each subsystem in the doc/ directory.
The GitHub supports the Mermaid natively.
You can use the online editor to edit them.
See here for the version history.