Battery failure prediction method for new energy mining trucks based on RNN recurrent neural network

The battery fault prediction method based on RNN recurrent neural network solves the problems of high computational complexity and insufficient generalization ability in the existing technology, achieves high accuracy and rapid response battery fault prediction, and improves the accuracy of battery fault prediction. sex and real-time.

CN118519043BActive Publication Date: 2024-10-18HANGZHOU SHENJU TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410986048.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-10-18
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

The existing technology has high computational complexity and insufficient model generalization ability in battery failure prediction, resulting in unsatisfactory prediction accuracy and inability to meet the needs of real-time prediction. It also lacks customized optimization for specific application scenarios and cannot fully utilize domain knowledge and feature.

Method used

A battery failure prediction method based on RNN recurrent neural network is adopted. Through data collection, cleaning, feature extraction and model construction, an alternating stacked network structure of multi-layer LSTM and GRU layers is used, combined with data enhancement and deep reinforcement learning algorithms, to optimize model training and Deployment to achieve real-time monitoring and prediction.

Benefits of technology

It improves the accuracy and response speed of battery failure prediction, with the accuracy rate increased to 95%, reducing the false alarm rate, and enhancing the generalization ability of the model. It can quickly identify faults and take measures to reduce production interruptions and accident losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118519043B_ABST
    Figure CN118519043B_ABST
Patent Text Reader

Abstract

The present invention discloses a battery failure prediction method for new energy mining trucks based on RNN cyclic neural network. It uses feature extraction and engineering methods to extract rich features related to battery status and performance from original time series data, including voltage, current, temperature and other features; an improved cyclic neural network structure is proposed, which combines gated loop units and attention mechanisms; it can effectively handle long-term dependencies and adaptively focus on key features, thereby improving the accuracy and generalization of predictions; it introduces an optimization strategy based on deep reinforcement learning, and continuously optimizes model parameters through interactive learning with the environment, thereby improving the real-time and adaptability of the algorithm. Compared with the prior art, the present invention greatly improves the prediction accuracy, and at the same time can shorten the predicted response time from 3 minutes of the deep neural network model to 1 minute.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power battery failure prediction for mining new energy heavy trucks, and in particular to a battery failure prediction method for new energy mining trucks based on an RNN recurrent neural network. Background Art

[0002] New energy mining vehicles play an important role in modern mining. However, their battery system failures occur frequently. To address this problem, researchers and technicians have been exploring efficient and accurate battery failure prediction algorithms. In this context, a battery failure prediction algorithm based on recurrent neural network (RNN) is considered a potential solution.

[0003] At present, there are some technical solutions that attempt to solve the problem of battery failure prediction. Among them, US patent application number US17663326 proposes a battery failure prediction system based on deep learning, which uses a long short-term memory network (LSTM) structure to model time series data. However, this method still has problems such as high computational complexity and insufficient model generalization ability when processing large-scale and complex data, resulting in less than ideal prediction accuracy and failure to meet real-time prediction needs.

[0004] The problems and shortcomings of the existing technologies are mainly concentrated in the following aspects: First, traditional rule-based or statistical model-based methods often fail to capture complex battery failure modes, resulting in low prediction accuracy. Second, although deep learning-based methods can process complex data, the large computational load and poor model generalization capabilities in the model training and reasoning process limit their practical application effects. In addition, existing technologies often lack customized optimization for specific application scenarios and cannot fully utilize domain knowledge and features.

[0005] When solving these problems, we are faced with problems such as poor data quality, difficult feature selection, and complex model tuning. For example, the data of the battery system may be missing, noisy, or unbalanced, requiring effective data cleaning and preprocessing. At the same time, how to select effective features and optimize the model structure are also key issues that need to be considered. Summary of the invention

[0006] The present invention provides a battery failure prediction method for a new energy mining truck based on an RNN recurrent neural network, aiming to overcome the problems and shortcomings in the prior art and improve the prediction accuracy and real-time performance, as follows:

[0007] The technical solution of the present invention is achieved in this way:

[0008] A battery failure prediction method for a new energy mining card based on an RNN recurrent neural network specifically includes the following steps:

[0009] 1) Data collection and integration: collect battery operation data from the battery management system of the new energy mining truck and integrate the working environment data of the new energy mining truck;

