Chapter 1 Motor and Motion Control Systems 45
The quadrature encoder is the most common
type of incremental encoder. Light from the
LED passing through the rotating code disk
and mask is “chopped” before it strikes the
photodetector assembly. The output signals
from the assembly are converted into two chan-
nels of square pulses (A and B) as shown in
Figure 1-36. The number of square pulses in
each channel is equal to the number of code
disk segments that pass the photodetectors as
the disk rotates, but the waveforms are 90º out
of phase. If, for example, the pulses in channel
A lead those in channel B, the disk is rotating
in a clockwise direction, but if the pulses in
channel A lag those in channel B lead, the disk
is rotating counterclockwise. By monitoring
both the number of pulses and the relative
phases of signals A and B, both position and
direction of rotation can be determined.
Many incremental quadrature encoders also
include a third output Z channel to obtain a
zero reference or index signal that occurs once
per revolution. This channel can be gated to the
A and B quadrature channels and used to trig-
ger certain events accurately within the system.
The signal can also be used to align the encoder
shaft to a mechanical reference.
Figure 1-35 Exploded view of an incremental optical rotary
encoder showing the stationary mask between the code wheel
and the photodetector assembly.
Figure 1-36 Channels A and B
provide bidirectional position
sensing. If channel A leads chan-
nel B, the direction is clockwise; if
channel B leads channel A, the
direction is counterclockwise.
Channel Z provides a zero refer-
ence for determining the number
of disk rotations.