Battery processing method and device, electronic equipment and computer program product
By obtaining the battery's predicted polarization resistance, capacitance, and equivalent resistance data, and using the first-order circuit model and Kalman algorithm to calculate the target power value, the safety risks and low energy conversion efficiency of lithium-ion battery systems under dynamic conditions are resolved, achieving precise power control and extended life.
Patent Information
- Application Number
- CN202510788401.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-12
- Publication Date
- 2025-09-12
AI Technical Summary
Traditional lithium-ion battery systems cannot accurately match the actual battery capacity under dynamic operating conditions, resulting in insufficient power release or excessive discharge, posing safety risks and low energy conversion efficiency.
By obtaining data such as the battery's predicted polarization resistance, predicted polarization capacitance, and predicted equivalent resistance, the battery's polarization voltage and battery parameters are calculated using the first-order circuit model and Kalman algorithm, the target power value is determined, and the battery operation is controlled in real time to ensure safe and efficient energy conversion.
It achieves precise matching of battery capacity under dynamic working conditions, reduces safety risks, improves energy conversion efficiency, and extends battery life.
Smart Images

Figure CN120621150A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of lithium-ion battery technology or other related fields, and in particular to a battery processing method, device, electronic device, and computer program product. Background Art
[0002] With the increasing emphasis on environmental protection and sustainable travel, the demand for high-performance battery systems has increased accordingly. Lithium-ion battery systems, the power core of electric vehicles, are facing unprecedented challenges and opportunities. The ever-increasing requirements for power performance in electric vehicles mean that the battery system must be able to quickly respond to high power demands while ensuring that the battery is not subjected to excessive stress that would damage its health and shorten its service life. This is especially true for electric vehicles equipped with ternary material (NCM: Lithium Nickel Cobalt Manganese Oxide) battery cells. How to maximize the battery's discharge capacity while ensuring battery safety and extending battery life has become a key technical issue that needs to be addressed.
[0003] Traditional power control strategies often adopt conservative control logic or pre-set power limit tables. Although these methods can protect the battery to a certain extent, they often cannot accurately match the actual capacity of the battery under dynamic operating conditions. Not only can insufficient power release easily affect the vehicle's acceleration performance and driving experience, but excessive discharge can also easily cause a sharp decline in battery performance and even pose a safety hazard.
[0004] Current power control algorithms primarily rely on table lookup or pool methods. The table lookup method determines the battery's discharge power by consulting a pre-established power table based on static parameters such as battery type, temperature, and state of charge. The pool method, on the other hand, dynamically estimates the battery's available capacity by integrating current. While simple and easy to implement, these two methods suffer from significant drawbacks in practical applications. First, the table lookup method ignores the dynamic characteristics of the battery, such as the influence of polarization voltage. Under extreme operating conditions, even at a high state of charge (SOC), internal polarization within the cell can limit its instantaneous output power. Power control based solely on SOC and temperature can easily lead to insufficient power delivery or over-discharge. While the pool method accounts for the time-accumulated effects of current, it fails to reflect the polarization state and health of the cell in real time. This is especially true during frequent, high-power charge-discharge cycles, where the polarization voltage of the cell changes rapidly. Relying solely on current integration cannot adjust power output in a timely and accurate manner, potentially exacerbating the risk of over-discharge.
[0005] Currently, no effective solution has been proposed to the technical problems in related technologies, such as high safety risks and low energy conversion efficiency of batteries when providing power. Summary of the Invention
[0006] The main purpose of this application is to provide a battery processing method, device, electronic device and computer program product to solve the technical problems in the related art that batteries have high safety risks and low energy conversion efficiency when providing power.
[0007] To achieve the above-mentioned purpose, according to one aspect of the present application, a battery processing method is provided. The method comprises: obtaining a battery and determining N first cell data of the battery, wherein the N first cell data at least include predicted polarization resistance, predicted polarization capacitance, and predicted equivalent resistance, and N is a positive integer; using the N first cell data to calculate the second cell data of the battery, and determining the battery parameters from the second cell data, wherein the second cell data at least includes polarization voltage, and the battery parameters at least include cell parameters, battery power threshold, and voltage limit; calculating the target power value of the battery according to the polarization voltage, cell parameters, and voltage limit, and when the target power value is less than or equal to the battery power upper limit value of the battery power threshold, controlling the battery operation according to the target power value.
[0008] Furthermore, determining the N first cell data of the battery includes: calculating the battery voltage using a pulse charge and discharge algorithm to obtain M battery voltages, wherein the M battery voltages include at least: the voltage before charge and discharge, the voltage at the first moment, and the voltage at the second moment, and M is a positive integer; obtaining a first-order circuit model, inputting the M battery voltages into the first-order circuit model, and outputting N first cell data, wherein the first-order circuit model is used to construct the dynamic behavior of the battery during the charge and discharge process.
[0009] Furthermore, calculating the second cell data of the battery using the N first cell data includes: obtaining predicted polarization resistance and predicted polarization capacitance from the N first cell data, and determining the target time data of the battery; obtaining the preset charge and discharge power of the battery, constructing a first circuit matrix using the predicted polarization resistance, predicted polarization capacitance and target time data, and constructing a second circuit matrix using the preset charge and discharge power, predicted polarization resistance, predicted polarization capacitance and target time data; obtaining predicted equivalent resistance from the N first cell data, and constructing a cell data matrix according to the predicted equivalent resistance, the first circuit matrix and the second circuit matrix; and processing the cell data matrix using the Kalman algorithm to obtain the second cell data.
[0010] Furthermore, a first circuit matrix is constructed using the predicted polarization resistance, predicted polarization capacitance, and target moment data, and a second circuit matrix is constructed using the preset charge and discharge power, predicted polarization resistance, predicted polarization capacitance, and target moment data, including: obtaining battery capacity data of the battery, and determining the time period data between the target moment data and the initial moment data; calculating the product of the preset charge and discharge power and the time period data to obtain a first product, and calculating the ratio of the first product to the battery capacity data to obtain a first ratio; calculating the product of the predicted polarization resistance and the predicted polarization capacitance to obtain a second product, and calculating the ratio of the negative of the target moment data to the second product to obtain a second ratio; calculating a third product based on the second ratio and the predicted polarization resistance; obtaining a first preset parameter, using the first preset parameter and the first ratio as elements to construct a first circuit matrix, and using the first ratio and the third product as elements to construct a second circuit matrix.
[0011] Furthermore, calculating the target power value of the battery based on the polarization voltage, cell parameters and voltage limit includes: extracting the target polarization resistance and the target polarization capacitance from the cell parameters, calculating the product of the target polarization resistance and the predicted polarization capacitance, and obtaining a fourth product; obtaining the target moment data of the battery, calculating the ratio of the negative of the target moment data to the fourth product, and calculating the exponent value of the third ratio to obtain a circuit index value; calculating the product of the polarization voltage and the circuit index value to obtain a fifth product, and calculating the difference between the voltage limit and the fifth product to obtain a voltage difference; calculating the sixth product based on the target polarization resistance and the circuit index value, calculating the ratio of the voltage difference to the sixth product, and obtaining the target power value.
[0012] Furthermore, after calculating the difference between the voltage limit and the fifth product to obtain the voltage difference, the method also includes: obtaining a second preset parameter, and when the voltage difference is greater than the second preset parameter, executing the step of calculating the sixth product based on the target polarization resistance and the circuit index value; when the voltage difference is less than the second preset parameter, extracting the battery power lower limit from the battery power threshold, and determining the battery power lower limit as the target power value.
[0013] Furthermore, before controlling the battery operation according to the target power value, the method also includes: obtaining the historical power value of the battery in the historical time period, and calculating the difference between the target power value and the historical power value to obtain a power difference; obtaining a preset power threshold, and comparing the power difference with the preset power threshold; when the power difference is greater than or equal to the preset power threshold, obtaining the preset battery power value, and controlling the battery operation according to the preset battery power value; when the power difference is less than the preset power threshold, controlling the battery operation according to the target power value.
[0014] To achieve the above-mentioned purpose, according to another aspect of the present application, a battery processing device is provided. The device includes: a first acquisition unit, configured to acquire a battery and determine N first cell data of the battery, wherein the N first cell data at least include predicted polarization resistance, predicted polarization capacitance, and predicted equivalent resistance, and N is a positive integer; a first calculation unit, configured to calculate second cell data of the battery using the N first cell data, and determine battery parameters based on the second cell data, wherein the second cell data at least includes polarization voltage, and the battery parameters at least include cell parameters, battery power threshold, and voltage limit; a second calculation unit, configured to calculate a target power value of the battery based on the polarization voltage, cell parameters, and voltage limit, and control battery operation based on the target power value when the target power value is less than or equal to the battery power upper limit value of the battery power threshold.
[0015] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium includes a stored executable program, wherein when the executable program runs, the device where the computer-readable storage medium is located is controlled to execute any of the above-mentioned battery processing methods.
[0016] According to another aspect of an embodiment of the present invention, an electronic device is also provided, including one or more processors and a memory, wherein the memory stores an executable program, and the processor is used to run the program, wherein when the one or more programs are executed by one or more processors, the one or more processors implement any of the above-mentioned battery processing methods.
[0017] According to another aspect of an embodiment of the present invention, a computer program product is further provided. The computer program product includes a computer program, wherein when the computer program is executed by a processor, any one of the above-mentioned battery processing methods is implemented.
[0018] In an embodiment of the present application, a battery processing method is adopted, by obtaining a battery and determining N first battery cell data of the battery, wherein the N first battery cell data include at least a predicted polarization resistance, a predicted polarization capacitance and a predicted equivalent resistance, and N is a positive integer; the second battery cell data of the battery is calculated using the N first battery cell data, and the battery parameters are determined by the second battery cell data, wherein the second battery cell data includes at least a polarization voltage, and the battery parameters include at least battery cell parameters, a battery power threshold and a voltage limit; the target power value of the battery is calculated according to the polarization voltage, the battery cell parameters and the voltage limit, and when the target power value is less than or equal to the battery power upper limit value of the battery power threshold, the battery operation is controlled according to the target power value, thereby solving the technical problem of high safety risk and low energy conversion efficiency of the battery when providing power in the related art, by calculating the battery parameters, and then determining the target power value of the battery based on the battery parameters, and adjusting the output of the battery using the target power value, thereby achieving the technical effect of reducing the safety risk of the battery when providing power, reducing the polarization phenomenon during battery charging and discharging, improving the energy conversion efficiency of the battery, and extending the battery life. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which constitute part of this application, are intended to provide a further understanding of this application. The exemplary embodiments and descriptions of this application are intended to explain this application and do not constitute an improper limitation on this application. In the accompanying drawings:
[0020] Figure 1 A hardware structure block diagram of a computer terminal (or mobile device) for implementing a battery processing method;
[0021] Figure 2 is a flow chart of a battery processing method provided according to an embodiment of the present application;
[0022] Figure 3 is a schematic diagram of a battery processing device provided according to an embodiment of the present application;
[0023] Figure 4 This is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data for analysis, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set up between this system and the relevant user or organization. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain the relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0027] It should be noted that the collected information used in this application is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse use.
[0028] Example 1
[0029] According to an embodiment of the present application, a method embodiment of battery processing is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0030] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 It is a hardware structure block diagram of a computer terminal (or mobile device) for implementing a battery processing method, such as Figure 1 As shown, the computer terminal 10 (or mobile device) may include one or more ( Figure 1The computer system 102 includes a processor 102 (the processor 102 may include but is not limited to a microcontroller unit (MCU) or a programmable logic device (FPGA)), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, the computer system 102 may include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS), a network interface, a keyboard, a cursor control device, a power supply, and / or a camera. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.
[0031] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuitry may be a single independent processing module, or may be incorporated in whole or in part into any of the other components of the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuitry serves as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0032] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the battery treatment method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implementing the above-mentioned battery treatment method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0033] The transmission device 106 is used to receive or send data via a network. A specific example of the aforementioned network may include a wireless network provided by the communications provider of the computer terminal 10. In one embodiment, the transmission device 106 includes a network interface controller (NIC) and a network interface, which can be connected to other network devices via a base station to enable communication with the Internet. In one embodiment, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0034] The display may be, for example, a touch screen liquid crystal display (LCD), which enables a user to interact with a user interface of the computer terminal 10 (or mobile device).
[0035] Under the above operating environment, this application provides Figure 2 Battery disposal method shown. Figure 2 is a flow chart of a battery processing method according to an embodiment of the present application, such as Figure 2 As shown, the method includes the following steps:
[0036] Step S201: Acquire a battery and determine N first cell data of the battery, wherein the N first cell data at least include predicted polarization resistance, predicted polarization capacitance, and predicted equivalent resistance, and N is a positive integer.
[0037] Specifically, the battery may be a battery for an electric vehicle. In order to accurately determine the discharge capacity limit of the battery and thereby ensure the battery life and safety while releasing the most extreme power, that is, to determine the optimal power of the battery, detailed information of the battery may first be obtained to determine the battery cell information in the battery. The battery cell may be a ternary material cell, that is, an NCM cell (NCM: Lithium Nickel Cobalt Manganese Oxide).
[0038] Furthermore, the battery is placed in a high-power continuous discharge scenario in an automobile, and a stable communication link is established with the battery cell to continuously monitor the battery cell status, thereby determining the first battery cell data of the battery. The first battery cell data may include the battery cell's ohmic resistance (i.e., predicted equivalent resistance R0), predicted polarization resistance Rp, and predicted polarization capacitance C. By analyzing this data, the health and performance of the battery cell can be analyzed, thereby achieving the purpose of calculating the battery's optimal power.
[0039] It should be noted that the predicted polarization resistance Rp can reflect the impedance of electrochemical reactions and ion transfer inside the battery cell, and is closely related to the charge and discharge state, temperature and aging degree of the battery cell. Therefore, this resistance value can help estimate the instantaneous power output capability and thermal stability of the battery cell; the predicted polarization capacitance Cp is related to the charge storage and release capacity inside the battery cell, which affects the battery cell's rapid response capability and short-time power output performance; the predicted equivalent internal resistance R0 can reflect the DC impedance of the battery cell, which is related to the battery cell's thermal management, efficiency and long-term stability, and helps to evaluate the thermal risk and energy loss of the battery cell under high current conditions.
[0040] Step S202: Calculate second cell data of the battery using the N first cell data, and determine battery parameters based on the second cell data, wherein the second cell data at least includes polarization voltage, and the battery parameters at least include cell parameters, battery power threshold, and voltage limit.
[0041] Specifically, after obtaining multiple first battery cell data, information at the battery pack level can be calculated based on these data, that is, second battery cell data for determining the parameters and performance indicators of the entire battery can be obtained, wherein the second battery cell data can include polarization voltage and state of charge data (SOC, State of Charge). Polarization voltage refers to the voltage drop caused by factors such as electrochemical reactions and ion migration during the charging and discharging process of the battery cell, which can reflect the actual state of the battery cell.
[0042] Furthermore, based on the second cell data, the parameters of the entire battery can be further determined, that is, battery parameters including at least cell parameters, battery power thresholds and voltage limits can be obtained, wherein the cell parameters characterize representative cells of the entire battery, and may include target polarization resistance, target polarization capacitance and target equivalent ohmic internal resistance, which are helpful in evaluating the overall performance status of the battery pack under the current operating conditions; the battery power threshold refers to the maximum discharge power of the battery pack calculated based on the comprehensive value of the cell parameters and the current polarization voltage state while ensuring safety and life conditions, which can balance the relationship between power demand and battery health; the voltage limit refers to the voltage limit of the battery pack determined according to the cell parameters and polarization voltage, that is, the highest and lowest boundaries of the battery pack voltage within the acceptable range of safety and performance. This parameter helps prevent the battery from overcharging or over-discharging under extreme operating conditions, thereby protecting the battery from damage.
[0043] Step S203 , calculating a target power value of the battery according to the polarization voltage, the cell parameters and the voltage limit, and controlling the battery operation according to the target power value when the target power value is less than or equal to the battery power upper limit value of the battery power threshold.
[0044] Specifically, after the battery parameters are calculated, the optimal power of the battery can be calculated based on the data in the battery parameters, that is, the target power value can be obtained.
[0045] It should be noted that in order to ensure battery safety, after calculating the target power value, it is necessary to compare this power value with the battery power threshold, which serves as the safety boundary for power control, to ensure that the target power value does not exceed the upper limit of the battery power (also known as the battery power upper limit). When the target power value is less than or equal to the battery power threshold, the battery operation can be controlled based on the target power value, so that the battery outputs the required power in the safest and most efficient manner. This solution achieves intelligent management of the battery system by accurately calculating the target power value under the polarization voltage and performing real-time power control under the premise of considering the battery power threshold, thereby improving the accuracy and response speed of power control.
[0046] The battery processing method provided in the embodiment of the present application obtains a battery and determines N first battery cell data of the battery, wherein the N first battery cell data include at least predicted polarization resistance, predicted polarization capacitance and predicted equivalent resistance, and N is a positive integer; second battery cell data of the battery is calculated using the N first battery cell data, and battery parameters are determined from the second battery cell data, wherein the second battery cell data includes at least polarization voltage, and the battery parameters include at least battery cell parameters, battery power threshold and voltage limit; a target power value of the battery is calculated based on the polarization voltage, the battery cell parameters and the voltage limit, and when the target power value is less than or equal to the battery power upper limit value of the battery power threshold, the battery operation is controlled according to the target power value, thereby solving the technical problems in the related art of high safety risks and low energy conversion efficiency of the battery when providing power, by calculating the battery parameters, and then determining the target power value of the battery based on the battery parameters, and adjusting the output of the battery using the target power value, thereby achieving the technical effects of reducing the safety risks of the battery when providing power, reducing the polarization phenomenon during battery charging and discharging, improving the energy conversion efficiency of the battery, and extending the battery life.
[0047] Optionally, in the battery processing method provided in an embodiment of the present application, determining the N first battery cell data of the battery includes: using a pulse charge and discharge algorithm to calculate the battery voltage to obtain M battery voltages, wherein the M battery voltages include at least: the voltage before charging and discharging, the voltage at the first moment, and the voltage at the second moment, and M is a positive integer; obtaining a first-order circuit model, inputting the M battery voltages into the first-order circuit model, and outputting N first battery cell data, wherein the first-order circuit model is used to construct the dynamic behavior of the battery during the charging and discharging process.
[0048] It should be noted that the pulse charge and discharge algorithm may refer to the HPPC (High-Power Pulse Characterization) pulse charge and discharge experiment used to evaluate battery performance. Through this experiment, multiple voltages of the battery can be obtained. The first-order circuit model may refer to the first-order RC circuit model, which can describe the dynamic behavior of the battery during the charge and discharge process. In this model, the battery is regarded as a voltage source, a resistor R0 representing the ohmic internal resistance of the battery, and an RC network. The RC network consists of a polarization resistor Rp and a polarization capacitor C to simulate the polarization behavior of the battery.
[0049] When determining the first cell data of the battery, the above-mentioned HPPC pulse charge and discharge experiment can be used to perform voltage calculations, that is, first, a series of short charge and discharge pulses can be applied to the battery, and then the voltage response of the battery can be measured to obtain the changes in the dynamic parameters inside the battery, and then multiple battery voltages can be obtained. Among them, the voltage at the first moment can refer to the voltage measured at a specific time point after the charge pulse is applied, for example, the voltage is the voltage 10ms after the start of charge and discharge; the voltage at the second moment can refer to the voltage measured at a specific time point after the discharge pulse is applied, for example, the voltage is the voltage at the last moment after the charge and discharge is completed; the voltage before charge and discharge can refer to the static voltage of the battery when no charge and discharge pulses are performed.
[0050] Furthermore, after calculating multiple battery voltages, a first-order RC circuit model can be used to perform parameter identification based on the above-mentioned battery voltages, that is, the battery voltage, current, and time data of the battery are collected from the HPPC experiment, and the voltage changes during the pulse charge and discharge period and the static recovery period are recorded. Then, the voltage and current equations are established according to the first-order RC circuit model. Then, the nonlinear least squares method or other optimization algorithm is used to fit the experimental data to the model equation, thereby minimizing the difference between the experimental data and the model prediction, and finally finding the optimal predicted equivalent resistance R0, predicted polarization resistance Rp, and predicted polarization capacitance C, that is, obtaining the first battery cell data.
[0051] This embodiment obtains multiple first battery cell data by calculation, which can lay the foundation for implementing a more accurate power control strategy, ensuring that the battery meets power requirements while avoiding overcharging or over-discharging, extending battery life, and improving system safety and energy efficiency.
[0052] In order to more reasonably set the charge and discharge power of the battery, optionally, in the battery processing method provided in the embodiment of the present application, the second cell data of the battery is calculated using N first cell data, including: obtaining the predicted polarization resistance and the predicted polarization capacitance from the N first cell data, and determining the target time data of the battery; obtaining the preset charge and discharge power of the battery, constructing a first circuit matrix using the predicted polarization resistance, the predicted polarization capacitance and the target time data, and constructing a second circuit matrix using the preset charge and discharge power, the predicted polarization resistance, the predicted polarization capacitance and the target time data; obtaining the predicted equivalent resistance from the N first cell data, and constructing a cell data matrix according to the predicted equivalent resistance, the first circuit matrix and the second circuit matrix; and processing the cell data matrix using the Kalman algorithm to obtain the second cell data.
[0053] Specifically, after calculating the first battery cell data, the second battery cell data for determining the parameters and performance indicators of the entire battery can be calculated based on these data. First, the time information T (that is, the target time data) and the preset charge and discharge power of the battery can be determined. Then, based on the predicted polarization resistance (Rp) and the predicted polarization capacitance (C), the preset charge and discharge power of the battery and the time information T, a circuit model matrix reflecting the internal dynamic behavior of the battery is constructed, that is, the first circuit matrix and the second circuit matrix are obtained.
[0054] Among them, the first circuit matrix can be expressed as: The second circuit matrix can be expressed as: Wherein, e represents a natural number, Rp represents the predicted polarization resistance, C represents the predicted polarization capacitance, T represents the target time data, θ represents the preset charge and discharge power of the battery, and C T Indicates the battery capacity data of the battery.
[0055] Furthermore, a cell data matrix is constructed based on the predicted equivalent resistance, the first circuit matrix, and the second circuit matrix, wherein the cell data matrix can be expressed as:
[0056]
[0057] Furthermore, the extended Kalman algorithm, which can estimate the battery state and reduce measurement noise, can be used to process the above-mentioned battery cell data matrix. By iteratively updating the difference between the predicted value and the actual measured value, the actual state parameters of the battery can be gradually approached to obtain the second battery cell data.
[0058] It should be noted that when the extended Kalman algorithm processes the cell data matrix, the cell data matrix can be expressed as: X k =A k-1 X k-1 +B k-1 U k-1 ,in, U k-1 =I;U t =OCV+U k +IR0+V k , the voltage value is collected by the battery management system (BMS); X k+1 =X k +K k (U t,k -g(X k , U k );P k+1 =(IK k C k )P k It should be noted that k+1, k and k-1 represent the k+1th moment, the kth moment and the k-1th moment respectively.
[0059] This embodiment uses the Kalman algorithm to process the battery cell data matrix, which can more accurately calculate the second battery cell data, thereby more reasonably setting the battery charge and discharge power, avoiding overcharging or over-discharging, extending the battery life, and ensuring that the battery can provide stable and efficient energy output under different operating conditions.
[0060] Optionally, in the battery processing method provided in an embodiment of the present application, a first circuit matrix is constructed using predicted polarization resistance, predicted polarization capacitance and target time data, and a second circuit matrix is constructed using preset charge and discharge power, predicted polarization resistance, predicted polarization capacitance and target time data, including: obtaining battery capacity data of the battery, and determining the time period data between the target time data and the initial time data; calculating the product of the preset charge and discharge power and the time period data to obtain a first product, and calculating the ratio of the first product to the battery capacity data to obtain a first ratio; calculating the product of the predicted polarization resistance and the predicted polarization capacitance to obtain a second product, and calculating the ratio of the negative of the target time data to the second product to obtain a second ratio; calculating a third product based on the second ratio and the predicted polarization resistance; obtaining a first preset parameter, using the first preset parameter and the first ratio as elements to construct a first circuit matrix, and using the first ratio and the third product as elements to construct a second circuit matrix.
[0061] Specifically, before calculating the first circuit matrix and the second circuit matrix, it is first necessary to obtain the battery capacity data C used to evaluate the battery performance and predict the remaining power of the battery. T , and then determine the time interval between the target time data and time 0 (ie, the time period data ΔT).
[0062] Furthermore, the first circuit matrix A can be calculated by the following formula: kand the second circuit matrix B k :
[0063]
[0064] Wherein, e represents a natural number, Rp represents the predicted polarization resistance, C represents the predicted polarization capacitance, T represents the target time data, θ represents the preset charge and discharge power of the battery, and C T Indicates the battery capacity data of the battery, U k is the polarization voltage of the cell at the previous moment, U k+1 is the polarization voltage of the battery cell at the current moment, R0 is the predicted equivalent internal resistance, I is the current, OCV is the fitting function of the SOC_OCV of the battery cell, and U t is the terminal voltage of the battery cell. That is, by multiplying the preset charge and discharge power with the above-mentioned time period data, the expected energy consumed or generated within the time period can be obtained, namely the first product. The first product is then ratioed with the battery capacity data to obtain a first ratio reflecting the extent to which the preset power affects the battery capacity within the specified time period. Then, based on the predicted polarization resistance and predicted polarization capacitance, a third product is calculated, representing the additional energy loss generated by the polarization effect during the charge and discharge process of the battery. The target time data is then ratioed with the second product to obtain a second ratio representing the extent to which the polarization state of the battery cell affects the charge and discharge process. This second ratio is then multiplied by the predicted polarization resistance to obtain the third product. Finally, based on the above data, a first circuit matrix and a second circuit matrix are constructed, respectively. The first circuit matrix can reflect the energy consumption or generation characteristics of the battery within a given power and time range; the second circuit matrix reflects the impact of the polarization state of the battery cell on energy output.
[0065] This embodiment constructs a first circuit matrix and a second circuit matrix to enable rapid response to the dynamic demands of the battery, thereby enhancing the stability and responsiveness of the entire system, and providing data support for effectively suppressing polarization during the charge and discharge process and extending the overall life of the battery.
[0066] Optionally, in the battery processing method provided in an embodiment of the present application, calculating the target power value of the battery based on the polarization voltage, cell parameters and voltage limit includes: extracting the target polarization resistance and target polarization capacitance from the cell parameters, calculating the product of the target polarization resistance and the predicted polarization capacitance to obtain a fourth product; obtaining the target moment data of the battery, calculating the ratio of the negative of the target moment data to the fourth product to obtain a third ratio, and calculating the exponent value of the third ratio to obtain a circuit index value; calculating the product of the polarization voltage and the circuit index value to obtain a fifth product, and calculating the difference between the voltage limit and the fifth product to obtain a voltage difference; calculating the sixth product based on the target polarization resistance and the circuit index value, calculating the ratio of the voltage difference to the sixth product to obtain the target power value.
[0067] Specifically, after obtaining the second cell data, the battery parameters can be determined by looking up the table, that is, looking up the table according to the temperature and the state of charge data SOC in the second cell data, and outputting a set of cell parameters (target polarization resistance R P , target polarization capacitance C) and battery power threshold (which may include battery power upper limit P up and the battery power lower limit P low ; Then, based on the first cell data and the second cell parameters, establish the polarization voltage limit lookup table data of temperature and SOC, and then obtain the voltage limit Up.
[0068] Furthermore, the target power value P can be calculated by the following formula:
[0069]
[0070] Among them, U k represents the polarization voltage, T represents the target time data, and e is a natural number. This embodiment accurately calculates the target power value to ensure that the battery can output optimal power at all times, avoiding charging and discharging operations outside the safe range, improving the stability and safety of battery operation, and enhancing the battery efficiency and the performance of the entire battery management system.
[0071] Optionally, in the battery processing method provided in an embodiment of the present application, after calculating the difference between the voltage limit and the fifth product to obtain the voltage difference, the method further includes: obtaining a second preset parameter, and when the voltage difference is greater than the second preset parameter, executing the step of calculating the sixth product based on the target polarization resistance and the circuit index value; when the voltage difference is less than the second preset parameter, extracting the battery power lower limit from the battery power threshold, and determining the battery power lower limit as the target power value.
[0072] Specifically, when calculating the target power value, the voltage difference Perform verification. If the voltage difference is greater than the second preset parameter 0, the target power value can be calculated. Conversely, if the voltage difference is less than the second preset parameter 0, it means that the battery may be in a high polarization state or close to its voltage upper limit. At this time, the battery power lower limit extracted from the battery power threshold can be used as the target power value.
[0073] This embodiment ensures that the battery operates at a safe power level by making judgments when calculating the target power value, avoiding unnecessary power restrictions. This ensures that the battery is healthy and meets power requirements while fully utilizing its energy output capacity, reducing energy loss and performance degradation due to polarization, improving the overall efficiency of the battery, avoiding overcharging and over-discharging, and extending the battery life.
[0074] Optionally, in the battery processing method provided in an embodiment of the present application, before controlling the battery operation according to the target power value, the method further includes: obtaining the historical power value of the battery in a historical time period, and calculating the difference between the target power value and the historical power value to obtain a power difference; obtaining a preset power threshold, and comparing the power difference with the preset power threshold; when the power difference is greater than or equal to the preset power threshold, obtaining the preset battery power value, and controlling the battery operation according to the preset battery power value; when the power difference is less than the preset power threshold, controlling the battery operation according to the target power value.
[0075] Specifically, after calculating the target power value, the target power value needs to be verified. At this time, the historical power value in the most recent period can be retrieved from the historical data, that is, the historical power value is obtained, and then the value is compared with the above-mentioned target power value to determine whether the target power value is significantly different from the historical power value, that is, the difference between the target power value and the historical power value is calculated to obtain the power difference.
[0076] If there is a significant difference between the target power value and the historical power value, that is, the power difference is greater than or equal to the preset power threshold, it is necessary to control the battery operation according to the preset battery power value, for example, approaching at a rate of 5kw / S, that is, not immediately switching to the new power level, but gradually approaching the new value at a controllable rate (the power change per second will not exceed 5kW), so as to provide the battery with an adaptation process and avoid the sudden change in power causing internal instability or other potential problems in the battery; conversely, if there is no significant difference between the target power value and the historical power value, the target power value can be directly used to control the battery operation.
[0077] By comparing the power differences, this embodiment enables the battery to respond to changes in power demand in a short period of time. In particular, when the power demand changes dramatically, the preset battery power value is used for rapid adjustment, thereby ensuring the response speed of the system. At the same time, excessive pressure on the battery is avoided by using the preset threshold, thereby ensuring the safe and stable operation of the battery. When the power change is small, the target power value is directly controlled to achieve a smooth transition of power output, reduce unnecessary power fluctuations, and improve the energy utilization efficiency and life of the battery.
[0078] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0079] Example 2
[0080] The present application also provides a battery processing device. It should be noted that the battery processing device of the present application can be used to execute the battery processing method provided in the present application. The battery processing device provided in the present application is introduced below.
[0081] According to an embodiment of the present application, a device for implementing the above-mentioned battery processing method is also provided. Figure 3 is a schematic diagram of a battery processing device provided according to an embodiment of the present application, such as Figure 3 As shown, the device includes: a first acquiring unit 30, a first calculating unit 31, and a second calculating unit 32.
[0082] A first acquiring unit 30 is configured to acquire a battery and determine N first cell data of the battery, wherein the N first cell data include at least a predicted polarization resistance, a predicted polarization capacitance, and a predicted equivalent resistance, where N is a positive integer;
[0083] a first calculation unit 31, configured to calculate second cell data of the battery using the N first cell data, and determine battery parameters based on the second cell data, wherein the second cell data includes at least a polarization voltage, and the battery parameters include at least a cell parameter, a battery power threshold, and a voltage limit;
[0084] The second calculation unit 32 is used to calculate the target power value of the battery according to the polarization voltage, the battery cell parameters and the voltage limit, and control the battery operation according to the target power value when the target power value is less than or equal to the battery power upper limit value of the battery power threshold.
[0085] The battery processing device provided in the embodiment of the present application obtains a battery through a first acquisition unit 30 and determines N first cell data of the battery, wherein the N first cell data include at least a predicted polarization resistance, a predicted polarization capacitance, and a predicted equivalent resistance, and N is a positive integer; the first calculation unit 31 uses the N first cell data to calculate the second cell data of the battery, and determines the battery parameters from the second cell data, wherein the second cell data includes at least a polarization voltage, and the battery parameters include at least cell parameters, a battery power threshold, and a voltage limit; the second calculation unit 32 calculates the target power value of the battery based on the polarization voltage, the cell parameters, and the voltage limit, and controls the battery operation according to the target power value when the target power value is less than or equal to the battery power upper limit value of the battery power threshold, thereby solving the technical problem in the related art that the battery has high safety risks and low energy conversion efficiency when providing power. By calculating the battery parameters of the battery, the target power value of the battery is determined based on the battery parameters, and the target power value is used to adjust the output of the battery, thereby achieving the technical effect of reducing the safety risks of the battery when providing power, reducing the polarization phenomenon during the battery charging and discharging process, improving the energy conversion efficiency of the battery, and extending the battery life.
[0086] Optionally, in the battery processing device provided in the embodiment of the present application, the first acquisition unit 30 includes: a first calculation module, used to calculate the voltage of the battery using a pulse charge and discharge algorithm to obtain M battery voltages, wherein the M battery voltages include at least: the voltage before charging and discharging, the voltage at the first moment, and the voltage at the second moment, and M is a positive integer; a first acquisition module, used to obtain a first-order circuit model, input the M battery voltages into the first-order circuit model, and output N first battery cell data, wherein the first-order circuit model is used to construct the dynamic behavior of the battery during the charging and discharging process.
[0087] Optionally, in the battery processing device provided in the embodiment of the present application, the first calculation unit 31 includes: a second acquisition module, used to obtain predicted polarization resistance and predicted polarization capacitance from N first battery cell data, and determine the target time data of the battery; a third acquisition module, used to obtain the preset charge and discharge power of the battery, and use the predicted polarization resistance, predicted polarization capacitance and target time data to construct a first circuit matrix, and use the preset charge and discharge power, predicted polarization resistance, predicted polarization capacitance and target time data to construct a second circuit matrix; a fourth acquisition module, used to obtain predicted equivalent resistance from N first battery cell data, and construct a battery cell data matrix according to the predicted equivalent resistance, the first circuit matrix and the second circuit matrix; a processing module, used to process the battery cell data matrix using the Kalman algorithm to obtain second battery cell data.
[0088] Optionally, in the battery processing device provided in the embodiment of the present application, the first calculation unit 31 includes: a fifth acquisition module, used to acquire the battery capacity data of the battery, and determine the time period data between the target moment data and the initial moment data; a second calculation module, used to calculate the product of the preset charge and discharge power and the time period data to obtain a first product, and calculate the ratio of the first product to the battery capacity data to obtain a first ratio; a third calculation module, used to calculate the product of the predicted polarization resistance and the predicted polarization capacitance to obtain a second product, and calculate the ratio of the negative of the target moment data to the second product to obtain a second ratio; a fourth calculation module, used to calculate the third product based on the second ratio and the predicted polarization resistance; a sixth acquisition module, used to obtain the first preset parameter, use the first preset parameter and the first ratio as elements to construct a first circuit matrix, and use the first ratio and the third product as elements to construct a second circuit matrix.
[0089] Optionally, in the battery processing device provided in the embodiment of the present application, the second calculation unit 32 includes: an extraction module, used to extract the target polarization resistance and the target polarization capacitance from the battery cell parameters, calculate the product of the target polarization resistance and the predicted polarization capacitance, and obtain a fourth product; a seventh acquisition module, used to obtain the target moment data of the battery, calculate the ratio of the negative of the target moment data to the fourth product, obtain a third ratio, and calculate the exponent value of the third ratio to obtain a circuit index value; a fifth calculation module, used to calculate the product of the polarization voltage and the circuit index value to obtain a fifth product, and calculate the difference between the voltage limit and the fifth product to obtain a voltage difference; a sixth calculation module, used to calculate the sixth product based on the target polarization resistance and the circuit index value, calculate the ratio of the voltage difference to the sixth product, and obtain the target power value.
[0090] Optionally, in the battery processing device provided in the embodiment of the present application, the device further includes: a second acquisition unit, for calculating the difference between the voltage limit and the fifth product to obtain the voltage difference, and then obtaining a second preset parameter, and when the voltage difference is greater than the second preset parameter, executing the step of calculating the sixth product based on the target polarization resistance and the circuit index value; an extraction unit, for extracting the battery power lower limit from the battery power threshold when the voltage difference is less than the second preset parameter, and determining the battery power lower limit as the target power value.
[0091] Optionally, in the battery processing device provided in the embodiment of the present application, the device also includes: a third acquisition unit, used to obtain the historical power value of the battery in a historical time period before controlling the battery operation according to the target power value, and calculate the difference between the target power value and the historical power value to obtain a power difference; a fourth acquisition unit, used to obtain a preset power threshold and compare the power difference with the preset power threshold; a fifth acquisition unit, used to obtain the preset battery power value when the power difference is greater than or equal to the preset power threshold, and control the battery operation according to the preset battery power value; a control unit, used to control the battery operation according to the target power value when the power difference is less than the preset power threshold.
[0092] It should be noted that the first acquisition unit 30, the first calculation unit 31, and the second calculation unit 32 described above correspond to steps S201 to S203 in Example 1. The examples and application scenarios implemented by the above units and the corresponding steps are the same, but are not limited to the contents disclosed in the above Example 1. It should be noted that the above modules or units can be hardware components or software components stored in a memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n). The above units can also be part of a device and can be run in the computer terminal 10 provided in Example 1.
[0093] Example 3
[0094] The embodiment of the present application may provide a computer terminal, which may be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal may also be replaced by a terminal device such as a mobile terminal or an electronic device.
[0095] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of a computer network.
[0096] In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the battery processing method: obtaining a battery and determining N first battery cell data of the battery, wherein the N first battery cell data at least include predicted polarization resistance, predicted polarization capacitance and predicted equivalent resistance, and N is a positive integer; using the N first battery cell data to calculate the second battery cell data of the battery, and determining the battery parameters from the second battery cell data, wherein the second battery cell data at least includes polarization voltage, and the battery parameters at least include battery cell parameters, battery power threshold and voltage limit; calculating the target power value of the battery based on the polarization voltage, battery cell parameters and voltage limit, and when the target power value is less than or equal to the battery power upper limit value of the battery power threshold, controlling the battery operation according to the target power value.
[0097] Optionally, the computer terminal may execute the program code of the following steps in the battery processing method: using a pulse charge and discharge algorithm to calculate the battery voltage to obtain M battery voltages, wherein the M battery voltages include at least: the voltage before charge and discharge, the voltage at the first moment, and the voltage at the second moment, and M is a positive integer; obtaining a first-order circuit model, inputting the M battery voltages into the first-order circuit model, and outputting N first battery cell data, wherein the first-order circuit model is used to construct the dynamic behavior of the battery during the charge and discharge process.
[0098] Optionally, the computer terminal can execute the program code of the following steps in the battery processing method: obtaining predicted polarization resistance and predicted polarization capacitance from N first battery cell data, and determining the target time data of the battery; obtaining the preset charge and discharge power of the battery, and constructing a first circuit matrix using the predicted polarization resistance, predicted polarization capacitance and target time data, and constructing a second circuit matrix using the preset charge and discharge power, predicted polarization resistance, predicted polarization capacitance and target time data; obtaining predicted equivalent resistance from N first battery cell data, and constructing a battery cell data matrix based on the predicted equivalent resistance, the first circuit matrix and the second circuit matrix; processing the battery cell data matrix using the Kalman algorithm to obtain second battery cell data.
[0099] Optionally, the above-mentioned computer terminal can execute the program code of the following steps in the battery processing method: obtaining the battery capacity data of the battery, and determining the time period data between the target moment data and the initial moment data; calculating the product of the preset charge and discharge power and the time period data to obtain a first product, and calculating the ratio of the first product to the battery capacity data to obtain a first ratio; calculating the product of the predicted polarization resistance and the predicted polarization capacitance to obtain a second product, and calculating the ratio of the negative of the target moment data to the second product to obtain a second ratio; calculating the third product based on the second ratio and the predicted polarization resistance; obtaining the first preset parameter, using the first preset parameter and the first ratio as elements to construct a first circuit matrix, and using the first ratio and the third product as elements to construct a second circuit matrix.
[0100] Optionally, the above-mentioned computer terminal can execute the program code of the following steps in the battery processing method: extract the target polarization resistance and the target polarization capacitance from the battery cell parameters, calculate the product of the target polarization resistance and the predicted polarization capacitance, and obtain a fourth product; obtain the target moment data of the battery, calculate the ratio of the negative of the target moment data to the fourth product, obtain a third ratio, and calculate the exponent value of the third ratio to obtain a circuit index value; calculate the product of the polarization voltage and the circuit index value to obtain a fifth product, and calculate the difference between the voltage limit and the fifth product to obtain a voltage difference; calculate the sixth product based on the target polarization resistance and the circuit index value, calculate the ratio of the voltage difference to the sixth product, and obtain the target power value.
[0101] Optionally, the above-mentioned computer terminal can execute the program code of the following steps in the battery processing method: obtaining a second preset parameter, and when the voltage difference is greater than the second preset parameter, executing the step of calculating the sixth product based on the target polarization resistance and the circuit index value; when the voltage difference is less than the second preset parameter, extracting the battery power lower limit value from the battery power threshold value, and determining the battery power lower limit value as the target power value.
[0102] Optionally, the above-mentioned computer terminal can execute the program code of the following steps in the battery processing method: obtain the historical power value of the battery in the historical time period, and calculate the difference between the target power value and the historical power value to obtain the power difference; obtain the preset power threshold, and compare the power difference with the preset power threshold; when the power difference is greater than or equal to the preset power threshold, obtain the preset battery power value, and control the battery operation according to the preset battery power value; when the power difference is less than the preset power threshold, control the battery operation according to the target power value.
[0103] Optionally, Figure 4 This is a structural block diagram of an electronic device according to an embodiment of the present application. Figure 4 As shown, the electronic device may include: one or more ( Figure 4Only one is shown) processor 402, memory 404, storage controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.
[0104] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the battery processing method and device in the embodiments of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned battery processing method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely located relative to the processor, and these remote memories can be connected to the terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, corporate intranet, local area network, mobile communication network and combinations thereof.
[0105] The processor may call the information and application programs stored in the memory through the transmission device to execute the above steps in the above battery processing method.
[0106] An embodiment of the present application provides a battery processing solution. By obtaining a battery and determining N first cell data of the battery, wherein the N first cell data include at least a predicted polarization resistance, a predicted polarization capacitance, and a predicted equivalent resistance, and N is a positive integer; using the N first cell data to calculate the second cell data of the battery, and determining the battery parameters from the second cell data, wherein the second cell data includes at least a polarization voltage, and the battery parameters include at least cell parameters, a battery power threshold, and a voltage limit; calculating the target power value of the battery based on the polarization voltage, the cell parameters, and the voltage limit, and when the target power value is less than or equal to the battery power upper limit of the battery power threshold, controlling the battery operation according to the target power value, solving the technical problem of high safety risk and low energy conversion efficiency of the battery when providing power in the related art, by calculating the battery parameters, and then determining the target power value of the battery based on the battery parameters, and adjusting the output of the battery using the target power value, thereby achieving the technical effect of reducing the safety risk of the battery when providing power, reducing the polarization phenomenon during the battery charging and discharging process, improving the energy conversion efficiency of the battery, and extending the battery life.
[0107] It can be understood by those skilled in the art that Figure 4 The structure shown is for illustration only, and the electronic device may also be a terminal device such as a smart phone, a tablet computer, a PDA, a mobile Internet device (MID), or a PAD. Figure 4 It does not limit the structure of the above electronic device. For example, the electronic device may also include Figure 4 More or fewer components (such as network interfaces, display devices, etc.) shown in, or with Figure 4 Different configurations shown.
[0108] A person skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0109] Example 4
[0110] The embodiment of the present application further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the battery processing method provided in the first embodiment.
[0111] Optionally, in this embodiment, the storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0112] Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: obtaining a battery and determining N first cell data of the battery, wherein the N first cell data include at least predicted polarization resistance, predicted polarization capacitance, and predicted equivalent resistance, and N is a positive integer; using the N first cell data to calculate the second cell data of the battery, and determining the battery parameters from the second cell data, wherein the second cell data includes at least polarization voltage, and the battery parameters include at least cell parameters, battery power threshold, and voltage limit; calculating the target power value of the battery based on the polarization voltage, cell parameters, and voltage limit, and when the target power value is less than or equal to the battery power upper limit value of the battery power threshold, controlling the battery operation according to the target power value.
[0113] The present application also provides a computer program product, which, when executed on a data processing device, is adapted to execute the steps of the battery processing method.
[0114] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0115] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0116] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0117] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0118] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0119] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program code.
[0120] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A battery processing method, characterized in that: include: Obtain a battery and determine N first cell data of the battery, wherein the N first cell data include at least a predicted polarization resistance, a predicted polarization capacitance, and a predicted equivalent resistance, where N is a positive integer; Calculating second cell data of the battery using the N first cell data, and determining battery parameters based on the second cell data, wherein the second cell data includes at least polarization voltage, and the battery parameters include at least cell parameters, a battery power threshold, and a voltage limit; The target power value of the battery is calculated according to the polarization voltage, the battery cell parameters and the voltage limit, and the battery operation is controlled according to the target power value when the target power value is less than or equal to the battery power upper limit value of the battery power threshold.
2. The method according to claim 1, characterized in that Determining the N first battery cell data of the battery includes: Calculating the voltage of the battery using a pulse charge and discharge algorithm to obtain M battery voltages, wherein the M battery voltages include at least: a voltage before charge and discharge, a voltage at a first moment, and a voltage at a second moment, where M is a positive integer; A first-order circuit model is obtained, the M battery voltages are input into the first-order circuit model, and the N first battery cell data are output, wherein the first-order circuit model is used to construct the dynamic behavior of the battery during the charging and discharging process.
3. The method according to claim 1, characterized in that Calculating the second battery cell data of the battery using the N first battery cell data includes: Obtaining the predicted polarization resistance and the predicted polarization capacitance from the N first battery cell data, and determining target time data of the battery; Obtaining a preset charge and discharge power of the battery, constructing a first circuit matrix using the predicted polarization resistance, the predicted polarization capacitance, and the target time data, and constructing a second circuit matrix using the preset charge and discharge power, the predicted polarization resistance, the predicted polarization capacitance, and the target time data; Obtaining the predicted equivalent resistance from the N first battery cell data, and constructing a battery cell data matrix according to the predicted equivalent resistance, the first circuit matrix, and the second circuit matrix; The battery cell data matrix is processed using a Kalman algorithm to obtain the second battery cell data.
4. The method according to claim 3, characterized in that Constructing a first circuit matrix using the predicted polarization resistance, the predicted polarization capacitance, and the target time data, and constructing a second circuit matrix using the preset charge and discharge power, the predicted polarization resistance, the predicted polarization capacitance, and the target time data includes: Acquire battery capacity data of the battery, and determine time period data between the target time data and the initial time data; Calculating the product of the preset charge and discharge power and the time period data to obtain a first product, and calculating the ratio of the first product to the battery capacity data to obtain a first ratio; Calculating the product of the predicted polarization resistance and the predicted polarization capacitance to obtain a second product, and calculating the ratio of the negative of the target time data to the second product to obtain a second ratio; Calculating a third product based on the second ratio and the predicted polarization resistance; Obtain a first preset parameter, use the first preset parameter and the first ratio as elements to construct the first circuit matrix, and use the first ratio and the third product as elements to construct the second circuit matrix.
5. The method according to claim 1, wherein Calculating the target power value of the battery according to the polarization voltage, the battery cell parameters, and the voltage limit includes: Extracting a target polarization resistance and a target polarization capacitance from the cell parameters, and calculating a product of the target polarization resistance and the predicted polarization capacitance to obtain a fourth product; acquiring target time data of the battery, calculating a ratio of a negative of the target time data and the fourth product to obtain a third ratio, and calculating an exponent value of the third ratio to obtain a circuit index value; calculating a product of the polarization voltage and the circuit index value to obtain a fifth product, and calculating a difference between the voltage limit value and the fifth product to obtain a voltage difference; A sixth product is calculated according to the target polarization resistance and the circuit index value, and a ratio of the voltage difference to the sixth product is calculated to obtain the target power value.
6. The method according to claim 5, characterized in that After calculating the difference between the voltage limit value and the fifth product to obtain the voltage difference value, the method further includes: Obtaining a second preset parameter, and when the voltage difference is greater than the second preset parameter, performing the step of calculating a sixth product based on the target polarization resistance and the circuit index value; When the voltage difference is less than the second preset parameter, a battery power lower limit is extracted from the battery power threshold, and the battery power lower limit is determined as the target power value.
7. The method according to claim 1, characterized in that Before controlling the battery operation according to the target power value, the method further includes: Obtaining a historical power value of the battery in a historical time period, and calculating a difference between the target power value and the historical power value to obtain a power difference; Obtaining a preset power threshold, and comparing the power difference with the preset power threshold; When the power difference is greater than or equal to the preset power threshold, obtaining a preset battery power value, and controlling the battery operation according to the preset battery power value; When the power difference is less than the preset power threshold, the battery operation is controlled according to the target power value.
8. A battery processing device, characterized in that: include: a first acquiring unit, configured to acquire a battery and determine N first cell data of the battery, wherein the N first cell data include at least a predicted polarization resistance, a predicted polarization capacitance, and a predicted equivalent resistance, where N is a positive integer; a first calculation unit, configured to calculate second cell data of the battery using the N first cell data, and determine battery parameters based on the second cell data, wherein the second cell data includes at least a polarization voltage, and the battery parameters include at least a cell parameter, a battery power threshold, and a voltage limit; a second calculation unit, configured to calculate a target power value of the battery based on the polarization voltage, the cell parameters, and the voltage limit, and control the battery operation according to the target power value when the target power value is less than or equal to a battery power upper limit value of the battery power threshold.
9. An electronic device, characterized in that: include: a memory storing an executable program; A processor is configured to run the program, wherein the program, when running, executes the battery processing method according to any one of claims 1 to 7.
10. A computer program product comprising computer instructions, characterized in that When the computer instructions are executed by a processor, the steps of the battery processing method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Battery peak power prediction method and device
CN111913109A
Motor control method and device, storage medium and electronic equipment
CN116605064A
Battery health state estimation method and device
CN119001503A
Battery power control method and apparatus, and device and storage medium
WO2024020842A1