Insulation detection method and device, readable storage medium and computer program product

The insulation detection method identifies a fault-free battery pack for real-time monitoring, adapting to different equipment modes, ensuring safety and efficiency in battery management systems.

CN119125936APending Publication Date: 2024-12-13JIANGSU XCMG CONSTRUCTION MACHINERY RESEARCH INSTITUTE LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411360145.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

Existing battery management systems fail to ensure the safety of multiple battery packs in mechanical equipment under varying operating conditions, particularly due to insulation resistance degradation and potential high-voltage leakage.

Method used

An insulation detection method that identifies a fault-free battery pack as the first battery pack, performs insulation detection on it, and controls real-time insulation detection based on the equipment's operating conditions, using different strategies for various modes like low-voltage power-on, charging, and driving.

Benefits of technology

Ensures the safety of battery packs by maintaining an insulation state regardless of operating conditions, reducing interference and resource waste, and minimizing safety hazards through controlled insulation detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119125936A_ABST
    Figure CN119125936A_ABST
Patent Text Reader

Abstract

The invention relates to an insulation detection method and device, a readable storage medium and a computer program product, and relates to the technical field of battery management. The insulation detection method comprises the following steps: under the condition that a plurality of battery packs in mechanical equipment have fault-free adhesion battery packs, determining that the fault-free adhesion battery pack in the plurality of battery packs in the mechanical equipment is a first battery pack; performing insulation detection on the first battery pack; and under the condition that the first battery pack passes the insulation detection, real-time insulation detection of the first battery pack is controlled according to the use working condition of the mechanical equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of battery management, and in particular to an insulation detection method, an insulation detection device, a computer-readable storage medium, and a computer program product. Background Art

[0002] With the development of new energy technologies, the safety of battery packs in mechanical equipment has attracted widespread attention. The modules of the battery pack are connected in series and parallel to form a high-voltage power supply. The two levels of the power supply are high-voltage positive HV+ and high-voltage negative HV-, and the shell of the mechanical equipment (for example, new energy vehicles) is the ground. Ideally, the vehicle body is isolated from the high-voltage battery circuit, that is, the insulation resistance Rp (Positive Resistance) of HV+ to the ground and the insulation resistance Rn (Negative Resistance) of HV- to the ground are both infinite. Summary of the invention

[0003] The inventors of the present disclosure have discovered that the above-mentioned related technologies have the following problem: how to ensure the safety of multiple battery packs in a mechanical device when the mechanical device is in different operating conditions.

[0004] In view of this, the present disclosure proposes an insulation detection method, by determining that the battery pack that is not fault-adhered among the multiple battery packs in the mechanical equipment is the first battery pack, and performing insulation detection on the first battery pack to determine that the mechanical equipment before the real-time insulation detection is safe and there is no insulation fault, so as to facilitate the subsequent control of the real-time insulation detection according to the use condition of the mechanical equipment, and then control the real-time insulation detection of the first battery pack according to the use condition of the mechanical equipment. By performing real-time insulation detection on the first battery pack, it is ensured that the mechanical equipment can maintain an insulation state regardless of the use condition. The real-time insulation detection of the first battery pack can be controlled by different control strategies according to the different use conditions of the mechanical equipment, so as to ensure the safety of multiple battery packs in the mechanical equipment when the mechanical equipment is in different use conditions.

[0005] According to some embodiments of the first aspect of the present disclosure, there is provided an insulation detection method, comprising: in a case where there is a battery pack that is adhered without fault among multiple battery packs in a mechanical device, determining that the battery pack that is adhered without fault among the multiple battery packs in the mechanical device is a first battery pack; performing insulation detection on the first battery pack; and in a case where the first battery pack passes the insulation detection, controlling the real-time insulation detection of the first battery pack according to the operating condition of the mechanical device.

[0006] In some embodiments, according to the operating condition of the mechanical equipment, controlling the real-time insulation detection of the first battery pack includes determining the working mode of the mechanical equipment according to the operating condition of the mechanical equipment; according to the working mode of the mechanical equipment, controlling the real-time insulation detection of the first battery pack, wherein the working mode of the mechanical equipment includes at least one of a low-voltage power-on mode, a battery replacement mode, a charging mode and a driving mode.

[0007] In some embodiments, controlling the real-time insulation detection of the first battery pack according to the working mode of the mechanical device includes: controlling the start and pause of the real-time insulation detection of the first battery pack according to the working mode of the mechanical device.

[0008] In some embodiments, according to the working mode of the mechanical equipment, controlling the start and pause of the real-time insulation detection of the first battery pack includes: when the working mode of the mechanical equipment is a low-voltage power-on mode, determining the battery pack with the smallest insulation resistance in the first battery pack; and starting the real-time insulation detection of the battery pack with the smallest insulation resistance in the first battery pack.

[0009] In some embodiments, according to the working mode of the mechanical equipment, controlling the start and pause of the real-time insulation detection of the first battery pack includes: when the working mode of the mechanical equipment is the battery replacement mode, turning off the real-time insulation detection of the first battery pack; replacing the second battery pack that needs to be replaced in the first battery pack to obtain the first battery pack that has completed the battery replacement; controlling the start and pause of the real-time insulation detection of the second battery pack.

[0010] In some embodiments, the insulation detection method further includes: controlling the start and pause of real-time insulation detection of the first battery pack that completes the battery replacement according to the working mode of the mechanical equipment.

[0011] In some embodiments, according to the working mode of the mechanical equipment, controlling the start and pause of real-time insulation detection of the first battery pack that has completed the battery replacement includes: determining the battery pack with the smallest insulation resistance in the first battery pack that has completed the battery replacement; and starting real-time insulation detection of the battery pack with the smallest insulation resistance in the first battery pack that has completed the battery replacement.

[0012] In some embodiments, controlling the start and stop of the real-time insulation detection of the second battery pack includes: controlling the start and stop of the real-time insulation detection of the second battery pack according to a handshake protocol between the second battery pack and the charger.

[0013] In some embodiments, according to the handshake protocol between the second battery pack and the charger, controlling the start and pause of the real-time insulation detection of the second battery pack includes: starting the real-time insulation detection of the second battery pack; pausing the real-time insulation detection of the second battery pack when handshake information sent by the charger is detected, wherein the handshake information includes at least one of a handshake communication message and a charging connection confirmation signal; when a ready status message sent by the charger is detected, starting the real-time insulation detection of the second battery pack again and waiting for receiving a lower high voltage instruction; when a lower high voltage instruction is received, ending the real-time insulation detection of the second battery pack.

[0014] In some embodiments, according to the working mode of the mechanical equipment, controlling the start and pause of the real-time insulation detection of the first battery pack includes: when the working mode of the mechanical equipment is a charging mode, charging the third battery pack that needs to be charged in the first battery pack, wherein the charging mode includes at least one of a multi-gun charging mode and a single-gun charging mode; controlling the start and pause of the real-time insulation detection of the third battery pack.

[0015] In some embodiments, controlling the start and stop of the real-time insulation detection of the fourth battery pack includes: controlling the start and stop of the real-time insulation detection of the third battery pack according to a handshake protocol between the third battery pack and the charger.

[0016] In some embodiments, according to the handshake protocol between the third battery pack and the charger, controlling the start and pause of the real-time insulation detection of the third battery pack includes: pausing the real-time insulation detection of the third battery pack when handshake information sent by the charger is detected, wherein the handshake information includes a handshake communication message; when a ready status message sent by the charger is detected, restarting the real-time insulation detection of the third battery pack and waiting for receipt of a lower high-voltage instruction; and ending the real-time insulation detection of the third battery pack when a lower high-voltage instruction is received.

[0017] In some embodiments, controlling the start and pause of real-time insulation detection of the third battery pack includes: in case a pack is detached from the third battery pack, waiting to receive a single-pack power-off instruction; in case a single-pack power-off instruction is received, determining the fault adhesion condition of the fourth battery pack in which a pack is detached from the third battery pack; and controlling the start and pause of real-time insulation detection of the fourth battery pack according to the fault adhesion condition of the fourth battery pack.

[0018] In some embodiments, according to the fault adhesion condition of the fourth battery pack, controlling the start and pause of the real-time insulation detection of the fourth battery pack includes: when there is no fault adhesion in the fourth battery pack and the real-time insulation detection of the fourth battery pack is in the started state, turning off the real-time insulation detection of the fourth battery pack.

[0019] In some embodiments, according to the fault adhesion condition of the fourth battery pack, controlling the start and pause of the real-time insulation detection of the fourth battery pack also includes: when there is no fault adhesion in the fourth battery pack and the real-time insulation detection of the fourth battery pack is in a suspended state, maintaining the state of the real-time insulation detection of the fourth battery pack.

[0020] In some embodiments, based on the fault adhesion condition of the fourth battery pack, controlling the start and pause of real-time insulation detection of the fourth battery pack includes: in the event that fault adhesion exists in the fourth battery pack, determining the battery pack with the smallest insulation resistance in the first battery pack where no pack is loose; and starting real-time insulation detection of the battery pack with the smallest insulation resistance in the first battery pack where no pack is loose.

