Fundamentals / Mechanical engineering / Control engineering

Separating reference tracking from disturbance rejection

A positioning or speed loop can reject a load well but follow a demanded trajectory poorly. Add a feedforward signal computed from the requested motion, and derive precisely how mismatch and command smoothness affect tracking.

Use a physical balance to predict the required input

Take a first-order plant \(J\dot y+by=u-d\) with positive inertia and drag. Suppose the commanded speed \(r(t)\) and its derivative are available from a trajectory generator. From the plant balance the model input that would exactly sustain \(y=r\) at zero disturbance is \(\widehat J\dot r+\widehat b r\), where hats indicate estimated parameters. Add ordinary proportional correction on the tracking error \(e=r-y\):

\[u=\widehat J\dot r+\widehat b r+K_pe,\]
\[J\dot e+(b+K_p)e=(J-\widehat J)\dot r+(b-\widehat b)r+d .\]

This error equation separates three causes of deviation. Feedback changes the decay rate and attenuates each forcing term. With exact parameters, zero disturbance and correct initial conditions, arbitrary differentiable trajectories are tracked exactly in this ideal model. A discontinuous step calls for an impulse through the derivative term; a finite actuator cannot follow it. A generated smooth trajectory supplies a realizable alternative.

Background · Complementary sensitivity
\[T(s)=L(s)/[1+L(s)]\]

For the same feedback configuration S plus T is one. Measurement noise and plant-input disturbances reach the output on different paths.

Design a command with finite endpoint slopes

Move from zero to target R during an interval T with \(r=R(3s^2-2s^3)\), \(s=t/T\). It has zero velocity derivative at both ends and peak \(\dot r=1.5 R/T\) at the midpoint. Doubling T halves the inertial part of the nominal torque without changing the final drag torque. An acceleration or torque budget can therefore determine trajectory duration before feedback gains are selected. A sensor derivative of a noisy measured speed is unnecessary here because \(\dot r\) is computed from the commanded polynomial.

For a constant-slope segment \(r=vt\), suppose drag is estimated exactly and the load is zero. The mismatch forcing is \((J-\widehat J)v\). Away from segment transitions the settled tracking lag is \((J-\widehat J)v/(b+K_p)\). At a hold after the segment the mismatch forcing disappears, and this lag decays with time constant \(J/(b+K_p)\).

A tracking error that reveals the wrong inertia

Let \(J=0.20\), \(b=0.50\) and \(K_p=1.5\) in consistent SI units. The tracking time constant is 0.10 s. With \(\widehat J=0.15\), correct drag and a 4 rad/s² ramp, the lag approaches \(0.05(4)/2=0.10\) rad/s. After 0.30 s it reaches

\[0.10(1-e^{-3})=0.0950\,\mathrm{rad/s}.\]

A constant opposing load of 0.40 N m adds a steady 0.20 rad/s lag regardless of this inertia mismatch. Correcting feedforward inertia can improve tracking without changing load rejection.

For a cubic transition to 4 rad/s in 1 s, the midpoint has \(r=2\) rad/s and \(\dot r=6\) rad/s². The nominal motor torque at that instant is \(0.20(6)+0.50(2)=2.20\) N m. Repeating the move in 2 s reduces the midpoint request to 1.60 N m; the final torque remains 2.0 N m for both durations. The plot integrates the error equation, so it also captures lag while the slope changes.

Set estimated inertia equal to the actual 0.20 kg m² before changing move duration. Then halve the estimate and compare lag during acceleration and during the hold. Explain how shortening move duration tests the available torque separately from feedback damping.

Tutorial · distinguish drag bias from inertia bias

With no external load, a long constant-speed hold at 4 rad/s leaves a 0.10 rad/s lag. Use the same true b and tuned \(K_p\) to estimate \(\widehat b\). Can a measurement during this hold identify the feedforward inertia as well?

Show the identification argument

At constant reference \(\dot r=0\) and at equilibrium \(\dot e=0\). Thus \(0.10=(0.50-\widehat b)(4)/2\), giving \(\widehat b=0.45\) N m s/rad. The inertia term vanishes identically on this data segment. A segment with nonzero \(\dot r\), ideally repeated at opposite slopes at the same speed, supplies an independent observation of inertial mismatch.

Further reading · Åström and Murray, Feedback Systems · chapter 12, feedforward design