03 / Derive the boundary
Does the error shrink?
A fixed point reproduces itself under an update. Without disturbance, x = R is a fixed point of the closed loop. Existence is not enough: a system can sit exactly at a fixed point yet move away after the smallest perturbation.
Stability means sufficiently small perturbations remain small. Asymptotic stability also requires them to decay to zero. Here, “convergent” means the latter. A persistent bounded oscillation is not convergence.
With current measurements and no disturbance, subtract the update from the target:
et+1 = R − [xt + g(R − xt)]
= (1 − g)et
et = (1 − g)te0
Each update multiplies the error by the same number. Its magnitude shrinks precisely when |1 − g| < 1, so 0 < g < 2. A negative multiplier flips the error’s sign. A magnitude greater than one makes it grow. This is the scalar form of the discrete-time root criterion. [2]
Worked example · Overshoot is not failure
At g = 1.5, the first command adds 15. The next error is −5, so the next command adds −7.5. Outputs are 0, 15, 7.5, 11.25, 9.375. Errors are 10, −5, 2.5, −1.25, 0.625. The magnitude halves each time.
One old reading changes the equation
With one update of measurement delay, the controller uses et−1. Now the state needs two errors, not one:
et+1 = et − g et−1
Characteristic equation: λ² − λ + g = 0
λ± = (1 ± √(1 − 4g)) / 2
λ (lambda) is a mode multiplier per update. If a root is complex, use its magnitude. Both roots must lie strictly inside the unit circle for convergence.
For this delayed model, the convergent interval is 0 < g < 1. At g = 1, the errors repeat 10, 0, −10, −10, 0, 10. At g = 1.5, the same gain that converged without delay now produces growing oscillations.
Show why the delayed limit is 1
For 0 < g < 1/4, both roots are real and between 0 and 1. At g = 1/4 there is a repeated root 1/2. The possible t(1/2)t term still decays.
For g > 1/4, the roots are conjugates. Their product is g, so each has magnitude √g. They decay when √g < 1, remain nondecaying at g = 1, and grow when g > 1. At g = 0, a root equals 1 and the controller does nothing.
The display’s “largest root magnitude” is a long-run diagnostic, not the error ratio at every step. Two modes can combine to create transient growth even when both eventually decay.
What changes with a persistent disturbance?
The plotted disturbance is a single impulse. If instead wt = w is added on every update, the no-delay equation becomes et+1 = (1 − g)et − w. In the stable gain interval its equilibrium error is e* = −w/g, generally not zero.
Stability and perfect tracking are different requirements. A stable proportional controller on this process rejects a one-off displacement, but a constant added increment leaves an offset. A different controller needs its own analysis.
Ask which error gets corrected, by how much, and when.