Battery display SOC following correction method and system
By collecting the battery cell voltage and calculating the display SOC follow-up change coefficient, adjusting the following rate of the display SOC, the problem of inaccurate display SOC follow-up when the battery cell is inconsistent or the self-discharge difference is large, the display SOC is followed closer to the real SOC, and user trust is improved.
Patent Information
- Application Number
- CN202411893964.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-04-11
AI Technical Summary
In the prior art, when battery cells are inconsistent or self-discharge differences are large, it is difficult to achieve smooth and accurate following the changes in the real SOC, resulting in the problem of user distrust of the instrument display SOC.
By collecting the voltage of the single cell, determining the charging and discharging mode, and looking up the tables for the highest voltage, lowest voltage, differential pressure and SOC difference of the single cell, obtaining the real SOC target value and display SOC target value, calculate the display SOC follow-up change coefficient, and adjust the following rate of the display SOC to make it closer to the real SOC state.
The following rate of display SOC is continuously adjusted at different stages of the battery, so that display SOC follow correction is closer to the real state of the battery, avoiding the jump problem of display SOC when the real SOC meets the correction conditions, and improving users' trust in the instrument display SOC.
Smart Images

Figure CN119805236A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power batteries, and in particular to a battery display SOC following correction method and system. Background Art
[0002] Energy conservation and environmental protection, advocating low-carbon life has become the theme of today's social development. Lithium-ion batteries are widely used in the field of new energy vehicles due to their many advantages such as small size, light weight, high specific energy, long cycle life, no memory effect and no pollution. The battery state of charge (SOC) is a very important indicator in the operation of electric vehicles. The accuracy of the measurement greatly affects the performance of the vehicle.
[0003] The SOC of a power battery describes the actual available state of the remaining power in the battery. Accurate and reasonable estimation of the SOC can not only extend the battery life and prevent the battery from overcharging or over-discharging, but also improve the battery performance and reduce the battery cost.
[0004] However, the prior art only considers adjusting the following rate of the displayed SOC by setting the SOC following target value when there is a certain error between the real SOC and the displayed SOC, so as to achieve the displayed SOC following correction to the real SOC value within a certain period of time. The problem with this method is that when the battery cells are inconsistent or the self-discharge difference is large, and the battery does not meet the correction conditions, the real SOC of the battery does not match its actual state until it reaches the end of charge and discharge or fully charges and discharges to meet the correction conditions, triggering the real SOC jump. At this time, the displayed SOC will quickly follow the correction, or jump to the real SOC value because there is no time to correct; in addition, in order to protect the battery, some battery manufacturers set a part of the power reserved at the end of the battery discharge, that is, when the real SOC drops to the set value (such as 3%), the displayed SOC drops to 0% accordingly; the prior art is difficult to achieve the displayed SOC to smoothly and accurately follow the real SOC changes under the above working conditions, which aggravates the problem of users' distrust of the instrument display SOC. In response to the above problems, no effective solution has been proposed. Summary of the invention
[0005] Purpose of the invention: To provide a battery display SOC following correction method and system to at least solve one of the problems existing in the above-mentioned prior art.
[0006] Technical solution: A battery display SOC following correction method includes the following steps:
[0007] S1, based on the battery management system, collect the voltage of the single battery and determine the current charging and discharging mode of the battery. If it is in the charging mode, enter S2, otherwise enter S3;
[0008] S2, comparing the single cell maximum voltage among the single cell voltages with a first voltage threshold, and if the single cell maximum voltage is less than the first voltage threshold, obtaining a real SOC target value and a displayed SOC target value by looking up a table according to the single cell maximum voltage, the single cell voltage difference and ΔSOC;
[0009] S3, comparing the lowest voltage of the single cell among the single cell voltages with the second voltage threshold, and if the lowest voltage of the single cell is greater than the second voltage threshold, obtaining the real SOC target value and the displayed SOC target value by looking up the table according to the lowest voltage of the single cell, the cell voltage difference and ΔSOC; wherein the first voltage threshold is greater than the second voltage threshold;
[0010] S4, calculating the displayed SOC following change coefficient according to the current real SOC, the displayed SOC at the previous moment, the real SOC target value and the displayed SOC target value;
[0011] S5. Calculate the SOC displayed at the current moment according to the SOC displayed at the previous moment, the SOC display following change coefficient, the current current and battery capacity, and the algorithm scheduling cycle.
[0012] Preferably, S1, based on the battery management system, collects the voltage of the single battery, and determines the current charge and discharge mode of the battery. If it is in the charging mode, enter S2, otherwise enter S3, including:
[0013] When the battery system is powered on, the battery management system is awakened and enters the self-test state. After the self-test is fault-free, it is determined whether it is in charging mode or discharging mode based on the current direction; among them, positive current is charging mode, negative current is discharging mode, charging current direction is positive, and the mode determination result is used to display the SOC following correction algorithm.
[0014] Preferably, S2, comparing the single cell maximum voltage among the single cell voltages with a first voltage threshold, if the single cell maximum voltage is less than the first voltage threshold, obtaining a real SOC target value and a displayed SOC target value by looking up a table according to the single cell maximum voltage, the single cell voltage difference and ΔSOC, including:
[0015] The single cell maximum voltage is the maximum value of all single cell voltages collected by the battery management system, the single cell voltage difference is the difference between the maximum and minimum values of all single cell voltages collected by the BMS, and ΔSOC is the absolute value of the difference between the real SOC calculated internally by the BMS and the displayed SOC;
[0016] When the cell maximum voltage is less than the first voltage threshold, the real SOC and the displayed SOC are obtained by looking up the table according to the current cell pressure difference and ΔSOC.
[0017] Preferably, S2, comparing the highest voltage of the single cells among the single cell voltages with a first voltage threshold, further comprises:
[0018] If the cell maximum voltage is greater than the first voltage threshold, the actual SOC target value and the displayed SOC target value are set to the first SOC threshold and the second SOC threshold, respectively.
[0019] Preferably, S3, comparing the lowest voltage of the single cell among the single cell voltages with a second voltage threshold, if the lowest voltage of the single cell is greater than or equal to the second voltage threshold, obtaining a real SOC target value and a displayed SOC target value by looking up a table according to the lowest voltage of the single cell, the single cell voltage difference and ΔSOC, including:
[0020] The single cell minimum voltage is the minimum value of all single cell voltages collected by the battery management system. The single cell voltage difference is the difference between the maximum and minimum values of all single cell voltages collected by the BMS. ΔSOC is the absolute value of the difference between the real SOC calculated by the BMS and the displayed SOC.
[0021] When the cell lowest voltage is greater than the second voltage threshold, the third SOC threshold and the fourth SOC threshold are obtained by looking up a table according to the current cell pressure difference and ΔSOC.
[0022] Preferably, S3, comparing the lowest voltage of the single cells among the single cell voltages with a second voltage threshold, further comprises:
[0023] If the cell lowest voltage is less than or equal to the second voltage threshold, the real SOC target value and the displayed SOC target value are set to the third SOC threshold and the fourth SOC threshold, respectively.
[0024] Preferably, S4, calculating the displayed SOC following change coefficient according to the current real SOC, the previous displayed SOC, the real SOC target value and the displayed SOC target value, comprises:
[0025] Displaying the SOC following change coefficient is to display the change rate of SOC relative to the actual SOC, and make its value always positive;
[0026] Calculate the difference between the displayed SOC target value and the displayed SOC at the previous moment, and the difference between the actual SOC target value and the actual SOC at the current moment;
[0027] The ratio of the two is calculated to display the SOC following change coefficient.
[0028] Preferably, S5, calculating and obtaining the current moment displayed SOC according to the previous moment displayed SOC, the displayed SOC following change coefficient, the current moment current and battery capacity, and the algorithm scheduling cycle, includes:
[0029] The current current and battery capacity at the current moment are the real-time current and actual available capacity collected and calculated by the battery management system, and the algorithm scheduling cycle is the scheduling cycle of the SOC calculation module displayed in the battery management system;
[0030] Calculate the ratio of the current integral to the battery capacity within the unit scheduling cycle, multiply the ratio by the displayed SOC following change coefficient, and then add it to the displayed SOC at the previous moment to obtain the displayed SOC value at the current moment.
[0031] In order to achieve the above objective, according to another aspect of the present application, a battery display SOC following correction system is provided.
[0032] The battery display SOC following correction system according to the present application includes:
[0033] The collection and judgment module is used to collect the voltage of the single battery based on the battery management system and judge the current charging and discharging mode of the battery. If it is in the charging mode, it enters S2, otherwise it enters S3;
[0034] A first comparison module is used to compare the single cell maximum voltage among the single cell voltages with a first voltage threshold, and if the single cell maximum voltage is less than the first voltage threshold, a real SOC target value and a display SOC target value are obtained by looking up a table according to the single cell maximum voltage, the single cell voltage difference and ΔSOC;
[0035] A second comparison module is used to compare the lowest voltage of the single cell in the single cell voltage with a second voltage threshold, and if the lowest voltage of the single cell is greater than the second voltage threshold, a real SOC target value and a display SOC target value are obtained by looking up a table according to the lowest voltage of the single cell, the voltage difference of the single cell and ΔSOC; wherein the first voltage threshold is greater than the second voltage threshold;
[0036] A first calculation module, used for calculating a display SOC following change coefficient according to the current real SOC, the previous displayed SOC, the real SOC target value and the displayed SOC target value;
[0037] The second calculation module is used to calculate the current moment displayed SOC according to the previous moment displayed SOC, the displayed SOC following change coefficient, the current moment current and battery capacity, and the algorithm scheduling cycle.
[0038] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an electronic device is provided, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the battery display SOC following correction method described in any one of the present invention.
[0039] Beneficial effect: In the embodiment of the present application, the method of combining the single cell voltage, the pressure difference and the difference between the real and displayed SOC to determine the following target value of the real SOC and the displayed SOC during the charging and discharging process is adopted. Through S1, the single cell voltage is collected based on the battery management system, and the current charging and discharging mode of the battery is judged. If it is in the charging mode, it enters S2, otherwise it enters S3; S2, the single cell maximum voltage in the single cell voltage is compared with the first voltage threshold. If the single cell maximum voltage is less than the first voltage threshold, the real SOC target value and the displayed SOC target value are obtained by looking up the table according to the single cell maximum voltage, the single cell pressure difference and ΔSOC; S3, the single cell minimum voltage in the single cell voltage is compared with the second voltage threshold. If the single cell minimum voltage is greater than the second voltage threshold, the real SOC target value and the displayed SOC target value are obtained by looking up the table according to the single cell minimum voltage, the single cell pressure difference and ΔSOC; wherein the first voltage threshold is greater than the second voltage threshold; S4, the displayed SOC following change coefficient is calculated according to the real SOC at the current moment, the displayed SOC at the previous moment, the real SOC target value and the displayed SOC target value; S5, the displayed SOC at the previous moment, the displayed SOC, the displayed SOC target value ... The current SOC is obtained by calculating the current SOC display by following the change coefficient, the current current and the battery capacity, and the algorithm scheduling cycle, so as to achieve the purpose of continuously adjusting the following rate of the displayed SOC at different stages of the battery, so that the displayed SOC follows the correction closer to the real state of the battery, thereby achieving the technical effect of avoiding the displayed SOC from following the change too quickly or jumping due to untimely following when the real SOC of the battery meets the correction condition at a certain moment and a large jump occurs, thereby solving the problem that when the battery monomer is inconsistent or the self-discharge difference is large, and the battery does not meet the correction condition, the real SOC of the battery does not match its actual state at this time, until it reaches the end of charge and discharge or meets the correction condition when it is fully charged and discharged, triggering the real SOC jump, at this time the displayed SOC will quickly follow the correction, or jump to the real SOC value because it is too late to correct; in addition, in order to protect the battery, some battery manufacturers set a part of the power reserved at the end of the battery discharge, that is, when the real SOC drops to the set value (such as 3%), the displayed SOC drops to 0% accordingly; the existing technology is difficult to achieve the displayed SOC to smoothly and accurately follow the real SOC change under the above working conditions, which aggravates the technical problem that users do not trust the instrument displayed SOC. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 is a flow chart of a battery display SOC following correction method according to an embodiment of the present application;
[0041] Figure 2 is a flow chart of a battery display SOC following correction method according to a preferred embodiment of the present application;
[0042] Figure 3is a structural schematic diagram of another battery display SOC following correction system according to an embodiment of the present application; and
[0043] Figure 4 It is a structural schematic diagram of an electronic device according to a battery display SOC following correction method according to an embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0045] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0046] In addition, the terms "installed", "set", "provided with", "connected", "connected", and "socketed" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral structure; it can be a mechanical connection or an electrical connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be an internal connection between two devices, elements, or components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0047] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0048] like Figure 1-2 As shown, according to an embodiment of the present invention, a battery display SOC following correction method is provided, and the method includes the following steps S1 to S5:
[0049] Step S1, collecting the voltage of the single battery based on the battery management system, and judging the current charging and discharging mode of the battery, if it is in the charging mode, then entering S2, otherwise entering S3;
[0050] It can achieve good battery data information collection effects and at the same time, can achieve accurate judgment effects, thereby providing a data basis for subsequent processing or calculations.
[0051] According to an embodiment of the present invention, preferably, S1, based on the battery management system, collects the voltage of the single battery and determines the current charging and discharging mode of the battery. If it is in the charging mode, enter S2, otherwise enter S3, including:
[0052] When the battery system is powered on, the battery management system is awakened and enters the self-test state. After the self-test is fault-free, it is determined whether it is in charging mode or discharging mode based on the current direction; among them, positive current is charging mode, negative current is discharging mode, charging current direction is positive, and the mode determination result is used to display the SOC following correction algorithm.
[0053] It should be noted that powering up the battery system usually means that the key is in the KeyOn position or the gun is plugged in and low-voltage electricity is provided by the terminal.
[0054] The battery management system (BMS) includes but is not limited to: battery voltage acquisition, sensor selection: use high-precision voltage sensors or ADC (analog-to-digital converter) to collect the voltage value of each single battery in real time.
[0055] Data collection: Collect battery voltage data regularly or in real time. The sampling frequency can be set to ensure data accuracy.
[0056] 2. Voltage data processing and data smoothing: filter the collected voltage data to remove noise and ensure signal stability. Threshold setting: set the voltage thresholds for charging and discharging according to the characteristics of the battery. For example, the charging voltage of a lithium battery is usually between 3.0V and 4.2V, and the discharge voltage should not be lower than 3.0V.
[0057] 3. Determine the charging and discharging mode Charging mode: If the battery voltage continues to rise and the voltage is higher than the set charging threshold (such as 4.2V), it is judged as charging mode.
[0058] Discharge mode: If the battery voltage continues to drop and the voltage is lower than the set discharge threshold (such as 3.0V), it is judged as discharge mode.
[0059] Static mode: When the voltage does not change much between the thresholds and there is no obvious upward or downward trend, it can be judged as a static (sleep) state.
[0060] 4. Status monitoring and feedback
[0061] Status display: Feedback the judgment results to the user interface in real time to display the current charging and discharging status.
[0062] Alarm mechanism: If the voltage exceeds or falls below the safety threshold, an alarm mechanism should be triggered to protect the battery and prevent damage.
[0063] Step S2, comparing the single cell maximum voltage among the single cell voltages with the first voltage threshold, if the single cell maximum voltage is less than the first voltage threshold, obtaining a real SOC target value and a display SOC target value by looking up a table according to the single cell maximum voltage, the single cell voltage difference and ΔSOC;
[0064] It can achieve good comparative judgment effect, thereby obtaining the corresponding target value.
[0065] Collect data: Collect the voltage values of all single cells from the battery management system.
[0066] Determine the maximum voltage of a single cell: Find the highest voltage value among all single cell voltages and record it as the maximum voltage of the single cell.
[0067] According to an embodiment of the present invention, preferably, S2, comparing the single cell maximum voltage among the single cell voltages with a first voltage threshold, if the single cell maximum voltage is less than the first voltage threshold, obtaining a real SOC target value and a displayed SOC target value by looking up a table according to the single cell maximum voltage, the single cell voltage difference and ΔSOC, includes:
[0068] The single cell maximum voltage is the maximum value of all single cell voltages collected by the battery management system, the single cell voltage difference is the difference between the maximum and minimum values of all single cell voltages collected by the BMS, and ΔSOC is the absolute value of the difference between the real SOC calculated internally by the BMS and the displayed SOC;
[0069] When the cell maximum voltage is less than the first voltage threshold, the real SOC and the displayed SOC are obtained by looking up the table according to the current cell pressure difference and ΔSOC.
[0070] According to an embodiment of the present invention, preferably, S2, comparing the single cell highest voltage among the single cell voltages with the first voltage threshold, further includes:
[0071] If the cell maximum voltage is greater than the first voltage threshold, the actual SOC target value and the displayed SOC target value are set to the first SOC threshold and the second SOC threshold, respectively.
[0072] Specifically, the maximum cell voltage is the maximum value of all cell voltages collected by the BMS, the cell voltage difference is the difference between the maximum and minimum values of all cell voltages collected by the BMS, and ΔSOC is the real SOC (SOC real ) and display SOC(SOC disp) is the absolute value of the difference.
[0073] If the BMS determines that it is currently in charging mode, in order to ensure that the battery reaches the SOC disp Smooth follow correction to 100%, in one embodiment, assuming that the first voltage threshold is 3.6V (Fe lithium battery), the first SOC threshold (SOC thrd1 ) and the second SOC threshold (SOC thrd2 ) are set to 95% and 99% respectively, so that when the maximum voltage of the monomer reaches the full charge cut-off voltage of 3.65V, SOC real With SOC disp Both are 100%;
[0074] When the maximum voltage of the single cell is lower than the first voltage threshold, SOC thrd1 With SOC thrd2 According to the current cell pressure difference and ΔSOC, the following table is used to obtain the value. Specifically, when the cell pressure difference is within the normal range of the cell, the SOC real Can truly reflect the battery system status, at this time SOC disp With SOC real Take the same follow-up target value; when the single pressure difference increases significantly, SOC real The calculation takes into account the status of all cells, and the battery system is biased towards the cell with the highest single voltage to prevent overcharging. real Before triggering the correction (i.e. ΔSOC = 0), SOC disp The target value is set to be close to the actual state of the battery system, and the SOC real The following target value is slightly lower than SOC disp target value, thus in SOC real Triggering corrected SOC disp Able to follow SOC more smoothly real change.
[0075] ① Maximum voltage of a single cell∈(3.3V, 3.6V)
[0076]
[0077] ②Single cell maximum voltage∈[2.55V, 3.3V]
[0078]
[0079] Step S3, comparing the lowest voltage of the single cell in the single cell voltage with the second voltage threshold, if the lowest voltage of the single cell is greater than the second voltage threshold, then looking up the table according to the lowest voltage of the single cell, the cell voltage difference and ΔSOC to obtain the real SOC target value and the displayed SOC target value; wherein the first voltage threshold is greater than the second voltage threshold;
[0080] It can achieve accurate comparison and judgment effect, so as to obtain the required target value.
[0081] According to an embodiment of the present invention, preferably, S3, comparing the lowest voltage of the single cell among the single cell voltages with a second voltage threshold, if the lowest voltage of the single cell is greater than or equal to the second voltage threshold, obtaining a real SOC target value and a displayed SOC target value by looking up a table according to the lowest voltage of the single cell, the single cell voltage difference and ΔSOC, includes:
[0082] The single cell minimum voltage is the minimum value of all single cell voltages collected by the battery management system. The single cell voltage difference is the difference between the maximum and minimum values of all single cell voltages collected by the BMS. ΔSOC is the absolute value of the difference between the real SOC calculated by the BMS and the displayed SOC.
[0083] When the cell lowest voltage is greater than the second voltage threshold, the third SOC threshold and the fourth SOC threshold are obtained by looking up a table according to the current cell pressure difference and ΔSOC.
[0084] According to an embodiment of the present invention, preferably, S3, comparing the lowest single cell voltage among the single cell voltages with a second voltage threshold, further includes:
[0085] If the cell lowest voltage is less than or equal to the second voltage threshold, the real SOC target value and the displayed SOC target value are set to the third SOC threshold and the fourth SOC threshold, respectively.
[0086] Specifically, the lowest cell voltage is the minimum value of all cell voltages collected by the BMS. If the BMS determines that it is currently in discharge mode, in order to ensure that the battery reaches the SOC disp Smooth follow correction to 0%, in one embodiment, assuming that the second voltage threshold is 2.8V (Fe-Li battery, room temperature), the third SOC threshold (SOC thrd3 ) and the fourth SOC threshold (SOC thrd4 ) are set to 3% and 1% respectively, so that when the lowest voltage of the monomer reaches the discharge cut-off voltage of 2.55V, SOC real >0 and SOC disp = 0, which plays the role of reserving some power to protect the battery cell; when the lowest voltage of the single cell is higher than the second voltage threshold, SOC thrd3 With SOC thrd4 Obtained from the following table based on the current cell pressure difference and ΔSOC.
[0087] More specifically, the discharge scenario is similar to the charging scenario in S2. When the cell voltage difference is within the normal range of the cell, SOC real Can truly reflect the battery system status, at this time SOC disp With SOC realTake the same follow-up target value; when the single pressure difference increases significantly, SOC real The calculation takes into account the status of all cells, and the battery system is biased towards the cell with the lowest single voltage to prevent over-discharge of the cells. real Before triggering the correction (i.e. ΔSOC = 0), SOC disp The target value is set to be close to the actual state of the battery system, and the SOC real The following target value is slightly higher than SOC disp target value, thus in SOC real Triggering corrected SOC disp Able to follow SOC more smoothly real change.
[0088] ① Minimum voltage of a single cell∈(2.8V, 3.3V)
[0089]
[0090] ②Minimum voltage of a single cell∈[3.3V, 3.65V]
[0091]
[0092] Step S4, calculating the displayed SOC following change coefficient according to the current real SOC, the previous displayed SOC, the real SOC target value and the displayed SOC target value;
[0093] The displayed SOC following variation coefficient can be calculated by the above parameters.
[0094] According to an embodiment of the present invention, preferably, S4, calculating the displayed SOC following change coefficient according to the current real SOC, the previous displayed SOC, the real SOC target value and the displayed SOC target value, includes:
[0095] Displaying the SOC following change coefficient is to display the change rate of SOC relative to the actual SOC, and make its value always positive;
[0096] Calculate the difference between the displayed SOC target value and the displayed SOC at the previous moment, and the difference between the actual SOC target value and the actual SOC at the current moment;
[0097] The ratio of the two is calculated to display the SOC following change coefficient.
[0098] Among them, the calculation formula for displaying the SOC following change coefficient is:
[0099]
[0100] Step S5, calculating and obtaining the current moment displayed SOC according to the previous moment displayed SOC, the displayed SOC following change coefficient, the current moment current and battery capacity, and the algorithm scheduling cycle.
[0101] The current displayed SOC can be obtained by calculating the above parameters.
[0102] According to an embodiment of the present invention, preferably, S5, calculating and obtaining the current moment displayed SOC according to the previous moment displayed SOC, the displayed SOC following change coefficient, the current moment current and battery capacity, and the algorithm scheduling cycle, includes:
[0103] The current current and battery capacity at the current moment are the real-time current and actual available capacity collected and calculated by the battery management system, and the algorithm scheduling cycle is the scheduling cycle of the SOC calculation module displayed in the battery management system;
[0104] Calculate the ratio of the current integral to the battery capacity within the unit scheduling cycle, multiply the ratio by the displayed SOC following change coefficient, and then add it to the displayed SOC at the previous moment to obtain the displayed SOC value at the current moment.
[0105] Specifically, the current and battery capacity at the current moment are the real-time current and actual available capacity obtained by the BMS collection and calculation, and the algorithm scheduling period is the scheduling period of the SOC calculation module displayed in the BMS. In this embodiment, the SOC displayed at the current moment is essentially calculated by the ampere-hour integration method, but in order to smoothly follow the real SOC changes (normal changes or jumps) in real time, the display SOC following change coefficient is introduced to respond to the real SOC jump correction and be able to quickly follow its changes. Specifically, first calculate the ratio of the current integral to the battery capacity within the unit scheduling period, then multiply the ratio by the display SOC following change coefficient, and then add it to the display SOC at the previous moment to obtain the current moment display SOC value.
[0106] Among them, the calculation formula of SOC displayed at the current moment is:
[0107]
[0108] This application can solve the problem of inconsistent cells or large differences in self-discharge rates in the battery system, and the real SOC of the battery has not been corrected for a long time. It comprehensively considers the cell voltage, pressure difference, and the difference between the real and displayed SOC to determine the real SOC target value and the displayed SOC target value, so as to smoothly correct the displayed SOC to be closer to the real state of the battery. Then, when the real SOC of the battery meets the correction conditions and jumps, the displayed SOC can also be more reasonably corrected to the real SOC value. At the same time, the real SOC at the end of discharge and the displayed SOC target value can be set according to the needs to meet the requirements of power retention and battery protection at the end of discharge.
[0109] The present invention can achieve the effect that the real SOC and the displayed SOC reach their respective set target values at the same time, thus meeting actual use requirements.
[0110] From the above description, it can be seen that the present application achieves the following technical effects:
[0111] In the embodiment of the present application, a method of combining the single cell voltage, the pressure difference and the difference between the real and displayed SOC to determine the target value of the real SOC and the displayed SOC during the charging and discharging process is adopted. S1, based on the battery management system, collects the single cell voltage and determines the current charging and discharging mode of the battery. If it is in the charging mode, enter S2, otherwise enter S3; S2, compares the single cell maximum voltage in the single cell voltage with the first voltage threshold. If the single cell maximum voltage is less than the first voltage threshold, the real SOC target value and the displayed SOC target value are obtained by looking up the table according to the single cell maximum voltage, the single cell pressure difference and ΔSOC; S3, compares the single cell minimum voltage in the single cell voltage with the second voltage threshold. If the single cell minimum voltage is greater than the second voltage threshold, the real SOC target value and the displayed SOC target value are obtained by looking up the table according to the single cell minimum voltage, the single cell pressure difference and ΔSOC; wherein the first voltage threshold is greater than the second voltage threshold; S4, calculates the displayed SOC following change coefficient according to the real SOC at the current moment, the displayed SOC at the previous moment, the real SOC target value and the displayed SOC target value; S5, calculates the displayed SOC following change coefficient according to the displayed SOC at the previous moment, the displayed SOC following The current displayed SOC is obtained by calculating the coefficient of variation, the current current and the battery capacity, and the algorithm scheduling cycle, so as to achieve the purpose of continuously adjusting the following rate of the displayed SOC at different stages of the battery, so that the displayed SOC follows the correction closer to the real state of the battery, thereby achieving the technical effect of avoiding the displayed SOC from following the change too quickly or jumping due to untimely following when the real SOC of the battery meets the correction condition at a certain moment and a large jump occurs, thereby solving the problem that when the battery monomer is inconsistent or the self-discharge difference is large, and the battery does not meet the correction condition, the real SOC of the battery does not match its actual state at this time, until it reaches the end of charge and discharge or meets the correction condition when it is fully charged and discharged, triggering the real SOC jump, at this time the displayed SOC will quickly follow the correction, or jump to the real SOC value because it is too late to correct; in addition, in order to protect the battery, some battery manufacturers set a part of the power reserved at the end of the battery discharge, that is, when the real SOC drops to the set value (such as 3%), the displayed SOC drops to 0% accordingly; the existing technology is difficult to achieve the displayed SOC to smoothly and accurately follow the real SOC change under the above working conditions, which aggravates the technical problem that users do not trust the instrument displayed SOC.
[0112] like Figure 3As shown, in order to achieve the above-mentioned purpose, according to another aspect of the present application, a battery display SOC following correction system is provided. The battery display SOC following correction system comprises:
[0113] The collection and judgment module 301 is used to collect the voltage of the single battery based on the battery management system and judge the current charging and discharging mode of the battery. If it is in the charging mode, it enters S2, otherwise it enters S3;
[0114] It can achieve good battery data information collection effects and at the same time, can achieve accurate judgment effects, thereby providing a data basis for subsequent processing or calculations.
[0115] A first comparison module 302 is used to compare the single cell maximum voltage among the single cell voltages with a first voltage threshold, and if the single cell maximum voltage is less than the first voltage threshold, obtain a real SOC target value and a display SOC target value by looking up a table according to the single cell maximum voltage, the single cell voltage difference and ΔSOC;
[0116] It can achieve good comparative judgment effect, thereby obtaining the corresponding target value.
[0117] The second comparison module 303 is used to compare the lowest voltage of the single cell in the single cell voltage with the second voltage threshold, and if the lowest voltage of the single cell is greater than the second voltage threshold, obtain the real SOC target value and the displayed SOC target value by looking up the table according to the lowest voltage of the single cell, the single cell voltage difference and ΔSOC; wherein the first voltage threshold is greater than the second voltage threshold;
[0118] It can achieve accurate comparison and judgment effect, so as to obtain the required target value.
[0119] A first calculation module 304 is used to calculate the displayed SOC following change coefficient according to the current real SOC, the previous displayed SOC, the real SOC target value and the displayed SOC target value;
[0120] The displayed SOC following variation coefficient can be calculated by the above parameters.
[0121] The second calculation module 305 is used to calculate the current display SOC according to the previous display SOC, the display SOC following change coefficient, the current current and battery capacity, and the algorithm scheduling period.
[0122] The current displayed SOC can be obtained by calculating the above parameters.
[0123] From the above description, it can be seen that the present application achieves the following technical effects:
[0124] In the embodiment of the present application, a method of combining the single cell voltage, the pressure difference and the difference between the real and displayed SOC to determine the target value of the real SOC and the displayed SOC during the charging and discharging process is adopted. S1, based on the battery management system, collects the single cell voltage and determines the current charging and discharging mode of the battery. If it is in the charging mode, enter S2, otherwise enter S3; S2, compares the single cell maximum voltage in the single cell voltage with the first voltage threshold. If the single cell maximum voltage is less than the first voltage threshold, the real SOC target value and the displayed SOC target value are obtained by looking up the table according to the single cell maximum voltage, the single cell pressure difference and ΔSOC; S3, compares the single cell minimum voltage in the single cell voltage with the second voltage threshold. If the single cell minimum voltage is greater than the second voltage threshold, the real SOC target value and the displayed SOC target value are obtained by looking up the table according to the single cell minimum voltage, the single cell pressure difference and ΔSOC; wherein the first voltage threshold is greater than the second voltage threshold; S4, calculates the displayed SOC following change coefficient according to the real SOC at the current moment, the displayed SOC at the previous moment, the real SOC target value and the displayed SOC target value; S5, calculates the displayed SOC following change coefficient according to the displayed SOC at the previous moment, the displayed SOC following The current displayed SOC is obtained by calculating the coefficient of variation, the current current and the battery capacity, and the algorithm scheduling cycle, so as to achieve the purpose of continuously adjusting the following rate of the displayed SOC at different stages of the battery, so that the displayed SOC follows the correction closer to the real state of the battery, thereby achieving the technical effect of avoiding the displayed SOC from following the change too quickly or jumping due to untimely following when the real SOC of the battery meets the correction condition at a certain moment and a large jump occurs, thereby solving the problem that when the battery monomer is inconsistent or the self-discharge difference is large, and the battery does not meet the correction condition, the real SOC of the battery does not match its actual state at this time, until it reaches the end of charge and discharge or meets the correction condition when it is fully charged and discharged, triggering the real SOC jump, at this time the displayed SOC will quickly follow the correction, or jump to the real SOC value because it is too late to correct; in addition, in order to protect the battery, some battery manufacturers set a part of the power reserved at the end of the battery discharge, that is, when the real SOC drops to the set value (such as 3%), the displayed SOC drops to 0% accordingly; the existing technology is difficult to achieve the displayed SOC to smoothly and accurately follow the real SOC change under the above working conditions, which aggravates the technical problem that users do not trust the instrument displayed SOC.
[0125] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0126] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0127] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the battery display SOC following correction method.
[0128] In some embodiments, the battery display SOC following correction method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the battery display SOC following correction method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the battery display SOC following correction method in any other appropriate manner (for example, by means of firmware).
[0129] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0130] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0131] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0132] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0133] The systems and techniques described herein may be implemented in a computing system that includes a backend component (e.g., as a data server), or a computing system that includes a middleware component (e.g., an application server), or a computing system that includes a frontend component (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LA), a wide area network (WA), a blockchain network, and the Internet.
[0134] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0135] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0136] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A battery display SOC following correction method, characterized in that: The following steps are involved: S1, based on the battery management system, collect the voltage of the single battery and determine the current charging and discharging mode of the battery. If it is in the charging mode, enter S2, otherwise enter S3; S2, comparing the single cell maximum voltage among the single cell voltages with a first voltage threshold, and if the single cell maximum voltage is less than the first voltage threshold, obtaining a real SOC target value and a displayed SOC target value by looking up a table according to the single cell maximum voltage, the single cell voltage difference and ΔSOC; S3, comparing the lowest voltage of the single cell among the single cell voltages with the second voltage threshold, and if the lowest voltage of the single cell is greater than the second voltage threshold, obtaining the real SOC target value and the displayed SOC target value by looking up the table according to the lowest voltage of the single cell, the cell voltage difference and ΔSOC; wherein the first voltage threshold is greater than the second voltage threshold; S4, calculating the displayed SOC following change coefficient according to the current real SOC, the displayed SOC at the previous moment, the real SOC target value and the displayed SOC target value; S5. Calculate the SOC displayed at the current moment according to the SOC displayed at the previous moment, the SOC display following change coefficient, the current current and battery capacity, and the algorithm scheduling cycle.
2. The battery display SOC following correction method according to claim 1, characterized in that: S1: Collect the voltage of the single battery based on the battery management system and determine the current charging and discharging mode of the battery. If it is in the charging mode, enter S2, otherwise enter S3, including: When the battery system is powered on, the battery management system is awakened and enters the self-test state. After the self-test is fault-free, it is determined whether it is in charging mode or discharging mode based on the current direction; among them, positive current is charging mode, negative current is discharging mode, charging current direction is positive, and the mode determination result is used to display the SOC following correction algorithm.
3. The battery display SOC following correction method according to claim 1, characterized in that: S2, comparing the single cell maximum voltage among the single cell voltages with a first voltage threshold, if the single cell maximum voltage is less than the first voltage threshold, obtaining a real SOC target value and a display SOC target value by looking up a table according to the single cell maximum voltage, the single cell voltage difference and ΔSOC, including: The single cell maximum voltage is the maximum value of all single cell voltages collected by the battery management system, the single cell voltage difference is the difference between the maximum and minimum values of all single cell voltages collected by the BMS, and ΔSOC is the absolute value of the difference between the real SOC calculated internally by the BMS and the displayed SOC; When the cell maximum voltage is less than the first voltage threshold, the real SOC and the displayed SOC are obtained by looking up the table according to the current cell pressure difference and ΔSOC.
4. The battery display SOC following correction method according to claim 1, characterized in that: S2, comparing the highest voltage of the single cells among the single cell voltages with a first voltage threshold, further comprising: If the cell maximum voltage is greater than the first voltage threshold, the actual SOC target value and the displayed SOC target value are set to the first SOC threshold and the second SOC threshold, respectively.
5. The battery display SOC following correction method according to claim 1, characterized in that: S3, comparing the lowest voltage of the single cell among the single cell voltages with a second voltage threshold, if the lowest voltage of the single cell is greater than or equal to the second voltage threshold, obtaining a real SOC target value and a displayed SOC target value by looking up a table according to the lowest voltage of the single cell, the cell voltage difference and ΔSOC, including: The single cell minimum voltage is the minimum value of all single cell voltages collected by the battery management system. The single cell voltage difference is the difference between the maximum and minimum values of all single cell voltages collected by the BMS. ΔSOC is the absolute value of the difference between the real SOC calculated by the BMS and the displayed SOC. When the cell lowest voltage is greater than the second voltage threshold, the third SOC threshold and the fourth SOC threshold are obtained by looking up a table according to the current cell pressure difference and ΔSOC.
6. The battery display SOC following correction method according to claim 1, characterized in that: S3, comparing the lowest voltage of the single cells among the single cell voltages with a second voltage threshold, further comprising: If the cell lowest voltage is less than or equal to the second voltage threshold, the real SOC target value and the displayed SOC target value are set to the third SOC threshold and the fourth SOC threshold, respectively.
7. The battery display SOC following correction method according to claim 1, characterized in that: S4. Calculate the displayed SOC following change coefficient according to the current real SOC, the previous displayed SOC, the real SOC target value and the displayed SOC target value, including: Displaying the SOC following change coefficient is to display the change rate of SOC relative to the actual SOC, and make its value always positive; Calculate the difference between the displayed SOC target value and the displayed SOC at the previous moment, and the difference between the actual SOC target value and the actual SOC at the current moment; The ratio of the two is calculated to display the SOC following change coefficient.
8. The battery display SOC following correction method according to claim 1, characterized in that: S5. Calculate the current SOC based on the previous SOC display, the SOC display change coefficient, the current current and battery capacity, and the algorithm scheduling cycle, including: The current current and battery capacity at the current moment are the real-time current and actual available capacity collected and calculated by the battery management system, and the algorithm scheduling cycle is the scheduling cycle of the SOC calculation module displayed in the battery management system; Calculate the ratio of the current integral to the battery capacity within the unit scheduling cycle, multiply the ratio by the displayed SOC following change coefficient, and then add it to the displayed SOC at the previous moment to obtain the displayed SOC value at the current moment.
9. Battery display SOC following correction system, characterized by: include: The collection and judgment module is used to collect the voltage of the single battery based on the battery management system and judge the current charging and discharging mode of the battery. If it is in the charging mode, it enters S2, otherwise it enters S3; A first comparison module is used to compare the single cell maximum voltage among the single cell voltages with a first voltage threshold, and if the single cell maximum voltage is less than the first voltage threshold, a real SOC target value and a display SOC target value are obtained by looking up a table according to the single cell maximum voltage, the single cell voltage difference and ΔSOC; A second comparison module is used to compare the lowest voltage of the single cell in the single cell voltage with a second voltage threshold, and if the lowest voltage of the single cell is greater than the second voltage threshold, a real SOC target value and a display SOC target value are obtained by looking up a table according to the lowest voltage of the single cell, the voltage difference of the single cell and ΔSOC; wherein the first voltage threshold is greater than the second voltage threshold; A first calculation module, used for calculating a display SOC following change coefficient according to the current real SOC, the previous displayed SOC, the real SOC target value and the displayed SOC target value; The second calculation module is used to calculate the current moment displayed SOC according to the previous moment displayed SOC, the displayed SOC following change coefficient, the current moment current and battery capacity, and the algorithm scheduling cycle.
10. An electronic device, characterized in that The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the battery display SOC following correction method according to any one of claims 1 to 8.
Citation Information
Cited By
SOC estimation method of battery system and battery system
CN120314800A
Online SOC (State of Charge) measurement and diagnosis system and method for flow battery
CN121069211A