Questions: Practical Control System Implementation Issues
5 questions to test your understanding
Score: 0 / 5
Question 1 Multiple Choice
A PID controller is carefully tuned in continuous-time simulation with 45° phase margin. When implemented digitally at a modest sample rate, the system becomes marginally stable with the same gains. What is the most likely cause?
ADigital controllers cannot implement integral action correctly, so the I-term loses effectiveness
BSampling and computational delay introduce additional phase lag that consumes the designed phase margin
CQuantization noise in the ADC saturates the actuator, causing the system to oscillate
DThe digital implementation changes the plant dynamics, shifting the gain crossover frequency
Each sampling period adds approximately one half-period of phase lag (equivalent to a time delay of T_s/2), and the ADC-compute-DAC pipeline adds further latency. These delays appear as additional phase lag in the open loop — they directly subtract from the designed phase margin. A controller designed with 45° margin may have only 15–20° after sampling delay is accounted for, pushing it near instability. The standard guideline is to sample at least 10× the closed-loop bandwidth and to explicitly model delay during design.
Question 2 Multiple Choice
A temperature control system with integral action shows consistent large overshoot every time it recovers from a period at maximum heater output. What is causing this behavior?
AThe proportional gain is too high, causing the system to overshoot before the integral can correct
BIntegrator windup: while the heater was saturated, error kept accumulating in the integrator, and this large stored value drives overshoot once the actuator comes out of saturation
CThe sensor has calibration drift from prolonged exposure to high temperatures, causing a persistent offset
DThe derivative term amplified sensor noise during the saturation period, creating a large spike on recovery
Integrator windup is the characteristic pattern: overshoot that appears specifically after a period of saturation. While the heater is at maximum and cannot respond to increasing error, the I-term keeps integrating. This stored value has no physical effect during saturation, but once the output approaches the setpoint and the actuator comes out of saturation, the large integral value drives the control output far above what's needed, causing overshoot. Anti-windup — either clamping the integrator or back-calculating it from actual actuator output — is the standard remedy.
Question 3 True / False
The derivative term of a PID controller should typically be applied to the process output rather than the error signal to avoid derivative kick.
TTrue
FFalse
Answer: True
Derivative kick occurs when a step change in setpoint creates an impulsively large derivative of the error signal (since the derivative of a step is theoretically infinite). If the D-term differentiates the error, a step setpoint change produces a very large, brief spike in the control output that can saturate or damage the actuator. Computing the derivative on the process output instead means setpoint steps don't cause a spike — the output changes smoothly — while the derivative still responds to deviations of the actual process from its current value.
Question 4 True / False
Increasing the sampling rate of a digital control system generally improves stability, so sampling as fast as hardware allows is generally the best approach.
TTrue
FFalse
Answer: False
While sampling too slowly is harmful (inadequate phase margin from delay), sampling far faster than the closed-loop bandwidth provides diminishing returns and introduces new problems: more ADC quantization steps within each sample amplify noise, the derivative term becomes excessively noise-sensitive at high rates, and computational word-length limitations cause coefficient quantization issues that can actually destabilize the controller. The engineering guideline is to sample at 10–20× the closed-loop bandwidth — fast enough to minimize delay-related phase loss, but not so fast that noise amplification and numerical precision become the binding constraints.
Question 5 Short Answer
Explain what integrator windup is and why it occurs — what specific combination of controller feature and physical constraint produces it?
Think about your answer, then reveal below.
Model answer: Integrator windup occurs when a PID controller's integral term accumulates error during a period when the actuator is saturated at its physical limit. Because the actuator can't deliver what the controller demands, the actual control action is clipped — but the integrator doesn't know this and keeps integrating. The stored integral value grows arbitrarily large. When the output eventually reaches the setpoint and the actuator leaves saturation, this large integral value drives a sustained over-correction, producing severe overshoot.
The anti-windup fix makes the integrator track reality: either freeze the integrator during saturation (so it stops accumulating) or back-calculate it from the difference between commanded and actual actuator output. The latter approach keeps the integrator at the value that would have been produced if the actuator had not been limited — so it's ready to contribute correctly as soon as saturation ends. This is why anti-windup is standard practice in any real PID implementation.