US20050262713A1 - System, method, device and computer code product for improving the readability of an electronic compass - Google Patents

System, method, device and computer code product for improving the readability of an electronic compass Download PDF

Info

Publication number
US20050262713A1
US20050262713A1 US10/856,206 US85620604A US2005262713A1 US 20050262713 A1 US20050262713 A1 US 20050262713A1 US 85620604 A US85620604 A US 85620604A US 2005262713 A1 US2005262713 A1 US 2005262713A1
Authority
US
United States
Prior art keywords
compass
filter
radius
stabilizing
uncorrected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US10/856,206
Other versions
US6964107B1 (en
Inventor
Tom Ahola
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nokia Technologies Oy
Original Assignee
Nokia Oyj
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nokia Oyj filed Critical Nokia Oyj
Priority to US10/856,206 priority Critical patent/US6964107B1/en
Assigned to NOKIA CORPORATION reassignment NOKIA CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: AHOLA, TOM MIKAEL
Priority to AT05750405T priority patent/ATE457445T1/en
Priority to PCT/IB2005/001442 priority patent/WO2005115079A2/en
Priority to DE602005019289T priority patent/DE602005019289D1/en
Priority to KR1020067027419A priority patent/KR100895988B1/en
Priority to CN2005800250218A priority patent/CN1989392B/en
Priority to EP05750405A priority patent/EP1754020B1/en
Publication of US6964107B1 publication Critical patent/US6964107B1/en
Application granted granted Critical
Publication of US20050262713A1 publication Critical patent/US20050262713A1/en
Assigned to NOKIA TECHNOLOGIES OY reassignment NOKIA TECHNOLOGIES OY ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: NOKIA CORPORATION
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C17/00Compasses; Devices for ascertaining true or magnetic north for navigation or surveying purposes
    • G01C17/02Magnetic compasses
    • G01C17/28Electromagnetic compasses
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C17/00Compasses; Devices for ascertaining true or magnetic north for navigation or surveying purposes
    • G01C17/38Testing, calibrating, or compensating of compasses

Definitions

  • the present invention relates generally to the field of electronic compasses. More particularly, the present invention relates to stabilizing filters for improving the readability of an electronic compass.
  • compasses determine geographic orientation with reference to the Earth's magnetic field, which generally runs north and south for most populated parts of the Earth. As the magnetic poles of the Earth are not located in the same position as the Earth's geographic poles, there is an error between the geographic (true) and magnetic (compass) headings, which is called variation. Variation is location and time dependent. Conventional compasses employ a freely movable, magnetically sensitive member which aligns itself with the Earth's magnetic field and points towards the Earth's magnetic north pole.
  • Electronic compasses determine geographic orientation without using a magnetically sensitive member.
  • electronic compasses determine geographic orientation by simultaneously measuring the magnitude of the Earth's magnetic field in at least two different directions which are related to each other at a known angle. Because the measurements are dependant upon the orientation of the measuring device, they can be used to determine the deviation of the compass's orientation from magnetic north, which gives the compass heading.
  • the projections of the Earth's magnetic field to the measurement plane is a function of the tilt angle of the measurement plane.
  • Electronic compasses built around 2-axis sensors can suffer from high sensitivity to tilt errors. If the tilt angle is not kept constant during measurements there can be error. If the compass device is tilted say 10 degrees, a compass reading error of 30 degrees or more is possible.
  • Sensitivity to tilt differs between different geographical areas but can generally create problems for electronic compasses.
  • High-end compasses sometimes use a tilt sensor to correct tilt errors.
  • many low-end electronic compass implementations compensate for tilt error in other ways, such as through the use of a bubble level indicator.
  • the user is required to keep the compass device accurately leveled during use by using the bubble indicator to manually level the compass.
  • While the bubble level indicator approach may provide a low cost solution if the user is in a stable environment, it is very difficult to use if the user is walking or otherwise moving. Wobbling causes tilt errors that make the compass reading noisy and difficult to read. In bad cases of wobble, the compass needle can even start spinning around. The inexperienced user judges such a device to be of very low quality.
  • the compass can include a sensor configured to measure the Earth's magnetic field and to provide sensor output signals indicative of the measured magnetic field, a stabilizing filter configured to filter out random tilt errors incorporated into the sensor output signals, and a filter adaptation module configured to control the stabilizing filter response based on the sensor output signals and pre-calibrated compass radius information.
  • the stabilizing filter further can comprise, for example, a first order infinite input response (IIR) filter.
  • the filter adaptation module may be configured to provide the stabilizing filter with a filter response parameter capable of slowing down the stabilizing filter response so that the compass retains a prior correct compass reading when the compass is subjected to a large tilt error.
  • Another embodiment of the invention can comprise a device for filtering out random tilt errors in an electronic compass configured to produce an uncorrected compass reading.
  • the device can include a stabilizing filter configured to filter out tilt errors incorporated into the uncorrected compass reading, and a filter adaptation module configured to control the stabilizing filter response based on the uncorrected compass reading and pre-calibrated compass radius information.
  • the filter adaptation module may be configured to provide the stabilizing filter with a filter response parameter for filtering out the tilt error incorporated into the uncorrected compass reading.
  • the filter adaptation module can be configured to calculate the filter response parameter as a function of the relative difference between a signal radius of the uncorrected compass reading and the pre-calibrated compass radius information.
  • Still another embodiment of the invention can comprise a method for filtering out random tilt errors in an electronic compass configured to produce an uncorrected compass reading.
  • the method can include calculating a signal radius of the uncorrected compass reading, calculating a filter response parameter based on the calculated signal radius and a pre-calibrated ideal compass radius, and filtering out tilt error from the uncorrected compass reading based on the calculated filter response parameter.
  • the method can also include determining if the filter response parameter exceeds a predetermined threshold and if so, activating a warning indicator.
  • a still further embodiment of the invention can include a computer code product for filtering out random tilt errors in an electronic compass configured to produce an uncorrected compass reading.
  • the computer code product can include computer code configured to calculate a signal radius of the uncorrected compass reading, calculate a filter response parameter based on the calculated signal radius and a pre-calibrated ideal compass radius, and filter out tilt errors from the uncorrected compass reading based on the filter response parameter.
  • FIG. 1 is a block diagram of one embodiment of a compass device according to the present invention.
  • FIG. 2 is a graphical representation illustrating tilt error creating an erroneous compass heading.
  • FIG. 3 is a graphical representation of one embodiment of a stabilizing filter response according to the present invention.
  • FIG. 4 is a block diagram of one embodiment of a stabilizing filter according to the present invention.
  • FIG. 5 is a block diagram of one embodiment of a filter adaptation module according to the present invention.
  • FIG. 6 is a flow chart illustrating one embodiment of a method for filtering out tilt error in an electronic compass according to the present invention.
  • FIG. 7 is a block diagram of one embodiment of a mobile electronic device incorporating an electronic compass according to the present invention.
  • Embodiments of the current invention generally relate to readability improvements for an electronic compass through the use of a stabilizing filter and a filter adaptation module.
  • Embodiments of the invention are able to inhibit the situation in which the compass direction indicator spins uncontrollably and stabilize the compass heading during random tilt error conditions.
  • the implementation cost of various embodiments of the invention is practically negligible.
  • the embodiments can be used to provide significant added value and quality boost to low end compasses as well as further improve the performance of high-end devices, which may include a tilt sensor.
  • the stabilizing filter adapts its response to the radius error of the sensor signal. If the error gets larger, the filter response slows down and tries to retain the prior correct compass reading. If the compass wobbles around the horizontally leveled position, the radius error will wobble around the zero error level. With a properly implemented adaptation function, the compass reading will stabilize close to the error-free heading, regardless of the nature or symmetry of the wobble motion. This relieves the user from keeping a constant eye on a bubble level indicator while navigating.
  • the electronic compass 10 includes a sensor 12 , a deviation correction module 14 , a calibration coefficients registry 16 , an arcus tangent module 18 , a stabilizing filter 20 , a filter adaptation module 22 , and a display 24 .
  • the sensor 12 is configured to measure the Earth's magnetic field and provide sensor output signals (x s and y s ) that are proportional to magnetic field strength in two orthogonal directions.
  • the deviation correction module 14 can be configured to correct the sensor outputs for compass deviation errors caused by electrical imperfections and magnetic materials in the device 10 .
  • Calibration coefficients used by the deviation correction module 14 can be stored in a calibration coefficients registry 16 .
  • the coefficient information stored in the registry 16 can be obtained from a calibration done by the user prior to using the compass 10 .
  • the compass heading ( ⁇ ) can be computed from the corrected sensor signals (x and y) by the arcus tangent module 18 .
  • the arcus tangent module 18 can be configured to use a 4-quadrant arcus-tangent function to compute the compass heading.
  • the compass heading ( ⁇ ) is directly displayed on the display 24 .
  • embodiments of the present invention apply wobble or tilt error correction prior to displaying the compass heading ( ⁇ ).
  • a stabilizing filter 20 and a filter adaptation module 22 can be incorporated to filter wobble and/or tilt error in the compass heading ( ⁇ ) before it is displayed.
  • the stabilizing filter 20 response can be controlled by an adaptation algorithm which is incorporated into the filter adaptation module 22 and configured to monitor the corrected sensor signals (x and y) and read the compass radius (R) from the calibration coefficients registry 16 .
  • the filter adaptation module 22 can provide a filter response parameter (g) to the stabilizing filter 20 which is configured to filter out random tilt error from the compass heading ( ⁇ ) to produce a filtered compass heading ( ⁇ f ) which can be displayed on display 24 .
  • a filter response parameter (g) to the stabilizing filter 20 which is configured to filter out random tilt error from the compass heading ( ⁇ ) to produce a filtered compass heading ( ⁇ f ) which can be displayed on display 24 .
  • the stabilizing filter 20 and filter adaptation module 22 can comprise stand alone modules or can be combined into a single module either alone or with other modules and/or components.
  • the corrected sensor signals (x and y) always lie on an origin-centered circle with a radius R in the x-y plane as shown in FIG. 2 .
  • the angle ⁇ from the origin to the x, y pair is an accurate representation of the compass heading (taking into account that there might be a sign change or a 90 degree offset depending on the orientation of the sensor within the compass device 10 ).
  • an error in the x, y signal pair can appear.
  • the error magnitude r is proportional to the amount of tilt and the error direction can depend on the tilt direction.
  • the erroneous sensor signal has an erroneous angle ⁇ e and magnitude R e .
  • the stabilizing filter 20 can be configured to adapt its response to the radius error R e -R as shown in FIG. 3 . If the error is small and the corrected sensor signals (x and y) lie close to the radius R circle, the filter 20 response can be fast and the compass 10 can track the heading as fast as a conventional implementation. If the error gets larger, the filter 20 response can be slowed down so that the compass 10 retains the prior correct compass reading. If the compass 10 wobbles around the horizontally leveled position, the radius error may wobble around the zero error level. Thus, as mentioned above, with a properly designed adaptation function, the compass reading can be stabilized close to the error-free heading, regardless of the nature or symmetry of the wobble motion.
  • a warning indication can be generated if the error exceeds a predefined level to alert the user of uncalibrated operation.
  • This warning indication can be configured to report not only tilt errors but also errors caused by system drifts or an invalid calibration for the current geographic location. The user can correct errors, other than tilt errors, by doing a new calibration of the device 10 .
  • the stabilizing filter 20 is a simple first order Infinite Input Response (IIR) filter.
  • IIR Infinite Input Response
  • the parameter g can be used to determine the filter response.
  • a wrap-around detect module 26 can be included to compensate for wrap-around of the angular signal.
  • the filter delay element 30 value can be compared to the input value and if the difference is greater than half a turn (180 degrees) the value stored in the delay element 30 can be incremented or decremented by 360 degrees so that the difference stays below half a turn.
  • the compass heading ( ⁇ ) is input into the filter 20 and multiplied by (1 ⁇ g) in component 28 where g is the filter response parameter.
  • a delay element output created by component 30 can be multiplied by the filter response parameter (g) by component 32 and the result can be summed with the output of component 28 by element 34 resulting in the filtered compass heading ( ⁇ f ).
  • FIG. 5 One embodiment of a filter adaptation module 22 according to the present invention is illustrated in FIG. 5 .
  • the corrected sensor signal (x and y) can be used to calculate the signal radius R e .
  • Component 36 can be configured to calculate the signal radius R e by taking the square root of the sum of the squares of the corrected sensor signal values.
  • Component 38 can calculate the filter parameter g as a function of the relative difference between R e and R by component 38 using the equation: 3 ⁇ ⁇ R ⁇ - R ⁇ R ⁇
  • the resulting filter parameter value can be limited to a maximum value (e.g. 0.95) by component 40 .
  • the limiting can be used to avoid a seemingly stuck compass reading that might confuse the user.
  • the radius R (corresponding to the ideal case sensor signal radius) can be obtained from compass calibration and stored in the calibration coefficients registry.
  • Comparator 42 can be used to activate a warning indicator when the g parameter exceeds a predefined limit. This warning can be configured to be informative only so that it does not inhibit or block compass readouts.
  • FIG. 6 illustrates one embodiment of a method for filtering random tilt errors according to the present invention.
  • the method includes measuring an uncorrected compass reading in operation 44 . Calculating a signal radius based on the uncorrected compass reading in operation 46 . Calculating a filter response parameter, in operation 48 , based on the signal radius and pre-calibration compass radius information and providing the filter response parameter to the stabilizing filter in operation 50 . In operation 52 , the stabilizing filter can respond to the filter response parameter to filter random tilt error. Operation 54 compares the filter response parameter to a predetermined threshold and if the filter response parameter exceeds the predetermined threshold, a warning indication is generated in operation 56 .
  • FIG. 7 illustrates one embodiment of a mobile electronic device 58 including an electronic compass 60 with tilt error filtering according to the present invention.
  • the mobile electronic device 58 comprises a mobile telephone, however other mobile electronic devices, such as personal digital assistants, laptop computers, etc., can also incorporate an electronic compass.
  • the systems, devices and methods of the exemplary embodiments of the invention may be implemented as software or hardware in a conventional electronic compass.
  • the implementation cost of the various embodiments are practically negligible especially if implemented in software.
  • embodiments of the invention provide a cost effect solution for improving tilt error tolerance in electronic compasses.

Abstract

A system, method, device and computer code product is disclosed for stabilizing compass heading under tilt error conditions from an uncorrected electronic compass reading. Exemplary embodiments include a stabilizing filter configured to filter out tilt errors incorporated into the uncorrected electronic compass reading and a filter adaptation module configured to control the stabilizing filter response based on the signal radius of the uncorrected compass reading and a pre-calibrated ideal radius for the compass. The filter adaptation module can be configured to calculate a filter response parameter as a function of the relative difference between the signal radius of the uncorrected compass reading and the pre-calibrated ideal radius. The filter response parameter can be passed to the stabilizing filter for controlling its operation.

Description

    FIELD OF THE INVENTION
  • The present invention relates generally to the field of electronic compasses. More particularly, the present invention relates to stabilizing filters for improving the readability of an electronic compass.
  • BACKGROUND INFORMATION
  • In general, compasses determine geographic orientation with reference to the Earth's magnetic field, which generally runs north and south for most populated parts of the Earth. As the magnetic poles of the Earth are not located in the same position as the Earth's geographic poles, there is an error between the geographic (true) and magnetic (compass) headings, which is called variation. Variation is location and time dependent. Conventional compasses employ a freely movable, magnetically sensitive member which aligns itself with the Earth's magnetic field and points towards the Earth's magnetic north pole.
  • Electronic compasses, on the other hand, determine geographic orientation without using a magnetically sensitive member. In general, electronic compasses determine geographic orientation by simultaneously measuring the magnitude of the Earth's magnetic field in at least two different directions which are related to each other at a known angle. Because the measurements are dependant upon the orientation of the measuring device, they can be used to determine the deviation of the compass's orientation from magnetic north, which gives the compass heading.
  • The projections of the Earth's magnetic field to the measurement plane is a function of the tilt angle of the measurement plane. Electronic compasses built around 2-axis sensors can suffer from high sensitivity to tilt errors. If the tilt angle is not kept constant during measurements there can be error. If the compass device is tilted say 10 degrees, a compass reading error of 30 degrees or more is possible.
  • Sensitivity to tilt differs between different geographical areas but can generally create problems for electronic compasses. High-end compasses sometimes use a tilt sensor to correct tilt errors. As this approach can be cost prohibitive, many low-end electronic compass implementations compensate for tilt error in other ways, such as through the use of a bubble level indicator. When using this type of low-end device, the user is required to keep the compass device accurately leveled during use by using the bubble indicator to manually level the compass.
  • While the bubble level indicator approach may provide a low cost solution if the user is in a stable environment, it is very difficult to use if the user is walking or otherwise moving. Wobbling causes tilt errors that make the compass reading noisy and difficult to read. In bad cases of wobble, the compass needle can even start spinning around. The inexperienced user judges such a device to be of very low quality.
  • As such, there is a need for an improved electronic compass that is capable of correcting tilt error problems in a cost effective manner.
  • SUMMARY OF THE INVENTION
  • One embodiment of the invention relates to an electronic compass. The compass can include a sensor configured to measure the Earth's magnetic field and to provide sensor output signals indicative of the measured magnetic field, a stabilizing filter configured to filter out random tilt errors incorporated into the sensor output signals, and a filter adaptation module configured to control the stabilizing filter response based on the sensor output signals and pre-calibrated compass radius information. The stabilizing filter further can comprise, for example, a first order infinite input response (IIR) filter. The filter adaptation module may be configured to provide the stabilizing filter with a filter response parameter capable of slowing down the stabilizing filter response so that the compass retains a prior correct compass reading when the compass is subjected to a large tilt error.
  • Another embodiment of the invention can comprise a device for filtering out random tilt errors in an electronic compass configured to produce an uncorrected compass reading. The device can include a stabilizing filter configured to filter out tilt errors incorporated into the uncorrected compass reading, and a filter adaptation module configured to control the stabilizing filter response based on the uncorrected compass reading and pre-calibrated compass radius information. The filter adaptation module may be configured to provide the stabilizing filter with a filter response parameter for filtering out the tilt error incorporated into the uncorrected compass reading. In one embodiment, the filter adaptation module can be configured to calculate the filter response parameter as a function of the relative difference between a signal radius of the uncorrected compass reading and the pre-calibrated compass radius information.
  • Still another embodiment of the invention can comprise a method for filtering out random tilt errors in an electronic compass configured to produce an uncorrected compass reading. In one embodiment, the method can include calculating a signal radius of the uncorrected compass reading, calculating a filter response parameter based on the calculated signal radius and a pre-calibrated ideal compass radius, and filtering out tilt error from the uncorrected compass reading based on the calculated filter response parameter. The method can also include determining if the filter response parameter exceeds a predetermined threshold and if so, activating a warning indicator.
  • A still further embodiment of the invention can include a computer code product for filtering out random tilt errors in an electronic compass configured to produce an uncorrected compass reading. The computer code product can include computer code configured to calculate a signal radius of the uncorrected compass reading, calculate a filter response parameter based on the calculated signal radius and a pre-calibrated ideal compass radius, and filter out tilt errors from the uncorrected compass reading based on the filter response parameter.
  • Other principle features and advantages of the invention will become apparent to those skilled in the art upon review of the following drawings, the detailed description, and the appended claims.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a block diagram of one embodiment of a compass device according to the present invention.
  • FIG. 2 is a graphical representation illustrating tilt error creating an erroneous compass heading.
  • FIG. 3 is a graphical representation of one embodiment of a stabilizing filter response according to the present invention.
  • FIG. 4 is a block diagram of one embodiment of a stabilizing filter according to the present invention.
  • FIG. 5 is a block diagram of one embodiment of a filter adaptation module according to the present invention.
  • FIG. 6 is a flow chart illustrating one embodiment of a method for filtering out tilt error in an electronic compass according to the present invention.
  • FIG. 7 is a block diagram of one embodiment of a mobile electronic device incorporating an electronic compass according to the present invention.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • Embodiments of the current invention generally relate to readability improvements for an electronic compass through the use of a stabilizing filter and a filter adaptation module. Embodiments of the invention are able to inhibit the situation in which the compass direction indicator spins uncontrollably and stabilize the compass heading during random tilt error conditions. The implementation cost of various embodiments of the invention is practically negligible. The embodiments can be used to provide significant added value and quality boost to low end compasses as well as further improve the performance of high-end devices, which may include a tilt sensor.
  • In one embodiment, to stabilize the compass reading, the stabilizing filter adapts its response to the radius error of the sensor signal. If the error gets larger, the filter response slows down and tries to retain the prior correct compass reading. If the compass wobbles around the horizontally leveled position, the radius error will wobble around the zero error level. With a properly implemented adaptation function, the compass reading will stabilize close to the error-free heading, regardless of the nature or symmetry of the wobble motion. This relieves the user from keeping a constant eye on a bubble level indicator while navigating.
  • Referring to FIG. 1, one embodiment of a 2-axis electronic compass is shown and generally designated by reference numeral 10. The electronic compass 10 includes a sensor 12, a deviation correction module 14, a calibration coefficients registry 16, an arcus tangent module 18, a stabilizing filter 20, a filter adaptation module 22, and a display 24. The sensor 12 is configured to measure the Earth's magnetic field and provide sensor output signals (xs and ys) that are proportional to magnetic field strength in two orthogonal directions.
  • The deviation correction module 14 can be configured to correct the sensor outputs for compass deviation errors caused by electrical imperfections and magnetic materials in the device 10. Calibration coefficients used by the deviation correction module 14 can be stored in a calibration coefficients registry 16. The coefficient information stored in the registry 16 can be obtained from a calibration done by the user prior to using the compass 10. The compass heading (θ) can be computed from the corrected sensor signals (x and y) by the arcus tangent module 18. The arcus tangent module 18 can be configured to use a 4-quadrant arcus-tangent function to compute the compass heading.
  • In conventional compasses, the compass heading (θ) is directly displayed on the display 24. However, embodiments of the present invention apply wobble or tilt error correction prior to displaying the compass heading (θ). In one embodiment, a stabilizing filter 20 and a filter adaptation module 22 can be incorporated to filter wobble and/or tilt error in the compass heading (θ) before it is displayed. The stabilizing filter 20 response can be controlled by an adaptation algorithm which is incorporated into the filter adaptation module 22 and configured to monitor the corrected sensor signals (x and y) and read the compass radius (R) from the calibration coefficients registry 16. The filter adaptation module 22 can provide a filter response parameter (g) to the stabilizing filter 20 which is configured to filter out random tilt error from the compass heading (θ) to produce a filtered compass heading (θf) which can be displayed on display 24. It should be noted that the stabilizing filter 20 and filter adaptation module 22 can comprise stand alone modules or can be combined into a single module either alone or with other modules and/or components.
  • Ideally, when the compass device 10 is perfectly horizontally leveled, the corrected sensor signals (x and y) always lie on an origin-centered circle with a radius R in the x-y plane as shown in FIG. 2. The angle θ from the origin to the x, y pair is an accurate representation of the compass heading (taking into account that there might be a sign change or a 90 degree offset depending on the orientation of the sensor within the compass device 10). If the compass is tilted, an error in the x, y signal pair can appear. The error magnitude r is proportional to the amount of tilt and the error direction can depend on the tilt direction. The erroneous sensor signal has an erroneous angle θe and magnitude Re. By observing the radius error Re-R a tilt condition can be detected.
  • To stabilize the compass reading, the stabilizing filter 20 can be configured to adapt its response to the radius error Re-R as shown in FIG. 3. If the error is small and the corrected sensor signals (x and y) lie close to the radius R circle, the filter 20 response can be fast and the compass 10 can track the heading as fast as a conventional implementation. If the error gets larger, the filter 20 response can be slowed down so that the compass 10 retains the prior correct compass reading. If the compass 10 wobbles around the horizontally leveled position, the radius error may wobble around the zero error level. Thus, as mentioned above, with a properly designed adaptation function, the compass reading can be stabilized close to the error-free heading, regardless of the nature or symmetry of the wobble motion.
  • In one embodiment, a warning indication can be generated if the error exceeds a predefined level to alert the user of uncalibrated operation. This warning indication can be configured to report not only tilt errors but also errors caused by system drifts or an invalid calibration for the current geographic location. The user can correct errors, other than tilt errors, by doing a new calibration of the device 10.
  • One embodiment of a stabilizing filter 20 according to the present invention is illustrated in FIG. 4. In this embodiment, the stabilizing filter 20 is a simple first order Infinite Input Response (IIR) filter. The parameter g can be used to determine the filter response. One valid range for g is [0, 1]. When the value of g is small, the compass response can be fast. When the value of g increases, especially as it approaches 1, the compass response can become slow. When g=1, the filter output can be latched.
  • A wrap-around detect module 26 can be included to compensate for wrap-around of the angular signal. The filter delay element 30 value can be compared to the input value and if the difference is greater than half a turn (180 degrees) the value stored in the delay element 30 can be incremented or decremented by 360 degrees so that the difference stays below half a turn.
  • As can be seen in FIG. 4, the compass heading (θ) is input into the filter 20 and multiplied by (1−g) in component 28 where g is the filter response parameter. A delay element output created by component 30 can be multiplied by the filter response parameter (g) by component 32 and the result can be summed with the output of component 28 by element 34 resulting in the filtered compass heading (θf).
  • One embodiment of a filter adaptation module 22 according to the present invention is illustrated in FIG. 5. As shown in FIG. 5, the corrected sensor signal (x and y) can be used to calculate the signal radius Re. Component 36 can be configured to calculate the signal radius Re by taking the square root of the sum of the squares of the corrected sensor signal values. Component 38 can calculate the filter parameter g as a function of the relative difference between Re and R by component 38 using the equation: 3 R θ - R R
  • The resulting filter parameter value can be limited to a maximum value (e.g. 0.95) by component 40. The limiting can be used to avoid a seemingly stuck compass reading that might confuse the user. The radius R (corresponding to the ideal case sensor signal radius) can be obtained from compass calibration and stored in the calibration coefficients registry. Comparator 42 can be used to activate a warning indicator when the g parameter exceeds a predefined limit. This warning can be configured to be informative only so that it does not inhibit or block compass readouts.
  • FIG. 6 illustrates one embodiment of a method for filtering random tilt errors according to the present invention. The method includes measuring an uncorrected compass reading in operation 44. Calculating a signal radius based on the uncorrected compass reading in operation 46. Calculating a filter response parameter, in operation 48, based on the signal radius and pre-calibration compass radius information and providing the filter response parameter to the stabilizing filter in operation 50. In operation 52, the stabilizing filter can respond to the filter response parameter to filter random tilt error. Operation 54 compares the filter response parameter to a predetermined threshold and if the filter response parameter exceeds the predetermined threshold, a warning indication is generated in operation 56.
  • Electronic compasses of the type described herein can comprise stand-alone compasses or can be incorporated into other devices, such as mobile electronic devices. FIG. 7 illustrates one embodiment of a mobile electronic device 58 including an electronic compass 60 with tilt error filtering according to the present invention. In this embodiment, the mobile electronic device 58 comprises a mobile telephone, however other mobile electronic devices, such as personal digital assistants, laptop computers, etc., can also incorporate an electronic compass.
  • The systems, devices and methods of the exemplary embodiments of the invention may be implemented as software or hardware in a conventional electronic compass. The implementation cost of the various embodiments are practically negligible especially if implemented in software. As such, embodiments of the invention provide a cost effect solution for improving tilt error tolerance in electronic compasses.
  • It should be understood that the invention is not confined to the particular embodiments set forth herein as illustrative, but embraces all such modifications, combinations, and permutations as come within the scope of the appended claims. The present invention is not limited to a particular operating environment. Those skilled in the art will recognize that the systems, methods, devices, and computer code products of the present invention may be advantageously operated on different platforms. Thus, the description of the exemplary embodiments is for purposes of illustration and not limitation.

Claims (24)

1. An electronic compass configured to provide a compass heading based on the Earth's magnetic field, the compass comprising:
a sensor configured to measure the Earth's magnetic field and to provide sensor outputs signals indicative of the measured magnetic field;
a stabilizing filter configured to stabilize the compass heading in random tilt error conditions; and
a filter adaptation module configured to control the stabilizing filter response based on the sensor output signals and pre-calibrated compass radius information.
2. The compass of claim 1, wherein the stabilizing filter further comprises a first order infinite input response (IIR) filter.
3. The compass of claim 1, wherein the filter adaptation module is configured to provide the stabilizing filter with a filter response parameter.
4. The compass of claim 1, further comprising a warning indicator configured produce a warning signal if tilt error exceeds a predetermined threshold.
5. The compass of claim 1, wherein the stabilizing filter response is slowed down as tilt error increases.
6. A device for stabilizing a compass heading display in random tilt error conditions in an electronic compass configured to measure the Earth's magnetic field and produce an uncorrected compass reading based on the measured field, the device comprising:
a stabilizing filter configured to filter random tilt error incorporated into the uncorrected compass reading; and
a filter adaptation module configured to control the stabilizing filter response based on the uncorrected compass reading and pre-calibrated compass radius information.
7. The device of claim 6, wherein the stabilizing filter further comprises a first order infinite response (IIR) filter.
8. The device of claim 6, wherein the filter adaptation module is configured to provide the stabilizing filter with a filter response parameter.
9. The device of claim 8, wherein the filter adaptation module is configured to calculate the filter response parameter as a function of the relative difference between a signal radius of the uncorrected compass reading and the pre-calibrated compass radius information.
10. The device of claim 9, wherein the filter adaptation module calculates the filter response parameter as follows:
3 R θ - R R
wherein Re is the signal radius of the uncorrected compass reading and R is the pre-calibrated compass radius information.
11. The device of claim 6, further comprising warning indicator configured for producing a warning signal if the tilt error exceed a predetermined threshold.
12. The device of claim 6, wherein the stabilizing filter response is slowed down as tilt error increases.
13. A method for filtering out tilt error in an electronic compass configured to produce an uncorrected compass reading indicative of compass heading, the method comprising:
calculating a signal radius of the uncorrected compass reading;
calculating a filter response parameter based on the calculated signal radius and a pre-calibrated ideal compass radius; and
stabilizing the compass reading in tilt error conditions with a stabilizing filter based on the calculated filter response parameter.
14. The method of claim 13, further comprising determining if the filter response parameter exceed a predetermined threshold and if so, activating a warning indicator.
15. The method of claim 13, wherein the filter response parameter is further calculated as a function of the relative difference between the signal radius and the pre-calibrated ideal compass radius.
16. The method of claim 15, wherein the filter response parameter is further calculated as:
3 R θ - R R
where Re is the signal radius and R is the pre-calibrated ideal compass radius.
17. A computer code product for filtering out tilt error in an electronic compass configured to produce an uncorrected compass reading indicative of compass heading, the computer code product comprising:
computer code configured to:
calculate a signal radius of the uncorrected compass reading;
calculate a filter response parameter based on the calculated signal radius and a pre-calibrated ideal compass radius; and
stabilize the compass reading in tilt error conditions based on the filter response parameter.
18. The computer code product of claim 17 further comprising computer code configured to determine if the filter response parameter exceeds a predetermined threshold, and if so, to activate a warning indicator.
19. The computer code product of claim 17, wherein the computer code configured to calculate the filter response parameter is further configured to calculate the filter response parameter as a function of the relative difference between the signal radius and the pre-calibrated ideal compass radius.
20. The computer code product of claim 19, wherein the computer code product is further configured to calculate the filter response parameter as:
3 R θ - R R
where Re is the signal radius and R is the pre-calibrated ideal compass radius.
21. A mobile electronic device, the device comprising:
an electronic compass configured to measure the Earth's magnetic field and produce an uncorrected compass reading based on the measured field;
a stabilizing filter configured to filter random tilt error incorporated into the uncorrected compass reading; and
a filter adaptation module configured to control the stabilizing filter response based on the uncorrected compass reading and pre-calibrated compass radius information.
22. The device of claim 21, wherein the device further comprises a mobile telephone.
23. The device of claim 21, wherein the device further comprises a personal digital assistant.
24. The device of claim 21, wherein the device further comprises a portable computer.
US10/856,206 2004-05-27 2004-05-27 System, method, device and computer code product for improving the readability of an electronic compass Active US6964107B1 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
US10/856,206 US6964107B1 (en) 2004-05-27 2004-05-27 System, method, device and computer code product for improving the readability of an electronic compass
KR1020067027419A KR100895988B1 (en) 2004-05-27 2005-05-27 System, method, device and computer code product for improving the readability of an electronic compass
PCT/IB2005/001442 WO2005115079A2 (en) 2004-05-27 2005-05-27 System, method, device and computer code product for improving the readability of an electronic compass
DE602005019289T DE602005019289D1 (en) 2004-05-27 2005-05-27 SYSTEM, METHOD, DEVICE AND COMPUTER PROGRAM FOR IMPROVING THE LESABILITY OF AN ELECTRONIC COMPASS
AT05750405T ATE457445T1 (en) 2004-05-27 2005-05-27 SYSTEM, METHOD, DEVICE AND COMPUTER PROGRAM FOR IMPROVING THE READABILITY OF AN ELECTRONIC COMPASS
CN2005800250218A CN1989392B (en) 2004-05-27 2005-05-27 System, method and device for improving the readability of an electronic compass
EP05750405A EP1754020B1 (en) 2004-05-27 2005-05-27 System, method, device and computer program for improving the readability of an electronic compass

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US10/856,206 US6964107B1 (en) 2004-05-27 2004-05-27 System, method, device and computer code product for improving the readability of an electronic compass

Publications (2)

Publication Number Publication Date
US6964107B1 US6964107B1 (en) 2005-11-15
US20050262713A1 true US20050262713A1 (en) 2005-12-01

Family

ID=35266228

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/856,206 Active US6964107B1 (en) 2004-05-27 2004-05-27 System, method, device and computer code product for improving the readability of an electronic compass

Country Status (7)

Country Link
US (1) US6964107B1 (en)
EP (1) EP1754020B1 (en)
KR (1) KR100895988B1 (en)
CN (1) CN1989392B (en)
AT (1) ATE457445T1 (en)
DE (1) DE602005019289D1 (en)
WO (1) WO2005115079A2 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100565794B1 (en) * 2003-12-30 2006-03-29 삼성전자주식회사 Geomagnetic sensor for calibrating azimuth with compensating the effect of tilt and calibration method thereof
KR100594971B1 (en) * 2004-01-09 2006-06-30 삼성전자주식회사 Input device for generating input signal for using geomagnetic sensor and generation method thereof
KR100574506B1 (en) * 2004-02-26 2006-04-27 삼성전자주식회사 Geomagnetic sensor to inform users whether detected azimuth angle is accetable or not, and, method thereof
US8898034B2 (en) * 2009-06-03 2014-11-25 Apple Inc. Automatically identifying geographic direction
US7921572B2 (en) * 2009-06-05 2011-04-12 Apple Inc. Accuracy indications for an electronic compass in a portable device
US8437970B2 (en) * 2009-06-05 2013-05-07 Apple Inc. Restoring and storing magnetometer calibration data
US7891103B2 (en) * 2009-06-05 2011-02-22 Apple Inc. Magnetometer accuracy and use
US9116002B2 (en) * 2009-08-27 2015-08-25 Apple Inc. Context determination to assist location determination accuracy
US8626465B2 (en) 2010-03-30 2014-01-07 Apple Inc. Calibrating sensor measurements on mobile devices
US8531180B2 (en) 2010-03-30 2013-09-10 Apple Inc. Determining heading using magnetometer data and angular rate data
US8717009B2 (en) 2010-10-06 2014-05-06 Apple Inc. Magnetometer calibration
US8615253B2 (en) 2011-06-03 2013-12-24 Apple Inc. State estimation using motion context and multiple input observation types
US8843338B2 (en) 2011-07-29 2014-09-23 Nokia Corporation Processing Data for Calibration
US9423252B2 (en) 2012-09-11 2016-08-23 Apple Inc. Using clustering techniques to improve magnetometer bias estimation
US9151610B2 (en) 2013-06-08 2015-10-06 Apple Inc. Validating calibrated magnetometer data
WO2016025488A2 (en) * 2014-08-12 2016-02-18 Abl Ip Holding Llc System and method for estimating the position and orientation of a mobile communications device in a beacon-based positioning system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US2331617A (en) * 1942-03-31 1943-10-12 Fairchild Aviat Corp Magnetic field responsive device
US4292854A (en) * 1976-10-19 1981-10-06 Ferranti Limited Gyroscopic apparatus having three-axis inertial platform with rapid warm-up
US5170566A (en) * 1990-06-05 1992-12-15 Arthur D. Little, Inc. Means for reducing interference among magnetometer array elements
US5924212A (en) * 1996-10-09 1999-07-20 Donnelly Corporation Electronic compass
US5953683A (en) * 1997-10-09 1999-09-14 Ascension Technology Corporation Sourceless orientation sensor
US6282803B1 (en) * 1998-04-24 2001-09-04 Laser Technology, Inc. Self calibration circuit for determining an accurate zero compensation for a fluxgate compass
US6651003B2 (en) * 2001-07-30 2003-11-18 Innovative Design Solutions, Inc. Method of automatic continuous calibration for an electric compass
US20050044737A1 (en) * 2003-08-27 2005-03-03 Samsung Electronics Co., Ltd. Geomagnetic sensor having a dip angle detection function and dip angle detection method therefor
US6871410B1 (en) * 2004-02-24 2005-03-29 Robert J. Le Jeune Autonomous apparatus and method for acquiring borehole deviation data

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2128749B (en) * 1982-10-12 1987-04-15 Plessey Co Plc Electronic compass with tilt compensation
DE3422490A1 (en) * 1984-06-16 1985-12-19 Robert Bosch Gmbh, 7000 Stuttgart METHOD FOR CORRECTING ANGLE ERRORS IN AN ELECTRONIC COMPASS IN VEHICLES
JPH06221852A (en) * 1993-01-25 1994-08-12 Sato Kogyo Co Ltd Electronic stereo clino-compass
DE4439945C1 (en) * 1994-11-09 1996-02-08 Leica Ag Direction display stabilisation system for magnetic compass
EP1338727A1 (en) * 1997-07-11 2003-08-27 Moyra A. Phillipson Family Trust Submerged surface pool cleaning device
KR100533106B1 (en) * 2002-08-06 2005-12-05 삼성전자주식회사 Attitude error compensation system of fluxgate and method thereof
KR20050044143A (en) * 2003-11-07 2005-05-12 삼성전기주식회사 The filtering method for noise reduction in electronic compass

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US2331617A (en) * 1942-03-31 1943-10-12 Fairchild Aviat Corp Magnetic field responsive device
US4292854A (en) * 1976-10-19 1981-10-06 Ferranti Limited Gyroscopic apparatus having three-axis inertial platform with rapid warm-up
US5170566A (en) * 1990-06-05 1992-12-15 Arthur D. Little, Inc. Means for reducing interference among magnetometer array elements
US5924212A (en) * 1996-10-09 1999-07-20 Donnelly Corporation Electronic compass
US5953683A (en) * 1997-10-09 1999-09-14 Ascension Technology Corporation Sourceless orientation sensor
US6282803B1 (en) * 1998-04-24 2001-09-04 Laser Technology, Inc. Self calibration circuit for determining an accurate zero compensation for a fluxgate compass
US6651003B2 (en) * 2001-07-30 2003-11-18 Innovative Design Solutions, Inc. Method of automatic continuous calibration for an electric compass
US20050044737A1 (en) * 2003-08-27 2005-03-03 Samsung Electronics Co., Ltd. Geomagnetic sensor having a dip angle detection function and dip angle detection method therefor
US6871410B1 (en) * 2004-02-24 2005-03-29 Robert J. Le Jeune Autonomous apparatus and method for acquiring borehole deviation data

Also Published As

Publication number Publication date
KR100895988B1 (en) 2009-05-07
DE602005019289D1 (en) 2010-03-25
CN1989392A (en) 2007-06-27
US6964107B1 (en) 2005-11-15
KR20070024656A (en) 2007-03-02
WO2005115079A2 (en) 2005-12-08
WO2005115079A3 (en) 2006-05-11
EP1754020B1 (en) 2010-02-10
CN1989392B (en) 2010-12-15
EP1754020A2 (en) 2007-02-21
ATE457445T1 (en) 2010-02-15

Similar Documents

Publication Publication Date Title
EP1754020B1 (en) System, method, device and computer program for improving the readability of an electronic compass
US6651003B2 (en) Method of automatic continuous calibration for an electric compass
EP1340042B1 (en) Monitoring accuracy of an electronic compass
EP0485132B1 (en) Direction sensor having an earth magnetism sensor and a rate gyro sensor and navigation system having this direction sensor
EP1568967B1 (en) Geomagnetic sensor and method for indicating distortion in detected azimuth angle
US6445178B1 (en) Vehicular magnetic displacement sensor for determining an offset in the output of the sensor
US7155837B2 (en) Geomagnetic sensor for detecting dip angle and method thereof
US7849750B2 (en) Sensing apparatus of bourdon pressure gauge
JP2006234581A (en) Electronic compass and azimuth measuring method
FI120276B (en) Compass device and method for compass devices
US20080243417A1 (en) Magnetometer normalization
US6922647B2 (en) Device and method for automatically detecting a calibration termination for a geomagnetic sensor
JPH01219610A (en) Running azimuth detector for vehicle
KR100565794B1 (en) Geomagnetic sensor for calibrating azimuth with compensating the effect of tilt and calibration method thereof
JPWO2007020702A1 (en) Sensor device
US6356851B1 (en) Accelerated calibration for electronic compass module
JP4108443B2 (en) Positioning device and method for diagnosing installation state of positioning device
JP2634780B2 (en) Tilt measuring device
JP2009042131A (en) Fuel gauge device of fuel tank
JP4454442B2 (en) Sensitivity error detection device for angular velocity sensor
JPH0666567A (en) Direction finder for vehicle
JP3019965B2 (en) Direction measurement device
JP4426784B2 (en) Direction measuring device
JP2005195466A (en) Method for automatically resetting pelorus and measuring azimuth angle
KR19990014652A (en) Vessel bearing measuring device and method

Legal Events

Date Code Title Description
AS Assignment

Owner name: NOKIA CORPORATION, FINLAND

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:AHOLA, TOM MIKAEL;REEL/FRAME:015800/0748

Effective date: 20040721

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

AS Assignment

Owner name: NOKIA TECHNOLOGIES OY, FINLAND

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:NOKIA CORPORATION;REEL/FRAME:035280/0875

Effective date: 20150116

FPAY Fee payment

Year of fee payment: 12