How to Test Encoders With Oscilloscopes

By Ed Wagner

Oscilloscope showing a complex wave form.
i Stockbyte/Stockbyte/Getty Images

Encoders are common in electronics. They are electro-mechanical devices that perform many functions, which include setting the frequency in radios or altitudes and speed in aircraft instruments. Modern encoders are mostly optical while older ones are mechanical. Depending on the type, they may have serial or parallel data outputs. Serial data transmission is used where devices are widely separated, while parallel data is generally confined to local use.

Step 1

Connect the oscilloscope probe to one of the output bits of a parallel data encoder. Couple it for DC, 1 volt vertical deflection and set the time base as needed. As the encoder rotates, the data bit should change between 0 and 5 volts. Some very old systems used 0 and 7 volts but they're rare. Each bit may be connected to an integrated circuit that converts the parallel data to serial data -- a repeating series of pulses -- complete with address and control data for use by other devices on the system. Alternatively, parallel data may be sent to buffer amplifiers used for isolation and then sent on to devices on the same or nearby circuit boards.

Step 2

Connect the oscilloscope probe to the output of a serial data encoder. It may connect to a simple op-amp or a specialized integrated circuit dedicated to performing a more complex task. Like the parallel encoder, the display will show a voltage changing between 0 and 5 volts as the encoder rotates. A simple optical encoder merely indicates motion with pulses, but a quadrature encoder indicates both motion and direction, and an integrated circuit can interpret this data to render speed information too. If this were used to change radio frequencies, for instance, a slow rotation might cause the display to increment by 5 kHz, while a fast rotation may cause a 25 kHz increment.

Step 3

Watch the pulses coming from the output of the encoder as you rotate the selector. If the pulses do not change, the encoder has probably failed. Look for noise or intermittent operation -- from a mechanical encoder -- that may indicate dust or other contamination. Sometimes erratic operation occurs from an impact or bend in the encoder shaft. Pushing or pulling on the shaft while rotating may induce a failure also. A failed optical encoder cannot be repaired. Replacement is the only option.

×