Battery anomaly detection method, device and equipment and storage medium

By using binary bitwise operations in the battery management system to determine the target dry contact point for alarm triggering, the flexibility problem of dry contact alarm configuration is solved, alarm judgment efficiency is improved, and resource consumption is reduced.

CN120908702AActive Publication Date: 2025-11-07HANGZHOU HUASU TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202511450218.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-11
Publication Date
2025-11-07
Estimated Expiration
2045-10-11

AI Technical Summary

Technical Problem

In existing technologies, dry contacts are directly bound to alarms, which lacks configurability and cannot flexibly express combined alarm logic. Furthermore, frequent traversal and judgment on resource-constrained embedded platforms lead to performance burden.

Method used

By performing bitwise operations on the current abnormal information in binary form and the alarm configuration information of the preset dry contact, the target dry contact that triggers the alarm is determined, enabling flexible configuration of alarm triggering conditions, and requiring only bitwise operations during the judgment.

Benefits of technology

It improves the efficiency of alarm triggering and judgment, reduces the consumption of processing resources, and is suitable for embedded resource-constrained environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120908702A_ABST
    Figure CN120908702A_ABST
Patent Text Reader

Abstract

The invention relates to a battery anomaly detection method and device, equipment and a storage medium. The method comprises the steps of obtaining current anomaly information of a target battery management system; the current abnormal information comprises a target battery pack identifier which corresponds to the abnormal battery pack and is represented by a binary system and target abnormal detail information; performing AND operation on the target battery pack identifier and the target abnormal detail information with preset alarm configuration information corresponding to each preset dry contact to obtain a bit operation result corresponding to each preset dry contact; determining a target dry contact based on the bit operation result; and outputting target alarm information based on the output polarity of the target dry contact. According to the method and the device, the current abnormal information in the binary form and the preset alarm configuration information in the binary form corresponding to each preset dry contact are subjected to bit operation to determine the target dry contact for triggering the alarm, and only bit operation is needed during alarm triggering judgment, so that the alarm triggering judgment efficiency is improved, and the occupation of processing resources is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of batteries, in particular to a battery abnormality detection method, device, equipment and storage medium. BACKGROUND

[0002] Dry contacts are often used in battery management systems (BMS) to output various fault or abnormal information to external devices, such as audible and visual alarms, relays, monitoring systems, etc. However, the prior art has the following problems: the dry contacts in the prior art are directly bound to a specific alarm, lacking configurability; it does not support multiple alarm trigger condition combinations and cannot flexibly express combined alarm logic; the judgment of alarm triggering usually needs to traverse the entire system state list and nest multiple layers of judgment statements, which is complex to implement; on resource-limited embedded platforms, frequent traversal and judgment can cause performance burden. SUMMARY

[0003] To solve the above technical problems, the present application discloses a battery abnormality detection method, device, equipment and storage medium, which determines the target dry contact that triggers the alarm by performing bit operation on the binary form of the current abnormality information and the binary form of the preset alarm configuration information corresponding to each preset dry contact. When performing alarm trigger judgment, only bit operation is required, which improves the alarm trigger judgment efficiency and reduces the occupation of processing resources.

[0004] In one aspect, the present application provides a battery abnormality detection method, which is applied to a target battery management system including a plurality of battery packs and a plurality of preset dry contacts, and the method includes: obtaining current abnormality information of the target battery management system; the current abnormality information includes a target battery pack identifier corresponding to an abnormal battery pack represented in binary and target abnormality detail information; performing AND operation on the target battery pack identifier and the target abnormality detail information and preset alarm configuration information corresponding to each preset dry contact, respectively, to obtain a bit operation result corresponding to each preset dry contact; the preset alarm configuration information includes a preset battery pack identifier, preset alarm detail information and output polarity represented in binary; determining a target dry contact based on the bit operation result; the preset battery pack identifier corresponding to the target dry contact matches the target battery pack identifier, and the preset alarm detail information corresponding to the target dry contact matches the target abnormality detail information; outputting target alarm information based on the output polarity of the target dry contact.

[0005] In some embodiments, before the obtaining the current abnormality information of the target battery management system, the method further includes: obtain alarm trigger information corresponding to each preset dry contact point; the alarm trigger information represents an alarm trigger condition corresponding to each preset dry contact point in binary form; map the alarm trigger information to a preset alarm structure corresponding to each preset dry contact point respectively to obtain preset alarm configuration information corresponding to each preset dry contact point; the preset alarm structure includes a battery pack identifier member, an alarm level member, an alarm type member, and an output polarity member.

[0006] In some embodiments, the preset alarm detail information includes a preset alarm level and a preset alarm type, and the operation of mapping the alarm trigger information to the preset alarm structure corresponding to each preset dry contact point respectively to obtain the preset alarm configuration information corresponding to each preset dry contact point includes: value the battery pack identifier member, the alarm level member, the alarm type member, and the output polarity member corresponding to each preset dry contact point based on the alarm trigger information respectively to obtain a preset battery pack identifier, a preset alarm level, a preset alarm type, and an output polarity corresponding to each preset dry contact point.

[0007] In some embodiments, the target abnormality detail information includes a target abnormality level and a target abnormality type, and the operation of obtaining the current abnormality information of the target battery management system includes: obtain current working state information of each battery pack; determine the abnormal battery pack and initial abnormality information corresponding to the abnormal battery pack based on the current working state information; the initial abnormality information includes an initial battery pack identifier and initial abnormality detail information, and the initial abnormality detail information includes an initial abnormality level and an initial abnormality type; convert the initial battery pack identifier into the target battery pack identifier represented in binary form, convert the initial abnormality level into the target abnormality level represented in binary form, and convert the initial abnormality type into the target abnormality type represented in binary form; determine the current abnormality information based on the target battery pack identifier, the target abnormality level, and the target abnormality type.

