Battery pack detection method, device, equipment and storage medium

Through the hardware signal interaction method of the master-slave detection mode, the dependence of battery pack safety status detection on CAN bus devices and computers is solved, and low-cost and efficient battery pack detection is achieved, which is suitable for different types of battery packs.

CN116106759BActive Publication Date: 2025-09-30EVE POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211583325.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-09
Publication Date
2025-09-30
Estimated Expiration
2042-12-09

AI Technical Summary

Technical Problem

Existing battery pack safety status detection methods rely on CAN bus devices and computers, which are costly and time-consuming. In addition, the communication protocol requirements of different OEMs make development complex.

Method used

The master-slave detection mode is adopted to generate master detection codes and broadcast verification data frames to perform hardware signal interaction between battery packs, thereby realizing fault detection between battery packs, avoiding dependence on CAN bus devices and computers, and using a unified detection method applicable to different types of battery packs.

Benefits of technology

It reduces testing costs, shortens testing time, improves testing efficiency, and can test multiple battery packs at the same time without the need to develop communication protocols for different OEMs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116106759B_ABST
    Figure CN116106759B_ABST
Patent Text Reader

Abstract

The present invention discloses a battery pack detection method, apparatus, device, and storage medium. The battery pack detection method includes: upon receiving a power-on signal, generating a main detection code, and configuring a detection mode to the main detection mode using the main detection code; when in the main detection mode, generating a broadcast verification data frame; after outputting the broadcast verification data frame, if a verification feedback data frame is received, generating a battery pack data upload request signal; after outputting the battery pack data upload request signal, outputting a main detection identification data frame; if a main detection identification feedback confirmation data frame is received, collecting battery pack data; and determining whether the detected battery pack is faulty based on the battery pack data, and if a fault is present, generating a battery pack abnormality alarm signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to battery technology, and more particularly to a battery pack detection method, apparatus, device, and storage medium. Background Art

[0002] Because batteries are considered hazardous materials, low-voltage battery packs require safety status testing or regular inspections when they are delivered to customer warehouses. Currently, two methods are used to determine whether a low-voltage battery pack is in a safe state: First, a CAN bus device is connected to a computer to record CAN bus messages sent by the battery management system (BMS). CAN message analysis software is then used to replay and analyze these messages to determine the safety status of the battery pack. Second, a CAN bus device is connected to a visual monitoring host computer used for CAN bus analysis to monitor the safety status of the battery pack from a computer.

[0003] The above two methods have the following drawbacks and shortcomings: they require the use of a CAN bus device and a computer; neither is indispensable. The computer requires the installation of commercial CAN message analysis software such as Zhou Ligong CAN Test or Vector CANoe, and Vector's device activation code is particularly expensive to purchase. The visual monitoring host computer must be developed according to the communication protocol required by the OEM (Original Equipment Manufacturer), which varies from OEM to OEM, making development of the visual monitoring host computer cumbersome. Furthermore, the above two methods take a long time to complete a single battery pack test. Summary of the Invention

[0004] The present invention provides a battery pack detection method, apparatus, device and storage medium, so as to reduce the dependence of battery pack safety status detection on CAN bus analysis equipment and computers, avoid designing different host computer communication protocols for different battery packs, and shorten the battery pack detection time.

[0005] In a first aspect, an embodiment of the present invention provides a battery pack detection method, comprising:

[0006] When a power-on signal is received, a main detection code is generated, and a detection mode is configured as a main detection mode according to the main detection code;

[0007] When placed in the main detection mode, a broadcast verification data frame is generated. After outputting the broadcast verification data frame, if a verification feedback data frame is received, a battery pack data upload request signal is generated;

[0008] After outputting the battery pack data upload request signal, outputting a main detection identification data frame, and if receiving a main detection identification feedback confirmation data frame, collecting the battery pack data;

[0009] It is determined whether the detected battery pack has a fault based on the battery pack data, and if a fault occurs, a battery pack abnormality alarm signal is generated.

[0010] Optionally, after determining whether the detected battery pack has a fault according to the battery pack data, the method further includes:

[0011] If the detected battery pack does not fail, generating a total detection configuration code;

[0012] The total detection configuration code is used to configure the detection mode of the detected battery pack from the main detection mode to the slave detection mode, or to configure the detection mode of the detected battery pack from the slave detection mode to the main detection mode, or to configure the detected battery pack to no longer generate the total detection configuration code.

