Abnormality detection method, device, energy storage device and storage medium
By using the dual sampling method of controller and battery sampling chip in energy storage equipment to perform sampling abnormality detection, the problem of difficulty in accurately positioning battery sampling chip abnormality in the prior art is solved, and the decision-making accuracy and equipment safety of the battery management system are improved.
Patent Information
- Application Number
- CN202411898427.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-19
- Publication Date
- 2025-04-04
AI Technical Summary
The prior art is difficult to accurately locate the abnormal type of battery sampling chips in energy storage equipment, affecting the decision-making accuracy and equipment safety of the battery management system.
The controller and the battery sampling chip perform dual sampling, first battery data and second battery data are obtained, and sampling abnormality detection is performed based on these data to determine whether there is a sampling abnormality.
It realizes accurate positioning of abnormal types of battery sampling chips, improves the decision-making accuracy of the battery management system, and ensures the safety of energy storage equipment.
Smart Images

Figure CN119758035A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of energy management technology, and in particular, relates to an anomaly detection method, apparatus, energy storage device, and computer-readable storage medium. Background Art
[0002] With the continuous development of battery technology and energy storage system integration technology, the installed capacity of energy storage equipment has grown strongly, and the global energy storage market has grown rapidly. With its unique technical advantages, energy storage equipment plays an important role in the fields of new energy power generation, new energy vehicles, etc., meeting the diversified energy needs in different scenarios.
[0003] The most important point of energy storage equipment is safety, and the key lies in the safety of the battery management system. The battery sampling chip is an important part of the battery management system. It can detect the value and changes of battery voltage and current, and send signals in time to trigger the protection mechanism of the battery management system.
[0004] Therefore, the accuracy of battery data collected by the battery sampling chip is an important guarantee for ensuring the safety of energy storage equipment. Summary of the invention
[0005] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes an abnormality detection method, device, energy storage device and computer-readable storage medium, which can accurately locate the abnormal type of the battery sampling chip when an abnormal situation occurs.
[0006] In a first aspect, the present application provides an abnormality detection method, which is applied to an energy storage device, wherein the energy storage device includes a battery pack, a controller, and a battery sampling chip, wherein the controller and the battery sampling chip are both connected to the battery pack, the controller is used to collect first battery data of the battery pack, the battery sampling chip is used to collect second battery data of the battery pack, and the controller and the battery sampling chip are communicatively connected, and the method includes:
[0007] Based on the response data of the battery sampling chip, determining whether the battery sampling chip has a response abnormality;
[0008] When the battery sampling chip does not have abnormal response, acquiring the first battery data and the second battery data;
[0009] Based on the first battery data and the second battery data, sampling anomaly detection is performed to obtain an anomaly detection result, where the anomaly detection result includes whether a sampling anomaly exists.
[0010] In some embodiments, performing anomaly detection based on the first battery data and the second battery data to obtain an anomaly detection result includes:
[0011] When the first battery data and the second battery data are consistent, determining that there is no sampling abnormality;
[0012] In a case where the first battery data and the second battery data are inconsistent, it is determined that a sampling abnormality exists.
[0013] In some embodiments, the battery pack includes a plurality of battery cells, the second battery data collected by the battery sampling chip includes a cell voltage of each battery cell and a pack voltage of the battery pack, and the method further includes:
[0014] Calculating a voltage difference between the pack voltage and a total voltage of cell voltages of all the battery cells;
[0015] The performing anomaly detection based on the first battery data and the second battery data to obtain an anomaly detection result includes:
[0016] Based on the first battery data, the second battery data and the voltage difference, abnormality detection is performed to obtain an abnormality detection result.
[0017] In some embodiments, performing anomaly detection based on the first battery data, the second battery data, the voltage difference and a preset difference threshold to obtain an anomaly detection result includes:
[0018] In the case where the voltage difference is greater than a preset difference threshold, if the first battery data and the second battery data are inconsistent, determining that the battery sampling chip sampling is abnormal;
[0019] When the voltage difference is less than or equal to a preset difference threshold, if the first battery data and the second battery data are consistent, it is determined that there is no sampling abnormality in both the controller and the battery sampling chip;
[0020] When the voltage difference is less than or equal to a preset difference threshold, if the first battery data and the second battery data are inconsistent, it is determined that a sampling abnormality exists in the controller but no sampling abnormality exists in the battery sampling chip.
[0021] In some embodiments, the first battery data and the second battery data both include a pack voltage and a current of the battery pack.
[0022] In some embodiments, determining whether the battery sampling chip has a response abnormality based on the response data of the battery sampling chip includes:
[0023] Sending request data to the battery sampling chip;
[0024] Determining whether the controller receives response data from the battery sampling chip within a first preset time period;
[0025] When the response data is received, it is determined that the battery sampling chip does not have a response abnormality, and then the step of acquiring the first battery data and the second battery data is performed when the battery sampling chip does not have a response abnormality;
[0026] In the case where the response data is not received, determining whether the number of non-response times reaches a preset number of response times;
[0027] If the number of unresponsive times does not reach the preset number of responses, the number of unresponsive times is increased by 1, and the step of sending the request data to the battery sampling chip is entered again;
[0028] If the number of non-response times reaches the preset number of response times, it is determined that the battery sampling chip responds abnormally.
[0029] In some embodiments, the controller is further used to collect the power supply voltage of the battery sampling chip, and the method further includes:
[0030] Determining whether the supply voltage is consistent with a preset supply voltage;
[0031] If the power supply voltage is inconsistent with the preset power supply voltage, it is determined that the power supply of the battery sampling chip is abnormal;
[0032] If the power supply voltage is consistent with the preset power supply voltage, the step of determining whether the battery sampling chip has an abnormal response based on the response data of the battery sampling chip is entered.
[0033] In some embodiments, the second battery data collected by the battery sampling chip includes battery sampling information and verification information, the verification information is generated based on the battery sampling information, and the method further includes:
[0034] Based on the verification information, perform data verification on the acquired second battery data to obtain a verification result, wherein the verification result includes verification pass or verification fail;
[0035] If the verification result is that the verification is passed, storing the second battery data;
[0036] If the verification result is a verification failure, discarding the second battery data and determining whether the number of verification failures has reached a preset number of verifications;
[0037] If not, the number of times the verification fails is increased by 1, and the step of obtaining the first battery data and the second battery data is entered;
[0038] If so, it is determined that the data verification of the battery sampling chip is abnormal.
[0039] In some embodiments, the battery pack includes a plurality of battery cells, the second battery data includes a cell voltage of each battery cell, and a pack voltage and current of the battery pack, and the method further includes:
[0040] updating the current cell voltage of each of the battery cells, and the current pack voltage and current current of the battery pack based on the second battery data;
[0041] Within a second preset time period, based on the current cell voltage of each of the battery cells, and the current pack voltage and current current of the battery pack, an update detection is performed to obtain an update detection result;
[0042] Within the second preset time period, if the current cell voltage of each of the battery cells, and the current pack voltage and current current of the battery pack do not change, it is determined that the data update of the battery sampling chip is abnormal;
[0043] Within the second preset time period, if the current cell voltage of each battery cell and the current pack voltage and current current of the battery pack change, sampling abnormality detection is performed based on the first battery data and the second battery data to obtain an abnormality detection result, and the abnormality detection result includes a step of whether there is a sampling abnormality.
[0044] In some embodiments, the method further comprises:
[0045] Based on the detected abnormal information, an abnormal alarm prompt is issued.
[0046] In a second aspect, the present application provides an abnormality detection device, comprising:
[0047] An acquisition module, used for acquiring the first battery data and the second battery data;
[0048] The abnormality detection module is used to perform sampling abnormality detection based on the first battery data and the second battery data to obtain an abnormality detection result.
[0049] In a third aspect, the present application provides an energy storage device, comprising:
[0050] A battery pack, wherein the battery pack is used to provide first battery data and second battery data;
[0051] A battery sampling chip, wherein the battery sampling chip collects second battery data of the battery pack;
[0052] A controller is used to execute the abnormality detection method described in any of the above embodiments.
[0053] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the anomaly detection method described in any of the above embodiments.
[0054] The abnormality detection method, apparatus, energy storage device, and computer-readable storage medium provided in the embodiments of the present application perform double sampling through a controller and a battery sampling chip. The controller obtains first battery data collected by itself, and the battery sampling chip collects second battery data. Based on the first battery data and the second battery data, sampling abnormality detection is performed to obtain an abnormality detection result.
[0055] It can be understood that for any battery, the battery data collected by the controller and the battery sampling chip are related, such as the first battery data and the second battery data are basically the same. Therefore, the first battery data sampled by the controller can detect the accuracy of the second battery data collected by the battery sampling chip.
[0056] In this way, by performing double sampling of battery data by the controller and the battery sampling chip, accurate detection of sampling anomalies can be achieved, which can prevent the sampling anomalies of the battery sampling chip from affecting the decision-making accuracy of the battery management system, thereby ensuring the safety of the energy storage equipment.
[0057] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0059] Figure 1 is an application scenario diagram of the anomaly detection method provided in an embodiment of the present application;
[0060] Figure 2 It is a first flow chart of the anomaly detection method provided in an embodiment of the present application;
[0061] Figure 3 is a second flow chart of the anomaly detection method provided in an embodiment of the present application;
[0062] Figure 4 is a third flow chart of the anomaly detection method provided in an embodiment of the present application;
[0063] Figure 5 is a fourth flow chart of the anomaly detection method provided in an embodiment of the present application;
[0064] Figure 6is a fifth flow chart of the anomaly detection method provided in an embodiment of the present application;
[0065] Figure 7 is a sixth flow chart of the anomaly detection method provided in an embodiment of the present application;
[0066] Figure 8 7 is a schematic diagram of a seventh flow chart of an abnormality detection method provided in an embodiment of the present application;
[0067] Fig. 9 is an eighth flow chart of the anomaly detection method provided in an embodiment of the present application;
[0068] Fig.10 is a ninth flow chart of the anomaly detection method provided in an embodiment of the present application;
[0069] Fig.11 is a module schematic diagram of an abnormality detection device provided in an embodiment of the present application;
[0070] Fig.12 It is a schematic diagram of the structure of the controller provided in the embodiment of the present application. DETAILED DESCRIPTION
[0071] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.
[0072] For ease of understanding, the technical background and application scenarios of this application are first introduced below:
[0073] With the continuous innovation and breakthroughs in energy storage technologies such as the research and development of new battery materials and the optimization of system integration technology, the energy density, safety and cycle life of energy storage equipment are also constantly improving, and the global energy storage market is showing a rapid growth trend. Energy storage equipment is an important component of energy storage and regulation, playing a key role in many fields such as energy transformation, new energy vehicles, and smart grids, achieving efficient energy configuration, flexible scheduling, and supply and demand balance.
[0074] Since energy storage equipment has potential safety hazards such as electrical failures, the safety of energy storage equipment is highly valued during the R&D and production process. The battery management system has an accurate battery status monitoring function. By real-time monitoring of battery voltage, current, temperature and other parameters, it can detect abnormal battery conditions in a timely manner and then take appropriate protective measures, such as cutting off the charging or discharging circuit.
[0075] The battery sampling chip is a key component of the battery management system. It can monitor the battery's voltage, current, temperature and other parameters in real time to ensure the battery operates safely and stably under complex working conditions. In large-scale energy storage power stations, the battery sampling chip accurately monitors and manages the status of the energy storage battery, ensures the performance and safety of the energy storage system, and improves the efficiency and reliability of the energy storage system. It is of great significance to the stable operation of the power grid and the effective use of renewable energy.
[0076] See also Figure 1 , Figure 1 1 is an application scenario diagram of an abnormality detection method provided in an embodiment of the present application. The application scenario provided in the present application includes an energy storage device 100 , which includes a battery pack 101 , a controller 102 , a battery sampling chip 103 and a power supply 104 .
[0077] The battery pack 101 is a complete battery assembly consisting of multiple battery cells connected in series, parallel or in series-parallel combination, plus a battery management system, battery housing, connection components, safety devices, etc. The battery pack 101 can provide battery data, including the cell voltage of each battery cell, the pack voltage and current of the battery pack 101. The battery pack 101 can provide power for various devices or systems.
[0078] The controller 102 is a device for acquiring battery data of the battery pack 101 and having data processing capability. The controller 102 is connected to the battery pack 101. For example, the controller 102 may be a microcontroller unit (MCU), which integrates the main components of a computer system such as a central processing unit, a memory, an input / output interface, and a timer / counter on an integrated circuit chip, and is specifically used to perform specific tasks.
[0079] The battery sampling chip 103 is a chip for acquiring battery data of the battery pack 101. The battery sampling chip 103 is connected to the battery pack 101 and is in communication connection with the controller 102. The battery sampling chip 103 can collect the pack voltage and current of the battery pack 101 and the cell voltage of each battery cell in the battery pack 101.
[0080] Optionally, the battery sampling chip 103 may be an analog front end (AFE for short), which may collect and preliminarily process the battery data of the battery pack 101 for subsequent analysis.
[0081] The power supply 104 is a device that provides power for the normal operation of the battery sampling chip 103. The power supply is connected to the battery pack 101, obtains the electric energy in the battery pack 101, converts the obtained electric energy into a form suitable for the battery sampling chip 103, and then supplies energy to the battery sampling chip 103.
[0082] Based on the introduction of the above-mentioned related scenarios, the embodiment of the present application provides an anomaly detection method, which is described in detail below:
[0083] See also Figure 2 An anomaly detection method provided in an embodiment of the present application is implemented by step 011, step 012 and step 013, which are described in detail below.
[0084] Step 011 determines whether the battery sampling chip has a response abnormality based on the response data of the battery sampling chip;
[0085] The response data refers to the feedback data sent by the battery sampling chip to the controller after receiving the data from the controller. Optionally, the response data can be a positive confirmation (Positive Acknowledgment, referred to as ACK) signal sent by the battery sampling chip after correctly receiving the data from the controller, or a negative confirmation (Negative Acknowledgment, referred to as NACK) signal sent by the battery sampling chip after an error occurs in receiving the data from the controller.
[0086] First, test the response of the battery sampling chip to ensure that the response of the battery sampling chip is normal, so as to carry out the subsequent sampling process of the controller and the battery sampling chip. Avoid the situation where the data sampled by the battery sampling chip cannot be transmitted to the controller, resulting in a waste of resources.
[0087] Step 012: when there is no abnormal response of the battery sampling chip, obtaining the first battery data and the second battery data;
[0088] The first battery data is the battery data of the battery pack acquired by the controller, and the first battery data may include the pack voltage and current of the battery pack.
[0089] The second battery data is the battery data of the battery pack acquired by the battery sampling chip, and may include the pack voltage and current of the battery pack.
[0090] Specifically, firstly, whether the battery sampling chip has a response abnormality is detected. If the battery sampling chip does not have a response abnormality, the controller obtains the pack voltage and current of the battery pack in real time as the first battery data; the battery sampling chip obtains the pack voltage and current of the battery pack in real time as the second battery data. For example, the first battery data may be the pack voltage and current of the battery pack obtained by the MCU in real time, and the second battery data may be the pack voltage and current of the battery pack obtained by the AFE in real time.
[0091] In this way, in the absence of a response abnormality, the first battery data and the second battery data are acquired in real time, which facilitates subsequent abnormality detection.
[0092] Step 013: Based on the first battery data and the second battery data, perform sampling anomaly detection to obtain an anomaly detection result, where the anomaly detection result includes whether there is a sampling anomaly.
[0093] Specifically, the controller obtains the pack voltage and current of the battery pack in real time, and the battery sampling chip obtains the pack voltage and current of the battery pack in real time, calculates and analyzes them, and obtains a result, which is used as the abnormality detection result. There are two types of results, namely, the presence of sampling abnormality and the absence of sampling abnormality.
[0094] In this way, by combining the battery data obtained in real time by the controller and the battery sampling chip, it is possible to more accurately determine whether there is any abnormality in the sampling process.
[0095] The abnormality detection method of the present application obtains the first battery data and the second battery data, and performs sampling abnormality detection based on the first battery data and the second battery data to obtain an abnormality detection result. According to the abnormality detection result, the abnormality problem of the battery sampling chip can be accurately located.
[0096] See also Figure 3 In some embodiments, optionally, step 013 includes:
[0097] Step 0131: when the first battery data and the second battery data are consistent, determining that there is no sampling abnormality;
[0098] Step 0132: When the first battery data and the second battery data are inconsistent, determine that there is a sampling abnormality.
[0099] Specifically, the related parts of the first battery data obtained by the controller and the second battery data obtained by the battery sampling chip, namely, the pack voltage and current of the battery pack, are compared and the difference is calculated. When the absolute value of the difference between the two is less than or equal to the preset similarity difference, it is determined that the first battery data and the second battery data are consistent. At this time, the abnormality detection result is that there is no sampling abnormality.
[0100] The preset similarity difference is a value that expresses the similarity between two sets of data. For example, the preset similarity difference may be a value that expresses the similarity between the pack voltage in the first battery data and the pack voltage in the second battery data, and may be set based on experience.
[0101] When the absolute value of the difference between the first battery data and the second battery data is greater than the preset similarity difference, it is determined that the first battery data and the second battery data are inconsistent, and the abnormality detection result at this time is that there is a sampling abnormality.
[0102] See also Figure 4 In some embodiments, the anomaly detection method further includes step 014:
[0103] Step 014: Calculate the voltage difference between the pack voltage and the total voltage of all battery cells;
[0104] Among them, pack voltage refers to the potential difference between the positive and negative electrodes of the battery pack.
[0105] Among them, the single cell voltage refers to the potential difference between the positive and negative electrodes of a single battery cell that constitutes the battery pack.
[0106] Specifically, based on the second battery data acquired by the battery sampling chip, a difference between the pack voltage of the battery pack and the total voltage of the cell voltages of all battery cells in the battery pack is calculated, and the difference is used as the voltage difference.
[0107] It can be understood that the battery pack is composed of all battery cells. Under ideal operating conditions, the pack voltage of the battery pack is equal to the total voltage obtained by adding the cell voltages of all battery cells, and the voltage difference should be zero. Under normal operation of the battery pack, there is a certain error. When the voltage difference is less than or equal to the preset difference threshold, it indicates that there is no sampling abnormality in the self-test of the battery sampling chip. When the voltage difference is greater than the preset difference threshold, it indicates that there is a sampling abnormality in the self-test of the battery sampling chip.
[0108] The preset difference threshold is a value representing the upper limit of the error range. For example, the preset difference threshold may be a value representing the upper limit of the voltage difference range, which may be set empirically.
[0109] Optionally, step 013 includes:
[0110] Step 0133: Based on the first battery data, the second battery data and the voltage difference, perform an abnormality detection to obtain an abnormality detection result.
[0111] The first battery data collected by the controller is compared with the second battery data collected by the battery sampling chip to obtain the absolute value of the difference, and the voltage difference between the pack voltage of the battery pack and the total voltage of the single cell voltages of all battery cells in the battery pack is calculated. By combining the absolute value of the difference and the voltage difference, a result can be obtained, which is used as the abnormality detection result.
[0112] See also Figure 5 In some embodiments, optionally, step 0133 includes:
[0113] Step 01331: when the voltage difference is greater than the preset difference threshold, if the first battery data and the second battery data are inconsistent, it is determined that the battery sampling chip sampling is abnormal;
[0114] Step 01332: when the voltage difference is less than or equal to the difference threshold, if the first battery data and the second battery data are consistent, it is determined that there is no sampling abnormality in the controller and the battery sampling chip;
[0115] Step 01333: When the voltage difference is less than or equal to the preset difference threshold, if the first battery data and the second battery data are inconsistent, it is determined that the controller has a sampling abnormality and the battery sampling chip does not have a sampling abnormality.
[0116] Specifically, when the voltage difference is greater than a preset difference threshold, and the absolute value of the difference between the first battery data and the second battery data is greater than a preset similarity difference, it indicates that the battery sampling chip is sampling abnormally;
[0117] When the voltage difference is less than or equal to the preset difference threshold, it indicates that there is no problem with the battery sampling chip self-test. At this time, it is determined whether the first battery data and the second battery data are consistent. If the absolute value of the difference between the first battery data and the second battery data is less than or equal to the preset similarity difference, it indicates that there is no abnormality in the sampling of the controller and the battery sampling chip; in this way, through double verification, the accuracy of the second battery data can be further improved.
[0118] When the voltage difference is less than or equal to the preset difference threshold, and the absolute value of the difference between the first battery data and the second battery data is greater than the preset similarity difference, it indicates that the controller sampling is abnormal, and the battery sampling chip sampling is not abnormal;
[0119] In this way, by combining the first battery data, the second battery data and the voltage difference, various sampling abnormalities of the battery sampling chip can be identified and the abnormalities can be reported more accurately.
[0120] See also Figure 6 In some embodiments, step 011 includes step 0111, step 0112, step 0113, step 0114, step 0115, and step 0116:
[0121] Step 0111: Sending request data to the battery sampling chip;
[0122] Step 0112: Determine whether the controller receives response data from the battery sampling chip within a first preset time period;
[0123] The first preset time length is a pre-set length of time. The first preset time length can be adjusted according to the response speed of the battery sampling chip. For example, if the response speed of the battery sampling chip is 10 milliseconds, the first preset time length can be set to 1 second, thus ensuring the timeliness and effectiveness of the battery sampling chip transmitting the response data.
[0124] Specifically, the controller sends request data to the battery sampling chip, requesting to obtain the second battery data of the battery sampling chip. Specifically, the controller sends request data to the battery sampling chip, requesting to obtain the second battery data of the battery sampling chip. Within a first preset time, the controller determines whether response data from the battery sampling chip is received.
[0125] Step 0113: If the controller receives the response data of the battery sampling chip within the first preset time period and determines that the battery sampling chip does not have a response abnormality, then the process proceeds to the step of acquiring the first battery data and the second battery data (i.e., step 012) when the battery sampling chip does not have a response abnormality.
[0126] Specifically, the controller receives response data from the battery sampling chip within the first preset time period, indicating that there is no abnormality in the communication between the controller and the battery sampling chip. In this way, the controller can perform sampling abnormality detection based on the first battery data and the second battery data to obtain an abnormality detection result. In this way, the controller sends request data, the battery sampling chip replies with response data, and the communication between the controller and the battery sampling chip is detected, so that the abnormality of the battery sampling chip communication can be detected.
[0127] Step 0114: if the controller does not receive response data from the battery sampling chip within a first preset time period, it is determined whether the number of non-response times reaches a preset number of response times;
[0128] The preset number of responses is a preset number of responses, and can be adjusted as needed.
[0129] Specifically, if the controller does not receive response data from the battery sampling chip within the first preset time period, in order to further determine the abnormal situation, the controller counts the number of non-responses and compares the number of non-responses with the preset number of responses.
[0130] Step 0115: If the number of unresponsive times does not reach the preset number of responses, the number of unresponsive times is increased by 1, and the process of sending request data to the battery sampling chip (i.e., step 0111) is performed again;
[0131] Specifically, if the controller does not receive response data from the battery sampling chip within the first preset time length, and the number of unresponses does not reach the preset number of responses, the number of unresponses is increased by 1, and the controller enters the step of sending request data to the battery sampling chip (i.e., step 0111). If the number of unresponses does not reach the preset number of responses, multiple cycles are performed to confirm and determine.
[0132] Step 0116: If the number of unresponse times reaches the preset number of response times, it is determined that the battery sampling chip responds abnormally.
[0133] Specifically, if the controller does not receive response data from the battery sampling chip within the first preset time period, and the number of non-response times reaches the preset response number, it is determined that there is no abnormality in the communication between the controller and the battery sampling chip, and there is no abnormality in the power supply of the battery sampling chip, but there is an abnormality in the response of the battery sampling chip.
[0134] In this way, by refining the communication conditions of the battery sampling chip multiple times and performing abnormality judgment, it is possible to accurately judge whether there is an abnormality in the battery sampling chip and accurately locate the type of abnormality.
[0135] See also Figure 7 In some embodiments, the anomaly detection method further includes step 015, step 016 and step 017:
[0136] Step 015: Determine whether the supply voltage is consistent with the preset supply voltage;
[0137] The preset power supply voltage is a preset voltage used by the battery pack to supply power to the battery sampling chip.
[0138] Specifically, the controller first obtains the power supply voltage provided by the power supply to the battery sampling chip, and compares the power supply voltage with a preset power supply voltage.
[0139] Step 016: If the power supply voltage is inconsistent with the preset power supply voltage, it is determined that the power supply of the battery sampling chip is abnormal;
[0140] Specifically, if the power supply voltage provided by the power supply to the battery sampling chip is not at the preset power supply voltage, it is determined that the power supply voltage is inconsistent with the preset power supply voltage, thereby determining that there is an abnormality in the power supply of the battery sampling chip. Step 017: If the power supply voltage is consistent with the preset power supply voltage, then enter the step of determining whether the battery sampling chip has a response abnormality based on the response data of the battery sampling chip (i.e., step 011).
[0141] Specifically, if the power supply voltage of the battery sampling chip is consistent with the preset power supply voltage, indicating that there is no abnormality in the power supply of the battery sampling chip, then the process enters the step of determining whether there is a response abnormality in the battery sampling chip based on the response data of the battery sampling chip (i.e., step 011), and determines whether there is a response abnormality in the battery sampling chip.
[0142] See also Figure 8 In some embodiments, the anomaly detection method further includes steps 018, 019, 020, 021, and 022:
[0143] Step 018: Based on the verification information, perform data verification on the acquired second battery data to obtain a verification result, where the verification result includes verification pass or verification fail;
[0144] The verification information is additional data used to verify the accuracy, integrity and consistency of data. For example, the verification information may be a part of the second battery data, which is generated based on the battery sampling information and cyclic redundancy check technology in the second battery data. The battery sampling information includes the pack voltage and current of the battery pack and the cell voltage of each battery cell. The first redundant information of the battery sampling information is obtained by performing cyclic redundancy check technology on the battery sampling information, and the first redundant information is added to the end of the battery sampling information.
[0145] Specifically, after the controller obtains the second battery data, it processes the obtained battery sampling information through cyclic redundancy check technology to obtain second redundant information of the battery sampling information, compares and analyzes the first redundant information with the second redundant information to obtain a result, which is used as the verification result. The result has two types, namely, verification passed and verification failed.
[0146] In this way, the integrity and accuracy of the battery sampling information in the second battery data can be verified.
[0147] Step 019: When the verification result is that the verification is passed, the second battery data is stored;
[0148] Specifically, if the result of comparing and analyzing the first redundant information with the second redundant information is that the verification passes, the second battery data is stored.
[0149] Step 020: If the verification result is verification failure, discard the second battery data and determine whether the number of verification failures has reached a preset verification number;
[0150] The preset number of verification times is a preset number of verification times and can be adjusted as needed.
[0151] Specifically, if the result of comparing and analyzing the first redundant information with the second redundant information is that the verification fails, the controller discards the second battery data obtained this time, and then determines whether the number of verification failures has reached a preset number of verifications for subsequent processing.
[0152] Step 021: If the number of times the verification fails does not reach the preset number of times, the number of times the verification fails is increased by 1, and the step of obtaining the first battery data and the second battery data (ie, step 011) is entered;
[0153] Specifically, if the result of the comparison and analysis of the first redundant information and the second redundant information is that the verification fails, and the number of verification failures does not reach the preset verification number, the number of verification failures is increased by 1, and the step of obtaining the first battery data and the second battery data (i.e., step 011) is entered. When the number of verification failures does not reach the preset verification number, multiple confirmations are performed to make a judgment.
[0154] Step 022: If the number of verification failures has reached a preset number of verification times, it is determined that the battery sampling chip data verification is abnormal.
[0155] Specifically, if the result of comparing and analyzing the first redundant information with the second redundant information is that the verification fails, and the number of verification failures has reached a preset verification number, it indicates that there is an abnormality in the data verification of the battery sampling chip.
[0156] In this way, by refining the communication conditions of the battery sampling chip multiple times and performing abnormality judgment, it is possible to accurately judge whether there is an abnormality in the battery sampling chip and accurately locate the type of abnormality.
[0157] See also Fig. 9 In some embodiments, the anomaly detection method further includes steps 023, 024, 025, and 026:
[0158] Step 023: updating the current cell voltage of each battery cell, and the current pack voltage and current current of the battery pack based on the second battery data;
[0159] Specifically, based on the second battery data acquired by the battery sampling chip, the controller acquires and updates the current cell voltage of each battery cell, and the current pack voltage and current current of the battery pack.
[0160] Step 024: within the second preset time period, based on the current cell voltage of each battery cell, and the current pack voltage and current current of the battery pack, an update detection is performed to obtain an update detection result;
[0161] The second preset time length is a pre-set length of time. The second preset time length can be adjusted according to the sampling period of the battery sampling chip. For example, if the sampling period of the battery sampling chip is 50 milliseconds, the second preset time length can be set to 2 seconds.
[0162] Specifically, within the second preset time period, the controller compares the current cell voltage of each battery cell in the acquired second battery data, the current pack voltage and the current current of the battery pack with the current cell voltage of each battery cell in the originally stored second battery data, and the current pack voltage and the current current of the battery pack, and obtains a result, which is the updated detection result. The updated detection result includes no change and change.
[0163] Step 025: within the second preset time period, if the current cell voltage of each battery cell, the current pack voltage and the current current of the battery pack do not change, it is determined that the data update of the battery sampling chip is abnormal;
[0164] Specifically, within the second preset time period, if the current cell voltage of each battery cell in the acquired second battery data, and the current pack voltage and the current current of the battery pack are compared with the current cell voltage of each battery cell in the originally stored second battery data, and the current pack voltage and the current current of the battery pack, and there is no change, then it is determined that there is an abnormality in the data update of the battery sampling chip.
[0165] Step 026: Within the second preset time period, if the current cell voltage of each battery cell and the current pack voltage and current current of the battery pack change, enter the sampling abnormality detection based on the first battery data and the second battery data to obtain the abnormality detection result. The abnormality detection result includes the step of whether there is a sampling abnormality (i.e., step 013).
[0166] Specifically, within the second preset time period, if the current cell voltage of each battery cell in the acquired second battery data, the current pack voltage and the current current of the battery pack are compared with the current cell voltage of each battery cell in the originally stored second battery data, and the current pack voltage and the current current of the battery pack, and there is a change, then sampling anomaly detection is performed based on the first battery data and the second battery data to obtain an anomaly detection result, and the anomaly detection result includes a step of whether there is a sampling anomaly (i.e., step 013).
[0167] In this way, it is possible to accurately detect whether there is an abnormality in the data update of the battery sampling chip.
[0168] See also Fig.10 In some embodiments, the anomaly detection method further includes:
[0169] Step 030: Determine whether there is a power supply abnormality;
[0170] The specific details have been described in detail in steps 015 to 017 of the above-mentioned abnormality detection method embodiment, and will not be repeated here.
[0171] Step 031: Determine whether there is a response abnormality;
[0172] The specific details have been described in detail in steps 0111 to 0116 of the above-mentioned abnormality detection method embodiment, and will not be repeated here.
[0173] Step 032: Determine whether there is a verification anomaly;
[0174] The specific details have been described in detail in steps 018 to 022 of the above-mentioned abnormality detection method embodiment, and will not be repeated here.
[0175] Step 033: Determine whether there is a data update anomaly;
[0176] The specific details have been described in detail in steps 023 to 026 of the above-mentioned abnormality detection method embodiment, and will not be repeated here.
[0177] Step 034: Determine whether there is sampling abnormality;
[0178] The specific details have been described in detail in step 014 and steps 0131 to 0133 of the above-mentioned abnormality detection method embodiment, and will not be repeated here.
[0179] Step 035: Confirm that there is no abnormality in the battery sampling chip;
[0180] The specific details have been described in detail in the embodiment of the above-mentioned abnormality detection method, such as step 017, step 0113, step 019, and step 026, and will not be repeated here.
[0181] Step 036: Based on the detected abnormal information, an abnormal alarm prompt is issued.
[0182] Specifically, according to the detected abnormal information, which may be sampling abnormality, power supply abnormality, response abnormality, verification abnormality, data update abnormality, the controller issues an abnormality alarm prompt.
[0183] According to the method described in the above embodiment, the present application embodiment also provides an abnormality detection device 200, which is used to perform the steps in the above abnormality detection method. Fig.11 , Fig.11 : is a schematic diagram of a module of an abnormality detection device 200 provided in an embodiment of the present application. The abnormality detection device 200 includes:
[0184] An acquisition module 201, configured to acquire the first battery data and the second battery data;
[0185] The anomaly detection module 202 is used to perform sampling anomaly detection based on the first battery data and the second battery data to obtain an anomaly detection result.
[0186] It should be noted that the specific details of each module unit in the above-mentioned abnormality detection device have been described in detail in the embodiment of the above-mentioned abnormality detection method, and will not be repeated here.
[0187] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.
[0188] In some embodiments, the anomaly detection device in the embodiments of the present application can be implemented in hardware, such as an electronic device or a component in an electronic device, such as an integrated circuit or a chip; the management device can also be implemented in software, such as as an application installed in an electronic device.
[0189] In some embodiments, see Fig.12 , Fig.12 3 is a schematic diagram of the structure of the controller 300 provided in the embodiment of the present application. The controller 300 includes a processor 301 and a memory 302. The memory 302 stores a computer program 303 that can be run on the processor 301. When the program 303 is executed by the processor 301, each process of the embodiment of the above-mentioned abnormality detection method is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0190] An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the embodiment of the above-mentioned anomaly detection method are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0191] The processor may be a processor in the electronic device in the above embodiment. The computer readable storage medium may be a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0192] Computer readable media may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), flash memory or other solid-state memory technology, CD-ROM, Digital Versatile Disc (DVD) or other optical storage, cassettes, magnetic tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will know that computer storage media are not limited to the above.
[0193] In the description of this specification, the descriptions with reference to the terms "certain embodiments", "in an example", "exemplarily", etc., mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0194] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0195] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.
Claims
1. An anomaly detection method, characterized in that: Applied to energy storage equipment, the energy storage equipment includes a battery pack, a controller and a battery sampling chip, the controller and the battery sampling chip are both connected to the battery pack, the controller is used to collect first battery data of the battery pack, the battery sampling chip is used to collect second battery data of the battery pack, the controller and the battery sampling chip are communicatively connected, and the method includes: Based on the response data of the battery sampling chip, determining whether the battery sampling chip has a response abnormality; When the battery sampling chip does not have abnormal response, acquiring the first battery data and the second battery data; Based on the first battery data and the second battery data, sampling abnormality detection is performed to obtain an abnormality detection result, where the abnormality detection result includes whether a sampling abnormality exists.
2. The anomaly detection method according to claim 1, characterized in that: The performing anomaly detection based on the first battery data and the second battery data to obtain an anomaly detection result includes: When the first battery data and the second battery data are consistent, determining that there is no sampling abnormality; In a case where the first battery data and the second battery data are inconsistent, it is determined that a sampling abnormality exists.
3. The anomaly detection method according to claim 1, characterized in that: The battery pack includes a plurality of battery cells, the second battery data collected by the battery sampling chip includes the cell voltage of each battery cell and the pack voltage of the battery pack, and the method further includes: Calculating a voltage difference between the pack voltage and a total voltage of cell voltages of all the battery cells; The performing sampling anomaly detection based on the first battery data and the second battery data to obtain an anomaly detection result, wherein the anomaly detection result includes whether a sampling anomaly exists, including: Based on the first battery data, the second battery data and the voltage difference, abnormality detection is performed to obtain an abnormality detection result.
4. The anomaly detection method according to claim 3, characterized in that: The performing abnormality detection based on the first battery data, the second battery data, the voltage difference and the preset difference threshold to obtain the abnormality detection result includes: In the case where the voltage difference is greater than a preset difference threshold, if the first battery data and the second battery data are inconsistent, determining that the battery sampling chip sampling is abnormal; When the voltage difference is less than or equal to a preset difference threshold, if the first battery data and the second battery data are consistent, it is determined that there is no sampling abnormality in both the controller and the battery sampling chip; When the voltage difference is less than or equal to a preset difference threshold, if the first battery data and the second battery data are inconsistent, it is determined that a sampling abnormality exists in the controller but no sampling abnormality exists in the battery sampling chip.
5. The anomaly detection method according to claim 1, characterized in that: The first battery data and the second battery data both include a pack voltage and a current of the battery pack.
6. The anomaly detection method according to claim 1, characterized in that: The determining whether the battery sampling chip has a response abnormality based on the response data of the battery sampling chip includes: Sending request data to the battery sampling chip; Determining whether the controller receives response data from the battery sampling chip within a first preset time period; When the response data is received, it is determined that the battery sampling chip does not have a response abnormality, and then the step of acquiring the first battery data and the second battery data is performed when the battery sampling chip does not have a response abnormality; In the case where the response data is not received, determining whether the number of non-response times reaches a preset number of response times; If the number of unresponsive times does not reach the preset number of responses, the number of unresponsive times is increased by 1, and the step of sending the request data to the battery sampling chip is entered again; If the number of unresponse times reaches the preset number of response times, it is determined that the battery sampling chip responds abnormally.
7. The abnormality detection method according to claim 1 or 6, characterized in that: The controller is also used to collect the power supply voltage of the battery sampling chip. The method also includes: Determining whether the supply voltage is consistent with a preset supply voltage; If the power supply voltage is inconsistent with the preset power supply voltage, it is determined that the power supply of the battery sampling chip is abnormal; If the power supply voltage is consistent with the preset power supply voltage, the step of determining whether the battery sampling chip has an abnormal response based on the response data of the battery sampling chip is entered.
8. The anomaly detection method according to claim 1, characterized in that: The second battery data collected by the battery sampling chip includes battery sampling information and verification information, the verification information is generated based on the battery sampling information, and the method further includes: Based on the verification information, perform data verification on the acquired second battery data to obtain a verification result, wherein the verification result includes verification pass or verification fail; If the verification result is that the verification is passed, storing the second battery data; If the verification result is a verification failure, discarding the second battery data and determining whether the number of verification failures has reached a preset number of verifications; If not, the number of times the verification fails is increased by 1, and the step of obtaining the first battery data and the second battery data is entered; If so, it is determined that the data verification of the battery sampling chip is abnormal.
9. The abnormality detection method according to claim 1, characterized in that: The battery pack includes a plurality of battery cells, the second battery data includes a cell voltage of each battery cell, and a pack voltage and current of the battery pack, and the method further includes: updating the current cell voltage of each of the battery cells, and the current pack voltage and current current of the battery pack based on the second battery data; Within a second preset time period, based on the current cell voltage of each of the battery cells, and the current pack voltage and current current of the battery pack, an update detection is performed to obtain an update detection result; Within the second preset time period, if the current cell voltage of each of the battery cells, and the current pack voltage and current current of the battery pack do not change, it is determined that the data update of the battery sampling chip is abnormal; Within the second preset time period, if the current cell voltage of each battery cell and the current pack voltage and current current of the battery pack change, sampling abnormality detection is performed based on the first battery data and the second battery data to obtain an abnormality detection result, and the abnormality detection result includes a step of whether there is a sampling abnormality.
10. The abnormality detection method according to any one of claims 1 to 9, characterized in that: The method further comprises: Based on the detected abnormal information, an abnormal alarm prompt is issued.
11. An abnormality detection device, characterized in that: Applied to energy storage equipment, the energy storage equipment includes a battery pack, a controller and a battery sampling chip, the controller and the battery sampling chip are both connected to the battery pack, the controller is used to collect first battery data of the battery pack, the battery sampling chip is used to collect second battery data of the battery pack, the controller and the battery sampling chip are communicatively connected, and the device includes: An acquisition module, used for acquiring the first battery data and the second battery data; The abnormality detection module is used to perform sampling abnormality detection based on the first battery data and the second battery data to obtain an abnormality detection result.
12. An energy storage device, characterized in that: include: A battery pack, wherein the battery pack is used to provide first battery data and second battery data; A battery sampling chip, wherein the battery sampling chip collects second battery data of the battery pack; A controller, wherein the controller is used to execute the abnormality detection method according to any one of claims 1 to 10.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the abnormality detection method according to any one of claims 1 to 10 is implemented.