• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Linear Motion Tips

Covering Linear Motion Systems, Components and Linear Motion Resources

  • New
    • Editor’s blog
    • Industry news
    • Motion Casebook
    • Video
  • Applications
  • Slides + guides
    • Ball + roller guides
    • Track roller (cam + wheel) guides
    • Crossed-roller slides
    • Linear bearings
    • Plastic + composite guides
  • Drives
    • Ball + lead + roller screws
    • Belt + chain drives for linear
    • Rack + pinion sets
  • Actuators
    • Ball + leadscrew driven
    • Belt + chain driven
    • Linear motors
    • Mini + piezo + voice coil
    • Rack + pinion driven
    • Rigid-chain actuators
  • Encoders + sensors (linear) + I/O
  • Stages + gantries
  • Suppliers

When is encoder resolution specified in bits, and what does that tell us?

January 7, 2021 By Danielle Collins Leave a Comment

Absolute encoders — whether rotary or linear — track the position of an axis by assigning a unique value to each position on the encoder, so that no matter where the axis being measured is located, its exact position can be determined. And because each position is uniquely identified, this holds true even if the encoder has been powered off and restarted — there’s no need to re-home the encoder upon power-up in order to determine its position.

For most absolute rotary encoders, resolution is defined in terms of bits, or binary words. The encoder disk is patterned with concentric tracks around its circumference (and a corresponding number of sensors — one for each track), and each track represents one bit of resolution.

To convert bits of resolution into the number of positions the encoder can detect with each shaft revolution, simply raise the number 2 to the power of the number of bits. For example, an 8 bit encoder would be able to measure 256 positions for each shaft revolution (28), and a 16 bit encoder would be able to measure 65,536 positions per revolution (216).

encoder resolution bits
Each concentric track on the encoder disk represents one bit of resolution. Note that each track, starting from the inside of the disk, has double the number of light-and-dark bands than the previous track. The encoder shown here has 4 tracks, so has 4 bits of resolution and can measure 16 positions (24) for each rotation of the encoder.
Image credit: US Digital

But what if the encoder makes more than one revolution during a measurement? The basic type of absolute rotary encoder — as described above — is referred to as a single-turn encoder, which uses one code disk. While single-turn encoders can track the position of an axis within one encoder revolution, the position values are repeated with each revolution, and the encoder has no way to determine how many revolutions have been completed. So applications such as winding and conveying — that move continuously in a single direction — or those that require a very long stroke before changing direction, will typically exceed a single encoder turn, and therefore, lose the ability to track absolute position.

Another type of absolute rotary encoder — known as a multi-turn encoder — can track not only the position within one revolution, but also the number of revolutions the encoder makes, up to 4096 turns on typical designs. Multi-turn encoders come in several variations, including those that use multiple disks connected by gears and those that use electronic counters to track the number of turns. For those that use multiple, geared disks, the encoder’s total resolution is the sum of the resolution for all disks. So a multi-turn encoder that has a primary disk with 10 bits of resolution and a secondary disk with 8 bits of output will have a total resolution of 18 bits and will be able to measure 262,144 unique position values (218).

encoder resolution bits
Some multi-turn encoders use multiple encoder disks connected by gears.
Image credit: Nidec

Binary versus Gray code

gray code
Notice that from step 3 to 4, three digits in binary code change at the same time. In Gray code, however, only one digits changes at a time.

When encoder output is transmitted via parallel or serial interface (the other transmission option being via bus interface), the output is typically given in a modified form of binary code, referred to as Gray code. Standard binary code consists of a series of 1’s and 0’s, which change with each position, or step, of the encoder. But this presents a problem for data transmission, because some steps involve changes in more than one digit.

For example, from step 3 to step 4, binary code changes from 0011 to 0100, with three digits changing state. Because it is impossible for the digits to change at exactly the same time, the encoder could read the first two digits in one state, but by the time it reads the third and fourth digits, the state could have changed again, giving a mixed — and incorrect — position reading. Gray code avoids this problem by changing only one digit at each step.


Absolute linear encoders

Absolute linear encoders also assign a unique value to each position, but in this case, the value is determined by the code pattern along the linear scale. The measuring units, which are detected by the encoder’s read head, are arranged in a specific pattern to provide a binary code that indicates the position along the length of the encoder. Resolution, then, is typically given by the smallest distance the encoder can measure — in microns (μm) or nanometers (nm) — rather than in bits.

glass scale linear encoders
For an absolute linear encoder, the pattern on the linear scale indicates the value of each unique position along the scale.
Image credit: Heidenhain

You may also like:


  • What are the differences between incremental and sine-cosine encoders?
  • encoder speed
    How to calculate maximum encoder speed for linear and rotary…
  • sub-divisional error
    What is sub-divisional error (SDE) in linear encoders?
  • magnetic linear encoders
    How do magnetic linear encoders differ from optical versions?
  • encoder resolution
    How to calculate encoder resolution

Filed Under: Applications, Encoders + sensors (linear) + I/O, FAQs + basics, Featured

Reader Interactions

Leave a Reply

You must be logged in to post a comment.

Primary Sidebar

DESIGN GUIDE LIBRARY

“motion
Subscribe Today

RSS Featured White Papers

  • Evaluating actuators for washdown in food & beverage applications
  • Identifying Best-Value Linear Motion Technologies
  • Introduction to accuracy and repeatability in linear motion systems

RSS Motion Control Tips

  • Schneider Electric launches Universal Automation Discovery Packs to foster industrial innovation
  • Encoders from SIKO support Industrial Ethernet
  • Draw-wire encoders from SIKO measure position, speed and inclination
  • Incremental encoders configurable via NFC (near-field communication)
  • Low-cost motion control offered with CLICK PLUS PLCs from AutomationDirect

Footer

Linear Motion Tips

Design World Network

Design World Online
The Robot Report
Coupling Tips
Motion Control Tips
Bearing Tips
Fastener Engineering

Linear Motion Tips

Subscribe to our newsletter
Advertise with us
Contact us
About us

Follow us on TwitterAdd us on FacebookAdd us on LinkedInAdd us on YouTubeAdd us on Instagram

Copyright © 2022 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy