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 π