Method for determining state of charge of battery and related equipment

By reducing the accumulated charge and discharge charge amount during the battery state of charge calculation period and determining the target state of charge of the battery with other parameters, the accumulated failure problem is solved and the accuracy of state of charge calculation is improved.

CN119828018APending Publication Date: 2025-04-15CHONGQING FUDI BATTERY RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311757664.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-19
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The prior art is prone to accumulation failure problems in the calculation process of battery state of charge, which affects the calculation accuracy of SOC.

Method used

During the state of charge calculation period of the battery, the target state of charge of the battery is determined by reducing the amount of the accumulated charge and discharge charge is greater than or equal to the charge threshold, and the target state of charge of the battery is determined in combination with the delayed charge and discharge charge, the state of charge, the rated capacity and the charge threshold.

Benefits of technology

This reduces the accumulated failure problem of the accumulated charge amount of the battery during the state of charge calculation process, and improves the accuracy of the state of charge calculation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119828018A_ABST
    Figure CN119828018A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a method for determining the state of charge of a battery and related equipment, and the method comprises the steps: calculating the accumulated charge-discharge charge quantity of a cycle according to the current state of charge of the battery, and obtaining a target charge-discharge charge quantity; wherein when the accumulated charge-discharge charge quantity is greater than or equal to the charge quantity threshold value, the accumulated charge-discharge charge quantity is reduced, and a target charge-discharge charge quantity is obtained according to the reduced accumulated charge-discharge charge quantity; according to the delayed charge and discharge charge quantity, the charge state of the battery, the rated capacity of the battery and the charge quantity threshold value, and in combination with the target charge and discharge charge quantity or the target charge and discharge charge quantity after compensation processing, the target charge state of the battery in the current charge state calculation period is determined, and the compensation processing corresponds to the reduction processing. The electric charge quantity is flexibly and effectively processed, battery accumulated charging and discharging electric charge quantity accumulation failure used in the calculation process of the state of charge of the battery is reduced, and the accuracy of state of charge calculation is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electricity, and in particular to a method for determining a battery state of charge and related equipment. Background Art

[0002] With the development of the automobile industry and people's needs, new energy vehicles are developing faster and faster, and more and more users are starting to use new energy vehicles. Battery performance is an important factor in the performance and cost of new energy vehicles. Having stable charging and discharging performance and sufficient storage energy is a necessary condition for the stable operation of on-board batteries, and the battery's state of charge (SOC) is an important criterion for measuring whether the battery has stable charging and discharging performance and sufficient storage energy.

[0003] At present, in order to ensure the accuracy of charge accumulation, the operating frequency of the current sampling module is generally high (e.g. 10ms), while in order to reduce the chip load, the frequency of the SOC calculation module is generally low (e.g. 200ms), which leads to the problem of accumulation failure of the battery accumulated charge used in the SOC calculation process, which in turn affects the accuracy of the SOC calculation result. Therefore, it is very necessary to determine the battery SOC more accurately. Summary of the invention

[0004] The embodiments of the present application provide a method for determining a battery state of charge and related equipment, which can process the battery charge more flexibly and effectively to reduce the problem of cumulative failure of the battery accumulated charge used in the calculation process of the battery state of charge, thereby improving the accuracy of the state of charge calculation.

[0005] In a first aspect, an embodiment of the present application provides a method for determining a battery state of charge, the method comprising:

[0006] According to the cumulative charge and discharge charge of the battery in the current state of charge calculation cycle, a target charge and discharge charge is obtained; wherein, when the cumulative charge and discharge charge is greater than or equal to a charge threshold, the cumulative charge and discharge charge is reduced, and the target charge and discharge charge is obtained according to the reduced cumulative charge and discharge charge;

[0007] The target state of charge of the battery in the current state of charge calculation cycle is determined based on the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation processing. The delayed charge and discharge charge refers to the accumulated charge and discharge charge in the previous state of charge calculation cycle, and the compensation processing corresponds to the reduction processing.

[0008] In a second aspect, an embodiment of the present application provides a device for determining a battery state of charge, the device comprising:

[0009] a processing unit, configured to obtain a target charge and discharge charge according to a cumulative charge and discharge charge of a battery in a current state of charge calculation cycle; wherein, when the cumulative charge and discharge charge is greater than or equal to a charge threshold, the cumulative charge and discharge charge is reduced, and the target charge and discharge charge is obtained according to the reduced cumulative charge and discharge charge;

[0010] A determination unit is used to determine the target state of charge of the battery in the current state of charge calculation cycle based on the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation processing, wherein the delayed charge and discharge charge refers to the accumulated charge and discharge charge in the previous state of charge calculation cycle, and the compensation processing corresponds to the reduction processing.

[0011] In a third aspect, an embodiment of the present application provides a computing device, the computing device comprising a processor, a memory, a bus and a communication interface, the processor, the communication interface and the memory being connected via the bus;

