Professional Documents
Culture Documents
16S2 EE3011 Week2.lecture3 V2.0
16S2 EE3011 Week2.lecture3 V2.0
System Modelling
(Modelling of Physical Systems)
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, where each of the differential equation represents a sub-
system of the overall system.
Apply the fundamental Kirchhoff’s law, Newton’s law, law of motor
and law of generator to derive the differential equations which
describe an electromechanical system.
Apply Laplace transform to each differential equation and then
express the output of this sub-system as a product of the transfer
function and the input of the sub-system.
Interconnect the incomplete block diagrams to form the overall
block diagram representation of the overall system.
2
EE3011: Modelling and Control
Lecture Outline
I. Electrical Systems
• Series RLC Circuit
• Parallel RLC Circuits
3
EE3011: Modelling and Control
Electrical Systems
EE3011: Modelling and Control
Electrical Systems
Resistors, inductors and capacitors are the 3 basic electrical elements. The
electrical circuits are analyzed by the application of Kirchhoff’s voltage
and current laws.
e C vo
i
If we define the voltage e as the input, and the charge q (= 𝑖𝑑𝑡 ) across
the capacitor as the output, then the system is described by:
d 2q dq q
L 2 R e (1)
dt dt C
5
EE3011: Modelling and Control
Electrical Systems
Equation (1) is a 2nd-order ODE. Applying Laplace transform, with zero
initial conditions, we get:
( s 2 L sR C1 )Q( s ) E ( s )
Or
1
𝑄 𝑠 = 𝐸 𝑠
1
𝑠 2𝐿 + 𝑠𝑅 + 𝑐
Q(s) 1 Q(s )
1
𝑠 2 𝐿 + 𝑠𝑅 +
𝑐
6
EE3011: Modelling and Control
7
EE3011: Modelling and Control
Electrical Systems
i
e R L C vo
For a parallel RLC circuit, let i be the input and the magnetic flux in the
inductor𝜙 = 𝑣𝑑𝑡 be the output, then the 2nd order ODE is given by:
𝑑2 𝜙 1 𝑑𝜙 𝜙
𝑐 + 𝑅 𝑑𝑡 + =𝑖 (2)
𝑑𝑡 2 𝐿
1 1
In s-domain, we have 𝑠 2 𝐶 + 𝑠 + 𝜙 𝑠 =𝐼 𝑠
𝑅 𝐿
1 1 (s)
⟹𝜙 𝑠 = 𝐼 𝑠 1 1
1 1 𝑠2𝐶 + 𝑠 +
𝑠2𝐶 + 𝑠 + 𝑅 𝑐
𝑅 𝐿
8
EE3011: Modelling and Control
9
EE3011: Modelling and Control
Electrical Systems
Example: Derive a block diagram representation of the electric circuit
given below and obtain the transfer function Vo(s)/Vi(s).
R1 L1 R2 L2
vi i1 C1 u i2 C2 vo
10
EE3011: Modelling and Control
Electrical Systems
Using KVL and KCL, we have:
KVL1: 𝐼1 𝑠 𝑅1 + 𝑠𝐿1 = 𝑉1 𝑠 − 𝑈 𝑠
1
⟹ 𝐼1 𝑠 = 𝑉𝑖 𝑠 − 𝑈 𝑠
𝑅1 +𝑠𝐿1
KCL1: 𝑠𝐶1 𝑈 𝑠 = 𝐼1 𝑠 − 𝐼2 𝑠
1
⟹𝑈 𝑠 = 𝐼1 𝑠 − 𝐼2 𝑠
𝑠𝐶1
KVL2: 𝐼2 𝑠 𝑅2 + 𝑠𝐿2 = 𝑈 𝑠 − 𝑉𝑜 𝑠
1
⟹ 𝐼2 𝑠 = 𝑈 𝑠 − 𝑉𝑜 𝑠
𝑅2 +𝑠𝐿2
1
Ohm’s law: 𝑉0 𝑠 = 𝐼 𝑠
𝑠𝐶2 2
11
EE3011: Modelling and Control
Electrical Systems
Thus, a block diagram representation is:
Vi(s) + 1 +
- 1 U(s) + 1 1
Vo(s)
𝑠𝐿1 + 𝑅1 I (s) 𝑠𝐶1 𝑠𝐿2 + 𝑅2 I2(s) 𝑠𝐶2
- 1 -
𝑠𝐶2
+ -
Vi(s) + 1 U(s) 1 Vo(s)
1
- 𝑠𝐿1 + 𝑅1 I1(s) 𝑠𝐶1 𝑠𝐶2 𝑠𝐿2 + 𝑅2 + 1
12
EE3011: Modelling and Control
Electrical Systems
𝑠𝐶2
- U(s)
Vi(s) + + Vo(s)
1 1 1
- 𝑠𝐿1 + 𝑅1 I1(s) 𝑠𝐶1 𝑠𝐶2 𝑠𝐿2 + 𝑅2 + 1
𝑠𝐶2 𝑠𝐿2 + 𝑅2 + 1
Vi(s) + 1 1 Vo(s)
𝑠𝐿1 + 𝑅1 2
𝑠 𝐶1 𝐶2 𝑠𝐿2 + 𝑅2 + 𝑠 𝐶1 + 𝐶2
-
𝑠𝐶2 𝑠𝐿2 + 𝑅2 + 1
Thus,
𝑉0 𝑠 1
=
𝑉𝑖 𝑠 𝑠𝐿1 + 𝑅1 𝑠 2 𝐶1 𝐶2 𝑠𝐿2 + 𝑅2 + 𝑠 𝐶1 + 𝐶2 + 𝑠𝐶2 𝑠𝐿2 + 𝑅2 + 1
13
EE3011: Modelling and Control
Mechanical and
Electromechanical Systems (Part I)
EE3011: Modelling and Control
B K
M x(t)
F( t )
15
EE3011: Modelling and Control
𝑑𝑥
𝐵 Kx
𝑑𝑡
M x(t)
F(t)
d 2x dx
Applying Newton’s law, the equation of motion is given by: M 2
B Kx F
dt dt
1 𝐹 𝑠 𝑋 𝑠
i.e., 𝑋 𝑠 = 𝐹 𝑠 1
𝑠 2 𝑀+𝑠𝐵+𝐾
𝑠 2 𝑀 + 𝑠𝐵 + 𝐾
16
EE3011: Modelling and Control
Translational Systems
In an electromechanical system, electric current or voltage will be used
to effect the actuation of the system to produce the motion.
𝐹 = 𝐵𝜙 𝑙𝑖 newtons
The force F will then produce a motion. The equation is the basis of
conversion of electric energy to mechanical work and is called the
law of motors.
17
EE3011: Modelling and Control
Translational Systems
1. The effect of electric current on the mechanical motion:
Cone Cone
S
Electromagnet
N Bobbin
Permanent magnet
Translational Systems
1. The effect of electric current on the mechanical motion:
In s-domain, we have
1
𝑠 2 𝑀 + 𝑠𝐵 𝑋 𝑠 = 𝐹 𝑠 ⟹ 𝑋 𝑠 = 𝐹 𝑠
𝑠 2 𝑀+𝑠𝐵
and
𝐹 𝑠 = 𝐵∅ 𝑙 𝐼 𝑠
I(s) 𝐹 𝑠 1 𝑋 𝑠 𝑋 𝑠 𝐵∅ 𝑙
𝐵∅ 𝑙 =
2
𝑠 𝑀 + 𝑠𝐵 𝐼 𝑠 𝑠 𝑠𝑀 + 𝐵
19
EE3011: Modelling and Control
Translational Systems
2. The effect of mechanical motion on electric voltage:
If a conductor of length 𝑙 meters is moving in a magnetic field of B
tesla at a velocity of 𝑣 m/s at mutually right angles, a back emf
(which opposes the motion) is established across the conductor:
𝑒 = 𝐵𝜙 𝑙𝑣 Volts
20
EE3011: Modelling and Control
Translational Systems
The effect of mechanical motion on electric voltage:
𝐿 𝑥
𝑣𝑎
𝑒𝑐𝑜𝑖𝑙
21
EE3011: Modelling and Control
Translational Systems
As before, the motion equation is given by:
𝑀𝑥 + 𝐵𝑥 = 𝐹 (E1)
with
𝐹 = 𝐵𝜙 𝑙𝑖 (E2)
The motion with velocity 𝑥 results in a voltage across the coil given by:
𝑒𝑐𝑜𝑖𝑙 = 𝐵𝜙 𝑙𝑥 (E3)
𝐹 𝑠 = 𝐵𝜙 𝑙 𝐼 𝑠
𝐸𝑐𝑜𝑖𝑙 𝑠 = 𝑠𝐵𝜙 𝑙 𝑋 𝑠
1
𝑠𝐿 + 𝑅 𝐼 𝑠 = 𝑉𝑎 𝑠 − 𝐸𝑐𝑜𝑖𝑙 𝑠 ⟹ 𝐼 𝑠 = 𝑉 𝑠 − 𝐸𝑐𝑜𝑖𝑙 𝑠
𝑠𝐿 + 𝑅 𝑎
22
EE3011: Modelling and Control
Translational Systems
Each of the equation represents a sub-system. The required block diagram
representation of the system can be obtained by interconnecting these
subsystems appropriately (see Appendix 3.4).
The block diagram representation of the system is given by:
Va(s) + 1
I(s)
B l
F(s)
1
X(s)
𝑠𝐿 + 𝑅 2
𝑠 𝑀 + 𝑠𝐵
- Ecoil(s)
sB l
So, the transfer function between the applied voltage and the loudspeaker
displacement is:
𝑋 𝑠 𝐵𝜙 𝑙
= 2
𝑉𝑎 𝑠 𝑠 𝑀𝑠 + 𝐵 𝐿𝑠 + 𝑅 + 𝐵𝜙 𝑙
23
EE3011: Modelling and Control
Summary
EE3011: Modelling and Control
Summary
1. Modelling of Physical Systems
RL electrical circuit: L di Ri e eb
dt
d 2x dx
Translational mechanical system: M 2 B Kx F
dt dt
Electromechanical systems: Additional coupling between electrical and
mechanical systems:
where F, i, e, eb, and 𝑥 are force, current, voltage, induced voltage, and
velocity, respectively.
25
EE3011: Modelling and Control
Summary
2. Block Diagram Representation
We can use Laplace transform to transform the equations into s-domain. Each
equation represents a subsystem.
I(s) F(s)
E(s) + 1 a1 1 𝑋 𝑠
𝑠𝐿 + 𝑅 2
𝑠 𝑀 + 𝑠𝐵 + 𝐾
-
Eb a2s
26