[0013] Optionally, after outputting the broadcast verification data frame, the method further includes:

[0014] If the verification feedback data frame is not received after a set time period, a sleep control code is generated, and the detection mode is configured to change from the main detection mode to the sleep mode through the sleep control code.

[0015] Optionally, the battery pack data includes battery pack voltage and / or battery pack temperature.

[0016] Optionally, the battery pack abnormality alarm signal includes a first abnormality alarm signal, a second abnormality alarm signal and a third abnormality alarm signal;

[0017] The first abnormal alarm signal is used to indicate that a primary fault occurs in the detected battery pack;

[0018] The second abnormal alarm signal is used to indicate that a secondary fault occurs in the detected battery pack;

[0019] The third abnormal alarm signal is used to indicate that a third-level fault occurs in the detected battery pack.

[0020] Optionally, the battery pack abnormality alarm signal includes an LED drive control signal.

[0021] Optionally, the battery pack data upload request signal includes a PWM signal.

[0022] In a second aspect, an embodiment of the present invention further provides a battery pack detection device, including a battery pack detection unit, wherein the battery pack detection unit is configured to:

[0023] When a power-on signal is received, a main detection code is generated, and a detection mode is configured as a main detection mode according to the main detection code;

[0024] When placed in the main detection mode, a broadcast verification data frame is generated. After outputting the broadcast verification data frame, if a verification feedback data frame is received, a battery pack data upload request signal is generated;

[0025] After outputting the battery pack data upload request signal, outputting a main detection identification data frame, and if receiving a main detection identification feedback confirmation data frame, collecting the battery pack data;

[0026] It is determined whether the detected battery pack has a fault based on the battery pack data, and if a fault occurs, a battery pack abnormality alarm signal is generated.

[0027] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising at least one processor, and a memory communicatively connected to the at least one processor;

[0028] The memory stores a computer program that can be executed by the at least one processor. The computer program is executed by the at least one processor so that the at least one processor can execute the battery pack detection method described in the embodiment of the present invention.

[0029] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the battery pack detection method described in the embodiment of the present invention when executed.

[0030] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention proposes a battery pack detection method. Based on this method, only two or more battery packs are needed at the same time to detect each other through the master-slave detection object method. This method solves the dependence of battery pack safety status detection on CAN bus analysis equipment and computers. Different types of battery packs can use a unified detection method. Since the battery pack does not communicate with the host computer, the host computer does not need to develop communication protocols according to the different OEM requirements corresponding to various types of battery packs, that is, there is no need to develop different visual monitoring host computer software, and there is no need to design additional circuit modules with microprocessors. The method proposed by the present invention only involves pure hardware signal interaction when implemented, with relatively low cost and short detection time. It can detect multiple battery packs at the same time and has high detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 is a flow chart of a battery pack detection method in an embodiment;

[0032] Figure 2 is a flow chart of another battery pack detection method in an embodiment;

[0033] Figure 3 is a flow chart of another battery pack detection method in the embodiment;

[0034] Figure 4 is a flow chart of another battery pack detection method in the embodiment;

[0035] Figure 5 2. This is a schematic diagram of the battery pack port in the embodiment;

[0036] Figure 6 is a schematic diagram of a battery pack detection method in an embodiment;

[0037] Figure 7 is a schematic diagram of an electronic device in an embodiment. DETAILED DESCRIPTION

[0038] The present invention will be further described in detail below with reference to the accompanying drawings and examples. It will be understood that the specific embodiments described herein are intended only to illustrate the present invention and are not intended to limit the present invention. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions relevant to the present invention, not all structures.

[0039] Example 1

[0040] Figure 1 This is a flow chart of the battery pack detection method in the embodiment, refer to Figure 1 , the battery pack detection methods include:

[0041] S101. When a power-on signal is received, a main detection code is generated, and a detection mode is configured as a main detection mode according to the main detection code.

[0042] For example, in this embodiment, the battery pack detection method is applicable to a situation where multiple battery packs are connected in series, and one battery pack is used to detect whether the other battery packs have faults, or different battery packs detect each other to see if they have faults.

[0043] The method is configured in all battery packs to be connected in series and is executed by a control chip, a controller or a battery management system (BMS) in the battery pack.