[0012] The memory is used to store programs;

[0013] The processor is used to call the program stored in the memory through the bus to execute the method described in the first aspect.

[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores program instructions, and when the program instructions are executed, the method described in the first aspect above is implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes program instructions, and when the program instructions are executed by a processor, the method described in the first aspect above is implemented.

[0016] In the embodiment of the present application, a target charge and discharge charge is obtained according to the cumulative charge and discharge charge of the battery in the current state of charge calculation cycle; wherein, when the cumulative charge and discharge charge is greater than or equal to a charge threshold, the cumulative charge and discharge charge is reduced, and the target charge and discharge charge is obtained according to the cumulative charge and discharge charge after the reduction; the target state of charge of the battery in the current state of charge calculation cycle is determined according to the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation. The delayed charge and discharge charge refers to the cumulative charge and discharge charge in the previous state of charge calculation cycle, and the compensation corresponds to the reduction. By reducing the accumulated charge and discharge charge when the accumulated charge is greater than or equal to a charge threshold, the battery charge can be processed more flexibly and effectively, reducing the problem of cumulative failure of the accumulated charge of the battery used in the calculation of the battery state of charge; by compensating the target charge and discharge charge according to the reduced charge threshold corresponding to the reduction processing, and obtaining the target state of charge of the battery in the current state of charge calculation cycle based on the compensated target charge and discharge charge, the battery state of charge and the rated capacity of the battery, the accuracy of the battery state of charge calculation can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0018] Figure 1 A schematic diagram of the structure of a battery state of charge determination system provided in an embodiment of the present application;

[0019] Figure 2 It is a flowchart of a method for determining a battery state of charge provided in an embodiment of the present application;

[0020] Figure 3 It is a flow chart of a method for confirming target charge and discharge charge amount provided in an embodiment of the present application;

[0021] Figure 4 is a flow chart of another method for determining a battery state of charge provided in an embodiment of the present application;

[0022] Figure 5 is a flow chart of a method for calculating SOC provided in an embodiment of the present application;

[0023] Figure 6It is a structural schematic diagram of a device for determining a battery state of charge provided in an embodiment of the present application;

[0024] Figure 7 It is a structural diagram of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0026] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0027] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0028] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0029] As used in this specification and the appended claims, the term "if" or "if" may be interpreted, depending on the context, to mean "when" or "upon" or "in response to determining" or "in response to detecting." Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" may be interpreted, depending on the context, to mean "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]."

