What is an Encoder? Incremental vs Absolute

Very simply, an encoder reads movement and provides position feedback accordingly. In practice, an encoder converts motion to an electrical signal, and the signal is then sent to a control device in a motion control system like a PLC controller or even a simple counter.

An encoder will then send a feedback signal that we can use to determine the speed, direction, count, and position of the movement. The control device can use the feedback provided by the encoder to perform a particular function, for example:

  • In a printer, the feedback from the encoder commands the print head to print something at a specific position.
  • In an elevator, encoders tell the controller when the elevator has reached the correct floor in the correct position. The encoder will then send feedback to the elevator controller to ensure the doors will open perfectly level with the floor.
  • In a cutting application where precision is required, an encoder with a measuring wheel provides feedback on how much material has been fed so the control device knows when and where to cut

Why Do We Use Encoders?

The encoder is an essential device in any application that requires feedback information, and there are so many of these applications nowadays across virtually all industries.

Many applications now required feedback in speed, position, direction, or distance, and an encoder allows users and controllers to use the feedback for precise control.

Encoder applications are all around us, and below are just some of the countless examples available in our everyday lives:

  • Medical industry: encoders are used in medical scanners, microscopic, or nanoscopic motion control to operate automated pumps and devices.
  • Automotive industry: automotive manufacturing requires precise control, and encoders are used to control speed and position of various machines, such as, tracking vehicles, assembly machines and robotics.
  • Military: especially in positioning antennas.
  • Industrial applications: used in robotics, packaging, precision-cutting, labeling machines, machine tooling, and more.
  • Consumer electronics: printers and scanners used encoders, as well as other consumer electronic devices.

What Are The Types of Encoders?

We can actually differentiate encoders in several different ways:

1. Based on the position measured 

Based on the position measured, we can differentiate encoders into two types: linear and rotary. Linear encoders convert a linear position to electronic signals, and rotary encoders convert rotary positions to electronic signals.

Linear encoder 

A linear encoder can be a sensor, reading head, or transducer that is connected to a scale. Basically, it works by having the sensor reads the scale and then converts the position into an electrical signal.

Although linear encoders can use many different methods to perform the encoding function, the basic method is to use a magnetic sensor together with a magnetic scale to produce analog output (typically TTL).

The magnetic sensor passes along the magnetic scale and allows the sensor to detect the change in the magnetic field, which will then be converted as an electric signal.

Since this method detects changes in the magnetic field, it won’t be affected by the interference of light, dust, oil, and others.

Another common method is to use optical scanning for the encoding purpose, mainly by using photocells. The encoder’s scale will then transform the detected light beam as the scanning unit moves, which will produce sinusoidal wave outputs as the feedback.

Rotary encoder 

Rotary encoders— also called shaft encoders— convert angular positions of a motion of a shaft (or axle wheel) to output signals as feedback.

Rotary encoders are used in various applications where rotating motions are involved that also require control and/or monitoring via feedback. This includes many industrial control applications, the automated motion of photographic lenses, robotics movements, and so on.

Older computer mouse that involves trackballs also utilizes rotary encoders, as well as other applications.

There are many different methods for rotary encoders to work, but the four basic types are:

  • Mechanical: using a series of copper tracks etched onto the PCB. Contact brushes will sense these conductive areas to encode information. Also often called ‘conductive encoders’, they are relatively affordable but not very durable and prone to mechanical wear and tear.
  • Optical: using photodiodes and photocells to sense movement. Currently the most common technologies, but prone to dust and debris interferences.
  • Magnetic on-axis: using a 2-pole magnet rotating over the center of the motor shaft.
  • Magnetic off-axis: using a rubber-bonded ferrite magnet attached to a metal hub, allowing more versatility in design compared to the on-axis type. Also very durable, so they can work in harsher environments where optical rotary encoders would fail.

2. Based on forms/operation methods

Both linear and rotary encoders can be differentiated into two main types: absolute and incremental based on how they work. The main difference is that an absolute encoder will detect the absolute position of the encoder, while incremental encoders will only detect changes in movements.

Incremental Encoder

An incremental encoder has two output signals: A and B, which are quadrature-encoded. Meaning, when the encoder is moving at a constant velocity, each pulse has a 50% duty cycle with a square waveform, the A and B pulses have a 90-degree phase difference between them.

