A convolutional neural network road roughness recognition method based on tracked vehicle vibration characteristics

The convolutional neural network is used to identify the unevenness of the tracked vehicle road surface, and time-frequency domain analysis is used to determine the sliding window size and step size, which solves the problem of identifying the unevenness of the tracked vehicle road surface and achieves high-accuracy recognition results.

CN116738318BActive Publication Date: 2024-09-03NANJING UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310760069.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-26
Publication Date
2024-09-03
Estimated Expiration
2043-06-26

AI Technical Summary

Technical Problem

The existing technology cannot effectively identify the unevenness of the road surface when the tracked vehicle is driving, which affects the stability of the vehicle, and there is a lack of road surface unevenness identification method for tracked vehicles.

Method used

The convolutional neural network method based on the vibration characteristics of tracked vehicles is used to collect acceleration data, use time-frequency domain analysis, Fourier transform, and wavelet transform to determine the size and step size of the sliding window, establish a database, and identify the road surface through the convolutional neural network Roughness grade.

Benefits of technology

It achieves accurate identification of road unevenness of tracked vehicles, determines the optimal input scheme, improves the recognition accuracy, and solves the problem of complexity of vibration response of tracked vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116738318B
    Figure CN116738318B
Patent Text Reader

Abstract

The present invention proposes a method for identifying road surface roughness of a moving tracked vehicle based on a convolutional neural network, collects acceleration data of four road surface levels A, B, C, and D, uses a time-frequency domain analysis method to analyze the acceleration data characteristics of each level of road surface, and determines the sliding window size and step size; pre-processes the collected acceleration data and establishes a database; sets the sampling step size and acceleration direction, constructs different training databases, uses the pre-processed acceleration as the input of CNN, and uses the road surface roughness as the output of CNN, and trains road surface roughness level identification models respectively; compares the classification accuracy of each road surface roughness level identification model, selects the sampling step size, acceleration direction and CNN parameters corresponding to the highest classification accuracy as the optimal solution, and completes the level identification of road surface roughness. The present invention can identify road surface roughness through the vibration response of a tracked vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of neural networks, and in particular to a convolutional neural network (CNN) road surface roughness recognition method based on vibration characteristics of a tracked vehicle. Background Art

[0002] Road roughness is the main excitation of vibration during the driving process of tracked vehicles. The excitation of the left and right tracks by the road is transmitted to the vehicle body after suspension attenuation, which has an adverse effect on the two-way stability of the tracked vehicle. Therefore, accurate reconstruction of road roughness is a key part of the dynamic model of tracked vehicles on the move and is also the basis for verifying the effectiveness of the control strategy.

[0003] With the gradual popularization of artificial intelligence, scholars at home and abroad have begun to use neural networks to identify road roughness. Neural networks can quickly extract deep features and have good robustness, and have achieved good results in identifying road roughness. However, most of them are aimed at wheeled vehicles. Compared with wheeled vehicles, tracked vehicles have a more complex structure, which leads to more complex vibration responses when driving on uneven roads. Before this, no relevant technology has been applied to the identification of road roughness of tracked vehicles. Summary of the invention

[0004] The purpose of the present invention is to propose a convolutional neural network road roughness recognition method based on the vibration characteristics of tracked vehicles.

[0005] The technical solution to achieve the purpose of the present invention is: a convolutional neural network road roughness recognition method based on the vibration characteristics of tracked vehicles, comprising the following steps:

[0006] Step 1: Collect acceleration data of four road surface levels A, B, C, and D;

[0007] Step 2: Use the time-frequency domain analysis method to analyze the acceleration data characteristics of each level of road surface and determine the sliding window size and step size when making acceleration samples;

[0008] Step 3: Preprocess the collected acceleration data and establish a database;

[0009] Step 4: Use the database established in step 3 as the input of CNN, and the road roughness as the output of CNN. By training and testing CNN, the level of road roughness can be identified.

[0010] Furthermore, in step 1, the acceleration data of four road surface levels A, B, C, and D are collected, and the specific method is as follows:

