Magnetometer Calibration Using Gyroscope and Kalman Filter
Find Innovative SolutionsGenerate 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
Engineering Contradiction Analysis
1Measurement precision
If traditional magnetometer calibration is performed, then orientation accuracy is improved, but user disturbance and calibration time increase
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
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
2Measurement precision
If multiple calibration techniques are used, then calibration accuracy is improved, but system complexity increases
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
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
3Reliability
If calibration is performed continuously, then orientation reliability is improved, but energy consumption increases
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
Data Source
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.


