Rigid Pendulum Control (MATLAB / Simulink)
180° in 0.33 stachometric feedback on the real system
Challenge
Control a rigid pendulum on a horizontal motor shaft. Gravity makes the load non-linear, and dry friction and amplifier calibration make the real system differ from the model.
Solution
Modelled the DC motor (AMAX32G, 500-pulse encoder) in Simulink, designed a speed PID and a feedback-linearising controller in simulation, then identified viscous and dry friction, inertia and gravity torque on the bench. Compared a position PID with a two-loop tachometric feedback (position and speed) on the real pendulum. Done in a pair with Timm Claverie.
Impact
The PID settled in 1.8 s in simulation but could not stabilise the real pendulum because of the gravity torque. The tachometric feedback reached the 180° setpoint in 0.33 s with a slight overshoot. Dry friction made the real speed 29% lower than the frictionless model, and the amplifier delivered 2.1 V instead of 2.0 V.