[0011] According to the national standard document "Mechanical Vibration Road Spectrum Measurement Data Report", the road surface power spectrum density can divide the unevenness of the road surface into 8 levels. The road surface roughness coefficient intervals corresponding to the four levels of A, B, C, and D required by the present invention are [8, 32], [32, 128], [128, 512], and [512, 2048] respectively. Acceleration data are collected on the four levels of A, B, C, and D road surfaces respectively, and monitoring points are set at the center of mass of the vehicle body to obtain the acceleration of the X-axis, Y-axis, and Z-axis directions of the moving tracked vehicle, and the sampling step length of the monitoring point is set to 0.5 seconds and 0.1 seconds respectively, so as to obtain acceleration data under different sampling step lengths. By changing the driving speed of the tracked vehicle, the acceleration data of the moving tracked vehicle under eight working conditions of 5km / h, 10km / h, 15km / h, 20km / h, 25km / h, 30km / h, 35km / h, and 40km / h are obtained.

[0012] Furthermore, in step 2, the time-frequency domain analysis method is used to analyze the acceleration data characteristics of each level of road surface, and the sliding window size and step size are determined when making acceleration samples. The specific method is:

[0013] First, the acceleration data is analyzed in the frequency domain using Fourier transform to obtain the spectrum of the acceleration data. The characteristic frequency range of the acceleration data of each level of road surface is found out by analyzing the spectrum. Then, the acceleration data is analyzed in the time-frequency domain using wavelet transform to obtain the time-frequency diagram of the acceleration data. The sliding window size and step size when making acceleration samples are determined according to the temporal distribution of the characteristic frequency. Finally, the sliding window size under the sampling step of 0.5 seconds is determined to be 50 time steps, i.e. 25 seconds, and the sliding step size is 5 time steps, i.e. 2.5 seconds; the sliding window size under the sampling step of 0.1 seconds is determined to be 300 time steps, i.e. 30 seconds, and the sliding step size is 10 time steps, i.e. 1 second.

[0014] Furthermore, in step three, the collected acceleration data is preprocessed to establish a database, and the specific method is as follows:

[0015] First, a sliding window method is used to perform sliding sampling on the acceleration data. The sliding window size and step size are different under different sampling steps. The sliding window size under the sampling step size of 0.5 seconds is 50 time steps, and the sliding step size is 5 time steps; the sliding window size under the sampling step size of 0.1 seconds is 300 time steps, and the sliding step size is 10 time steps. Set the corresponding road roughness level label for the sampled samples.

[0016] Then, the initial sample of acceleration data is divided into a training set (80%) and a test set (20%). At this time, each sample contains acceleration data and its corresponding label. The acceleration data is extracted separately for normalization and the value is scaled to between -1 and 1. Specifically, the maximum value X of the acceleration data is calculated first. max and minimum value X min , using the formula Normalization is performed, where x i Represents the actual acceleration data, X i Represents normalized acceleration data.

[0017] Finally, shuffle the order of the samples.

[0018] Furthermore, in step 4, the database established in step 3 is used as the input of CNN, and the road surface roughness is used as the output of CNN. By training and testing CNN, the level of road surface roughness can be identified. The specific method is as follows:

[0019] CNN consists of two convolutional layers, one pooling layer, and two fully connected layers. After two rounds of convolution and one round of pooling operations, the deep features of the acceleration data are extracted. Using the normalized exponential (softmax) cross entropy as the loss function, the error between the output of the acceleration data after CNN and the true label is calculated, and the CNN parameters are updated according to the obtained error to minimize the classification difference of the acceleration data. Four input schemes are used during training: 1) vertical acceleration with a sampling step of 0.5 seconds. 2) vertical acceleration with a sampling step of 0.1 seconds. 3) acceleration in three directions with a sampling step of 0.5 seconds. 4) acceleration in three directions with a sampling step of 0.1 seconds. When the input is vertical acceleration, CNN uses a single input channel to receive acceleration data. When the input is acceleration in three directions, CNN uses three input channels to receive acceleration data in the three directions of X, Y, and Z, respectively. Then, the four input schemes were tested under eight working conditions, namely 5km / h, 10km / h, 15km / h, 20km / h, 25km / h, 30km / h, 35km / h and 40km / h, and the optimal input scheme was determined by comparing the classification accuracy of different inputs. The experiment proved that collecting acceleration data in three directions as input with a sampling step of 0.1 seconds is the optimal input scheme.

[0020] A convolutional neural network road surface roughness recognition method based on the vibration characteristics of a tracked vehicle is disclosed. Based on any of the methods described above, a convolutional neural network road surface roughness recognition method based on the vibration characteristics of a tracked vehicle is performed.

[0021] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the methods described above when executing the computer program, and performs convolutional neural network road roughness recognition based on vibration characteristics of tracked vehicles.

