A battery pack insulation resistance detection device and detection method

By designing a battery pack insulation resistance detection device with a controller and an insulation resistance detection circuit, the risk of electric shock and short circuit caused by the degradation of insulation performance in new energy vehicles is solved, fast and accurate insulation resistance detection is achieved, and the reliability and reliability of the entire vehicle are improved. Security.

CN114646808BActive Publication Date: 2024-10-29DEEPAL AUTOMOBILE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210329652.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-31
Publication Date
2024-10-29
Estimated Expiration
2042-03-31

AI Technical Summary

Technical Problem

There are more and more electrical components in new energy vehicles, resulting in a decrease in insulation performance and the risk of accidents such as electric shock, fire, and short circuit. A stable and reliable insulation resistance detection method is needed.

Method used

Design a battery pack insulation resistance detection device that includes a controller and an insulation resistance detection circuit. Through a controllable switch and a resistor in series, the sampling point is connected to the controller, voltage data is collected, the average value is calculated, the voltage stability is judged, and the insulation resistance is determined. value to ensure detection accuracy.

Benefits of technology

By preventing calculation errors caused by resistance changes during the insulation detection cycle, it ensures that each detection is performed under stable conditions, improves detection accuracy, avoids missed detections and false detections, and enhances the reliability and safety of the entire vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114646808B_ABST
    Figure CN114646808B_ABST
Patent Text Reader

Abstract

The present invention discloses a detection device and a detection method for the insulation resistance of a battery pack. The detection device includes a controller and an insulation resistance detection circuit. The insulation resistance detection circuit includes resistors R1, R2, R3, R4, R5, R6, R7, R8 and controllable switches K1 and K2. The present invention can prevent calculation errors caused by large changes in insulation resistance within an insulation detection cycle, ensure that each insulation detection cycle is detected under the condition that the insulation resistance is relatively stable, ensure the accuracy of the detection, and do not miss the fault of long-term insulation resistance reduction, and do not misdetect the situation of short-term insulation resistance reduction, which can improve the reliability of the whole vehicle, enhance the user experience, and ensure the safety of the whole vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of power battery detection, and specifically relates to a detection device and a detection method for the insulation resistance of a battery pack. Background Art

[0002] Insulation resistance is the ability of insulating materials to resist electric current. As time goes by, insulating materials begin to age, resulting in a decrease in insulation performance. New energy vehicles have fully entered the era of electrification, and more and more electrical components are used in vehicles. Therefore, it is an urgent problem to design a stable and reliable insulation resistance detection method to always accurately know the insulation performance of new energy vehicle electrical equipment to avoid accidents such as electric shock, fire, and short circuit in vehicles. Summary of the invention

[0003] The object of the present invention is to provide a device and method for detecting the insulation resistance of a battery pack to ensure detection accuracy.

[0004] A battery pack insulation resistance detection device according to the present invention comprises a controller and an insulation resistance detection circuit; the insulation resistance detection circuit comprises a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8 and a controllable switch K1 and a controllable switch K2; the controlled ends of the resistors R1, R3 and the controllable switch K1 are connected in series, and as a whole, one end is connected to the positive electrode of the battery pack and the other end is grounded; the controlled ends of the resistors R5, R7 and the controllable switch K2 are connected in series, and as a whole, one end is connected to the positive electrode of the battery pack and the other end is grounded. The negative pole of the battery pack is connected to the ground at the other end; the resistor R2 and the resistor R4 are connected in series, and as a whole, one end is connected to the positive pole of the battery pack and the other end is grounded, a sampling point A is provided on the connection line between the resistor R2 and the resistor R4, and the sampling point A is connected to the controller; the resistor R6 and the resistor R8 are connected in series, and as a whole, one end is connected to the negative pole of the battery pack and the other end is grounded, a sampling point B is provided on the connection line between the resistor R6 and the resistor R8, and the sampling point B is connected to the controller; the control end of the controllable switch K1 and the control end of the controllable switch K2 are respectively connected to the controller.

[0005] Another battery pack insulation resistance detection device described in the present invention includes a controller and an insulation resistance detection circuit; the insulation resistance detection circuit includes a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8 and a controllable switch K1, a controllable switch K2; the controlled ends of the resistors R1, R3 and K2 are connected in series, and as a whole, one end is connected to the positive electrode of the battery pack and the other end is grounded; the controlled ends of the resistors R5, R7 and K1 are connected in series, and as a whole, one end is connected to the positive electrode of the battery pack and the other end is grounded. The negative pole of the battery pack is connected to the ground at the other end; the resistor R2 and the resistor R4 are connected in series, and as a whole, one end is connected to the positive pole of the battery pack and the other end is grounded, a sampling point A is provided on the connection line between the resistor R2 and the resistor R4, and the sampling point A is connected to the controller; the resistor R6 and the resistor R8 are connected in series, and as a whole, one end is connected to the negative pole of the battery pack and the other end is grounded, a sampling point B is provided on the connection line between the resistor R6 and the resistor R8, and the sampling point B is connected to the controller; the control end of the controllable switch K1 and the control end of the controllable switch K2 are respectively connected to the controller.

[0006] When the controller controls the controllable switch K1 to be disconnected and the controllable switch K2 to be disconnected, a voltage U1 can be detected from the sampling point A, and a voltage U2 can be detected from the sampling point B; when the controller controls the controllable switch K1 to be closed and the controllable switch K2 to be disconnected, a voltage U3 can be detected from the sampling point A, and a voltage U4 can be detected from the sampling point B; when the controller controls the controllable switch K1 to be disconnected and the controllable switch K2 to be closed, a voltage U5 can be detected from the sampling point A, and a voltage U6 can be detected from the sampling point B.

[0007] The method for detecting the insulation resistance of a battery pack according to the present invention adopts the above-mentioned detection device, and the detection method comprises:

[0008] Step 1: Set the insulation detection voltage stable state to 1, and then proceed to step 2.

[0009] Step 2: Control the controllable switch K1 to be turned off, control the controllable switch K2 to be turned off, and then execute step 3.

[0010] Step 3: collect the voltage at sampling point A (i.e., the voltage at sampling point A) and the voltage at sampling point B (i.e., the voltage at sampling point B) for m times according to a preset sampling period, store the voltage at sampling point A and the voltage at sampling point B collected for the next n times, where n≤m, and then execute step 4.

[0011] Step 4: Determine whether the voltage at the sampling point A and the voltage at the sampling point B are both stable, and execute step 5 when the voltage at the sampling point A and the voltage at the sampling point B are both stable.

[0012] Step 5: Calculate the average value new_U1 of the voltages of the last k sampled points A (i.e., the voltages of the last k sampled points A) stored and the average value new_U2 of the voltages of the last k sampled points B (i.e., the voltages of the last k sampled points B). Here, k < n, and then proceed to Step 6.

[0013] Step 6: Determine whether it is the first time to calculate the average value new_U1 and the average value new_U2 after power-on. If so, proceed to Step 10; otherwise, proceed to Step 7.

[0014] Step 7: Determine whether the difference between the average value new_U1 and the previous average value old_U1 is less than the preset first voltage difference threshold, and the difference between the average value new_U2 and the previous average value old_U2 is less than the preset first voltage difference threshold. If so, proceed to Step 8; otherwise, proceed to Step 9.

[0015] Step 8: Take the average value new_U1 as the voltage U1 detected at the sampled point A (i.e., assign U1 to new_U1), take the average value new_U2 as the voltage U2 detected at the sampled point B (i.e., assign U2 to new_U2), and then proceed to Step 10.

[0016] Step 9: Set the insulation detection voltage stable state to 0, and then proceed to Step 10.

[0017] Step 10: Update the previous average value old_U1 to new_U1 (i.e., assign old_U1 to new_U1), update the previous average value old_U2 to new_U2 (i.e., assign old_U2 to new_U2), clear the voltages of the last n sampled points A and the voltages of the last n sampled points B that have been stored, and then proceed to Step 11.

[0018] Step 11: Determine whether the insulation detection voltage stable state is 1. If so, proceed to Step 12; otherwise, end.

[0019] Step 12: Control the controllable switch K1 to close and control the controllable switch K2 to open, and then proceed to Step 13.

[0020] Step 13: Collect the voltages of the sampled point A and the voltages of the sampled point B m times at the preset sampling period, store the voltages of the last n sampled points A and the voltages of the last n sampled points B, and then proceed to Step 14.

[0021] Step 14: Determine whether both the voltage of the sampled point A and the voltage of the sampled point B reach stability, and proceed to Step 15 when both the voltage of the sampled point A and the voltage of the sampled point B reach stability.

[0022] Step 15: Calculate the average value new_U3 of the last k sampling point A voltages collected (i.e., the last k sampling point A voltages) and the average value new_U4 of the last k sampling point B voltages collected (i.e., the last k sampling point B voltages), and then execute step 16.

[0023] Step 16: Determine whether it is the first time to calculate the average value new_U3 and the average value new_U4 after power-on. If yes, execute step 21; otherwise, execute step 17.

[0024] Step 17: determine whether the difference between the average value new_U3 and the previous average value old_U3 is less than the preset first voltage difference threshold, and the difference between the average value new_U4 and the previous average value old_U4 is less than the preset first voltage difference threshold. If yes, execute step 18; otherwise, execute step 20.

[0025] Step 18: Use the average value new_U3 as the voltage U3 detected at the sampling point A (ie, assign U3 to new_U3), use the average value new_U4 as the voltage U4 detected at the sampling point B (ie, assign U4 to new_U4), and then execute step 19.

[0026] Step 19: Calculate the insulation resistance Rn of the negative electrode to the ground or the insulation resistance Rp of the positive electrode to the ground according to the voltage U1, the voltage U2, the voltage U3, and the voltage U4, and then execute step 21.

[0027] Step 20: Set the insulation detection voltage stable state to 0, and then execute step 21.

[0028] Step 21: Update the previous average value old_U3 to new_U3 (i.e. assign old_U3 to new_U3), update the previous average value old_U4 to new_U4 (i.e. assign old_U4 to new_U4), clear the stored sampling point A voltage and sampling point B voltage collected for the last n times, and then execute step 22.

[0029] Step 22: determine whether the insulation detection voltage is in a stable state of 1. If so, execute step 23, otherwise end.

[0030] Step 23: control the controllable switch K1 to be opened, control the controllable switch K2 to be closed, and then execute step 24.

[0031] Step 24: collect the voltage at sampling point A and the voltage at sampling point B m times according to a preset sampling period, store the voltage at sampling point A and the voltage at sampling point B collected n times, and then execute step 25.

[0032] Step 25: Determine whether the voltage at the sampling point A and the voltage at the sampling point B are both stable, and execute step 26 when the voltage at the sampling point A and the voltage at the sampling point B are both stable.

[0033] Step 26: Calculate the average value new_U5 of the last k sampling point A voltages collected (i.e., the last k sampling point A voltages) and the average value new_U6 of the last k sampling point B voltages collected (i.e., the last k sampling point B voltages), and then execute step 27.

[0034] Step 27: Determine whether this is the first time to calculate the average value new_U5 and the average value new_U6 after power-on. If so, execute step 31; otherwise, execute step 28.

[0035] Step 28: Determine whether the difference between the average value new_U5 and the previous average value old_U5 is less than the preset first voltage difference threshold, and the difference between the average value new_U6 and the previous average value old_U6 is less than the preset first voltage difference threshold. If so, execute step 29; otherwise, execute step 31.

[0036] Step 29: Use the average value new_U5 as the voltage U5 detected at the sampling point A (that is, assign U5 to new_U5), use the average value new_U6 as the voltage U6 detected at the sampling point B (that is, assign U6 to new_U6), and then execute step 30.

[0037] Step 30: Calculate the insulation resistance Rp of the positive electrode to the ground or the insulation resistance Rn of the negative electrode to the ground according to the voltage U1, the voltage U2, the voltage U5 and the voltage U6, and then execute step 31.

[0038] Step 31: Update the previous average value old_U5 to new_U5 (i.e. assign old_U5 to new_U5), update the previous average value old_U6 to new_U6 (i.e. assign old_U6 to new_U6), clear the stored sampling point A voltage and sampling point B voltage collected for the last n times, and then end.

[0039] Preferably, the specific method of determining whether the voltage at sampling point A and the voltage at sampling point B are both stable includes:

[0040] First, calculate the average value U of the voltage of the n sampling points A stored avg_A And the average value U of the voltage at n sampling points B avg_B .

[0041] Then, determine whether the voltage of the n sampling points A stored is equal to the average value U avg_AThe difference between the voltages of the n sampling points B and the average value U avg_B If the difference is less than the preset second voltage difference threshold, it is determined that the voltage at the sampling point A and the voltage at the sampling point B are both stable, otherwise it is determined that the voltage at the sampling point A and / or the voltage at the sampling point B are not stable.

[0042] When the voltage at sampling point A and / or the voltage at sampling point B is not stable, the voltage at sampling point A and the voltage at sampling point B collected for the last n times are cleared, and then the voltage at sampling point A and the voltage at sampling point B are collected m times according to the preset sampling period, and the voltage at sampling point A and the voltage at sampling point B collected for the last n times are stored.

[0043] Preferably, the preset first voltage difference threshold is 0.1V, and the preset second voltage difference threshold is 0.005V.

[0044] Preferably, the value of m is 66, the value of n is 50, and the value of k is 5.

[0045] The present invention has the following effects:

[0046] (1) Before determining the voltage U1, U3, U5 detected at sampling point A and the voltage U2, U4, U6 detected at sampling point B, the average value calculated this time will be compared with the average value of the previous time. The voltage will be assigned only when the difference between the average value calculated this time and the average value of the previous time is small. Rn or Rp will be calculated only after U1, U2, U3, U4 have been assigned this time. Rp or Rn will be calculated only after U1, U2, U5, U6 have been assigned this time. This prevents calculation errors caused by large changes in insulation resistance within an insulation detection cycle, ensures that each insulation detection cycle is detected when the insulation resistance is relatively stable, and ensures the accuracy of the detection.

[0047] (2) When the insulation resistance value can be quickly calculated, faults caused by long-term insulation resistance reduction will not be missed, and faults caused by short-term insulation resistance reduction will not be misdetected, thereby improving the reliability of the entire vehicle, enhancing the user experience, and ensuring the safety of the entire vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 Schematic diagram of the insulation resistance detection circuit in Example 1.

[0049] Figure 2 This is a detection logic diagram of the insulation resistance of the battery pack in Example 1.

[0050] Figure 3 This is one of the flow charts of the method for detecting the insulation resistance of the battery pack in Example 1.

[0051] Figure 4 This is the second flow chart of the method for detecting the insulation resistance of the battery pack in Example 1.

[0052] Figure 5 This is the third flow chart of the method for detecting the insulation resistance of the battery pack in Example 1.

[0053] Figure 6 This is a schematic diagram of the insulation resistance detection circuit in Example 2. DETAILED DESCRIPTION

[0054] Example 1: Figure 1 , Figure 2 As shown, the detection device of the insulation resistance of the battery pack in this embodiment includes a controller and an insulation resistance detection circuit. The insulation resistance detection circuit includes a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8 and a controllable switch K1 and a controllable switch K2. The controlled ends of the resistors R1, R3 and K1 are connected in series, and as a whole, one end is connected to the positive electrode of the battery pack and the other end is grounded. The controlled ends of the resistors R5, R7 and K2 are connected in series, and as a whole, one end is connected to the negative electrode of the battery pack and the other end is grounded. The resistors R2 and R4 are connected in series, and as a whole, one end is connected to the positive electrode of the battery pack and the other end is grounded; a sampling point A is provided on the connection line between the resistor R2 and the resistor R4, and the sampling point A is connected to the controller. The resistors R6 and R8 are connected in series, and as a whole, one end is connected to the negative electrode of the battery pack and the other end is grounded; a sampling point B is provided on the connection line between the resistors R6 and R8, and the sampling point B is connected to the controller. The control end of the controllable switch K1 and the control end of the controllable switch K2 are connected to the controller respectively. Rp is the insulation resistance of the positive electrode to ground to be detected, Rn is the insulation resistance of the negative electrode to ground to be detected, Cp is the equivalent Y capacitance of the positive electrode to ground, and Cn is the equivalent Y capacitance of the negative electrode to ground.

