About:
|
Servo Motors Explained and Why They’re Useful in Robotics
Servo motors are used for robotic applications that require precision positioning. Before diving too deeply into the ways servos are used in robotics, it’s helpful to first learn about the basic function and form of these critical components of motion control.
What Is A Servo?
At its most elemental, a servo is a precise and powerful way of converting rotational motion into linear motion. A servo (or servo motor, as it’s sometimes known) consists of:
The Electronic Assembly, which consists of an AC or DC electric motor, a controller board, and a potentiometer.
The Case, which is the plastic housing for the motor and other components.
The Drive Gears, which reduce the motor’s high-speed output to a lower speed, higher torque servo output.
The Output Spline, which is attached to the output shaft and is the final interaction point between the servo and object of the motion it is creating. A good example is a servo in a remote-controlled airplane. The output spline of the servo might be attached via a control rod to a control surface such as an aileron or rudder. The motion of the servo would, therefore, cause an equivalent movement of the airplane itself.
How Does A Servo Work?
The servo receives a signal from a motion controller.
Depending on the pulse width modulation (PWM) of the input signal, the servo will rotate a certain amount. At rest, the output spline of a servo is usually at 0°. Based on an expected pulse frequency of 20 milliseconds (ms), a pulse width of 1.5ms will make the output spline rotate 90° in one direction. A pulse width of 2ms will make the output spline continue rotating 90° further to the 180° position. A pulse width of 1ms will make the output spline rotate 180° backward to the 0° starting position.
The potentiometer constantly monitors the position of the output spline. When the output spline reaches the desired position, the power to the motor is cut and the servo robot will hold that position until it receives a signal not to. While stopped in a given position, a servo motor will actively try to hold that position.
A key feature of servos is proportional operation. A servo motor will operate only as fast as it needs in order to rotate from its current position to its desired position. If a servo is stopped at the 180° position but needs to be at the 0° position, the motor will rotate very quickly to get there. If stopped at a position that is already closer to 0°, the motor will rotate much more slowly to get there.
How Are Servos Useful In Robotics?
Servo motors provide numerous benefits in I.M.M robotic applications. They are small, powerful, easily programmable, and accurate. Most importantly, though, they allow for near perfect repeatability of motion. They are used in robotic applications such as:
Robotic Welding: Servo motors are mounted in every joint of a robotic welding arm, actuating movement and adding dexterity.
Robotic Vehicles: Servos are used in the steering systems of the autonomous vehicles used to disarm and dispose of bombs.
The RC Servo or Hobby Servo has been used to move the control surfaces of Radio-Control (RC) model aircraft for many years. It has since become very popular for driving the limb joints of small humanoid robots, and when converted for continuous rotation, the wheels of mobile robots. However, some features optimal for aircraft control are less than ideal for industrial robots. First, let’s get the terminology straight:
The term Servo is short for Servomechanism, a device that uses internal feedback to ensure that its mechanical output follows an input control setting. That’s what I’m talking about here.
A servo motor is the source of motion in a servomechanism, in this case, a small PMDC motor.
A Servomotor is usually a PMDC motor optimised for use in a servomechanism, perhaps featuring rapid acceleration and built-in feedback sensors. They tend to cost a lot of money are definitely not found in hobby servos!
These definitions are important, particularly when searching for suitable devices on the Internet. Use the search term ‘rc servo’.
Position-Control Servo
This type of servo has a rotary output, but the shaft can only rotate a maximum of half a turn or 180°. With a lever called a ‘horn’ attached to the output shaft it can provide a linear push-pull action, hence its original purpose as an actuator for the flight controls of a model aircraft. Outwardly, all ‘standard’ size hobby servos look the same: a rectangular black plastic or alloy box with two sets of fixing lugs, a 3-wire flat cable connection with 0.1in pitch socket header, and a splined output shaft protruding from one side. The original standard size, for example
(781-3058)
designed for fairly large radio-control model aircraft with IC engines, now sits alongside more compact versions termed ‘Mini’, ‘Micro’ and ‘Sub-Micro’. For really heavy applications there are sizes even larger than the standard.
All analogue servos are controlled in the same way: angular position is encoded in a constant repetition rate (50Hz) pulse train where the width of a pulse carries the information. A pulse width of 1ms corresponds to maximum anticlockwise while 2ms turns the servo to the maximum clockwise position. It’s often assumed that a servo will turn through 180° with these numbers, but that is usually not the case (see later).
The Motor
This is usually incredibly weedy and cheap-looking because it has to fit into the case with a whole lot of other components. Fortunately, the gearbox which is necessary to reduce its rotational speed from about 6000rpm to an output in the region of 30rpm, also multiplies the torque available by the same factor.
The Geartrain
A lot of gears have to be crammed in to achieve a reduction factor of about 180:1. Of course, the output shaft cannot rotate more than half a turn, so datasheets normally describe servo speed in terms of how long it takes to turn by 60°. For example, a typical figure might be 0.15 secs/60°. That rapid movement could be a problem when using servos to drive the joints of a legged 4 axis robot, 5 axis robot, or 6 axis robot. It does tend to make it lurch about like a mechanical toy but is easily solved by ensuring that movement from one angle to another doesn’t take place in one go. Instead, incremental changes in the PWM signal are made, each separated by a short delay until the target angle is reached.
Torque
All RC servos will deliver an impressive amount of torque thanks to the gears - even the Minis and Micros. A standard ‘power’ servo can have a torque figure of around 170N.cm measured at a distance of 1cm along the servo horn. That means, in theory, the servo can hold a weight of over 17kg hanging 1cm away from the output shaft. In practice, a basic low-cost servo with nylon gears and no proper shaft bearings is unlikely to last very long if asked repeatedly to apply its theoretical maximum torque. Load up a servo too heavily and you will soon hear the crunching sound of stripping gear teeth. For robust applications, servo manufacturers make more expensive versions of their products with metal (brass) gears and ball-bearings on the output shaft. Metal gears certainly won’t break easily, but they will wear, ultimately rendering the servo inaccurate due to all the ‘slop’ in the geartrain. They also add to the overall weight, and the increase in geartrain inertia slows the servo’s response to a change. Nylon gears might break if mistreated, but wear is negligible. Servos with gears made from an enhanced plastic formulation called Karbonite are now available offering light-weight, high-strength and long-life – at a price.
For a robot project, it’s very important to select servos with a good margin of torque. I have a toy/educational robot arm driven by mini-servos that’s prone to emitting loud buzzing noises and thrashing about wildly. I’m pretty sure the motors are not up to the
|