Vehicle state detection method, medium and device

By applying fourth-order Butterworth low-pass filtering and multi-scale absolute deviation integral statistics to IMU sensor data, combined with a TCN temporal convolutional network, the problem of state recognition under complex motion modes of vehicles with GNSS failure was solved, achieving high-accuracy static detection, applicable to vehicles with different vibration energies.

CN121233979BActive Publication Date: 2026-02-24CENT SOUTH UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511793398.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-12-02
Publication Date
2026-02-24
Estimated Expiration
2045-12-02

AI Technical Summary

Technical Problem

In extreme scenarios where vehicle GNSS is unavailable for extended periods and the vehicle is in complex motion patterns, traditional algorithms cannot effectively identify the vehicle's motion state, leading to safety issues such as navigation and location service failures, accidental/failed emergency braking, and lane keeping function malfunctions. In particular, their detection performance is insufficient in scenarios involving low-speed movement, frequent starts and stops, and significant differences in vibration energy.

Method used

Fourth-order Butterworth low-pass filtering was performed on IMU sensor data to calculate multi-scale absolute deviation integral statistics. A TCN temporal convolutional network model was constructed, and the vehicle motion state was identified through long and short window feature vectors and vibration-resistant design.

Benefits of technology

It effectively identifies the motion state of vehicles under long-term GNSS failure, has strong vibration resistance, and is suitable for electric vehicles with low vibration energy and larger fuel vehicles. It improves the accuracy of static detection and reduces the impact of noise interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121233979B_ABST
    Figure CN121233979B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of vehicle positioning, and particularly relates to a vehicle state detection method, medium and equipment, the method comprising the following steps: acquiring IMU sensor data installed on a vehicle; performing low-pass filtering processing on the IMU data; calculating a multi-scale absolute deviation integral statistic of a long window and a short window based on the processed IMU data, and constructing a time sequence feature vector of the statistic; constructing a TCN time convolution network based on the time sequence feature vector, training the TCN time convolution network according to label data to obtain a model, and using the trained model to judge a motion state. The present application learns the motion state law from the multi-scale absolute deviation integral statistic by using the TCN time convolution network model, can effectively identify the vehicle motion state in the continuous low-speed straight line or frequent start scene under the GNSS long-term lock loss, and the method has strong anti-vibration property and is suitable for both oil vehicles and electric vehicles.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle positioning technology, and specifically to a vehicle status detection method, medium, and device. Background Technology

[0002] In extreme scenarios where the vehicle's GNSS (Global Navigation Satellite System) is chronically unavailable and the vehicle is in complex motion patterns, traditional algorithms cannot effectively identify the vehicle's motion state. This can lead to navigation and location service failures, false triggering / failure of emergency braking, and lane keeping function malfunctions, all of which affect driving safety. Specifically, traditional algorithms suffer from the following problems:

[0003] (1) Noise interference problem at low speed: When the vehicle is traveling in a straight line at a continuous low speed (<0.5 m / s), the noise power spectral density of the MEMS (Micro-Electro-Mechanical System) accelerometer is close to the magnitude of the motion acceleration, which causes the detection algorithms based on fixed thresholds (MAG (Magnitudes of Acceleration and Gyroscope) and ARE (Angular Rate Energy)) to generate high-frequency false triggers due to insufficient signal-to-noise ratio;

[0004] (2) Model mismatch problem in quasi-static creeping conditions: In frequent start-stop scenarios, vehicles are often in a micro-motion state of 0.1-0.5 m / s. The detection model under the traditional static assumption cannot characterize the gradual change characteristics of time and frequency domain features, resulting in continuous misjudgment at the boundary between dynamic and static states.

[0005] (3) Generally lacking vibration resistance: Due to the significant difference in engine vibration energy levels between trams and gasoline vehicles, methods based on fixed thresholds (such as MAG and ARE) are only effective on trams with less vibration, while their detection performance drops sharply on gasoline vehicles with greater vibration. Conversely, frequency domain analysis methods based on Fast Fourier Transform (FFT) are effective on gasoline vehicles with greater vibration, but cannot detect stationary states at all on trams.

