Fundamentals / Mechanical engineering / Control engineering

Why integral action rejects an unknown constant load

A motor regulates speed while an unknown torque is applied to its shaft. A proportional controller allows a steady speed offset. Add a state that remembers the offset and derive the complete load transient as well as its eventual rejection.

Find the equilibrium before tuning poles

Use \(J\dot y+by=u-d\), where y is angular speed, u is motor torque, and d is an opposing load. For \(u=K_p(r-y)\) at constant reference r and load d the steady speed is \((K_pr-d)/(b+K_p)\). With r=0 and a positive load the speed settles below zero in these deviation variables. A constant motor torque is needed to cancel the load, yet pure proportional control at zero error produces zero torque.

Introduce \(z' = r-y\) and \(u=K_p(r-y)+K_i z\). At any equilibrium the condition \(z'=0\) requires \(y=r\); the plant equation then requires

\[K_i z=br+d.\]

The controller state can store the torque needed at zero error. This reasoning assumes available actuator torque and closed-loop stability. If the actuator cannot supply \(br+d\), no such regulated equilibrium exists.

Place the poles and solve a disturbance step

Set r=0 and transform from initial equilibrium with zero deviations. Eliminating z gives

\[{Y(s)\over D(s)}={-s\over Js^2+(b+K_p)s+K_i},\]
\[K_i=J\omega_n^2,\]
\[K_p=2J\zeta\omega_n-b .\]

The numerator zero at s=0 removes constant disturbances in steady state. It follows from the integrator pole in the open loop. For a load step \(D=d_0/s\), the initial rate is \(-d_0/J\) regardless of gains because the feedback states have not had time to change. For a repeated real pole at \(-a\), inversion yields

\[y(t)=-{d_0\over J}\,t e^{-at},\]
\[t_{\rm peak}=1/a,\]
\[|y_{\rm peak}|={d_0\over Jea}.\]

A peak and recovery are expected even with exact final rejection. Increasing a improves that peak in the ideal model, at the price of higher control gains and possible sensitivity to sensor noise or actuator limits.

Quantify how a speed loop recovers

Let \(J=0.20\) kg m², \(b=0.50\) N m s/rad and choose \(a=4\) s⁻¹. The critical gains are \(K_p=1.10\) N m s/rad and \(K_i=3.20\) N m/rad. A step of 2 N m gives a peak deviation of −0.920 rad/s after 0.25 s. At 1 s it has recovered to −0.183 rad/s and ultimately reaches zero. The stored state supplies exactly 2 N m once speed has recovered.

With the same \(K_p\) but no integral action, the step gives \(y(t)=-2[1-e^{-(1.6/0.2)t}]/1.6\), tending to −1.25 rad/s. Its initial slope is also −10 rad/s². Use the two traces to identify an interval where a short measurement could make the controllers look similar, and compare their final speed offsets. For a disturbance of the opposite sign the curves reverse by linearity.

Double the pole rate and predict the new peak time and peak magnitude. Compare the very first slopes of PI and proportional-only responses. Which of the measurements could reveal increased bandwidth and which depends only on inertia?

A related OneSimulation calculation

Use the course first-order feedback study to measure how proportional gain changes the transient. Compare the trends with the proportional-only curve above before introducing the extra integral state.

Run the OneSimulation feedback comparison

Tutorial · pick poles from a peak-error specification

A 1.5 N m load step must produce at most 0.50 rad/s peak error with \(J=0.20\) kg m² and the same b. Choose the smallest critical pole rate meeting this condition and calculate the gains. What torque must remain available after the transient?

Show the bound and gains

Using the exact peak gives \(a\ge1.5/[0.20e(0.50)]=5.52\) s⁻¹. Thus \(K_i\simeq6.09\) and \(K_p\simeq1.71\) in the units above. The motor needs at least 1.5 N m of extra steady torque to reject the new load at the original speed. Pole placement alone cannot establish the available transient or steady torque margin.

Further reading · Åström and Murray, Feedback Systems · chapter 7, integral action