A controller based on LQR and LQG techniques to obtain a suitable response with an optimal input for the gantry crane with two suspended masses. Controller design is validated by testing it against the non-linear model and simulating the response to initial conditions using Simulink
You need MATLAB & Simulink with SimMechanics workbench support. Preferrably a version later than 2015b.
git clone https://github.com/rishabh1b/GantryCraneController.git
- Launch MATLAB
- Change to the working directory
- First load the parameters in
param_final.mat
usingload('param_final.mat')
- Then run the file
finalProjectLQGwithIntegralAction.slx
to see the SimMechanics model in action.