[0022] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements any of the methods described above to perform convolutional neural network road roughness recognition based on tracked vehicle vibration characteristics.

[0023] Compared with the prior art, the present invention has the following significant advantages: 1) CNN is used for the first time in the identification of road surface roughness of tracked vehicles. Considering that there is no relevant technology for solving the problem of identifying road surface roughness during the movement of tracked vehicles, the present invention successfully uses CNN to identify road surface roughness in the special application scenario of tracked vehicles. 2) Regarding the problem of how to select the sliding window size and step length, researchers mostly use trial and error or their own experience to determine, and rarely use theoretical analysis methods. The present invention uses Fourier transform and wavelet transform methods to analyze the vibration characteristics of tracked vehicles, and determines the sliding window size and step length according to the distribution of vibration characteristics in the time domain. 3) The vibration response of tracked vehicles is different from that of wheeled vehicles. How to select the input scheme of acceleration data so that CNN can extract effective features to the greatest extent is a problem that needs to be solved. The accuracy index of CNN can determine whether CNN has extracted effective features. Therefore, the present invention determines the optimal input scheme by comparing the recognition accuracy of CNN when different sampling steps and accelerations of different dimensions are used as input. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a flow chart of the method of the present invention.

[0025] Figure 2 It is a schematic diagram of the multi-body dynamics model of a moving tracked vehicle.

[0026] Figure 3 It is a schematic diagram of the acceleration in three directions of road grades A, B, C, and D when the vehicle speed is 40km / h.

[0027] Figure 4 It is a spectrum diagram of the vertical acceleration of the vehicle body (sampling step size of 0.5 seconds) when the vehicle is traveling on various levels of road at a speed of 40km / h.

[0028] Figure 5 It is a wavelet time-frequency diagram of the vertical acceleration of the vehicle body (sampling step size of 0.5 seconds) when the vehicle is traveling at a speed of 40km / h on various levels of road surface.

[0029] Figure 6It is a spectrum diagram of the vertical acceleration of the vehicle body (sampling step size of 0.1 seconds) when the vehicle is traveling on various levels of road at a speed of 40km / h.

[0030] Figure 7 It is a wavelet time-frequency diagram of the vertical acceleration of the vehicle body (sampling step size of 0.1 second) when the vehicle is traveling at a speed of 40km / h on various levels of road surface.

[0031] Figure 8 This is a schematic diagram of the CNN framework with input as acceleration in three directions: X-axis, Y-axis, and Z-axis.

[0032] Fig. 9 It is a bar chart comparing the classification accuracy of different input schemes under eight working conditions.

[0033] Fig.10 This is the loss value change curve of different input schemes under eight working conditions.

[0034] Fig.11 This is a diagram of the confusion matrix with acceleration in three directions as input at a speed of 40 km / h and a sampling step of 0.1 seconds. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0036] The present invention is based on a convolutional neural network road surface roughness identification method based on the vibration characteristics of tracked vehicles. The acceleration data of the tracked vehicle while in motion is obtained by setting a monitoring point on the center of mass of the vehicle body. When collecting the acceleration data, the acceleration data of the tracked vehicle while in motion is collected at different sampling steps and different speed gears. Fourier transform and wavelet transform methods are used for frequency domain analysis and time-frequency domain analysis of the acceleration data. The sliding window size and step size when making acceleration samples are determined by analyzing the acceleration data characteristics of each level of road surface. The collected acceleration data is preprocessed to establish a database. The input of CNN is acceleration data, and the output is four road surface roughness levels of A, B, C, and D. Four input schemes are used during training, and the optimal input scheme is determined by comparing the classification accuracy of different input schemes. The specific steps are as follows:

[0037] Step 1: Collect acceleration data of four road surface levels: A, B, C, and D.

[0038] The specific method is as follows: according to the national standard document "Mechanical Vibration Road Pavement Spectrum Measurement Data Report", the road surface power spectrum density can divide the unevenness of the road surface into 8 levels. The road surface roughness coefficient intervals corresponding to the four levels of A, B, C, and D required by the present invention are [8, 32], [32, 128], [128, 512], and [512, 2048] respectively. Acceleration data are collected on the four levels of A, B, C, and D road surfaces respectively, and monitoring points are set at the center of mass of the vehicle body to obtain the acceleration of the tracked vehicle in the X-axis, Y-axis, and Z-axis directions during movement. Considering that the feature information contained in different sampling steps may be different, it is necessary to compare the classification accuracy under different sampling steps to determine which sampling step has more extracted features and is more suitable for the identification of road surface roughness. Therefore, the sampling step of the monitoring point is set to 0.5 seconds and 0.1 seconds respectively, so as to obtain acceleration data under different sampling steps. Considering that the vibration response of the tracked vehicle varies with the speed of the tracked vehicle, the acceleration data of the tracked vehicle under eight working conditions of 5km / h, 10km / h, 15km / h, 20km / h, 25km / h, 30km / h, 35km / h and 40km / h were obtained by changing the speed of the tracked vehicle. Finally, the acceleration data collection work of the four road surface grades A, B, C and D was completed.

