# Example of root locus

Here, we will discuss an example with the root locus plot. As discussed, we will follow the six rules of the root locus. We will also discuss the impact of the addition of pole and zero on the root locus.

Before starting with an example, letâ€™s first discuss the steps to solve any problem on the root locus.

- Find the number of poles, zeroes, number of branches, etc., from the given transfer functions.
- Draw the plot that shows the poles and zeroes marked on it.
- Calculate the angle of asymptotes and draw a separate sketch.
- Find the centroid and draw a separate sketch.
- Find the breakaway points. These points can also be in the form of complex numbers. We can use the angle condition to verify such points in the complex form.
- Calculate the intersection points of the root locus with the imaginary axis (or y-axis).
- Calculate the angle of arrival and departure if applicable.
- Draw the final sketch of the root locus by combining all the above sketches.
- We can also predict the stability and performance of the given system using the root locus technique.

Most of the steps can be confusing. Letâ€™s discuss an example that will help us to understand the method to draw the root locus plot with the explanation.

### Example: Draw the root locus diagram for a closed loop system whose loop transfer function is given by:

### G(s)H(s) = K/s(s + 5)(s + 10)

### Also find if the system is stable or not.

**Solution:** We will follow the procedure according to the steps discussed above.

**Step 1:** Finding the poles, zeroes, and branches.

The denominator of the given transfer function signifies the poles and the numerator signifies the zeroes. Hence, there are 3 poles and no zeroes.

Poles = 0, -5, and -10

Zeroes = No zero

P â€“ Z = 3 â€“ 0 = 3

There are three branches (P â€“ Z) approaching to infinity and there are no open loop zeroes. Hence infinity will be the terminating point of the root locus.

**Step 2:** Section of the real axis where the root locus lies.

There are three poles, which are shown below:

The section between **0** and **-5** (for example, -3.5) has only one pole on the right-hand side. It means that the sum of poles and zeroes on the side of the given point is 1.

Rule number 3 depicts that the section between 0 and -5 lies on the root locus. Similarly, section after -10 also lies on the root locus. The section between -5 and -10 has an even number of zeroes and poles on the right-hand side. Hence, the root locus on the real axis between -5 and -10 does not exist.

The breakaway point of the given system will lie between the section on the real axis where the root locus exists, i.e., 0 and -5.

**Step 3:** Angle of asymptotes.

Angle of such asymptotes is given by:

= (2q + 1)180 / P â€“ Z

q = 0, 1, and 2

For q = 0,

Angle = 180/3 = 60 degrees

For q = 1,

Angle = 3Ã—180/3 = 180 degrees

For q = 2,

Angle = 5Ã—180/3 = 300 degrees

**Step 4:** Centroid

The centroid is given by:

= 0 â€“ 5 â€“ 10 â€“ 0/3

= -15/3

= -5

Thus, the centroid of the root locus is at -5 on the real axis.

The plot showing the centroid and the angle of asymptotes is given below:

**Step 5:** Breakaway point

We know that the breakaway point will lie between 0 and -5. Letâ€™s find the valid breakaway point.

1 + G(s)H(s) = 0

Putting the value of the given transfer function in the above equation, we get:

1 + K/s(s + 5)(s + 10) = 0

s(s + 5)(s + 10) + K = 0

s(s^{2} + 15s + 50) + K = 0

s^{3} + 15s^{2} + 50s + K = 0

K = â€“ s^{3} â€“ 15s^{2} â€“ 50s

Differentiating both sides,

Dk/ds = â€“ (3s^{2} + 30s + 50) = 0

3s^{2} + 30s + 50 = 0

Dividing the equation by 3, we get:

s^{2} + 10s + 16.667 = 0

Now, we will find the roots of the given equation by using the formula:

Using the value, a = 1, b = 10, and c = 16.667

The roots of the equation will be -2.113 and -7.88.

Among the two roots, only -2.113 lie between 0 and -5. Hence, it will be the breakaway point.

Letâ€™s verify by putting the value of the root in the equation K = â€“ s^{3} â€“ 15s^{2} â€“ 50s.

K = â€“ -2.113 ^{3} â€“ 15(-2.113)^{2} â€“ 50(-2.113)

K = 48.112

The value of K is found to be positive. Thus, it is a valid breakaway point.

**Step 6:** Intersection with the negative real axis.

Here, we will found the intersection points of the root locus on the imaginary axis using the Routh Hurwitz criteria using the equation s^{3} + 15s^{2} + 50s + K = 0

The Roth table is shown below:

s^{3} | 1 | 50 |

s^{2} | 15 | K |

s | 15Ã—50 â€“ 1xK/K = 750 â€“ K/K | 0 |

s^{0} | K |

From the third row s, 750 â€“ K/K = 0

750 â€“ K = 0

K = 750

From the second row s^{2},

15 s^{2} + K = 0

Putting the value of Kin the above equation, we get:

15 s^{2} = -750

s^{2} = -750/15

s^{2} = -50

s = j7.071 and -j7.071

Both the point lies on the positive and negative imaginary axis.

**Step 7:** There are no complex poles present in the given transfer function. Hence, the angle of departure is not required.

**Step 8:** Combining all the above steps.

The root locus thus formed after combining all the above steps is shown below:

**Step 9:** Stability of the system

The system can be stable, marginally stable, or unstable. Here, we will determine the systemâ€™s stability for different values of K based on the Roth Hurwitz criteria discussed above.

The system is stable if the value of K lies between 0 and 750. The root locus at such a value of K is in the left half of the s-plane. For a value greater than 750, the system becomes unstable, and it is because the roots start moving towards the right half of the s-plane. But, at K = 750, the system is marginally stable.

We can conclude that stability is based on the location of roots in the left half or right half of the s-plane.

## Impact of the addition of pole and zero on the root locus

Letâ€™s discuss the impact of the addition of poles and zeroes on the root locus.

### Impact of the addition of pole

The impact of the adding pole to the left half of the s-plane will push the root locus towards the right side of the s-plane. We know that the system tends to be stable when the roots lie on the left half of the s-plane. When the root locus moves towards right half, the stability **reduces.** It means that the addition of pole on the root locus will decrease the stability of the system. The range of â€˜Kâ€™ and the gain margin f the system also decreases.

For example,

Consider the plot of the system G(s)H(s) = K/s(s + 2)(s + 4).

Now, letâ€™s add s = -6 pole to the above system. The root locus plot will now appear as:

G(s)H(s) = K/s(s + 2)(s + 4)(s + 6).

We can notice that the addition of pole resulted in the root locus too shift towards the right-half of the s-plane.

### Impact of the addition of zero

The impact of the adding zero will push the root locus towards the **left side** of the s-plane. We know that the system tends to be stable when the roots lie on the left half of the s-plane. When the root locus moves towards left half, the stability improves. It means that the addition of zero on the root locus will increase the stability of the system. The range of â€˜Kâ€™ and the gain margin f the system also increases.

Here, the root locus will shift towards the added zero.

For example,

Consider the system G(s)H(s) = K(s + 4)/s(s + 2).

Now, letâ€™s add zero s = -6 to the above system. The root locus plot will now appear as:

G(s)H(s) = K(s + 4)(s + 6)/s(s + 2).

We can notice that the addition of pole resulted in the root locus too shift towards the right-half of the s-plane.