Professional Documents
Culture Documents
Introduction To Control Systems: We Can Consider The Following Circuit at Different Levels
Introduction To Control Systems: We Can Consider The Following Circuit at Different Levels
u y
- inside the
IB IE
op-amp?
IC
1-2
In Control Engineering, we are not exactly interested in how things work inside
a system at the component level - not the transistor, not the op-amp, and not even
the circuit if we can avoid it. We are more interested in how the input signal u and
the output signal y are related in a functional manner at the system level.
We model this relationship as a transfer function, and if we plot its frequency
response, we will find that we can describe the function of the above circuit as a
low-pass filter. In other words, we are more interested in high-level analysis of
the system.
Gain (db)
d Phase (deg.)
frequency
u y
as 2 + bs + c
OUTPUT
Controller to adjust POWER TEMP
so as to maintain θ o at θo
desired θ i
POWER
CONTROLLER
e = θi − θ o
SET PT.
θi + -
1-4
2. Aircraft
OUTPUTS
ROLL RA
problem TE
ELEVATOR
AILERON
3. Feedback Amplifier
vi + Analyze as a
e -
vo
feedback system
Z2 Z1
e
vi +
- A vo
Z2
β =
Z1 + Z 2 β
1-5
In general, a control system consists of some outputs which
respond to some inputs in a well-defined manner.
Control Engineering is to do with how we may make use of the
inputs to drive the system so that the outputs behave in some
desired way. This requires:
MODELING - describe system by math. Model for the purpose
of design, simulation etc.
ANALYSIS - determine properties of system e.g. bandwidth,
stability, etc.
DESIGN - find controller to improve system performance
and to meet prescribed specifications
TIME FREQ
2 Approaches: DOMAIN DOMAIN
RELATED BY
LAPLACE TRANSFORM
1-6
Laplace Transforms
Definition: The Laplace transform of f(t) is
∞
F ( s ) = ∫ e − st f (t ) dt
0
−s
∞
0
1-7
2. Unit Impulse
As ε → 0, δ ε (t ) → δ (t ) δε(t)
1/ε
satisfying S
R δ (t ) = 0 outside [0, 0 ) +
T z δ (t ) dt = 1
0+
0
Area = 1
L[δ (t )] = z e δ (t ) dt = z e δ (t ) dt = 1
∞ − st 0+ − st
t
0 0
οε
3. Exponentials
L[e − at ] = z
∞ − st
e e − at dt = z
∞ − ( s + a )t
e dt = LM e OP
− ( s + a )t ∞
= 1
0 0
N − ( s + a) Q 0 s+a
ω
L[sin ωt] = 2 2
s +ω
1-8
1(t)
1 L[f(t)]=F(s)
s
δ(t)
L
1 f(t) & F(s) called a
1 . L-transform pair
e-at s+a (This mapping is usually
..... .... displayed in the form of a
Laplace Transform table.)
Properties of L-transf.
1. Linearity L[f(t)+g(t)] = L[f(t)]+ L[g(t)]
3. Time Derivative
d
L [ dt f(t)] = sF(s) – f(0)
2
Ex: Find L [ ddt 2 f(t)]
lim f (t ) = lim s F ( s )
t →∞ s→ 0
1-10
Inverse L-transform
L L[f(t)]=F(s)
TIME FREQ Want:
DOMAIN DOMAIN −1
−1 L [F(s)]=f(t)
L
−1
L can be defined as:
−1 σ + j∞
L [F(s)] = 2π1 j ∫σ − j∞ e st F ( s )ds
−1
A simpler way of taking L :
1. Decompose F(s) by partial fractions into standard forms.
2. Look up L-transform table.
Exercises:
F1 ( s ) = s 2
−1
Find L of (a)
+3
(b) F2 ( s ) = 2 s + 5
s +4s+3
(c) F3 ( s ) = 2 1
s + 2s + 5
1-11
-j
Pole-zero diagram
1-12
Bounded Signals
A signal f(t) is said to be bounded f(t) is unbounded if it is not
∞) s.t. f (t ) ≤ M
if ∃ M (<∞ ∀t bounded.
f(t)
f(t)
t
t
unbounded
bounded
e
-at Imag at
e
1
F (s) = s+a 1
F(s)= s F ( s ) = s −1 a
Real
ω ω
F (s ) = F (s) = ω F (s ) =
2
( s + a ) +ω
2 ( s − a )2 + ω 2
s +ω 2
2
1-14
Observation: OLHP = Open LHP (excl. j ω-axis)
The real part of the pole(s) of F(s) corresponds to the index of the
exponential envelope for f(t):
a>0 Real part = -a : F(s) has pole(s) in OLHP ⇔ f(t) has decaying envelope
Real part = 0 : F(s) has pole(s) on jωω-axis ⇔ f(t) has tube envelope
Real part = a : F(s) has pole(s) in ORHP ⇔ f(t) has exp. inc. envelope
Imag
BOUNDED UNBOUNDED
SIGNALS SIGNALS
have poles have poles in
in this Re this region
region only!
Theorem
bm s m + L + bo
If L[f(t)] = F(s) = n (n > m)
s + an −1s n −1 + L + ao
has poles in the LHP only (poles, if any, on the jω ω-axis are of multiplicity 1)
then f(t) is bounded. Further, if all poles lie in OLHP, then lim f (t ) = 0 .
t →∞
1-15
SYSTEM MODELLING
Math. Models are needed as a basis for analysis, design & simulation.
Models can be:
TIME-DOMAIN FREQ-DOMAIN
MODELS MODELS
L Transfer Functions
D.E.s ( TF)
Examples
(1) Heated Water Tank (HWT)
OUTPUT
Want to model TEMP.
o
relationship of C
the system (above ambient)
between input u INPUT:
and output θ : u watts
Rate of
Heat Loss = k J/sec
1-16
1-17
(2) Mass-Spring-Dashpot System
k x
m u
b
1-18
1
X(s) m
= (6)
U( s ) s2 + b s + k
m m
1-19
(3) Electromechanical System - Loudspeaker
As cone moves back & forth, fluctuations of air pressure
propagate away from cone as sound. Let M be the mass of the
cone and b be the coefficient of viscous damping (due to air
resistance).
Electromechanical force:
F = B l i = ai (where a = B l ) (7)
Current Coil soft
Length of coil wire suspension
Magnetic field strength S
N Force = F
Mechanical motion:
S Cone
MAGNET
Electrical circuit:
spring
coeff. k
i R
To relate v to x:
v L Force = F
x = cone position
1-20
X(s) a
=
V(s) LM s 3 + ( RM + Lb ) s 2 + ( Rb + Lk ) s + Rk
1-21
(4) DC Motors
Used in control systems as torque transducers to convert Principle:
electrical energy into mechanical energy.
Moving Coil (Servo) Motor:
Hollow cup-shaped
non-magnetic
Armature Force F
material e.g. Armature Conductors Current
fibre glass Cond. Array I
N N Magnetic Field:
Flux density =
Conductor carrying current I in field
Core S S produces a force F µ Φ I.
Side view Cross-section If conductor moves with velocity v,
back emf e µ Φ v.
Characteristics:
• low moment of inertia
• low armature inductance
• used for high performance position control
Equivalent Circuit
I R
T
T
V DC
Motor e
Load
Load
1-22
For simplicity, neglect L (small for moving-coil motor):
Back emf, e = K bω Torque-Speed Characteristics
(for constant V)
V = IR + e = IR + Kbω
Torque T
Ki KK
Torque, T = Ki I = V − i b ω
R R
To relate input V to output ω :
Let J = moment of inertia, Speed
b = coeff. of viscous friction
Law of motion: T = Jω& + bω
1-23
d ny d n − 1y m m −1
n
+ an − 1 n −1
+ L + ao y = bm d mu + bm − 1 d m −u1 + L + bo u (n >m) (11)
dt dt dt dt
Taking L-transform with zero I.C.s:
s nY ( s ) + an − 1s n −1Y ( s ) + L + aoY ( s ) = bm s mU ( s ) + L + bo U ( s )
Y (s) bm s m + bm − 1s m − 1 + L + bo
= = G( s ) (12)
U(s) s n + an −1s n − 1 + L + ao
order of system = n TF relating Y to U
Block diagram:
TF is a "Black Box"
N.B. L-transf used for 2 different purposes:
Representation • to represent signals → U(s), Y(s)
U(s) G(s) Y(s) • to represent a system → G(s)
1-24
Impulse Response
u(t) = (t) SYSTEM y(t) IMPULSE
RESPONSE
G(s)
t t
For impulse i/p, U(s) = 1 :
∴ Y ( s ) = G( s ) U ( s ) = G( s )
Impulse Response: y(t) = L −1[G(s)] = g(t)
The Impulse Response is given by the inverse L-transform of the TF.
N.B. y(t) (& ∴ g(t)) = 0 for t < 0 because the system reacts only after the impulsive
i/p (at t = 0) has occurred. This property is called causality.
Example
Find the impulse response of the mass-spring system.
x
k u
m
1-25
SYSTEM RESPONSE BY CONVOLUTION (t)
Let the impulse function δ(t) be approximated by
1∆ 0≤t ≤∆
δ ∆ (t ) = t
0 otherwise
G(s)
t t
o/p response due to: δ ∆τ (t ) is g(t)
δ ∆ τ (t − k∆ τ ) is g (t - k∆τ )
u(t) is y(t) =
1-26
Let ∆ τ →0 and write τ = k ∆ τ , dτ = ∆ τ :
∞
y(t) = ∫ u (τ ) g (t − τ ) dτ (15)
−∞
= g(t)∗
∗u(t) Convolution (16)
∞
Since g(t) = 0 for t < 0, (16) becomes: y(t) = ∫ g (τ ) u (t − τ ) dτ
0
t
Further, if u(t) = 0 for t < 0, then y(t) = ∫ g (τ ) u (t − τ ) dτ (17)
0
FREQ
DOMAIN U(s) Y(s)
1-27
STABILITY
Definition
A system is said to be Bounded-Input-Bounded-Output (BIBO) stable if
for any bounded input, the output response is also bounded. A system
is unstable if it is not BIBO stable.
u(t) UNSTABLE
y(t) RESPONSE
SYSTEM
t t
STABLE
RESPONSE
1-28
Routh’s Stability Test
Given n( s )
G( s ) =
d(s)
where
d ( s ) = ao s n + a1s n − 1 + L + an − 1s + an (21)
Routh’s stability test can be used to determine if d(s) has all its roots in
OLHP, without actually solving for the roots.
Routh’s Array:
1st i th (i+1)
n
s ao a2 a4 a6 … ↓ ↓ ↓
From d(s) n -1
s a1 a3 a5 a7 … w … ∗ x
s n -2
b1 b2 b3 … consecutive y … ∗ z
3rd and
rows ∗ ∆ ∗
subsequent sn -3 c1 c2 c3 …
rows are −1 w x
computed … … ∆ = (22)
by rule (22): y y z
o
s q1
1-29
Hence, d(s) has all its poles in the OLHP iff there is no sign change in
the 1st column of the Routh’s array.
Example
n(s )
A second order system has TF G(s ) = 2
.
as + bs + c
Find conditions on a, b, c for G(s) to be stable.
Soln:
1-30
Example
n(s )
Let G (s ) = 3 2
.
s + 2s + 4 s + K
(a) Find the poles of G(s) if K = 21. How many unstable poles are there?
(b) Find the range of K for which G(s) is stable.
Soln:
1-31
G( s ) = k
sT + 1
Re
Time constant = T -1
dc gain = G(0) = k
Step Response:
y(t) Slope = k/T
Y(s) = G(s)U(s)
k
k 1 1
= × = k 1 −
sT + 1 s s s+1
T 63.2%
−1 − t/T
L : y(t) = k(1−
−e ) t
0 T
initial slope: ⇒ y& ( 0) = k T
y& (t ) = Tk e
− t /T
N.B. Smaller time constant (pole further away from j ω-axis) ⇒ Faster response.
1-32
If ζ<1
−1 s + 2 ζ ωn
y(t) = 1 − L 2 2 2
( s + ζω n ) + (1 − ζ ) ω n
( ζω
= 1 − e −ζω n t cos ωd t + ωdn e −ζω n t sin ω d t )
− ζω t
= 1− e − ζω n sin(ω d t + θ )
1− ζ 2
Underdamped response (ζ < 1): oscillatory with overshoot
Critically damped response (ζ = 1): no overshoot
t
Overdamped response (ζ > 1): slow with no overshoot
(see page 1-37 for step
responses for a range of ζ )
1-34
Example (step response of mass-spring-dashpot) k x
X (s ) 1
m
= 2 m
u
U (s ) s + b
s + mk
m b
Comparing with (24): ωn = m
k
ζ = b ⇒ damping µ friction
2 km
For a step change in input force u :
if ζ < 1 (less friction), m oscillates before settling down to new equilibrium position;
if ζ > 1 (more friction), m moves slowly to equilibrium position without overshoot.
Terminology:
For underdamped response + 5%
H
Tr = rise time (at 100% of final value)
Tp = peak time (at 1st peak)
H = max overshoot (from final value, usually in %)
Td = period of damped oscillation (at 1st undershoot) t
Ts = settling time (to settle within ±5% of final value)
r p d s
For overdamped response
90%
Rise time = time to rise from 10% to 90% 10%
t
Tr
1-35
− ζω n t
Consider the underdamped response: y (t ) = 1 − e sin(ω d t + θ ) (27)
2
1− ζ
Rise Time: Tr =
π −θ = π −θ (28)
ωd ωn 1− ζ
2
π
Peak Time: Tp = ωd (29)
− ζπ 1− ζ 2
Max. Overshoot: H = y (Tp ) − 1 = e − ζπ (31)
1-36
Approx. Ts by time for envelope to decay to 5%:
− ζω Ts
e − ζω n
= 0.05
1− ζ 2
t
Settling Time: Ts ≅
(
− ln 0.05 1 − ζ 2 ) (32)
ζ ωn
Example
Identify the parameters
y(t)
u(t) 0.9
k, ζ and ω n of the 2nd kω n
2
1 3
order system from its
s + 2ζω n s + ω n
2 2
t
step response.
t
Soln:
1-37
Step Response of a Second-order System
2
ωn
G( s ) = 2 2
s + 2ζω n s + ω n
where
ωn = undamped natural frequency
ζ = damping ratio
y(t)
nt
1-38
−1 Pole diagram
θ = cos ζ
= ωπ
80
Peak time, Tp
Percent overshoot (%)
d 70
60
Settling time, − ln ( 0.05 1− ζ )
2
Ts = 50
(5% criterion) ζ ωn 40
2 30
− ζπ 1− ζ
Maximum overshoot, H =e 20
10
0
0 0.2 0.4 0.6 0.8 1
Damping ratio