[0039] Step 2: Use the time-frequency domain analysis method to analyze the acceleration data characteristics of each level of road surface and determine the sliding window size and step size when making acceleration samples.

[0040] The specific method is as follows: first, Fourier transform is used to perform frequency domain analysis on the acceleration data to obtain the spectrum of the acceleration data, and the characteristic frequency range of each level of road acceleration data is found out by analyzing the spectrum.

[0041] Then, the acceleration data is analyzed in the time-frequency domain using wavelet transform. The 4th-order Daubechies wavelet is selected and the scale parameter is set to 500 to obtain the time-frequency diagram of the acceleration data. According to the temporal distribution of the characteristic frequencies and the basic principle that each acceleration sample can contain enough characteristic frequencies, the sliding window size and step size are determined when making acceleration samples.

[0042] Finally, after performing time-frequency domain analysis on the acceleration data under eight working conditions, the sliding window size and step size determined under the 40 km / h working condition can make the acceleration samples of all working conditions contain sufficient characteristic frequencies. Therefore, the acceleration data of all working conditions are uniformly sampled using this sliding window. The specific parameters of the sliding window are: the sliding window size under the sampling step of 0.5 seconds is 50 time steps, that is, 25 seconds, and the sliding step is 5 time steps, that is, 2.5 seconds; the sliding window size under the sampling step of 0.1 seconds is 300 time steps, that is, 30 seconds, and the sliding step is 10 time steps, that is, 1 second.

[0043] Step 3: Preprocess the collected acceleration data and establish a database.

[0044] First, a sliding window method is used to perform sliding sampling on the acceleration data. The sliding window size and step size are different under different sampling steps. The sliding window size under a sampling step of 0.5 seconds is 50 time steps, and the sliding step size is 5 time steps; the sliding window size under a sampling step of 0.1 seconds is 300 time steps, and the sliding step size is 10 time steps. Set the corresponding road roughness level label for the sampled samples to obtain the initial sample set of acceleration data. where x i represents the i-th acceleration sample vector under a certain working condition, y i It represents the label corresponding to the i-th acceleration sample vector, and n represents the number of samples of a certain working condition.

[0045] Then, the initial sample of acceleration data is divided into a training set (80%) and a test set (20%). i Normalization is performed to scale the value between -1 and 1. The calculation process is shown in formula (1):

[0046]

[0047] Where X i represents the normalized acceleration sample vector, X max Represents the acceleration sample vector x i The maximum value in X min Represents the acceleration sample vector x i The minimum value in .

[0048] Finally, shuffle the order of the samples.

[0049] Step 4: Use the database established in step 3 as the input of CNN, and the road roughness as the output of CNN. By training and testing CNN, the level of road roughness can be identified.

[0050] The specific method is that CNN consists of two convolutional layers, one pooling layer and two fully connected layers.

[0051] 1) Convolutional layer:

[0052] One-dimensional convolution is used to extract the features of acceleration data. In the one-dimensional convolution layer, the convolution kernel (neurons with a set of fixed weights) performs convolution calculations on the local data in the input acceleration samples. After calculating the local data in each data window, the data window is continuously translated and slid until all the data is calculated. The convolution calculation is shown in formula (2):

[0053]

[0054] Where X t Represents the value at the tth position in the output feature map of the one-dimensional convolutional layer, x t+j Indicates the input acceleration data value offset from the t+jth time, ω j represents the jth weight of the one-dimensional convolution kernel, b t represents the bias, k represents the size of the convolution kernel, that is, the length of the convolution window, · represents the convolution operation, and f(·) represents the activation function, where the linear rectification function (ReLU) is taken.

[0055] 2) Adaptive max pooling layer:

