Self balancing robot

Simulink model for an inverted pendulum (self balancing robot) with disturbance rejection.
120 Downloads
Updated 28 Feb 2025

View License

This simulink file models a self balancing robot with disturbance rejection.
Disturbances are in the form of a push force and tiny forces that mimics real life environment disturbance.
Double click on the disturbance block to enter the magnitude of the push force (positive or negative floating point number), enter the time the force is applied and the magnitude of the environmental disturbance.
The magnitude of the environmental disturbance should be kept at less than 3 (N) for results that mimic close to real life environmental disturbance.
Push force greater than 30(N) will throw the robot into instability.

Cite As

Nwaobasi Chukwuemeka (2025). Self balancing robot (https://uk.mathworks.com/matlabcentral/fileexchange/180261-self-balancing-robot), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0