Design and Tuning of A Ratio Controller
Design and Tuning of A Ratio Controller
Design and Tuning of A Ratio Controller
Abstract
In this paper a design and tuning procedure for a ratio control architecture is proposed. The overall control scheme is based on the
use of the Blend station proposed in (Control Eng. Pract. 9 (11) (2001) 1215) and standard PI controllers. Since all the control
parameters can be automatically selected based on a simple model of the process under control, the proposed methodology is easy to
implement and therefore suitable to be applied in the industrial context. Simulation and experimental results show the effectiveness
of the methodology for a wide range of processes.
r 2004 Elsevier Ltd. All rights reserved.
0967-0661/$ - see front matter r 2004 Elsevier Ltd. All rights reserved.
doi:10.1016/j.conengprac.2004.04.010
ARTICLE IN PRESS
486 A. Visioli / Control Engineering Practice 13 (2005) 485–497
2. Ratio control and the Blend station The value of g can be selected as the ratio of the time
constants of the two closed-loop systems (or, if they are
The aim of a ratio control system is to keep the ratio not available, as the ratio of the integral time constants
between the values of two process variables y1 and y2 of the two controllers) or, alternatively, by applying a
equal to a constant value a; in order to meet some suitable adaptive procedure, i.e. by applying the
higher-level requirements. For this purpose, the control following formula (H.agglund, 2001):
scheme shown in Fig. 1 is usually implemented. Each dg S
variable is controlled by two separate controllers C1 and ¼ ðay1 y2 Þ; ð2Þ
dt Ta
C2 (typically of PI type) and the output y1 of the first
process is multiplied by a and adopted as the set-point of where SAf1; 0; 1g is a sign parameter that takes into
the closed-loop control system of the second process, i.e. account if the set-point step is positive or negative. In
it is r2 ðtÞ ¼ ay1 ðtÞ (Shinskey, 1996). In this way, at the (H.agglund, 2001) it is suggested to select the value of the
steady state, provided that the gain of the second loop is adaptation rate Ta as a factor times the longest integral
equal to unity (note that this condition is normally time of the two loops. Note that, for the two PI
verified by the presence of the integral part in the controllers, explicit tuning rules to be adopted in this
controller) the requirement context are not given.
y2 ðtÞ
¼a
y1 ðtÞ 3. The new ratio control architecture
is satisfied.
The main disadvantage of this scheme is related to the The ratio control architecture proposed in this paper
transient response to a change in the set-point r1 ; as the is based on the Blend station but aims at achieving
output y2 is necessarily delayed with respect to y1 ; due to better transient responses by adopting a time-varying
the closed-loop dynamics of the second loop. To parameter gðtÞ: Assume that a transition from the initial
overcome this drawback, H.agglund proposed an alter- value yi1 to the final value yf1 is required to be performed
native architecture, named the Blend station (H.agglund, at time t ¼ t0 from the process variable y1 (i.e. a step set-
2001). This is shown in Fig. 2. The main feature of the point signal of amplitude yf1 yi1 is applied to the set-
scheme is that the value of the set-point r2 depends both point signal r1 ðtÞ at time t ¼ t0 ). Without loss of
on the value of the process output y1 and on the value of generality, in the following it will be assumed that a
the set-point r1 ; according to the expression positive step signal is applied, i.e. yf1 > yi1 : First, the
r2 ðtÞ ¼ aðgr1 ðtÞ þ ð1 gÞy1 ðtÞÞ: ð1Þ second loop, has to be selected as the one with the fastest
dynamics, i.e. the dynamics of process P2 is faster than
Note that g is a constant parameter that weights the the one of P1 : This is actually the obvious choice in the
relative influence of the set-point r1 on r2 with respect to typical ratio control scheme of Fig. 1, as the output of
y1 (for g ¼ 0 the classical scheme of Fig. 1 is obtained). process P2 (appropriately scaled) can follow easier the
one of process P1 as requested.
Processes P1 and P2 are modelled with first order plus
r1 u1 dead time (FOPDT) transfer functions:
C1 P1 y
1
K1
P1 ðsÞ ¼ eL1 s ; ð3Þ
T1 s þ 1
a
K2
r2 u2
y P2 ðsÞ ¼ eL2 s : ð4Þ
C2 P2 2 T2 s þ 1
This choice is motivated by the fact that the dynamics of
Fig. 1. The typical ratio control scheme. many industrial processes can be well-captured by a
FOPDT model and that in any case, the knowledge of a
higher-order model cannot be significantly exploited in
r1
C1 P1 y1 the synthesis of a simple PI controller (Astr ( om. &
H.agglund, 1995). Actually, obtaining a high-order
γ model of a plant and adopting it in the design of a
BS controller might prevent the good cost/benefit ratio that
is the main reason of the extensive use of PI(D)
r2 controllers in industrial settings. However, it should be
C2 P2 y2
stressed that whereas a second-order plus dead time
(SOPDT) model is available, the controller can be
Fig. 2. The ratio control scheme using the Blend station. selected of PID type, where a zero of the controller is
ARTICLE IN PRESS
A. Visioli / Control Engineering Practice 13 (2005) 485–497 487
Table 1
Overall tuning rule of the proposed ratio controller
0:9T1 =K1 L1 3L1 0 0:9T2 =K2 L2 3L2 0 Ti2 =Ti1 0:5L2 =T2 T1 =L1 T1 =L1
ARTICLE IN PRESS
488 A. Visioli / Control Engineering Practice 13 (2005) 485–497
should be used for the two PI controllers C1 and C2 ; is present and therefore if the proposed technique
whilst formula (9) is maintained (see Example 4 in cannot be applied.
Section 5.4).
y
1
0.8
0.6
y Blend station
2
0.2
0
0 10 20 30 40 50 60 70 80
time [s]
1.6
1.2
r (t) proposed ratio controller
2
0 10 20 30 40 50 60 70 80
time [s]
the best performance by means of the adaptive Blend adaptation is employed, a significant improvement in
station is paid by the need of performing many the performances obtained by applying the new control
experiments (i.e. of evaluating many set-point step scheme emerges.
responses) before obtaining that result, conversely to For a thorough analysis of the achieved perfor-
the other considered methodologies. Actually, if no mances, the resulting manipulated variables for the
ARTICLE IN PRESS
490 A. Visioli / Control Engineering Practice 13 (2005) 485–497
1.5
u1
1
control variables
u2 Blend station
0.5
u2 proposed ratio controller
0
0 10 20 30 40 50 60 70 80
time [s]
y1
2.5
1.5
y Blend station
2
0.5
y standard ratio controller
2
0
0 10 20 30 40 50 60 70 80
time [s]
Fig. 6. Process outputs for Example 1 with a series of set-point step changes.
2.5
1.5
Fig. 7. Different signals obtained for Example 1 with a series of set-point step changes.
1
y2 proposed ratio controller
0.9
0.8
y2 Blend station
0.7
process outputs
0.6
y1
0.5
y2 standard ratio controller
0.4
0.3
y adaptive Blend station
2
0.2
0.1
0
0 10 20 30 40 50 60 70 80
time [s]
0.9
0.7
γ (t) proposed ratio controller
0.6
0.5
0.4
0.2
0.1
0
0 10 20 30 40 50 60 70 80
time [s]
Results obtained with the different control architectures been adopted as initial condition for the reported
are reported in Fig. 10. In this case the adaptive process output y2 ðtÞ obtained with the adaptive Blend
procedure (again with Ta ¼ 90) for the Blend station, station. As for the previous examples, in Fig. 11 the
applied when a series of set-point steps occurs, value of g for the case of the Blend station with the
converges around a value of g ¼ 2:12: This value has adaptive procedure has been plotted together with gðtÞ
ARTICLE IN PRESS
A. Visioli / Control Engineering Practice 13 (2005) 485–497 493
y1
0.8
y proposed ratio controller
2
process outputs
y2 Blend station
0.6
0.2
0
0 10 20 30 40 50 60 70 80
time [s]
2.5
1.5
0 10 20 30 40 50 60 70 80
time [s]
and r2 ðtÞ for the new method. The resulting values of the standard ratio controller. By comparing the results
performance index are J ¼ 2:37 for the new ratio obtained for this example with those obtained for
controller, J ¼ 5 for the original Blend station, J ¼ Example 2, it appears that, as already mentioned in
2:07 for the adaptive Blend station and J ¼ 16:5 for the Section 3, it is more sensible to choose as process P1 that
ARTICLE IN PRESS
494 A. Visioli / Control Engineering Practice 13 (2005) 485–497
with the fastest dynamics but in any case the perfor- J ¼ 1:70 for the adaptive Blend station and J ¼ 4:56 for
mances obtained with the proposed ratio controller are the standard ratio controller. It appears that in this case
still satisfactory (indeed, the same conclusion of the proposed method provides better performances even
Examples 1 and 2 can be drawn also for this example). than the adaptive Blend station. This is possibly
explained by the fact that it is gðtÞ ¼ 0 when to3:73
5.4. Example 4 (see (7)), thus allowing the two process outputs to start
their transient almost at the same time so that a very
As a fourth example, the following two high-order satisfactory result is achieved.
processes have been considered:
1 1
P1 ðsÞ ¼ ; P2 ðsÞ ¼ : ð14Þ 6. Experimental results
ðs þ 1Þ8 ð0:25s þ 1Þ8
By applying the identification procedure, it results In order to prove the effectiveness of the devised
in K1 ¼ 1; T1 ¼ 2:99; L1 ¼ 5:55; K2 ¼ 1; T2 ¼ 0:71; technique in practical applications, a laboratory experi-
L2 ¼ 1:82: Being the dead time of the two processes mental setup (made by KentRidge Instruments) has
significantly greater than the corresponding dominant been employed (see Fig. 14). Specifically, the apparatus
time constant, the Kappa–Tau tuning rules have consists of two small perspex tower-type tanks (whose
been adopted instead of the Ziegler–Nichols ones (see area is 40 cm2 ) in which a level control is implemented
Remark 1). Thus, it results: Kp1 ¼ 0:13; Ti1 ¼ 2:62; by means of a PC-based controller. Each tank is filled
b1 ¼ 2:91; Kp2 ¼ 0:11; Ti2 ¼ 0:71; b2 ¼ 3:67; g ¼ 0:27; with water by means of a pump whose speed is set by a
Kp ¼ 0:69; Ti ¼ 0:54: Results are reported in Fig. 12, DC voltage (the manipulated variable), in the range 0–
where the process output y2 ðtÞ for the adaptive Blend 5 V; through a PWM circuit and it is fitted with an
station has been obtained by starting with a value of g outlet at the base in order for the water to return to a
equal to 0.32, which results after the application of a reservoir. The measure of the level of the water is given
sequence of set-point steps with Ta ¼ 26:2: In Fig. 13 by a capacitive-type probe that provides an output
the value of g for the case of the Blend station with signal between 0 (empty tank) and 5 V (full tank). Note
the adaptive procedure has been plotted together with that the two processes actually have a nonlinear
gðtÞ and r2 ðtÞ for the new method. The resulting values dynamics, since the flow rate out of a tank depends on
of the performance index are J ¼ 0:52 for the new the square root of its level. The task to be accomplished
ratio controller, J ¼ 1:81 for the original Blend station, is to perform an output transition from 2 to 3 V for the
1
y1
y2 proposed ratio controller
0.9
0.7
process outputs
0.6
0.5
0.4
0.2
0.1
y2 Blend station
0
0 10 20 30 40 50 60 70
time [s]
0.9
0.8
r2(t) proposed ratio controller
0.7
0.6
0.4
0.3
0.2
γ (t) adaptive Blend station
0.1
0
0 10 20 30 40 50 60 70
time [s]
y1
2.8
y2 Blend station
process outputs
2.6
2.2
3
y Blend station
2
2.8
process outputs
2.6
y
1
2.4
y proposed ratio controller
2
2.2