A method, apparatus, device, and readable storage medium for determining battery state.

By reading battery application parameters and measuring voltage status, generating display curves and adapting them to historical curves, the problem of UPS battery status observation deviation is solved, enabling rapid and accurate judgment and prediction of battery status.

CN115792635BActive Publication Date: 2025-11-14中国农业银行股份有限公司海南省分行
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211558319.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-06
Publication Date
2025-11-14
Estimated Expiration
2042-12-06

Smart Images

  • Figure CN115792635B_ABST
    Figure CN115792635B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, device, and readable storage medium for determining battery state. The method involves reading application parameters of the battery under test, measuring the voltage state of the battery, and merging the voltage states of the battery within a preset time period based on the application parameters to form a target display curve. The current display curve is then adapted from multiple historical display curves. Based on the adaptation result, a reference curve is determined from the multiple historical display curves, and the battery state of the current battery under test is determined by referring to the reference curve. The method accurately identifies and compares the output voltage state of the battery, adapts the target display curve generated based on voltage state changes to pre-stored historical display curves, selects the most suitable reference curve, and uses the guidance of the reference curve to effectively confirm the battery state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of metrology technology, and specifically relates to a method, apparatus, device and readable storage medium for determining battery state. Background Technology

[0002] In various situations where service continuity needs to be guaranteed, it is necessary to keep UPS batteries (uninterruptible power supplies) on hand to avoid power outages due to the failure of external power supply.

[0003] UPS batteries are responsible for ensuring power supply to equipment in an environment where external power is unavailable. Therefore, monitoring the effective capacity of UPS batteries is crucial to guaranteeing their effective operation. Existing UPS battery monitoring methods often rely on factory-specified parameters to measure effective capacity. However, as UPS batteries are used, their internal parameters gradually change. For batteries with altered parameters, existing methods of monitoring effective capacity can lead to significant deviations in the results, making it difficult for users to ascertain the actual condition of the UPS battery.

[0004] Therefore, how to enable users to confirm the working status of UPS batteries under different usage levels is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] In view of this, this application provides a battery state determination method, apparatus, device, and readable storage medium, which can quickly determine the current working state of the battery and predict its future working state.

[0006] To address the aforementioned technical problems, this application provides a method for determining battery state, comprising:

[0007] Read the application parameters of the battery under test;

[0008] Measure the voltage state of the battery under test;

[0009] Based on the application parameters of the battery under test, the voltage state of the battery under test within a preset time period is combined into a target display curve;

[0010] Adapt the current display curve from multiple historical display curves;

[0011] Based on the adaptation results, a control curve is determined from multiple historical display curves.

[0012] The current battery state of the battery under test is determined by referring to the comparison curve.

[0013] Optionally, the step of merging the voltage state of the battery under test within a preset time period into a target display curve based on the application parameters of the battery under test specifically includes:

[0014] Determine the current voltage state of the battery under test;

[0015] Based on the current voltage state, extract the historical voltage state of the battery under test within a preset time period;

[0016] Based on the application parameters of the battery under test, the current voltage state and the historical voltage state of the battery under test are combined into a target display curve.

[0017] Optionally, after merging the voltage state of the battery under test over a preset time period into the current display curve based on the application parameters of the battery under test, the method further includes:

[0018] The correctness of the target display curve is verified.

[0019] Optionally, the method further includes:

[0020] When the application parameters of the battery under test change, determine whether the working state of the battery under test is normal.

[0021] Optionally, if the battery under test is operating normally, the method further includes:

[0022] Perform the steps of reading the application parameters of the battery under test and subsequent steps until the battery status of the battery under test is determined.

[0023] Optionally, the step of adapting the current display curve from the multiple historical display curves specifically includes:

[0024] Determine the pre-stored historical application parameters based on the application parameters of the battery under test;

[0025] Obtain the historical display curve corresponding to the historical application parameters;

[0026] The current display curve is adapted based on the voltage state changes of the historical display curve within a preset time period.

[0027] Optionally, after determining the current battery state of the battery under test based on the display curve of the historical battery, the method further includes:

[0028] The current display curve of the battery under test is merged into the pre-stored historical display curve.

[0029] This application also provides a battery state determination device, the device specifically comprising:

[0030] The parameter reading module is used to read the application parameters of the battery under test.

[0031] A state measurement module is used to measure the voltage state of the battery under test;

[0032] The curve generation module is used to merge the voltage state of the battery under test within a preset time period into a target display curve based on the application parameters of the battery under test.