[0055] When the controller controls the controllable switch K1 to be disconnected and the controllable switch K2 to be disconnected, the voltage U1 can be detected from the sampling point A, and the voltage U2 can be detected from the sampling point B. When the controller controls the controllable switch K1 to be closed and the controllable switch K2 to be disconnected, the voltage U3 can be detected from the sampling point A, and the voltage U4 can be detected from the sampling point B. When the controller controls the controllable switch K1 to be disconnected and the controllable switch K2 to be closed, the voltage U5 can be detected from the sampling point A, and the voltage U6 can be detected from the sampling point B.

[0056] like Figure 3 , Figure 4 , Figure 5 As shown, the method for detecting the insulation resistance of the battery pack in this embodiment adopts the above-mentioned detection device, and the detection method includes:

[0057] In the first step, the insulation detection voltage stable state is set to 1, and then the second step is performed.

[0058] The second step is to control the controllable switch K1 to be turned off, control the controllable switch K2 to be turned off, and then execute the third step.

[0059] The third step is to collect the voltage at sampling point A (i.e., the voltage at sampling point A) and the voltage at sampling point B (i.e., the voltage at sampling point B) 66 times with a sampling period of 10 ms, store (cache) the voltage at sampling point A collected 50 times in the array Ua

[50] , store (cache) the voltage at sampling point B collected 50 times in the array Ub

[50] , and then execute the fourth step.

[0060] Step 4: Calculate the average voltage U of the 50 sampling points A in the array Ua

[50] avg_A , calculate the average value U of the voltage of 50 sampling points B in array Ub

[50] avg_B , then proceed to step 5.

[0061] Step 5: Determine whether the elements in the array Ua

[50] (i.e., the voltages at 50 sampling points A) are equal to the average value U avg_A The difference is less than 0.005V, and the elements in the array Ub

[50] (i.e., the voltages of 50 sampling points B) are equal to the average value U avg_B The difference is less than 0.005V. If so, execute step 7, otherwise execute step 6.

[0062] Step 6. Clear the elements in array Ua

[50] and the elements in array Ub

[50] , and then return to execute step 3.

[0063] Step 7: Calculate the average value new_U1 of the last five collected sampling point A voltages (i.e., the last five sampling point A voltages) and the average value new_U2 of the last five collected sampling point B voltages (i.e., the last five sampling point B voltages), and then execute step 8.

[0064] Step 8: Determine whether it is the first time to calculate the average value new_U1 and the average value new_U2 after power-on. If yes, execute step 12; otherwise, execute step 9.

[0065] Step 9: Determine whether the difference between the average value new_U1 and the previous average value old_U1 is less than 0.1V, and the difference between the average value new_U2 and the previous average value old_U2 is less than 0.1V. If yes, execute step 10; otherwise, execute step 11.

[0066] Step 10. Use the average value new_U1 as the voltage U1 detected at the sampling point A (ie, U1=new_U1), use the average value new_U2 as the voltage U2 detected at the sampling point B (ie, U2=new_U2), and then execute step 11.

[0067] Step 11. Set the insulation detection voltage stable state to 0, and then execute step 12.

[0068] Step 12: Update the previous average value old_U1 to new_U1 (i.e. update old_U1=new_U1), update the previous average value old_U2 to new_U2 (i.e. update old_U2=new_U2), clear the elements in array Ua

[50] and the elements in array Ub

[50] , and then execute step 13.

[0069] Step 13: Determine whether the insulation detection voltage is in a stable state of 1. If so, execute step 14, otherwise terminate (after termination, wait for the next insulation detection cycle).

[0070] Step 14: Control the controllable switch K1 to be closed, control the controllable switch K2 to be opened, and then execute step 15.

[0071] Step 15: Collect the voltage at sampling point A (i.e., the voltage at sampling point A) and the voltage at sampling point B (i.e., the voltage at sampling point B) 66 times with a sampling period of 10 ms, store (cache) the voltage at sampling point A collected 50 times in the array Ua

[50] , store (cache) the voltage at sampling point B collected 50 times in the array Ub

[50] , and then execute step 16.

[0072] Step 16: Calculate the average voltage U of the 50 sampling points A in the array Ua

[50] avg_A , calculate the average value U of the voltage of 50 sampling points B in array Ub

[50] avg_B , then proceed to step 17.

[0073] Step 17: Determine whether the elements in the array Ua

[50] (i.e., the voltages at 50 sampling points A) are equal to the average value U avg_A The difference is less than 0.005V, and the elements in the array Ub

[50] (i.e., the voltages of 50 sampling points B) are equal to the average value U avg_B The difference is less than 0.005V. If so, execute step 19, otherwise execute step 18.

[0074] Step 18. Clear the elements in array Ua

