Sunday, 5 April 2015

Magnetic Encoders - Tips and Tricks


I am new to encoders in general and I am thinking about using a magnetic encoder in a personal project were I will need to make my own servo, and thus get an absolute position reading (instead of the relative reading provided by an optica encoder) from the magnetic encoder. Are there any pitfalls one should know? How should I know how many resolution (in degrees) a sensor may have? Is it just about its bits output or there are more hidden problems, like the magnet's properties?


(I know people usually ask for help in this site, and general questions get voted down, but I honestly think this is very helpful so people may avoid wasting time and money in ideas they didnt have the proper knowledge to pursue)



Answer



Magnetic encoders for most intents and purposes are an excellent low cost alternative to traditional optical devices. There are some concerns related to their repeatability, accuracy and jitter but if you are not on the bleeding edge of servo design, they should suit your purposes very well.


If you are looking to purchase an encoder off the shelf as an integrated product, I've used ones from Baumer before with great success (they are a little expensive). Otherwise for an IC level solution, the most mainstream ones are from AMS (Austria Microsystems). I know that the AMS devices are often used in automotive applications like accelerator position sensing, steering wheel position sensing, etc. RLS (Rennishaw) is another IC vendor.


One thing to be careful of when using an IC solution is that the quality of the magnet matters so be sure to use one that is recommended by the manufacturer. Also placement of this magnet is important, make sure that it is in a non-ferrous shaft like aluminum, Stainless Steel or plastic.



In general for servos, I wouldn't recommend closing a velocity loop on absolute position feedback but rather use quadrature signals. You can close position loop by accumulating quadrature as well or use absolute position. The systems that I worked on use absolute feedback only to perform the homing function at power on and then quadrature for everything else.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...