[0021] In some embodiments, the insulation detection method further includes: determining a battery pack with the smallest insulation resistance among the first battery packs without any pack removal; and initiating real-time insulation detection of the battery pack with the smallest insulation resistance among the first battery packs without any pack removal.

[0022] In some embodiments, controlling the start and pause of real-time insulation detection of the third battery pack also includes: when the third battery pack is not off-pack, waiting for receiving a lower high-voltage instruction; when receiving a lower high-voltage instruction, shutting down the real-time insulation detection of the first battery pack.

[0023] In some embodiments, the packet drop includes at least one of a full packet drop and a fault packet drop.

[0024] In some embodiments, according to the working mode of the mechanical equipment, controlling the start and pause of the real-time insulation detection of the first battery pack includes: when the working mode of the mechanical equipment is the driving mode, maintaining the first battery pack in a state of real-time insulation detection; when there is a pack detachment in the first battery pack, waiting to receive a single-pack power-off instruction, wherein the pack detachment includes a faulty pack detachment; when the single-pack power-off instruction is received, determining the fault adhesion condition of the fifth battery pack in the first battery pack where there is a pack detachment; and controlling the start and pause of the real-time insulation detection of the fifth battery pack according to the fault adhesion condition of the fifth battery pack.

[0025] In some embodiments, based on the fault adhesion condition of the fifth battery pack, controlling the start and pause of the real-time insulation detection of the fifth battery pack includes: when there is no fault adhesion in the fifth battery pack, waiting for receiving a lower high-voltage instruction; when receiving a lower high-voltage instruction, turning off the real-time insulation detection of the first battery pack.

[0026] In some embodiments, based on the fault adhesion condition of the fifth battery pack, controlling the start and pause of real-time insulation detection of the fifth battery pack also includes: in the event that fault adhesion exists in the fifth battery pack, determining the battery pack with the smallest insulation resistance in the first battery pack where no pack is loose; and starting real-time insulation detection of the battery pack with the smallest insulation resistance in the first battery pack where no pack is loose.

[0027] In some embodiments, according to the working mode of the mechanical equipment, controlling the start and pause of the real-time insulation detection of the first battery pack also includes: waiting for receiving a lower high-voltage instruction when the first battery pack is not detached; and turning off the real-time insulation detection of the first battery pack when the lower high-voltage instruction is received.

[0028] In some embodiments, performing an insulation test on the first battery pack includes: performing a first insulation test on the first battery pack; performing a second insulation test on the first battery pack, wherein a time of the first insulation test is less than a time of the second insulation test, and an accuracy of the second insulation test is greater than an accuracy of the first insulation test.

[0029] In some embodiments, the insulation detection method further includes: determining a first battery pack according to an order of the plurality of battery packs when there is no battery pack that is not faultily adhered among the plurality of battery packs, wherein the first battery pack is one.

[0030] In some embodiments, the insulation detection method further includes: reporting a fault signal when there is a battery pack in the first battery pack that fails the insulation detection.

[0031] According to some embodiments of the second aspect of the present disclosure, an insulation detection device is provided, including: a determination unit, configured to determine that a battery pack that is not stuck to the mechanical equipment is a first battery pack when there is a battery pack that is not stuck to the mechanical equipment among the multiple battery packs in the mechanical equipment; an insulation detection unit, configured to perform insulation detection on the first battery pack; and a control unit, configured to control real-time insulation detection of the first battery pack according to the operating condition of the mechanical equipment when the first battery pack passes the insulation detection.

[0032] In some embodiments, the control unit is further configured to determine the working mode of the mechanical equipment according to the operating conditions of the mechanical equipment; and control the real-time insulation detection of the first battery pack according to the working mode of the mechanical equipment, wherein the working mode of the mechanical equipment includes at least one of a low-voltage power-on mode, a battery replacement mode, a charging mode and a driving mode.

[0033] In some embodiments, the control unit is further configured to control the start and pause of the real-time insulation detection of the first battery pack according to the working mode of the mechanical equipment.

[0034] In some embodiments, the control unit is further configured to determine the battery pack with the smallest insulation resistance in the first battery pack when the working mode of the mechanical equipment is the low-voltage power-on mode; and start real-time insulation detection of the battery pack with the smallest insulation resistance in the first battery pack.

[0035] In some embodiments, the control unit is also configured to, when the working mode of the mechanical equipment is a battery replacement mode, turn off the real-time insulation detection of the first battery pack; replace the second battery pack that needs to be replaced in the first battery pack to obtain the first battery pack that has completed the battery replacement; and control the start and pause of the real-time insulation detection of the second battery pack.

[0036] In some embodiments, the control unit is further configured to control the start and pause of real-time insulation detection of the first battery pack that completes the battery replacement according to the working mode of the mechanical equipment.

[0037] In some embodiments, the control unit is further configured to determine a battery pack with the smallest insulation resistance in the first battery pack that completes the battery replacement; and to initiate real-time insulation detection of the battery pack with the smallest insulation resistance in the first battery pack that completes the battery replacement.

[0038] In some embodiments, the control unit is further configured to control starting and stopping of the real-time insulation detection of the second battery pack according to a handshake protocol between the second battery pack and the charger.

[0039] In some embodiments, the control unit is further configured to start real-time insulation detection of the second battery pack; suspend the real-time insulation detection of the second battery pack when a handshake message sent by the charger is detected, wherein the handshake information includes at least one of a handshake communication message and a charging connection confirmation signal; start the real-time insulation detection of the second battery pack again when a ready status message sent by the charger is detected, and wait for receipt of a lower high-voltage instruction; end the real-time insulation detection of the second battery pack when a lower high-voltage instruction is received.

[0040] In some embodiments, the control unit is further configured to charge a third battery pack that needs to be charged in the first battery pack when the working mode of the mechanical equipment is a charging mode, wherein the charging mode includes at least one of a multi-gun charging mode and a single-gun charging mode; and control the start and pause of real-time insulation detection of the third battery pack.

[0041] In some embodiments, the control unit is further configured to control starting and pausing of real-time insulation detection of the third battery pack according to a handshake protocol between the third battery pack and the charger.

[0042] In some embodiments, the control unit is further configured to suspend the real-time insulation detection of the third battery pack when a handshake message sent by the charger is detected, wherein the handshake information includes a handshake communication message; when a ready status message sent by the charger is detected, restart the real-time insulation detection of the third battery pack and wait for receiving a lower high-voltage instruction; when a lower high-voltage instruction is received, end the real-time insulation detection of the third battery pack.

[0043] In some embodiments, the control unit is further configured to, in the event that a pack is detached from the third battery pack, wait for receipt of a single-pack power-off command; in the event that the single-pack power-off command is received, determine a fault adhesion condition of a fourth battery pack in which a pack is detached from the third battery pack; and, based on the fault adhesion condition of the fourth battery pack, control the start and pause of real-time insulation detection of the fourth battery pack.

[0044] In some embodiments, the control unit is further configured to disable the real-time insulation detection of the fourth battery pack when there is no fault adhesion in the fourth battery pack and the real-time insulation detection of the fourth battery pack is in an enabled state.

[0045] In some embodiments, the control unit is further configured to maintain the state of the real-time insulation detection of the fourth battery pack when there is no fault adhesion in the fourth battery pack and the real-time insulation detection of the fourth battery pack is in a suspended state.

[0046] In some embodiments, the control unit is further configured to, when there is a fault adhesion in the fourth battery pack, determine the battery pack with the smallest insulation resistance in the first battery pack where no pack is loose; and initiate real-time insulation detection of the battery pack with the smallest insulation resistance in the first battery pack where no pack is loose.

[0047] In some embodiments, the control unit is further configured to determine a battery pack with the smallest insulation resistance among the first battery packs without any pack loss; and initiate real-time insulation detection of the battery pack with the smallest insulation resistance among the first battery packs without any pack loss.

[0048] In some embodiments, the control unit is further configured to wait for receiving a lower high voltage instruction when the third battery pack is not detached; and to shut down the real-time insulation detection of the first battery pack when the lower high voltage instruction is received.

[0049] In some embodiments, the packet drop includes at least one of a full packet drop and a fault packet drop.

[0050] In some embodiments, the control unit is further configured to maintain the first battery pack in a state of real-time insulation detection when the working mode of the mechanical equipment is the driving mode; wait to receive a single-pack power-off command when there is a pack disconnection in the first battery pack, wherein the pack disconnection includes a faulty pack disconnection; when receiving the single-pack power-off command, determine the fault adhesion condition of the fifth battery pack in which there is a pack disconnection in the first battery pack; and control the start and pause of the real-time insulation detection of the fifth battery pack according to the fault adhesion condition of the fifth battery pack.

[0051] In some embodiments, the control unit is further configured to wait for receiving a lower high voltage instruction when there is no fault adhesion in the fifth battery pack; and to shut down the real-time insulation detection of the first battery pack when receiving the lower high voltage instruction.

