PROBLEM NO.
Building a quadrature direction detector circuit is easy, if you use a D-type flip-flop:
Analyze this circuit, and explain how it works.
The operation of this circuit is quite easy to understand if you draw a pulse diagram for it
and analyze the flip-flop’s output over time. When the encoder disk spins clockwise, the
Q output goes high; when counterclockwise, the Q goes low.
Follow-up question: comment on the notation used for this circuit’s output. What does
the label “CW /[CCW]” tell you, without having to analyze the circuit at all?
Notes:
Quadrature direction-detection circuits such as this become important when encoders
are linked to digital counter circuits. The complemented notation is also very common in
counter circuits.
Students may show a reluctance to draw a timing diagram when they approach this
problem, even when they realize the utility of such a diagram. Instead, many will try to
figure the circuit out just by looking at it. Note the emphasis on the word “try.” This
circuit is much more difficult to figure out without a timing diagram! Withhold your
explanation of this circuit until each student shows you a timing diagram for it.
Emphasize the fact that this step, although it consumes a bit of time, is actually a time-
saver in the end.