[0010] 2) Data cleaning: remove outliers, fill missing values, and normalize the data;

[0011] 3) Data standardization: processing the data to eliminate the dimensional differences between different parameters;

[0012] 4) Feature extraction and construction: extract the collected data according to time series features, statistical features and trend features to form different data sets. According to the working environment and historical data of the battery, a comprehensive feature vector that can reflect the health status and failure trend of the battery is constructed;

[0013] 5) Divide the preprocessed data set into training set and test set;

[0014] 6) Create a recurrent neural network (RNN) model architecture, select an RNN variant, build a multi-layer RNN network structure, stack the long short-term memory network (LSTM) and gated recurrent unit (GRU) layers on the RNN layer, customize the RNN layer, adjust the number of LSTM and GRU layers, and form a new alternating LSTM-GRU stacked network by stacking multiple layers of LSTM and GRU. Use the output of the previous layer as the input of the next layer, and use LSTM or GRU units to capture long-term dependencies in time series;

[0015] 7) Model training and tuning: Use the time series cross-validation method, select the corresponding loss function, use the training set to train the model, and tune the model parameters on the validation set;

[0016] 8) Model evaluation and prediction: Use the test set to evaluate the trained model and calculate the prediction accuracy, recall rate, and F1 score evaluation indicators; predict new battery data to obtain the prediction results of battery failure, and compare and verify them with the actual failure conditions;

[0017] 9) Deployment and real-time monitoring: Deploy the trained model to the new energy mining truck system, establish a real-time monitoring system, continuously monitor the battery operating status and predict failures, and design an alarm mechanism. When the model detects that the battery may have a fault, send an alarm in time and take corresponding preventive measures.

[0018] Preferably, step 5) further includes data enhancement, which uses artificially synthesized data SMOTE to synthesize new samples. For each sample x_i in the minority class, where i is the index of the sample, the following steps are performed:

[0019] 1) Calculate k nearest neighbors:

[0020] Use Euclidean distance or other distance metrics to calculate the distance from x_i to all minority class samples and select its nearest k neighbors, which are recorded as x_zi, where z is the index of the neighbor and i still represents the index of the original sample;

[0021] 2) Randomly select neighbors and generate new samples:

[0022] Randomly select a neighbor x_zn from the k nearest neighbors of x_i, where n is the index of the randomly selected neighbor. Then, randomly select a point on the line between x_i and x_zn as the new synthesized sample. This new sample x_new can be generated by the following formula:

[0023] x_new = x_i + rand(0, 1) * (x_zn - x_i)

[0024] Where rand(0, 1) is a random number between [0, 1]. This formula actually randomly selects a point on the line segment between x_i and x_zn.

[0025] 3) Repeat the above steps:

[0026] For each sample in the minority class, repeat the above steps to generate new samples until the desired oversampling ratio or number is reached.

[0027] Preferably, the RNN model architecture includes:

[0028] 1) Input layer: responsible for receiving time series data. For battery failure prediction, the input data includes the sequence data of battery voltage, current, and temperature changing over time;

[0029] 2) RNN layer: used to capture the temporal dependencies in sequence data;

[0030] 3) Fully connected layer: used to extract features from the output of the RNN layer and perform corresponding conversions;

[0031] 4) Output layer: Outputs a probability value between 0 and 1 to predict whether the battery will fail and the remaining battery life.

[0032] Preferably, in step 3), the data is scaled proportionally using a z-score standardization formula to fall into a specific interval. The z-score standardization formula is:

[0033] , where X is an observation, μ is the mean of the data, and σ is the standard deviation of the data.

[0034] Preferably, the LSTM layer includes the following units:

[0035] Forget gate: determines what information to discard from the cell state,

[0036] Input gate: determines what new information will be stored in the cell state,

[0037] Unit state update: Combine the forget gate and input gate to update the unit state.

[0038] Output gate: determines the output content based on the cell state,

[0039] The GRU layer consists of the following units:

[0040] Reset gate: determines how to combine new input with information from the previous moment,

[0041] Update gate: decides how much past information to keep and how much new information to add.

[0042] Candidate hidden states: calculated based on the reset gate and the current input,

[0043] Final hidden state: combines the update gate, the previous hidden state, and the candidate hidden state.