[0006] In summary, there is an urgent need for a method that can effectively identify the vehicle's motion state in extreme scenarios where the vehicle's GNSS is unavailable for a long period of time and the vehicle is in a complex motion mode. This method should also have strong vibration resistance and be suitable for both electric vehicles with low vibration energy and fuel vehicles with high vibration energy. Summary of the Invention

[0007] The purpose of this invention is to provide a vehicle state detection method, medium, and device to solve the technical problem that existing vehicle positioning methods cannot effectively identify the vehicle's motion state in extreme scenarios where the vehicle's GNSS is unavailable for extended periods and the vehicle is in a complex motion pattern. The specific technical solution is as follows:

[0008] This invention provides a vehicle condition detection method, comprising the following steps:

[0009] S1. Acquire data from the IMU sensor installed on the vehicle. The IMU sensor is placed horizontally on the vehicle, and the IMU sensor's... The axes are oriented in the direction of vehicle movement, and the x and z axes are installed in accordance with the right-hand rule.

[0010] S2. Perform low-pass filtering on the IMU data, specifically: perform a fourth-order Butterworth low-pass filter on the IMU data to obtain the processed IMU data;

[0011] S3. Calculation of multi-scale absolute deviation integral statistics: Specifically, the multi-scale absolute deviation integral statistics of long and short windows are calculated based on the IMU data processed in S2, and the time series feature vector of the statistics is constructed.

[0012] S4. Construct a TCN temporal convolutional network based on temporal feature vectors, train the TCN temporal convolutional network according to the label data to obtain the model, and use the trained model to determine the motion state.

[0013] A further improvement of the vehicle state detection method of the present invention lies in that, when processing the IMU data using a fourth-order Butterworth low-pass filter, the processing is performed using a fourth-order Butterworth difference equation, the expression of which is as follows:

[0014] ;

[0015] In the formula, For the first The result after data filtering Indicates the serial number; For the first Raw data from IMUs; coefficients For feedback items; coefficients To control the weights of current and historical inputs on the output.

[0016] A further improvement to the vehicle condition detection method of the present invention lies in the following steps for calculating the integral statistic of the multi-scale absolute deviation of long and short windows based on the processed IMU data in S2:

[0017] S301. Calculate the absolute deviation between the long window and the short window. The calculation formula is as follows:

[0018] ;

[0019] ;

[0020] In the formula, For the first Segment length window absolute deviation value; IMU sensor data including accelerometer x-axis data, accelerometer x-axis data, and accelerometer z-axis data; For long window IMU accelerometer The average value of the axis data; For long-window IMU accelerometers The average value of the axis data; To determine the absolute value sign; For the first Absolute deviation value of the short window segment; For the short window IMU accelerometer The average value of the axis data; For short-window IMU accelerometers The average value of the axis data;

[0021] S302. Add third moments to correct the absolute deviation between the long and short windows. The specific formula is as follows:

[0022] ;

[0023] ;

[0024] In the formula, For the first Absolute deviation of the long window after segment correction; It is the first Standard deviation of segment length window; For the first Segment length window skewness; To represent square; This is the adjustment coefficient; For the first The absolute deviation of the short window after segment correction. It is the first Short window standard deviation For the first The skewness of the short window segment is calculated using the following formula:

[0025] ;

[0026] In the formula, For the first Third-order central moment of segment, For the first IMU data, For the first Average value of segment IMU data For sample data size, For the first Segment data skewness For the first Segment IMU data variance;

[0027] S303. Perform a nonlinear transformation on the deviation value obtained in S302 to obtain the multi-scale absolute deviation integral statistic. The specific transformation formula is as follows:

[0028] ;

[0029] ;

[0030] In the formula, This is the integral statistic of the absolute deviation over a long window and multiple scales. It is a logarithmic function; This is the penalty coefficient; To find the function with the maximum value; This is the integral statistic of absolute deviation across short-window, multi-scale operations.

