The effect of zeros
So far, we have analyzed the response and performance of systems based on their poles. When we looked at first and second-order systems in canonical form,
We saw that the poles determine the stability of the system and performance metrics such as peak time, overshoot, and settling time.
We also considered higher-order systems and approximated them by keeping only the dominant poles. In all of these cases, we assumed the system did not contain any zeros (the numerators had no terms). Now we’ll see what happens when we introduce zeros into the system.
Where do zeros come from?¶
The poles of a system are associated with the denominator of its transfer function, while the zeros are associated with the numerator. When we do a partial fraction expansion (PFE) of a transfer function, we break it down into a sum of terms, each of which corresponds to a pole. The zeros are not directly visible in the PFE; they are “hidden” in the residues. For example:
The poles are at and , which we can read directly from the denominators in the PFE. The zero is at , which changes depending on the residues and . As the zero moves towards . When , there is no zero at all. In this case, we sometimes say there is a “zero at infinity”.
Physical intuition¶
Where do poles and zeros come from in a physical system?
Poles are associated with the energy storage elements in the system. There are as many poles as the order of the system, and the locations of the poles determine stability and performance properties, such as settling time, percent overshoot, and peak time.
Zeros are associated with the way the system is measured or actuated. They do not affect system stability, but they can have a significant effect on the transient response, particularly percent overshoot.
For example, consider the following mass-spring-damper system.
Figure 1:Spring-mass-damper system with two masses, two springs, two dampers, and two applied forces.
Suppose we can apply a force to mass 1 or to mass 2. We also have several sensors: measures the position of mass 1, measures the velocity of mass 2, and measures the relative position of the masses. The equations of motion are:
If we solve for all possible transfer functions from to we obtain:
Each transfer function has the same denominator , which is given by:
Derivation of transfer functions
Start by taking Laplace transforms of the equations of motion:
To solve for , eliminate by multiplying the first equation by and the second equation by , then adding the two equations. Similarly, to solve for , eliminate by multiplying the second equation by and the first equation by , then adding the two equations. This gives us:
In both cases, is the same, and it is given by:
This expression simplifies to Eq. (5) above. So in summary:
Since , the first equation in (9) gives us:
Since , multiply the second equation in (9) by and obtain:
Finally, since , we can subtract the first equation in (9) from the second and obtain:
From Eqs. (10), (11), and (12) we can read off the three rows of the table (4).
The four roots of are the four poles of the system, and they correspond to the four energy storage elements: kinetic energy of each mass and potential energy of each spring. The polynomial encodes the physics of the system: how the energy moves between the different storage elements and how it dissipates through the dampers. These physics are the same regardless of how we inject energy into the system (actuation) or how we measure the system (sensing).
The zeros, however, depend on both sensing and actuation. As we can see, the numerators of the transfer functions are all different.
Derivative mixing interpretation¶
Let’s see what adding a zero to a system does to its time domain response. We’ll add a zero by multiplying the transfer function by . This puts a zero at , but it does not change the poles or the DC gain. We obtain:
| Input | Transfer function | Output | |
|---|---|---|---|
| Original | |||
| With zero |
Adding a zero amounts to adding a scaled derivative of the original response to itself.
If is small, the zero is far from the imaginary axis. The zero has a small effect and the response is essentially unchanged.
If is large, the zero is close to the imaginary axis. The zero has a large effect and the new response starts to look like the derivative of the original response.
Zeros in second-order systems¶
Consider a second-order system with an added zero:
We added a zero at , without changing the DC gain.
If , the zero is in the left-half plane (LHP).
If , there is no zero (“zero at infinity”).
If , the zero is in the right-half plane (RHP).
Our original step response (without the zero) is the familiar step response of a second-order system:
Adding the zero adds a scaled derivative of the original response:
If this formula looks familiar, it’s because we’ve seen it before! Whenever is a step response, is the corresponding impulse response. We calculated the impulse response for a second-order system here.
The term is zero when reaches a maximum or minimum. More interpretations:
When (LHP zero), the zero has the effect of “pulling” the response up when it is increasing and “pushing” the response down when it is decreasing.
When (RHP zero), the zero has the opposite effect: “pushing” down when it is increasing and “pulling” up when it is decreasing.
Here is a plot showing how the step response changes as we vary . For this example, we fixed and .
Figure 2:Step response of the second-order system (13) for different values of . We fixed and . The poles remain unchanged, but the zero location changes with , which significantly affects the transient response.
We can observe some interesting effects as we vary :
For (LHP zero), the response is faster and more aggressive. Peak time decreases and overshoot increase. Settling time increases slightly.
For (no zero / zero at infinity), we get the standard second-order response. Overshoot and settling time are minimized.
For (RHP zero), the response initially moves in the wrong direction! This is called inverse response or undershoot. Peak time and overshoot both increase. Settling time increases slightly.
Yet another interpretation: The slope of the response at is given by the formula[1] . So the initial slope is directly proportional to . This explains why the response is initially faster for and initially slower (in the wrong direction) for .
Interactive applet¶
Using the applet below (click the icon in the lower-right corner to fullscreen it), you can interactively explore how the step response of a second-order system changes as you change the various parameters. This time, try adjusting the value of to see how the zero location affects the transient response.
RHP zeros¶
The inverse response phenomenon we observed for second-order systems with RHP zeros may seem strange, but it is actually common in real systems! Some examples:
Driving a car in reverse: Let be the angle of the steering wheel and be the lateral position of the front bumper. If you turn the steering wheel to the right, the front bumper initially moves left before the car eventually turns to the right.
Airplane altitude adjustment: Let be the angle of the elevator[2] and be the vertical position of the center of mass of the plane. If you increase elevator angle (in order to pitch the airplane up and climb), there is an initial downforce due to the elevator angle, which causes the plane to initially drop in altitude before eventually climbing.
In both of these examples, the transfer function from input to output contains a RHP zero, which causes the inverse response. This can make the system difficult to control because it behaves like it has a “built-in delay”; it must initially move in the wrong direction before it can move correctly.
Zeros can only be moved by changing the way the system is measured or actuated. For example, if we put the elevator at the front of the airplane instead of the back[3], we would get a LHP zero instead of a RHP zero, so no inverse response. Similarly, if we could steer the rear tires instead of the front tires (or just drive the car forwards instead of in reverse), there would be no inverse response.
Zeros and dominant poles¶
We saw in the section on higher-order systems that we can approximate a higher-order system by keeping only its dominant poles. However, this assumed there were no zeros! It turns out that zeros can disrupt dominant pole approximations because zeros lessen the effect of nearby poles. To illustrate, consider a system with two simple poles and one zero:
where is a parameter that we can vary to change the zero location. The poles are fixed at and , so the dominant pole approximation would suggest that the transient response should be dominated by the pole at regardless of the value of . However, we shall see that this is not always the case.
We included the factor of in front to ensure that would always have a DC gain of 1 for any choice of . If we let , we recover the case with no zeros.
Now perform a PFE to obtain two first-order terms and place them in canonical form so we can compare their DC gains:
Now let’s look at what happens as we vary :
If (no zero), the slow pole has a DC gain of and the fast pole has a DC gain of . As expected, this is the standard dominant pole scenario; the slow pole dominates due to its much larger DC gain.
If (zero at the fast pole), the slow pole has a DC gain of and the fast pole has a DC gain of 0. The fast pole is effectively cancelled by the zero, so the slow pole still dominates. We can see this in the original transfer function (16). When , the numerator has a factor of , which cancels the in the denominator, leaving us with a single pole at .
If (zero at the slow pole), the slow pole has a DC gain of 0 and the fast pole has a DC gain of . The slow pole is effectively cancelled by the zero, so the fast pole dominates instead! This is a dramatic change in behavior caused by the zero, even though the poles remain unchanged.
If (zero close to the origin), the DC gains of both poles blow up, causing large transient distortions.
We can summarize these observations with the following principles:
Interactive applet¶
The following interactive applet illustrates the effect of zeros on pole dominance. You can move the poles by dragging the “” markers and move the zero by dragging the “” marker. The step response will update in real time to show how the transient response changes. The shaded lines emanating from the poles indicate the DC gain of each pole; the longer the line, the larger the DC gain and the more dominant that pole is.
Test your knowledge¶
Solution to Exercise 1 #
We seek a PFE of the form:
Using the cover-up method, we have:
Putting the transfer function in canonical form, we get:
Setting the DC gains equal to each other, we get:
Or in other words, the zero must be located at the harmonic mean of the two poles in order for both poles to have equal DC gains. We can rearrange the result to get:
So if we think of the poles and zeros in terms of their time constants rather than their actual values, the time constant of the zero must be the average of the time constants of the two poles in order for both poles to have equal DC gains.
You can also calculate this directly from the equations for and above, or you can apply the initial value theorem, counterpart of the final value theorem.
This is called a canard configuration. It is used in some fighter jets, but it is not common in commercial airplanes due to stability and control issues.