Toolvito

Calculates on this device. File exports run online.

Root Locus Plotter

Type the open-loop transfer function k N(s) ÷ D(s), or its poles and zeros. You get the root locus for gains k from 0 up, its asymptotes, break-away and break-in points, angles of departure, the gain where the closed loop becomes unstable and the gain for a damping ratio.

Enter your values

Your values

Coefficients from the highest power, or an expression in s such as s + 2 or (s + 1)(s + 3).

Such as s(s + 1)(s + 2), s^3 + 3s^2 + 2s or 1, 3, 2, 0.

Optional: the closed-loop poles at this gain are listed and marked on the plot.

More options

Optional: the first gain where the least damped complex pair reaches this damping.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

Independent check and plot file

Independent check and plot file

Uses the system of the result above. The server works the locus out again with NumPy (asymptotes, break points, crossings, the damping gain and the closed-loop poles) and draws it as a picture.

The calculator above works on your device. When you run a task in this section, Toolvito receives the values and result you submit to make the file or run the check. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

How to use the root locus plotter

  1. Choose A transfer function and type N(s) and D(s) in s, for example 1 and s(s + 1)(s + 2), or choose Poles and zeros.
  2. Type a gain to see the closed-loop poles there, and under More options a damping ratio to find its gain.
  3. Press Calculate. The plot shows the branches from the poles (k = 0) to the zeros or along the asymptotes.
  4. The box under the result works the locus out again on the server and gives the plot as a picture file.

The rules

  • The closed-loop poles are the roots of D(s) + k N(s). There are as many branches as poles; n − m of them go to infinity along asymptotes at angles (2q + 1) × 180° ÷ (n − m) from the centroid (Σ poles − Σ zeros) ÷ (n − m).
  • Break-away and break-in points are the real roots of N(s) D′(s) − N′(s) D(s) = 0 where k = −D/N is positive.
  • The gain where branches cross the imaginary axis is the largest stable gain (or the smallest, for a locus that starts unstable).

Worked example

For k ÷ (s (s + 1)(s + 2)) the asymptotes leave −1 at 60°, 180° and 300°; the branches break away at s = −0.4226 (k = 0.385) and cross the imaginary axis at ±1.414 rad/s when k = 6. A damping ratio of 0.5 needs k = 1.037.

Limits you should know

  • Gains from 0 to 10⁸ and polynomials up to degree 20. Negative gains (the complementary root locus) are not drawn.
  • A dead time cannot be drawn exactly on a root locus; use the Bode plot generator for loops with dead time.

Related tools