Demystifying PID Controller Tuning For Performance and Robust Stability
Demystifying PID Controller Tuning For Performance and Robust Stability
Demystifying PID Controller Tuning For Performance and Robust Stability
2
Outline
• When a First Order Plus Dead Time (FOPDT) linear model is fit to dynamic
process data
dPV (t )
τP + PV (t ) = K P ⋅ OUT (t − θ P )
dt
4
Example 1 - The Process is Nonlinear
... Consider the Level of Operation
⎡ 1 dPV (t ) ⎤
OUT (t ) = bias + K C ⎢e(t ) + ∫ e(t )dt − τ D ⎥
⎣ τ I dt ⎦
where e(t ) = SP (t ) − PV (t )
7
IMC / SIMC Tuning
1 τP
KC = ; τ I = min ⎡⎣τ P , 4 (τ C + θ P ) ⎤⎦
K P (θ P + τ C )
8
Introduction to Robustness
9
Introduction to the Robust Stability
Factor (RSF) Metric
• Robustness Plot introduced by 16
Gerry and Hansen (1987)
a = KP,Plant / KP,Model
12
Moderately tuned PI controller
using the IMC tuning
correlation 8
Square Lies Entirely
Within Stable Region
• Dot (a = 1, c = 1) indicates
perfect plant-model match 4
UNSTABLE
RSF2D REGION
3.75
• Robust Stability Factor, RSF2D STABLE REGION
0
– Quantitative Metric 0 4 8 12 16
– Defines square within stable Plant-Model Mismatch in Dead Time
region c = θP,Plant / θP,Model
– Value ≥ 1 (if stable at design
point, otherwise undefined)
10
What About Plant-Model Mismatch
in τP (b ≠ 1)?
11
Effect of Plant-Model Mismatch in τP
(at b = 1 and b = 1/RSF3D)
a = KP,Plant / KP,Model
Both RSF2D and RSF3D Only RSF3D
RSF2D = 2.17 Squares Lie Entirely RSF2D = 2.17 Square Lies Entirely
2 Within Stable Region 2 Within Stable Region
RSF3D RSF3D
= 1.77 = 1.77
12
Example 2 – Confirming the Validity
of a Model Fit to Closed-Loop Data
SP
Tracking
Disturbance
Rejection
dPV (t )
= K P* ⋅ OUT (t − θ P )
dt
16
Example 3 – FOPDT Integrating
Model Fit to Open-Loop Data
• Model Parameters
– KP* = -0.326 %level / %OUT-min
– θP = 0.215 min
• Model Fit can be computed manually (Arbogast, 2007)
– Does not require Process Variable (level) ever to be at steady-state
– Requires two periods of constant Controller Output values
Example 3 – Blowdown Drum
Disturbance Rejection Performance
Jeff Arbogast
[email protected]
(302) 286-5417
21
Back-up Slides
SIMC vs. IMC Tuning
SIMC IMC
SP
Tracking
Disturbance
Rejection
Introduction to the Robustness Plot
(a) (for τC = 0.77 min) UNSTABLE (b) (for τC = 2.87 min) UNSTABLE
8 REGION 8 REGION
Plant-Model Mismatch in Gain
a = KP,Plant / KP,Model
6 6
4 4
2 2
STABLE REGION
STABLE REGION
0 0
0 2 4 6 8 0 2 4 6 8
Plant-Model Mismatch in Dead Time Plant-Model Mismatch in Dead Time
c = θP,Plant / θP,Model c = θP,Plant / θP,Model
24
Robustness Plot - Background
• History
– Introduced by Gerry and Hansen (1987)
– Procedures for Producing Robustness Plot
– Simulations / Experimentation - Shinskey (1990, 1994)
– Bode Stability Criterion (not detailed) – Fruehauf, et al. (1994)
– Bode Stability Criterion (detailed) – Arbogast, et. al. (2007, 2008)
• For analysis, assume the following:
– Actual Plant is represented by a FOPDT model
– FOPDT Model is used to Tune the Controller
• Robustness Plots
– Fix the Controller Tuning (the Model)
– Vary the Actual Plant
25
Relationship between Robust Stability
and Robust Performance
τC = 8 θP,Model 60
PV
55
a = KP,Plant / KP,Model
12
50
60
55
PV
55 8
50
CO
50
4
UNSTABLE
RSF2D REGION
3.75 45
55
STABLE REGION
0
0 4 8 12 16 0 25 50 75 100
50 Time, t (min)
CO
0 25 50 75 100
Time, t (min)
26
Relationship between Robustness
and Nyquist Plots
0.6
τC = 8 θP,Model
a = KP,Plant / KP,Model
12 0.0
-0.2
(a = 1, b = 1, c = 1) 8 -0.4
0.00
4
RSF2D
UNSTABLE (a = 3.75, b = 1, c = 3.75)
REGION
3.75
-0.05 STABLE REGION
0
-0.10 0 4 8 12 16
Plant-Model Mismatch in Dead Time
-0.15 c = θP,Plant / θP,Model
-1.0 -0.5 0.0
Real Part of GOL,Plant(jω)
27
Other Robust Stability Metrics
⎧ c SF
⎪⎪ SF ≤ a ≤ c ,1 ≤ c ≤ SF
IMC-PI Tuning ∀a, c : ⎨
⎪ 1 1
where SF ≥ 1.
≤ a ≤ cSF , ≤ c <1
4 τC = 2.4θP ⎪⎩ cSF SF
RSF2D = 2.31
UNSTABLE • RSF region
REGION
STABLE REGION 1
0 ∀a, c : ≤ a, c ≤ RSF2D , b = 1
RSF2D
0 4 8
Plant-Model Mismatch in Dead Time
c = θP,Plant / θP,Model 1
∀a , b , c : ≤ a, b, c ≤ RSF3D .
RSF3D