Preferred Wiring Methods for Optical Encoders

Following these guidelines will reduce the possibility of noise, false counts, ground loops, and other power related problems.

Keep Cable lengths as short as possible
The longer the cable length the more likely it is to act as an antenna and pick up unwanted noise. Keeping the lengths short reduces the possibility of this.

Keep the number of terminations to a minimum
Each time there is an interconnection made, whether it is a butt splice between two wires, or a wire runs to a terminal block, there is an increased chance of a poor connection. Reducing the number of connections in a cable/wire run reduces the chance for connection problems

Don’t wire in daisy chain fashion.
This will most commonly apply to the power supply rails, but is good practice overall. Instead of wiring through a device, wire from the source (Fig 1).  This reduces voltage drop across system components, and is a more reliable wiring method, as fewer items will drop out due to a wiring failure.


Do not run signal wires parallel to power wires
Avoid running lengths of signal wires, such as those coming from an encoder, along any high voltage or high current carrying wires. Noise from power wires can be coupled into the low signal cable. The deathblow is running signal wires in shielded conduit with power wires. Noise has no choice but to be coupled into the wires. Running the encoder wires outside of  the conduit is preferred to grouping it with high current carrying conductors inside conduit. If it is necessary to run signal and power wires together, the Preferred method is to run signal wires and power wires perpendicular to each other.

If you are running into a high impedance device, use a termination resistor.
A value of 120 Ohms to 1K Ohms is typical for a 5 Volt application.    In most instances noise has a very low current component. This means it will not have as much voltage  (which equates to signal) through a low impedance or resistance.  Since the line driver in the encoder is made to supply current, any noise loaded with a low resistance will disappear, but the line driver will still be able to deliver signal. In Differential applications, this resistor should go between the desired channel and it’s complement, I.E. A and A’. For single ended applications, this resistor should go between the desired channel and ground.

Use an encoder with differential outputs
Differential outputs greatly increases the ability of a system to handle noise. As opposed to one signal wire and one ground wire, differential outputs provide two signal wires with exactly opposite signals on each wire.  Any noise coupled into the system is common mode, or the same on both wires. Since a differential system is set up to look at only signals with exactly opposite voltage potentials, the noise component is rejected.  In a single ended system, the noise is indistinguishable from the real signal and cannot be rejected. (Fig 2.)


Make sure the power supply to the encoder is not creating noise.
Low quality power supplies, can pass enough 60 Hz ripple, or switching noise to cause problems.  If this is the case the use of filter capacitors at the power supply may help.  The specification for QDI Encoders is 2% ripple.

Ground the drain wire.
The drain or cable shield wire serves the function of routing any noise coupled to the cable foil shield to ground. Not using this wire means the drain will not carry the noise away.  It is particularly important when using a long cable length.   It is also important to keep in mind that the drain wire could unintentionally couple noise to the signal wires. Please note that the drain wire is not tied internally to the encoder body.

Quantum Devices Inc. is a leading manufacturer of optical rotary encoders their main website is at They can be contacted via e-mail at


About Quantum Devices Inc.
Quantum Devices, Inc. (QDI) Barneveld, WI, was established as a Wisconsin corporation in October 1989, as an outgrowth of activities in the general area of optoelectronics. The main goal of QDI is to provide customers with a complete source for all stages of product design and development, starting from concept to a marketable commodity. These products include application specific Silicon Photodiodes, Optical Encoders and Light Emitting Diodes (LED) for commercial, industrial and medical applications. QDI's photodiodes and LED's are used in instrumentation for photosynthesis and photobiological research, biomedical and medical instrumentation for measuring blood sugar levels (glucometer), oxyhemoglobin and pulse rate (pulse oxymeter). One of the most dramatic products developed at QDI was the application of LED lighting systems for use as the light source for Photodynamic Therapy (PDT). Sales of QDI products include both domestic and international markets. Quality and reliability are very important concepts in maintaining our company wide commitment to overall product performance. Quality simply means continuous process improvement. We are committed to continually increasing our product excellence through increased quality and reliability. Quantum Devices, Inc. is ISO 9001 certified and the ISO Standard will provide the guidance for the vital function of maintaining our commitment to constantly improve our product quality. Quantum Devices is now proud to introduce it's new line of rotary encoders. Incorporating QDI's patented sensor technology, our QPhase™ Family of Encoders feature high resolution, increased frequency response and superior reliability over temperature (0 to 120 degrees C). QDI incremental and absolute encoders set a new standard and are backed by a 2 year factory warranty. We invite you to request an evaluation unit, additional information or price quotations. Mission Statement Quantum Devices is dedicated to the principle that light provides the power for all life on earth. We believe the quality, delivery and control of light is essential to the wellness of man and his advancement into the future.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: