Display SOC calculation method and device, electronic equipment and storage medium
By obtaining the current status of the lithium iron phosphate battery and calculating its real charge state, the problem of inaccurate SOC in the prior art is solved, and accurate evaluation of battery performance and guaranteeing system safety and stability are achieved.
Patent Information
- Application Number
- CN202411936726.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-15
AI Technical Summary
It is difficult to accurately calculate the displayed state of charge (SOC) of lithium iron phosphate batteries in the prior art, resulting in users being unable to correctly evaluate the battery performance, affecting the safe and stable operation of the system.
By obtaining the current state of the target battery, calculating its true state of charge (target SOC), and based on the current state and target SOC, calculate and output an accurate display SOC. The method includes calibration using a preset voltage platform and incremental capacity curve in a charged state, and calibration using a difference and quotient value calculation in a discharge or standstill state.
Accurate calculation of the display SOC of lithium iron phosphate battery is achieved to ensure that users receive accurate battery status information, so that they can correctly evaluate battery performance and ensure the safe and stable operation of the system.
Smart Images

Figure CN119828020A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of battery technology, and in particular to a method and device for calculating a display SOC, an electronic device and a storage medium. Background Art
[0002] With the growing global demand for clean energy and increasing environmental awareness, electric vehicles and energy storage systems have achieved rapid development in recent years. Among many battery technologies, lithium iron phosphate batteries stand out. They have high safety and can effectively reduce risks such as thermal runaway of batteries, greatly ensuring safety during use; long cycle life enables the battery to maintain good performance after multiple charge and discharge cycles, extending the battery life and reducing the overall cost of use; and they are environmentally friendly, with less pollution to the environment during production, use and recycling. These advantages have prompted lithium iron phosphate batteries to gradually become the mainstream choice in the field of electric vehicles and energy storage systems.
[0003] In the battery management system (BMS), accurate estimation of the battery state of charge (SOC) is one of the core tasks, which is directly related to the performance of the BMS system. Therefore, obtaining the accurate display SOC corresponding to the battery management system (BMS) can enable users to optimize the battery charging and discharging strategy, prevent the battery from overcharging and overdischarging, and improve the overall performance of the battery, thereby ensuring the safe and stable operation of the system.
[0004] Therefore, how to calculate the accurate display SOC so that the user can receive the accurate display SOC has become an urgent problem to be solved. Summary of the invention
[0005] In view of this, the present invention provides a display SOC calculation method, device, electronic device and storage medium to solve the problem of how to calculate an accurate display SOC so that a user receives an accurate display SOC.
[0006] In a first aspect, the present invention provides a method for calculating a display SOC, the method comprising:
[0007] Obtain the current state of the target battery; the current state includes charging state, discharging state and static state;
[0008] Calculate the target SOC corresponding to the target battery; wherein the target SOC is used to represent the actual state of charge corresponding to the target battery;
[0009] According to the current state corresponding to the target battery and based on the target SOC, the display SOC corresponding to the target battery is calculated and output; wherein the display SOC is used to represent the output charge state of the target battery output to the user.
[0010] The display SOC calculation method provided in the embodiment of the present application obtains the current state corresponding to the target battery; calculates the target SOC corresponding to the target battery, and ensures the accuracy of the target SOC corresponding to the calculated target battery. Then, according to the current state corresponding to the target battery, based on the target SOC, the display SOC corresponding to the target battery is calculated, and the display SOC is output. The accuracy of the display SOC corresponding to the calculated target battery is ensured, and the user can receive an accurate display SOC, and then accurately evaluate the performance of the target battery. Thereby ensuring the accuracy of the display SOC corresponding to the output target battery. Thereby realizing the calibration of the display SOC corresponding to the target battery, avoiding the inability to correctly evaluate the target battery due to the inaccurate display SOC corresponding to the target battery.
[0011] In an optional implementation, calculating the target SOC corresponding to the target battery includes:
[0012] Obtain the target SOC of the target battery at the previous moment corresponding to the current moment, and the current value at the current moment;
[0013] Based on the target SOC at the previous moment and the current value at the current moment, the target SOC at the current moment corresponding to the target battery is calculated.
[0014] The display SOC calculation method provided in the embodiment of the present application obtains the target SOC of the previous moment corresponding to the current moment corresponding to the target battery, and the current value at the current moment; based on the target SOC of the previous moment and the current value at the current moment, the target SOC of the current moment corresponding to the target battery is calculated, thereby ensuring the accuracy of the calculated target SOC corresponding to the current moment of the target battery, and thus ensuring the accuracy of the calculated target SOC corresponding to each moment. Furthermore, the accuracy of the display SOC calculated according to the target SOC can be ensured.
[0015] In an optional implementation, the current state is a charging state, and according to the current state corresponding to the target battery, based on the target SOC, the display SOC corresponding to the target battery is calculated, and the display SOC is output, including:
[0016] Get the current voltage and temperature of the target battery.
[0017] According to the current temperature, determine the preset voltage platform corresponding to the target battery;
[0018] Determine whether the current voltage corresponding to the target battery is within a preset voltage platform;
[0019] If the current voltage is not within the preset voltage platform, the display SOC is calculated and output based on the target SOC according to the charging state corresponding to the target battery.
[0020] The display SOC calculation method provided in the embodiment of the present application obtains the current voltage and current temperature corresponding to the target battery; according to the current temperature, the preset voltage platform corresponding to the target battery is determined, thereby ensuring the accuracy of the preset voltage platform corresponding to the determined target battery. It is determined whether the current voltage corresponding to the target battery is within the preset voltage platform, thereby ensuring the accuracy of the determined result. If the current voltage is not within the preset voltage platform, the display SOC is calculated based on the target SOC according to the charging state corresponding to the target battery, and the display SOC is output, thereby ensuring the accuracy of the output display SOC.
[0021] In an optional implementation, according to the current state corresponding to the target battery, based on the target SOC, calculating the display SOC corresponding to the target battery, and outputting the display SOC, further comprising:
[0022] If the current voltage is within the preset voltage platform, the incremental capacity curve generated by the target battery during the charging process is obtained; wherein the abscissa of the incremental capacity curve is the voltage corresponding to the target battery, and the ordinate is the battery capacity change corresponding to the target battery;
[0023] Monitor the incremental capacity curve, determine the maximum value of the incremental capacity curve within the preset voltage platform, and determine the current target voltage corresponding to the maximum value;
[0024] Determine the target SOC corresponding to the current target voltage;
[0025] Get the calibrated SOC corresponding to the current target voltage;
[0026] Use the calibrated SOC to replace the target SOC corresponding to the current target voltage;
[0027] Based on the replaced target SOC, the display SOC is calculated and output.
[0028] The display SOC calculation method provided in the embodiment of the present application, if the current voltage is within the preset voltage platform, then obtain the incremental capacity curve generated by the target battery during the charging process; monitor the incremental capacity curve, determine the maximum value corresponding to the incremental capacity curve within the preset voltage platform, and determine the current target voltage corresponding to the maximum value, thereby ensuring the accuracy of the maximum value corresponding to the incremental capacity curve within the preset voltage platform and the current target voltage corresponding to the maximum value. Then, determine the target SOC corresponding to the current target voltage; obtain the calibrated SOC corresponding to the current target voltage; use the calibrated SOC to replace the target SOC corresponding to the current target voltage; based on the replaced target SOC, calculate the display SOC, and output the display SOC, thereby realizing the calibration of the display SOC using the calibrated SOC, thereby ensuring the accuracy of the obtained display SOC.
[0029] In an optional implementation, according to the charging state corresponding to the target battery and based on the target SOC, calculating and displaying the SOC includes:
[0030] The first difference is obtained by subtracting the sum of the displayed SOC and the incremental SOC at the previous moment from the current moment target SOC; the incremental SOC represents the difference between the current moment target SOC and the previous moment target SOC;
[0031] If the first difference is greater than the first threshold, the absolute value of the second difference between the current target SOC and the displayed SOC at the previous moment is calculated to obtain a first absolute value;
[0032] Dividing the first absolute value by the absolute value of the incremental SOC to obtain a first quotient value;
[0033] If the first quotient is less than or equal to the second threshold, the current displayed SOC is equal to the current target SOC;
[0034] If the first quotient is greater than the second threshold, the SOC displayed at the current moment is equal to the SOC displayed at the previous moment plus the incremental SOC of the first preset multiple.
[0035] The display SOC calculation method provided in the embodiment of the present application uses the current target SOC to subtract the sum of the display SOC and the incremental SOC at the previous moment to obtain a first difference, thereby ensuring the accuracy of the obtained first difference. If the first difference is greater than the first threshold, the absolute value of the second difference between the current target SOC and the display SOC at the previous moment is calculated to obtain the first absolute value, thereby ensuring the accuracy of the obtained first absolute value. The first absolute value is divided by the absolute value of the incremental SOC to obtain the first quotient, thereby ensuring the accuracy of the obtained first quotient. If the first quotient is less than or equal to the second threshold, the current display SOC is equal to the current target SOC, thereby ensuring the accuracy of the current display SOC. If the first quotient is greater than the second threshold, the current display SOC is equal to the previous display SOC plus the incremental SOC of the first preset multiple. The accuracy of the calculated current display SOC is ensured.
[0036] In an optional implementation, according to the charging state corresponding to the target battery and based on the target SOC, calculating and displaying the SOC further includes:
[0037] If the first difference is less than or equal to the first threshold, the SOC displayed at the current moment is equal to the SOC displayed at the previous moment plus the incremental SOC of the second preset multiple; the first preset multiple is greater than the second preset multiple.
[0038] In the display SOC calculation method provided in the embodiment of the present application, if the first difference is less than or equal to the first threshold, the current display SOC is equal to the previous display SOC plus the increment SOC of the second preset multiple, thereby ensuring the accuracy of the calculated current display SOC.
[0039] In an optional implementation, the current state is a discharge state or a static state, and according to the current state corresponding to the target battery, based on the target SOC, the display SOC corresponding to the target battery is calculated, and the display SOC is output, including:
[0040] The first difference is obtained by subtracting the sum of the displayed SOC and the incremental SOC at the previous moment from the current moment target SOC; the incremental SOC represents the difference between the current moment target SOC and the previous moment target SOC;
[0041] If the first difference is less than the first threshold, the absolute value of the second difference between the target SOC at the current moment and the displayed SOC at the previous moment is calculated to obtain a first absolute value;
[0042] Dividing the first absolute value by the absolute value of the incremental SOC to obtain a first quotient value;
[0043] If the first quotient is less than or equal to the second threshold, the current displayed SOC is equal to the current target SOC;
[0044] If the first quotient is greater than the second threshold, the SOC displayed at the current moment is equal to the SOC displayed at the previous moment plus the incremental SOC of the first preset multiple;
[0045] If the first difference is greater than or equal to the first threshold, the current displayed SOC is equal to the previous displayed SOC plus the incremental SOC of the second preset multiple, and the displayed SOC is output.
[0046] The display SOC calculation method provided in the embodiment of the present application uses the current target SOC to subtract the sum of the display SOC and the incremental SOC at the previous moment to obtain a first difference, thereby ensuring the accuracy of the calculated first difference. If the first difference is less than the first threshold, the absolute value of the second difference between the current target SOC and the display SOC at the previous moment is calculated to obtain the first absolute value, thereby ensuring the accuracy of the obtained first absolute value. The first absolute value is divided by the absolute value of the incremental SOC to obtain the first quotient, thereby ensuring the accuracy of the obtained first quotient. If the first quotient is less than or equal to the second threshold, the current display SOC is equal to the current target SOC, thereby ensuring the accuracy of the calculated current display SOC. If the first quotient is greater than the second threshold, the current display SOC is equal to the previous display SOC plus the incremental SOC of the first preset multiple, thereby ensuring the accuracy of the current display SOC. If the first difference is greater than or equal to the first threshold, the current display SOC is equal to the previous display SOC plus the incremental SOC of the second preset multiple, thereby ensuring the accuracy of the current display SOC. Therefore, the accuracy of the output displayed SOC can be guaranteed, so that the user can evaluate the target battery based on the accurate displayed SOC.
[0047] In a second aspect, the present invention provides a display SOC calculation device, the device comprising:
[0048] An acquisition module is used to acquire the current state of the target battery; the current state includes a charging state, a discharging state and a static state;
[0049] A first calculation module is used to calculate a target SOC corresponding to a target battery; wherein the target SOC is used to represent a real state of charge corresponding to the target battery;
[0050] The second calculation module is used to calculate the display SOC corresponding to the target battery based on the target SOC according to the current state corresponding to the target battery, and output the display SOC; wherein the display SOC is used to represent the output charge state of the target battery output to the user.
[0051] The display SOC calculation device provided in the embodiment of the present application obtains the current state corresponding to the target battery; calculates the target SOC corresponding to the target battery, thereby ensuring the accuracy of the target SOC corresponding to the calculated target battery. Then, according to the current state corresponding to the target battery, based on the target SOC, the display SOC corresponding to the target battery is calculated, and the display SOC is output, thereby ensuring the accuracy of the display SOC corresponding to the calculated target battery. Thus, the accuracy of the display SOC corresponding to the output target battery is ensured. Thus, the display SOC corresponding to the target battery is calibrated, thereby avoiding the inability to correctly evaluate the target battery due to the inaccurate display SOC corresponding to the target battery.
[0052] In a third aspect, the present invention provides an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the display SOC calculation method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0053] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the display SOC calculation method of the first aspect or any corresponding embodiment thereof.
[0054] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the display SOC calculation method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0056] Figure 1 is a flow chart of a method for calculating a display SOC according to an embodiment of the present invention;
[0057] Figure 2 is a flow chart of another method for calculating SOC according to an embodiment of the present invention;
[0058] Figure 3 is a charging voltage variation curve diagram of a lithium iron phosphate battery according to an embodiment of the present invention;
[0059] Figure 4 is a charging incremental capacity curve corresponding to a lithium iron phosphate battery according to an embodiment of the present invention;
[0060] Figure 5 is a schematic diagram of downward calibration of the displayed SOC according to an embodiment of the present invention;
[0061] Figure 6 is a schematic diagram of upward calibration of the display SOC according to an embodiment of the present invention;
[0062] Figure 7 is a flow chart showing another method for calculating SOC according to an embodiment of the present invention;
[0063] Figure 8 is a structural block diagram of a display SOC calculation device according to an embodiment of the present invention;
[0064] Fig. 9 It is a schematic diagram of the hardware structure of the electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0066] With the growing global demand for clean energy and increasing environmental awareness, electric vehicles and energy storage systems have achieved rapid development in recent years. Among many battery technologies, lithium iron phosphate batteries stand out. They have high safety and can effectively reduce risks such as thermal runaway of batteries, greatly ensuring safety during use; long cycle life enables the battery to maintain good performance after multiple charge and discharge cycles, extending the battery life and reducing the overall cost of use; and they are environmentally friendly, with less pollution to the environment during production, use and recycling. These advantages have prompted lithium iron phosphate batteries to gradually become the mainstream choice in the field of electric vehicles and energy storage systems.
[0067] In the battery management system (BMS), accurate estimation of the battery state of charge (SOC) is one of the core tasks, which is directly related to the performance of the BMS system. Therefore, obtaining the accurate display SOC corresponding to the battery management system (BMS) can enable users to optimize the battery charging and discharging strategy, prevent the battery from overcharging and overdischarging, and improve the overall performance of the battery, thereby ensuring the safe and stable operation of the system.
[0068] At present, the mainstream SOC estimation method in the industry is to combine the ampere-hour integration method, the open circuit voltage (OCV) method and the charge and discharge end calibration method, and then output the estimated SOC as the displayed SOC to the user. However, the ampere-hour integration method calculates the change of SOC by integrating the battery charge and discharge current over time, but this method is easily affected by the current measurement error, and long-term use will produce cumulative errors because the accuracy of the output displayed SOC cannot be guaranteed. The open circuit voltage (OCV) method is based on the specific correspondence between the open circuit voltage and SOC of the battery. The SOC value is determined by measuring the open circuit voltage of the battery. However, the characteristics of lithium iron phosphate batteries cause their voltage changes to be extremely small within a wide SOC range (30%-90%). This tiny voltage change makes it difficult to establish an accurate OCV-SOC curve for calibration, thereby limiting the effectiveness of the OCV method in the SOC estimation of lithium iron phosphate batteries, because the accuracy of the output displayed SOC cannot be guaranteed. Furthermore, when the battery is often in a shallow charge and discharge mode, its use range cannot reach the end of charge and discharge, which makes it impossible to effectively implement the end-of-charge and discharge calibration method, and then the cumulative error generated by the ampere-hour integration method cannot be corrected in time. After long-term operation, it will inevitably seriously affect the estimation accuracy of SOC and cannot guarantee the accuracy of the output display SOC. This will reduce the BMS system's ability to control the battery status, and ultimately affect the performance and reliability of the entire electric vehicle or energy storage system.
[0069] Therefore, how to calculate the accurate display SOC so that the user can receive the accurate display SOC has become an urgent problem to be solved.
[0070] It should be noted that the method for displaying SOC calculation provided in the embodiment of the present application may be executed by a device for displaying SOC calculation, and the device for displaying SOC calculation may be implemented as part or all of an electronic device through software, hardware, or a combination of software and hardware, wherein the electronic device may be a control device in the target battery, or may be an electronic device independent of the target battery. In the following method embodiments, the execution subject is an electronic device as an example for explanation.
[0071] According to an embodiment of the present invention, an embodiment of a method for displaying SOC calculation is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0072] In this embodiment, a display SOC calculation method is provided, which can be used for the above electronic device. Figure 1 is a flow chart showing a method for calculating SOC according to an embodiment of the present invention. Figure 1As shown, the process includes the following steps:
[0073] Step S101, obtaining the current state corresponding to the target battery.
[0074] The current state includes a charging state, a discharging state and a static state.
[0075] Specifically, the electronic device may detect the current flow direction of the target battery, and then determine the current state corresponding to the target battery according to the current flow direction of the target battery.
[0076] Step S102, calculating a target SOC corresponding to the target battery.
[0077] The target SOC is used to characterize the actual state of charge of the target battery.
[0078] Specifically, the electronic device may calculate the target SOC corresponding to the target battery based on a preset method.
[0079] Among them, the preset method may include any one of the ampere-hour integration method, the open circuit voltage method, and the Kalman filtering method. The embodiment of the present application does not specifically limit the preset method.
[0080] Let's start with the Kalman filter method. Kalman filtering is an optimal estimation method based on a state space model. It regards the battery SOC as a hidden state variable and estimates the SOC by establishing the battery's state equation and observation equation. The state equation describes the change of SOC over time (for example, it can be based on the principle of the ampere-hour integration method), and the observation equation links the battery parameters that can be directly measured (such as voltage, current, etc.) with the SOC.
[0081] Application example: Assume that a simple battery state space model is established, and the state equation is (where charging current is positive and discharging current is negative. k represents the discrete time step, is the time interval), and the observation equation is V(k)=f(SOC(k))+∈(k) (V(k) is the measured battery voltage, f(SOC(k)) is the functional relationship between SOC and voltage, and ∈(k) is the measurement noise). The Kalman filter algorithm obtains the optimal SOC estimate through continuous prediction and updating based on the initial SOC estimate and the measured current and voltage data.
[0082] Error correction: The Kalman filter method itself can effectively handle the errors caused by measurement noise and system model uncertainty. In the application process, it is necessary to accurately determine the parameters in the state equation and observation equation, such as the rated capacity of the battery and the voltage-SOC function relationship. These parameters can be determined through experimental tests and the electrochemical model of the battery. At the same time, according to the actual working environment and characteristics of the battery, the parameters such as the noise covariance in the Kalman filter algorithm should be reasonably set to improve the accuracy of SOC estimation.
[0083] This step will be described in detail below.
[0084] Step S103 , according to the current state corresponding to the target battery and based on the target SOC, calculate the display SOC corresponding to the target battery, and output the display SOC.
[0085] The displayed SOC is used to represent the output state of charge of the target battery output to the user.
[0086] Specifically, the electronic device may calculate the display SOC corresponding to the target battery based on the target SOC using a preset calculation method according to the current state corresponding to the target battery, and output the display SOC.
[0087] This step will be described in detail below.
[0088] The display SOC calculation method provided in this embodiment obtains the current state corresponding to the target battery;
[0089] The target SOC corresponding to the target battery is calculated to ensure the accuracy of the target SOC corresponding to the calculated target battery. Then, according to the current state corresponding to the target battery, based on the target SOC, the display SOC corresponding to the target battery is calculated, and the display SOC is output. The accuracy of the display SOC corresponding to the calculated target battery is ensured, and the user can receive an accurate display SOC, and then the performance of the target battery can be accurately evaluated. The accuracy of the display SOC corresponding to the output target battery is thereby ensured. Thus, the display SOC corresponding to the target battery is calibrated, avoiding the inability to correctly evaluate the target battery due to inaccurate display SOC corresponding to the target battery.
[0090] In this embodiment, a display SOC calculation method is provided, which can be used for the above electronic device. Figure 2 is a flow chart showing a method for calculating SOC according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0091] Step S201, obtaining the current state corresponding to the target battery; the current state includes a charging state, a discharging state and a static state.
[0092] For details about this step, please refer to the above description of step S201, which will not be elaborated here.
[0093] Step S202, calculating the target SOC corresponding to the target battery.
[0094] The target SOC is used to characterize the actual state of charge of the target battery.
[0095] Specifically, the above step S202 may include the following steps:
[0096] Step S2021, obtaining the target SOC of the target battery at the previous moment corresponding to the current moment, and the current value at the current moment.
[0097] Specifically, the electronic device may obtain the target SOC of the target battery at the previous moment corresponding to the current moment and the current value of the target battery at the current moment from the storage space corresponding to the target battery.
[0098] Step S2022, based on the target SOC at the previous moment and the current value at the current moment, calculate the target SOC at the current moment corresponding to the target battery.
[0099] Specifically, the electronic device may calculate the current target SOC corresponding to the target battery based on the following formula.
[0100] SOC 目标t =SOC 目标t-1 +△SOC;
[0101] △SOC=I*△t / C / 3600*100%;
[0102] Among them, SOC 目标t is the current target SOC, SOC 目标t-1 is the target SOC at the previous moment, I is the current, △t is the calculation period, and C is the capacity.
[0103] Step S203 , calculating a display SOC corresponding to the target battery based on the target SOC according to the current state corresponding to the target battery.
[0104] The displayed SOC is used to represent the output state of charge of the target battery output to the user.
[0105] Specifically, in an optional implementation manner of the present application, the current state is a charging state, and the above step S203 may include the following steps:
[0106] Step S2031, obtaining the current voltage and current temperature corresponding to the target battery.
[0107] Step S2032: determining a preset voltage platform corresponding to the target battery according to the current temperature.
[0108] Specifically, the electronic device may search for a preset voltage platform corresponding to the target battery according to the current temperature corresponding to the target battery.
[0109] Among them, the number of preset voltage platforms can be one, two, or three. The embodiment of the present application does not specifically limit the number of preset voltage platforms.
[0110] The generation process of the preset voltage platform may be as follows:
[0111] The electronic device can perform constant current charging tests on multiple test batteries at different temperatures, and generate a test incremental capacity curve corresponding to each test battery. The horizontal axis of the test incremental capacity curve is the voltage corresponding to the test battery, and the vertical axis is the battery capacity change corresponding to the test battery. Each test incremental capacity curve is identified, and at least one local maximum value included in each test incremental capacity curve is determined. The test SOC corresponding to each local maximum value is determined, and the test voltage range corresponding to the test SOC is determined.
[0112] The electronic device classifies each local maximum value corresponding to the test battery at different temperatures and the test SOC corresponding to each local maximum value.
[0113] Then, the electronic device averages the test SOCs corresponding to the local maximum values at the same position at the same temperature to obtain the calibrated SOCs corresponding to the local maximum values at the same position at each temperature.
[0114] In addition, the electronic device identifies the test voltage range corresponding to the local maximum value at the same position at the same temperature, and determines the maximum test charging voltage and the minimum test charging voltage. Then, based on the maximum test charging voltage and the minimum test charging voltage corresponding to the same position at each temperature, the preset voltage platform corresponding to the local maximum value at the same position at each temperature is determined.
[0115] It should be noted that, Figure 3 The figure shows the charging voltage variation curve of a lithium iron phosphate battery. Figure 3 It can be seen that lithium iron phosphate batteries have a long plateau period when charging and discharging, and the voltage changes little with SOC during the plateau period. During the constant current charging process, the charged capacity Q is recorded at all times, and the capacity △Q corresponding to each voltage change △V is calculated at a fixed voltage interval △V. During the plateau period, while charging continuously, the terminal voltage changes very little, and the corresponding △Q will be very large.
[0116] For example, taking a 100Ah lithium iron phosphate battery as an example, the incremental capacity curves of 9 samples at 0.5C constant current charging at 25°C were studied. Among them, the incremental capacity curve corresponding to a lithium iron phosphate battery is as follows: Figure 4 shown.
[0117] The ∆V is set to 3mV and the results are summarized. Table 1 lists the data of these 9 samples, and the results of different samples are close.
[0118]
[0119] Table 1 shows that a certain 100Ah lithium iron phosphate battery has three peaks, that is, there are three local maxima.
[0120] 1. The voltage corresponding to each △Q peak is very stable, and the difference between samples is within 1 △V;
[0121] 2. The actual SOC corresponding to each △Q peak is stable, peak 1: 6.9%~8.4%; peak 2: 35.2%~38.8%; peak 3: 65.6%~68.8%.
[0122] 3. Calculate the calibrated SOC corresponding to each △Q peak, and calculate the preset voltage platform corresponding to each △Q peak. For example, the preset voltage platform corresponding to the second △Q peak of the 100Ah lithium iron phosphate battery above at 25℃ is 3.364~3.408V.
[0123] Step S2033, determining whether the current voltage corresponding to the target battery is within a preset voltage platform.
[0124] Specifically, each time the electronic device obtains the current voltage corresponding to the target battery, it compares the current voltage corresponding to the target battery with the minimum voltage value and the maximum voltage value in the preset voltage platform to detect whether the current voltage corresponding to the target battery is within the preset voltage platform.
[0125] Step S2034, if the current voltage is not within the preset voltage platform, the display SOC is calculated based on the target SOC according to the charging state corresponding to the target battery, and the display SOC is output.
[0126] Specifically, the above step S2034 of “calculating and displaying the SOC based on the target SOC and the charging state corresponding to the target battery” may include the following steps:
[0127] Step a1: subtract the sum of the displayed SOC at the previous moment and the incremental SOC from the current moment target SOC to obtain a first difference.
[0128] The incremental SOC represents the difference between the target SOC at the current moment and the target SOC at the previous moment.
[0129] Specifically, if the current voltage is not within the preset voltage platform, the electronic device determines that the current voltage will not be the charging voltage corresponding to the local maximum value of the target battery. Therefore, the electronic device obtains the current target SOC, the previous target SOC, and the previous displayed SOC corresponding to the target battery from the storage space. Then, the electronic device uses the current target SOC to subtract the sum of the previous displayed SOC and the incremental SOC to obtain the first difference.
[0130] Step a2: if the first difference is greater than the first threshold, the absolute value of the second difference between the target SOC at the current moment and the displayed SOC at the previous moment is calculated to obtain a first absolute value.
[0131] Specifically, the electronic device may receive a first threshold value input by a user, and then the electronic device compares the first difference with the first threshold value. The first threshold value may be 0, 0.1, or other values, and the embodiment of the present application does not specifically limit the first threshold value.
[0132] If the first difference is greater than the first threshold, the electronic device calculates the absolute value of the second difference between the target SOC at the current moment and the displayed SOC at the previous moment to obtain a first absolute value.
[0133] Step a3: Divide the first absolute value by the absolute value of the incremental SOC to obtain a first quotient.
[0134] Specifically, the electronic device divides the absolute value of the incremental SOC by the first absolute value to obtain a first quotient value.
[0135] Step a4: if the first quotient is less than or equal to the second threshold, the current displayed SOC is equal to the current target SOC.
[0136] Specifically, the electronic device may receive a second threshold value input by the user, and then compare the first quotient with the second threshold value. The second threshold value may be 2, 2.1, or other values, and the second threshold value is not specifically limited in the embodiment of the present application.
[0137] If the first quotient is less than or equal to the second threshold, the electronic device determines that the current displayed SOC is equal to the current target SOC.
[0138] Step a5: if the first quotient is greater than the second threshold, the SOC displayed at the current moment is equal to the SOC displayed at the previous moment plus the incremental SOC of the first preset multiple.
[0139] Specifically, if the first quotient is greater than the second threshold, the SOC displayed at the current moment is equal to the SOC displayed at the previous moment plus the incremental SOC of the first preset multiple.
[0140] Among them, the electronic device can receive a first preset multiple input by the user, and the first preset multiple can be 2, or 2.1, or other values. The embodiment of the present application does not specifically limit the first preset multiple.
[0141] Step a6: if the first difference is less than or equal to the first threshold, the SOC displayed at the current moment is equal to the SOC displayed at the previous moment plus the incremental SOC of a second preset multiple.
[0142] The first preset multiple is greater than the second preset multiple.
[0143] Specifically, if the first difference is less than or equal to the first threshold, the electronic device determines that the SOC displayed at the current moment is equal to the SOC displayed at the previous moment plus the incremental SOC of a second preset multiple.
[0144] Among them, the electronic device can receive a second preset multiple input by the user, and the second preset multiple can be 0.2, or 0.21, or other values. The embodiment of the present application does not specifically limit the second preset multiple.
[0145] Exemplarily, the calculation formula is as follows:
[0146] Target battery charge state (I>0)
[0147] SOC 目标t -(SOC 显示t-1 +△SOC)>0:
[0148] Calculation|(SOC 目标 t-SOC 显示t-1 )| / |△SOC| ratio (“|xxx|” means taking the absolute value):
[0149] If |(SOC 目标t -SOC 显示t-1 )| / |△SOC|≤2, then SOC 显示t =SOC 目标t ;
[0150] If |(SOC 目标t -SOC 显示t-1 )| / |△SOC|>2, then SOC 显示t =SOC 显示t-1 +2*△SOC.
[0151] SOC 目标t -(SOC 显示t-1 +△SOC)≤0:
[0152] SOC 显示t =SOC 显示t-1 +0.2*△SOC.
[0153] Step S2035: If the current voltage is within the preset voltage platform, then the incremental capacity curve generated by the target battery during the charging process is obtained.
[0154] The abscissa of the incremental capacity curve is the charging voltage corresponding to the target battery, and the ordinate is the battery capacity change corresponding to the target battery.
[0155] Specifically, if the current voltage is within the preset voltage platform, the electronic device may search the storage space for the incremental capacity curve generated by the target battery during the charging process.
[0156] It should be noted that the incremental capacity curve is generated during the charging process of the target battery.
[0157] Step S2036, monitoring the incremental capacity curve, determining the maximum value of the incremental capacity curve within the preset voltage platform, and determining the current target voltage corresponding to the maximum value.
[0158] Specifically, the electronic device monitors the incremental capacity curve, determines a maximum value corresponding to the incremental capacity curve within a preset voltage platform, and determines a current target voltage corresponding to the maximum value.
[0159] Step S2037, determining the target SOC corresponding to the current target voltage.
[0160] Specifically, the electronic device may calculate the target SOC corresponding to the current target voltage based on the target SOC at the previous moment corresponding to the current target voltage.
[0161] For details about this step, please refer to the description of the embodiment above and will not be elaborated here.
[0162] Step S2038, obtaining the calibrated SOC corresponding to the current target voltage.
[0163] Specifically, the electronic device may determine the target SOC corresponding to the current target voltage according to the position information corresponding to the current target voltage.
[0164] For example, if the current target voltage is within the first preset voltage platform from small to large corresponding to the target battery, the electronic device searches for the calibrated SOC corresponding to the current target voltage corresponding to the first preset voltage platform.
[0165] Step S2039, using the calibrated SOC to replace the target SOC corresponding to the current target voltage.
[0166] Specifically, when the current voltage of the target battery is the current target voltage, the electronic device replaces the target SOC corresponding to the current target voltage with the calibrated SOC.
[0167] Step S20310: Calculate the display SOC based on the replaced target SOC, and output the display SOC.
[0168] Specifically, the electronic device calculates the display SOC corresponding to the current target voltage based on the calibrated SOC corresponding to the current target voltage, and outputs the display SOC.
[0169] The specific calculation process is as follows:
[0170] The first difference is obtained by subtracting the sum of the SOC displayed at the last moment and the incremental SOC from the replaced target SOC corresponding to the current target voltage. If the first difference is greater than the first threshold, the absolute value of the second difference between the calibrated SOC corresponding to the current target voltage and the SOC displayed at the last moment is calculated to obtain the first absolute value; the first absolute value is divided by the absolute value of the incremental SOC to obtain the first quotient; if the first quotient is less than or equal to the second threshold, the SOC displayed at the current moment is equal to the calibrated SOC corresponding to the current target voltage. If the first quotient is greater than the second threshold, the SOC displayed at the current moment is equal to the SOC displayed at the last moment plus the incremental SOC of the first preset multiple. If the first difference is less than or equal to the first threshold, the SOC displayed at the current moment is equal to the SOC displayed at the last moment plus the incremental SOC of the second preset multiple.
[0171] For example, Figure 5 and Figure 6 As shown, Figure 5 The schematic diagram of downward calibration of the displayed SOC is as follows: Figure 5 It can be seen that when the current time is around 3900s, the target SOC jumps, that is, the calibrated SOC replaces the target SOC corresponding to the current target voltage. Then, based on the target SOC, the display SOC is calculated.
[0172] Figure 6 The schematic diagram of upward calibration of the displayed SOC is as follows: Figure 5 It can be seen that when the current time is around 2100s, the target SOC jumps, that is, the calibrated SOC replaces the target SOC corresponding to the current target voltage. Then, based on the replaced target SOC, the display SOC is calculated.
[0173] Depend on Figure 5 and Figure 6It can be seen that before the calibration is triggered (before the "maximum value of △Q / △V" is found), the displayed SOC and the target SOC curves overlap, because the target SOC is integrated in ampere-hours, and the displayed SOC always follows the calculation method described in step S2034. Since the first quotient is always less than or equal to the second threshold, the displayed SOC is always equal to the target SOC, so the two curves overlap. At the moment when the "maximum value of △Q / △V" is found, the target SOC is immediately replaced by the calibrated SOC. The subsequent target SOC continues to be integrated in ampere-hours, and the displayed SOC gradually approaches the target SOC until the calibration is completed (the curves overlap).
[0174] The above method shows that the direction of SOC change is always consistent with the current direction, and there will be no abnormal changes. In addition, the calibration is not completely completed during the constant current charging process. Once the corresponding "maximum value of △Q / △V" is found during constant current charging, the target SOC is refreshed, and then the display SOC will still move closer to the target SOC according to the above logic when exiting charging or switching to discharge and other complex working conditions, and the subsequent calibration is completed.
[0175] The display SOC calculation method provided in the embodiment of the present application obtains the target SOC of the previous moment corresponding to the current moment corresponding to the target battery, and the current value at the current moment; based on the target SOC of the previous moment and the current value at the current moment, the target SOC of the current moment corresponding to the target battery is calculated, thereby ensuring the accuracy of the calculated target SOC corresponding to the current moment of the target battery, and thus ensuring the accuracy of the calculated target SOC corresponding to each moment. Furthermore, the accuracy of the display SOC calculated according to the target SOC can be ensured.
[0176] Then, the current voltage and current temperature corresponding to the target battery are obtained; according to the current temperature, the preset voltage platform corresponding to the target battery is determined, so as to ensure the accuracy of the preset voltage platform corresponding to the determined target battery. It is determined whether the current voltage corresponding to the target battery is within the preset voltage platform, so as to ensure the accuracy of the determined result. If the current voltage is not within the preset voltage platform, the sum of the displayed SOC and the incremental SOC at the previous moment is subtracted from the current moment target SOC to obtain the first difference, so as to ensure the accuracy of the obtained first difference. If the first difference is greater than the first threshold, the absolute value of the second difference between the current moment target SOC and the displayed SOC at the previous moment is calculated to obtain the first absolute value, so as to ensure the accuracy of the obtained first absolute value. The first absolute value is divided by the absolute value of the incremental SOC to obtain the first quotient, so as to ensure the accuracy of the obtained first quotient. If the first quotient is less than or equal to the second threshold, the displayed SOC at the current moment is equal to the target SOC at the current moment, so as to ensure the accuracy of the displayed SOC at the current moment. If the first quotient is greater than the second threshold, the displayed SOC at the current moment is equal to the displayed SOC at the previous moment plus the incremental SOC of the first preset multiple. The accuracy of the calculated SOC displayed at the current moment is guaranteed. If the first difference is less than or equal to the first threshold, the SOC displayed at the current moment is equal to the SOC displayed at the previous moment plus the incremental SOC of the second preset multiple. The accuracy of the calculated SOC displayed at the current moment is guaranteed.
[0177] If the current voltage is within the preset voltage platform, the incremental capacity curve generated by the target battery during the charging process is obtained; the incremental capacity curve is monitored to determine the maximum value corresponding to the incremental capacity curve within the preset voltage platform, and the current target voltage corresponding to the maximum value is determined, ensuring the accuracy of the maximum value corresponding to the incremental capacity curve within the preset voltage platform and the current target voltage corresponding to the maximum value. Then, the target SOC corresponding to the current target voltage is determined; the calibrated SOC corresponding to the current target voltage is obtained; the target SOC corresponding to the current target voltage is replaced with the calibrated SOC; based on the replaced target SOC, the display SOC is calculated and output, thereby realizing the calibration of the display SOC using the calibrated SOC, ensuring the accuracy of the obtained display SOC.
[0178] The technical solution of the present application can realize effective SOC calibration of lithium iron phosphate batteries during the plateau period, eliminate the SOC cumulative error caused by the accuracy of the Hall sensor and the user's actual usage range that cannot cover the charge and discharge end calibration point, and prevent the system performance degradation caused by SOC error.
[0179] In this embodiment, a display SOC calculation method is provided, which can be used for the above electronic device. Figure 7 is a flow chart showing a method for calculating SOC according to an embodiment of the present invention. Figure 7 As shown, the process includes the following steps:
[0180] Step S301, obtaining the current state corresponding to the target battery; the current state includes a charging state, a discharging state and a static state.
[0181] For details about this step, please refer to the above description of step S201, which will not be elaborated here.
[0182] Step S302, calculating the target SOC corresponding to the target battery.
[0183] The target SOC is used to characterize the actual state of charge of the target battery.
[0184] For details about this step, please refer to the above description of step S202, which will not be elaborated here.
[0185] Step S303 , according to the current state corresponding to the target battery and based on the target SOC, calculate the display SOC corresponding to the target battery, and output the display SOC.
[0186] The displayed SOC is used to represent the output state of charge of the target battery output to the user.
[0187] Specifically, the current state is a discharging state or a static state, and the above step S303 may include the following steps:
[0188] Step S3031: subtract the sum of the displayed SOC at the previous moment and the incremental SOC from the current moment target SOC to obtain a first difference.
[0189] The incremental SOC represents the difference between the target SOC at the current moment and the target SOC at the previous moment.
[0190] Specifically, the electronic device obtains the current target SOC, the last target SOC and the last displayed SOC corresponding to the target battery from the storage space, and then subtracts the sum of the last displayed SOC and the incremental SOC from the current target SOC to obtain the first difference.
[0191] Step S3032: If the first difference is less than the first threshold, the absolute value of the second difference between the current target SOC and the displayed SOC at the previous moment is calculated to obtain a first absolute value.
[0192] Specifically, the electronic device may receive a first threshold value input by a user, and then the electronic device compares the first difference with the first threshold value. The first threshold value may be 0, 0.1, or other values, and the embodiment of the present application does not specifically limit the first threshold value.
[0193] If the first difference is less than the first threshold, the absolute value of the second difference between the current target SOC and the displayed SOC at the previous moment is calculated to obtain a first absolute value.
[0194] Step S3033: Divide the first absolute value by the absolute value of the incremental SOC to obtain a first quotient.
[0195] Specifically, the electronic device divides the absolute value of the incremental SOC by the first absolute value to obtain a first quotient value.
[0196] Step S3034: if the first quotient is less than or equal to the second threshold, the current displayed SOC is equal to the current target SOC.
[0197] Specifically, the electronic device may receive a second threshold value input by the user, and then compare the first quotient with the second threshold value. The second threshold value may be 2, 2.1, or other values, and the second threshold value is not specifically limited in the embodiment of the present application.
[0198] If the first quotient is less than or equal to the second threshold, the electronic device determines that the current displayed SOC is equal to the current target SOC.
[0199] Step S3035: if the first quotient is greater than the second threshold, the SOC displayed at the current moment is equal to the SOC displayed at the previous moment plus the incremental SOC of the first preset multiple.
[0200] Specifically, if the first quotient is greater than the second threshold, the electronic device determines that the SOC displayed at the current moment is equal to the SOC displayed at the previous moment plus an incremental SOC of a first preset multiple.
[0201] Among them, the electronic device can receive a first preset multiple input by the user, and the first preset multiple can be 2, or 2.1, or other values. The embodiment of the present application does not specifically limit the first preset multiple.
[0202] Step S3036: If the first difference is greater than or equal to the first threshold, the current displayed SOC is equal to the previous displayed SOC plus the increment SOC of the second preset multiple, and the displayed SOC is output.
[0203] Specifically, if the first difference is greater than or equal to the first threshold, the electronic device may receive a second preset multiple input by the user, where the second preset multiple may be 0.2, 0.21, or other values. The embodiment of the present application does not specifically limit the second preset multiple.
[0204] Exemplarily, the calculation formula is as follows:
[0205] The current displayed SOC is equal to the previous displayed SOC plus an incremental SOC of a second preset multiple, and the displayed SOC is output.
[0206] The target battery is in a discharged state or static state (I≤0)
[0207] SOC 目标t -(SOC 显示t-1 +△SOC)<0
[0208] Calculation|(SOC 目标t -SOC 显示t-1 )| / |△SOC|
[0209] If |(SOC 目标t -SOC 显示t-1 )| / |△SOC|≤2, then SOC 显示t =SOC 目标t ;
[0210] If |(SOC 目标t -SOC 显示t-1 )| / |△SOC|>2, then SOC 显示t =SOC 显示t-1 +2*△SOC.
[0211] SOC 目标t -(SOC 显示t-1 +△SOC)>0:
[0212] SOC 显示t =SOC 显示t-1 +0.2*△SOC
[0213] The display SOC calculation method provided in the embodiment of the present application uses the current target SOC to subtract the sum of the display SOC and the incremental SOC at the previous moment to obtain a first difference, thereby ensuring the accuracy of the calculated first difference. If the first difference is less than the first threshold, the absolute value of the second difference between the current target SOC and the display SOC at the previous moment is calculated to obtain the first absolute value, thereby ensuring the accuracy of the obtained first absolute value. The first absolute value is divided by the absolute value of the incremental SOC to obtain the first quotient, thereby ensuring the accuracy of the obtained first quotient. If the first quotient is less than or equal to the second threshold, the current display SOC is equal to the current target SOC, thereby ensuring the accuracy of the calculated current display SOC. If the first quotient is greater than the second threshold, the current display SOC is equal to the previous display SOC plus the incremental SOC of the first preset multiple, thereby ensuring the accuracy of the current display SOC. If the first difference is greater than or equal to the first threshold, the current display SOC is equal to the previous display SOC plus the incremental SOC of the second preset multiple, thereby ensuring the accuracy of the current display SOC. Therefore, the accuracy of the output displayed SOC can be guaranteed, so that the user can evaluate the target battery based on the accurate displayed SOC.
[0214] In this embodiment, a display SOC calculation device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of 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.
[0215] This embodiment provides a display SOC calculation device, such as Figure 8 As shown, including:
[0216] The acquisition module 401 is used to acquire the current state of the target battery; the current state includes the charging state, the discharging state and the static state;
[0217] A first calculation module 402 is used to calculate a target SOC corresponding to a target battery; wherein the target SOC is used to represent a real state of charge corresponding to the target battery;
[0218] The second calculation module 403 is used to calculate the display SOC corresponding to the target battery according to the current state corresponding to the target battery and based on the target SOC; wherein the display SOC is used to represent the output charge state of the target battery output to the user.
[0219] In some optional embodiments, the first calculation module 402 is specifically used to obtain the target SOC of the target battery at the previous moment corresponding to the current moment, and the current value at the current moment; based on the target SOC at the previous moment and the current value at the current moment, calculate the target SOC of the target battery at the current moment.
[0220] In some optional embodiments, the current state is the charging state, and the second calculation module 403 is specifically used to obtain the current voltage and current temperature corresponding to the target battery; determine the preset voltage platform corresponding to the target battery according to the current temperature; determine whether the current voltage corresponding to the target battery is within the preset voltage platform; if the current voltage is not within the preset voltage platform, calculate and display the SOC based on the target SOC according to the charging state corresponding to the target battery, and output the displayed SOC.
[0221] In some optional embodiments, the second calculation module 403 is specifically used to obtain an incremental capacity curve generated by the target battery during the charging process if the current voltage is within a preset voltage platform; wherein the horizontal coordinate of the incremental capacity curve is the voltage corresponding to the target battery, and the vertical coordinate is the battery capacity change corresponding to the target battery; the incremental capacity curve is monitored to determine the maximum value corresponding to the incremental capacity curve within the preset voltage platform, and to determine the current target voltage corresponding to the maximum value; to determine the target SOC corresponding to the current target voltage; to obtain a calibrated SOC corresponding to the current target voltage; to replace the target SOC corresponding to the current target voltage with the calibrated SOC; based on the replaced target SOC, the display SOC is calculated, and the display SOC is output.
[0222] In some optional embodiments, the second calculation module 403 is specifically used to obtain a first difference by subtracting the sum of the SOC displayed at the previous moment and the incremental SOC from the target SOC at the current moment; the incremental SOC represents the difference between the target SOC at the current moment and the target SOC at the previous moment; if the first difference is greater than the first threshold, the absolute value of the second difference between the target SOC at the current moment and the SOC displayed at the previous moment is calculated to obtain a first absolute value; the first absolute value is divided by the absolute value of the incremental SOC to obtain a first quotient; if the first quotient is less than or equal to the second threshold, the SOC displayed at the current moment is equal to the target SOC at the current moment; if the first quotient is greater than the second threshold, the SOC displayed at the current moment is equal to the SOC displayed at the previous moment plus the incremental SOC of a first preset multiple.
[0223] In some optional embodiments, the second calculation module 403 is specifically used to, if the first difference is less than or equal to the first threshold, the SOC displayed at the current moment is equal to the SOC displayed at the previous moment plus the incremental SOC of the second preset multiple; the first preset multiple is greater than the second preset multiple.
[0224] In some optional embodiments, the current state is a discharge state or a static state. The second calculation module 403 is specifically used to obtain a first difference by subtracting the sum of the displayed SOC at the previous moment and the incremental SOC from the current target SOC; the incremental SOC represents the difference between the current target SOC and the previous target SOC; if the first difference is less than the first threshold, the absolute value of the second difference between the current target SOC and the displayed SOC at the previous moment is calculated to obtain a first absolute value; the first absolute value is divided by the absolute value of the incremental SOC to obtain a first quotient; if the first quotient is less than or equal to the second threshold, the displayed SOC at the current moment is equal to the target SOC at the current moment; if the first quotient is greater than the second threshold, the displayed SOC at the current moment is equal to the displayed SOC at the previous moment plus the incremental SOC of a first preset multiple; if the first difference is greater than or equal to the first threshold, the displayed SOC at the current moment is equal to the displayed SOC at the previous moment plus the incremental SOC of a second preset multiple, and the displayed SOC is output.
[0225] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0226] The display SOC computing device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0227] The embodiment of the present invention also provides an electronic device having the above Figure 8 The shown display SOC calculation device.
[0228] See also Fig. 9 , Fig. 9 is a schematic diagram of the structure of an electronic device provided by an optional embodiment of the present invention, such as Fig. 9As shown, the electronic device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig. 9 A processor 10 is taken as an example.
[0229] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0230] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0231] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the electronic 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.
[0232] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0233] The electronic device further comprises a communication interface 30 for the electronic device to communicate with other devices or a communication network.
[0234] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0235] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0236] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for calculating display SOC, characterized in that: The method comprises: Obtaining a current state corresponding to the target battery; the current state includes a charging state, a discharging state, and a static state; Calculating a target SOC corresponding to the target battery; wherein the target SOC is used to characterize a real state of charge corresponding to the target battery; According to the current state corresponding to the target battery and based on the target SOC, a display SOC corresponding to the target battery is calculated and outputted; wherein the display SOC is used to characterize the output state of charge of the target battery outputted to the user.
2. The method according to claim 1, characterized in that The calculating the target SOC corresponding to the target battery includes: Obtain the target SOC of the target battery at the previous moment corresponding to the current moment, and the current value at the current moment; Based on the target SOC at the previous moment and the current value at the current moment, the target SOC at the current moment corresponding to the target battery is calculated.
3. The method according to claim 1, characterized in that The current state is the charging state, and the display SOC corresponding to the target battery is calculated based on the target SOC according to the current state corresponding to the target battery, and the display SOC is output, including: Obtaining the current voltage and current temperature corresponding to the target battery; Determining a preset voltage platform corresponding to the target battery according to the current temperature; Determining whether the current voltage corresponding to the target battery is within the preset voltage platform; If the current voltage is not within the preset voltage platform, the displayed SOC is calculated based on the target SOC according to the charging state corresponding to the target battery, and the displayed SOC is output.
4. The method according to claim 3, characterized in that The method further comprises: calculating a display SOC corresponding to the target battery based on the target SOC according to the current state corresponding to the target battery, and outputting the display SOC. If the current voltage is within the preset voltage platform, an incremental capacity curve generated by the target battery during the charging process is obtained; wherein the abscissa of the incremental capacity curve is the voltage corresponding to the target battery, and the ordinate is the battery capacity change corresponding to the target battery; Monitoring the incremental capacity curve, determining a maximum value of the incremental capacity curve within the preset voltage platform, and determining a current target voltage corresponding to the maximum value; Determining the target SOC corresponding to the current target voltage; Obtaining a calibrated SOC corresponding to the current target voltage; Replacing the target SOC corresponding to the current target voltage with the calibrated SOC; The display SOC is calculated based on the target SOC after replacement, and the display SOC is output.
5. The method according to claim 3, characterized in that: The calculating the displayed SOC according to the charging state corresponding to the target battery and based on the target SOC includes: The first difference is obtained by subtracting the sum of the displayed SOC and the incremental SOC at the previous moment from the current moment target SOC; the incremental SOC represents the difference between the current moment target SOC and the previous moment target SOC; If the first difference is greater than a first threshold, calculating an absolute value of a second difference between the current target SOC and the previous displayed SOC to obtain a first absolute value; Dividing the first absolute value by the absolute value of the incremental SOC to obtain a first quotient value; If the first quotient is less than or equal to the second threshold, the current displayed SOC is equal to the current target SOC; If the first quotient is greater than the second threshold, the SOC displayed at the current moment is equal to the SOC displayed at the previous moment plus the incremental SOC of a first preset multiple.
6. The method according to claim 5, characterized in that The calculating the displayed SOC according to the charging state corresponding to the target battery and based on the target SOC further includes: If the first difference is less than or equal to the first threshold, the SOC displayed at the current moment is equal to the SOC displayed at the previous moment plus the incremental SOC of a second preset multiple; the first preset multiple is greater than the second preset multiple.
7. The method according to claim 1, characterized in that The current state is the discharge state or the static state, and the calculating, based on the target SOC and the current state corresponding to the target battery, the display SOC corresponding to the target battery, and outputting the display SOC, includes: The first difference is obtained by subtracting the sum of the displayed SOC and the incremental SOC at the previous moment from the current moment target SOC; the incremental SOC represents the difference between the current moment target SOC and the previous moment target SOC; If the first difference is less than a first threshold, calculating an absolute value of a second difference between the current target SOC and the previous displayed SOC to obtain a first absolute value; Dividing the first absolute value by the absolute value of the incremental SOC to obtain a first quotient value; If the first quotient is less than or equal to the second threshold, the current displayed SOC is equal to the current target SOC; If the first quotient is greater than the second threshold, the SOC displayed at the current moment is equal to the SOC displayed at the previous moment plus the increment SOC of a first preset multiple; If the first difference is greater than or equal to the first threshold, the current displayed SOC is equal to the previous displayed SOC plus the increment SOC of a second preset multiple, and the displayed SOC is output.
8. A display SOC calculation device, characterized in that: The device comprises: An acquisition module, used to acquire the current state corresponding to the target battery; the current state includes a charging state, a discharging state and a static state; A first calculation module, configured to calculate a target SOC corresponding to the target battery; wherein the target SOC is used to represent a real state of charge corresponding to the target battery; The second calculation module is used to calculate the displayed SOC corresponding to the target battery based on the target SOC according to the current state corresponding to the target battery; wherein the displayed SOC is used to represent the output charge state of the target battery output to the user.
9. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the display SOC calculation method according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the display SOC calculation method according to any one of claims 1 to 7.