Application Note: MSS Techniques to obtain absolute position using the MPS160

Similar documents
Chen. Vibration Motor. Application note

MILE Encoder for EC 90 flat

TLI4946. Datasheet TLI4946K, TLI4946-2K, TLI4946-2L. Sense and Control. May 2009

Agilent AEDB-9140 Series Three Channel Optical Incremental Encoder Modules with Codewheel, 100 CPR to 500 CPR Data Sheet

Transmitter Interface Program

Stepper motor I/O. Application Note DK Motion Control. A General information on stepper motors

Chapter 8. Digital and Analog Interfacing Methods

Optical Encoders. K. Craig 1. Actuators & Sensors in Mechatronics. Optical Encoders

Digital vs. Analogue Control Systems

Microcontroller for Variable Speed BLDC Fan Control System. T.C. Lun System Engineer, Freescale Semiconductor, Inc.

Micro-Step Driving for Stepper Motors: A Case Study

Application Information Fully Integrated Hall Effect Motor Driver for Brushless DC Vibration Motor Applications

ServoOne. Specification. Option 2 - Technology. x 11. x 8 X 8. x 10. x 9. x 7. x 6 TTL Encoder / TTL Encoder simulation

Technical definitions of A to Z

Application Information

Motors and Generators

Servo Info and Centering

Three Channel Optical Incremental Encoder Modules Technical Data

Field and Service Robotics. Odometry sensors

Chapter 8. Digital and Analog Interfacing Methods

Description. Dimensions. Features. precision works better

Mercury TM 1500P PCB-Mount Digital Encoders

QR12 (1.22 ) Diameter Optical Encoder

BRIEF INFORMATION Angular Position Sensors Single and double sensors

Simple Analysis for Brushless DC Motors Case Study: Razor Scooter Wheel Motor

Introduction to Linear Actuators: Precision Linear Motion Accomplished Easily and Economically

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

BRUSHLESS DC MOTORS. BLDC 22mm. BLDC Gearmotor Size 9. nuvodisc 32BF. BLDC Gearmotor Size 5

Configuring the FlexTimer for Position and Speed Measurement with an Encoder

Chapter 8. Digital and Analog Interfacing Methods

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

X8 Option 2 - Technology

How To Control Gimbal

Active Vibration Isolation of an Unbalanced Machine Spindle

PIC Application Notes

Using angular speed measurement with Hall effect sensors to observe grinding operation with flexible robot.

DC Motor control Reversing

Principles of Adjustable Frequency Drives

Sense it! Connect it! Bus it! Solve it! EncoderS

MDM-5000 DIRECT DRIVE SETS

BLWR23MDA Series. 24V, 15A Brushless Controller / Motor. User s Guide. 910 East Orangefair Lane, Anaheim, CA info@anaheimautomation.

CNC Machine Control Unit

FRC WPI Robotics Library Overview

NECOCAR. International CATIA Project

3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers

Electronic Speed Variator for a Brushless DC Motor

Encoders. the incremental encoders format such as relective optical technology, transmissive optical technology

UNIT 1 INTRODUCTION TO NC MACHINE TOOLS

UNIT II Robots Drive Systems and End Effectors Part-A Questions

DIRECT CURRENT GENERATORS

TwinCAT NC Configuration

THERMAL ANEMOMETRY ELECTRONICS, SOFTWARE AND ACCESSORIES

EVAL-UFDC-1/UFDC-1M-16

PHD User Manual. Table of Contents

Development Of High Efficiency Brushless DC Motor With New Manufacturing Method Of Stator For Compressors

CHAPTER 4 DESIGN OF INTEGRAL SLOT AND FRACTIONAL SLOT BRUSHLESS DC MOTOR

Contactless Encoder RI360P0-QR24M0-INCRX2-H1181

APPLICATION NOTE. Atmel AVR443: Sensor-based Control of Three Phase Brushless DC Motor. Atmel AVR 8-bit Microcontrollers. Features.

DAC Digital To Analog Converter

Inductance. Motors. Generators

MicroMag3 3-Axis Magnetic Sensor Module

Alignment Laser System.

APPENDIX. SureSERVO QUICK START GUIDE. In This Appendix... Quick Start for SureServo Drives...A 2. Tuning Quick Start for SureServo Drives...

Lab 8: DC generators: shunt, series, and compounded.

