CPC H04W 56/0015 (2013.01) [A61B 5/0024 (2013.01); G16H 40/40 (2018.01); G16H 40/63 (2018.01); H04W 56/002 (2013.01)] | 20 Claims |
1. A method for synchronizing data packets from embedded wireless data sensors for monitoring body motion of a patient, wherein each said sensor has an independent time base for applying timestamps to data packets sent from each said sensor with a respective sensor measurement; said method comprising the steps of:
receiving, by a device comprising an electronic data processor, an initial data packet having a timestamp from a sensor herewith defined as first sensor;
receiving, by the device, data packets having a timestamp from said sensors;
storing, by the device, the timestamp of the initial data packet from the first sensor, herewith defined as reference timestamp;
for each received data packet from said first sensor, the data packet having a timestamp, and wherein said data packet is received subsequently to said initial data packet:
the device storing the timestamp of the most recent data packet from said first sensor, herewith defined as subsequent timestamp;
for each received data packet from the sensors other than the first sensor, the data packet having a timestamp, and wherein said data packet is received subsequently to said initial data packet:
the device calculating a difference between each subsequent timestamp of a received data packet and the reference timestamp; the device calculating an average of said differences for the received data packets for each said sensor; and the device correcting the timestamp of the received data packet with the calculated average of said differences of the respective sensor when a predefined number of data packets from each respective sensor have been received;
using, by the device, the corrected timestamps of the received data packets to synchronize the data packets from the embedded wireless data sensors so that the device processes a data packet from each of the sensors wherein the data packet has a timestamp difference, with respect to the data packets from the other sensors, that is lower than a predetermined accepted maximum.
|