Control Systems Cheat Sheet
Control Systems Cheat Sheet
1. SYSTEMS MODELLING
df sF(s) − f ( 0)
f ′( t ) = f& ( t ) =
dt
2
d f s2 F(s) − sf ( 0) − f ′ ( 0)
f ′′( t ) = 2
dt
d fn
s n F(s) − s n −1 f ( 0) − s n− 2 f ′ ( 0) − ....− f ( n−1) ( 0)
dt n
t 1
∫ f ( t ) dt
0 s
F(s)
δ(t) 1
1 1
s
tn n!
sn +1
e-at 1
s+ a
tn e-at n!
(s + a) n+1
sin(bt) b
s + b2
2
cos(bt) s
s + b2
2
e-at sin(bt) b
(s + a) 2 + b 2
e-at cos(bt) s+ a
(s + a) 2 + b 2
1
Transfer Function Definition
Gain G(s) = K y = Ku
Integrator 1
G (s) =
s
∫
y = u. dt
K dy
First Order G (s) = T + y = Ku
1 + sT dt
Kω 2n d 2y dy
Second Order G (s) = 2 2
+ 2ζω n + ω n2 y = Kω n2 u
s + 2ζω n s + ω 2n dt dt
First Order −t
y = K 1 − e T
Second Order ζω n
y = K1 − e −ζω n t cos(ω d t ) + sin(ω d t )
ωd
π
where ω d = ω n 1 − ζ 2 , ωn = ,
t max 1 − ζ 2
πζ
overshoot = e
−
1 − ζ2
, ζ=
( ln(overshoot )) 2
π 2 + ( ln(overshoot ))
2
2
Rules for Block Diagram Manipulation
GA (s)
+ GA (s) ± GB (s)
±
GB (s)
G(s)
=
G(s) G(s)
1
G(s)
G(s)
G(s)
+ +
G(s) G(s)
± ±
G(s)
+ + G(s)
G(s)
±
±
1
G(s)
+
G(s)
G(s)
1 + G(s)H(s)
H(s)
3
2. SYSTEM PERFORMANCE
lim lim
Steady State Output y ss = y( t ) = sY(s)
t→∞ s→ 0
e ss = u - yss
Steady State Error
4
3. SIMPLE CONTROLLERS
Controller
Gc(s)
Proportional K
Ki
Proportional + Integral K+
s
s + α K
or K where α = i K
s
K + Kds
Proportional + Derivative
Kd
or K(1 + sTd ) where Td = K
Ki
Proportional + Integral + Derivative K+ + Kds
s
(Three Term Controller)
s+a
Lead Controller K where a < b
s+b
1 + sT
or K where α < 1
1 + sαT
s+a
Lag Controller K where a > b
s+b
1 + sT
or K where α > 1
1 + sαT
sn an an-2 an-4
a n −1a n − 2 − a n a n −3
b n −1 =
sn-1 an-1 an-3 an-5 a n −1
5
5. ROOT LOCUS
No Drawing Rules
1 All loci start for K = 0 at the Open Loop Poles and finish for K = ∞ at either Open Loop Zeros or s = ∞.
2 There will always be a locus on the real axis to the LEFT of an ODD number of Open Loop Poles and Zeros.
3 If there are n Open Loop Poles and m Open Loop Zeros, there will be n-m loci ending at infinity on asymptotes
at angles to the real axis of
5 Where two real loci meet on the real axis they “breakaway” from the real axis at ±90° to form two complex
loci, symmetrical about the real axis.
Where two complex loci meet on the real axis they “break-in” to form two real loci, moving in opposite
directions along the real axis.
dK
The “breakaway” and “break-in” points are given by the roots of = 0
ds
6 The points of intersection of a locus with the imaginary axis can be determined by solving the equation
D ( jω ) + KN ( jω ) = 0
Remember both the real part and the imaginary parts must be satisfied in this equation. Hence this will give two
simultaneous equations one that will give values of ω while the other gives the K value at the crossing point.
7 The angle of departure of a locus from a complex open loop pole is given by;
n m
φ d = 180° − ∑φ
i=1
i + ∑ψ i=1
i
i≠ d
where φi is the angle from the i’th open loop pole and ψi is the angle from the i’th zero.
n m
ψ a = 180° + ∑φ
i=1
i − ∑ψ
i =1
i
i≠ a
6
n
∏Z
i =1
i
n m
1 - ζ2
Lines of constant damping ω=± σ where s = σ + jω
ζ
NB Straight line through the origin of the s plane. Also lines makes an
angle cos-1 ζ with the negative real axis
σ 2 + ω 2 = ω 2n
Lines of constant undamped
natural frequency NB Circle with centre on the origin of the s plane and radius ωn
R = G ( jω ) = a 2 + b 2
G(jω ) = a(ω ) + jb(ω )
b
φ = ∠G ( jω ) = tan −1 g = 20 log 10 R
a
R = R1 R 2 R 3 g = g1 + g 2 + g 3 φ = φ1 + φ 2 + φ 3
7
Nyquist Diagrams of Common System Elements
Gain Term
K 0°
K K
Integrator
1
1 ω -90°
s
Differentiator
ω 90°
s
1
1 + ω 2 T2
1 + sT
8
Bode Plots of Common System Elements
g (dB)
G(s) Gain Plot Phase Plot
φ(deg)
Gain Term
20log10 K 2 0 lo g 1 0 K 0
K
0°
Integrator 1
20 log10
ω 0
1
0
1
s -90°
-90
-20 dB/dec
Differentiator 20 log10 ( ω )
20 dB/dec 90
s
90°
0 0
1
1 1 + ω 2T 2
-3dB -45
1 + sT
− tan −1( ωT) -90
-20 dB/dec
90
1 + sT
3dB 45
2ζω ω
− tan −1 2 n 2 180
ωn − ω -40 dB/dec
9
7. DIGITAL CONTROL
δ(k) 1 1
1 z 1
z−1 s
k Tz 1
( z − 1) 2 s2
1 2 T 2 z(z + 1) 1
k
2! 2! (z − 1) 3 s3
e-ak z 1
z − e − aT s+ a
ke-ak Tze − aT 1
(z − e )− aT 2 (s + a) 2
1 - e-ak z(1 − e − aT ) a
( z − 1)( z − e − aT
) s(s + a )
-ak
k - (1 - e )/a [
z z(aT − 1 + e − aT ) + (1 − e − aT − aTe − aT ] a
a (z − 1) ( z − e
2 − aT
) s (s + a )
2
10
8. STATE SPACE METHODS
Continuous Digital
Standard x& = Ax + Bu x (k + 1) = Fx (k ) + G u (k )
Form for State y = Cx + Du y( k ) = C x ( k ) + D u ( k )
Space Model
G (s) = C(sI − A ) B + D
Transfer −1
G ( z) = C( zI − F) G + D
−1
Function
Matrix
State Time t k
Response
∫
x( t ) = e x(0) + e − Aτ Bu( τ)dτ
At x( k + 1) = F k +1 x(0) + ∑ FiGu( k − i)
0
i=0
Transition
Matrix [
Φ( t ) = e At = L-1 ( sI − A ) −1 ] F = e AT
A2t 2 A3t 3
Φ ( t ) = e At = I + At + + +L G = A −1 [ F − I]B
2! 3!
Characteristic
Equation with det (sI − A + BK) = 0 det ( zI − F + GK) = 0
state feedback
Controllability
Matrix
2
[ n −1
M c = BM ABM A BMLM A B ] [ 2 n −1
M c = GM FGM F GMLM F G ]
Controllable
0 1 0 L 0 0 0 1 0 L 0 0
0 0 1 L 0 0 0 0 1 L 0 0
Canonical
x& c = M M M O M xc + M u x c (k + 1) = M M M O M x c (k ) + M u (k )
Form
0 0 0 1
L 0 0 0 0 L 1 0
−a 0 −a1 −a 2 L
− a n −1 1 − a 0 − a1 − a2 L
− a n −1 1
y = [b0 b1 L L b n − 2 b n − 1 ]x c y( k ) = [b 0 b1 L L b n − 2 b n −1 ]x c ( k )
11
Ackermann’s If desired CE is If desired CE is
Formula for
s n + α n −1 s n −1 + L + α 1 s + α 0 = 0 z n + α n −1 z n −1 + L + α 1 z + α 0 = 0
State Feedback
Observability C C
Matrix CA CF
Mo = CA 2 Mo = CF2
L L
n −1 n −1
CA CF
Observable 0 0 L 0 −a 0 b0 0 0 L 0 − a0 b0
− a 1 b 1
1 0 L 0 0 L 0 − a 1 b
Canonical 1 1
x& o = 0 1 M 0 −a 2 x o + b 2 u x o (k + 1) = 0 1 M 0 − a 2 x o (k ) + b 2 u (k )
Form
L L O L M
M L L O L M M
b n −1 0
0 0 L 1 − a n −1 0 L 1 − a n −1 b n −1
[
P = φ(A ) M o−1 [ 0 0 K 1] ]T [
P = φ( F) M o−1 [ 0 0 K 1] ]T
where where
φ(A ) = α 0I + α1A + L + α n −1A n −1 + A n φ( F) = α 0 I + α 1 F + L + α n −1 F n −1 + F n
12