Time Response Analysis - fadhilfadhil.yolasite.com/resources/Chapter Five TRA1.pdfTime Response...
Transcript of Time Response Analysis - fadhilfadhil.yolasite.com/resources/Chapter Five TRA1.pdfTime Response...
Time Response Analysis
Fourth Academic Year
Electrical Engineering Department
College of Engineering
University of Salahaddin
November 2015
Time Response
Since time is used as an independent variable in most control system, it is usually
of interest to evaluate the output response with respect to time, or simply, the
time response.
In designing a system, the time response behavior may well be the most
important aspect of itβs behavior.
Time response can be obtained if
1. The mathematical model of the system, and
2. The input(s) of the system
are available.
Output response of a system is the sum of forced response (steady-state) and
natural response (homogeneous solution)
The concept of poles and zeros, fundamental to the analysis and design of control
systems, simplifies the evaluation of a systemβs response.
Control Engineering Salahaddin University / College of Engineering 2 of 50
Transient and Steady-State Responses
For a stable system, the transient response will decay, usually exponentially, to a
steady state as time increases.
Transient response is a function only of the system dynamics, and it is
independent of the input quantity.
Steady-state is the response of the system after the transient component has
decayed and it is a function of both the system dynamics and input quantity.
Control Engineering Salahaddin University / College of Engineering 3 of 50
Test Input Signals
Control Engineering Salahaddin University / College of Engineering 4 of 50
Poles of a Transfer Function
The poles of a transfer function are
1. The values of the Laplace transform variable s, that cause the transfer
function to become infinite.
2. Any roots of the denominator of the transfer function that are common to
roots of the numerator.
For example, the roots of the characteristic polynomial in the denominator are
values of s that make the transfer function infinite, so they are poles.
If a factor of the denominator can be canceled by the same factor in the
numerator, the root of this factor no longer causes the transfer function to
become infinite.
In control systems, we often refer to the root of the canceled factor in the
denominator as a pole even though the transfer function will not be infinite at
this value.
Control Engineering Salahaddin University / College of Engineering 5 of 50
Zeros of a Transfer Function
The zeros of a transfer function are
1. The values of the Laplace transform variables s, that cause the transfer
function to become zero
2. Any roots of the numerator of the transfer function that are common to roots
of the denominator.
For example, the roots of the numerator are values of s that make the transfer
function zero and are zeros.
However, if a factor of numerator can be canceled by the same factor in the
denominator, the root of this factor no longer causes the transfer function to
become zero.
In control systems, we often refer to the root of the canceled factor in the
numerator as zero even though the transfer function will not be zero at this
value.
Control Engineering Salahaddin University / College of Engineering 6 of 50
System Poles and Zeros
The transfer function provides a basis for determining important system
response characteristics without solving the complete differential equation.
The transfer function is a rational function in the complex variable s = + j
It is often convenient to factor the polynomials in the numerator and
denominator, and to write the transfer function in terms of those factor:
Where the numerator polynomials, N(s) and the denominator polynomials D(s),
have real coefficients defined by the systemβs differential equation and K = bm / an
Thus ziβs are the roots of the equation N(s) = 0 which are the system zeros.
And piβs are the roots of the equation D(s) = 0 which are the system poles.
Control Engineering Salahaddin University / College of Engineering 7 of 50
System Poles and Zeros Cont.
When s = zi the numerator N(s) = 0 and the transfer function vanishes, that is
When s = pi the denominator polynomial D(s) = 0 and the value of the transfer
function becomes unbounded, that is
π₯π’π¦π βππ
π― π = π
π₯π’π¦π βππ
π― π = β
All of the coefficients of polynomials N(s) and D(s) are real, therefore the poles
and zeros must be either purely real, or appear in complex conjugate pairs.
In general for poles, either pi = i , ji ,or i ji
The existence of a single complex pole without a corresponding conjugate pole
would generate complex coefficients in the polynomial D(s).
Similarly, the system zeros are either real or appear complex conjugate pairs.
Control Engineering Salahaddin University / College of Engineering 8 of 50
System Poles and Zeros Cont.
Example 5.1
Find the system poles and zeros of the linear system which is described by the
following differential equation:
Answer
From the differential equation the transfer function is
which may be written in factorial form as
π ππ
π ππ+ π
π π
π π+ ππ = π
π π
π π+ π
2
2Control Engineering Salahaddin University / College of Engineering 9 of 50
System Poles and Zeros Cont.
The system therefore has a single real zero at s = -1/2 and a pair of real poles at
s = -3 and s = -2.
Note:
The poles and zeros are properties of transfer function, and therefore of the
differential equation describing the input-output dynamics. Together with the
gain constant K they completely characterize the differential equation, and
provide a complete description of the system.
Control Engineering Salahaddin University / College of Engineering 10 of 50
System Poles and Zeros Cont.
Example 5.2
A system has a pair of complex conjugate poles p1, p2 = -1 j2, a single real
zero z1 = -4, and a gain factor K = 3. Find the differential equation
representing the system.
Answer
The transfer function is
and the differential equation is
Control Engineering Salahaddin University / College of Engineering 11 of 50
The Pole-Zero Plot: s-plane
A system is characterized by its poles and zeros in the sense that they allow
reconstruction of the input/output differential equation.
In general, the poles and zeros of a transfer function may be complex, and the
system dynamics may be represented graphically by plotting their locations on
the complex s-plane, whose axes represent the real and imaginary parts of the
complex variables s.
It is usually to mark a zero location by a circle (o) and a pole location a cross ().
Control Engineering Salahaddin University / College of Engineering 12 of 50
The Pole-Zero Plot: s-plane
Example 5.3
Show the locations of poles and zeros on s-plane of the following system
Answer
Re-writing in the factorial form as
Showing pole and zeros on s-plane jw
Control Engineering Salahaddin University / College of Engineering 13 of 50
First-Order Systems
A first-order system without zeros can be described by the following transfer
function
If the input is a unit step, R(s) = 1/s, the Laplace transform of the step response is
C(s), where
Taking the inverse Laplace transform, the step response is given by
where the input pole at the origin generated the forced response (steady-state)
cf(t) = 1, and the system pole at βa generated the natural response (homogeneous
solution) cn(t) = -e-at.
Control Engineering Salahaddin University / College of Engineering 14 of 50
First-Order Systems Cont.
Plotting of c(t) is
Let examine the significant of
parameter a, the only parameter
needed to describe the transient
response. When t = 1/a
Control Engineering Salahaddin University / College of Engineering 15 of 50
First-Order Systems: Time Constant
The time constant is the time for e-at to decay to 37% of its initial value, or the
time constant is the time it takes for the step response to rise to 63% of its final
value.
The reciprocal of the time constant has the units (1/seconds), or frequency.
Since the derivative of e-at is βa when t = 0, a is the initial rate of change of the
exponential at t = 0.
Thus, the time constant can be considered a transient response specification for a
first-order system, since it is related to the speed at which the system responds to
a step input.
The time constant can also be evaluated from the pole on s-plane.
Since the pole of the transfer function is at βa, it can be said that the pole is
located at the reciprocal of the time constant, and the farther the pole from the
imaginary axis, the faster the transient response.
Control Engineering Salahaddin University / College of Engineering 16 of 50
First-Order Systems: Rise Time, Tr
Rise time Tr , is defined as the time for the waveform to go from 0.1 to 0.9 of its
final value.
From previous case, c(t) = 0.9, c(t) = 0.1, and from the curve, hence
Control Engineering Salahaddin University / College of Engineering 17 of 50
First-Order Systems: Settling Time, Ts
Settling time is the time for the response to reach, and stay within, 2% of its final
value.
From previous case, let c(t) = 0.98, and solving c(t) for time, t, the setting time is
Setting time within a specific percentage of the final value could be
π»π =π
ππππ π%
π»π =π
ππππ π%
π»π =π. π
ππππ π%
π»π =π
π
Control Engineering Salahaddin University / College of Engineering 18 of 50
First-Order Systems
Example 5.4
A system has a transfer function, G(s) = 50/(s+50). Find the time constant, Tc,
settling time, Ts (for 2% of the final value), and rise time, Tr for a unit step input.
Answer
Since a = 50, thus
Tc = 1/a = 1/50 = 0.02 s
Ts = 4/a = 4/50 = 0.08 s
Tr = 2.2/a = 2.2/50 = 0.044 s
Control Engineering Salahaddin University / College of Engineering 19 of 50
Second-Order Systems: General
A general second-order system is characterized by the following transfer function
The transient response of second-order systems can be described by two physical
quantities: undamped natural frequency, n , and damping ratio . Solving the
above transfer function for poles yields
ππ,π = βππΒ± ππ π β π
Undamped Natural Frequecny, n , of the second-order systems is the frequency of
oscillation of the system without damping. For example, the frequency of a series
RLC circuit with the resistance shorted would be the natural frequency.
πππ = π
or ππ = π π’π§ π«ππ/π¬
Control Engineering Salahaddin University / College of Engineering 20 of 50
Second-Order Systems: General Cont.
Damping Ratio,
Since π = 2n
Thus,
=π
πππ§
Control Engineering Salahaddin University / College of Engineering 21 of 50
Second-Order Systems: Step Response
Control Engineering Salahaddin University / College of Engineering 22 of 50
Second-Order Systems :Undamped Response = 0
A typical second-order system which has an undamped (oscillatory) response is
Poles: two imaginary poles at jn
Natural Response: undamped sinusoidal with radian frequency equal to the
imaginary part of the poles.
Control Engineering Salahaddin University / College of Engineering 23 of 50
Second-Order Systems :Underdamped Response 0 < < 1
A typical second-order system which has an underdamped response is
Equating coefficients
Partial fraction expansion
Control Engineering Salahaddin University / College of Engineering 24 of 50
Second-Order Systems :Underdamped Response 0 < < 1 Cont.
Poles: two complex poles at - n jn π β π
Natural Response: Damped sinusoidal with an exponential envelop whose time
constant is equal to the reciprocal of the poleβs real part. The radian frequency of
the sinusoid, the damped frequency of oscillation, is equal to the imaginary part of
the poles.
Control Engineering Salahaddin University / College of Engineering 25 of 50
Second-Order Systems :Critically Damped Response = 1
A typical second-order system which has a critically damped response is
Poles: two real poles at - n
Natural Response: one term is an exponential whose time constant is equal to the
reciprocal of the pole location. Another term is the product of time, t, and
exponential with time constant equal to the reciprocal of the pole location.
Control Engineering Salahaddin University / College of Engineering 26 of 50
Second-Order Systems :Overdamped Response > 1
A typical second-order system which has an overdamped damped response is
Poles: two real poles at
- n n π β π
Natural Response: two exponentials
with time constants equal to the
reciprocal of the pole locations.
Control Engineering Salahaddin University / College of Engineering 27 of 50
Second-Order Systems :Example
Example 5.5
For each of the following systems do the following: (1) Find the values of damping
ratio and undamped natural frequency; (2) Characterize the nature of the response.
Control Engineering Salahaddin University / College of Engineering 28 of 50
Second-Order Systems :Example
Answers
a. n = πππ = 20, 2 n = 12 = 0.3 and system is underdamped.
b. n = πππ = 30, 2 n = 90 = 1.5 and system is overdamped.
c. n = πππ = 15, 2 n = 30 = 1 and system is critically damped.
d. n = πππ = 25, 2 n = 0 = 0 and system is undamped.
Control Engineering Salahaddin University / College of Engineering 29 of 50
Underdamped Second-Order Systems: Specifications of Step Response
The underdamped second-order system, a common model for physical problems,
displays unique behavior that must be itemized.
A detailed description of the underdamped response is necessary for both
analysis and design.
The objective is to define transient specifications associated with underdamped
responses, and relating these specification to the pole location, drawing an
association between pole location and the form of the underdamped second-order
response.
Tying the pole location to system parameters, thus closing the loop: desired
response generates required system components.
The underdamped of second-order system occurred when the damping ratio is
between 0 and 1.
Control Engineering Salahaddin University / College of Engineering 30 of 50
Underdamped Second-Order Systems: Specifications of Step Response Cont.
The step response of the general second-order system can be founded as
knowing that for underdamped 0 < < 1, thus using partial fractions yields
Taking the inverse Laplace transform
where
which can be determined from the pole location as in the next graph.Control Engineering Salahaddin University / College of Engineering 31 of 50
Underdamped Second-Order Systems: Specifications of Step Response Cont.
Control Engineering Salahaddin University / College of Engineering 32 of 50
Underdamped Second-Order Systems: Specifications of Step Response Cont.
The relation between value of and the type response of the second-order system is
shown in the following figure.
As shown, the lower value of , the more oscillatory the response. The natural
frequency is a time-axis scale factor and does not affect the nature of the response
other than to scale it in time,Control Engineering Salahaddin University / College of Engineering 33 of 50
Underdamped Second-Order Systems: Specifications of Step Response Cont.
The step response of the second-order system can be characterized by using rise
time, peak time, percent overshoot, and settling time, the following figure shows
these parameters.
Control Engineering Salahaddin University / College of Engineering 34 of 50
Underdamped Second-Order Systems: Specifications of Step Response Cont.
Rise Time, Tr
The rise time is the time required for the response to rise from 10% to 90%, 5% to
95%, or 0% to 100% of its final value. For underdamped second-order systems the
0% to 100% rise time is normally used. For overdamped systems, the 10% to 90%
rise time is commonly used.
Peak Time, Tp
The time required to reach the first, or maximum, peak.
Percentage Overshoot, % OS
The amount that the waveform overshoots the steady-state, or final value at the
peak time, expressed as a percentage of the steady-state value.
Settling Time, Ts
The time required for the transientβs damped oscillations to reach and stay within
2% of the steady-state value.
Control Engineering Salahaddin University / College of Engineering 35 of 50
Underdamped Second-Order Systems: Specifications of Step Response Cont.
Note:
1. Rise time, peak time, and setting time yield information about the speed of the
transient response. this information can help a designer determine if the speed
and the nature of the response do or do not degrade the performance of the
system.
2. Tp, %OS, and Ts are evaluated as functions of and n .
3. Tr and Tp increase together.
Control Engineering Salahaddin University / College of Engineering 36 of 50
Underdamped Second-Order Systems: Evaluation of Tp
Tp is founded by differentiating C(t), and finding the first zero crossing after t = 0.
Completing the squares in the denominator, yields to
Referring to tables in Chapter 2;
Setting the derivative equal to zero yields or
Each value of n yields the time for local maxima or minima. Letting n = 0 yields t =
0, the first point on the curve (in previous figure) that has zero slope. The first peak,
which occurs at the peak time, Tp, is found by letting n = 1 as
Control Engineering Salahaddin University / College of Engineering 37 of 50
Underdamped Second-Order Systems: Evaluation of %OS
From the response of the underdamped second-order
system, the percentage overshoot, %OS, is giving by
The term cmax is found by evaluating c(t) at the peak time, c(Tp):
For unit step, cfinal = 1, substituting cmax and cfinal into %OS yields
Control Engineering Salahaddin University / College of Engineering 38 of 50
Underdamped Second-Order Systems: Evaluation of %OS Cont.
Since the percentage overshoot is a function only of the damping ratio, . Thus,
can be founded for the given %OS (another way for finding );
The relation between %OS and is depicted in the following curve.
Control Engineering Salahaddin University / College of Engineering 39 of 50
Underdamped Second-Order Systems: Evaluation of Ts
In order to find the settling time, we must find the time for which c(t) reaches and
stays within 2% of the steady-state value, cfinal. Thus
This equation is conservative estimate, since we assuming that πππ ππ πβ ππ β π½
= π at the settling time. Solving the above expression for t, the settling time is
Since the numerator varies from 3.91 to 4.74 as varies from 0 to 0.9. Thus,
simplifying it for all values of yields
For 5%, π»π =π
π
and for 1%, π»π =π
π
Control Engineering Salahaddin University / College of Engineering 40 of 50
Underdamped Second-Order Systems: Evaluation of Tr
A precise analytical relationship between rise time and damping ratio, , cannot be
found. However, the approximation value of Tr can be founded using the following
equation:
Control Engineering Salahaddin University / College of Engineering 41 of 50
Underdamped Second-Order Systems: Example
Consider the following closed-loop control system:
For unity step input function, find rise time, delay time, peak time, percentage
overshoot, and settling time when damping ratio and undamped natural frequency are
0.6 and 5 rad/sec, respectively.
π€π2
π + 2ππ€π
1
π
R(s) C(s)+
_
Control Engineering Salahaddin University / College of Engineering 42 of 50
Underdamped Second-Order Systems: Assignment
A servo system block diagram is shown in the following figure:
Determine the values of gain, K, and velocity feedback constant, Kh, so that the
percentage overshoot in the unit-step response is 20% and the peak time is 1 sec. With
these values of K and Kh, obtain the rise time and settling time. Assume J = 1 kg.m2
and B = 1 N.m/rad/sec.
πΎ
π½π + π΅
1
π
R(s) C(s)+
_
πΎβ
_
Control Engineering Salahaddin University / College of Engineering 43 of 50
Higher-Order Systems: General Form
The general form of the higher-order control system can be expressed by the following
transfer function:
πͺ(π)
πΉ(π)=
ππππ+πππ
πβπ+β―+ππβππ+ππ
ππππ+πππ
πβπ+β―+ππβππ+ππwhere m β€ n
Once the numerator and denominator have been factored, C(s)/R(s) can be written as
the following:
πͺ(π)
πΉ(π)= π²
(π+ππ)(π+ππ)β―(π+ππ)
(π+ππ)(π+ππ)β―(π+ππ)(K = b0/a0)
Control Engineering Salahaddin University / College of Engineering 44 of 50
Higher-Order Systems: Case 1
Case 1: Poles are real:
For a unit-step input function, the transfer function becomes as
πͺ π =π
π+
π=π
πππ
π + ππ
Where ai is the residue of the pole at s = β pi , ai can be found by using partial-fraction
expansion.
Example: Find the time response for a unit-step input function of the following closed-
loop control system:
Answer: The inverse Laplace transform is
π π = π β π. ππβππ β π. ππβππ + ππβππ
πͺ(π)
πΉ(π)=
ππ
ππ+ππππ+πππ+ππ
Control Engineering Salahaddin University / College of Engineering 45 of 50
Higher-Order Systems: Case 2
Case 2: Real and complex conjugate poles
For a unit-step input function, the transfer function becomes as
πͺ π =π
π+
π=π
πππ
π + ππ
+
π=π
πππ π + π»πππ + ππππ π β π»π
π
ππ + ππ»ππππ + πππ
where n= q+2r, and the time response is given by:
π π = π +
π=π
π
πππβπππ +
π=π
π
πππβπ»πππππππ ππ π β π»π
π π +
π=π
π
πππβπ»πππππππ ππ π β π»π
π π
Control Engineering Salahaddin University / College of Engineering 46 of 50
Higher-Order Systems: Case 2
Example: Find the time response for a unit-step input function of the following closed-
loop control system:
Answer: factoring the denominator:
πͺ(π)
πΉ(π)=
π
(π+π)(ππ+ππ+π)=
π
(π+π)(π+π+ππ)(π+πβππ)
The inverse Laplace transform for a unit-step input is
π π = π βπ
ππβπ +
π
ππβπππππ ππ β
π
ππβπππππ ππ
πͺ(π)
πΉ(π)=
π
ππ+πππ+πππ+π
Control Engineering Salahaddin University / College of Engineering 47 of 50
Laplace Transform Solution of State Equations
Consider the general form of the state-space equations:
αΆπ = π¨π + π©π
and the output equation
π = πͺπ + π«π
Taking the Laplace transform of both sides of the state equation yields
ππΏ π β π π = π¨πΏ π + π©πΌ(π)
In order to separate X(s), replace sX(s) with sIX(s). Where I is an n n identity
matrix, and n is the order of the system. Combining all of the X(s) terms, we get
ππ° β π¨ πΏ π = π π + π©πΌ(π)
Solving for X(s) by pre-multiplying both sides of the above equation by ππ° β π¨ βπ, the
final solution for X(s) is
πΏ π = ππ° β π¨ βππ π + ππ° β π¨ βππ©πΌ π
=ππ π(ππ° β π¨)
π ππ(ππ° β π¨)[π π + π©πΌ π ]
Taking the Laplace transform of the output equation yields
π π = πͺπΏ π + π«πΌ(π)
Control Engineering Salahaddin University / College of Engineering 48 of 50
Laplace Transform Solution of State Equations: Eigenvalues and Transfer Function Poles
Knowing that the transfer function of the state-space representation is given by
The roots of the denominator are the poles of the system and the system poles equal
the eigenvalues. The eigenvalues (poles) from the state-space model can be founded
from
π ππ ππ β π¨ = π
Note, here I substituted by which denotes an eigenvalue.
Control Engineering Salahaddin University / College of Engineering 49 of 50
End of Chapter Five!
Control Engineering Salahaddin University / College of Engineering 50 of 50