How to integrate angular velocity to get angular position?

23 ビュー (過去 30 日間)
jasper wagen
jasper wagen 2018 年 3 月 10 日
編集済み: Fabrice Lallement 2018 年 4 月 19 日
Hi there!
I have some flight test data and I need to integrate the roll velocity with respect to time to find the plane's roll angle at each point in time.
Ive tried the following however it produces a graph that decreases at a constant rate with some variation. The time period of measurement is constant and 0.1s.
RollRateIn = cumtrapz(RollRate);
The RollRate varies scholastically with maxima ~ +/-20 Rad/s.
I'd really appreciate some help on this guys!
Jasper

回答 (1 件)

Star Strider
Star Strider 2018 年 3 月 10 日
If the integral is decreasing, and with your experiment design it should not be decreasing, then you are integrating a constant, perhaps a negative mean value of the roll rate. (This could be due to calibration problems with the sensor.)
I would do a simple linear fit (using polyfit) to see if there is a linear trend, and also take the mean of your data to see if it is other than zero. You can then use the linear trend information to detrend your data, or simply subtract the mean if that turns out the be the problem.
  7 件のコメント
jasper wagen
jasper wagen 2018 年 3 月 13 日
Jim thank you for you help, you've really gone above and beyond. Certainly is an interesting problem (and a frustrating one!). I will dig deeper into the recording equipment used and perhaps use a kalman filter to work around the faulty gyro data.
Fabrice Lallement
Fabrice Lallement 2018 年 4 月 19 日
編集済み: Fabrice Lallement 2018 年 4 月 19 日
Previous answers are perfect for your issue. I would just like to add a reference for understanding INS data since you were asking for one. It is a bit lengthy but really simple to understand.
An introduction to inertial navigation. Oliver J. Woodman
You can easily find the article on Internet.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeNumerical Integration and Differentiation についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by