Using imufilter and ahrs filter

조회 수: 8 (최근 30일)
Sharada Boinepalli
Sharada Boinepalli 2019년 10월 10일
답변: Joseph 2020년 3월 28일
Hi,
I am using imufilter to fuse some accelerometer and gyro measurements I have. How do I input the initial orientation of the sensor? Is it needed or is it calculated using the initial measurements? (Don't know how it is possible,,)
Any help much appreciated.
Sharada

답변 (2개)

Benjamin9119
Benjamin9119 2020년 1월 28일
Hi Sharada,
The orientation of the sensor is estimated using the initial measurements (acceleration, angular rate, magnetic field strength). The accuracy of the orientation estimation seems to be highly dependant on correctly setting the filter parameters (this may require some 'tuning' or trial and error for some of the parameters).
Best, Ben

Joseph
Joseph 2020년 3월 28일
Hi Sharada,
The gyroscope would give you angular velocities, which can give you the orientation from a starting point. When combined with an accelerometer, the accelerometer can then be used to measure the direction of gravity and then would have an initial 'down' direction towards gravity. See here.
The accelerometer and gyro measurements are passed directly to imufilter to output the orientation.
FUSE = imufilter;
[orientation,angularVelocity] = FUSE(accelReadings,gyroReadings)
If you have a magnetometer as well, then you can use ahrsfilter to get the orientation.

카테고리

Help CenterFile Exchange에서 Inertial Sensor Fusion에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by