[50] and the elements in array Ub

[50] , and then return to execute step 15.

[0075] Step 19: Calculate the average value new_U3 of the last five collected sampling point A voltages (i.e., the last five sampling point A voltages) and the average value new_U4 of the last five collected sampling point B voltages (i.e., the last five sampling point B voltages), and then execute step 20.

[0076] Step 20: Determine whether it is the first time to calculate the average value new_U3 and the average value new_U4 after power-on. If so, execute step 25; otherwise, execute step 21.

[0077] Step 21: Determine whether the difference between the average value new_U3 and the previous average value old_U3 is less than 0.1V, and the difference between the average value new_U4 and the previous average value old_U4 is less than 0.1V. If so, execute step 22; otherwise, execute step 24.

[0078] Step 22: Use the average value new_U3 as the voltage U3 detected at the sampling point A (ie, U3=new_U3), use the average value new_U4 as the voltage U4 detected at the sampling point B (ie, U4=new_U4), and then execute step 23.

[0079] Step 23: Calculate the insulation resistance Rn of the negative electrode to the ground according to voltage U1, voltage U2, voltage U3, and voltage U4 (the calculation method belongs to the existing technology and is described in the national standard), and then execute step 25.

[0080] Step 24: Set the insulation detection voltage stable state to 0, and then execute step 25.

[0081] Step 25: Update the previous average value old_U3 to new_U3 (i.e. update old_U3=new_U3), update the previous average value old_U4 to new_U4 (i.e. update old_U4=new_U4), clear the elements in array Ua

[50] and the elements in array Ub

[50] , and then execute step 26.

[0082] Step 26: Determine whether the insulation detection voltage is in a stable state of 1. If so, execute step 28; otherwise, execute step 27.

[0083] Step 27: Control the controllable switch K1 to be disconnected, control the controllable switch K2 to be disconnected, and then end (after the end, wait for the next insulation detection cycle to begin).

[0084] Step 28: Control the controllable switch K1 to be opened, control the controllable switch K2 to be closed, and then execute step 29.

[0085] Step 29: Collect the voltage at sampling point A (i.e., the voltage at sampling point A) and the voltage at sampling point B (i.e., the voltage at sampling point B) 66 times with a sampling period of 10 ms, store (cache) the voltage at sampling point A collected 50 times in the array Ua

[50] , store (cache) the voltage at sampling point B collected 50 times in the array Ub

[50] , and then execute step 30.

[0086] Step 30: Calculate the average voltage U of the 50 sampling points A in the array Ua

[50] avg_A , calculate the average value U of the voltage of 50 sampling points B in array Ub

[50] avg_B , and then execute step 31.

[0087] Step 31: Determine whether the elements in the array Ua

[50] (i.e., the voltages at 50 sampling points A) are equal to the average value U avg_A The difference is less than 0.005V, and the elements in the array Ub

[50] (i.e., the voltages of 50 sampling points B) are equal to the average value U avg_B The difference is less than 0.005V. If so, execute step 33, otherwise execute step 32.

[0088] Step 32: Clear the elements in array Ua

[50] and the elements in array Ub

[50] , and then return to execute step 29.

[0089] Step 33: calculate the average value new_U5 of the last five collected sampling point A voltages (i.e., the last five sampling point A voltages) and the average value new_U6 of the last five collected sampling point B voltages (i.e., the last five sampling point B voltages), and then execute step 34.

[0090] Step 34: Determine whether this is the first time to calculate the average value new_U5 and the average value new_U6 after power-on. If so, execute step 38; otherwise, execute step 35.

[0091] Step 35: determine whether the difference between the average value new_U5 and the previous average value old_U5 is less than 0.1V, and the difference between the average value new_U6 and the previous average value old_U6 is less than 0.1V. If so, execute step 36, otherwise execute step 38.

[0092] Step 36: Use the average value new_U5 as the voltage U5 detected at the sampling point A (ie, U5=new_U5), use the average value new_U6 as the voltage U6 detected at the sampling point B (ie, U6=new_U6), and then execute step 37.

[0093] Step 37: Calculate the insulation resistance Rp of the positive electrode to the ground according to voltage U1, voltage U2, voltage U5 and voltage U6, and then execute step 38.

[0094] Step 38: Update the previous average value old_U5 to new_U5 (i.e. update old_U5=new_U5), update the previous average value old_U6 to new_U6 (i.e. update old_U6=new_U6), clear the elements in array Ua

[50] and the elements in array Ub

[50] , and then execute step 39.

[0095] Step 39: Control the controllable switch K1 to be disconnected, control the controllable switch K2 to be disconnected, and then end (after the end, wait for the next insulation detection cycle to begin).

[0096] Example 2: Figure 6 As shown, the battery pack insulation resistance detection device in this embodiment has most of the same circuits as in Embodiment 1, except that: the resistor R1, the resistor R3, and the controlled end of the controllable switch K2 are connected in series, and as a whole, one end is connected to the positive electrode of the battery pack and the other end is grounded. The resistor R5, the resistor R7, and the controlled end of the controllable switch K1 are connected in series, and as a whole, one end is connected to the negative electrode of the battery pack and the other end is grounded.

