A lead-acid SOC detection method and storage medium thereof
Through the lead-acid SOC detection method, the accurate residual battery ratio is calculated using the integration method and the battery health status, and the problem of inaccurate detection of lead-acid batteries is solved through temperature and voltage correction, achieving higher detection accuracy and user experience.
Patent Information
- Application Number
- CN202410638399.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-05-22
AI Technical Summary
The residual power of lead-acid batteries is inaccurately detected. Due to factors such as temperature, driving speed and slope, the discharge rate, current and voltage are different, causing fluctuations in the detection results.
A lead-acid SOC detection method is adopted to calculate the integral unit value and available power value by obtaining the initialization value, including sampling interval value, calibration interval value and integral method, and combine the battery health status and charging and discharging factor to output the accurate residual power ratio. , and correct the internal equivalent resistance and discharge curve through temperature and voltage to reduce cumulative errors.
Accurate detection of the residual power of lead-acid batteries is achieved, adapted to different working scenarios, reduce detection errors, and improve the continuity and predictability of user experience and power correction.
Smart Images

Figure CN118549826B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of lead-acid batteries, and in particular to a lead-acid SOC detection method and a storage medium thereof. Background Art
[0002] With the promotion of new energy and due to the congestion of urban traffic, more and more people choose electric bicycles as their means of transportation, resulting in an increasing number of electric bicycles, which often use lead-acid batteries as power supply.
[0003] When the lead-acid SOC is used to detect the remaining power of the lead-acid battery, the different temperatures, driving speeds, and driving slopes often lead to different discharge rates, discharge currents, discharge voltages, and discharge internal resistances, resulting in inaccurate detection of the remaining power of the lead-acid battery, and there may be fluctuations. For example, when climbing a slope, it may show that there is only 30% power left, but when going downhill, it may show that there is still 60% power. Summary of the invention
[0004] In order to improve the problem of inaccurate detection of the remaining power of a lead-acid battery, the present application provides a lead-acid SOC detection method and a storage medium thereof.
[0005] The present application provides a lead-acid SOC detection method, which adopts the following technical solution:
[0006] A lead-acid SOC detection method, comprising:
[0007] Get the initialization value;
[0008] The initialization value includes a sampling interval value, and the detection voltage value, the detection current value, and the zero current time value are determined by the sampling interval value;
[0009] The initialization value includes a calibration interval value, and the calibration power value is determined by the calibration interval value, the zero current time value and a preset open circuit voltage method;
[0010] Determining an integration unit value by using the sampling interval value, the detection current value and a preset integration method;
[0011] Determine the available power value by using the calibrated power value and the integral unit value;
[0012] The initialization value includes a maximum power value and a battery health status. The remaining power ratio is determined by the maximum power value, the battery health status, the available power value and a preset charge and discharge factor, and is output to the user.
[0013] By adopting the above technical solution, the accurate remaining power ratio can be calculated only by detecting the voltage and current output by the lead-acid battery, the power consumption of the lead-acid battery can be determined by the integration method, and the cumulative error can be reduced by calibrating the interval value.
[0014] Optional, including:
[0015] Acquiring a charge and discharge state value and a temperature value, wherein the charge and discharge factor includes a discharge correction factor;
[0016] Determine a simulated load value through the charge and discharge state value, the detection voltage value, the temperature value and the battery health state; determine a predicted reactive power value through the simulated load value and the detection voltage value;
[0017] Determine a predicted discharge value by using the predicted reactive power value, the detected voltage value, and the detected current value;
[0018] The integral unit value is corrected by the predicted discharge value and the discharge correction factor.
[0019] By adopting the above technical scheme, the simulated load value of the equivalent resistance inside the entire lead-acid battery can be calculated through the temperature value and the detection voltage value, and then the useless work generated by the lead-acid battery when outputting useful work can be calculated, that is, the predicted reactive value, and then the integral unit value is corrected by the predicted reactive value to further improve the accuracy.
[0020] Optional, including:
[0021] Determine a temperature difference between the temperature value and a preset temperature threshold, and obtain a discharge time value;
[0022] Determine a battery impact factor by using the temperature difference and the discharge time value;
[0023] The battery health status is corrected by using the battery impact factor.
[0024] By adopting the above technical solution, the battery health status is corrected by the temperature value, so that the maximum power value of the battery is more accurate, further improving the accuracy.
[0025] Optional, including:
[0026] Obtaining curve time through the charge and discharge state and the detection voltage value, and determining the discharge curve;
[0027] Determine the cumulative discharge amount through the discharge curve;
[0028] Determine the predicted remaining discharge capacity value by using the accumulated discharge capacity, the predicted discharge value, the maximum capacity value, and the battery health status;
[0029] Determine a discharge influencing factor by using the predicted remaining discharge power value and the available power value;
[0030] Correcting the discharge correction factor by using the discharge influence factor;
[0031] The available power value is corrected using the corrected discharge correction factor.
[0032] By adopting the above technical solution, the available power value is corrected by predicting the remaining discharge power value, thereby further improving the accuracy of the remaining power ratio.
[0033] Optional, including:
[0034] Determine a discharge error value by using the predicted remaining discharge capacity value and the available capacity value;
[0035] Determining a discharge adjustment value by using the discharge error value and a preset discharge error threshold;
[0036] Determining a regulation rate by using the discharge regulation value and a preset regulation threshold;
[0037] The discharge correction factor is adjusted by the adjustment rate, thereby adjusting the available power value so that the power error value is within the discharge error threshold range.
[0038] By adopting the above technical solution, the available power value is corrected by adjusting the rate, thereby improving the user experience and reducing the probability of a sudden change in the remaining power ratio when the correction occurs, making the correction process continuous and predictable for users.
[0039] Optional, including:
[0040] Obtaining a charging time value, wherein the charging and discharging factors include a charging correction factor;
[0041] Determine a charging curve by using the charge and discharge state value, the detection voltage value, the detection current value, the temperature value and the battery health state;
[0042] The initialization value includes a charging inflection point value;
[0043] The predicted charging value is determined by the charging time value, the charging inflection point value, the battery health state, and the charging curve; and the charging correction factor is corrected by the predicted charging value.
[0044] By adopting the above technical solution, the power during charging is corrected, and the accuracy of the remaining power ratio during charging is further improved.
[0045] Optional, including:
[0046] Determine a predicted inflection point value by using the battery health status and the charging inflection point value;
[0047] Determine a trigger time value by using the detected voltage value and the predicted inflection point value;
[0048] Determining the predicted charging value by using the trigger time value and a preset inflection point time threshold;
[0049] Determine a charging error value by using the predicted charging value and the available power value;
[0050] Determining a charging adjustment value by using the charging error value and a preset charging error threshold;
[0051] The charging correction factor is adjusted by the charging adjustment value, thereby adjusting the available power value so that the charging error value is within the charging error threshold range.
[0052] By adopting the above technical solution, the remaining power of the current lead-acid battery can be judged by judging the charging inflection point value and the detection voltage value and the detection current value, thereby correcting the available power value, further improving the accuracy of the remaining power ratio, and eliminating the accumulated errors during use.
[0053] Optional, including:
[0054] Determine an actual inflection point value by using the charging time value and the inflection point time threshold;
[0055] Determine an inflection point error value by using the actual inflection point value and the predicted inflection point value;
[0056] Determine the health correction value through the inflection point error value and the preset inflection point threshold;
[0057] The battery health state is corrected using the health correction value.
[0058] By adopting the above technical solution, the health status of the battery is corrected through the different charging stages of the lead-acid battery, such as the constant current charging stage, the constant voltage charging stage, and the floating charging stage, so as to achieve accurate judgment of the battery capacity and attenuation degree, and further improve the accuracy.
[0059] Optional, including:
[0060] The charging inflection point value includes a voltage conversion point, a current conversion point, and a floating charge conversion point, and the trigger time value includes a voltage conversion time point, a voltage conversion time, a current conversion time point, a current conversion time, a floating charge conversion time point, and a floating charge conversion time; when the detection voltage value falls within the range of the voltage conversion point, the voltage conversion time point is obtained, and the timing is started to obtain the voltage conversion time. If the voltage conversion time exceeds the inflection point time threshold, the charging correction factor is determined by the voltage conversion time point and the available power value;
[0061] When the detected current value falls within the range of the current conversion point, the current conversion time point is obtained, and timing is started to obtain the current conversion time. If the current conversion time exceeds the inflection point time threshold, the charging correction factor is determined by the current conversion time point and the available power value;
[0062] When the detection voltage value falls within the range of the float charge conversion point, the float charge conversion time point is obtained, and the timing is started to obtain the float charge conversion time. If the float charge conversion time exceeds the inflection point time threshold, the charging correction factor is determined by the float charge conversion time point and the available power value.
[0063] By adopting the above technical solution, the available power value is further corrected when the lead-acid battery reaches different charging inflection points, thereby further improving the accuracy.
[0064] The present application provides a computer-readable storage medium, which adopts the following technical solution:
[0065] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute a lead-acid SOC detection method.
[0066] By adopting the above technical solution, the computer program is stored in a computer-readable storage medium.
[0067] In summary, the present application includes at least one of the following beneficial technical effects:
[0068] 1. The remaining power generated in the process by the integration method can accurately express the current capacity status of the battery and output it to the user through the remaining power ratio.
[0069] 2. A more accurate output can be obtained by only detecting the current and voltage.
[0070] 3. It can adapt to different working scenarios and automatically correct the remaining power ratio, which is more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1It is a logical schematic diagram of a lead-acid SOC detection method in an embodiment of the present application.
[0072] Figure 2 is a flow chart of step S1.
[0073] Figure 3 is a flow chart of step S2.
[0074] Figure 4 It is a flowchart of step S3.
[0075] Figure 5 It is a flowchart of step S4.
[0076] Figure 6 It is a flowchart diagram of step S5.
[0077] Figure 7 It is a flowchart of step S6.
[0078] Figure 8 It is a flowchart of step S7.
[0079] Fig. 9 It is a flowchart of step S8. DETAILED DESCRIPTION
[0080] The following is combined with Figure 1-9 This application is described in further detail.
[0081] The present application embodiment discloses a lead-acid SOC detection method. Figure 1 and Figure 2 , the lead-acid SOC detection method includes the following steps:
[0082] S1. Get the initialization value;
[0083] S11, the initialization value includes a sampling interval value, and the detection voltage value, the detection current value, and the zero current time value are determined by the sampling interval value;
[0084] S12, the initialization value includes a calibration interval value, and the calibration power value is determined by the calibration interval value, the zero current time value and the preset open circuit voltage method;
[0085] S13, determining the integral unit value through the sampling interval value, the detection current value and the preset integral method;
[0086] S14, determining the available power value by calibrating the power value, the integral unit value and the preset charge and discharge factor;
[0087] S15. The initialization value includes the maximum power value and the battery health status. The remaining power ratio is determined by the maximum power value, the battery health status and the available power value, and is output to the user.
[0088] Detailed: Determine whether the lead-acid battery is in a non-charged and non-discharged state by using the zero current time value, the detection current value and the detection voltage value. If the calibration interval value is 8 hours, then when the lead-acid battery is in a non-charged and non-discharged state, the open circuit voltage method is used every eight hours to calculate the calibrated power value, that is, the remaining power of the lead-acid battery at this time, and use this calibrated power value as the calculation basis for the subsequent coulomb counter integral; if the sampling interval value t of the detection current is 0.2s, the current is collected every 0.2s to obtain the detection current value i, and the integral unit value deltaQ-=i*t can be calculated, and the initial integral unit value deltaQ is 0; set the maximum power value to maxQ, the maximum power value is the factory setting, usually the maximum power value at the factory is slightly larger than the rated voltage provided by the manufacturer, and the battery health status is SOH, The maximum power value maxQ will slowly decrease with the aging of the battery health state SOH. The formula for the current maximum power value maxQ is maxQ=y(SOH), where y(SOH) is a formula that uses SOH as a variable parameter to calculate maxQ. It can also be a table lookup, a relational expression, or other methods to correspond SOH to maxQ; the available power value usableQ-=deltaQ, the charge and discharge factor eta, the remaining power ratio SOC-=eta*deltaQ / maxQ, the remaining power ratio socQ=usableQ / maxQ, and under ideal conditions SOC=socQ. However, it is difficult to avoid reactive power consumption in the battery, so eta is used for correction, SOC is initialized to 1, and finally SOC is output and displayed to the user.
[0089] Reference Figure 3 , further comprising the following steps:
[0090] S2, obtaining charge and discharge state values, temperature values, and charge and discharge factors including discharge correction factors;
[0091] S21, determining a simulated load value according to the charge and discharge state value, the detection voltage value, the temperature value and the battery health state;
[0092] S22, determining the predicted reactive power value by simulating the load value and detecting the voltage value;
[0093] S23, determining a predicted discharge value by predicting a reactive power value, detecting a voltage value, and detecting a current value;
[0094] S24, correcting the integral unit value by predicting the discharge value and the discharge correction factor.
[0095] In detail: the charge and discharge factor eta includes a discharge correction factor etaD. If the charge and discharge state value is greater than 0, it is discharged. When the charge and discharge state value is greater than 0, it is determined that the lead-acid battery is in a discharge state, and step S21 is entered. The simulated load value is the load corresponding to the reactive power consumption of the lead-acid battery obtained by calculation, that is, it is calculated by the detected temperature value, the battery health state SOH and the detection voltage value. For the sake of example, this embodiment adopts a table lookup method, and in other embodiments, a relational expression or the like can also be used for calculation. It is assumed that the table corresponding to the simulated load value is (temperature value, voltage The simulated load value is (30°, 95%, 42V, 20mΩ), (45°, 95%, 42V, 10mΩ), (10°, 95%, 42V, 40mΩ). If the detected temperature value is 30°, if the current battery health state SOH is 95%, if the current detection voltage value U is 42V, then the simulated load value can be obtained by looking up the table as 20mΩ. Then the predicted reactive power value can be obtained by calculation, that is, the reactive power consumption caused by the internal resistance corresponding to the equivalent simulated load value, that is, R is the simulated load value. The total discharge energy, i.e. the sum of reactive power and active power, i.e. the predicted discharge value, can be obtained by combining the detection voltage value and the detection current value. The discharged electric energy can be obtained by combining the discharge time. For example, the coulomb meter calculates the discharged electric energy as 10Ah by detecting the current value, and the predicted discharge value is 12Ah. Then the discharge correction factor etaD is adjusted, i.e. etaD is adjusted to 1.2. At this time, the remaining power ratio SOC-=1.2*deltaQ / maxQ.
[0096] Reference Figure 4 , further comprising the following steps:
[0097] S3, determining a temperature difference between the temperature value and a preset temperature threshold, and obtaining a discharge time value;
[0098] S31, determining the battery impact factor through the temperature difference and the discharge time value;
[0099] S32. Correct the battery health status through the battery impact factor.
[0100] In detail: suppose the temperature threshold is [20°, 30°]. If the temperature value is 40°, the temperature difference is 10°. When the temperature difference is greater than 0, the discharge time value is obtained by starting the timing. If the discharge time value is 1min, the battery impact factor a can be calculated to be 10*1=10. Then the battery health state SOH can be corrected and adjusted by looking up a table or a relational expression. For example, if the following table is (100%-95%, SOH-=0.01*a), (95%-90%, SOH-=0.015*a), (90%-80%, SOH-=0.02*a), it means that if the current battery health state SOH falls within the interval of [95%, 100%], the battery impact factor a affects the battery health state SOH at a rate of 0.01. If the battery health state SOH falls within the interval of [90%, 95%], the battery impact factor a affects the battery health state SOH at a rate of 0.015.
[0101] Reference Figure 5 , further comprising the following steps:
[0102] S4, obtaining the curve time through the charge and discharge state and the detection voltage value, and determining the discharge curve;
[0103] S41, determining the cumulative discharge amount through the discharge curve;
[0104] S42, determining the predicted remaining discharge capacity value through the accumulated discharge capacity, the predicted discharge value, the maximum capacity value, and the battery health status; S43, determining the discharge influencing factor through the predicted remaining discharge capacity value and the available capacity value;
[0105] S44, correcting the discharge correction factor by using the discharge influence factor;
[0106] S45. Correct the available power value using the corrected discharge correction factor.
[0107] In detail: when the charge and discharge state value is greater than 0, the lead-acid battery is judged to be in the discharge state, and the time value of the curve is obtained by timing. The discharge curve is obtained by detecting the voltage value and the curve time value as the xy axis, that is, the discharge curve is recorded when the discharge starts. The cumulative discharge amount can be calculated by superposition of the discharge curve, and the actual maximum power value maxQ can be obtained by the battery health status SOH. Then, the cumulative discharge amount is added to the predicted discharge value to obtain the sum of the useful work and the useless work. Then, the predicted discharge remaining power value can be calculated with the maximum power value maxQ. For example, when the user drives the car uphill, the useless work done by the lead-acid battery is more than that on the flat ground. At this time, a large number of predicted discharge values will be generated, and the integral unit used in the available power value is only the useful work. If the calculated predicted discharge remaining power value is 40%, if the available power value is 60Ah, the maximum power value maxQ is set to 100Ah, and the corresponding remaining power ratio is 60%, then the discharge influence factor is 20%, and then the discharge correction factor etaD is adjusted to make the available power value gradually approach the predicted discharge remaining power value.
[0108] Reference Figure 6 , further comprising the following steps:
[0109] S5, determining a discharge error value by predicting a discharge remaining power value and an available power value;
[0110] S51, determining a discharge adjustment value by using a discharge error value and a preset discharge error threshold;
[0111] S52, determining the regulation rate by the discharge regulation value and the preset regulation threshold;
[0112] S53, adjusting the discharge correction factor by adjusting the rate, thereby adjusting the available power value, so that the power error value is within the discharge error threshold range.
[0113] In detail: if the calculated predicted discharge remaining power value is 40%, if the available power value is 60Ah, the maximum power value maxQ is set to 100Ah, the corresponding remaining power ratio is 60%, and the discharge error value is 20%. If the discharge error threshold is 5%, the discharge adjustment value b is 15%, and the adjustment threshold is the adjustment rate obtained by the formula b / t. If t is 60s, the adjustment rate is 15% / 60=0.25Ah / s, that is, the available power value is adjusted by 0.25Ah per second, and this adjustment rate is an additional adjustment based on the change of the current available power value. For example, the current available power value under the current working conditions originally needs to decrease by 0.1% of the power per second. On this basis, it is additionally adjusted down by 0.25% corresponding to 0.25Ah, that is, the power decreases by 0.35% per second, until it drops to within 5% of the discharge error threshold.
[0114] Reference Figure 7 , further comprising the following steps:
[0115] S6. Obtaining a charging time value, a charging and discharging factor including a charging correction factor;
[0116] S61, determining a charging curve through a charge and discharge state value, a detection voltage value, a detection current value, a temperature value and a battery health state; S62, an initialization value includes a charging inflection point value;
[0117] S63, determining a predicted inflection point value based on the battery health status and the charging inflection point value;
[0118] S64, determining the trigger time value by detecting the voltage value and predicting the inflection point value;
[0119] S65, determining a predicted charging value by using a trigger time value and a preset inflection point time threshold;
[0120] S66, determining a charging error value by predicting the charging value and the available power value;
[0121] S67, determining a charging adjustment value according to the charging error value and a preset charging error threshold;
[0122] S68. Adjust the charging correction factor by the charging adjustment value, thereby adjusting the available power value so that the charging error value is within the charging error threshold range.
[0123] Detailed: The charge and discharge factor eta includes the charge correction factor etaC. When the charge and discharge state value is less than 0, the lead-acid battery is judged to be in the charging state, and the timing is started to obtain the charging time value. The charging time value and the detection current value are used as the xy axis, and the charging time value and the detection voltage value are used as the xy axis to obtain multiple charging curves; if the battery health state is 90%, if the charging inflection point value is set to 42V, the predicted inflection point value is 90%*42V=37.8V. If the allowable error is 0.1V, the detection voltage value needs to fall within the range of 37.8±0.1V. The charging time value includes the trigger time value. If the detection voltage value reaches 37.8V, the trigger time value starts timing. The inflection point time threshold is set to 10s. If the trigger time value reaches 10s and exceeds the inflection point time threshold, it means that the battery charging has reached the inflection point, and this charging inflection point value usually corresponds to a lead-acid battery. The power value of the battery, for example, the 42V charging inflection point value corresponds to a 70% remaining power ratio of the lead-acid battery, and 70% is the predicted charging value. Then the available power value at this time is calculated with the predicted charging value. If the available power value is 65Ah, the maximum power value maxQ is set to 100Ah, and the corresponding remaining power ratio is 65%, then the charging error value can be calculated to be 70-65=5%. If the charging error threshold is 1%<5%, then adjustment is required. If the adjustment time is 10s, the charging adjustment value can be obtained as 5 / 10=0.5Ah / s, which means that the available power value is increased by 0.5% corresponding to 0.5Ah per second on the current basis. For example, the display increases by 0.1% per second during current charging. At this time, it is increased by 0.5% again on this basis, that is, the charging display increases by 0.6% per second. Based on this, the charging correction factor etaC is adjusted.
[0124] Reference Figure 8 , including the following steps:
[0125] S7, determining the actual inflection point value by the charging time value and the inflection point time threshold;
[0126] S71, determining an inflection point error value by using an actual inflection point value and a predicted inflection point value;
[0127] S72, determining a health correction value by using the inflection point error value and a preset inflection point threshold;
[0128] S73. Correct the battery health status using the health correction value.
[0129] In detail: If the detection voltage value is maintained at 40V for a charging time of 10s, and the upper inflection point time threshold is 10s, it means that the lead-acid battery has switched from constant current charging to constant voltage charging, and the actual inflection point value is 40V, while the predicted inflection point value is 37.8V, so the inflection point error value is 2.2V. The inflection point threshold can be obtained by table lookup, relational expression, etc. The inflection point error value is used as a variable parameter to calculate the health correction value. If the health correction value is (40,2.2), it means that the actual inflection point value is 40V. At this time, the inflection point error value is 2.2V, so the battery health state SOH is corrected. The theoretical battery health state SOH=40 / 42=95% is calculated by the charging inflection point value, and then 95% is corrected by increasing or decreasing it through the inflection point error value of 2.2V. For example, the error at this time is increased by 2.2V from 37.8V to 40V, so 95% is increased by a certain coefficient, such as increased to 96%, and then the new battery health state SOH is 96%.
[0130] Reference Fig. 9 , further comprising the following steps:
[0131] S8, the charging inflection point value includes the voltage conversion point, the current conversion point, and the floating charge conversion point, and the trigger time value includes the voltage conversion time point, the voltage conversion time, the current conversion time point, the current conversion time, the floating charge conversion time point, and the floating charge conversion time;
[0132] S81, when the detected voltage value falls within the range of the voltage conversion point, the voltage conversion time point is obtained, and the timing is started to obtain the voltage conversion time. If the voltage conversion time exceeds the inflection point time threshold, the charging correction factor is determined according to the voltage conversion time point and the available power value;
[0133] S82, when the detected current value falls within the range of the current conversion point, the current conversion time point is obtained, and the timing is started to obtain the current conversion time. If the current conversion time exceeds the inflection point time threshold, the charging correction factor is determined by the current conversion time point and the available power value;
[0134] S83. When the detected voltage value falls within the range of the floating charge conversion point, the floating charge conversion time point is obtained, and the timing is started to obtain the floating charge conversion time. If the floating charge conversion time exceeds the inflection point time threshold, the charging correction factor is determined by the floating charge conversion time point and the available power value.
[0135] In detail: Steps S81, S82, and S83 are synchronous steps. The voltage conversion point is set to 42V, the current conversion point is set to 10A, and the floating charge conversion point is set to 40V. For the convenience of calculation, the battery health state is 100%. When the detection voltage value reaches 42V, the time point at this time is recorded as the voltage conversion time point. If the voltage conversion time point is 100min00s, the available power value at this time is recorded at the same time, and the timing is started to obtain the voltage conversion time. If the voltage conversion time exceeds the inflection point time threshold, for example, the inflection point time threshold is 60s, the voltage conversion time reaches 60s and continues to increase the timing, this The available power value corresponding to the voltage conversion time point will be read, that is, the 100min00s from the start of charging, generally, it is the available power value corresponding to the 100min00s of the charging time value. If the available power value is 65Ah, the maximum power value maxQ is set to 100Ah, the corresponding remaining power ratio is 65%, and the remaining power ratio corresponding to the voltage conversion point is 70%, then there is a 5% charging error value, and then calculation is performed according to step S67; and when the detection current value reaches 10A or the detection voltage value reaches 40V, the calculation is based on the current conversion point or the floating charge conversion point, which is the same as the voltage conversion point.
[0136] The present application embodiment discloses a computer-readable storage medium. Figure 1 and Figure 2 The computer-readable storage medium stores a computer program that can be loaded by a processor and execute the lead-acid SOC detection method.
[0137] Computer-readable storage media include, for example, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0138] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A lead-acid SOC detection method, characterized in that: include: Get the initialization value; The initialization value includes a sampling interval value, and the detection voltage value, the detection current value, and the zero current time value are determined by the sampling interval value; The initialization value includes a calibration interval value, and the calibration power value is determined by the calibration interval value, the zero current time value and a preset open circuit voltage method; Determining an integration unit value by using the sampling interval value, the detection current value and a preset integration method; Determine the available power value by using the calibrated power value and the integral unit value; The initialization value includes a maximum power value and a battery health state, and a remaining power ratio is determined by the maximum power value, the battery health state, the available power value and a preset charge and discharge factor, and is output to a user; Acquiring a charge and discharge state value and a temperature value, wherein the charge and discharge factor includes a discharge correction factor; Determine a simulated load value according to the charge and discharge state value, the detection voltage value, the temperature value and the battery health state; Determine the predicted reactive power value by using the simulated load value and the detected voltage value; Determine a predicted discharge value by using the predicted reactive power value, the detected voltage value, and the detected current value; Correcting the integral unit value by using the predicted discharge value and the discharge correction factor; Obtaining curve time through the charge and discharge state and the detection voltage value, and determining the discharge curve; Determining the accumulated discharge amount through the discharge curve; Determine a predicted remaining discharge capacity value by using the accumulated discharge capacity, the predicted discharge value, the maximum capacity value, and the battery health status; Determine a discharge influencing factor by using the predicted remaining discharge power value and the available power value; Correcting the discharge correction factor by using the discharge influence factor; The available power value is corrected using the corrected discharge correction factor.
2. A lead-acid SOC detection method according to claim 1, characterized in that: include: Determine a temperature difference between the temperature value and a preset temperature threshold, and obtain a discharge time value; Determine a battery impact factor by using the temperature difference and the discharge time value; The battery health status is corrected by using the battery impact factor.
3. A lead-acid SOC detection method according to claim 1, characterized in that: include: Determine a discharge error value by using the predicted remaining discharge capacity value and the available capacity value; Determining a discharge adjustment value by using the discharge error value and a preset discharge error threshold; Determining a regulation rate by using the discharge regulation value and a preset regulation threshold; The discharge correction factor is adjusted by the adjustment rate, thereby adjusting the available power value so that the power error value is within the discharge error threshold range.
4. A lead-acid SOC detection method according to claim 1, characterized in that: include: Obtaining a charging time value, wherein the charging and discharging factors include a charging correction factor; Determine a charging curve by using the charge and discharge state value, the detection voltage value, the detection current value, the temperature value and the battery health state; The initialization value includes a charging inflection point value; Determine a predicted charging value by using the charging time value, the charging inflection point value, the battery health state, and the charging curve; The charging correction factor is corrected by the predicted charging value.
5. A lead-acid SOC detection method according to claim 4, characterized in that: include: Determine a predicted inflection point value by using the battery health status and the charging inflection point value; Determine a trigger time value by using the detected voltage value and the predicted inflection point value; Determining the predicted charging value by using the trigger time value and a preset inflection point time threshold; Determine a charging error value by using the predicted charging value and the available power value; Determining a charging adjustment value by using the charging error value and a preset charging error threshold; The charging correction factor is adjusted by the charging adjustment value, thereby adjusting the available power value so that the charging error value is within the charging error threshold range.
6. A lead-acid SOC detection method according to claim 5, characterized in that: include: Determine an actual inflection point value by using the charging time value and the inflection point time threshold; Determine an inflection point error value by using the actual inflection point value and the predicted inflection point value; Determine the health correction value through the inflection point error value and the preset inflection point threshold; The battery health state is corrected using the health correction value.
7. A lead-acid SOC detection method according to claim 5, characterized in that: include: The charging inflection point value includes a voltage conversion point, a current conversion point, and a floating charge conversion point, and the trigger time value includes a voltage conversion time point, a voltage conversion time, a current conversion time point, a current conversion time, a floating charge conversion time point, and a floating charge conversion time; When the detected voltage value falls within the range of the voltage conversion point, the voltage conversion time point is obtained, and timing is started to obtain the voltage conversion time. If the voltage conversion time exceeds the inflection point time threshold, the charging correction factor is determined by the voltage conversion time point and the available power value; When the detected current value falls within the range of the current conversion point, the current conversion time point is obtained, and timing is started to obtain the current conversion time. If the current conversion time exceeds the inflection point time threshold, the charging correction factor is determined by the current conversion time point and the available power value; When the detection voltage value falls within the range of the float charge conversion point, the float charge conversion time point is obtained, and the timing is started to obtain the float charge conversion time. If the float charge conversion time exceeds the inflection point time threshold, the charging correction factor is determined by the float charge conversion time point and the available power value.
8. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and executes the lead-acid SOC detection method according to any one of claims 1 to 7.