[0044] Illustratively, in this embodiment, the ports configured on the battery pack that can execute this method include at least a power-on port, a CAN communication port, an analog signal input port, an analog signal output port, and a charge and discharge port, and there is no specific limitation on the remaining ports that can be configured on the battery pack.

[0045] S102. When placed in the main detection mode, a broadcast verification data frame is generated. After the broadcast verification data frame is output, if a verification feedback data frame is received, a battery pack data upload request signal is generated.

[0046] In combination with step S101 and step S102, in this embodiment, the configuration generates a main detection code when the battery pack receives a power-on signal (i.e., after the battery management system or controller or control chip is powered on);

[0047] After generating the main detection code, the battery pack is placed in the main detection mode. Subsequently, the battery pack generates a broadcast verification data frame and sends the broadcast verification data frame to the remaining battery packs in series;

[0048] When multiple battery packs in series receive a power-on signal, the battery pack determines whether it is the first battery pack to receive the power-on signal based on the timestamp signal in the broadcast verification data frame. If so, the detection mode remains in the master detection mode; if not, the detection mode is changed to the slave detection mode.

[0049] In this embodiment, the battery pack placed in the slave detection mode (denoted as the slave battery pack) sends a verification feedback data frame to the battery pack placed in the master detection mode (denoted as the master battery pack). After receiving the verification feedback data frame, the master battery pack generates a battery pack data upload request signal and sends a battery pack data upload request signal to the slave battery pack.

[0050] Illustratively, in this embodiment, the broadcast verification data frame and the inspection feedback data frame are used to determine whether CAN communication can be performed between the master battery pack and the slave battery pack, and to determine whether the CAN communication data frame is abnormal when CAN communication is performed between the master battery pack and the slave battery pack.

[0051] For example, in this embodiment, there is no specific limitation on the specific information contained in the broadcast check data frame and the check feedback data frame. For example, a fixed data segment can be set in the broadcast check data frame. If the same data segment is contained in the check feedback data frame, it is considered that normal CAN communication can be carried out between the master battery pack and the slave battery pack.

[0052] Illustratively, in this embodiment, the battery pack data upload request signal may be a CAN signal or an analog signal.

[0053] For example, in this embodiment, if the battery pack data upload request signal adopts an analog signal, the battery pack data upload request signal may adopt a PWM signal, wherein the duty cycle of the PWM signal may be set according to requirements.

[0054] S103. After outputting the battery pack data upload request signal, output the main detection identification data frame. If the main detection identification feedback confirmation data frame is received, the battery pack data is collected.

[0055] Exemplarily, in this embodiment, the master battery pack generates a master detection identification data frame and sends (broadcasts) the master detection identification data frame to the slave battery pack;

[0056] The master detection identification data frame includes a designated slave battery pack number. After receiving the master detection identification data frame, if the slave battery pack determines that the number in the master detection identification data frame is its own number, it sends a master detection identification feedback confirmation data frame to the master battery pack. Subsequently, the slave battery pack sends battery pack data to the master battery pack.

[0057] After receiving the master detection identification feedback confirmation data frame, the master battery pack collects the battery pack data sent by the slave battery pack, and then determines whether the slave battery pack has a fault.

[0058] Illustratively, in this embodiment, the main detection identification data frame and the main detection identification feedback determination data frame are used to achieve matching communication between the master battery pack and a designated slave battery pack, so as to achieve fault judgment of the master battery pack on a designated slave battery pack within a certain period of time.

[0059] For example, in this embodiment, the specific content of the battery pack data can be set according to needs. For example, the battery pack data can include data such as voltage, temperature, SOC, and cell consistency.

[0060] S104. Determine whether the detected battery pack is faulty based on the battery pack data. If a fault occurs, generate a battery pack abnormality alarm signal.

[0061] For example, in this embodiment, there is no specific limitation on the way in which the (master battery pack) determines whether the detected battery pack (slave battery pack) has a fault based on the battery pack data (sent by the slave battery pack). For example, if the battery pack data is within the set safety range, it can be determined that the (slave battery pack) has not a fault; otherwise, it is determined that the (slave battery pack) has a fault.

[0062] For example, in the implementation of this city, the battery pack abnormality alarm signal is a driving signal, which is specifically used to drive an alarm device to alarm.

[0063] Illustratively, in this embodiment, the alarm device may be connected to the battery pack, and the alarm device may be a device such as an LED light or a buzzer.