[0056] After the feature extraction operation of two layers of convolution, it is necessary to select the acceleration features extracted in the convolution layer through the adaptive maximum pooling layer, so as to extract the most obvious features and reduce the amount of calculation. Compared with the traditional maximum pooling layer, the pooling kernel of the adaptive maximum pooling layer has an adjustable size. It only needs to set the output size. The layer will automatically calculate the size and step size of the pooling kernel according to the output size, and take the maximum value in the area swept by the pooling kernel as the value after pooling of the area. The AdaptiveMaxPool1d function in the PyTorch framework can be directly called to implement the function of the adaptive maximum pooling layer. The function input is the output size required by the adaptive maximum pooling layer. In the present invention, the output size of the adaptive maximum pooling layer is set to 4, that is, the number of categories.

[0057] 3) Fully connected layer:

[0058] The output features of the adaptive maximum pooling layer are expanded into a one-dimensional feature vector, and then the expanded one-dimensional feature vector is sent to two fully connected layers. The calculation formula is shown in (3):

[0059] f=θ(βX+b) (3)

[0060] Where f represents the output of the fully connected layer, θ(·) represents the ReLU activation function, β represents the weight coefficient, X represents the output of the pooling layer, and b represents the bias.

[0061] The softmax cross entropy is used as the loss function, as shown in formula (4), to calculate the error between the acceleration data features output after two fully connected layers and the true label.

[0062]

[0063] Where N represents the batch size of acceleration training samples, y i represents the true label of the i-th acceleration sample, L represents the road category, and I{·} represents the indicator function. When the true label y of the i-th acceleration sample i When it is of category L, I{·} is equal to 1, otherwise it is equal to 0, ω n represents the weight matrix of the nth road level, T represents the matrix transpose, f represents the output of the last layer of the CNN network, and b represents the bias.

[0064] According to the obtained error, the adaptive moment estimation (Adam) optimizer is used to update the CNN parameters to minimize the classification difference of the acceleration data. The optimization objective is l c (θ c ), where θ c is the convolutional network parameter, which is shown in formula (5) after optimization:

[0065]

[0066] Where η represents the learning rate.

[0067] The training process mainly includes the following four steps: 1) Batch training of all acceleration samples, that is, each time training, a batch size of acceleration samples are taken from the acceleration sample set and input into CNN for training. 2) Calculate the actual output of the acceleration data after CNN. At this stage, the information is transformed from the input layer to the output layer step by step. 3) Use softmax cross entropy as the loss function to calculate the difference between the actual output acceleration data features and the corresponding road surface grade label. 4) Use the Adam optimizer to update the CNN parameters to minimize the classification difference of the acceleration data.

[0068] In order to enable the CNN network to extract effective features to the greatest extent, four input schemes are used during training: 1) vertical acceleration at a sampling step of 0.5 seconds. 2) vertical acceleration at a sampling step of 0.1 seconds. 3) acceleration in three directions at a sampling step of 0.5 seconds. 4) acceleration in three directions at a sampling step of 0.1 seconds. When the input is vertical acceleration, CNN uses a single input channel to receive acceleration data. When the input is acceleration in three directions, CNN uses three input channels to receive acceleration data in the three directions of X, Y, and Z, respectively. Then, these four input schemes are experimented under eight working conditions, namely 5km / h, 10km / h, 15km / h, 20km / h, 25km / h, 30km / h, 35km / h, and 40km / h, and the optimal input scheme is determined by comparing the classification accuracy of different inputs. Experiments have shown that collecting acceleration data in three directions as input with a sampling step of 0.1 seconds is the optimal input scheme.

[0069] Example

[0070] In order to verify the effectiveness of the solution of the present invention, the following simulation experiment is carried out.

[0071] Example to follow Figure 1 Flowchart shown and the above steps.

[0072] Figure 2 The figure shows the dynamic model of a moving tracked vehicle. Some model parameters are as follows: turret mass m1 = 5000 kg, distance between turret rotation center and gun rotation center L1 = 1.15 m, gun mass m2 = 1950 kg, distance between gun rotation center and gun muzzle L2 = 4.88 m, gravitational constant g = 9.8 m / s 2 .

[0073] Table 1 shows the road surface roughness classification table. my country's national standard uses the road surface power spectrum density to describe the statistical characteristics of road surface roughness. The table shows the road surface roughness coefficients G of the four grades A, B, C, and D. q The upper limit, lower limit and geometric mean of (n0).

