Jump to content

Wikipedia:VideoWiki/Incremental Encoder

From Wikipedia, the free encyclopedia
VideoWiki/Incremental Encoder (Tutorial)
File:En.Video-Incremental Encoder.webm
Link to Commons
Steps for video creation
Step 1Preview my changes (10 sec)
Step 2Upload to Commons (10 min)

Edit with VisualEditor

Introduction

[edit]

An, incremental encoder, is an electromechanical motion detector. It has two output signals, A and B, which issue pulses when the device moves.[1] Together, these signals indicate the direction of movement and distance traveled.


Types

[edit]

Incremental encoders are generally classified as either rotary or linear.


Linear type

[edit]

Linear encoders move along a linear path. Each output pulse corresponds to a constant, linear distance.


Rotary type

[edit]

In rotary encoders, movement consists of a shaft rotating about a central axis. Each output pulse corresponds to a constant angular change of the shaft.


Quadrature encoding

[edit]

The pulses are quadrature-encoded, meaning that when the encoder is moving at constant speed, the signals are square waves. with equal on and off times,


Phase difference

[edit]

and there is a 90 degree phase difference between the, A, and B signals.[2] The phase difference is positive or negative, depending on the direction of movement. For example,


Positive phase difference

[edit]

In this diagram, A, rises before B, so the phase difference is positive. However,


Negative phase difference

[edit]

when the encoder moves in the opposite direction, B rises before A, so the phase difference is negative. The direction of movement can be determined by measuring this phase difference.


Sensing method

[edit]

Incremental encoders employ various techniques to sense movement, and to generate pulses when movement is detected.


Optical encoders

[edit]

In optical encoders, light is shined on an optical detector such as these. As the encoder moves, the light is alternately blocked and allowed to pass through to the detector.


Example mechanism

[edit]

In the device shown here, the edge of a transparent disc passes between a light source and detector. As the disc rotates, the black bands on the disc block the light, whereas the gaps between the bands allow light to pass.


Pulse generation

[edit]

The optical detector will output pulses as the disc alternately blocks and passes light. The frequency of the optical interruptions is proportional to encoder speed.[1] Consequently, encoder speed can be determined by measuring the pulse frequency.


Quadrature generation

[edit]

An incremental encoder has two pulse generators, which are mechanically coupled to each other to produce synchronized, quadrature outputs.


Rotary encoder mechanism

[edit]

Rotary encoders typically use a single rotating disc which has two concentric optical interrupters, one for the A output and another for the B output. The patterns of the two interrupters are staggered to produce quadrature-encoded signals.


Linear encoder mechanism

[edit]

Linear incremental encoders employ a similar technique, but use a linear scale to produce the output pulses.


Interface

[edit]

Incremental encoders do not indicate the location or position of a mechanical system; they only report incremental movements.[3]


Interface example

[edit]

To determine position, it is necessary to send the encoder signals to an electronic circuit known as an incremental encoder interface, such as the one shown here.


Counter

[edit]

The interface keeps track of position by counting encoder pulses. It counts up when the quadrature phase difference is positive and down when the difference is negative, or vice versa. To do this, interfaces employ a quadrature decoder to convert the A and B pulses into direction and count enable signals, which in turn control an up/down counter.


Applications

[edit]

Incremental encoders report position changes in real-time, making them useful for monitoring and controlling motion in numerous applications.[4] They are commonly used to control automated machining equipment, such as CNC mills.


Escalators

[edit]

Rotary incremental encoders are used for closed-loop speed control of conveyor belts and other conveyor systems, including escalators and moving sidewalks.


Trackballs

[edit]

In human input devices such as trackballs,


Mice

[edit]

and mechanical mice,


Mouse innards

[edit]

two rotary encoders are used, to simultaneously monitor position on two different axes.


Radar speed

[edit]

A radar uses a single rotary encoder in two different ways. The encoder's pulse frequency is measured and used to control the rate of antenna rotation.


Radar bearing

[edit]

The pulses are also counted. To keep track of the antenna angle. When the radar detects an object, the target bearing is indicated by the pulse count.


Pipeline inspection

[edit]

Rotary encoders are used to monitor underground pipeline inspection tractors. This is made possible by a cable which is towed behind the tractor. The incremental encoder monitors the length of cable that pays out as the tractor drives through a pipe. The exact location of the tractor can be determined by counting encoder output pulses.


Motion platforms

[edit]

Incremental encoders are used to control motion platforms in aircraft simulators and amusement rides.


Robotics

[edit]

Incremental encoders are extensively used in robotics, to control the position and speed of mechanical components.


PCB mount

[edit]

Some, rotary encoders are designed to be mounted on circuit boards. These typically have a knob attached to the shaft, and are used as hand-operated controls in electronic equipment.


CMM

[edit]

Linear encoders are used when extremely high accuracy is required, because they eliminate errors caused by mechanical backlash. Common applications include position monitoring in coordinate measuring machines.


Steppers

[edit]

and precise, high-resolution position control in steppers, used in semiconductor fabrication.


References

[edit]
  1. ^ a b Sensoray. "Introduction to Incremental Encoders". Retrieved 18 July 2018.
  2. ^ Craig, K. "Optical Encoders" (PDF). Retrieved 25 July 2018.
  3. ^ "The Basics of How an Encoder Works" (PDF). Encoder Products Company. Retrieved 23 July 2018.
  4. ^ "Encoder Primer" (PDF). NASA Infrared Telescope Facility (IRTF). Institute for Astronomy, University of Hawaii. Retrieved 17 August 2018.