[0008] In some embodiments, the target abnormality detail information includes a target abnormality level and a target abnormality type, and the preset alarm detail information includes a preset alarm level and a preset alarm type, and the operation of performing an AND operation on the target battery pack identifier and the target abnormality detail information with the preset alarm configuration information corresponding to each preset dry contact point respectively to obtain a bit operation result corresponding to each preset dry contact point includes: performing an AND operation between the target battery pack identifier and a preset battery pack identifier corresponding to each preset dry contact to obtain a first operation result corresponding to each preset dry contact; performing an AND operation between the target abnormality level and a preset alarm level corresponding to each preset dry contact to obtain a second operation result corresponding to each preset dry contact; performing an AND operation between the target abnormality type and a preset alarm type corresponding to each preset dry contact to obtain a third operation result corresponding to each preset dry contact; determining a bit operation result corresponding to each preset dry contact based on the first operation result, the second operation result, and the third operation result.

[0009] In some embodiments, the preset alarm type includes at least one preset alarm sub-type, and the determining the target dry contact based on the bit operation result includes: in a case where the bit operation result indicates that the preset battery pack identifier is consistent with the target battery pack identifier, the preset alarm level is consistent with the target abnormality level, and one of the preset alarm sub-types is consistent with the target abnormality type, determining the preset dry contact corresponding to the bit operation result as the target dry contact.

[0010] In some embodiments, the outputting the target alarm information based on the output polarity of the target dry contact includes: determining a target state of the target dry contact based on the output polarity of the target dry contact; in a case where the output polarity of the target dry contact indicates that the target dry contact is a normally open dry contact, the target state is that the target dry contact is closed; in a case where the output polarity of the target dry contact indicates that the target dry contact is a normally closed dry contact, the target state is that the target dry contact is open; generating a target control instruction based on the target state; the target control instruction is used to instruct the target dry contact to output the target alarm information.

[0011] In another aspect, the present application also provides a battery abnormality detection device, which is applied to a target battery management system including a plurality of battery packs and a plurality of preset dry contacts, and includes: a current abnormality information acquisition module, configured to acquire current abnormality information of the target battery management system; the current abnormality information includes a target battery pack identifier corresponding to an abnormal battery pack and represented in binary and target abnormality detail information; The bit operation module is configured to perform AND operation on the target battery pack identifier and the target abnormality detail information respectively and preset alarm configuration information corresponding to each preset dry contact to obtain a bit operation result corresponding to each preset dry contact. The preset alarm configuration information includes preset battery pack identifiers, preset alarm detail information and output polarity represented in binary. The trigger dry contact determination module is configured to determine a target dry contact based on the bit operation result. The preset battery pack identifier corresponding to the target dry contact matches the target battery pack identifier, and the preset alarm detail information corresponding to the target dry contact matches the target abnormality detail information. The alarm information output module is configured to output target alarm information based on the output polarity of the target dry contact.

[0012] In another aspect, the present application also provides an electronic device including a processor and a memory. The memory stores at least one instruction or at least one program. The at least one instruction or the at least one program is loaded and executed by the processor to implement the battery abnormality detection method as described above.

[0013] In another aspect, the present application also provides a computer-readable storage medium. The storage medium stores at least one instruction or at least one program. The at least one instruction or the at least one program is loaded and executed by a processor to implement the battery abnormality detection method as described above.

[0014] The implementation of the present application has the following beneficial effects: The battery abnormality detection method disclosed in the present application represents the current abnormality information of the target battery management system and the preset alarm configuration information corresponding to each preset dry contact in binary form. The target dry contact triggering alarm is determined by performing bit operation on the binary form of the current abnormality information and the binary form of the preset alarm configuration information corresponding to each preset dry contact. The target alarm information is output based on the output polarity of the target dry contact. The preset alarm configuration information corresponding to the preset dry contact includes the preset battery pack identifier, the preset alarm detail information and the output polarity. That is, the alarm triggering condition of the preset dry contact can be configured as a combination of multiple conditions, realizing flexible configuration of the dry contact alarm triggering condition. Only bit operation is required when determining the alarm triggering condition, improving the alarm triggering determination efficiency, reducing the occupation of processing resources, and adapting to the embedded resource limited environment. BRIEF DESCRIPTION OF DRAWINGS

[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the accompanying drawings in the following description only constitute some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.

[0016] Figure 1 A flowchart of a battery abnormality detection method provided by an embodiment of the present application; Figure 2 A flowchart of a dry contact configuration method provided by an embodiment of the present application; Figure 3 A flowchart of an information matching method provided by an embodiment of the present application; Figure 4 A structural diagram of a battery abnormality detection device provided by an embodiment of the present application; Figure 5 A hardware structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solutions and advantages of the present application more clear, the present application will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments only constitute some embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0018] In the description of the present application, it should be understood that the terms "first", "second" are only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features limited by "first", "second" can explicitly or implicitly include one or more of the features. Moreover, the terms "first", "second" and the like are applicable to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that the information thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0019] Referring to Figure 1 , Figure 1 A flowchart of a battery abnormality detection method provided by an embodiment of the present application, the method is applied to a target battery management system, specifically applied to a controller of the target battery management system, the target battery management system includes a plurality of battery packs and a plurality of preset dry contacts, the method includes: S101, obtaining current abnormal information of the target battery management system; the current abnormal information includes a target battery group identifier corresponding to an abnormal battery group and target abnormal detail information represented in binary form; In some embodiments, the running state of the battery group is collected by a collector in the target battery management system, and the state information collected by the collector is processed by a controller of the target battery management system to determine an abnormal battery group and current abnormal information corresponding to the abnormal battery group. The current abnormal information is represented in binary form and includes a target battery group identifier corresponding to the abnormal battery group and target abnormal detail information. The target battery group identifier is used to distinguish between battery groups, and the target battery group identifier can be a battery group number. The target abnormal detail information refers to specific information related to the abnormality, including a target abnormality level and a target abnormality type. The target abnormality level refers to the severity of the abnormality.

[0020] In some embodiments, the target battery management system can be an uninterruptible power system (UPS), a communication base station, a power storage system, or other BMS systems.

[0021] S103, performing a bitwise operation on the target battery group identifier and the target abnormal detail information with preset alarm configuration information corresponding to each preset dry contact point, respectively, to obtain a bitwise operation result corresponding to each preset dry contact point; the preset alarm configuration information includes a preset battery group identifier, preset alarm detail information, and output polarity represented in binary form; In some embodiments, a preset dry contact point refers to a switch-type signal contact point without voltage, without polarity, and without actively providing power. Each preset dry contact point corresponds to an alarm triggering strategy, i.e., preset alarm configuration information. The preset alarm configuration information is represented in binary form and includes a preset battery group identifier, preset alarm detail information, and output polarity. The preset alarm configuration information is a combination of multiple alarm triggering conditions, wherein the preset alarm detail information includes a preset alarm level and a preset alarm type. The output polarity refers to whether the preset dry contact point is a normally open dry contact point or a normally closed dry contact point.

[0022] In some embodiments, the current abnormal information in binary form is subjected to a bitwise operation with the preset alarm configuration information in binary form corresponding to each preset dry contact point to obtain a bitwise operation result corresponding to each preset dry contact point. The bitwise operation specifically refers to an AND operation. The bitwise operation is used to determine which preset alarm configuration information corresponding to each preset dry contact point matches the current abnormal information, i.e., which preset dry contact point can be triggered by the current abnormal information to generate an alarm.

[0023] S105, determine a target dry contact point based on the bit operation result; the target dry contact point corresponds to a preset battery pack identifier matching the target battery pack identifier, and the target dry contact point corresponds to preset alarm detail information matching the target abnormal detail information; In some embodiments, the preset dry contact point with the preset battery pack identifier matching the target battery pack identifier and the preset alarm detail information matching the target abnormal detail information is determined as the target dry contact point, i.e. the dry contact point triggering the alarm.

[0024] S107, output target alarm information based on the output polarity of the target dry contact point.

[0025] In some embodiments, the state of the target dry contact point is switched according to the output polarity of the target dry contact point triggering the alarm, and the target alarm information is output through the state switching of the target dry contact point.

[0026] In some embodiments, referring to Figure 2 , Figure 2 A flowchart of a dry contact point configuration method provided by the embodiments of the present application, before the step of obtaining the current abnormal information of the target battery management system, the method further comprises: S201, obtain alarm triggering information corresponding to each preset dry contact point; the alarm triggering information represents alarm triggering conditions corresponding to each preset dry contact point in binary form; In some embodiments, the alarm triggering information is represented in binary form, which is used to define the alarm triggering conditions of the preset dry contact point. Specifically, the alarm triggering information is a multi-bit unsigned integer DryContactTrigger, each bit represents a configuration information, for example, DryContactTrigger can be a 32-bit unsigned integer, wherein bit0 represents device alarm, bit1 represents communication alarm, bit2 represents voltage alarm, bit3 represents internal resistance alarm, bit4 represents temperature alarm, …, bit11 represents first-level alarm, bit12 represents second-level alarm, …, bit16 represents the first battery pack, bit17 represents the second battery pack, ….

[0027] S203, map the alarm triggering information to the preset alarm structure corresponding to each preset dry contact point respectively to obtain preset alarm configuration information corresponding to each preset dry contact point; the preset alarm structure includes a battery pack identifier member, an alarm level member, an alarm type member and an output polarity member.

[0028] In some embodiments, the preset alarm structure corresponding to each preset dry contact point includes a battery pack identifier member, an alarm level member, an alarm type member and an output polarity member. Specifically, the preset alarm structure is as follows: typedef struct DryContactCtrl { uint8 DetectRankAndOppBitMap; / / bit0~bit3: alarm level; bit7: output polarity uint16 DetectStringBitMap; / / Battery pack identifier uint16 DetectInfoBitMap[5]; / / Alarm type Dry_Ctrl_t; Among them, the 8-bit DetectRankAndOppBitMap represents the alarm level member and the output polarity member, the 16-bit DetectStringBitMap represents the battery pack identifier member, and the n×16-bit DetectInfoBitMap represents the alarm type member. n can be determined according to the total number of alarm subtypes included in each alarm type. For example, alarm types can include device alarms, communication alarms, voltage alarms, internal resistance alarms, and temperature alarms. Among them, voltage alarms can include two alarm subtypes: low voltage alarm and high voltage alarm, and temperature alarms can include two alarm subtypes: low temperature alarm and high temperature alarm. The value of n is determined according to the number of all alarm subtypes. The above preset alarm structure takes n=5 as an example, that is, the number of alarm subtypes is less than or equal to 16×5=80.

[0029] In some embodiments, the alarm triggering information corresponding to each preset dry contact is parsed and mapped to the preset alarm structure corresponding to each preset dry contact, thereby configuring each member in the preset alarm structure.

[0030] In this embodiment, the alarm triggering information corresponding to each preset dry contact is mapped to the preset alarm structure corresponding to each preset dry contact, thereby configuring the alarm triggering conditions for each preset dry contact and obtaining the preset alarm configuration information corresponding to each preset dry contact. The preset alarm configuration information corresponding to the preset dry contact includes the preset battery pack identifier, preset alarm details and output polarity. That is, the alarm triggering conditions of the preset dry contact can be configured as a combination of multiple conditions, realizing the flexible configuration of the dry contact alarm triggering conditions.

[0031] In some embodiments, the preset alarm details include a preset alarm level and a preset alarm type. Mapping the alarm triggering information to the preset alarm structure corresponding to each preset dry contact to obtain the preset alarm configuration information corresponding to each preset dry contact includes: The battery group identification member, the alarm level member, the alarm type member and the output polarity member corresponding to each preset dry contact are respectively assigned values based on the alarm trigger information corresponding to the preset dry contact, to obtain the preset battery group identification, the preset alarm level, the preset alarm type and the output polarity corresponding to each preset dry contact.

[0032] In some embodiments, for each bit of the DryContactTrigger, 1 indicates that the corresponding configuration is turned on, and 0 indicates that the corresponding configuration is turned off. Each member in the preset alarm structure corresponding to each preset dry contact is assigned a value based on the alarm trigger information corresponding to each preset dry contact, to realize the configuration of the alarm trigger condition corresponding to each preset dry contact. For example, for the DryContactTrigger of 32 bits in the foregoing example, bit2, bit11 and bit16 are 1, which means that the preset dry contact is configured to trigger an alarm when a first battery group has a first voltage alarm, i.e., the trigger condition of the preset dry contact is that the first battery group has a first voltage alarm.

[0033] It should be noted that each preset dry contact corresponds to an alarm strategy, and an alarm strategy includes a plurality of alarm trigger conditions. When the plurality of alarm trigger conditions are all met, the corresponding preset dry contact is triggered. That is, each preset dry contact corresponds to a group of battery groups, an alarm level and an alarm type. However, since the alarm type member in the preset alarm structure is a specific alarm sub-type, the configuration of the preset alarm type is a one-to-many configuration. That is, if a certain alarm type bit in the alarm trigger information is 1, all alarm sub-types included in the alarm type need to be set to 1 when the alarm type bit is mapped to the alarm type member in the preset alarm structure corresponding to the preset dry contact. For example, for the DryContactTrigger of bit2, bit11 and bit16 being 1 in the foregoing example, it means that one of the alarm trigger conditions of the corresponding preset dry contact is a voltage alarm. When it is mapped to the alarm type member in the preset alarm structure corresponding to the preset dry contact, the bits corresponding to the two alarm sub-types of the voltage alarm and the voltage alarm included in the voltage alarm in the DetectInfoBitMap need to be set to 1, i.e., the preset dry contact can trigger an alarm when the first battery group has a first voltage alarm or the first battery group has a first voltage alarm.

[0034] The embodiment of the application maps the alarm triggering information corresponding to each preset dry contact to the preset alarm structure corresponding to each preset dry contact, realizes the configuration of the alarm triggering condition of each preset dry contact, obtains the preset alarm configuration information corresponding to each preset dry contact, and the preset alarm configuration information corresponding to the preset dry contact includes the preset battery pack identifier, the preset alarm detail information and the output polarity, that is, the alarm triggering condition of the preset dry contact can be configured as a combination of multiple conditions, and flexible configuration of the dry contact alarm triggering condition is realized.

[0035] In some embodiments, the target abnormality detail information includes a target abnormality level and a target abnormality type, the current abnormality information of the target battery management system is obtained, including: obtaining the current working state information of each battery pack; determining the abnormal battery pack and the initial abnormality information corresponding to the abnormal battery pack based on the current working state information; the initial abnormality information includes an initial battery pack identifier and initial abnormality detail information, and the initial abnormality detail information includes an initial abnormality level and an initial abnormality type; converting the initial battery pack identifier into the target battery pack identifier represented in binary, converting the initial abnormality level into the target abnormality level represented in binary, and converting the initial abnormality type into the target abnormality type represented in binary; determining the current abnormality information based on the target battery pack identifier, the target abnormality level and the target abnormality type.

[0036] In some embodiments, the current working state of each battery pack is collected by a collector in the target battery management system to obtain the current working state information of each battery pack, and the current working state information can include current temperature information, current voltage information, current internal resistance information, etc.

[0037] In some embodiments, by comparing the current working state information of each battery pack with the corresponding preset state threshold, the abnormal battery pack and the initial abnormality information corresponding to the abnormal battery pack can be determined, and the initial abnormality information includes an initial battery pack identifier, an initial abnormality level and an initial abnormality type, wherein the initial abnormality type corresponds to an alarm sub-type, that is, the initial abnormality type is specific to the sub-type, for example, the initial abnormality information can represent that the first battery pack has a first-level voltage overhigh abnormality.

[0038] In some embodiments, the initial battery pack identifier, the initial abnormality level and the initial abnormality type included in the initial abnormality information are respectively converted into a form represented in binary, to obtain a target battery pack identifier, a target abnormality level and a target abnormality type in binary form, the bits of the target battery pack identifier correspond to the bits of the battery pack identifier member / preset battery pack identifier, the bits of the target abnormality level correspond to the bits of the alarm level member / preset alarm level, and the bits of the target abnormality type correspond to the bits of the alarm type member / preset alarm type. The target abnormality type corresponds to the alarm sub-type, i.e., the target abnormality type is specific to the sub-type, for example, the target abnormality type can represent a voltage too high abnormality or a voltage too low abnormality.

[0039] In other embodiments, an array MappingDetectInfoToRteId can be defined, the size of the array is the same as the alarm type member DetectInfoBitMap in the preset alarm structure, for indexing the initial abnormality information, the initial abnormality information is stored in a register, and the RTE value is stored in the MappingDetectInfoToRteId array, i.e., the address of the register storing the initial abnormality information. Through the register address stored in the MappingDetectInfoToRteId array, the initial abnormality information corresponding to the abnormal battery pack can be obtained, and the initial abnormality information is converted into the current abnormality information corresponding to the bits of the preset alarm configuration information.

[0040] The embodiments of the present application represent the current abnormality information of the target battery management system in binary form, determine the target dry contact triggering alarm by performing bit operation on the binary form of the current abnormality information and the binary form of the preset alarm configuration information corresponding to each preset dry contact. When performing alarm triggering judgment, only bit operation is required, which improves the alarm triggering judgment efficiency, reduces the occupation of processing resources, and adapts to the embedded resource limited environment.

[0041] In some embodiments, referring to Figure 3 , Figure 3 A flowchart of an information matching method provided by the embodiments of the present application is shown, the target abnormality detail information includes a target abnormality level and a target abnormality type, the preset alarm detail information includes a preset alarm level and a preset alarm type, and the target battery pack identifier and the target abnormality detail information are respectively subjected to AND operation with the preset alarm configuration information corresponding to each preset dry contact, to obtain the bit operation result corresponding to each preset dry contact, including: S301, the target battery pack identifier is subjected to AND operation with the preset battery pack identifier corresponding to each preset dry contact, to obtain the first operation result corresponding to each preset dry contact; In some embodiments, since the bits of the target battery pack identification correspond to the bits of the preset battery pack identification, the target battery pack identification and the preset battery pack identification corresponding to each preset dry contact point can be ANDed bit by bit to obtain a first operation result corresponding to each preset dry contact point, i.e., (ContactValue1&Dry_Ctrl[i].DetectStringBitMap), where ContactValue1 is the target battery pack identification, and i is the serial number of the preset dry contact point. The first operation result is in binary form, and if the first operation result is consistent with the target battery pack identification, it indicates that the target battery pack identification matches the preset battery pack identification corresponding to the corresponding preset dry contact point.

[0042] S303, the target abnormality level is ANDed with the preset alarm level corresponding to each preset dry contact point to obtain a second operation result corresponding to each preset dry contact point; In some embodiments, since the bits of the target abnormality level correspond to the bits of the preset alarm level, the target abnormality level and the preset alarm level corresponding to each preset dry contact point can be ANDed bit by bit to obtain a second operation result corresponding to each preset dry contact point, i.e., (ContactValue2&Dry_Ctrl[i].DetectRankAndOppBitMap), where ContactValue2 is the target abnormality level, and i is the serial number of the preset dry contact point. The second operation result is in binary form, and if the second operation result is consistent with the target abnormality level, it indicates that the target abnormality level matches the preset alarm level corresponding to the corresponding preset dry contact point.

[0043] S305, the target abnormality type is ANDed with the preset alarm type corresponding to each preset dry contact point to obtain a third operation result corresponding to each preset dry contact point; In some embodiments, since the bits of the target abnormality type correspond to the bits of the preset alarm type, the target abnormality type and the preset alarm type corresponding to each preset dry contact point can be ANDed bit by bit to obtain a third operation result corresponding to each preset dry contact point, i.e., (ContactValue3[j]&Dry_Ctrl[i].DetectInfoBitMap[j]), where ContactValue3[j] is the target abnormality type, i is the serial number of the preset dry contact point, and j is the serial number of the target abnormality type. The third operation result is in binary form, and if the third operation result is consistent with the target abnormality type, it indicates that the target abnormality type matches the preset alarm type corresponding to the corresponding preset dry contact point.

[0044] S307, determining a bit operation result corresponding to each preset dry joint based on the first operation result, the second operation result and the third operation result.

[0045] In some embodiments, each preset dry joint is polled, and a bit operation result corresponding to each preset dry joint is determined through an AND operation between current abnormal information and preset alarm configuration information corresponding to each preset dry joint, the bit operation result corresponding to each preset dry joint including a first operation result, a second operation result and a third operation result.

[0046] Embodiments of the present application represent current abnormal information of a target battery management system and preset alarm configuration information corresponding to each preset dry joint in binary form, and determine a target dry joint triggering an alarm by performing a bit operation between binary-form current abnormal information and binary-form preset alarm configuration information corresponding to each preset dry joint. When performing alarm triggering judgment, only a bit operation is needed, which improves alarm triggering judgment efficiency, reduces the occupation of processing resources, and adapts to embedded resource-limited environments.

[0047] In some embodiments, the preset alarm type includes at least one preset alarm sub-type, and the determination of the target dry joint based on the bit operation result includes: In the case where the bit operation result represents that the preset battery pack identifier is consistent with the target battery pack identifier, the preset alarm level is consistent with the target abnormal level, and one of the preset alarm sub-types in the preset alarm type is consistent with the target abnormal type, the preset dry joint corresponding to the bit operation result is determined as the target dry joint.

[0048] In some embodiments, a preset dry joint with a preset battery pack identifier consistent with a target battery pack identifier, a preset alarm level consistent with a target abnormal level, and one of the preset alarm sub-types in the preset alarm type consistent with the target abnormal type is determined as a target dry joint triggering an alarm. For example, if current abnormal information represents that a first battery pack has a level-1 voltage over-high abnormality, a certain preset dry joint is configured to trigger an alarm in the case where the first battery pack has a level-1 voltage alarm, the preset battery pack identifier (the first battery pack) corresponding to the preset dry joint is consistent with the target battery pack identifier (the first battery pack), the preset alarm level (level-1 alarm) corresponding to the preset dry joint is consistent with the target abnormal level (level-1 abnormality), and one of the preset alarm sub-types (including voltage over-low alarm and voltage over-high alarm) in the preset alarm type corresponding to the preset dry joint is consistent with the target abnormal type (voltage over-high abnormality), i.e., the current abnormal information matches the preset alarm configuration information corresponding to the preset dry joint, and the preset dry joint is the target dry joint.

[0049] The embodiment of the application represents the current abnormal information of the target battery management system and the preset alarm configuration information corresponding to each preset dry contact in binary form, determines the target dry contact triggering alarm by performing bit operation on the binary form of the current abnormal information and the binary form of the preset alarm configuration information corresponding to each preset dry contact, only needs bit operation when performing alarm triggering judgment, improves the alarm triggering judgment efficiency, reduces the occupation of processing resources, and adapts to the embedded resource limited environment.

[0050] In some embodiments, the output polarity of the target dry contact is used to output target alarm information, including: The target state of the target dry contact is determined based on the output polarity of the target dry contact; in the case that the output polarity of the target dry contact represents that the target dry contact is a normally open dry contact, the target state is that the target dry contact is closed; in the case that the output polarity of the target dry contact represents that the target dry contact is a normally closed dry contact, the target state is that the target dry contact is open; A target control instruction is generated based on the target state; the target control instruction is used to instruct the target dry contact to output the target alarm information.

[0051] In some embodiments, the target state of the target dry contact is determined according to the output polarity (normally open / normally closed) of the target dry contact triggering alarm; if the target dry contact is a normally open dry contact, the target state is closed; if the target dry contact is a normally closed dry contact, the target state is open.

[0052] In some embodiments, a target control instruction is generated based on the target state, the target control instruction is sent to the target dry contact, so that the target dry contact is switched to the target state, the target alarm information is output through the state switching of the target dry contact, and the target alarm information can be used to trigger external devices such as a sound-light alarm, a relay, a monitoring system, etc. connected to the target dry contact, for example, the target alarm information output by the target dry contact can trigger the sound-light alarm connected to the target dry contact to alarm.

[0053] The embodiment of the application represents the current abnormal information of the target battery management system and the preset alarm configuration information corresponding to each preset dry contact in binary form, determines the target dry contact triggering alarm by performing bit operation on the binary form of the current abnormal information and the binary form of the preset alarm configuration information corresponding to each preset dry contact, outputs target alarm information based on the output polarity of the target dry contact, only needs bit operation when performing alarm triggering judgment, improves the judgment efficiency and accuracy of alarm triggering, improves the timeliness of the target dry contact outputting target alarm information, reduces the occupation of processing resources, and adapts to the embedded resource limited environment.

[0054] The embodiment of the present application provides a battery abnormality detection method, the method is applied to a target battery management system, the target battery management system comprises a plurality of battery groups and a plurality of preset dry contacts, and the method comprises the following steps: acquiring current abnormality information of the target battery management system; the current abnormality information comprises a target battery group identifier corresponding to an abnormal battery group and represented in binary form and target abnormality detail information; performing AND operation on the target battery group identifier and the target abnormality detail information and preset alarm configuration information corresponding to each preset dry contact respectively, to obtain a bit operation result corresponding to each preset dry contact; the preset alarm configuration information comprises a preset battery group identifier, preset alarm detail information and output polarity represented in binary form; determining a target dry contact based on the bit operation result; the preset battery group identifier corresponding to the target dry contact matches the target battery group identifier, and the preset alarm detail information corresponding to the target dry contact matches the target abnormality detail information; and outputting target alarm information based on the output polarity of the target dry contact. The embodiment of the present application represents the current abnormality information of the target battery management system and the preset alarm configuration information corresponding to each preset dry contact in binary form, determines the target dry contact triggering alarm by performing bit operation on the current abnormality information in binary form and the preset alarm configuration information in binary form corresponding to each preset dry contact respectively, and outputs the target alarm information based on the output polarity of the target dry contact. The preset alarm configuration information corresponding to the preset dry contact comprises a preset battery group identifier, preset alarm detail information and output polarity, that is, the alarm triggering condition of the preset dry contact can be configured as a combination of multiple conditions, so that flexible configuration of the dry contact alarm triggering condition is realized; only bit operation is required when alarm triggering judgment is performed, the alarm triggering judgment efficiency is improved, the occupation of processing resources is reduced, and the embedded resource limited environment is adapted.

[0055] The embodiment of the present application also provides a battery abnormality detection device, which is used for a target battery management system, the target battery management system comprises a plurality of battery groups and a plurality of preset dry contacts, and the device comprises: Figure 4 , Figure 4 The embodiment of the present application provides a battery abnormality detection device, which is used for a target battery management system, the target battery management system comprises a plurality of battery groups and a plurality of preset dry contacts, and the device comprises: A current abnormality information acquisition module 410 is configured to acquire current abnormality information of the target battery management system; the current abnormality information comprises a target battery group identifier corresponding to an abnormal battery group and represented in binary form and target abnormality detail information; A bit operation module 420 is configured to perform AND operation on the target battery group identifier and the target abnormality detail information and preset alarm configuration information corresponding to each preset dry contact respectively, to obtain a bit operation result corresponding to each preset dry contact; the preset alarm configuration information comprises a preset battery group identifier, preset alarm detail information and output polarity represented in binary form. The trigger dry contact determination module 430 is configured to determine a target dry contact based on the bit operation result; the target dry contact corresponds to a preset battery pack identifier that matches the target battery pack identifier, and the target dry contact corresponds to preset alarm detail information that matches the target abnormal detail information; The alarm information output module 440 is configured to output target alarm information based on the output polarity of the target dry contact.

[0056] In some embodiments, the device further comprises: The alarm trigger information acquisition module is configured to acquire alarm trigger information corresponding to each preset dry contact; the alarm trigger information represents an alarm trigger condition corresponding to each preset dry contact in binary form; The alarm trigger information mapping module is configured to map the alarm trigger information to a preset alarm structure corresponding to each preset dry contact, respectively, to obtain preset alarm configuration information corresponding to each preset dry contact; the preset alarm structure includes a battery pack identifier member, an alarm level member, an alarm type member, and an output polarity member.

[0057] In some embodiments, the preset alarm detail information includes a preset alarm level and a preset alarm type, and the alarm trigger information mapping module includes: The structure member assignment unit is configured to assign, based on the alarm trigger information, the battery pack identifier member, the alarm level member, the alarm type member, and the output polarity member corresponding to each preset dry contact, respectively, to obtain a preset battery pack identifier, a preset alarm level, a preset alarm type, and an output polarity corresponding to each preset dry contact.

[0058] In some embodiments, the target abnormal detail information includes a target abnormal level and a target abnormal type, and the current abnormal information acquisition module 410 includes: The current working state information acquisition unit is configured to acquire current working state information of each battery pack; The initial abnormal information determination unit is configured to determine, based on the current working state information, the abnormal battery pack and initial abnormal information corresponding to the abnormal battery pack; the initial abnormal information includes an initial battery pack identifier and initial abnormal detail information, and the initial abnormal detail information includes an initial abnormal level and an initial abnormal type; The binary conversion unit is configured to convert the initial battery pack identifier into the target battery pack identifier represented in binary form, convert the initial abnormal level into the target abnormal level represented in binary form, and convert the initial abnormal type into the target abnormal type represented in binary form; The current abnormal information determination unit is configured to determine the current abnormal information based on the target battery pack identifier, the target abnormal level, and the target abnormal type.

[0059] In some embodiments, the target abnormal detail information includes a target abnormal level and a target abnormal type, the preset alarm detail information includes a preset alarm level and a preset alarm type, and the bit operation module 420 includes: A first AND operation unit is configured to perform AND operation on the target battery pack identifier and a preset battery pack identifier corresponding to each preset dry contact point, to obtain a first operation result corresponding to each preset dry contact point. A second AND operation unit is configured to perform AND operation on the target abnormal level and a preset alarm level corresponding to each preset dry contact point, to obtain a second operation result corresponding to each preset dry contact point. A third AND operation unit is configured to perform AND operation on the target abnormal type and a preset alarm type corresponding to each preset dry contact point, to obtain a third operation result corresponding to each preset dry contact point. A bit operation result determination unit is configured to determine a bit operation result corresponding to each preset dry contact point based on the first operation result, the second operation result, and the third operation result.

[0060] In some embodiments, the preset alarm type includes at least one preset alarm sub-type, and the trigger dry contact determination module 430 includes: A target dry contact determination unit is configured to determine a preset dry contact corresponding to the bit operation result as the target dry contact, in a case where the bit operation result indicates that the preset battery pack identifier is consistent with the target battery pack identifier, the preset alarm level is consistent with the target abnormal level, and one of the preset alarm sub-types in the preset alarm type is consistent with the target abnormal type.

[0061] In some embodiments, the alarm information output module 440 includes: A target state determination unit is configured to determine a target state of the target dry contact based on an output polarity of the target dry contact. In a case where the output polarity of the target dry contact indicates that the target dry contact is a normally open dry contact, the target state is that the target dry contact is closed. In a case where the output polarity of the target dry contact indicates that the target dry contact is a normally closed dry contact, the target state is that the target dry contact is open. A target control instruction generation unit is configured to generate a target control instruction based on the target state. The target control instruction is used to instruct the target dry contact to output the target alarm information.

[0062] The apparatus provided in the above embodiments can execute the method provided in any of the embodiments of the present application, and has the corresponding function modules and advantages of executing the method. Technical details not described in the above embodiments can be referred to the battery abnormality detection method provided in any of the embodiments of the present application.

[0063] The embodiment further provides a computer readable storage medium, the storage medium stores computer executable instructions, the computer executable instructions are loaded by a processor and execute the battery abnormality detection method provided in the above embodiment.

[0064] The embodiment further provides an electronic device, the electronic device includes a processor and a memory, and the memory stores a computer program, the computer program is adapted to be loaded by the processor and execute the battery abnormality detection method provided in the above embodiment.

[0065] The electronic device can be a computer terminal, a mobile terminal or a server, and the electronic device can also participate in constructing the apparatus or system provided in the embodiments of the present application. As shown in Figure 5 The electronic device 5 can include one or more processors 502 (the processor 502 can include but is not limited to a microprocessor MCU or a programmable logic device FPLD and the like), a memory 504 for storing information, and a transmission device 506 for communication function. In addition, it can also include an input / output interface (I / O interface), a network interface. Those skilled in the art can understand that, Figure 5 The structure shown is only schematic, which does not limit the structure of the above-mentioned electronic device. For example, the electronic device 5 can also include more or less components than Figure 5 shown, or have a different configuration from Figure 5 shown.

[0066] It should be noted that the one or more processors 502 and / or other information processing circuits described above can be referred to as "information processing circuits" herein. The information processing circuit can be embodied in whole or in part as software, hardware, firmware or any combination thereof. In addition, the information processing circuit can be a single independent processing module, or all or part of any one of the other elements combined into the electronic device 5.

[0067] The memory 504 can be used to store software programs of application software and modules, such as program instructions / information storage means corresponding to the method of the embodiments of the present application, and the processor 502 can execute various functional applications and information processing by running the software programs and modules stored in the memory 504, i.e., implement the above-mentioned battery abnormality detection method. The memory 504 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory 504 can further include a memory remotely arranged with respect to the processor 502, which can be connected to the electronic device 5 through a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0068] The transmission device 506 is used to receive or send information via a network. Specific examples of the above-mentioned network can include a wireless network provided by a communication provider of the electronic device 5. In one example, the transmission device 506 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 506 can be a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet in a wireless manner.

