ch07_Modified
ch07_Modified
• 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 1 st- 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
Total solution
particular (or forced) solution yP(t)
• 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
• Therefore, and
or,
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:
• The constants c1 and c2 are determined from the two initial conditions (ICs) after the particular response
has been determined
and
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.
• 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
Characteristic equation:
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
– 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 = , and therefore the
ySS =
DC Gain of the entire system? Of course, the DC gain of the entire system =
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:
Standard form
• We can easily find the natural response by writing the characteristic equation for the standard 1st-order
model:
One characteristic root:
• For the case with ZERO input, the constant c is simply the initial condition (IC) for the dynamic variable, c =
First-Order System: Time Constant t
• Repeat the natural response (for zero input)
• 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)
• 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 = 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 =
First-Order System: Step Response
• Consider again the “standard form” of a 1st-order system:
• The total response to the step input will be the natural + forced responses:
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
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
Clearly, the time constant is t = 0.002 sec, and the
settling time tS = 4t = 0.008 sec = 8 ms
• If the magnitude of the step input is ein(t) = 2 V, then the steady-state output will be fss =
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 t 0
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 e t / 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
Impulse Response of First-Order System (2)
• Let pulse duration T go to zero in the limit so that U(t – T) = U(t)
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
RL circuit model: or
From
• The impulse response exponentially decays to zero in ~four-time constants after the impulse is
applied, or t =
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
• The natural or free response (zero input) will depend on the roots of the characteristic equation
Characteristic Equation
Recall:
• 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
y H (t ) c1e 0 c2 e 3t c1 c2 e 3t
Does not “die out”
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 )
r 2 9 0 Characteristic Equation
y H (t ) c1e j 3t c2 e j 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
“Damped frequency”
d n 1 2
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
n , n 1 2
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
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
/ 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
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
• Use undamped natural frequency n and damping ratio to compute all performance metrics
for underdamped step response
Peak time: tp = 0.1787 sec
n 1 2
/ 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
• Mass m and stiffness k can be measured from static tests, but measuring b requires a
dynamic test (system response)
– See seat-suspension system (ASME article, Chapter 11)
• The damping ratio 𝜁 for an underdamped system can be estimated from the peak values of
the transient response and the “amplitude envelope.
• We can perform a dynamic test where we measure the decaying sinusoidal y(t) (i.e.,
impulse response)
– Provide a sudden, short input (impulse)
Estimating Damping Ratio: Log Decrement Method (2)
• Consider the impulse response, which would be measured from a dynamic test:
0.06
Period, T Damped frequency
0.04
is easy to estimate:
2
0.02
d rad/s
T
Impulse response
-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 n t1
0.04
x1 ce 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
-0.02
Sub for period T using ωd n 1 2
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)
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
• Therefore, the homogeneous or free response will be the sum of an exponential function
(due to the real root at r1 = –0.5) and a damped sinusoidal function (due to complex
conjugate roots r2,3)
• Therefore, if we can identify the transient response associated with each root (pole), we can get a qualitative
feel for the total transient response
• Furthermore, we can choose to eliminate the “fast” roots (or poles, or “modes”) from the system dynamics
and work with a simpler “reduced-order model”
7.6 SSR and Eigenvalues
• We can derive the characteristic equation (and therefore, find the roots) using state-space representation
(SSR)
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:
t
xn (t ) cn e
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
• The n values of that satisfy the determinant equation are called the eigenvalues of
matrix A
• Remember: the eigenvalues provide information about the natural or free response
SSR and Eigenvalues (4)
• If a SISO system is represented by an I/O equation, it is easy to compute the
characteristic equation and solve for the n characteristic roots
• If the SISO system is represented by a transfer function G(s) it is easy to find the poles
(set denominator = 0)
• Often times during the preliminary design stage, it is beneficial to use a simplified or approximate system
• For example, control system analysis and design can be performed using approximate subsystem models
• The subsequent simulation run times will be greatly reduced by replacing higher-order, nonlinear, complex
• Often times a properly designed first- or second-order model can adequately represent the full complex
model
Approximate Models (2)
• A schematic block diagram is shown below, where the complex system is replaced by an approximate
• For our assumed first-order model y is position (in mm) and u(t) is input current (in mA)
y y au (t )
• The experimental data shows that the steady-state position is ~0.44 mm for a 38 mA step
input; hence coefficient a = 0.44/38 = 0.0116
• The settling time (see plot on prior page) is tS ~ 1.2 sec, so the time constant is
sec
t S / 4 0.3
• Hence an approximate 1st-order model is
0.0116
0.3 y y 0.0116u (t ) or, transfer function G (s)
0.3s 1
Approximate Models: Example 7.11 (4)
• Use the approximate 1st-order model and apply a 38-mA step input:
Some error
in transient
response
– Underdamped second-order system transient response depends on damping ratio and undamped
natural frequency n
• The characteristic roots are computed from the characteristic equation, which can be derived from
the system’s I/O equation, transfer function, or state-space representation
– The location of the roots in the complex plane determines the system’s response speed and damping
characteristics