Encoder Selection Tips

May 26, 2020
To control motion on a machine or electromechanical system you need continuous positional feedback from the moving parts. That’s where encoders enter the picture. But how do you determine which one is best for the job?

Last year, Automation World examined the differences between accuracy, resolution, and precision in the encoder world. And while understanding the differences among these terms is important to understanding encoder function, it’s even more important to effectively determine the correct type of encoder for your application.

The core function of an encoder is to provide feedback to a controller on the position of moving parts in a machine or electromechanical system. “Encoders close the feedback loop and tell you exactly what a moving part in your system is doing,” said Neal Donowitz, COO, US Digital, a supplier of encoders.

Given the feedback role of encoders in a motion control system, Donowitz said the first decision in your encoder selection process should be based on the type of motion in your application.

“Linear motion occurs in a straight line—back and forth. Therefore, linear encoders are made to be used in applications like reporting the position of a forcer in a linear motor, or distance in digital calipers,” he said.

Rotary encoders are typically attached to a motor to report motor shaft position. Donowitz added that they can also be used “with anything that rotates. For example, they can report the angle of flaps on an airplane, or the angle of a robot’s arm.” 

The information from either type of encoder—linear or rotary—is used by a motion controller to calculate position, speed, distance, and direction.

Optical, Magnetic or Capacitive
Once the type of motion to be monitored in your system has been determined, the next step is determining which of the three types of encoders are best for the application—optical, magnetic or capacitive. 

The most commonly used encoder are optical encoders.“Inside these encoders is a disk with opaque and transparent areas, usually in a pattern of lines and windows,” said Donowitz. “An LED array shines light at the disk—the lines block the light and the windows let light pass through to a photo sensor on the other side. In most encoders, signals from the sensor are processed with onboard signal conditioning circuitry and are transmitted to the motion controller.”

Because optical encoders function best when nothing gets in the way of the light path, operation environments with high humidity, moisture or excessive dust can cause problems for optical encoders unless addressed by specialty packaging.

Magnetic encoders typically have a magnet attached to a rotating shaft so that a stationary sensor can detect the north-south field lines from the magnet and report the angle of the magnetic field as the shaft rotates.

Donowitz said that magnetic encoders are frequently used in humid, moist or dusty settings that can cause problems for optical encoders. However, because magnetic encoders can be sensitive to stray magnetic fields which might be coming from the motor, or even other encoders nearby, users may need to install magnetic shielding to block stray fields to isolate the encoder.

Capacitive encoders are the newest type of encoder technology. These encoders detect changes in capacitance and relate that change to position. “Inside the encoder, a transmitter sends a high frequency signal past a rotor to a receiver,” said Donowitz. “The rotor modulates the signal and the receiver translates the modulated signal, which is then sent to the motion controller.”

He explained that capacitive encoders draw less current than optical and magnetic encoders and perform well in environments with dust, moisture or condensation. However, the maximum speeds of capacitive encoders are “often less than optical encoders,” he noted.

Incremental, Absolute or Pseudo-Absolute
Understanding how encoders capture position data is one important decision factor. The other is in how encoders report the position information they collect.

According to Donowitz, there are two primary ways encoders report this information, with a third method being a hybrid approach to the two primary methods.

Incremental encoders report relative position, he said. “As the internal disk rotates or a linear strip moves, the encoder will transmit a high or low pulse for each increment of motion. Two output channels, often called Channel A and Channel B, are typically used to send signals to a motion controller. The channels are offset from each other by 90 electrical degrees—a phase difference known as quadrature—which allows the motion controller to determine direction of motion.”

Because the pulses transmitted by incremental encoders are simple to process, Donowitz said these encoders are recognized as being good choices for position and speed control. They are particularly effective at high speeds because they continuously stream output pulses. The main drawback for this type of encoder is that they will lose position information if power is lost or cycled.

As their name implies, absolute encoders report absolute position—even if power is cycled. “Every sector of the internal disk in an absolute encoder has a unique pattern,” said Donowitz. “Outputs from the encoder transmit information the controller can use to determine the exact position of the mechanical system. Many output types are available, including analog voltage variation, pulse width modulation, and serial communication interfaces.”

There are two types of absolute encoders: single-turn and multi-turn. Single-turn absolute encoders report position within one revolution of the encoder disk, while multi-turn absolute encoders also keep track of the total number of turns. Donowitz noted that multi-turn models need a battery backup, gears or other method to preserve position information if power is cycled.

He also pointed out that absolute encoders require internal circuitry that is “more complex than incremental encoders, which makes them more expensive.” Also, because absolute encoders don’t continuously stream their data like incremental encoders, they may not be well-suited for some high-speed applications.

Pseudo-absolute encoders, also known as incremental encoders with index, are basically incremental encoders with a third channel added, i.e., the index. “This gives them the ability to act like absolute encoders,” Donowitz said. “The index is a mark, located on its own band on the encoder disk or linear strip. The encoder is able to keep track of its location by how far it is from the index.”

However, this is only true as long as the power stays on. “If power fails or cycles, you will lose all position information,” Donowitz said. “Your system will need to perform a homing move to find the index position and start counting from that point.”

More to consider
Though much information about encoder selection can be determined from knowledge of how different encoder types work and how they transmit their data, there are still more factors to take into account. Some of these considerations include deciding between shafted, kit or hollow bore encoders; your system’s available power and speed of operation; and housing needs for the encoder based on the system’s operating environment.

To learn more about these encoder factors, as well as more information on the encoder capabilities described in this article, visit the U.S. Digital white paper, “How to Pick the Right Encoder for Your Next Project.”

About the Author

David Greenfield, editor in chief | Editor in Chief

David Greenfield joined Automation World in June 2011. Bringing a wealth of industry knowledge and media experience to his position, David’s contributions can be found in AW’s print and online editions and custom projects. Earlier in his career, David was Editorial Director of Design News at UBM Electronics, and prior to joining UBM, he was Editorial Director of Control Engineering at Reed Business Information, where he also worked on Manufacturing Business Technology as Publisher. 

Sponsored Recommendations

Put the Plant Floor in Your Pocket with Ignition Perspective

Build mobile-responsive HTML applications that run natively on any screen.

Ignition: Industrial-Strength System Security and Stability

Ignition is built on a solid, unified architecture and proven, industrial-grade security technology, which is why industrial organizations all over the world have been trusting...

Iron Foundry Gains Competitive Edge & Increases Efficiency with Innovative Technology

With help from Artek, Ferroloy implemented Ignition to digitally transform their disconnected foundry through efficient data collection and analysis while integrating the new ...

Empowering Data Center Growth: Leveraging Ignition for Scalability and Efficiency

Data center growth has exploded over the past decade. Initially driven by organizations moving their computer assets to the cloud, this trend has only accelerated. With the rise...