Control Engineering Basics

Positional PI control is implemented on a microcontroller, with the duty cycle of a PWM signal (0 to 100%) as the manipulated variable. Which of the following is a correct countermeasure against integral windup?

  1. AWhile the output is saturated, increase the proportional gain to get out of saturation sooner
  2. BIf the integral term is calculated in floating point no overflow occurs, so no special measure is needed
  3. CWhile the output is saturated, stop integrating if the error would deepen the saturation, or feed the difference from the limited value back into the integrator, to hold down the integral
Show answer and explanation

Answer: C. While the output is saturated, stop integrating if the error would deepen the saturation, or feed the difference from the limited value back into the integrator, to hold down the integral

The first method is conditional integration (clamping): while the output is saturated and the error would deepen the saturation, the integral is not updated. The second is back-calculation: the difference between the value calculated before limiting and the value actually output is multiplied by a coefficient and fed back into the integrator to pull the integral back. In the velocity form of PID control, which calculates the change in the manipulated variable, simply limiting the output makes windup unlikely. When calculating in integer fixed point, overflow of the integral variable itself must also be guarded against, for example with saturating arithmetic.

  • A. Raising the proportional gain does not reduce the accumulated integral, so it is not a real fix.
  • B. Windup is a different phenomenon from overflow; even in floating point the integral grows too large and causes overshoot.
  • C. Correct. Conditional integration and back-calculation are the typical methods.
Practice this topic Back to topic

Related calculators

Books on Control Engineering Basics Ad

As an Amazon Associate I earn from qualifying purchases.

More Control Engineering Basics questions

  1. A digital PI controller with a sampling period Ts = 1 ms calculates the integral with the rectangular approximation Σe·Ts. With an integral gain Ki = 10 s⁻¹, which of the following is the increase in the integral term when an error e = 0.2 lasts for 50 samples?
  2. In digital control with a sampling period Ts = 1 ms, the zero-order hold of the D/A conversion acts as a time delay of about Ts/2. With a gain crossover frequency of 100 Hz, which of the following is closest to the phase lag caused by this delay?
  3. A continuous-time first-order system with its pole at s = −100 s⁻¹ is discretized with a sampling period Ts = 1 ms. Which of the following is closest to the discrete-time pole given by the relation z = e^(sTs)?
  4. A motor is controlled with cascade control, with a current (torque) loop inside and a speed loop outside. Which of the following is the correct design approach?
  5. The output-voltage feedback loop of a buck DC-DC converter with a switching frequency of 500 kHz is being designed. Which of the following is the usual guideline for choosing the gain crossover frequency?

Comparisons in this topic