[0069] The present specification provides method operation steps as described in the embodiments or flowcharts, but more or fewer operation steps can be included based on conventional or non-inventive labor. The steps and order listed in the embodiments are only one of the many step execution orders, and do not represent the only execution order. When the system or interrupt product is actually executed, the method order shown in the embodiments or the drawings can be executed in sequence or in parallel (for example, in a parallel processor or multi-thread processing environment).

[0070] The structure shown in the embodiments only relates to part of the structure related to the scheme of the present application, and does not constitute a limitation on the equipment to which the scheme of the present application is applied. The specific equipment can include more or fewer components than shown, or combine certain components, or have a different arrangement of components. It should be understood that the methods, devices, etc. disclosed in the embodiments can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. In actual implementation, another division mode can be used, for example, a plurality of units or components can be combined or integrated into another system, or some features can be omitted or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed ones can be indirect coupling or communication connection through some interfaces, devices or unit modules.

[0071] Based on such understanding, the technical solution of the present application or the part of the prior art which is essentially contributed or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes instructions for making a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in various embodiments of the present application. The aforementioned storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.

[0072] Those skilled in the art can further realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed in the present specification can be realized in electronic hardware, computer software or a combination of both. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of the examples have been described in the above description in general terms. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0073] The above-described embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements for some technical features; and these modifications or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A battery abnormality detection method characterized by comprising: The method is applied to a target battery management system including a plurality of battery groups and a plurality of preset dry contacts, and the method includes: obtaining current abnormal information of the target battery management system; the current abnormal information includes a target battery group identifier represented in binary corresponding to an abnormal battery group and target abnormal detail information; performing AND operation on the target battery group identifier and the target abnormal detail information respectively and preset alarm configuration information corresponding to each preset dry contact to obtain a bit operation result corresponding to each preset dry contact; the preset alarm configuration information includes a preset battery group identifier represented in binary, preset alarm detail information, and output polarity; determining a target dry contact based on the bit operation result; the preset battery group identifier corresponding to the target dry contact matches the target battery group identifier, and the preset alarm detail information corresponding to the target dry contact matches the target abnormal detail information; outputting target alarm information based on the output polarity of the target dry contact.

2. The battery abnormality detection method according to claim 1, characterized by, Before the obtaining the current abnormal information of the target battery management system, the method further includes: obtaining alarm trigger information corresponding to each preset dry contact; the alarm trigger information represents an alarm trigger condition corresponding to each preset dry contact in binary; mapping the alarm trigger information to a preset alarm structure corresponding to each preset dry contact respectively to obtain preset alarm configuration information corresponding to each preset dry contact; the preset alarm structure includes a battery group identifier member, an alarm level member, an alarm type member, and an output polarity member.

3. The battery abnormality detection method according to claim 2, characterized by, The preset alarm detail information includes a preset alarm level and a preset alarm type, and the mapping the alarm trigger information to the preset alarm structure corresponding to each preset dry contact respectively to obtain the preset alarm configuration information corresponding to each preset dry contact includes: based on the alarm trigger information, assigning values to the battery group identifier member, the alarm level member, the alarm type member, and the output polarity member corresponding to each preset dry contact respectively to obtain a preset battery group identifier, a preset alarm level, a preset alarm type, and an output polarity corresponding to each preset dry contact.

4. The battery abnormality detection method according to claim 1, characterized by, The target abnormal detail information includes a target abnormal level and a target abnormal type, and the obtaining the current abnormal information of the target battery management system includes: obtaining current working state information of each battery group; determining the abnormal battery group and initial abnormal information corresponding to the abnormal battery group based on the current working state information; the initial abnormal information includes an initial battery group identifier and initial abnormal detail information, and the initial abnormal detail information includes an initial abnormal level and an initial abnormal type; converting the initial battery group identifier into the target battery group identifier represented in binary, converting the initial abnormal level into the target abnormal level represented in binary, and converting the initial abnormal type into the target abnormal type represented in binary; determining the current abnormal information based on the target battery group identifier, the target abnormal level, and the target abnormal type.

