Techniqueintro
State feedback
Also called full-state feedback, state-variable feedback.
Sets the input to u = -Kx + N r, a linear function of the measured state and the reference, which moves the closed-loop eigenvalues to those of A - BK.
State feedback is the basic design technique of state-space control. The plant is , , with , , and the whole state is measured. The control law is
with a gain , a reference and a feedforward gain . The closed loop is . Its dynamics are set by the eigenvalues of , and the designer chooses to put them where they should be. In discrete time the plant is with sampling period , and the closed-loop matrix is . Its eigenvalues must lie inside the unit circle (a Schur matrix) instead of in the open left half plane (a Hurwitz matrix).
In plain words
A controller that sees the whole state of a machine, such as both the position and the speed of a cart, can react to each part with its own weight. The input is a weighted sum of the measured state values. With the right weights, the machine settles as fast and as smoothly as the designer wants, at least on paper. The weights cannot move behavior that the input cannot reach. In practice the full state is rarely measured, so an observer often gives an estimate in its place.
When it applies
- Linear time-invariant model. The design uses and . For a nonlinear plant, use the linearization at an operating point; the result then holds only near that point.
- The state is available. Every state variable is measured, or an observer such as the Luenberger observer estimates it. The separation principle says that the eigenvalues of the combined loop are those of and those of the observer.
- Controllability. If is controllable, every set of eigenvalues that is closed under complex conjugation is the spectrum of for some real . This is the pole placement theorem. If is only stabilizable, the uncontrollable eigenvalues are stable but stay where they are. Otherwise no state feedback gives an asymptotically stable loop.
The template
- Write the model , , and check that is controllable, for example with the Kalman rank condition.
- Choose the closed-loop behavior. Either choose eigenvalues from specifications such as the settling time and the damping (see step response specifications), or choose weights and of a quadratic cost.
- Compute . For chosen eigenvalues this is the pole placement problem: use Ackermann's formula for one input and small , or robust pole placement for several inputs or larger . For a quadratic cost, use the infinite-horizon LQR.
- Choose so that the static gain from to is 1. For one input and one output, with Hurwitz,
The denominator is the static gain of the loop without . It is 0 exactly when the plant has a zero at , and then no exists.
- Check the result in simulation: the size of against the actuator limits, the effect of noise, and the effect of model error. If is constant but the model is not exact, does not remove the steady-state error. Add integral action for that.
Classic examples
Double integrator. , , , a mass with position and speed. With ,
For the eigenvalues the wanted polynomial is , so . Then , the static gain without is , and . The law is a PD controller on the position error .
A stable plant made faster. , , with eigenvalues and . The closed loop has . For the eigenvalues and , the polynomial is , so .
LQR as a check. For the double integrator with and , the algebraic Riccati equation has the solution , so . The closed loop has , with damping ratio . The gain comes from a cost, not from a list of eigenvalues, but it is still a state feedback.
A mode that does not move. , . Here has the eigenvalue 1 for every . The pair is not stabilizable, and no state feedback gives an asymptotically stable loop. If the first diagonal entry is instead, the pair is stabilizable but still not controllable: the eigenvalue stays, and only the second one moves.
Variations
- Pole placement and LQR. The two common ways to choose ; see above.
- Discrete time. The same template with . Putting all eigenvalues at 0 gives deadbeat control, which reaches the origin in at most steps.
- Integral action. Augment the state with the integral of the error, and design the feedback for the augmented system: state feedback with integral action.
- Observer-based feedback. Replace by an estimate from an observer. The separation principle keeps the eigenvalues; the robustness can change a lot. With noise models this is LQG control.
- Static output feedback. uses only the outputs. Its eigenvalues cannot in general be placed freely, and the problem is much harder.
- Two degrees of freedom. is the simplest feedforward. A two-degree-of-freedom design shapes the reference response separately from the feedback.
Pitfalls
- Zeros do not move. For one input and one output, the transfer function from to is , where is the numerator of and . State feedback changes the poles and keeps the zeros. A zero near a slow pole or in the right half plane still shapes the response.
- Fast poles cost input. Eigenvalues far to the left need large gains. The input then saturates, and noise in the measured state is amplified. A rule of thumb: do not move a pole much further than needed, and look at the input in simulation.
- N is not robust. The feedforward gain depends on the model. A small error in or can give a steady-state error for a step in , and a constant disturbance gives one too. Integral action removes it.
- Uncontrollable modes. No moves them. Check controllability first, and with a numerical rank test that is reliable; see the Kalman decomposition.
- Eigenvalues are not robustness. Two gains with the same eigenvalues can have very different sensitivity to model errors. With several inputs, use the freedom in as robust pole placement does.
Exercises
- For the double integrator, find for the eigenvalues and . (Answer: , so and .)
- Show that for one input and one output the zeros of are those of . (Hint: write and in controllable canonical form; changes only the last row of the matrix.)
- For , , and , compute . (Answer: the static gain of is , so .)
- The plant in discrete time with has and . Find the deadbeat gain. (Answer: , so .)
References
- Karl J. Åström and Richard M. Murray, Feedback Systems, An Introduction for Scientists and Engineers, second edition, Princeton University Press, 2021, Chapter 7, State Feedback (the sections Stabilization by State Feedback and State Feedback Design)
- Chi-Tsong Chen, Linear System Theory and Design, third edition, Oxford University Press, 1999, Section 8.2 (state feedback), Section 8.3 (regulation and tracking) and Section 8.6 (the multivariable case and the effect on transfer matrices)
- Gene F. Franklin, J. David Powell and Abbas Emami-Naeini, Feedback Control of Dynamic Systems, eighth edition, Pearson, 2019, Chapter 7, State-Space Design
- W. M. Wonham, On pole assignment in multi-input controllable linear systems, IEEE Transactions on Automatic Control 12(6), 660-665, 1967, the result that state feedback can assign every closed-loop spectrum if and only if the pair is controllable
Where this leads
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 01XZZ5 Edit this page History Report an error Markdown