Application Note Using MagAlpha Devices to Replace Optical Encoders

Similar documents
Citrus Circuits Fall Workshop Series. Roborio and Sensors. Paul Ngo and Ellie Hass

Magnetic Sensor - Incremental / Absolute WMSA50

Data Sheet. HEDB-9100 and HEDB-9000 Two Channel Optical Incremental Encoder Modules Bundle With Codewheel. Description. Features.

HEDS-9730, HEDS-9731 Small Optical Encoder Modules 480lpi Digital Output. Features. Applications VCC 3 CHANNEL A 2 CHANNEL B 4 GND 1

Data Sheet. HEDS-978x Series Small Optical Encoder Modules. Description. Features. Package Dimensions

Figure 1: Functional Block Diagram

Data Sheet AS25/AS50. Absolute / Incremental Singleturn Encoder 18 Bit

Figure 1: Functional Block Diagram

Agilent AEDS-962x for 150 LPI Ultra Small Optical Encoder Modules

Figure 1: Functional Block Diagram

Dimensions: Specifications:

Evaluation Kit: MPS 160 ASIC. Magneto Encoder ASIC

MagAlpha MA120 Angular Sensor for Brushless Motor Commutation

Features DIMENSIONS ARE MILLIMETERS INCHES LEAD THICKNESS: CH B CH A. Gnd VCC X 50 H97X

DS-70. Absolute position, rotary Electric Encoder

DS-58[20] Absolute position, rotary Electric Encoder

MIG Encoders BEGE MIG NOVA+ Your drive, our (trans)mission. BEGE Power Transmission

Smart off axis absolute position sensor solution and UTAF piezo motor enable closed loop control of a miniaturized Risley prism pair

MagAlpha MA820 8-Bit Contactless Angle Encoder with ABZ Output and Push Button Function

DS-25. Absolute position, rotary Electric Encoder

Sensors and Sensing Motors, Encoders and Motor Control

Data Sheet. AEDT-9140 Series High Temperature 115 C Three Channel Optical Incremental Encoder Modules 100 CPR to 1000 CPR. Description.

MagAlpha MA300 Angular Sensor for 3-Phase Brushless Motor Commutation and Position Control with Side-Shaft Positioning Capability

DS Absolute Position, Rotary Electric Encoder

Mini Encoder High Resolution

Actuator Components 2

MagAlpha MA700 Angular Sensor for Position Control with Side-Shaft Positioning Capability

AEDA-3200-Txx Series Ultra Miniature, High Resolution Incremental Encoders

Data Sheet. HEDS-9710, HEDS-9711 Small Optical Encoder Modules 360 Ipi Analog Current Output. Features. Description. Block Diagram.


LENORD. +BAUER... automates motion. GEL 2037 with heavy duty flange or tooth wheel adapter. Technical information Version General.

X3M. Multi-Axis Absolute MEMS Inclinometer Page 1 of 13. Description. Software. Mechanical Drawing. Features

Sensors and Sensing Motors, Encoders and Motor Control

NOVOHALL Rotary Sensor non-contacting. Series RSC-2800

Encoders. Series 21 Hollow-Shaft Rotary Optical Encoders Digital incremental or sine/cosine and absolute format. Features & Benefits.

TRWinProg 101by Chris Bowman October 10

codestrip, these modules detect relative linear position.

Absolute encoders - SSI

Error 400. SWF Encoders are Rotary Incremental types, the Encoder provides the information of the direction of the Main shaft.

NOVOTURN Multiturn Sensor non-contacting. Series RSM-2800

Incremental encoders, absolute encoders & pseudo-absolute encoders

L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G

Position Sensors. The Potentiometer.

MagAlpha MA Bit, Digital, Contactless Angle Sensor with ABZ Incremental & PWM Outputs

NOVOHALL Rotary Sensor non-contacting. Series RSC2800 digital SSI, SPI, Incremental

Data Sheet. AEDx-8xxx-xxx 2- or 3-Channel Incremental Encoder Kit with Codewheel. Description. Features. Assembly View. Housing.

1.52 (0.060) 20.8 (0.82) 11.7 (0.46) 1.78 ± 0.10 (0.070 ± 0.004) 2.92 ± 0.10 (0.115 ± 0.004) (0.400)

MAB25 ANGULAR SENSOR HALL EFFECT. The sensors of the MAB25 series use the magnetic technology to measure a rotation angle.

A Comparison of Performance Characteristics of On and Off Axis High Resolution Hall Effect Encoder ICs

Shaft encoders are digital transducers that are used for measuring angular displacements and angular velocities.

The quadrature signals and the index pulse are accessed through five inch square pins located on 0.1 inch centers.

Optical encoder MEC22 HR

Data Sheet. HEDL-65xx, HEDM-65xx, HEDS-65xx Series Large Diameter (56 mm), Housed Two and Three Channel Optical Encoders. Description.

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)

Lab 5: Inverted Pendulum PID Control

Brushed DC Motor Control. Module with CAN (MDL-BDC24)

