Convolutional neural network tracked vehicle suspension system fault diagnosis method based on attention mechanism
By using the convolutional neural network based on the attention mechanism in the fault diagnosis of the track vehicle suspension system, combined with the support vector machine classifier and residual connection, the problem that the traditional model cannot adaptively optimize feature representation is solved, and the accuracy of fault diagnosis is improved. rate and feature discrimination.
Patent Information
- Application Number
- CN202410778164.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-24
AI Technical Summary
Traditional convolutional neural networks cannot adaptively focus on discriminative features and ignore useless features in fault diagnosis of tracked vehicle suspension systems, resulting in poor performance and inability to effectively extract key features.
Using a convolutional neural network based on the attention mechanism, by dynamically adjusting the weight of each feature, combined with the support vector machine as a classifier, residual connections are introduced to optimize the feature aggregation process and improve the discriminability and differentiation of features.
It improves the accuracy of fault diagnosis, effectively captures fault-related features, ignores irrelevant features, solves the problem that traditional models cannot adaptively optimize feature representation, and improves feature representation and classification performance.
Smart Images

Figure CN118690263A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of fault diagnosis, and in particular relates to a method for diagnosing a suspension system of a tracked vehicle based on a convolutional neural network (CNN) with an attention mechanism (AM). Background Art
[0002] The suspension system of a tracked vehicle elastically supports the entire vehicle body and mitigates the impact caused by external excitation. It is an important component of the entire vehicle system and determines the vehicle's maneuverability, stability, comfort and safety. Tracked vehicle suspension systems are often in harsh external environments and driving conditions. During long-term use, the performance of some suspension components in the suspension system may decay or even fail, that is, the ability to absorb vibration energy is weakened. If the suspension system fails, the suspension components will be damaged due to excessive impact energy during a rigid collision, thereby affecting the system's maneuverability and comfort. For this reason, it is of great significance to diagnose faults in the suspension system of tracked vehicles. Through fault diagnosis, potential problems in the suspension system can be discovered and solved in a timely manner, thereby improving the reliability of equipment operation.
[0003] Tracked vehicles are generally equipped with suspension systems and damping devices on the road wheels on the left and right sides of the tracks. The body weight of tracked vehicles is large, and the number of torsion spring suspension devices installed on each road wheel on each side is large and tightly arranged, which increases the complexity of fault diagnosis. At present, traditional convolutional neural networks cannot adaptively focus on discriminative features and ignore useless features, which leads to poor performance of the model when dealing with complex faults and cannot effectively extract key features; the attention mechanism dynamically adjusts the weight of each feature, so that the model can more effectively capture fault-related features and ignore irrelevant features, thereby improving the discriminability and differentiation of features. The technical solution to be introduced below was produced in this context. Summary of the invention
[0004] The purpose of the present invention is to provide a convolutional neural network tracked vehicle suspension system fault diagnosis method based on an attention mechanism, which improves the discriminability and distinction of features and improves the accuracy of fault diagnosis.
[0005] The object of the present invention is achieved by a convolutional neural network tracked vehicle suspension system fault diagnosis method based on an attention mechanism, comprising the following steps:
[0006] S1, collects the vertical acceleration data of the vehicle under normal and fault conditions;
[0007] S2, preprocessing the collected acceleration data to establish a sample set;
[0008] S3, takes the sample set established in S2 as the input of AM1DCNN-SVM (fault diagnosis model), and the fault category as the output of AM1DCNN-SVM. By training and testing AM1DCNN-SVM, the suspension system fault is diagnosed.
[0009] In a specific embodiment of the present invention, in step S1, acceleration sensors are arranged at the four corners of the vehicle body and at the upper center of the track side skirts on both sides to collect the vertical acceleration data of the vehicle at a uniform speed under normal and fault conditions.
[0010] In another specific embodiment of the present invention, the step S2 further includes the following steps:
[0011] S21, eliminating the trend item of the acceleration signal, then using a recursive average filtering algorithm to process the acceleration signal without the trend item, and then performing a second integration on the filtered acceleration signal to obtain a displacement signal, and using the displacement signal as a data set for fault diagnosis;
[0012] S22, preprocessing the displacement signal, sliding sampling on the displacement signal by using a window sliding method, setting a corresponding fault type label for the sampled signal, obtaining an initial sample set, dividing the initial sample of the displacement signal into a training set and a test set, normalizing each displacement sample vector, and scaling the value to between 0 and 1;
[0013] S23, shuffle the order of samples.
[0014] In another specific embodiment of the present invention, the recursive average filtering algorithm in step 21 regards N consecutive acceleration data as a queue, the length of the queue is N and is fixed. According to the first-in-first-out principle of the queue, new data is placed at the end of the queue each time, and the data at the head of the original queue is deleted. Then, the average value of the N data in the queue is calculated to obtain the filtering result.
[0015] In yet another specific embodiment of the present invention, in step S22, an overlapping sampling method is adopted, the sliding window size is 256 time steps, and the sliding step length is 64 time steps.
[0016] In another specific embodiment of the present invention, the ratio of the training set to the test set in step S22 is 4:1.
[0017] In a further specific embodiment of the present invention, in step S3, the AM1DCNN-SVM includes a convolutional network, multiple incentive attention mechanisms, a pooling layer and a fault classifier.
[0018] In a more specific embodiment of the present invention, the convolutional network includes six convolutional modules, each of which includes a convolutional layer and a ReLU activation function, and the first five convolutional modules are followed by an incentive attention mechanism to adaptively optimize features.
[0019] In yet another specific embodiment of the present invention, the AM1DCNN-SVM adopts a global average pooling layer.
[0020] In a more specific embodiment of the present invention, the fault classifier adopts a SVM classifier.
[0021] Due to the adoption of the above structure, the present invention has the following beneficial effects compared with the prior art: first, the incentive attention mechanism dynamically adjusts the weight of each feature so that the model can more effectively capture the features related to the fault and ignore the irrelevant features, thereby improving the discriminability and differentiation of the features and solving the problem that the traditional convolutional neural network cannot adaptively focus on the discriminative features and ignore the useless features; second, the incentive attention mechanism directly adopts 1×1 convolution to aggregate the input features across channels, so that the model can adaptively optimize the aggregation process and improve the effect of feature representation; third, residual connection is introduced in the incentive attention mechanism to solve the problem that the deep feature response value is reduced due to repeated feature weighting operations, resulting in the inability of the model to accurately classify; fourth, the support vector machine is used as a classifier instead of the Softmax classifier commonly used in neural networks to solve the problem that the classification performance of the Softmax classifier is easily affected by the regularization parameters and the entire sample set during the network training process. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a flow chart of the present invention;
[0023] Figure 2 It is a schematic diagram of the multi-body dynamics model of a tracked vehicle;
[0024] Figure 3 It is a schematic diagram of the torsion spring model of the suspension system;
[0025] Figure 4 This is a schematic diagram of the installation of the acceleration sensor of the present invention;
[0026] Figure 5 It is a schematic diagram of the fault location of the torsion spring of the suspension system of a tracked vehicle;
[0027] Figure 6a This is the acceleration time domain diagram collected by the acceleration sensor under normal circumstances;
[0028] Figure 6b It is the acceleration time domain diagram collected by the acceleration sensor under fault conditions;
[0029] Figure 7 Schematic diagram of the structure of the incentive attention mechanism;
[0030] Figure 8 It is a schematic diagram of the framework of the fault diagnosis model AM1DCNN-SVM;
[0031] Figure 9a This is a diagram of the confusion matrix of the fault diagnosis model WDCNN;
[0032] Figure 9b Schematic diagram of the confusion matrix of the fault diagnosis model RNN-WDCNN;
[0033] Fig.9c Schematic diagram of the confusion matrix of the fault diagnosis model 1DCNN;
[0034] Figure 9d This is a diagram of the confusion matrix of the fault diagnosis model AMWDCNN;
[0035] Fig.9e This is a diagram of the confusion matrix of the fault diagnosis model RNN-AMWDCNN;
[0036] Figure 9f This is a schematic diagram of the confusion matrix of the fault diagnosis model AM1DCNN;
[0037] Figure 9g It is a schematic diagram of the confusion matrix of the fault diagnosis model MCL-DRL;
[0038] Figure 9h This is a diagram of the confusion matrix of the fault diagnosis model WDCNN-LSTM;
[0039] Figure 9i It is a schematic diagram of the confusion matrix of the fault diagnosis model AM1DCNN-SVM;
[0040] Fig.10a This is a schematic diagram of the confusion matrix of the fault diagnosis model AM1DCNN;
[0041] Fig.10b Schematic diagram of the confusion matrix of the fault diagnosis model SA1DCNN. DETAILED DESCRIPTION
[0042] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0043] The present invention relates to a method for diagnosing a suspension system fault of a tracked vehicle based on a convolutional neural network with an attention mechanism, and specifically relates to an attention mechanism and a one-dimensional convolutional neural network model (AM1DCNN-SVM) with a support vector machine (full name: Support Vector Machine, English abbreviation: SVM) as a classifier. The method for diagnosing a suspension system fault of a tracked vehicle comprises the following steps:
[0044] S1, collects the vertical acceleration data of the vehicle under normal and fault conditions;
[0045] S2, preprocessing the collected acceleration data to establish a sample set;
[0046] S3, takes the sample set established in S2 as the input of AM1DCNN-SVM (fault diagnosis model), and the fault category as the output of AM1DCNN-SVM. By training and testing AM1DCNN-SVM, the suspension system fault is diagnosed.
[0047] In step S1, acceleration sensors are set at the four corners of the vehicle body and the upper center of the track side skirts on both sides to collect acceleration data in the vertical direction of the vehicle under normal and fault conditions. Since the speed of the tracked vehicle is accelerated from zero to 40km / h, there is a 5s acceleration process, and the fault diagnosis data needs to be in a uniform speed condition. This embodiment studies and analyzes the fault of the torsion spring stiffness coefficient attenuation by 83%, and assumes that each fault condition is that only the torsion spring suspension device on one load-bearing wheel fails, and different fault locations are used as different fault types.
[0048] The step S2 includes the following steps during pre-processing.
[0049] S21, eliminate the trend item of the acceleration signal. The collected acceleration data may produce trend errors due to various reasons of the system itself. The trend item in the data will affect the correctness of the data and should be removed. The least squares method is used to fit the polynomial trend item, and then the trend item is removed from the original acceleration data. The acceleration data without trend items is processed using a recursive average filtering algorithm. This method regards N consecutive acceleration data as a queue. The length of the queue is N and is fixed. According to the principle of first-in-first-out, the new data is placed at the end of the queue each time, and the data at the head of the original queue is deleted. Then, the average value of the N data in the queue is calculated to obtain the filtering result. In the present invention, the queue length N is 8. The filtered acceleration signal is then integrated twice to obtain displacement data, and the displacement data is used as a data set for fault diagnosis;
[0050] S22, preprocess the displacement signal, use the window sliding method to perform sliding sampling on the displacement signal, and adopt the overlapping sampling method to increase the number of samples. The sliding window size is 256 time steps and the sliding step is 64 time steps. Set the corresponding fault type label for the sampled signal to obtain the initial sample set where x k represents the kth displacement sample vector under a certain working condition, y k represents the label corresponding to the kth displacement sample vector, and n represents the number of samples. The initial samples of the displacement signal are divided into 80% training set and 20% test set. For each displacement sample vector x k Normalization is performed to scale the value between 0 and 1. The calculation process is shown in formula (1):
[0051]
[0052] Among them, X k represents the normalized displacement sample vector, X max Represents the displacement sample x k The maximum value in the vector, X min Represents the displacement sample vector x k The minimum value in ;
[0053] S23, before sending to the network training, the order of samples is disrupted.
[0054] In step S3, AM1DCNN-SVM includes a convolutional network, multiple excitation attention mechanisms (full name: Excitation Attention Mechanism, English abbreviation: EAM), a pooling layer and a fault classifier. The convolutional network includes six convolutional modules, each module includes a convolutional layer and a ReLU activation function.
[0055] Specifically, the convolution layer uses one-dimensional convolution to extract the features of the displacement data. In the convolution layer, the convolution kernel performs convolution calculation on the local input displacement data. After calculating the local data in each data window, the data window is continuously translated and slid until all the data are calculated. The convolution calculation is shown in formula (2):
[0056]
[0057] in, represents the i-th feature of the l-th layer, represents the jth feature of the l-1th layer, represents the convolution kernel connecting the j-th feature and the i-th feature, represents the bias, · represents the convolution operation, F(·) represents the convolution layer operation, and δ(·) represents the activation function, which is generally the linear rectification function (ReLU).
[0058] The proposed incentive attention mechanism designs a convolutional layer to aggregate the feature information of all different channel features, thereby locating the temporal vibration signal related to the fault. Let the input feature X of EAM = [x 1 ,x 2 ,…x L ],in Represents the jth time displacement signal, j = 1, 2, 3…L, C represents the number of input channels, and L represents the length of the displacement signal. First, EAM obtains the projection of feature X in time through a 1×1 convolutional layer. Here, in order to improve the stability of model training, the batch normalization (full name: Batch Normalization, English abbreviation: BN) regularization method is used to normalize the output of the convolutional layer so that it obeys a standard normal distribution with a mean of 0 and a variance of 1, thereby avoiding the gradient vanishing and gradient exploding problems. Then, the Sigmoid activation function is used to process the projection after batch normalization to obtain the time weight vector to realize cross-channel aggregation of input features. The calculation formulas involved are shown in formulas (3) and (4):
[0059]
[0060] a=σ(X BN ) (4)
[0061] Among them, F 1×1 represents a 1×1 convolutional layer operation, μ represents the mean of each batch of data, and s 2 represents the variance of each batch of data, γ represents scaling, β represents translation, a represents the time weight vector, and σ(·) represents the Sigmoid function.
[0062] While calculating the temporal weight vector, EAM also uses another convolutional layer F a (·) Encode the input feature X to prevent excessive attention to the excitation pulse signal segment and ignore other information. The calculation is shown in formula (5):
[0063] X′=[x′ 1 ,x′ 2 ,…x′ L ]=F a (X)·a (5)
[0064] Then, the temporal weight vector is assigned to each spatial position of the encoded feature for recalibrating the feature. Finally, referring to the residual structure of ResNet, the residual is introduced to prevent the feature response value from decreasing. The input feature X is added to the calibrated feature X′ to obtain the final output feature X of EAM. EAM , calculated as shown in formula (6):
[0065] X EAM =X+X′ (6)
[0066] The main function of the pooling layer is to select the features extracted in the convolution layer, extract the most obvious features, and reduce the amount of calculation. The calculation process is shown in formula (7):
[0067]
[0068] in, represents the weight matrix, and p(·) represents the pooling operation.
[0069] The Support Vector Machine (SVM) is a supervised learning algorithm used to solve binary and multi-classification problems and is also used in regression analysis. Its core idea is to separate samples of different categories by finding the optimal hyperplane in the feature space.
[0070] The present invention uses SVM as a fault classifier. Since multiple fault types need to be diagnosed, a one-to-one method is used to expand the binary classification method into a multivariate classification method. This method establishes a decision boundary for any two of the q categories and constructs q(q-1) / 2 classifiers. Each classifier is trained by data from two categories, where the objective function and constraint conditions from the i-th category and the j-th category are shown in formulas (8) and (9):
[0071]
[0072] Among them, w represents the weight vector, b represents the threshold, and x t represents the N-dimensional input features of sample t, l represents the number of training sets, y t Indicates the label corresponding to the input feature; ξ t represents the slack variable, C represents the penalty coefficient, and φ(·) represents the nonlinear mapping function.
[0073] The following formula (10) is a decision function used to determine which category the input data sample belongs to. If x is in the i-th category, the number of votes for the i-th category is increased by one, otherwise, the number of votes for the j-th category is increased by one, and x finally belongs to the category with the most votes.
[0074] f(x)=sign((w ij) T ·φ(x)+b ij ) (10)
[0075] Among them, sign(·) represents a sign function, which returns an integer variable indicating the positive or negative sign of the parameter in the brackets. The neural network uses cross entropy as the loss function, as shown in formula (11), which is used to calculate the error between the output vibration signal feature and the true label.
[0076]
[0077] Where N represents the batch size of the displacement training samples, y i represents the true label of the i-th displacement sample, L represents the fault category, and I{·} represents the indicator function. When the true label y of the i-th displacement 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 fault category, T represents the matrix transpose, f represents the output of the last layer of the convolutional network, and b represents the bias.
[0078] According to the above errors, the adaptive moment estimation (Adam) optimizer is used to update the convolutional network parameters to minimize the classification difference of the displacement samples. The optimization goal is Where θ is the convolutional network parameter, which is shown in formula (12) after optimization:
[0079]
[0080] Among them, η represents the learning rate.
[0081] The training process mainly includes the following five steps: 1. Samples of batch size are taken from the training set in sequence and input into the feature extraction module AM1DCNN for training; 2. Cross entropy is used as the loss function to calculate the difference between the prediction result and the corresponding fault type label; 3. Adam optimizer is used to update AM1DCNN parameters to minimize the classification difference of samples; 4. AM1DCNN is used to extract the fault features of samples layer by layer; 5. SVM is trained using the fault features.
[0082] The testing process mainly includes the following two steps: 1. Taking samples of batch size from the test set in sequence and inputting them into the feature extraction module AM1DCNN for testing; 2. After using the samples to input the feature extraction module AM1DCNN to extract features, input them into SVM to obtain the diagnosis results and accuracy.
[0083] Example:
[0084] In order to verify the effectiveness of the scheme of the present invention, follow Figure 1 The process shown and the above steps are used to carry out the following simulation experiments.
[0085] Figure 2 The figure shows the dynamic model of a tracked vehicle. The model parameters of this embodiment are as follows: turret mass m 1 =5000kg, the distance between the turret rotation center and the gun rotation center is L 1 =1.04m, gun mass m 2 =3257kg, the distance between the gun's rotation center and the muzzle is L 2 =3.5m, gravitational constant g = 9.8m / s 2 During the simulation, the vehicle travels on a D-level road at a speed of 40 km / h, and the simulation time is set to 30 s.
[0086] Figure 3 The figure shows a torsion spring model of the suspension system, where T is a torsion spring. The present invention uses a steel torsion spring T as an elastic element of the suspension system, and the two ends of the torsion spring T are respectively connected to the vehicle body and the balance elbow. During the driving process of the tracked vehicle, the torsion spring T absorbs and consumes the impact energy of the road surface on the road wheel through its own torsional deformation, thereby reducing the vibration of the vehicle body. The structure uses a revolute pair to describe the torsional motion relationship between the balance elbow and the vehicle body, and uses a high-stiffness torsion spring T with a stiffness coefficient of 30kN·m / rad to simulate the suspension device. The failure of the torsion spring T is manifested in the attenuation of the stiffness coefficient.
[0087] Figure 4 The figure shows a schematic diagram of the installation scheme of the acceleration sensor. This embodiment uses six acceleration sensors, marked as M in the figure, which are respectively installed at the four corners of the vehicle body and the upper center of the track side skirts on both sides, and are used to collect acceleration data in the vertical direction of the vehicle under normal and fault conditions. This arrangement can fully capture the dynamic behavior of the suspension system. The acceleration sensors in different corners can record the vibration information of the suspension system at different positions and provide all-round data. In addition, by comparing the acceleration sensor data at different positions, the fault point can be located more accurately, which helps to diagnose the fault more effectively.
[0088] Figure 5 The figure shows the fault location of the torsion spring of the tracked vehicle suspension system. P in the figure is the fault location, and six locations are shown. It is assumed that in each fault situation, only one torsion spring suspension device on the road wheel fails, and different fault locations are used as different fault types, and the torsion spring suspension device on each road wheel considers the fault degree of 83% attenuation of the stiffness coefficient.
[0089] Figure 6a , Figure 6bThe figure shows the acceleration time domain diagram collected by the acceleration sensor under normal and fault conditions. Since the speed of the tracked vehicle is accelerated from 0 to 40 km / h, there is a 5s acceleration process, and the fault diagnosis data needs to be in a uniform speed condition, therefore, the embodiment uses the data after 5s for fault diagnosis, the simulation time is set to 30s, and the sensor sampling frequency is 100Hz. Due to the large number of fault types, considering the length of the article, only the Figure 6a The acceleration time domain diagram and Figure 6b The acceleration time domain diagram of the torsion spring coefficient on the first left road wheel is shown as attenuating 83% fault. It can be seen from the figure that the acceleration data collected by acceleration sensor M1, acceleration sensor M3 and acceleration sensor M6 have large amplitudes, indicating that the vehicle vibrates violently at these three locations, while the acceleration data collected by acceleration sensor M4 has the smallest amplitude, and the vehicle vibrates less.
[0090] Figure 7 Figure 1 is a schematic diagram of the structure of the incentive attention mechanism. The incentive attention mechanism obtains the projection of feature X in time through a 1×1 convolutional layer. In order to improve the stability of model training, the BN regularization method is used to normalize the output of the convolutional layer so that it obeys the standard normal distribution with a mean of 0 and a variance of 1 to avoid the gradient vanishing and gradient exploding problems. Then, the Sigmoid activation function is used to process the batch normalized projection to obtain the time weight vector, thereby realizing cross-channel aggregation of input features. While calculating the time weight vector, another convolutional layer F is used. a (·) Encode the input feature X; then, assign the temporal weight vector to each spatial position of the encoded feature for recalibrating the feature. Finally, refer to the residual structure of ResNet to introduce residuals to prevent the feature response value from decreasing. The input feature X is added to the calibrated feature X′ to obtain the final output feature X of the incentive attention mechanism. EAM .
[0091] Figure 8The figure shows the framework of the fault diagnosis model AM1DCNN-SVM. The present invention obtains information from acceleration sensors set at six different positions of the vehicle body, detrends and filters the acceleration signal, and then performs quadratic integration to obtain the displacement signal, and uses the displacement signal as the corresponding data set. The six displacement signals are fused in an expanded dimension manner, and the sample size of the AM1DCNN-SVM input is 256×6. AM1DCNN-SVM consists of a convolutional network, multiple EAMs, a pooling layer, and a fault classifier. The convolutional network includes six convolutional modules, each of which contains a convolutional layer and a ReLU activation function. EAMs are added to the back of the first five convolutional modules to adaptively optimize features. To avoid overfitting problems, AM1DCNN uses a global average pooling layer instead of a traditional fully connected layer. Finally, the fault classifier uses SVM instead of the traditional Softmax classifier to achieve fault diagnosis.
[0092] Please see Table 1, which shows the parameters of the AM1DCNN-SVM model. The size of the convolution kernel is reduced from 32 to 3, and the number of convolution channels is gradually increased from 32 to 128. After multiple convolutions, EAM and pooling operations, the deep features of the displacement data are extracted. The output features of the global average pooling layer are expanded into a one-dimensional feature vector, and the obtained one-dimensional feature vector is sent to the SVM for training to obtain the prediction classification. In addition, the Adam algorithm is used to optimize the parameters of the AM1DCNN-SVM model. The number of training times is 500, and the learning rate is selected from {0.001, 0.0001, 0.00001} according to the number of training times, that is, the learning rate of 0.001 is selected for the first 150 times, the learning rate of 0.00001 is selected for the next 50 times, and the learning rate of 0.0001 is selected in the middle.
[0093] Table 1AM1DCNN-SVM model parameters
[0094]
[0095]
[0096] See Table 2, which shows the fault diagnosis results of nine deep learning models. The models in the table are divided into two categories: models that do not use the attention mechanism and models that use the attention mechanism. Among them, the models that do not use the attention mechanism include: the first layer wide convolution kernel deep convolutional neural network model (English full name: Deep Convolutional Neural Networkswith Wide First-layer Kernels, English abbreviation: WDCNN), the dual-path neural network model combining the recurrent neural network (English full name: Recurrent Neural Network, English abbreviation: RNN) and WDCNN (RNN-WDCNN), 1DCNN, multi-scale convolutional neural network and long short-term memory network (English full name: Convolutional Neural Network-Long Short-Term Memory, English abbreviation: CNN-LSTM) and deep residual learning (English full name: Deep Residual Learning, English abbreviation: DRL) combined neural network model (MCL-DRL), WDCNN and LSTM combined neural network model (WDCNN-LSTM). The models using the attention mechanism include: AMWDCNN, RNN-AMWDCNN, AM1DCNN and AM1DCNN-SVM proposed in the present invention. As can be seen from the table, the accuracy, precision, recall and F1-score of AM1DCNN-SVM are higher than those of other models, and all reach 100%; while WDCNN, RNN-WDCNN and 1DCNN are less effective than other models. In order to verify the effectiveness of the attention mechanism, the attention mechanism proposed in the present invention is added to these three networks to obtain AMWDCNN, RNN-AMWDCNN and AM1DCNN, and the diagnosis results before and after adding the attention mechanism are compared. The results show that the attention mechanism can effectively improve the diagnostic performance. Taking the accuracy rate as an example, AMWDCNN is 4.25% higher than WDCNN, RNN-AMWDCNN is 1.06% higher than RNN-WDCNN, and AM1DCNN is 3.2% higher than 1DCNN. The feature extraction module AM1DCNN of the present invention is then compared with two more advanced models, MCL-DRL and WDCNN-LSTM. The four evaluation indicators of AM1DCNN are the same as those of WDCNN-LSTM, indicating that AM1DCNN can have the same feature extraction ability as the advanced models, and compared with MCL-DRL, the accuracy, precision, recall rate and F1-score of AM1DCNN are increased by 1.07%, 0.96%, 0.96% and 1.03% respectively, and the diagnostic effect is slightly better than that of MCL-DRL, which further reflects the effectiveness of the model proposed by the present invention.In addition, by comparing the diagnosis results of AM1DCNN and AM1DCNN-SVM, it can be found that in terms of accuracy, precision, recall and F1-score, AM1DCNN-SVM is 1.06%, 0.96%, 1.1% and 1.1% higher than AM1DCNN respectively. The diagnostic effect of AM1DCNN-SVM is better than that of AM1DCNN, which shows that using SVM instead of Softmax classifier can effectively improve the diagnostic performance.
[0097] Table 2 Fault diagnosis results of nine deep learning models
[0098] Algorithm Model Accuracy (%) Accuracy (%) Recall rate (%) F1-score(%) WDCNN 93.62 94.06 93.54 93.67 RNN-WDCNN 96.81 97.12 96.70 96.69 1DCNN 95.74 96.58 95.60 95.61 AMWDCNN 97.87 98.46 97.80 97.86 RNN-AMWDCNN 97.87 98.28 97.80 97.76 AM1DCNN 98.94 99.04 98.90 98.90 MCL-DRL 97.87 98.08 97.94 97.87 WDCNN-LSTM 98.94 99.04 98.90 98.90 AM1DCNN-SVM 100 100 100 100
[0099] Figure 9a to Figure 9i The figure shows the confusion matrix of nine deep learning fault diagnosis models. The values in the confusion matrix represent the ratio between the predicted results and the true labels. As can be seen from the figure, Figure 9a The confusion matrix of the illustrated WDCNN model has 4 fault categories that are misidentified, which is the largest number of misidentified categories among all models. Figure 9b Schematic diagram of the confusion matrix and Fig.9c The confusion matrix of the illustrated 1DCNN model has 3 fault categories that are misidentified. Figure 9g The confusion matrix of the MCL-DRL model is shown in Figure 2. There are 2 fault categories that are misidentified. Figure 9d The confusion matrix of the AMWDCNN model is shown in Figure 1. Fig.9e Schematic confusion matrix of the RNN-AMWDCNN model, Figure 9f Schematic diagram of the confusion matrix and Figure 9h The confusion matrix of the illustrated WDCNN-LSTM model has one fault class misidentified. Figure 9i All the categories of the confusion matrix of the illustrated AM1DCNN-SVM model are predicted correctly, so it can be concluded that the classification performance of AM1DCNN-SVM is better than other models.
[0100] See Table 3, which shows the fault diagnosis results of different attention mechanism models. Since the incentive attention mechanism proposed in the present invention is improved on the basis of the spatial attention mechanism (English full name: Spatial Attention, English abbreviation: SA), the table uses the feature extraction module (AM1DCNN) of the fault diagnosis model of the incentive attention mechanism proposed in the present invention to compare with the fault diagnosis model (SA1DCNN) using the spatial attention mechanism, so as to verify the effectiveness of the proposed incentive attention mechanism. It can be seen from the table that the accuracy, precision, recall and F1-score of AM1DCNN are 4.26%, 3.66%, 4.26% and 4.21% higher than those of SA1DCNN, respectively. The diagnostic effect of AM1DCNN is better than that of SA1DCNN, indicating that the incentive attention mechanism improved on the basis of the spatial attention mechanism can effectively improve the diagnostic performance.
[0101] Table 3 Fault diagnosis results of different attention mechanism models
[0102] Algorithm Model Accuracy (%) Accuracy (%) Recall rate (%) F1-score(%) AM1DCNN 98.94 99.04 98.90 98.90 SA1DCNN 94.68 95.38 94.64 94.69
[0103] Fig.10a , Fig.10b The figure shows the confusion matrix of the fault diagnosis model with different attention mechanisms. Fig.10a In the confusion matrix of the AM1DCNN model shown in the figure, only fault S1 is misidentified, while Fig.10b In the confusion matrix of the SA1DCNN model, there are five fault categories, namely faults S1, S5, S7, S8, and S10, which are misidentified. The confusion matrix further proves that the improvement of the incentive attention mechanism is effective.
[0104] This example demonstrates that the detection method of the present invention is effective.
[0105] 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.
[0106] The above-mentioned embodiment only expresses one implementation method of the present application, and its description is relatively specific and detailed, but it cannot be understood as limiting the scope of the invention patent. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present application, and any changes in form rather than substance based on the concept of the present invention should be regarded as the protection scope of the present invention.
[0107] Furthermore, the present invention also includes a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program, and performs a convolutional neural network tracked vehicle suspension system fault diagnosis based on an attention mechanism.
Claims
1. A convolutional neural network tracked vehicle suspension system fault diagnosis method based on attention mechanism, characterized in that: The steps include: S1, collects the vertical acceleration data of the vehicle under normal and fault conditions; S2, preprocessing the collected acceleration data to establish a sample set; S3, takes the sample set established in S2 as the input of AM1DCNN-SVM (fault diagnosis model), and the fault category as the output of AM1DCNN-SVM. By training and testing AM1DCNN-SVM, the suspension system fault is diagnosed.
2. The method for diagnosing suspension system faults of tracked vehicles based on a convolutional neural network with an attention mechanism according to claim 1, characterized in that: In the step S1, acceleration sensors are arranged at the four corners of the vehicle body and at the upper center of the track side skirts on both sides to collect the vertical acceleration data of the vehicle at a uniform speed under normal and fault conditions.
3. The method for diagnosing suspension system faults of tracked vehicles based on a convolutional neural network with an attention mechanism according to claim 1, characterized in that: The step S2 further comprises the following steps: S21, eliminating the trend item of the acceleration signal, then using a recursive average filtering algorithm to process the acceleration signal without the trend item, and then performing a second integration on the filtered acceleration signal to obtain a displacement signal, and using the displacement signal as a data set for fault diagnosis; S22, preprocessing the displacement signal, sliding sampling on the displacement signal by using a window sliding method, setting a corresponding fault type label for the sampled signal, obtaining an initial sample set, dividing the initial sample of the displacement signal into a training set and a test set, normalizing each displacement sample vector, and scaling the value to between 0 and 1; S23, shuffle the order of samples.
4. The method for diagnosing suspension system faults of tracked vehicles based on a convolutional neural network with an attention mechanism according to claim 3 is characterized in that: The recursive average filtering algorithm in step 21 regards N consecutive acceleration data as a queue whose length is N and is fixed. According to the first-in-first-out principle of the queue, new data is placed at the end of the queue each time and the data at the head of the queue is deleted. Then, the average value of the N data in the queue is calculated to obtain the filtering result.
5. The method for diagnosing suspension system faults of tracked vehicles based on a convolutional neural network with an attention mechanism according to claim 3, characterized in that: In step S22, an overlapping sampling method is adopted, the sliding window size is 256 time steps, and the sliding step length is 64 time steps.
6. The method for diagnosing suspension system faults of tracked vehicles based on a convolutional neural network with an attention mechanism according to claim 3, characterized in that: The ratio of the training set to the test set in step S22 is 4:
1.
7. The method for diagnosing suspension system faults of tracked vehicles based on a convolutional neural network with an attention mechanism according to claim 1, characterized in that: In step S3, AM1DCNN-SVM includes a convolutional network, multiple incentive attention mechanisms, a pooling layer and a fault classifier.
8. The method for diagnosing suspension system faults of tracked vehicles based on a convolutional neural network with an attention mechanism according to claim 7, characterized in that: The convolutional network includes six convolutional modules, each of which contains a convolutional layer and a ReLU activation function. The first five convolutional modules are followed by an incentive attention mechanism to adaptively optimize features.
9. The method for diagnosing suspension system faults of tracked vehicles based on a convolutional neural network with an attention mechanism according to claim 7, characterized in that: The AM1DCNN-SVM adopts a global average pooling layer.
10. The method for diagnosing suspension system faults of tracked vehicles based on a convolutional neural network with an attention mechanism according to claim 7, characterized in that: The fault classifier adopts SVM classifier.
Citation Information
Cited By
Intelligent inspection system and method for coal conveying belt of thermal power generating unit based on artificial intelligence
CN119991100A
Vehicle control method and device, vehicle, chip and storage medium
CN121716458A
Vehicle control method and device, vehicle, chip and storage medium
CN121716458B
