Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Root locus

We first encountered root locus plots in the section on feedback, where we started with a plant G(s)G(s) and used proportional control C(s)=kC(s) = k with unity feedback, as below:

Unity feedback loop with proportional controller.

Figure 1:Unity feedback loop with proportional controller.

The closed-loop transfer function from the reference input rr to the output yy is

GCL(s)=kG(s)1+kG(s).G_\textsf{CL}(s) = \frac{kG(s)}{1 + kG(s)}.

We saw that GCLG_\textsf{CL} had the same order (same number of poles) as GG, but the poles changed as we varied kk. We then made a root locus plots showing how these poles moved in the complex plane as kk increased from 0 to \infty. We found that:

Left: Root locus plot for a first-order system. Right: Root locus plot for a second-order underdamped system.

Figure 2:Left: Root locus plot for a first-order system. Right: Root locus plot for a second-order underdamped system.

In this section, we will generalize these results to arbitrary systems and derive rules for sketching root locus plots without having to calculate the closed-loop poles for every value of kk.

Definition and conditions for root locus

Suppose we have a plant G(s)G(s):

G(s)=b(s)a(s)=(sz1)(sz2)(szm)(sp1)(sp2)(spn)G(s) = \frac{b(s)}{a(s)} = \frac{(s-z_1)(s-z_2)\cdots(s-z_m)}{(s-p_1)(s-p_2)\cdots(s-p_n)}

where pip_i are the poles of GG and ziz_i are the zeros of GG. We will assume that GG is proper, meaning that nmn\geq m. We connect this plant in a unity feedback loop with a proportional controller C(s)=kC(s) = k as shown in Figure 1. The closed-loop transfer function is

GCL(s)=kG(s)1+kG(s)=kb(s)a(s)+kb(s).G_\textsf{CL}(s) = \frac{kG(s)}{1 + kG(s)} = \frac{kb(s)}{a(s) + kb(s)}.

The root locus is the set of points in the complex plane that are poles of GCLG_\textsf{CL} for some value of kk. In other words, the root locus is the set of points ss that satisfy the following characteristic equation for some choice of k0k \geq 0:

1+kG(s)=0,equivalently,a(s)+kb(s)=0\boxed{1 + kG(s) = 0, \quad\textsf{equivalently,}\quad a(s) + kb(s) = 0}

Magnitude and phase conditions

If a complex number sCs\in \C satisfies the characteristic equation (4), then we can rearrange the equation to get

G(s)=(sz1)(sz2)(szm)(sp1)(sp2)(spn)=1kG(s) = \frac{(s-z_1)(s-z_2)\cdots(s-z_m)}{(s-p_1)(s-p_2)\cdots(s-p_n)} = -\frac{1}{k}

Recall the properties of complex numbers we reviewed earlier. The magnitude satisfies z1z2=z1z2|z_1z_2| = |z_1||z_2| and the angle satisfies (z1z2)=z1+z2\angle(z_1z_2) = \angle z_1 + \angle z_2. Taking the magnitude of both sides of Eq. (5) gives us the magnitude condition:

i=1nspii=1mszi=k\frac{\prod_{i=1}^n |s-p_i|}{\prod_{i=1}^m |s-z_i|} = |k|

and taking the angle of both sides gives us the phase condition:

i=1n(spi)i=1m(szi)=(2+1)π\sum_{i=1}^n \angle(s-p_i) - \sum_{i=1}^m \angle(s-z_i) = (2\ell+1)\pi

this tells us precisely when a point sCs\in \C is on the root locus. These properties can be used to derive a series of rules for sketching root locus plots, which we now discuss.

Properties of root locus plots

1. Branches and limits

The characteristic equation (4) can be rewritten as

1+kG(s)=0    a(s)+kb(s)=01+k G(s) = 0\quad\implies\quad a(s)+k b(s) = 0

Remember that a(s)a(s) and b(s)b(s) are polynomials of degree nn and mm, respectively, with nmn \geq m. For each fixed kk, this equation has nn solutions. As we vary kk, these solutions trace out nn curves in the complex plane, which are called the branches of the root locus.

Referring to Figure 2: the first-order system has one branch that starts at the pole and goes to infinity, while the second-order system has two branches that start at the poles and go to infinity. These examples have no zeros, which is why all branches go to infinity.

