Professional Documents
Culture Documents
Control ENGINEERING
Lecture 2 Modeling in Frequency Domain
kamr2017
Contents
• Modeling in the frequency domain
• Introduction to modeling in the frequency domain
• Laplace transform review
• Transfer function
• Translational mechanical system transfer function
• Rotational mechanical system transfer function
kamr2017
Introduction
• We have discussed the analysis and design
sequence that included obtaining the systems
schematic.
• To obtain a schematic, the control systems engineer
must often make many simplifying assumptions in
order to keep the ensuing model manageable and
still approximate physical reality.
kamr2017
Introduction
• There are two methods to develop mathematical
models from schematics of physical systems.
• Transfer functions in the frequency domain (this
chapter)
• State equations in the time domain (next chapter)
kamr2017
Introduction
• A differential equation can describe the
relationship between the input and output of a
system.
Introduction
• Simplest representation of a system where input,
output, and system are distinct and separate parts.
Introduction
• We would also like to represent conveniently the
interconnection of several subsystems.
• A mathematical function, called a transfer function,
is inside each block, and block functions can easily
be combined for ease of analysis and design.
kamr2017
Laplace transform
• As mentioned previously, a system represented by
a differential equation is difficult to model as a
block diagram.
Laplace transform
• Laplace transform is a method of operational
calculus that takes a function of time (t-domain)
and converts it to a function of complex variable (s-
domain/frequency domain)
kamr2017
Laplace transform
• Transform time domain functions into frequency
domain functions
∞
ℒ𝑓 𝑡 = 𝐹 𝑠 = න 𝑓 𝑡 𝑒 −𝑠𝑡 𝑑𝑡
0−
Laplace transform
kamr2017
Laplace transform
kamr2017
Laplace transform
• Problem: Find the Laplace transform of 𝑓 𝑡 =
𝐴𝑒 −𝑎𝑡 𝑢(𝑡).
• Solution: The time function does not contain an
impulse function.
∞ ∞
𝐹 𝑠 = න 𝑓 𝑡 𝑒 −𝑠𝑡 𝑑𝑡 = න 𝐴𝑒 −𝑎𝑡 𝑒 −𝑠𝑡 𝑑𝑡
∞ 0 0
𝐴
= 𝐴 න 𝑒 −(𝑠+𝑎)𝑡 𝑑𝑡 =
0 𝑠+𝑎
kamr2017
Laplace transform
• The inverse Laplace transform, which allows us to
find f(t) given F(s) is
1 +𝑗∞
ℒ −1 𝐹 𝑠 = න 𝐹(𝑠)𝑒 𝑠𝑡 𝑑𝑠 = 𝑓 𝑡 𝑢(𝑡)
2𝜋𝑗 −𝑗∞
Where 𝑢 𝑡 =1 𝑡>0
𝑢 𝑡 =0 𝑡<0
Laplace transform
• Problem: Find the inverse Laplace transform of
1
𝐹1 𝑠 = 2
(𝑠+3)
• Solution:
kamr2017
Laplace transform
• To find the inverse Laplace transform of a complicated function, convert the
function to a sum of simpler terms for which the Laplace transform of each term
is known. The result is called a partial-fraction expansion.
• If F(s)=N(s)/D(s), where the order of N(s) is less than the order of D(s), then a
partial-fraction expansion can be made.
• If the order of N(s) is greater than or equal to the order of D(s), then N(s) must
be divided by D(s) successively until the result has a remainder whose
numerator is of order less than its denominator.
s 3 2s 2 6s 7 2
F ( s) F ( s ) s 1
s2 s 5 s2 s 5
kamr2017
Laplace transform
Three Cases:
• Case 1. Roots of the Denominator of F(s) are Real and Distinct
s 1 A A
F ( s) 1 2
( s 3)( s 4) s 3 s 4
Laplace transform
Case 1. Roots of the Denominator of F(s) are Real
and Distinct
• Example of an F(s) with real and distinct roots in
the denominator:
2
𝐹 𝑠 =
(𝑠 + 1)(𝑠 + 2)
• Solution:
kamr2017
Laplace transform
Example 2
Case 1: Roots of the Denominator of F(s) Are Real and Distinct
2
𝐹(𝑠) =
(𝑠 + 1)(𝑠 + 2) To find 𝐾2 , multiply above equation with (𝑠 + 2)
𝐾1 𝐾2
= +
(𝑠 + 1) (𝑠 + 2)
To find 𝐾1 , multiply above equation with (𝑠 + 1)
2 (𝑠 + 2)𝐾1
𝐹 (𝑠 ) = = + 𝐾2
(𝑠 + 1) (𝑠 + 1)
Laplace transform
• Problem: Given the following differential equation,
solve for y(t) if all initial conditions are zero. Use
the Laplace transform
𝑑2 𝑦 𝑑𝑦
2
+ 12 + 32𝑦 = 32𝑢(𝑡)
𝑑𝑡 𝑑𝑡
• Solution:
kamr2017
Laplace transform
Laplace transform solution of a differential equation
Find the y(t) if all initial condition are zero. Use the Laplace
transform.
Solving for the response, Y(s), yields
2
𝑑 𝑦(𝑡) 𝑑𝑦(𝑡)
+ 12 + 32𝑦(𝑡) = 32𝑢(𝑡) 32 𝐾1 𝐾2 𝐾3
𝑑𝑡 2 𝑑𝑡 𝑌 𝑠 = = + +
𝑠 𝑠+4 𝑠+8 𝑠 (𝑠 + 4) (𝑠 + 8)
The Laplace transform for the terms in the equation are:
Where,
𝑑 2 𝑦(𝑡) 2 𝑌 𝑠 − 𝑠𝑦 0 −
𝑑𝑦 0
𝐿 = 𝑠 = 𝑠2𝑌 𝑠 32
𝑑𝑡 2 𝑑𝑡 𝐾1 = =1
(𝑠 + 4)(𝑠 + 8) 𝑠→0
𝑑𝑦(𝑡)
𝐿 = 𝑠𝑌 𝑠 − 𝑦 0 = 𝑠𝑌(𝑠) 32
𝑑𝑡 𝐾2 = = −2
(𝑠)(𝑠 + 8) 𝑠→−4
𝐿 𝑦(𝑡) = 𝑌(𝑠)
Hence, the Laplace transform is 32
𝐾3 = =1
(𝑠)(𝑠 + 4) 𝑠→−8
32
𝑠 2 𝑌 𝑠 + 12𝑠𝑌 𝑠 + 32𝑌 𝑠 = Hence,
𝑠
1 2 1
𝑌 𝑠 = − +
𝑠 (𝑠 + 4) (𝑠 + 8)
𝐿−1 𝑌(𝑠) = 𝑦 𝑡 = 1 − 2𝑒 −4𝑡 + 𝑒 −8𝑡 𝑢(𝑡)
kamr2017
Laplace transform
Case 2. Repeated (multiple) real poles
• Example of an F(s) with real and repeated roots in
the denominator:
2
𝐹 𝑠 =
(𝑠 + 1)(𝑠 + 2)2
• Solution:
kamr2017
Laplace transform
Case 2: Roots of the Denominator of F(s) are Real and
Repeated
2 To find 𝐾3 ,
𝐹 𝑠 = 2
𝑠+1 𝑠+2 𝑑 2 2
𝐾1
− 𝑠+2 − 𝑠 + 2 𝐾3 − 𝐾2 = 0
𝐾1 𝐾2 𝐾3 𝑑𝑠 𝑠 + 1 𝑠+1
= + 2
+
𝑠+1 𝑠+2 𝑠+2 2 𝑠+2 𝑠
𝐾3 = − − 𝐾 = −2
𝑠+1 2 𝑠+1 2 1 𝑠→−2
2 𝐿−1 𝐹(𝑠) = 𝑓 𝑡 = 2𝑒 −𝑡 − 2𝑡𝑒 −2𝑡 + 2𝑒 −2𝑡
𝐾1 = 2
=2
𝑠+2 𝑠→−1
2 2
𝐾1
𝐾2 = − 𝑠+2 − 𝑠 + 2 𝐾3 = −2
𝑠+1 𝑠+1 𝑠→−2
kamr2017
Laplace transform
Case 2. Roots of the Denominator of F(s) are complex
or imaginary
• Example of an F(s) with real and distinct roots in
the denominator:
2
𝐹 𝑠 =
𝑠(𝑠 2 + 2𝑠 + 5)
• Solution:
kamr2017
Laplace transform
• Exercise
1. Find the Laplace transform of 𝑓 𝑡 = 𝑡𝑒 −5𝑡
2. Find the inverse Laplace transform of 𝐹 𝑠 =
10
𝑠(𝑠+2)(𝑠+3)3
kamr2017
Transfer function
• Transfer function is the ratio of the Laplace
transform of the output variable to the Laplace
transform of the input variable assuming zero initial
conditions
Transfer function
• This function will allow separation of the input,
system, and output into three separate and distinct
parts, unlike the differential equation.
• This function will allow us to algebraically combine
mathematical representations of subsystems to
yield a total system representation.
kamr2017
Transfer function
• The form the ratio of the output transform, C(s),
divided by the input transform, R(s);
C ( s ) bm s m bm 1s m 1 ... b0
G (s)
R( s ) an s n an 1s n 1 ... a0
Transfer function
• Example: Find the transfer function represented by
dc(t )
2c(t ) r (t )
dt
Ans:
C ( s) 1
G( s)
R( s ) s 2
kamr2017
Transfer function
1
• Example: If 𝐺 𝑠 = ,
find the response c(t), to
𝑠+2
an input, r(t) = u(t), a unit step, assuming zero
initial conditions.
1
C ( s) R( s)G( s)
s( s 2)
Ans:
1 1 2t
c(t ) e
2 2
kamr2017
Transfer function
• Exercise
1. Find the transfer function, G(s), corresponding to
𝑑3 𝑐 𝑑2 𝑐 𝑑𝑐
the differential equation 3 + 3 2 + 7 +
𝑑𝑡 𝑑𝑡 𝑑𝑡
𝑑2 𝑟 𝑑𝑟
5𝑐 = + 4 + 3𝑟
𝑑𝑡 2 𝑑𝑡
2. Find the differential equation corresponding to
2𝑠+1
the transfer function 𝐺 𝑠 = 2
𝑠 +6𝑠+2
3. Find the ramp response for a system whose
𝑠
transfer function is 𝐺 𝑠 =
(𝑠+4)(𝑠+8)
kamr2017
Transfer function
• Important terms/definitions:
s 2 4s 3
G( s) 5
Zeros (z1 = -1,
s 8s 4 20s 3 16s 2
z2 = -3)
Order
( s 1)( s 3)
G( s)
s 2 ( s 2) 2 ( s 4)
Type
Poles
(p1 = 0, p2 = 0, p3 = -2, p4
= -2, p5 = -4)
kamr2017
Transfer function
• Example: Express the given complex function in
pole-zero form. Identify the zeros and the poles.
2s 1
G( s)
s( s 2) 2 (10s 3)
Ans:
2( s 0.5) 1 ( s 0.5)
G( s)
10s( s 2) ( s 0.3) 5 s( s 2) 2 ( s 0.3)
2
kamr2017
capacitor
resistor
inductor
kamr2017
𝑑2 𝑥(𝑡) 𝑑𝑥(𝑡)
𝑀 2
+ 𝑓𝑣 + 𝐾𝑥 𝑡 = 𝑓(𝑡)
𝑑𝑡 𝑑𝑡
kamr2017
X (s) 1
G (s)
F ( s ) Ms 2 f v ( s ) K
kamr2017
EOM 2 : 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
kamr2017
X 2 (s) ( f s K2 )
G (s) v3
F (s)
F(s) X2(s)
𝑓𝑣3 𝑠 + 𝐾2
∆
kamr2017
For J2
kamr2017
• Any questions??