5. The battery abnormality detection method according to claim 1, characterized by, The target abnormality detail information includes a target abnormality level and a target abnormality type, the preset alarm detail information includes a preset alarm level and a preset alarm type, the target battery pack identifier and the target abnormality detail information are respectively ANDed with preset alarm configuration information corresponding to each preset dry contact to obtain a bit operation result corresponding to each preset dry contact, and the bit operation result corresponding to each preset dry contact includes: The target battery pack identifier is respectively ANDed with preset battery pack identifiers corresponding to each preset dry contact to obtain a first operation result corresponding to each preset dry contact; The target abnormality level is respectively ANDed with preset alarm levels corresponding to each preset dry contact to obtain a second operation result corresponding to each preset dry contact; The target abnormality type is respectively ANDed with preset alarm types corresponding to each preset dry contact to obtain a third operation result corresponding to each preset dry contact; The first operation result, the second operation result and the third operation result are used to determine the bit operation result corresponding to each preset dry contact.

6. The battery abnormality detection method according to claim 5, characterized by, The preset alarm type includes at least one preset alarm sub-type, and the target dry contact is determined based on the bit operation result, and the method includes: In a case where the bit operation result represents that the preset battery pack identifier is consistent with the target battery pack identifier, the preset alarm level is consistent with the target abnormality level, and one of the preset alarm sub-types in the preset alarm type is consistent with the target abnormality type, a preset dry contact corresponding to the bit operation result is determined as the target dry contact.

