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

Motion Control Tips

Automation • Motion Control • Power Transmission

  • News
    • Industry News
    • Editor Blogs
    • Video
  • Controls
    • HMIs
    • PC-Based Controllers
    • PLCs + PACs
    • Stand-Alone Controllers
    • Software
  • Drives
    • Servo Drives
    • Stepper Drives
  • Encoders
    • Absolute Encoders
    • Incremental Encoders
    • Rotary Encoders
  • Mechanical
    • Bearings
    • Brakes + Clutches
    • Belt + chain
    • Couplings
    • Gears + Gearing
    • Lubrication
    • Shock + Vibration Mitigation
    • Springs + Rings + Seals
  • Linear
    • Actuators
    • Linear Motors
    • Linear Encoders
  • Motors
    • AC Motors
    • DC Motors
    • Brushless Motors
    • Gearmotors
    • Piezo Motors
    • Servo Motors
    • Stepper Motors
  • Systems
    • Conveyors + linear transport systems
    • Gantries + Stages
    • Rotary Tables
    • Grippers + End Effectors
    • Robotics
  • Networks
    • Connections + Sliprings
    • Fieldbuses
    • I/O
    • Sensors + Vision
  • FAQs
    • Motion Casebook
    • Motion Selection Guides
  • Suppliers
You are here: Home / FAQs + basics / How are encoders used for speed measurement?

How are encoders used for speed measurement?

July 30, 2017 By Danielle Collins Leave a Comment

encoder speed
Image credit: Encoder Products Company

The most common use for encoders is to measure angular or linear distance, but encoders can also be used to perform speed or velocity measurements. This is possible because there is a linear relationship between an encoder’s pulse frequency and its rotational velocity. In other words, as the encoder rotates faster, the pulse frequency increases at the same rate. Encoder speed can be determined by either of two methods: pulse counting or pulse timing.


Refresher on quadrature encoding

Incremental encoders often output signals on two channels – typically termed “A” and “B” – offset by 90 degrees (in quadrature). The direction of rotation can be determined by which channel is leading. Generally, if channel A is leading, the direction is taken to be clockwise, and if channel B is leading, the direction is counterclockwise.

Quadrature output also allows the encoder’s resolution to be increased, by using X2 or X4 decoding techniques. With X2 decoding, both the rising and falling edges of channel A are counted, doubling the number of pulses counted for each rotation, and therefore doubling the encoder’s resolution. With X4 decoding, the rising and falling edges of both channels A and B are counted, increasing the resolution by four times.

Incremental Encoders
X4 encoding, in which both the rising and falling edges of channels A and B are counted.
Image credit: National Instruments Corporation

Pulse counting

Pulse counting uses a sampling period (t) and the number of pulses (n) that are counted over the sampling period to determine the average time for one pulse (t/n). Knowing the number of pulses per revolution (N) for the encoder, the speed can be calculated.

ω = 2πn/Nt

Where:

ω = angular speed (rad/s)

n = number of pulses

t = sampling period (s)

N = pulses per rotation

encoder speed

At low speeds, the resolution of pulse counting is poor, so this method is best applied in high speed applications.


Pulse timing

With the pulse timing method, a high-frequency clock signal is counted during one encoder period (the pitch, or interval between two adjacent lines or windows). The number of cycles of the clock signal (m), divided by the clock frequency (f), gives the time for the encoder period (the time for the encoder to rotate through one pitch). If the encoder PPR is denoted by N, the angular speed of the encoder is given by:

ω = 2πf/Nm

Where:

ω = angular speed (rad/s)

f = clock frequency (Hz)

m = number of clock cycles

N = pulses per rotation

At high speeds, there may be too little time between pulses for pulse timing (also referred to as pulse frequency) to accurately measure clock cycles, so this method is best for low speed applications.


Accuracy of speed measurement

The accuracy of the encoder speed measurement can be affected by a variety of factors, including instrument errors, quantization errors, and interpolation errors. Instrument errors include both mechanical imperfections in the encoder and errors in the pattern on the code disc or reticle, such as variations in spacing between lines or windows. Also included in instrument-related errors are substrate flatness, inexact positioning of sensors, and lack of concentricity between the encoder and the shaft.

Quantization error stems from the fact that there is no information between pulses or readings. In other words, quadrature encoders only read the edges of the signals on one or both channels (A and B), and relay no information between these readings. Quantization error is inherently ± ½ of the measuring step, or count.

Interpolation error occurs only if the encoder resolution is increased electronically beyond the X4 decoding that is inherent to quadrature encoders. Interpolation error tends to increase with increasing encoder speed. Both interpolation and quantization errors can be reduced by using encoders with higher line counts or a greater number of windows.

You may also like:


  • How are complementary signals used to mitigate encoder noise?
  • wire an absolute encoder
    Ways to wire an absolute encoder into a motion system
  • Magnetic Encoder
    FAQ: How do magnetic encoders work?
  • Incremental encoders
    FAQ: What do X1, X2, and X4 position encoding mean…
  • Incremental Encoder Single-Ended Wiring
    FAQ: What are ways to wire an incremental encoder into…

Filed Under: Encoders, FAQs + basics, Featured

Reader Interactions

Leave a Reply

You must be logged in to post a comment.

Primary Sidebar

POWER TRANSMISSION REFERENCE GUIDE

DESIGN GUIDE LIBRARY

“motion
Subscribe Today

RSS Featured White Papers

  • Specifying electric rodless actuators: Ten tips for maximizing actuator life and system performance
  • The truth about actuator life: Screw drive survival
  • Top Ten Tips: How to specify electric rod-style actuators for optimal performance, reliability and efficiency

Footer

Motion Control Tips

DESIGN WORLD NETWORK

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

MOTION CONTROL 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 | RSS