[0052] In some embodiments, the control unit is further configured to, in the event that there is a fault adhesion in the fifth battery pack, determine the battery pack with the smallest insulation resistance in the first battery pack where no pack is loose; and initiate real-time insulation detection of the battery pack with the smallest insulation resistance in the first battery pack where no pack is loose.

[0053] In some embodiments, the control unit is further configured to wait for receiving a lower high voltage instruction when the first battery pack is not detached; and to shut down the real-time insulation detection of the first battery pack when the lower high voltage instruction is received.

[0054] In some embodiments, the insulation detection unit is further configured to perform a first insulation test on the first battery pack; and perform a second insulation test on the first battery pack, wherein the time of the first insulation test is less than the time of the second insulation test, and the accuracy of the second insulation test is greater than the accuracy of the first insulation test.

[0055] In some embodiments, the determining unit is further configured to determine a first battery pack according to an order of the plurality of battery packs if there is no battery pack that is not adhered to the battery pack due to a fault, wherein the first battery pack is one.

[0056] In some embodiments, the insulation detection unit is further configured to report a fault signal if there is a battery pack in the first battery pack that fails the insulation detection.

[0057] According to some embodiments of the third aspect of the present disclosure, an insulation detection device is provided, comprising: a memory and a processor coupled to the memory, wherein the processor is configured to execute the insulation detection method in any one of the above embodiments based on instructions stored in the memory.

[0058] According to some embodiments of the fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the insulation detection method in any of the above embodiments is implemented.

[0059] According to some embodiments of the fifth aspect of the present disclosure, a computer program product is provided, including a computer program, which implements the insulation detection method in any of the above embodiments when executed by a processor.

[0060] In the above embodiment, when there is a battery pack with no fault adhesion among multiple battery packs in the mechanical equipment, it is determined that the battery pack with no fault adhesion among the multiple battery packs is the first battery pack, and insulation detection is performed on the first battery pack to determine that the mechanical equipment is safe before the real-time insulation detection is performed, and there is no insulation fault, so as to facilitate the subsequent control of the real-time insulation detection according to the use condition of the mechanical equipment, and then control the real-time insulation detection of the first battery pack according to the use condition of the mechanical equipment. By performing real-time insulation detection on the first battery pack, it is ensured that the mechanical equipment can maintain an insulation state regardless of the use condition. The real-time insulation detection of the first battery pack can be controlled by different control strategies according to the different use conditions of the mechanical equipment, so as to ensure the safety of multiple battery packs in the mechanical equipment when the mechanical equipment is in different use conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0062] The present disclosure can be more clearly understood from the following detailed description with reference to the accompanying drawings.

[0063] Figure 1 A flow chart showing some embodiments of the insulation detection method of the present disclosure.

[0064] Figure 2 Schematic diagrams showing some embodiments of the structure of a multi-battery pack of a mechanical device of the present disclosure.

[0065] Figure 3 Schematic diagrams showing some embodiments of the working modes of the mechanical device of the present disclosure.

[0066] Figure 4 Schematic diagrams showing some embodiments of the insulation detection device disclosed herein.

[0067] Figure 5 Schematic diagrams showing other embodiments of the insulation detection device disclosed herein.

[0068] Figure 6 Schematic diagrams showing other embodiments of the insulation detection method of the present disclosure. DETAILED DESCRIPTION

[0069] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.

[0070] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0071] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0072] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.

[0073] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0074] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0075] Due to factors such as aging and harsh operating environment, Rp and Rn decrease, or even short circuit, which may cause high voltage leakage and leakage, thus causing harm to mechanical equipment (such as vehicles) and personnel. Therefore, it is important to conduct real-time insulation monitoring of the entire battery pack and charging and discharging circuits to prevent and eliminate hazards caused by poor insulation of the battery pack. How to perform real-time insulation detection on multiple battery packs to ensure the safety of battery packs in mechanical equipment is a problem that needs to be solved.

[0076] In view of the above problems, the present disclosure proposes an insulation detection method, which determines that the battery pack that is adhered without fault among the multiple battery packs in the mechanical equipment is the first battery pack, and performs insulation detection on the first battery pack to determine that the mechanical equipment is safe before the real-time insulation detection, and there is no insulation fault, so as to facilitate the subsequent control of the real-time insulation detection according to the use condition of the mechanical equipment, and then control the real-time insulation detection of the first battery pack according to the use condition of the mechanical equipment. By performing real-time insulation detection on the first battery pack, it is ensured that the mechanical equipment can maintain an insulation state regardless of the use condition. The real-time insulation detection of the first battery pack can be controlled by different control strategies according to the different use conditions of the mechanical equipment, so as to ensure the safety of multiple battery packs in the mechanical equipment when the mechanical equipment is in different use conditions, as follows.

[0077] Figure 1 A flow chart showing some embodiments of the insulation detection method of the present disclosure.

[0078] like Figure 1 As shown, the insulation detection method includes steps 110 to 130 .

[0079] In step 110, when there is a non-faulty sticking battery pack among multiple battery packs in a mechanical device (eg, a new energy vehicle), the non-faulty sticking battery pack among the multiple battery packs in the mechanical device is determined to be a first battery pack, wherein the first battery pack may include one or more battery packs.

[0080] In some embodiments, when there is no battery pack in the mechanical device that is not adhered to the battery pack without failure, a first battery pack is determined according to the order of the multiple battery packs, wherein the first battery pack is one.

[0081] Here, the first battery pack being one means that the first battery pack includes one battery pack.

[0082] Specifically, if multiple battery packs in a mechanical device all fail and become stuck together, a first battery pack is determined based on the order of the multiple battery packs. The order of the determined first battery pack can be set manually. For example, the battery pack with the smallest order among the multiple battery packs can be selected as the first battery pack.

[0083] Figure 2 Schematic diagrams showing some embodiments of the structure of a multi-battery pack of a mechanical device of the present disclosure.

[0084] When there are multiple battery packs in a mechanical device, the structure of the multiple battery packs is as follows: Figure 2 shown.

[0085] like Figure 2 As shown, the multi-battery pack electrical appliance of the mechanical equipment includes N battery packs, namely, battery pack 1, battery pack 2, battery pack 3 to battery pack N. Taking battery pack 1 as an example, the battery box positive 101 and the battery box negative 102 are two poles of the battery pack 1, the battery box positive 101 is connected to the main positive relay 105 through the MSD (Manual Maintenance Switch) 103, the battery box negative 102 is connected to the main negative relay 106 through the CVS (Current And Voltage Sample Sensor) 104, and the main positive relay 105 and the main negative relay 106 are connected to the high voltage box 108 through the high voltage plug-in 107. Taking battery pack 2 as an example, the positive terminal 201 of the battery box and the negative terminal 202 of the battery box are the two poles of battery pack 2. The positive terminal 201 of the battery box is connected to the main positive relay 205 through the MSD (Manual Maintenance Switch) 203, and the negative terminal 202 of the battery box is connected to the main negative relay 206 through the CVS (Current And Voltage Sample Sensor) 204. The main positive relay 205 and the main negative relay 206 are connected to the high voltage box 108 through the high voltage plug-in 207. Taking battery pack 3 as an example, the positive terminal 301 of the battery box and the negative terminal 302 of the battery box are the two poles of battery pack 3. The positive terminal 301 of the battery box is connected to the main positive relay 305 through the MSD (Manual Maintenance Switch) 303, and the negative terminal 302 of the battery box is connected to the main negative relay 306 through the CVS (Current And Voltage Sample Sensor) 304. The main positive relay 305 and the main negative relay 306 are connected to the high voltage box 108 through the high voltage plug-in 307. Taking battery pack N as an example, the positive battery box N01 and the negative battery box N02 are the two poles of battery pack N. The positive battery box N01 is connected to the main positive relay N05 through MSD (Manual Maintenance Switch) N03, and the negative battery box N02 is connected to the main negative relay N06 through CVS (Current And Voltage Sample Sensor) N04. The main positive relay N05 and the main negative relay N06 are connected to the high-voltage box 108 through the high-voltage plug-in N07. Figure 2 It can be seen that battery pack 1, battery pack 2, battery pack 3 to battery pack N are connected to the high-voltage box in parallel.

[0086] The judgment of fault adhesion before insulation detection is to meet the requirement that multiple battery packs cannot be tested for insulation at the same time. It helps to meet the requirement that only one battery pack in the main circuit starts real-time insulation detection, otherwise they will interfere with each other.

[0087] In step 120 , an insulation test is performed on the first battery pack.

[0088] In some embodiments, performing insulation testing on the first battery pack may be first performing a first insulation test on the first battery pack and then performing a second insulation test on the first battery pack, wherein the time of the first insulation test is shorter than the time of the second insulation test and the accuracy of the second insulation test is greater than the accuracy of the first insulation test.