[0033] The curve adaptation module is used to extract pre-stored historical display curves and adapt the current display curve from the historical display curves;

[0034] The curve determination module is used to determine a reference curve from multiple historical display curves based on the adaptation results.

[0035] The battery status determination module is used to determine the current battery status of the battery under test by referring to the comparison curve.

[0036] This application also provides a battery state determination device, including:

[0037] Memory, used to store computer programs;

[0038] A processor for implementing the battery state determination method when executing the computer program.

[0039] This application also provides a readable storage medium storing a computer program, which, when executed by a processor, implements the steps of a battery state determination method.

[0040] Compared to existing technologies, this application offers the following advantages: The technical solution proposed in this application reads the application parameters of the battery under test, measures the voltage state of the battery under test, and based on the application parameters, merges the voltage states of the battery under test within a preset time period into a target display curve. It then adapts the current display curve from multiple historical display curves, determines a reference curve from these curves based on the adaptation results, and uses this reference curve to determine the current battery state. This technical solution generates a display curve based on the actual application parameters and voltage state of the battery under test, and adapts it from pre-stored historical display curves to a similar historical display curve, thereby enabling a more detailed prediction of the current battery's voltage state based on the historical display curve. This application's technical solution predicts the current battery state based on existing battery application parameters and historical battery display curves. This technical solution avoids the problem of difficulty in confirming battery state caused by normal wear and tear and parameter changes during battery use, and also enables rapid judgment of the current battery state.

[0041] This application also provides a battery state determination device, apparatus, and readable storage medium, which have the above-mentioned beneficial effects, and will not be elaborated further here. Attached Figure Description

[0042] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0043] Figure 1 A flowchart of a battery state determination method provided in this application;

[0044] Figure 2 This is a structural diagram of a battery state determination device provided in this application. Detailed Implementation

[0045] The core of this application is to provide a method for determining battery state, which can quickly obtain the current operating state of the battery under test and predict its future operating state. Another core aspect of this application is a battery state determination device, apparatus, and a readable storage medium.

[0046] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0047] This application provides a method for determining battery state; please refer to [reference needed]. Figure 1 , Figure 1 A flowchart of a battery state determination method provided in this application embodiment, the method mainly includes the following steps:

[0048] S101, read the application parameters of the battery under test.

[0049] In this application, specific application parameters of the battery under test need to be obtained. For example, these application parameters may include the number of battery packs, battery specifications, load conditions, and battery usage time. Based on the above example, the application parameters proposed in this embodiment refer to the power supply parameters of the battery or battery pack, and the power consumption parameters of the facilities connected to the battery or battery pack. For example, a lead-acid battery of model B manufactured by manufacturer A is used to power electrical equipment C, where the power supply requirement to meet the normal operation of electrical equipment C is d.

[0050] S 102, measures the voltage state of the battery under test.

[0051] In conventional technical solutions, the battery's operating state is often assessed using an algorithm to estimate its charge level, inputting relevant battery parameters. These algorithms are typically designed by manufacturers specifically for particular battery models. However, the battery parameters used are usually those measured at the factory. Therefore, while this method yields a high degree of reliability initially, the battery parameters inevitably shift over time due to wear and tear. Consequently, the battery charge estimation algorithm based on these parameters inevitably becomes less reliable. Specific examples include:

[0052] (1) The current battery level generated and displayed based on the algorithm for estimating battery power is inaccurate;

[0053] (2) Due to the reduction in the overall battery capacity, the power demand of the electrical equipment connected to the battery cannot be met.

[0054] Therefore, it can be said that battery power calculation methods relying on battery power algorithms often fail to accurately represent changes in battery parameters. To address this issue, this embodiment of the application uses battery voltage measurement to obtain the battery's current operating state. During the process of supplying power to the device, the battery outputs a corresponding voltage. The output voltage varies depending on the battery's charge level. Therefore, this embodiment monitors the output voltage of the battery under test, obtaining its voltage state at different times to monitor the battery's output charge and measure the total and remaining charge based on the output charge.

[0055] S 103, based on the application parameters of the battery under test, merges the voltage state of the battery under test within a preset time period into a target display curve.

[0056] In this embodiment of the application, after obtaining the application parameters of the battery under test and the voltage state of the battery under test at a preset time, the target display curve is generated by merging them.

[0057] In a specific example, a type B lead-acid battery, when fully charged, is used to continuously power device C, enabling device C to operate without power for one hour. The voltage state changes of the type B lead-acid battery's output voltage during the power supply process are acquired in real time, and a target display curve is generated.

