Fundamentals / Mechanical engineering / Control engineering

Why a stable plant can initially move in the wrong direction

Two processes may act on a measured output at different speeds and with opposite signs. Their combined output can first fall after a positive command and later rise. Derive that transient and see why trying to cancel its zero creates an unstable internal state.

Build a right-half-plane zero from two stable responses

Let a unit input drive two stable first-order processes in parallel. A slow path has gain \(a>0\) and time constant \(T_s\); a fast path is subtracted, with gain \(b>0\) and time constant \(T_f<T_s\). The measured output transfer function is

\[G(s)={a\over1+sT_s}-{b\over1+sT_f}={(a-b)+(aT_f-bT_s)s\over(1+sT_s)(1+sT_f)}.\]

Choose \(a>b\) so the final step response is positive. Its initial slope is \(a/T_s-b/T_f\). When this slope is negative, \(bT_s>aT_f\), so the numerator has a real positive zero \(z=(a-b)/(bT_s-aT_f)\). Each storage process has a stable pole. The right-half-plane zero expresses the way their contributions are combined in the output.

Locate the undershoot without a numerical search

For a unit step apply each path's time-domain solution and subtract. Setting the time derivative to zero and taking logarithms gives the time of minimum.

\[y(t)=a(1-e^{-t/T_s})-b(1-e^{-t/T_f}),\]
\[t_{\min}={\ln[bT_s/(aT_f)]\over 1/T_f-1/T_s}.\]

For the inverse-response conditions this is positive. The steady value diagnosis alone would see only \(a-b\); a short test would reveal mostly the fast negative path. Identifying both requires measurements on both time scales. When the fast and slow slopes exactly match, the numerator loses its s term and the finite zero moves to infinity.

Read a time-domain constraint directly from the zero

For a bounded causal unit-step response \(Y(s)=G(s)/s\). At the zero \(Y(z)=0\), hence

\[\int_0^\infty e^{-zt}y(t)\,dt=0.\]

An output ultimately settling to a positive constant cannot stay positive at every time while obeying this weighted integral. A controller implementing the exact inverse \(1/G\) would have a pole at z and an exponentially growing response to small errors in its internal state. Shaping the command over a longer interval can reduce an undershoot without introducing that unstable inversion.

Two experiments with the same final reading

Take \(a=2,\ b=1,\ T_s=4\) s and \(T_f=0.50\) s. The zero is at \(1/3\) s⁻¹. The initial slope is \(0.5-2=-1.5\) s⁻¹ and the minimum occurs at 0.792 s. Evaluating the response gives about −0.435 before it ultimately reaches +1. This initial dip can look like a sensor wired with the wrong sign until the slow path has had time to act.

Lengthen the fast path to 1.5 s. The same final value +1 now accompanies a less negative initial slope of −0.167 s⁻¹. The zero moves to \(1/(4-3)=1\) s⁻¹ and the minimum occurs at 0.690 s with an undershoot about −0.052. Try moving the fast time constant through 2 s. Predict the initial slope and disappearance of the undershoot before examining the curves.

Increase the fast time constant through the equal-slope value of 2 s at the default gains. Predict the disappearance of the negative excursion. Reduce the subtracted gain and derive the new equal-slope condition before repeating the test.

Tutorial · infer a hidden fast time constant

A fitted slow path has \(a=2,\ T_s=4\) s. The steady step response is 1 and the measured initial slope is −0.75 s⁻¹. Infer b, \(T_f\), the zero position and the time of minimum.

Show the parameter recovery

The final reading gives

\[b=a-1=1.\]

The initial slope gives \(1/T_f=2/4+0.75=1.25\) s⁻¹, so \(T_f=0.80\) s. The zero is \(1/(4-1.6)=0.417\) s⁻¹ and \(t_{\min}=\ln(4/1.6)/(1.25-0.25)=0.916\) s. Combining a static observation with a dynamic one makes both path parameters identifiable in this ideal two-path model.

Further reading · Åström and Murray, Feedback Systems · chapter 14 on fundamental limits