The flexible shaft: damping a resonance
A shaft between motor and roll rings at 12 Hz. How fast can the roll speed be controlled, and what does it take to go faster?
The situation
A motor turns a heavy roll through a long shaft. The drive makes torque; encoders read the motor speed and the roll speed. The mechanical view shows a torque step with no controller: both speed up, with the shaft winding up and springing back at 11.6 Hz on top, barely damped.
Baseline: a PI on the roll speed
, s, about the most this loop takes. A 250 rpm speed change takes over a second, a 60 N·m load step pulls the roll down by 10 % of span, and the roll keeps ringing at the resonance throughout.
Why it can't go faster
In the control view, the plant from torque to roll speed has the resonance at 73 rad/s with nothing in front of it: a 40 dB peak and 180° more phase lag. The PI has to keep its gain at 73 rad/s well below 1, so it crosses over at about 1.5 rad/s, fifty times slower than the shaft. Double the gain and the loop goes unstable at the resonance. Auto-tune says the same: SIMC's tuning is unstable here and has to be slowed down 25×.
A notch filter on the PI
If the PI is all you can change, cut its gain at the resonance and nowhere else: a notch at 11.6 Hz, 20 dB deep and about an octave wide, on what the PI sees. The peak the PI had to stay under is gone, and the roll PI takes six times the gain (, s) with a gain margin of 12.9 dB (8.1 dB before). The load step now costs 1.9 % instead of 9.8 %, and the roll is back within 0.4 s.
The costs: the notch adds phase lag below its centre, so the speed steps overshoot by 15 % (4 % before). And it is tuned to one frequency. With the roll twice as heavy the resonance moves down to 10.8 Hz, still inside the notch, and the loop holds (17 % overshoot); a resonance that moves further walks out of it. The notch is in the PID's settings on the bench, under "Weights, filters, limits, anti-windup".
What drives do: cascade on the motor speed
Close a fast PI on the motor encoder (, s), and the roll loop around it. Seen from the motor the phase never drops below −180°, so the inner loop can be fast. Speed changes now settle in about a second and the load step costs 0.7 %. That is the standard answer, and with a notch filter at the resonance on the torque reference it is usually enough.
Its weak spot: the outer loop's margins are thin (Ms 2.7), because the roll still rings at the anti-resonance, where the motor barely moves and the inner loop can't see it.
State feedback: active damping
Feed back both speeds and the shaft twist, estimated by a Kalman filter from the two encoders together with the load torque. Pole placement puts the dominant pole at 40 rad/s and moves the resonance pair to at its own frequency: the controller supplies the damping the steel doesn't have.
Speed changes settle in 0.35 s, three times faster than this cascade, with the same load rejection (0.8 %) and better margins (Ms 1.5). With a roll twice as heavy, overshoot is under 4 %.
Verdict
A cascade on the motor speed, plus a notch filter if it rings, for most machines. State feedback with an observer where the torque has to stay smooth.
- The PI on the roll alone is hopeless: the resonance caps it at 1.5 rad/s. A notch at the resonance buys six times the gain, at the cost of overshoot and a resonance that mustn't move far.
- The cascade is what every drive offers: robust, understood, tuned by technicians.
- State feedback is three times faster than the cascade above, but that cascade is gently tuned: tuned as hard, it settles just as fast (see Compare controllers) with more than twice the torque activity. State feedback's edge is smoother torque, and it needs the drive train's model (both inertias, the stiffness) and someone who can maintain it. Drives that offer observer-based "active damping" have packaged exactly this.