7. The battery abnormality detection method according to claim 1, characterized by, The target alarm information is output based on the output polarity of the target dry contact, and the method includes: A target state of the target dry contact is determined based on the output polarity of the target dry contact; in a case where the output polarity of the target dry contact represents that the target dry contact is a normally open dry contact, the target state is that the target dry contact is closed; in a case where the output polarity of the target dry contact represents that the target dry contact is a normally closed dry contact, the target state is that the target dry contact is disconnected; A target control instruction is generated based on the target state; the target control instruction is used to instruct the target dry contact to output the target alarm information.

8. A battery abnormality detection device characterized by comprising: The device is applied to a target battery management system, the target battery management system includes a plurality of battery packs and a plurality of preset dry contacts, and the device includes: A current abnormality information acquisition module is configured to acquire current abnormality information of the target battery management system; the current abnormality information includes a target battery pack identifier corresponding to an abnormal battery pack and represented in binary and target abnormality detail information; A bit operation module is configured to perform AND operation on the target battery pack identifier and the target abnormality detail information and preset alarm configuration information corresponding to each preset dry contact to obtain a bit operation result corresponding to each preset dry contact; the preset alarm configuration information includes preset battery pack identifiers, preset alarm detail information and output polarity represented in binary. The trigger dry contact determination module is configured to determine a target dry contact based on the bit operation result; the target dry contact corresponds to a preset battery pack identifier that matches the target battery pack identifier, and the target dry contact corresponds to preset alarm detail information that matches the target abnormal detail information; The alarm information output module is configured to output target alarm information based on the output polarity of the target dry contact.

9. An electronic device, comprising: The electronic device includes a processor and a memory, and the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the battery abnormality detection method of any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the battery abnormality detection method of any one of claims 1-7.

Citation Information

Patent Citations

  • Warning aggregation method and system

    CN107124298A

  • Abnormal battery screening method and device, electronic equipment and readable storage medium

    CN111458643A

  • UPS battery intelligent management system and method

    CN112737042A

  • Dry contact output detection circuit and method, energy storage system and storage medium

    CN116794504A