Some additional useful properties of branches:

  1. No self-intersection. A branch cannot cross itself. However, separate branches can collide (e.g. at break-in and breakaway points, which we discuss in Property 4).

  2. Symmetry. The root locus is symmetric about the real axis. Therefore, any branches that are not on the real axis come in complex conjugate pairs. A branch above the real axis has a mirror image branch below the real axis.

2. Real locus

The part of the root locus that lies on the real axis is called the real locus. A point ss on the real axis is on the root locus precisely when it is to the left of an odd number of poles and zeros. A few caveats:

Referring to Figure 2: the first-order system has a real locus that extends from the pole to -\infty (that part of the real axis is to the left of one pole), while the second-order system has no real locus.

Here are some examples of real loci:

Two examples of real loci. Left: Two real locus segments. The left segment extends to infinity. Right: Single real locus segment. Note that the double pole does not trigger the real locus because it does not change the parity of the number of poles/zeros. Likewise, the complex poles can be ignored.

Figure 3:Two examples of real loci. Left: Two real locus segments. The left segment extends to infinity. Right: Single real locus segment. Note that the double pole does not trigger the real locus because it does not change the parity of the number of poles/zeros. Likewise, the complex poles can be ignored.

3. Asymptotes and centroid

We saw in Property 1 that nmn-m branches of the root locus go to infinity. The quantity nmn-m is called the relative degree of the open-loop transfer function G(s)G(s). The branches that go to infinity do so by converging to straight lines called asymptotes. The asymptotes are equally spaced in angle and intersect at a point called the centroid. The angles of the asymptotes are given by

θ=(2+1)πnm,=0,1,,nm1\theta_\ell = \frac{(2\ell+1)\pi}{n-m}, \quad \ell = 0,1,\ldots,n-m-1

and the centroid is given by

σa=i=1npii=1mzinm.\sigma_a = \frac{\sum_{i=1}^n p_i - \sum_{i=1}^m z_i}{n-m}.

Referring to Figure 2: the first-order system has relative degree one, with θ0=π1=π\theta_0 = \frac{\pi}{1} = \pi, so its one asymptote is along the negative real axis. The second-order system has relative degree two, with θ0=π2\theta_0 = \frac{\pi}{2} and θ1=3π2\theta_1 = \frac{3\pi}{2}, so its two asymptotes are vertical. Its centroid is σa=(2)+(2)2=2\sigma_a = \frac{(-2)+(-2)}{2} = -2 (same real part as the poles).

It is easier to remember asymptotes visually rather than memorizing a formula. Here are what asymptotes look like for relative degree up to six (the pattern is clear after that!)

Asymptotes for root locus branches that go to infinity depending on how many of them there are (this corresponds to the relative degree of the open-loop transfer function). The asymptotes are always equally spaced in angle.

Figure 4:Asymptotes for root locus branches that go to infinity depending on how many of them there are (this corresponds to the relative degree of the open-loop transfer function). The asymptotes are always equally spaced in angle.

4. Break-in and breakaway points

Whenever branches collide on the real axis, it means there is a value of kk for which the closed-loop transfer function has a repeated real pole. The most common case is when two branches collide (double pole). When this happens, there are two cases:

Here is what these two scenarios look like:

Left: Breakaway from the real axis. Right: Break-in to the real axis.

Figure 5:Left: Breakaway from the real axis. Right: Break-in to the real axis.

Certain scenarios guarantee the existence of break-in or breakaway points:

  1. If the real locus connects two consecutive real poles, then there must be a breakaway point between them.

  2. If the real locus connects two consecutive real zeros, then there must be a break-in point between them.

  3. If the real locus connects a real pole and a real zero, then there could be nothing between them, or possibly a breakaway and a break-in point between them.

It’s also possible to find the exact locations of break-in and breakaway points. If they occur at sRs\in\R, then the condition dG(s)ds=0\frac{\dd G(s)}{\dd s} = 0 is satisfied. If we write G(s)=b(s)a(s)G(s) = \frac{b(s)}{a(s)} then this condition amounts to solving the equation:

a(s)b(s)a(s)b(s)=0\boxed{a(s) b'(s) - a'(s) b(s) = 0}

The condition (11) is only a necessary condition. So all break-in and breakaway points satisfy it, but not all solutions to it must be break-in or breakaway points. In fact, solutions to this equation may not even lie on the root locus!

