Self-Balancing Robot with Ball Balancing using PID & LQR in MATLAB Simulink
๐ฏ Master the Art of Advanced Control Systems!
This powerful simulation models a two-wheeled self-balancing robot with an added challenge โ balancing a ball on its top platform โ controlled using both PID and LQR techniques in MATLAB Simulink Simulink.
With real-time animation, complete Lagrangian modeling, and integrated controller comparison (PID vs. LQR), this package is perfect for control systems learners and researchers.
๐ Whatโs Included:
โ MATLAB Simscape model (.slx) with robot + ball balancing
โ Both PID and LQR controllers to test and compare performance
โ Real-time animation of robot and ball dynamics
โ Euler-Lagrange equations used for modeling
โ Scope outputs: Position, Angle, Velocities, and Input Forces
โ Step-by-step tutorial video included
โ SolidWorks-generated data used for model construction
โ No .m file needed โ only .slx, animation, and setup
โ๏ธ Technical Highlights:
๐ 2-in-1 System: Balance both robot and ball using coupled control
๐๏ธ Compare PID vs. LQR in one environment
๐ Based on nonlinear Lagrangian mechanics
๐ Real-time scope outputs for every key parameter
๐ง Easily tunable parameters and block structures
๐งฉ Best For:
Students in Robotics, Control Systems, Dynamics
Researchers exploring dual-control systems
Educators demonstrating LQR vs. PID behavior
Engineers building robot balancing prototypes
๐ Youโll Receive:
๐ฌ .slx MATLAB Simscape simulation file
๐ฅ Full tutorial video with instructions
๐ Documentation with dynamic equations
(No standalone .m file; all logic built into Simulink)
๐ง Control Strategy:
๐๏ธ PID: Classic proportional control approach
๐ง LQR: Optimal state-feedback control
๐ง Need Help?
Email: mregnineer294@gmail.com
๐ฒ Follow for More Projects:
๐ง Email: mregnineer294@gmail.com
๐ท Instagram: @engrprogrammer2494
โถ๏ธ YouTube: @engrprogrammer
Thanks for your support โ happy simulating!
โ engrprogrammer ๐