Experiment Description - Multi-Tank System - Modified
Experiment Description - Multi-Tank System - Modified
Experiment Description - Multi-Tank System - Modified
Shouvik Chaudhuri
Room
1. Brief Description of the Experiment:
Group
Fig. 1. Multi-tank system setup in CPL Fig. 2. Geometrical Parameters of the tanks
The Multi-tank System (Fig. 1) comprises three separate tanks (third tank not shown on
purpose) fitted with drain valves. The separate tank mounted at the base of the set-up acts as a
water reservoir for the system. Some of the tanks have a constant cross section, while others are
spherical or conical, so having variable cross section. This creates many nonlinearities in the
system. The following points should be noted regarding the system.
a. Liquid is pumped into the upper tank from the reservoir by a variable speed pump driven
by DC motor. The liquid outflows the tanks only due to gravity. The output orifices act as
flow resistors but can also be controlled from the computer.
b. The levels in the tanks are measured with a level sensor based on hydraulic pressure
measurement. The frequency signals of the level sensors are connected to the digital inputs
of the RT-DAC/PCI multipurpose I/O board.
c. There are four control signals send out from the board to the multi-tank system: three valve
controls and one pump control signal. The appropriate PWM control signals are transmitted
Experimental Control Systems (XCOS)
Shouvik Chaudhuri
from digital outputs of the I/O board to the power interface, and next to the valves and to
the DC motor. The speed of the pump motor is controlled by a sequence of PWM pulses
configured and generated by the logic of XILINX chip of the RT-DAC board.
d. The liquid levels in the tanks are the system states. The general objective of the tank system
control is to reach and stabilize the water level at a desired value in the tanks by an
adjustment of the pump operation and/or valves settings. For the real system, the levels in
the tanks as well as the flow rates of the pump are limited.
2. Safety Instructions: The risk of overflow in this experiment is more because the valves can be
closed. Please be careful regarding this since mechanical systems can cause injuries or
equipment damage if over-actuated. In case of emergency, immediately press the
EMERGENCY STOP BUTTON beside the experiment, which breaks off the power
connection to the system.
The objective is to control the height of water in the first (Upper) and second (Middle) tanks (𝐻1
and 𝐻2 ). This can be done by using 3 control inputs, i.e., by controlling the pump, the first and
the second control valves (𝑞𝑖𝑛 , 𝐶1 and 𝐶2 ). In this case, the third (Bottom) tank control valve
should be kept fully open. Also, the first, second and third manual valves (𝑀1 , 𝑀2 and 𝑀2 ) [with
the red knobs] should be kept open by 25-50% approximately. Since, it is difficult to measure
the percentage of opening of the manual valves, a close approximation of that will be enough.
This system is considered as a Multiple -Input Multiple-Output (MIMO) system, with 3 control
inputs (𝑞𝑖𝑛 , 𝐶1 and 𝐶2 ) and 2 system outputs (𝐻1 and 𝐻2 ).
4. Model of the Experiment: The nonlinear model of the tank system described above, can be
written as,
𝑑𝐻1 1 1 𝛼 𝛼
𝐻̇1 = = 𝑞𝑖𝑛 − (𝐶𝑚1 𝐻1 𝑚1 + 𝐶𝑐1 𝐻1 𝑐1 )
𝑑𝑡 𝛽1 𝛽1
𝑑𝐻2 1 𝛼 𝛼 1 𝛼 𝛼
𝐻̇2 = = (𝐶𝑚1 𝐻1 𝑚1 + 𝐶𝑐1 𝐻1 𝑐1 ) − (𝐶𝑚2 𝐻2 𝑚2 + 𝐶𝑐2 𝐻2 𝑐2 )
𝑑𝑡 𝛽2 𝛽2
Here, the outflow through the control and manual valves is modeled as: 𝑞𝑜𝑢𝑡 = 𝐶𝐻 𝛼 . The
symbols in the above equations denote the following,
5. Starting values for necessary parameters: The initial values of certain parameters necessary
for the purpose of simulation are given below. Please note that during the experiments, it
possible that these values will differ from the ones given here.
Pump Characteristics:
PWM 0.1 0.25 0.5 0.75 1.0
𝒒𝒊𝒏 (m3/sec) 0 0 0 0.9e-04 1.5e-04
c. Design a state feedback controller for the system (the LQR approach is recommended). Apply
the controller to the simulation model and make sure the results are acceptable by tuning the
LQR gains properly.
d. After getting acceptable results for the LQR, design and use a LQI controller. Explain the
difference in the plant output for these two controllers.
Experimental Control Systems (XCOS)
Shouvik Chaudhuri