Fundamentals / Mechanical engineering / Control engineering

Designing a lead network at a specified gain crossover

A loop is too lightly damped at the bandwidth needed for tracking. A lead network can supply positive phase over a frequency band. Locate the band mathematically, set its gain crossover deliberately and measure the accompanying high-frequency gain increase.

Build a lead element from one pole and one zero

Take \(C(s)=K(1+sT)/(1+sT/\alpha)\) with \(\alpha>1\). The zero occurs at \(1/T\) and the pole at the higher frequency \(\alpha/T\). Its phase contribution is \(\phi=\arctan(\omega T)-\arctan(\omega T/\alpha)\). At very low or very high frequency that phase tends to zero. Differentiate with respect to \(z=\omega T\) to locate the interior maximum:

\[{1\over1+z^2}-{1/\alpha\over1+z^2/\alpha^2}=0,\]
\[z=\sqrt{\alpha},\]
\[\sin\phi_{\max}={\alpha-1\over\alpha+1}.\]

The maximum occurs at the geometric mean of the zero and pole frequencies. At this same frequency the magnitude of the dynamic part is \(\sqrt\alpha\), obtained by substituting \(z^2=\alpha\) into \(\sqrt{(1+z^2)/(1+z^2/\alpha^2)}\). Thus positive phase comes with a magnitude change. Adding lead without resetting scalar K can move crossover to a frequency where the anticipated plant phase and lead are different.

Set the phase and magnitude at a common design point

For a stable minimum-phase design example with an open-loop integrator, take \(G(s)=1/[s(1+s)]\) and select \(\omega_c=2\) rad/s. Plant phase there is

\[-90^\circ-\arctan2=-153.43^\circ.\]

Choose 30° extra lead, giving nominal phase margin 56.57°. Invert the peak-phase relation and put the peak at the target frequency:

\[\alpha={1+\sin\phi_{\max}\over1-\sin\phi_{\max}},\]
\[T={\sqrt\alpha\over\omega_c},\]
\[K={1\over|G(i\omega_c)|\sqrt{\alpha}}.\]

A scalar-gain controller chosen for the same crossover would have \(K_P=1/|G(i\omega_c)|\) and margin only 26.57°. This comparison holds crossover fixed, so the phase advantage can be attributed to the compensator. The return ratio magnitude must still be checked away from crossover, especially for a plant with additional modes or delay.

Calculate the network and identify a robustness cost

For the 30° design \(\alpha=3,\ T=0.866\) s, giving zero and pole frequencies of 1.155 and 3.464 rad/s. Plant magnitude at 2 rad/s is \(1/(2\sqrt5)=0.2236\), so K=2.582. The high-frequency control gain tends to \(K\alpha=7.746\), while its low-frequency gain is 2.582. High-frequency measurement noise passed through a feedback controller can therefore induce larger actuator activity than a low-frequency calculation suggests. The actual noise transfer to the input must include the loop sensitivity.

Require a more aggressive 45° boost at the same crossover. Then \(\alpha=5.828,\ T=1.207\) s and \(K=1.852\). Margin becomes 71.57° and the high-frequency gain reaches 10.80. The larger boost also lowers the DC controller gain, which changes low-frequency disturbance attenuation in this plant. Comparing the two phase traces alongside their designed crossover avoids selecting a controller purely from its maximum phase number.

Keep crossover at 2 rad/s and increase the required phase from 30 to 45 degrees. Compare the high-frequency controller gains. Now fix lead and move crossover upward to inspect how plant phase can consume the added margin.

Tutorial · allow for a known delay

Return to the 30° design and insert a 0.10 s pure delay. Compute the remaining phase margin at 2 rad/s. What maximum additional delay is compatible with a required 40° margin? Why is there no gain crossover shift for this change?

Spend the phase reserve in radians

At crossover 0.10 s adds \(2(0.10)=0.20\) rad or 11.46° of phase lag. Margin falls to 45.11°. To retain 40° permits a further \((45.11-40)\pi/[180(2)]=0.0446\) s. Pure delay has unit magnitude at every frequency, so the designed crossover stays fixed. In contrast, adding a physical low-pass filter would change both gain and phase and require a fresh crossover calculation.

Further reading · Åström and Murray, Feedback Systems · chapter 12, feedback design by loop shaping

Study the full derivation

Sensitivity, bandwidth and the integral price of disturbance rejection · System dynamics, feedback and estimation

A regulator attenuates a slowly varying output load yet amplifies another disturbance at a higher frequency. Separate the paths by which reference, measurement noise and physical disturbance reach the recorded variable, then derive an integral identity that explains why a stable loop can redistribute sensitivity across frequency.