[0030] In a specific implementation, the computing device described in the embodiments of the present application includes, but is not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers with touch-sensitive surfaces (e.g., touch screen displays and / or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but a desktop computer with a touch-sensitive surface (e.g., touch screen displays and / or touch pads).

[0031] A method for determining a battery state of charge and related equipment are provided in an embodiment of the present application. The method for determining a battery state of charge is used for a device for determining a battery state of charge. The device for determining a battery state of charge can be arranged in a computing device. The computing device can be arranged in a battery charge processing system. The battery charge processing system includes the device for determining the battery state of charge and an electric device. The computing device can be communicatively connected with the electric device. In some embodiments, the electric device may include but is not limited to vehicles, aircraft, ships, energy storage cabinets and other equipment.

[0032] Specific as Figure 1 As shown, Figure 1 A structural schematic diagram of a battery state of charge determination system provided in an embodiment of the present application, wherein a computing device 101 is communicatively connected with an electric device 102, the electric device 102 can transmit the collected information to the computing device 101, and the computing device 101 can obtain the cumulative charge and discharge charge of the battery in the current state of charge calculation cycle from the information transmitted by the electric device 102; and obtain the target charge and discharge charge according to the cumulative charge and discharge charge of the battery in the current state of charge calculation cycle; wherein, when the cumulative charge and discharge charge is greater than or equal to the charge threshold, the cumulative charge and discharge charge is reduced, and the target charge and discharge charge is obtained according to the cumulative charge and discharge charge after the reduction; the target state of charge of the battery in the current state of charge calculation cycle is determined according to the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation. The delayed charge and discharge charge refers to the cumulative charge and discharge charge in the previous state of charge calculation cycle, and the compensation corresponds to the reduction.

[0033] The embodiment of the present application reduces the cumulative charge and discharge charge when the cumulative charge and discharge charge of the battery in the current state of charge calculation cycle is greater than or equal to the charge threshold, and obtains the target charge and discharge charge based on the cumulative charge and discharge charge after the reduction. This charge quantitative regression method can reduce the problem of charge accumulation failure; the target charge and discharge charge is compensated according to the charge threshold corresponding to the reduction process, and the target state of charge of the battery in the current state of charge calculation cycle is obtained based on the target charge and discharge charge after the compensation process, the state of charge of the battery and the rated capacity of the battery, which helps to improve the accuracy of the target state of charge calculation.

[0034] See also Figure 2 , Figure 2 It is a flow chart of a method for determining a battery state of charge provided in an embodiment of the present application. As shown in the figure, the method for determining a battery state of charge in this embodiment can be applied to a device for determining a battery state of charge. The device for determining a battery state of charge can be set in a computing device. The method can at least include the following steps.

[0035] S201: Calculate the cumulative charge and discharge charge of the battery in the current state of charge cycle to obtain a target charge and discharge charge.

[0036] In an embodiment of the present application, the computing device can obtain a target charge and discharge charge based on the cumulative charge and discharge charge of the battery in the current state of charge calculation cycle, wherein when the cumulative charge and discharge charge is greater than or equal to a charge threshold, the cumulative charge and discharge charge is reduced, and the target charge and discharge charge is obtained based on the reduced cumulative charge and discharge charge.

[0037] In one embodiment, the computing device obtains the initial accumulated charge and discharge charge of the battery at the current moment and obtains the charge and discharge charge corresponding to each current sampling period of the battery in the current state of charge calculation cycle before obtaining the target charge and discharge charge based on the accumulated charge and discharge charge of the battery in the current state of charge calculation cycle; and determines that the sum of the charge and discharge charge corresponding to each current sampling period in the current state of charge calculation cycle and the initial accumulated charge and discharge charge of the battery at the current moment is the accumulated charge and discharge charge of the battery in the current state of charge calculation cycle.

[0038] For example, assuming that a current sampling cycle is 10ms and a state of charge calculation cycle is 1s, that is, the current state of charge calculation cycle is 1s, and the battery charge and discharge charge Q in a current sampling cycle of 10ms is -10ms ; It can be determined that the battery charge and discharge charge Q corresponding to 10 current sampling cycles in the current nuclear power state calculation cycle -10ms, the computing device can obtain the initial accumulated charge and discharge charge Q0 of the battery at the current moment; determine the charge and discharge charge Q of the battery within 10 current sampling cycles of 10ms in the current state of charge calculation cycle -10ms The sum of the initial accumulated charge and discharge charge Q0 is the accumulated charge and discharge charge Q of the battery in the current state of charge calculation cycle.

[0039] In one embodiment, when the accumulated charge and discharge charge is greater than or equal to the charge threshold, the computing device can calculate the difference between the accumulated charge and discharge charge and the charge threshold when reducing the accumulated charge and discharge charge; and use the difference as the target charge and discharge charge.

[0040] For example, when the accumulated charge and discharge charge amount Q is greater than or equal to the charge amount threshold Q_th, the calculation device can calculate the difference Q-Q_th between the accumulated charge and discharge charge amount Q and the charge amount threshold Q_th; and use the difference Q-Q_th as the target charge and discharge charge amount Q1.

[0041] Specific as Figure 3 As shown, Figure 3 It is a flow chart of a method for confirming a target charge and discharge charge provided in an embodiment of the present application. Step S301 is used to obtain the cumulative charge and discharge charge Q of the battery in the current state of charge calculation cycle, wherein Q is the charge and discharge charge Q of the battery corresponding to each current sampling cycle of 10ms in the current state of charge calculation cycle. -10ms The sum of the initial accumulated charge and discharge charge Q0, that is, Q = Q0 + nQ -10ms Where n is the number of current sampling cycles in the current state of charge calculation cycle. In step S302, it is determined whether Q is less than the charge threshold value Q_th. If the determination result is yes, step S303 is executed. If the determination result is no, step S304 is executed. In step S303, Q is used as the target charge and discharge charge Q1. In step S304, the difference Q-Q_th is used as the target charge and discharge charge Q1, that is, Q1=Q-Q_th.

[0042] The embodiment of the present application reduces the accumulated charge and discharge charge when the initial accumulated charge and discharge charge is accumulated to the charge threshold, that is, subtracts the charge threshold from the accumulated charge and discharge charge, so that the accumulated charge and discharge charge can be returned to a smaller value, thereby effectively avoiding the situation where the charge accumulation fails.

[0043] In one embodiment, when determining the charge threshold, the computing device may determine the charge threshold according to the preset minimum operating current, maximum operating current and current sampling period of the battery. Optionally, the computing device may substitute the preset minimum operating current, maximum operating current and current sampling period of the battery into a preset calculation formula to calculate the charge threshold. In some embodiments, the charge threshold is greater than or equal to the maximum charge and discharge charge of the battery within a state of charge calculation period.

[0044] For example, the computing device may obtain the preset minimum operating current I_min, maximum operating current I_max, current sampling period t_I(s), and state of charge calculation period t_SOC(s) of the battery, and the charge threshold may be calculated according to the following calculation formula (1).

[0045] Q_th=(I_min*t_I / 3600)*(t_SOC / t_I)*(I_max / I_min)*2(1)

[0046] S202: Determine the target state of charge of the battery in the current state of charge calculation cycle based on the delayed charge and discharge charge, the battery state of charge, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation.

[0047] In an embodiment of the present application, the computing device can determine the target state of charge of the battery in the current state of charge calculation cycle based on the delayed charge and discharge charge, the battery's state of charge, the battery's rated capacity and charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation processing. The delayed charge and discharge charge refers to the cumulative charge and discharge charge in the previous state of charge calculation cycle, and the compensation processing corresponds to the reduction processing.

[0048] In one embodiment, when a computing device determines the target state of charge of a battery in a current state of charge calculation cycle based on the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, in combination with the target charge and discharge charge or the target charge and discharge charge after compensation, it can determine the target cycle charge and discharge charge of the battery in the state of charge calculation cycle based on the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, in combination with the target charge and discharge charge or the target charge and discharge charge after compensation; determine the target state of charge of the battery in the current state of charge calculation cycle based on the target cycle charge and discharge charge, the state of charge of the battery and the rated capacity of the battery.

[0049] In the embodiment of the present application, the computing device can process the battery charge more flexibly and effectively by reducing the accumulated charge and discharge charge when the accumulated charge and discharge charge is greater than or equal to the charge threshold, thereby reducing the problem of cumulative failure of the battery accumulated charge used in the calculation process of the battery state of charge; the target charge and discharge charge is compensated according to the reduced charge threshold corresponding to the reduction processing, and the target state of charge of the battery in the current state of charge calculation cycle is obtained according to the target charge and discharge charge after compensation, the state of charge of the battery and the rated capacity of the battery, thereby improving the accuracy of the battery state of charge calculation.

[0050] See also Figure 4 , Figure 4 It is a flow chart of another method for determining the battery state of charge provided in an embodiment of the present application. As shown in the figure, the method for determining the battery state of charge in this embodiment can be applied to a device for determining the battery state of charge, and the device for determining the battery state of charge is arranged in a computing device. The method may include at least the following steps.

[0051] S401: Obtain the cumulative charge and discharge charge of the battery in the current state of charge calculation cycle.

[0052] S402: When the accumulated charge and discharge charge amount is greater than or equal to the charge amount threshold, the accumulated charge and discharge charge amount is reduced, and a target charge and discharge charge amount is obtained according to the accumulated charge and discharge charge amount after the reduction process.

[0053] S403: Determine the target cycle charge and discharge charge of the battery in the state of charge calculation cycle based on the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation.

[0054] In an embodiment of the present application, the computing device can determine the target cycle charge and discharge charge of the battery in the state of charge calculation cycle based on the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation processing.

[0055] In one embodiment, the computing device may obtain the delayed charge and discharge charge amount of a previous state of charge calculation cycle before the current state of charge calculation cycle, and obtain the state of charge of the battery and the rated capacity of the battery.

[0056] Assuming that a state of charge calculation cycle is 1 second, and the current moment is the accumulated charge amount Q at the 3rd second, then the accumulated charge amount at the 2nd second is the delayed charge and discharge charge amount Q-delay.

[0057] The calculation device may determine the target state of charge of the battery according to the target charge and discharge charge amount Q1, the delayed charge and discharge charge amount Q-delay, the charge amount threshold Q_th, the state of charge SOC of the battery, and the rated capacity Cap of the battery.

[0058] In one embodiment, when the computing device determines the target cycle charge and discharge charge of the battery in the state of charge calculation cycle according to the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation, the computing device can calculate the first difference between the target charge and discharge charge and the delayed charge and discharge charge; determine the first difference as the initial cycle charge and discharge charge of the battery in the state of charge calculation cycle, for example, the initial cycle charge and discharge charge Q_delta=Q1-Q-delay; determine the target cycle charge and discharge charge of the battery in the current state of charge calculation cycle according to the initial cycle charge and discharge charge, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation. In some embodiments, the initial cycle charge and discharge charge in a state of charge calculation cycle is less than or equal to the product of the specified weight and the charge threshold, for example, the initial cycle charge and discharge charge cannot have a situation where Q_delta>0.5Q_th.

[0059] Furthermore, when the computing device determines the target cycle charge and discharge charge of the battery in the current state of charge calculation cycle based on the initial cycle charge and discharge charge in combination with the target charge and discharge charge or the target charge and discharge charge after compensation, it can determine whether the absolute value of the initial cycle charge and discharge charge is greater than a weighted charge threshold, where the weighted charge threshold is determined based on the product of a preset weight (such as 0.6) and the charge threshold; if so, then the sum of the initial cycle charge and discharge charge and the charge threshold is determined to be the target cycle charge and discharge charge obtained after compensating the target charge and discharge charge; if not, then the initial cycle charge and discharge charge is determined to be the target cycle charge and discharge charge.

[0060] S404: Determine a target state of charge of the battery in a current state of charge calculation cycle according to the target cycle charge and discharge charge amount, the state of charge of the battery, and the rated capacity of the battery.

[0061] In the embodiment of the present application, the computing device may determine the target state of charge of the battery in the current state of charge calculation cycle according to the target cycle charge and discharge charge, the state of charge of the battery, and the rated capacity of the battery.

[0062] Furthermore, when the computing device determines the target state of charge of the battery in the current state of charge calculation cycle based on the target cycle charge and discharge charge, the battery's state of charge, and the rated capacity of the battery, it can calculate a second ratio of the target cycle charge and discharge charge to the rated capacity of the battery; and determine the difference between the battery's state of charge and the second ratio as the target state of charge of the battery in the current state of charge calculation cycle.

[0063] Specific can Figure 5 For example, Figure 5 It is a flowchart of a method for calculating SOC provided in an embodiment of the present application. First, the initial cycle charge and discharge charge Q_delta=Q1-Q-delay is obtained through step S501; then, it is judged through step S502 that |Q_delta|>0.6Q_th. If the judgment result is yes, step S503 is executed, and if the judgment result is no, step S504 is executed; wherein, step S503 is to determine the target cycle charge and discharge charge Q_delta_m=Q_delta+Q_th; step S504 is Q_delta_m=Q_delta. After executing step S503 or S504, step S505 is executed to determine that the target state of charge is SOC m =SOC-Q_delta / Cap.

[0064] The embodiment of the present application adjusts the calculation method of the battery state of charge according to the charge amount, so that the calculated target state of charge is more accurate.

[0065] In the embodiment of the present application, the computing device can obtain the cumulative charge and discharge charge of the battery in the current state of charge calculation cycle. If the cumulative charge and discharge charge is greater than or equal to the charge threshold, the cumulative charge and discharge charge is reduced to obtain the target charge and discharge charge. According to the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation, the target cycle charge and discharge charge of the battery in the state of charge calculation cycle is determined; according to the target cycle charge and discharge charge, the state of charge of the battery and the rated capacity of the battery, the target state of charge of the battery in the current state of charge calculation cycle is determined. By adjusting the calculation method of the battery state of charge according to the charge, the calculated target state of charge is more accurate, which helps to further improve the performance of the battery.

[0066] See also Figure 6 , Figure 6 6 is a schematic diagram of a structure of a device for determining a battery state of charge provided in an embodiment of the present application. As shown in the figure, the device for determining a battery state of charge in this embodiment may include a processing unit 601 and a determining unit 602, wherein:

[0067] The processing unit 601 is used to obtain a target charge and discharge charge according to the cumulative charge and discharge charge of the battery in the current state of charge calculation cycle; wherein, when the cumulative charge and discharge charge is greater than or equal to the charge threshold, the cumulative charge and discharge charge is reduced, and the target charge and discharge charge is obtained according to the cumulative charge and discharge charge after the reduction process;

[0068] The determination unit 602 is used to determine the target state of charge of the battery in the current state of charge calculation cycle based on the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation processing, wherein the delayed charge and discharge charge refers to the cumulative charge and discharge charge in the previous state of charge calculation cycle, and the compensation processing corresponds to the reduction processing.

[0069] Furthermore, before obtaining the target charge and discharge charge amount according to the cumulative charge and discharge charge amount of the battery in the current state of charge calculation cycle, the processing unit 601 is also used to:

[0070] Obtaining the initial accumulated charge and discharge charge of the battery at the current moment;

[0071] Obtaining the charge and discharge amount of the battery corresponding to each current sampling period in the current state of charge calculation period;

[0072] Determine that the sum of the charge and discharge charge corresponding to each current sampling period in the current state of charge calculation period and the initial cumulative charge and discharge charge of the battery at the current moment is the cumulative charge and discharge charge of the battery in the current state of charge calculation period.

[0073] Further, when the accumulated charge and discharge charge is greater than or equal to the charge threshold, the processing unit 601 performs a reduction process on the accumulated charge and discharge charge, specifically for:

[0074] When the accumulated charge and discharge charge is greater than or equal to the charge threshold, calculating the difference between the accumulated charge and discharge charge and the charge threshold;

[0075] The difference is used as the target charge and discharge charge amount.

[0076] Further, the determination unit 602 determines the target state of charge of the battery in the current state of charge calculation cycle according to the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation processing, specifically for:

[0077] Determine a target cycle charge and discharge charge of the battery in the state of charge calculation cycle according to the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation;

[0078] The target state of charge of the battery in the current state of charge calculation cycle is determined according to the target cycle charge and discharge charge amount, the state of charge of the battery, and the rated capacity of the battery.

[0079] Further, the determination unit 602 determines the target cycle charge and discharge charge of the battery in the current state of charge calculation cycle according to the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation processing, specifically for:

[0080] Calculating a first difference between the target charge and discharge amount and the delayed charge and discharge amount;

[0081] Determine the first difference as the initial cycle charge and discharge charge of the battery in the state of charge calculation cycle;

[0082] The target cycle charge and discharge charge of the battery in the current state of charge calculation cycle is determined based on the initial cycle charge and discharge charge and combined with the target charge and discharge charge or the target charge and discharge charge after compensation.

[0083] Further, the determination unit 602 determines the target cycle charge and discharge charge of the battery in the current state of charge calculation cycle based on the initial cycle charge and discharge charge and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation processing, specifically for:

[0084] Determine whether the absolute value of the charge amount of the initial period charge and discharge is greater than a weighted charge amount threshold, wherein the weighted charge amount threshold is determined according to the product of a preset weight and the charge amount threshold;

[0085] If yes, determining that the sum of the initial cycle charge and discharge charge and the charge threshold is the target cycle charge and discharge charge obtained after compensating the target charge and discharge charge;

[0086] If not, the initial cycle charge and discharge charge is determined to be the target cycle charge and discharge charge.

[0087] Further, when the determination unit 602 determines the target state of charge of the battery in the current state of charge calculation cycle according to the target cycle charge and discharge charge, the state of charge of the battery, and the rated capacity of the battery, it is specifically used to:

[0088] Calculating a second ratio of the target cycle charge and discharge amount to the rated capacity of the battery;

[0089] A difference between the state of charge of the battery and the second ratio is determined as the target state of charge of the battery in the current state of charge calculation cycle.

[0090] Furthermore, the method for determining the charge threshold value includes:

[0091] The charge threshold is determined according to a preset minimum operating current, a maximum operating current and a current sampling period of the battery.

[0092] In an embodiment of the present application, a device for determining the state of charge of a battery may obtain a target charge and discharge charge according to a cumulative charge and discharge charge of the battery in a current state of charge calculation cycle; wherein, when the cumulative charge and discharge charge is greater than or equal to a charge threshold, the cumulative charge and discharge charge is reduced, and the target charge and discharge charge is obtained according to the cumulative charge and discharge charge after the reduction; the target state of charge of the battery in the current state of charge calculation cycle is determined according to the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation processing, wherein the delayed charge and discharge charge refers to the cumulative charge and discharge charge in the previous state of charge calculation cycle, and the compensation processing corresponds to the reduction processing. By reducing the accumulated charge and discharge charge when the accumulated charge is greater than or equal to a charge threshold, the battery charge can be processed more flexibly and effectively, reducing the problem of cumulative failure of the accumulated charge of the battery used in the calculation of the battery state of charge; by compensating the target charge and discharge charge according to the reduced charge threshold corresponding to the reduction processing, and obtaining the target state of charge of the battery in the current state of charge calculation cycle based on the compensated target charge and discharge charge, the battery state of charge and the rated capacity of the battery, the accuracy of the battery state of charge calculation can be improved.

[0093] See also Figure 7 , Figure 7703 is a schematic diagram of the structure of a computing device provided in an embodiment of the present application. As shown in the figure, the computing device in this embodiment may include: one or more processors 701, memory 702, bus 703 and communication interface 704, the processor 701, communication interface 704 and memory 702 are connected through bus 703; memory 702 is used to store programs; processor 701 is used to call the program stored in the aforementioned memory through bus 703, and perform the following steps:

[0094] According to the cumulative charge and discharge charge of the battery in the current state of charge calculation cycle, a target charge and discharge charge is obtained; wherein, when the cumulative charge and discharge charge is greater than or equal to a charge threshold, the cumulative charge and discharge charge is reduced, and the target charge and discharge charge is obtained according to the reduced cumulative charge and discharge charge;

[0095] The target state of charge of the battery in the current state of charge calculation cycle is determined based on the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation processing. The delayed charge and discharge charge refers to the accumulated charge and discharge charge in the previous state of charge calculation cycle, and the compensation processing corresponds to the reduction processing.

[0096] Furthermore, before obtaining the target charge and discharge charge amount according to the cumulative charge and discharge charge amount of the battery in the current state of charge calculation cycle, the processor 701 is further configured to:

[0097] Obtaining the initial accumulated charge and discharge charge of the battery at the current moment;

[0098] Obtaining the charge and discharge amount of the battery corresponding to each current sampling period in the current state of charge calculation period;

[0099] Determine that the sum of the charge and discharge charge corresponding to each current sampling period in the current state of charge calculation period and the initial cumulative charge and discharge charge of the battery at the current moment is the cumulative charge and discharge charge of the battery in the current state of charge calculation period.

[0100] Further, when the accumulated charge and discharge charge is greater than or equal to the charge threshold, the processor 701 is specifically configured to:

[0101] When the accumulated charge and discharge charge is greater than or equal to the charge threshold, calculating the difference between the accumulated charge and discharge charge and the charge threshold;

[0102] The difference is used as the target charge and discharge charge amount.

[0103] Further, the processor 701 determines the target state of charge of the battery in the current state of charge calculation cycle according to the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation processing, specifically for:

[0104] Determine a target cycle charge and discharge charge of the battery in the state of charge calculation cycle according to the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation;

[0105] The target state of charge of the battery in the current state of charge calculation cycle is determined according to the target cycle charge and discharge charge amount, the state of charge of the battery, and the rated capacity of the battery.

[0106] Further, the processor 701 determines the target cycle charge and discharge charge of the battery in the current state of charge calculation cycle according to the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation processing, specifically for:

[0107] Calculating a first difference between the target charge and discharge amount and the delayed charge and discharge amount;

[0108] Determine the first difference as the initial cycle charge and discharge charge of the battery in the state of charge calculation cycle;

[0109] The target cycle charge and discharge charge of the battery in the current state of charge calculation cycle is determined based on the initial cycle charge and discharge charge and combined with the target charge and discharge charge or the target charge and discharge charge after compensation.

[0110] Further, the processor 701 determines the target cycle charge and discharge charge of the battery in the current state of charge calculation cycle based on the initial cycle charge and discharge charge and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation processing, specifically for:

[0111] Determine whether the absolute value of the charge amount of the initial period charge and discharge is greater than a weighted charge amount threshold, wherein the weighted charge amount threshold is determined according to the product of a preset weight and the charge amount threshold;

[0112] If yes, determining that the sum of the initial cycle charge and discharge charge and the charge threshold is the target cycle charge and discharge charge obtained after compensating the target charge and discharge charge;

[0113] If not, the initial cycle charge and discharge charge is determined to be the target cycle charge and discharge charge.

[0114] Further, when the processor 701 determines the target state of charge of the battery in the current state of charge calculation cycle according to the target cycle charge and discharge charge, the state of charge of the battery, and the rated capacity of the battery, it is specifically used to:

[0115] Calculating a second ratio of the target cycle charge and discharge amount to the rated capacity of the battery;

[0116] A difference between the state of charge of the battery and the second ratio is determined as the target state of charge of the battery in the current state of charge calculation cycle.

[0117] Furthermore, the method for determining the charge threshold value includes:

[0118] The charge threshold is determined according to a preset minimum operating current, a maximum operating current and a current sampling period of the battery.

[0119] In an embodiment of the present application, the computing device can obtain a target charge and discharge charge according to the cumulative charge and discharge charge of the battery in the current state of charge calculation cycle; wherein, when the cumulative charge and discharge charge is greater than or equal to a charge threshold, the cumulative charge and discharge charge is reduced, and the target charge and discharge charge is obtained according to the cumulative charge and discharge charge after the reduction; the target state of charge of the battery in the current state of charge calculation cycle is determined according to the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation. The delayed charge and discharge charge refers to the cumulative charge and discharge charge in the previous state of charge calculation cycle, and the compensation process corresponds to the reduction process. By reducing the accumulated charge and discharge charge when the accumulated charge is greater than or equal to a charge threshold, the battery charge can be processed more flexibly and effectively, reducing the problem of cumulative failure of the accumulated charge of the battery used in the calculation of the battery state of charge; by compensating the target charge and discharge charge according to the reduced charge threshold corresponding to the reduction processing, and obtaining the target state of charge of the battery in the current state of charge calculation cycle based on the compensated target charge and discharge charge, the battery state of charge and the rated capacity of the battery, the accuracy of the battery state of charge calculation can be improved.

[0120] It should be understood that in the embodiment of the present application, the processor 701 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0121] The memory 702 may include a read-only memory and a random access memory, and provide instructions and data to the processor 701. A portion of the memory 702 may also include a non-volatile random access memory. For example, the memory 702 may also store information about the device type.

