From first principles
Derive the angle and gain conditions for a root locus
For a linear negative-feedback system with open-loop transfer \(K G(s)\), the free closed-loop motion has a nonzero amplitude only when the characteristic factor vanishes. Treat \(K\) as a real nonnegative adjustable parameter. A candidate pole \(s\) is on the root locus precisely when the complex number \(K G(s)\) equals the real number \(-1\).
Factor the fixed transfer into real positive leading gain \(g\), zeros \(z_i\) and poles \(p_j\). Multiplication adds complex angles and division subtracts them. The resulting geometric test and gain value are
A point can have an attractive decay rate or oscillation frequency yet fail the angle condition for every positive gain. Once that condition holds, the distance products give the unique gain at an ordinary, finite point of the locus. At zero gain the branches start at the open-loop poles by continuity.
Derivation and applications
Predict where a root-locus branch approaches its asymptote
A pole sketch can show the direction in which a gain change sends fast modes. Consider real-coefficient negative feedback with characteristic equation \(D(s)+KN(s)=0\). Take monic polynomials with \(n\) open-loop poles \(p_j\), \(m\) finite zeros \(z_j\), \(n>m\), and positive adjustable gain \(K\). Include repeated roots with their multiplicities and absorb any constant numerator factor into the gain. For large \(|s|\), expand the product of root factors and divide the leading terms.
Write \(q=n-m\). A shifted power \((s-\sigma)^q\) has the same first two large-\(s\) coefficients if \(q\sigma\) equals the difference of root sums. The remaining characteristic equation for distant branches then reduces to a power equal to negative real gain.
Taking the \(q\) roots gives the asymptote directions. Complex poles and zeros come in conjugate pairs, so the centroid \(\sigma\) lies on the real axis. These are asymptotic guides; a branch at finite gain generally curves towards its line.
Worked example
Identify a high-gain difficulty in a three-lag loop
For poles at \(-1,-2,-6\) s⁻¹ and no finite zeros, \(q=3\) and \(\sigma=-3\) s⁻¹. The three angles are 60°, 180° and 300°. Two branches ultimately enter the right half-plane. As a check the exact polynomial is \(s^3+9s^2+20s+12+K\); cubic stability demands \(9(20)>12+K\), or \(K<168\). The sketch predicted a finite gain limit and the polynomial supplies its exact value.
Change the inputs and inspect this calculation below
Second application
Recover a missing zero from measured asymptotes
A separate system has poles at \(0,-4,-8\) s⁻¹ and one real zero. Its two high-gain branches approach vertical lines with real coordinate \(-4.50\) s⁻¹. The centroid equation gives \(2(-4.50)=-12-z\), hence \(z=-3.00\) s⁻¹. The remaining finite branch tends to that zero as gain grows. Vertical asymptotes alone identify the pole excess; their real intercept supplies the missing location.
Interactive calculation · Change the inputs of this example
Use the adjustable quantities to test the two worked calculations above. The plot recomputes this derivation’s balance or constitutive relation; its numerical readout reports the quantities needed for the forward calculation and the inverse or design question. Keep the fixed assumptions stated in the readout when comparing with the example values.
OneSimulation laboratory
Predict the settling time and offset of a feedback loop
Start from this chapter. Follow the single proportional-feedback pole as gain varies. Use the sampled step to distinguish its settling rate from the remaining steady tracking error.
Compare recorded OneSimulation runs on this page. To test your own inputs, download the notebook and model files and run the model in an activated OneSimulation environment.
The OneSimulation signal graph connects a setpoint, error junction, controller and first-order plant. Start with plant_gain = 2.0 and setpoint = 1.0. Change proportional_gain or time_constant, keeping the other parameters fixed. Before comparing, decide which change affects the asymptotic error.
| Controller gain and plant time constant | Fitted time (s) | Sampled error |
|---|---|---|
| Gain 4 · plant 20 s | 2.22222 | 0.11331 |
| Gain 2 · plant 20 s | 4.00000 | 0.20198 |
| Gain 4 · plant 40 s | 4.44444 | 0.11331 |

