Professional Documents
Culture Documents
in Frequency Domain
Ts. Dr. Herman Wahid
Control & Mechatronics Engineering Department (CMED)
Faculty of Electrical Engineering
Universiti Teknologi Malaysia
81310 UTM Johor, Malaysia
State-space
equation
Dr. Herman SEEE 3133 Innovating Solutions 3
2.1
Introduction to
Laplace Transform and
Transfer Function
Dr. Herman SEEE 3133 Innovating Solutions 4
The Need for a Mathematical Model
n!
s n +1
syms t;
f=t*exp(-5*t);
laplace(f)
• Recall:
denominator
• 3 situations:
i. Roots of D(s) are real & distinct, e.g.
• Solution:
syms s;
1. g=32/(s*(s^2+12*s+32));
ilaplace(g)
2
F ( s) =
2. ( s + 1)( s + 2) 2
3
F (s) =
3. s ( s 2 + 2 s + 5)
• Definition:
G(s) = s2 + 4s + 3 order
------------------------
s5 + 8s4 + 20s3 +16s2
Zeros (-1, -3)
= (s+1)(s+3)
------------------------
( s2)(s + 2)2(s+4)
real-axis
S-plane
Dr. Herman SEEE 3133 Innovating Solutions 20
Transfer Function (continued)
Example:
G(s) = (s+1)(s+3)
------------------------ Poles = 0,0,-2,-2,-4
( s2)(s + 2)2(s+4)
Hence, STABLE
G(s) = (s+1)(s+3)
------------------------ Poles =0,0,2,2,-4
( s2)(s - 2)2(s+4)
Hence, UNSTABLE
• Ohm’s Law
• Kirchoff’s Voltage Law
• Kirchoff’s Current Law
• Mesh & Nodal Analysis
input output
d 2 q(t ) dq(t ) 1
L 2 +R + q(t ) = v(t )
dt dt c
From table q(t ) = Cvc (t )
d 2 vc (t ) dvc (t )
TRANSFER FUNCTION LC 2
+ RC + vc (t ) = v(t )
dt dt
Laplace transform
VC ( s )
=
1 (LCs 2
)
+ RCs + 1 Vc ( s ) = V ( s )
V ( s ) LCs 2 + RCs + 1
27
Dr. Herman SEEE 3133 Innovating Solutions
2. Solving in Laplace domain
VR ( s ), VL ( s ), VC ( s ) = ?
1
KVL: RI ( s ) + LsI ( s ) + I (s) = V (s)
Cs
I (s) VC ( s )
=? =?
V (s) V (s)
Dr. Herman SEEE 3133 Innovating Solutions 28
Example 6: Multiple-loop network
𝑉𝑉 𝑠𝑠 𝐿𝐿𝐿𝐿
𝐼𝐼2 𝑠𝑠 =
1 2
𝐿𝐿𝐿𝐿 + 𝑅𝑅1 𝐿𝐿𝐿𝐿 + 𝑅𝑅2 + + 𝐿𝐿𝐿𝐿
𝐶𝐶𝐶𝐶
𝑉𝑉𝑐𝑐 𝑠𝑠 𝐿𝐿𝐿𝐿
=
𝑉𝑉(𝑠𝑠) 𝐿𝐿𝐿𝐿 𝑅𝑅1 + 𝑅𝑅2 𝑠𝑠 2 + 𝐿𝐿 + 𝑅𝑅1 𝑅𝑅2 𝐶𝐶 𝑠𝑠 + 𝑅𝑅1
Vo ( s ) RCs
=
vi (t ) R v o (t ) Vi ( s ) RCs + 1
R1
3
L2
2 R1 vi (t ) v o (t )
C2
R2 R2
vi (t ) v o (t )
L2 s + 1
Vo ( s )
= R 2
Vi ( s) L2 L R +R
Vo ( s )
=
R2 Cs + 1 R1C 2 s 2 + 2 + R1C 2 s + 1 2
Vi ( s ) ( R1 + R2 )Cs + 1 R2 R2 R2
Dr. Herman SEEE 3133 Innovating Solutions 32
Generic equations – Electrical System
Sum of
Sum of impedances Sum of applied
impedances I1(s) - common to = voltage around
around Mesh I2(s) Mesh 1 and Mesh 1
1 Mesh 2
Sum of
Sum of
impedances Sum of applied
impedances
- common to I1(s) + I2(s) = voltage around
around
Mesh 1 and Mesh 2
Mesh 2
mesh 2
Differential
d 2 x(t ) dx(t )
M 2
+ f v + Kx(t ) = f (t ) equation of
dt d (t ) motion
In Laplace form:
Ms 2 X ( s ) + f v sX ( s ) + KX ( s ) = F ( s ) Laplace
equation of
motion
+
Sum of applied force at x1
Sum Sum
impedances impedances
connected to connected
motion x1 between x1
and x2
[M s
1
2
]
+ ( f v1 + f v 3 ) s + ( K 1 + K 2 ) X 1 ( s ) − [ f v 3 s + K 2 ]X 2 ( s ) = F ( s )
Dr. Herman SEEE 3133 Innovating Solutions
Force on M2 44
due
Force on M2 due only only to motion of
to motion of M2 at x2 M1 at x1
+
Sum of applied force at x 2
Sum Sum
impedances impedances
connected connected to
between x1 motion x2
and x2
[ ]
− [ f v 3 s + K 2 ]X 1 ( s ) + M 2 s 2 + ( f v 2 + f v 3 ) s + ( K 2 + K 3 ) X 2 ( s ) = 0
Dr. Herman SEEE 3133 Innovating Solutions
• From (1) and (2) of total forces acting on M1 and M2, we obtain the
transfer function
X 2 ( s ) ( fV 3 s + K 2 )
G ( s) = =
F ( s) ∆
where
[ M 1s 2 + ( fV 1 + fV 3 ) s + ( K1 + K 2 )] − ( fV 3 s + K 2 )
∆=
− ( fV 3 s + K 2 ) [ M 2 s 2 + ( fV 2 + fV 3 ) s + ( K 2 + K 3 )]
Sum of
impedances Sum of Sum of
connected to X1(s) - impedances X2(s) = applied
the motion at between x1 forces at
x1 and x2 x1
Sum of
Sum of Sum of
impedances
impedances applied
- X1(s) + connected to X2(s) =
between x1 forces at
the motion at
and x2 x2
x2
X 2 (s)
2. Find the transfer functionF (s)
G ( s ) = [Hint: Place
a zero mass at x1]
1
Differential equation:
Use LT table:
Physical system
d 2θ 1 dθ 1
J1 2
+ D1 + K (θ 1 − θ 2 ) = T (t ) (1)
dt dt
d 2θ 2 dθ 2 (2)
J2 2
+ D2 + K (θ 2 − θ 1 ) = 0
dt dt
Dr. Herman SEEE 3133 Innovating Solutions 51
Torques on J1 if J2 held still Torques on J1 when J2 is in motion
Equation of motion
Final free
body diagram
for J2
Equation of motion
− Kθ1 ( s ) + ( J 2 s 2 + D2 s + K) θ 2 ( s ) = 0
Dr. Herman SEEE 3133 Innovating Solutions 53
• Equations of motions:
( J 1s 2 + D1s + K )θ1 ( s ) − Kθ 2 ( s ) = T ( s )
− Kθ1 ( s ) + ( J 2 s 2 + D2 s + K )θ 2 ( s ) = 0
T(s) K θ 2 (s)
∆
Dr. Herman SEEE 3133 Innovating Solutions 54
Generic equations – Rotational system
Sum of
Sum of Sum of
impedances
impedances applied
connected to -
between θ1
θ2 (s) =
θ1 (s)
the motion at torques at
and θ2 θ1
θ1
Sum of
Sum of Sum of
impedances
impedances applied
connected to
- between θ1 θ1 (s) + the motion at
θ2(s) torques at
= θ2
and θ2 θ2
T1θ1 = T2θ 2 T2 θ1 N
= = 2
T1 θ 2 N1 59
Dr. Herman SEEE 3133 Innovating Solutions
θ 2 N1
=
θ1 N 2
Equivalent system at θ1
at input N1
Equivalent system at θ2
at output N2
2 2 2
N N N
T1 = J 1 s 2θ1 ( s ) + D 1 sθ1 ( s ) + K 1 θ1 ( s )
N2 N2 N2
N2
T1 = Js 2θ 2 ( s ) + Dsθ 2 ( s ) + Kθ 2 ( s )
N1
Dr. Herman SEEE 3133 Innovating Solutions
• Generalizing the result
– We can say that the rotational mechanical
impedances can be reflected through gear trains by
multiplying the mechanical impedance by the ratio
2
Number of teeth of gear
on destination shaft
Number of teeth of gear
on source shaft
stator
Schematic diagram
Dr. Herman SEEE 3133 Innovating Solutions 65
Develop magnetic field B by
stationary permanent magnet
Armature circuit with ia(t),
passes through magnetic field
and produces a force F-
(Fleming's left-hand rule )
dθ m (t )
vb (t ) = K b (1)
dt
Taking the L.T: Vb ( s ) = K b sθ m ( s ) (2)
Ra I a ( s) + La sI a ( s) + Vb ( s) = E a ( s ) (3)
Torque developed by the motor (Tm ) is proportional to the armature current
(ia).
1
Tm ( s ) = K t I a ( s ) or I a ( s ) = Tm ( s )
Kt (4)
Substitute (2) and (4) into (3)
( Ra + La s )Tm ( s )
+ K b sθ m ( s ) = E a ( s ) (5)
Kt
Dr. Herman SEEE 3133 Innovating Solutions 67
Equivalent mechanical loading on motor
Tm ( s ) = ( J m s 2 + Dm s )θ m ( s ) (6)
( Ra + La s )( J m s 2 + Dm s )θ m ( s )
+ K b sθ m ( s ) = E a ( s ) (7)
Kt
Assume La <<<Ra , then (7) becomes
Kt
θ m (s) Ra J m K
= ⇒
E a (s) 1 K K s(s + α ) (8)
s s + Dm + b t
Jm Ra
Dr. Herman SEEE 3133 Innovating Solutions 68
DC motor driving a rotational mechanical load
2 2
N1 N1
J m ( s ) = J a + J L ; Dm ( s ) = Da + DL
N2 N2
( Ra + La s )Tm ( s )
From (5), with La = 0 + K b sθ m ( s ) = E a ( s )
Kt
taking inverse Laplace transform
Ra Tm (t ) dθ m (t )
+ Kb = ea (t )
Kt dt
Dr. Herman SEEE 3133 Innovating Solutions 69
K b K t dθ m (t ) K t Kb Kt Kt
Tm (t ) = − + ea (t ) = − ωm + ea (t )
Ra dt Ra Ra Ra
Kb Kt K
At steady state: Tm = − ω m + t ea
Ra Ra
Kt Electrical constants
ω = 0 ⇒ Tm = ea
Ra
Kt T
ea = stall
T =0 ⇒ ω= Ra ea
Kb
ea
Kb =
ωno −load
70
Dr. Herman SEEE 3133 Innovating Solutions
Example 13:
θ L (s)
Find
E a (s)
θ L (s) 0.0417
Answer: =
Ea ( s ) s ( s + 1.667)
Dr. Herman SEEE 3133 Innovating Solutions 71
Solution
∴ Electrical constants
K t Tstall 500
= = =5 (3)
Ra ea 100
ea 100
Kb = = =2 (4)
ωno −load 50
Ea ( s ) θ L (s)
θ m ( s ) N 2 1000
= = = 10
θ L ( s ) N1 100
i.e. θ m ( s ) = 10 θ L ( s )
θ L ( s) 0.417 / 10 0.0417
∴ = =
Ea ( s ) s ( s + 1.667) s ( s + 1.667)
θ L (s)
Find
E a (s)
3) Tm – wm charateristic