It is also possible for multiple branches to collide at the same point, but this is less common. This means that for a particular value of kk, the closed-loop transfer function has a pole of multiplicity greater than two. In this case, the branches will collide at equally spaced angles and also break away at equally spaced angles. We will examine this is more detail in the next section.

5. Imaginary axis crossings

As we increase kk from 0 to \infty, the branches of the root locus move continuously in the complex plane. If a branch crosses the imaginary axis, then there is a value of kk for which the closed-loop system has a purely imaginary pole. This is important because it corresponds to a marginally stable system, and it also indicates that the system transitions from stable to unstable (or vice versa) at this point.

There are two ways to find the imaginary axis crossings:

  1. Substitution. If we know that the crossing occurs at s=jωs = j\omega for some ω>0\omega > 0, then we can substitute s=jωs = j\omega into the characteristic equation and solve for ω\omega and kk. Specifically, we must have G(jω)=1kG(j\omega) = -\frac{1}{k}. This gives us two equations (real part and imaginary part) that we can solve for ω\omega and kk.

  2. Stability criteria. Recalling the section on stability, we can write out the characteristic polynomial of the closed-loop system a(s)+kb(s)a(s) + k b(s) and apply our stability criteria to find values of kk that lead to marginal stability. Once that is done, we can plug those values of kk back into the characteristic equation to find the corresponding imaginary axis crossings.

6. Angles of departure and arrival (bonus)

When a branch of the root locus leaves a pole or arrives at a zero, it does so at a particular angle. We already covered the case of real poles and zeros (either the branch stays of the real axis or it leaves/arrives at a 90 degree angle and we have a breakaway/break-in point). However, for complex poles and zeros, we can have any angle of departure or arrival. To figure out the angle, we can use the phase condition (7). This leads us to the formulas:

For example, consider the transfer function G(s)=(s+1)2+1(s1)2+1G(s) = \frac{(s+1)^2+1}{(s-1)^2+1}. This system has poles at p=1±jp=1\pm j and zeros at z=1±jz=-1\pm j.

This indicates that the branch doesn’t follow a straight line from the pole to the zero, but rather it leaves the pole at a 135 degree angle and arrives at the zero at a 45 degree angle, making an arc. The bottom half of the locus can be inferred by symmetry. Here is what the root locus looks like for this system:

Root locus plot. The departure angle from the pole at 1+j is 135 degrees, and the arrival angle at the zero at -1+j is 45 degrees. The branch follows an arc between them.

Figure 6:Root locus plot. The departure angle from the pole at 1+j1+j is 135 degrees, and the arrival angle at the zero at 1+j-1+j is 45 degrees. The branch follows an arc between them.

Sketching root locus plots

Example 1: three real poles

Let’s sketch the root locus for G(s)=1s(s+1)(s+2)G(s) = \frac{1}{s(s+1)(s+2)} following the steps outlined above.

  1. Poles and zeros. The poles are at p1=0p_1=0, p2=1p_2=-1, and p3=2p_3=-2. There are no zeros.

  2. Real locus. The real locus is on the segments (,2)(-\infty,-2) and (1,0)(-1,0).

  3. Asymptotes. The relative degree is nm=3n-m = 3, so there are three asymptotes at angles of 6060^\circ, 180180^\circ, and 300300^\circ. The centroid is σa=0+(1)+(2)3=1\sigma_a = \frac{0+(-1)+(-2)}{3} = -1.

  4. Sketch root locus. We can now sketch the root locus. The three branches start at the poles and move towards infinity, with two branches moving into the complex plane and one branch moving along the real axis towards -\infty.

Root locus plot for a plant with three real poles and no zeros. This root locus has three asymptotes and one breakaway point.

Figure 7:Root locus plot for a plant with three real poles and no zeros. This root locus has three asymptotes and one breakaway point.

Note that it is a coincidence that the centroid σa\sigma_a happens to be at the same location as one of the poles. In general this will not be the case! To get a bit more accuracy, we can also calculate the exact locations of the breakaway point and the imaginary axis crossings.