[0064] Exemplarily, in this solution, the battery pack data can be used as one or more data segments in a CAN communication data frame and transmitted between battery packs via CAN communication.

[0065] This embodiment proposes a battery pack detection method. Based on this method, only two or more battery packs are required at the same time to detect each other through a master-slave detection object method. This method solves the dependence of battery pack safety status detection on CAN bus analysis equipment and computers. Different types of battery packs can use a unified detection method. Because the battery pack does not communicate with the host computer, the host computer does not need to develop communication protocols according to the different OEM requirements corresponding to different types of battery packs. In other words, there is no need to develop different visual monitoring host computer software, and there is no need to design additional circuit modules with microprocessors. The method proposed by the present invention only involves pure hardware signal interaction during implementation, which is relatively low in cost, short in detection time, and can detect multiple battery packs at the same time, with high detection efficiency.

[0066] Specifically, when two or more battery packs perform mutual fault detection, the battery pack that receives the power-on signal is configured as the main detection battery pack, and the main detection battery pack is used to diagnose faults of the remaining battery packs. At the same time, the broadcast inspection data frame and the verification feedback data frame are used to realize whether the main detection battery pack and the detected battery pack can perform CAN communication normally, thereby ensuring that the correct fault verification result can be obtained. The main detection identification data frame and the main detection identification feedback confirmation data frame are used to achieve communication matching between the main detection battery pack and the detected battery pack, so that the main detection battery pack can be used exclusively to detect whether a detected battery pack has a fault in a certain period of time, which is convenient for the main detection battery pack to perform sequential detection on multiple detected battery packs when performing fault detection, avoiding the problems of missed detection and detection confusion.

[0067] Figure 2 This is another flow chart of the battery pack detection method in the embodiment, refer to Figure 2 ,exist Figure 1 Based on the scheme shown, the battery pack detection method can be:

[0068] S101. When a power-on signal is received, a main detection code is generated, and a detection mode is configured as a main detection mode according to the main detection code.

[0069] S102. When placed in the main detection mode, a broadcast verification data frame is generated. After the broadcast verification data frame is output, if a verification feedback data frame is received, a battery pack data upload request signal is generated.

[0070] S103. After outputting the battery pack data upload request signal, output the main detection identification data frame. If the main detection identification feedback confirmation data frame is received, the battery pack data is collected.

[0071] S104. Determine whether the detected battery pack is faulty based on the battery pack data. If a fault occurs, generate a battery pack abnormality alarm signal.

[0072] For example, in this solution, the implementation of steps S101 to S104 is the same as Figure 1 The scheme shown is the same.

[0073] S105. If the detected battery pack does not fail, generate and send a general detection configuration code.

[0074] Exemplarily, in this solution, if the master battery pack determines that the slave battery pack (the detected battery pack) has not failed, the master battery pack generates a total detection configuration code and sends (broadcasts) the total detection configuration code.

[0075] Exemplarily, in this solution, the total detection configuration code is used to configure the detection mode (of the current main battery pack) to change from the master detection mode to the slave detection mode;

[0076] Configuring the detected battery pack (the slave battery pack that is not currently faulty) to change from a slave detection mode to a master detection mode and configuring the detected battery pack (the slave battery pack that is not currently faulty) no longer generates a total detection configuration code.

[0077] Exemplarily, in this solution, the total detection configuration code includes the number of a slave battery pack that is not currently faulty. After receiving the total detection configuration code, if the slave battery pack determines that the number in the total detection configuration code is its own number, it changes from the slave detection mode to the master detection mode;

[0078] At this time, the slave battery pack that is not currently faulty becomes the master battery pack, and the remaining battery packs serve as slave battery packs. The master battery pack re-executes steps S102 to S104.

[0079] Meanwhile, when the process reaches S105 again, the master battery pack no longer generates the total detection configuration code, and the master battery pack repeats steps S102 to S105 until the fault detection of all remaining slave battery packs is completed.

[0080] Exemplarily, in the above scheme, the total detection configuration code is used to configure the detection mode of the main battery pack from the master detection mode to the slave detection mode, to configure the detection mode of the detected battery pack from the slave detection mode to the master detection mode, and to configure the detected battery pack to no longer generate the total detection configuration code.