[0074] Figure 3 The figure shows the time and amplitude images of acceleration in three directions of four road grades A, B, C, and D collected when the tracked vehicle is traveling at a speed of 40 km / h. Taking the acceleration in the Y-axis direction as an example, Figure 3 (a)- Figure 3 (d) Compared with the above, as the road surface grade increases, the rougher the road surface, the larger the acceleration amplitude.

[0075] Figure 4The figure shows the frequency spectrum of the vertical acceleration of the vehicle body when driving on four levels of road surface A, B, C, and D at a speed of 40km / h with a sampling step of 0.5 seconds. It can be seen from the figure that the higher the road surface grade, the higher the frequency amplitude, and each level of road surface contains multiple frequency components and has a more complex spectrum characteristic. Specifically, there is a peak every 0.0189-0.0756Hz, and this frequency can be used as the characteristic frequency of acceleration.

[0076] Figure 5 The figure shows the wavelet time-frequency diagram of the vertical acceleration of the vehicle body when driving on four grades of road surface A, B, C, and D at a speed of 40 km / h with a sampling step of 0.5 seconds. In order to ensure that each sample contains as many characteristic frequencies as possible, and the characteristic frequencies of samples of each grade of road surface are different for easy distinction, the C grade road surface is taken as a reference. The time range of its most obvious characteristic frequency is 15.5-28.5s. In order to cover the most obvious characteristic frequency, the sliding window size should be 50 time steps, that is, 25s. For other road surfaces, a sliding window of 25s can also contain enough characteristic frequency information, so the sliding window size is finally determined to be 25s. In addition, it can be seen from the figure that the characteristic frequencies of each grade of road surface appear every 2s to 10s, and the time interval of 2.5s is the largest. In order to increase the number of samples of each grade of road surface, the overlapping sampling method is adopted, and the step size of the sliding window is 5 time steps, that is, 2.5s.

[0077] Figure 6 The figure shows the frequency spectrum of the vertical acceleration of the vehicle body when driving on four levels of road surface A, B, C, and D at a speed of 40km / h with a sampling step of 0.1 seconds. From the figure, it can be seen that the frequency amplitude of the acceleration signal of the A-level road surface is more obvious between 0-1Hz and 2-4Hz, the frequency amplitude of the acceleration signal of the B-level road surface is more obvious between 2-4Hz, the frequency amplitude of the acceleration signal of the C-level road surface is more obvious between 3-5Hz, and the frequency amplitude of the acceleration signal of the D-level road surface is more obvious between 2-5Hz. Figure 4 In comparison, the characteristic frequencies of the various levels of road acceleration data collected at a sampling step of 0.1 seconds have more obvious differences, which is more conducive to the classification of neural networks.

[0078] Figure 7The figure shows the wavelet time-frequency diagram of the vertical acceleration of the vehicle body when driving on four grades of road surface A, B, C, and D at a speed of 40 km / h with a sampling step of 0.1 seconds. Among them, the acceleration wavelet time-frequency diagram of grade A road surface has a very obvious characteristic frequency in the time range of 34.2-35.2s. In order to allow the sample to include this characteristic frequency, the sliding window size should be 300 time steps, that is, 30s. The time points at which the characteristic frequencies of grade B, C, and D road surfaces appear are very dense. If a sliding window of 30s is taken, it can also include enough characteristic frequencies of grade B, C, and D road surfaces. Therefore, the sliding window size is finally determined to be 30s. In addition, these four grades of road surfaces have a relatively obvious frequency every 1s to 7s, with 1s being the most common. In order to increase the number of samples of each grade of road surface, the overlapping sampling method is adopted, and the step size of the sliding window is 10 time steps, that is, 1s.

[0079] Table 2 shows the basic structure and parameters of CNN. The convolution kernel size of convolution layer 1 is 3 and the number is 16. The convolution kernel size of convolution layer 2 is also 3 and the number is 32. When using the adaptive maximum pooling layer, there is no need to specify parameters such as the kernel size and step size. You only need to set the output size. The layer will automatically calculate the kernel size and step size. In the implemented method, the output size of the adaptive maximum pooling layer is set to 4, which is the number of categories. After two rounds of convolution and one round of pooling operations, the deep features of the acceleration data are extracted. The features in the adaptive maximum pooling layer are expanded into a one-dimensional feature vector, and then a fully connected layer 1 is applied. The output layer is also a fully connected layer. The softmax function is applied to the output of the output layer to obtain the predicted classification. In addition, the number of CNN training times is 200, and the learning rate is selected from {0.001, 0.0001, 0.00001} according to the number of training times, that is, a learning rate of 0.001 is selected for the first 50 times, a learning rate of 0.00001 is selected for the next 50 times, and a learning rate of 0.0001 is selected in the middle.