LENORD. +BAUER... automates motion. Magnetic absolute rotary encoder GEL 2037 with heavy duty flange or tooth wheel adapter

LENORD. +BAUER... automates motion. GEL 295x Customer-specific precision encoder. Technical Information Version General information.

EE 308 Spring S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE

Logosol Intelligent Hall-Servo Drive LS-173U Doc # / Rev. C, 02/12/2008

Data Sheet MEM 16. Incremental Encoder Magnetic

WSE22 - Magnetic shaft encoder


Features 8.6 (0.34) 1.52 (0.060) 20.8 (0.82) 11.7 (0.46) 1.78 ± 0.10* (0.070 ± 0.004) 2.92 ± 0.10** (0.115 ± 0.004) 10.2 (0.400)

The World of Motion Control

MagAlpha MA Bit, Digital, Contactless Angle Sensor with ABZ Incremental & PWM Outputs FEATURES

CS545 Contents XIV. Components of a Robotic System. Signal Processing. Reading Assignment for Next Class

Tektronix AFG10022 Function Generator. Coming soon to B10: Sin, Square, Ramp, Swept, Arbitrary, Noise. Linear Actuators. Non-magnetized iron plunger

The two channel digital outputs and the single 5 V supply input are accessed through five (0.060) 20.8 (0.82) 11.7 (0.

The line driver option offers enhanced performance when the encoder is used in noisy environments, or when it is required to drive long distances.

Orbis true absolute rotary encoder

8.6 (0.34) 1.52 (0.060) 20.8 (0.82) 11.7 (0.46) 1.78 ± 0.10 (0.070 ± 0.004) 2.92 ± 0.10 (0.115 ± 0.004) 10.2 (0.400)

HEDS-9000/9100 Two Channel Optical Incremental Encoder Modules. Features. Applications

MTL rotary encoders are all based on space-saving design and available in many types from ultra-small types to high-resolution products.

Data Sheet. AEDT-9340 Series High Temperature 115 C 1250/2500 CPR 6-Channel Commutation Encoder. Description. Features.

Assembly Language. Topic 14 Motion Control. Stepper and Servo Motors


87000 Series Size 34 Hybrid Linear Actuators

RM36. Rotation sensors RM36 Absolute rotary encoder

Agilent AEDA-3200-Txx Series Ultra Miniature, High Resolution Incremental Encoders


RMB30 angular magnetic encoder module

MicroToys Guide: Motors A. Danowitz, A. Adibi December A rotary shaft encoder is an electromechanical device that can be used to

Size 23 Double Stack External Linear Size 23 Double Stack. 57M4 n n n n n n. 57L4 n n n n n n. E57M4 n n n n n n. Bipolar 5 VDC 12 VDC 2.

The World of Motion Control

Features. Electrical Outputs Complementary outputs: A, A, B, B, I, I I and I available only on three channel encoders

Technical data. General specifications. Linearity error ± 0.1 Functional safety related parameters MTTF d 700 a at 40 C Mission Time (T M ) L 10

Quick Assembly Two and Three Channel Optical Encoders. Features. Applications

QR12. Output. A = Line Driver B = Line Driver ABZ/ Open Collector UVW C = Sin/Cos/ Line Driver UVW D = Sin/Cos/Open Collector UVW

JR12 Jam Nut Mount Optical Encoder

Data Sheet. AEDS-9240 Series 360/720 CPR Commutation Encoder Module. Features. Description. Applications

APPROACHES FOR ANALOG FRONT END DESIGN IN ELECTRIC POWER SYSTEM PARAMETERS MEASURING

Whitepaper EncoderBlue goes reflective

EC35. Optical Commutation Kit Encoder Page 1 of 7. Description. Mechanical Drawing. Features

Activity 4: Due before the lab during the week of Feb

Express Delivery. Axial. Connection

28000 Series Size 11 Double Stack Hybrid Linear Actuators

PIC Functionality. General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232

Position and Velocity Sensors

Data Sheet. AEAT-6600-T16 10 to16-bit Programmable Angular Magnetic Encoder IC. Description. Features. Specifications.

Transcription:

Application Note Using MagAlpha Devices to Replace Optical Encoders

Introduction The standard way to measure the angular position or speed of a rotating shaft is to use an optical encoder. Optical encoders typically use LEDs and photodetectors, in conjunction with a wheel or disc that periodically interrupts or reflects the beam of light between the LED and photodetector. Optical encoders suffer from several problems: They are expensive, especially at high resolutions They are subject to problems due to contamination (dirt) obstructing the optical path, leading to failure They require difficult manual adjustment of the zero position They can be quite large and bulky As an alternative to optical encoders, devices have been developed to measure the angle and speed of a shaft using magnetic technology and Halleffect-based silicon devices. In many cases, using an IC magnetic sensor like the Sensima MagAlpha device is a better choice. The MagAlpha Device The Sensima MagAlpha device is an IC that can sense directly the angle of an external magnetic field. These devices use proprietary techniques to measure the angle of the field with high accuracy even at high rotation speed. Commonly, magnetic angle sensors are used with a 2-pole magnet oriented above the surface of the IC (shown on the left in the image below). In addition, the MagAlpha devices include side-shaft compensation, which allows them to measure accurately the angle of a magnet placed to the side of the device (shown on the right in the image below). For more details on MagAlpha device operation, please refer to the MAxxx datasheets available at www.monolithicpower.com. 1

Encoder Mechanical Configurations Encoders come in many sizes and shapes, but they can be divided into two basic configurations: Through-shaft or hollow encoders These encoders are mounted to a rotating shaft that passes all the way through the encoder. Usually the code wheel mounts directly to the shaft, and the body of the encoder is mounted to a fixed structure (often a motor). To use a MagAlpha device to replace a through-shaft encoder, the MagAlpha part is mounted on a PC board to the side of the shaft, and a ring magnet is fitted to the shaft. Since the zero position can be set electronically, the magnet can be mounted with an arbitrary rotation with regard to the mechanical position. A magnet with more than one pair of poles can be used. In this case the MagAlpha device will indicate multiple rotations for each mechanical revolution. MagAlpha Device 2

End-shaft encoders Often looking like a motor or potentiometer, end-shaft or solid encoders are self-contained and have a shaft protruding from one end. The shaft is coupled to the rotating machinery using a shaft coupler, gears, or a belt. Replacing a solid-shaft encoder with a MagAlpha device is straightforward. A small disc magnet is affixed to the end of the shaft in place of the optical code wheel, and the MagAlpha device is positioned on a PC board at the end of the shaft. 3

Absolute and Incremental Encoders There are two basic types of optical encoders: Incremental Encoder These encoders typically provide two digital outputs in quadrature ( Phase A and Phase B ). With these two signals, the relative position, rotation direction, and speed of the shaft can be determined. Often, a third channel (called the index signal or Phase Z ) is present, which provides an indication of one particular shaft orientation. When there is no motion, no information is output therefore, incremental encoders can only measure movement, not static position. While moving, the system can track position by counting pulses on the A and B outputs relative to the index channel. Absolute encoder Absolute encoders provide an indication of shaft position regardless of movement of the shaft. Typically they use multiple optical devices, one per bit of resolution. Absolute optical encoders become very expensive at high resolutions. 4

The MagAlpha device can be used in both incremental and absolute applications. Electrical Interfacing Incremental encoders typically have an interface that uses three signals, plus a power supply and ground. The MagAlpha devices generate the exact same signals: Quadrature outputs (called A and B ) and an index signal ( Z ). The MagAlpha devices require a power supply of 3.3V, and the output signals are push-pull CMOS outputs. In many cases, these can be directly interfaced with the host system. If an exact duplication of an optical encoder interface is desired (which typically has open-collector outputs or differential TTL outputs), a few components need to be added, as shown in the diagrams below: Linear Regulator Differential Interface VDD MAxxx MagAlpha Device GND A B Z Differential Buffer IC 1 Ground 2 Ground 3 Index - 4 Index + 5 Channel A - 6 Channel A + 7 +5V / +12V 8 +5V / +12V 9 Channel B - 10 Channel B + Single-Ended Open-Drain Interface Linear Regulator VDD MAxxx MagAlpha Device GND A B Z 1 Ground 2 Index 3 Channel A 4 +5V / +12V 5 Channel B 5

Absolute encoders have different interface requirements, and there is not as much standardization as with incremental encoders. Often, synchronous or asynchronous serial interfaces are used, or sometimes parallel binary interfaces. Absolute position information is read from the MagAlpha device via a serial (SPI) interface. Typically this is connected to a microcontroller. In systems that already employ a processor, it is possible to directly connect the SPI interface of the MagAlpha part to the processor. In other cases, a local microcontroller (located adjacent to the device) can be used to create whatever interface that is required (RS-422 serial, CAN, etc.) Absolute Encoder Linear Regulator Power Input VDD MAxxx MagAlpha Device MISO MOSI SCLK CS Microcontroller Interface IC Data In Data Out GND Ground 6

Zero Position One of the unique advantages of using a MagAlpha -based encoder over an optical encoder is that the zero position is easily set without requiring precise mechanical adjustment. The MagAlpha devices have registers, accessible through the SPI interface, which sets the zero (home) position. The contents of these registers can then be programmed into local nonvolatile memory. This can be done as an automated step in the manufacturing process. To program the zero position, the mechanics (shaft) are placed into a known home position. Then, the absolute angle is read from the device. Since initially the zero position is set to the intrinsic physical zero, the value read is an angle that corresponds to the desired new zero setting. This value is now programmed into the zero registers within the device, so it becomes the new zero position. To store this into nonvolatile memory, voltage is supplied to the FLASH pin, and a register write is performed that programs that value into nonvolatile memory. The entire process can be completed in seconds. Conclusion Sensima MagAlpha devices can be used as a cost-competitive alternative to optical shaft encoders. Their resolution and insensitivity to dust and dirt are significant advantages, especially in industrial applications. 7