Modern Controls Lab
STATE SPACELQR, pole placement and MPC with a Kalman filter on nonlinear plants: the JSBSim X-15, a cart–pole, a quadrotor, a flexible spacecraft and the F-35
Plant
JSBSim's X-15 model with its pitch damper removed, so your controller flies the bare airframe. Trimmed in level flight under rocket thrust and linearised at 31 flight conditions from Mach 1 to 5 and 12 to 27 km; every one matches JSBSim's nonlinear response to within 8 %. The airframe is stable but barely damped, which is why the real X-15 needed a stability augmentation system. The elevator limits are the real ones, measured from the trim deflection, so nose-up authority shrinks as altitude rises.
Flight condition (trimmed in JSBSim)
Pitch stiffness Mα
1 × JSBSim
Elevator power Mδ
1 × JSBSim
Pitch damping Mq
1 × JSBSim
Pitch attitude change
0.05 rad
Controller
Controller rate
State weights Q: how much each error costs
q · airspeed change
1.00e-6
q · angle of attack
1
q · pitch angle
20
q · pitch rate
0.5
Input weights R: how much effort costs
r · elevator (from trim)
1
Sensors & estimation
Measured states (each with realistic noise)
State estimate
Disturbance & robustness
Disturbance: elevator upset (rad, 0.1 s)
0 ×
Parameter uncertainty
15 ± %
Closed loop (linear)
stable
JSBSim-model run
ok
Controllable
4 / 4
σmin/σmax 0
Observable
4 / 4
3 sensors
Settling (2 %)
0.58 s
overshoot 1.0 %
Peak input
0.173
saturated 0 % of the time
Input phase margin
73°
Cost J
0.0284
∫ eᵀQe + uᵀRu
Simulation (JSBSim X-15 model)
t 0 s
Pitch attitude change and elevator deflection from trim. Click a plot to scrub.
States: true (solid) and estimated (dashed)
airspeed change (m/s) · measured
angle of attack (rad)
pitch angle (rad) · measured
pitch rate (rad/s) · measured
Inputs (actuator commands)
elevator (from trim) (rad)
Pole map
× open loop
● with feedback
stable = left half-plane
Gains
K (u = uₑ − K (x̂ − xᵣ))
| V | al | th | q | |
|---|---|---|---|---|
| de | -3.92e-5 | -0.904 | 4.2 | 0.982 |
Robustness at the plant input (loop K(zI − A)⁻¹B)
Continuous LQR keeps this curve outside the green circle around −1: at least 60° of phase margin and gain margin from ½ to ∞. Pole placement gives no such promise.