[0080] Figure 8 The figure shows a CNN framework whose input is acceleration in three directions: X-axis, Y-axis, and Z-axis. CNN has three input channels that receive acceleration data in three directions respectively. The classification effect obtained by selecting this input scheme is the best.

[0081] Table 3 shows the classification accuracy of different input schemes under eight working conditions. It can be seen from the table that the classification accuracy obtained by using a sampling step of 0.1 seconds in all working conditions is higher than that obtained by using a sampling step of 0.5 seconds, and the classification accuracy of the eight working conditions obtained by using a sampling step of 0.1 seconds is as high as 100%. Under a sampling step of 0.5 seconds, the classification accuracy obtained by using acceleration in three directions as input is higher than that obtained by using only vertical acceleration as input. The results show that the best classification effect is the scheme using vertical acceleration or acceleration in three directions as input under a sampling step of 0.1 seconds.

[0082] Fig. 9 The figure shows a bar chart of the classification accuracy of different input schemes under eight working conditions, which more clearly demonstrates the comparison results between the various schemes.

[0083] Although the accuracy of using vertical acceleration as input and using acceleration in three directions as input both reaches 100% under the sampling step of 0.1 seconds in Table 3, there is a difference in the convergence speed between the two. Fig.10 The loss value variation curves of different input schemes under eight working conditions are shown. It can be seen from the figure that under the working conditions of 15km / h, 20km / h, and 40km / h, the loss value variation curves obtained by taking the acceleration in three directions as input under the sampling step of 0.1 second are respectively iterated to 40, 43, and 51 steps, and the loss values ​​are stable, and the corresponding loss values ​​are 0.0158, 0.0184, and 0.0798, respectively; the loss value variation curves obtained by taking the vertical acceleration as input under the sampling step of 0.1 second are respectively iterated to 49, 51, and 57 steps, and the corresponding loss values ​​are 0.0228, 0.0361, and 0.166, respectively. Therefore, under the sampling step of 0.1 second, the convergence speed of the loss value with the acceleration data in three directions as input is slightly faster than that with only the vertical acceleration as input, which shows that the scheme with the acceleration in three directions as input under the sampling step of 0.1 second has the best performance.

[0084] Fig.11 The figure shows the confusion matrix with acceleration in three directions as input at a vehicle speed of 40 km / h and a sampling step of 0.1 seconds. It can be seen from the figure that the four levels of road roughness can be correctly identified.

[0085] Table 1 Road surface roughness classification table

[0086]

[0087] Table 2 Basic structure and parameters of CNN

[0088] Network Layer Parameter information Input Layer / Convolutional layer 1 Convolution kernel size: 3, number of convolution kernels: 16, BN, ReLU Convolutional Layer 2 Convolution kernel size: 3, number of convolution kernels: 32, BN, ReLU Adaptive Max Pooling Layer Output size: 4 Fully connected layer 1 Weight: 128×64, Bias: 64 Output Layer Weight: 64 × number of categories, bias: number of categories

[0089] Table 3 Classification accuracy of different input schemes under eight working conditions

[0090]

[0091] The examples demonstrate that the detection method of the present invention is effective.

[0092] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0093] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A convolutional neural network road roughness recognition method based on tracked vehicle vibration characteristics, It is characterized in that The steps include: Step 1: Collect acceleration data of four road surface levels A, B, C, and D. The road surface roughness coefficient intervals corresponding to the four road surface levels are [8, 32], [32, 128], [128, 512], and [512, 2048], respectively. The collected acceleration data include the acceleration of the vehicle in the X-axis, Y-axis, and Z-axis directions; Step 2: Use the time-frequency domain analysis method to analyze the acceleration data characteristics of each level of road surface and determine the sliding window size and step size when making acceleration samples; Step 3: Preprocess the collected acceleration data and establish a database; Step 4: Set the sampling step size and acceleration direction, build different training databases, use the preprocessed acceleration as the input of CNN, use the road roughness as the output of CNN, and train the road roughness grade recognition model respectively; Step 5: Compare the classification accuracy of each road roughness level recognition model, select the sampling step size, acceleration direction and CNN parameters corresponding to the highest classification accuracy as the optimal solution, and complete the road roughness level recognition; in Step 2: Use the time-frequency domain analysis method to analyze the acceleration data characteristics of each level of road surface and determine the sliding window size and step size when making acceleration samples. The specific method is: Firstly, the acceleration data is analyzed in the frequency domain by Fourier transform to obtain the frequency spectrum of the acceleration data. The characteristic frequency range of the acceleration data of each level of road surface is found by analyzing the frequency spectrum. Then, the acceleration data is analyzed in the time-frequency domain using wavelet transform to obtain the time-frequency diagram of the acceleration data. The sliding window size and step length when making acceleration samples are determined according to the distribution of the characteristic frequency in time. Finally, the sliding window size under the sampling step of 0.5 seconds is determined to be 50 time steps, that is, 25 seconds, and the sliding step is 5 time steps, that is, 2.5 seconds; the sliding window size under the sampling step of 0.1 seconds is determined to be 300 time steps, that is, 30 seconds, and the sliding step is 10 time steps, that is, 1 second.

