16S2 EE3011 Week1.Lecture2 V2.0
16S2 EE3011 Week1.Lecture2 V2.0
System Modelling
(Block Diagrams)
Prof Soh Yeng Chai
EE3011: Modelling and Control
Learning Objectives
At the end of the lecture, you should be able to:
Describe the representation of a linear system by a set of
differential equations, transfer functions or an
interconnected block diagram.
Derive closed-loop transfer function of a single-loop block
diagram, whether it is negative or positive feedback.
Analyse and simplify a multi-loop block diagram to produce
an overall closed-loop transfer function.
2
EE3011: Modelling and Control
Lecture Outline
I. Linear Systems
II. Differential Equations
III. Transfer Functions
IV. Block Diagrams
V. Multi-loop Block Diagrams
3
EE3011: Modelling and Control
Linear Systems
EE3011: Modelling and Control
Linear Systems
In order to solve a control system problem, the descriptions of the
system and its components must be put into a form suitable for
analysis and evaluation.
5
EE3011: Modelling and Control
Linear Systems
Our focus will be on linear systems. A system is linear if it obeys the
principle of superposition and homogeneity, i.e.,
If 𝑟1 𝑡 produces 𝑦1 𝑡
and 𝑟2 𝑡 produces 𝑦2 𝑡
𝑟 𝑡 = 𝑟𝑖 𝑡 𝑦 𝑡 = 𝑦𝑖 𝑡
Linear System
𝑟 𝑡 = 𝑟1 𝑡 + 𝑟2 𝑡 𝑦 𝑡 = 𝑦1 𝑡 + 𝑦2 𝑡
then, 𝑟1 𝑡 + 𝑟2 𝑡 produces 𝑦1 𝑡 + 𝑦2 𝑡
and 𝑎𝑟1 𝑡 + 𝑏𝑟2 𝑡 produces 𝑎𝑦1 𝑡 + 𝑏𝑦2 𝑡
6
EE3011: Modelling and Control
Differential Equations
EE3011: Modelling and Control
Differential Equations
The input/ output relationship for a linear system takes the form of a linear
differential equation.
r(t) y(t)
Linear System
Transfer Functions
EE3011: Modelling and Control
Transfer Functions
Taking Laplace transform of (1), assuming zero initial conditions, we obtain
n a s i Y ( s ) m b s i R( s )
i i
i 0 i 0
where Y(s) and R(s) are the Laplace transforms of y(t) and r(t).
Block Diagrams
EE3011: Modelling and Control
Block Diagrams
Block diagrams are used to give the functional representation of control
systems. Three main symbols are:
1. Summer or Comparator
R + E =R+Y R + E =R-Y
+ -
Y Y
3. Take-off Point
Y
R
Y 12
EE3011: Modelling and Control
Block Diagrams
Example: Parallel paths
+ Y(s)
G(s)
R(s) +
H(s) Y(s) = (G(s) + H(s)) R(s)
13
EE3011: Modelling and Control
Block Diagrams
Example: Feedback block
A feedback servomechanism (e.g., in the case of the elevator system) with negative
feedback is represented as:
H(s)
14
EE3011: Modelling and Control
Block Diagrams
Generalised Block Diagrams (single-input single-output systems)
R(s) + E(s) Y(s)
G(s)
-
B(s)
H(s)
Block Diagrams
Clearly,
Y 𝑠 =𝐺 𝑠 𝐸 𝑠
E 𝑒 =𝑅 𝑠 −𝐵 𝑠 =𝑅 𝑠 −𝐻 𝑠 𝑌 𝑠
Y 𝑠 =𝐺 𝑠 𝑅 𝑠 −𝐺 𝑠 𝐻 𝑠 𝑌 𝑠
⇒ 1+𝐺 𝑠 𝐻 𝑠 𝑌 𝑠 =𝐺 𝑠 𝑅 𝑠
𝑌 𝑠 𝐺 𝑠 𝐹𝑇𝐹
i.e., = 1+𝐺 = 1+𝑂𝐿𝑇𝐹
𝑅 𝑠 𝑠 𝐻 𝑠
16
EE3011: Modelling and Control
19
EE3011: Modelling and Control
R a Y R Y
G G
Z Z
H H G
R a Y R Y
G G
Z Z
H 1
H
𝐺
20
EE3011: Modelling and Control
R + Y R + Y
G G
- -
H G H
21
EE3011: Modelling and Control
Example: Find the overall transfer function for the following block
diagram:
G4
R + x + Y
+ G1 + G2 G3 +
- - -
H2
H1
22
EE3011: Modelling and Control
G2H1
23
EE3011: Modelling and Control
R + + 𝐺1 𝐺2 𝐺3 + 𝐺4 Y
1 + 𝐻2 𝐺2 𝐺3 + 𝐺4
- -
𝐺2 𝐻1
𝐺2 𝐺3 + 𝐺4
24
EE3011: Modelling and Control
Finally,
Y G1 (G2G3 G4 )
R 1 G1G2 H1 H 2 (G2G3 G4 ) G1 (G2G3 G4 )
25
EE3011: Modelling and Control
Then, e1 R Y
e2 e1 H1G2e3
e3 G1e2 H 2Y
Y (G4 G2G3 )e3
After eliminating e1 – e3, we will get the same transfer function. Try it.
(See Appendix 2.4)
26
EE3011: Modelling and Control
Summary
EE3011: Modelling and Control
Summary
The general input/ output relationship of a linear system is expressed as
n
di m
di
i 0
ai i y(t)
dt
i 0
bi i r(t)
dt
or in Laplace domain:
n i m i
ai
s Y ( s ) bi s R ( s )
i 0 i 0
The transfer function of the system defines the input/ output relation
and it is given by:
𝑚 𝑖
𝑌 𝑠 𝑖=𝑜 𝑏𝑖 𝑠
𝑇 𝑠 = = 𝑛 𝑎 𝑠𝑖
𝑅 𝑠 𝑖=0 𝑖
29
EE3011: Modelling and Control
Summary
Block diagrams are used to simplify the representation of complex
systems.
𝑌 𝑠 = 𝐺 𝑠 𝑅 𝑠 ∓𝐺 𝑠 𝐻 𝑠 𝑌 𝑠
𝑌(𝑠) 𝐺(𝑠) 𝐹𝑇𝐹
i.e., = =
𝑅(𝑠) 1 ± 𝐺 𝑠 𝐻(𝑠) 1 ± 𝑂𝐿𝑇𝐹
1 + G(s)H(s) = 0 is the characteristic equation of the system.
30
EE3011: Modelling and Control
Summary
If the block diagram contains several interacting loops, it can be
systematically simplified by block diagram algebra.
1. The product of the transfer functions in the loop forward path must
remain the same.
2. The product of the transfer functions around the loop must remain
the same.
One can also define some auxiliary variables and then perform algebraic
manipulations to obtain the transfer function.
31