Professional Documents
Culture Documents
3 Chapter Three - Time Domain Analysis
3 Chapter Three - Time Domain Analysis
Chapter Three
TIME DOMAIN ANALYSIS
Prepared by
Eng. Eslam Salah
2020/2021
Mechanical Power Engineering -2020/2021
1
Mechanical Power Engineering -2020/2021
The total response of the system is always the sum of the transient and steady-
state components.
Any system can be expressed as:
2
Mechanical Power Engineering -2020/2021
Laplace transforms
It is used to solve the differential equations; it is defined as:
Eq.1
Where: S is complex variable and is called the Laplace operator.
S = σ ± jω
This technique transforms the problem from the time (or t) domain to the Laplace
(or s) domain. The advantage in doing this is that complex time domain
differential equations become relatively simple s domain algebraic equations.
When a suitable solution is arrived at, it is inverse transformed back to the time
domain.
S domain اليTime domain عن طريق تحويل الـDifferential eqn. تستخدم هذه الطريقة لحل
. إليجاد المعادلةTime domain وبعد تبسيطها نحولها مره اخري الي
The following table illustrates the conversion between common functions from
time domain into S domain. By using equation 1, the values in the table are
determined
3
Mechanical Power Engineering -2020/2021
Example 3.1
Find Laplace transform of f (t)=1 (called a unit step function).
Solution:
From equation 1
4
Mechanical Power Engineering -2020/2021
Eq. 2
b) Linearity
c) Constant multiplication
Transfer function
A transfer function is the Laplace transform of a differential equation with zero
initial conditions.
Example 3.2
Find the Laplace transform of the following differential equation given
Solution:
(a) Including initial conditions: Take Laplace transforms (equation (2), Table)
5
Mechanical Power Engineering -2020/2021
so
6
Mechanical Power Engineering -2020/2021
Inverse transformation
To go back to the time domain, the inverse Laplace should be used, which is
defined as:
وذلكTime domain يتم تحويلها مرة اخري الي الS domain بعد استنتاج معادلة الخرج في ال
لفصل المعادلة الي عناصر تشبه عناصر الجدولpartial fractions عن طريق استخدام طريقة
input الخاص بالتحويالت ولكن يجب أوال معرفة نوع الدخل
In practice, inverse transformation is most easily achieved by using partial
fractions to break down solutions into standard components, and then use tables
of Laplace transform pairs
7
Mechanical Power Engineering -2020/2021
2- Step function: is described as xi(t) = B (in time domain) ; Xi(s) = B/s (in S
domain) for t > 0. For a unit step function x i (t) = 1, X i (s) = 1/s. Referred as
constant position input
3- Ramp function: is described as xi (t) = Qt; Xi(s) = Q/s 2 for t > 0. For a unit
ramp function xi (t) = t; Xi (s) = 1/s 2. Referred as constant velocity input
8
Mechanical Power Engineering -2020/2021
4- Parabolic function is described as xi (t) = Kt2; Xi(s) = 2K/s3 for t > 0 For a
unit parabolic function xi (t) = t2; Xi(s) = 2/s3. Referred as constant acceleration
input
Standard form
Consider a first-order differential equation
𝑑𝑋𝑜
a +b xo = c xi(t)
𝑑𝑡
Take Laplace transform, zero initial conditions
as Xo(s)+ b Xo(s) = c Xi(s)
(as + b) Xo(s) = c Xi(s)
9
Mechanical Power Engineering -2020/2021
Solution
𝐴𝐾 𝐴𝐾/𝑇
Xo(s) = =
𝑇𝑠+1 𝑠+1/𝑇
or
𝐴𝐾 1
Xo(s) = ( ) Eq.5
𝑇 𝑠+1/𝑇
Solution
𝐵𝐾 1/𝑇
Xo(s) = = 𝐵𝐾 Eq.7
𝑠(1+𝑇𝑠) 𝑠(𝑠+1/𝑇)
Equation 7 is in the form given in Laplace transform pair 6 (in Table), so the
inverse transform becomes
xo(t) = 𝐵𝐾(1 − 𝑒 −𝑡/𝑇 )
10
Mechanical Power Engineering -2020/2021
Example 3.5
Find an expression for the response of a first-order system to a ramp function of
slope Q.
Solution
𝑄𝐾 𝑄𝐾/𝑇 𝐴 𝐵 𝐶
Xo(s) = = = + + Eq.8
𝑠2 (1+𝑇𝑠) 𝑠2 (𝑠+1/𝑇) 𝑠 𝑠2 (𝑠+1/𝑇)
𝑄𝐾 1 1
= 𝐴𝑠 (𝑠 + ) + 𝐵 (𝑠 + ) + 𝐶𝑠 2
𝑇 𝑇 𝑇
Equating coefficients on both sides of equation
(s2): 0 = A + C
(s1): 0=A/T+B
𝑄𝐾
(s0): =B/T
𝑇
So
B = QK
and A= -BT
A= -QKT
C= QKT
Inserting values of A, B and C into equation 8
−𝑄𝐾𝑇 𝑄𝐾 𝑄𝐾𝑇
Xo(s) = + +
𝑠 𝑠2 (𝑠+1/𝑇)
11
Mechanical Power Engineering -2020/2021
Example 3.6
A Ship has a mass m and a resistance C times the forward velocity u(t). If the
thrust from the propeller is K times the angular velocity ω (t), determine:
a) The first-order differential equation and hence the transfer function relating
U(s) and ω(s). when the vessel has the parameters: m = 18,000 x 103 kg, C =
150,000 Ns/m, and K = 96,000 Ns/rad, find,
b) The time constant.
c) An expression for the time response of the ship when there is a step change
ω(t) from 0 to 12.5
rad/s. Assume that the vessel is initially at rest.
d) What is the forward velocity after
- one minute
- ten minutes
12
Mechanical Power Engineering -2020/2021
Solution
a) F.B.D
𝑑𝑢
K ω(t) – C u(t) = m
𝑑𝑡
Rearranging the equation
𝑑𝑢
m + C u(t) = K ω(t)
𝑑𝑡
the previous equation as we did in chapter two. Differential equation describing
the system. The variables are function of time (Time domain)
Take Laplace transforms, zero initial conditions
m s U(s) + C U(s) = k ω(s)
U(s)( m s + C ) = k ω(s)
The transfer function is
U(s) 𝐾
TF = G(s) = =( )
ω(s) 𝑚 𝑠+𝐶
b) Comparing out TF with the standard form
𝑘
The standard form G(s)= ( )
𝑇𝑠+1
Dividing our TF by C to make it similar to the standard form
U(s) 𝐾/𝐶
TF = G(s) = =( 𝑚 )
ω(s) ( 𝑐 ) 𝑠+1
Comparing coefficients
K = K/C
T = m/C
T = 18,000 x 103 /150,000
T= 120 sec.
c) As we know that; XO = Xi * TF
𝐾
U(s) = ω(s) *
𝑚 𝑠+𝐶
Giving ω(t) = 12.5 𝑟𝑎𝑑/𝑠 as a step input. but this in time domain. So, we
need to convert it into S-domain. Looking at the table case 2
12.5
ω(s) =
𝑠
13
Mechanical Power Engineering -2020/2021
12.5𝐾
U(s) =
𝑠(𝑚 𝑠+𝐶)
Looking back at Laplace transform pair 6 (in Table)
Dividing by m
12.5𝐾/𝑚
U(s) = 𝐶
𝑠( 𝑠+𝑚)
𝐶
12.5𝑘 𝑚
U(s) = .( 𝐶 )
𝐶 𝑠( 𝑠+ )
𝑚
Inverse transform
12.5𝑘
u(t) = (1 − 𝑒 −𝑡𝐶/𝑚 )
𝐶
u(t) = 8 (1 − 𝑒 −0.00833𝑡 )
d)
u(60) = 8 (1 − 𝑒 −0.00833∗60 )
u(60) = 3.148 m/s
u(600) = 8 (1 − 𝑒 −0.00833∗600 )
u(600) = 7.946 m/s
Example 3.7
For the passive electrical network shown in the following figure
a) Determine the transfer function relating the V2(s) and V1(s).
b) When C= 2μF and R1 = R2 = 1 MΩ, determine the steady-state gain K and
time constant T.
c) Find an expression for the unit step response.
s
Solution
14
Mechanical Power Engineering -2020/2021
Standard form
Consider a second-order differential equation
𝑑2 Xo 𝑑𝑋𝑜
a +b +c xo =e xi(t)
𝑑𝑡 2 𝑑𝑡
𝐾𝜔𝑛2
G(s) = ( )
𝑠2 + 2𝜁𝜔𝑛.𝑠 +𝜔𝑛2
where K= steady-state gain constant, ωn = undamped natural frequency (rad/s) and 𝜁 damping
ratio.
Steady state gain constant, K: determine the size of steady state response when
the input settles and at a constant value.
Undamped natural frequency, ωn: System frequency in case there is no
damping.
15
Mechanical Power Engineering -2020/2021
16
Mechanical Power Engineering -2020/2021
Critical damping
When the damping coefficient C of a second-order system has its critical value
Cc, the system, when disturbed, will reach its steady-state value in the minimum
time without overshoot.
Damping ratio 𝜁
The ratio of the damping coefficient C in a second-order system compared with
the value of the damping coefficient Cc required for critical damping. Hence,
𝐶
𝜁=
𝐶𝑐
Example 3.8
Find the value of the critical damping coefficient Cc in terms of K and m for the
spring-mass-damper system
Solution
From Newton’s second law
17
Mechanical Power Engineering -2020/2021
or
Characteristic Equation is
ms2 + Cs + k = 0
𝐶 𝑘
s2 + s+ = 0
𝑚 𝑚
For critical damping, the discriminant is zero, hence the roots become
giving
𝐾𝜔𝑛2
Xo(s) = Eq.11
𝑠(𝑠2 + 2𝜁𝜔𝑛.𝑠 +𝜔𝑛2 )
18
Mechanical Power Engineering -2020/2021
Eq.12
Equating coefficients
The terms in the brackets { } can be written in the standard forms 10 and 9 in
Table
19
Mechanical Power Engineering -2020/2021
Inverse transform
Eq.13
When 𝜁 =0
It can be seen that when there is no damping, a step input will cause the system
to oscillate continuously at ωn
Where:
and when 𝜁 > 1, the unit step response from equation 10 is given by
20
Mechanical Power Engineering -2020/2021
21
Mechanical Power Engineering -2020/2021
Now
Thus,
Eq. 14
Method (b): Logarithmic decrement. Consider the ratio of successive peaks al
and a2
22
Mechanical Power Engineering -2020/2021
Hence
This equation can only be used if the damping is light and there is more than
one overshoot.
Step response performance specification
The three parameters shown in the following figure are used to specify
performance in the time domain.
(a) Rise time tr: The shortest time to achieve the final or steady-state value,
for the first time. This can be 100% rise time as shown, or the time taken
for example from 10% to 90% of the final value, thus allowing for non-
overshoot response.
(c) Settling time ts: This is the time for the system output to settle down to
within a tolerance band of the final value, normally between +2 or 5%.
Using 2% value, from the previous figure
Invert
23
Mechanical Power Engineering -2020/2021
giving
The term (1/𝜁 ωn) is sometimes called the equivalent time constant Tc for a
second-order system.
Note that In50 (2% tolerance) is 3.9, and ln20 (5% tolerance) is 3.0.
Response of higher-order systems
Transfer function techniques can be used to calculate the time response of
higher-order systems.
Example 3.9
The following figure shows, in block diagram form, the transfer functions for a
resistance thermometer and a valve connected together. The input xi(t) is
temperature and the output Xo(t) is valve position. Find an expression for the unit
step response function when there are zero initial conditions.
Solution
Note that the second-order term in equation (3.76) has had the 'square' completed
since its roots are complex (b 2 < 4ac). Equate equations (3.75) and (3.76) and
multiply both sides by s(s + 0.5)(s 2 + s + 25).
24
Mechanical Power Engineering -2020/2021
Equating coefficients
Inverse transform
Equation (3.79) shows that the third-order transient response contains both first-
order and second-order elements whose time constants and equivalent time
constants are 2 seconds, i.e. a transient period of about 8 seconds. The second-
order element has a predominate negative sine term, and a damped natural
frequency of 4.97 rad/s. The time response is shown in the following figure.
25
Mechanical Power Engineering -2020/2021
Example 3.10
Determine the values of 𝜁 and ωn and also expressions for the unit step response
for the systems represented by the following second-order transfer functions
Solution
Example 3.11
When a unity gain second-order system is subjected to a unit step input, its
transient response contains a first overshooting of 77%, occurring after 32.5 ms
has elapsed. Find
a) The damped natural frequency.
b) The damping ratio.
c) The undamped natural frequency
d) The system transfer function.
e) The time to settle down to within ± 2% of the final value.
Solution
26
Mechanical Power Engineering -2020/2021
Example 3.12
A torsional spring of stiffness K, a mass of moment of inertia I and a fluid damper
with damping coefficient C are connected together as shown in the following
figure. The angular displacement of the free end of the spring is θi (t) and the
angular displacement of the mass and damper is θo(t).
a) Develop the transfer function relating θi(t) and θo(t).
b) Find an expression for the time response of θo(t). if the time relationship for
θi(t) is given by θi(t) = 4t then. Assume zero initial condition.
Solution
Example 3.13
A system consists of a first-order element linked to a second-order system
element without interaction. The first-order element has a time constant of 5
seconds and a steady-state gain constant of a 0.2. The second-order system
element has an undamped natural frequency of 4 rad/s, a damping ratio of 0.25
and a steady-state gain constant of unity. If a step input function of 10 units is
applied to the system, find an expression for the time response. Assume zero
initial conditions.
Solution
27
Mechanical Power Engineering -2020/2021
References
[1] R. S. Burns, “Advanced Control Engineering”, 1st ed., 2001.
[2] N. Nise, “Control Systems Engineering”, 7th ed., 2015.
28