▲Wirig Diagram Hot
▲ ▲ ▼

Rotate through Rotary Encoder Output Types: A Comprehensive Guide

By

Rotary encoders are versatile sensors widely used in various industries, including machinery, robotics, and automation, to measure angular position or motion. Central to their functionality is the output signal they generate, which can be tailored to suit different system requirements. Understanding the different rotary encoder output types is crucial in employing these sensors effectively.

The primary purpose of a rotary encoder is to convert the mechanical motion of an axis into digital signals that can be processed by a computer or control system. These digital outputs vary in type and format, offering distinct advantages and applications. Let's delve into the key rotary encoder output types:

Incremental Output

Incremental encoders produce two square wave signals, Channel A and Channel B, typically 90 degrees out of phase. This arrangement allows for the determination of both direction and speed of rotation.

the diagram shows how an object is being used to produce light and sound in its surroundings
the diagram shows how an object is being used to produce light and sound in its surroundings
How Rotary Encoder Works
How Rotary Encoder Works
the diagram shows how to use rotary endcoder state chart
the diagram shows how to use rotary endcoder state chart

The primary benefit of incremental encoders is their simplicity and low cost. They are commonly used in applications where absolute position is not critical, such as in motion control systems. However, they require a reference point (home position) to reset in case of power loss or system reset.

Channel A & Channel B

Channel A and Channel B signals are essential for incremental encoders. The phase difference between these signals enables the control system to discern the direction and quantify the amount of shaft rotation.

Better Arduino Rotary Encoder Circuit
Better Arduino Rotary Encoder Circuit
Basics of Rotary Encoders: Overview and New Technologies
Basics of Rotary Encoders: Overview and New Technologies
the electronic components are connected to each other
the electronic components are connected to each other

The rising and falling edges of these signals generate pulses that can be measured and processed. For instance, a quadrature encoder (a type of incremental encoder) produces two pulses per revolution, allowing for high-resolution measurement.

Without Home Switch

Incremental encoders without a home switch are more cost-effective but lack the ability to determine the absolute position. This makes them more suitable for applications where the system can re-calibrate the home position after power loss or reset.

Absolute Output

Absolute encoders, on the other hand, provide a unique output code for each shaft position, allowing for the determination of absolute position at any moment. This is achieved using various code types or topologies, such as gray code or natural binary.

Rotary Encoder Pinout and its Working Principle
Rotary Encoder Pinout and its Working Principle
Simple Rotary Encoder Interface [Updated]
Simple Rotary Encoder Interface [Updated]
How to Use a Rotary Encoder
How to Use a Rotary Encoder
How Rotary Encoder Works: Understanding Types, Signals, and Applications | Moss and Fog
How Rotary Encoder Works: Understanding Types, Signals, and Applications | Moss and Fog
מודול מקודד דיגיטלי Huaxingfu לפיתוח ארדואינו פלט דיגיטלי פולס
מודול מקודד דיגיטלי Huaxingfu לפיתוח ארדואינו פלט דיגיטלי פולס
In-Depth: How Rotary Encoder Works and Interface It with Arduino
In-Depth: How Rotary Encoder Works and Interface It with Arduino

Absolute encoders are favored in applications where precise positioning and recalling the last known position after power loss is crucial, such as in CNC machines or robotic arms. However, they typically command a higher price than incremental encoders.

Gray Code

Gray code, also known as reflected binary, is a binary encoding system where successive values differ by only one bit. This characteristic reduces the chance of incorrect readings during rapid position changes, making it highly suitable for absolute encoders.

Gray code is often used in open-collector or open-emitter configurations, where the code is completed by connecting all the encoder outputs to a common voltage rail through pull-up resistors.

an electronic device is sitting on top of a green board with its lid open and circuit attached to it
an electronic device is sitting on top of a green board with its lid open and circuit attached to it
Absolute Rotary Encoders - Gordy Sensor
Absolute Rotary Encoders - Gordy Sensor

Natural Binary (Regular Binary)

Natural binary, or regular binary, is a standard binary coding system where each bit represents a power of 2. While it's simpler and more space-efficient, it's less robust than gray code during rapid position changes, as multiple bits can change simultaneously, potentially causing incorrect readings.

Natural binary encoding is typically used in absolute encoders with multiple output lines driven individually, rather than using a common voltage rail.

Special Output Types

In addition to incremental and absolute outputs, certain encoders offer specific output types tailored to unique applications:

SSI (Serial Synchronous Interface): SSI encoders provide a serial output, reducing the number of required wires and simplifying cabling. They are frequently used in long cable runs or in applications with space constraints, such as in robotics.

TTL (Transistor-Transistor Logic) & HTL (High-Thickness Logic): These output types determine the voltage level of the encoder outputs, affecting the compatibility with different control systems. TTL outputs typically have 0-5 V levels, while HTL offers 2.4-5.5 V levels, with increased noise immunity.

The optimal choice of rotary encoder output type depends on the specific requirements of the application, the precision needed, and the compatibility with the control system. Understanding the different output types is pivotal in making an informed decision when selecting or configuring rotary encoders.

The landscape of rotary encoder technology is vibrant and evolving, with consistent advancements in output types and other features. Keeping oneself updated with these developments ensures one can leverage the most effective and efficient solutions in any engineering or automation challenge.

💬 Comments ↗ Share ★ Save
AD