[0089] For example, the first insulation test may be a quick insulation test, and the second insulation test may be a self-insulation test, wherein the detection time required for the quick insulation test is shorter than the detection time required for the self-insulation test, and the detection accuracy of the self-insulation test is higher than the detection accuracy of the quick insulation test.

[0090] It should be noted that the first insulation test and the second insulation test cannot be performed at the same time.

[0091] Through two insulation tests, the first insulation test and the second insulation test, a basic judgment can be made on the insulation conditions of multiple battery packs before real-time insulation testing, reducing the risk of high voltage leakage or leakage due to untimely insulation testing.

[0092] In some embodiments, if none of the first battery packs pass the insulation test, a fault signal is reported.

[0093] In some embodiments, the determination of whether there is a fault adhesion in step 110 and the insulation detection in step 120 may be performed by a SBMU (Sub-Battery Management System) in the battery pack.

[0094] In step 130 , when the first battery pack passes the insulation test, the real-time insulation test of the first battery pack is controlled according to the use condition of the mechanical equipment.

[0095] In some embodiments, the first battery pack that passes the insulation test is incorporated into the main circuit.

[0096] The insulation test performed in step 120 is performed on each battery pack in the first battery pack, and “when the first battery pack passes the insulation test” in step 130 means that each battery pack in the first battery pack passes the insulation test.

[0097] If there is a battery pack in the first battery pack that fails the insulation test, an insulation fault (i.e., a fault signal) is directly reported. If there is a battery pack in the first battery pack that fails the insulation test, each battery pack in the first battery pack is not incorporated into the main circuit, and subsequent real-time insulation test steps cannot be performed. Instead, the high voltage instruction is waited for to be lowered.

[0098] In some embodiments, the operating condition of the mechanical equipment is determined by instructions sent by the VCU (Vehicle Control Unit) or the MBMU (Main Battery Management System). In other words, the working mode of the mechanical equipment can be determined based on the instructions sent by the VCU or MBMU.

[0099] The commands sent mainly include high-voltage commands on DC (i.e. charging mode commands), high-voltage commands on driving or battery replacement mode commands.

[0100] In the above embodiment, when there is a battery pack with no fault adhesion among multiple battery packs in the mechanical equipment, it is determined that the battery pack with no fault adhesion among the multiple battery packs is the first battery pack, and insulation detection is performed on the first battery pack to determine that the mechanical equipment is safe before the real-time insulation detection is performed, and there is no insulation fault, so as to facilitate the subsequent control of the real-time insulation detection according to the use condition of the mechanical equipment, and then control the real-time insulation detection of the first battery pack according to the use condition of the mechanical equipment. By performing real-time insulation detection on the first battery pack, it is ensured that the mechanical equipment can maintain an insulation state regardless of the use condition. The real-time insulation detection of the first battery pack can be controlled by different control strategies according to the different use conditions of the mechanical equipment, so as to ensure the safety of multiple battery packs in the mechanical equipment when the mechanical equipment is in different use conditions.

[0101] In some embodiments, the working mode of the mechanical device is determined according to the use condition of the mechanical device, and then the real-time insulation detection of the first battery pack is controlled according to the working mode of the mechanical device. The working mode of the mechanical device includes at least one of a low-voltage power-on mode, a battery replacement mode, a charging mode, and a driving mode.

[0102] If it is driving mode, the user usually switches the car key from ACC to ON or similar, at which time the vehicle will recognize a high-voltage signal and send it to the SBMU. If a charging gun is inserted, the vehicle or BMS (Battery Management System) will detect the charging gun confirmation signal, and determine whether it is in charging mode based on the two conditions of the high-voltage command and the charging gun confirmation signal; the battery swap mode is mainly the CH_confirm signal, which is also the hardware connection confirmation signal. If this signal is detected, it means it is in battery swap mode.

[0103] By controlling the insulation detection logic in different modes, real-time insulation detection of battery packs, chargers and mechanical equipment can be performed to the greatest extent possible while ensuring normal functionality, thus reducing safety hazards of mechanical equipment and avoiding the adverse effects caused by high-voltage insulation detection to a certain extent.

[0104] For example, controlling the real-time insulation detection of the first battery pack may be controlling the start and pause of the real-time insulation detection of the first battery pack.

[0105] Figure 3 Schematic diagrams showing some embodiments of the working modes of the mechanical device of the present disclosure.

[0106] like Figure 3 As shown, the working modes of the mechanical equipment may include low-voltage power-on mode, driving mode, single-gun charging mode, multi-gun charging mode, battery pack full pack removal mode, fault pack removal mode and battery replacement mode.

[0107] The battery pack full pack removal mode can be in single-gun charging mode or multi-gun charging mode, and the fault pack removal mode can be in single-gun charging mode, multi-gun charging mode and driving mode.

[0108] In some embodiments, if the working mode of the mechanical device is the low-voltage power-on mode, a battery pack with the smallest insulation resistance is determined in the first battery pack, and then real-time insulation detection of the battery pack with the smallest insulation resistance in the first battery pack is started.

[0109] If the insulation resistance values ​​of the battery packs in the first battery pack are all equal, one battery pack in the first battery pack is randomly selected according to the order of the battery packs in the first battery pack, and then the real-time insulation detection of the battery pack is started.

[0110] By selecting one battery pack from multiple battery packs for real-time insulation testing, the risk of interference between multiple battery packs during simultaneous insulation testing is reduced, the accuracy of the insulation testing results is guaranteed, electricity costs are saved, and the waste of redundant resources caused by simultaneous insulation testing of multiple battery packs is avoided.

[0111] The reason why selecting one battery pack from multiple battery packs for real-time insulation testing can ensure the insulation of all battery packs in the main circuit is because the battery packs in the main circuit are connected in parallel. Considering that simultaneous insulation testing of parallel battery packs will interfere with the calculated resistance values ​​of each other, it is necessary to ensure that only one battery pack in the main circuit is undergoing insulation testing.

[0112] In some embodiments, if the working mode of the mechanical equipment is the battery replacement mode, the real-time insulation detection of the first battery pack is turned off, and after the real-time insulation detection of the first battery pack is turned off, the second battery pack that needs to be replaced in the first battery pack is replaced to obtain the first battery pack that has completed the battery replacement, and the start and pause of the real-time insulation detection of the second battery pack are controlled. The second battery pack includes one or more battery packs.

[0113] Regarding how to control the start and pause of the real-time insulation detection of the second battery pack, it can be controlled in the following way: according to the handshake protocol between the second battery pack and the charger, control the start and pause of the real-time insulation detection of the second battery pack, as follows.

[0114] First, the real-time insulation detection of the second battery pack is started. When the handshake information sent by the charger is detected, the real-time insulation detection of the second battery pack is suspended, wherein the handshake information includes at least one of a handshake communication message and a charging connection confirmation signal. When the ready status message sent by the charger is detected, the real-time insulation detection of the second battery pack is started again, and waits for receiving the next high-voltage instruction; when the next high-voltage instruction is received, the real-time insulation detection of the second battery pack is ended.

[0115] For example, the handshake communication message can be a CHM message (Charger Handshake Message, a handshake communication CAN (Controller Area Network) message sent by the charging pile in the national standard charging process), the charging connection confirmation signal can be CH_confirm (battery pack charging connection confirmation signal of the battery swap station), and the ready status message can be the 0xAA signal in the CRO message (Charger Ready Message, a CAN message that the charger outputs the ready status in the national standard charging process).

[0116] In some embodiments, starting the real-time insulation detection of the second battery pack may be starting the real-time insulation detection of the first battery pack after the battery pack is awakened at the battery swap station.

[0117] When performing real-time insulation testing on the second battery pack, it should be noted that the real-time insulation testing of the second battery pack cannot be performed simultaneously with the insulation testing of the charger.

[0118] In some embodiments, the start and pause of real-time insulation detection of the first battery pack that completes the battery replacement can also be controlled according to the working mode of the mechanical equipment.

[0119] For example, a battery pack with the smallest insulation resistance can be determined among the first battery packs that have completed battery replacement; and real-time insulation detection of the battery pack with the smallest insulation resistance among the first battery packs that have completed battery replacement can be initiated.

[0120] By selecting one battery pack from multiple battery packs for real-time insulation testing, the risk of interference between multiple battery packs during simultaneous insulation testing is reduced, the accuracy of the insulation testing results is guaranteed, electricity costs are saved, and the waste of redundant resources caused by simultaneous insulation testing of multiple battery packs is avoided.

[0121] For the first battery pack that has completed the battery replacement, real-time insulation detection may not be enabled for it. It can be assumed that there is no problem with insulation detection for the first battery pack that has completed the battery replacement. The first battery pack that has completed the battery replacement can wait for instructions for the next working mode and make adjustments according to different working modes.

[0122] Because the battery packs that have not been replaced in the first battery pack that has completed the battery swap have passed the insulation test, and the newly added battery packs in the first battery pack have been insulation tested at the battery swap station, it is assumed that there is no problem with the insulation.