[0031] S303. Construct a time-series feature vector from the multi-scale absolute deviation integral statistics of long and short windows, specifically arranging the time-series feature vector according to the time sequence. as follows:

[0032] ;

[0033] ;

[0034] in, The first in the time series feature vector 1 eigenvector For the first A long-window, multi-scale absolute deviation integral statistic For the first A short-window, multi-scale absolute deviation integral statistic.

[0035] S304. Using the temporal feature vector obtained from S302, construct a TCN temporal convolutional network model. The input to the network is the temporal feature vector obtained in S3, and the output of the network model is the stillness detection label. The network model mainly consists of four residual blocks. Each residual block contains causal convolution, layer normalization, LeakyReLU activation function, and Dropout layer. The causal convolution output depends only on the current and previous inputs, not on future inputs. To increase the receptive field of the model without increasing the parameters, dilated convolution is added on the causal convolution. The mathematical model of causal convolution is as follows:

[0036] ;

[0037] In the formula, For convolution kernel, The kernel size is [size]. Given a causal convolution input sequence and a temporal feature vector obtained from S3, For serial number, The output of causal convolution, The expansion factor is 2 (here). For the current time step; after the convolution, a normalization layer is added to standardize the output of the causal convolution. The normalization model is as follows:

[0038] ;

[0039] In the formula, The mean in the current layer, The variance in the current layer. The output of the causal convolution is used as the input for layer normalization; It is a small constant. This is the layer-normalized output; the activation function used in the network is LeakyReLU, and its model is as follows:

[0040] ;

[0041] In the formula, As input, The output is the activation function; to prevent overfitting in the convolutional network, a Dropout layer is added. The model for the Dropout layer is as follows:

[0042] ;

[0043] In the formula, Let be a Bernoulli random variable. For the probability of discarding, As input to the Dropout layer Output for Dropout layer;

[0044] After training the model using labeled data, the model output is used directly to determine the result. A model output of 0 indicates movement, and an output of 1 indicates stillness.

[0045] The present invention also provides a readable storage medium storing a computer program adapted to be loaded by a processor and executed as described above for the vehicle state detection method.

[0046] The present invention also provides a computer device, the computer device including a memory and a processor, the memory storing a computer program, which, when executed by the processor, runs the vehicle state detection method as described above.

[0047] The application of the technical solution of the present invention has the following beneficial effects:

[0048] The vehicle state detection method of this invention preprocesses the original acceleration signal through a fourth-order Butterworth low-pass filter. This filter has the characteristics of maximum flat passband, ensuring that the effective signal passes through the steep roll-off characteristic without distortion. It can effectively suppress high-frequency noise such as engine vibration and road excitation with zero phase distortion design. Through bidirectional filtering, it avoids signal time shift, thereby eliminating high-frequency vibration noise of the vehicle, reducing the impact of noise on stationary detection, and realizes vehicle stationary detection by utilizing multi-scale absolute deviation consistency. The design of the multi-scale absolute deviation consistency index is as follows: ① Utilizing the multi-segment consistency of the data can effectively identify the stationarity of time series data and is unaffected by the magnitude of vehicle vibration, exhibiting strong vibration resistance; ② Incorporating variance and skewness can effectively capture the impact of local asymmetry of the data on the overall index, helping to identify the state of the vehicle in extreme scenarios with complex motion patterns; ③ Incorporating a maximum deviation penalty term highlights the impact of the maximum deviation, assisting in identifying the vehicle in a continuous low-speed linear motion field; ④ Using long and short window statistics to construct statistical time-series features, long window statistics are used for continuous and stable stationary states, while short window statistics are used to capture instantaneous and brief stationary states, thus compensating for the problem of long windows being unable to respond in a timely manner due to the sliding window duration; ⑤ Utilizing the TCN temporal convolutional network model to learn the motion state patterns from the long and short window statistics, thereby detecting stationary states.