[0122] In a specific implementation, the processor 701 described in the embodiment of the present application can execute the implementation method described in the method for determining the battery charge state provided in the embodiment of the present application, and can also execute the implementation method of the device for determining the battery charge state described in the embodiment of the present application, which will not be repeated here.

[0123] The embodiment of the present application also provides a computer-readable storage medium, in which program instructions are stored. When the program instructions are executed, the implementation method described in the information processing method provided in the embodiment of the present application is implemented.

[0124] The computer-readable storage medium may be an internal storage unit of the device described in any of the foregoing embodiments, such as a hard disk or memory of the device. The computer-readable storage medium may also be an external storage device of the device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the device. Furthermore, the computer-readable storage medium may also include both an internal storage unit of the device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computing device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0125] The embodiments of the present application also provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computing device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computing device executes the methods provided in the above various embodiments.

[0126] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0127] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the terminals and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0128] In the several embodiments provided in the present application, it should be understood that the disclosed terminal and method can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or it can be an electrical, mechanical or other form of connection.

[0129] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.

[0130] The units in the terminal in the embodiment of the present application can be merged, divided and deleted according to actual needs.

[0131] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present application.

[0132] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0133] 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 to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0134] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for determining a battery state of charge, characterized in that: The method comprises: According to the cumulative charge and discharge charge of the battery in the current state of charge calculation cycle, a target charge and discharge charge is obtained; wherein, when the cumulative charge and discharge charge is greater than or equal to a charge threshold, the cumulative charge and discharge charge is reduced, and the target charge and discharge charge is obtained according to the reduced cumulative charge and discharge charge; The target state of charge of the battery in the current state of charge calculation cycle is determined based on the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation processing. The delayed charge and discharge charge refers to the accumulated charge and discharge charge in the previous state of charge calculation cycle, and the compensation processing corresponds to the reduction processing.

