Servo (radio control)

Micro servo.jpg or other actuators used for radio control and small-scale robotics.
 * alt=A small radio control servo. The plastic case is translucent, revealing the motor and electronics. On top a cross-shaped bellcrank lever provides the mechanical output]]

Most servos are rotary actuators although other types are available. Linear actuators are sometimes used, although it is more common to use a rotary actuator with a bellcrank and pushrod. Some types, originally used as sail winches for model yachting, can rotate continuously.

Construction
A typical servo consists of a small electric motor driving a train of reduction gears. A potentiometer is connected to the output shaft. Some simple electronics provide a closed-loop servomechanism.

Operation
The position of the output, measured by the potentiometer, is continually compared to the commanded position from the control (i.e., the radio control). Any difference gives rise to an error signal in the appropriate direction, which drives the electric motor either forwards or backwards, and moving the output shaft to the commanded position. When the servo reaches this position, the error signal reduces and then becomes zero, at which point the servo stops moving.

If the servo position changes from that commanded, whether this is because the command changes, or because the servo is mechanically pushed from its set position, the error signal will re-appear and cause the motor to restore the servo output shaft to the position needed.

Almost all modern servos are proportional servos, where this commanded position can be anywhere within the range of movement. Early servos, and a precursor device called an escapement, could only move to a limited number of set positions.

Connection
Radio control servos are connected through a standard three-wire connection: two wires for a DC power supply and one for control, carrying a pulse-width modulation (PWM) signal. Each servo has a separate connection and PWM signal from the radio control receiver. This signal is easily generated by simple electronics, or by microcontrollers such as the Arduino. This, together with their low cost, has led to their wide adoption for robotics and physical computing.

RC servos use a three-pin 0.1"-spacing jack (female) which mates to standard 0.025" square pins. The most common order is signal, +voltage, ground. The standard voltage is 4.8 V DC, however 6 V and 12 V is also used on a few servos. The control signal is a digital PWM signal with a 50 Hz frame rate. Within each 20 ms timeframe, an active-high digital pulse controls the position. The pulse nominally ranges from 1.0 ms to 2.0 ms with 1.5 ms always being center of range. Pulse widths outside this range can be used for "overtravel" - moving the servo beyond its normal range.

There are two general types of PWM. Each PWM defines a value that is used by the servo to determine its expected position. The first type is "absolute" and defines the value by the width of the active-high time pulse with an arbitrarily long period of low time. The second type is "relative" and defines the value by the percentage of time the control is active-high versus low-time. The "absolute" type allows up to eight servos to share one communication channel by multiplexing control signals using relatively simple electronics and is the basis of modern RC servos. The "relative" type is the more traditional usage of PWM whereby a simple low-pass filter converts a "relative" PWM signal into an analog voltage. The two types are both PWM because the servo responds to the width of the pulse. However, in the first case a servo may also be sensitive to pulse order.

The servo is controlled by three wires: ground, power, and control. The servo will move based on the pulses sent over the control wire, which set the angle of the actuator arm. The servo expects a pulse every 20 ms in order to gain correct information about the angle. The width of the servo pulse dictates the range of the servo's angular motion.

A servo pulse of 1.5 ms width will typically set the servo to its "neutral" position (typically half of the specified full range), a pulse of 1.0 ms will set it to 0°, and a pulse of 2.0 ms to 90° (for a 90° servo). The physical limits and timings of the servo hardware varies between brands and models, but a general servo's full angular motion will travel somewhere in the range of 90° – 180° and the neutral position (45° or 90°) is almost always at 1.5 ms. This is the "standard pulse servo mode" used by all hobby analog servos.

A hobby digital servo is controlled by the same "standard pulse servo mode" pulses as an analog servo. Some hobby digital servos can be set to another mode that allows a robot controller to read back the actual position of the servo shaft. Some hobby digital servos can optionally be set to another mode and "programmed", so it has the desired PID controller characteristics when it is later driven by a standard RC receiver.

