Determining the position/direction of an aircraft

≡放荡痞女 提交于 2019-12-09 13:59:44

问题


I'm working in a project that involves gyroscopes...

I'm using Arduino and an ITG 3200 to read the data from the gyroscope. I get 3 values in deg/s for each axis (x,y,z).

My question is: How can I know the actual (physical) position or direction of the device (let's say an airplane). There has to be a math formula or something like that.


回答1:


Using only the gyroscope signal (which you have to integrate numerically), you'll eventually run into trouble, due to drift. What's normally done is combining an accelerometer (for low frequency signals, i.e. drift) with a gyroscope (for high frequency signals). Here's a link few links showing more or less exactly what you want:

  • http://www.starlino.com/imu_guide.html
  • http://www.instructables.com/id/Accelerometer-Gyro-Tutorial
  • http://www.starlino.com/quadcopter_acc_gyro.html

Also, see these StackOverflow questions:

  • Combine Gyroscope and Accelerometer Data
  • Integrating gyro and accelerometer readings
  • gyro, accelerometer, magnetometer and Kalman filter
  • How to determine relative position using accelerometer and gyro data



回答2:


We are working on a similar problem.

We found this video on YouTube especially helpful, as it came with a paper as well as an implementation (which runs on Arduino):

http://www.youtube.com/watch?v=fOSTOnQzZCI

The paper and source code:

http://code.google.com/p/imumargalgorithm30042010sohm/

In our case (getting the orientation of a remote-controlled ball), we also had to include an accelerometer and a magnetoscope.



来源:https://stackoverflow.com/questions/5530833/determining-the-position-direction-of-an-aircraft

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!