2. The method according to claim 1, characterized in that: Before obtaining the target charge and discharge charge according to the calculation of the accumulated charge and discharge charge of the cycle in the current state of charge of the battery, the method further comprises: Obtaining the initial accumulated charge and discharge charge of the battery at the current moment; Obtaining the charge and discharge amount of the battery corresponding to each current sampling period in the current state of charge calculation period; Determine that the sum of the charge and discharge charge corresponding to each current sampling period in the current state of charge calculation period and the initial cumulative charge and discharge charge of the battery at the current moment is the cumulative charge and discharge charge of the battery in the current state of charge calculation period.

3. The method according to claim 1, characterized in that: When the accumulated charge and discharge charge is greater than or equal to the charge threshold, reducing the accumulated charge and discharge charge comprises: When the accumulated charge and discharge charge is greater than or equal to the charge threshold, calculating the difference between the accumulated charge and discharge charge and the charge threshold; The difference is used as the target charge and discharge charge amount.

4. The method according to claim 1, characterized in that: The determining the target state of charge of the battery in the current state of charge calculation cycle according to the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation processing, includes: Determine a target cycle charge and discharge charge of the battery in the state of charge calculation cycle according to the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation; The target state of charge of the battery in the current state of charge calculation cycle is determined according to the target cycle charge and discharge charge amount, the state of charge of the battery, and the rated capacity of the battery.

