Sunteți pe pagina 1din 8

Encoder

Measurement System
Table of Contents

BASICS OF ENCODERS 2

SENSING TECHNOLOGY 2

OPERATION OF OPTICAL ENCODER 2

HOW TO SELECT AN ENCODER 4

Page 1 of 7
Basics of Encoders
Encoders are sensors that generate digital signals in response to movement. Both shaft
encoders, which respond to rotation, and linear encoders, which respond to motion in a
line, are available. When used in conjunction with mechanical conversion devices, such as
rack-and-pinions, measuring wheels, or spindles, shaft encoders can also be used to
measure linear movement, speed, and position.
Encoders are available with a choice of outputs. Incremental encoders generate a series of
pulses as they move. These pulses can be used to measure speed, or be fed to a counter to
keep track of position. Absolute encoders generate multi-bit digital words that indicate
actual position directly.

They can be used in conjunction with numerical and programmable logic controllers, drives
and position displays. Encoders can be used in a wide variety of applications. They act as
feedback transducers for motor-speed control, as sensors for measuring, cutting and
positioning, and as input for speed and rate controls.

Sensing Technology

Encoders can use either optical or magnetic sensing technology. Optical sensing provides
high resolutions, high operating speeds, and reliable, long life operation in most industrial
environments. Magnetic sensing, often used in such rugged applications as steel and paper
mills, provides good resolution, high operating speeds, and maximum resistance to dust,
moisture, and thermal and mechanical shock

Optical Encoders

Optical encoders use a glass disk with a pattern of lines deposited on it, a metal or plastic
disk with slots (in a rotary encoder), or a glass or metal strip (in a linear encoder). Light from
an LED shines through the disk or strip onto one or more photo-detectors, which produce
the encoders output. An incremental encoder has one or more of these tracks, while an
absolute encoder has as many tracks as it has output bits.

Incremental Absolute Liner

Page 2 of 7
Magnetic Encoders

Magnetic sensing technology is very resistant to dust, grease, moisture, and other
contaminants common in industrial environments, and to shock and vibration. There are
several types of magnetic sensors. Variable reluctance sensors detect changes in the
magnetic field caused by the presence or movement of a ferromagnetic object. The simplest
variable-reluctance rotary sensor, often called a magnetic pickup, consists of a coil wound
round a permanent magnet. This generates a voltage pulse when a gear tooth moves past it.
Rugged, reliable, and inexpensive, this sensor is used mostly to measure speed, as it does
not work unless the target is moving past the sensor face at about 180 inches per second or
faster.

Another type of sensor uses a permanent magnet and a Hall effect or magneto-resistive
device to produce a change in either voltage or electrical resistance in the presence of
ferromagnetic material, which can be in the form of a gear tooth (in a rotary encoder) or a
metal band with slots (in a linear encoder). This type of sensor will work down to zero
speed, and is available in both rotary and linear forms. Another type of magnetic sensor
uses a magneto-resistive device to detect the presence or absence of magnetized stripes,
either on the rim of a drum or on a nonmagnetic strip.

Inductive Principal

Page 1 of 7
Operation of Optical Encoder
Rotary encoders are used to measure the rotational motion of a shaft. Figure 1 shows the
fundamental components of a rotary encoder, which consists of a light-emitting diode (LED),
a disk, and a light detector on the opposite side of the disk. The disk, which is mounted on
the rotating shaft, has patterns of opaque and transparent sectors coded into the disk. As
the disk rotates, the opaque segments block the light and, where the glass is clear, light is
allowed to pass. This generates square-wave pulses, which can then be interpreted into
position or motion.

Encoders usually have from 100 to 6,000 segments per revolution. This means that these
encoders can provide 3.6 deg of resolution for the encoder with 100 segments and 0.06 deg
of resolution for the encoder with 6,000 segments.

Linear encoders work under the same principle as rotary encoders except that instead of a
rotating disk, there is a stationary opaque strip with transparent slits along its surface, and
the LED-detector assembly is attached to the moving body.

Optical Encoder Components

An encoder with one set of pulses would not be useful because it could not indicate the
direction of rotation. Using two code tracks with sectors positioned 90 deg out of phase
(Figure 2), the two output channels of the quadrature encoder indicate both position and
direction of rotation. If A leads B, for example, the disk is rotating in a clockwise direction. If
B leads A, then the disk is rotating in a counter-clockwise direction. Therefore, by
monitoring both the number of pulses and the relative phase of signals A and B, you can
track both the position and direction of rotation.

Page 2 of 7
Quadrature Encoder A and B Output Signals

In addition, some quadrature encoders include a third output channel called a zero or
reference signal which supplies a single pulse per revolution. You can use this single pulse
for precise determination of a reference position. In the majority of encoders, this signal is
called the Z-Terminal or the index.