[0049] This invention can effectively identify the vehicle motion state under continuous low-speed straight-line or frequent start-up scenarios when GNSS is lost for a long time, solving the technical problem that existing vehicle positioning methods cannot effectively identify the vehicle motion state in extreme scenarios where the vehicle's GNSS is lost for a long time and the vehicle is in a complex motion mode; moreover, this invention has strong vibration resistance, is not affected by the magnitude of vehicle vibration energy, and can be used in both electric vehicles and gasoline vehicles.

[0050] In addition to the objectives, features, and advantages described above, the present invention has other objectives, features, and advantages. The invention will now be described in further detail with reference to the figures. Attached Figure Description

[0051] The accompanying drawings, which form part of this application, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an undue limitation of the invention. In the drawings:

[0052] Figure 1 This is a flowchart of the vehicle state detection method of the present invention;

[0053] Figure 2 This is the first set of data, showing the results of the traditional static detection method.

[0054] Figure 3 This is a graph showing the detection results of the first set of data using the vehicle condition detection method of this invention;

[0055] Figure 4 This is the result image of the second set of data detected using the traditional static detection method;

[0056] Figure 5 This is a graph showing the detection results of the second set of data using the vehicle condition detection method of this invention. Detailed Implementation

[0057] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0058] See Figure 1 As shown, a vehicle condition detection method includes the following steps:

[0059] S1. Acquire data from the IMU (Inertial Measurement Unit) sensor installed on the vehicle; the IMU sensor data is raw data at 100Hz; the IMU sensor is placed horizontally on the vehicle, and the IMU sensor's... The axes are oriented in the direction of vehicle movement, and the x and z axes are installed in accordance with the right-hand rule.

[0060] S2. Perform low-pass filtering on the IMU data. Specifically, perform a fourth-order Butterworth low-pass filter on the IMU data to obtain processed IMU data with a cutoff frequency of 40Hz and a sampling rate of 100Hz. This eliminates high-frequency vibration noise from the vehicle and reduces the impact of noise on stationary detection.

[0061] Specifically, when processing IMU data using a fourth-order Butterworth low-pass filter, the process is performed using a fourth-order Butterworth difference equation, as shown in the following expression:

[0062] ;

[0063] In the formula, For the first The result after data filtering Indicates the serial number; For the first Raw data from IMUs; coefficients For feedback items; coefficients To control the weights of current and historical inputs on the output.

[0064] S3. Multi-scale absolute deviation integral statistics for stationary detection: Specifically, based on the IMU data processed in S2, multi-scale absolute deviation integral statistics with long and short windows are calculated, and a time-series feature vector of the statistics is constructed. This highlights the influence of deviation and facilitates further differentiation between stationary and moving states. Long and short window stationary detection conditions are used to determine the vehicle's state, reducing missed detections caused by the long window. In this embodiment, the long window is 5 seconds, and the short window is 2 seconds.

[0065] Preferably, when calculating the multi-scale absolute deviation integral statistic based on the IMU data processed in S2, the following steps are included:

[0066] S301. The long window uses 5 seconds of data, divided into five segments of 1 second each for calculation. The short window uses 2 seconds of data, divided into four segments of 0.5 seconds each for calculation. Calculate the absolute deviation between the long and short windows using the following formula:

[0067] ;

[0068] ;

[0069] In the formula, For the first Segment length window absolute deviation value; IMU sensor data including accelerometer x-axis data, accelerometer x-axis data, and accelerometer z-axis data; For long window IMU accelerometer The average value of the axis data; For long window 5-second IMU accelerometer The average value of the axis data; To determine the absolute value sign; For the first Absolute deviation value of the short window segment; For the short window IMU accelerometer The average value of the axis data; For short-window 2-second IMU accelerometer The average value of the axis data.

[0070] S302. Add third moments to correct the absolute deviation between the long and short windows. The specific formula is as follows:

[0071] ;

[0072] ;

[0073] In the formula, For the first Absolute deviation of the long window after segment correction; It is the first Standard deviation of segment length window; For the first Segment length window skewness; To represent square; The adjustment coefficient is set to 0.5. For the first The absolute deviation of the short window after segment correction. It is the first Short window standard deviation For the first The skewness of the short window segment is calculated using the following formula:

