This tutorial builds on the concepts laid out in the following instructional repository: icub-tech-iit/training-matlab-pendulum . In there, the pendulum is modelled and controlled by first writing down the governing equations, then by moving to the Simscape Multibody environment.
Here we enter in the multidomain field: we make the model more realistic by adding a DC motor and modeling the encoder noise characteristics.
Required applications:
- Matlab
- Simulink
Required toolboxes:
- Control System Toolbox
- Simscape (all domains)
- Simscape multibody
Tutorials:
- Approach the multidomain world by adding a voltage-controlled DC motor and a gearbox to control the pendulum.
- Digitize the controller, then add noise and quantization to the feedback to simulate encoder behavior.
With MATLAB you can design, simulate, and implement controllers for more complicated systems such as an inverted pendulum.