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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
Robotics
  • Technologies
  • More
Robotics
Forum Increasing accuracy in IMU
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Robotics to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 5 replies
  • Subscribers 61 subscribers
  • Views 829 views
  • Users 0 members are here
Related

Increasing accuracy in IMU

Former Member
Former Member over 13 years ago

I was trying to get roll ,pitch, yaw by applying direction cosine matrix , used accelerometer and gyro for roll and pitch, and magnetometer and gyro for yaw. I could get the readings perfectly but after rotating the my cicuit board in 3D space and bringing it back to original position i found that the roll and pitch remain almost same as original but there was a considerable change in yaw. Can anyone provide a solution to stabilize yaw???

  • Sign in to reply
  • Cancel
Parents
  • DAB
    DAB over 13 years ago

    I have watched IMU mature over the last four decades and it is not a simple problem to solve.

    In your case however, if you are going to limit your vertical movement, you can set up a set of states based upon your directional vectors and have them correct the signs of the true orientation.

     

    Just sit down and consider where you get the errors and then look at what you need to fix them. Usually, you can just change the polarity sign at a few select points.  From there you can setup the axial states you need to keep track of.

    Its not a fancy solution, but it is easy to determine and use in real time.

     

    I have seen some IMU software implementations that run into the million lines of code range, but you can do a fairly simple solution as long as you are not trying to circle the world or anything like that at high precision.

     

    Just a thought,

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to DAB

    Can you please elaborate this a little. ???

    The problem is that for initial calculations some errors can be neglected but this error increases with time and will lead to larger unavoidable errors after small interval of time. I tried improving DCM and got it solved to much extent. But still the yaw keeps on drifting by minor amount even when circuit board is completely stationary.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Former Member
    Former Member over 13 years ago in reply to DAB

    Can you please elaborate this a little. ???

    The problem is that for initial calculations some errors can be neglected but this error increases with time and will lead to larger unavoidable errors after small interval of time. I tried improving DCM and got it solved to much extent. But still the yaw keeps on drifting by minor amount even when circuit board is completely stationary.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • DAB
    DAB over 13 years ago in reply to Former Member

    Ok, You need to first verify your data to see if you are getting the correct input.

    You should verify the the calculations using a very simple test where you can monitor the actual position of the device and compare it to the IMU calculated position.

    If you are using sines and cosines, you can get discontinuities when you traverse through the 90 degree points, especially if you are using tangent angles for any of your calculations.

     

    Yes, when you do direction and movement adjustments based upon acceleration, you can build up a lot of error if your sensor data is noisy.

    You may need to do some heavy filtering on your data if that's the case.  That is why most of the new systems use GPS so they can reset the position points at the waypoints.

     

    Unfortunately, I no longer have the math skills to tackle this problem.  All I can do is suggest some testing you can do to see if you can isolate the source of your error.

     

    As I stated before, IMU implementations are not trivial.

     

    Good luck,

    DAB

    • 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