Root Locus Simulator: Visualize Pole Migration vs Gain

simulator advanced ~12 min
Loading simulation...
Stable, ζ = 0.45 — moderate damping at K=10

With K=10, poles at -2 and -5, and a zero at -10, the closed-loop poles are complex conjugates with damping ratio 0.45, yielding about 20% overshoot.

Formula

1 + K·G(s)H(s) = 0 (characteristic equation)
Asymptote angles = (2q+1)·180° / (n-m)
Centroid = (Σpoles - Σzeros) / (n - m)

Poles in Motion

In a feedback control system, the closed-loop poles determine everything: stability, oscillation frequency, damping, and settling time. As the designer adjusts the loop gain K, these poles move continuously through the complex plane. The root locus traces their complete trajectory, giving the engineer a map of all possible system behaviors achievable through gain adjustment alone.

Construction Rules

Evans developed elegant rules for sketching the root locus by hand: branches start at open-loop poles (K=0) and end at open-loop zeros (K→∞). Segments of the real axis to the left of an odd number of real poles+zeros lie on the locus. Asymptotes guide branches departing to infinity, with angles and centroid determined by the pole-zero excess. These rules remain invaluable for building design intuition.

Breakaway and Stability

When two branches meet on the real axis, they break away into the complex plane, indicating the onset of oscillatory behavior. The breakaway gain is found by solving dK/ds = 0. As gain increases further, the complex branches may cross the imaginary axis — the critical stability boundary. This crossing gain, determinable via the Routh-Hurwitz criterion, sets the maximum allowable gain for stable operation.

Design Applications

Root locus is not just an analysis tool — it guides compensator design. Adding a lead compensator (zero-pole pair) reshapes the locus to pass through a desired pole location, achieving target damping and bandwidth. Lag compensation shifts the locus to improve steady-state accuracy without destabilizing. This simulator lets you place poles and zeros interactively and watch the locus reshape in real time.

FAQ

What is the root locus?

The root locus is the set of all possible closed-loop pole locations as a single parameter (usually gain K) varies from 0 to infinity. Introduced by Walter Evans in 1948, it provides a graphical method to determine how feedback gain affects system stability and transient response.

How do you determine stability from the root locus?

A system is stable when all closed-loop poles lie in the left-half of the complex plane (negative real parts). The root locus shows the critical gain at which any branch crosses the imaginary axis — beyond this gain, the system is unstable.

What is a breakaway point?

A breakaway point is where two root locus branches on the real axis meet and depart into the complex plane (or arrive from it). It occurs where dK/ds = 0 and represents the gain at which the system transitions from overdamped to underdamped.

How do zeros affect the root locus?

Open-loop zeros attract the root locus branches. As K approaches infinity, closed-loop poles migrate toward the zeros. Adding a zero to the left of the poles pulls the locus further into the left-half plane, improving stability.

Sources

Embed

<iframe src="https://homo-deus.com/lab/control-systems/root-locus/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub