# US 9,354,080 B2 · Method and devices for temperature-based determination of gyroscope bias

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,354,080 B2
- Document ID: US9354080B2
- Status: Granted
- Kind: B2
- Application number: 13/592,472
- Filed: 2012-08-23
- Published: 2014-02-27
- Granted: 2016-05-31
- Earliest claimed: 2012-08-23
- Assignees: BlackBerry Limited
- Applicants: Nathan Daniel Pozniak Buchanan; Robert George Oliver; Christopher James Grant
- Inventors: Nathan Daniel Pozniak Buchanan; Robert George Oliver; Christopher James Grant
- Web page: https://patentgrep.com/patent/US9354080B2

## CPC

- G01C 25/005: {initial alignment, calibration or starting-up of inertial devices}
- G01C 19/00: Gyroscopes; Turn-sensitive devices using vibrating masses; Turn-sensitive devices without moving masses; Measuring angular rate using gyroscopic effects
- G01C 19/02: Rotary gyroscopes
- G01C 23/005: {Flight directors (indicating arrangements specially adapted for rotary gyroscopes G01C19/32)}
- G01C: MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY (measuring liquid level G01F; radio navigation, determining distance or velocity by use of propagation effects, e.g. Doppler effects, propagation time, of radio waves, analogous arrangements using other waves G01S)

## Abstract

In one aspect, the present disclosure provides a processor-implemented method of determining a bias for an axis of a gyroscope. The method includes: obtaining a temperature reading; maintaining a plurality of bias estimators for the axis, each bias estimator associated with a temperature and configured to estimate a bias at the associated temperature, the plurality of bias estimators including a number of short term bias estimators for estimating biases for recently obtained temperatures and a number of long term bias estimators for estimating biases for temperatures obtained over a comparatively longer period of time; and determining a bias for the axis of the gyroscope based on the temperature reading and one or more of the bias estimators.

## Claims

### Claim 1

A processor-implemented method of determining a bias for an axis of a gyroscope, the method comprising:
obtaining a temperature reading from a temperature sensor;
maintaining a plurality of bias estimators for the axis, each bias estimator associated with a temperature and configured to estimate a bias at the associated temperature, the plurality of bias estimators including a predetermined number of short term bias estimators for estimating biases for recently obtained temperatures and a number of long term bias estimators for estimating biases for temperatures obtained over a comparatively longer period of time;
determining a bias for the axis of the gyroscope based on the temperature reading and one or more of the bias estimators; and
correcting a gyroscope reading based on the bias,
wherein maintaining the plurality of bias estimators comprises:
determining that the temperature reading defines a temperature that does not have a bias estimator associated therewith; and
in response to determining that the temperature reading defines a temperature that does not have a bias estimator associated therewith, replacing one of the short term bias estimators associated with a temperature with a new short term bias estimator associated with a different temperature such that the predetermined number of short term bias estimators is maintained, the different temperature defined by the temperature reading.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining a bias for the axis of the gyroscope based on the temperature readings and one or more of the bias estimators comprises:
when the bias estimators are not associated with the temperature represented by the temperature reading, then determining the bias by performing a least squares fit using a plurality of the bias estimators and the temperatures associated with those bias estimators.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining a bias for the axis of the gyroscope based on the temperature readings and one or more of the bias estimators comprises:
when one of the bias estimators is associated with the temperature represented by the temperature reading, determining the bias using the bias estimator associated with the temperature represented by the temperature reading.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
maintaining a temperature independent bias estimator, the temperature independent bias estimator providing a bias estimate for the axis of the gyroscope across all obtained temperatures; and
when the bias estimators that are associated with temperatures are not reliable, determining the bias using the temperature independent bias estimator.

### Claim 5 (depends on 1)

The method of claim 1, wherein maintaining a plurality of bias estimators for the axis comprises:
storing the short term bias estimators in a least recently used cache.

### Claim 6 (depends on 1)

The method of claim 1, wherein replacing one of the short term bias estimators with a bias estimator for the different temperature comprises:
discarding the least recently used short term bias estimator; and
storing the new short term bias estimator based on gyroscope readings obtained at the temperature defined by the temperature reading.

### Claim 7 (depends on 1)

The method of claim 1, wherein replacing one of the short term bias estimators comprises:
determining if the least recently used short term bias estimator contains too few gyroscope readings to be considered for inclusion as a long term bias estimator by comparing a number of gyroscope readings represented by the least recently used short term bias estimator to a predetermined threshold,
and:
when the least recently used short term bias estimator contains too few gyroscope readings to be considered for inclusion as a long term bias estimator, discarding the least recently used short term bias estimator; and
storing a new short term bias estimator based on a gyroscope reading obtained at the temperature defined by the temperature reading.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
replacing one of the long term bias estimators with the least recently used short term bias estimator,
and wherein replacing one of the short term bias estimators comprises:
storing a new short term bias estimator based on a gyroscope reading obtained at the temperature defined by the temperature reading.

### Claim 9 (depends on 1)

The method of claim 1, wherein replacing one of the short term bias estimators comprises:
selecting one of the long term bias estimators for replacement by:
identifying a range of temperatures represented by the bias estimators;
based on the identified range of temperatures, selectively protecting one or more of the long term bias estimators from replacement; and
selecting one of the long term bias estimators that is not protected for possible replacement.

### Claim 10 (depends on 9)