[0044] Preferably, the RNN layer stack comprises:

[0045] Sequential stacking: First, the input data is processed by one or more LSTM layers, and then the output of the LSTM layer is used as the input of the GRU layer. Sequential stacking allows the model to first capture long-term dependencies through the LSTM layer, and then further extract and integrate information through the GRU layer;

[0046] Parallel stacking: The input data is fed into the LSTM layer and the GRU layer at the same time, and then the outputs of these two layers are merged to form the final representation, allowing the model to simultaneously exploit the different characteristics of LSTM and GRU to extract features.

[0047] Preferably, a random dropout layer is added between the LSTM and GRU layers or inside each layer to randomly set the output of a portion of neurons to zero.

[0048] Preferably, the specific structure of the RNN layer stack includes:

[0049] Input layer: receives raw sequence data;

[0050] Alternating stacked layers: The first layer is an LSTM layer, which is used to capture long-term dependencies in the input sequence.

[0051] The second layer is the GRU layer, which further processes short-term dependencies based on the features output by the LSTM layer and reduces the computational cost.

[0052] The stacking mode of LSTM-GRU is repeated many times to form a deep network structure.

[0053] Output layer: Generates the final prediction or classification result based on the output of the last layer.

[0054] Preferably, the battery operation data includes battery voltage, battery current, battery temperature, number of charges, and depth of discharge, and the working environment data includes workload, ambient temperature, and ambient humidity.

[0055] Compared with the prior art, the present invention has the following beneficial effects:

[0056] The present invention provides a method for predicting battery failure of new energy mining trucks based on RNN recurrent neural network, and the prediction accuracy is improved: compared with the latest deep neural network model, the present invention can improve the accuracy of battery failure prediction to 95%, while the accuracy of these new models is only about 85%. The present invention can more accurately identify battery failures and reduce the false alarm rate, thereby improving the reliability of predictions; the present invention optimizes by using a deep reinforcement learning algorithm, and can shorten the predicted response time from 3 minutes of the deep neural network model to 1 minute. When a battery failure occurs, it can make predictions more quickly and take corresponding measures, which helps to reduce production interruptions and accident losses; in tests for different working conditions and environmental changes, it shows stronger generalization ability than the deep neural network model. Without training, the prediction accuracy can be maintained above 90%, while the deep neural network model usually drops below 80%. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 This is a statistical diagram comparing the data before and after cleaning of the present invention;

[0058] Figure 2 This is a curve diagram showing the comparison of the data time series before and after data enhancement of the present invention;

[0059] Figure 3 This is a comparison diagram of fitting curves of different models of the present invention. DETAILED DESCRIPTION

[0060] The present invention will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present invention.

[0061] A battery failure prediction method for a new energy mining card based on an RNN recurrent neural network of the present invention specifically comprises the following steps:

[0062] 1) Data collection and integration: collect battery operation data from the battery management system of the new energy mining truck, and integrate the working environment data of the new energy mining truck, including the battery's charging status, current, voltage, temperature, SOC (State of Charge) and other information, and record the timestamp to fully reflect the working status of the battery;

[0063] 2) Data cleaning: remove outliers, fill in missing values, and normalize the data to ensure data accuracy and consistency;

[0064] 3) Data standardization: processing the data to eliminate the dimensional differences between different parameters;

[0065] 4) Feature extraction and construction: extract the collected data according to time series features, statistical features and trend features, and construct a comprehensive feature vector that can reflect the battery health status and failure trend based on the battery's working environment and historical data;

[0066] 5) Dataset division: divide the preprocessed dataset into training set and test set;

[0067] 6) Create a recurrent neural network (RNN) model architecture, select an RNN variant, build a multi-layer RNN network structure, stack the long short-term memory network (LSTM) and gated recurrent unit (GRU) layers on the RNN layer, customize the RNN layer, adjust the number of LSTM and GRU layers, and form a new alternating LSTM-GRU stacked network by stacking multiple layers of LSTM and GRU. Use the output of the previous layer as the input of the next layer, and use LSTM or GRU units to capture long-term dependencies in time series;

[0068] 7) Model training and tuning: divide the data set into training set, validation set and test set, use the time series cross-validation method, select the corresponding loss function, use the training set to train the model, and tune the model parameters on the validation set;

