A DC motor is the core of all momentum and reaction wheels. If you apply a voltage a, current will be produced which will cause the wheel to change speed. At the same time, the back electromotive force (EMF) will build up, eventually driving the motor torque to zero.

This is evident from the dynamical equation for a DC motor.
is the inertia,
is the torque constant,
the voltage,
the friction torque,
the motor impedance and
is the angular rate of the shaft.
You can turn this into a reaction wheel by adding current feedback as shown in the following block diagram.

is the forward gain. The input is the desired torque. This is divided by the torque constant to get the desired current. The difference between the motor current and the desired current is integrated. How do you pick the gain? If you work through the equations you will get this equation for the voltage,
is the time constant. The response is shown in the following plot. Even as the speed increases, the difference between the desired torque and motor torque is nearly zero.