[0123] In some embodiments, if the working mode of the mechanical device is a charging mode (e.g., DC (Direct Current) charging), the third battery pack that needs to be charged in the first battery pack is charged, wherein the charging mode includes at least one of a multi-gun charging mode and a single-gun charging mode; and the start and pause of the real-time insulation detection of the third battery pack is controlled. The third battery pack includes one or more battery packs.

[0124] Regarding how to control the start and pause of the real-time insulation detection of the third battery pack, it can be controlled in the following way: according to the handshake protocol between the third battery pack and the charger, control the start and pause of the real-time insulation detection of the third battery pack, as follows.

[0125] When a handshake message sent by the charger is detected, the real-time insulation detection of the third battery pack is suspended, wherein the handshake information includes a handshake communication message; when a ready status message sent by the charger is detected, the real-time insulation detection of the third battery pack is started again, and the high-voltage instruction is waited for; when the high-voltage instruction is received, the real-time insulation detection of the third battery pack is ended.

[0126] In addition, in some embodiments, it is also necessary to judge the detachment condition of the third battery pack. In the case that the third battery pack is detached, it is also necessary to judge the fault adhesion condition of the fourth battery pack in the third battery pack that is detached, so as to control the start and pause of real-time insulation detection, wherein the fourth battery pack includes one or more battery packs, as follows.

[0127] The pack disconnection here means that the relay of the battery pack is disconnected from the main circuit.

[0128] In some embodiments, when a pack is missing in the third battery pack, wait for receiving a single-pack power-off instruction; when receiving the single-pack power-off instruction, determine the fault adhesion condition of the fourth battery pack in the third battery pack where a pack is missing; and control the start and pause of real-time insulation detection of the fourth battery pack based on the fault adhesion condition of the fourth battery pack.

[0129] The single-packet power-off command here refers to a command to disconnect the main relay and enter standby or shutdown mode.

[0130] If there is no adhesion fault in the fourth battery pack and the real-time insulation detection of the fourth battery pack is in the enabled state, the real-time insulation detection of the fourth battery pack is disabled.

[0131] In addition, it is necessary to determine the battery pack with the smallest insulation resistance in the first battery pack where no pack is removed; and initiate real-time insulation detection of the battery pack with the smallest insulation resistance in the first battery pack where no pack is removed.

[0132] By selecting one battery pack from multiple battery packs for real-time insulation testing, the risk of interference between multiple battery packs during simultaneous insulation testing is reduced, the accuracy of the insulation testing results is guaranteed, electricity costs are saved, and the waste of redundant resources caused by simultaneous insulation testing of multiple battery packs is avoided.

[0133] If there is no adhesion failure in the fourth battery pack and the real-time insulation detection of the fourth battery pack is in the suspended state, the real-time insulation detection of the fourth battery pack is maintained.

[0134] If there is a fault adhesion in the fourth battery pack, determine the battery pack with the smallest insulation resistance in the first battery packs where no pack is removed; and start real-time insulation detection of the battery pack with the smallest insulation resistance in the first battery packs where no pack is removed.

[0135] In some embodiments, when the third battery pack is not detached, the system waits for receiving a lower high voltage instruction; when receiving a lower high voltage instruction, the real-time insulation detection of the first battery pack is turned off.

[0136] For example, the packet drop includes at least one of a full packet drop and a fault packet drop.

[0137] In some embodiments, if the working mode of the mechanical equipment is the driving mode, it is also necessary to judge the unpacking situation of the first battery pack. In the case that the first battery pack is unpacked, it is also necessary to judge the fault adhesion situation of the fifth battery pack in the first battery pack that is unpacked, so as to control the start and pause of the real-time insulation detection, wherein the fifth battery pack includes one or more battery packs, as follows.

[0138] In some embodiments, when the working mode of the mechanical equipment is the driving mode, the first battery pack is maintained in a state of real-time insulation detection; when there is a pack disconnection in the first battery pack, wait for receiving a single-pack power-off instruction, wherein the pack disconnection includes a faulty pack disconnection; when the single-pack power-off instruction is received, determine the fault adhesion condition of the fifth battery pack in the first battery pack where there is a pack disconnection; and control the start and pause of the real-time insulation detection of the fifth battery pack according to the fault adhesion condition of the fifth battery pack.

[0139] If there is no fault adhesion in the fifth battery pack, wait for receiving a lower high voltage instruction; when receiving a lower high voltage instruction, turn off the real-time insulation detection of the first battery pack.

[0140] If the fifth battery pack has a faulty adhesion, determine the battery pack with the smallest insulation resistance among the first battery packs without any pack detachment; and initiate real-time insulation detection of the battery pack with the smallest insulation resistance among the first battery packs without any pack detachment.

[0141] If the first battery pack is not detached, wait for a low-voltage instruction to be received; if a low-voltage instruction is received, turn off the real-time insulation detection of the first battery pack.

[0142] By controlling the real-time insulation detection of the first battery pack according to the operating conditions of the mechanical equipment, a practical insulation control logic is provided for various operating conditions. Among them, the working modes of the mechanical equipment include but are not limited to low-voltage power-on mode, high-voltage mode on the road, battery replacement mode, multi-gun charging mode, single-gun charging mode, battery pack full pack removal mode and fault pack removal mode. In addition, in the event of insulation detection failure, fault pack removal or full pack removal in multiple battery packs, a feasible insulation detection control strategy is provided to reduce the risk of inaccurate insulation resistance or false alarm due to mutual interference between multiple battery packs.

[0143] Figure 4 Schematic diagrams showing some embodiments of the insulation detection device disclosed herein.

[0144] like Figure 4 As shown, the insulation detection device 40 includes a determination unit 41 , an insulation detection unit 42 and a control unit 43 .

[0145] The determining unit 41 is configured to determine that the battery pack without faulty adhesion among the multiple battery packs in the mechanical device is the first battery pack when there is a battery pack without faulty adhesion among the multiple battery packs in the mechanical device.

[0146] In some embodiments, the determination unit 41 is further configured to determine a first battery pack according to the order of the plurality of battery packs if there is no battery pack that is not adhered to the battery pack due to a fault, wherein the first battery pack is one.

[0147] The insulation detection unit 42 is configured to perform insulation detection on the first battery pack.

[0148] In some embodiments, the insulation detection unit 42 is further configured to perform a first insulation test on the first battery pack; and perform a second insulation test on the first battery pack, wherein the time of the first insulation test is less than the time of the second insulation test, and the accuracy of the second insulation test is greater than the accuracy of the first insulation test.

[0149] In some embodiments, the insulation detection unit 42 is further configured to report a fault signal when there is a battery pack in the first battery pack that fails the insulation detection.

[0150] The control unit 43 is configured to control the real-time insulation detection of the first battery pack according to the use condition of the mechanical equipment when the first battery pack passes the insulation detection.

[0151] In some embodiments, the control unit 43 is also configured to determine the working mode of the mechanical equipment according to the operating conditions of the mechanical equipment; and control the real-time insulation detection of the first battery pack according to the working mode of the mechanical equipment, wherein the working mode of the mechanical equipment includes at least one of a low-voltage power-on mode, a battery replacement mode, a charging mode and a driving mode.

[0152] In some embodiments, the control unit 43 is further configured to control the start and pause of the real-time insulation detection of the first battery pack according to the working mode of the mechanical equipment.

[0153] In some embodiments, the control unit 43 is further configured to determine the battery pack with the smallest insulation resistance in the first battery pack when the working mode of the mechanical equipment is the low-voltage power-on mode; and start real-time insulation detection of the battery pack with the smallest insulation resistance in the first battery pack.

[0154] In some embodiments, the control unit 43 is also configured to, when the working mode of the mechanical equipment is the battery replacement mode, turn off the real-time insulation detection of the first battery pack; replace the second battery pack that needs to be replaced in the first battery pack to obtain the first battery pack that has completed the battery replacement; and control the start and pause of the real-time insulation detection of the second battery pack.

[0155] In some embodiments, the control unit 43 is further configured to control the start and pause of real-time insulation detection of the first battery pack that completes the battery replacement according to the working mode of the mechanical equipment.

[0156] In some embodiments, the control unit 43 is further configured to determine the battery pack with the smallest insulation resistance in the first battery pack that completes the battery replacement; and to initiate real-time insulation detection of the battery pack with the smallest insulation resistance in the first battery pack that completes the battery replacement.

[0157] In some embodiments, the control unit 43 is further configured to control the start and stop of the real-time insulation detection of the second battery pack according to a handshake protocol between the second battery pack and the charger.

[0158] In some embodiments, the control unit 43 is further configured to start real-time insulation detection of the second battery pack; suspend the real-time insulation detection of the second battery pack when a handshake message sent by the charger is detected, wherein the handshake information includes at least one of a handshake communication message and a charging connection confirmation signal; start the real-time insulation detection of the second battery pack again when a ready status message sent by the charger is detected, and wait for receipt of a lower high-voltage instruction; end the real-time insulation detection of the second battery pack when a lower high-voltage instruction is received.

