MyWiki:VideoWiki/Incremental Encoder

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
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 source]

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.

File:VW RotaryIncrementalEncoder.jpg


Incremental encoders are generally classified as either rotary or linear.

File:RotaryLinearAsPrintedWords.png


Linear type

[edit source]

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

File:VW Optical Encoders.png


Rotary type

[edit source]

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.

File:Rotary encoder.jpg


Quadrature encoding

[edit source]

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,

File:VW Cycle called hertz.gif


Phase difference

[edit source]

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,

File:VW Quadrature Diagram.png


Positive phase difference

[edit source]

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

File:VW Quadrature Diagram 1.png


Negative phase difference

[edit source]

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.

File:VW Quadrature Diagram 2.png


Sensing method

[edit source]

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

File:Cedar Point Iron Dragon going around corners (2740).webm


Optical encoders

[edit source]

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.

File:Vw Fotodiode.jpg


Example mechanism

[edit source]

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.

File:VW Inkrementalgeber mit gabellichtschranke.jpg


Pulse generation

[edit source]

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.

File:VW Incremental encoder.gif


Quadrature generation

[edit source]

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

File:DualBinaryEncoders.gif


Rotary encoder mechanism

[edit source]

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.

File:VW Incremental directional encoder.gif


Linear encoder mechanism

[edit source]

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

File:VW Linear Scale Scheme.png


Interface

[edit source]

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

File:VW Sign at Vinappen Fedje.jpg


Interface example

[edit source]

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.

File:VW 6-axis incremental encoder interface; adapted to VideoWiki aspect ratio.jpg


Counter

[edit source]

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.

File:VW QuadratureDecoder.png


Applications

[edit source]

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.

File:MCFH 40 CNC (5).ogv


Escalators

[edit source]

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

File:Escalators.ogv


Trackballs

[edit source]

In human input devices such as trackballs,

File:VW Trackball-Kensington-ExpertMouse5.jpg


and mechanical mice,

File:VW 3-Tasten-Maus Microsoft.jpg


Mouse innards

[edit source]

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

File:VW Mouse mechanism diagram.png


Radar speed

[edit source]

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.

File:VW Rotating marine radar - rotating waveguide antenna.gif


Radar bearing

[edit source]

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.

File:VW Conical scan.gif


Pipeline inspection

[edit source]

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.

File:VW Kanalinspektionsfahrwagen.jpg


Motion platforms

[edit source]

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

File:VW Hexapod general Anim.gif


Robotics

[edit source]

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

File:Robocup 2016 Leipzig - SIEMENS Robot.ogv


PCB mount

[edit source]

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.

File:VW Rot enc.jpg


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.

File:AnimatedCMM.gif


Steppers

[edit source]

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

File:VW Autostep i-line stepper.jpg


References

[edit source]
  1. ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  4. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).