Lecture 4
Lecture 4
Introduction
Y ( s) PC b( ks + ki )
= = 2 1
R( s) 1 + PC s + ( a + bk) s + bki
0.5
ω 0t
0 5 10 15
polynomial s2 + 2ζ ω 0 s + ω 02.
0.5
ω 0t
0 1 2 3 4 5 6 7 8 9 10
c K. J. Åström September, 2000 2
Behavior of Second Order System with a Zero Systems of Second Order
• Storage of mass, momentum and energy can be captured
ω0 s + αω 0
G ( s) = by two parameter
α s2 + 2ζ ω 0 s + ω 20
• Examples
α = 0.2, 0.5 1 (dashed), 2, 5 and ∞.
– Position of car on the road
3
– Control of angle of rotating system
2.5
2
– Stabilization of satellites
1.5 – Electric systems where energy is stored in two ele-
1 ments (inductors or capacitors)
0.5
– Levels in two connected tanks
0
0.6
Y ( s) PC ( ks + ki )( b1 s + b2 )
= = 3 0.4
R( s) 1 + PC s + ( a1 + b1 k) s2 + ( a2 + b1 ki + b2 k) s + b1 ki
0.2
c K. J. Åström September, 2000 3
PD Control of Second Order System PD Control of Second Order System ...
Process The closed loop transfer function
b Y ( s) PC b( kd s + k) b( kd s + k)
P( s ) = = = 2 = 2
s2 + a1 s + a2 R( s ) 1 + PC s + a1 s + a2 + b( kd s + k) s + ( a1 + bkd ) s + a2 + bk
Systems with Two Degrees of Freedom PID Control of Second Order System
Changing the controller to b
Process: P(s) =
s2 + a1 s + a 2
U ( s) = kE( s) − kd sY ( s) = kR( s) − ( k + kd s) Y ( s)
ki
Controller: C(s) = k + + kds
The signal paths from reference R to control U is different s
from signal path from ouput Y to control. Derivative acts only Closed loop transfer function from reference r to output y
on the output.
Y ( s) PC b( kd s2 + ks + ki )
Y ( s) = =
= 2
k R( s) 1 + PC s( s2 + a1 s + a2 ) + b( kd s2 + ks + ki )
R( s ) s + ( a1 + kd ) s + a2 + k b( kd s2 + ks + ki )
=
s3 + ( a1 + bkd ) s2 + ( a2 + bk) s + bki
All poles can be chosen arbitrarily. Since the zeros comes from
the controller they can also be chosen arbitrarily by choosing a
structure with two degrees of freedom!
c K. J. Åström September, 2000 4
Computational Tools Summary
Analysis and design of control system has been drastically • Linearize the process model
influenced by good computational tools. • Select a controller of sufficient flexibility (complexity)
• Matlab and its development • Derive the closed loop characteristic equation
– A matrix calculator • Pick controller parameters to give desired characteristic
– APL a precursor equations (pole placement). Typical prototypes:
– Cleve Moler s2 + 2ζ ω 0 s + ω 02 = 0
– CTRL-C, MatrixX, PC Matlab (s2 + 2ζ ω 0 s + ω 02)(s + ω 0 ) = 0
• Public domain versions: Octave and SciLab • Insight into behavior of low order systems
• Interactive version: SysQuake • A little insight about effect of closed loop zeros
• Many simple problems can be solved in this way
• BUT are the solutions good?
c K. J. Åström September, 2000 5