[0081] Optionally, as an implementable embodiment, the total detection configuration code can be used to configure the detection mode of the detected battery pack from the master detection mode to the slave detection mode, or to configure the detection mode of the detected battery pack from the slave detection mode to the master detection mode.

[0082] For example, in the above-mentioned embodiment, at least three battery packs are connected in series. The first battery pack placed in the master detection mode can be fixedly marked as the master battery pack. In this case, if the master battery pack determines that the slave battery pack has not failed, the master battery pack generates a master detection configuration code and transmits (broadcasts) the master detection configuration code.

[0083] The total detection configuration code configures the master battery pack detection mode from master detection mode to slave detection mode, and configures the slave battery pack (detected battery pack) from slave detection mode to master detection mode;

[0084] After the slave battery pack completes fault detection of the master battery pack (the detected battery pack), the total detection configuration code can be generated. At this time, the total detection configuration code configures the current slave battery pack detection mode from master detection mode to slave detection mode, and configures the other slave battery pack from slave detection mode to master detection mode.

[0085] When another slave battery pack is placed in the master detection mode, fault detection can be performed on any other slave battery pack (detected battery pack) placed in the slave detection mode.

[0086] Exemplarily, in this solution, the total detection configuration code can be used as a data segment in a CAN communication data frame and transmitted between battery packs via CAN communication.

[0087] exist Figure 1 On the basis of the beneficial effects of the scheme shown, in this scheme, when it is determined that a detected battery pack has not failed, the current main battery pack generates a total detection configuration code, and based on the total detection configuration code, the current main battery pack is set as the detected battery pack, and the spare battery pack that has not failed is set as the main battery pack, thereby realizing that the main battery pack can also be used as the detected object, so that all battery packs in series can undergo a fault detection process. In addition, configuring the detected battery pack that has not failed as the main battery pack can also ensure the accuracy and reliability of the detection results.

[0088] Figure 3 This is another flow chart of a battery pack detection method in the embodiment, refer to Figure 3 ,exist Figure 1 Based on the scheme shown, the battery pack detection method can be:

[0089] S101. When a power-on signal is received, a main detection code is generated, and a detection mode is configured as a main detection mode according to the main detection code.

[0090] S102. When placed in the main detection mode, a broadcast verification data frame is generated. After the broadcast verification data frame is output, if a verification feedback data frame is received, a battery pack data upload request signal is generated.

[0091] S106. If the verification feedback data frame is not received after the set time period, a sleep control code is generated, and the main detection mode is changed to the sleep mode through the sleep control code configuration.

[0092] For example, in this solution, the implementation of steps S101 to S102, and steps S103 to S104 is the same as Figure 1 The scheme shown is the same.

[0093] In this solution, the set time length can be set according to needs (for example, the set time length can be 10 seconds). If the main battery pack does not receive the verification feedback data frame after the set time length, a sleep control code is generated. At this time, the main battery pack changes from the main detection mode to the sleep mode;

[0094] Before the master battery pack changes to the sleep mode, the master battery pack sends (broadcasts) a sleep control code to the slave battery pack. After receiving the sleep control code, the slave battery pack changes from the slave detection mode to the sleep mode.

[0095] Exemplarily, in this solution, the sleep control code is used to instruct the battery management system, controller, control chip, etc. in the battery pack to power off and sleep.

[0096] Exemplarily, in this solution, the sleep control code can be used as a data segment in a CAN communication data frame and transmitted between battery packs via CAN communication.

[0097] In this solution, if the battery pack is placed in the sleep mode, the subsequent steps S103 and S104 are no longer executed.

[0098] S103. After outputting the battery pack data upload request signal, output the main detection identification data frame. If the main detection identification feedback confirmation data frame is received, the battery pack data is collected.

[0099] S104. Determine whether the detected battery pack is faulty based on the battery pack data. If a fault occurs, generate a battery pack abnormality alarm signal.

[0100] In this embodiment, Figure 1 、 Figure 2 、 Figure 3 Based on any one of the solutions, the battery pack abnormality alarm signal may include a multi-level abnormality alarm signal. For example, the battery pack abnormality alarm signal may include a first abnormality alarm signal, a second abnormality alarm signal, and a third abnormality alarm signal.

[0101] Among them, the first abnormal alarm signal is configured to indicate that the detected battery pack has a level one fault; the second abnormal alarm signal is configured to indicate that the detected battery pack has a level two fault; and the third abnormal alarm signal is configured to indicate that the detected battery pack has a level three fault.

