ECN Asia
  Mark as your homepage Bookmark us Print Subscription
               
Friday, December 5, 2008
Home About Us Current Issue Archive RSS Free Subscription Trade Shows Media Kit Contact Us

Boards & Modules

Computers, Peripherals & Networking Devices

Digital Den

Electromechanical/Mechanical Devices

Embedded Systems & Networking

Integrated Circuits & Semiconductors

Microwave & RF Components

Optoelectronics & Displays

Packaging & Interconnects

Passive & Discrete Components

Power Sources & Conditioning Devices

Sensors & Actuators

Software

Test & Measurement

Electronics Asia

Search:
 
  Advanced Search
Product Info Search:
 
     
 
 
 
Issue > Jul 2007 > Embedded Systems
 
 
Ads by Google
 

Rotary encoders: Big wheels of position sensors


( 01 Jul 2007 )

by Jon Titus, Senior Technical Editor, ECN

Rotary shaft encoders convert an angular position into an electrical quantity or digital code that a computer can use to determine the location of a connected object. Encoders come in two varieties – absolute and incremental – and most rely on optoelectric or magnetic sensors. Both types divide a 360° rotation into hundred or thousands of equally spaced units, or counts. Thus, engineers can choose an angular resolution that meets their needs. An absolute encoder indicates a specific position within the shaft's 360° rotation and an incremental position indicates the change in rotation from one position to another. (You also can derive velocity and acceleration from encoder signals.)



SELECT AN ENCODER THAT MEASURES UP

A typical incremental encoder provides two square-wave signals - 90° out-of-phase - for each increment. Count the pulses from both outputs and you get the relative change in position. The phase relationship of the two signals – A leads B or B leads A – indicates the rotation direction. The 90° phase relationship leads to the alternate name of “quadrature encoder” for these position sensors.



A counter circuit or a microcontroller (MCU) can track position changes easily. Encoders also may provide an “index” signal that corresponds to the same position during each complete shaft rotation. Incremental encoders work well with equipment that can return a mechanism to a starting position and begin to track movement from there. (An optical interrupter or limit switch would indicate this “home” position.) Keep in mind that loss of power means loss of position information.



An absolute encoder provides a unique output for each shaft position. A 10-bit encoder would divide a rotation into 210, or 1,024 parts. Select this type of encoder when you must know a shaft's specific position within a 360° rotation. Power loss does not affect position information.



So, a 10-bit output would indicate a shaft position within 360°/1,024, or 0.35°. An n-bit converter may produce a straight-binary code, a Gray-scale binary code, or a custom code. The Gray code alters only one bit per increment, so it avoids multi-bit transitions such as 01111 to 10000 that can produce glitches.

Avago Technologies offers both types of optical encoders either as "housed" devices or as separate code wheels and optical emitter/detector assemblies. Engineers can simply bolt a housed encoder onto a device, or they can select a matched code wheel and emitter/detector assembly and incorporate them within a mechanical package of their own design. Thomas Yue, an applications engineer at Avago, cautions engineers that each detector has a specific lines-per-inch resolution, so the engineers must properly match code wheels and detectors. Engineers also can design and fabricate their own code wheels, although most buy them off the shelf. Housed encoders come with standard mounting holes that mate directly with many types of motors.



Although engineers may envision encoders attached to large stepper motors, even small motors or positioners used in portable consumer-electronic products may use encoders. The AEDR-84xx line from Avago may qualify as the smallest encoder, and it detects 254 lines/in. or 10 lines/mm. Other Avago encoders can produce 16-bit absolute-position information.



PORTABLE ELECTRONICS GET THEIR TURN

Avago’s Yue also cautions engineers to check a detector's frequency response. “If you have a motor that runs at 10,000rpm and a code wheel with 2000 divisions/rotation, you have 20 million pulses per minute or 333K pulses/second. So you must choose a detector that offers a bandwidth greater than 333kHz.”



austriamicrosystems now manufactures a magnetic sensor that several companies have incorporated into rotary encoders. US Digital, for example, produces a small absolute encoder that can replace manual controls that might have relied on potentiometers. The company's MA2 encoder ($29) provides either a stepped voltage ramp or a PWM output that indicates position with 10-bit resolution. An MCU could measure the voltage or determine the width of pulses. Because the sensor chip measures the differential field produced by a rotating magnetic shaft, nearby fields from motors or other equipment appear as common-mode noise and do not affect the sensor.



The company just released a 12-bit encoder out in the market. “You would use the higher-resolution encoder in an application with a longer throw; the distance from the center to the outer circumference,” explained Jim Stevens, engineering manager at US Digital. “So you might find the 12-bit device in a rotary positioning table or in a precision telescope mount.”



According to Stevens, customers appreciate the PWM output because it lets them transmit an absolute position long distances in digital form. If engineers do not want to measure a pulse width, they can use a low-pass filter at the receiver and reconstruct an analog signal they can measure with an MCU’s ADC.