Siemens AG 2011 SINAMICS V60. The perfect solution for basic servo applications. Brochure May 2011 SINAMICS. Answers for industry.

maxon sensor maxon sensor

Differential-Hall-Effect based Sensors Series A5S

Alternative Linear Motion Systems. Iron Core Linear Motors

OVERVIEW OF POSITION FEEDBACK SENSORS AVAILABLE FOR BRIDGES AND OTHER HMS PROJECTS: FROM ELECTROMECHANICAL TO ELECTRONIC TO FIBER OPTICS

Speed Control Methods of Various Types of Speed Control Motors. Kazuya SHIRAHATA

Physical Specifications (Custom design available.)

Using the Motor Controller

INSTRUMENTATION AND CONTROL TUTORIAL 3 SIGNAL PROCESSORS AND RECEIVERS

Series: IDAM Servo Drive E Digital Motor Drive - DMD

Current Loop Tuning Procedure. Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) General Procedure AN-015

EnDat 2.2 Bidirectional Interface for Position Encoders

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

Copley Camming User Guide

Borstlösa DC-motorer. Promoco Scandinavia AB

Physics 221 Experiment 5: Magnetic Fields

Sensorless Field Oriented Control (FOC) for Permanent Magnet Synchronous Motors (PMSM)

BLY17MDA Series. 24V, 10A Brushless Controller/Motor. User s Guide. 910 East Orangefair Lane, Anaheim, CA info@anaheimautomation.

CHAPTER 11: Flip Flops

The Emergence of Brushless DC Motors Within Medical Applications

Parallel Port Interfacing with Switches, Keypad and Rotatory encoder

EE 402 RECITATION #13 REPORT

An overview of Computerised Numeric Control (C.N.C.) and Programmable Logic Control (P.L.C.) in machine automation

Mobile Robotics I: Lab 2 Dead Reckoning: Autonomous Locomotion Using Odometry

Basic of servomotor control

A Laser Scanner Chip Set for Accurate Perception Systems

THE LUCAS C40 DYNAMO & ITS ARMATURE.

Ampere's Law. Introduction. times the current enclosed in that loop: Ampere's Law states that the line integral of B and dl over a closed path is 0

Torque motors. direct drive technology

Synchronous motor. Type. Non-excited motors

AN2680 Application note

GT Sensors Precision Gear Tooth and Encoder Sensors

High Accuracy Articulated Robots with CNC Control Systems

Encoders for Linear Motors in the Electronics Industry

Tube Control Measurement, Sorting Modular System for Glass Tube

A METHOD OF CALIBRATING HELMHOLTZ COILS FOR THE MEASUREMENT OF PERMANENT MAGNETS

Transcription:

Application Note: MSS -7305 Techniques to obtain absolute position using the MPS160 Table of Contents 1) Overview 2) Quasi-Absolute a. Single index pulse b. Multiple index pulses 3) Full Absolute a. Commutation track b. External Halls for pole identification c. N, N+1 4) Conclusions Reference Documents: MPS160 series data sheet 1835 Dueber Ave SW P.O. Box 6930 Canton, OH 44707-0930 Telephone: (330) 471-5000 E-mail: MotionControl@timken.com

Page 2 Overview: One of the features of the MPS160 Encoder ASIC is the ability to provide exact position within one magnetic pole pair of the high resolution track. The encoder ASIC does not discriminate which pole pair, thus as a stand alone is unable to provide one turn or phased absolute position. Absolute position can be achieved at power on using additional sensor inputs or with some initial movement. This application note discusses a number of methods to obtain the exact absolute position within 360 of rotation or a full revolution of the magnet. The MPS160 provides live (not time-interpolated) information and its angle-based interpolator does interpolation over many poles around a circumference (instead of just one pole pair at the center of rotation) providing better accuracy. It is designed for harsh environment applications and has an offaxis compact design. Sensing absolute position using the MPS160 - Two basic approaches A) Quasi Absolute: Requires some amount of motion to obtain absolute position B) Full Absolute: Sensor knows the exact position on power-up A Quasi Absolute 1) Using the Reference / index pulse: When using the reference/index pulse the shaft/magnet is rotated through the marker pulse location. When the index pulse occurs the computer/controller can zero its location counter. From that point on the quadrature signal from the A and B channels is used to count up and down. While the MPS160 is normally a relative position sensor when the marker pulse is used the user can detect the exact angular position of the magnet with respect to the marker pulse location. The marker pulse can either be put at the customer TDC (Top Dead Center) location or it can be offset by some amount. 2) Using a number of index pulses for single turn absolute position: The MPS160 can provide both a C pulse and a D pulse. One of these can be provided per magnet pole pair. The C pulse occurs at the magnetic N-S transition where channel A and B are both logic 1. The D pulse occurs at the S-N transition where channel A is logic 0 and B is logic 1. For example: A 32 pole pair magnet can have any number of C pulses between 0 and 32. The same holds for the D pulses. By using a combination of C and D pulses at predefined locations, forming a gray scale, the controller is able to determine the exact position within a much smaller angle of rotation than with a single index pulse. Based on a target design, the target may only need to rotate 3 to 6 pole pairs to determine the exact single turn position.