[0069] 8) Model evaluation and prediction: Use the test set to evaluate the trained model and calculate the prediction accuracy, recall rate, and F1 score evaluation indicators; predict new battery data to obtain the prediction results of battery failure, and compare and verify them with the actual failure conditions;

[0070] 9) Deployment and real-time monitoring: Deploy the trained model to the new energy mining truck system, establish a real-time monitoring system, continuously monitor the battery operating status and predict failures, and design an alarm mechanism. When the model detects that the battery may have a fault, send an alarm in time and take corresponding preventive measures.

[0071] Embodiments of the present invention:

[0072] Step 1: Data collection and integration,

[0073] First, the battery operation data is collected from the battery management system of the new energy mining truck, including key parameters such as voltage, current, temperature, number of charges, and depth of discharge. At the same time, the working environment data of the mining truck, such as workload and temperature environment, is integrated to fully reflect the working status of the battery, as shown in Table 1.

[0074] Table 1

[0075]

[0076] Step 2: Data cleaning,

[0077] For the collected raw data, the following cleaning measures are taken:

[0078] Removing outliers: Identify and remove outliers by setting thresholds, as shown in Table 2, to ensure data accuracy.

[0079] Table 2

[0080]

[0081] Handling missing values: For missing values, a mean filling strategy is used based on the distribution and correlation of the data. Missing data is filled with the mean value.

[0082] Deduplication: For duplicate records, keep one copy to remove redundancy.

[0083] Comparison of data before and after cleaning Figure 1 shown.

[0084] Step 3: Data Standardization

[0085] In order to eliminate the dimensional differences between different parameters, the Z-score standardization method was used to process the data so that each parameter could be compared on the same scale.

[0086] The z-score normalization formula scales the data so that it falls into a specific range. Requirements: mean μ = 0, σ = 1, the z-score normalization formula is:

[0087]

[0088] Where X is an observation, μ is the mean of the data, and σ is the standard deviation of the data.

[0089] Step 4: Feature extraction and construction, as shown in Table 3.

[0090] Time series features: time series data of parameters such as voltage, current, and temperature.

[0091] Statistical characteristics: such as mean, maximum, minimum, standard deviation and other statistics.

[0092] Trend characteristics: such as parameter change trend, change rate, etc.

[0093] At the same time, based on the battery's working environment and historical data, a comprehensive feature vector that can reflect the battery's health status and failure trend is constructed.

[0094] Table 3

[0095]

[0096] Step 5: Data set division, as shown in Table 4.

[0097] The preprocessed data set is divided into a training set and a test set. The training set is used to train the RNN recurrent neural network model, the validation set is used to adjust the model parameters and optimize the model structure, and the test set is used to evaluate the prediction performance of the model.

[0098] Table 4

[0099]

[0100] It means that: x_train:(864,23) means that you have a training data set x_train, which contains 864 samples, each with 23 features.

[0101] Step 6: Data Enhancement

[0102] In order to improve the generalization ability of the model, data enhancement technology is used. By synthesizing new samples through artificial synthetic data SMOTE, the diversity of the training set is increased, so that the model can better cope with various situations in actual operation.

[0103] Artificial synthetic data SMOTE algorithm:

[0104] First, for each sample x_i in the minority class (where i is the index of the sample), perform the following steps:

[0105] 1. Calculate k nearest neighbors:

[0106] Using Euclidean distance or other distance metrics, calculate the distance from x_i to all minority class samples and select its nearest k neighbors. These k neighbors are recorded as x_zi (where z is the index of the neighbor and i still represents the index of the original sample).

[0107] 2. Randomly select neighbors and generate new samples:

[0108] Randomly select a neighbor x_zn from the k nearest neighbors of x_i (where n is the index of the randomly selected neighbor). Then, randomly select a point on the line between x_i and x_zn as the newly synthesized sample. This new sample x_new can be generated by the following formula:

[0109] x_new = x_i + rand(0, 1) * (x_zn - x_i)

[0110] where rand(0, 1) is a random number between [0, 1]. This formula actually randomly selects a point on the line segment between x_i and x_zn.

[0111] 3. Repeat the above steps:

[0112] For each sample in the minority class, repeat the above steps to generate new samples until the desired oversampling ratio or number is reached.

