Professional Documents
Culture Documents
A R T I C L E I N F O A BS T RAC T
Keywords: Hierarchical control architectures are a common approach when hydraulic systems are under study; provided
Disturbance rejection their multi-domain nature, the control scheme is commonly split into different hierarchical levels each one
Uncertainty associated with a particular physical domain. This paper presents the application of a model-based control
Observers structure called Embedded Model Control (EMC) when a hierarchical scheme is implemented on an electro-
Model-based control
hydraulic proportional valve. The overall control consists of two hierarchical loops: the inner loop is the solenoid
Hierarchical control
current regulator with a closed loop bandwidth close to 1 kHz. The outer loop is a position tracking control, in
Systems identification
Proportional valves charge of the accurate positioning of the spool with respect to valve openings. The paper addresses the outer
loop, i.e., the tracking of mechanical spool position by using the EMC. Analysis and synthesis are presented as
well as experimental results obtained from a test rig provided by an industrial manufacturer.
⁎
Corresponding author.
E-mail addresses: wilber.a.b@uan.edu.co (W. Acuña-Bravo), enrico.canuto@polito.it (E. Canuto), magostani@atos.com (M. Agostani), mbonadei@atos.com (M. Bonadei).
http://dx.doi.org/10.1016/j.conengprac.2017.01.013
Received 15 January 2016; Received in revised form 24 January 2017; Accepted 25 January 2017
0967-0661/ © 2017 Elsevier Ltd. All rights reserved.
W. Acuña-Bravo et al. Control Engineering Practice 62 (2017) 22–35
23
W. Acuña-Bravo et al. Control Engineering Practice 62 (2017) 22–35
mance. Fig. 4 shows the hydraulic circuit of the test rig in Fig. 3. The The model error is the key and unique error feedback from the plant
elements of Fig. 4 are numbered in the same way: to the embedded model and as such encodes all the past and present
deviations between plant and model. Deviations are due to exogenous
1. The proportional valve is the element to be controlled. unpredictable signals (causal uncertainty), parametric uncertainty and
2. The variable-stroke load is a manually operated valve connecting neglected dynamics. The same signal is known as innovation in Kalman
port A with port B. filters but parametric errors and neglected dynamics should be
3. The ON–OFF valve is a hand-lever-directional valve distributing or negligible to avoid filter divergence. The same signal is the key feedback
not the hydraulic fluid to the circuit. of IMC (Francis & Wonham, 1976), but it is directly fed back to the
4. The relief-pressure valve can be manually adjusted to fix the limits of control law, and not to the internal model, thus hiding uncertainty
the fluid pressure in the hydraulic circuit. prediction and compelling robust control law design. The same signal is
5. Pressure sensors, ⑥ pump electric motor, ⑦ and tank. the key feedback of ADRC (Gao, 2006; Huang & Sira-Ramírez, 2015;
Yi et al., 2014; Zheng & Gao, 2014) and of Disturbance-Observer-
Adjustment of the different valves allows the proportional valve to Based Control (Li, Yang, Chen, & Chen, 2014; Wei & Guo, 2009), but
be operated under three different conditions: the uncertainty/disturbance dynamics is reduced to be first-order and
the model error is fed back to the whole state vector like in Kalman
NOP condition: The test rig is off. Neither pressure drop sets up be- filters, in which arrangements may disagree with the actual uncertainty
tween ports A and B (besides the one set up by the fluid layout. Such differences do not mean that the overall feedback transfer
inside the valve) nor flow occurs across ports A and B. NOP function, from measurements to command, as a result of EMC design,
conditions are obtained by closing the ON–OFF valve (OFF) cannot be synthesized by other methods, but basically only in the linear
in Fig. 3 or by switching off the pump electric motor. ⑥ case under simple uncertainty models. As matter of fact, Canuto (2015)
OPEN condition: The test rig is operating, and the load-valve ② con- has proved that a class of EMC state predictors including a dynamic
necting ports A and B are completely open (ON). The pres- feedback is not equivalent to Kalman filters whose feedback is only
sure drop at the output of both ports A and B is barely the static.
same The essential EMC block-diagram is in Fig. 5. The embedded model
CLOSE condition: The test rig is operating. The load-valve ② connect- which consists of M (controllable dynamics) and D (uncertainty/
ing ports A and B are closed (OFF). The pressure drop at the disturbance dynamics) separates the measurement law (noise estima-
output of both ports A and B is at the maximum value (line tor and reference generator) from the model-based control law.
pressure at the output of ④). One of the ports is connected to The EMC features the following characteristics:
the line pressure and the other to the tank.
• The ‘unknown’ disturbance dynamics (D in Fig. 5) may be any and is
driven by an unpredictable input vector w(i) to be real-time
estimated.
1.3. The Embedded Model Control • The noise input layout, to be designed, establishes which state
variables are directly affected by uncertainty.
The EMC is a model-based control methodology outlined in Canuto • The noise input is estimated by a dynamic feedback (the ‘uncer-
(2007) and recently in Canuto, Pérez-Montenegro, Colangelo, and tainty/noise estimator’) driven by the model error em(i).
Lotufo (2014d). A comparison between EMC, internal model control • A further design degree of freedom, the control ‘free dynamics’
(IMC) and active disturbance rejection control (ADRC) is in Canuto, similar to Youla parameterization (Maciejowski, 1989) is viable, but
Pérez-Montenegro, Colangelo, and Lotufo (2014c). not yet included in the application.
A real-time model of the plant, driven by the same command
dispatched to the plant (quantization error and saturation should be The disturbance dynamics may be designed to have any order, it
included), known as the embedded model (EM), parallels the plant and must be parameter-free unless monochromatic random processes have
provides the measured model error to be tracked, it is driven by a zero mean arbitrary signal w(i) (noise) to
be real-time estimated from model error. The noise layout, to be
em (i ) = y (i ) − ym (i ). (1)
designed, establishes which state variables are directly affected by
24
W. Acuña-Bravo et al. Control Engineering Practice 62 (2017) 22–35
uncertainty, and implies that the feedback from model error to noise to fluid compressibility sets up. It will be treated as a neglected
(the noise estimator) may be dynamic and not static. A static estimator dynamics and adequately filtered.
will be adopted in the paper for reasons to be clarified. State predictor
eigenvalues are designed for discriminating in the model error only the The fourth-order single body dynamics of the pair plunger and
residual uncertainty to be cancelled (uncertainty based design). Noise spool is given by:
estimator and embedded model constitute a stable state predictor
x˙s (t ) = vs (t ),
which supplies the control law with the model state, and allows control
gains to be model-based designed (a kind of separation principle). The xs (0) = xs0 mv˙s (t ) = Fs (xs , I , I˙) − Fa (xs , vs, ξ, ξ˙) − Ff (xs , vs, ΔP )
reference generator shapes a reference trajectory for each controllable 1
− FK (xs ), vs (0) = vs0 c˙ (t ) = (−c (t ) + bs (I , I˙)), c (0) = c0
state of M so as to meet requirements and to respect actuator range τc
and slew rate. Fs (t ) = F s (xs , c ),
The rest of the paper is organized as follows. Section 2 presents a
summary of the governing equations, as well as the system operating ξ˙ (t ) = g (ξ, vs ), ξ (0) = ξ0. (5)
boundaries. Section 3 presents the EMC basic ideas and the applica- The equation is fourth order but the relative degree between current
tion, requirements, design model, noise estimator and control law. and position is only three, since the variable ξ enters a velocity-force
Section 4 presents a summary of preliminary experimental results feedback as shown below. The variable c(t) accounts for the third pole
showing that performance requirements are satisfied. The nomencla- dynamics and increases the relative degree from two to three. Eqs. (5)
ture is reported in Appendix A. The main variables are listed in Table are valid within the stroke region, i.e., between the rest position Xmin
A1. of the spring assembly and the end stroke Xmax, defined by
Xmin ≤ xs ≤ Xmax , Xmin ≈ −2.5 mm, Xmax ≈ 1.25 mm, (6)
2. Dynamic model and identification
and within the frequency band dc to 300 Hz. The force components and
2.1. Current regulator state variables in (5) are the following:
Solenoid dynamics and digital current regulator are treated in 1. The force FK (xs ) = Kxs − FK 0 accounts for elastic forces applied by the
Canuto et al. (2014a). The current regulator tracks the driving current recovery spring, where K=10,000 N/m is the stiffness and −FK 0
demanded by the position control within a sufficiently wide BW. preload.
Requirements are expressed by fixing a maximum delay between true 2. xs(t) and vs(t ) are respectively the displacement and velocity of the
and reference currents I(t) and Ir(t) and a maximum tracking error as spool and plunger pair from the sensor zero-position. The offset
follows. from the hydraulic zero is calibrated and corrected. The overall mass
The solenoid current dynamics as well as the digital controller have m is about 0.1 kg, and accounts for both moving elements (plunger
been presented in Canuto et al. (2014a). As it was said before, the and spool). The mass–spring frequency fo = K / m /2π ≈ 50 Hz and
current regulator is the inner loop in the valve control architecture. The the viscous damping ζ > 1, being greater than one, define the open-
task of the inner loop is to enlarge the open-loop bandwidth. The closed loop bandwidth. The viscous damping is variable with the fluid
loop dynamics from current reference Ir(t) to solenoid current I(t) has temperature and the hydraulic flow/pressure conditions. The open-
been designed to approximate a 0.3 ms delay plus noise loop bandwidth may vary between fo for ζ = 1 and 2ζfo for ζ ≫ 1.
I (t ) = Ir (t − τI ) + ηI (t ) (2) 3. Ff (xs , vs, ΔP ) denotes the fluid viscoelastic forces, dependent on the
pressure drop ΔP = PA − PB . The force expression satisfies
ηI (t ) ≤ 1.5 mA, τI = 0.3 ms (3) Ff (0, 0, ΔP ) = 0 and Ff (x, 0, 0) = 0
4. Fa (xs , vs, ξ, ξ˙) denotes the friction forces, which are assumed to fit the
The above model only applies to a class of reference signals defined
LuGre model (Canudas de Wit, Olsson, Aström, & Lischinsky,
by the current range 0 ≤ Ir (t ) ≤ Imax and by the current slew rate
1995). The state variable ξ (t ) and the rate ξ˙ (t ) account for surface
I˙min (t ) ≤ I˙r (t ) ≤ I˙max . Slew rate is imposed by the PWM voltage range
(bristles) deformations. The force expression satisfies
|V (t )| ≤ Vmax = 24 V and by the high-frequency solenoid inductance.
Fa (xs , vs, 0, 0) = sgn(vs ) Fa0 . A lot of research has been done around
The slew rate range is asymmetric because of the current bias I0 of
the friction topic associated with hydraulic systems and valves, see
about 1.5 A fixing the hydraulic zero. The corresponding voltage offset
for example Garcia (2008) and Farenzena and Trierweiler (2012).
V0 = I0 R = 6 V renders the differential voltage range −30 V to 18 V and
Integration of ξ (t ) does not add a further relative degree between
the current derivative range asymmetric. The current derivative range
force and position. In fact, the shortest integration path that defines
was experimentally determined as
the relative degree between force and velocity and force and position
I˙min ≈ −640 A/s ≤ I˙ (t ) ≤ I˙max ≈ 360 A/s. (4) is one and two respectively.
5. Fs (xs , c ) is the electromagnetic solenoid force, which is affected by
magnetic hysteresis. At zero position, it is balanced by the preload
2.2. Plunger/spool dynamics
KX0 of the recovery spring and by the static friction Fa0 as
Even if spool and solenoid plunger are two different bodies, they Fs (0, c0 ) = KX0 − sgn(vs ) Fa0. (7)
may be assumed to be rigidly connected at least in the open-loop
Because of sgn(I˙) (due to magnetic hysteresis) and sgn(vs ) (due to
frequency band from dc to 50 Hz, which is dictated by mass and spring
friction), the bias current I0 cannot be uniquely defined, but it varies
compliance. Deviation from this assumption, as pointed out by
by fractions of amperes, about 1.5 A. A mean value of the current to
identification results in Section 2.3.2, is twofold.
force gain is ϕs (t ) = 30 N/A .
1. Above 50 Hz, a third order dynamics is identified, due to an
Fig. 6 shows the Bode diagrams of the current–force transfer
additional pole which accounts for a few millisecond pole between
function from two different tests corresponding to different plunger
solenoid current and plunger force, as explained below. The pole
positions (solid and dashed lines). The fitting diagrams (circled line)
cannot be neglected, and justifies the double derivative feedback of
show that the transfer function can be explained by a first order
the analogue PID.
dynamics plus a delay. The delay corresponds to a PWM cycle 0.1 ms
2. Above 300 Hz a complex non-minimum phase dynamics mainly due
and can be neglected, unlike the time constant τc = 1–2 ms (see
25
W. Acuña-Bravo et al. Control Engineering Practice 62 (2017) 22–35
26
W. Acuña-Bravo et al. Control Engineering Practice 62 (2017) 22–35
Fig. 8. ΔP for three diverse hydraulic cases. Fig. 9. PSD of Sx /SI for three hydraulic conditions.
27
W. Acuña-Bravo et al. Control Engineering Practice 62 (2017) 22–35
3.1. Requirements
xs (t ) = yr (t − τx ( yr ,max)) + ηx (t )
τx ( yr ,max) ≤ 5 ms, ηx (t ) ≤ 10 μm, (16)
where ηx is the residual tracking error defined as the difference
between the total tracking error ex (t ) = yr (t ) − xs (t ) and the nominal
tracking error e x (t ) imposed by the delayed reference signal yr (t − τx ),
as follows:
ηx (t ) = ex (t ) − e x (t ), er (t ) = y˙r (t ) − yr (t − τx ). (17)
The maximum delay in (16) refers to the maximum stroke 2Xmax
in (6), and becomes smaller for shorter strokes down to 3 ms.
Continuous-time notations are used since requirements should be
fulfilled by the true plunger position xs(t). The true plunger position
may be approached from real data by averaging the random compo-
nents of the measurement noise, in the absence of low-frequency
components (bias).
xd (i ) = [xd1 xd 2 ]T (i )
wd (t ) = [wd1 wd 2 ]T (i )
wu (i ) = [wu1 wu2 wu3 wu 4 ]T (i )
⎡ ⎤ ⎡ 0 0 0 1 ⎤T
Ad = ⎢ 1 1⎥ , Hc = ⎢⎣ 0 0 0 0 ⎥⎦ .
⎣ 0 1⎦
28
W. Acuña-Bravo et al. Control Engineering Practice 62 (2017) 22–35
is a simple feedback design and a simple eigenvalue tuning of the state 1. Current delay and tracking error in (2) and (3) must be designed to
predictor in Section 3.2.1. At the same time to correct the uncertainty be compatible with position requirements. In fact, their contribution
affecting each controllable state. The whole EM is the combination of is at least one order of magnitude smaller than position require-
(10) and (18) upon replacement in (10) of h (i ) with d (i ). If the fourth- ments in (16):
order model M2 in (13) is employed, the overall state vector is
partitioned into controllable state vector x (i ) = [x1 x2 x3 x4]T (i ) and |ηI |
τI = 0.3 ms ≪ 3–5 ms, ≈ 0.5 μm ≪ |ηx | ≤ 10 μm
disturbance state vector xd (i ). The model equation written in compact K
form is
29
W. Acuña-Bravo et al. Control Engineering Practice 62 (2017) 22–35
30
W. Acuña-Bravo et al. Control Engineering Practice 62 (2017) 22–35
Table 1
Embedded Model Control eigenvalues.
4. Experimental results Fig. 19 shows the harmonic responses of the position controller for
small reference signals (5% of the maximum stroke, about ± 70 μm )
4.1. Control hardware and for large signals (90% of the maximum stroke, about 1.2 mm).
Experimental responses are compared with the theoretical closed-loop
Control algorithms and identification tests have been implemented harmonic response (solid line) which does not account for voltage
on the following HW/SW platform and with the following signals: saturation, and with the two alternative control strategies: the analogue
PID which is commercially employed and a digital PID controller
1. The control code runs under LabVIEW Real-Time Operative System driven by a state predictor. The three alternative controllers behave in a
on a dedicated 2 GHz Intel processor. similar way, which confirms accurate and effective tuning. As a result,
2. The control code was developed under LabWindows CVI (C for their harmonic response reaches the BW limit imposed by the valve
Virtual Instrumentation). electro-mechanics and electronics. EMC offers better regularity and
3. The control time unit is T=0.1 s (10 kHz sampling). adherence to theoretical response both in amplitude and argument,
4. Valve position and solenoid current measurements yx and yI are which should be a desirable performance. EMC harmonic response
looks free of any overshoot. At higher frequencies ( > 100 Hz) the
31
W. Acuña-Bravo et al. Control Engineering Practice 62 (2017) 22–35
Fig. 15. 90% stroke triangular reference signal response. Fig. 17. Control signal for 90% stroke triangle.
32
W. Acuña-Bravo et al. Control Engineering Practice 62 (2017) 22–35
Fig. 21. Residual tracking error for a 10 Hz sine reference under saturated and non-
saturated command.
Fig. 19. Harmonic response (magnitude and argument) of the valve position controller.
33
W. Acuña-Bravo et al. Control Engineering Practice 62 (2017) 22–35
a noisy and saturating voltage and in the case of a smooth and non- worst-case hydraulic condition (CLOSE) has been implemented as the
saturating voltage. The relevant voltage profiles are in Fig. 20. embedded model of the control unit and has been completed with a
Fig. 21 shows a large drift of the tracking residuals, incompatible disturbance second-order dynamics. The disturbance dynamics is
with requirement (16), which pretty disappears in the case of the non- driven by arbitrary signals (noise) affecting both disturbance and
saturating and smooth voltage. Fig. 22 shows that the high frequency controllable state variables. The model error between measurements
noise in excess above 300 Hz is accompanied by an increase of the and model output is the signal which is fed back to the noise vector for
spectrum level at lower frequencies because of the residual drift. stabilizing the state predictor. A proper tuning of the state predictor
Elimination of the high frequency noise by command filtering cleans eigenvalues guarantees closed-loop stability and the required perfor-
the tracking residuals as Fig. 22 shows. mance. The reference generator converts piecewise input position
It is now possible to see the whole line spectrum of the nominal reference into a delayed and smooth reference signal, which can be
tracking error (solid line in Fig. 15), whose fundamental frequency is better tracked by the embedded model state variables. Experimental
the reference signal frequency, 10 Hz in this case. The residual peak in results have shown that the required valve position accuracy can be
Fig. 22 at 10 Hz, as anticipated in Section 3.2.1, is due to the reference reached, if saturation of the solenoid voltage due to high-frequency
signal itself times low-frequency parametric errors. Smoothing of the dynamics and noise is prevented. This has been obtained by a suitable
current command and the consequent voltage desaturation has been filtering of the current command above the target position BW below
achieved by a low-pass filter with a cutoff frequency at about 300 Hz, 100 Hz and depending on the stroke range to be tracked. Comparison
which is the boundary between the low- and the high-frequency with alternative controllers, analogue and digital PID, shows that the
transfer function as pointed out in Section 2.3.2. As a smoothing digital EMC controller repeats the BW of the alternative controllers,
result, the magnitude of the residual tracking error approaches the but improves the harmonic response regularity.
target bound of 10 μm .
5. Conclusions Acknowledgements
A digital model-based controller for a proportional electro-hydrau- Part of the work has been funded by research contracts between
lic valve has been outlined. A modelling rationale and procedure have Atos SpA, Sesto Calende, Italy and Politecnico di Torino. The first
been presented, where the identification process plays a key role for author would like to thank Universidad Antonio Nariño, Colombia,
assessing the range of parametric errors and of neglected dynamics. under Grant number 2015086 for their support during the preparation
The model obtained from experimental data and associated with the of the manuscript.
Appendix A. Nomenclature
Table A1
List of variables.
34
W. Acuña-Bravo et al. Control Engineering Practice 62 (2017) 22–35
Table A1 (continued)
35