Professional Documents
Culture Documents
reference input.
Open loop: system where the output has no effect on the control action.
6. rewrite equation
(PID controller)
P (Kp) improve the output response (reduce rise time, reduce steady state
error)
I (Ki/s) eliminate steady state error
D (Kd s) reduce the overshoot
Complex function
zeros: s = -zm
poles: s = -pm
t f(t)
1
1/s
1/s2
1/s3
e-at
Sin t
Cos t
t e-at
1/(s+a)
/ (s2 + 2)
s / (s2 + 2)
1 / (s+a)2
-F(s)
sF(s) f(0-)
F (s+a)
F(s) / s
f (t )dt
FVT
transient ct(t):
K ( s z1 )( s z 2 )...(s z m ) N (s )
neighborhood of s = 0. IVT
Remarks on poles and zeros:
If points at infinity are included, TF would have: n finite poles, m finite
zeros and (n-m) infinite zeros.
Highest power of s in denominator of TS order of the system
TF: full description of dynamic characteristics of the system, independent of
magnitude and nature of input, doesnt reveal any information about internal
structure of the system.
Obtaining TF for dummies:
1. apply knowledge in physiscs, dynamics (Newtons law) to obtain
differential equations of the system
2. identify the input and output of each sub-systems.
3. take LT of the equations of sub-systems and re-arrange as main input &
output.
4. assume zero I.C., obtain the Transfer Functions.
Remember this, dont play2!! OLTF vs CLTF
Given a system G(s) with feedback function H(s)
OLTF = G(s) H(s) CLTF -ve (+ve) feedback =
Where
touches P1.
s1.2 =
b b 2 4ac
2a
G (s)
1 G (s) H (s)
c1
b1
b1 a3 a1b2
b1
a1 a 2 a 0 a3
a1
b2
a1 a 4 a 0 a5
a1
ba a b
c2 1 5 1 3
b1
F = k (x1 x2)
1 > 2
T = k (1 - 2) dont look T direction
Electromechanical system
(e.g. armature control dc servomotor)
note: T = K (Ia)
Ra = armature resistance; La = armature inductance
Ia = armature current; If = field current
ea = applied armature volt; eb = back emf
Linearization: the math model for the nonlinear system, near the operating
point of x = x_ and y = y_. ( _ means bar)Example:
1.The EOM:
Mx + B x + fK(x) = fa(t)
2. to find operating point, replace fa(t) by fa_ and x by x_.
3. we get, M x_ + B x_ + fK(x_) = fa_(t)
4. noting that x_ = x_ = 0 = fa_, we get fK(x_) = 0
5. thus the operating point is at x_=0 and fK(x_) = 0
remarks: two 2nd order system having same but different n will exhibit same
overshoot and oscillatory pattern but different speed of response
= 1 (critically damped) has the fastest response.
Performance characteristics of control system are given in terms of: (1) unit
step response of 2nd order, underdamped (2) transient response parameters
these parameters are:
1. delay time (td); time to reach half of steady state
2. rise time (tr) time to cross 100% tr = (-)/ d
3. peak time (tp) time to reach 1st peak of overshoot = /d
4. max. overshoot (Mp)
5. settling time (ts) = 4T (for 2%criterion) = 3T (4%criterion)
time constant T = 1/ time constant of an underdamped 2nd
6.
order system.
Note: Mp and tr cant be made small simultaneously
For rapid transient response, n must be large
To limit Mp and to make ts small, shouldnt be too small.
The steady state error component due to D(s)
Type of controllers
Kp
(P)
u(t) = Kp e(t)
(I)
u(t) = Ki
e(t )dt
Kp(1+
(1/Tis))
Kp(1+Td s)
PD
controller
u(t) = Kp e(t) + Kp Td
(de/dt)
Improve
transient resp,
reduce ess
Increase system
type by 1
Ti : integral time
Increase
damping (effect
of D), tends to
increase stability
Amplify high
frequency
signals, lead
to saturation
e(t )dt
If the controller only I (instead of PI), the system will always be unstable due to
RHP poles.
The dominant closed loop poles: the closed loop poles nearest to jw-axis
(dominate the transient response) & become the most important among other
poles.
input
ess formula
Step
1/ (1+Kp)
Ramp
1/ Kv
parabolic
1/Ka
K static position/velocity/acceleration error constant
K value
Step
Ramp
Parabolic
Type 0
Constant
0
0
1
Infinity
Constant
0
2
Infinity
Infinity
constant
Design assumptions:
1. 2nd order system 2. dominant pair of poles 3. there are no system zeros on
the RHP
Methods: 1. Root Locus 2. Frequency response
c(t) = t T + T e t/T
c(t) = 1- e t/T
c(t) = (1/T) e t/T
T=b(1-2)
F=b(x1-x2)
Note: 1. for inertia part (translational/rotational) the Force (Torque) is
different, x () is same.
2. for damping and spring the Force (Torque) is the same, x () is different
gear train: w2/w1 = r1/r2 = N1/N2 and T 1w1 = T 2 w2
electrical systems:
R = V/I
ZR = R
I = C (dV/dt); Farad
ZC = 1/Cs
V = L (dI/dt); Henry
ZL = Ls
(approx.)
C (s )
K
R (s ) Ts 1
x1 > x2
c(t ) 1 exp( 2 1 ) n t )
Ki/s
3. make the Rouths array till only 1 element left in the last 2 rows of 1st
column.
>0
4. special case 1: the 1st element of any row is zero replace 0 with
- if the sign above 0 () = below it there are a pair of imaginary roots
- if not the same there is a sign change.
5. special case 2: entire row of zero, meaning: there exist pairs of roots which
are mirror images wrt imaginary axis.
Solution: take the row above the zero row as the auxiliary polynomial P(s)
1. the mirror image roots could be obtained from roots of P(s) = 0 2.
continue the Rouths by taking dP(s)/ds factors.
Rotational
Moment of inertia (kg.m2)
1 2
sin d t tan 1
Mathematical modelling
translational
Mass (kg)
1 2
G1-controller, G2 plant
2.
input
marginally stable
abc formula
e n t
3. critically damped, = 1
- the system has 2 real poles at the same location on Re-axis (either LHP or
RHP)
- c(t) = 1 e-n t (1+ n t)
4. overdamped, >1
- the system has 2 real and unequal (distinct) poles
- can be approximated by neglecting the furthest poles from Im-axis
-
G (s)
Laplace Transform
d
f (t )
dt
c(t ) 1
let TF given by
Definition:
(t) impulse
u(t) step
t u(t) ramp
t2 u(t)
n
C (s)
R ( s ) s 2 2 n s n 2
The dynamic behaviour of the 2nd order system described in terms of damping
ratio () and undamped natural frequency (n)
The char. Equation roots are given by s
j
1.2
180 o ( 2k 1)
nm
poles zeros note: N poles = N asymptotes
asymptotes =
nm
6. ask Do you expect any collision? break in/ break out on real axis
break in: between 2 open loop zeros, only if theres finite zeros.
How to find? Roots of dK/ds = 0 (from C.E.) note if the roots are
complex, no break in/break out exist.
7. find where the RL may cross Im-axis using: a) Rouths for marginally stable
b) substitute s=jw in C.E. solving K and w.
1 s zc
s pc
Format: Gc(s) =
PD controller design
PD is one type of lead compensator.
form: Gc(s) = Kc (s + zc) with desired complex closed loop poles s0
1.
2. put open loop poles of G(s) and s0 at s-plane.
3. angle criterion: (G(so) Gc(so)) = 180
4. find contribution of all initial open loop poles/zeros (achtung: double
poles!!)
(G(so)) = zeros -poles
5. find Gc(so) from angle criterion: Gc(so) +G(so) = -180
6. draw 3 = Gc(so) on s-plane find zc=/tan 3+
7. find Kc =
(substitute s= so)
1
1
G ( s ) ( s zc)
1 (s pc)
G ( s) ( s zc)
p1 p 2
p1
pc
Kc
pc
lead
Same as PD
Same as PD
Solve this problem
same
FREQUENCY RESPONSE
Given
K ( s z1 )
G( s)
( s p1)(s p 2)
Then for s = jw
G ( jw)
And G(jw) =
General form
1
s 2 2 n s n
2 w
tan 1 2 n 2
n w
(for w <=n) =
2 w
180 tan 1 2 n 2
w n
(for w>= n)
Kc
1.
2.
3.
K w 2 z1
Lag
so never change
Keep the dynamic
response
ts become longer
(=lagging)
Reduce ess
w 2 p12 w 2 p 2 2
w
w
w
K ( s z1 )( s z 2 )...( s z m )
G ( s)
s ( s p1)( s p 2)...( s p n )
2.
3.
6. multiplication by a /division by a
G dB shift up by 20 log a / shift down by 20 log a
G not affected at all.
1.
4.
5.
6.
7.
where zc > pc
1 s zc
s pc
where zc < pc
1.
2.
3.
4.
calculate ,
5.
find Gc dB at m, given by Gc dB =
6.
7.
1 sin m
1 sin m
sin m
or
1
1
20 log
m zc pc
Lag
Resulting cross over freq.
< wpm
More plot
Lead
Higher than wpm
More calculation
Addition
1/G
1/G
I. Bode plots
1.
2.
Gain margin, Kg
increase in G dB when G=-180 to make the closed loop system unstable. (we
want to make G dB crossing 0 dB line)
How? 1) locate w which G= -180 2) w = wgm, gain margin freq 3) see
corresponding G dB 4) thus, Kg = - G dB
Phase margin,
Additional phase lag added to G when G dB = 0 to make the closed loop
system unstable. (we want to make G crossing the 180 line)
How? 1) locate w which G dB = 0 dB 2) w = wpm, phase margin freq 3) see
corresponding G 4) thus, = G + 180
Note: * small damping means low * low wpm means slow response
In Bode plot -- Stable vs unstable closed loop: (Kg and +ve) vs (Kg and
ve)
For other combination, refer to Nyquist stability criterion.
3. G(s) = 1/(s+a)
G dB slope = -20dB/dec (start from a rad/s) and G slope -45o/dec
between 0.1 a and 10a.
* G contribution: tan-1(w/a)
Relationship between b (closed loop bandwidth), wpm, wn, and for 2nd
order
w pm n 2 2 4 2 1
Good design criterion: i. High gain at low frequency (small ess) ii. wpm< wgm
(stable system iii. Slope at wpm approx. 20 dB/dec iv. Low gain @high
frequency (high noise reduction)
4. G(s) = s+a
G dB mirror wrt to 0dB and G mirror wrt to 0o
* G contribution: +tan-1(w/a)
dB
G
1/G