Stabilizing Orientation Values Using Sensor Drift Correction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Electronic devices equipped with gyroscopes, accelerometers, and magnetometers face challenges in stabilizing orientation values due to errors and drift, leading to inaccurate orientation calculations and a poor user experience.
Innovation Solution
A method that determines when the device is stationary or in motion, locking or unlocking orientation values based on sensor readings, and using accelerometer and magnetometer readings to correct orientation values by calculating a reference position and updating them proportionally to movement, thereby stabilizing the orientation values.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If gyroscope measurements are used to determine orientation, then the electronic device can track movement in three dimensional space, but errors and drift accumulate leading to inaccurate orientation calculations
Solution Approach 1:
The system continuously monitors gyroscope drift and accelerometer deviations, then applies corrective feedback by resetting the orientation reference frame when the device is detected to be stationary. This closed-loop feedback mechanism prevents error accumulation by periodically recalibrating the gyroscope measurements against the accelerometer-derived reference orientation.
Solution Approach 2:
The system discards accumulated gyroscope drift errors by resetting the orientation reference frame to the accelerometer-based reference orientation when stationary conditions are detected. This recovery process eliminates accumulated errors and restores measurement accuracy without requiring external calibration tools.
2Speed
If orientation values are continuously updated using sensor readings, then the device responds to motion in real-time, but errors and drift cause the values to become unstable
Solution Approach 1:
The system performs periodic calibration by detecting when the device transitions from motion to stationary state, then resetting the orientation reference frame at these periodic intervals. This periodic action stabilizes orientation values by eliminating drift accumulation while maintaining real-time responsiveness during motion periods between calibrations.
Solution Approach 2:
The system performs preliminary calibration by establishing an accurate reference orientation using accelerometer data before the device begins moving. This preliminary action ensures that subsequent gyroscope measurements are based on a known accurate reference, preventing drift from compromising orientation accuracy during motion.
3Measurement precision
If accelerometer and magnetometer readings are used to correct orientation values, then drift and errors are reduced, but the device requires additional sensor processing and calculation
Solution Approach 1:
The system applies partial correction by using only accelerometer data for orientation correction when the device is stationary, rather than continuously combining all sensor inputs. This partial action reduces computational complexity while maintaining accuracy, as full sensor fusion is only necessary during motion periods when drift correction is applied.
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
This approach reduces errors and drift in orientation calculations, providing a more accurate and stable user experience by ensuring that orientation values are corrected while the device is in motion and updated correctly when stationary.
Implementation Method 1
A gyroscope is a device that can be used to measure rotation rate
Implementation Method 2
A magnetometer is a device that can be used to measure the strength of magnetic fields
Implementation Method 3
An accelerometer is a device that can be used to measure acceleration
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Disclosed are methods and systems for stabilizing orientation values of an electronic device, the orientation values representing an orientation of the electronic device, the method comprising: obtaining first sensor readings from a first sensor; obtaining second sensor readings from a second sensor; evaluating the first sensor readings and the second sensor readings to determine whether the electronic device is stationary; locking the orientation values when the electronic device is stationary; collecting at least one of further first sensor readings and further second sensor readings while the orientation values are locked; determining whether the orientation of the electronic device is changing by more than a threshold amount based on one or more of the further first sensor readings and the further second sensor readings; and unlocking the orientation values for updating based on the further sensor readings when the orientation of the electronic device is changing by more than the threshold amount.