Estimating Gyro Bias – Calculating Orientation pt5

By | March 13, 2016

Estimating Gyroscope Bias

MEMs gyroscopes never read zero when they are stationary. There is always a small measurement offset. This gyro bias is often related to temperature, so warming up the gyro with a heat gun will cause the bias to change – sometimes quite dramatically.

The most common way to remove gyro bias is to measure the gyroscopes shortly after power-up. This measurement is subtracted from all subsequent measurements. This generally works fine if the gyroscopes are stationary when the initial measurement is taken and when the temperature is stable. It also doesn’t account for the rotation of the earth, which would slightly affect the bias measurement. But it’s a very good start.

Magnetometers and accelerometers can be used to estimate and continuously update gyro bias. These sensors are used to create a quaternion that roughly represents orientation. Differentiating these quaternions produces a very rough estimation of angular velocity. Subtracting noisy accelerometer/magnetometer angular velocity from gyroscopes angular velocity gives a very noisy estimation of gyro bias. Fortunately, gyro bias doesn’t change very quickly, so this noisy gyro bias estimate can be heavily low pass filtered without too much worry.



One thought on “Estimating Gyro Bias – Calculating Orientation pt5

  1. Pingback: IMU Maths – How To Calculate Orientation pt4 - CamelSoftware

Leave a Reply

Your email address will not be published. Required fields are marked *