Quadrature Encoder Overview

When industrial motion applications require detection of direction in addition to speed, quadrature encoders provide a reliable solution.

What is a quadrature encoder?

A quadrature encoder is an incremental encoder with 2 out-of-phase output channels used in many general automation applications where sensing the direction of movement is required. Each channel provides a specific number of equally spaced pulses per revolution (PPR) and the direction of motion is detected by the phase relationship of one channel leading or trailing the other channel.

Encoder Essentials White Paper

Encoder Mounting. How to Optimize the Life and Performance of Rotary Encoders

How does a Quadrature Encoder work?

The code disk inside a quadrature encoder contains two tracks usually denoted Channel A and Channel B. These tracks or channels are coded ninety electrical degrees out of phase, as indicated in the image below, and this is the key design element that will provide the quadrature encoder its functionality. In applications where direction sensing is required, a controller can determine direction of movement based on the phase relationship between Channels A and B. As illustrated in the example optical encoder figure below, when the encoder is rotating in a clockwise direction its signal will show Channel A leading Channel B, and the reverse will happen when the quadrature encoder rotates counterclockwise.

quadrature encoder A-B output channel diagram

Apart from direction, position can also be monitored with a quadrature encoder by producing another signal known as the “marker”, “index” or “Z channel”. This Z signal, produced once per complete revolution of the quadrature encoder, is often used to locate a specific position during a 360° revolution.

How and when to use a Quadrature Encoder

Quadrature encoders are used in bidirectional position sensing and length measuring applications. However, in some unidirectional start-stop applications, it is important to have bidirectional information (Channel A & B) even if reverse rotation of the shaft is not anticipated. An error in count could occur with a single-channel encoder due to machine vibration inherent in the system. For example, an error in count may occur with a single-channel encoder in a start/stop application if it mechanically stops rotating when the output waveform is in transition. As subsequent mechanical shaft vibration forces the output back and forth across the edge the counter will up-count with each transition, even though the system is virtually stopped. By utilizing a quadrature encoder, the counter monitors the transition in its relationship to the state of the opposite channel, and can generate reliable position information.

Encoder Essentials White Paper  Encoder Mounting. How to Optimize the Life and Performance of Rotary Encoders Download Now

Achieving higher resolution with Quadrature Encoders

When more resolution is needed, it is possible for the counter to count the leading and trailing edges of the quadrature encoder’s pulse train from one channel, which doubles (x2) the number of pulses per revolution. Counting both leading and trailing edges of both channels (A and B channels) of a quadrature encoder will quadruple (x4) the number of pulses per revolution. This technique is known as encoder and will depend on how the signal is decoded through the users drive, PLC or Controller.

As a result, 10,000 pulses per turn can be generated from a 2,500 PPR quadrature encoder. Typically with a Dynapar encoder, this 4x signal will be accurate to better than ±1 count. Likewise, 40,000 pulses can be generated from a 10,000 PPR quadrature encoder.

quadrature encoder pulse edge diagram

By triggering on the rising and falling edges of the pulse train, we can double or quadruple the counts per revolution from the same quadrature encoder disc.

This technique can be an effective way to increase resolution without changing the code disc. However, it requires a well-behaved square wave output for effective detection. Care should be taken with choice of output driver; particularly over long cable runs or in noisy environments. The accuracy of the quadrature encoder output should also be taken into account as this will also be multiplied by the encoding factor.

How to choose a Quadrature Encoder?

Like all encoders, choosing a quadrature encoder starts with your application. If your motor has a shaft, a shafted encoder with a coupler can be used. A hollow shaft encoder is another option mounted with the motor shaft going through the encoder for more accuracy. If your motor is used in a contaminated or dirty environment or you are using a large vector motor, a bearingless or magnetic encoder will provide the most reliable feedback.

H20 Quadrature Encoder ST56 Quadrature Encoder HS35R Quadrature Encoder

Find The Right Feedback Solution for Your Application

Use our selection tool to narrow down your search

Step 1: Select Feedback Type (Learn How to Choose)

Absolute Encoders

Incremental Encoders