[0159] In some embodiments, the control unit 43 is also configured to charge a third battery pack that needs to be charged in the first battery pack when the working mode of the mechanical equipment is a charging mode, wherein the charging mode includes at least one of a multi-gun charging mode and a single-gun charging mode; and control the start and pause of real-time insulation detection of the third battery pack.

[0160] In some embodiments, the control unit 43 is further configured to control the start and stop of the real-time insulation detection of the third battery pack according to a handshake protocol between the third battery pack and the charger.

[0161] In some embodiments, the control unit 43 is also configured to suspend the real-time insulation detection of the third battery pack when a handshake message sent by the charger is detected, wherein the handshake information includes a handshake communication message; when a ready status message sent by the charger is detected, restart the real-time insulation detection of the third battery pack and wait for receiving a lower high-voltage instruction; when a lower high-voltage instruction is received, end the real-time insulation detection of the third battery pack.

[0162] In some embodiments, the control unit 43 is further configured to, in the event that a pack is detached from the third battery pack, wait for receipt of a single-pack power-off command; in the event that the single-pack power-off command is received, determine the fault adhesion condition of the fourth battery pack in which a pack is detached from the third battery pack; and control the start and pause of real-time insulation detection of the fourth battery pack according to the fault adhesion condition of the fourth battery pack.

[0163] In some embodiments, the control unit 43 is further configured to disable the real-time insulation detection of the fourth battery pack when there is no fault adhesion in the fourth battery pack and the real-time insulation detection of the fourth battery pack is in an enabled state.

[0164] In some embodiments, the control unit 43 is further configured to maintain the state of the real-time insulation detection of the fourth battery pack when there is no fault adhesion in the fourth battery pack and the real-time insulation detection of the fourth battery pack is in a suspended state.

[0165] In some embodiments, the control unit 43 is further configured to, when there is a fault adhesion in the fourth battery pack, determine the battery pack with the smallest insulation resistance in the first battery pack where no pack is loose; and initiate real-time insulation detection of the battery pack with the smallest insulation resistance in the first battery pack where no pack is loose.

[0166] In some embodiments, the control unit 43 is further configured to determine the battery pack with the smallest insulation resistance among the first battery packs without any pack removal; and initiate real-time insulation detection of the battery pack with the smallest insulation resistance among the first battery packs without any pack removal.

[0167] In some embodiments, the control unit 43 is further configured to wait for receiving a lower high voltage instruction when the third battery pack is not detached; and to shut down the real-time insulation detection of the first battery pack when receiving the lower high voltage instruction.

[0168] In some embodiments, the packet drop includes at least one of a full packet drop and a fault packet drop.

[0169] In some embodiments, the control unit 43 is further configured to maintain the first battery pack in a state of real-time insulation detection when the working mode of the mechanical equipment is the driving mode; wait to receive a single-pack power-off instruction when a pack is detached from the first battery pack, wherein the pack detachment includes faulty pack detachment; upon receiving the single-pack power-off instruction, determine the fault adhesion condition of the fifth battery pack in which a pack is detached from the first battery pack; and control the start and pause of the real-time insulation detection of the fifth battery pack according to the fault adhesion condition of the fifth battery pack.

[0170] In some embodiments, the control unit 43 is further configured to wait for receiving a lower high voltage instruction when there is no fault adhesion in the fifth battery pack; and to shut down the real-time insulation detection of the first battery pack when receiving the lower high voltage instruction.

[0171] In some embodiments, the control unit 43 is further configured to, when there is a fault adhesion in the fifth battery pack, determine the battery pack with the smallest insulation resistance in the first battery pack where no pack is loose; and initiate real-time insulation detection of the battery pack with the smallest insulation resistance in the first battery pack where no pack is loose.

[0172] In some embodiments, the control unit 43 is further configured to wait for receiving a lower high voltage instruction when the first battery pack is not detached; and to shut down the real-time insulation detection of the first battery pack when the lower high voltage instruction is received.

[0173] In the above embodiment, when there is a battery pack with no fault adhesion among multiple battery packs in the mechanical equipment, it is determined that the battery pack with no fault adhesion among the multiple battery packs is the first battery pack, and insulation detection is performed on the first battery pack to determine that the mechanical equipment is safe before the real-time insulation detection is performed, and there is no insulation fault, so as to facilitate the subsequent control of the real-time insulation detection according to the use condition of the mechanical equipment, and then control the real-time insulation detection of the first battery pack according to the use condition of the mechanical equipment. By performing real-time insulation detection on the first battery pack, it is ensured that the mechanical equipment can maintain an insulation state regardless of the use condition. The real-time insulation detection of the first battery pack can be controlled by different control strategies according to the different use conditions of the mechanical equipment, so as to ensure the safety of multiple battery packs in the mechanical equipment when the mechanical equipment is in different use conditions.

[0174] Figure 5 Schematic diagrams showing other embodiments of the insulation detection device disclosed herein.

[0175] like Figure 5 As shown, the insulation detection device 50 of this embodiment includes: a memory 51 and a processor 52 coupled to the memory 51 , and the processor 52 is configured to execute the insulation detection method in any one of the aforementioned embodiments based on instructions stored in the memory 51 .

[0176] The memory 51 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs.

[0177] The insulation detection device 50 may also include an input / output interface 53, a network interface 54, a storage interface 55, etc. These interfaces 53, 54, 55, the memory 51, and the processor 52 may be connected, for example, via a bus 56. The input / output interface 53 provides a connection interface for input / output devices such as a display, a mouse, a keyboard, a touch screen, a microphone, and a speaker. The network interface 54 provides a connection interface for various networked devices. The storage interface 55 provides a connection interface for external storage devices such as an SD card and a USB flash drive.

[0178] In the above embodiment, when there is a battery pack with no fault adhesion among multiple battery packs in the mechanical equipment, it is determined that the battery pack with no fault adhesion among the multiple battery packs is the first battery pack, and insulation detection is performed on the first battery pack to determine that the mechanical equipment is safe before the real-time insulation detection is performed, and there is no insulation fault, so as to facilitate the subsequent control of the real-time insulation detection according to the use condition of the mechanical equipment, and then control the real-time insulation detection of the first battery pack according to the use condition of the mechanical equipment. By performing real-time insulation detection on the first battery pack, it is ensured that the mechanical equipment can maintain an insulation state regardless of the use condition. The real-time insulation detection of the first battery pack can be controlled by different control strategies according to the different use conditions of the mechanical equipment, so as to ensure the safety of multiple battery packs in the mechanical equipment when the mechanical equipment is in different use conditions.

[0179] Figure 6 Schematic diagrams showing other embodiments of the insulation detection method of the present disclosure.

[0180] like Figure 6 As shown, the insulation detection method includes steps 610 to 616.

[0181] In step 610, start.

[0182] In step 611, the mechanical device is powered on at a low voltage.

[0183] In step 612, it is determined whether multiple battery packs of the mechanical device are stuck together due to a fault.

[0184] If some of the multiple battery packs of the mechanical device have faulty adhesion and the other parts do not, step 613 is executed for the battery packs with faulty adhesion and step 614 is executed for the battery packs without faulty adhesion. If none of the multiple battery packs of the mechanical device have faulty adhesion, step 614 is directly executed for the multiple battery packs.

[0185] If multiple battery packs of the mechanical device are all stuck together due to faults, then the battery pack with the smallest order among the multiple battery packs is selected to execute step 614 .

[0186] In step 613, no quick insulation check or self-insulation check is performed.

[0187] In step 614, a quick insulation check is performed.

[0188] If the insulation quick check passes, step 616 is directly executed; if the insulation quick check fails, step 615 is executed.

[0189] In step 615, for the battery packs that fail the quick insulation test, insulation faults are reported, and a high voltage command is awaited, and the battery packs that fail the quick insulation test are not incorporated into the main circuit.

[0190] In the case that a battery pack among the multiple battery packs fails the quick insulation test, the subsequent insulation self-test and real-time insulation test steps are not performed on the multiple battery packs.

[0191] In step 616, an insulation self-test is performed on the battery pack that has passed the insulation quick test.

[0192] If the insulation self-test fails, step 617 is directly executed; if the insulation self-test passes, step 618 is directly executed.

[0193] In step 617, for the battery packs that fail the insulation self-test, insulation faults are reported, and a high voltage command is awaited, and the battery packs that fail the insulation self-test are not incorporated into the main circuit.

[0194] In the case that there is a battery pack that fails the insulation self-test among the multiple battery packs, the subsequent real-time insulation test step is not performed on the multiple battery packs.

[0195] In step 618, a battery pack with the smallest insulation resistance is selected from the battery packs that have passed the insulation self-test, real-time insulation detection of the battery pack with the smallest insulation resistance is started or maintained, and real-time insulation detection of other battery packs except the battery pack with the smallest insulation resistance is turned off.

