UKHAS Wiki

UK High Altitude Society

User Tools

Site Tools


code:7_state_ekf_with_bias

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
code:7_state_ekf_with_bias [2010/01/10 00:17] laurencebcode:7_state_ekf_with_bias [2010/01/10 00:23] (current) laurenceb
Line 2: Line 2:
 ===== Bias tracking in Octave ===== ===== Bias tracking in Octave =====
  
- This has been tested with three axes of accel and gyro, but adding a magnetometer will add to a dramatic improvement. Interestingly this filter is still able to filter out yaw gyro bias errors if the IMU is tilted - i.e. any roll or pitch.+ This has been tested with three axes of accel and gyro, adding a magnetometer will give a dramatic improvement as absolute yaw determination will be possible. Interestingly this filter is still able to filter out yaw gyro bias errors if the IMU is tilted - i.e. any roll or pitch.
  
  
-In the first plot you can see the yaw bias being corrected reasonably well after the first few manovers.+In the first plot you can see an artiffically introduced large yaw bias being corrected reasonably well after the first few manovers. Angles are in radians.
  
 {{code:bigbias.png|}} {{code:bigbias.png|}}
 +
 + This second test uses raw test data with a sparkfun 6DOF IMU - i.e. actual biases. The intialisation of the filter was just guesstimated, and it takes a while to settle. However the values after 40 seconds are within 15% of the bias values obtained by interpolating between the gyro outputs when the IMU was stationary between movements.
 +
 +{{code:biases.png|}}
 +
 +
 +===== GNU Octave code =====
  
 <code matlab> <code matlab>
code/7_state_ekf_with_bias.1263082633.txt.gz · Last modified: 2010/01/10 00:17 by laurenceb

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki