Week 5 — Transient Response of First- and Second-Order Systems¶
What this week covers¶
By the end of this week you should be able to
-
Separate a system’s response into its transient and steady-state parts, and say which part each pole of the closed-loop transfer function contributes to.
-
Derive the step response of a first-order system, extract its time constant from a measured curve, and quote its delay, rise and settling times as exact multiples of \(\tau\).
-
Put a second-order transfer function into the canonical form \(\omega_{n}^{2}/(s^{2}+2\zeta\omega_{n}s+\omega_{n}^{2})\), classify it as undamped, underdamped, critically damped or overdamped, and locate its poles.
-
Derive the underdamped step response in closed form and identify its envelope, damped frequency and phase.
-
Define and compute the five transient specifications — delay time, rise time, peak time, percentage overshoot and settling time — and derive \(t_p\), \(\%\mathrm{OS}\) and \(t_s\) from the closed-form response.
-
Translate a specification on \(\%\mathrm{OS}\) and \(t_s\) into a region of the \(s\)-plane, and read \(\zeta\) and \(\omega_{n}\) back off a pole position.
-
Judge when a third pole may be discarded, apply the dominant-pole approximation with the d.c. gain preserved, and state the error it makes.
-
Explain what an added zero does to overshoot, and why a right-half-plane zero makes the response set off in the wrong direction.
-
Fit a second-order model to a measured step response.
Reading
Primary — Khalil, §3-3 Dynamic Response (p. 78); §3-4 Step Response (pp. 81–97), covering first-order systems (§3-4.1, p. 81), second-order systems (§3-4.2, p. 83), the effect of zeros (§3-4.3, p. 90) and approximation of higher-order transfer functions (§3-4.4, p. 93).
Secondary — Nise (6th ed.), §4.3 First-Order Systems (p. 166); §4.4 Second-Order Systems: Introduction (p. 168); §4.5 The General Second-Order System (p. 173); §4.6 Underdamped Second-Order Systems (p. 177); §4.7 System Response with Additional Poles (p. 186); §4.8 System Response with Zeros (pp. 191–196).
Further — Sundararajan, §6.3 Unit-Step Response and Transient Response Specifications (p. 117); Nagrath & Gopal (2nd ed.), §5.3 Time Response of First-order Systems (p. 135), §5.4 Time Response of Second-order Systems (p. 137), §5.6 Effect of Adding a Zero to a System (p. 151), §5.7 Design Specifications of Second-order Systems (p. 152).
Syllabus items addressed: “Analysis of linear (causal) systems as exemplified by first and second-order systems. Steady-state and transient responses. … Delay time.” (Time Domain Linear Systems Analysis).
Expected learning outcomes: ELO 2 — analyse a control system solution in the time- and frequency-domains. This week is the time-domain half of that outcome in its purest form.
For perspective: The first part builds the responses themselves: what a first-order system does, what a second-order system does, and the two numbers \(\zeta\) and \(\omega_{n}\) that decide between the possibilities. The second part turns those responses into the five numbers an engineer actually quotes — delay time, rise time, peak time, overshoot and settling time — and then asks the question: real systems are not second order, so when may we pretend they are? Sections 7 and 8 give the answer.
Weeks 2 to 4 built machinery: differential equations, transfer functions, block diagrams. None of it told us what a system does. This week we looks into that the system does and it turns out to be largely influenced by the pole positions we have been plotting since Week 3.
Part A — First- and second-order responses¶
1. Dynamic response: what we are measuring¶
Apply an input to a stable system and the output does two things at once. It eventually settles into a pattern dictated by the input — a constant for a step input, a ramp for a ramp input, a sinusoid of the same frequency for a sinusoidal input. And on the way there it does something extra, dictated by the system rather than by the input, which dies away. The first is the steady-state response; the second is the transient response (Khalil, §3-3, p. 78).
The split is exactly the partial-fraction split of Week 3. Writing \(Y(s)=T(s)U(s)\) and expanding,
The terms sitting on the input’s poles reproduce the input’s shape and persist. The terms sitting on the system’s poles are the natural modes of Week 3 §“The poles set the natural modes”, and for a stable system every one of them decays. That is the whole of the transient.
Key idea
The transient response is the system’s own natural modes, excited by the act of applying the input. Its shape is fixed by the pole locations and nothing else; the input only decides how strongly each mode is excited. This is why a lot of the concepts that follow can be conducted almost entirely on the pole–zero map.
Two consequences are worth keeping in mind. First, a system whose poles are all far into the left half plane has a transient that dies quickly, so it is fast; a system with poles near the imaginary axis is slow, and one with a pole in the right half plane has a “transient” that grows without bound, which is the subject of a later part of the course. Second, because the transient shape belongs to the system, we may as well probe it with the simplest input available.
That input is the unit step, \(u(t)=1(t)\), \(U(s)=1/s\). Week 1’s tutorial introduced the standard test signals; the step is the one used for transient work, for three reasons: it is easy to apply in the laboratory (close a switch), it contains a sudden change and so excites every mode the system has, and its transform \(1/s\) adds a single pole at the origin, which contributes a constant — so in (1) the steady-state term is simply the d.c. gain \(T(0)\), and everything else on the page is transient. Throughout this week, response means unit-step response unless it says otherwise.
2. First-order systems¶
A first-order system has one pole and no finite zeros:
\(K=T(0)\) is the d.c. gain, which sets where the output ends up, and \(\tau\) is the time constant, which sets how long it takes to get there. The pole sits at \(s=-a=-1/\tau\) on the negative real axis. Physically this is a system with one energy store and one dissipator: an \(RC\) network, a thermal mass losing heat to its surroundings, or the motor of Week 2 once its electrical time constant is neglected.
For a unit step, \(Y(s)=Ka/[s(s+a)]\), and partial fractions give \(Y(s)=K/s-K/(s+a)\), so
There is no overshoot and no oscillation — a single real pole contributes a single decaying exponential, and an exponential cannot overshoot. Every first-order system makes the same curve; only \(K\) and \(\tau\) differ.
Three readings of \(\tau\) follow from (3):
-
At \(t=\tau\), \(y=K(1-e^{-1})=0.632K\). The response reaches \(63.2\%\) of its final value in one time constant.
-
\(\dot y(0)=K/\tau\), so the tangent at the origin reaches \(K\) at \(t=\tau\) (Fig. 1). Drawing that tangent is the quickest way to get \(\tau\) off a noisy record.
-
The remaining gap falls by a factor \(e\) every \(\tau\) seconds: \(K-y(t)=Ke^{-t/\tau}\).
Because (3) is so simple, the transient specifications of §5 can all be written exactly, by solving \(1-e^{-t/\tau}=\alpha\) for \(t\):
Here \(t_d\) is the time to reach half the final value, \(t_r\) the \(10\%\)–\(90\%\) rise time (hence \(\ln 9\), from \(0.9/0.1\)), and \(t_s\) the time after which the response stays inside a band of the stated width about its final value. All four are proportional to \(\tau\), which is the point: a first-order system has exactly one speed, and moving its pole further from the origin scales every time in the response by the same factor.
Worked example 5.1 — the geared servomotor of Week 2
Worked example 2.5 modelled an armature-controlled d.c. servomotor driving a load through a \(1{:}5\) gear train. Week 2 wrote that motor as a position transfer function, \(\theta_m(s)/V_a(s)=K_m/[s(\tau_m's+1)]\), whose free \(s\) is the integrator: a constant armature voltage produces a constant speed. Since \(\Omega=s\Theta\), cancelling that \(s\) gives the speed transfer function
which is first order, and is the form this section needs. The units of \(K_m\) are the tell: \(\mathrm{rad}\,\mathrm{V}^{-1}\,\mathrm{s}^{-1}\) is a speed per volt, so \(K_m\) was the gain of this transfer function all along.
A 10 V step is applied to the armature from rest. Describe the response completely.
The final speed is \(K_m\times 10=13.0\,\mathrm{rad}\,\mathrm{s}^{-1}\), approached with no overshoot, and by (3)
The initial acceleration is \(\dot\omega(0)=13.0/0.978 =13.3\,\mathrm{rad}\,\mathrm{s}^{-2}\).
Now compare the unloaded motor of Worked example 2.4, which had \(\tau_m=0.109\,\mathrm{s}\): its settling time would be \(3.912(0.109)=0.426\,\mathrm{s}\), nine times faster. The load, reflected through the gears, has cost a factor of nine in every time in the response — which is the transient-response statement of the inertia calculation done in Week 2. Modelling and response are the same fact seen twice.
Common pitfall
\(K\) and \(\tau\) are independent: changing the amplifier gain ahead of a first-order plant changes \(K\) and leaves \(\tau\) — and therefore \(t_r\) and \(t_s\) — untouched. A gain does not make an open-loop first-order system faster. Putting it inside a feedback loop does, because the closed-loop pole then moves: Week 4’s Question 1 saw exactly that, with a minor feedback loop shifting a pole from \(s=0\) to \(s=-3\).
3. Second-order systems: the canonical form¶
Almost every system in this unit that is interesting is second order or is pretended to be, so its response is worth knowing by heart. Week 2’s series \(RLC\) network and mass–spring–damper both produced
and Week 4’s reductions produced closed-loop transfer functions of the same shape. Rather than carry \(a_1\) and \(a_0\) around, we rename them. Write the denominator as
where \(K=T(0)\) is again the d.c. gain. The two new parameters are the undamped natural frequency \(\omega_{n}>0\) (rad s\(^{-1}\)) and the damping ratio \(\zeta\ge0\) (dimensionless). Comparing coefficients with any given denominator,
That is all the arithmetic there is, and it is worth doing on sight: the denominator \(s^{2}+3s+4\) of Week 4’s Worked example 4.2 has \(\omega_{n}=2\) and \(\zeta=0.75\).
The names come from the poles. Solving \(s^{2}+2\zeta\omega_{n}s+\omega_{n}^{2}=0\),
and everything depends on the sign of \(\zeta^{2}-1\):
| Case | Damping | Poles | Response to a step |
|---|---|---|---|
| \(\zeta=0\) | undamped | \(\pm\mathrm{j}\omega_n\), on the axis | sustained oscillation at \(\omega_{n}\) |
| \(0<\zeta<1\) | underdamped | \(-\zeta\omega_{n}\pm\mathrm{j}\omega_d\), complex pair | decaying oscillation, overshoots |
| \(\zeta=1\) | critically damped | \(-\omega_{n}\), repeated real | fastest approach with no overshoot |
| \(\zeta>1\) | overdamped | two distinct real | no overshoot, slower than critical |
Table 1. The four damping cases. Cf. Khalil Fig. 3-3, p. 83.
In the underdamped case the imaginary part is given its own name, the damped natural frequency
and it is \(\omega_d\), not \(\omega_{n}\), that you measure off an oscillating record: successive peaks are \(2\pi/\omega_d\) apart. \(\omega_{n}\) is the frequency the system would ring at if the damping were removed, which is why it is called the undamped natural frequency even for a damped system.
Figure 2 is a useful visualization, and it carries two separate messages. Reading down the curves at fixed \(\omega_{n}t\): \(\zeta\) alone decides the shape — how much it overshoots, whether it oscillates at all. Reading the axis label: \(\omega_{n}\) alone decides the time scale, because the horizontal variable is \(\omega_{n}t\). Double \(\omega_{n}\) with \(\zeta\) fixed and you get precisely the same curve, played twice as fast.
Common pitfall
Equation (7) reads \(\zeta\) and \(\omega_{n}\) off the denominator alone. It says nothing about the numerator, and it is only the whole story when the numerator is a constant. A transfer function such as \(16(s+1)/(s^{2}+4s+16)\) still has \(\omega_{n}=4\) and \(\zeta=0.5\) by (7), but it does not have the response of Fig. 2 — §8 shows how badly the zero changes it. Always check the numerator before quoting an overshoot.
4. The underdamped response in closed form¶
The underdamped case, \(0<\zeta<1\), is the one worth deriving, because it is the case every specification in §5 is written for. Take \(K=1\) and apply a unit step to (6):
Partial fractions with a quadratic denominator, exactly as in Week 3:
Complete the square in the denominator, \(s^{2}+2\zeta\omega_{n}s+\omega_{n}^{2} =(s+\zeta\omega_{n})^{2}+\omega_d^{2}\), and split the numerator to match the standard pairs \(\mathcal{L}^{-1}\{(s+\alpha)/[(s+\alpha)^{2}+\omega^{2}]\}=e^{-\alpha t}\cos\omega t\) and \(\mathcal{L}^{-1}\{\omega/[(s+\alpha)^{2}+\omega^{2}]\}=e^{-\alpha t}\sin\omega t\):
Inverting term by term,
and combining the two trigonometric terms into one,
for \(t\ge0\). Every statement made in the rest of this week comes out of (11), so it is worth reading carefully. It has three ingredients:
-
a final value of \(1\) (times \(K\) in general), which is the steady-state term of (1);
-
an oscillation at the damped frequency \(\omega_d\), with phase \(\phi=\cos^{-1}\zeta\);
-
an envelope \(e^{-\zeta\omega_{n}t}/\sqrt{1-\zeta^{2}}\), decaying at a rate set by \(\zeta\omega_{n}\) — the distance of the poles from the imaginary axis, and not by \(\omega_{n}\) alone.
Key idea
Read the pole \(s=-\zeta\omega_{n}+\mathrm{j}\omega_d\) as a pair of instructions: its real part \(-\zeta\omega_{n}\) sets how fast the transient dies, and its imaginary part \(\omega_d\) sets how fast it rings. The decay rate \(\zeta\omega_{n}\) is often written \(\sigma\) and called the damping factor; \(1/\sigma\) is the time constant of the envelope.
The geometry of Fig. 3 now pays off. The pole \(-\zeta\omega_{n}+\mathrm{j}\omega_d\) lies at distance \(\omega_{n}\) from the origin, at an angle \(\theta\) from the negative real axis, and
The damping ratio is the cosine of the angle the pole makes with the negative real axis. A pole on the negative real axis has \(\theta=0\), \(\zeta=1\); a pole on the imaginary axis has \(\theta=90^\circ\), \(\zeta=0\); and a pole at \(45^\circ\) has \(\zeta=1/\sqrt2=0.707\). This one fact is used in every remaining week of the unit, and it is the reason root-locus plots in Week 8 are drawn with radial lines on them.
Worked example 5.2 — reading a second-order transfer function
A closed-loop system has
Find \(\omega_{n}\), \(\zeta\), the poles, the damped frequency and the closed-form response to a unit step, and say how the response begins.
Parameters. By (7),
so the system is underdamped. By (8) and (9),
The poles lie at \(\theta=\cos^{-1}0.4=66.4^\circ\) from the negative real axis, at distance \(6\) from the origin — a long way round towards the imaginary axis, so we should expect a lively response.
Response. With \(\phi=\cos^{-1}0.4=1.159\,\mathrm{rad}\) and \(\sqrt{1-\zeta^{2}}=0.9165\), equation (11) gives
The d.c. gain is \(T(0)=36/36=1\), so the response settles at \(1\).
How it begins. Differentiating (11) at \(t=0\) gives \(\dot y(0)=0\): a second-order system with no zeros leaves the origin with zero slope, unlike the first-order system of Fig. 1, which leaves at \(K/\tau\). The curvature does the work at the start. The oscillation period is \(2\pi/\omega_d=1.14\,\mathrm{s}\), so the first peak — by symmetry, half a period in — arrives at about 0.57 s. Section 5 makes that exact, and adds the number an engineer will actually ask for: how far past the final value that first peak goes.
Part B — Specifications, and what spoils them¶
5. The transient specifications¶
Nobody quotes equation (11) in a requirements document. What is quoted instead is a handful of numbers read off the step response, and Fig. 4 defines all five at once.
Delay time \(t_d\)
Table 2. the time to reach \(50\%\) of the final value for the first time. (Note that this “delay time” is something different from the time delay we looked at in Week 3; it has nothing to do with a transport lag \(e^{-\tau s}\). A system with no time delay at all still has a delay time.)
Rise time \(t_r\)
Table 3. the time to go from \(10\%\) to \(90\%\) of the final value.
Peak time \(t_p\)
Table 4. the time at which the first (largest) peak occurs.
Percentage overshoot \(\%\mathrm{OS}\)
Table 5. how far the peak exceeds the final value, as a percentage of it: \(\%\mathrm{OS}=100(y_{\max}-y_\infty)/y_\infty\).
Settling time \(t_s\)
Table 6. the time after which the response remains within a stated band, usually \(\pm2\%\) (sometimes \(\pm5\%\)), of the final value.
Three of these five have exact closed forms for the underdamped system with no zeros. All three come from (11).
Peak time.¶
Differentiate (10). The cosine terms cancel and what survives is
which is zero when \(\omega_d t = n\pi\). The first peak is at \(n=1\):
Peak time depends on the imaginary part of the poles alone. Note also, for §8, how clean (13) is: the derivative of a second-order step response is a pure decaying sinusoid.
Percentage overshoot.¶
Substitute \(t_p\) into (11). Since \(\omega_d t_p=\pi\), \(\sin(\pi+\phi)=-\sin\phi=-\sqrt{1-\zeta^{2}}\), so \(y(t_p)=1+e^{-\zeta\omega_{n}\pi/\omega_d}\) and
The \(\omega_{n}\) has cancelled: overshoot is a function of \(\zeta\) alone. Inverting it,
which is how a specification on overshoot becomes a requirement on \(\zeta\).
| \(\zeta\) | \(0.1\) | \(0.2\) | \(0.3\) | \(0.4\) | \(0.5\) | \(0.6\) | \(0.707\) | \(0.8\) |
| \(\%\mathrm{OS}\) | \(72.9\) | \(52.7\) | \(37.2\) | \(25.4\) | \(16.3\) | \(9.5\) | \(4.3\) | \(1.5\) |
Table 7. Overshoot against damping ratio, from (15). Worth committing to memory at \(\zeta=0.5\) and \(\zeta=0.707\).
Settling time.¶
There is no closed form for the exact instant at which (11) last leaves the band, because it depends on where the oscillation’s peaks happen to fall. The standard estimate replaces the response by its envelope and asks when that enters the band. For the \(2\%\) band, \(e^{-\zeta\omega_{n}t_s}/\sqrt{1-\zeta^{2}}=0.02\), giving \(t_s=-\ln\!\left(0.02\sqrt{1-\zeta^{2}}\right)/(\zeta\omega_{n})\), whose numerator lies between \(3.9\) and \(4.7\) for \(0<\zeta<0.9\). It is universally rounded to
Settling time depends on the real part of the poles alone, in the same way that peak time depends on the imaginary part. For \(T(s)=16/(s^{2}+4s+16)\) in Fig. 4, (17) gives \(t_s=4/2=2\,\mathrm{s}\) against a true value of 2.02 s — about as good as the approximation ever gets. At \(\zeta=0.4\) the estimate can be out by \(20\%\), always on the conservative side for the \(2\%\) band.
Delay time and rise time have no useful closed forms and are quoted from curve-fitted approximations, valid for \(0<\zeta<1\):
For Fig. 4’s system these give \(t_d\approx0.338\) against a true \(0.324\), and \(t_r\approx0.409\) against a true \(0.409\). Both are proportional to \(1/\omega_{n}\), so rise time is governed by \(\omega_{n}\) in the same loose sense that settling time is governed by \(\zeta\omega_{n}\).
Common pitfall
Three definitional traps, all of which cost marks:
-
Rise time is \(10\%\)–\(90\%\) here and in Khalil and Nise. Some texts, including Nagrath §5.7, use \(10\%\)–\(90\%\) for underdamped systems (a definition that makes no sense for an overdamped one, which never reaches \(100\%\) in finite time). For \(\zeta=0.5\), \(\omega_{n}=4\) the two differ by half: \(0.41\) s against \(0.60\) s. Assume \(0\%\)–\(100\%\) unless otherwise stated.
-
Settling time needs its band stated. \(4/\zeta\omega_{n}\) and \(3/\zeta\omega_{n}\) differ by a third.
-
\(\%\mathrm{OS}\) is measured from the final value, not from the input amplitude or from \(1\). If the d.c. gain is \(0.4\), as in Week 4’s Question 1, the peak of a \(16\%\)-overshoot response is at \(0.464\), not at \(1.16\).
6. Specifications as regions of the s-plane¶
Equations (14), (15) and (17) each constrain one feature of the pole position, so a specification written in the time domain becomes a region in the \(s\)-plane. Fig. 6 collects the three loci.
A specification of the form “\(\%\mathrm{OS}\) no more than \(X\), \(t_s\) no more than \(Y\)” therefore asks for poles that lie inside the wedge \(|\theta|\le\cos^{-1}\zeta_{\min}\) and to the left of the vertical line \(\sigma=4/Y\). The two conditions intersect in a wedge-shaped region, and any pole pair inside it meets the specification.
Worked example 5.3 — from a specification to a pole position
A servo is required to overshoot by no more than \(10\%\) and to settle to within \(2\%\) in no more than 0.8 s. Where must its dominant poles lie, and what is the response when the specifications are just met with equality?
Damping. From (16) with \(\%\mathrm{OS}=10\):
So \(\zeta\ge0.591\), i.e. \(\theta\le\cos^{-1}0.591=53.8^\circ\).
Speed. From (17), \(t_s=4/(\zeta\omega_{n})\le0.8\) requires \(\zeta\omega_{n}\ge5\), i.e. the poles must lie at least \(5\) to the left of the imaginary axis.
The corner of the region. The two constraints bind simultaneously when \(\zeta=0.5912\) and \(\zeta\omega_{n}=5\), giving
so the poles are \(s=-5\pm\mathrm{j}6.82\) and
Its true values, computed numerically, are \(\%\mathrm{OS}=10.0\%\), \(t_p=0.46\,\mathrm{s}\), \(t_s=0.70\,\mathrm{s}\) — inside specification, as the conservative settling-time estimate promised.
Reading the answer. Any pole pair in the wedge to the left of \(\sigma=-5\) and within \(53.8^\circ\) of the negative real axis will do; moving further left makes it faster still. Note what this calculation is and is not: we have located an acceptable region, which is analysis. Choosing a controller that puts the closed-loop poles there is design, and is ideally covered in FEE3412 — although Week 8’s root locus will show us how the poles move as one gain is varied, and Week 9 will use that to pick a value.
7. Additional poles and the dominant-pole approximation¶
Every formula in §5 was derived for a system with exactly two poles and no zeros. Real transfer functions are rarely like that: Week 4’s reductions routinely produced third- and fourth-order denominators. The saving observation is that some poles matter much more than others.
Consider a third pole added at \(s=-p\) to the system of Fig. 4, with the d.c. gain kept at \(1\):
Partial fractions give a response with three terms — the second-order pair, plus a \(Ce^{-pt}\) from the new pole. Two things shrink that third term as \(p\) grows. It decays faster, by a factor \(e^{-pt}\); and its residue \(C\) falls, because the residue at a pole carries the distance to the other poles in its denominator. Both effects point the same way, so a distant pole contributes little for a short time.
The numbers behind Fig. 7 make the rule concrete:
| Third pole at | none | \(-20\) | \(-10\) | \(-4\) |
|---|---|---|---|---|
| \(\%\mathrm{OS}\) | \(16.3\) | \(15.9\) | \(14.8\) | \(8.1\) |
| \(t_p\) (s) | \(0.91\) | \(0.96\) | \(1.02\) | \(1.23\) |
| \(t_s(2\%)\) (s) | \(2.02\) | \(2.07\) | \(2.09\) | \(1.66\) |
Table 8. Effect of a third pole on the specifications of \(16/(s^{2}+4s+16)\), whose dominant poles have real part \(-2\). Verified numerically.
Key idea
Dominant-pole approximation. If every other pole of a system lies at least about five times further from the imaginary axis than the complex pair — and no zero sits near that pair — the extra poles may be discarded and the system treated as second order. The poles that survive are called the dominant poles. Discarding them must preserve the d.c. gain: delete the factor \((s+p)\) from the denominator and the matching \(p\) from the numerator together.
The factor of five is a convention, not a theorem; Table 3 shows the error at a factor of five (pole at \(-10\)) is about \(1.5\) percentage points of overshoot and \(12\%\) of peak time, which is usually acceptable, while at a factor of two (pole at \(-4\)) it is hopeless. Khalil §3-4.4 (p. 93) gives the same rule; Nise §4.7 (p. 186) quotes five as well.
Worked example 5.4 — using the approximation
Estimate the overshoot, peak time and settling time of
Check dominance. The quadratic factor has \(\omega_{n}=4\), \(\zeta=0.5\), poles at \(-2\pm\mathrm{j}3.46\), real part \(-2\). The third pole is at \(-10\), which is \(10/2=5\) times further out — right on the boundary of the rule. There are no zeros. Proceed, but expect a visible error.
Approximate. Delete \((s+10)\) from the denominator and \(10\) from the numerator, preserving \(T(0)=160/160=1\):
Then from (15), (14) and (17), with \(\zeta=0.5\) and \(\omega_{n}=4\):
Compare. The true values for the third-order system are \(\%\mathrm{OS}=14.8\%\), \(t_p=1.02\,\mathrm{s}\), \(t_s=2.09\,\mathrm{s}\). The approximation overstates the overshoot by \(1.5\) percentage points and understates the peak time by \(12\%\) — errors in the direction one would expect, since the extra lag can only slow the response down and take some of the sting out of it. For a preliminary calculation this is entirely serviceable; for a final answer, solve the third-order system.
Common pitfall
Two ways to get this wrong. First, dropping the pole without keeping the gain: writing \(160/(s^{2}+4s+16)\) leaves a system that settles at \(10\), not \(1\), and every specification measured against the final value then comes out nonsense. Second, applying the rule to a pole that is close to a zero. A pole at \(-10\) with a zero at \(-9.8\) nearly cancels, and the pair together contribute almost nothing however near the origin they sit — so the pole one should discard is not always the furthest-out one. Look at the residues, not only the distances.
8. The effect of zeros¶
Week 3 §“What zeros do” established that zeros do not change which modes are present — the poles alone do that — but change how strongly each one is excited. In the transient-response setting, that has a sharp and useful form.
Let \(y_2(t)\) be the step response of the second-order system (6) with \(K=1\), and add a zero at \(s=-a\), keeping the d.c. gain at \(1\):
Multiplying a transform by \(s\) is differentiation in time (the response starts from rest, so there is no initial-value term), so
The response with a zero is the response without it, plus a scaled copy of its own derivative (Khalil §3-4.3, p. 90). Everything about zeros follows from this one line, because we already know \(\dot y_2\) exactly — it is (13), a positive-going decaying sinusoid whose first hump occupies the rising part of the response.
-
A left-half-plane zero (\(a>0\)) adds overshoot and speeds the response up. The added term \(\dot y_2/a\) is largest exactly where the response is rising fastest, so it lifts the early part of the curve and pushes the peak up and to the left. The closer the zero is to the origin, the smaller \(a\) is and the bigger the effect.
-
A far-away zero does nothing. As \(a\to\infty\) the added term vanishes and \(y_z\to y_2\). The same factor-of-five rule applies: a zero more than about five times the dominant real part out to the left can be discarded along with the distant poles.
-
A right-half-plane zero (\(a<0\)) makes the response set off backwards. Now \(\dot y_2/a\) is subtracted, and at small \(t\) it dominates the still-tiny \(y_2\), so the output initially moves away from where it is going. This is the undershoot of a non-minimum-phase system, and (19) shows it is unavoidable, not a pathology of a particular example.
| Zero at | none | \(-10\) | \(-2\) | \(+2\) |
|---|---|---|---|---|
| \(\%\mathrm{OS}\) | \(16.3\) | \(18.0\) | \(69.9\) | \(28.6\) |
| \(t_p\) (s) | \(0.91\) | \(0.79\) | \(0.45\) | \(1.11\) |
| undershoot | — | — | — | \(-0.75\) at 0.21 s |
Table 9. Effect of a zero on \(16/(s^{2}+4s+16)\). Verified numerically.
Key idea
Overshoot read from (15) is a statement about a second-order system with no zeros. A nearby left-half-plane zero can multiply the overshoot several times over, and a right-half-plane zero adds an initial excursion the wrong way that no amount of damping removes. Always look at the numerator before quoting \(\%\mathrm{OS}\) from \(\zeta\).
Common pitfall
A right-half-plane zero is not an instability. The system of Fig. 8 with a zero at \(+2\) has both poles in the left half plane and settles perfectly well; only its start is backwards. Stability is about poles, and Week 7 will make that precise. What a right-half-plane zero does do is limit how aggressively the loop can be closed around the system.
9. Fitting a second-order model to a measured response¶
The chain of this week runs equally well backwards, and this is how transfer functions are obtained for equipment whose insides are unknown. Given a measured step response:
-
Final value. Read \(y_\infty\). With input amplitude \(A\), the d.c. gain is \(K=y_\infty/A\).
-
Shape. If the response overshoots, it is underdamped, so proceed with \(\zeta<1\). If it does not, check first whether a single exponential fits it — if so it is first order and you want \(\tau\) from the \(63.2\%\) point, not a second-order model.
-
Damping. Measure the peak \(y_{\max}\), form \(\%\mathrm{OS}=100(y_{\max}-y_\infty)/y_\infty\), and get \(\zeta\) from (16).
-
Frequency. Measure the peak time \(t_p\) and use (14) backwards: \(\omega_d=\pi/t_p\), then \(\omega_{n}=\omega_d/\sqrt{1-\zeta^{2}}\). (Measuring the period between two successive peaks, \(T_d=2\pi/\omega_d\), is more accurate on a noisy record than measuring \(t_p\) from the instant of the step.)
-
Assemble \(T(s)=K\omega_{n}^{2}/(s^{2}+2\zeta\omega_{n}s+\omega_{n}^{2})\) and check it against a feature you did not use to build it — the settling time, or the value at some intermediate instant. A poor check means the system is not adequately second order, and the residual usually points at a third pole or a zero.
Summary¶
-
The response of a stable system splits into a steady-state part, whose shape follows the input, and a transient, which is the system’s own natural modes decaying. The transient’s shape is fixed by the pole locations.
-
A first-order system \(K/(\tau s+1)\) gives \(y=K(1-e^{-t/\tau})\): no overshoot, \(63.2\%\) at one time constant, \(t_d=0.693\tau\), \(t_r=2.197\tau\), \(t_s(2\%)=3.912\tau\approx4\tau\).
-
A second-order system is written \(K\omega_{n}^{2}/(s^{2}+2\zeta\omega_{n}s+\omega_{n}^{2})\), with \(\omega_{n}=\sqrt{a_0}\) and \(\zeta=a_1/(2\sqrt{a_0})\). Its poles are \(-\zeta\omega_{n}\pm\mathrm{j}\omega_d\), \(\omega_d=\omega_{n}\sqrt{1-\zeta^{2}}\), and \(\zeta=\cos\theta\) where \(\theta\) is the angle from the negative real axis.
-
\(\zeta\) decides the shape (undamped, underdamped, critically damped, overdamped); \(\omega_{n}\) decides the time scale.
-
The underdamped step response is \(y=1-e^{-\zeta\omega_{n}t}\sin(\omega_d t+\phi)/\sqrt{1-\zeta^{2}}\), with \(\phi=\cos^{-1}\zeta\) and envelope \(e^{-\zeta\omega_{n}t}/\sqrt{1-\zeta^{2}}\).
-
\(t_p=\pi/\omega_d\) (imaginary part only); \(\%\mathrm{OS}=100e^{-\zeta\pi/\sqrt{1-\zeta^{2}}}\) (\(\zeta\) only); \(t_s\approx4/(\zeta\omega_{n})\) for \(2\%\) (real part only). Delay and rise times come from the fitted approximations (18).
-
A specification on \(\%\mathrm{OS}\) and \(t_s\) is a wedge in the \(s\)-plane: inside a constant-\(\zeta\) ray, and left of a constant-\(\zeta\omega_{n}\) line.
-
Poles at least five times further out than the dominant pair may be discarded, provided the d.c. gain is preserved and no zero sits near the dominant pair.
-
Adding a zero at \(-a\) gives \(y_z=y_2+\dot y_2/a\): a left-half-plane zero increases overshoot, a right-half-plane zero makes the response start in the wrong direction.
Before the tutorial¶
Check that you can do each of these without looking anything up.
-
Write down \(\omega_{n}\), \(\zeta\) and the poles of \(T(s)=100/(s^{2}+16s+100)\), and say whether it overshoots.
-
A first-order system reaches \(63.2\%\) of its final value at 0.4 s. What is its \(2\%\) settling time?
-
Without a calculator, state the overshoot of a system with \(\zeta=0.5\), and with \(\zeta=0.707\). (\(16\%\) and \(4.3\%\) — know these two.)
-
Two systems have the same \(\zeta\) but \(\omega_{n}\) differing by a factor of three. Which of \(\%\mathrm{OS}\), \(t_p\), \(t_s\) differ, and by how much?
-
\(T(s)=90/[(s^{2}+6s+18)(s+5)]\): may the third pole be discarded? Justify the answer with the rule, not with a feeling.
-
Sketch, on one set of axes, the step responses of \(16/(s^{2}+4s+16)\) and of \(8(s+2)/(s^{2}+4s+16)\). Which peaks higher, and why?
Looking ahead¶
This week answered “what does the system do?”. Week 6 asks the complementary question — “and where does it end up?” — replacing the transient with the steady state: standard test inputs, steady-state error for unity feedback, the static error constants \(K_p\), \(K_v\) and \(K_a\), and system type.
This week’s formulas are the currency of the rest of the unit. Week 7 asks whether the poles are in the left half plane at all; Week 8 tracks how they move as a gain is varied, and draws the constant-\(\zeta\) rays of Fig. 6 straight onto the root locus; Week 9 relates \(\zeta\) and \(\omega_{n}\) to the resonant peak and bandwidth of the frequency response, which is how a transient specification is read off a Bode plot.