Introduction: A single-axis digital readout turns encoder pulses into a stable position number, and the electrical path from encoder to display decides how reliably that number tracks real machine movement.
On a shop floor, the interesting part is not just the display. It is how A/B quadrature signals carry count and direction, why TTL and RS-422 behave differently in a noisy cabinet or along a machine frame, and what a 250 kHz input rating really tells you. this guide follows the signal from the encoder head to the readout input and explains the choices that keep counts clean.
How A/B Quadrature Signals Carry Position and Direction
Quadrature is a simple idea with a very practical result. The encoder sends two square-wave channels, A and B, that sit 90 electrical degrees apart. When the axis moves one way, A leads B. When it moves the other way, B leads A. The readout does not need a separate direction wire or a command from the motion controller. It watches the order of the edges and decides whether to add or subtract from the position count. That is why A/B signals can express both distance and direction on the same pair of channels. The count usually comes from edges, not from whole cycles. A full quadrature cycle contains four usable transitions: A rising, B rising, A falling, and B falling. A readout that decodes all four edges gets four counts per encoder cycle, which is common x4 decoding. This increases resolution and also makes the input more sensitive to timing. If one edge is missed because of noise, the position count can jump. If an extra edge is created by electrical interference, the count can move without the axis moving. Clean edges matter as much as the encoder's mechanical accuracy. Direction decoding also explains why A and B must reach the readout as a matched pair. If one channel is delayed by a long, unbalanced cable or by a slow input filter, the phase relationship can shift. The readout may still see pulses, but it can interpret the lead-lag order incorrectly at certain speeds. A single-axis readout is not judging the machine's intent; it is reading electrical timing. Keeping the two channels on the same cable, with the same routing and similar loading, protects the phase information that carries direction.
TTL and RS-422 Differences in Industrial Signal Paths
TTL and RS-422 are often described as signal types, but the real difference is how each one carries information from encoder to readout. TTL is single-ended: each channel is a voltage measured against a common ground. RS-422 is differential: each signal travels on a pair, and the receiver reads the voltage difference between the two wires. Both can carry standard A/B quadrature signals. The choice changes how well the signal survives motors, pumps, contactors, and long cable runs in a machine shop.
1. Single-Ended TTL Is Sensitive to Ground Noise Along the Signal Path
A TTL encoder output typically switches between a logic low near 0 V and a logic high near 5 V. The readout compares that voltage to ground. In a clean bench setup, this works well. On a machine frame, the ground at the encoder end and the ground at the readout end may not sit at exactly the same potential. Motor cables, pump wiring, and variable-frequency drives can induce currents and voltage drops in the ground path. The readout then sees a shifting reference. A pulse that should be a clean high can look low, or noise can create a false transition. The result is missed counts, extra counts, or a position display that twitches while the axis is still.
2. Differential RS-422 Cancels Common-Mode Noise on Twisted Pairs
RS-422 avoids that single reference problem by sending each signal as a pair of complementary voltages. The receiver looks at the difference between the two wires, not at either wire against ground. Electrical noise from nearby motor or pump cables tends to couple into both wires in the same direction and with nearly the same strength. Because the receiver subtracts the two voltages, that common-mode noise largely cancels. The remaining differential signal stays readable even when the ground potential shifts. This is why machine electricians often choose RS-422 when an encoder cable must follow a frame past drives and contactors. Twisted-pair construction, correct termination, and sensible routing still matter, because differential transmission is a system, not just a signal label.
What 250 kHz Bandwidth Means for Counting Movement
Bandwidth is the input's ability to keep up with changing edges. A 250 kHz rating means the readout input can process A/B signal transitions at rates up to that published figure. It is not the same as resolution in microns. Cable distance is a separate installation question. It is a speed limit for the electrical signal. When an axis moves slowly, the edge rate is low, and almost any industrial readout input can count it. When an axis moves fast or the scale has a very fine pitch, the edge rate rises. The relationship between speed, resolution, and bandwidth is easy to underestimate. A fine scale produces more signal cycles per millimeter, so the same feed rate creates a higher edge frequency. A readout that decodes four edges per cycle sees an even faster stream of transitions. If that stream passes the input bandwidth, edges arrive too close together, and some counts are missed. The position number can then lag or jump instead of tracking the slide smoothly. For a single-axis readout, the useful question is not whether 250 kHz sounds high; it is whether the encoder's maximum edge rate stays inside the input's published range at the machine's fastest traverse. Digital filtering in the readout can help with short noise spikes, and timer-based quadrature interfaces are designed to count edges while rejecting glitches. Filtering has a tradeoff: a filter that is too aggressive can delay or hide real edges at high speed. That is why a bandwidth number and a filter setting should be read together. The input must be slow enough to reject shop noise but fast enough to follow the encoder. The Easson ES-19 accepts standard digital A/B quadrature signals from TTL or RS-422 sources and publishes a 250 kHz signal bandwidth for single-axis position readout. Treat 250 kHz as the signal bandwidth rating, while cable length, connector type, and routing remain installation choices to confirm for each machine.
Conclusion
In a single-axis digital readout, A/B quadrature signals carry both count and direction through the phase relationship of two channels. TTL keeps that signal simple and single-ended, which works well in short, clean wiring. RS-422 uses a differential pair and gives the signal a better chance in a machine-shop environment where grounds shift and motor cables radiate noise. The 250 kHz bandwidth rating is the input's speed limit for edges, so it should be matched to the encoder's real edge rate at maximum traverse. Technicians who understand these three points can read a specification sheet with more confidence and wire the encoder-to-readout path with fewer surprises.
FAQ
Q:How do A and B signals tell a digital readout which direction the axis moves?
A:A and B are 90 degrees out of phase. When A leads B, the readout counts in one direction; when B leads A, it counts in the opposite direction. The readout checks the order of rising and falling edges, so direction comes from the phase relationship rather than from a separate wire.
Q:What is the difference between TTL and RS-422 encoder signals?
A:TTL is single-ended, so each channel is measured against ground. RS-422 is differential, so each signal travels on a pair and the receiver measures the voltage difference. RS-422 is more resistant to ground shifts and common-mode noise over industrial cable runs; TTL is simpler and works well in short, clean wiring.
Q:Why does signal bandwidth matter in a single axis digital readout?
A:Bandwidth sets how fast the input can accept A/B signal transitions. A 250 kHz rating means the readout can process edges up to that published rate. If the encoder's edge rate exceeds it because of high speed or a very fine scale, counts can be missed, so the position display may lag or jump.
Sources / References
Texas Instruments: Interface Considerations for RS-422 and RS-485 in Industrial Systems
Microchip AN582: Basic Quadrature Decoding Using Microcontroller Peripherals
STMicroelectronics AN4943: STM32 Quadrature Encoder Interface Timer Application Note
Comments
Post a Comment