VideoWiki/Incremental Encoder (Tutorial) | |
---|---|
File:En.Video-Incremental Encoder.webm | |
Link to Commons | |
Steps for video creation | |
Step 1 | Preview my changes (10 sec) |
Step 2 | Upload to Commons (10 min) |
Introduction
editAn, 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
editIncremental encoders are generally classified as either rotary or linear.
Linear type
editLinear encoders move along a linear path. Each output pulse corresponds to a constant, linear distance.
Rotary type
editIn 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
editThe 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
editand 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
editIn this diagram, A, rises before B, so the phase difference is positive. However,
Negative phase difference
editwhen 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
editIncremental encoders employ various techniques to sense movement, and to generate pulses when movement is detected.
Optical encoders
editIn 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
editIn 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
editThe 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
editAn incremental encoder has two pulse generators, which are mechanically coupled to each other to produce synchronized, quadrature outputs.
Rotary encoder mechanism
editRotary 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
editLinear incremental encoders employ a similar technique, but use a linear scale to produce the output pulses.
Interface
editIncremental encoders do not indicate the location or position of a mechanical system; they only report incremental movements.[3]
Interface example
editTo 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
editThe 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
editIncremental 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
editRotary incremental encoders are used for closed-loop speed control of conveyor belts and other conveyor systems, including escalators and moving sidewalks.
Trackballs
editIn human input devices such as trackballs,
Mice
editand mechanical mice,
Mouse innards
edittwo rotary encoders are used, to simultaneously monitor position on two different axes.
Radar speed
editA 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
editThe 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
editRotary 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
editIncremental encoders are used to control motion platforms in aircraft simulators and amusement rides.
Robotics
editIncremental encoders are extensively used in robotics, to control the position and speed of mechanical components.
PCB mount
editSome, 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
editLinear 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
editand precise, high-resolution position control in steppers, used in semiconductor fabrication.
References
edit- ^ a b Sensoray. "Introduction to Incremental Encoders". Retrieved 18 July 2018.
- ^ Craig, K. "Optical Encoders" (PDF). Retrieved 25 July 2018.
- ^ "The Basics of How an Encoder Works" (PDF). Encoder Products Company. Retrieved 23 July 2018.
- ^ "Encoder Primer" (PDF). NASA Infrared Telescope Facility (IRTF). Institute for Astronomy, University of Hawaii. Retrieved 17 August 2018.