CPC H04L 12/282 (2013.01) [H04L 67/12 (2013.01); H04M 1/72448 (2021.01); H04L 2012/2841 (2013.01); H04M 2250/12 (2013.01)] | 17 Claims |
1. A method for recognizing a two-dimensional (2D) movement track based on a smart watch, comprising:
acquiring accelerometer signal data and gyroscope signal data of the smart watch;
estimating a tilt angle of the smart watch by using the accelerometer signal data and correcting the gyroscope signal data by using the tilt angle; and
calculating angle value information of the smart watch by using the corrected gyroscope signal data and estimating a coordinate point;
wherein estimating the tilt angle of the smart watch by using the accelerometer signal data and correcting the gyroscope signal data by using the tilt angle comprises following sub-steps:
recording X, Y, and Z axis data of the accelerometer signal data as ax, ay, az, respectively, and recording X, Y, and Z axis data of the gyroscope signal data as gx, gy, gz, respectively;
calculating an energy value e=ax2+ay2+az2 of the accelerometer signal data, initializing an energy count c=0, and setting an energy threshold ethreshold and an energy count threshold cthreshold;
judging whether the energy value e of the accelerometer signal data is less than or equal to the energy threshold, and if the energy value e of the accelerometer signal data is less than or equal to the energy threshold, updating energy count information c=c+1: judging whether the energy count c is greater than or equal to the energy count threshold cthreshold, and if the energy count c is greater than or equal to the energy count threshold cthreshold, updating tilt angle information represented by
![]() correcting gyroscope V-axis and z-axis angular velocity signal data by using the updated tilt angle information, represented by
![]() ![]() ![]() ![]() |