Sensor Data Processing Correcting ODR Errors
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Sensors often exhibit clock errors leading to significant Output Data Rate (ODR) errors, which can result in inaccurate data processing and functional failures in applications relying on precise ODR.
Innovation Solution
A sensor data processing method that calculates and corrects sensor data to align with a target ODR, using interpolation algorithms based on raw sensor data, actual ODR, and target ODR, ensuring accurate data processing and preventing functional failures.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If sensor data is output based on actual ODR with clock errors, then data collection is simple and continuous, but ODR precision deteriorates causing functional failures
Solution Approach 1:
The patent applies preliminary action by pre-calculating a conversion ratio based on the actual ODR and target ODR before data processing. This conversion ratio is then used to resample the sensor data at the correct target ODR, preventing ODR precision errors from causing functional failures. The FIFO buffer stores raw data in advance, allowing post-processing correction of ODR inaccuracies.
2Productivity
If hardware interrupt manner is used for data output, then data processing is efficient and continuous, but ODR accuracy deteriorates due to clock errors
Solution Approach 1:
The patent introduces an intermediary processing layer between the sensor and the application. The FIFO buffer and conversion ratio calculation act as intermediaries that decouple the hardware interrupt-based efficient data collection from the application's requirement for accurate target ODR. This intermediary layer resamples the data to achieve both efficiency and accuracy.
3Device complexity
If raw sensor data is used directly, then data processing is simple and fast, but data accuracy deteriorates due to ODR errors
Solution Approach 1:
The patent changes the temporal parameter of the sensor data by resampling at a different rate. It calculates a conversion ratio between actual ODR and target ODR, then uses this ratio to interpolate or decimate the data points, transforming the data from actual ODR timing to target ODR timing. This parameter transformation maintains data accuracy while preserving processing efficiency.
Data Source
AI summary
This application discloses a sensor data processing method, an electronic device, and a readable storage medium, and relates to the field of data processing technologies. The method includes: obtaining a group of raw sensor data, where the raw sensor data is sensor data output, based on an actual output data rate ODR, by a sensor; and obtaining a group of target sensor data through calculation based on the group of raw sensor data, a target ODR, and the actual ODR. The target sensor data is estimated sensor data output, based on the target ODR, by the sensor, and there is no ODR error.