5. The method according to claim 4, characterized in that The step of determining the target cycle charge and discharge charge of the battery in the current state of charge calculation cycle based on the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation, includes: Calculating a first difference between the target charge and discharge amount and the delayed charge and discharge amount; Determine the first difference as the initial cycle charge and discharge charge of the battery in the state of charge calculation cycle; The target cycle charge and discharge charge of the battery in the current state of charge calculation cycle is determined based on the initial cycle charge and discharge charge and combined with the target charge and discharge charge or the target charge and discharge charge after compensation.

6. The method according to claim 5, characterized in that Determining the target cycle charge and discharge charge of the battery in the current state of charge calculation cycle according to the initial cycle charge and discharge charge and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation processing includes: Determine whether the absolute value of the charge amount of the initial period charge and discharge is greater than a weighted charge amount threshold, wherein the weighted charge amount threshold is determined according to the product of a preset weight and the charge amount threshold; If yes, determining that the sum of the initial cycle charge and discharge charge and the charge threshold is the target cycle charge and discharge charge obtained after compensating the target charge and discharge charge; If not, the initial cycle charge and discharge charge is determined to be the target cycle charge and discharge charge.

7. The method according to claim 4, characterized in that The step of determining the target state of charge of the battery in the current state of charge calculation cycle according to the target cycle charge and discharge charge, the state of charge of the battery, and the rated capacity of the battery includes: Calculating a second ratio of the target cycle charge and discharge amount to the rated capacity of the battery; A difference between the state of charge of the battery and the second ratio is determined as the target state of charge of the battery in the current state of charge calculation cycle.