[0113] like Figure 2 The above is to enhance the time series comparison of the previous and subsequent data.

[0114] Step 7: Optimized RNN model architecture

[0115] First, we need to determine the overall architecture of the model. A typical RNN model architecture includes an input layer, an RNN layer (which may contain multiple layers), a fully connected layer (or dense layer), and an output layer.

[0116] 1) Input layer: responsible for receiving time series data. For battery failure prediction, the input data may include time-varying sequence data such as battery voltage, current, and temperature.

[0117] 2) RNN layer: It is the core part of the model and is used to capture the temporal dependencies in sequence data. You can choose to use a simple RNN unit, but it is more common to use LSTM or GRU units because they can better handle long-term dependency problems.

[0118] 3) Fully connected layer: used to extract features from the output of the RNN layer and perform necessary transformations. Usually, one or two fully connected layers are added to increase the nonlinear capabilities of the model.

[0119] 4) Output layer: Depending on the type of prediction task (classification or regression), the design of the output layer will be different. For binary classification problems (for example, predicting whether a battery will fail), the output layer usually uses a sigmoid activation function and outputs a probability value between 0 and 1. For regression problems (predicting the remaining battery life, etc.), the output layer may not use an activation function and directly output the predicted value.

[0120] Optimized RNN model architecture:

[0121] 1. Model definition:

[0122] Define the stacked structure of LSTM and GRU. For example, a model containing two layers of LSTM and one layer of GRU can be expressed as:

[0123] Model = LSTM 1 → LSTM 2 → GRU

[0124] Each layer has its own number of units (hidden layer size), activation function, and possible dropout layer.

[0125] 2. Forward propagation

[0126] The LSTM layer consists of the following units:

[0127] Forget gate: determines what information to discard from the cell state,

[0128] Input gate: determines what new information will be stored in the cell state,

[0129] Unit state update: Combine the forget gate and input gate to update the unit state.

[0130] Output gate: determines the output content based on the cell state,

[0131] The GRU layer consists of the following units:

[0132] Reset gate: determines how to combine new input with information from the previous moment,

[0133] Update gate: decides how much past information to keep and how much new information to add.

[0134] Candidate hidden states: calculated based on the reset gate and the current input,

[0135] Final hidden state: combines the update gate, the previous hidden state, and the candidate hidden state.

[0136] Between LSTM and GRU layers or inside each layer, a Dropout layer can be added to randomly set the output of a portion of neurons to zero.

[0137] By stacking multiple layers of LSTM and GRU, a new alternating LSTM-GRU stacked network (ALS-G) is formed, and the output of the previous layer is used as the input of the next layer.

[0138] Structure Description:

[0139] Input layer: receives raw sequence data.

[0140] Alternating stacked layers: The first layer is an LSTM layer to capture long-term dependencies in the input sequence.

[0141] The second layer is the GRU layer, which further processes short-term dependencies based on the features output by the LSTM layer and reduces the computational cost.

[0142] This LSTM-GRU stacking mode can be repeated multiple times to form a deeper network structure, such as LSTM-GRU-LSTM-GRU, etc.

[0143] Output layer: Generates the final prediction or classification result based on the output of the last layer (whether LSTM or GRU).

[0144] Hybrid advantages: By alternately stacking LSTM and GRU layers, ALS-G is able to simultaneously take advantage of the advantages of LSTM in processing long-term dependencies and GRU in processing short-term dependencies.

[0145] Computational efficiency: Compared with the pure LSTM network, the introduction of the GRU layer can reduce the computational cost to a certain extent.

[0146] Flexibility: ALS-G is designed to be flexible and the number and order of LSTM and GRU layers can be adjusted according to task requirements.

[0147] 3. Loss calculation,

[0148] Calculate the loss of the model on the training set or validation set using the selected loss function (mean squared error MSE).

[0149] 4. Back propagation and optimization,

[0150] The Adam optimizer is used for backpropagation and weight updates.

[0151] 5. Bayesian optimization,

[0152] 1) Define the hyperparameter space,

[0153] Suppose you are optimizing a deep learning model and consider the following hyperparameters:

[0154] Learning rate (learning_rate): ranges from 0.0001 to 0.1, using a logarithmic scale,

[0155] Number of layers (num_layers): integer range, from 1 to 5,

