DMC-21x3 Accessories Chapter 14 DB-28104• 83
Layout
Figure 40 DB-28104 Dimensions
Overall Dimensions: 3.075” x 3.510”
Theory of Operation
Traditional quadrature rotary encoders work by having two sets of lines inscribed radially
around the circumference of an optical disk. A light is passed through each of these two sets of
lines. On the other side of the gratings, photo sensors detect the presence (or absence) of these
lines. These two sets of lines are offset from each other such that one leads the other by one
quarter of a complete cycle as shown in Figure 3 below. These signals are commonly referred
to as the Channels A and B. The direction of rotation of the encoder can be inferred by which of
the A and B signals leads the other. Each rising or falling edge indicates one quadrature count.
Thus for a complete cycle of the square wave there are a total of four encoder counts.