8. The method according to any one of claims 1 to 6, characterized in that: The method for determining the charge threshold value comprises: The charge threshold is determined according to a preset minimum operating current, a maximum operating current and a current sampling period of the battery.

9. A device for determining a battery state of charge, characterized in that: The device comprises: a processing unit, configured to obtain a target charge and discharge charge according to a cumulative charge and discharge charge of a battery in a current state of charge calculation cycle; wherein, when the cumulative charge and discharge charge is greater than or equal to a charge threshold, the cumulative charge and discharge charge is reduced, and the target charge and discharge charge is obtained according to the reduced cumulative charge and discharge charge; A determination unit is used to determine the target state of charge of the battery in the current state of charge calculation cycle based on the delayed charge and discharge charge, the state of charge of the battery, the rated capacity of the battery and the charge threshold, and in combination with the target charge and discharge charge or the target charge and discharge charge after compensation processing, wherein the delayed charge and discharge charge refers to the accumulated charge and discharge charge in the previous state of charge calculation cycle, and the compensation processing corresponds to the reduction processing.

10. A computing device, characterized in that: The computing device comprises a processor, a memory, a bus and a communication interface, wherein the processor, the communication interface and the memory are connected via the bus; The memory is used to store programs; The processor is used to call the program stored in the memory through the bus to execute any one of the methods of claims 1-8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program instructions, which, when executed, implement the method according to any one of claims 1 to 8.

12. A computer program product, characterized in that The computer program product comprises program instructions, and when the program instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.