[0156] Number of units (num_units): The number of units in each hidden layer, integer range, for example from 32 to 256,

[0157] Dropout ratio (dropout_rate): ranges from 0.1 to 0.5,

[0158] 2) Initialize the Bayesian optimization algorithm,

[0159] Choose a suitable Bayesian optimization library (scikit-optimize),

[0160] Initialize the optimization algorithm and define the objective function (i.e., the performance evaluation of the model on the validation set),

[0161] 3) Iteratively select hyperparameter combinations,

[0162] In each iteration, the Bayesian optimization algorithm selects the most promising hyperparameter combination based on the probability model of the objective function.

[0163] 4) Train the model using the selected hyperparameter combination,

[0164] Configure the model using the selected hyperparameter combination,

[0165] Train the model on the training set.

[0166] 5) Evaluate model performance on the validation set,

[0167] Choose an appropriate evaluation metric, such as accuracy (for classification tasks) or mean squared error (for regression tasks),

[0168] Evaluate the performance of the model on the validation set and record the evaluation results.

[0169] 6) Feedback the evaluation results to the Bayesian optimization algorithm,

[0170] Feed the evaluation result (usually the value of the loss function or the inverse of the accuracy) back to the Bayesian optimization algorithm,

[0171] The Bayesian optimization algorithm updates the probability model of the objective function to reflect the new information.

[0172] 7) Repeat the iterative process,

[0173] Repeat steps 3-6 until the predetermined number of iterations is reached or a certain stopping condition is met (such as the performance improvement is less than a certain threshold).

[0174] 8) Evaluate the optimal hyperparameter combination,

[0175] After reaching the stopping condition, the model is retrained using the optimal hyperparameter combination found during the Bayesian optimization process.

[0176] Evaluate the performance of the model on the test set to verify its generalization ability.

[0177] For classification tasks, the following evaluation metrics can be used:

[0178] Accuracy: The ratio of correctly classified samples to the total number of samples.

[0179] Precision: The ratio of true positives (TP) to the number of samples predicted as positive, i.e. TP / (TP + FP),

[0180] Recall: The ratio of true positives (TP) to the number of samples that are actually positive, i.e. TP / (TP + FN),

[0181] F1 Score: The harmonic mean of precision and recall, used to balance the importance of both.

[0182] For regression tasks, the following evaluation metrics can be used:

[0183] Mean Squared Error (MSE): The average of the squares of the differences between the predicted values ​​and the actual values.

[0184] Root Mean Squared Error (RMSE): The square root of the MSE, on the same scale as the data.

[0185] Mean Absolute Error (MAE): The average of the absolute values ​​of the differences between the predicted values ​​and the actual values.

[0186] R-squared Score: Indicates how well the model fits the data, ranging from 0 to 1, with larger values ​​indicating better fit.

[0187] Step 8: The prediction accuracy of the model architecture after RNN optimization is compared with RNN, DBN (deep belief network) and LSTM as shown in Table 5.

[0188] Table 5

[0189]

[0190] The response time of the model architecture optimized based on RNN is compared with that of RNN, DBN and LSTM as shown in Table 6.

[0191] Table 6

[0192]

[0193] The comparison of the fitting curves of four different models is shown in the figure Figure 3 shown.

[0194] Based on the embodiments of the present invention, the battery failure prediction method of the new energy mining truck based on the RNN recurrent neural network of the present invention has improved prediction accuracy: compared with the latest deep neural network model, the present invention can improve the accuracy of battery failure prediction to 95%, while the accuracy of these new models is only about 85%. The present invention can more accurately identify battery failures and reduce the false alarm rate, thereby improving the reliability of predictions; the present invention optimizes by using a deep reinforcement learning algorithm, and can shorten the predicted response time from 3 minutes of the deep neural network model to 1 minute. When a battery failure occurs, it can make predictions more quickly and take corresponding measures, which helps to reduce production interruptions and accident losses; in tests for different working conditions and environmental changes, it shows stronger generalization ability than the deep neural network model. Without training, the prediction accuracy can be maintained above 90%, while the deep neural network model usually drops below 80%.

Claims

