Sensor Sense: Rotary encoders for motors

Oct. 12, 2006
Constant-speed ac-induction motors don't really hold a constant speed.

Robert Repas
Associate Editor

In an optical encoder, an LED typically shines light through a code disk and mask to illuminate a photodetector assembly. The slots in the disk and mask form a shutter that passes or blocks the light beam as the code disk, attached to the motor shaft, turns with the motor. The photodetector outputs two squarewave signals that are 90° apart. The phase sequence of the signal indicates the direction of rotation while the period of the square wave is used to calculate rpm.


It's just that their speed varies least from no load to full load of all ac-induction motors. Other induction-motor types don't even come close to matching the speed regulation of these motors. Yet, ac-induction motors are widely used mechanical power sources because of their inexpensive yet rugged construction. When coupled with variable-frequency drives, they create a useful source of variable-speed power.

Many situations don't need exact control of motor speed. The difference between the frequency of the variablespeed drive and the motor rpm, called slip, is ignored. However, some situations require more-precise speed regulation. At those times a special sensor called an encoder is attached to the motor shaft to monitor rpm.

Encoders generate one or more series of pulse trains that feed to the motor-drive electronics. From these pulses, the drive determines motor rpm, direction of rotation, and even the amount of rotation far more accurately than old-style tachometer-generators.

The simplest encoder is the incremental style. Typically, it uses a slotted wheel placed between an LED light source and a phototransistor. As the wheel rotates, it alternately passes then blocks light shining on the phototransistor. The phototransistor turns on and off with the flashing light, creating the pulse output.

Encoders are rated by their pulses per revolution (PPR) — the number of pulses they generate per complete revolution of their shaft. A typical encoder generates 2,000 PPR. However, some can reach as high as 36,000 PPR. Motor rpm is found by measuring the time between pulses. Divide 60 by the product of the encoder PPR and the period of time between output pulses in seconds to determine rpm: rpm = 60/(PPR t).

Some encoders have a second phototransistor positioned so that it generates pulses 90° out-of-phase with the first. The two channels, typically labeled A and B, form a quadrature encoder because they generate four distinct quadrants for every pulse: A and B both low, A high with B low, A and B both high, and A low with B high. This boosts encoder resolution by a factor of four.

Quadrature encoding is also used to determine direction of rotation. For example, if channel A goes high, then channel B goes high, then the motor is turning clockwise. Alternately, if channel B goes high first followed by A, the motor is turning counterclockwise.

Turck Inc. (turck.com) provided information for this column.

About the Author

Robert Repas

Robert serves as Associate Editor - 6 years of service. B.S. Electrical Engineering, Cleveland State University.

Work experience: 18 years teaching electronics, industrial controls, and instrumentation systems at the Nord Advanced Technologies Center, Lorain County Community College. 5 years designing control systems for industrial and agricultural equipment. Primary editor for electrical and motion control.

Sponsored Recommendations

Flexible Power and Energy Systems for the Evolving Factory

Aug. 29, 2024
Exploring industrial drives, power supplies, and energy solutions to reduce peak power usage and installation costs, & to promote overall system efficiency

Timber Recanting with SEW-EURODRIVE!

Aug. 29, 2024
SEW-EURODRIVE's VFDs and gearmotors enhance timber resawing by delivering precise, efficient cuts while reducing equipment stress. Upgrade your sawmill to improve safety, yield...

Advancing Automation with Linear Motors and Electric Cylinders

Aug. 28, 2024
With SEW‑EURODRIVE, you get first-class linear motors for applications that require direct translational movement.

Gear Up for the Toughest Jobs!

Aug. 28, 2024
Check out SEW-EURODRIVEs heavy-duty gear units, built to power through mining, cement, and steel challenges with ease!

Voice your opinion!

To join the conversation, and become an exclusive member of Machine Design, create an account today!