Modeling of Hydraulic Control Valves
Modeling of Hydraulic Control Valves
Modeling of Hydraulic Control Valves
Abstract: The paper deals with development of a mathematical model of valves of a hydraulic system. A three
tank laboratory model (Amira DTS200) was investigated and characteristics of its valves were measured and a
process of creating a mathematical model of the valves is described in detail. Although the three tank system is
a classical modeling task this paper focuses on nonlinearities which are present in real system and other
differences between ideal mathematical model and real-time system. The valves contain hysteresis and other
nonlinearities. Despite the fact that all valves the system is equipped with are of the same type, big differences
were observed between their characteristics. The approach to modeling of the system is not restricted to the
particular system but can be used for many real-time hydraulic systems.
to the top of the left and right tanks Valve positions signals which states that the valve is fully opened or
are controlled and measured by electrical signals, fully closed respectively.
which allow precision setting of their position. The overall number of inputs to the modelled
plant DTS200 is 14:
• 2 analogues signals controlling the pumps,
• 12 digital signals (2 for each of the 6
valves) for opening / closing of the valves.
The plant provides 21 measurable outputs which
can be used as a control feedback or for
measurements of plant characteristics:
• 3 analogue signals representing level
heights in the three tanks,
• 6 analogues signals representing position of
the valves,
• 12 logical signals (2 for each of the 6
valves) stating that corresponding valve is
fully opened / closed.
Fig. 1. Amira DTS200 – three tank system
and q represents inflow as change of water level in “opened” signals of individual valves. Before these
time: signals drop down the valves are said to be opened.
The vertical lines in the right part of Fig. 3 represent
qi′
qi = i = 1, 2 (5) the changes of “closed”. From these lines onward,
ST the valves are said to be closed.
It can be observed that the initial and final
Similar equations can be derived for the other
positions of the valve as well as the positions
two tanks. The model obtained by using ideal
corresponding to changes of “opened” and “closed”
properties and behaviour of plant parts if further
signal differ. But all the valves are moving at almost
referred as “ideal model”. This model of whole
the same speed vvalve.
three tank system is successfully used in many
control system studies as a demonstration example vvalve = −0.175 MU s (6)
[6], [7], [8].
Valve positions corresponding to hard
constraints and validity of “opened” and “closed”
state are summarized in Table 1.
4. Characteristics of the valves
As stated in Section 2, each of plant’s 6 valves is
Table 1
driven by two dedicated logical signals. These
Valve positions for important states
signals are used for starting valve’s motor in closing
“closed” “opened”
or opening direction respectively. If none signal is full
Valv signal signal full open
activated the valve remains in its current position. closed
e no. change change [MU]
Activation of both signals at in a particular time [MU]
[MU] [MU]
represents an invalid state and valve motor is
1 0.5199 0.4066 -0.6065 -0.6945
stopped.
Each valve provides three output signals. The 2 0.4550 0.3880 -0.5719 -0.7493
current valve position is determined by analogue 3 0.5462 0.3996 -0.5423 -0.6501
signal. Higher values of signal represent closed 4 0.4926 0.3594 -0.5751 -0.7151
valve and lower values represent opened valve. The 5 0.4868 0.3296 -0.5157 -0.6718
other two signals are logical and state that valve is 6 0.5242 0.4416 -0.5698 -0.6525
opened or closed respectively.
4.1 Valve limits and speed 4.2 Valve flow parameter for outflow valves
Process of opening all valves at once from fully Valve flow parameters ki as appear in (3) were
closed state to fully opened is presented in Fig. 3. computed from measurements of draining through
full close => full open
individual valves which are connected to outflow
pipes (V3, V4, V5 and V6). The draining of a tank to
the reservoir situated below the tanks is described
0.4
by differential equation based on (3):
0.2 dh ( t )
= −k h ( t ) (7)
dt
valve pos [MU]
500 500
400
400
h1 [mm]
h1 [mm]
300
300
200
200
100
100 0
0 -100
0 20 40 60 80 100 120 140 160 180 200 0 20 40 60 80 100 120 140 160 180 200
time [s] time [s]
Fig. 4. Draining of tank T1 through valve V4 Fig. 6. Parabola fitting to the draining course
It is obvious that parabola depicted in Fig. 4 Values of k and h0 can be easily obtained from
would continue below zero contrary to (8). A term polynomial coefficient according to (9). Valve can
corresponding to the vertical length of outflow pipe be closed to different positions at the beginning of
h0 was added to the model. The vertical length h0 is draining experiment and relation between valve
depicted in Fig. 5. position and value of k can be achieved. This
relation for one set of experiment on valve V4 is
presented in Fig. 7 where circles represent
tank individual experiments. The characteristic is not
strictly linear. It contains saturation of fully closed
and fully opened valve. Transitions to saturation
h valve states are smooth.
valve opening
0.3
reservoir 0.25
h0
0.2
0.15
k4
closed during the experiment. According to (3), the 4.4 Valve hysteresis
flow can be described by two differential equations: The experiments presented in previous subsections
were preformed for opening of a valve only. At the
dh1 ( t )
= − k1 h1 ( t ) − hs ( t ) ⋅ sign ⎡⎣ h1 ( t ) − hs ( t ) ⎤⎦ beginning, the valve was fully closed and
dt
(10) subsequently was partially opened to a given
dhs ( t ) position. In this section a problem of closing of a
= k1 h1 ( t ) − hs ( t ) ⋅ sign ⎡⎣ h1 ( t ) − hs ( t ) ⎤⎦ valve is studied. Performed experiments are similar
dt
except initial part. The experiment starts with full
Since the value of h1 is always higher or equal to tank and closed valve too, but then the valve was
hs, the term inside absolute values is always fully opened and then partially closed to the desired
nonnegative. As the water flow just from T1 to Ts position. Therefore the same valve position (value
and the geometry of both tanks is the same, of analogue signal from a valve) was reached but
according to mass conservation law the sum of h1 from opposite direction.
and hs remain the same during the experiment. Then valve 2
0.25
the course of draining T1 and filling Ts can be closing 1
described by two independent differential equations. closing 2
closing 3
dh1 ( t )
0.2 closing 4
= − k1 2h1 ( t ) − hΣ opening 1
opening 2
hΣ = h1 ( t ) + h2 ( t ) (11)
dt opening 3
dhs ( t )
0.15
= − k1 hΣ − 2h2 ( t )
k2
dt
0.1
Solving these equations lead to time course
described by second order polynomial.
0.05
k2
h1 ( t ) = ⋅ t 2 − k 2h1 ( 0 ) − hΣ ⋅ t + h1 ( 0 )
2 (12) 0
k2 2 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6
h2 ( t ) = − ⋅ t − k hΣ − 2h2 ( 0 ) ⋅ t + h2 ( 0 ) valve position [MU]
2 Fig. 9. Hysteresis of valve V2
An example of courses and corresponding
parabolas are depicted in Fig. 8. Experiments unveiled a hysteresis present in all
parabola fitting of flow through valve V1
valves. The characteristics for opening and for
h1=0.0209*t2 -4.95*t +570 closing of valve V2 is presented in Fig. 9. There are
hs =-0.0212*t 2 +5.01*t -20
600
four sets of experiments for closing of the valve
h1 performed in various time in the figure. Individual
500 hs experiments correspond to stars in the figure. Three
parabola h1 set of experiment are presented for closing of the
400 parabola hs
valve where individual experiments are represented
300
by circles. The figure shows that hysteresis plays a
big role in the experiments. The value of position
h [mm]
5 Conclusion
Table 2 The paper presented a development of the model of
Valve positions for important states valves of a hydraulic system. The Amira DTS200
Valve hysteresis three tank system was considered but used
maximal k h0 [mm]
no. [MU] techniques can be easily generalized to wide set of
1 0.0219 0.2180 - hydraulic systems. The real system contains several
2 0.1783 0.2237 - nonlinearities which incorporate complexity to the
3 0.0310 0.2601 126.6 system. Total number of experiments concerning
4 0.0426 0.2976 127.9 valves reached 433 taking altogether more than 113
5 0.1307 0.2735 121.2 hours. Resulting model includes all major
6 0.0800 0.2688 97.1 nonlinearities and can be integrated into a Simulink
model of whole three tank system.
0.1
approaches, Control engineering practice, 14,
2006, 1081-1097.
[8] S. Blazic, I. Skrjanc & D. Matko, Globally
0.05
stable direct fuzzy model reference adaptive
control, Fuzzy Sets and Systems, 2003, 3-33.
0
-0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6
valve pos [MU]