The method of claim 9, wherein selectively protecting one or more of the long term bias estimators from replacement comprises:
separating the range of temperatures represented by the bias estimators into a plurality of sub-ranges; and
for each sub-range that does not include the temperature associated with the least recently used short-term bias estimator, protecting, from replacement, one of the long term bias estimators having a temperature included in that sub-range.

### Claim 11 (depends on 10)

The method of claim 10, wherein protecting, from replacement, one of the long term bias estimators having a temperature included in that sub-range comprises:
identifying the long term bias estimator representing the greatest number of gyroscope readings in that sub-range; and
protecting the identified long term bias estimator from being replaced.

### Claim 12 (depends on 1)

The method of claim 1, wherein maintaining a plurality of bias estimators for the axis comprises:
periodically reducing the number of gyroscope readings represented by the long term bias estimators.

### Claim 13 (depends on 1)

The method of claim 1, wherein at least one of the bias estimators comprises a histogram.

### Claim 14 (depends on 1)

The method of claim 1 further comprising:
determining whether one of the long term bias estimators will be replaced with the least recently used short term bias estimator by comparing the number of gyroscope readings represented by the least recently used short term bias estimator with the number of gyroscope readings represented by one or more of the long term bias estimators.

### Claim 15

An electronic device configured for determining a bias for an axis of a gyroscope, the electronic device comprising:
a memory for storing a plurality of bias estimators for the axis, each bias estimator associated with a temperature and configured to estimate a bias at the associated temperature, the plurality of bias estimators including a predetermined number of short term bias estimators for estimating biases for recently obtained temperatures and a number of long term bias estimators for estimating biases for temperatures obtained over a comparatively longer period of time;
the gyroscope;
a temperature sensor; and
a processor coupled to the memory, the gyroscope, and the temperature sensor, the processor being configured to:
obtain a temperature reading from a temperature sensor;
maintain the plurality of bias estimators for the axis;
determine a bias for the axis of the gyroscope based on the temperature reading and one or more of the bias estimators; and
correct a gyroscope reading based on the bias,
wherein maintaining the plurality of bias estimators comprises:
determining that the temperature reading defines a temperature that does not have a bias estimator associated therewith; and
in response to determining that the temperature reading defines a temperature that does not have a bias estimator associated therewith, replacing one of the short term bias estimators associated with a temperature with a new short term bias estimator associated with a different temperature such that the predetermined number of short term bias estimators is maintained, the different temperature defined by the temperature reading.

### Claim 16 (depends on 15)

The electronic device of claim 15, wherein determining a bias for the axis of the gyroscope based on the temperature readings and one or more of the bias estimators comprises:
when the bias estimators are not associated with the temperature represented by the temperature reading, then determining the bias by performing a least squares fit using a plurality of the bias estimators and the temperatures associated with those bias estimators.

### Claim 17 (depends on 16)

The electronic device of claim 16, wherein determining a bias for the axis of the gyroscope based on the temperature readings and one or more of the bias estimators comprises:
when one of the bias estimators is associated with the temperature represented by the temperature reading, determining the bias using the bias estimator associated with the temperature represented by the temperature reading.

### Claim 18 (depends on 15)

The electronic device of claim 15, wherein the processor is further configured to:
maintain a temperature independent bias estimator, the temperature independent bias estimator providing a bias estimate for the axis of the gyroscope across all obtained temperatures; and
when the bias estimators that are associated with temperatures are not reliable, determine the bias using the temperature independent bias estimator.

### Claim 19 (depends on 15)

The electronic device of claim 15, wherein maintaining a plurality of bias estimators for the axis comprises:
storing the short term bias estimators as a least recently used cache in the memory.

### Claim 20 (depends on 15)

The electronic device of claim 15, wherein replacing one of the short term bias estimators with a bias estimator for the different temperature comprises:
discarding the least recently used short term bias estimator; and
storing the new short term bias estimator based on gyroscope readings obtained at the different temperature.

### Claim 21 (depends on 15)

The electronic device of claim 15, wherein replacing one of the short term bias estimators comprises:
determining if the least recently used short term bias estimator contains too few gyroscope readings to be considered for inclusion as a long term bias estimator by comparing a number of gyroscope readings represented by the least recently used short term bias estimator to a predetermined threshold,
and:
when the least recently used short term bias estimator contains too few gyroscope readings to be considered for inclusion as a long term bias estimator, discarding the least recently used short term bias estimator; and
storing a new short term bias estimator based on a gyroscope reading obtained at the different temperature.

### Claim 22

A non-transitory computer readable storage medium comprising computer-executable instructions for determining a bias for an axis of a gyroscope, the computer-executable instructions including:
instructions for obtaining a temperature reading from a temperature sensor;
instructions for maintaining a plurality of bias estimators for the axis, each bias estimator associated with a temperature and configured to estimate a bias at the associated temperature, the plurality of bias estimators including a predetermined number of short term bias estimators for estimating biases for recently obtained temperatures and a number of long term bias estimators for estimating biases for temperatures obtained over a comparatively longer period of time; and
instructions for determining a bias for the axis of the gyroscope based on the temperature reading and one or more of the bias estimators; and
instructions for correcting a gyroscope reading based on the bias,
wherein maintaining the plurality of bias estimators comprises:
determining that the temperature reading defines a temperature that does not have a bias estimator associated therewith; and
in response to determining that the temperature reading defines a temperature that does not have a bias estimator associated therewith, replacing one of the short term bias estimators associated with a temperature with a new short term bias estimator associated with a different temperature such that the predetermined number of short term bias estimators is maintained, the different temperature defined by the temperature reading.