[0097] Most of the steps of the method for detecting the insulation resistance of the battery pack in this embodiment are the same as those in Embodiment 1, except that: in the twenty-third step of this embodiment, the insulation resistance Rp of the positive electrode to the ground is calculated based on the voltage U1, the voltage U2, the voltage U3, and the voltage U4. In the thirty-seventh step of this embodiment, the insulation resistance Rn of the negative electrode to the ground is calculated based on the voltage U1, the voltage U2, the voltage U5, and the voltage U6.

Claims

1. A method for detecting the insulation resistance of a battery pack, wherein the detection device used includes a controller and an insulation resistance detection circuit, wherein the insulation resistance detection circuit includes a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8 and a controllable switch K1 and a controllable switch K2; the controlled ends of the resistors R1, R3 and K1 are connected in series, and as a whole, one end is connected to the positive electrode of the battery pack and the other end is grounded; the controlled ends of the resistors R5, R7 and K2 are connected in series, and as a whole, one end is connected to the positive electrode of the battery pack and the other end is grounded. The negative electrode of the battery pack and the other end are grounded; the resistors R2 and R4 are connected in series, and as a whole, one end is connected to the positive electrode of the battery pack and the other end is grounded, a sampling point A is provided on the connection line between the resistor R2 and the resistor R4, and the sampling point A is connected to the controller; the resistors R6 and R8 are connected in series, and as a whole, one end is connected to the negative electrode of the battery pack and the other end is grounded, a sampling point B is provided on the connection line between the resistor R6 and the resistor R8, and the sampling point B is connected to the controller; the control end of the controllable switch K1 and the control end of the controllable switch K2 are respectively connected to the controller; it is characterized in that, The detection method includes: Step 1: Set the insulation detection voltage stable state to 1, and then execute Step 2; Step 2: Control the controllable switch K1 to disconnect and the controllable switch K2 to disconnect, and then execute Step 3; Step 3: Collect the voltages of sampling point A and sampling point B m times at a preset sampling period, and store the voltages of sampling point A and sampling point B collected in the last n times, where n ≤ m, and then execute Step 4; Step 4: Determine whether both the voltage of sampling point A and the voltage of sampling point B reach stability, and execute Step 5 when both the voltage of sampling point A and the voltage of sampling point B reach stability; Step 5: Calculate the average value new_U1 of the voltages of sampling point A collected in the last k times and the average value new_U2 of the voltages of sampling point B collected in the last k times, where k < n, and then execute Step 6; Step 6: Determine whether it is the first time to calculate the average values new_U1 and new_U2 after power-on. If so, execute Step 10; otherwise, execute Step 7; Step 7: Determine whether the difference between the average value new_U1 and the previous average value old_U1 is less than the preset first voltage difference threshold, and the difference between the average value new_U2 and the previous average value old_U2 is less than the preset first voltage difference threshold. If so, execute Step 8; otherwise, execute Step 9; Step 8: Take the average value new_U1 as the voltage U1 detected at sampling point A, and take the average value new_U2 as the voltage U2 detected at sampling point B, and then execute Step 10; Step 9: Set the insulation detection voltage stable state to 0, and then execute Step 10; Step 10: Update the previous average value old_U1 to new_U1, update the previous average value old_U2 to new_U2, clear the voltages of sampling point A and sampling point B collected in the last n times that have been stored, and then execute Step 11; Step 11: Determine whether the insulation detection voltage stable state is 1. If so, execute Step 12; otherwise, end; Step 12: Control the controllable switch K1 to close and the controllable switch K2 to disconnect, and then execute Step 13; Step 13: Collect the voltages of sampling point A and sampling point B m times at a preset sampling period, and store the voltages of sampling point A and sampling point B collected in the last n times, and then execute Step 14; Step 14: Determine whether both the voltage of sampling point A and the voltage of sampling point B reach stability, and execute Step 15 when both the voltage of sampling point A and the voltage of sampling point B reach stability; Step 15: Calculate the average value new_U3 of the voltages of sampling point A collected in the last k times and the average value new_U4 of the voltages of sampling point B collected in the last k times, and then execute Step 16; Step 16: Determine whether it is the first time to calculate the average values new_U3 and new_U4 after power-on. If so, execute Step 21; otherwise, execute Step 17; Step 17: determine whether the difference between the average value new_U3 and the previous average value old_U3 is less than the preset first voltage difference threshold, and the difference between the average value new_U4 and the previous average value old_U4 is less than the preset first voltage difference threshold, if yes, execute step 18, otherwise execute step 20; Step 18: taking the average value new_U3 as the voltage U3 detected at the sampling point A, taking the average value new_U4 as the voltage U4 detected at the sampling point B, and then executing step 19; Step 19, calculate the insulation resistance Rn of the negative electrode to the ground according to the voltage U1, the voltage U2, the voltage U3, and the voltage U4, and then execute step 21; Step 20, setting the insulation detection voltage stable state to 0, and then executing step 21; Step 21: update the previous average value old_U3 to new_U3, update the previous average value old_U4 to new_U4, clear the stored sampling point A voltage and sampling point B voltage collected for the last n times, and then execute step 22; Step 22: determine whether the insulation detection voltage is in a stable state of 1, if yes, proceed to step 23, otherwise end; Step 23: control the controllable switch K1 to be opened, control the controllable switch K2 to be closed, and then execute step 24; Step 24, collecting the voltage at sampling point A and the voltage at sampling point B m times according to a preset sampling period, storing the voltage at sampling point A and the voltage at sampling point B collected n times, and then executing step 25; Step 25: determine whether the voltage at the sampling point A and the voltage at the sampling point B are both stable, and execute step 26 when the voltage at the sampling point A and the voltage at the sampling point B are both stable; Step 26: Calculate the stored average value new_U5 of the voltage at the sampling point A collected for the last k times and the average value new_U6 of the voltage at the sampling point B collected for the last k times, and then execute step 27; Step 27: determine whether it is the first time to calculate the average value new_U5 and the average value new_U6 after power-on. If yes, execute step 31; otherwise, execute step 28. Step 28: Determine whether the difference between the average value new_U5 and the previous average value old_U5 is less than the preset first voltage difference threshold, and the difference between the average value new_U6 and the previous average value old_U6 is less than the preset first voltage difference threshold. If yes, execute step 29; otherwise, execute step 31. Step 29: taking the average value new_U5 as the voltage U5 detected at the sampling point A, taking the average value new_U6 as the voltage U6 detected at the sampling point B, and then executing step 30; Step 30, calculate the insulation resistance Rp of the positive electrode to ground according to the voltage U1, the voltage U2, the voltage U5, and the voltage U6, and then execute step 31; Step thirty - one: Update the previous average value old_U5 to new_U5, update the previous average value old_U6 to new_U6, clear the stored sampling point A voltages and sampling point B voltages collected in the last n times, and then end.

