Method and device for predicting peak power of battery
By performing wavelet decomposition and genetic algorithm optimization on the battery peak power data, a prediction model is constructed, which solves the problem of poor battery peak power prediction accuracy in the existing technology and achieves higher prediction precision and accuracy.
Patent Information
- Application Number
- CN202410848433.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-10
AI Technical Summary
The battery peak power prediction accuracy in the existing technology is poor, which affects users' driving safety and driving experience.
By performing wavelet decomposition on the known peak power data, a prediction model is constructed, and a genetic algorithm is used to optimize the weights and thresholds of the model to improve prediction accuracy.
It effectively reduces the convergence error, improves the accuracy of battery peak power prediction, and ensures the accuracy and reliability of the prediction results.
Smart Images

Figure CN118625147A
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of battery power prediction, and specifically relates to a method and device for predicting peak power of a battery. Background Art
[0002] Currently, peak power calculations mostly rely on software-fixed power MAP (Power Mapping, a method of mapping and representing the relationship between the power output of an engine or motor and its operating parameters) as well as voltage and SOH (State of Health, battery health status) and other information. Once a certain value deviates, it will affect the accuracy of the table lookup and will be inconsistent with the actual capacity of the battery cell, which will have a serious impact on the user's driving safety and car experience. Summary of the invention
[0003] Purpose of the invention: This application develops a method and device for predicting battery peak power, aiming to solve the technical problem of poor accuracy in battery peak power prediction in the prior art.
[0004] Technical solution: In a first aspect, the present application provides a method for predicting peak power of a battery, comprising:
[0005] Determine a plurality of first power data, perform wavelet decomposition on the first power data, and obtain a plurality of categories of second power data; the first power data is known peak power data;
[0006] determining a plurality of data groups, wherein the data groups include a plurality of second power data of the same category;
[0007] In the data group, a first prediction model is constructed based on the second power data and the detection data for predicting the peak power; a weight and a threshold of the first prediction model are optimized based on a genetic algorithm to obtain a second prediction model; and third power data is obtained through the second prediction model;
[0008] Among the plurality of data groups, wavelet reconstruction is performed on the plurality of third power data to obtain peak power prediction values corresponding to the detection data.
[0009] In some embodiments, the step of constructing a first prediction model based on the second power data and the detection data for predicting peak power includes:
[0010] Determine input parameters and output parameters, and construct a first prediction model;
[0011] The input parameters include detection data and second power data for predicting peak power, and the detection data include temperature data, charging state data and internal resistance data of the battery; the output parameters include peak power.
[0012] In some embodiments, the step of optimizing the weights and thresholds of the first prediction model based on a genetic algorithm includes:
[0013] Acquire a first population, the first population comprising a plurality of first individuals, the first individuals being obtained by encoding initial weights and initial thresholds of the first prediction model;
[0014] Acquire a second population, where the second population is obtained by updating the first population to a specified number of generations based on a genetic algorithm;
[0015] Determining an optimal weight and an optimal threshold of the first prediction model, wherein the optimal weight and the optimal threshold are obtained by decoding the second population;
[0016] The initial weight of the first prediction model is updated to an optimal weight, the initial threshold of the first prediction model is updated to an optimal threshold, and a second prediction model is obtained.
[0017] In some embodiments, the fitness characterization formula in the genetic algorithm includes:
[0018]
[0019] Wherein, fitval is the fitness; X is the second power data; Y is the fourth power data, and the fourth power data is obtained by inputting the second power data into the first prediction model; ε is a constant.
[0020] In some embodiments, the step of acquiring third power data by using the second prediction model includes:
[0021] training the second prediction model based on the second power data and the detection data, and determining an error of the second prediction model;
[0022] In response to the error of the second prediction model being outside an error threshold, updating the weight and threshold of the second prediction model;
[0023] In response to the error of the second prediction model being within an error range, the second prediction model outputs the third power data.
[0024] In some embodiments, the characterization formula of the error of the second prediction model includes:
[0025] e = |OX|;
[0026] Wherein, e is the error of the second prediction model; X is the second power data; O is the output value of the second prediction model corresponding to the second power data.
[0027] In some embodiments, the step of updating the weights and thresholds of the second prediction model includes:
[0028] A third population is obtained, where the third population is obtained by updating the second population to a specified number of generations based on a genetic algorithm.
[0029] In some embodiments, the first power data includes historical power data of the battery and / or experimental power data of the battery.
[0030] In some embodiments, it also includes:
[0031] Before constructing the first prediction model, performing data normalization processing on the second power data;
[0032] Before performing wavelet reconstruction on the plurality of third power data, the third power data are subjected to denormalization processing.
[0033] In a second aspect, an embodiment of the present application further provides a peak power prediction device for a battery, comprising:
[0034] A first module, wherein the first module is configured to determine a plurality of first power data, perform wavelet decomposition on the first power data, and obtain a plurality of categories of second power data; the first power data is known peak power data;
[0035] A second module, the second module is configured to determine a plurality of data groups, the data groups comprising a plurality of second power data of the same category;
[0036] A third module, wherein the third module is configured to construct a first prediction model in the data group based on the second power data and the detection data for predicting the peak power; optimize the weight and threshold of the first prediction model based on a genetic algorithm to obtain a second prediction model; and obtain third power data through the second prediction model;
[0037] The fourth module, the third module is configured to perform wavelet reconstruction on multiple third power data between multiple data groups to obtain peak power prediction values corresponding to the detection data.
[0038] Beneficial effect: Compared with the prior art, the peak power prediction method of a battery provided in the embodiment of the present application performs wavelet decomposition on the known first power data to obtain multiple categories of second power data, sets multiple groups of first power data, and divides multiple second power data in the multiple groups of first power data into multiple data groups according to categories; in the data group, constructs a first prediction model through the second power data, and then optimizes the weights and thresholds of the first prediction model based on a genetic algorithm to obtain a second prediction model, and then obtains third power data based on the second prediction model; among the multiple data groups, multiple third power data are reconstructed by wavelet to determine the power prediction value. The present application introduces the known first power data, and constructs a prediction model as input data after wavelet processing of the first power data, and optimizes the weights and thresholds of the prediction model through a genetic algorithm, which can effectively reduce the convergence error and improve the prediction accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0040] Figure 1 A flowchart of the steps of the peak power prediction method of the battery provided in the embodiment of the present application;
[0041] Figure 2 A specific flow chart of step 300 in the peak power prediction method of a battery provided in an embodiment of the present application;
[0042] Figure 3 A specific flow chart of step 320 in the peak power prediction method of a battery provided in an embodiment of the present application;
[0043] Figure 4 A flowchart of a peak power prediction method for a battery provided in an embodiment of the present application (the process from data normalization to fitness calculation in the figure is executed in parallel for multiple channels of multiple second power data; the process from obtaining optimal weights and thresholds to outputting power prediction values of different sequences in the figure is executed in parallel for multiple channels of multiple data groups);
[0044] Figure 5 Schematic diagram of the steps of genetic algorithm;
[0045] Figure 6 A flow chart of performing wavelet decomposition on first power data in a peak power prediction method for a battery provided in an embodiment of the present application;
[0046] Figure 7A result diagram of wavelet decomposition in the peak power prediction method of a battery provided in an embodiment of the present application;
[0047] Figure 8 The error curve after the second prediction model is trained in the peak power prediction method of the battery provided in the embodiment of the present application;
[0048] Fig. 9 A comparison chart of the training data and the estimation result of the second prediction model in the peak power prediction method of the battery provided in the embodiment of the present application;
[0049] Fig.10 A module diagram of a peak power prediction device for a battery provided in an embodiment of the present application;
[0050] Figure numerals: 10, first module; 20, second module; 30, third module; 40, fourth module. DETAILED DESCRIPTION
[0051] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0052] The embodiment of the present application provides a peak power prediction method for a battery, which performs wavelet decomposition on known first power data to obtain multiple categories of second power data, sets multiple groups of first power data, and divides multiple second power data in the multiple groups of first power data into multiple data groups according to categories; in the data group, constructs a first prediction model through the second power data, and then optimizes the weights and thresholds of the first prediction model based on a genetic algorithm to obtain a second prediction model, and then obtains third power data based on the second prediction model; among multiple data groups, multiple third power data are wavelet reconstructed to determine the power prediction value. The present application introduces known first power data, and constructs a prediction model as input data after wavelet processing of the first power data, and optimizes the weights and thresholds of the prediction model through a genetic algorithm, which can effectively reduce convergence errors and improve prediction accuracy.
[0053] See also Figure 1 and Figure 4 The peak power prediction method of the battery provided in the embodiment of the present application specifically includes the following steps:
[0054] Step 100: determine a plurality of first power data, perform wavelet decomposition on the first power data, and obtain a plurality of categories of second power data; the first power data is known peak power data.
[0055] In some embodiments, selecting historical power data of a battery and / or experimental power data of a battery as the first power data can effectively improve the reliability of the data.
[0056] In some embodiments, before performing wavelet decomposition on the first power data, the first power data is cleaned of abnormal data and re-filled with data to reduce the noise impact caused by the abnormal data, improve the reliability of the data, and ensure the accuracy of the result.
[0057] In some embodiments, see Figure 6 and Figure 7 When performing wavelet decomposition on the first power data, first determine the low-frequency signal value and the high-frequency signal value; then perform orthogonal projection on the first power data to obtain the low-frequency trend signal and the high-frequency fluctuation signal, and perform orthogonal projection decomposition on the low-frequency trend signal again, and then perform wavelet decomposition on the first power data in a cycle to obtain multiple second power data in different frequency bands, including multiple high-frequency fluctuation signals and one low-frequency trend signal. Specifically, this application uses db5 wavelet to perform 5-layer decomposition on the first power data, such as Figure 7 As shown in the figure, it can be seen that the wavelet decomposition decomposes the power time series into an approximate trend component a5 and high-frequency detail components d5, d4, d3, d2, and d1. The obtained branch signal is used as the input of the subsequent prediction model, which is conducive to reducing the influence of temperature, SOC (State of Charge) and internal resistance on the prediction results.
[0058] In some embodiments, after obtaining multiple second power data, the second power data are normalized. Since during the operation of the vehicle, various parameters in different frequency bands vary within different ranges, the influence of parameters with a large numerical variation range is higher than that of parameters with a small numerical variation range. In order to give full play to the importance of each parameter, it is necessary to normalize the parameters to eliminate the negative impact caused by the inconsistency of the variation ranges of the parameters. The embodiment of the present application uses a linear method that does not change the original distribution characteristics of the parameters to normalize the parameters, and the calculation formula is shown as follows.
[0059]
[0060] Where: x i is the second power data after the i-th normalization process; X i is the second power data before the i-th normalization process; X min is the minimum value among multiple second power data in the same frequency band; X max is the maximum value among multiple second power data in the same frequency band.
[0061] Step 200: Determine a plurality of data groups, each data group comprising a plurality of second power data of the same category.
[0062] It can be understood that the embodiments of the present application refer to multiple groups of first power data, and after wavelet decomposition of each group of first power data, multiple frequency bands of second power data will be obtained; in the multiple groups of first power data, multiple second power data of the same frequency band are classified into one data group to obtain multiple data groups grouped based on frequency bands. Specifically, the multiple data groups include an approximate trend component a5 group, a high-frequency detail component d5 group, a high-frequency detail component d4 group, a high-frequency detail component d3 group, a high-frequency detail component d2 group, and a high-frequency detail component d1 group, each of which contains multiple second power data of the same frequency band, so that genetic algorithm processing can be performed on a group basis in subsequent data.
[0063] Step 300: In the data group, construct a first prediction model based on the second power data and the detection data for predicting the peak power; optimize the weights and thresholds of the first prediction model based on a genetic algorithm to obtain a second prediction model; and obtain third power data through the second prediction model.
[0064] In some embodiments, see Figure 2 , step 300 is specifically implemented through steps 310 to 330:
[0065] Step 310: construct a first prediction model based on the second power data and the detection data for predicting the peak power.
[0066] In some embodiments, see Figure 4 , the input parameters are the detection data and the second power data used to predict the peak power, and the detection data include the temperature data, charging state data and internal resistance data of the battery. It can be understood that SOC can be obtained through online detection and interpolation of the SOC-OCV curve, the internal resistance can also be obtained through real-time monitoring, and the temperature can be directly obtained through the temperature sensor. Therefore, SOC, internal resistance and temperature are selected as input parameters to ensure the real-time and accuracy of the input parameters. At the same time, directly obtaining the parameters and using them directly can reduce the cumulative error caused by parameter conversion. At the same time, since this application is used to predict battery power, the output parameter is the discharge peak power corresponding to 10 seconds.
[0067] In some embodiments, after determining the input parameters and output parameters, the topological structure of the first prediction model is determined, and its initial weights and thresholds can be obtained according to the topological structure of the first prediction model, thereby obtaining the first population. Specifically, the first prediction model is a wavelet-BP neural network model, and the number of neurons in the input layer and the output layer of the neural network is determined according to the number of network input parameters and output parameters, while the number of hidden layers is determined according to the complexity of the problem to be solved. Specifically, the input parameters in this application are temperature, SOC, internal resistance and second power data, so the number of neurons in the input layer is 4, the output parameter is peak power, so the number of neurons in the output layer is 1, and the number of neurons in the hidden layer is determined to be 9 according to the formula y=2n+1 (where y is the number of neurons in the hidden layer, and n is the number of neurons in the input layer), so the first prediction model in the application is a 4-9-1 three-layer BP neural network model.
[0068] Step 320: Optimize the weights and thresholds of the first prediction model based on a genetic algorithm to obtain a second prediction model.
[0069] In some embodiments, see Figure 3 , step 320 is implemented through steps 321 to 324:
[0070] Step 321: Obtain a first population, the first population including a plurality of first individuals, the first individuals being obtained by encoding initial weights and initial thresholds of a first prediction model.
[0071] In some embodiments, when acquiring a single individual, a second power data degree, internal resistance, and SOC peak power in the data group are combined, and the weights and thresholds of the first prediction model are encoded to obtain a first individual.
[0072] In the above embodiment, the population corresponding to the data group obtained in the above manner based on each second power data in the data group is the first population; the first population of each data group is obtained respectively, such as the first population of the approximate trend component a5 group, the first population of the high-frequency detail component d5 group, the first population of the high-frequency detail component d4 group, the first population of the high-frequency detail component d3 group, the first population of the high-frequency detail component d2 group and the first population of the high-frequency detail component d1 group.
[0073] Step 322: Obtain a second population, where the second population is obtained by updating the first population to a specified number of generations based on a genetic algorithm.
[0074] In some embodiments, see Figure 5 , is a brief introduction to the genetic algorithm execution process, based on Figure 5 The public genetic algorithm, combined with Figure 4Before updating the first population, the fitness of each first individual in the first population is calculated first, and the network of the first prediction model is characterized by the fitness. The larger the fitness value, the smaller the network error and the higher the adaptability. Specifically, the representation formula of fitness in the genetic algorithm is as follows:
[0075]
[0076] Wherein, fitval is the fitness; X is the second power data; Y is the fourth power data, and the fourth power data is obtained by inputting the second power data into the first prediction model; ε is a constant used to avoid the denominator being zero.
[0077] In some embodiments, the first individual that meets the fitness threshold requirement is selected from the first population, and crossover mutation is performed between multiple first individuals to generate a new population. When the new population does not meet the algebraic requirement of the updated evolution, the fitness of each new individual is determined in the new population, and then the individuals that meet the fitness threshold requirement are re-screened based on the fitness threshold, and the above process is repeated to perform the updated evolution again. When the updated evolution algebra reaches the specified algebraic requirement, the second population is obtained. Specifically, the crossover probability and the mutation probability are 0.4 and 0.2 respectively, the maximum number of iterations is 100, and the parameter settings of the genetic algorithm are shown in Table 1 below:
[0078] Table 1:
[0079]
[0080] Step 323: Determine the optimal weight and optimal threshold of the first prediction model, where the optimal weight and optimal threshold are obtained by decoding the second population.
[0081] Step 324: Update the initial weight of the first prediction model to the optimal weight, update the initial threshold of the first prediction model to the optimal threshold, and obtain the second prediction model.
[0082] Step 330: Obtain third power data through the second prediction model.
[0083] In some embodiments, step 330 is specifically implemented through steps 331 to 333:
[0084] Step 331: Train a second prediction model based on the second power data, and determine the error of the second prediction model.
[0085] In some embodiments, in each data group, a second prediction model is trained by using a plurality of second power data in the data group, as well as internal resistance, temperature and SOC, and an error of the second prediction model is calculated; specifically, the error characterization formula of the second prediction model includes:
[0086] e = |OX|;
[0087] Wherein, e is the error of the second prediction model; X is the second power data; and O is the output value of the second prediction model corresponding to the second power data.
[0088] Step 332: In response to the error of the second prediction model being outside the error threshold, updating the weight and threshold of the second prediction model.
[0089] In some embodiments, the step of updating the weights and thresholds of the second prediction model includes: updating the second population based on the genetic algorithm disclosed in step 320, and obtaining a third population after the second population is updated to a specified generation. The specific steps have been disclosed in step 320 and will not be repeated here.
[0090] Step 333: In response to the error of the second prediction model being within the error range, the second prediction model outputs third power data.
[0091] Step 400: Perform wavelet reconstruction on multiple third power data among multiple data groups to obtain peak power prediction values corresponding to the detection data.
[0092] In some embodiments, the third power data corresponding to each data group in step 200 can be obtained through step 300, that is, the predicted value of the peak power corresponding to each band group after wavelet decomposition. The predicted value of the final peak power can be obtained by performing wavelet reconstruction on the predicted values of multiple bands. Specifically, the characterization formula of wavelet reconstruction includes:
[0093]
[0094] Where, f(t) is the power prediction value after reconstruction; C Ψ is the admissibility condition of the wavelet function; R is a set of real numbers; a is the scaling factor; b is the translation factor; W x is the continuous wavelet transform value; t is the time; d is the differential sign.
[0095] In some embodiments, if the data after wavelet decomposition is subjected to data normalization processing, the data to be reconstructed needs to be denormalized before wavelet reconstruction.
[0096] Understandably, see Figure 8 and Fig. 9 , using genetic algorithm to optimize the wavelet-BP neural network training method, the error of the training network is as follows Figure 8 As shown in the figure, the estimated verification of the 10s discharge peak power is as follows Fig. 9 As shown in the figure, “*” is the model’s estimated result for the training data, and “o” is the actual value of the training data. Figure 8It can be seen that the system error converges to 8.26W within 10 steps. Since most of the 10s peak power is distributed above 300W, or even above 1600W, the relative error is very small. Fig. 9 It can also be seen that the estimated result of the peak power output value obtained by the GA-wavelet-BP algorithm has a very small error compared with the actual value representing the training data.
[0097] It can be seen that the peak prediction model obtained by optimizing the wavelet-BP neural network with genetic algorithm can speed up the convergence of the model, reduce the training error of the model, and improve the estimation accuracy of the model. In order to illustrate the versatility of the genetic algorithm to optimize the wavelet-BP neural network, the original data is randomly selected, but in principle, the entire sample space is covered as much as possible, and then the genetic algorithm is used to optimize the wavelet-BP neural network model prediction. The specific results are shown in Table 2 below. It can be seen that whether it is absolute error or relative error, maximum value or average value, the difference between the results of each group is small and stable within a certain range. Therefore, it can be seen that the GA-wavelet-BP model in this paper is not picky about the selection of data during prediction.
[0098] Table 2:
[0099]
[0100] It can be understood that an embodiment of the present application provides a peak power prediction method for a battery, by performing wavelet decomposition on known first power data to obtain multiple categories of second power data, setting multiple groups of first power data, and dividing multiple second power data in the multiple groups of first power data into multiple data groups according to categories; in the data group, constructing a first prediction model through the second power data, and then optimizing the weights and thresholds of the first prediction model based on a genetic algorithm to obtain a second prediction model, and then obtaining third power data based on the second prediction model; among multiple data groups, multiple third power data are wavelet reconstructed to determine the power prediction value. The present application introduces known first power data, and constructs a prediction model as input data after wavelet processing of the first power data, and optimizes the weights and thresholds of the prediction model through a genetic algorithm, which can effectively reduce the convergence error and improve the prediction accuracy.
[0101] Accordingly, see Fig.10 , an embodiment of the present application further provides a peak power prediction device for a battery, comprising:
[0102] The first module 10 is configured to determine a plurality of first power data, perform wavelet decomposition on the first power data, and obtain a plurality of categories of second power data; the first power data is known peak power data;
[0103] A second module 20, the second module 20 is configured to determine a plurality of data groups, the data groups comprising a plurality of second power data of the same category;
[0104] The third module 30 is configured to construct a first prediction model based on the second power data and the detection data for predicting the peak power in the data group; optimize the weight and threshold of the first prediction model based on the genetic algorithm to obtain the second prediction model; and obtain the third power data through the second prediction model;
[0105] The fourth module 40 is configured to perform wavelet reconstruction on multiple third power data among multiple data groups to obtain peak power prediction values corresponding to the detection data.
[0106] In some embodiments, the third module 30 is specifically used for:
[0107] Determine input parameters and output parameters, and construct a first prediction model;
[0108] The input parameters include detection data and second power data for predicting peak power, the detection data include temperature data, charging state data and internal resistance data of the battery; the output parameters include peak power.
[0109] In some embodiments, the third module 30 is specifically used for:
[0110] Obtaining a first population, the first population including a plurality of first individuals, the first individuals being obtained by encoding initial weights and initial thresholds of a first prediction model;
[0111] Obtaining a second population, where the second population is obtained by updating the first population to a specified generation based on a genetic algorithm;
[0112] Determine an optimal weight and an optimal threshold of the first prediction model, wherein the optimal weight and the optimal threshold are obtained by decoding the second population;
[0113] The initial weight of the first prediction model is updated to an optimal weight, the initial threshold of the first prediction model is updated to an optimal threshold, and the second prediction model is obtained.
[0114] In some embodiments, the third module 30 is specifically used for:
[0115] training a second prediction model based on the second power data and the detection data, and determining an error of the second prediction model;
[0116] In response to the error of the second prediction model being outside the error threshold, updating the weight and threshold of the second prediction model;
[0117] In response to the error of the second prediction model being within the error range, the second prediction model outputs third power data.
[0118] In some embodiments, the third module 30 is specifically used for:
[0119] A third population is obtained by updating the second population to a specified number of generations based on a genetic algorithm.
[0120] In some embodiments, the first module 10 is specifically used for:
[0121] Before constructing the first prediction model, data normalization processing is performed on the second power data.
[0122] In some embodiments, the fourth module 40 is specifically used for:
[0123] Before performing wavelet reconstruction on the plurality of third power data, the third power data are subjected to denormalization processing.
[0124] The present application has introduced in detail a method and device for predicting peak power of a battery provided in an embodiment of the present application. Specific examples are used herein to illustrate the principle and implementation mode of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for technicians in this field, according to the idea of the present application, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for predicting peak power of a battery, characterized in that: include: Determine a plurality of first power data, perform wavelet decomposition on the first power data, and obtain a plurality of categories of second power data; the first power data is known peak power data; determining a plurality of data groups, wherein the data groups include a plurality of second power data of the same category; In the data group, a first prediction model is constructed based on the second power data and the detection data for predicting the peak power; a weight and a threshold of the first prediction model are optimized based on a genetic algorithm to obtain a second prediction model; and third power data is obtained through the second prediction model; Among the plurality of data groups, wavelet reconstruction is performed on the plurality of third power data to obtain peak power prediction values corresponding to the detection data.
2. The peak power prediction method of a battery according to claim 1, characterized in that: The step of constructing a first prediction model based on the second power data and the detection data for predicting the peak power comprises: Determine input parameters and output parameters, and construct a first prediction model; The input parameters include detection data and second power data for predicting peak power, and the detection data include temperature data, charging state data and internal resistance data of the battery; the output parameters include peak power.
3. The peak power prediction method of a battery according to claim 1, characterized in that: The step of optimizing the weights and thresholds of the first prediction model based on a genetic algorithm comprises: Acquire a first population, the first population comprising a plurality of first individuals, the first individuals being obtained by encoding initial weights and initial thresholds of the first prediction model; Acquire a second population, where the second population is obtained by updating the first population to a specified number of generations based on a genetic algorithm; Determining an optimal weight and an optimal threshold of the first prediction model, wherein the optimal weight and the optimal threshold are obtained by decoding the second population; The initial weight of the first prediction model is updated to an optimal weight, the initial threshold of the first prediction model is updated to an optimal threshold, and a second prediction model is obtained.
4. The peak power prediction method of a battery according to claim 3, characterized in that: The fitness characterization formula in the genetic algorithm includes: Wherein, fitval is the fitness; X is the second power data; Y is the fourth power data, and the fourth power data is obtained by inputting the second power data into the first prediction model; ε is a constant.
5. The peak power prediction method of a battery according to claim 3, characterized in that: The step of acquiring the third power data by using the second prediction model comprises: training the second prediction model based on the second power data and the detection data, and determining an error of the second prediction model; In response to the error of the second prediction model being outside an error threshold, updating the weight and threshold of the second prediction model; In response to the error of the second prediction model being within an error range, the second prediction model outputs the third power data.
6. The peak power prediction method of a battery according to claim 5, characterized in that: The characterization formula of the error of the second prediction model includes: e = |OX|; Wherein, e is the error of the second prediction model; X is the second power data; O is the output value of the second prediction model corresponding to the second power data.
7. The peak power prediction method of a battery according to claim 5, characterized in that: The step of updating the weight and threshold of the second prediction model comprises: A third population is obtained, where the third population is obtained by updating the second population to a specified number of generations based on a genetic algorithm.
8. The peak power prediction method of a battery according to claim 1, characterized in that: The first power data includes historical power data of the battery and / or experimental power data of the battery.
9. The peak power prediction method of a battery according to claim 1, characterized in that: Also includes: Before constructing the first prediction model, performing data normalization processing on the second power data; Before performing wavelet reconstruction on the plurality of third power data, the third power data are subjected to denormalization processing.
10. A peak power prediction device for a battery, characterized in that: include: A first module, wherein the first module is configured to determine a plurality of first power data, perform wavelet decomposition on the first power data, and obtain a plurality of categories of second power data; the first power data is known peak power data; A second module, the second module is configured to determine a plurality of data groups, the data groups comprising a plurality of second power data of the same category; A third module, wherein the third module is configured to construct a first prediction model in the data group based on the second power data and the detection data for predicting the peak power; optimize the weight and threshold of the first prediction model based on a genetic algorithm to obtain a second prediction model; and obtain third power data through the second prediction model; The fourth module is configured to perform wavelet reconstruction on the plurality of the third power data among the plurality of the data groups to obtain the peak power prediction value corresponding to the detection data.
