Professional Documents
Culture Documents
• Next, we will determine the dynamic response of linear systems using analytical techniques (i.e., the total
solution of linear ODEs)
– In particular, we will investigate the analytical system response to “standard” inputs such as the step, ramp, and
impulse
• We will focus on solving “simple” systems (1st- and 2nd-order ODEs) “by hand” using analytic methods
• System designers should understand the basic parameters governing 1st- and 2nd-order
system response
– How does the “resistance” parameter effect time to reach the steady-state response?
• Often the response of a complex, nonlinear model “looks like” a standard 1st- or 2nd-order
response, and therefore the complex system can be approximated and replaced by a
reduced-order model
– System designers can trade-off model complexity vs. model accuracy, as well as obtain a physical,
intuitive feel for dynamic system response
7.2 Analytical Solutions to Linear Differential Equations
• Suppose we have an nth-order ODE (I/O equation) with one dynamic variable y, and one input function, u(t)
• The total solution y(t) is comprised of two parts: the homogeneous (or natural) solution yH(t) and the
• Homogeneous solution: the solution to the homogeneous ODE, where the input u(t) is zero. Therefore, the
homogeneous solution is the natural response, and is strictly due to the “natural dynamics”
Homogeneous Solution
• Homogeneous solution: the solution to the homogeneous ODE, where the input u(t) is zero
2 y 12 y 16 y 0
• Assume an exponential solution form for yH(t)
y H (t ) ce rt c, r = ?
• Therefore,
y H cre rt and y H cr 2 e rt
2cr 2e rt 12cre rt 16ce rt 0
or, 2r 2
12r 16ce rt 0
Because cert cannot be zero for all time t, the bracket term must = 0
Characteristic Equation
• The Characteristic Equation is the bracket term set to zero:
2 r 2 12 r 16 0
• The characteristic roots give us the complimentary solution:
2r 2 12r 16 r 2 6r 8 0
r 2 2r 4r 8 0 (r 2)(r 4) 0 Roots: r1 = -2, r2 = -4
• The constants c1 and c2 are determined from the two initial conditions (ICs) after the particular response
has been determined
y ( 0) y 0 and y (0) y 0
Particular Solution (Forced Response)
• Particular solution: the solution to the ODE with a non-zero right-hand side forcing function
(input)
• The particular solution is usually found by guessing a functional form, which is typically related
• For example, if a linear system is driven by a sinusoidal forcing function u(t ) sin 4t , then the
forced response will also be a sinusoidal function but with a different amplitude and/or phase
• Given the following first-order linear ODE with initial condition y(0) = 3. Determine the
complete (total) response y(t).
4 y 8 y 6
(worked on the board )
Solving an LTI System: Example 7.2
• Given the following second-order linear ODE with initial conditions y(0) = 2 and y (0) 1
Determine the complete solution y(t) of the system.
2 y 8 y 6 y 10 sin 4t
• Steady-state response: part of the total response that remains as time t infinity
Transient Steady-state
response response
• We have seen that the homogeneous or free response yH(t) depends on the roots of the
characteristic equation
• The roots of the characteristic equation can also be determined from the corresponding
system transfer function G(s) = b(s)/a(s)
• The values of s that make the denominator polynomial a(s) equal zero are called the poles
of the transfer function
• The transfer function poles are identical to the roots of the characteristic equation
Characteristic Roots and the Transfer Function
1
Transfer function Approach : G(s) Poles of TF G(s) are the same as the
0.04s 2 16s 7000 characteristic roots
DC Gain and the Steady State
• An extremely useful analysis technique is the use of the DC gain to compute a system’s steady-state response to
a constant input.
• The term “DC gain” is derived from circuit analysis (DC implies a constant, non-oscillating input)
• Definition: the system DC gain is the steady-state gain to a constant input, for the case when the output has a
• The DC gain for a given transfer function is computed by simply setting s=0
– This result arises from application of the Final Value Theorem in Laplace transform theory (Details in Chapter 8)
• Note that setting s = 0 is similar to setting D = 0 in our D-operator method; in other words, all time derivatives
are zero because the system has reached steady state (constant output)
DC Gain: Example 7.4
• Consider a solenoid actuator that provides a force input to a mechanical system (spool valve)
• Therefore, at steady state, the solenoid dynamics can be replaced by a constant gain = 8, and therefore the
12 = 0.001143
DC Gain of the entire system? Of course, the DC gain of the entire system =
(1.5)(7000)
7.3 First-Order System Response
• Recall that many of the models we derived in the earlier chapters resulted in first-order systems
• First-order examples include mass-damper mechanical systems, RL or RC circuits (solenoids and filters),
y y Au (t )
• The constant τ and “dynamic variable” y is defined for all physical models as shown below
• Note that the right-hand side constant A is unity for all models except the mechanical rotor ( A = 1/b for the
mechanical rotor )
First-Order System: Natural Response
• Recall that the natural response (homogeneous solution) is the response with ZERO input:
y
y 0 Standard form
• We can easily find the natural response by writing the characteristic equation for the standard 1st-order model:
yH(t) = y0e-t/τ
• Characteristics of Homogeneous Solution
• If root r < 0 (or, constant 𝜏 > 0), then the solution y(t) decays from its initial condition y0 to zero as time t → ∞
and the response is bounded or stable.
• If r > 0, then y(t) diverges to infinity as time t → ∞ and the response is unbounded or unstable.
• Constant 𝜏 is always positive for these physical systems
• Free response will be an exponential decay to zero at steady state.
• The parameter 𝜏 is called the time constant for the first-order system.
First-Order System: Time Constant t
• Repeat the natural response (for zero input) yH(t) = y0e-t/τ
• Note that the 1st-order natural response has the following characteristics:
– Exponential rise or decay to zero steady-state value (“dies out”)
– When time t = 4t, the natural response has essentially “died out”
since e-4 = 0.018 which is “small” (less than 2% of initial value x0)
Definition: the “settling time” tS is the approx. time to reach S-S, For a 1st-order system, tS = 4t
First-Order System: Step Response
• Consider again the “standard form” of a 1st-order system:
y y Au(t )
• Suppose the input u(t) = U = step input (constant)
• The total response to the step input will be the natural + forced responses: y (t ) y H (t ) y P (t )
0
y y AU y P (t ) AU yss
Steady-state Steady-state response = constant = AU
First-Order System: Step Response (2)
• Therefore, put together the natural and forced responses to get the total response of a 1 st-order system to a
step input:
y (t ) ce t / yss Total response
y (t ) y0 yss e t / yss
Transient Steady-state
response response
Sketching the Step Response of 1st Order System
– Re-write the 1st-order model in the “standard form” and compute the time constant, τ
– Sketch an exponential response from the initial condition y0 to the steady-state value yss
– The total response will “decay down” if y0 > yss , or show an “exponential rise” if yss > y0
y (t ) y0 yss e t / yss
1st-Order System Step Response: Example 7.5
• Consider a solenoid actuator used to position a spool valve in a hydraulic actuation system
• The electrical input is voltage ein(t), and the output is force f (in N). An appropriate first-order model is
• If the magnitude of the step input is ein(t) = 2 V, then the steady-state output will be fss = (8)(2) = 16 N
1st-Order System Step Response: Example 7.5 (2)
• The step response (from Simulink) is below. The response is clearly exponential, and the settling time is
indeed 8 ms, and the steady-state response is 16 N
0 for t0
u(t ) P for 0 t T
0 for t T
First-order system
(“standard form”)
1st-Order Pulse Response: Case 1
• Case 1: Pulse time T is greater than settling time tS
T >> tS
Settling time
1st-Order Pulse Response: Case 2
• Case 2: Pulse time T is less than settling time tS
T < tS
y t Pb 1 et / Pb 1 e (t T )/ U t T
Impulse Response of First-Order System
• We can obtain the impulse response of a system by evaluating the pulse response in the limit as
pulse duration goes to zero
Ab Ab
y pulse (t )
T
1 e
t /
T
1 e ( t T ) / U (t T )
Ab Ab Ab t / T /
T
1 e
t /
T
1 e ( t T ) /
T
e e 1
Ab t / T / Ab t /
y impulse (t ) lim e e e
T 0
1st-Order System Impulse Response: Example 7.6
• Sketch the impulse response of an RL circuit
R = 1.2 W
L = 0.02 H
• The voltage input is an impulse (weight of 0.08 V-s) applied at t1 = 0.1 sec; the circuit has
zero energy at t = 0
Ab Ab t /
(0.08)(0.8333)/0.0167 = 4 A From yimpulse (t ) e
• The impulse response exponentially decays to zero in ~four-time constants after the impulse is
applied, or t = 0.1 + 4 = 0.1667 s
Initial magnitude = 4 A
Discontinuous jump
in energy due to
impulsive voltage
input at t1 = 0.1 sec Exp decay to zero
at t = 0.1667 sec
7.4 Second-Order System Response
• Several complex, higher-order systems (like aircraft) have dominant modes that display a
• In many cases, we can predict the behavior of a second-order system based on several key
y a1 y a0 y b0u (t )
• The natural or free response (zero input) will depend on the roots of the characteristic equation
a1 a12 4a 0 Recall: j 1
r
2
• Therefore, the two roots can be 1) real and distinct; 2) real and repeated (radicand = 0); 3) complex
Example: y 4 y 3 y u (t )
r 2 4r 3 0 Characteristic Equation
r1 < 0 , r2 < 0
2nd-Order Root Locations: Case 1 (con’t)
• Both roots are real, one root is positive
Example: y 2 y 3 y u (t )
r 2 2r 3 0 Characteristic Equation
Characteristic roots r1 = 1, r2 = -3
y H (t ) c1e t c2 e 3t
unstable
r1 > 0 , r2 < 0
2nd-Order Root Locations: Case 1 (con’t)
• Both roots are real, one root is zero, one root is negative
Example: y 3 y u (t )
r 2 3r 0 Characteristic Equation
Characteristic roots r1 = 0, r2 = -3
r1 = 0 , r2 < 0
2nd-Order Root Locations: Case 2
• Two real repeated roots (both are negative for this example)
Example: y 6 y 9 y u (t )
r 2 6r 9 0 Characteristic Equation
r1 = r2 < 0
2nd-Order Root Locations: Case 2
r1 = r2 > 0
2nd-Order Root Locations: Case 2
r1 = r2 = 0
2nd-Order Root Locations: Case 3
• Roots are complex conjugates (Real + Imaginary parts)
Example: y 4 y 29 y u (t )
r 2 4r 29 0 Characteristic Equation
y H (t ) c1e 2 j 5 t c2 e 2 j 5 t e 2t c1e j 5t c2 e j 5t
Using Euler’s Thm: e j cos j sin
Therefore, the natural response (no input) is a stable, damped sinusoidal function,
where the real part is the exp decay, and imaginary part is the frequency
2nd-Order Root Locations Case 3
Example: y 4 y 29 y u (t )
r 2 4r 29 0 Characteristic Equation
y H (t ) c1e 2 j 5 t c2 e 2 j 5 t e 2t c1e j 5t c2 e j 5t
Using Euler’s Thm: e j cos j sin
Example: y 9 y u (t )
r2 9 0 Characteristic Equation
y H (t ) c1e j 3t c2 e j 3t
y H (t ) c3 cos 3t c4 sin 3t
r1, 2 j
Damping Ratio and Undamped Natural Frequency
• We can characterize the transient response of a second-order system by two basic parameters
– Damping ratio ζ
– Undamped natural frequency, ωn
r 2 a1r a0 0
If 4a0 < a12 then the roots are real and distinct
(exponential decay no oscillations) Overdamped
• Therefore, the condition a12 = 4a0 is the critical transition point between a damped oscillating response and a
damped exponential response
• If = 1, the system is critically damped (no oscillations in the natural or transient response)
• If 0 < < 1, the system is underdamped (oscillations are present in the natural or transient response)
• If > 1, the system is overdamped (no oscillations in the natural or transient response)
Damping Ratio: Mass-Spring-Damper
mx bx kx f (t )
b b 2 4mk
Root locations: r
2m
b
Damping ratio: Ratio of actual damping (b) to critical damping
2 km
Undamped Natural Frequency
x a0 x b0u (t )
• The characteristic equation is
r 2 a0 0
c3 sin a0 t c4 cos a0 t
mx kx f (t )
• The characteristic equation is
mr 2 k 0
• For the undamped ()/underdamped (0<) case, the (complex) roots are
r n jn 1 2
y H (t ) ce nt cosd t
Underdamped 2nd-Order System
• The natural (free) response is (repeated)
• Note that the real part of the complex roots determines the exponential decay rate of the transient
response
• Note that the imaginary part of the complex roots determines the frequency of oscillation of the
transient response
2
“Damped frequency”
d n 1 frequency of oscillation of
the transient response
Underdamped System: Root Locations
• Root locations in the “complex plane”, where +x is the Real-number axis, and +y is the Imaginary-number axis
Imaginary
2
n , n 1
r n jn 1 2 X
2nd-order underdamped Complex Plane
root locations b c
θ
Right triangle: a2 + b2 = c2 a 0
Real
a = n Real part
b n 1 2 Imaginary part
X
n
Angle: cos
c = n distance from origin to root n
Note: θ = 0 damping = 1
Underdamped Root Locations (2)
Imaginary
Radial lines: X
All roots have X
the same damping
ratio near negative real axis Complex Plane
increase, and decreases near X
imaginary axis
0 Real
X
X
Circles:
All roots have
the same undamped X Complex roots ALWAYS appear
natural frequency ωn, increasing as conjugate pairs symmetric
radius increases ωn about the Real axis
Step Response of an Underdamped 2nd Order System
• Performance criteria for the transient response of an underdamped second-order system are
often based on the step response
y t 1 e cos t sin t
t Unit Step response of an underdamped
system
n ; n 1 2
y t 1 e cos t sin t
t
t / d
ymax 1 e cos sin Put n , d n 1 2
ymax 1 e / 1 2
d
Function of ζ only
Step Response of an Underdamped 2nd Order System
/ 1 2
M os e
ymax yss 1 M os
Step Response of an Underdamped 2nd Order System
4
ts = 4 time constants
n
– Number of cycles during transient response = tS / Tperiod
2 1 2
N cycles Function of ζ only
Step Response of an Underdamped 2nd Order System
The concepts and formulation discussed so far are for underdamped system only
Therefore, first determine if the 2nd-order system is underdamped (check roots or ζ ) before applying these
transient-response equations!
2nd-Order Underdamped System:
Example 7.8
• Sketch the step response of the
rotational mechanical system
/ 1 2
Max overshoot: M OS e = 0.498 (48.9% overshoot)
4
Settling time: tS = 1.0 sec
n
2
Period: Tperiod = 0.3574 sec
n 1 2
2nd-Order Underdamped System:
Example 7.8 (3)
48.9% overshoot
Peak response max = 0.0573 rad
Peak time tp = 0.179 sec
-0.04
x (t ) ce nt sin d t
-0.06
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45
Time, sec
Estimating Damping Ratio:
Log Decrement Method (3)
• Now, form the ratio of the amplitudes between two successive
peaks (note that the sine term is the same at each peak):
0.06 x1
Ratio of peaks:
x2 t
0.04
x1 ce n 1 1
n ( t1 T ) nT enT
0.02 x2 ce e
Impulse response
-0.02
-0.04
-0.06
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45
Time, sec
Estimating Damping Ratio:
Log Decrement Method (4)
• Next, define the logarithmic decrement as the natural log of the
ratio of successive amplitude peaks:
0.06 x1
Log decrement:
x2
x1
0.04
ln ln e nT nT
0.02
x2
Impulse response
2
-0.02
Sub for period T using d n 1
2 2
-0.04
T
d n 1 2
-0.06
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45
Time, sec
Estimating Damping Ratio:
Log Decrement Method (5)
• Subbing for T in the log decrement equation, we get
2
1 2
• Finally, we solve the above equation for damping ratio:
4 2 2
x1
Recall: ln is from the impulse response (measured)
x2
Estimating Damping Ratio:
Log Decrement Method (6)
• We can obtain greater accuracy if we compute the ratio of peak
amplitudes separated by n cycles
x1 x1 x2 x3 xn x1 x2 x3 xn
ln ln ln ln ln ln
xn 1 x2 x3 x4 xn 1 x2 x3 x4 xn 1
n
x Ax
• Following our previous methods for solving ODEs, let’s assume the
solutions are exponential functions of time:
x1 (t ) c1e t
x2 (t ) c2e t
or, in compact
x(t ) ce t
notation:
xn (t ) cn e t
SSR and Eigenvalues (2)
• The time-derivative of the assumed solution is
x(t ) ce t
• Sub this expression into the state equation
x Ax
t
ce Ace t
• Move all terms to the left-hand side and factor out cet
I Ace t
0
I A detI A 0
I A det I A 0
y y au (t )
• The settling time (see plot on prior page) is tS ~ 1.2 sec, so the time
constant is t S / 4 0.3 sec
Some error
in transient
response