Charge state determination method and device, storage medium and electronic equipment
By using the target relationship between the state of charge and the voltage and the preset algorithm in the battery management system to correct the state of charge, the problem of low accuracy in the state of charge calculation in the prior art is solved, and the safety and use efficiency of the battery system are improved.
Patent Information
- Application Number
- CN202411843211.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-03-28
AI Technical Summary
The accuracy of the state of charge calculated by means of the A-time Integration method and other methods in the prior art is low, which affects the discharge depth and use safety of the battery system.
By determining the target relationship between the charge state and the voltage based on the charging curve and the discharge curve of the target object, and determining the first state of charge and the first voltage at the current time according to the preset algorithm, the first state of charge is corrected using these relationships and voltages to determine the target state of charge.
It improves the calculation accuracy of the state of charge, reduces error accumulation, and enhances the safety and use efficiency of the battery system.
Smart Images

Figure CN119716604A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery management technology, and in particular to a method and device for determining a state of charge, a storage medium, and an electronic device. Background Art
[0002] Battery energy storage is achieved by connecting a large number of battery cells in series and parallel. In actual projects, inaccurate battery SOC estimation, especially at the end of battery charge and discharge, greatly affects the discharge depth and safety of the battery system.
[0003] At present, common SOC estimation methods include open circuit voltage method, internal resistance method, Kalman filter method, ampere-hour integration method, etc. Among them, the open circuit voltage method needs to be static for a long enough time for estimation, which is limited in practical applications; the internal resistance method has the difficulty of estimating internal resistance, and it is also difficult to implement in hardware; the estimation accuracy of the Kalman filter method is greatly affected by the battery model, and the application cost is high, so it does not have advantages; the ampere-hour integration method is widely used in SOC estimation due to its advantages such as simplicity and easy implementation, but the ampere-hour integration method belongs to open-loop detection in control. If the current acquisition accuracy is not high, the given initial state of charge has a certain error. With the extension of system operation time, the error will gradually accumulate, thereby affecting the prediction result of the state of charge.
[0004] With regard to the problem of low accuracy of the state of charge calculated by the ampere-hour integration method and other methods in the related art, no effective solution has been proposed so far.
[0005] Therefore, it is necessary to improve the related technology to overcome the above-mentioned defects in the related technology. Summary of the invention
[0006] The embodiments of the present application provide a method and device for determining a state of charge, a storage medium, and an electronic device, so as to at least solve the problem of low accuracy of the state of charge calculated by methods such as the ampere-hour integration method in the related art.
[0007] According to one embodiment of the present application, a method for determining a state of charge is provided, including: determining a target relationship between the state of charge of the target object and the voltage of the target object based on a charging curve and a discharging curve of the target object; determining a first state of charge of the target object at a current moment according to a preset algorithm, and determining a first voltage of the target object at the current moment; and correcting the first state of charge according to the first voltage and the target relationship to determine the target state of charge of the target object at the current moment.
[0008] In an exemplary embodiment, determining a target relationship between the state of charge of the target object and the voltage of the target object according to a charging curve and a discharging curve of the target object includes: determining a first voltage threshold corresponding to the target object according to the charging curve, and determining a rated voltage of the target object, wherein the first voltage threshold is less than the rated voltage; determining a first voltage range corresponding to the target object according to the first voltage threshold and the rated voltage, and determining a first slope corresponding to the charging curve; determining a first relationship according to the first slope and the charging curve, wherein the first relationship is used to indicate a relationship between the state of charge of the target object and the voltage of the target object within the first voltage range; and determining a second voltage threshold corresponding to the target object according to the discharging curve; determining a second voltage range corresponding to the target object according to the second voltage threshold and a preset minimum voltage, and determining a second slope corresponding to the discharging curve, wherein the preset minimum voltage is less than the second voltage threshold; determining a second relationship according to the second slope and the discharging curve, wherein the target relationship includes: the first relationship and the second relationship, wherein the second relationship is used to indicate a relationship between the state of charge of the target object and the voltage of the target object within the second voltage range.
[0009] In an exemplary embodiment, determining the first state of charge of the target object at the current moment according to a preset algorithm includes: obtaining the state of charge of the target object at the previous moment of the current moment, and obtaining the first battery capacity of the target object at the current moment; determining the charging current or discharging current of the target object at the current moment; calculating the first state of charge according to a target formula, wherein the target formula is: SOC t The first state of charge, SOC t-1 is the state of charge at the moment before the current moment, i(τ) is the charging current or discharging current, Cn is the first battery capacity, t is the current moment, and t-1 is the moment before the current moment.
[0010] In an exemplary embodiment, the first state of charge is corrected according to the first voltage and the target relationship to determine the target state of charge of the target object at the current moment, including: when the working state of the target object at the current moment is the charging state, determining whether the first voltage is a voltage within the first voltage range; when it is determined that the first voltage is not a voltage within the first voltage range, determining that the correction of the first state of charge is prohibited, and the first state of charge is determined as the target state of charge; when it is determined that the first voltage is a voltage within the first voltage range, determining a second state of charge corresponding to the target object according to the first relationship and the first voltage; determining a first size relationship between a first absolute value of a first difference between the first state of charge and the second state of charge and a first hysteresis width; when the first size relationship indicates that the first absolute value is less than or equal to the first hysteresis width, determining that the correction of the first state of charge is prohibited, and the first state of charge is determined as the target state of charge; when the first size relationship indicates that the first absolute value is greater than the first hysteresis width, determining a second size relationship between the first difference and the first hysteresis width, and determining the target state of charge according to the second size relationship.
[0011] In an exemplary embodiment, the target state of charge is determined based on the second size relationship, including: when the second size relationship indicates that the first difference is greater than the first hysteresis band width, determining the second difference between the first state of charge and the first adjustment step as the target state of charge; when the second size relationship indicates that the first difference is less than the negative of the first hysteresis band width, determining the first sum of the first state of charge and the first adjustment step as the target state of charge.
[0012] In an exemplary embodiment, the first state of charge is corrected according to the first voltage and the target relationship to determine the target state of charge of the target object at the current moment, including: when the working state of the target object at the current moment is a discharge state, determining whether the first voltage is a voltage within the second voltage range; when it is determined that the first voltage is not a voltage within the second voltage range, determining that the correction of the first state of charge is prohibited, and the first state of charge is determined as the target state of charge; when it is determined that the first voltage is a voltage within the second voltage range, determining a third state of charge corresponding to the target object according to the second relationship and the first voltage; determining a third size relationship between a second absolute value of a third difference between the first state of charge and the third state of charge and a second hysteresis band width; when the third size relationship indicates that the second absolute value is less than or equal to the second hysteresis band width, determining that the correction of the first state of charge is prohibited, and the first state of charge is determined as the target state of charge; when the third size relationship indicates that the second absolute value is greater than the second hysteresis band width, determining a fourth size relationship between the third difference and the second hysteresis band width, and determining the target state of charge according to the fourth size relationship.
[0013] In an exemplary embodiment, the target state of charge is determined based on the fourth size relationship, including: when the fourth size relationship indicates that the third difference is greater than the second hysteresis band width, determining the fourth difference between the first state of charge and the second adjustment step as the target state of charge; when the fourth size relationship indicates that the third difference is less than the negative of the second hysteresis band width, determining the second sum of the first state of charge and the second adjustment step as the target state of charge.
[0014] According to another embodiment of the present application, a device for determining a state of charge is provided, including: a first determination module, used to determine a target relationship between the state of charge of the target object and the voltage of the target object according to a charging curve and a discharging curve of the target object; a second determination module, used to determine a first state of charge of the target object at a current moment according to a preset algorithm, and determine a first voltage of the target object at the current moment; and a correction module, used to correct the first state of charge according to the first voltage and the target relationship, so as to determine the target state of charge of the target object at the current moment.
[0015] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.
[0016] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0017] According to another embodiment of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0018] Through the embodiment of the present application, the target relationship between the state of charge of the target object and the voltage of the target object is determined according to the charging curve and the discharging curve of the target object; the first state of charge and the first voltage of the target object at the current moment are determined according to the preset algorithm; the first state of charge is corrected according to the first voltage and the target relationship to determine the target state of charge of the target object at the current moment. That is to say, the embodiment of the present application corrects the first state of charge determined by the preset algorithm by the target relationship between the state of charge and the voltage of the target object and the first voltage to determine the target state of charge of the target object at the current moment. According to the embodiment of the present application, the problem of low accuracy of the state of charge calculated by methods such as the ampere-hour integration method in the related art can be solved, thereby improving the accuracy of the calculation of the state of charge. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0020] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0021] Figure 1 It is a hardware structure block diagram of a computer terminal device of a method for determining a state of charge according to an embodiment of the present application;
[0022] Figure 2 is a flow chart of a method for determining a state of charge according to an embodiment of the present application;
[0023] Figure 3 It is a charging curve diagram according to an optional embodiment of the present application.
[0024] Figure 4 is a discharge curve diagram according to an optional embodiment of the present application;
[0025] Figure 5 is a flow chart of correction of a discharge state according to an optional embodiment of the present application;
[0026] Figure 6 is a correction flow chart of a charging state according to an optional embodiment of the present application;
[0027] Figure 7 It is a structural block diagram of a device for determining a state of charge according to an embodiment of the present application. DETAILED DESCRIPTION
[0028] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0030] The method embodiments provided in the embodiments of the present application can be executed in a computer terminal device or a similar computing device. Taking running on a computer terminal device as an example, Figure 1 1 is a hardware structure block diagram of a computer terminal device for determining a state of charge according to an embodiment of the present application. Figure 1 As shown, the computer terminal device may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned computer terminal device may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0031] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for determining the state of charge in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0032] The transmission device 106 is used to receive or send data via a network. The above-mentioned network specific examples may include a wireless network provided by a communication provider of a computer terminal device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0033] In this embodiment, a method for determining a state of charge is provided. Figure 2 is a flow chart of a method for determining a state of charge according to an embodiment of the present application, such as Figure 2 As shown, the process includes the following steps:
[0034] Step S202, determining a target relationship between a state of charge of the target object and a voltage of the target object according to a charging curve and a discharging curve of the target object;
[0035] Step S204, determining a first state of charge of the target object at the current moment according to a preset algorithm, and determining a first voltage of the target object at the current moment;
[0036] Among them, the above-mentioned preset algorithm can be an algorithm such as the ampere-hour integration method.
[0037] Step S206: Correct the first state of charge according to the first voltage and the target relationship to determine the target state of charge of the target object at the current moment.
[0038] The state of charge (SOC) of a battery is usually expressed as the percentage of the current remaining available capacity in the battery to the rated capacity of the battery.
[0039] Through the above steps, the target relationship between the state of charge of the target object and the voltage of the target object is determined according to the charging curve and the discharging curve of the target object; the first state of charge and the first voltage of the target object at the current moment are determined according to the preset algorithm; the first state of charge is corrected according to the first voltage and the target relationship to determine the target state of charge of the target object at the current moment. That is to say, the embodiment of the present application corrects the first state of charge determined by the preset algorithm by the target relationship between the state of charge and the voltage of the target object and the first voltage to determine the target state of charge of the target object at the current moment. According to the embodiment of the present application, the problem of low accuracy of the state of charge calculated by the ampere-hour integration method and other methods in the related art can be solved, thereby improving the accuracy of the calculation of the state of charge.
[0040] Optionally, the above-mentioned step S202 of determining a target relationship between the state of charge of the target object and the voltage of the target object according to the charging curve and the discharging curve of the target object includes: determining a first voltage critical value corresponding to the target object according to the charging curve, and determining the rated voltage of the target object, wherein the first voltage critical value is less than the rated voltage; determining a first voltage range corresponding to the target object according to the first voltage critical value and the rated voltage, and determining a first slope corresponding to the charging curve; determining a first relationship according to the first slope and the charging curve, wherein the first relationship is used to indicate a relationship between the state of charge of the target object and the voltage of the target object within the first voltage range; and determining a second voltage critical value corresponding to the target object according to the discharging curve; determining a second voltage range corresponding to the target object according to the second voltage critical value and a preset minimum voltage, and determining a second slope corresponding to the discharging curve, wherein the preset minimum voltage is less than the second voltage critical value; determining a second relationship according to the second slope and the discharging curve, wherein the target relationship includes: the first relationship and the second relationship, and the second relationship is used to indicate a relationship between the state of charge of the target object and the voltage of the target object within the second voltage range.
[0041] It is understandable that the above technical solution defines how to determine the relationship between the state of charge (SOC) and the battery voltage based on the battery charge and discharge curve, and how to set the voltage threshold and voltage range to make a more accurate SOC correction. Specifically: Assume that the target object is a certain lithium-ion battery.
[0042] First, the first voltage threshold (V2) and the rated voltage (Vs) need to be determined: Figure 3 is a charging curve diagram according to an optional embodiment of the present application, such as Figure 3 As shown, V2 is the voltage turning point of the charging curve. When the battery voltage reaches V2, the SOC is about 85%, and Vs is the nominal voltage of the battery, for example: 3.6V. V2 is less than Vs. For example, V2 may be set to 3.45V, which is a point in the charging curve where the slope begins to change, that is, the SOC increase is more sensitive to voltage changes.
[0043] Then, the first voltage range and the first slope need to be determined:
[0044] The first voltage range is V2 to Vs, such as 3.6V to 3.45V.
[0045] In this voltage range, the charging curve is fitted to obtain the first slope, assuming that the first slope is 0.01.
[0046] Based on the first slope, a first relationship is determined. For example, SOC m1 =k1×V+b1.
[0047] After determining the first relationship, you also need to determine the second relationship, specifically:
[0048] First, the second voltage threshold (V1) and the preset minimum voltage (V0) need to be determined.
[0049] Figure 4 is a discharge curve diagram according to an optional embodiment of the present application, such as Figure 4 As shown, from the discharge curve, V1 is the critical point of SOC decrease. Assuming V1 is 3.05V, when the battery voltage drops to V1, the SOC is about 15%.
[0050] V0 may be set to 2.6V, which is another key point in the slope change of the battery discharge curve, and V0 is less than V1.
[0051] Then, a second voltage range and a second slope are determined.
[0052] The second voltage range is V0 to V1, for example, 2.6V to 3.05V.
[0053] The voltage range in the discharge curve is fitted to obtain a second slope k2, for example, 0.03.
[0054] Based on the second slope, a second relationship is determined. For example, SOC m2 =k2×V+b2.
[0055] Through the above technical solution, the first relationship and the second relationship can be determined.
[0056] Optionally, the step S204 of determining the first state of charge of the target object at the current moment according to a preset algorithm includes: obtaining the state of charge of the target object at the previous moment before the current moment, and obtaining the first battery capacity of the target object at the current moment; determining the charging current or discharging current of the target object at the current moment; and calculating the first state of charge according to a target formula, wherein the target formula is: SOC t The first state of charge, SOC t-1 is the state of charge at the moment before the current moment, i(τ) is the charging current or discharging current, Cn is the first battery capacity, t is the current moment, and t-1 is the moment before the current moment.
[0057] It can be understood that the embodiment of the present application mainly limits the technical solution of correcting the first state of charge. Before correcting the first state of charge, it is necessary to first determine the first state of charge. The first state of charge can be determined by a preset algorithm, for example, the ampere-hour integration method. Specifically:
[0058] Get the state of charge (SOC) of the target object at the previous moment t-1 ):
[0059] In the battery management system, SOC is a state quantity that is continuously tracked. This means that at each sampling moment, the SOC value (SOC t-1 ). SOC t-1 It is the state of charge of the battery at the last moment, which is obtained through the previous SOC estimation, and can be the result obtained by the ampere-hour integration method, open circuit voltage method or other SOC estimation methods.
[0060] In determining SOC t-1 After that, it is necessary to obtain the first battery capacity (Cn) of the target object at the current moment: the battery capacity (Cn) is the maximum amount of electricity that the battery can store, which is a key parameter of the battery. The battery capacity will change with factors such as battery usage time, temperature, and charge and discharge rate.
[0061] It should be noted that when the battery completes the charge and discharge process from 0 to 100 or from 100 to 0, the total capacity Cn value of the battery can be updated. The first battery capacity Cn refers to the total capacity of the battery at the current moment (i.e., the current charge and discharge process), which reflects the actual capacity of the battery at present.
[0062] Furthermore, it is necessary to determine the charging current or discharging current (i(τ)) of the target object at the current moment: the battery management system monitors the battery current (charging or discharging) in real time, and the current value is a direct reflection of the battery's charging and discharging state at the current moment. The magnitude and direction of the current determine whether the battery's state of charge is increasing or decreasing, charging or discharging. i(τ) represents the current value of the battery at time τ, where τ can be any previous moment before time t, up to time t-1.
[0063] Then, the first state of charge (SOC) is calculated according to the target formula. t ):
[0064] SOC t is the state of charge of the target object at the current moment, that is, the remaining power ratio of the battery at time t. The target formula is: The numerator in the formula represents the integral of the battery charge and discharge current i(τ) and time from the last moment t-1 to the current moment t, which is a measure of the change in battery charge. When the battery is charging, i(τ) is a positive value; when the battery is discharging, i(τ) is a negative value. Dividing the integral result by the total capacity Cn of the battery, we can get the percentage of the battery state of charge change. This percentage is added to the SOC value SOC at the last moment. t-1 Add them together to get the SOC value SOC at the current moment t .
[0065] The above target formula is based on the principle of the ampere-hour integration method, which estimates the battery's state of charge by accumulating the changes in the battery's charge and discharge current over time. In practical applications, this integration process is usually implemented through the battery management system's current sensor and time counter. The current and time data will be sampled and accumulated to update the battery's SOC value in real time.
[0066] Through the above steps, the battery management system can dynamically calculate and update the battery's SOC value according to the actual charge and discharge conditions of the battery, which is crucial to ensure the safe use of the battery, improve the battery life, and optimize the battery's energy management. At the end of battery discharge or charging, combined with SOC correction logic, the accuracy of SOC estimation can be further improved.
[0067] Optionally, step S206 of correcting the first state of charge according to the first voltage and the target relationship to determine the target state of charge of the target object at the current moment includes: when the working state of the target object at the current moment is the charging state, determining whether the first voltage is a voltage within the first voltage range; when it is determined that the first voltage is not a voltage within the first voltage range, determining that correction of the first state of charge is prohibited, and determining the first state of charge as the target state of charge; when it is determined that the first voltage is a voltage within the first voltage range, determining a second state of charge corresponding to the target object according to the first relationship and the first voltage; determining a first size relationship between a first absolute value of a first difference between the first state of charge and the second state of charge and a first hysteresis band width; when the first size relationship indicates that the first absolute value is less than or equal to the first hysteresis band width, determining that correction of the first state of charge is prohibited, and determining the first state of charge as the target state of charge; when the first size relationship indicates that the first absolute value is greater than the first hysteresis band width, determining a second size relationship between the first difference and the first hysteresis band width, and determining the target state of charge according to the second size relationship.
[0068] Wherein, determining the target state of charge according to the second size relationship includes: when the second size relationship indicates that the first difference is greater than the first hysteresis band width, determining the second difference between the first state of charge and the first adjustment step as the target state of charge; when the second size relationship indicates that the first difference is less than the negative of the first hysteresis band width, determining the first sum of the first state of charge and the first adjustment step as the target state of charge.
[0069] It is understandable that after determining the first state of charge, the first state of charge may be corrected to determine a target state of charge, specifically:
[0070] (1) When the battery is in the charging state:
[0071] Check whether the current voltage (Vt) of the battery falls within a preset first voltage range (V2 to Vs). The first voltage range is determined by analyzing the charging curve, where V2 is the voltage starting point of the high SOC region and Vs is the rated voltage of the battery.
[0072] If the first voltage Vt is not within the first voltage range, the current SOC value (SOC t ) to correct it and directly convert SOC t Considered as the target SOC value (SOC out), to ensure the continuity and stability of the SOC value.
[0073] If the first voltage Vt is within the first voltage range, a voltage-based SOC correction value (SOC m2 ), this correction value reflects the relationship between the battery voltage change and SOC change in the high SOC area.
[0074] Then calculate SOC t With SOC m2 and determine the relationship between the absolute value of ΔSOC1 and the preset first hysteresis width B.
[0075] The hysteresis width can avoid frequent small SOC corrections and reduce unnecessary system disturbances.
[0076] In the case where it is determined that the first absolute value is less than or equal to the hysteresis width: if the absolute value of ΔSOC1 is less than or equal to B, the SOC will not be corrected. t , and also directly regard it as SOC out ,This processing can reduce small fluctuations in the SOC value and improve the stability of the system.
[0077] In the case where it is determined that the first absolute value is greater than the hysteresis width: if the absolute value of ΔSOC1 is greater than B, the second magnitude relationship between ΔSOC1 and B will be further checked to determine whether and how to correct the SOC t .
[0078] Check whether ΔSOC1 is greater than the positive value of B or less than the negative value of -B.
[0079] Positive correction: If SOC t >SOC m2 +B, then the SOC will be corrected t , minus the adjustment step size Y, to get SOC out .
[0080] Negative correction: If SOC t <SOC m2 -B, then the SOC will be corrected t , plus the adjustment step size Y, we get SOC out .
[0081] Through the above process, the battery management system can intelligently determine whether the SOC needs to be corrected and how to correct the SOC, especially in the high SOC area of battery charging. This method can effectively reduce the error of SOC estimation and improve the accuracy and stability of the system. This correction logic takes into account both the change of battery voltage and the continuity and stability of SOC correction, and is a relatively comprehensive SOC management strategy.
[0082] Optionally, the first state of charge is corrected according to the first voltage and the target relational expression to determine the target state of charge of the target object at the current moment, including: when the working state of the target object at the current moment is a discharging state, determining whether the first voltage is a voltage within the second voltage range; when it is determined that the first voltage is not a voltage within the second voltage range, determining that the correction of the first state of charge is prohibited and determining the first state of charge as the target state of charge; when it is determined that the first voltage is a voltage within the second voltage range, determining a third state of charge corresponding to the target object according to the second relational expression and the first voltage; determining a third magnitude relationship between a second absolute value of a third difference between the first state of charge and the third state of charge and a second hysteresis width; when the third magnitude relationship indicates that the second absolute value is less than or equal to the second hysteresis width, determining that the correction of the first state of charge is prohibited and determining the first state of charge as the target state of charge; when the third magnitude relationship indicates that the second absolute value is greater than the second hysteresis width, determining a fourth magnitude relationship between the third difference and the second hysteresis width and determining the target state of charge according to the fourth magnitude relationship.
[0083] Wherein, determining the target state of charge according to the fourth magnitude relationship includes: when the fourth magnitude relationship indicates that the third difference is greater than the second hysteresis width, determining a fourth difference between the first state of charge and a second adjustment step as the target state of charge; when the fourth magnitude relationship indicates that the third difference is less than the opposite number of the second hysteresis width, determining a second sum value of the first state of charge and the second adjustment step as the target state of charge.
[0084] It can be understood that after the first state of charge is determined, the first state of charge can be corrected to determine the target state of charge. Specifically:
[0085] (2) When the working state of the battery is a discharging state:
[0086] Check whether the voltage is within the second voltage range: The second voltage range is a preset low SOC region. For example: from V0 to V1. V0 is assumed to be 2.6V, and V1 is assumed to be 3.05V. Check whether the current voltage Vt is between 2.6V and 3.05V.
[0087] If Vt is not within the second voltage range (i.e., Vt < V0 or Vt > V1), no SOC correction will be performed. That is, the SOC value at the current moment (SOC t) directly as the target state of charge (SOC out ) can ensure the continuity and stability of SOC when the battery voltage is not in the critical area.
[0088] If Vt is within the second voltage range, a voltage-based SOC correction value (SOC m1 ). This correction value reflects the relationship between voltage change and SOC change when the battery is in the low SOC area.
[0089] Assume that the second relationship is: SOC m1 =k1×Vt+b1, where k1 and b1 are parameters obtained by fitting the discharge curve.
[0090] Calculating SOC t With SOC m1 The difference (ΔSOC2) between the two values is obtained, and the relationship between the absolute value of the difference and the second hysteresis width A is determined. The second hysteresis width A is to avoid unnecessary frequent small-amplitude SOC corrections and reduce system disturbances.
[0091] Check whether the absolute value of ΔSOC2 is less than or equal to A.
[0092] If the absolute value of ΔSOC2 is less than or equal to A, no SOC correction will be made. t , directly SOC t As a SOC out Use. This can reduce the fluctuation of SOC value and improve the stability of the system.
[0093] If the absolute value of ΔSOC2 is greater than A, the system further checks whether ΔSOC2 is greater than a positive value of A or less than a negative value of -A.
[0094] Positive correction: If SOC t >SOC m1 +A, then SOC t A downward revision is needed to reflect that the battery may have a lower SOC than expected, resulting in a SOC out =SOC t -X.
[0095] Negative correction: If SOC t <SOC m1 -A, then SOC t An upward revision is needed to reflect that the battery may have a higher SOC than expected, resulting in a SOC out =SOC t +X. Here X is the correction step size, which is used to control the amplitude of SOC correction.
[0096] Through this process, the battery management system can intelligently determine whether the SOC needs to be corrected and how to correct it during the discharge process, especially when the battery is in the low SOC area. This method can effectively reduce the error of SOC estimation, improve the accuracy and stability of battery management, and ensure that the system can more accurately control the depth of discharge at the end of battery discharge, thereby improving the service life and safety of the battery.
[0097] For example, if the battery current voltage V t is 2.8V (within the second voltage range), and the SOC calculated according to the second relationship is m1 is 10%, while SOC t is 12% (assuming the second hysteresis width A is 2%), then the absolute value of the difference is |22%-20%|=2%, which is exactly equal to A. According to the rule, no correction will be made, and SOC out Directly 12%. But if SOC t If the absolute value of the difference is 4%, which is greater than B, the fourth magnitude relationship (i.e., the positive and negative direction and numerical relationship between the difference and the hysteresis loop width) will be used to determine whether the SOC t Subtract the correction step size X (e.g. 0.5%) to get a more accurate SOC out value.
[0098] In order to better understand the process of the above-mentioned method for determining the state of charge, the implementation method flow of the above-mentioned method for determining the state of charge is described below in combination with an optional embodiment, but it is not used to limit the technical solution of the embodiment of the present application.
[0099] The optional embodiment of the present application proposes a SOC correction method suitable for engineering applications, specifically:
[0100] (1) According to the charge and discharge curve of the battery, the curve is fitted in stages to obtain the capacity-voltage relationship (i.e., the target relationship):
[0101] according to Figure 4 The discharge curve is fitted to the low voltage part (V0<V<V1), and the battery capacity-voltage relationship (i.e., the second relationship) is obtained, SOC m1 =k1×V+b1 (wherein V0 is the preset minimum voltage, V1 is the second voltage threshold, and k1 is the second slope).
[0102] according to Figure 3 The charging curve in the figure is fitted with the high voltage part (V2<V<Vs), and the battery capacity-voltage relationship (i.e. the first relationship) is obtained, SOC m2 =k2×V+b2 (wherein V2 is the first voltage threshold, Vs is the rated voltage, and k1 is the first slope).
[0103] Among them, the charge-discharge curve of the battery can be obtained from the test data of sampled batteries or refer to the instructions of the battery manufacturer; V is the battery terminal voltage; k1, b1, k2, b2 are the fitting curve parameters; V1 and V2 are selected at the inflection points of the curve slope; SOC m1 , SOC m2 is the correction value of SOC obtained according to the fitting curve during charge and discharge.
[0104] (2) In an alternative embodiment of the present application, the final displayed value of the battery capacity is determined by SOC out (i.e., the target state of charge), and according to the formula for calculating the battery capacity by the ampere-hour integration method: Among them, Cn is the total battery capacity, t is the current time, t-1 is the previous time, and i is the current charge-discharge current of the battery.
[0105] Figure 5 is a correction flowchart of a discharge state according to an alternative embodiment of the present application, as Figure 5 shown:
[0106] Step S501, calculate SOC t (i.e., the first state of charge).
[0107] Step S502, determine whether V < V1 (i.e., the second voltage critical value).
[0108] If it is determined that V < V1, execute step S503; if it is determined that V ≥ V1, execute step S506-1.
[0109] Step S503, calculate SOC m1 (i.e., the third state of charge).
[0110] Step S504, determine whether |SOC t -SOC m1 | (i.e., the second absolute value) ≤ A (i.e., the second hysteresis width).
[0111] If it is determined that |SOC t -SOC m1 | ≤ A, execute step S506-1; if it is determined that |SOC t -SOC m1 | > A, execute step S505.
[0112] Step S505, determine whether SOC t -SOC m1 (i.e., the second difference) > A.
[0113] If it is determined that SOC t -SOC m1>A, execute step S506-2; after determining SOC t -SOC m1 <-A, execute step S506-3.
[0114] Step S506-1, SOC out (i.e. target state of charge) = SOC t (ie the first state of charge).
[0115] Step S506-2, SOC out =SOC t -X (i.e. the second adjustment step size).
[0116] Step S506-3, SOC out =SOC t +X.
[0117] Step S507, output SOC out .
[0118] That is, if the battery is in the process of discharging, when the voltage is lower than V1: SOC t -SOC m1 >A,SOC out =SOC t -X;SOC t -SOC m1 <-A,SOC out =SOC t +X;|SOC t -SOC m1 |≤A,SOC out =SOC t .
[0119] Figure 6 is a correction flow chart of a charging state according to an optional embodiment of the present application, such as Figure 6 As shown:
[0120] Step S601, calculate SOC t (ie the first state of charge).
[0121] Step S602, determining whether V>V2 (ie, the first voltage threshold).
[0122] When it is determined that V>V2, step S603 is executed, and when it is determined that V≤V2, step S606-1 is executed.
[0123] Step S603, calculating SOC m2 (ie the second state of charge).
[0124] Step S604, determine |SOCt -SOC m2 | (i.e., the first absolute value) ≤ B (i.e., the first hysteresis band width).
[0125] In Determine | SOC t -SOC m2 |≤B, execute step S606-1; when determining |SOC t -SOC m2 |>B, execute step S605.
[0126] Step S605, determine SOC t -SOC m1 (ie the first difference)>B.
[0127] In determining SOC t -SOC m1 >B, execute step S606-2; after determining SOC t -SOC m1 <-B, execute step S606-3.
[0128] Step S606-1, SOC out =SOC t .
[0129] Step S606-2, SOC out =SOC t -Y (i.e. the first adjustment step).
[0130] Step S606-3, SOC out =SOC t +Y.
[0131] Step S607, output SOC out .
[0132] That is, if the battery is in the charging process, when the voltage is greater than V2: SOCt-SOCm2>B, SOC out =SOC t -Y;SOC t -SOC m2 <-B,SOC out =SOC t +Y;|SOC t -SOC m2 |≤B,SOC out =SOC t .
[0133] In the above optional embodiments, A and B are the hysteresis loop widths for SOC deviation judgment, which can avoid false disturbances, such as A=2, B=2; X and Y are adjustment steps, which can set the correction speed, such as X=0.5, B=0.5; the above parameters can be adjusted and selected according to actual needs.
[0134] Other cases, SOC out =SOC t .
[0135] It is understandable that the total capacity of the battery is a quantity that changes with the operating time, temperature, charge and discharge rate, etc., and needs to be updated frequently. Here, according to the system operation, if the system completes the SOC charging process from 0 to 100, or the SOC discharging process from 100 to 0, the cumulative capacity is updated to the Cn value.
[0136] According to an optional embodiment of the present application, the SOC of the battery is corrected during the charging and discharging process to avoid error accumulation. In particular, at the end of charging and discharging, a fitting curve method is introduced to uniformly correct batches of batteries in the energy storage system, thereby reducing the imbalance factor between batteries and improving system availability.
[0137] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0138] In this embodiment, a device for determining the state of charge is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the term "module" may be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0139] Figure 7 is a structural block diagram of a device for determining a state of charge according to an embodiment of the present application, such as Figure 7 As shown, the device comprises:
[0140] A first determination module 72, configured to determine a target relationship between a state of charge of the target object and a voltage of the target object according to a charging curve and a discharging curve of the target object;
[0141] A second determination module 74, configured to determine a first state of charge of the target object at a current moment according to a preset algorithm, and determine a first voltage of the target object at the current moment;
[0142] The correction module 76 is used to correct the first state of charge according to the first voltage and the target relationship to determine the target state of charge of the target object at the current moment.
[0143] Through the above-mentioned device, the target relationship between the state of charge of the target object and the voltage of the target object is determined according to the charging curve and the discharging curve of the target object; the first state of charge and the first voltage of the target object at the current moment are determined according to the preset algorithm; the first state of charge is corrected according to the first voltage and the target relationship to determine the target state of charge of the target object at the current moment. That is to say, the embodiment of the present application corrects the first state of charge determined by the preset algorithm by the target relationship between the state of charge and the voltage of the target object and the first voltage to determine the target state of charge of the target object at the current moment. According to the embodiment of the present application, the problem of low accuracy of the state of charge calculated by methods such as the ampere-hour integration method in the related art can be solved, thereby improving the accuracy of the calculation of the state of charge.
[0144] In an exemplary embodiment, the first determination module 72 is further used to determine a first voltage critical value corresponding to the target object according to the charging curve, and determine the rated voltage of the target object, wherein the first voltage critical value is less than the rated voltage; determine a first voltage range corresponding to the target object according to the first voltage critical value and the rated voltage, and determine a first slope corresponding to the charging curve; determine a first relationship according to the first slope and the charging curve, wherein the first relationship is used to indicate a relationship between the state of charge of the target object and the voltage of the target object within the first voltage range; and determine a second voltage critical value corresponding to the target object according to the discharge curve; determine a second voltage range corresponding to the target object according to the second voltage critical value and a preset minimum voltage, and determine a second slope corresponding to the discharge curve, wherein the preset minimum voltage is less than the second voltage critical value; determine a second relationship according to the second slope and the discharge curve, wherein the target relationship includes: the first relationship, the second relationship, and the second relationship indicates a relationship between the state of charge of the target object and the voltage of the target object within the second voltage range.
[0145] In an exemplary embodiment, the second determination module 74 is further configured to obtain the state of charge of the target object at the previous moment before the current moment, and obtain the first battery capacity of the target object at the current moment; determine the charging current or discharging current of the target object at the current moment; and calculate the first state of charge according to a target formula, wherein the target formula is: SOC t The first state of charge, SOC t-1 is the state of charge at the moment before the current moment, i(τ) is the charging current or discharging current, Cn is the first battery capacity, t is the current moment, and t-1 is the moment before the current moment.
[0146] In an exemplary embodiment, the correction module 76 is also used to determine whether the first voltage is a voltage within the first voltage range when the working state of the target object at the current moment is a charging state; when it is determined that the first voltage is not a voltage within the first voltage range, determine that correction of the first state of charge is prohibited, and determine the first state of charge as the target state of charge; when it is determined that the first voltage is a voltage within the first voltage range, determine the second state of charge corresponding to the target object according to the first relationship and the first voltage; determine a first size relationship between a first absolute value of a first difference between the first state of charge and the second state of charge and a first hysteresis band width; when the first size relationship indicates that the first absolute value is less than or equal to the first hysteresis band width, determine that correction of the first state of charge is prohibited, and determine the first state of charge as the target state of charge; when the first size relationship indicates that the first absolute value is greater than the first hysteresis band width, determine a second size relationship between the first difference and the first hysteresis band width, and determine the target state of charge according to the second size relationship.
[0147] In an exemplary embodiment, the correction module 76 is further used to determine a second difference between the first state of charge and the first adjustment step as the target state of charge when the second size relationship indicates that the first difference is greater than the first hysteresis band width; and to determine a first sum of the first state of charge and the first adjustment step as the target state of charge when the second size relationship indicates that the first difference is less than the negative of the first hysteresis band width.
[0148] In an exemplary embodiment, the correction module 76 is also used to determine whether the first voltage is a voltage within the second voltage range when the working state of the target object at the current moment is a discharge state; when it is determined that the first voltage is not a voltage within the second voltage range, determine that correction of the first state of charge is prohibited, and determine the first state of charge as the target state of charge; when it is determined that the first voltage is a voltage within the second voltage range, determine a third state of charge corresponding to the target object according to the second relationship and the first voltage; determine a third size relationship between a second absolute value of a third difference between the first state of charge and the third state of charge and a second hysteresis band width; when the third size relationship indicates that the second absolute value is less than or equal to the second hysteresis band width, determine that correction of the first state of charge is prohibited, and determine the first state of charge as the target state of charge; when the third size relationship indicates that the second absolute value is greater than the second hysteresis band width, determine a fourth size relationship between the third difference and the second hysteresis band width, and determine the target state of charge according to the fourth size relationship.
[0149] In an exemplary embodiment, the correction module 76 is further used to determine a fourth difference between the first state of charge and the second adjustment step as the target state of charge when the fourth size relationship indicates that the third difference is greater than the second hysteresis band width; and to determine a second sum of the first state of charge and the second adjustment step as the target state of charge when the fourth size relationship indicates that the third difference is less than the negative of the second hysteresis band width.
[0150] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0151] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0152] Optionally, in this embodiment, the storage medium may be configured to store program codes for executing the following steps:
[0153] S1, determining a target relationship between a state of charge of a target object and a voltage of the target object according to a charging curve and a discharging curve of the target object;
[0154] S2, determining a first state of charge of the target object at the current moment according to a preset algorithm, and determining a first voltage of the target object at the current moment;
[0155] S3: Correct the first state of charge according to the first voltage and the target relationship to determine the target state of charge of the target object at the current moment.
[0156] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0157] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0158] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0159] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0160] S1, determining a target relationship between a state of charge of a target object and a voltage of the target object according to a charging curve and a discharging curve of the target object;
[0161] S2, determining a first state of charge of the target object at the current moment according to a preset algorithm, and determining a first voltage of the target object at the current moment;
[0162] S3: Correct the first state of charge according to the first voltage and the target relationship to determine the target state of charge of the target object at the current moment.
[0163] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.
[0164] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0165] An embodiment of the present application also provides a computer program, which includes computer instructions, which are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in any one of the above method embodiments.
[0166] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0167] S1, determining a target relationship between a state of charge of a target object and a voltage of the target object according to a charging curve and a discharging curve of the target object;
[0168] S2, determining a first state of charge of the target object at the current moment according to a preset algorithm, and determining a first voltage of the target object at the current moment;
[0169] S3: Correct the first state of charge according to the first voltage and the target relationship to determine the target state of charge of the target object at the current moment.
[0170] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0171] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0172] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for determining a state of charge, characterized in that: include: Determining a target relationship between a state of charge of the target object and a voltage of the target object according to a charging curve and a discharging curve of the target object; Determine a first state of charge of the target object at the current moment according to a preset algorithm, and determine a first voltage of the target object at the current moment; The first state of charge is corrected according to the first voltage and the target relationship to determine the target state of charge of the target object at the current moment.
2. The method according to claim 1, characterized in that: Determining a target relationship between a state of charge of the target object and a voltage of the target object according to a charging curve and a discharging curve of the target object includes: Determining a first voltage critical value corresponding to the target object according to the charging curve, and determining a rated voltage of the target object, wherein the first voltage critical value is less than the rated voltage; Determining a first voltage range corresponding to the target object according to the first voltage threshold and the rated voltage, and determining a first slope corresponding to the charging curve; determining a first relational expression according to the first slope and the charging curve, wherein the first relational expression is used to indicate a relational expression between a state of charge of the target object and a voltage of the target object within a first voltage range; and Determining a second voltage threshold corresponding to the target object according to the discharge curve; Determining a second voltage range corresponding to the target object according to the second voltage threshold and a preset minimum voltage, and determining a second slope corresponding to the discharge curve, wherein the preset minimum voltage is less than the second voltage threshold; A second relationship is determined according to the second slope and the discharge curve, wherein the target relationship includes: the first relationship and the second relationship, and the second relationship is used to indicate a relationship between a state of charge of the target object and a voltage of the target object within a second voltage range.
3. The method according to claim 1, characterized in that Determining a first state of charge of the target object at a current moment according to a preset algorithm includes: Acquire the state of charge of the target object at a moment before the current moment, and acquire the first battery capacity of the target object at the current moment; Determining a charging current or a discharging current of the target object at a current moment; The first state of charge is calculated according to a target formula, wherein the target formula is: SOC t The first state of charge, SOC t-1 is the state of charge at the moment before the current moment, i(τ) is the charging current or discharging current, Cn is the first battery capacity, t is the current moment, and t-1 is the moment before the current moment.
4. The method according to claim 2, characterized in that: Correcting the first state of charge according to the first voltage and the target relationship to determine the target state of charge of the target object at the current moment includes: When the working state of the target object at the current moment is a charging state, determining whether the first voltage is a voltage within the first voltage range; In a case where it is determined that the first voltage is not a voltage within the first voltage range, determining that correction of the first state of charge is prohibited, and determining the first state of charge as the target state of charge; When it is determined that the first voltage is within the first voltage range, determining a second state of charge corresponding to the target object according to the first relationship and the first voltage; Determine a first magnitude relationship between a first absolute value of a first difference between the first state of charge and the second state of charge and a first hysteresis band width; When the first magnitude relationship indicates that the first absolute value is less than or equal to the first hysteresis band width, determining that correction of the first state of charge is prohibited, and determining the first state of charge as the target state of charge; When the first magnitude relationship indicates that the first absolute value is greater than the first hysteresis band width, a second magnitude relationship between the first difference and the first hysteresis band width is determined, and the target state of charge is determined according to the second magnitude relationship.
5. The method according to claim 4, characterized in that Determining the target state of charge according to the second magnitude relationship includes: When the second magnitude relationship indicates that the first difference is greater than the first hysteresis band width, determining a second difference between the first state of charge and the first adjustment step as the target state of charge; When the second magnitude relationship indicates that the first difference is smaller than the inverse of the first hysteresis band width, a first sum of the first state of charge and the first adjustment step is determined as the target state of charge.
6. The method according to claim 2, characterized in that Correcting the first state of charge according to the first voltage and the target relationship to determine the target state of charge of the target object at the current moment includes: When the working state of the target object at the current moment is a discharging state, determining whether the first voltage is a voltage within the second voltage range; In a case where it is determined that the first voltage is not a voltage within the second voltage range, determining that correction of the first state of charge is prohibited, and determining the first state of charge as the target state of charge; When it is determined that the first voltage is within the second voltage range, determining a third state of charge corresponding to the target object according to the second relationship and the first voltage; determining a third magnitude relationship between a second absolute value of a third difference between the first state of charge and the third state of charge and a second hysteresis band width; When the third magnitude relationship indicates that the second absolute value is less than or equal to the second hysteresis band width, determining that correction of the first state of charge is prohibited, and determining the first state of charge as the target state of charge; When the third magnitude relationship indicates that the second absolute value is greater than the second hysteresis band width, a fourth magnitude relationship between the third difference and the second hysteresis band width is determined, and the target state of charge is determined according to the fourth magnitude relationship.
7. The method according to claim 6, characterized in that Determining the target state of charge according to the fourth magnitude relationship includes: When the fourth magnitude relationship indicates that the third difference is greater than the second hysteresis band width, determining a fourth difference between the first state of charge and the second adjustment step as the target state of charge; When the fourth magnitude relationship indicates that the third difference is smaller than the inverse of the second hysteresis band width, a second sum of the first state of charge and the second adjustment step size is determined as the target state of charge.
8. A device for determining a state of charge, characterized in that: include: A first determination module, configured to determine a target relationship between a state of charge of the target object and a voltage of the target object according to a charging curve and a discharging curve of the target object; A second determination module, configured to determine a first state of charge of the target object at a current moment according to a preset algorithm, and determine a first voltage of the target object at the current moment; A correction module is used to correct the first state of charge according to the first voltage and the target relationship to determine the target state of charge of the target object at the current moment.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method of any one of claims 1 to 7 when executed.
10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.