[0074] ;

[0075] In the formula, For the first Third-order central moment of segment, For the first IMU data, For the first Average value of segment IMU data For sample data size, For the first Segment data skewness For the first Variance of segment IMU data.

[0076] S303. Perform a nonlinear transformation on the deviation value obtained in S302 to obtain the multi-scale absolute deviation integral statistic. The specific transformation formula is as follows:

[0077] ;

[0078] ;

[0079] In the formula, This is the integral statistic of the absolute deviation over a long window and multiple scales. It is a logarithmic function; The penalty coefficient is set to 0.2. To find the function with the maximum value; This is the integral statistic of absolute deviation across short-window, multi-scale operations.

[0080] S304. Construct a time-series feature vector from the multi-scale absolute deviation integral statistics of long and short windows, specifically arranging the time-series feature vector according to the time sequence. as follows:

[0081] ;

[0082] ;

[0083] in, The first in the time series feature vector 1 eigenvector For the first A long-window, multi-scale absolute deviation integral statistic For the first A short-window, multi-scale absolute deviation integral statistic.

[0084] S4 constructs a TCN temporal convolutional network based on temporal feature vectors, trains the TCN temporal convolutional network according to the label data to obtain the model, and uses the trained model to determine the motion state.

[0085] Specifically, a TCN temporal convolutional network model is first constructed. The input to the network is the temporal feature vector obtained in the previous step, and the output of the network model is the still detection label. The network model mainly consists of four residual blocks. Each residual block contains causal convolution, layer normalization, LeakyReLU activation function (linear rectified function), and Dropout layer. The output of the causal convolution only depends on the current and previous inputs, not on future inputs. In order to increase the receptive field of the model without increasing the number of parameters, a dilated convolution is added on the causal convolution. The mathematical model of causal convolution is as follows:

[0086] ;

[0087] In the formula, For convolution kernel, The kernel size is [size]. The input sequence for the causal convolution is given by [the input sequence], and the feature vector obtained in the previous step is given by [the input sequence]. For serial number, The output of causal convolution, The expansion factor is 2 (here). For the current time step; after the convolution, a normalization layer is added to standardize the output of the causal convolution. The normalization model is as follows:

[0088] ;

[0089] In the formula, This is the mean value in the current layer. The variance in the current layer. The output of the causal convolution is used as the input for layer normalization. It is a small constant. This is the layer-normalized output; the activation function used in the network is LeakyReLU, and its model is as follows:

[0090] ;

[0091] In the formula, As input, The output is the activation function; to prevent overfitting in the convolutional network, a Dropout layer is added. The model for the Dropout layer is as follows:

[0092] ;

[0093] In the formula, For Bernoulli random variables (in terms of probability) Take 0, 1− Take 1). For the probability of discarding, As input to the Dropout layer This is the output of the Dropout layer, and is usually set to 0.5.

[0094] After training the model with a large amount of labeled data, the model output is used directly to determine the result. The model output of 0 indicates movement, and the output of 1 indicates stillness.

[0095] The present invention also provides a readable storage medium storing a computer program adapted to be loaded by a processor and executed as described above for the vehicle state detection method.

[0096] The present invention also provides a computer device, the computer device including a memory and a processor, the memory storing a computer program, which, when executed by the processor, runs the vehicle state detection method as described above.

[0097] To verify the performance of the stationary detection algorithm proposed in this invention, two sets of vehicle-mounted data from different powertrain systems were collected in the same scenario. The IMU sensor sampling frequency was 100Hz, and a high-precision fiber optic inertial navigation system was used as the ground truth. The vehicle was slowly traveling in a straight line in a GNSS-free environment to test the stationary detection performance in a low-speed straight-line scenario without GNSS. The first and second sets of data were collected from electric vehicles and gasoline vehicles, respectively, and the stationary detection performance on electric vehicles with lower vibration energy and gasoline vehicles with higher vibration energy was compared. Figures 2-5The detection results of two stationary detection methods on two datasets are given respectively, where "0" indicates that the vehicle is in motion and "1" indicates that the vehicle is stationary.