2. The method for detecting the insulation resistance of a battery pack according to claim 1, characterized in that: The specific method for determining whether the voltages of sampling point A and sampling point B both reach stability includes: First, calculate the average value U of the voltage of the n sampling points A stored avg_A And the average value U of the voltage at n sampling points B avg_B ; Then, determine whether the voltage of the n sampling points A stored is equal to the average value U avg_A The difference between the voltages of the n sampling points B and the average value U avg_B The difference between the voltages of the sampling point A and the sampling point B is less than a preset second voltage difference threshold value. If so, it is determined that the voltage at the sampling point A and the voltage at the sampling point B are both stable; otherwise, it is determined that the voltage at the sampling point A and / or the voltage at the sampling point B are not stable; When the voltage of sampling point A and / or the voltage of sampling point B do not reach stability, first clear the stored sampling point A voltages and sampling point B voltages collected in the last n times, then collect the voltages of sampling point A and sampling point B m times again according to the preset sampling period, and store the sampling point A voltages and sampling point B voltages collected in the last n times.

3. The method for detecting the insulation resistance of a battery pack according to claim 2, characterized in that: The preset first voltage difference threshold is 0.1V, and the preset second voltage difference threshold is 0.005V.

4. The method for detecting the insulation resistance of a battery pack according to claim 3, characterized in that: The value of m is 66, the value of n is 50, and the value of k is 5.

