element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Sensors
  • Technologies
  • More
Sensors
Sensor Forum Magnetic Rotary Position Sensors
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Sensors to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 14 replies
  • Subscribers 318 subscribers
  • Views 1517 views
  • Users 0 members are here
Related

Magnetic Rotary Position Sensors

Workshopshed
Workshopshed over 12 years ago

I'm hoping to evaluate the AS5048B sensor for a rotary table solution.

 

http://www.ams.com/eng/Products/Magnetic-Position-Sensors/Rotary-Magnetic-Position-Sensors/AS5048B

 

There's a bullet point on the description that reads:

 

"Angle accuracy 0.05°after system linearization and averaging"

 

I understand about averaging but what is mean by system linearization and how would I go about doing that?

 

Has anyone used this model or others in the series? Product LinkProduct Link

  • Sign in to reply
  • Cancel

Top Replies

  • Workshopshed
    Workshopshed over 12 years ago in reply to Workshopshed +1
    Bit more progress on the test rig http://www.workshopshed.com/2013/06/magnetic-sensor-test-rig.html
  • vsluiter
    vsluiter over 12 years ago

    Hello Andy,

     

    I haven't used these sensors, but what is meant by linearisation is that you turn the object whose rotation you're trying to measure one full revolution while measuring the rotation with another device (higher accuracy absolute position encoder, or use a transmission to measure revolutions on another axis).

    Ideally, every LSB of the output is exactly 360/(2^14) degrees. Due to sensor errors, or misplacement of your magnet it could be that in one place the LSB size is a bit larger than in other places, giving 360 degrees as a sum of all bits, but differing a little over the rotation (read in on INL and DNL on Wikipedia)

    To linearize, you'd need to map the true rotary position to the measured rotary position, for example using look up tables.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Workshopshed
    Workshopshed over 12 years ago in reply to vsluiter

    Victor,

    thanks for the clarification that seems straight forward enough. I'll have to work out how I might go about getting more accurate positioning/measurement. The joy of having a microcontroller in the mix is that I can upload new firmware so to speak late in the project.

     

    Hopefully my primitive test rig will be sufficient to test out the electronics and software, I was a bit limited on non magnetic materials so wood and plastic had to do.

     

    image

     

    Cheers,

    Andy

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Workshopshed
    Workshopshed over 12 years ago in reply to Workshopshed

    Bit more progress on the test rig

     

    http://www.workshopshed.com/2013/06/magnetic-sensor-test-rig.html

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 12 years ago

    The ams.com website is down currently so I couldn't see the datasheet, but that's really impressive if they can achieve this accuracy, and if the resolution is high. Glad you're investigating!!! I wonder if that means people don't need to spend a fortune on optical encoders for some high-accuracy applications. For a tool application, it would be interesting to know if motors/cables nearby or any other magnetic fields affect it. Have you noticed any fluctuations in your measurements?

    EDIT: just saw the Farnell link. That's very low cost! But, I was unsure, the datasheet on the Farnell site said +-0.5 degree accuracy, is this different to the manufacturer site? I guess with gearing and keeping a count of revolutions, that is still pretty good. But then there is the issue of eliminating backlash I guess :-(

    I remember reading some micrometers don't use optical encoders either, but use some accurately spaced parallel PCB tracks, and capacitance. Just as a slight digression,  it doesn't help your use-case directly, but the FRDM-KL25Z boards have a lot of capacitive sensor inputs. I wonder if they can be re-tasked to some measurement purpose. That would be pretty amazing.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Workshopshed
    Workshopshed over 12 years ago in reply to shabaz

    shabaz,

    the Farnell link is for an earlier board with a lower resolution, it works the same way though. The issues with the higher rez magnetic boards is noise induced in the Hall sensors and non linearity hence the first topic.

    I'm working on this in my spare time so I've only just wired up the board. Need to get the I2C communication working next.

    However I will see if it is affected by motors and large chunks of steel etc.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • vsluiter
    vsluiter over 12 years ago in reply to shabaz

    The encoders still have their purpose; firstly they go to even higher resolution (2000 pulses per revolution no exception in robotics). Secondly, resolution is not the only concern:

    • Accuracy is not 14-bit, as you have 2.7 bit rms noise. Of course you can average, but that will cost speed
    • Sampling rate is 11kHz, so in very fast rotating axes the bandwith of measurement is impaired; not so with encoders

    Nevertheless, magnetic rotational encoders have a very wide range of applications, and it's cool to measure just by adding a magnet!

    A company that has made a very high accuracy motor driver for us told me that they're primarily using IC's from IC-Haus: http://www.ichaus.de/keyword/Magnetic%20Encoder%20iCs.

    This company is also interesting: http://www.rls.si/en/am512b-9-bit-rotary-magnetic-sensor-chip--15882#ElementMediaList40407

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • vsluiter
    vsluiter over 12 years ago in reply to Workshopshed

    Would using a metal rig be that bad? I'd guess that linearizing / field mapping would remove the problems you'd get from that. Will you  be moving to metal later on? I'm curious what the effects would be.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Workshopshed
    Workshopshed over 12 years ago in reply to vsluiter

    I will be moving to metal, the table that I plan to attach this to will be mostly aluminium with a steel spindle.

     

    I don't plan to rotate the table quickly, so the averaging is not too much of an issue. One thing I did realise just yesterday is that I need to be careful about the averaging and crossing zero. So I'll factor that into the algorithm.

     

    I've see the Renishaw chips before but not the IC-Haus ones, thanks for the links.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Problemchild
    Problemchild over 12 years ago

    The Magnet and Hall sensor device arrangement has been used for retrospective feed back on servos like in the open servo project.

    In the case of Servos the feedback was normally a standard resistor which obviously got worn out using the hall sensors for feedback got rid of this problem.It may well be worth looking at what they did since it's open source.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Workshopshed
    Workshopshed over 12 years ago in reply to Problemchild

    Hi John, thanks for the suggestion, 

     

    There's a few interesting links I found via the "Open Servo Project" and there's lots of useful advice to read from there too.

     

    http://hackedgadgets.com/2008/11/19/open-stepper-project/

    http://www.jaredharvey.com/

     

     

    The Open Server forums do discuss hall sensors in detail and also the chips I've been looking at here.  They even have a project called the "Open Encoder" which looks at these chips in detail so many thanks for the mentioning that project

     

    http://www.openservo.com/forums/viewtopic.php?t=766

    http://www.openservo.com/forums/viewtopic.php?t=940

     

    Cheers

     

    Andy

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube