Feedback Control
Change the plant gain and compare how open-loop and closed-loop control respond to the same disturbance.
Open-loop vs. closed-loop, when the model is wrong
open-loop SSE —
closed-loop SSE —
open-loop RMS err —
closed-loop RMS err —
what to try
- Set Ktrue = 1.0 (the nominal value the controller was tuned for). Both traces hit 1. So far feedback looks redundant.
- Slide Ktrue away from 1.0. The open-loop trace drifts proportionally: its SSE follows the error in K. The closed-loop trace stays glued to 1 (or near it). Robustness.
- Kick the system mid-run. The open-loop controller has no way to notice. The closed-loop one fights back. Without disturbance, you could fake feedback's win with an accurate enough open-loop model. This is the experiment that proves you can't.
- Drop Kp very low (≈ 0.2). The closed-loop response becomes sluggish and underuses its feedback. Crank Kp very high, and it overshoots and oscillates. Two failure modes; the knob you found is the compromise.
What you are looking at
- Target
- The value both controllers try to reach.
- Open-loop trace
- The output from a controller using its original model.
- Closed-loop trace
- The output when the controller corrects using measurements.
Try this
- Move the true plant gain away from 1 to make the open-loop result miss its target.
- Apply the disturbance at six seconds and compare the two traces as feedback corrects the error.
Key idea
An open-loop command relies on its model. Feedback uses fresh measurements to correct errors caused by disturbances or a changing plant.