What is an Encoder - Incremental Encoder

The main advantage of using incremental encoders is that they can report position changes almost instantaneously, so it’s often used in applications with high-speed movements that require near real-time monitoring and/or control.

As discussed, the incremental encoder won’t detect the absolute position of the encoder, but only changes in position. We can, however, use an incremental encoder interface to determine the absolute position if necessary.

Absolute Encoder

An absolute encoder will detect the absolute position information of the encoder even when it has no power. In such cases, when power is restored, the position information of the encoder is available immediately.

Both absolute and incremental encoders use relatively similar technology, but an absolute encoder uses multiple bands to create a unique pattern on the disk to detect the exact position.

So, there’s no need to find the home or zero position after a loss of power. This is important in applications where we can’t always move the mechanism to a home position when there’s a power loss.

What is an Encoder - Absolute Encoder

Difference Between an Encoder and Resolver?

A resolver, in principle, also works by detects position and speed, to be more specific the angle and speed of its rotor. So, on the surface, a resolver and an encoder might seem similar in functionalities.

However, they are actually very different in terms of the principle of operations and design:

An encoder, in this case, a rotary encoder to be a more direct comparison with a resolver, determines an angle of rotation of its own shaft. On the other hand, a resolver detects the angle and displacement speed of its rotor.

While as discussed above, there are many different methods and technologies used to make encoders, the main parts of all types of encoders are quite similar. We’ll use the basic parts of a rotary optical encoder as an example:

  • Shaft, or bore, is the part of the encoder that rotates. It is connected to the disk and rotates equivalently with the disk.
  • Disk has photodiodes through which the beam of a source passes or does not pass into the receiver. This is how the shifting angle of the shaft is encoded.
  • Source and receiver, located on the opposite sides of the disk.
  • Electronic interface, receives and processes the information and transfers it to the control system.

On the other hand, a resolver has very different basic parts:

  • Stator, a fixed part of the resolver that is connected to the power source. The stator is also the location of the resolver’s primary and secondary winding. The primary winding of the stator induces current to the primary winding of the rotor in the form of a sinusoidal signal, so it is also often called Input Sin Signal. Secondary windings, on the other hand, receive feedback from the rotor winding.
  • Rotor, rotates according to the shaft.
  • RDC, resolver digital converter, connects the resolver to a controller or computer.

As a result of these differences in design, there are some key differences in performances and functionalities between the two:

Encoder Accuracy

Encoders are in general more accurate than resolvers. In encoders, the accuracy will vary according to the disk model, and the best optical encoders can detect up to 27-bit of data depth. In a resolver, accuracy is mainly determined by the number of poles on its stator.

Encoder Cost

Encoders are more complex to manufacture, so typically they are more expensive. The more accurate and durable the encoder is, the more expensive it will be. Resolvers, on the other hand, have a simpler design so they are typically cheaper.

It’s also much easier and cheaper to repair a broken resolver, with more accessible maintenance. However, you can’t use a resolver on its own, and you’ll need additional equipment with it.

Encoder Reliability 

Revolvers are generally more reliable and not prone to interference, so they can be used in extremely harsh conditions without issue. It is resistant to extreme temperatures, dust/debris pollutions, and vibrations.

Encoders, on the other hand, are very prone to interferences, and the most accurate encoders are even more prone to contamination, extreme temperatures, and other conditions.

Encoder Integration

Encoders can easily integrate themselves into various controllers and typically won’t need additional equipment.

Resolvers, on the other hand, work with an analog signal, and can’t directly integrate with increasingly popular digital systems. So, typically an additional converter is needed, which can add to the overall costs of the system.

Encoder Diversity 

There are only a few types of resolvers available on the market, and there are only two basic types based on operation principles: differential and receiver. On the other hand, there are various different types and variants of encoders, each with its unique measurement technologies and specific use cases.

Conclusion

We hope we’ve answered some of your questions with respect to what is an encoder, and have highlighted some of the differences between the various encoder types available. If you enjoyed this article and would like to become a member of the site, you can register here completely free.

If you enjoyed this article, consider checking out some of our other articles too: