Techniquecore
Two-degree-of-freedom control
Also called 2DOF control, setpoint weighting.
A controller that treats the reference and the measured output by separate paths, so tracking and disturbance rejection are tuned apart.
A two-degree-of-freedom (2DOF) controller computes the input from the reference and the measured output by two different transfer functions, . A one-degree-of-freedom controller has , so it acts only on the error . The feedback part alone sets the closed-loop poles, the sensitivity function and the response to disturbances and noise. The part then shapes the response to the reference without changing any of those. Horowitz (1963) is the classic reference for the structure. The simplest form is set-point weighting in a PID controller: a weight on the reference in the proportional term.
In plain words
A normal controller looks only at the error, the difference between what you want and what you have. So a jump of the set point and a sudden disturbance look the same to it, and one tuning must serve both. Often a tuning that removes disturbances fast gives a large overshoot after a set-point step. A two-degree-of-freedom controller uses the set point and the measurement in different ways. The part that acts on the measurement is tuned for disturbances and robustness. The part that acts on the set point is then tuned for a smooth and fast set-point response. The second part changes nothing in how the loop reacts to disturbances, so the two jobs are tuned apart.
When it applies
- The loop must both track set-point changes and reject loads, and one tuning cannot do both well. This is common when the feedback is tuned for load rejection.
- Set-point steps cause large kicks of the input or a large overshoot.
- A model of the plant is available for a reference model and a feedforward term, or only a PID controller is available and set-point weights are the tool.
The template
- Design the feedback for disturbance rejection, noise and robustness, for example by loop shaping or a PID tuning rule.
- Choose the reference path. Common forms:
- Set-point weighting in PID: , with and usually .
- Prefilter: .
- Reference model and feedforward: , with a desired response .
- Keep the integral on the true error. The integral term must act on , so that the steady-state error is zero for every choice of the reference path.
- Tune the reference path with the feedback fixed: lower , or a slower or , gives less overshoot and a smaller kick of .
Why it works (theorems). With a load at the plant input, and ,
The denominator and the map from contain only , so the closed-loop poles, the internal stability and the load response do not depend on (when is BIBO stable, or when and share one integrator, as in the PID form). For the PI controller with weight ,
which equals 1 at . So the weight acts as a prefilter that moves the controller zero from to , and the steady-state error to a step is zero for every . For the reference model form with an exact model, and the feedback sees no error.
Classic examples
A PI controller on three lags. Let and the PI controller , from the loop shaping page (a phase margin of 60 degrees). Measured with a simulation step of 0.01 s, for a unit set-point step and, separately, a unit load step at the plant input:
| weight | overshoot | settling time (2 percent) | time to 90 percent | IAE of the set-point step |
|---|---|---|---|---|
| 0 | 0 | 24.64 s | 14.97 s | 7.176 |
| 0.5 | 0 | 21.89 s | 11.88 s | 4.941 |
| 1 | 0.043 | 16.11 s | 2.89 s | 2.781 |
The load response is the same for all three values of : the peak of is 0.43861, and the integral of the error is 2.6996, which matches the theorem to the accuracy of the simulation. On this plant gives the fastest set-point response with a small overshoot. A low removes the kick of at the step: , which is 1.656 for and 0 for . The example shows that the weight changes only the set-point response; whether a low helps depends on the feedback tuning.
Reference model with feedforward. For and , the feedforward is , and the output follows exactly when the model is exact. A unit step gives , so the desired response must respect the actuator limits.
Variations
- Set-point weights and in the PID controller: (derivative on the measurement) is the usual choice and avoids a derivative kick.
- Prefilter on the reference, of any order, with .
- Feedforward with a reference model, as in the template; it needs proper and BIBO stable, so must keep the delay and the zeros of in the right half-plane. See feedforward control.
- IMC with two filters. In internal model control use one filter for the reference and another for the disturbance.
- Reference shaping. Ramp or filter the set point, or use a reference governor to respect constraints.
- Quantitative feedback theory. Horowitz's design method uses the two degrees of freedom to meet bounds on the response for a set of plants.
Pitfalls
- Integral on the weighted error. If the integral acts on , the steady-state error is not zero for . The integral must act on .
- Expecting better disturbance rejection. The reference path cannot improve the response to loads or noise; only can.
- Bumps at mode changes. A change of during operation changes at once. Change the weights with the integral adjusted, as for bumpless transfer.
- Saturation. A fast or a large makes large right after a step. Then the actuator saturates; see anti-windup.
- Model error in the feedforward form. With a model error, the feedback sees and corrects it; the response is then between and the one-degree-of-freedom response.
Exercises
- Give the prefilter that is equivalent to the weight in a PI controller. (Answer: .)
- Show that the load response does not depend on . (Answer: and does not contain .)
- Show that the steady-state error to a step is zero for every . (Answer: as , so when the loop has integral action.)
- In the example, what is the jump of at a unit set-point step for ? (Answer: .)
- What is for and ? (Answer: the ratio of the leading coefficients, .)
References
- Isaac M. Horowitz, Synthesis of Feedback Systems, Academic Press, 1963, the whole book (the two-degree-of-freedom structure)
- Karl Johan Åström and Tore Hägglund, Advanced PID Control, ISA, 2006, Chapter 3, PID Control (set-point weighting)
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag Q6KE5W Edit this page History Report an error Markdown