RC servos are usually powered by the receiver, which in turn is powered by battery packs or an electronic speed controller (ESC) with an integrated or a separate battery eliminator circuit (BEC). Common battery packs are either NiCd, NiMH or lithium-ion polymer battery (LiPo) type. Voltage ratings vary, but most receivers are operated at 5 V or 6 V.

Mechanical specification
Manufacturers and distributors of hobby RC servos often use a specific shorthand notation of mechanical properties of the servos. Two figures are typically stated: angular speed of servo shaft rotation and mechanical torque produced on the shaft. Speed is expressed as a time interval that a servo requires in order to rotate the shaft through a 60° angle. Torque is expressed as weight that can be pulled up by the servo if it hangs from a pulley with a certain radius mounted on the shaft.

For example, if a servo model is described as "0.2 s / 2 kg", that should be interpreted as "This servo rotates the shaft for 60° in 0.2 seconds, and it is able to pull up a 2 kg weight using a 1 cm radius pulley". That is, that particular servo model rotates the shaft with the angular speed of (2π / 6) / 0.2 s = 5.2 rad/s while producing 2 kg × 9.81 m/s2 = 19.6 N force at 1 cm distance, i.e., it produces 19.6 N × 0.01 m = 0.196 Nm torque.

Although not in accordance with either the SI or Imperial unit system, the shorthand notation is in fact quite useful, as 60° shaft rotation commands, 1 cm long shaft cranks, as well as control rod "forces" in kilogram-force range are typical in hobby RC world.

Continuous-rotation servos
Continuous-rotation servos are servos that do not have a limited travel angle, instead they can rotate continuously. They can be thought of as a motor and gearbox with servo input controls. In such servos the input pulse results in a rotational speed, and the typical 1.5 ms center value is the stop position. A smaller value should turn the servo clockwise and a higher one counterclockwise.

Escapements
RCEscapement.png''. Like the device used in clocks, this escapement controls the release of stored energy from a spring or rubber band. Each signal from the transmitter operates a small solenoid that then allows a two- or four-lobed pawl to rotate. The pawl, like a clock, has two pallets so that the pawl can only rotate by one lobe's position, per signal pulse. This mechanism allows a simple keyed transmitter to give sequential control, i.e. selection between a number of defined positions at the model.
 * alt=Diagrams of the four steps for an escapement to move through]]

A typical four-lobe escapement used for rudder control is arranged so that the first and third positions are "straight ahead", with positions two and four as "left" and "right" rudder. A single pulse from the first straight-ahead position allows it to move to left, or three pulses would select right. A further single pulse returns to straight-ahead. Such a system is difficult to use, as it requires the operator to remember which position the escapement is in, and so whether the next turn requires one or three pulses from the current position. A development of this was the two-lobe pawl, where keying the transmitter continuously (and thus holding the solenoid pallet in place) could be used to select the turn positions with the same keying sequence, no matter what the previous position.

Escapements were low-powered, but light-weight. They were thus more popular for model aircraft than model boats. Where a transmitter and receiver had multiple control channels (e.g., a frequency-keyed reed receiver), then multiple escapements could be used together, one for each channel. Even with single channel radios, a sequence of escapements could sometimes be cascaded. Moving one escapement gave pulses that in turn drove a second, slower speed, escapement. Escapements were disappearing from radio control, in favour of servos, by the early 1970s.



The Graupner Kinematic escapement could be used for rudder and electric motor control with one channel. Short pulses for the motor; forward - stop - reverse - stop etc. and long pulses for the rudder; straight ahead - turn left - straight ahead - turn right - straight ahead etc.

Centrifugal fly-ball actuator
The fly-ball actuator was introduced to R/C modelling in 1951 by Brayton Paul, and consisted of an electric motor and a centrifugal governor connected to a free-running axis that could, with the motor running, pull a rudder control rod by varying degrees. Used with a keyed radio system, this allowed some control over the rudder position by varying the key push timing. The rudder would be pulled back by a spring when the motor speed decreased.