[0196] If the insulation resistance values ​​of the battery packs that pass the insulation self-test are the same, a battery pack is selected in the order of the battery packs that pass the insulation self-test to start or maintain the real-time insulation detection of the battery pack, and the real-time insulation detection of other battery packs is turned off.

[0197] Then, according to the received working mode instruction, it is determined whether to execute step 619 or step 632.

[0198] In step 619, waiting for receiving a battery replacement instruction indicates that the working mode of the mechanical equipment is a battery replacement mode.

[0199] If a battery replacement instruction is received, execute step 620; if no battery replacement instruction is received, re-execute step 618.

[0200] In step 620 , the real-time insulation detection of the first battery pack is turned off.

[0201] In step 621, the battery replacement of the first battery pack is completed.

[0202] For the first battery pack that has completed the battery replacement, step 618 is re-executed, and then the instruction indicating the working mode is waited for. For the replaced battery pack, step 622 is executed.

[0203] In step 622, the replaced battery pack is determined.

[0204] In step 623, real-time insulation detection of the replaced battery pack is initiated.

[0205] If the real-time insulation detection fails, step 624 is executed; if the real-time insulation detection passes, step 625 is directly executed.

[0206] In step 624, a fault signal is reported.

[0207] After the fault signal is reported, step 630 is directly executed.

[0208] In step 625, a CHM message or a CH_confirm signal is detected.

[0209] If no CHM message or CH_confirm signal is detected, step 623 is repeated.

[0210] In step 626, when a CHM message or a CH_confirm signal is detected, the real-time insulation detection of the replaced battery pack is suspended.

[0211] In step 627, the 0xAA signal in the CRO message is detected.

[0212] If the 0xAA signal in the CRO message is not detected, step 626 is repeated.

[0213] In step 628, when the 0xAA signal in the CRO message is detected, real-time insulation detection of the replaced battery pack is started.

[0214] In step 629, it is determined whether a lower high pressure instruction has been received.

[0215] If the lower high-voltage instruction is not received, step 628 is repeated; if the lower high-voltage instruction is received, step 630 is executed.

[0216] In step 630 , the real-time insulation detection of the replaced battery pack is turned off.

[0217] In step 631, end.

[0218] In step 632, wait for a high voltage instruction.

[0219] If the high-voltage instruction is a driving mode high-voltage instruction, step 633 is executed. If the high-voltage instruction is a DC (direct current charging) high-voltage instruction, step 642 is executed.

[0220] In step 633, a high-voltage instruction is received during driving.

[0221] In step 634 , the real-time insulation detection of the battery pack is maintained in an on state.

[0222] In step 635, it is determined whether there is a packet loss due to a fault.

[0223] If there is no packet loss due to a fault, continue to execute step 634; if there is a packet loss due to a fault, execute step 636.

[0224] In step 636, it is determined whether a single-packet power-off instruction is received.

[0225] If a single-packet power-off instruction is received, step 637 is executed; if no single-packet power-off instruction is received, step 635 is repeated.

[0226] In step 637, it is determined whether the battery pack that has received the single-pack power-off instruction has a fault adhesion situation.

[0227] If there is a fault adhesion situation, execute step 638; if there is no fault adhesion situation, directly execute step 639.

[0228] In step 638, one battery pack is selected in order from the battery packs that have not been detached (the battery packs of the main circuit) to start real-time insulation detection, and the real-time insulation detection of other battery packs in the battery packs that have not been detached is turned off to ensure that there is only one battery pack in the main circuit that has real-time insulation detection turned on.

[0229] In step 639, it is determined whether a lower high pressure instruction has been received.

[0230] If the high-voltage lower instruction is not received, step 634 is executed again; if the high-voltage lower instruction is received, step 640 is executed.

[0231] In step 640, real-time insulation detection is turned off.

[0232] In step 641, end.

[0233] In step 642, a DC high voltage command is received.

[0234] In step 643, the battery pack that needs to be charged is charged.

[0235] Step 643 includes step 643a and step 643b, step 643a is for charging multiple guns, and step 643b is for charging a single gun.

[0236] In step 644 (step 644a and step 644b), it is determined whether a CHM message is detected.

[0237] If a CHM message is detected, step 645 is executed; if no CHM message is detected, step 643 is continued to be executed.

[0238] In step 645 (step 645a and step 645b), the real-time insulation detection of the battery pack that needs to be charged is suspended.

[0239] In step 646 (step 646a and step 646b), it is determined whether the 0xAA signal in the CRO message is detected.

[0240] If the 0xAA signal in the CRO message is detected, step 647 is executed; if the 0xAA signal in the CRO message is not detected, step 645 is continued to be executed.

[0241] In step 647 (step 647a and step 647b), real-time insulation detection of the battery pack that needs to be charged is started.

[0242] In step 648, it is determined whether the battery pack to be charged is fully charged or has a pack removed.

[0243] If the packet is full but the packet is missing, execute step 650 ; if the packet is not full but the packet is missing, execute step 649 .

[0244] In step 649, it is determined whether the battery pack to be charged has a fault or is disconnected.

[0245] If there is no packet loss due to a fault, execute step 654 ; if there is a packet loss due to a fault, execute step 650 .

[0246] In step 650, it is determined whether a single-packet power-off instruction is received.

[0247] If a single-packet power-off instruction is received, step 651 is executed; if no single-packet power-off instruction is received, step 648 is re-executed.

[0248] In step 651, it is determined whether the detached battery pack has a faulty adhesion.

[0249] If the fault is stuck, step 652 is executed; if the fault is not stuck, step 653 is executed.

[0250] In step 652, one battery pack is selected in order from the battery packs that have not been detached (the battery packs of the main circuit) to start real-time insulation detection, and the real-time insulation detection of other battery packs in the battery packs that have not been detached is turned off to ensure that there is only one battery pack in the main circuit that has real-time insulation detection turned on.

[0251] In step 653, if the real-time insulation detection of the battery pack that has been removed is in the on state, the real-time insulation detection of the battery pack that has been removed is turned off, and a battery pack is selected in order from the battery packs that have not been removed (the battery packs of the main circuit) to turn on the real-time insulation detection, and the real-time insulation detection of other battery packs in the battery packs that have not been removed is turned off to ensure that there is only one battery pack in the main circuit that has the real-time insulation detection turned on. If the real-time insulation detection of the battery pack that has been removed is in the paused state, it is maintained as it is.

[0252] In step 654, it is determined whether a lower high pressure instruction has been received.

[0253] If a high-voltage lower instruction is received, step 640 is executed; if no high-voltage lower instruction is received, step 648 is executed.

[0254] In the above embodiment, when there is a battery pack with no fault adhesion among multiple battery packs in the mechanical equipment, it is determined that the battery pack with no fault adhesion among the multiple battery packs is the first battery pack, and insulation detection is performed on the first battery pack to determine that the mechanical equipment is safe before the real-time insulation detection is performed, and there is no insulation fault, so as to facilitate the subsequent control of the real-time insulation detection according to the use condition of the mechanical equipment, and then control the real-time insulation detection of the first battery pack according to the use condition of the mechanical equipment. By performing real-time insulation detection on the first battery pack, it is ensured that the mechanical equipment can maintain an insulation state regardless of the use condition. The real-time insulation detection of the first battery pack can be controlled by different control strategies according to the different use conditions of the mechanical equipment, so as to ensure the safety of multiple battery packs in the mechanical equipment when the mechanical equipment is in different use conditions.

[0255] In some embodiments, a computer program product is protected, including a computer program or an instruction, which implements the above-mentioned registration selection method when the computer program or instruction is executed by a processor. The computer program product includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by the CPU, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0256] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0257] So far, the insulation detection method, device, readable storage medium and computer program product of the present disclosure have been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solution disclosed herein.

[0258] The method and system of the present disclosure may be implemented in many ways. For example, the method and system of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.

[0259] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims

1. An insulation detection method, comprising: In the case that there is a battery pack with no faulty adhesion among the multiple battery packs in the mechanical device, determining that the battery pack with no faulty adhesion among the multiple battery packs in the mechanical device is a first battery pack; Performing insulation testing on the first battery pack; When the first battery pack passes the insulation test, the real-time insulation test of the first battery pack is controlled according to the use condition of the mechanical equipment.

2. The insulation detection method according to claim 1, wherein: The controlling the real-time insulation detection of the first battery pack according to the use condition of the mechanical equipment includes: Determining a working mode of the mechanical equipment according to the use condition of the mechanical equipment; According to the working mode of the mechanical equipment, real-time insulation detection of the first battery pack is controlled, wherein the working mode of the mechanical equipment includes at least one of a low-voltage power-on mode, a battery replacement mode, a charging mode and a driving mode.

3. The insulation detection method according to claim 2, wherein: The controlling the real-time insulation detection of the first battery pack according to the working mode of the mechanical equipment includes: According to the working mode of the mechanical equipment, the start and pause of the real-time insulation detection of the first battery pack are controlled.

