Magnetometer Calibration Using Gyroscope and Kalman Filter

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Magnetometers in electronic devices often provide faulty orientation or heading due to interference from sources other than the Earth's magnetic field, leading to poor device performance and user frustration, especially in devices that require minimal user intervention for calibration.

Innovation Solution

A sensor module that utilizes both gyroscope and magnetometer signals, employing a Kalman filter and least-squares processes to generate calibration parameters, which are validated against each other to accurately filter out non-Earth magnetic fields, allowing for quick and unobtrusive calibration with minimal user movement.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional magnetometer calibration is performed, then orientation accuracy is improved, but user disturbance and calibration time increase

Engineering Contradiction:
Improveorientation accuracyVSAvoiduser disturbance
Core Design Contradiction:
Measurement precisionVSEase of operation

Solution Approach 1:

The system performs self-calibration by utilizing the device's own gyroscope and magnetometer sensors to detect motion patterns and automatically compute calibration parameters without requiring user intervention or specific user actions, thus maintaining accuracy while minimizing disturbance

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces traditional mechanical calibration methods (which require physical movement of the device through specific patterns) with an algorithmic approach that uses sensor data processing and mathematical models to achieve calibration, substituting mechanical user actions with computational processes

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Measurement precision

If multiple calibration techniques are used, then calibration accuracy is improved, but system complexity increases

Engineering Contradiction:
Improvecalibration accuracyVSAvoidcalibration system complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent combines multiple calibration techniques (e.g., hard iron offset calibration, soft iron offset calibration, and dynamic calibration) into a unified calibration framework that processes sensor data through integrated algorithms, allowing the system to leverage multiple methods simultaneously while managing complexity through cohesive system design

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The calibration system is designed to perform multiple calibration functions using a single integrated process that can adapt to different calibration scenarios and requirements, making the system multi-functional and reducing overall complexity by avoiding separate dedicated systems for each calibration type

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Reliability

If calibration is performed continuously, then orientation reliability is improved, but energy consumption increases

Engineering Contradiction:
Improveorientation reliabilityVSAvoidenergy consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The system performs calibration periodically based on detected motion patterns and calibration needs rather than continuously, using triggers such as device motion detection or location changes to initiate calibration cycles, thus maintaining reliability while reducing energy consumption by keeping the system dormant between calibration events

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS20240045001A1System and method for fast magnetometer calibration using gyroscope
Publication Date: 2024.02.08 STMICROELECTRONICS INC
  • US20240045001A1 patent drawing
  • US20240045001A1 patent drawing
  • US20240045001A1 patent drawing

AI summary

An electronic device includes a magnetometer that outputs magnetometer sensor signals and a gyroscope that outputs gyroscope sensor signals. The electronic device includes a magnetometer calibration module that calibrates the magnetometer utilizing the gyroscope sensor signals. The electronic device generates a first magnetometer calibration parameter based on a Kalman filter process. The electronic device generates a second magnetometer calibration parameter based on a least squares estimation process.