[0058] In one embodiment of this application, based on the application parameters of the battery under test, the voltage state of the battery under test within a preset time period is combined into a target display curve, specifically including:

[0059] Determine the current voltage state of the battery under test;

[0060] Based on the current voltage state, extract the historical voltage state of the battery under test within a preset time period;

[0061] Based on the application parameters of the battery under test, the current voltage state and historical voltage state of the battery under test are combined into a target display curve.

[0062] This embodiment discloses a specific method for generating a target display curve. Specifically, the voltage value output by the battery under test when supplying power to the current electrical device is read. The output voltage value is used to represent the voltage state of the battery. When determining the current voltage state of the battery under test, the historical voltage state output by the battery under test when supplying power to the electrical device before the current voltage state is extracted. The historical voltage state is the voltage state output by the battery under test within a preset time before the time represented by the current voltage state.

[0063] When determining the current voltage state and historical voltage state of a battery, the current voltage state and historical voltage state of the battery under test are combined to generate a battery output voltage display curve based on the current battery parameters of the battery under test and the power consumption parameters of the power devices connected to the battery.

[0064] For example, the battery under test, b, provides stable power to the device c from 8:00 to 9:00. When generating the display curve of the output voltage of the battery under test, after determining the voltage state of the battery under test at 9:00, the historical voltage state of the battery under test in the hour before 9:00 is extracted. Based on the output parameters of the battery under test and the power consumption parameters of the device c, the display curve is generated by combining all the voltage states of the battery under test from 8:00 to 9:00.

[0065] In this embodiment, after generating the target display curve of the battery under test, the specific power supply status of the battery under test can be understood based on the display curve. By studying the output voltage status of the battery under test when it is powered on, the overall power supply status and power supply capacity of the battery can be more specifically obtained.

[0066] In one embodiment of this application, after merging the voltage state of the battery under test within a preset time period into the current display curve based on the application parameters of the battery under test, the method further includes:

[0067] Verify the correctness of the current target curve.

[0068] In this embodiment, after generating the display curve, a process for verifying the correctness of the display curve is included. Specifically, the display curve is identified based on the changes in the battery state to determine whether it is abnormal. For example, the display curve represents the voltage state change process of the output voltage when the battery discharges into the device. The voltage state gradually decreases. However, in a certain segment of the display curve, the battery state gradually increases, which does not conform to the battery state change pattern. Therefore, the display curve for that segment of the battery is questionable.

[0069] This embodiment proposes to perform a correctness check on the display curve to ensure the accuracy of the output voltage state of the battery under test represented by the display curve, thereby ensuring the accuracy of the final identification of the state of the battery under test.

[0070] S 104 adapts the current display curve from multiple historical display curves.

[0071] In one embodiment of this application, the current display curve is adapted from multiple historical display curves, specifically including:

[0072] Determine the pre-stored historical application parameters corresponding to the historical curves based on the application parameters of the battery under test.

[0073] Obtain the historical display curves corresponding to historical application parameters;

[0074] The current display curve is adapted based on the voltage state changes of the historical display curve within a preset time period.

[0075] In this embodiment, based on the already formed display curves, pre-stored historical display curves are extracted. It is important to note that the database for extracting historical display curves contains a large number of pre-stored historical display curves. These pre-stored historical display curves are display curves showing the voltage states generated by historical batteries when supplying power to different electrical devices. During the adaptation process, historical batteries also store historical application parameters. Based on the application parameters of the battery under test, curves with the same application parameters are adapted from historical display curves. When it is determined that the application parameters are the same, the display curve closest to the current display curve is selected.

[0076] The technical solution of this embodiment can determine the curve that best matches the current display curve from the database of pre-stored historical display curves, which greatly improves the accuracy of selecting historical curves and enables the current display curve to be guided by historical display curves.

[0077] S 105, Based on the adaptation results, determine the control curve from multiple historical display curves.

[0078] S 106, determine the current battery state of the battery under test by referring to the comparison curve.

[0079] In this embodiment, after determining the reference curve, the battery state of the battery under test is guided by the reference curve. Specifically, after determining the reference curve, it can be assumed that the selected reference curve is almost identical to that of the battery under test. Since the reference curve represents the completed power supply process of the corresponding historical battery, it can be considered that the reference curve can play a guiding role in judging the battery state of the battery under test, that is, the target display curve can be predicted based on the reference curve.

[0080] In the technical solution of this application, the application parameters of the battery under test are read, the voltage state of the battery under test is measured, and based on the application parameters, the voltage state of the battery under test within a preset time period is merged into a target display curve. The current display curve is adapted from multiple historical display curves, and a reference curve is determined from multiple historical display curves based on the adaptation result. The battery state of the current battery under test is determined by referring to the reference curve. This application generates a target display curve based on the application parameters of the battery under test and its voltage state, adapts it to existing historical display curves, selects a reference curve, and makes a guiding judgment on the battery state of the battery under test based on the display curve, thereby determining the battery state of the battery under test and judging the specific applied capacity of the battery.

[0081] In one embodiment of this application, the battery state determination method further includes:

[0082] When the application parameters of the battery under test change, determine whether the battery under test is operating normally.

[0083] In this embodiment, considering that the battery under test may experience changes in power supply parameters due to battery replacement or changes in the power-consuming equipment during actual use, this embodiment proposes to determine whether the battery's operating state has changed. When at least one of the parameters of the battery or the power-consuming equipment undergoes a change, it is determined whether the parameter change is legal, i.e., whether the parameter change is allowed. If the parameter change is identified as illegal or not allowed, a power supply failure between the battery and the power-consuming equipment can be identified.

[0084] Furthermore, in a further embodiment of this example, if the battery under test is in normal working condition, the method further includes:

[0085] Perform the reading of application parameters and subsequent steps for the battery under test until the battery status is determined.

[0086] In this embodiment, when a change in the application parameters of the battery under test is detected and it is determined that the changed application parameters are normal, the solution of this embodiment further implements the reading of the application parameters of the battery under test and subsequent steps until the battery state of the battery under test is determined. This embodiment discusses the case where the battery under test is replaced with the connected electrical device, or the application parameters of the battery under test are changed. In this case, the connection settings are changed, and the above steps S101 to S106 need to be re-executed until the battery state after the change in connection settings is re-determined.

[0087] Furthermore, based on the solution of this embodiment, this application further includes a scenario where, due to a change in the connected electrical equipment, the battery under test is connected to different electrical devices. In this case, the generated current display curve is based on a combination of voltage states under multiple different application parameters. The final target display curve is generated by aggregating these multiple different display curves. During the adaptation process between the historical display curve and the current display curve, multiple historical display curves need to be segmented. The application parameters of the segmented historical display curve are the same as those of a segment of the current display curve, and adaptation is performed based on the same application parameters. The final generated reference curve is also generated by combining multiple historical display curves adapted to the target display curve.

[0088] This embodiment considers the complex scenarios of battery applications, namely situations where the battery may replace the device. This embodiment further designs the battery state determination method for such situations, enabling battery state determination under multiple application scenarios. It relies on a comparison curve to confirm the battery state under various different application scenarios and further enables prediction of the battery's future usage based on the comparison curve.

[0089] In one embodiment of this application, after determining the current battery state of the battery under test based on the display curve of historical batteries, the method further includes:

[0090] The current display curve of the battery under test is merged into the pre-stored historical display curve.

[0091] In this embodiment, after confirming the display curve of the battery under test, the display curve is further saved to the historical display curve and used as a new historical display curve to adapt to the display curve of subsequent batteries under test, making the adaptation results more and more accurate.

[0092] Please refer to the relevant information. Figure 2 , Figure 2 A battery state determination device provided in this application includes:

[0093] The parameter reading module 201 is used to read the application parameters of the battery under test.

[0094] The state measurement module 202 is used to measure the voltage state of the battery under test;

[0095] The curve generation module 203 is used to merge the voltage state of the battery under test within a preset time period into the current display curve based on the application parameters of the battery under test.

[0096] The curve adaptation module 204 is used to extract the pre-stored historical display curves and adapt the current display curve from the historical display curves;

[0097] The curve determination module 205 is used to determine a reference curve from multiple historical display curves based on the adaptation results.

[0098] The battery status determination module 206 is used to determine the current battery status of the battery under test by referring to the comparison curve.

[0099] Optionally, the curve generation module 203 is specifically used for:

[0100] Determine the current voltage state of the battery under test;

[0101] Based on the current voltage state, extract the historical voltage state of the battery under test within a preset time period;

[0102] Based on the application parameters of the battery under test, the current voltage state and the historical voltage state of the battery under test are combined into a target display curve.

[0103] Optionally, the device further includes:

[0104] The correctness verification module is used to verify the correctness of the target display curve.

[0105] Optionally, the device further includes:

[0106] The working status judgment module is used to determine whether the working status of the battery under test is normal when the application parameters of the battery under test change.

[0107] Optionally, the device further includes:

[0108] The re-execution module is used to: execute the application parameters for reading the battery under test and subsequent steps until the battery status of the battery under test is determined.

[0109] Optionally, the curve determination module 205 is specifically used for:

[0110] Determine the pre-stored historical application parameters based on the application parameters of the battery under test;

[0111] Obtain the historical display curve corresponding to the historical application parameters;

[0112] The current display curve is adapted based on the voltage state changes of the historical display curve within a preset time period.

[0113] Optionally, the device further includes:

[0114] The curve update module is used to merge the current display curve of the battery under test into the pre-stored historical display curve.

[0115] This application also provides a battery state determination device, comprising:

[0116] Memory, used to store computer programs;

[0117] A processor is used to implement the steps of a battery state determination method when executing a computer program.

[0118] This application further provides a readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of a battery state determination method.

[0119] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0120] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0121] The foregoing has provided a detailed description of a battery state determination method, apparatus, device, and readable storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are merely for the purpose of helping to understand the method and its core ideas. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of this application.

Claims

1. A method for determining battery state, characterized in that, The method includes: Read the application parameters of the battery under test; the application parameters include the number of battery packs, battery specifications, load conditions, and battery usage time. Measure the voltage state of the battery under test; Based on the application parameters of the battery under test, the voltage state of the battery under test within a preset time period is combined into a target display curve; Determine the pre-stored historical application parameters based on the application parameters of the battery under test; Obtain the historical display curve corresponding to the historical application parameters; the historical display curve is the voltage state display curve generated by the historical battery when supplying power to different electrical devices; The current display curve is adapted based on the voltage state changes of the historical display curve within a preset time period; Based on the adaptation results, a reference curve is determined from multiple historical display curves; the current battery state of the battery under test is determined by referring to the reference curve. When the application parameters of the battery under test change, determine whether the working state of the battery under test is normal. When the parameters of at least one end of the battery or electrical device that supplies power change, and if the parameter change is invalid, a power supply failure occurs between the battery and the electrical device.

2. The method according to claim 1, characterized in that, The step of combining the voltage state of the battery under test within a preset time period into a target display curve based on the application parameters of the battery under test specifically includes: Determine the current voltage state of the battery under test; Based on the current voltage state, extract the historical voltage state of the battery under test within a preset time period; Based on the application parameters of the battery under test, the current voltage state and the historical voltage state of the battery under test are combined into a target display curve.

3. The method according to claim 2, characterized in that, After combining the voltage state of the battery under test within a preset time period into the current display curve based on the application parameters of the battery under test, the method further includes: The correctness of the target display curve is verified.

4. The method according to claim 3, characterized in that, If the battery under test is in normal working condition, the method further includes: Perform the steps of reading the application parameters of the battery under test and subsequent steps until the battery status of the battery under test is determined.

5. The method according to claim 1, characterized in that, After determining the current battery state of the battery under test based on the historical display curve, the method further includes: The current display curve of the battery under test is merged into the pre-stored historical display curve.

6. A battery state determination device, characterized in that, The device includes: The parameter reading module is used to read the application parameters of the battery under test; the application parameters include the number of battery packs, battery specifications, load conditions, and battery usage time. A state measurement module is used to measure the voltage state of the battery under test; The curve generation module is used to merge the voltage state of the battery under test within a preset time period into a target display curve based on the application parameters of the battery under test. The curve adaptation module is used to determine pre-stored historical application parameters based on the application parameters of the battery under test; obtain the historical display curve corresponding to the historical application parameters; the historical display curve is the voltage state display curve generated by the historical battery when supplying power to different electrical devices; and adapt the current display curve based on the voltage state change of the historical display curve within a preset time. The curve determination module is used to determine a reference curve from multiple historical display curves based on the adaptation results; A battery status determination module is used to determine the current battery status of the battery under test by referring to the comparison curve; The working status judgment module is used to determine whether the working status of the battery under test is normal when the application parameters of the battery under test change; when the parameters of at least one end of the battery or the electrical device that is supplying power change, if the parameter change is illegal, that is, a power supply failure has occurred between the battery and the electrical device.

7. A battery state determination device, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the battery state determination method as described in any one of claims 1 to 5 when executing the computer program.

8. A readable storage medium, characterized in that, The readable storage medium stores a computer program that, when executed by a processor, implements the steps of the battery state determination method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Equipment detection method based on curve inflection point comparison and related device

    CN111811567A