4. The insulation detection method according to claim 3, wherein: According to the working mode of the mechanical device, controlling the start and pause of the real-time insulation detection of the first battery pack includes: When the working mode of the mechanical device is the low-voltage power-on mode, determining a battery pack with the smallest insulation resistance in the first battery pack; Initiate real-time insulation detection of the battery pack with the smallest insulation resistance in the first battery packs.

5. The insulation detection method according to claim 3, wherein: According to the working mode of the mechanical device, controlling the start and pause of the real-time insulation detection of the first battery pack includes: When the working mode of the mechanical equipment is the battery replacement mode, turning off the real-time insulation detection of the first battery pack; Replacing the battery of a second battery pack in the first battery pack that needs to be replaced, to obtain a first battery pack in which the battery replacement is completed; Controlling the start and stop of the real-time insulation detection of the second battery pack.

6. The insulation detection method according to claim 5, further comprising: According to the working mode of the mechanical equipment, the start and pause of the real-time insulation detection of the first battery pack that completes the battery replacement is controlled.

7. The insulation detection method according to claim 6, wherein: According to the working mode of the mechanical equipment, controlling the start and pause of the real-time insulation detection of the first battery pack that has completed the battery replacement includes: Determining a battery pack having the smallest insulation resistance among the first battery packs that have completed the battery replacement; Initiate real-time insulation detection of the battery pack with the smallest insulation resistance in the first battery pack that completes the battery replacement.

8. The insulation detection method according to claim 5, wherein: The controlling the start and pause of the real-time insulation detection of the second battery pack includes: According to the handshake protocol between the second battery pack and the charger, the start and pause of the real-time insulation detection of the second battery pack are controlled.

9. The insulation detection method according to claim 8, wherein: According to the handshake protocol between the second battery pack and the charger, controlling the start and stop of the real-time insulation detection of the second battery pack includes: Initiating real-time insulation detection of the second battery pack; When detecting handshake information sent by the charger, suspending the real-time insulation detection of the second battery pack, wherein the handshake information includes at least one of a handshake communication message and a charging connection confirmation signal; When a ready status message sent by the charger is detected, the real-time insulation detection of the second battery pack is started again, and a high voltage instruction is received; When the lower high voltage instruction is received, the real-time insulation detection of the second battery pack is terminated.

10. The insulation detection method according to any one of claims 3 to 9, wherein: According to the working mode of the mechanical device, controlling the start and pause of the real-time insulation detection of the first battery pack includes: When the working mode of the mechanical device is the charging mode, charging the third battery pack that needs to be charged in the first battery pack, wherein the charging mode includes at least one of a multi-gun charging mode and a single-gun charging mode; Controlling the start and stop of the real-time insulation detection of the third battery pack.

11. The insulation detection method according to claim 10, wherein: The controlling the start and stop of the real-time insulation detection of the fourth battery pack includes: According to the handshake protocol between the third battery pack and the charger, the start and pause of the real-time insulation detection of the third battery pack are controlled.

12. The insulation detection method according to claim 11, wherein: According to the handshake protocol between the third battery pack and the charger, controlling the start and stop of the real-time insulation detection of the third battery pack includes: When the handshake information sent by the charger is detected, the real-time insulation detection of the third battery pack is suspended, wherein the handshake information includes a handshake communication message; When the ready state message sent by the charger is detected, the real-time insulation detection of the third battery pack is started again, and a high voltage instruction is waited for; When the lower high voltage instruction is received, the real-time insulation detection of the third battery pack is terminated.

13. The insulation detection method according to claim 10, wherein: The controlling the start and stop of the real-time insulation detection of the third battery pack includes: When the third battery pack is out of service, waiting to receive a single-pack power-off instruction; When the single-pack power-off instruction is received, determining a fault adhesion condition of a fourth battery pack in the third battery pack where a pack is out of service; According to the fault adhesion condition of the fourth battery pack, the start and pause of the real-time insulation detection of the fourth battery pack are controlled.

14. The insulation detection method according to claim 13, wherein: The controlling the start and pause of the real-time insulation detection of the fourth battery pack according to the fault adhesion condition of the fourth battery pack includes: In a case where the fourth battery pack does not have the fault adhesion and the real-time insulation detection of the fourth battery pack is in an activated state, the real-time insulation detection of the fourth battery pack is disabled.

15. The insulation detection method according to claim 14, wherein: The controlling the start and pause of the real-time insulation detection of the fourth battery pack according to the fault adhesion condition of the fourth battery pack further includes: When the fourth battery pack does not have the adhesion failure and the real-time insulation detection of the fourth battery pack is in a suspended state, the real-time insulation detection of the fourth battery pack is maintained.

16. The insulation detection method according to claim 13, wherein: The controlling the start and pause of the real-time insulation detection of the fourth battery pack according to the fault adhesion condition of the fourth battery pack includes: In the case where the fourth battery pack has the fault adhesion, determining a battery pack with the smallest insulation resistance among the first battery packs that do not have a pack detachment; Initiate real-time insulation detection of the battery pack with the smallest insulation resistance among the first battery packs where no pack is missing.

17. The insulation detection method according to claim 14, further comprising: Determine a battery pack with the smallest insulation resistance among the first battery packs where no pack is missing; Initiate real-time insulation detection of the battery pack with the smallest insulation resistance among the first battery packs where no pack is missing.

18. The insulation detection method according to claim 13, wherein: The controlling the start and pause of the real-time insulation detection of the third battery pack further includes: When the third battery pack is not disconnected, waiting for receiving a high voltage instruction; When the high voltage lowering instruction is received, the real-time insulation detection of the first battery pack is turned off.

19. The insulation detection method according to any one of claims 13 to 18, wherein: The packet dropout includes at least one of a full packet dropout and a fault packet dropout.

20. The insulation detection method according to any one of claims 3 to 9, wherein: According to the working mode of the mechanical device, controlling the start and pause of the real-time insulation detection of the first battery pack includes: When the working mode of the mechanical equipment is the driving mode, maintaining the first battery pack in a state of real-time insulation detection; In the case that the first battery pack is out of service, waiting to receive a single-pack power-off instruction, wherein the out of service includes a fault out of service; When the single-pack power-off instruction is received, determining a fault adhesion condition of a fifth battery pack in the first battery pack that is out of pack; According to the adhesion fault condition of the fifth battery pack, starting and pausing of the real-time insulation detection of the fifth battery pack is controlled.

21. The insulation detection method according to claim 20, wherein: The controlling the start and stop of the real-time insulation detection of the fifth battery pack according to the fault adhesion condition of the fifth battery pack includes: When the fifth battery pack does not have the fault adhesion, waiting to receive a high voltage instruction; When the high voltage lowering instruction is received, the real-time insulation detection of the first battery pack is turned off.

22. The insulation detection method according to claim 21, wherein: The controlling the start and pause of the real-time insulation detection of the fifth battery pack according to the fault adhesion condition of the fifth battery pack further includes: In the case that the fifth battery pack has the fault adhesion, determining a battery pack with the smallest insulation resistance among the first battery packs that do not have a pack detachment; Initiate real-time insulation detection of the battery pack with the smallest insulation resistance among the first battery packs where no pack is missing.

23. The insulation detection method according to claim 20, wherein: According to the working mode of the mechanical device, controlling the start and pause of the real-time insulation detection of the first battery pack further includes: When the first battery pack is not disconnected, waiting for receiving a high voltage instruction; When the high voltage lowering instruction is received, the real-time insulation detection of the first battery pack is turned off.

24. The insulation detection method according to any one of claims 1 to 9, wherein: The performing insulation detection on the first battery pack includes: performing a first insulation test on the first battery pack; performing a second insulation test on the first battery pack, The time of the first insulation detection is shorter than the time of the second insulation detection, and the accuracy of the second insulation detection is greater than the accuracy of the first insulation detection.

25. The insulation detection method according to any one of claims 1 to 9, further comprising: In the case that the battery pack without defective adhesion does not exist among the plurality of battery packs, the first battery pack is determined according to the order of the plurality of battery packs, wherein the number of the first battery packs is one.

26. The insulation detection method according to any one of claims 1 to 9, further comprising: When there is a battery pack in the first battery pack that fails the insulation test, a fault signal is reported.

27. An insulation detection device, comprising: a determining unit configured to determine, when there is a battery pack with no faulty adhesion among the plurality of battery packs in the mechanical device, that the battery pack with no faulty adhesion among the plurality of battery packs in the mechanical device is a first battery pack; an insulation detection unit, configured to perform insulation detection on the first battery pack; The control unit is configured to control the real-time insulation detection of the first battery pack according to the use condition of the mechanical equipment when the first battery pack passes the insulation detection.

28. An insulation detection device, comprising: Memory; and A processor coupled to the memory, wherein the processor is configured to execute the insulation detection method according to any one of claims 1 to 26 based on instructions stored in the memory.

29. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the insulation detection method according to any one of claims 1 to 26 is implemented.

30. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the insulation detection method according to any one of claims 1 to 26 is implemented.