Battery charging and discharging power determination method and device, equipment, medium and product
By obtaining real-time status data in the battery pack, determining the priority value and balance indicators of the battery, reasonably allocating the charging and discharging power, solving the problem of unreasonable charging and discharging power in the battery pack, and improving the service life and performance of the battery pack.
Patent Information
- Application Number
- CN202510503697.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-21
- Publication Date
- 2025-08-01
AI Technical Summary
In the prior art, when a battery pack contains multiple batteries, the determination of charge and discharge power is unreasonable, resulting in a degradation of the battery pack's performance and shortening of service life, and failure to achieve collaborative optimization and balance load of each battery.
By obtaining the real-time status data of each battery in the battery pack within the preset period, determining the priority value and balance index of the battery, and reasonably allocating the charging and discharge power.
It improves the rationality of the charging and discharging process of the battery pack, improves the service life of the battery pack, reduces the overcharging and discharging of individual batteries, and improves the overall health of the battery pack.
Smart Images

Figure CN120414784A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of batteries, and particularly to a method, device, equipment, medium, and product for determining the charging and discharging power of a battery. Background Art
[0002] With the rapid development of technology, the demand for battery management in various electronic devices and new energy vehicles is increasing day by day. By controlling the power during the charging and discharging processes of the battery through a battery management system, the safe and efficient operation of the battery can be ensured.
[0003] In some technologies, the charging and discharging power are determined based on various parameters of the battery during the charging and discharging processes. Specifically, the charging power and discharging power are determined respectively based on parameters such as voltage, current, and temperature during the charging and discharging processes.
[0004] In the above technologies, if the battery pack contains multiple batteries, the determined charging power and discharging power may be unreasonable. Therefore, there is an urgent need for a solution to reasonably determine the charging and discharging power for different batteries in the battery pack. Summary of the Invention
[0005] The method, device, equipment, medium, and product for determining the charging and discharging power of a battery provided in the embodiments of this application are used to more reasonably determine the charging and discharging power of different batteries in the battery pack.
[0006] In a first aspect, an embodiment of this application provides a method for determining the charging and discharging power of a battery, including:
[0007] Obtain the real-time status data of each battery in the battery pack within a preset period;
[0008] During the charging process of the battery pack, determine the priority value of the batteries in the battery pack according to the real-time status data; and determine the charging power of the battery according to the priority value; where the priority value is used to indicate the real-time status of the batteries in the battery pack;
[0009] During the discharging process of the battery pack, determine the balance index of the battery pack according to the real-time status data; and determine the discharging power of the battery according to the balance index and the real-time status data; where the balance index is used to indicate the degree of difference in the working performance among the batteries in the battery pack.
[0010] In a possible implementation manner, the real-time status data includes at least one of the following: real-time voltage, real-time current, real-time temperature, and real-time remaining capacity; determining the priority value of the batteries in the battery pack according to the real-time status data includes:
[0011] Determine a first-priority intermediate value according to the real-time remaining capacity, real-time temperature, priority adjustment coefficient, and temperature attenuation coefficient; wherein, the priority adjustment coefficient is used to indicate the importance of the batteries in the battery pack; the temperature attenuation coefficient is used to indicate the degree of influence of temperature on the priority value.
[0012] Determine a second-priority intermediate value according to the real-time voltage and real-time current.
[0013] Determine the ratio of the first-priority intermediate value to the second-priority intermediate value as the priority value.
[0014] In a possible implementation manner, determining the charging power of the battery according to the priority value includes:
[0015] Sum up the priority values of each battery to obtain the total priority value.
[0016] Determine the charging power according to the priority value, the total priority value, the total charging power, and the charging efficiency factor; wherein, the charging efficiency factor is a constant greater than 0 and less than 1.
[0017] In a possible implementation manner, the real-time status data includes at least one of the following: real-time voltage, real-time current, real-time temperature, and real-time remaining capacity; determining the balance index of the battery pack according to the real-time status data includes:
[0018] Determine the difference in remaining capacity between the batteries according to the real-time remaining capacity of the batteries.
[0019] Determine the balance index of the battery pack according to the difference in remaining capacity and the difference in internal impedance; wherein, the difference in internal impedance is the absolute value of the difference in impedance between the batteries.
[0020] In a possible implementation manner, determining the discharge power of the battery according to the balance index and the real-time status data includes:
[0021] Determine the discharge power of the battery according to the balance index, the global optimization factor, and the real-time remaining capacity of the battery; wherein, the global optimization factor is used to indicate the influence weight of the balance index on the battery load.
[0022] In a possible implementation manner, before determining the charging power of the battery according to the priority value, it further includes:
[0023] During the charging process, determine the balance index of the battery pack according to the real-time status data.
[0024] If it is determined that the balance index is greater than or equal to the balance threshold, determine at least one battery to be adjusted from the battery pack.
[0025] Adjust the priority value of the battery to be adjusted.
[0026] In a possible implementation, adjusting the priority value of the battery to be adjusted includes:
[0027] Adjusting the first priority value of the battery to be adjusted to a second priority value; wherein, the second priority value is greater than the first priority value.
[0028] In a possible implementation, determining at least one battery to be adjusted from the battery pack includes:
[0029] Sorting the batteries in the battery pack in ascending order of the real-time remaining capacity to obtain a first sequence;
[0030] Selecting the first N batteries from the first sequence as the batteries to be adjusted; wherein, N is a positive integer.
[0031] In a second aspect, an embodiment of the present application provides a device for determining the charging and discharging power of a battery, including:
[0032] An acquisition module, configured to acquire the real-time status data of each battery in the battery pack within a preset period;
[0033] A processing module, configured to determine the priority value of the battery in the battery pack according to the real-time status data during the charging process of the battery pack; and determine the charging power of the battery according to the priority value; wherein, the priority value is used to indicate the real-time status of the battery in the battery pack;
[0034] The processing module is further configured to determine the balance index of the battery pack according to the real-time status data during the discharging process of the battery pack; and determine the discharging power of the battery according to the balance index and the real-time status data; wherein, the balance index is used to indicate the degree of difference in the working performance among the batteries in the battery pack.
[0035] In a possible implementation, the real-time status data includes at least one of the following: real-time voltage, real-time current, real-time temperature, and real-time remaining capacity; according to the real-time status data, to determine the priority value of the battery in the battery pack, the processing module is used for:
[0036] Determining a first priority intermediate value according to the real-time remaining capacity, real-time temperature, priority adjustment coefficient, and temperature attenuation coefficient; wherein, the priority adjustment coefficient is used to indicate the importance of the battery in the battery pack; the temperature attenuation coefficient is used to indicate the influence degree of temperature on the priority value;
[0037] Determining a second priority intermediate value according to the real-time voltage and real-time current;
[0038] Determining the ratio of the first priority intermediate value to the second priority intermediate value as the priority value.
[0039] In a possible implementation, according to the priority value, determine the charging power of the battery. The processing module is used for:
[0040] Sum up the priority values of each battery to obtain the total priority value;
[0041] Determine the charging power according to the priority value, the total priority value, the total charging power, and the charging efficiency factor; where the charging efficiency factor is a constant greater than 0 and less than 1.
[0042] In a possible implementation, the real-time status data includes at least one of the following: real-time voltage, real-time current, real-time temperature, and real-time remaining capacity; according to the real-time status data, determine the balance index of the battery pack. The processing module is used for:
[0043] Determine the difference in remaining capacity between the batteries according to the real-time remaining capacity of the batteries;
[0044] Determine the balance index of the battery pack according to the difference in remaining capacity and the difference in internal impedance; where the difference in internal impedance is the absolute value of the difference in impedance between the batteries.
[0045] In a possible implementation, according to the balance index and the real-time status data, determine the discharge power of the battery. The processing module is used for:
[0046] Determine the discharge power of the battery according to the balance index, the global optimization factor, and the real-time remaining capacity of the battery; where the global optimization factor is used to indicate the influence weight of the balance index on the battery load.
[0047] In a possible implementation, before determining the charging power of the battery according to the priority value, the processing module is further used for:
[0048] During the charging process, determine the balance index of the battery pack according to the real-time status data;
[0049] If it is determined that the balance index is greater than or equal to the balance threshold, determine at least one battery to be adjusted from the battery pack;
[0050] Adjust the priority value of the battery to be adjusted.
[0051] In a possible implementation, to adjust the priority value of the battery to be adjusted, the processing module is used for:
[0052] Adjust the first priority value of the battery to be adjusted to a second priority value; where the second priority value is greater than the first priority value.
[0053] In a possible implementation, at least one battery to be adjusted is determined from the battery pack, and the processing module is configured to:
[0054] Sort the batteries in the battery pack in ascending order of the real-time remaining capacity to obtain a first sequence;
[0055] Select the first N batteries from the first sequence as the batteries to be adjusted; where N is a positive integer.
[0056] In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor;
[0057] The memory stores computer-executable instructions;
[0058] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementation manners of the first aspect.
[0059] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement the above first aspect and / or various possible implementation manners of the first aspect.
[0060] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the above first aspect and / or various possible implementation manners of the first aspect.
[0061] The method, device, equipment, medium, and product for determining the charging and discharging power of a battery provided in the embodiments of the present application obtain the real-time status data of each battery in the battery pack at each preset period. During the charging process, the priority value of each battery is determined according to the real-time status data, and based on the priority values of all batteries, the charging power of each battery is determined; during the discharging process, the overall balance index of the battery pack is determined according to the real-time status data, and based on the balance index and the real-time status data of each battery, the discharging power of each battery is determined. It can realize that during the charging and discharging process of the battery pack, considering the performance differences of each battery, the charging and discharging power of each battery in the battery pack is determined more reasonably. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.
[0063] Figure 1 Schematic flow of the method for determining the charging and discharging power of a battery provided by the present application Figure 1 ;
[0064] Figure 2Flow schematic of the method for determining the charging and discharging power of the battery provided by this application Figure 2 ;
[0065] Figure 3 Flow schematic of the method for determining the charging and discharging power of the battery provided by this application Figure 3 ;
[0066] Figure 4 Structural schematic diagram of the device for determining the charging and discharging power of the battery provided by this application;
[0067] Figure 5 Structural schematic diagram of the electronic device provided by this application.
[0068] Through the above-mentioned drawings, specific embodiments of this application have been shown, and there will be more detailed descriptions hereinafter. These drawings and textual descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. Specific Embodiments
[0069] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. On the contrary, they are merely examples of the devices and methods consistent with some aspects of this application as detailed in the appended claims.
[0070] First, the terms involved in this application are explained:
[0071] Priority value: A parameter reflecting the real-time state of the batteries in the battery pack. Based on the priority value, the charging power of the battery can be determined. For example, the higher the priority value of the battery, the greater the charging power allocated to this battery from the total charging power. Correspondingly, the lower the priority value of the battery, the smaller the charging power allocated to this battery from the total charging power.
[0072] Balance index: Refers to the difference in the working performance of different batteries in the battery pack. Among them, the difference in working performance can include, but is not limited to, the impedance difference between different batteries, the difference in the real-time remaining capacity between different batteries, etc. The higher the value of the balance index, the more obvious the difference in the working performance of different batteries in the battery pack. Correspondingly, the lower the value of the balance index, the more average the working performance of different batteries in the battery pack.
[0073] With the rapid development of technology, various electronic devices and new energy vehicle technologies have developed rapidly. Electronic devices, new energy vehicles and other products all require batteries to supply power to the devices. The actual use of products such as electronic devices and new energy vehicles depends on the operation of the battery, and the charging and discharging processes of the battery directly affect the life of the battery and the use of the product. Therefore, the demand for battery management is increasing day by day. By controlling the power of the charging process and discharging process of the battery through a battery management system, it is possible to ensure the safe and efficient operation of the battery.
[0074] In some embodiments, the charging power is determined according to various parameters of the battery during the charging process, and the discharging power is determined according to various parameters of the battery during the discharging process to prevent overcharging or over-discharging of the battery.
[0075] In the above embodiments, for the case where a battery pack contains multiple batteries, the charging and discharging conditions of each battery in the battery pack are not considered. The collaborative optimization and balanced load of each battery in the battery pack cannot be achieved. This results in unreasonable charging power and discharging power for each battery, thereby causing a decline in the performance of the battery pack and a shortening of the overall service life.
[0076] The method for determining the charging and discharging power of the battery provided by this application, at each preset period, by obtaining the real-time status data of each battery in the battery pack, during the charging process, according to the real-time status data, determine the priority value of each battery, and based on the priority values of all batteries, determine the charging power of each battery; during the discharging process, determine the overall balance index of the battery pack according to the real-time status data, and based on the balance index and the real-time status data of each battery, determine the discharging power of each battery. It can be realized that during the charging and discharging process of the battery pack, considering the performance differences of each battery, and combining the real-time status of each battery, more reasonably determine the charging power and discharging power of each battery in the battery pack. Thereby improving the rationality of the control of the charging and discharging process of the battery pack, and based on the reasonable charging and discharging power, improving the service life of the battery and the overall battery pack.
[0077] The following uses specific embodiments to elaborate in detail on the technical solution of this application and how the technical solution of this application solves the above technical problems. These several specific embodiments below can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The following will describe the embodiments of this application in conjunction with the drawings.
[0078] Figure 1 Flow schematic of the method for determining the charging and discharging power of the battery provided by this application Figure 1 , as Figure 1 shown, the method includes:
[0079] Step 101. Obtain the real-time status data of each battery in the battery pack within a preset period.
[0080] Exemplarily, the method provided in this embodiment can be applied to a server. Among them, the server is communicatively connected to the sensor. The sensor is used to measure in real time the key state data of each battery in the battery pack, that is, the real-time state data. Among them, the real-time state data may include, but is not limited to: voltage, current, temperature, current capacity, health status, etc. Exemplarily, the sensor is configured to be able to monitor the real-time state data of each battery respectively, and be able to send the real-time state data of each battery to the server when a preset period arrives. Correspondingly, the server can obtain the real-time state data of each battery sent by the sensor when the preset period arrives.
[0081] Among them, in this embodiment, the specific value of the preset period is not limited and can be selected according to the actual application situation. Optionally, the preset period can be set to 24 hours, 48 hours or other numerical time periods.
[0082] It should be noted that in this embodiment, how to determine the charging power for the charging process of the battery pack and how to determine the discharging power for the discharging process of the battery pack are respectively explained. Among them, steps 102 and 103 are only used as labels to distinguish the charging process and the discharging process, and are not used to limit the execution order thereof. In actual applications, steps 102 and 103 can be executed simultaneously or sequentially, and the execution order is not limited.
[0083] Step 102. During the charging process of the battery pack, determine the priority value of the battery in the battery pack according to the real-time state data; and determine the charging power of the battery according to the priority value.
[0084] Among them, the priority value is used to indicate the real-time state of the battery in the battery pack.
[0085] Exemplarily, during the charging process of the battery pack, determine the priority value of each battery according to the received real-time state data of each battery. Among them, the higher the priority value of the battery, the greater the charging power allocated to it.
[0086] Specifically, in one example, the priority value of each battery can be determined according to the temperature of each battery. A lower priority value can be set for the battery with a higher temperature. It can be understood that during the charging process, the battery may heat up. If a large charging power is still used when the battery is overheated, there are safety hazards and it is harmful to the operation of the battery.
[0087] Specifically, in another example, the priority value of each battery can be determined according to the remaining capacity of each battery. A higher priority value can be set for the battery with a lower remaining capacity, or a higher priority value can also be set for the battery with a higher remaining capacity.
[0088] Specifically, in another example, the priority value of the battery can be jointly determined according to the voltage, current, and temperature of each battery. A lower priority value can be set for the battery with a high voltage, high current, and high temperature to prevent overcharging of the battery.
[0089] Further, after determining the priority value of each battery, the charging power of each battery is determined according to the priority values of all the batteries in the battery pack.
[0090] In one example, the priority value characterizes the real-time state of the battery in the battery pack. Then, based on the priority value of the battery, the sum of the priority values of all the batteries in the battery pack, and the total charging power, the charging power of the battery is determined. Specifically, the ratio between the priority value of the battery and the sum of the priority values of all the batteries is determined; and then, based on this ratio and the total charging power, the charging power of the battery is determined.
[0091] Step 103. During the discharging process of the battery pack, determine the balance index of the battery pack according to the real-time state data; and determine the discharging power of the battery according to the balance index and the real-time state data.
[0092] Among them, the balance index is used to indicate the degree of difference in the working performance among the batteries in the battery pack.
[0093] Exemplarily, during the discharging process of the battery pack, the balance index of the entire battery pack is determined according to the received real-time state data of each battery. Among them, the higher the balance index, the greater the difference in the working performance among the batteries in the battery pack.
[0094] Specifically, in one example, each battery in the battery pack has its corresponding impedance, and the impedance difference among the batteries in the battery pack can be calculated. According to the impedance difference among the batteries, the balance index of the entire battery pack is determined. It can be understood that the greater the impedance difference among the batteries, the greater the value of the balance index of the entire battery pack.
[0095] Specifically, in another example, according to the remaining capacity of each received battery, the remaining capacity difference among the batteries in the battery pack can be calculated. According to the remaining capacity difference among the batteries, the balance index of the entire battery pack is determined. It can be understood that the greater the remaining capacity difference among the batteries, the greater the value of the balance index of the entire battery pack.
[0096] Further, after determining the balance index of the entire battery pack, the charging power of each battery is determined according to the balance index of the entire battery pack and the real-time state data of each battery.
[0097] Specifically, in one example, the discharge power of each battery is determined according to the balance index and the remaining capacity of each battery. Taking an actual example, during the discharge process, if the remaining capacity of the battery is high, a larger discharge power can be allocated to the battery; correspondingly, if the remaining capacity of the battery is low, a smaller discharge power can be allocated to the battery to prevent over-discharge of the battery.
[0098] The method for determining the charge and discharge power of the battery provided by the embodiment of the present application obtains the real-time state data of each battery in the battery pack within a preset period, determines the priority value of each battery during the charging process according to the real-time state data of each battery, and determines the charge power of each battery based on the priority value. According to the real-time state data of each battery, the balance index of the battery pack is determined, and based on the balance index and the real-time state data of each battery, the discharge power of each battery during the discharge process is determined. It can realize considering the performance differences of each battery during the charge and discharge process of the battery pack, and more reasonably determine the charge and discharge power of each battery in the battery pack. Thereby improving the rationality of controlling the charge and discharge process of the battery pack, and improving the overall service life of the battery and the battery pack based on the reasonable charge and discharge power.
[0099] Combined with the foregoing embodiments, when calculating the priority value of each battery in the battery pack, it is necessary to combine the real-time state data of each battery measured by the sensor. On the basis of the foregoing embodiments, this embodiment specifically explains the process of determining the charge power of each battery in the battery pack.
[0100] In one example, the real-time state data includes at least one of the following: real-time voltage, real-time current, real-time temperature, and real-time remaining capacity.
[0101] Among them, the real-time voltage represents the real-time voltage value of the battery; the real-time current represents the real-time current value of the battery; the real-time temperature represents the real-time temperature value of the battery; the real-time remaining capacity represents the real-time remaining battery power value of the battery.
[0102] Furthermore, according to the above exemplary real-time state data, the priority value of each battery in the battery pack can be determined.
[0103] In one example, Figure 2 is a schematic flow chart of the method for determining the charge and discharge power of the battery provided by the present application Figure 2 , as Figure 2 shown, the priority value of each battery can be determined through the following steps:
[0104] Step 201. Determine the first priority intermediate value according to the real-time remaining capacity, real-time temperature, priority adjustment coefficient, and temperature attenuation coefficient.
[0105] Among them, the priority adjustment coefficient is used to indicate the importance of the batteries in the battery pack; the temperature attenuation coefficient is used to indicate the degree of influence of temperature on the priority value.
[0106] Exemplarily, taking the first battery in the battery pack as an example, according to the real-time remaining capacity, real-time temperature, priority adjustment coefficient, and temperature attenuation coefficient of the first battery, the first priority intermediate value of the first battery is determined.
[0107] Among them, the priority adjustment coefficient of the first battery is used to indicate the importance of the first battery in the battery pack. If the first battery is more important in the battery pack, the priority adjustment coefficient of the first battery is larger. The temperature attenuation coefficient of the first battery is used to indicate the degree of influence of the real-time temperature of the first battery on the priority value. If the influence of the temperature of the first battery on the priority value is greater, the temperature attenuation coefficient of the first battery is larger.
[0108] Furthermore, the priority adjustment coefficient can be set as a constant greater than 0 and less than 1; the temperature attenuation coefficient can be set as a constant greater than 0.
[0109] Step 202. Determine the second priority intermediate value according to the real-time voltage and real-time current.
[0110] Exemplarily, taking the first battery in the battery pack as an example, according to the real-time voltage and real-time current of the first battery, the second priority intermediate value of the first battery is determined.
[0111] Step 203. Determine the ratio of the first priority intermediate value and the second priority intermediate value as the priority value.
[0112] Exemplarily, according to the first priority intermediate value of the first battery and the second priority intermediate value of the first battery, determine the ratio between the two as the priority value of the first battery. Repeat the steps of the above example until the priority values of each battery in the battery pack are obtained.
[0113] Specifically, the priority values of the batteries in the battery pack can be calculated through the following formula (1):
[0114] (1)
[0115] In formula (1), represents the priority value of the i-th battery in the battery pack, represents the priority adjustment coefficient of the i-th battery in the battery pack, represents the real-time remaining capacity of the i-th battery in the battery pack, represents the temperature attenuation coefficient of the i-th battery in the battery pack, represents the real-time temperature of the i-th battery in the battery pack, represents the real-time voltage of the i-th battery in the battery pack, represents the real-time current of the i-th battery in the battery pack, represents the natural constant.
[0116] It can be understood that in the above formula (1), the value of the numerator part is the intermediate value of the first priority of the i-th battery in the battery pack; in the above formula (1), the value of the denominator part is the intermediate value of the second priority of the i-th battery in the battery pack. The ratio between the intermediate value of the first priority of the i-th battery in the battery pack and the intermediate value of the second priority of the i-th battery in the battery pack is determined as the priority value of the i-th battery in the battery pack.
[0117] In the above example, based on the real-time state data of each battery in the battery pack, the priority value of each battery can be calculated based on the formula, laying a foundation for determining the charging power of each battery based on the priority value of each battery. It can be realized to determine the priority value of each battery in a targeted manner based on the real-time state data of different batteries in the battery pack; determining the charging power of each battery based on the priority value of each battery can take into account the charging status of different batteries in the battery pack and the differences between different batteries in the battery pack, making the determined charging power of the battery more reasonable.
[0118] After determining the priority value of each battery, the charging power of each battery can be determined according to the priority value of each battery.
[0119] In one example, the priority values of each battery are summed to obtain the total priority value; the charging power is determined according to the priority value, the total priority value, the total charging power, and the charging efficiency factor; where the charging efficiency factor is a constant greater than 0 and less than 1.
[0120] Exemplarily, first, the priority values of each battery in the battery pack are summed to obtain the total priority value. Taking the first battery in the battery pack as an example, according to the priority value of the first battery and the total priority value, it is determined how much charging power is allocated to the first battery from the total charging power.
[0121] Specifically, the charging power of each battery in the battery pack can be calculated by the following formula (2):
[0122] (2)
[0123] In formula (2), represents the charging power of the i-th battery in the battery pack, represents the charging efficiency factor, and the charging efficiency factor can be set as a constant greater than 0 and less than 1, represents the total charging power, represents the priority value of the i-th battery in the battery pack, represents the total sum of the priority values, where, represents the number of batteries in the battery pack. Repeat the steps of the above example until the charging power of each battery in the battery pack is obtained.
[0124] Furthermore, determine the charging power of each battery in the battery pack respectively, and send the charging power of each battery to the battery management system of the battery pack. The battery management system of the battery pack receives the charging power of each battery as the target charging power of each battery. By adjusting the real-time voltage and real-time current of each battery, the actual charging power of each battery is made numerically equal to the above target charging power, or the difference between the actual charging power of each battery and the above target charging power is less than a preset threshold.
[0125] In the above example, according to the determined priority value of each battery, determine the proportion of the priority value of this battery in the total sum of the priority values of all batteries in the battery pack. According to this proportion, determine how much power in the total charging power is allocated to this battery as the charging power of this battery. Considering the priority value of each battery, the charging power of each determined battery can be made more reasonable, and the system-level collaborative optimization of each battery in the battery pack can be achieved.
[0126] In the above embodiment, through the real-time state data of each battery, the priority value of each battery is determined; then, according to the priority value of each battery and the total sum of the priority values of each battery in the battery pack, determine how much of the total charging power is used as the charging power of this battery. It can achieve considering the importance of the battery in the battery pack and determining the charging power of each battery in the battery pack according to the real-time state data of each battery. The charging power of each battery in the battery pack is more reasonably allocated, and the system-level collaborative optimization during the charging process of the battery pack is realized. < /
[0127] Combined with the foregoing embodiments, it can be seen that during the discharging process of the battery pack, it is also necessary to determine the discharging power through the real-time state data of each battery in the battery pack. Therefore, on the basis of the foregoing embodiments, this embodiment specifically explains the process of determining the discharging power of each battery in the battery pack.
[0128] In one example, the real-time state data includes at least one of the following: real-time voltage, real-time current, real-time temperature, and real-time remaining capacity.
[0129] The explanation of the real-time state data of each battery in the battery pack can refer to the foregoing embodiments above, and will not be elaborated here.
[0130] Further, based on the real-time remaining capacity in the above exemplary real-time status data, the balance index of the battery pack can be determined.
[0131] In one example, according to the real-time remaining capacity of the battery, the difference in remaining capacity between the batteries is determined; according to the difference in remaining capacity and the difference in internal impedance, the balance index of the battery pack is determined; wherein, the difference in internal impedance is the absolute value of the difference in impedance between the batteries.
[0132] Exemplarily, according to the remaining capacity of the i-th battery in the battery pack and the remaining capacity of the other batteries except the i-th battery in the battery pack, the difference in remaining capacity between the i-th battery and the other batteries is determined. According to the internal impedance of the i-th battery in the battery pack and the internal impedance of the other batteries except the i-th battery in the battery pack, the difference in internal impedance between the i-th battery and the other batteries is determined.
[0133] According to the difference in remaining capacity between the i-th battery and the other batteries and the difference in internal impedance between the i-th battery and the other batteries, the overall balance index of the battery pack is determined.
[0134] Specifically, the overall balance index of the battery pack can be calculated by the following formula (3):
[0135] (3)
[0136] In formula (3), represents the overall balance index of the battery pack, represents the number of batteries in the battery pack, represents the real-time remaining capacity of the i-th battery in the battery pack, represents the real-time remaining capacity of the j-th battery in the battery pack, represents the impedance sensitivity coefficient, which is used to indicate the influence weight of the difference in internal impedance between the batteries on the balance index, represents the difference in internal impedance between the i-th battery and the j-th battery in the battery pack, and the value of this difference in internal impedance can be the absolute value of the difference in internal impedance between the i-th battery and the j-th battery.
[0137] In the above example, the overall balance index of the battery pack is determined by the difference in real-time remaining capacity and the difference in internal impedance between different batteries in the battery pack. This balance index can reflect the working performance differences between different batteries in the battery pack, laying a foundation for subsequently determining a reasonable discharge power based on the working performance differences of the batteries.
[0138] After determining the overall balance index of the battery pack, the discharge power of each battery can be determined according to the overall balance index of the battery pack and the real-time remaining capacity of each battery.
[0139] In one example, the discharge power of the battery is determined according to the balance index, the global optimization factor, and the real-time remaining capacity of the battery; wherein, the global optimization factor is used to indicate the influence weight of the balance index on the battery load.
[0140] Exemplarily, taking the first battery in the battery pack as an example, according to the determined balance index of the battery pack, the preset global optimization factor, and the real-time remaining capacity of the first battery, the discharge power of the first battery is determined. Repeat the steps of the above example until the discharge power of each battery in the battery pack is obtained.
[0141] Specifically, the discharge power of each battery in the battery pack can be calculated by the following formula (4):
[0142] (4)
[0143] In formula (4), represents the discharge power of the i-th battery in the battery pack, represents the global optimization factor, and the global optimization factor is used to indicate the weight of the influence of the balance index on the battery load and can be set as a constant greater than 0 and less than 1. represents the real-time remaining capacity of the i-th battery in the battery pack, represents the overall balance index of the battery pack. Repeat the steps of the above example until the discharge power of each battery in the battery pack is obtained.
[0144] Furthermore, the discharge power of each battery in the battery pack is determined respectively, and the discharge power of each battery is sent to the battery management system of the battery pack. The battery management system of the battery pack receives the discharge power of each battery as the target discharge power of each battery. By adjusting the load distribution of each battery, the actual discharge power of each battery is made numerically equal to the above target discharge power, or the difference between the actual discharge power of each battery and the above target discharge power is less than a preset threshold.
[0145] In the above example, according to the determined overall balance index of the battery pack and the real-time remaining capacity of each battery, the discharge power of each battery in the battery pack is determined. It can be realized that during the discharge process, when determining the discharge power of each battery in the battery pack, not only the real-time remaining capacity of a single battery is considered, but also the working performance differences of different batteries in the battery pack are considered, so as to determine a more reasonable discharge power for each battery during the discharge process of the battery pack, thereby allocating an equal load to each battery.
[0146] In the above embodiments, the difference in remaining capacity between batteries is determined based on the real-time remaining capacity of each battery, and the difference in internal impedance between batteries is determined based on the internal impedance of each battery. According to the difference in remaining capacity and the difference in internal impedance, the overall balance index of the battery pack is determined. Then, according to the balance index and the real-time remaining capacity of each battery, the discharge power of each battery is determined. By allocating a larger discharge power, that is, more load, to the battery with a larger real-time remaining capacity, the phenomenon of over-discharge of the battery with a smaller real-time remaining capacity can be avoided. During the discharge process of the battery pack, not only the real-time remaining capacity of each battery is considered, but also the difference in working performance between different batteries in the battery pack is taken into account. It is possible to more reasonably determine the discharge power of each battery during the discharge process of the battery pack, and considering the difference in working performance of different batteries in the battery pack, the load balancing control of different batteries in the battery pack is realized.
[0147] Combined with the foregoing embodiments, it can be known that in the foregoing embodiments, the balance index is calculated during the discharge process. However, in practical applications, during the charging process of the battery pack, the balance index can also be calculated, and the priority value of each battery during the charging process can be adjusted according to the magnitude of the balance index. Therefore, based on any of the foregoing embodiments, this embodiment explains how to specifically adjust the priority value according to the balance index.
[0148] In one example, Figure 3 is a schematic flow chart of the method for determining the charging and discharging power of the battery provided by the present application Figure 3 , as Figure 3 shown, the charging priority of the battery can be adjusted through the following steps:
[0149] Step 301. During the charging process, according to the real-time status data, determine the balance index of the battery pack.
[0150] Exemplarily, according to the real-time remaining capacity of each battery, determine the difference in remaining capacity between the batteries, and according to the internal impedance of each battery, determine the difference in internal impedance between the batteries. Then, according to the difference in remaining capacity and the difference in internal impedance, determine the overall balance index of the battery pack.
[0151] It should be noted that the balance index determined during the charging process is similar to the process of determining the balance index during the discharge process. For the specific implementation manner, reference can be made to the explanation of formula (3) in the above embodiments.
[0152] Step 302. If it is determined that the balance index is greater than or equal to the balance threshold, then determine at least one battery to be adjusted from the battery pack.
[0153] Exemplarily, the determined value of the balance index is compared with a preset balance threshold. If it is determined that the balance index is greater than or equal to the balance threshold, it indicates that the working performance difference between different batteries in the battery pack is too large. During the charging process, it is necessary to adjust the priority values of some batteries in the battery pack so that the batteries with a smaller real-time remaining capacity in the battery pack have their corresponding priority values increased, so that these batteries are allocated a larger charging power.
[0154] It should be noted that if the balance index is less than the preset balance threshold, the charging power can be determined according to the original priority values of each battery in the battery pack.
[0155] Specifically, the batteries to be adjusted can be determined through the following steps:
[0156] Step 3021. Sort the batteries in the battery pack in ascending order of the real-time remaining capacity to obtain a first sequence.
[0157] Exemplarily, according to each battery in the battery pack, sort them in ascending order of the real-time remaining capacity to obtain a first sequence. Among them, the first sequence includes all the batteries in the battery pack, and all the batteries in the battery pack are arranged in ascending order of the real-time remaining capacity. It can be understood that in the first sequence, the batteries with a more forward sorting have a smaller real-time remaining capacity.
[0158] Step 3022. Select the first N batteries from the first sequence as the batteries to be adjusted; where N is a positive integer.
[0159] Exemplarily, select the first N batteries from the obtained first sequence as the batteries to be adjusted. This is because when the balance index of the battery pack is too large, the possible reason is that the difference in the real-time remaining capacity between each battery in the battery pack is too large. Therefore, during the charging process, it is necessary to set a larger charging power for the batteries with a smaller real-time remaining capacity to reduce the difference in the real-time remaining capacity between the batteries.
[0160] Select the first N batteries in the first sequence as the batteries to be adjusted, where N is a positive integer. It can be understood that the batteries to be adjusted are the N batteries with a smaller real-time remaining capacity in the battery pack.
[0161] It should be noted that N is a positive integer, that is, an integer greater than 0. However, the value of N should be less than the number M of batteries in the battery pack.
[0162] In the above example, by sorting according to the real-time remaining capacity of each battery in the battery pack, it is possible to determine the batteries with relatively small real-time remaining capacity from the battery pack, and these batteries are used as the batteries to be adjusted, laying a foundation for subsequent adjustment of the priority of these batteries to be adjusted. When it is detected that the working performance differences of different batteries in the battery pack are too large, it is possible to further adjust the charging priority of each battery in a timely manner and more reasonably determine the charging power of the batteries in the battery pack.
[0163] Step 303. Adjust the priority value of the battery to be adjusted.
[0164] Exemplarily, based on the determined batteries to be adjusted, adjust the priority value of the batteries to be adjusted. And according to the adjusted priority value, re-determine the charging power of the batteries to be adjusted. Specifically, according to the adjusted priority value, re-calculate the total priority value, and according to the adjusted priority value, re-determine the charging power of each battery in the battery pack.
[0165] It should be noted that the process of re-determining the charging power of each battery in the battery pack is similar to the process of determining the charging power in the foregoing embodiments, and the specific implementation manner can refer to the explanation of formula (2) in the foregoing embodiments.
[0166] Specifically, adjust the first priority value of the battery to be adjusted to a second priority value; wherein, the second priority value is greater than the first priority value.
[0167] Exemplarily, the original priority value of each battery to be adjusted is the first priority value. According to formula (1) in the foregoing embodiments, it can be known that when calculating the priority value of a battery, it is necessary to substitute the priority adjustment coefficient, real-time remaining capacity, temperature attenuation coefficient, real-time temperature, real-time voltage, and real-time current into formula (1) to calculate the priority value of the battery.
[0168] Among them, the priority adjustment coefficient is used to indicate the importance of the batteries in the battery pack. When the balance index is greater than or equal to the preset balance threshold, the priority value of the battery to be adjusted can be adjusted by adjusting the priority adjustment coefficient of the battery to be adjusted.
[0169] Adjust the first priority adjustment coefficient in the first priority value of the battery to be adjusted to a second priority adjustment coefficient, and the second priority adjustment coefficient is greater than the first priority adjustment coefficient.
[0170] Thus, based on the adjusted second priority adjustment coefficient, and the real-time remaining capacity, temperature attenuation coefficient, real-time temperature, real-time voltage, and real-time current of the battery to be adjusted, substitute them into formula (1) to obtain the second priority value of the battery to be adjusted.
[0171] In the above example, by increasing the priority adjustment coefficient of the battery to be adjusted, the priority value of the battery to be adjusted is increased. According to the increased priority value, a larger charging power can be allocated to the battery to be adjusted, so as to reduce the working performance difference between the batteries in the battery pack. Further, the charging power of each battery in the battery pack is made more reasonable.
[0172] Optionally, during the discharging process, the battery management system of the battery pack adjusts the load of each battery according to the discharging power of each battery.
[0173] In a possible implementation manner, the load of each battery is controlled by adjusting the discharging voltage of each battery. If it is determined that the balance index is greater than or equal to the balance threshold, the discharging voltage is controlled at the first ratio; if it is determined that the balance index is less than the balance threshold, the discharging voltage is controlled at the second ratio. Wherein, the second ratio is greater than the first ratio.
[0174] In the above example, when the balance index is large, it is possible to reduce the overall load distribution amplitude of the battery pack and preferentially adjust the balance of the battery pack.
[0175] In the above embodiment, during the charging process, the balance index of the battery pack is calculated, and when the balance index is greater than or equal to the preset balance threshold, the priority adjustment coefficient corresponding to the battery with a smaller real-time remaining capacity in the battery pack is increased, so that the priority value corresponding to these batteries with a smaller real-time remaining capacity is increased, so that these batteries to be adjusted are allocated more charging power, thereby reducing the balance index of the battery pack. Further, the rationality of the charging power of each battery in the battery pack is improved.
[0176] The method for determining the charging and discharging power of the battery provided by the embodiments of the present application obtains the real-time state data of each battery in the battery pack every time a preset period elapses, and determines the priority value of each battery. According to the charging priority and the total charging power, the charging power of each battery is determined respectively. It can be realized that during the charging process, considering the real-time state of each battery, the charging power of each battery is adaptively determined, and the rationality of the determined charging power of each battery is improved. Moreover, system-level collaborative optimization of the charging power of different batteries in the battery pack is realized. According to the differences between the batteries, the balance index of the battery pack is determined, and according to the balance index and the real-time state data of each battery, the discharging power of each battery is determined. It can be realized that during the discharging process, considering the real-time state of each battery, preventing the battery with a low remaining capacity from being over-discharged, and improving the rationality of the determined discharging power of each battery. Moreover, considering the working performance differences between different batteries, the load balance of different batteries in the battery pack is realized. Based on the reasonable charging and discharging power of each battery above, the service life of the battery pack can be improved as a whole.
[0177] To further explain the effect of the method for determining the charging and discharging power of the battery provided in this application, in this embodiment, the foregoing embodiment, or a combination of the foregoing embodiments, is adopted to test the experimental battery pack.
[0178] The experimental battery pack includes 10 batteries, and the initial state of each battery is shown in Table 1.
[0179] Table 1 Data table of the initial state of each battery in the experimental battery pack
[0180]
[0181] It should be noted that in Table 1, the state of health of the battery is calculated by the ratio of the battery capacity after charging to the rated capacity of the battery. The performance of the battery at this moment can be judged by the maximum capacity and the rated capacity of the battery. It can be understood that the closer the state of health of the battery is to 100%, the closer the battery capacity after charging is to the rated capacity of the battery, indicating that the battery is in a healthy state at this moment.
[0182] For the 10 batteries in the experimental battery pack, the method for determining the charging and discharging power of the battery provided in this application is implemented. After implementation, the changes in various performance indicators of the experimental battery pack are shown in Table 2.
[0183] Table 2 Table of changes in various performance indicators of the experimental battery pack before and after implementation
[0184]
[0185] For the 10 batteries in the experimental battery pack, the method for determining the charging and discharging power of the battery provided in this application is implemented. After implementation, the changes in the charging power and the state of health of each battery in the experimental battery pack are shown in Table 3.
[0186] Table 3 Table of changes in the charging power and the state of health of each battery in the experimental battery pack
[0187]
[0188] According to Table 1, Table 2, and Table 3, it can be concluded that after implementing the method for determining the charging and discharging power of the battery provided in this application for the experimental battery pack, the charging power distribution is more reasonable, the charging efficiency of each battery in the experimental battery pack is improved, and the charging efficiency of the experimental battery pack is increased from 85 Wh to 94 Wh, with an increase amplitude of 10.6%.
[0189] Moreover, the capacity difference between the batteries in the experimental battery pack is significantly reduced, from 3.2 Ah to 1.5 Ah, and the improvement ratio exceeds 50%. This shows that the load distribution among the batteries in the experimental battery pack is more balanced. Thus, it can be characterized that the method provided by this application can avoid overcharging and over-discharging of individual batteries, thereby slowing down battery aging.
[0190] In addition, the health status of each battery in the experimental battery pack is generally improved, and the maximum improvement amplitude is close to 3%. It can be characterized that the method provided by this application can reduce battery damage and improve the overall health level of the battery.
[0191] Figure 4 It is a schematic structural diagram of a device for determining the charging and discharging power of a battery provided by this application, as Figure 4 shown. The device 40 for determining the charging and discharging power of a battery provided in this embodiment includes:
[0192] An acquisition module 401, configured to acquire real-time status data of each battery in the battery pack within a preset period;
[0193] A processing module 402, configured to determine the priority value of the batteries in the battery pack according to the real-time status data during the charging process of the battery pack; and determine the charging power of the battery according to the priority value; wherein the priority value is used to indicate the real-time status of the batteries in the battery pack;
[0194] The processing module 402 is further configured to determine the balance index of the battery pack according to the real-time status data during the discharging process of the battery pack; and determine the discharging power of the battery according to the balance index and the real-time status data; wherein the balance index is used to indicate the degree of difference in working performance among the batteries in the battery pack.
[0195] In a possible implementation manner, the real-time status data includes at least one of the following: real-time voltage, real-time current, real-time temperature, and real-time remaining capacity; according to the real-time status data, to determine the priority value of the batteries in the battery pack, the processing module 402 is configured to:
[0196] Determine a first priority intermediate value according to the real-time remaining capacity, real-time temperature, priority adjustment coefficient, and temperature attenuation coefficient; wherein the priority adjustment coefficient is used to indicate the importance of the batteries in the battery pack; the temperature attenuation coefficient is used to indicate the influence degree of temperature on the priority value;
[0197] Determine a second priority intermediate value according to the real-time voltage and real-time current;
[0198] Determine the ratio of the first priority intermediate value to the second priority intermediate value as the priority value.
[0199] In a possible implementation manner, according to the priority value, the charging power of the battery is determined, and the processing module 402 is configured to:
[0200] Sum up the priority values of each battery to obtain the total priority value;
[0201] Determine the charging power according to the priority value, the total priority value, the total charging power, and the charging efficiency factor; wherein, the charging efficiency factor is a constant greater than 0 and less than 1.
[0202] In a possible implementation manner, the real-time status data includes at least one of the following: real-time voltage, real-time current, real-time temperature, and real-time remaining capacity; according to the real-time status data, the balance index of the battery pack is determined, and the processing module 402 is configured to:
[0203] Determine the difference in remaining capacity between the batteries according to the real-time remaining capacity of the batteries;
[0204] Determine the balance index of the battery pack according to the difference in remaining capacity and the difference in internal impedance; wherein, the difference in internal impedance is the absolute value of the difference in impedance between the batteries.
[0205] In a possible implementation manner, according to the balance index and the real-time status data, the discharge power of the battery is determined, and the processing module 402 is configured to:
[0206] Determine the discharge power of the battery according to the balance index, the global optimization factor, and the real-time remaining capacity of the battery; wherein, the global optimization factor is used to indicate the influence weight of the balance index on the battery load.
[0207] In a possible implementation manner, before determining the charging power of the battery according to the priority value, the processing module 402 is further configured to:
[0208] During the charging process, determine the balance index of the battery pack according to the real-time status data;
[0209] If it is determined that the balance index is greater than or equal to the balance threshold, at least one battery to be adjusted is determined from the battery pack;
[0210] Adjust the priority value of the battery to be adjusted.
[0211] In a possible implementation manner, to adjust the priority value of the battery to be adjusted, the processing module 402 is configured to:
[0212] Adjust the first priority value of the battery to be adjusted to a second priority value; wherein, the second priority value is greater than the first priority value.
[0213] In a possible implementation, at least one battery to be adjusted is determined from the battery pack, and the processing module 402 is configured to:
[0214] Sort the batteries in the battery pack in ascending order of real-time remaining capacity to obtain a first sequence;
[0215] Select the first N batteries from the first sequence as the batteries to be adjusted; where N is a positive integer.
[0216] The device for determining the battery charging and discharging power provided in this embodiment can execute the method provided in the above method embodiment, and its implementation principle and technical effects are similar, which will not be elaborated here in this embodiment.
[0217] Figure 5 It is a schematic structural diagram of the electronic device provided in this application. As Figure 5 shown, the electronic device 50 provided in this embodiment includes: at least one processor 501 and a memory 502. Optionally, the electronic device 50 further includes a communication component 503. Among them, the processor 501, the memory 502, and the communication component 503 are connected through a bus 504.
[0218] In the specific implementation process, at least one processor 501 executes the computer execution instructions stored in the memory 502, so that at least one processor 501 executes the above method.
[0219] For the specific implementation process of the processor 501, reference can be made to the above method embodiment, and its implementation principle and technical effects are similar, which will not be elaborated here in this embodiment.
[0220] In the above embodiment, it should be understood that the processor may be a central processing unit (English: Central Processing Unit, abbreviated: CPU), or other general-purpose processors, digital signal processors (English: Digital Signal Processor, abbreviated: DSP), application specific integrated circuits (English: Application Specific Integrated Circuit, abbreviated: ASIC), etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
[0221] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.
[0222] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience in representation, the buses in the drawings of the present application are not limited to only one bus or one type of bus.
[0223] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0224] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the processor executes the computer-executable instructions, the above method is implemented.
[0225] The above-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, or an optical disk. The readable storage medium can be any available medium accessible by a general-purpose or special-purpose computer.
[0226] An exemplary readable storage medium is coupled to the processor, so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an Application Specific Integrated Circuit (ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in a device.
[0227] 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 displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces, and the indirect coupling or communication connection of devices or units can be in an electrical, mechanical or other forms.
[0228] The unit described as a separation component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or distributed over multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0229] In addition, each functional unit in various embodiments of the present invention may be integrated in a processing unit, may exist physically separately for each unit, or two or more units may be integrated in one unit.
[0230] If the function 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 such understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or a part of this technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0231] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above method embodiments; and the foregoing storage medium includes: various media such as ROM, RAM, magnetic disks, or optical discs that can store program codes.
[0232] Finally, it should be noted that: After considering the specification and practicing the invention disclosed herein, those skilled in the art will readily think of other implementation schemes of the present invention. The present invention aims to cover any variations, uses, or adaptive changes of the present invention. These variations, uses, or adaptive changes follow the general principles of the present invention and include common general knowledge or conventional technical means in the technical field not disclosed in the present invention. It is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.
Claims
1. A method for determining the charging and discharging power of a battery, characterized in that Including: Obtain the real-time status data of each battery in the battery pack within a preset period; During the charging process of the battery pack, determine the priority value of the batteries in the battery pack according to the real-time status data; and determine the charging power of the batteries according to the priority value; wherein, the priority value is used to indicate the real-time status of the batteries in the battery pack; During the discharging process of the battery pack, determine the balance index of the battery pack according to the real-time status data; and determine the discharging power of the batteries according to the balance index and the real-time status data; wherein, the balance index is used to indicate the degree of difference in working performance among the batteries in the battery pack.
2. The method according to claim 1, wherein The real-time status data includes at least one of the following: real-time voltage, real-time current, real-time temperature, and real-time remaining capacity; Determining the priority value of the batteries in the battery pack according to the real-time status data includes: Determine a first priority intermediate value according to the real-time remaining capacity, the real-time temperature, a priority adjustment coefficient, and a temperature attenuation coefficient; wherein, the priority adjustment coefficient is used to indicate the importance of the batteries in the battery pack; the temperature attenuation coefficient is used to indicate the influence degree of temperature on the priority value; Determine a second priority intermediate value according to the real-time voltage and the real-time current; Determine the ratio of the first priority intermediate value to the second priority intermediate value as the priority value.
3. The method according to claim 1, characterized in that, Determining the charging power of the batteries according to the priority value includes: Sum up the priority values of each battery to obtain the total priority value; Determine the charging power according to the priority value, the total priority value, the total charging power, and a charging efficiency factor; wherein, the charging efficiency factor is a constant greater than 0 and less than 1.
4. The method according to claim 1, wherein The real-time status data includes at least one of the following: real-time voltage, real-time current, real-time temperature, and real-time remaining capacity; Determining the balance index of the battery pack according to the real-time status data includes: Determine the difference in remaining capacity between the batteries according to the real-time remaining capacity of the batteries; Determine the balance index of the battery pack according to the difference in remaining capacity and the difference in internal impedance; wherein, the difference in internal impedance is the absolute value of the difference in impedance between the batteries.
5. The method according to claim 1, wherein Determining the discharging power of the batteries according to the balance index and the real-time status data includes: Determine the discharging power of the batteries according to the balance index, a global optimization factor, and the real-time remaining capacity of the batteries; wherein, the global optimization factor is used to indicate the influence weight of the balance index on the battery load.
6. The method according to any one of claims 1 to 5, characterized in that Before determining the charging power of the batteries according to the priority value, it further includes: During the charging process, determine the balance index of the battery pack according to the real-time status data; If it is determined that the balance index is greater than or equal to a balance threshold, determine at least one battery to be adjusted from the battery pack; Adjust the priority value of the battery to be adjusted.
7. The method according to claim 6, wherein Adjusting the priority value of the battery to be adjusted includes: Adjust the first priority value of the battery to be adjusted to a second priority value; wherein the second priority value is greater than the first priority value.
8. The method according to claim 6, wherein Determine at least one battery to be adjusted from the battery pack, including: Sort the batteries in the battery pack in ascending order of the real-time remaining capacity to obtain a first sequence; Select the first N batteries from the first sequence as the batteries to be adjusted; wherein N is a positive integer.
9. A device for determining the charging and discharging power of a battery, characterized in that, Include: An acquisition module, configured to acquire the real-time status data of each battery in the battery pack within a preset period; A processing module, configured to determine the priority value of the batteries in the battery pack according to the real-time status data during the charging process of the battery pack; and determine the charging power of the batteries according to the priority value; wherein the priority value is used to indicate the real-time status of the batteries in the battery pack; The processing module is further configured to determine the balance index of the battery pack according to the real-time status data during the discharging process of the battery pack; and determine the discharging power of the batteries according to the balance index and the real-time status data; wherein the balance index is used to indicate the degree of difference in the working performance among the batteries in the battery pack.
10. An electronic device, characterized in that, Include: A memory and a processor; The memory stores computer execution instructions; The processor executes the computer execution instructions stored in the memory, so that the processor executes the method according to any one of claims 1-8.
11. A computer-readable storage medium, characterized in that, Computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, they are used to implement the method according to any one of claims 1-8.
12. A computer program product, characterized in that, Include a computer program, which when executed by a processor, implements the method according to any one of claims 1-8.