Professional Documents
Culture Documents
Department of Informatics
Engineering and Systems Area
University of Almerı́a (Spain)
joseluis.guzman@ual.es
1/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Outline
1 Introduction
5 Conclusions
2/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Outline
1 Introduction
5 Conclusions
3/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Introduction
Disturbances
Manipulated
Process Outputs
Inputs
4/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Introduction
5/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Introduction
6/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Introduction
Pd
r u y
Σ Cfb Pu Σ
−1
7/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Introduction
0.2
0.15
d 0.1
0.05
0
Pd −0.05
0 2 4 6 8 10
time
r u y
Σ Cf b Pu Σ 0
control effort
−0.1
−1 −0.2
−0.3
−0.4
−0.5
0 2 4 6 8 10
time
8/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Introduction
−C f f Pd
r u y
Σ Cf b Σ Pu Σ
−1
Pd
Cf f =
Pu
Y = ( Pd − Pu C f f ) D
9/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Introduction
0.25
0.2
d
process output
0.15
−C f f Pd 0.1
r u y 0.05
Σ Cf b Σ Pu Σ
0
−1 −0.05
0 2 4 6 8 10
time
Pd
Ideal compensation: C f f = = Pd Pu−1
Pu
10/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Introduction
0.25
0.2
d
process output
0.15
−C f f Pd 0.1
r u y 0.05
Σ Cf b Σ Pu Σ
0
−1 −0.05
0 2 4 6 8 10
time
Pd
Ideal compensation: C f f = = Pd Pu−1
Pu
10/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Classical solution
Ignore the non-realizable part of the compensator and implement the
realizable one. In practice, static gain feedfoward compensators are
quite common.
11/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Introduction
0.5
0.4
process output
0.3
0.2
0.1
−0.1
0 1 2 3 4 5 6 7 8 9 10 11
time
12/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Introduction
0.5
0.4
process output
0.3
0.2
0.1
−0.1
0 1 2 3 4 5 6 7 8 9 10 11
time
12/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Introduction
−C f f Pd
r u y
Σ Cf b Σ Pu Σ
−1
Pd
Cf f =
Pu
Y = ( Pd − Pu C f f ) D
13/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Introduction
Motivation
0.08
0.15
0.06
y
0.1
0.04
0.05
0.02
0 0
−0.02 −0.05
0 5 10 15 20 25 30 35 40 45 50 0 5 10 15 20 25 30 35 40 45 50
t t
0 Static 0
Without Feedforward
Lead−Lag Static
−0.1 −0.1
Lead−Lag
−0.2 −0.2
−0.3 −0.3
u
−0.4 −0.4
−0.5 −0.5
−0.6 −0.6
−0.7 −0.7
0 5 10 15 20 25 30 35 40 45 50 0 5 10 15 20 25 30 35 40 45 50
t t
14/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Introduction
Motivation
http://aer.ual.es/ilm/ http://fichas-interactivas.pearson.es/
15/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Introduction
Motivation
Pd − C f f Pu Pd − C f f Pu
y= d= d
1+L 1 + C f b Pu
16/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Introduction
Motivation
Pd − C f f Pu Pd − C f f Pu
y= d= d
1+L 1 + C f b Pu
16/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Introduction
Motivation
Surprisingly there are very few studies in literature (we starting the
project in 2010):
17/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Introduction
Objectives
18/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Outline
1 Introduction
5 Conclusions
19/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Feedforward control problem
20/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
−C f f Pd
r u y
Σ Cf b Σ Pu Σ
−1
Pd
Cf f =
Pu
21/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Feedforward control problem
! "
1
Cfb = κfb 1+ + sτd
sτi
Static: Cf f = κf f
κu −sλu κd
Pu = e , Pd = e−sλd
1 + τu 1 + sτd
The following feedforward compensator can be considered:
κd
Static: Cf f =
κu
κ
Static with delay: Cf f = d e− s ( λd − λu )
κu
κ 1 + sτu
Lead-lag: Cf f = d
κu 1 + sτd
κ 1 + sτu −s(λd −λu )
Lead-lag with delay: Cf f = d e
κu 1 + sτd
23/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Feedforward control problem
1 −s 1
Pu (s) = e , Pd (s) = e−2s
s+1 2s + 1
Static: Cf f = 1
0.05
y
−0.08 0
−0.1 −0.05
−0.12 −0.1
−0.14 −0.15
0 5 10 15 20 25 30 35 40 45 50 0 5 10 15 20 25 30 35 40 45 50
t t
0.05 0.05
0
Static 0
Without Feedforward
Static−delay Static
−0.05 Lead−Lag −0.05 Static−delay
−0.1
Lead−Lag−delay −0.1
Lead−Lag
Lead−Lag−delay
−0.15 −0.15
u
−0.2 −0.2
−0.25 −0.25
−0.3 −0.3
−0.35 −0.35
0 5 10 15 20 25 30 35 40 45 50 0 5 10 15 20 25 30 35 40 45 50
t t
25/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Feedforward control problem
Motivation
Then, lets consider a delay inversion problem, i.e., λd < λu . Then, the
resulting feedforward compensators are given by:
κd
Cf f = Kf f =
κu
κd τu s + 1
Cf f =
κu τd s + 1
26/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Motivation
Example:
1 1 −s
Pu (s) = e−2s , Pd (s) = e
2s + 1 s+1
2s + 1
C f f = 1, Cf f =
s+1
The feedback controller is tuned using the AMIGO rule, which gives
the parameters κ f b = 0.32 and τi = 2.85.
27/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Feedforward control problem
Motivation
0.08
0.15
0.06
y
y
0.1
0.04
0.05
0.02
0 0
−0.02 −0.05
0 5 10 15 20 25 30 35 40 45 50 0 5 10 15 20 25 30 35 40 45 50
t t
0 Static 0
Without Feedforward
Lead−Lag Static
−0.1 −0.1
Lead−Lag
−0.2 −0.2
−0.3 −0.3
u
−0.4 −0.4
−0.5 −0.5
−0.6 −0.6
−0.7 −0.7
0 5 10 15 20 25 30 35 40 45 50 0 5 10 15 20 25 30 35 40 45 50
t t
28/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
−C f f Pd
r u y
Σ Cf b Σ Pu Σ
−1
Pd − C f f Pu Pd − C f f Pu
y= d= d
1+L 1 + C f b Pu
29/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Feedforward control problem
−C f f Pd
r u y
Σ Cf b Σ Pu Σ
−1
30/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Outline
1 Introduction
5 Conclusions
31/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Feedforward tuning rules
32/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Outline
1 Introduction
5 Conclusions
33/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
Objective
To improve the final disturbance response of the closed-loop system
when delay inversion is not realizable (λu > λd )
Methodology
Adapt the open-loop tuning rules to closed-loop design
Obtain optimal open-loop tuning rules
Design a switching controller to improve the results
34/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Two approaches:
d d
Cf f Pd H Cf f Pd
r u y r u y
Σ Cf b Σ Pu Σ Σ Cf b Σ Pu Σ
−1 −1
κk
Pk (s) = e− λk s k ∈ [u, d] λu > λd
τk s + 1
τi s + 1 βf fs + 1
C f b ( s) = κ f b C f f ( s) = κ f f
τi s τf f s + 1
35/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
Two approaches:
d d
Cf f Pd H Cf f Pd
r u y r u y
Σ Cf b Σ Pu Σ Σ Cf b Σ Pu Σ
−1 −1
κk
Pk (s) = e− λk s k ∈ [u, d] λu > λd
τk s + 1
τi s + 1 βf fs + 1
C f b ( s) = κ f b C f f ( s) = κ f f
τi s τf f s + 1
35/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Two approaches:
d d
Cf f Pd H Cf f Pd
r u y r u y
Σ Cf b Σ Pu Σ Σ Cf b Σ Pu Σ
−1 −1
κk
Pk (s) = e− λk s k ∈ [u, d] λu > λd
τk s + 1
τi s + 1 βf fs + 1
C f b ( s) = κ f b C f f ( s) = κ f f
τi s τf f s + 1
35/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
replacements
Delay inversion: open-loop compensation
d
Pd
u y
−C f f Pu Σ
# $ κd τu s + 1
y = Pf f = Pd − C f f Pu d Cf f = ·
κu τd s + 1
36/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
replacements
Delay inversion: open-loop compensation
1
process output
0.8
0.6
0.4
0.2
0
0 5 10 15 20 25
time
0.8
process output
0.6
0.4
0.2
0
0 5 10 15 20 25
time
# $ κd τu s + 1
y = Pf f = Pd − C f f Pu d Cf f = ·
κu τd s + 1
36/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
0.3
p r o c e ss ou t p u t 0.25
0.2
0.15
0.1
0.05
0
−0.05
0 5 10 15 20 25
tim e
P d − C f fP u O v e r sh o ot e r r or I n i t i al e rror
0.2
p r o c e ss ou t p u t
0.15
0.1
0.05
−0.05
0 5 10 15 20 25
tim e
# $
y = Pf f = Pd − C f f Pu d + u f b Pu
37/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
First approach
To deal with the non-realizable delay case, the first approach was to
work with the following:
38/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
κfb % κfb
∆u = edt = IE · d
τi τi
So, in the new rule, the goal is to take the control signal to the correct
stationary level −∆u in order to take the feedback control signal into
account and reduce the overshoot. The gain is therefore reduced to
kd κfb
κf f = − IE
ku τi
Closed-loop design
39/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
κfb % κfb
∆u = edt = IE · d
τi τi
So, in the new rule, the goal is to take the control signal to the correct
stationary level −∆u in order to take the feedback control signal into
account and reduce the overshoot. The gain is therefore reduced to
kd κfb
κf f = − IE
ku τi
Closed-loop design
39/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
IE estimation:
Y = ( Pd − Pu C f f ) D = Pd D − Pu C f f D
t +
⎧ *
−
⎨ kd 1 − e d d
⎪ τ
0 ≤ t ≤ λb
y(t) − ysp = ! *
− τt
+ ! t −λ
− T b
""
⎩ kd
⎪ 1−e d − 1−e b d λb < t
λb = max(0, λu − λd ), Tb = τu + τ f f − β f f
40/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
IE estimation:
Y = ( Pd − Pu C f f ) D = Pd D − Pu C f f D
− τt
⎧ * +
⎨ kd 1 − e d d
⎪ 0 ≤ t ≤ λb
y(t) − ysp = ! *
− τt
+ ! t −λ
− T b
""
⎩ kd
⎪ 1−e d − 1−e b d λb < t
λb = max(0, λu − λd ), Tb = τu + τ f f − β f f
40/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
IE estimation:
% ∞
IE · d = (y(t) − ysp )dt
0
% λb * % ∞! t −λ
"
− τt − τt − T b
+
= kd 1 − e d d dt + kd −e d + e b d dt
0 λb
/∞
− τt λb
t −λ
.
− τt − T b
, -
= kd t + τd e d d + kd τd e d − Tb e b d
0 λb
! λ λ
"
− τb − τb
= kd λb + τd e d − τd − τd e d + Tb d
= kd (λb − τd + Tb ) d
41/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
IE estimation:
0
kd (τu − τd + τ f f − β f f ) λd ≥ λu
IE =
kd (λu − λd + τu − τd + τ f f − β f f ) λd < λu
kd κfb
κf f = − IE
ku τi
42/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
1 1 −s
Pu (s) = e−2s , Pd (s) = e
2s + 1 s+1
2s + 1
C f f = 1, Cf f =
s+1
The feedback controller is tuned using the AMIGO rule, which gives
the parameters κ f b = 0.32 and τi = 2.85.
43/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
0.15 0.15
y
y
0.1 0.1
0.05 0.05
0 0
−0.05 −0.05
0 5 10 15 20 25 30 35 40 45 50 0 5 10 15 20 25 30 35 40 45 50
t t
0.05
0
0 Without Feedforward Without Feedforward
No K reduction No K reduction
−0.05 ff −0.1 ff
K reduction K reduction
−0.1 ff −0.2
ff
−0.15
−0.3
u
−0.2
−0.4
−0.25
−0.5
−0.3
−0.35 −0.6
−0.4 −0.7
0 5 10 15 20 25 30 35 40 45 50 0 5 10 15 20 25 30 35 40 45 50
t t
The feedforward gain κ f f has been reduced from 1 to 0.778 for the
static feedforward and from 1 to 0.889 for the lead-lag filter.
44/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
% ∞ % t0 % ∞
I AE = |y(t)|dt = y(t)dt − y(t)dt
0 0 t0
where t0 is the time when y crosses the setpoint, with ysp = 0 and
d = 1.
45/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
− τt
⎧ * +
⎨ kd 1 − e d d
⎪ 0 ≤ t ≤ λb
y(t) − ysp = ! *
− τt
+ ! t −λ
− T b
""
⎩ kd
⎪ 1−e d − 1−e b d λb < t
% ∞ % t0 % ∞
I AE = |y(t)|dt = y(t)dt − y(t)dt
0 0 t0
t0 t0 − λ b τλ τd
= → t0 = d b = λ
τd Tb τd − Tb τu − τ f f b
Tb = τu + τ f f − β f f
46/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
λ λ
− τ −bT − τ −bT
= λb − τd + Tb + 2τd e d b − 2Tb e d b
! "
λ
− τb
= λb − τ 1 − 2e
with τ = τd − τ f f .
47/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
d λb λ λb
I AE = −1 + 2e− τ + 2 b e− τ = −1 + 2(1 + x)e− x = 0
dτ τ
where x = λb /τ . A numerical solution of this equation gives x ≈ 1.7,
which gives
λb
τ f f = Tb − τd + τu = τd − τ ≈ τd −
1.7
λu − λd ≤ 0
⎧
τ
⎨ d
⎪
λu − λd
τf f = τd − 0 < λu − λd < 1.7τd
⎪ 1.7
λu − λd > 1.7τd
⎩
0
48/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
0.3
Without Feedforward
0.25
Open−loop rule
K reduction, T =T
0.2 ff p 3
K and T reduction
ff p
0.15
y
0.1
0.05
−0.05
0 5 10 15 20 25 30 35 40 45 50
t
−0.5
u
Without Feedforward
−1 Open−loop rule
K reduction, T =T
ff p 3
K and T reduction
ff p
−1.5
0 5 10 15 20 25 30 35 40 45 50
t
49/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Without Feedforward
0.25
Open−loop rule
0.2
Kff reduction, Tp=T3
Kff and Tp reduction
0.15
y
0.1
0.05
−0.05
0 5 10 15 20 25 30 35 40 45 50
t
−0.5
u
Without Feedforward
−1 Open−loop rule
Kff reduction, Tp=T3
Kff and Tp reduction
−1.5
0 5 10 15 20 25 30 35 40 45 50
t
50/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
λu − λd ≤ 0
⎧
τ
⎨ d
⎪
λu − λd
τf f = τd − 0 < λu − λd < 1.7τd
⎪ 1.7
λu − λd > 1.7τd
⎩
0
2 Calculate the compensator gain, κ f f , as
kd κfb
κf f = − IE
ku τi
0
kd (τ f f − τd ) λd ≥ λu
IE =
kd (λu − λd − τd + τ f f ) λd < λu
51/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Second approach
To deal with the non-realizable delay case, the second approach was
to work with the following:
52/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
H Cf f Pd
r u y
Σ Cfb Σ Pu Σ
−1
Pf f + LH # $
y= d = Pf f ϵ + Hη d H = Pf f = Pd − C f f Pu
1+L
C. Brosilow and B. Joseph. Techniques of model-based control. Prentice Hall,
New Jersey, 2012.
53/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
H Cf f Pd
r u y
Σ Cfb Σ Pu Σ
−1
Pf f + LH # $
y= d = Pf f ϵ + Hη d H = Pf f = Pd − C f f Pu
1+L
C. Brosilow and B. Joseph. Techniques of model-based control. Prentice Hall,
New Jersey, 2012.
53/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
H Cf f Pd
r u y
Σ Cfb Σ Pu Σ
−1
r + ( H − Pd + Pu C f f )d
e= , H = Pf f = Pd − Pu C f f
1 + Pu C f b
54/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Second approach
The main idea of this second approach relies on analyzing the residual
term appearing when perfect cancelation is not possible:
y
= Pd − Pu C f f = Pd − Pf f , Pf f = Pu C f f
d
y kd kd
= e− λd s − e− λu s
d τd s + 1 τf f s + 1
55/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
0.6
P3 output
0.5 Pff output
0.4 Initial Error
Overshoot Error
output
0.3
0.2
0.1
0 5 10 15 20 25
time
Process output
0.3 Initial Error
Overshoot Error
0.25
0.2
output
0.15
0.1
0.05
−0.05
0 5 10 15 20 25
time
y kd kd
= e− λd s − e− λu s
d τd s + 1 τf f s + 1
56/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
y kd kd
= e− λd s − e− λu s
d τd s + 1 τf f s + 1
4τd + λd − λu λ
τf f = = τd − b , λb = λd − λu
4 4
57/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
y kd kd
= e− λd s − e− λu s
d τd s + 1 τf f s + 1
4τd + λd − λu λ
τf f = = τd − b , λb = λd − λu
4 4
57/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Notice that the new rule for τ f f implies a natural limit on performance.
If parameter τ f f is chosen larger, performance will only get worse
because of a late compensation. The only reasons why τ f f should be
even larger is to decrease the control signal peak:
λb
τ f f = τd −
4
0.6
P output
3
0.5 P output
ff
0.4 Initial Error
Overshoot Error
output
0.3
0.2
0.1
0 5 10 15 20 25
time
Process output
0.3 Initial Error
Overshoot Error
0.25
0.2
output
0.15
0.1
0.05
−0.05
0 5 10 15 20 25
time
58/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
So, considering the IAE rule obtained for the first approach, two tuning
rules are available:
4τd + λd − λu λ
τf f = = τd − b
4 4
λu − λd λ
τ f f = τd − = τd − b
1.7 1.7
And a third one (a more agreessive rule) can be calculated to minimize
Integral Squared Error (ISE) instead of IAE such as proposed in the
first approach.
59/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
ISE minimization:
% ∞
1 ( t − λ b)
22
− τf f − τt
ISE = e −e d dt
λb
% ∞
1 2( t − λ b) τd ( t − λ b)+ τ f f t 2
− τf f − τd τ f f − τ2t
= e − 2e +e d dt
λb
3 2 ( t − λ b)
4∞ 3 τd ( t − λ b)+ τ f f t 4∞
τf f τd τ f f τd − τ2t ∞
. /
− τf f − τd τ f f
=− e +2 e − e d
2 τd + τ f f 2 λb
λb λb
τf f τf f λ
− b τ − 2λb
= − 2τd e τd + d e τd
2 τd + τ f f 2
60/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
ISE minimization:
1 2
d ISE 1 λ
− b 1 −τf f 1 2τd2 λ
− τb
= − 2τd e τd + = − e d = 0
d τf f 2 τd + τ f f ( τd + τ f f )2 2 ( τd + τ f f )2
λb
−
τ 2f f + 2τd τ f f + τd2 (1 − 4e τd )=0
5
λb
−
−2τd + 4τd2 − 4τd2 (1 − 4e τd )
1 6 2
λ
− τb
τf f = = τd 2 e d −1
2
61/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
λb
τ f f = τd −
4
λ
τf f = τd − b
1 1.7
6 2
λ
− τb
τ f f = τd 2 e d −1
λb
τ f f = τd −
α
62/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
λb
⎧
⎪ ! √ " aggressive (ISE minimization)
− λ b /τd
2τd 1−
⎪
⎪
⎪ e
⎨
α= 1.7 moderate (IAE minimization)
⎪
⎪
⎪
⎪
4
⎩
conservative (Overshoot removal)
63/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Example:
0.5 −2.25s 1
Pu (s) = e , Pd (s) = e−0.75s
5s + 1 2s + 1
The feedback controller is tuned using the AMIGO rule, which gives
the parameters κ f b = 0.9 and τi = 4.53.
64/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
0.35
Basic
0.3 Hast and Hägglund
ISE Minimization
0.25 IAE Minimization
Overshoot Removal
0.2
0.15
output
0.1
0.05
−0.05
−0.1
0 5 10 15 20 25
time
0
Basic
−5 Hast and Hägglund
ISE Minimization
−10 IAE Minimization
Overshoot Removal
−15
control signal
−20
−25
−30
−35
−40
0 5 10 15 20 25
time
65/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
% ∞
ISE( F ) ISC( F )
! "
1
J1 ( F, B) = + , ISC = u(t)2 dt
2 ISE( B ) ISC( B ) 0
% ∞
IAE( F ) IAC( F )
! "
1
J2 ( F, B) = + , IAC = |u(t)| dt
2 IAE( B ) IAC( B ) 0
66/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
It is clear that if the compensation is made too fast, the output will
suffer a bigger overshoot error, while if it is too slow, the compensator
will take too much time to reject the disturbance and it will have a
bigger residual error. Therefore, a switching rule can be proposed in
such a way that the feedforward compensator reacts fast before the
outputs cross in order to decrease the residual error, and slower after
this time to avoid the overshoot because of the residual error.
67/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
0.6
P3 output
0.5 Pff output
0.4 Initial Error
Overshoot Error
output
0.3
0.2
0.1
0 5 10 15 20 25
time
Process output
0.3 Initial Error
Overshoot Error
0.25
0.2
output
0.15
0.1
0.05
−0.05
0 5 10 15 20 25
time
68/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
0.3
p r o c e ss ou t p u t 0.25
0.2
0.15
0.1
0.05
0
−0.05
0 5 10 15 20 25
tim e
P d − C f fP u O v e r sh o ot e r r or I n i t i al e rror
0.2
p r o c e ss ou t p u t
0.15
0.1
0.05
−0.05
0 5 10 15 20 25
tim e
# $
y = Pf f = Pd − C f f Pu d
69/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
0.6 P3 output
0.5 Pff output
Initial Error
0.4
output
0.3
0.2
0.1
Process output
0.3 Initial Error
0.25
0.2
output
0.15
0.1
0.05
−0.05
0 t_change 4 t_cross 8 t_restore 12 16 20 24
time
70/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
The idea is to set τ f f to a small value until the time when the
responses of both transfer functions cross. After this time, the new
value of τ f f will be τd . Once the load disturbance is rejected, τ f f will
be set again to the small initial value in order to be ready for new
coming disturbances.
71/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Thus, the first step is to calculate the time it takes since a step change
in d appears at time instant td until the outputs of both transfer
functions cross. This time, tcross , corresponds to the point when the
step responses of Pf f and Pd are equal:
1 2
−( t cross − t d − λ d ) −( t cross− t d − λ u )
τf f
κd d e τd
−e =0
τd λu − τ f f λd
tcross = + td
τd − τ f f
72/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
On the other hand, notice that the time event of the switching rule is
really given at tchange = tcross − λu .
Once the disturbance has been rejected, the feedforward switching
controller should return to its original value in order to be ready for
possible new coming load disturbances. This change must be done at
a time instant, tr , which can be proposed as the settling time of
process Pd such as follows:
tr = 4τd + λd + td
On the other hand, notice that the time event of the switching rule is
really given at tchange = tcross − λu .
Once the disturbance has been rejected, the feedforward switching
controller should return to its original value in order to be ready for
possible new coming load disturbances. This change must be done at
a time instant, tr , which can be proposed as the settling time of
process Pd such as follows:
tr = 4τd + λd + td
On the other hand, notice that the time event of the switching rule is
really given at tchange = tcross − λu .
Once the disturbance has been rejected, the feedforward switching
controller should return to its original value in order to be ready for
possible new coming load disturbances. This change must be done at
a time instant, tr , which can be proposed as the settling time of
process Pd such as follows:
tr = 4τd + λd + td
0.6 P output
3
0.5 P output
ff
Initial Error
0.4
output
0.3
0.2
0.1
Process output
0.3 Initial Error
0.25
0.2
output
0.15
0.1
0.05
−0.05
0 t_change 4 t_cross 8 t_restore 12 16 20 24
time
τd λu − τ f f λd
tcross = + td tchange = tcross − λu
τd − τ f f
tr = 4τd + λd + td
74/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
κd 1 + τu s
⎧
⎪
⎪ tchange ≤ t ≤ tr
⎨ κu 1 + τd s
⎪
⎪
C f f ( s) =
⎪
⎪ κd 1 + τu s
⎪
⎪
⎩ κ 1+τ s otherwise
u ff
4 Go to step 2.
75/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
0.35
ISE Minimization
0.3 IAE Minimization
Switching
0.25
0.2
0.15
output
0.1
0.05
−0.05
−0.1
0 5 10 15 20 25
time
0
−1
−2
−3
control signal
−4
−5
−6
−7
ISE Minimization
−8 IAE Minimization
Switching
−9
0 5 10 15 20 25
time
76/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Nominal feedforward design: non-realizable delay
77/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
0.35
Hast and Hägglund
0.3 Switching
0.25
0.2
0.15
output
0.1
0.05
−0.05
−0.1
0 5 10 15 20 25
time
0
−5
−10
−15
control signal
−20
−25
−30
78/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Outline
1 Introduction
5 Conclusions
79/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
1 s
Gy/d ≈ ≈
C f b ( s) κi
80/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Performance indices for feedforward control
0
10
Gy/d (ω )
−1
10
−2
10
−2 −1 0 1
10 10 10 10
ω
81/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
14
Ki=0.33
12 Ki=2
10
8
Salida
0
0 10 20 30 40 50 60 70 80 90 100
Tiempo (s)
0
Ki=0.33
−10
Ki=2
−20
−30
Señal de control
−40
−50
−60
−70
−80
−90
−100
0 10 20 30 40 50 60 70 80 90 100
Tiempo (s)
Bode Diagram
K_i=0.33
K_i=2
−10
−20
−30
Magnitude (dB)
−40
−50
−60
−70
−3 −2 −1 0 1 2
10 10 10 Frequency (rad/sec) 10 10 10
82/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Performance indices for feedforward control
Objective
To proposed indices such that the advantage of using a feedforward
compensator with respect to the use of a feedback controller only can
be quantified.
Methodology
Propose different indices
Calculate the indices based on the process parameters
83/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
d d
Cf f Pd H Cf f Pd
r u y r u y
Σ Cf b Σ Pu Σ Σ Cf b Σ Pu Σ
−1 −1
84/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Performance indices for feedforward control
Assumptions:
κu −sλu κd
Pu = e , Pd = e−sλd
1 + τu 1 + sτd
85/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Assumptions:
! "
1
Cfb = κfb 1+
sτi
τi
κfb = , τi = τu
κu (λu + τbc )
86/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Performance indices for feedforward control
I AEFF
IFF/FB = 1 − ,
I AEFB
where I AE FB is the integrated absolute value of the control error
obtained when only feedback is used, and I AE FF is the corresponding
I AE value obtained when feedforward is added to the loop.
As long as the feedforward improves control, i.e. I AE FF < I AE FB ,
the index is in the region 0 < IFF/FB < 1.
87/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Calculation of I AE f b
Calculation of I AE f b
89/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
In this case, the transfer function from the disturbance to the error is
e−sλd e−sλu
Pd (s) + Pu (s)C f f (s) κd − κd
1 + sτd 1 + sτd
Gy/d (s) = − = − sλ
1 + Pu (s)C f b (s) e u 1 + sτi
1 + κu κfb
1 + sτu sτi
Considering the lambda tuning rule and that the delays are
approximated as
e− λu s ∼
= 1 − λu s, e− λd s ∼
= 1 − λd s
It results in:
κd (λu + τbc )(λu − λd )s2
Gy/d (s) = −
(1 + τd s)(1 + τbc s)
90/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Performance indices for feedforward control
91/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
0.2
0.15
0.1
y
0.05 A1
0
A2
−0.05
0 10 20 30 40 50 60
time
92/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Performance indices for feedforward control
93/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
0.2
0.15
0.1
y
0.05 A1
0
A2
−0.05
0 10 20 30 40 50 60
time
0
τbc τd * +
τ
log τbc τbc ̸ = τd
t0 = τbc − τd d
τd τbc = τd
94/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Performance indices for feedforward control
We can therefore calculate the area of the first part of the transient as
"− τbc
⎧
κ A
!
⎨ d d (λ + τ )(λ − λ ) τbc τbc − τd τ ̸= τ
% t0
⎪
⎪
u bc u d bc d
A1 = e(t)dt = τd τd
0
⎩ κd Ad (λu + τbc )(λu − λd )e−1
⎪
τbc = τd
⎪
τd
95/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
According to
% ∞
1 Ad
IE FF = e(t)dt = lim s · Gy/d (s) = 0.
0 s →0 s s
96/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Performance indices for feedforward control
98/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Performance indices for feedforward control
The ratio between the I AE value of the classical scheme and the
noninteracting scheme is
99/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Index interpretation
I AEFF 2( λ u − λ d )
IFF/FB = 1 − = 1− f (τbc /τd )
I AEFB τd
100/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Performance indices for feedforward control
Example 1
e−2s e− s
Pu (s) = Pd (s) =
10s + 1 5s + 1
Using lambda tuning with τbc = τu = 10 gives the PI controller
parameters κ f b = 0.83 and τi = 10.
The feedforward compensators are defined as
10s + 1
C f f ( s) =
5s + 1
for the classical feedforward control scheme and as
10s + 1
Cf f =
4.4s + 1
for the non-interacting feedforward control scheme (to minimize IAE).
101/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Example 1
102/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Performance indices for feedforward control
Example 1
0.8
Feedback
Classical FF
0.6 Non−interacting FF
0.4
y
0.2
−0.2
0 10 20 30 40 50 60 70
0
Feedback
Classical FF
−0.5
Non−interacting FF
−1
u
−1.5
−2
−2.5
0 10 20 30 40 50 60 70
time
103/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Example 2
104/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Performance indices for feedforward control
Example 2
105/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Example 2
0.6
Feedback
Classical FF
0.4 Non−interacting FF
y
0.2
−0.2
0 10 20 30 40 50 60
0
Feedback
Classical FF
−0.5
Non−interacting FF
−1
u
−1.5
−2
−2.5
0 10 20 30 40 50 60
time
106/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Performance indices for feedforward control
Example 3
107/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Example 3
τd = λu τd = 10λu
1 1
0.8 0.8
0.6 0.6
0.4 0.4
0.2 0.2
0 0
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
1 − λd /λu 1 − λd /λu
108/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Performance indices for feedforward control
Example 3
109/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Example 3
τ=L
Feedback
1 Classical FF
Non−interacting FF
0.5
y
−0.5
0 1 2 3 4 5 6 7 8 9 10
0.5
Feedback
0 Classical FF
Non−interacting FF
−0.5
u
−1
−1.5
−2
−2.5
0 1 2 3 4 5 6 7 8 9 10
time
110/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Performance indices for feedforward control
Example 3
0.2 τ = 10L
Feedback
Classical FF
0.15 Non−interacting FF
0.1
y
0.05
−0.05
0 5 10 15 20 25 30 35 40
0 Feedback
Classical FF
−0.2 Non−interacting FF
−0.4
u
−0.6
−0.8
−1
0 5 10 15 20 25 30 35 40
time
111/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Outline
1 Introduction
5 Conclusions
112/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Conclusions
113/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Conclusions
Future research
114/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Conclusions
Bibliography
115/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Conclusions
Bibliography
116/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Conclusions
Bibliography
117/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
Collaborators
118/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances
End of the presentation
119/119 José Luis Guzmán Sánchez Advances in Feedforward Control for Measurable Disturbances