[0098] To verify the static detection performance of this invention, false detection rate, false negative rate, and accuracy rate were used as evaluation indicators, and the positioning of each indicator is as follows:

[0099] ;

[0100] ;

[0101] ;

[0102] In the formula, False positive rate; This represents the false negative rate. For accuracy; This represents the total epoch time during which the system was actually at rest. This represents the total epoch time of the actual state of motion. This represents the total epoch time during which a stationary position was detected, but the actual movement occurred. This represents the total epoch time during which the detection is dynamic but actually static. This represents the total epoch time during which the detected state was static when it was actually static. This indicates the total epoch time during which the detection is dynamic but actually dynamic.

[0103] As can be seen from the first set of data in Table 1, the false detection rate of the method of this invention is significantly lower than that of the traditional method. The static detection accuracy of this invention is 99.43%, while that of the traditional method is 74.51%, representing an improvement of 34.45%. This indicates that the static detection accuracy of the method of this invention is significantly improved in scenarios with low vibration, such as trams and low-speed straight lines without GNSS. As can be seen from the second set of data in Table 2, the false detection rate of the method of this invention is significantly lower than that of the traditional method. The static detection accuracy of this invention is 99.27%, while that of the traditional method is 66.71%, representing an improvement of 48.81%. This indicates that the static detection accuracy of the method of this invention is significantly improved in scenarios with high engine vibration, such as gasoline vehicles and low-speed straight lines without GNSS.

[0104] Table 1. Results of static detection using two methods for the first set of data.

[0105]

[0106] Table 2. Results of static detection using two methods for the second set of data.

[0107]

[0108] This invention relates to a vehicle state detection method that preprocesses the original acceleration signal using a fourth-order Butterworth low-pass filter. This filter has a maximum flat passband characteristic, ensuring that the effective signal passes through a steep roll-off characteristic without distortion. It can effectively suppress high-frequency noise such as engine vibration and road excitation with zero phase distortion. Through bidirectional filtering, it avoids signal time shift, thereby eliminating high-frequency vibration noise of the vehicle and reducing the impact of noise on stationary detection. Furthermore, it utilizes multi-scale absolute deviation consistency to achieve vehicle stationary detection. This method can effectively identify the vehicle motion state in scenarios of continuous low-speed straight-line movement or frequent starts under long-term GNSS lockout, solving the technical problem that existing vehicle positioning methods cannot effectively identify the vehicle motion state in extreme scenarios where the vehicle's GNSS is unavailable for a long time and the vehicle is in a complex motion mode. Moreover, this invention has strong vibration resistance, is not affected by the magnitude of vehicle vibration energy, and can be used in both electric and gasoline vehicles.

