ME7732 Lecture 1 - Basics of Control Engineering - BA
ME7732 Lecture 1 - Basics of Control Engineering - BA
• Introduc?on
• System Modelling & Linearisa?on
• First and Second Order Systems
• System Stability
Why Study Control?
Control Applica?ons are numerous
SYSTEM
Actuators Sensors
Plant
Design
Specifications
Modelling
Analysis and
DESIGN
Simulation
Implementation
Basic Terms & Concepts
System : A combina?on of components ac?ng together to perform a
specific objec?ve
Control System – An interconnec?on of components forming a system
configura?on that will provide a desired response.
Modeling : A procedure to obtain a model describing important
characteris?cs of system
Analysis : Inves?ga?on of performance of system, whose model is known,
under specified condi?ons
Examples of Modern Control Systems
Control System Types
1. Open Loop Control System
Lawn Sprinkler
Closed Loop/Feedback Control System
• In closed loop control system the output is measured
con?nuously and is fed back to the input.
• The presence of feedback compensates for the disturbance
and improves the accuracy of the system.
Time-invariant System
• The features of system never ever change.
• Usually a good approxima?on for most engineering applica?on.
• A good star?ng point to obtain main features of system.
• Rela?vely easy to analyze
Linear System
• Equa?ons describing system are linear
• Principle of superposi?on
- For a linear system with excita?on [x1(t) and x2(t) ] and a response [y1(t) and y2(t)]
- x1(t)+ x2(t) = y1(t) + y2(t) this is called the property of superposi+on
• Property of Homogeneity
- If x is input and y is output then β x = β y where β is constant.
Quiz
1. What is a Control System?
2. What is the difference between open-loop and closed-loop control
system?
3. What is the purpose of Controller in control system?
4. What does Actuator do?
5. What is Plant/Process in a control system block diagram?
6. Which block measures the output to feed back?
7. What is a linear system?
Inverted Pendulum
hkps://www.youtube.com/watch?v=XWhGjxdug0o
0:40 – 2:00
18
System Modelling
Modelling
Deriving differen?al equa?ons for systems
• Physical mathema?cal modelling is the process of analysing
a physical system to determine equa?ons which represent
its behaviour.
• Ordinary differen?al equa?ons (ODEs) are used to represent
dynamic (i.e. ?me-varying) behaviour.
• The process begins with deciding what is the system input,
and what is the output
20
System Equa?ons
21
Transfer func?on
X(s) Y(s)
G(s) Y(s)=G(s).X(s)
22
Laplace Transforms
Laplace Transform Table
24
System Modelling Using Laplace Transform
y
y
y F
F F
Viscous Force F = bv Newton’s law F = ma
Hooke’s law F = ky
dy d2y
F = ky F = b = by! F = m 2 = m!!
y
dt dt
F(s) = kY (s) F(s) = bsY (s) F(s) = ms 2Y (s)
System Modelling Using Laplace Transform
y(t)
K
f (t)
M
B
F = ma
Ky(t)
f (t) M!!
y(t)
By! (t)
−Ky(t) − By! (t) + f (t) = M!!
y(t)
System Modelling Using Laplace Transform
f (t) = M!!
y(t) + Ky(t) + By! (t)
Apply Laplace
F(s) = ( Ms 2 + Bs + K ) Y (s)
Y (s) 1
= 2
F(s) Ms + Bs + K
Example
Y (s) 1
=
Fi ( s ) Ms 2 + Bs + K
1 a b c 1
a=
Y (s) = = − + 14
s(s + 2)(s + 7) s (s + 2) (s + 7) 1
b=−
10
1 1 1 1
Y (s) = = − + c=
1
s(s + 2)(s + 7) 14s 10(s + 2) 35(s + 7) 35
1 1 1
y (t ) = − e −2 t + e −7t
14 10 35 Par?al Frac?on Calculator
hkps://www.wolframalpha.com/
widgets/view.jsp?
id=ec4a062bb304f88c2ba0b631
d7acabbc
So in Summary
y! (t ) + 2 y (t ) = f (t )
Taking the Laplace Transform
o Integral ⎡ ∞ ⎤ F(s)
L ⎢ ∫ f (t)dt ⎥ =
⎣ 0 ⎦ s
33
Linearisa?on of dynamic equa?ons-Exp 1
• K = System gain
• τ
= Time constant
Step Response - First
Order System
1
T2 (s) =
(τ s +1)
⎛ 1 ⎞ a
τ
T2 (s) = ⎜ ⎟=
⎝s+ τ ⎠ s+a
1
t
1 τ⎤
⎡ −
T2 (t ) = ⎢e ⎥
τ⎣ ⎦
41
Step Response for different values of
Time Constant “ τ ”
Step Response
From: U(1)
1
K
0.9
G (s) = 0.8
τ =3
(τs + 1) 0.7
Amplitude
0.6
τ =1
τ = 0. 5
To: Y(1)
0.5
= 0. 2
0.4
τ
0.3
Increasing τ 0.2
increases ?me to
0.1
achieve steady
state (ss) 0
0 1 2 3 4 5 6 7 8 9 10
Time (sec.)
K
G (s) =
1.8
(τs + 1) 1.6
1.4
1.2
K =2
Amplitude
To: Y(1)
1
K = 1 .5 0.8
0.6
K = 1 .2 0.4
K =1 0.2
0
0 1 2 3 4 5 6 7 8 9 10
Increasing K Time (sec.)
increases SS value
τ is consant, K varying, Unit step input
Input u(t)
Y(s) =
y(t) =
Step Response
y(t)
ωnt
Underdamped System
52
Second-order System : Damping Coefficient ζ
53
Second-order System : Damping Coefficient ζ
Undamped System
V”
54
Performance of a Second-order System
56
Performance of a Second-order System
57
Performance of a Second-order System
4 π
Ts = 4τ = Tp =
ζω n ωn 1 − ζ 2
−ζπ / 1−ζ 2 −ζπ / 1−ζ 2
M pt = 1+ e M pt % = 100e
58
Example – In Matlab T ( s) =
25
( s 2 + 3s + 25)
59
Pole – Zero and System Stability
Poles and Zeros
Zeros
Poles
Stability
65
Real Poles
Im
X X X X
Impulse − at Re
Response: Ke X
-3
X
-1 0
X X
+1
Time (s)
Complex Poles
s1,2 = −σ ∓ jω d
s1,2 = −ζω n ∓ jω n 1− ζ 2
Complex Poles
Im
X X X X
Impulse Re
X X X X
Response: -3 -1 0 +1
68
leo half right half
Pole Posi?ons v Time Response
70
Performance Specifica?ons
1.4
Step Response
Overshoot
tP
1.2
MP
1
90%
0.8
Amplitude
98%
Sekling Time
Rise Time
Natural Frequency (ωn) and Damping ra?o (ξ)
s = −4 ± 3 j
a b
tan ϕ = b/a
ωn
b
ϕ
a
ωn2
Frequency Domain Performance
10
Resonance
Peak
5
1
M M=
0
2ζ 1 − ζ 2
dB amplitude
-3
-5
Resonance ζ = 0 .3
Frequency
-10
Bandwidth
ωr =-15ωn 1 − 2ζ 2
ω r ωn ω b
-20
-1 0 1
10 10 10
frequency
System Zeros
• e.g.:
System Zeros
K ss = G ( s )
s →0
Example: ( s + 3)
G (s) =
( s + 4)( s + 5)
(0 + 3) 3
K ss = G ( s ) = = = 0.15
s →0 (0 + 4)(0 + 5) 20
References
79