Dynamic Modeling & Simulation of a Self-Balancing Two-Wheeled Robot using Lagrangian Method, PID & LQR Control β MATLAB Simulink
π¦ Product Description
π― Simulate & stabilize your own two-wheeled robot!
This comprehensive simulation models a self-balancing robot (inverted pendulum on wheels) using Lagrangian dynamics and implements both PID and LQR control strategies in MATLAB Simulink.
From physical modeling to real-time control, this package is your complete guide to mastering dynamic systems and balance control!
π Whatβs Included:
-
β MATLAB Simulink (
.slx
) model β Fully editable & commented -
β Lagrangian-based dynamic modeling of a two-wheeled system
-
β Two control strategies: PID and LQR included
-
β Real-time visualization with robot animation
-
β Scopes for tracking: position, angle, velocity, input force
-
β Documentation & ReadMe for smooth setup
-
β All parameters & equations derived from physics
π‘ Key Features:
-
π§ Dual Control Logic: Switch between PID and LQR to understand control behavior
-
π οΈ Physics-based system modeled from first principles
-
π Full simulation visualization: angles, positions, velocities
-
βοΈ Easily modify system parameters or extend for research
-
π§© Ideal for real-world robotics, inverted pendulum demos, or academic control system studies
-
π₯ Includes tutorial video on how to run & customize the simulation
π§βπ Perfect For:
-
Control systems students & instructors
-
Robotics, mechatronics & mechanical engineering researchers
-
Final-year projects or simulation-based learning
-
Simulation enthusiasts exploring Simulink + Dynamics
π§ Built With:
-
MATLAB Simulink (no .m code execution required)
-
Lagrangian Modeling Approach
-
PID & LQR Control Design
-
Scope blocks for signal tracking
-
Realistic dynamic behavior
-
Optional extensions to add sensors, filters, or real-time tuning
π Files Included:
-
π
.slx
Simulink model file -
π Equations & parameters documentation (PPT)
-
πΊ Step-by-step tutorial video included
π¬ Need help?
Email: mregnineer294@gmail.com
π² Follow for more simulations & robotics projects:
π§ Email: mregnineer294@gmail.com
π· Instagram: @engrprogrammer2494
βΆοΈ YouTube: @engrprogrammer
Thanks again, and happy simulating!
β engrprogrammer π