Inverted Pendulum Simscape Model and Controller design
This package can be used to teach modelling and control of an inverted pendulum. Simscape is used to simulate a physical model of an inverted pendulum. Control of the physical model increases engagement of students and provides a lab like experience during online learning.
The stabilisation of the inverted pendulum is demonstrated using a PID, observer-based feedback, and Linear Quadratic Gaussian controllers.
You can also compare the characteristics of the Simscape nonlinear model with a linearized state-space model which is used for controller design.
The input of the pendulum model is the armature voltage and the outputs are the encoder counts for the rotary arm and pendulum. The pdf files provides the details on the model of the pendulum. The package also contains two lab manuals which can be used to teach inverted pendulum simulation and control to students.
Run the Matlab code to initialise the model and controller parameters.
You need to have Simscape and Simscape Multibody to run the simulations.
Cita come
Muhammad Hamad Zaheer (2024). Inverted Pendulum Simscape Model and Controller design (https://www.mathworks.com/matlabcentral/fileexchange/84175-inverted-pendulum-simscape-model-and-controller-design), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0 |