[0102] For example, taking the battery pack abnormality alarm signal as an LED driving signal, the first abnormality alarm signal, the second abnormality alarm signal and the third abnormality alarm signal can be configured to drive the LED lamp to emit green light, yellow light and red light respectively.

[0103] In this embodiment, any of the above battery pack detection methods can be freely arranged and combined. For example, Figure 4 , the battery pack detection method can be:

[0104] S101. When a power-on signal is received, a main detection code is generated, and a detection mode is configured as a main detection mode according to the main detection code.

[0105] S102. When placed in the main detection mode, a broadcast verification data frame is generated. After the broadcast verification data frame is output, if a verification feedback data frame is received, a battery pack data upload request signal is generated.

[0106] S106. If the verification feedback data frame is not received after the set time period, a sleep control code is generated, and the main detection mode is changed to the sleep mode through the sleep control code configuration.

[0107] S103. After outputting the battery pack data upload request signal, output the main detection identification data frame. If the main detection identification feedback confirmation data frame is received, the battery pack data is collected.

[0108] S104. Determine whether the detected battery pack is faulty based on the battery pack data. If a fault occurs, generate a battery pack abnormality alarm signal.

[0109] S105. If the detected battery pack does not fail, generate and send a general detection configuration code.

[0110] Figure 5 This is a schematic diagram of the battery pack port in the embodiment, refer to Figure 5 In this solution, the battery pack can be configured with a safety detection CAN-H port, a safety detection CAN-L port, an automatic encoding CAN-H port, an automatic encoding CAN-L port, an automatic encoding DI port, an automatic encoding DO port, an LED-1 drive port, an LED-2 drive port, a power-on port (not shown), and a charge and discharge port (not shown);

[0111] Taking battery pack A and battery pack B as an example, when the battery packs are connected in series, the safety detection CAN-H port, safety detection CAN-L port, automatic coding DI port, and automatic coding DO port between the battery packs are connected accordingly;

[0112] The LED-1 driving port and / or the LED-2 driving port are used to connect to one or more LED lamps, or to connect to an LED circuit.

[0113] Exemplarily, in this solution, the safety detection CAN-H port and the safety detection CAN-L port are used for communication and transmission of broadcast verification data frames, inspection feedback data frames, main detection identification data frames, main detection identification feedback confirmation data frames, total detection configuration codes, sleep control codes, and battery pack data between battery packs;

[0114] The automatic coding DI port and automatic coding DO port are used for communication transmission of battery pack data upload request signals between battery packs;

[0115] The LED-1 drive port and / or the LED-2 drive port are used to output a battery pack abnormality alarm signal.

[0116] Figure 6 This is a schematic diagram of the battery pack detection method in the embodiment, refer to Figure 6 In this solution, the broadcast check data frame can include CRC check data. Accordingly, after the slave battery pack receives the broadcast check data frame (broadcast check frame) sent by the master battery pack, the slave battery pack performs CRC check and places the CRC check result in the check feedback data frame. The master battery pack receives the check feedback data frame and determines whether normal CAN communication can be carried out with each slave battery pack based on the CRC check result.

[0117] In this solution, the battery pack data upload request signal adopts a PWM signal, wherein the duty cycle of the PWM signal may be 50%.

[0118] In this solution, the main detection identification feedback confirmation data frame includes a number reception success status flag.

[0119] refer to Figure 6 , take the mutual inspection between battery pack A and battery pack B as an example, Figures 1 to 4 Based on the recorded solution, the battery pack detection method in this solution includes:

[0120] Battery pack A, which first receives the external power wake-up signal (power-on signal), is placed in the master detection mode as the master battery pack. Battery pack A generates and outputs a broadcast verification data frame.

[0121] After receiving the verification feedback data frame and determining that the CRC calibration result is normal, battery pack A outputs a 50% PWM signal to battery pack B through automatic encoding DO.

[0122] After battery pack B detects the 50% PWM signal through the automatic coding DI port, it waits for battery pack A to send the main detection identification data frame. If battery pack B detects the battery pack number value in the main detection identification data frame, it returns a reception success flag (main detection identification feedback confirmation data frame) to battery pack A.

[0123] If battery pack A receives the main detection identification feedback confirmation data frame, it collects the battery pack data of battery pack B;

