Model Based Tuning
Model Based Tuning
Controller Tuning
PID controller settings can be determined by a number of
alternative techniques:
1. Direct Synthesis (DS) method
2. Internal Model Control (IMC) method
3. Controller tuning relations
4. Frequency response techniques
5. Computer simulation
6. On-line tuning after the control system is installed.
G 1 Y / Ysp
Equation 12-3a cannot be used for controller design because
the closed-loop transfer function Y/Ysp is not known a priori.
Also, it is useful to distinguish between the actual process G
and the model, G , that provides an approximation of the
process behavior.
5
1 Y / Ysp d
Gc =
G 1 Y / Ysp
d
(12-3b)
=
Ysp d c s + 1
The model has a settling time of ~ 5c, as shown in
Section 5. 2.
Because the steady-state gain is one, no offset occurs for
set-point changes.
By substituting (12-4) into (12-3b) and solving for Gc, the
controller design equation becomes:
Gc =
1 1
G c s
(12-5)
7
=
c s + 1
Ysp
d
(12-7)
e s 1 s
(12-8)
9
(12-9)
10
(12-10)
I =
(12-11)
11
(12-12)
1
Gc = K c 1 +
+ Ds
I s
(12-13)
where:
Kc =
1 1 + 2
,
K c +
I = 1 + 2 ,
D =
1 2
1 + 2
(12-14)
12
Example 12.1
Use the DS design method to calculate PID controller settings
for the process:
2e s
G=
(10s + 1)( 5s + 1)
Consider three values of the desired closed-loop time constant:
c = 1, 3, and 10. Evaluate the controllers for unit step changes
in both the set point and the disturbance, assuming that Gd = G.
Repeat the evaluation for two cases:
a. The process model is perfect (G = G).
b. The model gain is K = 0.9, instead of the actual value, K = 2.
Thus,
s
0.9
e
G =
(10s + 1)( 5s + 1)
13
(
c(
K c K = 2
K K = 0.9
I
D
c = 1
3.75
8.33
15
3.33
c = 3
1.88
4.17
15
3.33
c = 10
0.682
1.51
15
3.33
14
Fig. 12.4 Simulation results for Example 12.1 (b): incorrect model gain.
16
DS - Remark
The specification of the desired closed-loop transfer
function, (Y Ysp )d , should be based on the assumed
process model, as well as the desired set-point response.
The FOPTD model is a reasonable choice for many
processes but not all.
For example, if the process model contains a RHP
zero (1 a s ) , we must specify
Y
Ysp
1 a s ) e s
(
=
c s + 1
d
(12-15)
Figure 12.6.
Feedback control
strategies
Gc =
Gc*
(12-16)
1 Gc*G
Gc*G
1 + Gc*
( G G )
Ysp +
1 Gc*G
1 + Gc*
( G G )
(12-17)
20
Y = Gc*GYsp + 1 Gc*G D
(12-18)
(12-19)
21
1
=
f
(12-20)
f =
( c s + 1)
(12-21)
22
sp
(12-23)
23
Example 12.2
Use the IMC design method to design two controllers for the
FOPDT model. Consider two approximations for the time delay
term:
s 1 0.5 s
K (1 0.5 s )
(1 + 0.5 s )( s + 1)
G =
K
(1 + 0.5 s )( s + 1)
24
Setting r = 1 gives
Gc*
1 + 0.5 s )( s + 1)
(
=
K ( c s + 1)
1 + 0.5 s )( s + 1)
(
=
K ( c + 0.5 ) s
2 +1
Kc =
, I = + , D =
K c
2
2 +1
2 +1
(b) The IMC controller is identical to the DS controller for a
FOPTD model
25
Selection of c
The choice of design parameter c is a key decision in both the
DS and IMC design methods.
In general, increasing c produces a more conservative
controller because Kc decreases while I increases.
Several IMC guidelines for c have been published for the
FOPDT model in Eq. 12-10:
1.
2.
> c >
3.
c =
(Skogestad, 2003)
26
27
28
29
where K * K / .
Then can use the IMC tuning rules (Rule M or N)
to specify the controller settings.
30
I = min {1, 4 ( c + )}
(12-34)
31
Example 12.4
Consider a lag-dominant model with / = 0.01:
G ( s ) =
100 s
e
100 s + 1
32
Kc
(a) IMC
(b) Integrator approximation
(c) Skogestad
(d) DS-d
0.5
0.556
0.5
0.551
I
100
5
8
4.91
33
34
*
where Ysp
denotes the filtered set point that is used in the control
calculations.
de ( t )
1
*
*
p ( t ) = ps + K c e ( t ) + e t dt + D
I 0
dt
( )
p ( t ) = ps + K c ysp ( t ) ym ( t )
1 t * *
de ( t )
+ K c e t dt + D
dt
I 0
( )
(12-39)
38
+ K c e t * dt * + D
dt
I 0
( )
39