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
Sensors
  • Technologies
  • More
Sensors
Sensor Forum accelerometer or gyroscope
  • 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
  • State Verified Answer
  • Replies 10 replies
  • Answers 2 answers
  • Subscribers 342 subscribers
  • Views 1231 views
  • Users 0 members are here
  • accelerometer
  • gyroscope_sensor
Related

accelerometer or gyroscope

Former Member
Former Member over 12 years ago

I'm building a camera stabilizing gimbal for use on a drone helicopter. I would like to smooth out some of the turbulance experienced by the copter in windy conditions. What sensor would better serve my needs, an acclerometer or a gyroscope?  I am only interested in handling values in the X and Y directions. I also notice there are various "g" sensitivities (1.5g, 6g etc.).  Any thoughts on that would help and probably save me time and $$.

Thanks

  • Sign in to reply
  • Cancel
Parents
  • vsluiter
    0 vsluiter over 12 years ago

    Barry,

     

    You'll probably need both; the gyroscope measures angular velocity (degrees/second), which is good for maintaining a constant angle. You just need to integrate the angular velocity to get the angular position, and that way you can keep the camera at a constant angle with respect to your copter.

    However, that's probably not good enough; the gyros have a small error that adds up while integrating (because integrating boils down to adding up samples), and you probably want to keep the angle constant with respect to the earth, not the copter. That's why people use accelerometers. With an accelerometer you can determine the gravitational vector, i.e., you know where 'down' is. You can use this to correct drift in the integrated gyro angle EXCEPT for rotation around the gravitational vector. That's why people also add magnetometers to correct for that.

    The downside of the accelerometer is that it also measures the acceleration of your copter. So if you move quickly, it will have a wrong picture of where 'down' is. Smart filters (Kalman / extended Kalman) are used to neglect acceleration data during fast movements.

     

    To get back to your question: the most versatile solution is to use Invensenses overprized MPU9150 (available on Sparkfun breakout board). It features a 3D accelerometer, gyroscope AND magnetometer. With the default settings you can read out the raw sensor values, but with special firmware (google for Pansenti MPU9150) you can get orientation data out of the device.

     

    To get even more back to your question:

    You say you're only interested in 'values' in X and Y directions. But what 'values' do you need? linear displacement? Change in rotation? With respect to what? If you've got that clear you can probably find out easier which sensor fits your basic needs.....

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • vsluiter
    0 vsluiter over 12 years ago

    Barry,

     

    You'll probably need both; the gyroscope measures angular velocity (degrees/second), which is good for maintaining a constant angle. You just need to integrate the angular velocity to get the angular position, and that way you can keep the camera at a constant angle with respect to your copter.

    However, that's probably not good enough; the gyros have a small error that adds up while integrating (because integrating boils down to adding up samples), and you probably want to keep the angle constant with respect to the earth, not the copter. That's why people use accelerometers. With an accelerometer you can determine the gravitational vector, i.e., you know where 'down' is. You can use this to correct drift in the integrated gyro angle EXCEPT for rotation around the gravitational vector. That's why people also add magnetometers to correct for that.

    The downside of the accelerometer is that it also measures the acceleration of your copter. So if you move quickly, it will have a wrong picture of where 'down' is. Smart filters (Kalman / extended Kalman) are used to neglect acceleration data during fast movements.

     

    To get back to your question: the most versatile solution is to use Invensenses overprized MPU9150 (available on Sparkfun breakout board). It features a 3D accelerometer, gyroscope AND magnetometer. With the default settings you can read out the raw sensor values, but with special firmware (google for Pansenti MPU9150) you can get orientation data out of the device.

     

    To get even more back to your question:

    You say you're only interested in 'values' in X and Y directions. But what 'values' do you need? linear displacement? Change in rotation? With respect to what? If you've got that clear you can probably find out easier which sensor fits your basic needs.....

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • Former Member
    0 Former Member over 12 years ago in reply to vsluiter

    I found this web page to be very helpful.  It helps explain the values read from the acceleration and gyroscope sensors, and how they are combined.

    http://www.starlino.com/imu_guide.html

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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