[0124] Battery pack A determines whether battery pack B is faulty based on the battery pack data. If a fault occurs, a battery pack abnormality alarm signal is generated.

[0125] In this solution, the LED-1 driver port and / or the LED-2 driver port are connected to an LED circuit. The LED circuit design has four types of LED lights, and the lighting status of the LED lights is controlled by logic level combinations, including:

[0126] If the drive signal logic level combination (battery pack abnormality alarm signal) is 0 and 1, the green LED light is on; if the drive signal logic level combination is 1 and 0, the yellow LED light is on; if the drive signal logic level combination is 1 and 1, the red LED light is on.

[0127] For example, in this solution, the color display meanings of the LED lights are as follows:

[0128] Green light: The battery is safe; yellow light: There is a minor battery fault and further diagnosis is required; red light: There is a serious safety risk to the battery and the problem should be isolated and investigated.

[0129] For example, in this solution, the battery pack refers to a battery pack with a voltage below 60V. A BMS hardware circuit board is installed in the battery pack, which can monitor the battery status, power, voltage, temperature, etc. (used to constitute the battery pack data). The BMS can be awakened by an external 12V DC power supply (the 12V DC power supply outputs a power-on signal).

[0130] For example, in this solution, the safety detection CAN-H port and the safety detection CAN-L port are specifically used as detection communication ports for battery pack detection.

[0131] Exemplarily, in this solution, after the BMS on the master battery pack is awakened, the master battery pack collects variables such as battery voltage and temperature in the slave battery pack through CAN messages, and determines whether the slave battery pack is in a safe state based on a predetermined safety threshold.

[0132] Exemplarily, if it is determined that the slave battery pack is in a safe state, the output combined level signal is controlled to drive the LED light on the external device to be constantly green;

[0133] If it is determined that the battery pack has a minor fault, the control output combined level signal drives the LED light on the external device to light up yellow;

[0134] If it is determined that there is a serious fault in the battery pack, the control output combined level signal drives the LED light on the external device to light up red;

[0135] If it is determined that the detection time reaches the predetermined maximum detection time interval, the control outputs a signal to drive the LED light on the external device to flash yellow quickly for 0.1 seconds, and then the battery pack (based on the sleep control code) automatically cuts off the 12V DC power supply and powers down to sleep.

[0136] Exemplarily, in this solution, the BMS in the battery pack is designed with an automatic encoding circuit, which is used to automatically generate a main detection code when it is awakened by an external power supply (power-on signal).

[0137] For example, as a feasible implementation scheme, the BMS may be designed with multiple automatic encoding circuits, and based on the multiple automatic encoding circuits, a (master) battery pack may detect faults of multiple (slave) battery packs through a logical combination.

[0138] For example, as a feasible implementation scheme, each battery pack can also determine the safety status of its own battery pack, and then drive an LED light (circuit) on an external device to indicate the fault status of the battery pack.

[0139] Example 2

[0140] This embodiment provides a battery pack detection device, including a battery pack detection unit, which is configured to:

[0141] When receiving the power-on signal, a main detection code is generated, and the detection mode is configured as the main detection mode through the main detection code;

[0142] When placed in the main detection mode, a broadcast verification data frame is generated. After outputting the broadcast verification data frame, if a verification feedback data frame is received, a battery pack data upload request signal is generated;

[0143] After outputting the battery pack data upload request signal, it outputs the main detection identification data frame. If it receives the main detection identification feedback confirmation data frame, it collects the battery pack data.

[0144] The battery pack data is used to determine whether the detected battery pack is faulty. If a fault occurs, a battery pack abnormality alarm signal is generated.

[0145] Illustratively, in this embodiment, the battery pack detection unit can be specifically configured to implement any one of the battery pack detection methods recorded in Example 1. Its specific implementation process and beneficial effects are the same as the corresponding contents recorded in Example 1, and will not be repeated here.

[0146] Example 3

[0147] Figure 7A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0148] like Figure 7 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0149] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0150] The processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the battery pack detection method.

[0151] In some embodiments, the battery pack detection method may be implemented as a computer program that is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the battery pack detection method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the battery pack detection method in any other appropriate manner (e.g., by means of firmware).

[0152] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0153] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0154] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0155] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0156] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0157] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.

[0158] Note that the above are only preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments and may include many other equivalent embodiments without departing from the concept of the present invention. The scope of the present invention is determined by the scope of the appended claims.