[0109] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A vehicle condition detection method, characterized in that, Includes the following steps: S1. Acquire data from the IMU sensor installed on the vehicle. The IMU sensor is placed horizontally on the vehicle, and the IMU sensor's... The axes are oriented in the direction of vehicle movement, and the x and z axes are installed in accordance with the right-hand rule. S2. Perform low-pass filtering on the IMU data, specifically: perform a fourth-order Butterworth low-pass filter on the IMU data to obtain the processed IMU data; S3. Calculation of multi-scale absolute deviation integral statistics: Specifically, the multi-scale absolute deviation integral statistics of long and short windows are calculated based on the IMU data processed in S2, and the time series feature vector of the statistics is constructed. The calculation of the integral statistic of the absolute bias of the long and short windows multi-scale based on the processed IMU data in S2 includes the following steps: S301. Calculate the absolute deviation between the long window and the short window. The calculation formula is as follows: ; ; In the formula, For the first Segment length window absolute deviation value; IMU sensor data including accelerometer x-axis data, accelerometer x-axis data, and accelerometer z-axis data; For long window IMU accelerometer The average value of the axis data; For long-window IMU accelerometers The average value of the axis data; To determine the absolute value sign; For the first Absolute deviation value of the short window segment; For the short window IMU accelerometer The average value of the axis data; For short-window IMU accelerometers The average value of the axis data; S302. Add third moments to correct the absolute deviation between the long and short windows. The specific formula is as follows: ; ; In the formula, For the first Absolute deviation of the long window after segment correction; It is the first Standard deviation of segment length window; For the first Segment length window skewness; To represent square; This is the adjustment coefficient; For the first The absolute deviation of the short window after segment correction. It is the first Short window standard deviation For the first The skewness of the short window segment is calculated using the following formula: ; In the formula, For the first Third-order central moment of segment, For the first IMU data, For the first Average value of segment IMU data For sample data size, For the first Segment data skewness For the first Segment IMU data variance; S303. Perform a nonlinear transformation on the deviation value obtained in S302 to obtain the multi-scale absolute deviation integral statistic. The specific transformation formula is as follows: ; ; In the formula, This is the integral statistic of the absolute deviation over a long window and multiple scales. It is a logarithmic function; This is the penalty coefficient; To find the function with the maximum value; This is the integral statistic of the absolute deviation of a short-window, multi-scale system. S304. Construct a time-series feature vector from the multi-scale absolute deviation integral statistics of long and short windows, specifically arranging the time-series feature vector according to the time sequence. as follows: ; ; in, The first in the time series feature vector 1 eigenvector For the first A long-window, multi-scale absolute deviation integral statistic For the first A short-window, multi-scale absolute deviation integral statistic; S4. Construct a TCN temporal convolutional network based on temporal feature vectors, train the TCN temporal convolutional network according to the label data to obtain the model, and use the trained model to determine the motion state.

2. The vehicle condition detection method according to claim 1, characterized in that, When processing IMU data using a fourth-order Butterworth low-pass filter, the process is performed using a fourth-order Butterworth difference equation, as shown in the following expression: ; In the formula, For the first The result after data filtering Indicates the serial number; For the first Raw data from IMUs; coefficients For feedback items; coefficients To control the weights of current and historical inputs on the output.

3. The vehicle condition detection method according to claim 1, characterized in that, A TCN temporal convolutional network model is constructed. The input of the network is the temporal feature vector obtained from S3, and the output of the network model is the still detection label. The network model mainly consists of four residual blocks. Each residual block contains causal convolution, layer normalization, LeakyReLU activation function and Dropout layer. The mathematical model of causal convolution is as follows: ; In the formula, For convolution kernel, The kernel size is [size]. The input sequence for the causal convolution is the temporal feature vector obtained from S3. For serial number, The output of causal convolution, As the expansion factor, For the current time step; after the convolution, a normalization layer is added to standardize the output of the causal convolution. The normalization model is as follows: ; In the formula, The mean in the current layer, The variance in the current layer. The output of the causal convolution is used as the input for layer normalization; It is a small constant. This is the layer-normalized output; the activation function used in the network is LeakyReLU, and its model is as follows: ; In the formula, As input, The output is the activation function; to prevent overfitting in the convolutional network, a Dropout layer is added. The model for the Dropout layer is as follows: ; In the formula, Let be a Bernoulli random variable. For the probability of discarding, As input to the Dropout layer Output for Dropout layer; After training the model using labeled data, the model output is used directly to determine the result. A model output of 0 indicates movement, and an output of 1 indicates stillness.

4. A readable storage medium, characterized in that, The readable storage medium stores a computer program adapted to be loaded by a processor and executed as the vehicle state detection method according to any one of claims 1-3.

5. A computer device, characterized in that, The computer device includes a memory and a processor. The memory stores a computer program, which, when executed by the processor, performs the vehicle state detection method according to any one of claims 1-3.

Citation Information

Patent Citations

  • Exoskeleton-oriented gait phase classification method based on TCN-HMM

    CN112487902A

  • Vehicle-mounted integrated navigation equipment attitude adaptive estimation method

    CN114877886A