Skip to main content
Sandbox Physics

Control & mechanics · Momentum storage

Reaction-Wheel Balance

Balance a pivoted rod by accelerating its flywheel. Change wheel radius, available torque or initial spin, and see why a stable rod can leave a fast-spinning rotor behind.

Interactive modelReaction-Wheel Balance
Tilt from upright00
Rod angular speed00
Delivered rotor torque00
Requested rotor torque00
Motor-relative wheel speed00
Absolute rotor angular momentum00
Signed motor work00
Maximum sampled work-balance residual00

Physics tutorial

A steady rod can hide a spinning wheel

BackgroundUpright is an unstable equilibrium. Feedback must use the actual motion and an actuator with finite authority.

Why it mattersFollow the apparatus, the requested actuation and the mechanical work as one experiment.

Start with the essentials

Focus question
Why can the pole balance while the rotor keeps its angular momentum?
One-sentence intuition
A motor applies equal and opposite torques. The rod can settle while angular momentum remains stored in the wheel; gravity supplies external torque about the pivot.

Core mathematical model

Body and rotor dynamics

Ibθ¨=Gsin⁡θ−τ,Jν˙=τ,ϕ˙=νI_b\ddot\theta=G\sin\theta-\tau,\qquad J\dot\nu=\tau,\qquad\dot\phi=\nu

The rotor angle and speed are absolute; the shaft sees the difference between rotor and rod speeds. Body inertia includes rod and wheel-center translation, excluding rotor axial spin.

Unsaturated angle feedback

τd=Gsin⁡θ+Ib(λ2θ+2λθ˙),θ¨+2λθ˙+λ2θ=0\tau_d=G\sin\theta+I_b(\lambda^2\theta+2\lambda\dot\theta),\qquad\ddot\theta+2\lambda\dot\theta+\lambda^2\theta=0

The second relation holds only while the motor delivers the requested torque in the active upright neighborhood.

Power at the relative shaft

E=12Ibθ˙2+12Jν2+G(cos⁡θ−1),E˙=τ(ν−θ˙)E=\tfrac12 I_b\dot\theta^2+\tfrac12J\nu^2+G(\cos\theta-1),\qquad\dot E=\tau(\nu-\dot\theta)

Motor work can be positive or negative. This is mechanical shaft work; electrical consumption and losses are omitted.

Common difficulties

Feedback is not unlimited

Typical misconceptionTurning feedback on guarantees recovery from every release.

Better mental modelCompare the limit presets. These are local balancing controllers with finite drive capacity, not swing-up algorithms.

Absolute and relative rotation

Typical misconceptionA steady rod means the flywheel has stopped.

Better mental modelRead the absolute rotor angular momentum and motor-relative speed separately.

Run the experiment

  1. 01

    Release

    Drag the gold initial-tilt handle, then play.

    What to observe: Follow the rod and signed motor demand.
  2. 02

    Find the limit

    Choose Low speed ceiling, then compare a larger wheel.

    What to observe: Look for separation between requested and delivered actuation.
  3. 03

    Audit the energy

    Go to the end and export the record. Compare standard and fine integration.

    What to observe: Mechanical energy change follows signed motor work.

Primary theory: MIT · Cart-Pole · ETH Zürich · 1D reaction-wheel model, Section II

FeedbackSomething broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy