Battery management method, system, and electronic device
By running a preset module only when an anomaly occurs in the battery management system, the problems of high resource consumption and low efficiency in the prior art are solved, and more efficient battery management is achieved.
Patent Information
- Application Number
- CN202310013735.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-05
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2043-01-05
AI Technical Summary
Existing battery management systems consume a lot of resources, have low operating efficiency, and cannot respond efficiently to emergencies when managing batteries.
By comparing the battery cell operating data with preset thresholds, the corresponding preset modules are only run to handle abnormalities, thus avoiding running too many modules when there are no abnormalities.
It saves computing resources, improves system operating efficiency, and enhances the ability to respond to emergencies.
Smart Images

Figure CN115986234B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of battery related technology, in particular to a battery management method, system and electronic device. BACKGROUND
[0002] The battery management system (BMS) is used for managing and maintaining the battery unit during the daily use of the battery, monitoring and maintaining the battery state through various modules and mechanisms, preventing the battery from overcharging and over-discharging and other faults, which is of great significance for prolonging the service life of the battery and improving the safety of the battery.
[0003] In the prior art, with the continuous increase of various mechanisms under various abnormal processing modules such as protection modules and recovery modules of the battery, the battery management system has the problems of large resource consumption and low running efficiency when managing and maintaining the battery. SUMMARY
[0004] Therefore, the present application is devoted to providing a battery management method, system and electronic device.
[0005] In a first aspect, the present application provides a battery management method, comprising:
[0006] Obtaining cell operation data, the cell operation data comprising at least one of current, voltage and temperature related to cell operation;
[0007] Comparing each of the cell operation data with a corresponding preset threshold value thereof respectively;
[0008] If any one of the cell operation data does not match the corresponding preset threshold value thereof, it is determined that there is an abnormality;
[0009] Running a preset module to process the abnormality through the preset module.
[0010] Optionally, each of the preset threshold values corresponds to an abnormality;
[0011] If any one of the cell operation data does not match the corresponding preset threshold value thereof, it is determined that there is an abnormality, comprising:
[0012] If any one of the cell operation data does not match the corresponding preset threshold value thereof, an abnormality identifier is generated, wherein the abnormality identifier corresponds one-to-one to the abnormality corresponding to the preset threshold value;
[0013] It is determined that there is an abnormality corresponding to the abnormality identifier.
[0014] Optionally, the preset module comprises a plurality of mechanisms, and the mechanisms correspond one-to-one to the abnormality identifiers.
[0015] The running preset module is used to process the exception through the preset module, including:
[0016] Based on the exception identifier, a target mechanism corresponding to the exception identifier in the preset module is determined;
[0017] The target mechanism is run to process the exception.
[0018] Optionally, it further includes:
[0019] The cell running data when the target mechanism is run is obtained,
[0020] If the cell running data when the target mechanism is run does not match the preset threshold value corresponding to the target mechanism, the target mechanism is continuously executed;
[0021] If the cell running data when the target mechanism is run matches the preset threshold value corresponding to the target mechanism, the target mechanism is stopped and the exception identifier corresponding to the target mechanism is cleared.
[0022] Optionally, the exception includes at least one of the following: a charging and discharging overcurrent exception, a charging and discharging short circuit exception, a charging single cell overvoltage exception, a charging total voltage overvoltage exception, a discharging single cell under-voltage exception, a discharging total voltage under-voltage exception, a cell overvoltage permanent failure exception, a cell overcurrent permanent failure exception, a cell high temperature permanent failure exception, a cell low temperature permanent failure exception, a charging over-temperature exception, a charging low temperature exception, a discharging over-temperature exception, a discharging low temperature exception, and a field effect tube over-temperature exception.
[0023] Optionally, the preset threshold value includes a protection threshold value, the exception includes a to-be-protected exception, the exception identifier includes a to-be-protected exception identifier, the preset module includes a protection module, and the protection module includes a plurality of protection mechanisms.
[0024] The protection threshold value is used to determine whether there is a to-be-protected exception, and to generate a to-be-protected exception identifier corresponding to the to-be-protected exception;
[0025] The protection module is used to process the to-be-protected exception through a target protection mechanism corresponding to the to-be-protected exception identifier when there is a to-be-protected exception, to protect the battery.
[0026] Optionally, the preset module further includes a recovery module, the recovery module includes a plurality of recovery mechanisms, and the recovery mechanisms correspond one-to-one to the protection mechanisms.
[0027] The recovery module is configured to run a target recovery mechanism corresponding to the target protection mechanism after the protection module starts running or runs for a preset time length, so as to recover the abnormality to be protected to normal.
[0028] Optionally, the preset threshold comprises a recovery threshold, the abnormality comprises an abnormality to be recovered, the
[0029] The abnormality identifier comprises an abnormality-to-be-recovered identifier, the preset module comprises a recovery module, and the recovery module comprises a plurality of recovery mechanisms.
[0030] The recovery threshold is configured to determine whether there is an abnormality to be recovered, and to generate an abnormality-to-be-recovered identifier corresponding to the abnormality to be recovered.
[0031] The recovery module is configured to, when there is an abnormality to be recovered, process the abnormality to be recovered by a target recovery mechanism corresponding to the abnormality-to-be-recovered identifier, so as to recover the abnormality to be recovered to normal.
[0032] A computer program stored on the memory and executed by the processor;
[0033] The processor implements the steps of the battery management method when executing the computer program.
[0034] In a third aspect, an electronic device is provided, comprising the battery management system described above.
[0035] The battery management method provided by the present application comprises the following steps: firstly, obtaining cell operation data; then, comparing each cell operation data with a preset threshold corresponding to the cell operation data; if any cell operation data does not match the preset threshold corresponding to the cell operation data, it is determined that there is an abnormality, and then a preset module is run,
[0036] so as to process the abnormality by the preset module. In this way, the abnormality is first judged based on the cell operation data and the preset threshold, and only when there is an abnormality, the preset module is run, so as to avoid running too many modules when there is no abnormality,
[0037] greatly saving computing resources and improving running efficiency. BRIEF DESCRIPTION OF DRAWINGS
[0038] The above and other objects, features and advantages of the present application will become more apparent from the following detailed description of embodiments of the present application, taken in conjunction with the accompanying drawings. The drawings provided in the specification and the embodiments of the present application together serve to provide a further understanding that enables one of ordinary skill in the art to make and use the present application. The drawings provided are for illustrative purposes and are not intended to limit the present application. In the drawings, the same reference numerals generally refer to the same components or steps throughout the drawings.
[0039] Figure 1 A flowchart of a battery management method provided by an embodiment of the present application is shown in FIG. 1.
[0040] Figure 2 A flowchart of data processing in a battery management method provided by an embodiment of the present application is shown in FIG. 2.
[0041] Figure 3 A schematic diagram of a principle of operation of a protection mechanism in a battery management method provided by an embodiment of the present application is shown in FIG. 3.
[0042] Figure 4 A structural schematic diagram of a battery management system provided by an embodiment of the present application is shown in FIG. 4. DETAILED DESCRIPTION
[0043] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts fall within the scope of the present application. Summary of the application:
[0044] A battery management system (BMS) is commonly known as a battery guardian or a battery caretaker, which is used to manage the use of a battery and to cooperate with various external or embedded modules to protect and recover the battery when an abnormality occurs, such as overcurrent, overvoltage, undervoltage, high temperature, low temperature, and the like. For example, when overcurrent and overvoltage abnormalities occur, the power of the battery is reduced, and when the temperature is high, the battery is cooled, thereby ensuring the safety of the battery.
[0045] With the continuous increase and improvement of functions, the problems and abnormal types of the battery and related circuits are also increasing. Accordingly, the number of modules and various mechanisms in the modules for processing various problems and abnormalities is also increasing. In the prior art, for example, in order to discover and process problems in time, when the battery management system is running, even if the protection mechanism is not triggered or all the protection mechanisms are not triggered, the protection module and all the protection mechanisms in the protection module still need to be run, which causes waste of resources, delays the running efficiency of the entire system, and is not conducive to the response to emergency situations.
[0046] Method embodiments:
[0047] Figure 1 A flowchart of a battery management method provided by an embodiment of the present application is shown in FIG. 1. Figure 1 As shown in FIG. 1, the battery protection method provided by the present application includes:
[0048] S101, acquire cell operation data.
[0049] Specifically, the cell operation data can include current, voltage and temperature data related to the operation of the cell in the battery and related circuit. In actual application, it can be acquired by reading through an analog front-end IC. The data format of the cell operation data can be an AD value containing current, voltage and temperature information of the battery cell and related current circuit.
[0050] S102, compare each cell operation data with the corresponding preset threshold value respectively to determine whether there is an abnormality.
[0051] S103, if there is an abnormality, run the preset module to process the abnormality through the preset module.
[0052] Specifically, the cell operation data corresponds to the preset threshold value. For example, the data containing voltage in the cell operation data corresponds to the preset voltage threshold value, the data containing current corresponds to the preset current threshold value, and the data containing temperature information corresponds to the preset temperature threshold value. The preset voltage threshold value, the preset current threshold value and the preset temperature threshold value can be one or multiple, that is, one cell operation data corresponds to at least one preset threshold value. When one threshold value, such as the voltage threshold value, includes multiple, the acquired cell operation data containing voltage data can be compared with multiple voltage threshold values respectively. The cell operation data corresponding to the preset threshold value mainly refers to that the cell operation data is within the value range determined based on the corresponding preset threshold value. In actual application, the judgment rule of whether the cell operation data matches the corresponding preset threshold value will be different due to the specific types of the cell operation data and the preset threshold value. For example, the cell voltage can correspond to the discharge voltage threshold value and the charging voltage threshold value. In the discharging process, if the cell voltage is lower than the discharge voltage threshold value, it is considered that the cell voltage does not match the discharge voltage threshold value. In the charging process, if the cell voltage is higher than the charging voltage threshold value, it is considered that the cell voltage does not match the charging voltage threshold value. Therefore, it is necessary to determine whether the cell operation data matches the corresponding preset threshold value by combining the specific cell operation data and the corresponding preset threshold value, which will not be listed one by one here.
[0053] When it is determined that there is an abnormality, the preset module is started to process the determined abnormality, for example, a protection module is run to protect the battery and related circuit through the protection module, or a recovery module is run to recover the battery and related circuit through the recovery module, etc.
[0054] The application provides a battery management method, comprising: firstly acquiring cell operation data; then comparing each cell operation data with a preset threshold corresponding to the cell operation data; if any cell operation data does not match the preset threshold corresponding to the cell operation data, it is determined that there is an abnormality, and a preset module is run to process the abnormality through the preset module. In this way, the cell operation data and the preset threshold are first compared to determine whether there is an abnormality. Only when there is an abnormality, the preset module is run, which avoids running too many modules when there is no abnormality, greatly saves the computing resource, and improves the running efficiency.
[0055] In some embodiments, because the collected cell operation data can be an AD value, the above-mentioned preset threshold can also be an AD value converted according to a corresponding analog front-end conversion formula, and the threshold is stored. When it is necessary to compare and determine whether there is an abnormality, only the corresponding AD values need to be compared, thereby greatly improving the determination efficiency and further improving the running efficiency of the system, as shown in detail in Figure 2
[0056] Further, in the battery management method provided by the application, each preset threshold corresponds to an abnormality, and the abnormalities corresponding to the preset thresholds are different from each other. For example, the abnormality can include at least one of a charging and discharging overcurrent abnormality, a charging and discharging short circuit abnormality, a charging single cell overvoltage abnormality, a charging total voltage overvoltage abnormality, a discharging single cell undervoltage abnormality, a discharging total voltage undervoltage abnormality, a charging overtemperature abnormality, a charging low-temperature abnormality, a discharging overtemperature abnormality, a discharging low-temperature abnormality, and a field effect tube overtemperature abnormality. A threshold is set for each abnormality to determine whether the abnormality exists. For example, a current value is set for the charging and discharging overcurrent abnormality. When the cell operation data containing current information is greater than or equal to the current value, it is determined that the battery or the related circuit has a charging and discharging overcurrent abnormality.
[0057] In actual application, the battery management system can run based on the working mode of the main loop, that is, on the basis of ensuring the running of the basic program, other non-essential modules and mechanisms are run.
[0058] In some embodiments of the application, various abnormality identifiers can be generated to determine whether the preset module and the mechanisms under the module are run by the main loop, that is, the abnormality identifier is the identifier of the main loop entering the preset module. When the identifier exists, the main loop enters the corresponding module and runs the corresponding mechanism; when the identifier does not exist, the main loop directly skips the corresponding module and mechanism, thereby reducing the running of unnecessary modules and mechanisms, reducing the system pressure, improving the system running efficiency, and improving the response ability of the system to emergency time
[0059] The threshold for determining whether an abnormality exists corresponds to an abnormality one-to-one, and the abnormality identifier corresponds to an abnormality one-to-one, that is, the abnormality identifier also corresponds to the threshold one-to-one, that is, one of the above-mentioned abnormalities corresponds to one threshold, when the collected battery running data is greater than or equal to the threshold, it is determined that the abnormality exists, and an abnormality identifier corresponding to the abnormality is generated.
[0060] For example, when the collected battery running data is a voltage value, the voltage value can be compared with the charge-discharge overvoltage threshold, when the collected voltage value is greater than the charge-discharge overvoltage threshold, it is determined that the battery or the related current has a charge-discharge overvoltage abnormality, and a charge-discharge overvoltage abnormality identifier is generated.
[0061] In some embodiments of the present application, the above-mentioned abnormality identifier can also be generated and stored in advance, when the collected battery running data is greater than the threshold, it is determined that a certain abnormality exists, and the corresponding abnormality identifier can be activated through a preset program, so that the main loop determines to enter the preset module and run the corresponding mechanism, thereby further improving the system running efficiency.
[0062] On the basis of the above-mentioned embodiments, the preset module can include multiple modules, such as a protection module, a recovery module, and a warning module, etc. Each module can include multiple mechanisms, for example, the protection module can include multiple protection mechanisms for protecting the battery and the related circuit in different ways. In addition, the mechanism corresponds to the abnormality identifier one-to-one, because the abnormality identifier corresponds to the abnormality one-to-one, each mechanism also corresponds to the abnormality one-to-one, for example, the mechanism includes a charge-discharge overcurrent protection mechanism for protecting the charge-discharge overcurrent abnormality, a charge-discharge overvoltage protection mechanism for protecting the charge-discharge overvoltage abnormality, etc.
[0063] When an abnormality exists based on the above-mentioned abnormality determination principle, for example, a charge-discharge overcurrent abnormality exists, a charge-discharge overcurrent abnormality identifier is generated or activated, the main loop recognizes the identifier, enters the protection module, and determines the target mechanism according to the charge-discharge overcurrent abnormality identifier, that is, the charge-discharge overcurrent protection mechanism, triggers the charge-discharge overcurrent protection mechanism in the protection module for protecting the charge-discharge overcurrent, and protects the battery and the related current through the charge-discharge overcurrent protection mechanism, that is, handles the charge-discharge overcurrent abnormality.
[0064] In some embodiments, the battery management method provided by the present application further includes reacquiring the battery running data when running the target mechanism to determine whether to continue executing the mechanism in the running.
[0065] For example, during the running of a certain mechanism, i.e., a target mechanism, the cell running data corresponding to the target mechanism is continuously acquired within a specified time or a preset time interval. The newly acquired cell running data is compared with the threshold corresponding to the target mechanism. If the cell running data is greater than or equal to the preset threshold corresponding to the target mechanism, the target mechanism continues to be executed. If the cell running data is less than the preset threshold corresponding to the target mechanism, the target mechanism is stopped from being executed.
[0066] The manner of stopping the execution of the target running mechanism can be various. For example, a preset instruction can be generated to force the main loop or the related controller or control module to stop the target mechanism. The abnormality identifier corresponding to the target mechanism that is previously generated or activated can also be cleared, so that the main loop stops from entering the module. In this way, after the abnormality disappears, the target mechanism is still running, which causes resource waste and reduces the system running efficiency.
[0067] In the battery management system provided in the embodiments of the present application, the preset module that is determined to be started or not started based on whether an abnormality exists can specifically include a protection module and a recovery module, and each module includes multiple mechanisms. The protection module is used to protect the battery and the related circuit by various protection mechanisms to avoid damaging the battery and the related circuit, and the recovery module is used to recover the abnormality by various recovery mechanisms to make the battery and the related circuit normal.
[0068] First, in the present application, the preset module can specifically include only the protection module, and the protection module includes multiple protection mechanisms to protect the battery and the related circuit.
[0069] Specifically, for the running of the protection mechanism, the various abnormalities mentioned above are referred to as to-be-protected abnormalities in order to be distinguished from the abnormalities for judgment in the subsequent recovery and other modules. When the abnormality exists, the protection module and the protection mechanism need to be run to process the abnormality. It should be noted that the to-be-protected abnormality is the same as the abnormality type mentioned above, and specifically includes at least one of the following: a charging and discharging overcurrent to-be-protected abnormality, a charging and discharging short circuit to-be-protected abnormality, a charging single cell overvoltage to-be-protected abnormality, a charging total voltage overvoltage to-be-protected abnormality, a discharging single cell undervoltage to-be-protected abnormality, a discharging total voltage undervoltage to-be-protected abnormality, a charging overtemperature to-be-protected abnormality, a charging low-temperature to-be-protected abnormality, a discharging overtemperature to-be-protected abnormality, a discharging low-temperature to-be-protected abnormality, and a field effect tube overtemperature to-be-protected abnormality. There is a protection threshold corresponding to each of the above to-be-protected abnormalities, and a protection abnormality identifier corresponding to each of the to-be-protected abnormalities.
[0070] Figure 3 The principle diagram of the running of the protection mechanism in the battery management method provided in the embodiments of the present application is shown in FIG. 1. Figure 3 As shown in FIG. 1, the principle diagram specifically includes the following steps.
[0071] S301, acquire the cell running data.
[0072] S302, compare the cell running data with the protection threshold value, and determine whether there is an abnormality to be protected.
[0073] Specifically, a protection threshold structure can be created, and the structure members include various protection threshold values mentioned above. The related staff can initialize it, and the parameter values in the structure can also be modified by the host computer.
[0074] In addition, in order to complete the subsequent comparison and judgment faster, the protection threshold values in the protection threshold structure can be converted into AD values according to the AD conversion formula of different analog front ends to obtain a protection threshold AD structure, so that after obtaining the AD value of the real-time cell running data from the analog front end, the comparison and judgment can be directly performed, and the system running efficiency is improved.
[0075] The acquired AD value is compared with the AD threshold value in the preset structure. If the acquired AD value does not match any corresponding AD threshold value in the structure, it is determined that there is an abnormality to be protected corresponding to the AD threshold value, and step S203 is executed. If the acquired AD value matches all AD threshold values in the structure, the subsequent process is skipped, and step S208 is directly executed.
[0076] S303, generate or activate the abnormality to be protected identifier.
[0077] S304, determine the target protection mechanism based on the abnormality to be protected identifier, and process the abnormality to be protected through the target protection mechanism.
[0078] Specifically, when the main loop runs to the protection module, if there is an abnormality to be protected identifier or an activated state, the protection module is entered, the protection mechanism corresponding to the abnormality to be protected identifier is found, the protection mechanism is determined as the target protection mechanism, and the running of the target protection mechanism is triggered to protect the battery and related circuits.
[0079] S305, acquire the cell running data corresponding to the target protection mechanism, and determine whether the cell running data matches the protection threshold value corresponding to the target protection mechanism.
[0080] Within a specified time, for example, within a first preset time to a second preset time period of the running of the target protection mechanism, the cell running data corresponding to the target protection mechanism is continuously acquired, the re-acquired cell running data is compared with the protection threshold value corresponding to the target protection mechanism, and whether the abnormality to be protected still exists is determined according to the comparison result. If it matches, it means that the abnormality to be protected still exists, and step S304 is returned to continue executing the target protection mechanism; if it does not match, it means that the abnormality to be protected does not exist, and step S306 is executed.
[0081] It should be noted that the determination of whether the battery operating data matches the protection threshold corresponding to the target protection mechanism can be implemented by referring to the foregoing content, which will not be repeated here.
[0082] S306, clear the to-be-protected abnormality identifier corresponding to the target protection mechanism, and stop executing the target protection mechanism.
[0083] S307, end the running of the protection module, and execute other modules.
[0084] In some embodiments of the present application, the preset module includes not only the protection module but also a recovery module. The recovery module includes a plurality of recovery mechanisms, each of which corresponds to each abnormality (overcharge abnormality during charging and discharging, overcurrent abnormality during charging and discharging, etc.) and is used to recover the abnormality through the corresponding recovery mechanism when the abnormality occurs, so as to recover the battery and related circuits to normal. The starting and running of the recovery module and the recovery mechanism include a plurality of modes.
[0085] First, because the types of abnormality to be handled are consistent, such as the overcurrent during charging and discharging and the overvoltage during charging and discharging mentioned above, the recovery mechanisms in the recovery module can directly correspond to the protection mechanisms in the protection module. When the target protection mechanism in the protection module is in a running state or after the target protection mechanism runs for a preset time (including when the target protection mechanism is still in a running state and when the target protection mechanism has stopped running), the recovery mechanism in the recovery module corresponding to the target protection mechanism (handling the same type of abnormality) is directly run, so as to recover the battery and related circuits.
[0086] Second, the recovery module can also conditionally run its recovery mechanism when the target protection mechanism in the protection module is running or after the running ends. For this case, the same principle as the running of the protection mechanism mentioned above can be used to create a recovery threshold structure in advance and convert it into a recovery threshold AD structure. The structure members include the recovery AD threshold corresponding to the overcurrent abnormality during charging and discharging, the overcurrent short-circuit abnormality during charging and discharging, and the overvoltage abnormality of the single battery cell, etc. When there is a to-be-protected abnormality and after the target protection mechanism is run, the battery operating data is compared with the recovery AD threshold. The recovery AD threshold can be directly selected for comparison with the recovery threshold of the same type of abnormality (overcurrent during charging and discharging, overvoltage during charging and discharging, etc.) handled by the target protection mechanism. For example, when greater than the threshold, it is determined that there is a to-be-recovered abnormality, and the recovery module is run, and the recovery mechanism corresponding to the to-be-recovered abnormality is run.
[0087] In the above embodiments, the running of the recovery mechanism is determined after the running of the protection mechanism, and in some other embodiments, the running of the recovery mechanism can also be determined independently, that is, the same as determining whether to run and which protection mechanism to run. After obtaining the battery running data, each recovery threshold in the recovery threshold AD structure is compared and judged. When the battery running data does not match any recovery threshold, it is determined that there is an abnormality to be recovered, and a to-be-recovered abnormality identifier corresponding to the abnormality to be recovered is generated or activated. The main loop starts the recovery module based on the to-be-recovered abnormality identifier, runs the corresponding recovery mechanism, and determines whether to continue executing the recovery mechanism through the same running principle as the protection mechanism, so as to avoid missing the abnormality to be recovered and affecting the comprehensive and efficient running of the recovery mechanism.
[0088] It should be noted that in some embodiments, when the protection module and the recovery module are independently run at the same time, the protection threshold and the recovery threshold for the same abnormal type (overvoltage during charging and discharging, overcurrent during charging and discharging, etc.) can be set to different values, for example, the value of the recovery threshold for the same abnormal type is greater than the value of the protection threshold, or other relationships, to avoid confusion in the running of the recovery mechanism and the protection mechanism.
[0089] In some other embodiments of the present application, the preset module mentioned in the above embodiments can only include the protection module and the protection recovery module. The running of the protection module and the included mechanism are the same as those of the protection module mentioned above, and the protection recovery module includes the contents of the above protection module and recovery module. At this time, the battery and the related circuit can be protected by the protection module, or protected and recovered by the protection recovery module. In addition, in order to avoid confusion in the running of the two modules, different degrees of running conditions can be set, that is, different sizes of threshold values can be set, or other conditions can be added under the same threshold size. When the other conditions are met, the mechanism in the protection recovery module is run. Here, it is not repeated.
[0090] The battery management method provided by the present application only runs the preset module when there is an abnormality and the battery or related circuit needs to be protected or recovered, and only triggers the protection mechanism or recovery mechanism corresponding to the abnormality. The main loop does not need to traverse various modules and mechanisms every time, which saves the computing resource, improves the response of the system to the sudden situation, and improves the running efficiency of the system.
[0091] Battery management system embodiments:
[0092] Based on the same inventive concept, as Figure 4As shown, the embodiment of the present application further provides a battery management system, comprising a memory 1, a processor 2 and a computer program stored in the memory 1 and executed by the processor 2; the processor 2 implements the steps of the above battery management method when executing the computer program.
[0093] The battery management system provided by the embodiment of the present application only runs the preset module when there is an exception and the battery or related circuit needs to be protected or recovered, and only triggers the protection mechanism or recovery mechanism corresponding to the exception, without the main loop traversing various modules and mechanisms each time, thereby saving computing resources, improving the response of the system to sudden conditions, and improving the running efficiency of the system.
[0094] Electronic device embodiments:
[0095] Based on the same inventive concept, the embodiment of the present application further provides an electronic device, which comprises various devices containing small intelligent power batteries, and specifically, the electronic device provided by the embodiment of the present application comprises the battery management system provided by the above battery management system embodiment. The electronic device provided by the present application only runs the preset module when there is an exception and the battery or related circuit needs to be protected or recovered, and only triggers the protection mechanism or recovery mechanism corresponding to the exception, without the main loop traversing various modules and mechanisms each time, thereby saving computing resources, improving the response of the electronic device to sudden conditions, and improving the running efficiency of the electronic device.
[0096] The embodiments in the specification adopt a progressive manner, and each embodiment focuses on the difference from other embodiments. The same or similar parts of each embodiment can be referred to each other. The above description of the disclosed embodiments enables a person skilled in the art to implement or use the present application. Various modifications to the embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A battery management method, characterized by, The method comprises: obtaining cell operation data, the cell operation data comprising at least one of current, voltage and temperature related to cell operation; comparing each of the cell operation data with a preset threshold corresponding thereto respectively; if any one of the cell operation data does not match the preset threshold corresponding thereto, determining that an abnormality exists, each of the preset thresholds corresponding to an abnormality; if any one of the cell operation data does not match the preset threshold corresponding thereto, determining that an abnormality exists, comprising: if any one of the cell operation data does not match the preset threshold corresponding thereto, generating an abnormality identifier, wherein the abnormality identifier corresponds to the abnormality corresponding to the preset threshold one by one; determining that the abnormality corresponding to the abnormality identifier exists; the preset threshold comprises a recovery threshold, the abnormality comprises a to-be-recovered abnormality, the abnormality identifier comprises a to-be-recovered abnormality identifier, the preset module comprises a recovery module, and the recovery module comprises a plurality of recovery mechanisms; the recovery threshold is used to determine whether the to-be-recovered abnormality exists and to generate the to-be-recovered abnormality identifier corresponding to the to-be-recovered abnormality; and the recovery module is used to, when the to-be-recovered abnormality exists, process the to-be-recovered abnormality through a target recovery mechanism corresponding to the to-be-recovered abnormality identifier, so as to recover the to-be-recovered abnormality to normal; running a preset module to process the abnormality through the preset module, the preset module comprising a plurality of mechanisms, and the mechanisms corresponding to the abnormality identifiers one by one; the running of the preset module to process the abnormality through the preset module comprises: determining, based on the abnormality identifier, a target mechanism in the preset module corresponding to the abnormality identifier; and running the target mechanism to process the abnormality.
2. The battery management method according to claim 1, further comprising: obtaining cell operation data when the target mechanism is running, if the cell operation data when the target mechanism is running does not match a preset threshold corresponding to the target mechanism, continuing to execute the target mechanism; if the cell operation data when the target mechanism is running matches the preset threshold corresponding to the target mechanism, stopping execution of the target mechanism and clearing the abnormality identifier corresponding to the target mechanism.
3. The battery management method according to claim 1, wherein the abnormality comprises at least one of a charging and discharging overcurrent abnormality, a charging and discharging short circuit abnormality, a charging single cell overvoltage abnormality, a charging total voltage overvoltage abnormality, a discharging single cell undervoltage abnormality, a discharging total voltage undervoltage abnormality, a charging overtemperature abnormality, a charging low-temperature abnormality, a discharging overtemperature abnormality, a discharging low-temperature abnormality, and a field effect tube overtemperature abnormality.
4. The battery management method according to claim 2, wherein the preset threshold comprises a protection threshold, the abnormality comprises a to-be-protected abnormality, the abnormality identifier comprises a to-be-protected abnormality identifier, the preset module comprises a protection module, and the protection module comprises a plurality of protection mechanisms; the protection threshold is used to determine whether the to-be-protected abnormality exists and to generate the to-be-protected abnormality identifier corresponding to the to-be-protected abnormality. The protection module is configured to, when the abnormality to be protected exists, process the abnormality to be protected by a target protection mechanism corresponding to the identification of the abnormality to be protected, so as to protect the battery. 5.The battery management method of claim 4, wherein, The preset module further comprises a recovery module, and the recovery module comprises a plurality of recovery mechanisms corresponding to the protection mechanisms. The recovery module is configured to, after the protection module starts running or runs for a preset time length, run a target recovery mechanism corresponding to the target protection mechanism, so as to recover the abnormality to be protected to normal. 6.A battery management system, comprising: a memory, a processor, and a computer program stored in the memory and executed by the processor; when the processor executes the computer program, the steps of the battery management method in any one of claims 1 to 5 are implemented. 7.An electronic device, comprising: the battery management system of claim 6.
Citation Information
Patent Citations
Battery charging and discharging management method, battery system and storage medium
CN113659650A
Battery anomaly detection method and device, equipment and storage medium
CN114137421A