Breakaway point. We can also calculate the exact location of the breakaway point using the formula (11). In this case, we have a(s)=s3+3s2+2sa(s) = s^3 + 3s^2 + 2s and b(s)=1b(s) = 1, so the condition reduces to a(s)b(s)a(s)b(s)=3s26s2=0a(s) b'(s) - a'(s) b(s) = -3s^2 - 6s - 2 = 0. The solution to this equation is s=1±13s = -1 \pm \frac{1}{\sqrt{3}}. Only the solution s=1+130.423s=-1+\frac{1}{\sqrt{3}} \approx -0.423 lies on the root locus, so this is the location of the breakaway point.

Imaginary axis crossing. Substitution method: We can find the imaginary axis crossing by substituting s=jωs = j\omega into the characteristic equation. This gives us 1+kG(jω)=01 + k G(j\omega) = 0, which can be rearranged to jω(jω+1)(jω+2)+k=0j\omega(j\omega + 1)(j\omega + 2) +k=0. Expanding and comparing real and imaginary parts gives us:

Real part: 3ω2+k=0Imaginary part: ω(2ω2)=0\begin{aligned} \textsf{Real part: } && -3\omega^2 + k &= 0 \\ \textsf{Imaginary part: } && \omega(2-\omega^2) &= 0 \end{aligned}

From the second equation, we see that crossings occur at ω=0\omega = 0 and ω=±2\omega = \pm\sqrt{2}, which from the first equation correspond to k=0k=0 and k=6k=6, respectively.

Stability criteria: Alternatively, we can expand the characteristic equation as a function of ss, which produces s3+3s2+2s+k=0s^3 + 3s^2 + 2s + k = 0. Applying our stability criteria tells us that the system is stable for 0<k<60 < k < 6, meaning that we transition to instability when k=6k=6. At this point, the characteristic polynomial is:

s3+3s2+2s+6=0    (s+3)(s2+2)=0s^3 + 3s^2 + 2s + 6 = 0\quad\implies\quad (s+3)(s^2+2) = 0

The only imaginary solutions are s=±j2s = \pm j\sqrt{2}, which matches our previous calculation.

Example 2: two poles one zero

Let’s sketch the root locus for G(s)=s+1s2+1G(s) = \frac{s+1}{s^2+1} following the steps outlined above.

  1. Poles and zeros. The poles are at p=±jp=\pm j. The zero is at z=1z = -1.

  2. Real locus. The real locus is on the segment (1,0)(-1,0).

  3. Asymptotes. The relative degree is nm=1n-m = 1, so there is a single asymptote to the left. No need to calculate the centroid!

  4. Sketch root locus. Given the location of the real locus, we anticipate a break-in point on the real axis to the left of 1-1 .

Root locus plot for a plant with two complex poles and one real zero. This root locus has one asymptote and one break-in point.

Figure 8:Root locus plot for a plant with two complex poles and one real zero. This root locus has one asymptote and one break-in point.

Break-in point. We can calculate the exact location of the break-in point using the formula (11). In this case, we have a(s)=s2+1a(s) = s^2 + 1 and b(s)=s+1b(s) = s+1, so the condition reduces to a(s)b(s)a(s)b(s)=(s2+1)(1)(2s)(s+1)=s22s+1=0a(s) b'(s) - a'(s) b(s) = (s^2+1)(1) - (2s)(s+1) = -s^2 - 2s + 1 = 0. The solutions to this equation are s=1±2s = -1 \pm \sqrt{2}. Only the solution s=122.414s=-1-\sqrt{2} \approx -2.414 lies on the root locus, so this is the location of the break-in point.

Angles of departure. The angle of departure from the pole at p=jp=j is given by

ϕdep=ψ1ϕ1π=(45)(90)180=225=135\begin{aligned} \phi_\textsf{dep} &= \psi_1 - \phi_1 - \pi \\ &= (45^\circ) - (90^\circ) - 180^\circ \\ &= -225^\circ = 135^\circ \end{aligned}

So the locus leaves the pole at jj at an angle of 135 degrees.

Interactive demo

The interactive demo below allows you to explore how the root locus changes as you vary the pole and zero locations. You can drag the poles and zeros around to see how the locus changes. You can also toggle the asymptotes.

 


Test your knowledge

Rather than giving you a bunch of practice problems, we encourage you to use the interactive demo above to test your understanding of root locus. You can do the following:

  1. Turn off the root locus and asymptotes.

  2. Place the poles and zeros in a configuration of your choice.

  3. Try to sketch the root locus by hand using the properties we discussed above.

  4. Turn on the root locus and asymptotes to see how well your sketch matches the actual root locus.