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

How to Build Better Robotics with Integrated Actuators

July 17, 2024
Reese Abouelnasr, a Mechatronics Engineer with Harmonic Drive, answers a few questions about the latest developments in actuators and the design or engineering challenges these...

Crisis averted: How our AI-powered services helped prevent a factory fire

July 10, 2024
Discover how Schneider Electric's services helped a food and beverage manufacturer avoid a factory fire with AI-powered analytics.

Pumps Push the Boundaries of Low Temperature Technology

June 14, 2024
As an integral part of cryotechnology, KNF pumps facilitate scientific advances in cryostats, allowing them to push temperature boundaries and approach absolute zero.

The entire spectrum of drive technology

June 5, 2024
Read exciting stories about all aspects of maxon drive technology in our magazine.

Voice your opinion!

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