Page 3 The following illustration demonstrates this with an 8 pole pair magnet configuration. Pole pair # 1 2 3 4 5 6 7 8 Code C0 CD 0D CD 00 00 C0 0D Each C or D pulse (or a zero) would occur every 22.5 degrees. In this case the magnet would have to rotate through 3-4 pulses or between 67.5 and 90 mechanical degrees. Using this technique on a motor where the position was needed within a motor pole phase and where 8 pole pairs were used for each motor pole, the position is identified within ¼ of a motor pole phase. 3) Using a number of index pulses for motor phase absolute position: Finding the position within a motor phase is much simpler as this angle is smaller and the non-repeating pattern will be much smaller as well. If this technique is combined with the use of 1 or 2 external Halls the angle can be very small. For example, a 3 pole motor using an 18 pole pair target magnet and 2 external Halls would require only 10 mechanical or 30 electrical degrees of rotation to determine the exact position in the motor phase. The system controller would need to run an algorithm to start the motor and provide initial motor control based on direction information from the ASIC s A&B quadrature signals alone. The motor would have to operate based on quadrature and / or back EMF until the motor had moved far enough CW or CCW to indicate an absolute position based on the sequence of RP-C and Rp-D transitions encoded in the target magnet. B Techniques to obtain full absolute position on power up There are three basic methods described below to obtain full absolute position on power up: 1) Use external Halls on a second magnetic track for motor phase absolute position and incremental A&B quadrature count to establish absolute position (Commutation track usually used for motor start up). 2) Use external Halls on a second magnetic track for pole pair identification. 3) Use two MPS160 chips with two magnet tracks having N and N+1 poles. Any of these three methods can be used to optimize a particular application. A detailed description of these follows: 1) Use external Halls for course absolution position and incremental A&B quadrature to establish absolute position (commutation track usually used for motor start up): When a

Page 4 BLDC (Brushless DC) motor starts it can be started by turning on the appropriate motor windings so that the motor rotor will rotate in the proper direction. The absolute angular position of the rotor must be known so that power can be applied to the appropriate motor windings. Normally only a course position identification is sufficient for startup. A commutation track normally provides three digital signals where each signal is on for half of a motor phase and off for the other half of the motor phase and are separated by 120 electrical degrees (see figure below). These three signals will provide six states (six positions) within a motor phase so the motor position is known within 1/6 th of a motor phase. This is usually enough resolution to start the motor. Then after the motor starts, when an edge from one of the commutation tracks is crossed the exact position is known and the A & B quadrature outputs can be used to count up or down to continuously monitor the exact rotor position. 2) Use external Halls on a second magnetic track for pole pair identification (see drawing figures below). The MPS160 includes a standard 3-wire SPI serial interface feature which can be used to achieve absolute position feedback. The MPS160 breaks each pole pair into 160 positions. When the magnet is located over the ASIC the 8 bit word in the SPI protocol contains the absolute position within the pole pair. The MPS160 chip on its own is not able to determine which pole pair is over the chip. Using external Hall signals, similar to the commutation signals noted in the previous method, divides the single turn rotation into a specific number of states or positions. When the number of states or positions exceeds the number of pole pairs on the high resolution track the specific pole pair of the target wheel can be identified. With the pole pair is over the MSP160 is identified the absolute position can now be determined. The MPS160 can accept up to four digital signals from a second track (typically 4 digital Hall devices are used) and made available on the SPI line (called U, V, W, X - see figure below). During each SPI read operation there is an 8-bit status word and an 8-bit data word that are read. The four Hall signals are available as four of the bits on the status word. The limitation to the available inputs to the MPS 160 is that only 8 states (or positions) can be identified with

