Self-Calibrating Magnetometer for Home Automation Position Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing home automation devices struggle to reliably detect the position of openings like doors and windows due to unreliable magnetic field measurements, which are influenced by local magnetic disturbances and cannot be calibrated through a complete rotation, making them imprecise and ineffective.
Innovation Solution
A home automation device equipped with a magnetometer that automatically calibrates itself by measuring the local magnetic field at multiple positions, correcting for disturbances and calculating a calibration value to accurately determine the orientation of openings without requiring user intervention or specific manipulations, using a three-axis magnetometer and accelerometer to process and transmit data wirelessly.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Use of energy by moving object
If a magnetometer is used to detect the position of openings, then the device can operate wirelessly with low energy consumption, but the magnetic field measurements become unreliable due to local magnetic disturbances
Solution Approach 1:
The device performs a preliminary calibration phase before normal operation, during which it maps the local magnetic field characteristics by rotating through multiple orientations. This preliminary action stores reference data that enables the system to compensate for magnetic disturbances during subsequent position detection, resolving the contradiction between using simple low-power sensors and achieving reliable measurements
Solution Approach 2:
The system continuously compares current magnetic field readings against the calibrated reference model, detecting deviations caused by local disturbances. By feeding this information back into the position calculation algorithm, the system compensates for magnetic interference while maintaining the use of simple, low-power magnetometer hardware
2Measurement precision
If complex and expensive sensors are used to overcome magnetic disturbances, then measurement precision improves, but device complexity and cost increase
Solution Approach 1:
The simple magnetometer serves itself by performing automatic calibration and self-diagnosis routines. The device uses its own limited capabilities to characterize the magnetic environment and compensate for disturbances through software algorithms, eliminating the need for more complex hardware sensors while maintaining measurement precision
Solution Approach 2:
The system changes the operational parameters of the simple magnetometer by rotating the device through multiple known orientations during calibration. This parameter variation enables the construction of a reference model that compensates for magnetic disturbances, allowing precise position detection without complex sensors
3Measurement precision
If the magnetometer is calibrated by rotating 360 degrees, then calibration accuracy improves, but the calibration process becomes too complex for home automation applications
Solution Approach 1:
The system performs a partial rotation through a limited set of discrete orientations (e.g., 4-8 positions) rather than a continuous 360-degree rotation. This partial action provides sufficient calibration accuracy for home automation applications while dramatically simplifying the calibration process and reducing user burden
Applied Scientific Principles
This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.
Function Achieved in This Case
The device provides precise and reliable detection of opening positions, overcoming magnetic field disturbances and ensuring accurate orientation determination, even in environments with metal frames or other magnetic interference, while maintaining low energy consumption and simplicity.
Implementation Method 1
The invention relates to a home automation device (20) comprising a magnetometer (34) arranged to be able to measure the intensity of the local magnetic field
Implementation Method 2
The electronic circuit also comprises an accelerometer (33) arranged to provide signals representative of the acceleration of the housing (36) along three distinct measurement axes
Data Source
Figure 1~3
Figure 4~5
Figure 6~7
AI summary
The invention relates to a home automation device comprising at least one detector (30) of the position of an object being monitored, comprising a housing, a magnetometer (34) which supplies signals representative of the instantaneous intensity value for the local magnetic field, a unit (31) for processing the signals of the magnetometer (34), a memory (32) comprising a predetermined calibration value for the intensity of the magnetic field, characterised in that the processing unit (31) is programmed so as to calculate a constant value on the basis of said calibration value and on the basis of a plurality of intensity values supplied by the magnetometer for a plurality of positions of the housing, and to replace said calibration value in the memory (32) with said constant value.