Charging parameter determination method and apparatus, controller, and storage medium
By constructing a multi-objective function and a predictive model, the battery temperature and charging time during the battery charging process are optimized, solving the problem of excessively high battery temperature caused by fast charging, achieving safe and efficient charging control, extending battery life and improving vehicle safety.
Patent Information
- Application Number
- PCT/CN2026/072683
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-21
- Filing Date
- 2026-01-15
- Publication Date
- 2026-11-26
AI Technical Summary
Existing battery charging strategies, in pursuit of fast charging, can easily lead to excessively high battery temperatures, affecting battery performance and posing safety hazards, and have failed to effectively optimize charging time.
By constructing a multi-objective function, combining a prediction model and a thermal management device, the battery temperature and charging time are optimized. The prediction model is used to predict battery temperature-related parameters, and the parameters of the thermal management and charging devices are adjusted according to the objective function to control the battery temperature within a safe range and optimize the charging process.
This achieves the goal of optimizing charging time while maintaining battery temperature within a safe and efficient range, thereby extending battery life and improving overall vehicle safety.
Smart Images

Figure CN2026072683_26112026_PF_FP_ABST
Abstract
Description
Methods and apparatus for determining charging parameters, controller and storage medium Cross-references to related applications
[0000] This application claims priority to Chinese Patent Application No. 202510659354.5, filed on May 21, 2025, entitled “Method, Apparatus, Computer Equipment and Storage Medium for Determining Charging Parameters”, the entire contents of which are incorporated herein by reference. Technical Field
[0001] This application relates to, but is not limited to, the field of battery technology, and in particular to a method and apparatus for determining charging parameters, a controller, and a storage medium. Background Technology
[0002] As the number of electric vehicles on the road increases, users are becoming more and more eager to shorten charging time. At the same time, advancements in battery materials have made the development of fast charging technology possible. Summary of the Invention
[0003] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of the claims.
[0004] This application provides a method, apparatus, controller, and storage medium for determining charging parameters that can optimize charging time while controlling the battery temperature within a suitable operating range.
[0005] In a first aspect, embodiments of this application provide a method for determining charging parameters, applied to a thermal management device for thermal management of a battery, comprising: acquiring measured values of a first type of parameter for the battery at the current sampling point, wherein the first type of parameter includes temperature-related parameters of the battery; using a prediction model, obtaining predicted values of the first type of parameter based on the current values of a second type of parameter for the thermal management device and the measured values of the first type of parameter, wherein the second type of parameter includes thermal management control parameters related to the thermal management device controlling the temperature of the battery; and determining optimized values of the second type of parameter based on the predicted values of the first type of parameter and an objective function, wherein the objective function is constructed based on the charging time determined according to the temperature-related parameters of the battery.
[0006] In one embodiment, the temperature-related parameters of the battery include the highest and lowest temperature values among the temperature values of each individual battery cell. The first type of parameters also includes the battery state of charge. Determining the optimized value of the second type of parameters based on the predicted values of the first type of parameters and the objective function includes: determining the charging time based on the predicted values of the highest and lowest temperatures of the individual battery cells; determining the target temperature based on the predicted values of the highest and lowest temperatures of the individual battery cells; determining the value of the objective function based on the target temperature and the charging time; adjusting the value of the second type of parameters; and returning to the step of using the prediction model to obtain the predicted value of the first type of parameters based on the current value of the second type of parameters for the thermal management device and the measured value of the first type of parameters, and performing multiple iterations until the number of iterations reaches a preset number, to obtain the optimized value of the second type of parameters. The optimized value of the second type of parameters is the value of the second type of parameters when the value of the objective function is minimized.
[0007] In one embodiment, the second type of parameters includes parameter values at each sampling point within a preset time period, and the predicted values of the first type of parameters include the predicted values corresponding to each sampling point. Using a prediction model, the predicted values of the first type of parameters are obtained based on the current values of the second type of parameters for the thermal management device and the measured values of the first type of parameters. This includes: using a prediction model, determining the value of the first type of parameters at the next sampling point based on the measured values of the first type of parameters at the current sampling point and the values of the second type of parameters at the current sampling point, until the last sampling point within the preset time period, to obtain the predicted values corresponding to each sampling point.
[0008] In one embodiment, the first type of parameters further includes the battery state of charge (SOC), the second type of parameters further includes the charging current, and the thermal management control parameters include the flow rate and temperature of the cooling medium. Using a predictive model, the values of the first type of parameters at the next sampling point are determined based on the measured values of the first type of parameters at the current sampling point and the values of the second type of parameters at the current sampling point. This includes: determining the battery's heat generation based on the charging current corresponding to the current sampling point; determining the battery's thermal management heat transfer based on the charging current, the flow rate and temperature of the cooling medium corresponding to the current sampling point; using the predictive model, determining the values of the battery's temperature-related parameters corresponding to the next sampling point based on the heat generation and thermal management heat transfer; and using the predictive model, determining the battery's SOC corresponding to the next sampling point based on the battery SOC, the charging current, and the battery's rated capacity at the current sampling point.
[0009] In one embodiment, the second type of parameter further includes charging current, and the charging parameter determination method further includes: controlling the operation of the charging device according to the optimized value of the charging current, so as to control the charging process of the charging device on the battery.
[0010] In one embodiment, the optimized values of the second type of parameters include the optimized values corresponding to each sampling point within a preset time. Controlling the charging device operation based on the optimized values of the charging current to control the charging process of the battery includes: querying a preset data table based on the value of the first type of parameter at the next sampling point to obtain a calibration current, wherein the preset data table records the mapping relationship between the values of the first type of parameters and the calibration current; taking the smaller value of the calibration current and the optimized value of the charging current corresponding to the next sampling point to obtain a target control current; and controlling the charging device operation based on the target control current to control the charging process of the battery.
[0011] In one embodiment, the charging parameter determination method further includes: determining the temperature range of the cooling medium based on the average temperature of each battery cell in the battery and the optimized value of the temperature of the cooling medium at the previous sampling point; wherein, the step of determining the optimized value of the temperature of the cooling medium includes: determining the optimized value of the temperature of the cooling medium at the current sampling point based on the temperature range of the cooling medium, the predicted value of the first type of parameter, and the objective function.
[0012] Secondly, embodiments of this application provide a charging parameter determination device, comprising: an acquisition module configured to acquire measured values of a first type of parameter for the battery at the current sampling point, wherein the first type of parameter includes temperature-related parameters of the battery; a prediction module configured to use a prediction model to obtain predicted values of the first type of parameter based on the current values of a second type of parameter for the thermal management device and the measured values of the first type of parameter, wherein the second type of parameter includes thermal management control parameters related to the thermal management device controlling the temperature of the battery; and an optimization module configured to determine optimized values of the second type of parameter based on the predicted values of the first type of parameter and an objective function, wherein the objective function is constructed based on the charging time determined according to the temperature-related parameters of the battery.
[0013] In a third aspect, embodiments of this application provide a controller, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the charging parameter determination method provided in any embodiment of the first aspect of this application.
[0014] In a fourth aspect, embodiments of this application provide a vehicle including a controller as described in the third aspect.
[0015] In a fifth aspect, embodiments of this application provide a charging device, including a controller as described in the third aspect.
[0016] In a sixth aspect, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the charging parameter determination method provided in any embodiment of the first aspect of this application.
[0017] After reading and understanding the accompanying diagrams and detailed descriptions, other aspects can be understood. Attached Figure Description
[0018] The accompanying drawings are used to provide a further understanding of the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application and do not constitute a limitation on the technical solutions of this application.
[0019] Figure 1 is an application environment diagram of the charging parameter determination method in some embodiments of this application.
[0020] Figure 2 is a flowchart illustrating the charging parameter determination method in some embodiments of this application.
[0021] Figure 3 is a schematic diagram of the internal processing flow of the prediction model in some embodiments of this application.
[0022] Figure 4 is a structural block diagram of a charging parameter determination device in some embodiments of this application.
[0023] Figure 5 is an internal structure diagram of the controller in some embodiments of this application. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0025] While fast charging can quickly replenish a vehicle's power to meet the needs of long-distance travel, it also presents a significant problem: the heat generated during charging can cause the battery temperature to rise excessively, affecting battery performance, shortening battery life, and posing safety hazards. Therefore, achieving fast charging while simultaneously controlling battery temperature within a reasonable range is a pressing issue that needs to be addressed.
[0026] Current battery charging strategies are mostly constant current and constant voltage charging. This method mechanically uses a certain gradient current for charging, and the pursuit of fast charging alone can easily accelerate battery aging, shorten battery life, and even have the opposite effect of longer charging time.
[0027] This application provides a method and apparatus for determining charging parameters, a controller, a vehicle, a charging device, and a computer-readable storage medium.
[0028] Please refer to Figure 1, which is a schematic diagram of the application environment of a charging parameter determination method provided by an exemplary embodiment of this application. As shown in Figure 1, the application environment includes a controller 100, a battery 101, a thermal management device 102, and a charging device 103. The controller 100 is connected to the battery 101, the thermal management device 102, and the charging device 103, respectively. The battery 101 is connected to the thermal management device 102 and the charging device 103.
[0029] The controller 100 is configured to acquire the measured values of a first type of parameter for the battery at the current sampling point, wherein the first type of parameter includes temperature-related parameters of the battery; using a prediction model, based on the current values of a second type of parameter for the thermal management device and the measured values of the first type of parameter, the controller obtains predicted values of the first type of parameter, wherein the second type of parameter includes thermal management control parameters related to the thermal management device's control of the battery temperature; based on the predicted values of the first type of parameter and an objective function, the controller determines optimized values of the second type of parameter, wherein the objective function is constructed based on the charging time determined according to the battery's temperature-related parameters; and controls the thermal management device 102 to operate based on the optimized values of the thermal management control parameters, so as to control the temperature of the battery 101 through the thermal management device 102.
[0030] The controller 100 is also configured to send the optimized value of the second type of parameter to the charging device 103 to control the charging process of the charging device 103 on the battery 101.
[0031] The thermal management device 102 is configured to control the temperature of the battery 101 according to the optimized value of the thermal management control parameters.
[0032] The charging device 103 is configured to control the charging process of the battery 101 based on the optimized value of the second type of parameter. For example, the charging device 103 may be a charging station.
[0033] The controller 100 can be located in the vehicle, for example, it can be a PCMU (Powertrain and Chassis Master Unit). The PCMU is mainly responsible for the comprehensive control and management of the vehicle's powertrain and chassis systems. It can communicate and cooperate with other units, such as the thermal management device 102 and the charging device 103, to ensure the safe and efficient operation of the vehicle's battery. The controller 100 can also be located in the charging device 103.
[0034] In a first aspect, embodiments of this application provide a method for determining charging parameters, as shown in FIG2. Taking the application of this method to the controller 100 in FIG1 as an example, the method includes the following steps.
[0035] Step S21: Obtain the measured values of the first type of parameters of the battery at the current sampling point, wherein the first type of parameters includes the temperature-related parameters of the battery.
[0036] Here, a sampling point can refer to a sampling time, a specific moment selected when discretizing a continuous-time signal. By measuring and recording the amplitude of the signal at these moments, the continuous signal is converted into a discrete digital signal for processing and analysis by a computer or other digital system. The current sampling point can be the current sampling time.
[0037] The first category of parameters refers to parameters related to the battery. For example, the first category of parameters may include parameters related to the battery's temperature.
[0038] Battery temperature-related parameters can include battery body temperature, battery surface temperature, and internal temperature gradient. The controller acquires these parameters using temperature sensors. For example, multiple temperature sensors can be installed on the battery surface to collect temperature values at different locations; alternatively, temperature sensors can be embedded inside the battery to collect internal temperature data. The controller receives the temperature data collected by these sensors via a communication interface, using it as the measured value of the first type of parameter at the current sampling point.
[0039] In some embodiments, the controller can monitor various parameters of the battery in real time, such as measuring the battery temperature through a temperature sensor and measuring the battery voltage through a voltage sensor.
[0040] Step S22: Using a prediction model, based on the current values of the second type of parameters for the thermal management device and the measured values of the first type of parameters, the predicted values of the first type of parameters are obtained. The second type of parameters include thermal management control parameters related to the thermal management device's control of the battery temperature.
[0041] The second type of parameter refers to parameters used to control other battery-related units, which may include thermal management devices. For thermal management devices, the corresponding second type of parameter is thermal management control parameter. Thermal management control parameters are parameters related to the thermal management device used to control it, such as controlling the state of the cooling medium.
[0042] A prediction model is a model that predicts the future values of the first type of parameter. The predicted value of the first type of parameter refers to its predicted value at future times. For example, assuming the current sampling point is time t, the prediction model can predict the values of the first type of parameter at times t+1, t+2, ..., t+n based on the value of the first type of parameter at time t.
[0043] In some embodiments, the prediction model can perform a comprehensive analysis based on several dimensions, including battery heat generation, thermal management heat transfer, environmental heat transfer, and inter-battery heat transfer, to predict the values of the first type of parameters of the battery.
[0044] Step S23: Determine the optimized values of the second type of parameters based on the predicted values of the first type of parameters and the objective function, wherein the objective function is constructed based on the charging time determined according to the battery's temperature-related parameters.
[0045] In this application, the objective function refers to a multi-objective function, which means that in an optimization problem, there are multiple interrelated objective functions that need to be optimized simultaneously. These objective functions typically represent different performance metrics or decision criteria, and there may be conflicting relationships between them.
[0046] In some embodiments, the objective function in this application can simultaneously optimize battery temperature and charging time, and is constructed based on battery temperature and charging time.
[0047] A thermal management device is a device or system designed to monitor and regulate battery temperature. It typically consists of sensors, controllers, heat dissipation devices, heating devices, and related circuitry and software. It can monitor the battery's temperature status in real time and control the battery temperature within a suitable range through various means.
[0048] The optimized value of the second type of parameter refers to the value of the second type of parameter when the battery can be controlled to reach the target state. In other words, it refers to the value of the second type of parameter when the objective function can be controlled to meet the preset target.
[0049] In some embodiments, the controller can continuously adjust the values of the second type of parameters until the value of the objective function reaches the preset target. The value of the second type of parameters obtained at this time is the optimized value of the second type of parameters. The optimized value of the second type of parameters is sent to the thermal management device so that the thermal management device can be controlled to operate according to the optimized value of the second type of parameters, such as the optimized value of the thermal management control parameters, thereby controlling the temperature of the battery through the thermal management device.
[0050] In one embodiment, the temperature-related parameters of the battery include the highest and lowest temperature values among the temperature values of each individual battery cell. The first type of parameters also includes the battery state of charge. Determining the optimized values of the second type of parameters based on the predicted values of the first type of parameters and the objective function includes: determining the charging time based on the predicted values of the highest and lowest temperatures of the individual battery cells; determining the target temperature based on the predicted values of the highest and lowest temperatures of the individual battery cells; determining the value of the objective function based on the target temperature and the charging time; adjusting the values of the second type of parameters; and returning to the step of using a prediction model to obtain the predicted values of the first type of parameters based on the current values of the second type of parameters for the thermal management device and the measured values of the first type of parameters. This process is repeated multiple times until the number of iterations reaches a preset number, at which point the optimized values of the second type of parameters are obtained. The optimized values of the second type of parameters are those where the objective function value is minimized.
[0051] A battery contains multiple individual cells, which are the basic units that make up the battery pack. Each cell has an independent electrochemical system and is capable of storing and releasing electrical energy. Temperature-related parameters of the battery can include the temperature values of each individual cell, the highest temperature value among all individual cells, and the lowest temperature value.
[0052] In this application, when predicting the value of the first type of parameter, the prediction is performed on the first type of parameter within a time period. For example, this application pre-sets the value of the second type of parameter corresponding to each sampling point within a preset time period, and inputs the pre-set value of the second type of parameter into the prediction model. The prediction model is then processed to obtain the predicted value of the first type of parameter within the preset time period. Subsequently, the second type of parameter is optimized based on the predicted value of the first type of parameter within the preset time period.
[0053] For example, the process of creating the objective function in this application includes the following.
[0054] Construct the first function J1, where J1 represents the battery charging time. The expression for J1 is as follows: J1 = MAE(SOC_list - a) if max(Tmax_list)
[0055] Construct a second function J2, which represents the battery temperature (target temperature). The expression for J2 is as follows: J2 = MAE(Tmax_list + Tmin_list - 2 * d) (2).
[0056] Based on J1 and J2, construct the objective function J, and the expression of J is as follows: J = J1 / e + J2 / f (3).
[0057] In expression (1), the suffix _list represents the set of results of the parameters within a preset time, SOC (State Of Charge) represents the state of charge of the battery, Tmax represents the highest temperature value among the temperature values of each battery cell, MAE represents the mean absolute error, and a, b, and c are constants set according to the actual situation. Among them, a represents the target SOC of charging, b represents the highest safe temperature of the battery, and c represents the penalty term, which has no actual physical meaning.
[0058] The meaning of expression (1) is as follows: When the maximum value of the highest temperature of a battery cell within a preset time is less than b, J1 = MAE(SOC_list-a), where J1 is the average absolute error between the estimated SOC and the target SOC within this time range. When the maximum value of the highest temperature of a battery cell within a preset time is greater than or equal to b, J1 = c. Here, the maximum value refers to the maximum value obtained by comparing the highest temperature values of battery cells at different times within the preset time. For example, if there are N times (sampling points) within the preset time, the maximum value is obtained by comparing the highest temperature values of battery cells at N times. The average absolute error is calculated using the SOC at different times. SOC describes the amount of remaining charge in the battery, usually expressed as a percentage, for example, 0% indicates the battery is fully discharged, and 100% indicates the battery is fully charged.
[0059] In expression (2), Tmin represents the lowest temperature value among the temperature values of each battery cell, and d is a constant set according to the actual situation, representing the suitable charging temperature value of the battery. The meaning of expression (2) is: the average absolute error of the sum of the highest and lowest temperature values of the battery cells within a preset time, minus twice the suitable charging temperature value of the battery. Tmax and Tmin belong to the first type of parameters. The temperature-related parameters in this application include the predicted values of temperature-related parameters (e.g., Tmax and Tmin) in the first type of parameters. In one embodiment of this application, the prediction model obtains the predicted values of the first type of parameters, and then inputs the predicted values of the first type of parameters into the objective function for calculation. For example, based on the current values of the second type of parameters for the thermal management device and the measured values of the first type of parameters, the prediction model is used to obtain the predicted values of the first type of parameters; then the predicted values of the first type of parameters are substituted into the expression of the objective function for subsequent processing. It can be simply understood that the output of the prediction model provides the basis for the calculation of the objective function.
[0060] In expression (3), e and f are constants set according to the actual situation. The overall objective function J is the weighted sum of the first function J1 and the second function J2, and e and f represent the weight coefficients of J1 and J2, respectively.
[0061] In some embodiments, the controller can calculate the charging time according to the above expression (1), calculate the target temperature according to the above expression (2), and further calculate the value of the objective function according to the above expression (3) to perform one iteration. In some embodiments, the controller can adjust the value of the second type of parameter, return to the step of using the prediction model to obtain the predicted value of the first type of parameter based on the current value of the second type of parameter for the thermal management device and the measured value of the first type of parameter, to perform the next iteration, and so on, performing multiple iterations until the number of iterations reaches the preset number, obtain the value of the objective function after each iteration, and select the value of the second type of parameter corresponding to the minimum value of the objective function as the optimized value of the obtained second type of parameter.
[0062] In some embodiments, the step of obtaining a predicted value of a first type of parameter using a prediction model based on the current value of a second type of parameter for the thermal management device and the measured value of the first type of parameter may include: inputting the measured value of the first type of parameter and the current value of the second type of parameter at the current sampling point into the prediction model to obtain the predicted value of the first type of parameter.
[0063] The beneficial effects of this application's embodiments are as follows: by constructing a multi-objective function, the battery temperature and charging time are optimized simultaneously, thereby optimizing the battery charging time while ensuring that the battery temperature remains within a safe and efficient operating range, extending battery life, and improving the overall safety of the vehicle.
[0064] Furthermore, the battery's state changes at different stages during charging, especially the temperature, which exhibits a highly complex trend. Therefore, this application optimizes the objective function by utilizing the predicted values of the first type of parameter at future sampling times, fully considering the dynamic changes of the battery at different charging stages. This effectively improves the accuracy of the objective function optimization and makes the optimization results more closely reflect actual conditions.
[0065] In one embodiment, the second type of parameters includes parameter values at each sampling point within a preset time period, and the predicted values of the first type of parameters include the predicted values corresponding to each sampling point. Using a prediction model, the predicted values of the first type of parameters are obtained based on the current values of the second type of parameters for the thermal management device and the measured values of the first type of parameters. This includes: using a prediction model, determining the value of the first type of parameters at the next sampling point based on the measured values of the first type of parameters at the current sampling point and the values of the second type of parameters at the current sampling point, until the last sampling point within the preset time period, to obtain the predicted values corresponding to each sampling point.
[0066] For example, this application can deduce the value of the first type parameter of the next sampling point based on the measured value of the first type parameter of the current sampling point and the value of the second type parameter of the current sampling point. This process is repeated until the last sampling point within a preset time period, ultimately obtaining the predicted value of the first type parameter for each sampling point.
[0067] Please refer to Figure 3, which is a schematic diagram of the internal processing flow of the prediction model in some embodiments of this application. In Figure 3, the second type of parameters input to the prediction model include X(t), X(t+1), X(t+2)...X(t+p-1), where X(t) is the value of the second type of parameter at time t, and so on. The measured value of the first type of parameter input to the prediction model at the current sampling point is Y(t). The processing steps of the prediction model include: using X(t) and Y(t) to make a prediction to obtain Y(t+1); using X(t+1) and Y(t+1) to make a prediction to obtain Y(t+2); and so on, until Y(t+p) is obtained. The time from time t to time t+p-1 is a preset time, and each sampling point within this preset time is predicted; finally, a set of predicted values, namely Y(t+1), Y(t+2),...Y(t+p), are used as the predicted values corresponding to each sampling point.
[0068] The beneficial effects of this application's embodiments are as follows: the calculation is performed sequentially according to the order of the sampling points, which fully considers the characteristics of the time series and can capture the evolution trend of the first type of parameter over time, which helps to more accurately capture the state changes of the battery at different times.
[0069] In one embodiment, the first type of parameters further includes the battery state of charge (SOC), the second type of parameters further includes the charging current, and the thermal management control parameters include the flow rate and temperature of the cooling medium. Using a predictive model, the values of the first type of parameters at the next sampling point are determined based on the measured values of the first type of parameters at the current sampling point and the values of the second type of parameters at the current sampling point. This includes: determining the battery's heat generation based on the charging current corresponding to the current sampling point; determining the battery's thermal management heat transfer based on the charging current, the flow rate and temperature of the cooling medium corresponding to the current sampling point; using the predictive model, determining the values of the battery's temperature-related parameters corresponding to the next sampling point based on the heat generation and thermal management heat transfer; and using the predictive model, determining the battery's SOC corresponding to the next sampling point based on the battery SOC, the charging current, and the battery's rated capacity at the current sampling point.
[0070] Among them, the state of charge of a battery describes how much electricity is left in the battery, usually expressed as a percentage.
[0071] In a thermal management system, the cooling medium refers to the substance used to transfer and dissipate heat to cool related equipment or components. Common cooling media include water, air, and aqueous solutions of ethylene glycol. If the thermal management system is a liquid-cooled system, the corresponding thermal management control parameters may include the temperature and flow rate of the coolant.
[0072] For example, the formula for calculating the heat generation of a battery based on the charging current corresponding to the current sampling point can be: Heat generation Q(t)=Xi*f(I,R).
[0073] I represents the charging current, R represents the battery internal resistance, and Xi = [X1, X2, X3] represents a set of temperature coefficients obtained by fitting, where X1 represents the parameter corresponding to the highest temperature value among the temperature values of the battery cells, X2 represents the parameter corresponding to the lowest temperature value among the temperature values of the battery cells, and X3 represents the parameter corresponding to the average temperature value of the battery cells.
[0074] For example, the calculation formula for the thermal management heat transfer of the battery can be determined based on the charging current, the flow rate and temperature of the cooling medium corresponding to the current sampling point: Thermal management heat transfer P(t)=Xi*f(Tcoolt(t),Tbatt(t),Flw(t)).
[0075] Where Tcoolt represents the temperature change of the cooling medium, Tbatt represents the battery temperature, and Flw represents the flow rate of the cooling medium.
[0076] In some embodiments, this application can also calculate the ambient heat transfer, as follows: Ambient heat transfer Ptamb(t)=P(t)=Xi*f(Tbatt(t),Ttamb(t)).
[0077] Here, Ttamb represents ambient temperature.
[0078] In some embodiments, this application can also calculate the heat transfer between batteries, as follows: Heat transfer between batteries Pcell(t)=Xi*f(Tmax(t),Tmin(t),Tavg(t)).
[0079] In some embodiments, the formula for calculating the predicted values of each first-type parameter in this application is as follows: Tmax(t+1)=(Q(t)-P(t)-Ptamb(t)-Pcell(t)) / (Mbatt*Cbatt)+Tmax(t);
[0080] Where Tmax(t+1) represents the predicted highest temperature value among the temperature values of the battery cells at time t+1, Mbatt represents the battery mass, and Cbatt represents the battery mass specific heat capacity. Tmin(t+1) = (Q(t) - P(t) - Ptamb(t) - Pcell(t)) / (Mbatt * Cbatt) + Tmin(t);
[0081] Where Tmin(t+1) represents the predicted lowest temperature value of the battery cell at time t+1, Mbatt represents the battery mass, and Cbatt represents the battery mass specific heat capacity. Tavg(t+1) = (Q(t) - P(t) - Ptamb(t) - Pcell(t)) / (Mbatt * Cbatt) + Tavg(t);
[0082] Where Tavg(t+1) represents the predicted average temperature of a single battery cell at time t+1, Tavg(t) represents the average temperature of a single battery cell at time t, Mbatt represents the battery mass, and Cbatt represents the specific heat capacity of the battery mass.
[0083] In some embodiments, the predicted value of the maximum state of charge in a single battery cell is: SOCmax(t+1)=SOCmax(t)+I*Δt / 3600 / Qbatt.
[0084] Where SOCmax(t+1) represents the predicted value of the maximum state of charge in the battery cell at time t+1, SOCmax(t) represents the value of the maximum state of charge in the battery cell at time t, Δt represents the time difference from time t to time t+1, and Qbatt represents the rated capacity of the battery.
[0085] At this point, X(t) can be SOCmax(t), and Y(t) can be I. Using the above formula, we can obtain Y(t+1), which is SOCmax(t+1).
[0086] In some embodiments, the predicted value of the minimum state of charge in a single battery cell is: SOC min(t+1)=SOC min(t)+I*Δt / 3600 / Qbatt.
[0087] Where SOC min(t+1) represents the predicted value of the minimum state of charge in the battery cell at time t+1, SOC min(t) represents the value of the minimum state of charge in the battery cell at time t, Δt represents the time difference from time t to time t+1, and Qbatt represents the rated capacity of the battery.
[0088] The beneficial effect of this application embodiment is that it combines battery heat generation, thermal management heat exchange, environmental heat exchange and inter-battery heat exchange to predict the first type of parameter, making the predicted value of the first type of parameter more accurate.
[0089] In one embodiment, the second type of parameter further includes charging current, and the charging parameter determination method may further include: controlling the operation of the charging device according to the optimized value of the charging current, so as to control the charging process of the charging device on the battery.
[0090] The charging device is mainly a device that converts electrical energy from an external power source into a form of electrical energy suitable for battery charging, and charges the battery according to a certain control strategy.
[0091] For example, the controller can transmit the optimized value of the charging current to the charging device through the control circuit or communication interface. The charging device adjusts its own working state according to the received optimized value, thereby controlling the charging process of the battery.
[0092] The beneficial effects of this application embodiment are as follows: by controlling the charging device according to the optimized value of the charging current, the charging process can be made more in line with the characteristics and needs of the battery, avoiding the problem of battery temperature rising due to excessive charging current, extending battery life and improving charging efficiency.
[0093] In one embodiment, the optimized values of the second type of parameters include the optimized values corresponding to each sampling point within a preset time. Controlling the charging device operation based on the optimized values of the charging current to control the charging process of the battery includes: querying a preset data table based on the value of the first type of parameter at the next sampling point to obtain a calibration current, wherein the preset data table records the mapping relationship between the values of the first type of parameters and the calibration current; taking the smaller value of the calibration current and the optimized value of the charging current corresponding to the next sampling point to obtain a target control current; and controlling the charging device operation based on the target control current to control the charging process of the battery.
[0094] The preset data table can be a SOC-temperature-current table, which records the mapping relationship between battery state of charge, battery temperature, and charging current. This application can query the preset data table using the battery state of charge and battery temperature values corresponding to the current sampling point as indexes to obtain the calibration current.
[0095] In some embodiments, the minimum value between the calibration current and the optimized value of the charging current corresponding to the next sampling point is selected as the target control current, and the target control current is sent to the charging device for execution, so that the charging device controls the charging process of the battery according to the target control current.
[0096] The beneficial effects of this application's embodiments are as follows: since the calibration current at the next sampling point is the maximum current that the battery can withstand at the temperature and SOC of the battery at the next sampling point, the smaller current operation performed in this application can prevent overcurrent, protect the battery, and ensure charging safety.
[0097] In one embodiment, the charging parameter determination method may further include: determining the temperature range of the cooling medium based on the average temperature of each battery cell in the battery and the optimized value of the temperature of the cooling medium at the previous sampling point, wherein the step of determining the optimized value of the temperature of the cooling medium includes: determining the optimized value of the temperature of the cooling medium at the current sampling point based on the temperature range of the cooling medium, the predicted value of the first type of parameter, and the objective function.
[0098] The step of determining the temperature range of the cooling medium in this application may include the following steps.
[0099] In some embodiments, the first temperature boundary of the cooling medium is determined based on the average temperature Tavg of each cell in the battery, as follows: Treq_min_1=Tavg(t)-h (4), Treq_max_1=Tavg(t)+h (5).
[0100] Where h is a constant representing the maximum temperature change, and Treq represents the temperature of the cooling medium.
[0101] Formula (4) represents the lower limit of the first temperature boundary of the cooling medium obtained based on the average temperature of the battery. The calculation logic is the average temperature value of the battery cell at time t minus the constant h.
[0102] Formula (5) represents the upper limit of the first temperature boundary of the cooling medium obtained based on the average temperature of the battery. The calculation logic is the average temperature value of the battery cell at time t plus a constant h.
[0103] In some embodiments, the second temperature boundary of the cooling medium is determined according to the rate of change of water temperature, as follows: Treq_min_2=Top(t-1)-i (6), Treq_max_2=Top(t-1)+i (7).
[0104] Where i is a constant representing the adjacent temperature change, and Top represents the temperature of the cooling medium.
[0105] Formula (6) represents the lower limit of the second temperature boundary obtained based on the temperature of the cooling medium. The calculation logic is the temperature of the cooling medium at time t-1 minus the constant i.
[0106] Formula (7) represents the upper limit of the second temperature boundary based on the temperature of the cooling medium. The calculation logic is the temperature of the cooling medium at time t-1 plus a constant i.
[0107] In some embodiments, the intersection of the first temperature boundary and the second temperature boundary is used to obtain the final boundary: Treq_min=max(Treq_min_1,Treq_min_2) (8), Treq_max=min(Treq_max_1,Treq_max_2) (9).
[0108] If Treq_min > Treq_max, an exception is thrown.
[0109] Formula (8) means that the lower limit of the final cooling medium temperature is the maximum value of the lower limit obtained based on the average temperature of the battery cell and the temperature of the cooling medium.
[0110] Formula (9) means that the minimum value of the upper limit obtained based on the average temperature of the battery cell and the temperature of the cooling medium is taken as the upper limit of the final temperature of the cooling medium, thus obtaining the temperature range of the cooling medium.
[0111] In some embodiments, when calculating the optimal value of the temperature of the cooling medium, the optimal value of the temperature of the cooling medium can be calculated within the temperature range of the cooling medium.
[0112] The beneficial effects of this application embodiment are as follows: by considering the average temperature of each battery cell in the battery and the optimized value of the cooling medium temperature at the previous sampling point to determine the temperature range, the heat exchange relationship between the battery and the cooling medium can be grasped more accurately, making the control of the cooling medium temperature more in line with actual needs and improving the control accuracy of the thermal management system.
[0113] In one embodiment, the first type of parameter further includes the battery state of charge, and the charging parameter determination method may further include: determining the range of charging current based on the battery's temperature-related parameters and the battery state of charge, wherein the step of determining the optimized value of charging current includes: determining the optimized value of charging current based on the range of charging current, the predicted value of the first type of parameter, and the objective function.
[0114] In some embodiments, the range of charging current can be calculated by the following formulas: Imax_1=Map(floor(SOCmax(t)),round(Tmin(t)) (10), Imax_2=Map(floor(SOCmax(t)),round(Tmax(t)) (11), Imax_3=Imax_max (12), Imax=min(Imax_1,Imax_2,Imax_3) (13).
[0115] Where Map represents the lookup table function, Imax_1, Imax_2, and Imax_3 represent the charging current output by the lookup table function, floor represents the floor function, round represents rounding, Imax_max represents the maximum current in the table (a constant), SOCmax represents the highest SOC of a single battery cell, and SOCmin represents the lowest SOC of a single battery cell. The current boundary is set to Iop∈(0,Imax], and this boundary is used as the current boundary for a preset time period in the future.
[0116] For example, formula (10) means: round down the SOCmax at time t, round the Tmin value at time t, and then look up the SOC-temperature-current table to get the current Imax_1 after the lookup.
[0117] Formula (11) means: round down the SOCmax value at time t, round the Tmax value at time t to the nearest integer, and then look up the SOC-temperature-current table to get the current Imax_2 after the lookup.
[0118] Formula (12) means that Imax_3 is equal to the maximum current value in the SOC-temperature-current meter.
[0119] The beneficial effects of this application's embodiments are as follows: determining the range of charging current based on the battery's temperature-related parameters and state of charge can effectively avoid safety issues caused by improper charging current. For example, when the battery temperature is high or the state of charge is close to full, appropriately limiting the charging current can prevent the battery from overheating or overcharging, reducing safety risks such as battery fire and explosion, and ensuring the safety of the battery during use.
[0120] In a second aspect, embodiments of this application provide a charging parameter determination device, as shown in FIG4. The charging parameter determination device includes: an acquisition module 41, a prediction module 42, and an optimization module 43, wherein: the acquisition module 41 is configured to acquire the measured values of a first type of parameter at the current sampling point for the battery, wherein the first type of parameter includes temperature-related parameters of the battery; the prediction module 42 is configured to use a prediction model to obtain the predicted values of the first type of parameter based on the current values of the second type of parameter for the thermal management device and the measured values of the first type of parameter, wherein the second type of parameter includes thermal management control parameters related to the thermal management device controlling the temperature of the battery; the optimization module 43 is configured to determine the optimized values of the second type of parameter based on the predicted values of the first type of parameter and an objective function, wherein the objective function is constructed based on the charging time determined according to the temperature-related parameters of the battery.
[0121] In some embodiments, the temperature-related parameters of the battery mentioned above include the highest and lowest temperature values among the temperature values of each battery cell. The optimization module 43 can determine the charging time based on the predicted value of the highest temperature of the battery cell and the predicted value of the battery state of charge, determine the target temperature based on the predicted value of the highest temperature of the battery cell and the predicted value of the lowest temperature, determine the value of the objective function based on the target temperature and the charging time, adjust the value of the second type of parameter, and return to the step of using the prediction model to obtain the predicted value of the first type of parameter based on the current value of the second type of parameter for the thermal management device and the measured value of the first type of parameter, to perform multiple iterations until the number of iterations reaches a preset number, and obtain the optimized value of the second type of parameter, wherein the optimized value of the second type of parameter is the value of the second type of parameter when the value of the objective function is minimized.
[0122] In some embodiments, the second type of parameters mentioned above includes the parameter values of each sampling point within a preset time period, and the predicted values of the first type of parameters include the predicted values corresponding to each sampling point. The prediction module 42 can use the prediction model to determine the value of the first type of parameters of the next sampling point based on the measured value of the first type of parameters of the current sampling point and the value of the second type of parameters of the current sampling point, until the last sampling point within the preset time period, to obtain the predicted values corresponding to each sampling point.
[0123] In some embodiments, the first type of parameters mentioned above also includes the battery state of charge, and the second type of parameters also includes the charging current. The prediction module 42 can determine the heat generation of the battery based on the charging current corresponding to the current sampling point, determine the thermal management heat transfer of the battery based on the charging current, the flow rate and temperature of the cooling medium corresponding to the current sampling point, and use the prediction model to determine the values of the temperature-related parameters of the battery corresponding to the next sampling point based on the heat generation and the thermal management heat transfer. Using the prediction model, the battery state of charge corresponding to the next sampling point can be determined based on the battery state of charge, the charging current and the battery rated capacity of the current sampling point.
[0124] In some embodiments, the second type of parameter mentioned above also includes charging current. The optimization module 43 can also control the operation of the charging device according to the optimized value of the charging current, so as to control the charging process of the charging device on the battery.
[0125] In some embodiments, the optimized values of the second type of parameters mentioned above include the optimized values corresponding to each sampling point within a preset time. The optimization module 43 can also query a preset data table based on the value of the first type of parameter at the next sampling point to obtain the calibration current. The preset data table records the mapping relationship between the value of the first type of parameter and the calibration current. The optimized values of the calibration current and the charging current corresponding to the next sampling point are reduced to obtain the target control current. The charging device is controlled to operate based on the target control current to control the charging process of the battery.
[0126] In some embodiments, the optimization module 43 described above can also determine the temperature range of the cooling medium based on the average temperature of each battery cell in the battery and the optimized value of the temperature of the cooling medium at the previous sampling point. The step of determining the optimized value of the temperature of the cooling medium includes: determining the optimized value of the temperature of the cooling medium at the current sampling point based on the temperature range of the cooling medium, the predicted value of the first type of parameter, and the objective function.
[0127] In a third aspect, embodiments of this application provide a controller, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the charging parameter determination method provided in any embodiment of the first aspect of this application.
[0128] In one embodiment, the internal structure of the controller can be as shown in Figure 5. The controller may include a processor, memory, network interface, and database connected via a system bus. The processor is configured to provide computing and control capabilities. The controller's memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The controller's network interface is configured to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements a charging parameter determination method.
[0129] In a fourth aspect, embodiments of this application provide a vehicle including the controller of the third aspect.
[0130] In a fifth aspect, embodiments of this application provide a charging device, including the controller of the third aspect.
[0131] In a sixth aspect, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the charging parameter determination method provided in any embodiment of the first aspect of this application.
[0132] The computer-readable storage medium can be a non-volatile storage medium in the controller shown in Figure 5.
[0133] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0134] The aforementioned charging parameter determination method, device, controller, and storage medium predict the value of the first type of parameter at future sampling points using the measured value of the first type of parameter at the current sampling point and the pre-set second type of parameter. Further optimization of the second type of parameter is performed based on the predicted value of the first type of parameter and a pre-constructed objective function. The second type of parameter is then used to control the operation of the thermal management device, thereby controlling the battery temperature within a suitable range. When constructing the objective function, the dual objectives of charging time and temperature optimization are considered simultaneously. With shortening charging time and controlling the battery temperature within an ideal range as the two objectives, a multi-objective function is constructed to ensure an effective balance between the two requirements at different charging stages. This achieves the goal of optimizing charging time while controlling the battery temperature within a suitable operating range, extending battery life, and improving driving safety.
[0135] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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.
[0136] The above embodiments merely illustrate several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for determining charging parameters, applied to a thermal management device for thermal management of a battery, the method comprising: Obtain the measured value of the first type of parameter of the battery at the current sampling point, wherein the first type of parameter includes the temperature-related parameters of the battery; Using a predictive model, the predicted value of the first type of parameter is obtained based on the current value of the second type of parameter for the thermal management device and the measured value of the first type of parameter. The second type of parameter includes thermal management control parameters related to the thermal management device controlling the temperature of the battery. Based on the predicted values of the first type of parameters and the objective function, the optimized values of the second type of parameters are determined, wherein the objective function is constructed based on the charging time determined according to the temperature-related parameters of the battery.
2. The method according to claim 1, wherein, The temperature-related parameters of the battery include the highest and lowest temperature values among the temperature values of each individual cell within the battery. The first type of parameters also includes the battery state of charge. Determining the optimized values of the second type of parameters based on the predicted values of the first type of parameters and the objective function includes: The charging time is determined based on the predicted maximum temperature of the battery cell and the predicted state of charge of the battery. The target temperature is determined based on the predicted values of the highest and lowest temperatures of the individual battery cells. The value of the objective function is determined based on the target temperature and the charging time. The steps of adjusting the value of the second type of parameter and returning to the step of using the prediction model to obtain the predicted value of the first type of parameter based on the current value of the second type of parameter for the thermal management device and the measured value of the first type of parameter are repeated multiple times until the number of iterations reaches a preset number, and the optimized value of the second type of parameter is obtained. The optimized value of the second type of parameter is the value of the second type of parameter when the value of the objective function is minimized.
3. The method according to any one of claims 1 to 2, wherein, The second type of parameters includes parameter values at each sampling point within a preset time period. The predicted values of the first type of parameters include predicted values corresponding to each sampling point. The step of using a prediction model to obtain the predicted values of the first type of parameters based on the current values of the second type of parameters for the thermal management device and the measured values of the first type of parameters includes: Using the prediction model, based on the measured value of the first type parameter of the current sampling point and the value of the second type parameter of the current sampling point, the value of the first type parameter of the next sampling point is determined, until the last sampling point within the preset time period, so as to obtain the predicted value corresponding to each sampling point.
4. The method according to any one of claims 1 to 3, wherein, The first type of parameters also includes the battery state of charge, and the second type of parameters also includes the charging current. The thermal management control parameters include the flow rate and temperature of the cooling medium. The step of using the prediction model to determine the value of the first type of parameters at the next sampling point based on the measured values of the first type of parameters at the current sampling point and the values of the second type of parameters at the current sampling point includes: The heat generation of the battery is determined based on the charging current corresponding to the current sampling point; The thermal management heat exchange of the battery is determined based on the charging current corresponding to the current sampling point, the flow rate and temperature of the cooling medium; Using the prediction model, the values of the temperature-related parameters of the battery corresponding to the next sampling point are determined based on the heat generation and the thermal management heat exchange. Using the prediction model, the battery state of charge (SBC) at the next sampling point is determined based on the battery SBC, charging current, and battery rated capacity at the current sampling point.
5. The method according to any one of claims 1 to 4, wherein, The second type of parameter also includes charging current, and the method further includes: The charging device is controlled to operate according to the optimized value of the charging current, so as to control the charging process of the battery by the charging device.
6. The method according to any one of claims 1 to 5, wherein, The optimized values of the second type of parameters include the optimized values corresponding to each sampling point within a preset time period. Controlling the operation of the charging device based on the optimized values of the charging current to control the charging process of the battery includes: The calibration current is obtained by querying a preset data table based on the value of the first type of parameter at the next sampling point. The preset data table records the mapping relationship between the value of the first type of parameter and the calibration current. The target control current is obtained by taking the smaller value of the calibration current and the optimized value of the charging current corresponding to the next sampling point. The charging device is operated according to the target control current to control the charging process of the battery.
7. The method according to any one of claims 1 to 6, further comprising: The temperature range of the cooling medium is determined based on the average temperature of each cell in the battery and the optimized value of the temperature of the cooling medium at the previous sampling point. The step of determining the optimal temperature value of the cooling medium includes: Based on the temperature range of the cooling medium, the predicted values of the first type of parameters, and the objective function, the optimized value of the temperature of the cooling medium at the current sampling point is determined.
8. A charging parameter determining device, comprising: The acquisition module is configured to acquire the measured values of the first type of parameters of the battery at the current sampling point, wherein the first type of parameters includes the temperature-related parameters of the battery; The prediction module is configured to use a prediction model to obtain the predicted value of the first type of parameter based on the current value of the second type of parameter for the thermal management device and the measured value of the first type of parameter, wherein the second type of parameter includes thermal management control parameters related to the thermal management device controlling the temperature of the battery; The optimization module is configured to determine the optimized values of the second type of parameters based on the predicted values of the first type of parameters and the objective function, wherein the objective function is constructed based on the charging time determined according to the temperature-related parameters of the battery.
9. A controller, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A vehicle comprising the controller as claimed in claim 9.
11. A charging device comprising the controller as claimed in claim 9.
12. A computer-readable storage medium having a computer program stored thereon, wherein, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