CUSTOM DESIGNS COUNT, TOO

Although encoder suppliers offer products with many standard numbers of counts per rotation, some designs may require a special count. Sick Stegmann offers programmable incremental encoders that users can preset for one to 8192 counts per rotation and they can change the width of the index pulse. Thus, engineers can customize an encoder in the company's DRS-21, -26, and 61 lines for the number of counts they need. The company’s software and a USB-port connection change the count at any time.



For further reading

• For information about Gray codes, see: en.wikipedia.org/wiki/Gray_code



Click here for Illustrations:



Figure 1

 

 
 
 
ADVERTISEMENT
 
 
 
Ads by Google
 
OUR SPONSOR
   
   
 
 
 
   
   
     
 
 
         
     
 
Related Articles
   
Contactless rotary position sensors enable 0.1 percent linearity over 120º range
Magnetic sensor switch detects open/closed states
Light sensors with infrared-blocking filter
Photoelectric sensors detect clear objects
Sensor adopts a radical approach to CMOS pixel architectures
High-pressure LVDT position sensors
Double stack hybrid linear actuators
Hall sensor amplifier for brushless motor
Digitally compensated pressure transducer
Exponentials simplify linear circuit analysis (part two)
   
 
Top News
   
Linear Technology Released the LT3751 Flyback Controller
STMicroelectronics Deploys Automatic Meter Reading (AMR) project in China
TI Introduces Single-Supply Auto-Zero Sensor Amplifier
Integrated Light /Proximity Sensor from Intersil Corp.
Xilinx Automotive Optical Flow Solution for Vision-Based Driver Assistance Systems
NiMH Charger IC from Maxim Integrated Products
Linear Technology Introduces LTC4222 Dual Hot Swap Controller
AnalogicTech’s Step-down Controller
Linear Technology Announced Isolated Monolithic Flyback Switching Regulator
NI LabVIEW 8.6 Accelerates Wireless Device Test with Multicore and FPGA Technologies
   
  More News >>
 
     
     
 
         
 
 
     
         
 
spacer
Country Report
spacer
   
bullet

TAIWAN: Inductor technologies are developed independently

bullet

KOREA: Inductor manufacturers are highly competitive, but scarce

bullet

CHINA: World’s high-volume producer of transformer, coil and inductor

bullet

TAIWAN: Moderate but steady growth in LED market

bullet

KOREA: LED has a bright future in our homes

  more on country report >>
   
 
spacer
Our Sponsor
spacer
   
bullet
 
   
 
     
 
     
 
spacer
Features
spacer
   
bullet

Design and implementation of SSD technology

bullet

Embedded development tools for smart, connected PNDs

bullet

A modern and flexible CPLD-based automobile digital dashboard

bullet

Comparing datasheets for high-speed ADCs

bullet

Very low jitter clock fan-outs for driving broadband ADCs

  more on features >>
   
 
Distribution
   

Solving the crisis of Korea’s semiconductor distribution market

Outsource test solution services in Asia

The five commandments of outsourcing

Dealing with distributors even when there are manufacturers around

Value addition is the key in distribution

  more on distribution >>
   
 
     
         
 
 
     
         
 
Industry Focus
   

Ethernet adoption encourages open protocols

Managing Bluetooth profiles: A billion served

Enabling a true wireless multimedia home network

Bluetooth paves the way for truly wireless car interiors

Eliminating massive clock trees in SoC designs using GALS

  more on industry focus >>
   
 
Web Exclusives
   

A focus on eco-friendly HDDs

Power-management solutions for telecom systems improve performance, cost, and size

Changing the network security playing field

WiMAX “personality pack” provides complete IEEE802.16 functionality

LED: A tiny light source with a bright future

  more on web exclusives >>
   
 
     
     
   
     
 
Semiconductors
   

Simulating the effect of blockers on data converter performance in wideband receivers

Decrease processor power consumption using a CPLD

Taking full advantage of new, low-power MCUs

Power train integration for 2007 and beyond: The true dawn of multi-chip modules

Wireless network options for industrial applications

  more on semiconductors >>
   
 
Field Applications
   

Test Equipment

Power Sources/Circuit Protection

Advanced Signal Processing Dramatically Improves Capability of Artificial Limbs

Voice Interface Technology for Hands-free Function in Automobiles

LXI: A Technology Leap for Test Instrumentation

  more on field applications >>
   
 
     
     
   
     
     
 
INDUSTRY LINKS
   
Photonics Association (Singapore)
bullet Singapore Industrial Automation Association (SIAA)
   
 
 

 

 
         
 

 
 
 
 
 
© 2008 Reed Business Information, a division of Reed Elsevier Inc.
All rights reserved. Use of this web site is subject to its Terms and Conditions of Use. View our Privacy Policy.