1. A battery failure prediction method for new energy mining cards based on RNN recurrent neural network, characterized in that: The specific steps include: 1) Data collection and integration: collect battery operation data from the battery management system of the new energy mining truck and integrate the working environment data of the new energy mining truck; 2) Data cleaning: remove outliers, fill missing values, and normalize the data; 3) Data standardization: processing the data to eliminate the dimensional differences between different parameters; 4) Feature extraction and construction: extract the collected data according to time series features, statistical features and trend features to form different data sets. According to the working environment and historical data of the battery, a comprehensive feature vector that can reflect the battery health status and failure trend is constructed; 5) Divide the preprocessed data set into training set and test set; 6) Create a recurrent neural network (RNN) model architecture, select an RNN variant, build a multi-layer RNN network structure, stack the long short-term memory network (LSTM) and gated recurrent unit (GRU) layers on the RNN layer, customize the RNN layer, adjust the number of LSTM and GRU layers, and form a new alternating LSTM-GRU stacked network by stacking multiple layers of LSTM and GRU. Use the output of the previous layer as the input of the next layer, and use LSTM or GRU units to capture long-term dependencies in time series; 7) Model training and tuning: Use the time series cross-validation method, select the corresponding loss function, use the training set to train the model, and tune the model parameters on the validation set; 8) Model evaluation and prediction: Use the test set to evaluate the trained model and calculate the prediction accuracy, recall rate, and F1 score evaluation indicators; predict new battery data to obtain the prediction results of battery failure, and compare and verify them with the actual failure conditions; 9) Deployment and real-time monitoring: deploy the trained model to the new energy mining truck system, establish a real-time monitoring system, continuously monitor the battery operation status and predict failures, design an alarm mechanism, and send an alarm in time and take corresponding preventive measures when the model detects that the battery may have a failure. The RNN model architecture includes: 1) Input layer: responsible for receiving time series data. For battery failure prediction, the input data includes the sequence data of battery voltage, current, and temperature changing over time; 2) RNN layer: used to capture the temporal dependencies in sequence data; 3) Fully connected layer: used to extract features from the output of the RNN layer and perform corresponding conversions; 4) Output layer: Outputs a probability value between 0 and 1 to predict whether the battery will fail and the remaining battery life. The RNN layer stack consists of: Sequential stacking: First, the input data is processed by one or more LSTM layers, and then the output of the LSTM layer is used as the input of the GRU layer. Sequential stacking allows the model to first capture long-term dependencies through the LSTM layer, and then further extract and integrate information through the GRU layer; Parallel stacking: The input data is fed into the LSTM layer and the GRU layer at the same time, and then the outputs of these two layers are merged to form the final representation, allowing the model to simultaneously utilize the different characteristics of LSTM and GRU to extract features. Between the LSTM and GRU layers or within each layer, add a random dropout layer to randomly set the output of some neurons to zero. The specific structure of the RNN layer stack includes: Input layer: receives raw sequence data; Alternating stacked layers: The first layer is an LSTM layer, which is used to capture long-term dependencies in the input sequence. The second layer is the GRU layer, which further processes short-term dependencies based on the features output by the LSTM layer and reduces the computational cost. The stacking mode of LSTM-GRU is repeated many times to form a deep network structure. Output layer: Generates the final prediction or classification result based on the output of the last layer.

2. The battery failure prediction method for a new energy mining card based on an RNN recurrent neural network as claimed in claim 1 is characterized in that: The step 5) also includes data enhancement, which uses artificial synthetic data SMOTE to synthesize new samples.

3. The battery failure prediction method for a new energy mining card based on an RNN recurrent neural network as claimed in claim 1 is characterized in that: Step 3) In data standardization, the z-score standardization formula is used to scale the data so that it falls into a specific range. The z-score standardization formula is: , where X is an observation, μ is the mean of the data, and σ is the standard deviation of the data.

4. The battery failure prediction method for a new energy mining card based on an RNN recurrent neural network as claimed in claim 1 is characterized in that: The battery operation data includes battery voltage, battery current, battery temperature, number of charges, and depth of discharge; the working environment data includes workload, ambient temperature, and ambient humidity.

Citation Information

Patent Citations

  • Systems and methods for predicting information handling resource failures using deep recurrent neural network with a modified gated recurrent unit having missing data imputation

    US20210034949A1

  • Automobile battery failure prediction method and system

    US20210405104A1