Page 5 the four Hall lines. This limits the number of pole pairs that can be identified to about 5 or 6 maximum (some overlap is required because of tolerances). With a wide pole pair of 8mm (normal mode of operation for the MPS160) this limits the maximum magnetic lineal distance (circumference) to 48mm long for the 6 pole pairs or a target diameter of approximately 15 mm OD. Additional Hall devices could be used and directly read to increase the number of identifiable states. These will need to be read outside the SPI interface, requiring extra wires for each device. The additional Halls would increase the number of identifiable states by two for each added. This allows more pole pairs on the magnet. Each pole pair would add another 8mm linear distance which equates to larger diameter. A tolerance stack up needs to be done to determine the maximum number of magnetic poles that will fit in the range of Hall positions and to guarantee that the proper pole pair is identified. The primary tolerances to include are Hall switchpoint tolerances, air gap shifting the angle where the Hall switchpoint changes and Hall placement on the PCB pads. Some safety factor needs to be included for electrical and magnetic noise. For BLDC motor applications where the absolute position is required only within a motor phase this is usually enough linear distance to obtain absolute position over the motor phase. 3) Use two MPS160 chips with two magnet tracks having N and N+1 poles. For this technique two MPS160 encoder ASICs are used. Each one is positioned to read one of two tracks on a rotating or linear magnet. One is magnetized with a number of magnetic poles N. The magnet on the other track is magnetized with N+1 poles (high resolution track). Each

Page 6 sensor chip thus reads either N or N+1 poles over the absolute position sensing distance. Each encoder ASIC interpolates every pole pair into 160 positions. The ASICs output a number between 1 and 160 corresponding to the absolute location of the magnetic pole pair over each ASIC. By analyzing the phase shift between outputs from each encoder ASIC first the rough position and then the absolute position are determined. The graph below illustrates the gradual phase shift in the ASIC outputs between the N and N+1 tracks. The phase shift is zero at the left side and gradually increases over the full sensing angle to the right. This phase shift alone does not have sufficient precision for absolute position; however, the outputs do have enough precision to identify which pole pair is over the high resolution (N+1) track. Once the pole pair is identified the exact position over that pole pair is already known and the exact position of the magnet is determined. Value of count from sensors 180 160 140 120 100 80 60 40 20 0 N, N+1 values vs Linear Position 0 100 200 300 400 Linear Position Value of 'N+1' track Value of "N' track The maximum phase shift between pole N and N+1 cannot be larger than the accumulation of all errors or the wrong pole will be identified. Because a large portion of the errors are predictable and repeatable, a look up table can be used to compensate for these errors. More error can be taken out by building a look up table where each part is individually calibrated with it s own look up table. In addition, designs with less phase shift (N + X, where X>1) will offer lower errors and will need additional Hall sensors and track to determine the segment being evaluated.

Page 7 CONCLUSION The Timken MPS160 encoder ASIC offers absolute position feedback over a pole pair. Other features on the integrated circuit provide a number of solutions for achieving absolute position feedback using magnetic technology. This includes simple gray scale code configurations using small shaft movements for quasi-absolute position to full absolute position using additional Hall devices or MPS160 circuits. The simplest solution and most economical configuration requires a small amount of shaft movement to determine absolute position for a quasi-absolute technique. This solution uses the multiple index pulse capability of the MPS 160 encoder ASIC to generate a gray scale to identify which pole pair the MPS160 encoder ASIC is over. Power on absolute position is available over a motor phase or over a single turn. For absolute position over a motor phase for brushless motor applications an additional commutation track using Hall devices is used in conjunction with the MPS160 encoder ASIC incremental outputs. The commutation track is used for startup. Once a commutation edge is detected the high resolution incremental A and B outputs from the MPS160 can be counted up and down to provide absolute position. Absolute position on power-up for either single turn or over a motor phase uses the MPS160 SPI interface with a second magnetic track. For applications with smaller diameters external Hall signals from a second track (which are all available through the SPI interface) provide the required pole identification information. For medium and large diameters the N, N+1 technique can be used with a second MPS160 encoder ASIC. The MPS160 provides live (not time-interpolated) information. Its angle-based interpolator does interpolation over many poles (instead of just one pole) providing better accuracy. The off-axis compact design of the MPS160 encoder ASIC makes it ideal for operating in harsh environment applications where absolute position needs to be integrated into a mechanical assembly.