Control of a Coupled Two-Tank System Using MATLAB Simulink
Control of a Coupled Two-Tank System Using MATLAB Simulink
Students design level control systems for two coupled 4-liter tanks in MATLAB, transfer the code to the hardware at the push of a button and validate it under real-time conditions on the real plant.
- Setting up a HIL system under real-time conditions
- Modeling and designing the control system
- Optimizing the control system in the model
- Comparing the model and the real control system
- Rapid prototyping at the push of a button
- Hardware-in-the-loop in real-time operation
- Integrated measuring and control instruments
- Complete actuators and sensors for each tank
In industry, the hardware-in-the-loop method shortens the path from simulation to commissioning a plant. The training system demonstrates exactly this path: students design the control loop on the model and transfer it to the digital universal controller via the LN toolbox and the JTAG adapter. The controlled system consists of two 4-liter tanks with diaphragm pumps and electronic valves; two differential pressure transducers and two flow meters provide four controlled variables. By the end, students are able to compare the model with the real control system, linearize the controlled system in state space, extend the control to both tank levels and program a state observer.
| Base Product | |
| CO3620-2H | Two-Tank-System |
| ST7200-3R | Experiment trolley 600x760x900mm WxHxD |
| SO2802-3E | Interactive Lab Assistant: Control of a two-tank reservoir |
| ST8003-1X | Sideways training panel frame extension |
| ST8010-8M | Protective cover for 600mm wide IMS experiment trolleys complete with experiments |
| ST8010-4T | Monitor holder for flat screen monitor of weight up to 15kg / 33lbs |
| CO3636-3D | USB adapter with MATLAB toolbox for power electronics and process control |
| Course | |
| SO2802-3F | Interactive Lab Assistant: Control of a two-tank system using MATLAB-Simulink |
| Accessories | |
| CO3620-2A | Universal digital controller (DSP) |
| Measurement Leads | |
| SO5148-1V | Set of safety measurement cables, 4mm (20 leads) |
| SO5126-3R | Safety connecting plug 4mm with tap (2x), black, 1000V/32A CAT II |
| SO5126-3V | Safety connecting plug 4mm with tap (2x), blue, 1000V/32A CAT II |
Learning Content in Detail
Setting up a HIL system under real-time conditions
Modeling and designing the control system
Optimizing the control system in the model
Comparing the model and the real control system
Designing a state-space model
Extending to multivariable control
Programming an observer
Features & Applications
- Rapid prototyping at the push of a button — Students simulate their control algorithms in MATLAB/Simulink and transfer the generated code to the real hardware at the push of a button.
- Hardware-in-the-loop in real-time operation — Controller designs run under real-time conditions directly on the level control system. Students see immediately whether their model holds up.
- Integrated measuring and control instruments — Recording step responses, analyzing dynamic behavior and tuning the PID controller: everything takes place directly on the system.
- Complete actuators and sensors for each tank — Each tank has its own pumps and valves. Students control them and evaluate the associated level and flow sensors separately.
- Two-tank system with 4-liter tanks — Two tanks with diaphragm pumps and electronic valves form realistic controlled systems.
- LN toolbox with JTAG programming adapter — Models and algorithms are created in MATLAB Simulink and transferred to the hardware at the push of a button.
- Four controlled variables from four sensors — Two differential pressure transducers and two flow meters together capture four different controlled variables.
- Overflow cut-out — Capacitive sensors act as limit switches and switch off the pumps as soon as the maximum level is reached.
- Digital universal controller (CO3620-2A) — The universal control unit comes with numerous interfaces for typical controlled systems. Its software functions handle real-time analysis and control.
- LN toolbox for MATLAB Simulink — The library provides ready-made hardware blocks and reduces the time needed to build models in Simulink.
- Integrated live scope — Students visualize system variables in real time and make changes while the system is running.

From Knowledge Comes Capability.
You guide the learning
Where theory and practice go hand in hand.
RXLea brings a new way of learning: project-based, hands-on and clearly structured. Learners solve real-world tasks, while instructors save time on preparation. Interactive modules, smart analytics and real hardware create a modern, efficient learning world.
Hands-on and interactive
Animations, interactive tasks and realistic scenarios build a deep understanding. All content is organized into clear learning paths for focused, hands-on learning.
Digital support
3D assembly animations and digital instructions simplify complex procedures, reduce errors and help learners work more independently.
Visual support
Overview graphics, screenshots and sample animations make the learning world transparent. Photos from the learning packages are also available, including country-specific versions where needed.




Stay ahead in
technical training.
Get the latest training systems, product launches and educational insights, delivered directly to your inbox.