Subsection 13.1.1 What Is Inside a Servomotor
Figure 13.1.1 shows what is inside a hobby servomotor like the one we’ll be using. There is a DC motor that is connected to a little circuit board, which includes an H-bridge (the four-switch circuit from the motor chapter that can drive a motor in either direction). The motor shaft drives a gear train that reduces the speed by a large factor at the output shaft. A potentiometer is attached to that output shaft, and it gives you the angular position of the shaft. Corresponding to that angular position the potentiometer puts out a voltage, and that voltage is fed into the control circuit, which then adjusts the motor’s speed and direction through the H-bridge to align with the angular position that is currently being commanded of the servo.
Why all the gears? Power is the product of torque and angular velocity. Through the gear train the speed going in is much higher than the speed going out. Since power is (except for friction) preserved, \(\tau_\text{in}\, \omega_\text{in} \approx \tau_\text{out}\, \omega_\text{out}\text{,}\) the torque going out is much higher than the torque going in. The input is high speed and low torque, and the output is low speed and high torque.