So far, this document has addressed only what are called single-ended incremental
quadrature encoders. These are called single-ended because the A and B signals are both
referenced to ground, so there is one wire (or end) per signal. Another commonly used type
of encoder is a differential encoder, where there are two lines per each A and B signal. The
two lines for the A signal are A and A, and the two lines for the B signal are B and B. This
type of configuration is also called push-pull because all four lines are always supplying a
known voltage (either 0 V of Vcc). When A is Vcc, A is 0 V , and when A is 0 V, A is Vcc. In the
case of a single-ended encoder, A is either Vcc or it floats. Differential encoders are often
used in electrically noisy environments because taking differential measurements protects
the integrity of the signal.

With incremental encoders, you can measure only changes in position (from which you can
determine velocity and acceleration), but it is not possible to determine the absolute
position of an object. A third type of encoder, called an absolute encoder, is capable of
determining the absolute position of an object. This type of encoder has alternating opaque
and transparent segments like the incremental encoder, but the absolute encoder uses
multiple groups of segments that form concentric circles on the encoder wheel like a bulls-
eye on a target or dartboard. The concentric circles start in the middle of the encoder wheel
and, as the rings go out toward the outside of the ring, they each have double the number
of segments than the previous inner ring. The first ring, which is the innermost ring, has one
transparent and one opaque segment. The second ring out from the middle has two
transparent and two opaque segments, and the third ring has four of each segment. If the
encoder has 10 rings, its outermost ring has 512 segments, and if it has 16 rings, the
outermost ring has 32,767 segments.

Because each ring of the absolute encoder has double the number of segments of the prior
ring, the values form numbers for a binary counting system. In this type of encoder, there is
a light source and receiver for every ring on the encoder wheel. This means that the encoder
with 10 rings has 10 sets of light sources and receivers, and the encoder with 16 rings has 16
light sources and receivers.

The advantage of the absolute encoder is that you can gear it down so that the encoder
wheel makes one revolution during the full length of machine travel. If the length of
machine travel is 10 in. and its encoder has 16-bit resolution, the resolution of the machine

Page 3 of 7
is 10/65,536, which is 0.00015 in. If the travel for the machine is longer, such as 6 ft, a
coarse resolver can keep track of each foot of travel, and a second resolver called the fine
resolver can keep track of the position within 1 ft. This means you can gear the coarse
encoder so that it makes one revolution over the entire 6 ft distance and gear the fine
encoder so that its entire resolution is spread across 1 ft (12 in.).

How to Select an Encoder


There are several important criteria involved in selecting the proper encoder:
1. Output
2. Desired Resolution (CPR)
3. Noise and Cable Length
4. Index Channel
5. Cover/Base

Output

The output is dependent on what is required by the application. There are two output forms
which are incremental and absolute. Incremental output forms take form of squarewave
outputs. For an application requiring an incremental encoder, the output signal is either zero
or the supply voltage. The output of an incremental encoder is always a squarewave due to
the switching of high (input voltage value) and low (zero) signal value. Absolute encoders
operate in the same manner as incremental encoders, but have different output methods. The
resolution of an absolute encoder is described in bits. The output of absolute encoders is
relative to its position in a form of a digital word. Instead of a continuous flow of pulses as
seen by incremental encoders, absolute encoders output a unique word for each position in
form of bits. Equivalent to 1,024 pulses per revolution, an absolute encoder is described to
have 10 bits (210 = 1024).

Desired Resolution (CPR)

The resolution of incremental encoders is frequently described in terms of cycles per


revolution (CPR). Cycles per revolution are the number of output pulses per complete
revolution of the encoder disk. For example, an encoder with a resolution of 1,000 means that
there are 1,000 pulses generated per complete revolution of the encoder.

Noise and Cable Length

When selecting the proper encoder for any application, the user must also take into account
noise and cable length. Longer cable lengths are more susceptible to noise. It is crucial to use
proper cable lengths to ensure the system functions correctly. It is recommended to use
shielded, twisted-pair cables with preferably low capacitance value. The rating for
capacitance value is normally in capacitance per foot. The importance of this rating is for
well defined squarewave pulse outputs from the encoder rather than "jagged" or "saw-
toothed" like pulses due to the interference of noise.

Index Channel

The index channel is an optional output channel which provides a once per revolution output

Page 4 of 7
pulse. This pulse allows for the user to keep track of position and establishes a reference
point. This output channel is extremely valuable for incremental encoders when an
interruption of power occurs. In instances with a power failure, the last sustained index
channel can be used as a reference marker for a restarting point. Therefore, when such an
occurrence takes place, an index channel can prove to be quite valuable in applications
utilizing incremental encoders. Absolute encoders do not have an issue with losing track of
position in power loss situations, because every position is assigned a unique bit
configuration.

Cover/Base

Cover and base options are considerations for specific application requirements. Enclosed
cover options help protect the encoder from dust particles. Base options play a significant
role in large vibration environments. Such mounting options are transfer adhesives which
stick directly on the back of the encoder to the mounting surface, molded ears for direct
mounting. Anaheim Automation also offers various base options for mounting purposes.

Page 5 of 7

S-ar putea să vă placă și