Claims

1. A battery pack detection method, characterized in that: include: When a power-on signal is received, a main detection code is generated, and a detection mode is configured as a main detection mode according to the main detection code; When placed in the main detection mode, a broadcast verification data frame is generated. After outputting the broadcast verification data frame, if a verification feedback data frame is received, a battery pack data upload request signal is generated; After outputting the battery pack data upload request signal, outputting a main detection identification data frame, and if receiving a main detection identification feedback confirmation data frame, collecting the battery pack data; determining whether a detected battery pack is faulty based on the battery pack data, and generating a battery pack abnormality alarm signal if a fault occurs; If the detected battery pack does not fail, generating a total detection configuration code; The total detection configuration code is used to configure the detection mode of the detected battery pack to change from the master detection mode to the slave detection mode, or to configure the detection mode of the detected battery pack to change from the slave detection mode to the master detection mode, or to configure the detected battery pack to no longer generate the total detection configuration code; When the battery packs are connected in series, the safety detection CAN-H port, safety detection CAN-L port, automatic coding DI port, and automatic coding DO port between the battery packs are connected accordingly; The safety detection CAN-H port and the safety detection CAN-L port are used for the communication and transmission of broadcast verification data frames, main detection identification data frames, main detection identification feedback confirmation data frames, total detection configuration codes, and battery pack data between battery packs; The automatic coding DI port and the automatic coding DO port are used for communication and transmission of battery pack data upload request signals between battery packs, and the battery pack data upload request signal includes a PWM signal.

2. The battery pack detection method according to claim 1, wherein: After outputting the broadcast verification data frame, the method further includes: If the verification feedback data frame is not received after a set time period, a sleep control code is generated, and the detection mode is configured to change from the main detection mode to the sleep mode through the sleep control code.

3. The battery pack detection method according to any one of claims 1 to 2, characterized in that: The battery pack data includes battery pack voltage and / or battery pack temperature.

4. The battery pack detection method according to any one of claims 1 to 2, characterized in that: The battery pack abnormality alarm signal includes a first abnormality alarm signal, a second abnormality alarm signal and a third abnormality alarm signal; The first abnormal alarm signal is used to indicate that a primary fault occurs in the detected battery pack; The second abnormal alarm signal is used to indicate that a secondary fault occurs in the detected battery pack; The third abnormal alarm signal is used to indicate that a third-level fault occurs in the detected battery pack.

5. The battery pack detection method according to any one of claims 1 to 2, characterized in that: The battery pack abnormality alarm signal includes an LED drive control signal.

6. A battery pack detection device, characterized in that: A battery pack detection unit is included, wherein the battery pack detection unit is used to: When a power-on signal is received, a main detection code is generated, and a detection mode is configured as a main detection mode according to the main detection code; When placed in the main detection mode, a broadcast verification data frame is generated. After outputting the broadcast verification data frame, if a verification feedback data frame is received, a battery pack data upload request signal is generated; After outputting the battery pack data upload request signal, outputting a main detection identification data frame, and if receiving a main detection identification feedback confirmation data frame, collecting the battery pack data; determining whether a detected battery pack is faulty based on the battery pack data, and generating a battery pack abnormality alarm signal if a fault occurs; If the detected battery pack does not fail, generating a total detection configuration code; The total detection configuration code is used to configure the detection mode of the detected battery pack to change from the master detection mode to the slave detection mode, or to configure the detection mode of the detected battery pack to change from the slave detection mode to the master detection mode, or to configure the detected battery pack to no longer generate the total detection configuration code; When the battery packs are connected in series, the safety detection CAN-H port, safety detection CAN-L port, automatic coding DI port, and automatic coding DO port between the battery packs are connected accordingly; The safety detection CAN-H port and the safety detection CAN-L port are used for the communication and transmission of broadcast verification data frames, main detection identification data frames, main detection identification feedback confirmation data frames, total detection configuration codes, and battery pack data between battery packs; The automatic coding DI port and the automatic coding DO port are used for communication and transmission of battery pack data upload request signals between battery packs, and the battery pack data upload request signal includes a PWM signal.

7. An electronic device, characterized in that: comprising at least one processor, and a memory communicatively connected to the at least one processor; The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the battery pack detection method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the battery pack detection method according to any one of claims 1 to 5 when executed.