Handin 4 - Connected Inverted Pendulums (LQG)
- Due Dec 12, 2024 by 11:59pm
- Points 10
- Submitting a file upload
- Attempts 0
- Allowed Attempts 1
Santa Claus is transporting two Christmas trees on a pair of spring-connected carts and needs some help with control design.
The inputs are forces on the two carts. The measured outputs are the cart positions and christmas tree angles. The system thus has two inputs and four outputs.
The system parameters correspond to 1m christmas trees mounted on
1 kg carts. Control signal
u=1 corresponds to a force of
10 N. A spring deflection of
0.1 m gives a spring force of
10 N (i.e.
k=100). There is also a small viscous friction. The mass of the christmas trees can be neglected.
Design specifications:
Design an LQG controller obtaining
- Stable, well-damped closed-loop system
Ms=‖(I+CP)−1‖∞<3
Mt=‖(I+CP)−1CP‖∞<3
- Settling time (to 10 % of peak) < 5 seconds for initial disturbances
x1(0)=0.05 m. Max input signal
|ui(t)|<1,for i=1,2
- Settling time (to 10 % of peak) < 5 seconds for initial disturbances
ϕ1(0)=0.05 rad. Max input signal
|ui(t)|<1,for i=1,2
- Integral action is not required.
It would be nice with better robustness margins, but it seems to be hard to get e.g. Mt < 1.5 without sacrificing other performance measures (try it if you have time).
Suggest a change of process parameters that would make better robustness margins feasible (pendulum lengths, cart masses, spring constant, viscous friction constant, ...?).
Submission
Submit your code and a small report including your analysis and your design procedure.
To help you get started we've supplied Santa's initial attempt pend.m
Download pend.m