State-feedback control of a reaction-wheel inverted pendulum prototype
Rodrigo Henrique Silva de Souza, Jonatas Bernardino dos Santos, Luciano Diz da Silva, Ricardo Breganon, Uiliam Nelson Lendzion Tomaz Alves
Key points
From the paper's conclusion- We present a laboratory prototype built at the Industrial Automation and Control Laboratory of the Federal Institute of Education, Science and Technology of Paraná–IFPR (campus Jacarezinho).
Abstract
The Reaction-Wheel Inverted Pendulum (RWIP) is a nonlinear system with an unstable equilibrium point. This system is widely used for teaching and research in the control of dynamical systems. We present a laboratory prototype built at the Industrial Automation and Control Laboratory of the Federal Institute of Education, Science and Technology of Paraná–IFPR (campus Jacarezinho). The hardware consists of a rod mounted on a metal frame, a direct-current (DC) motor driving a reaction wheel, and a counterweight to reduce the required control torque. The control system uses an ESP32 interfaced with a computer running MATLAB/Simulink, with a 1 ms sampling period. Rod and motor shaft angles are measured with incremental encoders; derivative filters obtain angular velocities required for state feedback. The reaction-wheel motor is driven by an H-bridge receiving PWM (Pulse Width Modulation) signals from the ESP32. The dynamic model used to design the controllers was derived from Lagrange’s equations and coupled with the DC-motor dynamics, yielding a state-space model that was linearized about the upright equilibrium. Two full-state feedback controllers were designed and tested: (i) a pole-placement (state feedback) and (ii) a Linear-Quadratic Regulator (LQR). A simplified bang-bang energy-injection swing-up raises the pendulum from the downward equilibrium, and an angle-based switching law hands control over to the state-feedback law once the pendulum nears the upright region. Both controllers were evaluated in simulation and implemented experimentally on the prototype under the same disturbance scenario. Performance was assessed through time-domain plots and the integral of the absolute error (IAE), the integral of the squared error (ISE), and their time-weighted counterparts (ITAE and ITSE). Over the full response, including the swing-up maneuver, the two controllers perform comparably, with experimental index differences below 5 % . A repeatability campaign of fifteen runs per controller shows that the mean stabilization-phase indices of the two designs differ by 0.6 % to 1.4 % , against a run-to-run coefficient of variation of 5.6 % to 13.4 % , so the two controllers are equivalent in performance on this prototype. Across the sixty disturbance events of the campaign, all were rejected without loss of stabilization, with a largest angular excursion of 9.90 ° and using at most 5.78 V of the available 12 V. The work provides practical validation and a didactic comparison of state-feedback synthesis methods applied to the RWIP, serving as a platform for teaching and applied research.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Self-Balancing Tandem-Wheel Mobile Robotic System Using Differential Propeller Thrust for Active Roll StabilizationRobotics · 2026
- Experimental Comparison of PID, LQR-Based, and PDD2-LQR Control for Stationary Balancing of a Full-Scale Bicycle Robot Using a Scissored-Pair Control Moment GyroscopeEng · 2026
- Real-Time Integrated Speed Control of a DC Motor with Latency and Packet-Loss Resilient TelemetryEng · 2026
- Active Disturbance Rejection Control of Quadrotor UAVs Under Uncertainties and DisturbancesActuators · 2026
- Dynamic Modeling and LQR Control of a Single Coaxial Drone with 2DOF Thrust Vectoring MechanismarXiv · 2026
- Periodic Event‐Triggered Output Feedback Control for Strict‐Feedback Inherently Nonlinear SystemsInternational Journal of Robust and Nonlinear Control · 2026