5. A method for detecting the insulation resistance of a battery pack, wherein the detection device used includes a controller and an insulation resistance detection circuit, wherein the insulation resistance detection circuit includes a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8 and a controllable switch K1 and a controllable switch K2; the controlled ends of the resistors R1, R3 and K2 are connected in series, and as a whole, one end is connected to the positive electrode of the battery pack and the other end is grounded; the controlled ends of the resistors R5, R7 and K1 are connected in series, and as a whole, one end is connected to the positive electrode of the battery pack and the other end is grounded. The negative electrode of the battery pack and the other end are grounded; the resistors R2 and R4 are connected in series, and as a whole, one end is connected to the positive electrode of the battery pack and the other end is grounded, a sampling point A is provided on the connection line between the resistor R2 and the resistor R4, and the sampling point A is connected to the controller; the resistors R6 and R8 are connected in series, and as a whole, one end is connected to the negative electrode of the battery pack and the other end is grounded, a sampling point B is provided on the connection line between the resistor R6 and the resistor R8, and the sampling point B is connected to the controller; the control end of the controllable switch K1 and the control end of the controllable switch K2 are respectively connected to the controller; it is characterized in that, This detection method includes: Step one: Set the insulation detection voltage stable state to 1, and then execute step two; Step two: Control the controllable switch K1 to disconnect, control the controllable switch K2 to disconnect, and then execute step three; Step three: Collect the voltages of sampling point A and sampling point B m times according to the preset sampling period, store the sampling point A voltages and sampling point B voltages collected in the last n times, where n ≤ m, and then execute step four; Step four: Determine whether the voltages of sampling point A and sampling point B both reach stability, and execute step five when the voltages of sampling point A and sampling point B both reach stability; Step five: Calculate the average value new_U1 of the last k sampling point A voltages collected and the average value new_U2 of the last k sampling point B voltages collected, where k < n, and then execute step six; Step six: Judge whether it is the first time to calculate the average values new_U1 and new_U2 after power - on. If so, execute step ten, otherwise execute step seven; Step seven: Judge whether the difference between the average value new_U1 and the previous average value old_U1 is less than the preset first voltage difference threshold, and the difference between the average value new_U2 and the previous average value old_U2 is less than the preset first voltage difference threshold. If so, execute step eight, otherwise execute step nine; Step eight: Take the average value new_U1 as the voltage U1 detected at sampling point A, take the average value new_U2 as the voltage U2 detected at sampling point B, and then execute step ten; Step nine: Set the insulation detection voltage stable state to 0, and then execute step ten; Step ten: Update the previous average value old_U1 to new_U1, update the previous average value old_U2 to new_U2, clear the stored sampling point A voltages and sampling point B voltages collected in the last n times, and then execute step eleven; Step eleven: Judge whether the insulation detection voltage stable state is 1. If so, execute step twelve, otherwise end; Step twelve: Control the controllable switch K1 to close, control the controllable switch K2 to disconnect, and then execute step thirteen; Step 13, collecting the voltage at sampling point A and the voltage at sampling point B m times according to a preset sampling period, storing the voltage at sampling point A and the voltage at sampling point B collected n times, and then executing step 14; Step 14: determine whether the voltage at the sampling point A and the voltage at the sampling point B are both stable, and execute step 15 when the voltage at the sampling point A and the voltage at the sampling point B are both stable; Step 15: Calculate the stored average value new_U3 of the voltage at the sampling point A collected for the last k times and the average value new_U4 of the voltage at the sampling point B collected for the last k times, and then execute step 16; Step 16: Determine whether it is the first time to calculate the average value new_U3 and the average value new_U4 after power-on. If yes, execute step 21; otherwise, execute step 17. Step 17: determine whether the difference between the average value new_U3 and the previous average value old_U3 is less than the preset first voltage difference threshold, and the difference between the average value new_U4 and the previous average value old_U4 is less than the preset first voltage difference threshold, if yes, execute step 18, otherwise execute step 20; Step 18: taking the average value new_U3 as the voltage U3 detected at the sampling point A, taking the average value new_U4 as the voltage U4 detected at the sampling point B, and then executing step 19; Step 19, calculate the insulation resistance Rp of the positive electrode to the ground according to the voltage U1, the voltage U2, the voltage U3, and the voltage U4, and then execute step 21; Step 20, setting the insulation detection voltage stable state to 0, and then executing step 21; Step 21: update the previous average value old_U3 to new_U3, update the previous average value old_U4 to new_U4, clear the stored sampling point A voltage and sampling point B voltage collected for the last n times, and then execute step 22; Step 22: determine whether the insulation detection voltage is in a stable state of 1, if yes, proceed to step 23, otherwise end; Step 23: control the controllable switch K1 to be opened, control the controllable switch K2 to be closed, and then execute step 24; Step 24, collecting the voltage at sampling point A and the voltage at sampling point B m times according to a preset sampling period, storing the voltage at sampling point A and the voltage at sampling point B collected n times, and then executing step 25; Step 25: determine whether the voltage at the sampling point A and the voltage at the sampling point B are both stable, and execute step 26 when the voltage at the sampling point A and the voltage at the sampling point B are both stable; Step 26: Calculate the stored average value new_U5 of the voltage at the sampling point A collected for the last k times and the average value new_U6 of the voltage at the sampling point B collected for the last k times, and then execute step 27; Step 27: determine whether it is the first time to calculate the average value new_U5 and the average value new_U6 after power-on. If yes, execute step 31; otherwise, execute step 28. Step 28: Determine whether the difference between the average value new_U5 and the previous average value old_U5 is less than the preset first voltage difference threshold, and the difference between the average value new_U6 and the previous average value old_U6 is less than the preset first voltage difference threshold. If yes, execute step 29; otherwise, execute step 31. Step 29: taking the average value new_U5 as the voltage U5 detected at the sampling point A, taking the average value new_U6 as the voltage U6 detected at the sampling point B, and then executing step 30; Step 30, calculating the insulation resistance Rn of the negative electrode to the ground according to the voltage U1, the voltage U2, the voltage U5, and the voltage U6, and then executing step 31; Step 31: Update the previous average value old_U5 to new_U5, update the previous average value old_U6 to new_U6, clear the stored sampling point A voltage and sampling point B voltage collected for the last n times, and then end.

6. The method for detecting the insulation resistance of a battery pack according to claim 5, characterized in that: The specific methods for determining whether the voltage at sampling point A and the voltage at sampling point B are both stable include: First, calculate the average value U of the voltage of the n sampling points A stored avg_A And the average value U of the voltage at n sampling points B avg_B ; Then, determine whether the voltage of the n sampling points A stored is equal to the average value U avg_A The difference between the voltages of the n sampling points B and the average value U avg_B The difference between the voltages of the sampling point A and the sampling point B is less than a preset second voltage difference threshold value. If so, it is determined that the voltage at the sampling point A and the voltage at the sampling point B are both stable; otherwise, it is determined that the voltage at the sampling point A and / or the voltage at the sampling point B are not stable; When the voltage at sampling point A and / or the voltage at sampling point B is not stable, the voltage at sampling point A and the voltage at sampling point B collected for the last n times are cleared, and then the voltage at sampling point A and the voltage at sampling point B are collected m times according to the preset sampling period, and the voltage at sampling point A and the voltage at sampling point B collected for the last n times are stored.

7. The method for detecting the insulation resistance of a battery pack according to claim 6, characterized in that: The preset first voltage difference threshold is 0.1V, and the preset second voltage difference threshold is 0.005V.

8. The method for detecting the insulation resistance of a battery pack according to claim 7, characterized in that: The value of m is 66, the value of n is 50, and the value of k is 5.

Citation Information

Patent Citations

  • Inverter used for detecting solar cell panel and electric network side insulation resistor and detection method

    CN102751894A

  • Power battery insulation resistance detection method, insulation early warning method and electronic equipment

    CN107860975A