Try \(K_p=9.5\) in the download. Compare the recorded final error against \(e_\infty=0.05\). To explain the difference, evaluate the exponential at the actual last sample time. Inspect the signal graph and its time histories.
Download experiment files (ZIP) Extract the files together and open first_order_plant_p_control.ipynb in a local OneSimulation environment.
Interactive reference for the OneSimulation laboratory
Change gain and plant lag independently. The browser evaluates the unsaturated analytical reference for the linked OneSimulation signal graph.
Problem sheet 2 · Identify a controller from a finite-time observation
A family of closed-loop systems
The earlier pole calculations chose a gain and found the poles. Reverse that question: if an engineer turns one gain dial continuously, which parts of the complex plane can the poles ever visit? For unity negative feedback write the open-loop transfer as \(K N(s)/D(s)\), with \(N,D\) coprime and \(K\ge0\). The closed-loop characteristic equation is
At a trial complex point away from an open-loop zero, the required gain is \(-D(s)/N(s)\). The point is attainable only if this number is real and nonnegative. Its magnitude gives the gain; its phase supplies a separate feasibility test.
At \(K=0\) branches begin at open-loop poles. At very large gain, finite roots must approach zeros of \(N\). If the denominator has greater degree, the remaining roots go to infinity. Since a real-coefficient polynomial has conjugate roots, the locus is symmetric about the real axis. These observations put strong constraints on a sketch even before computing roots.
Derive a breakaway and read the transient
Take a positioning plant \(P=1/[s(s+4)]\) with proportional gain \(K\). The closed-loop poles are \(s=-2\pm\sqrt{4-K}\). They start at 0 and −4, approach each other along the real axis and meet at −2 when \(K=4\). Equivalently the real-axis gain \(K(s)=-s(s+4)\) has a stationary point at −2. Above the breakaway the complex pair moves vertically, so raising gain increases oscillation frequency while leaving the exponential envelope \(e^{-2t}\) unchanged.
The constant term gives \(\omega_n=\sqrt K\) and the linear coefficient gives
A specification of decay rate 3 s⁻¹ and damped frequency 4 rad/s would require poles \(-3\pm4i\). Since every complex pole here has real part −2, no choice of proportional gain meets both requirements. Failure to find such a gain numerically is a statement about controller structure.
Add a second degree of freedom
Feed back measured velocity as well as position:
The closed-loop denominator becomes \(s^2+(4+K_v)s+K_p\); the reference numerator is just \(K_p\). For desired poles \(-3\pm4i\) the polynomial is \(s^2+6s+25\), hence
The derivative acts only on measured output, so a discontinuous reference does not directly request an impulse. Differentiating a noisy measurement can nevertheless demand excessive actuator effort. A separate velocity sensor or a filtered estimate changes the high-frequency dynamics and must be included in the design check.
Include the numerator when interpreting a pole plot
Moving a controller zero also reshapes the locus because it changes the angle of \(N/D\). A zero in the reference-to-output map changes step-response residues even if the poles coincide with a previous design. In particular a positive real zero imposes a severe tracking constraint. For the stable unit-DC transfer \(G=(1-s/z)/(1+s\tau)^2\) with \(z>0\), the unit-step initial slope is \(\lim_{s\to\infty}sG(s)=-1/(z\tau^2)\). Yet the final output is positive. The initial motion in the wrong direction follows directly from the zero. Increasing gain to make the initial transient faster cannot remove that geometry.
Place a controller zero from a specified root
A proportional controller moves poles along the root locus of its plant. A chosen design point off that locus can sometimes be made reachable with a controller zero. For a unity-feedback plant \(P(s)=1/[s(s+2)]\), take an ideal proportional–derivative compensator \(C(s)=K(s+z)\) with real \(K,z>0\). The locus condition \(1+C(s)P(s)=0\) becomes
For a desired nonreal pole \(s_d\), this ratio must be real and positive. This single complex constraint is equivalent to one phase and one magnitude condition.
Choose \(s_d=-3+4i\,\mathrm{s^{-1}}\), so the target characteristic polynomial is \(s^2+6s+25\). Coefficient matching is particularly transparent for this second-order plant: the characteristic polynomial is \(s^2+(2+K)s+Kz\). Equating coefficients gives \(K=4\) and \(z=6.25\,\mathrm{s^{-1}}\). Geometrically the zero at −6.25 supplies precisely the missing phase at the specified point. Substituting \(s_d\) in \(-s(s+2)/(s+6.25)\) recovers positive real gain 4, an independent check that this is the positive-gain branch.
The target pair has \(\omega_n=5\,\mathrm{rad/s}\) and \(\zeta=0.60\). The ideal controller contributes derivative gain 4 and proportional gain 25 in consistent normalised units. The closed-loop reference numerator contains the zero, so predicting exact overshoot requires the complete response even though the poles now match the design point.
Determine the consequence of giving differentiation a finite bandwidth
The ideal derivative gain grows without bound at high frequency. A real implementation can use \(C_f=25+4s/(1+s/20)\), placing a filter pole at −20 s⁻¹ on the derivative path. Combining terms gives
which shifts the controller zero to \(-25/5.25=-4.76\,\mathrm{s^{-1}}\). The characteristic equation of the actual loop is
The target point no longer satisfies it: inserting \(-3+4i\) gives \(28+96i\), a nonzero residual in the monic characteristic polynomial. The implementation remains stable by the cubic Routh test because all coefficients are positive and \(22(145)>500\), but its exact transient differs. The high-frequency controller gain approaches \(25+4(20)=105\), now finite and directly relevant when estimating actuator activity from encoder noise. Placing the filter much farther left reduces the difference near the designed poles while increasing this asymptotic noise gain. A design specification with both pole placement and an allowable actuator-noise level must therefore include the filter during synthesis rather than adding it only in software.
A reference ramp distinguishes this controller from a high static-gain proportional loop that happens to yield similar dominant poles. With unity feedback and plant integrator, the ramp error to \(r(t)=vt\) tends to \(v/K_v\) provided the closed loop is stable, where \(K_v=\lim_{s\to0}s C(s)P(s)\). Both ideal and filtered designs have \(C(0)=25\), giving \(K_v=25/2=12.5\,\mathrm{s^{-1}}\). A 5 mm/s position ramp therefore leaves a 0.40 mm asymptotic tracking error. Moving the derivative filter changes fast behaviour while leaving this low-frequency comparison unchanged. If a much smaller ramp error is required, speed feedforward or additional low-frequency loop gain must be assessed separately; the selected complex poles by themselves do not establish that tracking specification.