CPC G06F 13/24 (2013.01) [G06F 13/4022 (2013.01); H04J 3/065 (2013.01); H04J 3/0685 (2013.01); G06F 2213/0016 (2013.01)] | 24 Claims |
1. A method for timestamping and synchronization with high-accuracy timestamps in low-power sensor systems, wherein the method is performed by a device and comprises:
receiving, by a sensor hub of the device, an interrupt signal from a sensor and performing an interrupt service routine (ISR) to obtain an interrupt timestamp from a latch, wherein the interrupt timestamp is obtained from an always-running unified time reference;
obtaining, by the sensor hub, sensor data from the sensor;
predicting, by the sensor hub, a prediction timestamp based on an amount of sensor data and the interrupt timestamp by using a filtering algorithm; and
correcting, by the sensor hub, a timestamp of each sensor data based on the prediction timestamp.
|