How to integrate angular velocity to get angular position?

조회 수: 27 (최근 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 CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by