US 11,907,143 B2
Method and device for timestamping and synchronization with high-accuracy timestamps in low-power sensor systems
Hongxu Zhao, Beijing (CN); Cunliang Du, Beijing (CN); Chieh-Lin Chuang, Hsinchu (TW); and Zhen Jiang, Beijing (CN)
Assigned to MEDIATEK SINGAPORE PTE. LTD., Singapore (SG)
Filed by MediaTek Singapore Pte. Ltd., Singapore (SG)
Filed on Apr. 14, 2022, as Appl. No. 17/720,882.
Claims priority of application No. 202110695619.9 (CN), filed on Jun. 23, 2021; and application No. 202210314680.9 (CN), filed on Mar. 28, 2022.
Prior Publication US 2022/0414036 A1, Dec. 29, 2022
Int. Cl. G06F 13/24 (2006.01); G06F 13/40 (2006.01); H04J 3/06 (2006.01)
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
OG exemplary drawing
 
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.