The present disclosure relates to the field of intelligent sensing, and in particular, to a method for identifying a carrier motion mode based on a time-domain differential characteristic.
With the rapid development of the electronic information technology, photoelectric detection technology, and artificial intelligence technology, the smart industry represented by wearable devices, smart homes, smart manufacturing, mobile robots, and unmanned driving has developed vigorously. Intelligent instruments and modern sensors are the hardware foundation and basic guarantee for the smart industry to thrive. Real-time monitoring of motion modes is essential for many intelligent applications. In a highly dynamic and unpredictable marine environment, to improve the safety of an unmanned surface vehicle and the reliability of its mission, it is necessary to monitor a motion mode of the unmanned surface vehicle in real time. In an unmanned driving system or an adaptive cruise system of a vehicle, real-time and reliable motion mode monitoring helps to detect a problem accurately upon occurrence, and guide the system or a driver to solve the problem in time to ensure driving safety. In the field of industrial inspection or safety, real-time identification of sensor modes helps to discover existing defects and potential faults accurately, to ensure product quality and production safety. Even in small devices like smartphones and smart bands, a micro accelerometer and a micro-gyroscope can be built in to detect paces based on motion mode changes, which can minimize cheating and improve the accuracy of pace counting. Therefore, identification of motion modes is a core technology for in-depth development and wide application of the smart industry. The present disclosure provides a method for identifying a carrier motion mode based on a time-domain differential characteristic, which can well meet an application requirement for fast and accurate real-time identification of a carrier motion mode.
To overcome the shortcomings of the prior art, the present disclosure provides a method for identifying a carrier motion mode based on a time-domain differential characteristic, to achieve simple, efficient, and accurate real-time identification of a carrier motion mode by analyzing and calculating a time-domain differential characteristic of carrier motion data.
An algorithm for the method for identifying a carrier motion mode based on a time-domain differential characteristic is as follows:
1) assuming that a data sequence collected in a period of time is xi (i=1, . . . , k), performing a difference operation on the sequence xi to obtain a sequence di (i=1, . . . , k);
2) applying a sign function on the sequence di to obtain a sequence si (i=1, . . . , k), and performing progressive multiplication on the sign sequence to obtain a sequence gi (i=1, . . . , k);
3) defining a positive integer N, and performing an accumulation operation on the sequence gi with length N to obtain a sequence zi (i=1, . . . , k); and
4) setting thresholds T1 and T2 based on a value of N, and performing motion mode identification.
A calculation method of the difference sequence in step 1) is:
where, a value of m ranges from 2 to 10.
The sign operation in step 2) is:
The progressive multiplication operation in step 2) is:
where, a value of p ranges from 2 to 10.
The accumulation operation in step 3) is:
where, a value of N ranges from 20 to 80.
The motion mode identification method in step 4) is:
where, values of T1 and T2 are related to N and data characteristics, the values of T1 and T2 range from N/4 to 3N/4, and T1<T2.
Beneficial effects of the present disclosure: Data characteristic analysis is performed on carrier motion data in time domain. This can implement simple, efficient, and accurate real-time identification of a carrier motion mode by using differential characteristics.
The present disclosure is further described below with reference to the accompanying drawings and embodiments.
An algorithm for a method for identifying a carrier motion mode based on a time-domain differential characteristic is as follows:
1) assuming that a data sequence collected in a period of time is xi (i=1, . . . , k), performing a difference operation on the sequence xi to obtain a sequence di (i=1, . . . , k);
2) applying a sign function on the sequence di to obtain a sequence si (i=1, . . . , k), and performing progressive multiplication on the sign sequence to obtain a sequence gi (i=1, . . . , k);
3) defining a positive integer N, and performing an accumulation operation on the sequence gi with length N to obtain a sequence zi (i=1, . . . , k); and
4) setting thresholds T1 and T2 based on a value of N, and performing motion mode identification.
A carrier motion may be a linear or angular motion, and corresponding data may be output of an accelerometer or a gyroscope. The motion mode includes a steady state and a dynamic state. The steady state means that a carrier moves with constant velocity or angular velocity, and the dynamic state means that velocity or angular velocity of a carrier changes with a specific law.
A calculation method of the difference sequence in step 1) is:
A value of m ranges from 2 to 10. The value of m may not be too large, to avoid an error of mode identification caused by drift.
The sign operation in step 2) is:
The progressive multiplication operation in step 2) is:
A value of p ranges from 2 to 10. The value of p may not be too large, to avoid an error of mode identification caused by drift.
The accumulation operation in step 3) is:
A value of N ranges from 20 to 80. A larger value of N indicates a greater delay of mode identification, poorer real-time performance of a system, but a higher accuracy of identification, and vice versa. The value of N is also related to system data characteristics. If randomness is good, even if the value of N is small, a high identification accuracy can be achieved, and vice versa. Therefore, the value of N needs to be determined based on real-time requirements and data characteristics of the system.
The motion mode identification method in step 4) is:
Values of T1 and T2 are related to N and data characteristics, the values of T1 and T2 range from N/4 to 3N/4, and T1<T2. To reduce a misjudgment rate and improve the robustness of the algorithm, a transition interval is set during the identification. That is, when zi is within [T1, T2], it is determined that the carrier motion mode remains unchanged, until zi is less than T1 or greater than T2 again.
The present disclosure implements data characteristic analysis on carrier motion data in time domain. Through analysis and operation on differential characteristics of the carrier motion data, simple, efficient, and accurate real-time identification of a carrier motion mode can be implemented.
To verify the effect of this method, it is assumed that a pseudo-random sequence as steady state data and a sine sequence as dynamic state data are used as exemplified signals, with a data length of 1000. As shown in
The implementation solutions in the above description can be further combined or replaced. The implementation solutions merely describe preferred embodiments of the present disclosure, but are not intended to limit the protection scope of the present disclosure. Those of ordinary skill in the art may make various modifications and improvements to the technical solutions in the present disclosure without departing from the essence of the present disclosure. All these modifications and improvements shall fall within the protection scope of the present disclosure. The protection scope of the present disclosure is defined by the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
202010049834.7 | Jan 2020 | CN | national |