Magnetometer Calibration via Anomaly Detection and Ellipsoidal Fitting

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Magnetometers in portable electronic devices face challenges in achieving high accuracy due to factors like hard iron, soft iron, and magnetic anomalies, requiring precise calibration methods to determine device orientation with respect to magnetic North.

Innovation Solution

A method for calibrating magnetometers that automatically computes calibration quality, detects anomalies, and uses ellipsoidal fitting to isolate errors, generating calibration parameters based on user motion data and sanity checks, ensuring accurate and efficient calibration.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional calibration methods are used, then the calibration process is simple, but the accuracy and stability of magnetometer measurements are insufficient due to hard iron effect, soft iron effect, and magnetic anomalies

Engineering Contradiction:
Improvemagnetometer calibration accuracyVSAvoidcalibration process complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The calibration process is segmented into multiple distinct phases: data collection phase, quality assessment phase (with anomaly detection), and calibration parameter computation phase. This segmentation allows each phase to be optimized independently, improving overall accuracy while managing complexity through structured progression

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary anomaly detection and data quality assessment before computing calibration parameters. By detecting magnetic anomalies and assessing data quality in advance, the system prevents incorrect calibration computations, thereby improving accuracy without requiring complex real-time correction mechanisms

Inventive Principle:
Principle #10Preliminary action

Solution Approach 3:

The system implements feedback mechanisms by continuously monitoring calibration quality indicators and anomaly detection results. This feedback loop allows the system to assess whether collected data is suitable for calibration and to trigger re-calibration when necessary, improving measurement precision through iterative refinement

Inventive Principle:
Principle #23Feedback

2Measurement precision

If comprehensive calibration data collection is performed to improve accuracy, then the calibration quality improves, but the time required for calibration increases

Engineering Contradiction:
Improvecalibration accuracyVSAvoidcalibration time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system collects calibration data continuously in the background during normal device operation rather than requiring a dedicated calibration session. This partial action approach accumulates sufficient data over time without interrupting user workflow, achieving accurate calibration without significant time loss

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The calibration process operates autonomously by automatically collecting data, detecting anomalies, assessing quality, and computing parameters without user intervention. The system serves itself by managing the entire calibration workflow, reducing both perceived time and user effort while maintaining high accuracy

Inventive Principle:
Principle #25Self-service

3Reliability

If anomaly detection is implemented to improve calibration stability, then the reliability of calibration parameters improves, but the computational complexity and processing time increase

Engineering Contradiction:
Improvecalibration parameter reliabilityVSAvoidprocessing complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system extracts and isolates anomaly detection as a separate, dedicated function within the calibration pipeline. By taking out the anomaly detection step and making it a distinct module with specific algorithms, the system improves reliability without propagating complexity throughout the entire calibration process

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The anomaly detection mechanism acts as an intermediary between raw data collection and calibration parameter computation. This intermediary layer filters out unreliable data before it reaches the calibration algorithm, improving reliability while keeping the overall system manageable through clear separation of concerns

Inventive Principle:
Principle #24Intermediary (Mediator)

4Adaptability or versatility

If multiple sets of calibration parameters are stored and weighted, then the long-term accuracy and adaptability improve, but the memory requirements and processing overhead increase

Engineering Contradiction:
Improvecalibration adaptabilityVSAvoidmemory usage
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The system changes the state of calibration parameters from static to dynamic by implementing time-based weighting and decay mechanisms. Older calibration parameters are automatically down-weighted over time, allowing the system to adapt to changing environmental conditions while managing memory usage through automatic parameter lifecycle management

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The calibration parameter storage system is made dynamic with automatic weighting and expiration. Instead of storing all historical parameters with equal weight, the system dynamically adjusts the influence of each parameter based on recency and quality metrics, improving adaptability while controlling memory consumption through automatic pruning of obsolete data

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS10151805B2Method for calibration of magnetic sensor
Publication Date: 2018.12.11 STMICROELECTRONICS INT NV
  • US10151805B2 patent drawing
  • US10151805B2 patent drawing
  • US10151805B2 patent drawing

AI summary

A method includes acquiring magnetic data from a magnetometer, processing the magnetic data to perform robust calibration, and generating optimum calibration parameters using a calibration status indicator. To that end, the method includes generating a calibration status indicator as a function of time elapsed since a last calibration and variation in total magnetic field in previously stored magnetic data, detecting anomalies, and extracting a sparse magnetic data set using comparison between the previously stored magnetic data and the magnetic data. Calibration parameters are generated for the magnetometer using a calibration method as a function of the magnetic data set. The calibration parameters are stored based on performing a validation and stability check on the calibration parameters, and weighted with the previously stored calibration parameters to produce weighted calibration parameters. Calibration settings are generated as a function of the weighted calibration parameters, if the weighted calibration parameters were produced.