Fixed-Structure Quadratic Controller Tuning
How to optimize a quadratic closed-loop criterion when the controller architecture is prescribed: stability domain, Parseval and residue evaluation, Lyapunov cost equations, scalar derivation, parameter gradients, and why deleting LQR feedback paths is not optimal redesign.
LQR chooses any full-state gain allowed by its mathematical model. Fixed-structure tuning solves a different problem: the controller must keep a prescribed architecture—perhaps one gain, a PID, selected feedback channels, or a fixed-order compensator—and only its parameters may vary. That restriction usually destroys the Riccati closed form and makes the optimization nonconvex.
Problem statement #
Let a controller family be
and let the closed-loop state, output, and control generated by an initial condition or disturbance be , , and . A typical objective is
The admissible parameter set is not merely the box of knob limits. It must include internal closed-loop stability and any required properness, algebraic-loop, actuator, or implementation constraints:
If the loop is unstable and the response is not identically zero in its unstable modes, the infinite-horizon quadratic integral diverges. Assigning a finite numerical penalty to that case is an optimizer convention, not the original cost.
Static state feedback: evaluate cost with a Lyapunov equation #
For
define
and
If is Hurwitz, the cost from is
Let solve
Since
integration from zero to infinity gives
For a random initial condition with covariance
the expected cost is
This evaluates a candidate architecture exactly for the linear model without time simulation. It does not make the search over convex.
Frequency-domain evaluation #
For a stable causal signal with Fourier transform , Parseval's identity gives
For weighted multiple outputs, factor and , stack
and evaluate the energy of . This is the reliable core behind the KPI lecture's Parseval/determinant method.
If a scalar stable strictly proper transfer response is
with no poles on the imaginary axis, contour integration gives
For simple stable poles of ,
The residue expression, numerical frequency integration, and the Lyapunov equation are three representations of the same stable-response energy. Agreement among them is a strong implementation check.
Scalar gain: full analytic solution #
Consider
with and cost
The closed-loop state is
The stability domain is
Inside it,
Differentiate:
The stationary gains satisfy
The stabilizing root is
The other root lies outside the stability domain. In this one-state example the allowed static structure is already the unrestricted full-state structure, so the result agrees with scalar LQR. That coincidence disappears when feedback channels or controller order are restricted.
Parameter sensitivities #
Let satisfy
For parameter , differentiate the equation:
where
This is another Lyapunov equation. For deterministic ,
and for covariance ,
Adjoint Lyapunov formulas can compute the entire gradient with fewer matrix solves when is large. Regardless of method, derivatives are meaningful only inside one connected stable region; the cost tends to infinity at a generic stability boundary.
Dynamic fixed-order controllers #
For
augment plant and controller states:
The same Lyapunov construction applies to and the augmented quadratic output. The controller order and signal connections remain fixed while the matrix entries vary.
Why deleting LQR paths is not redesign #
Suppose unrestricted LQR gives , but only selected measurements are available. Setting unavailable columns of to zero changes the closed-loop matrix and cost without re-solving the constrained problem. In general,
where is the allowed sparsity or architecture set.
The 1977 STOL report describes path deletion as an engineering expedient and also notes that weight selection has no foolproof recipe. The durable procedure is:
- define the permitted controller structure explicitly;
- search only the stable admissible parameter region;
- evaluate the actual structured cost;
- inspect modes, eigenvectors, control effort, and robustness;
- verify the final controller against saturation, noise, uncertainty, and implementation dynamics.
Common failure modes #
- optimizing across unstable candidates while treating integration failure as a harmless number;
- confusing a quadratic penalty with physical energy;
- using a single initial condition that hides poorly controlled modes;
- accepting a local optimum without multiple starts or structural analysis;
- tuning continuous-time parameters and deploying them in a sampled controller without rediscretization;
- preserving the LQR label after imposing sparsity, order, or output-feedback restrictions.
Fixed-structure optimization is valuable because real controllers are structured. Its discipline is to make that restriction part of the mathematical problem rather than modifying an unrestricted solution after the fact.
Sources
- bookOptimal Control Methods: Lectures 2–6pdfnotes
- bookControl Methods for Aiding a Pilot During STOL Engine Failure Transientspdfnotes
- paperContributions to the Theory of Optimal Controlpdfnotes