A DCR detection method and terminal for electric vehicle battery
By calculating the DC internal resistance multiple times, using the MAPE index and LSTM model to remove errors, and then using the convolutional network to train the prediction model, the problem of large fluctuations in the DC internal resistance detection results of electric vehicle batteries is solved, achieving more stable and reliable detection. result.
Patent Information
- Application Number
- CN202311083634.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-28
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-08-28
AI Technical Summary
The existing DC internal resistance detection method of electric vehicle batteries cannot meet the standard working conditions during daily charging of the vehicle, resulting in large fluctuations in detection results and affecting the accuracy of battery safety assessment.
The standard DC internal resistance calculation formula is used to calculate the first DC internal resistance multiple times in different periods, the fluctuation is measured based on the MAPE index, the LSTM model is used to remove errors, and the DC internal resistance prediction model is trained through the convolution network to calculate the vehicle battery in real time. Real-time DC internal resistance value.
It effectively removes the pre-working conditions, environment, and random errors required in the original detection method, improves the stability and reliability of DC internal resistance detection, and ensures the accuracy of calculation results.
Smart Images

Figure CN117330981B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric vehicle batteries, and in particular to a DCR detection method and a terminal for an electric vehicle battery. Background Art
[0002] Due to the continuous reduction of traditional energy and the pollution to the environment, the utilization and development of new energy have been raised to a new level. The popularity of electric vehicles is getting higher and higher. As the core component of electric vehicles, the direct current resistance (DCR) of the battery is particularly important. Improving the stability of direct current resistance detection is of great significance to the safety assessment of vehicle batteries.
[0003] The existing testing scheme usually fails to fully meet the standard working conditions during daily vehicle charging. Multiple test results of the DC internal resistance of the same vehicle will fluctuate greatly, which will cause great interference to the assessment of the vehicle battery safety status and cause inaccurate test results. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a DCR detection method and terminal for an electric vehicle battery, reduce environmental errors and random errors, and make the calculation result of DCR more reliable and stable.
[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0006] A method for detecting DCR of an electric vehicle battery comprises the following steps:
[0007] S1. Calculate the first DC internal resistance at different time periods multiple times based on a standard DC internal resistance calculation formula;
[0008] S2, measuring the fluctuation of the first DC internal resistance obtained by multiple calculations and the average value based on the MAPE index;
[0009] S3, removing the detection error of the first DC internal resistance, and performing regression fitting using the LSTM model to obtain the second DC internal resistance after the error is removed;
[0010] S4. Using a convolutional network to train a DC internal resistance estimation model based on the first DC internal resistance and the second DC internal resistance, and subsequently calculating a real-time DC internal resistance value of the vehicle battery in real time using the DC internal resistance estimation model.
[0011] In order to solve the above technical problems, another technical solution adopted by the present invention is:
[0012] An electric vehicle battery DCR detection terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0013] S1. Calculate the first DC internal resistance at different time periods multiple times based on a standard DC internal resistance calculation formula;
[0014] S2, measuring the fluctuation of the first DC internal resistance obtained by multiple calculations and the average value based on the MAPE index;
[0015] S3, removing the detection error of the first DC internal resistance, and performing regression fitting using the LSTM model to obtain the second DC internal resistance after the error is removed;
[0016] S4. Using a convolutional network to train a DC internal resistance estimation model based on the first DC internal resistance and the second DC internal resistance, and subsequently calculating a real-time DC internal resistance value of the vehicle battery in real time using the DC internal resistance estimation model.
[0017] The beneficial effects of the present invention are as follows: by first using the existing standard DC internal resistance calculation formula to calculate the DC internal resistance of the vehicle battery in different time periods for multiple times to obtain multiple groups of multiple first DC resistance values, as the basis for subsequent training of the DC resistance estimation model, and before training the model, the calculated first DC resistance value is first measured based on the MAPE index to measure the fluctuation between the calculated value and the average value of multiple calculations, and then the error is removed and the LSTM model is used for regression fitting to obtain the calculated value after the error is removed-the second DC internal resistance, and finally based on the convolutional network, the initial value of the first DC resistance value and the second DC internal resistance after the error is removed are trained to obtain the DC internal resistance estimation model, so as to perform the subsequent real-time DC internal resistance value calculation of the vehicle battery, which can effectively remove the pre-condition that the vehicle power needs to be turned off and the vehicle needs to be stationary for a period of time in the original standard calculation method, and at the same time, the environmental error and random error in the calculation process are removed, so that the calculation result of DCR is more reliable and stable. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is a main flow chart of a DCR detection method for an electric vehicle battery according to an embodiment of the present invention;
[0019] Figure 2 The present invention is a schematic structural diagram of an electric vehicle battery DCR detection terminal according to an embodiment of the present invention.
[0020] Description of labels:
[0021] 1. A DCR detection terminal for an electric vehicle battery; 2. A memory; 3. A processor. DETAILED DESCRIPTION
[0022] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.
[0023] Prior to this, the English abbreviations appearing in the text are explained as follows:
[0024] MAPE indicator: Mean Absolute Percentage Error, also known as the average absolute percentage error, is a measurement method commonly used to evaluate the error between the predicted value and the actual value. It is an important indicator to measure the accuracy of the predicted value.
[0025] LSTM model: Long Short-Term Memory, is a deep learning model used to process sequence data. It can effectively solve the problem of long-term dependency and is widely used in natural language processing, speech recognition, time series prediction and other fields.
[0026] Please refer to Figure 1 , a method for detecting DCR of an electric vehicle battery, comprising the steps of:
[0027] S1. Calculate the first DC internal resistance at different time periods multiple times based on a standard DC internal resistance calculation formula;
[0028] S2, measuring the fluctuation of the first DC internal resistance obtained by multiple calculations and the average value based on the MAPE index;
[0029] S3, removing the detection error of the first DC internal resistance, and performing regression fitting using the LSTM model to obtain the second DC internal resistance after the error is removed;
[0030] S4. Using a convolutional network to train a DC internal resistance estimation model based on the first DC internal resistance and the second DC internal resistance, and subsequently calculating a real-time DC internal resistance value of the vehicle battery in real time using the DC internal resistance estimation model.
[0031] From the above description, it can be seen that the beneficial effect of the present invention is that: by first using the existing standard DC internal resistance calculation formula to calculate the DC internal resistance of the vehicle battery in different time periods for multiple times to obtain multiple groups of multiple first DC resistance values, as the basis for subsequent training of the DC resistance estimation model, and before training the model, the calculated first DC resistance value is first measured based on the MAPE indicator to measure the fluctuation between the calculated value and the average value of multiple calculations, and then the error is removed and the LSTM model is used for regression fitting to obtain the calculated value after the error is removed-the second DC internal resistance, and finally based on the convolutional network, the initial value of the first DC resistance value and the second DC internal resistance after the error is removed are trained to obtain the DC internal resistance estimation model, so as to perform subsequent vehicle battery real-time DC internal resistance value calculation, which can effectively remove the pre-condition that the vehicle power needs to be turned off and the vehicle needs to be stationary for a period of time in the original standard calculation method, and at the same time, the environmental error and random error in the calculation process are removed, so that the calculation result of DCR is more reliable and stable.
[0032] Furthermore, the standard DC internal resistance calculation formula in step S1 is specifically:
[0033]
[0034] Among them, DCR1 is the first DC internal resistance, U1 and I1 are respectively the total voltage value and current value of the 10th second when the battery constant current output is 0.1I (A) for 10s, and U2 and I2 are respectively the total voltage value and current value of the 10th second when the battery constant current output is I (A) for 10s.
[0035] Furthermore, the step S2 is specifically as follows:
[0036] S21, collecting the first DC internal resistance DCR1 obtained by historical calculation, and retaining the DCR1 detected more than 5 times;
[0037] S22. Based on the MAPE indicator, the fluctuation of the first DC internal resistance DCR1 obtained by multiple calculations and the average value is measured according to formula (2):
[0038]
[0039] Among them, Mope modify is the adjusted MAPE indicator, is the average value of the DC resistance of the i-th group, m is the number of groups of DCR1, x ij is the DCR1 calculated for the jth detection in the i-th group of detections, and n is the number of detections of DCR1 in the i-th group.
[0040] From the above description, we can know that the DCR1 calculated when the number of detections is greater than 5 is retained to ensure the diversity of the number of samples for the training model; at the same time, the MAPE indicator can effectively measure the fluctuation between the calculated value and the average value, ensuring the determination of the loss function used for the subsequent regression fitting to avoid underfitting and overfitting.
[0041] Furthermore, the step S3 is specifically as follows:
[0042] S31, based on the sequence data of the first DC internal resistance calculated based on the vehicle history detection, split the sequence data into trend terms, seasonal terms and residual terms through the STL sequence decomposition algorithm, and remove the residual terms;
[0043] S32, using an LSTM model to perform regression fitting on the sequence data of the first DC internal resistance after the residual term is removed, to obtain a second DC internal resistance after the error is removed;
[0044] The result evaluation of the fitted loss function loss uses the MAPE indicator, and the loss value is controlled to be the Mape calculated in step S2. modify value.
[0045] From the above description, it can be seen that by first removing the residual term of the calculated first DC internal resistance and then using the LSTM model for regression fitting to obtain the second DC internal resistance, not only the diversity of samples is expanded, but also the current resistance value with errors removed further ensures the generalization ability of the DC internal resistance estimation model obtained by subsequent training, and ensures the stability and reliability of the subsequent calculation of the real-time DC internal resistance value.
[0046] Furthermore, the step S4 is specifically as follows:
[0047] S41, dividing the historical first DC internal resistance and the second DC internal resistance after error removal into a training set and a test set;
[0048] S42, using the first DC internal resistance in the training set to construct features of a convolutional network, using the second DC internal resistance in the training set as a training target of the convolutional network, and training a DC internal resistance estimation model;
[0049] S43, using the first DC internal resistance and the second DC internal resistance in the test set to test the accuracy of the DC internal resistance estimation model, and adding regularization, data enhancement, gradient clipping and learning rate adjustment to obtain a revised DC internal resistance estimation model;
[0050] S44. Subsequently, the real-time DC internal resistance value of the vehicle battery is calculated in real time using the corrected DC internal resistance estimation model.
[0051] From the above description, we can see that the use of convolutional network training model has a supervisory and correction effect during the model training process, ensuring that the DCR value calculated by the subsequent use of the model fluctuates less and the results are more reliable and stable.
[0052] Please refer to Figure 2 , an electric vehicle battery DCR detection terminal, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0053] S1. Calculate the first DC internal resistance at different time periods multiple times based on a standard DC internal resistance calculation formula;
[0054] S2, measuring the fluctuation of the first DC internal resistance obtained by multiple calculations and the average value based on the MAPE index;
[0055] S3, removing the detection error of the first DC internal resistance, and performing regression fitting using the LSTM model to obtain the second DC internal resistance after the error is removed;
[0056] S4. Using a convolutional network to train a DC internal resistance estimation model based on the first DC internal resistance and the second DC internal resistance, and subsequently calculating a real-time DC internal resistance value of the vehicle battery in real time using the DC internal resistance estimation model.
[0057] From the above description, it can be seen that the beneficial effect of the present invention is that: based on the same technical concept, in conjunction with the above-mentioned electric vehicle battery DCR detection method, an electric vehicle battery DCR detection terminal is provided, by first using the existing standard DC internal resistance calculation formula to calculate the vehicle battery DC internal resistance of different time periods for multiple times to obtain multiple groups of multiple first DC resistance values, as the basis for subsequent training of the DC resistance estimation model, and before training the model, the calculated first DC resistance value is first measured based on the MAPE index to measure the fluctuation between the calculated value and the average value of multiple calculations, and then the error is removed and the LSTM model is used for regression fitting to obtain the calculated value after the error is removed-the second DC internal resistance, and finally, based on the convolutional network, the initial value of the first DC resistance value and the second DC internal resistance after the error is removed are trained to obtain the DC internal resistance estimation model, so as to perform subsequent vehicle battery real-time DC internal resistance value calculation, which can effectively remove the pre-condition that the vehicle power needs to be turned off and the vehicle needs to be stationary for a period of time in the original standard calculation method, and at the same time, the environmental error and random error in the calculation process are removed, so that the DCR calculation result is more reliable and stable.
[0058] Furthermore, the standard DC internal resistance calculation formula in step S1 is specifically:
[0059]
[0060] Among them, DCR1 is the first DC internal resistance, U1 and I1 are respectively the total voltage value and current value of the 10th second when the battery constant current output is 0.1I (A) for 10s, and U2 and I2 are respectively the total voltage value and current value of the 10th second when the battery constant current output is I (A) for 10s.
[0061] Furthermore, the step S2 is specifically as follows:
[0062] S21, collecting the first DC internal resistance DCR1 obtained by historical calculation, and retaining the DCR1 detected more than 5 times;
[0063] S22. Based on the MAPE indicator, the fluctuation of the first DC internal resistance DCR1 obtained by multiple calculations and the average value is measured according to formula (2):
[0064]
[0065] Among them, Mope modify is the adjusted MAPE indicator, is the average value of the DC resistance of the i-th group, m is the number of groups of DCR1, x ij is the DCR1 calculated for the jth detection in the i-th group of detections, and n is the number of detections of DCR1 in the i-th group.
[0066] From the above description, we can know that the DCR1 calculated when the number of detections is greater than 5 is retained to ensure the diversity of the number of samples for the training model; at the same time, the MAPE indicator can effectively measure the fluctuation between the calculated value and the average value, ensuring the determination of the loss function used for the subsequent regression fitting to avoid underfitting and overfitting.
[0067] Furthermore, the step S3 is specifically as follows:
[0068] S31, based on the sequence data of the first DC internal resistance calculated based on the vehicle history detection, split the sequence data into trend terms, seasonal terms and residual terms through the STL sequence decomposition algorithm, and remove the residual terms;
[0069] S32, using an LSTM model to perform regression fitting on the sequence data of the first DC internal resistance after the residual term is removed, to obtain a second DC internal resistance after the error is removed;
[0070] The result evaluation of the fitted loss function loss uses the MAPE indicator, and the loss value is controlled to be the Mape calculated in step S2. modify value.
[0071] From the above description, it can be seen that by first removing the residual term of the calculated first DC internal resistance and then using the LSTM model for regression fitting to obtain the second DC internal resistance, not only the diversity of samples is expanded, but also the current resistance value with errors removed further ensures the generalization ability of the DC internal resistance estimation model obtained by subsequent training, and ensures the stability and reliability of the subsequent calculation of the real-time DC internal resistance value.
[0072] Furthermore, the step S4 is specifically as follows:
[0073] S41, dividing the historical first DC internal resistance and the second DC internal resistance after error removal into a training set and a test set;
[0074] S42, using the first DC internal resistance in the training set to construct features of a convolutional network, using the second DC internal resistance in the training set as a training target of the convolutional network, and training a DC internal resistance estimation model;
[0075] S43, using the first DC internal resistance and the second DC internal resistance in the test set to test the accuracy of the DC internal resistance estimation model, and adding regularization, data enhancement, gradient clipping and learning rate adjustment to obtain a revised DC internal resistance estimation model;
[0076] S44. Subsequently, the real-time DC internal resistance value of the vehicle battery is calculated in real time using the corrected DC internal resistance estimation model.
[0077] From the above description, we can see that the use of convolutional network training model has a supervisory and correction effect during the model training process, ensuring that the DCR value calculated by the subsequent use of the model fluctuates less and the results are more reliable and stable.
[0078] The inventors provide an electric vehicle battery DCR detection method and terminal, which are suitable for real-time and stable detection and calculation of the battery DC internal resistance of an electric vehicle without the need for the pre-operation condition of powering off the vehicle battery. The method is described in detail below in conjunction with an embodiment.
[0079] Please refer to Figure 1 , Embodiment 1 of the present invention is:
[0080] A method for detecting DCR of an electric vehicle battery. In fact, before the standard DC internal resistance formula is used to calculate the DC internal resistance of an electric vehicle, it is necessary to adjust the SOC of the power electric system to 50% by charging and discharging the entire vehicle (including on-board electrical equipment), then turn off the vehicle power supply, and let it stand for a period of time, such as 30 minutes, before calculating the DC internal resistance.
[0081] However, the present application does not need to turn off the power of the vehicle, but directly uses the standard DC internal resistance calculation formula to calculate the first DC internal resistance DCR1 of the vehicle, that is, the steps of the present application are as follows: Figure 1 As shown:
[0082] S1. Calculate the first DC internal resistance DCR1 for multiple times in different time periods based on a standard DC internal resistance calculation formula.
[0083] S2. Based on the MAPE index, the fluctuation of the first DC internal resistance DCR1 obtained by multiple calculations and the average value is measured to reduce the fluctuation of the DCR result value.
[0084] S3. Remove the detection error of the historical first DC internal resistance DCR1, and use the LSTM model for regression fitting to obtain the second DC internal resistance DCR2 after the error is removed, that is, the environmental error and random error of the DC internal resistance are effectively removed.
[0085] S4. Based on the first DC internal resistance DCR1 and the second DC internal resistance DCR2, a DC internal resistance estimation model is trained using a convolutional network, and subsequently a real-time DCR value of the vehicle battery is calculated in real time using the DC internal resistance estimation model.
[0086] That is, in this embodiment, the DC internal resistance of the vehicle battery in different time periods is calculated multiple times using the existing standard DC internal resistance calculation formula to obtain multiple groups of multiple first DC resistance values as the basis for subsequent training of the DC resistance estimation model, and before training the model, the calculated first DC resistance value is first measured based on the MAPE indicator to measure the fluctuation between the calculated value and the average value of multiple calculations, and then the error is removed and the LSTM model is used for regression fitting to obtain the calculated value after the error is removed - the second DC internal resistance, and finally, based on the convolutional network, the initial value of the first DC resistance value and the second DC internal resistance after the error is removed are trained to obtain a DC internal resistance estimation model for subsequent vehicle battery real-time DC internal resistance value calculation, which can effectively remove the pre-condition that the vehicle power needs to be turned off and the vehicle needs to be stationary for a period of time in the original standard calculation method, and at the same time, the environmental error and random error in the calculation process are removed, so that the calculation result of DCR is more reliable and stable.
[0087] Embodiment 2 of the present invention is:
[0088] A method for detecting DCR of an electric vehicle battery is provided. Based on the above-mentioned embodiment 1, in this embodiment, the standard DC internal resistance calculation formula in step S1 is specifically:
[0089]
[0090] Among them, DCR1 is the first DC internal resistance, U1 and I1 are respectively the total voltage value and current value of the 10th second when the battery constant current output is 0.1I (A) for 10 seconds, and U2 and I2 are respectively the total voltage value and current value of the 10th second when the battery constant current output is I (A) for 10 seconds.
[0091] The above formula (1) is used to calculate multiple groups of DCR1 values as historical detection data for subsequent training model samples. In this embodiment, step S2 is specifically as follows:
[0092] S21. Collect the DC internal resistance DCR1 obtained by historical calculation, and retain the DCR1 with more than 5 detection times to ensure the diversity of the number of samples for training the model.
[0093] S22. Based on the MAPE indicator, the fluctuation of the DC internal resistance DCR1 obtained by multiple calculations and the average value is measured according to formula (2):
[0094]
[0095] Among them, Mope modify is the adjusted MAPE indicator, is the average value of the DC resistance of the i-th group, m is the number of groups of DCR1, x ij is the DCR1 calculated for the jth detection in the i-th group of detections, and n is the number of detections of DCR1 in the i-th group.
[0096] That is, the use of the MAPE indicator can effectively measure the fluctuation between the calculated value and the average value, ensuring the determination of the loss function used for subsequent regression fitting to avoid underfitting and overfitting.
[0097] Meanwhile, in this embodiment, step S3 is specifically as follows:
[0098] S31. Based on the DCR1 sequence data obtained by historical vehicle detection calculation, the sequence data is decomposed into trend terms, seasonal terms and residual terms through the STL sequence decomposition algorithm, and the residual is removed.
[0099] S32, using the LSTM model to perform regression fitting on the DCR1 sequence data after removing the residual term, and obtain the second DC internal resistance DCR2 after removing the error; wherein, the result evaluation of the fitting loss function loss uses the MAPE indicator, and the loss value is controlled to the Mape calculated in step S2. modify value.
[0100] That is, by first removing the residual term of the calculated DCR1 and then using the LSTM model for regression fitting to obtain the DCR2 value, not only the diversity of samples is expanded, but also the removal of the erroneous current resistance value further ensures the generalization ability of the DCR estimation model obtained by subsequent training, ensuring the stability and reliability of the subsequent calculation of DCR.
[0101] It is worth mentioning that in deep learning, when performing gradient calculation, an indicator is needed to measure the degree of difference between the calculated value and the actual target value. The indicator for measuring this difference is called the loss function. In this embodiment, the MAPE indicator is used as a method for calculating the loss, which can effectively measure the fluctuation between the calculated value and the average value, and ensure the determination of the loss function used for the subsequent regression fitting. However, the loss function loss value will continue to increase with the increase in the number of training iterations. When the loss value is too large, it will cause regression underfitting, making the subsequent training model inaccurate. If the loss value is too small, it will cause regression overfitting, making the subsequent training model generalization ability weak. Therefore, in this embodiment, the loss value is trained based on the MAPE indicator to the Mope obtained by removing the fluctuation in the above formula (2). modify Nearby, so that the loss value has a suitable value, neither too large nor too small, to avoid underfitting and overfitting.
[0102] In addition, in this embodiment, step S4 is specifically as follows:
[0103] S41, dividing the historical first DC internal resistance DCR1 and the second DC internal resistance DCR2 after error removal into a training set and a test set;
[0104] S42, using DCR1 in the training set to construct the features of the convolutional network, using DCR2 in the training set as the training target of the convolutional network, and training the DC internal resistance estimation model;
[0105] S43, using DCR1 and DCR2 in the test set to test the accuracy of the DCR estimation model, and adding regularization, data enhancement, gradient clipping and learning rate adjustment to obtain a revised DC internal resistance estimation model;
[0106] S44. Subsequently, the real-time DCR value of the vehicle battery is calculated in real time using the corrected DC internal resistance estimation model.
[0107] That is, using a convolutional network to train the model plays a supervisory and correction role during the model training process, ensuring that the DCR value calculated using the model in the subsequent use fluctuates less and the results are more reliable and stable.
[0108] Please refer to Figure 2 , Embodiment 3 of the present invention is:
[0109] An electric vehicle battery DCR detection terminal 1 includes a memory 2, a processor 3, and a computer program stored in the memory 2 and executable on the processor 3. In this embodiment, the processor 3 implements the steps in the above-mentioned embodiment 1 to or embodiment 2 when executing the computer program.
[0110] In summary, the present invention provides a method for detecting DCR of an electric vehicle battery. Since the accuracy of the existing DC internal resistance detection scheme depends on the pre-condition, if the pre-condition is not fully satisfied, the DC internal resistance calculated by the detection will produce a large error. Therefore, the improved scheme provided by the present invention removes the original pre-condition and the environmental error and random error of the DC internal resistance. The DCR value calculated by the model method has smaller fluctuations and the result is more reliable and stable.
[0111] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for detecting DCR of an electric vehicle battery, characterized in that: Includes steps: S1. Calculate the first DC internal resistance at different time periods multiple times based on a standard DC internal resistance calculation formula; S2, measuring the fluctuation of the first DC internal resistance obtained by multiple calculations and the average value based on the MAPE index; S3, removing the detection error of the first DC internal resistance, and performing regression fitting using the LSTM model to obtain the second DC internal resistance after the error is removed; S4. Training a DC internal resistance estimation model using a convolutional network based on the first DC internal resistance and the second DC internal resistance, and subsequently calculating a real-time DC internal resistance value of a vehicle battery in real time using the DC internal resistance estimation model; The standard DC internal resistance calculation formula in step S1 is specifically: (1); Wherein, DCR1 is the first DC internal resistance, U1 and I1 are respectively the total voltage value and current value of the 10th second when the battery constant current output is 0.1I (A) for 10 seconds, and U2 and I2 are respectively the total voltage value and current value of the 10th second when the battery constant current output is I (A) for 10 seconds; The step S2 is specifically as follows: S21, collecting the first DC internal resistance DCR1 obtained by historical calculation, and retaining the DCR1 detected more than 5 times; S22, measuring the fluctuation of the first DC internal resistance DCR1 obtained by multiple calculations and the average value according to formula (2): (2); Among them, Mape modify is the adjusted MAPE indicator, is the average value of the DC resistance of the i-th group, m is the number of groups of DCR1, x ij is the DCR1 calculated for the jth test in the i-th group of tests, and n is the number of tests of DCR1 in the i-th group; The step S3 is specifically as follows: S31, based on the sequence data of the first DC internal resistance calculated based on the vehicle history detection, split the sequence data into trend terms, seasonal terms and residual terms through the STL sequence decomposition algorithm, and remove the residual terms; S32, using an LSTM model to perform regression fitting on the sequence data of the first DC internal resistance after the residual term is removed, to obtain a second DC internal resistance after the error is removed; The result evaluation of the fitted loss function loss uses the MAPE indicator, and the loss value is controlled to be the Mape calculated in step S2. modify value.
2. A method for detecting DCR of an electric vehicle battery according to claim 1, characterized in that: The step S4 is specifically as follows: S41, dividing the historical first DC internal resistance and the second DC internal resistance after error removal into a training set and a test set; S42, using the first DC internal resistance in the training set to construct features of a convolutional network, using the second DC internal resistance in the training set as a training target of the convolutional network, and training a DC internal resistance estimation model; S43, using the first DC internal resistance and the second DC internal resistance in the test set to test the accuracy of the DC internal resistance estimation model, and adding regularization, data enhancement, gradient clipping and learning rate adjustment to obtain a revised DC internal resistance estimation model; S44. Subsequently, the real-time DC internal resistance value of the vehicle battery is calculated in real time using the corrected DC internal resistance estimation model.
3. An electric vehicle battery DCR detection terminal, characterized in that: The invention comprises 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 following steps are implemented: S1. Calculate the first DC internal resistance at different time periods multiple times based on a standard DC internal resistance calculation formula; S2, measuring the fluctuation of the first DC internal resistance obtained by multiple calculations and the average value based on the MAPE index; S3, removing the detection error of the first DC internal resistance, and performing regression fitting using the LSTM model to obtain the second DC internal resistance after the error is removed; S4. Training a DC internal resistance estimation model using a convolutional network based on the first DC internal resistance and the second DC internal resistance, and subsequently calculating a real-time DC internal resistance value of a vehicle battery in real time using the DC internal resistance estimation model; The standard DC internal resistance calculation formula in step S1 is specifically: (1); Wherein, DCR1 is the first DC internal resistance, U1 and I1 are respectively the total voltage value and current value of the 10th second when the battery constant current output is 0.1I (A) for 10 seconds, and U2 and I2 are respectively the total voltage value and current value of the 10th second when the battery constant current output is I (A) for 10 seconds; The step S2 is specifically as follows: S21, collecting the first DC internal resistance DCR1 obtained by historical calculation, and retaining the DCR1 detected more than 5 times; S22, measuring the fluctuation of the first DC internal resistance DCR1 obtained by multiple calculations and the average value according to formula (2): (2); Among them, Mape modify is the adjusted MAPE indicator, is the average value of the DC resistance of the i-th group, m is the number of groups of DCR1, x ij is the DCR1 calculated for the jth test in the i-th group of tests, and n is the number of tests of DCR1 in the i-th group; The step S3 is specifically as follows: S31, based on the sequence data of the first DC internal resistance calculated based on the vehicle history detection, split the sequence data into trend terms, seasonal terms and residual terms through the STL sequence decomposition algorithm, and remove the residual terms; S32, using an LSTM model to perform regression fitting on the sequence data of the first DC internal resistance after the residual term is removed, to obtain a second DC internal resistance after the error is removed; The result evaluation of the fitted loss function loss uses the MAPE indicator, and the loss value is controlled to be the Mape calculated in step S2. modify value.
4. The electric vehicle battery DCR detection terminal according to claim 3, characterized in that: The step S4 is specifically as follows: S41, dividing the historical first DC internal resistance and the second DC internal resistance after error removal into a training set and a test set; S42, using the first DC internal resistance in the training set to construct features of a convolutional network, using the second DC internal resistance in the training set as a training target of the convolutional network, and training a DC internal resistance estimation model; S43, using the first DC internal resistance and the second DC internal resistance in the test set to test the accuracy of the DC internal resistance estimation model, and adding regularization, data enhancement, gradient clipping and learning rate adjustment to obtain a revised DC internal resistance estimation model; S44. Subsequently, the real-time DC internal resistance value of the vehicle battery is calculated in real time using the corrected DC internal resistance estimation model.
Citation Information
Patent Citations
Battery internal resistance prediction method, battery health state evaluation method, battery health state evaluation device and battery health state evaluation equipment
CN114325399A
New energy automobile lithium battery health state assessment method based on ASTUKF-GRA-LSTM model
CN114397577A
Battery monitoring circuit for operating with high battery discharge rates
US5357203A
Method and apparatus for measuring battery impedance value
WO2022078379A1