2. According to claim 1, a convolutional neural network road roughness recognition method based on tracked vehicle vibration characteristics, It is characterized in that Step 1: Collect acceleration data of four road surface levels A, B, C, and D. The specific method is as follows: The accelerations of the tracked vehicle in the X-axis, Y-axis and Z-axis directions are obtained by setting monitoring points at the center of mass of the vehicle body; the sampling step of the monitoring points is set to 0.5 seconds and 0.1 seconds to obtain acceleration data under different sampling step sizes; the driving speed of the tracked vehicle is changed to obtain the acceleration data of the tracked vehicle under eight working conditions of 5km / h, 10km / h, 15km / h, 20km / h, 25km / h, 30km / h, 35km / h and 40km / h.

3. According to claim 1, a convolutional neural network road roughness recognition method based on tracked vehicle vibration characteristics, It is characterized in that Step 3: Preprocess the collected acceleration data and establish a database. The specific method is as follows: First, a sliding window method is used to perform sliding sampling on the acceleration data, and a grade label corresponding to the road roughness is set for the sampled samples. At this time, each sample contains acceleration data and its corresponding label; Then, the acceleration data is extracted separately for normalization, and the value is scaled to between -1 and 1. Specifically, the maximum value X of the acceleration data is calculated first. max and minimum value X min , using the formula Normalization is performed, where x i Represents the actual acceleration data, X i Represents normalized acceleration data; Finally, the order of the samples is shuffled to build a database.

4. According to claim 1, a convolutional neural network road roughness recognition method based on tracked vehicle vibration characteristics, It is characterized in that Step 4: Set the sampling step size and acceleration direction, build different training databases, use the preprocessed acceleration as the input of CNN, use the road roughness as the output of CNN, and train the road roughness grade recognition model, where: CNN consists of two convolutional layers, one pooling layer and two fully connected layers. It uses normalized exponential cross entropy as the loss function to calculate the error between the output of the acceleration data after CNN and the true label. The CNN parameters are updated according to the obtained error to minimize the classification difference of the acceleration data.

5. According to claim 1, a convolutional neural network road roughness recognition method based on tracked vehicle vibration characteristics, It is characterized in that Step 4: Set the sampling step size and acceleration direction, build different training databases, use the preprocessed acceleration as the input of CNN, use the road roughness as the output of CNN, and train the road roughness grade recognition model, where: The constructed training database uses four input schemes: 1) Vertical acceleration corresponding to eight working conditions with a sampling step of 0.5 seconds; 2) Vertical acceleration corresponding to eight working conditions with a sampling step of 0.1 seconds; 3) Acceleration in three directions corresponding to eight working conditions with a sampling step of 0.5 seconds; 4) Acceleration in three directions corresponding to eight working conditions with a sampling step of 0.1 seconds; When the input is vertical acceleration, CNN uses a single input channel to receive acceleration data; when the input is acceleration in three directions, CNN uses three input channels to receive acceleration data in the three directions of X-axis, Y-axis, and Z-axis respectively.

6. Convolutional neural network road roughness recognition based on tracked vehicle vibration characteristics, It is characterized in that Based on the method described in any one of claims 1 to 5, a convolutional neural network road roughness recognition based on the vibration characteristics of the tracked vehicle is performed.

7. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method described in any one of claims 1 to 5 is implemented to perform convolutional neural network road roughness recognition based on the vibration characteristics of tracked vehicles.

8. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method described in any one of claims 1 to 5, and performs convolutional neural network road roughness recognition based on tracked vehicle vibration characteristics.