Battery state prediction method and device, computer equipment and storage medium
By predicting the battery status of new energy vehicles through the neural network model, using initial battery parameters and vehicle internal environment information, the problem of inaccurate battery status prediction in the existing technology is solved, and accurate assessment of the vehicle battery status is achieved.
Patent Information
- Application Number
- CN202410864638.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-08
AI Technical Summary
The accuracy of predicting the battery status of new energy vehicles in the existing technology is low, and the actual status of the vehicle battery cannot be accurately obtained.
By determining the corresponding battery status parameters based on the initial battery parameters of the target vehicle and inputting them into the pre-trained target neural network model, the relative error and average error are obtained to accurately determine the vehicle battery status. The neural network model is trained based on the initial sample parameters of the target vehicle, vehicle internal parameters and usage environment.
It achieves accurate prediction of vehicle battery status, ensures that vehicle battery status can accurately reflect its actual situation, and improves the accuracy of new energy vehicle service life assessment.
Smart Images

Figure CN118744656A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of battery analysis, and in particular to a battery status prediction method, device, computer equipment and storage medium. Background Art
[0002] With the continuous development of new energy technology, more and more new energy vehicles have been produced and put into use; however, as the mileage of new energy vehicles continues to increase, the battery status of vehicle batteries will also be affected to varying degrees;
[0003] How to accurately evaluate the battery status of a vehicle battery has become an important factor in evaluating the service life of new energy vehicles. However, the prediction method of the vehicle battery status in the prior art has low accuracy and cannot accurately obtain the vehicle battery status. Summary of the invention
[0004] Based on this, it is necessary to provide a battery status prediction method, device, computer equipment and storage medium that can accurately obtain the vehicle battery status in response to the above technical problems.
[0005] In a first aspect, the present application provides a battery status prediction method. The method comprises:
[0006] Determining a battery status parameter corresponding to the target vehicle according to the initial battery parameters of the target vehicle;
[0007] Inputting the battery state parameter into a pre-trained target neural network model to obtain a relative error and an average error output by the target neural network model; wherein the target neural network model is trained based on initial sample parameters of the target vehicle, as well as internal vehicle parameters and vehicle usage environment of the target vehicle;
[0008] A vehicle battery state of the target vehicle is determined according to the relative error and the averaged error.
[0009] In one embodiment, the training process of the target neural network model includes:
[0010] Performing data processing on initial sample parameters of the target vehicle to obtain target sample data of the target vehicle;
[0011] Determining a sample state parameter corresponding to the target vehicle according to the target sample data;
[0012] The initial neural network model is trained according to the vehicle internal parameters, the vehicle use environment and the sample state parameters to obtain a trained target neural network model.
[0013] In one embodiment, the data processing of the initial sample parameters of the target vehicle to obtain the target sample data of the target vehicle includes:
[0014] Performing segmentation processing on the initial battery parameter to obtain at least one candidate battery parameter after segmentation;
[0015] Data screening and abnormality removal are performed on each candidate battery parameter to obtain target sample data of the target vehicle.
[0016] In one embodiment, determining the sample state parameter corresponding to the target vehicle according to the target sample data includes:
[0017] Linear regression processing is performed on the target sample data to obtain target sample data of the target vehicle.
[0018] In one embodiment, performing linear regression processing on each candidate battery parameter to obtain target sample data of the target vehicle includes:
[0019] Standardizing each candidate battery parameter to obtain at least one standardized candidate battery parameter;
[0020] Determine the information entropy corresponding to each standardized candidate battery parameter;
[0021] Determine the index weight corresponding to each candidate battery parameter according to the information entropy corresponding to each standardized candidate battery parameter;
[0022] Linear regression processing is performed on each candidate battery parameter according to the indicator weight and the information entropy corresponding to each standardized candidate battery parameter to obtain target sample data of the target vehicle.
[0023] In one embodiment, the initial neural network model is trained according to the vehicle internal parameters, the vehicle use environment and the sample state parameters to obtain the trained target neural network model, including:
[0024] Determining a mapping relationship between an output sequence and an input sequence according to the sample state parameter;
[0025] According to the mapping relationship and the mapping relationship between the input sequence and the model output result, the initial neural network model is trained to obtain a trained candidate neural network model;
[0026] The parameters of the candidate neural network model are adjusted to obtain a trained target neural network model.
[0027] In a second aspect, the present application also provides a battery status prediction device. The device comprises:
[0028] A first determination module, used to determine a battery state parameter corresponding to the target vehicle according to an initial battery parameter of the target vehicle;
[0029] A prediction module, used for inputting the battery state parameter into a pre-trained target neural network model to obtain a relative error and an average error output by the target neural network model; wherein the target neural network model is trained based on initial sample parameters of the target vehicle;
[0030] The second determination module is used to determine the vehicle battery state of the target vehicle according to the relative error and the average error.
[0031] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0032] Determining a battery status parameter corresponding to the target vehicle according to the initial battery parameters of the target vehicle;
[0033] Inputting the battery state parameter into a pre-trained target neural network model to obtain a relative error and an average error output by the target neural network model; wherein the target neural network model is trained based on initial sample parameters of the target vehicle, as well as internal vehicle parameters and vehicle usage environment of the target vehicle;
[0034] A vehicle battery state of the target vehicle is determined according to the relative error and the averaged error.
[0035] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0036] Determining a battery status parameter corresponding to the target vehicle according to the initial battery parameters of the target vehicle;
[0037] Inputting the battery state parameter into a pre-trained target neural network model to obtain a relative error and an average error output by the target neural network model; wherein the target neural network model is trained based on initial sample parameters of the target vehicle, as well as internal vehicle parameters and vehicle usage environment of the target vehicle;
[0038] A vehicle battery state of the target vehicle is determined according to the relative error and the averaged error.
[0039] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0040] Determining a battery status parameter corresponding to the target vehicle according to the initial battery parameters of the target vehicle;
[0041] Inputting the battery state parameter into a pre-trained target neural network model to obtain a relative error and an average error output by the target neural network model; wherein the target neural network model is trained based on initial sample parameters of the target vehicle, as well as internal vehicle parameters and vehicle usage environment of the target vehicle;
[0042] A vehicle battery state of the target vehicle is determined according to the relative error and the averaged error.
[0043] The above-mentioned battery state prediction method, device, computer equipment and storage medium determine the battery state parameters corresponding to the target vehicle according to the initial battery parameters of the target vehicle; input the battery state parameters into the pre-trained target neural network model to obtain the relative error and average error output by the target neural network model, and then determine the vehicle battery state of the target vehicle according to the relative error and average error. According to the above content, it can be seen that when determining the battery state, the present application will determine the battery state parameters corresponding to the target vehicle according to the initial battery parameters of the target vehicle; then, the battery state parameters are input into the target neural network model to achieve the determination of the vehicle battery state of the target vehicle according to the relative error and average error output by the target neural network model. Since the target neural network model is trained according to the initial sample parameters of the target vehicle, as well as the internal parameters of the target vehicle and the vehicle use environment, the relative error and average error output by the target neural network model can accurately reflect the battery state of the target vehicle, and then, the vehicle battery state of the target vehicle is determined according to the relative error and average error; the prediction accuracy of the vehicle battery state is guaranteed, and the vehicle battery state can accurately reflect the actual situation of the vehicle battery. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] FIG1 is an application environment diagram of a battery state prediction method in one embodiment;
[0045] FIG2 is a schematic diagram of a flow chart of a first battery state prediction method in one embodiment;
[0046] FIG3 is a schematic diagram of a flow chart of a second battery state prediction method in one embodiment;
[0047] FIG4 is a schematic diagram of a flow chart of a third battery status prediction method in one embodiment;
[0048] FIG5 is a structural block diagram of a battery state prediction device in one embodiment;
[0049] FIG. 6 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0051] It is understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. In the description of the present application, the description of the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily have to be directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples without contradicting each other.
[0052] The battery state prediction method provided in the embodiment of the present application can be applied in the application environment shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. According to the initial battery parameters of the target vehicle, the battery state parameters corresponding to the target vehicle are determined; the battery state parameters are input into the pre-trained target neural network model to obtain the relative error and average error output by the target neural network model, and then, according to the relative error and average error, the vehicle battery state of the target vehicle is determined. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0053] In one embodiment, as shown in FIG. 2 , a battery status prediction method is provided, and the method is applied to the terminal 102 in FIG. 1 as an example for description, including the following steps:
[0054] S201, determining battery status parameters corresponding to the target vehicle according to initial battery parameters of the target vehicle.
[0055] Among them, the initial battery parameters refer to the relevant parameters of the target vehicle during the driving and charging process; specifically, the initial battery parameters may include charging data in the parking state and discharging data in the driving state.
[0056] In one embodiment of the present application, when it is necessary to determine the battery status parameters corresponding to the target vehicle, the abnormal parameters of the initial battery parameters can be removed in advance, and the parameters can be segmented in the initial battery parameters according to the preset identification information to obtain at least one candidate battery information corresponding to the identification information after segmentation; then, the data in each candidate battery data whose data length is less than the preset length is deleted to obtain the target battery parameters corresponding to the target vehicle.
[0057] Furthermore, the target battery parameters can be used to determine the mileage capability, incremental capacity, battery voltage difference, and battery temperature difference; the four indicators describe the battery changes within the charging and discharging data segment, where mileage capability describes the changes in battery performance in the discharge segment, incremental capacity describes the battery degradation in the charging segment, and battery voltage difference and battery temperature difference describe the change trend of the inconsistency of battery cells in all segments. According to the change trend of each data, linear regression fitting combined with the entropy weight method is performed to determine the battery status parameters corresponding to the target vehicle.
[0058] S202, inputting the battery status parameters into a pre-trained target neural network model to obtain a relative error and an average error output by the target neural network model.
[0059] Among them, the target neural network model is trained based on the initial sample parameters of the target vehicle, as well as the internal vehicle parameters and vehicle usage environment of the target vehicle.
[0060] S203, determining the vehicle battery state of the target vehicle according to the relative error and the average error.
[0061] In one embodiment of the present application, a first mapping relationship corresponding to a relative error and an average error may be pre-specified, wherein the first mapping relationship records at least one candidate relative error and at least one candidate battery state corresponding to the candidate average error; then, the candidate relative error and the candidate average error corresponding to the relative error and the average error in each candidate relative error and each candidate average error are used as reference relative errors and reference average errors; the candidate battery state corresponding to the reference relative error and the reference average error in the first mapping relationship is used as the vehicle battery state of the target vehicle.
[0062] Among them, at least one candidate relative error and at least one candidate average error recorded in the first mapping relationship can be in the form of an interval, that is, when the relative error and the average error belong to the interval of a certain candidate relative error and a certain candidate average error, it can be determined that the relative error and the average error correspond to the candidate relative error and the candidate average error.
[0063] In one embodiment of the present application, when it is necessary to determine the vehicle battery status of the target vehicle, the error difference between the relative error and the average error can be determined, and then, a second mapping relationship corresponding to a predetermined error difference is determined; wherein the second mapping relationship records a candidate battery status corresponding to at least one candidate error difference; and then, the candidate error difference in each candidate error difference that is the same as the error difference is used as a reference error difference, and then, the candidate battery status corresponding to the reference error difference in the second mapping relationship is used as the vehicle battery status of the target vehicle.
[0064] Among them, at least one candidate relative error and at least one candidate average error recorded in the first mapping relationship can be in the form of an interval, that is, when the relative error and the average error belong to the interval of a certain candidate relative error and a certain candidate average error, it can be determined that the relative error and the average error correspond to the candidate relative error and the candidate average error.
[0065] The above-mentioned battery state prediction method determines the battery state parameters corresponding to the target vehicle according to the initial battery parameters of the target vehicle; inputs the battery state parameters into the pre-trained target neural network model to obtain the relative error and average error output by the target neural network model, and then, according to the relative error and average error, determines the vehicle battery state of the target vehicle. According to the above content, the present application will determine the battery state parameters corresponding to the target vehicle according to the initial battery parameters of the target vehicle when determining the battery state; then, the battery state parameters are input into the target neural network model to achieve the determination of the vehicle battery state of the target vehicle according to the relative error and average error output by the target neural network model. Since the target neural network model is trained according to the initial sample parameters of the target vehicle, as well as the internal parameters of the target vehicle and the vehicle use environment, the relative error and average error output by the target neural network model can accurately reflect the battery state of the target vehicle, and then, according to the relative error and average error, the vehicle battery state of the target vehicle is determined; the prediction accuracy of the vehicle battery state is guaranteed, and the vehicle battery state can accurately reflect the actual situation of the vehicle battery.
[0066] In one embodiment, as shown in FIG3 , the training process of the target neural network model may specifically include the following contents:
[0067] S301, performing data processing on initial sample parameters of the target vehicle to obtain target sample data of the target vehicle.
[0068] It should be noted that when data processing is required for the initial sample parameters of the target vehicle, it may specifically include the following: segmenting the initial battery parameters to obtain at least one candidate battery parameter after segmentation; performing data screening and anomaly removal on each candidate battery parameter to obtain the target sample data of the target vehicle.
[0069] In one embodiment of the present application, the initial sample parameters may include charging data in a parking state, and discharging data in a driving state, etc. Therefore, the screening conditions for charging data can be determined as follows: the current is negative ('t_current<0'), the vehicle is in a parking charging state ('c_stat'=1), and the vehicle is stationary ('speed'=0); the screening conditions for discharging data can be determined as follows: the current is non-negative ('t_current>=0'), and the vehicle is in a starting state ('status=1'). Furthermore, after the initial sample parameters are determined according to the above screening conditions, the initial sample parameters are cut into independent segments according to the change in the battery SOC, and the segments with a segment length less than 10 and an SOC change less than 20, as well as abnormal voltage or current changes, are deleted to obtain the target sample data.
[0070] Furthermore, in order to further ensure that the target neural network model can be successfully trained in the future, the interpolation method can be used to fill in the target sample data with missing samples and inaccurate collection time, so that the time interval between two adjacent data is within the preset time range (for example, 10 to 20 seconds).
[0071] S302: Determine sample state parameters corresponding to the target vehicle according to the target sample data.
[0072] To further illustrate, when determining the sample state parameters corresponding to the target vehicle based on the target sample data, the following contents may be included: performing linear regression processing on the target sample data to obtain the target sample data of the target vehicle.
[0073] Among them, the target battery parameters can be used to determine four data items: mileage capability, incremental capacity, battery voltage difference, and battery temperature difference; the four indicators describe the battery changes within the charging and discharging data segments, among which mileage capability describes the changes in battery performance in the discharge segment, incremental capacity describes the battery degradation in the charging segment, and battery voltage difference and battery temperature difference describe the changing trend of the inconsistency of battery cells in all segments.
[0074] Specifically, each candidate battery parameter is standardized to obtain at least one standardized candidate battery parameter; the information entropy corresponding to each standardized candidate battery parameter is determined; the indicator weight corresponding to each candidate battery parameter is determined according to the information entropy corresponding to each standardized candidate battery parameter; linear regression is performed on each candidate battery parameter according to the indicator weight and the information entropy corresponding to each standardized candidate battery parameter to obtain target sample data of the target vehicle.
[0075] In one embodiment of the present application, each candidate battery parameter is standardized, that is, the mileage capability, incremental capacity, battery voltage difference and battery temperature difference determined according to the target battery parameters are standardized. The mileage capability and incremental capacity can be standardized by calculation formula (1); the battery voltage difference and battery temperature difference are standardized according to calculation formula (2); and the processing results obtained by calculation formula (1) and calculation formula (2) are normalized according to calculation formula (3) to obtain the standardized candidate battery parameters.
[0076] Among them, calculation formula (1), calculation formula (2) and calculation formula (3) are as follows:
[0077] (1)
[0078] (2)
[0079] (3)
[0080] Among them, X ij is the i-th parameter of the j-th indicator, is the maximum value of the indicator sequence, is the minimum value of the indicator sequence, The result of standardization.
[0081] In one embodiment of the present application, the information entropy corresponding to each standardized candidate battery parameter can be determined by calculating formula (4).
[0082] The calculation formula (4) is as follows:
[0083] (4)
[0084] Among them, y ij is the indicator weight of the standard value of the i-th parameter of the j-th indicator, E j is the entropy value of the jth indicator, n is the number of indicators, and to ensure that the information entropy value range is [0,1], the k value is usually taken as .
[0085] In one embodiment of the present application, the indicator weight corresponding to each candidate battery parameter can be determined according to calculation formula (5) and calculation formula (6) based on the information entropy corresponding to each standardized candidate battery parameter.
[0086] Among them, calculation formula (5) and calculation formula (6) are as follows:
[0087] (5)
[0088] (6)
[0089] Among them, G represents the degree of differentiation of a certain indicator value, k is a constant, the greater the difference, the greater the G, the greater the weight of the indicator, conversely, the smaller the difference, the smaller the G, the smaller the weight of the indicator.
[0090] In one embodiment of the present application, according to calculation formula (7) and calculation formula (8), linear regression processing can be performed on each candidate battery parameter according to the indicator weight and the information entropy corresponding to each standardized candidate battery parameter to obtain target sample data of the target vehicle.
[0091] Among them, calculation formula (7) and calculation formula (8) are as follows:
[0092] (7)
[0093] (8)
[0094] Among them, S j Represents the target sample data of the target vehicle; SOH MCA Indicates mileage capability; SOH ICA Indicates incremental capacity; SOH CVDA Indicates battery voltage difference; SOH CTDA Indicates battery temperature difference.
[0095] S303, training the initial neural network model according to the vehicle internal parameters, the vehicle use environment and the sample state parameters to obtain a trained target neural network model.
[0096] It should be noted that when it is necessary to perform model training on the initial neural network model, it may specifically include the following contents: determine the mapping relationship between the output sequence and the input sequence according to the sample state parameters; perform model training on the initial neural network model according to the mapping relationship and the mapping relationship between the input sequence and the model output result to obtain a trained candidate neural network model; adjust the parameters of the candidate neural network model to obtain a trained target neural network model.
[0097] In one embodiment of the present application, a normalized input sequence X is used.s And the input sequence X after superimposing Gaussian noise s , The encoding output matrix Y is calculated by formula (9), and the decoding output matrix is calculated by formula (10) , and then use decoding to map the data dimension back to the input data dimension.
[0098] Among them, calculation formula (9) and calculation formula (10) are as follows:
[0099] (9)
[0100] (10)
[0101] Among them, σ, W, b represent the activation function, weight matrix, and bias matrix of the encoder respectively, σ , , W , , b , They represent the activation function, weight matrix, and bias matrix of the decoder respectively.
[0102] In one embodiment of the present application, the decoded data can be input into the LSTM neural network according to calculation formula (11) to calculation formula (16) to establish a mapping from the input sequence to the output sequence; so as to select the input variables of the network for battery status prediction.
[0103] Among them, calculation formula (11)-calculation formula (16) are as follows:
[0104] (11)
[0105] (12)
[0106] (13)
[0107] (14)
[0108] (15)
[0109] (16)
[0110] Among them, H t-1 is the parameter at the previous moment, x t is the current input parameter, W is the weight, b is the bias, ft is the value of the forget gate, i t and c t ~ are the values calculated by the sigmoid function and the activation function, respectively, c t The updated value in the cell state, o t and h tare the output value and output respectively.
[0111] In one embodiment of the present application, the vehicle internal parameters and vehicle usage environment may include but are not limited to: vehicle speed, current, voltage, SOC, battery cell temperature, battery cell voltage, maximum and minimum ambient temperatures, etc.
[0112] In one embodiment of the present application, when it is necessary to adjust the parameters of the candidate neural network model to obtain the trained target neural network model, the hyperparameters of the candidate neural network model can be set: epoch=200, batch size=24, Adam is selected as the optimizer, the learning rate is set to 0.001, and tanh is used as the activation function. To verify the robustness of the model, while setting the hyperparameters, Gaussian white noise with a mean of 0 and an average standard deviation of 5% is additionally added to the input data sequence, and 10% of the original data is divided as a test set and input into the candidate neural network model for online estimation of battery SOH.
[0113] Furthermore, the relative error and the average error can be determined by calculating formula (17) and formula (18);
[0114] Among them, calculation formula (17) and calculation formula (18) are as follows:
[0115] (17)
[0116] (18)
[0117] Among them, RE refers to relative error, MSE refers to mean square error, n represents the length of the sequence, T represents the length of the sample generated from the sequence for training, and y represents the true value. Represents the predicted value.
[0118] The above-mentioned battery status prediction method determines the sample status parameters corresponding to the target vehicle by performing data processing on the initial sample parameters of the target vehicle, and then trains the initial neural network model according to the internal parameters of the vehicle, the vehicle usage environment and the sample status parameters to obtain the trained target neural network model; thus, the prediction accuracy of the vehicle battery status is ensured, and the vehicle battery status can accurately reflect the actual situation of the vehicle battery.
[0119] In one embodiment, as shown in FIG4 , when it is necessary to train a target neural network model, the following contents may be specifically included:
[0120] S401, performing segmentation processing on the initial battery parameter to obtain at least one candidate battery parameter after segmentation.
[0121] S402, performing data screening and abnormality removal on each candidate battery parameter to obtain target sample data of the target vehicle.
[0122] S403, performing standardization processing on each candidate battery parameter to obtain at least one standardized candidate battery parameter.
[0123] S404, determining the information entropy corresponding to each standardized candidate battery parameter.
[0124] S405 , determining the indicator weight corresponding to each candidate battery parameter according to the information entropy corresponding to each standardized candidate battery parameter.
[0125] S406 , performing linear regression processing on each candidate battery parameter according to the indicator weight and the information entropy corresponding to each standardized candidate battery parameter to obtain target sample data of the target vehicle.
[0126] S407: Determine a mapping relationship between the output sequence and the input sequence according to the sample state parameters.
[0127] S408, performing model training on the initial neural network model according to the mapping relationship and the mapping relationship between the input sequence and the model output result, to obtain a trained candidate neural network model.
[0128] S409, adjusting parameters of the candidate neural network model to obtain a trained target neural network model.
[0129] The above-mentioned battery state prediction method determines the battery state parameters corresponding to the target vehicle according to the initial battery parameters of the target vehicle; inputs the battery state parameters into the pre-trained target neural network model to obtain the relative error and average error output by the target neural network model, and then, according to the relative error and average error, determines the vehicle battery state of the target vehicle. According to the above content, the present application will determine the battery state parameters corresponding to the target vehicle according to the initial battery parameters of the target vehicle when determining the battery state; then, the battery state parameters are input into the target neural network model to achieve the determination of the vehicle battery state of the target vehicle according to the relative error and average error output by the target neural network model. Since the target neural network model is trained according to the initial sample parameters of the target vehicle, as well as the internal parameters of the target vehicle and the vehicle use environment, the relative error and average error output by the target neural network model can accurately reflect the battery state of the target vehicle, and then, according to the relative error and average error, the vehicle battery state of the target vehicle is determined; the prediction accuracy of the vehicle battery state is guaranteed, and the vehicle battery state can accurately reflect the actual situation of the vehicle battery.
[0130] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0131] Based on the same inventive concept, the embodiment of the present application also provides a battery state prediction device for implementing the battery state prediction method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more battery state prediction device embodiments provided below can refer to the limitations of the battery state prediction method above, and will not be repeated here.
[0132] In one embodiment, as shown in FIG5 , a battery state prediction device is provided, comprising: a first determination module 10 , a prediction module 20 , and a second determination module 30 , wherein:
[0133] The first determination module 10 is used to determine the battery state parameters corresponding to the target vehicle according to the initial battery parameters of the target vehicle.
[0134] The prediction module 20 is used to input the battery status parameters into a pre-trained target neural network model to obtain the relative error and average error output by the target neural network model; wherein the target neural network model is trained based on the initial sample parameters of the target vehicle, as well as the internal vehicle parameters and vehicle usage environment of the target vehicle.
[0135] The second determination module 30 is used to determine the vehicle battery state of the target vehicle according to the relative error and the average error.
[0136] In one embodiment, data processing is performed on initial sample parameters of the target vehicle to obtain target sample data of the target vehicle;
[0137] Determine the sample state parameters corresponding to the target vehicle according to the target sample data;
[0138] The initial neural network model is trained according to the vehicle internal parameters, the vehicle usage environment and the sample state parameters to obtain the trained target neural network model.
[0139] In one embodiment, the initial battery parameter is segmented to obtain at least one candidate battery parameter after segmentation;
[0140] Data screening and anomaly removal are performed on each candidate battery parameter to obtain target sample data for the target vehicle.
[0141] In one embodiment, linear regression processing is performed on the target sample data to obtain target sample data of the target vehicle.
[0142] In one embodiment, each candidate battery parameter is standardized to obtain at least one standardized candidate battery parameter;
[0143] Determine the information entropy corresponding to each standardized candidate battery parameter;
[0144] Determine the index weight corresponding to each candidate battery parameter according to the information entropy corresponding to each standardized candidate battery parameter;
[0145] According to the index weight and the information entropy corresponding to each standardized candidate battery parameter, linear regression processing is performed on each candidate battery parameter to obtain the target sample data of the target vehicle.
[0146] In one embodiment, a mapping relationship between an output sequence and an input sequence is determined according to the sample state parameter;
[0147] According to the mapping relationship and the mapping relationship between the input sequence and the model output result, the initial neural network model is trained to obtain a trained candidate neural network model;
[0148] The parameters of the candidate neural network model are adjusted to obtain the trained target neural network model.
[0149] Each module in the above-mentioned battery status prediction device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0150] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG6. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a battery state prediction method is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0151] Those skilled in the art will understand that the structure shown in FIG. 6 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0152] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0153] Determine the battery status parameters corresponding to the target vehicle according to the initial battery parameters of the target vehicle;
[0154] Inputting the battery state parameters into a pre-trained target neural network model to obtain a relative error and an average error output by the target neural network model; wherein the target neural network model is trained based on initial sample parameters of the target vehicle, as well as internal vehicle parameters and vehicle usage environment of the target vehicle;
[0155] The vehicle battery state of the target vehicle is determined based on the relative error and the average error.
[0156] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0157] Performing data processing on the initial sample parameters of the target vehicle to obtain target sample data of the target vehicle;
[0158] Determine the sample state parameters corresponding to the target vehicle according to the target sample data;
[0159] The initial neural network model is trained according to the vehicle internal parameters, the vehicle usage environment and the sample state parameters to obtain the trained target neural network model.
[0160] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0161] Performing segmentation processing on the initial battery parameter to obtain at least one candidate battery parameter after segmentation;
[0162] Data screening and anomaly removal are performed on each candidate battery parameter to obtain target sample data for the target vehicle.
[0163] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0164] Perform linear regression processing on the target sample data to obtain the target sample data of the target vehicle.
[0165] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0166] Standardizing each candidate battery parameter to obtain at least one standardized candidate battery parameter;
[0167] Determine the information entropy corresponding to each standardized candidate battery parameter;
[0168] Determine the indicator weight corresponding to each candidate battery parameter according to the information entropy corresponding to each standardized candidate battery parameter;
[0169] According to the index weight and the information entropy corresponding to each standardized candidate battery parameter, linear regression processing is performed on each candidate battery parameter to obtain the target sample data of the target vehicle.
[0170] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0171] According to the sample state parameters, determine the mapping relationship between the output sequence and the input sequence;
[0172] According to the mapping relationship and the mapping relationship between the input sequence and the model output result, the initial neural network model is trained to obtain a trained candidate neural network model;
[0173] The parameters of the candidate neural network model are adjusted to obtain the trained target neural network model.
[0174] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0175] Determine the battery status parameters corresponding to the target vehicle according to the initial battery parameters of the target vehicle;
[0176] Inputting the battery state parameters into a pre-trained target neural network model to obtain a relative error and an average error output by the target neural network model; wherein the target neural network model is trained based on initial sample parameters of the target vehicle, as well as internal vehicle parameters and vehicle usage environment of the target vehicle;
[0177] The vehicle battery state of the target vehicle is determined based on the relative error and the average error.
[0178] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0179] Performing data processing on the initial sample parameters of the target vehicle to obtain target sample data of the target vehicle;
[0180] Determine the sample state parameters corresponding to the target vehicle according to the target sample data;
[0181] The initial neural network model is trained according to the vehicle internal parameters, the vehicle usage environment and the sample state parameters to obtain the trained target neural network model.
[0182] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0183] Performing segmentation processing on the initial battery parameter to obtain at least one candidate battery parameter after segmentation;
[0184] Data screening and anomaly removal are performed on each candidate battery parameter to obtain target sample data for the target vehicle.
[0185] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0186] Perform linear regression processing on the target sample data to obtain the target sample data of the target vehicle.
[0187] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0188] Standardizing each candidate battery parameter to obtain at least one standardized candidate battery parameter;
[0189] Determine the information entropy corresponding to each standardized candidate battery parameter;
[0190] Determine the indicator weight corresponding to each candidate battery parameter according to the information entropy corresponding to each standardized candidate battery parameter;
[0191] According to the index weight and the information entropy corresponding to each standardized candidate battery parameter, linear regression processing is performed on each candidate battery parameter to obtain the target sample data of the target vehicle.
[0192] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0193] According to the sample state parameters, determine the mapping relationship between the output sequence and the input sequence;
[0194] According to the mapping relationship and the mapping relationship between the input sequence and the model output result, the initial neural network model is trained to obtain a trained candidate neural network model;
[0195] The parameters of the candidate neural network model are adjusted to obtain the trained target neural network model.
[0196] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0197] Determine the battery status parameters corresponding to the target vehicle according to the initial battery parameters of the target vehicle;
[0198] Inputting the battery state parameters into a pre-trained target neural network model to obtain a relative error and an average error output by the target neural network model; wherein the target neural network model is trained based on initial sample parameters of the target vehicle, as well as internal vehicle parameters and vehicle usage environment of the target vehicle;
[0199] The vehicle battery state of the target vehicle is determined based on the relative error and the average error.
[0200] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0201] Performing data processing on the initial sample parameters of the target vehicle to obtain target sample data of the target vehicle;
[0202] Determine the sample state parameters corresponding to the target vehicle according to the target sample data;
[0203] The initial neural network model is trained according to the vehicle internal parameters, the vehicle usage environment and the sample state parameters to obtain the trained target neural network model.
[0204] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0205] Performing segmentation processing on the initial battery parameter to obtain at least one candidate battery parameter after segmentation;
[0206] Data screening and anomaly removal are performed on each candidate battery parameter to obtain target sample data for the target vehicle.
[0207] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0208] Perform linear regression processing on the target sample data to obtain the target sample data of the target vehicle.
[0209] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0210] Standardizing each candidate battery parameter to obtain at least one standardized candidate battery parameter;
[0211] Determine the information entropy corresponding to each standardized candidate battery parameter;
[0212] Determine the index weight corresponding to each candidate battery parameter according to the information entropy corresponding to each standardized candidate battery parameter;
[0213] According to the index weight and the information entropy corresponding to each standardized candidate battery parameter, linear regression processing is performed on each candidate battery parameter to obtain the target sample data of the target vehicle.
[0214] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0215] According to the sample state parameters, a mapping relationship between the output sequence and the input sequence is determined;
[0216] According to the mapping relationship and the mapping relationship between the input sequence and the model output result, the initial neural network model is trained to obtain a trained candidate neural network model;
[0217] The parameters of the candidate neural network model are adjusted to obtain the trained target neural network model.
[0218] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0219] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0220] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0221] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A battery status prediction method, characterized in that: The method comprises: Determining a battery status parameter corresponding to the target vehicle according to the initial battery parameters of the target vehicle; Inputting the battery state parameter into a pre-trained target neural network model to obtain a relative error and an average error output by the target neural network model; wherein the target neural network model is trained based on initial sample parameters of the target vehicle, as well as internal vehicle parameters and vehicle usage environment of the target vehicle; A vehicle battery state of the target vehicle is determined according to the relative error and the averaged error.
2. The method according to claim 1, characterized in that The training process of the target neural network model includes: Performing data processing on initial sample parameters of the target vehicle to obtain target sample data of the target vehicle; Determining a sample state parameter corresponding to the target vehicle according to the target sample data; The initial neural network model is trained according to the vehicle internal parameters, the vehicle use environment and the sample state parameters to obtain a trained target neural network model.
3. The method according to claim 2, characterized in that The data processing of the initial sample parameters of the target vehicle to obtain the target sample data of the target vehicle includes: Performing segmentation processing on the initial battery parameter to obtain at least one candidate battery parameter after segmentation; Data screening and abnormality removal are performed on each candidate battery parameter to obtain target sample data of the target vehicle.
4. The method according to claim 2, characterized in that: Determining the sample state parameter corresponding to the target vehicle according to the target sample data includes: Linear regression processing is performed on the target sample data to obtain target sample data of the target vehicle.
5. The method according to claim 4, characterized in that The linear regression process is performed on each candidate battery parameter to obtain target sample data of the target vehicle, including: Standardizing each candidate battery parameter to obtain at least one standardized candidate battery parameter; Determine the information entropy corresponding to each standardized candidate battery parameter; Determine the index weight corresponding to each candidate battery parameter according to the information entropy corresponding to each standardized candidate battery parameter; Linear regression processing is performed on each candidate battery parameter according to the indicator weight and the information entropy corresponding to each standardized candidate battery parameter to obtain target sample data of the target vehicle.
6. The method according to claim 2, characterized in that The method of training the initial neural network model according to the vehicle internal parameters, the vehicle use environment and the sample state parameters to obtain a trained target neural network model includes: Determining a mapping relationship between an output sequence and an input sequence according to the sample state parameter; According to the mapping relationship and the mapping relationship between the input sequence and the model output result, the initial neural network model is trained to obtain a trained candidate neural network model; The parameters of the candidate neural network model are adjusted to obtain a trained target neural network model.
7. A battery status prediction device, characterized in that: The device comprises: A first determination module, used to determine a battery state parameter corresponding to the target vehicle according to an initial battery parameter of the target vehicle; A prediction module, used for inputting the battery state parameter into a pre-trained target neural network model to obtain a relative error and an average error output by the target neural network model; wherein the target neural network model is trained based on initial sample parameters of the target vehicle, as well as internal vehicle parameters and vehicle use environment of the target vehicle; The second determination module is used to determine the vehicle battery state of the target vehicle according to the relative error and the average error.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
