Reference Tracking and Optimal Control
English translation
Examine why reference error remains even with a stable controller, and compare tracking performance with control-input cost.
Before practice
01 Does a stable system necessarily track its reference exactly?
Description
Stability concerns responses to initial states and inputs, while steady-state reference error also depends on the gain along the input–output path.
02 What receives more emphasis when Q increases?
Description
Assign a higher cost to deviations of that state from its reference. Record output error and control input separately to examine the trade-off.
1. Choosing reference gain for reference tracking
Starting conditions
, , , , , x(0)=0.
Procedure
- Use and in turn to calculate unit-step responses on the same time axis. Record the responses and steady-state outputs side by side.
- For under , derive in terms of . Use to find satisfying , and show your calculations.
- Compare the directly calculated with the final values of both responses, and explain what the reference gain changed.
Results to retain
- Both step responses and steady-state values, and the equation used to obtain N.
Items to record and points to check
- N
-
- Steady-state value
-
- Closed-loop Pole
-
Points to check
- Do the directly calculated steady-state outputs match the final values of each simulation?
- Do closed-loop poles remain unchanged when N changes?
2. Trade-off between output error and input cost
Starting conditions
, , and . Use , .
Procedure
- Solve the CARE for each Q and calculate .
- Plot position and control input on the same time axis.
- Compare the integral of squared position error and the integral of squared input separately.
Results to retain
- Position and input plots and a comparison table of both integrals.
Items to record and points to check
- q
-
- K
-
- Position-error integral
-
- Input cost
-
Points to check
- Are both Q matrices positive definite, with ?
- Do all poles of have negative real parts?
3. Reference tracking with model error
Starting conditions
Design using nominal B, and change only the actual input gain to and . Use , , .
Procedure
- Find the poles and final step-response value for each actual model.
- Check whether N calculated from the nominal model also achieves the exact reference in every actual model.
- Distinguish the roles of reference-gain adjustment and integral-error feedback.
Results to retain
- Three response curves and a table of final values and errors.
Items to record and points to check
- Input gain
-
- Pole
-
- Final value
-
- Tracking error
-
Points to check
- Were both the feedback and reference terms multiplied by the actual B_actual?
- Did you check stability before calculating final values?
Official examples and data