Insulation resistance detection circuit, detection method, and detection apparatus
11243259 · 2022-02-08
Assignee
Inventors
Cpc classification
G01R27/025
PHYSICS
G01R31/389
PHYSICS
G01R31/385
PHYSICS
G01R27/02
PHYSICS
G01R31/36
PHYSICS
International classification
G01R31/389
PHYSICS
G01R31/385
PHYSICS
Abstract
An insulation resistance detection circuit, detection method, and detection apparatus are provided. The circuit includes an alternating-current signal source, a resonant cavity, a first resistor, a second resistor, a third resistor, a fourth resistor, a first switch, and a second switch. The alternating-current signal source is sequentially connected to the first resistor, the resonant cavity, the first switch, the second resistor, and the third resistor in series to form a loop. The first resistor is connected to a positive electrode of the alternating-current signal source, and the third resistor is connected to a negative electrode of the alternating-current signal source. One end of the second switch is connected to a negative electrode of a to-be-detected battery, the other end of the second switch is connected to the fourth resistor, and the other end of the fourth resistor is connected to ground.
Claims
1. An insulation resistance detection circuit, comprising: an alternating-current signal source, a resonant cavity, a first resistor, a second resistor, a third resistor, a fourth resistor, a first switch, and a second switch; and a first voltage sampling unit and a second voltage sampling unit, wherein the first voltage sampling unit is connected to the first resistor in parallel, to detect a voltage at two ends of the first resistor; and the second voltage sampling unit is connected to the third resistor in parallel, to detect a voltage at two ends of the third resistor, wherein the alternating-current signal source is sequentially connected to the first resistor, the resonant cavity, the first switch, the second resistor, and the third resistor in series to form a loop, wherein the first resistor is connected to a positive electrode of the alternating-current signal source, and the third resistor is connected to a negative electrode of the alternating-current signal source; a positive electrode of a to-be-detected battery is connected between the first switch and the resonant cavity, and the negative electrode of the alternating-current signal source is connected to ground; one end of the second switch is connected to a negative electrode of the to-be-detected battery, the other end of the second switch is connected to the fourth resistor, and the other end of the fourth resistor is connected to the ground; the resonant cavity comprises a capacitor and an inductor that are connected in series, and when the to-be-detected battery is detected, the alternating-current signal source is configured to provide an alternating-current signal.
2. The insulation resistance detection circuit according to claim 1, further comprising a fifth resistor and a third switch, wherein the fifth resistor is connected between the alternating-current signal source and the resonant cavity in series, and the third switch is connected to two ends of the fifth resistor in parallel.
3. An insulation resistance detection circuit, comprising: an alternating-current signal source, a resonant cavity, a first resistor, a second resistor, a third resistor, a fourth resistor, a first switch, and a second switch, a first voltage sampling unit and a second voltage sampling unit, wherein the first voltage sampling unit is connected to the first resistor in parallel, to detect a voltage at two ends of the first resistor; and the second voltage sampling unit is connected to the third resistor in parallel, to detect a voltage at two ends of the third resistor, wherein the alternating-current signal source is sequentially connected to the first resistor, the resonant cavity, the first switch, the second resistor, and the third resistor in series to form a loop, wherein the first resistor is connected to a positive electrode of the alternating-current signal source, and the third resistor is connected to a negative electrode of the alternating-current signal source; a negative electrode of a to-be-detected battery is connected between the first switch and the resonant cavity, and the negative electrode of the alternating-current signal source is connected to ground; one end of the second switch is connected to a positive electrode of the to-be-detected battery, the other end of the second switch is connected to the fourth resistor, and the other end of the fourth resistor is connected to the ground; the resonant cavity comprises a capacitor and an inductor that are connected in series, and when the to-be-detected battery is detected, the alternating-current signal source is configured to provide an alternating-current signal.
4. The insulation resistance detection circuit according to claim 3, further comprising a fifth resistor and a third switch, wherein the fifth resistor is connected between the alternating-current signal source and the resonant cavity in series, and the third switch is connected to two ends of the fifth resistor in parallel.
5. An insulation resistance detection apparatus comprising: a processor configured to: control the alternating-current signal source to provide an alternating-current signal, detect a voltage of a first resistor; construct an equation based on the alternating-current signal and the voltage of the first resistor; obtain an insulation resistance parallel value and a parasitic capacitance parallel value of a to-be-detected battery; and determine, based on the insulation resistance parallel value, whether an insulation failure occurs on the to-be-detected battery, wherein the insulation failure occurs when the insulation resistance parallel value is less than half of the resistance threshold.
6. The apparatus according to claim 5, wherein the processor is further configured to: determine that no insulation failure occurs on the to-be-detected battery, wherein the insulation resistance parallel value is greater than a reset resistance threshold.
7. The apparatus according to claim 5, wherein the processor is further configured to: control to disconnect a first switch and a second switch; control the alternating-current signal source to inject a sine signal with a frequency ω.sub.1 and an amplitude value U.sub.s, and detect that a voltage at two ends of the first resistor is U.sub.m1; and control the alternating-current signal source to inject a sine signal with a frequency ω.sub.2 and an amplitude value U.sub.s, and detect that a voltage at the two ends of the first resistor is U.sub.m2; and wherein the constructing an equation based on the alternating-current signal and the voltage of the first resistor, and obtaining an insulation resistance parallel value and a parasitic capacitance parallel value of a to-be-detected battery comprises: constructing an equation (1) based on U.sub.s and U.sub.m1:
8. The apparatus according to claim 5, wherein the processor is further configured to: control to turn off the alternating-current signal source; close a first switch, obtain a voltage U.sub.n1 of a third resistor through detection, and construct an equation (3) based on a voltage U of the to-be-detected battery and the voltage U.sub.n1 of the third resistor:
9. The apparatus according to claim 8, wherein the processor is further configured to: determine that no insulation failure occurs on the to-be-detected battery in response to both the positive electrode insulation resistance and the negative electrode insulation resistance being greater than the resistance threshold.
10. The apparatus according to claim 5, wherein the processor is configured to: obtain a positive electrode insulation resistance and a negative electrode insulation resistance of the to-be-detected battery, wherein the insulation resistance parallel value is less than the resistance threshold and greater than half of the resistance threshold, and determine, based on the positive electrode insulation resistance and the negative electrode insulation resistance, whether an insulation failure occurs on the to-be-detected battery.
11. The apparatus according to claim 10, wherein the processor is further configured to: determine that an insulation failure occurs on the to-be-detected battery, wherein neither the positive electrode insulation resistance nor the negative electrode insulation resistance is greater than the resistance threshold.
12. The apparatus according to claim 10, wherein the processor is further configured to: control to turn off the alternating-current signal source; close a first switch, obtain a voltage U.sub.n1 of a third resistor through detection, and construct an equation (3) based on a voltage U of the to-be-detected battery and the voltage U.sub.n1 of the third resistor:
13. The apparatus according to claim 10, wherein the processor is further configured to: determine that no insulation failure occurs on the to-be-detected battery in response to both the positive electrode insulation resistance and the negative electrode insulation resistance being greater than the resistance threshold.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DESCRIPTION OF EMBODIMENTS
(10) Embodiments of this application provide an active injected insulation resistance detection circuit and detection method. This can eliminate impact of a connected auxiliary resistor on an insulation status of a battery system, and eliminate impact of a capacitor C and insulation resistance parasitic capacitance in an active injection method on detection precision. In addition, this can also accurately determine an insulation failure and simplify a voltage measurement circuit. The following describes the technical solutions in the embodiments of this application by using several specific implementations.
(11)
(12) The alternating-current signal source U.sub.s is sequentially connected to the first resistor R.sub.r, the resonant cavity, the first switch K.sub.1, the second resistor R.sub.1, and the third resistor R.sub.2 in series to form a loop. The first resistor R.sub.r is connected to a positive electrode of the alternating-current signal source U.sub.s, and the third resistor R.sub.2 is connected to a negative electrode of the alternating-current signal source U.sub.s.
(13) In this solution, a to-be-detected battery (a part within a dashed-line box is an equivalent circuit of the to-be-detected battery, and an entirety of the dashed-line box is the to-be-detected battery) is excluded from a structure of the detection circuit.
(14) A positive electrode of the to-be-detected battery is connected between the first switch K.sub.1 and the resonant cavity, and the negative electrode of the alternating-current signal source U.sub.s is connected to ground. In other words, the positive electrode of the to-be-detected battery and the ground are parallel-connected to two sides of the first switch K.sub.1, the second resistor R.sub.1, and the third resistor R.sub.2 that are sequentially connected in series.
(15) One end of the second switch K.sub.2 is connected to a negative electrode of the to-be-detected battery, the other end of the second switch K.sub.2 is connected to the fourth resistor R.sub.3, and the other end of the fourth resistor R.sub.3 is connected to the ground. In other words, two ends of an entirety obtained by connecting the second switch K.sub.2 to the fourth resistor R.sub.3 in series is parallel-connected to two sides of the negative electrode of the to-be-detected battery and the ground.
(16) In the foregoing solution, for details, refer to the principle diagram in
(17) Optionally, in specific application of the circuit, components connected between the positive/negative electrode of the to-be-detected battery and the ground may be alternatively exchanged. The negative electrode of the to-be-detected battery is connected between the first switch K.sub.1 and the resonant cavity; the negative electrode of the alternating-current signal source U.sub.s is connected to the ground; one end of the second switch K.sub.2 is connected to the positive electrode of the to-be-detected battery; the other end of the second switch K.sub.2 is connected to the fourth resistor R.sub.3; and the other end of the fourth resistor R.sub.3 is connected to the ground. In other words, the negative electrode of the to-be-detected battery and the ground are parallel-connected to two sides of the first switch K.sub.1, the second resistor R.sub.1, and the third resistor R.sub.2 that are sequentially connected in series, and an entirety obtained by connecting the second switch K.sub.2 to the fourth resistor R.sub.3 in series is parallel-connected to two sides of the positive electrode of the to-be-detected battery and the ground.
(18) When the to-be-detected battery is detected, the alternating-current signal source is configured to provide an alternating-current signal, an equation related to an insulation resistance parallel value and a parasitic capacitance parallel value of the to-be-detected battery is constructed based on the alternating-current signal and a voltage of the first resistor, and the insulation resistance parallel value of the to-be-detected battery is obtained. Therefore, whether a failure occurs on the to-be-detected battery may be still determined based on the insulation resistance parallel value.
(19) Further, to detect voltage values of the first resistor R.sub.r and the third resistor R.sub.2, the insulation resistance detection circuit further includes a first voltage sampling unit U.sub.m and a second voltage sampling unit U.sub.n. The first voltage sampling unit U.sub.m is connected to the first resistor R.sub.r in parallel, to detect a voltage at two ends of the first resistor R.sub.r. The second voltage sampling unit U.sub.n is connected to the third resistor R.sub.2 in parallel, to detect a voltage at two ends of the third resistor R.sub.2.
(20)
(21)
(22) On the basis of the several insulation resistance detection circuits, the following describes specific implementation methods for detecting insulation resistance performance.
(23)
(24) S101: Control the alternating-current signal source to provide an alternating-current signal, and detect a voltage of a first resistor.
(25) S102: Construct an equation based on the alternating-current signal and the voltage of the first resistor, and obtain an insulation resistance parallel value and a parasitic capacitance parallel value of the to-be-detected battery.
(26) In the foregoing steps, an equation related to the parasitic capacitance parallel value and the insulation resistance parallel value of the to-be-detected battery is constructed for calculation by detecting voltage values of different auxiliary resistors and with reference to input of the alternating-current signal source, to obtain the insulation resistance parallel value.
(27) Further, whether an insulation failure occurs on the to-be-detected battery may be further determined based on the insulation resistance parallel value, and this may be specifically implemented in the following manner:
(28) if the insulation resistance parallel value is greater than a preset resistance threshold, determining that no insulation failure occurs on the to-be-detected battery;
(29) if the insulation resistance parallel value is less than the resistance threshold and greater than half of the resistance threshold, obtaining a positive electrode insulation resistance and a negative electrode insulation resistance of the to-be-detected battery, and determining, based on the positive electrode insulation resistance and the negative electrode insulation resistance, whether an insulation failure occurs on the to-be-detected battery; or if the insulation resistance parallel value is less than half of the resistance threshold, determining that an insulation failure occurs on the to-be-detected battery.
(30) The following describes the detection method with reference to different circuit implementations.
(31) In the circuit shown in
(32) Step 1: Inject an alternating-current signal U.sub.s, and calculate an insulation resistance parallel value R.sub.b and a parasitic capacitance parallel value C.sub.b.
(33) Step 2: Determine an insulation status of a power battery based on the insulation resistance parallel value R.sub.b and a preset resistance threshold (also referred to as a threshold resistance) R.sub.th, and take corresponding measures.
(34) (1) When R.sub.b>R.sub.th, determine that no insulation failure occurs and the power battery runs properly.
(35) (2) When ½R.sub.th<R.sub.b<R.sub.th, determine that an insulation failure may occur on the power battery.
(36) In this case, the alternating-current signal source U.sub.s is disconnected, the auxiliary switches K.sub.1 and K.sub.2 are progressively closed, and insulation resistance values R.sub.p and R.sub.n are calculated. When R.sub.p>R.sub.th and R.sub.n>R.sub.th, it is determined that no insulation failure occurs, or when neither R.sub.p>R.sub.th nor R.sub.n>R.sub.th, it is determined that an insulation failure occurs, and troubleshooting is performed.
(37) (3) When R.sub.b<½R.sub.th, determine that an insulation failure occurs, and perform troubleshooting.
(38) Specifically, the alternating-current signal U.sub.s may be injected, and the insulation resistance parallel value and the parasitic capacitance parallel value are calculated. A frequency disturbance method, a resistance disturbance method, and an amplitude phase method may be used herein. For the frequency disturbance method,
(39) First, a first switch and a second switch are controlled to be disconnected; the alternating-current signal source is controlled to inject a sine signal with a frequency ω.sub.1 and an amplitude value U.sub.s, and it is detected that a voltage at two ends of the first resistor is U.sub.m1; and the alternating-current signal source is controlled to inject a sine signal with a frequency ω.sub.2 and an amplitude value U.sub.s, and it is detected that a voltage at the two ends of the first resistor is U.sub.m2.
(40) The switches K.sub.1 and K.sub.2 are disconnected, the alternating-current signal source U.sub.s injects the sine signal with the frequency ω.sub.1 and the amplitude value U.sub.s, and the voltage U.sub.m1 at the two ends of the first resistor (an auxiliary resistor) R.sub.r is measured to obtain the following equation (1):
(41)
(42) The alternating-current signal source U.sub.s injects the sine signal with the frequency ω.sub.2 and the amplitude value U.sub.s, and the voltage U.sub.m2 at the two ends of the first resistor (an auxiliary resistor) R.sub.r is measured to obtain the following equation (2):
(43)
(44) R.sub.f represents a resistance value of the first resistor, ω.sub.1≠ω.sub.2, and the insulation resistance parallel value R.sub.b and the parasitic capacitance parallel value C.sub.b may be obtained through calculation by combining the equation (1) and the equation (2).
(45) Then, an insulation status of the power battery may be determined based on the insulation resistance parallel value R.sub.b and the resistance threshold (the preset threshold resistance) R.sub.th, and corresponding measures are taken.
(46) (1) When R.sub.b>R.sub.th, determine that no insulation failure occurs and a battery system is properly powered on and runs.
(47) (2) When ½R.sub.th<R.sub.b<R.sub.th, determine that an insulation failure may occur on the battery system, but at least one of the reference ground insulation resistance values R.sub.p and R.sub.n relative to the positive electrode and the negative electrode of the battery is less than 2R.sub.th. In this case, the alternating-current signal source U.sub.s is disconnected, the auxiliary switches K.sub.1 and K.sub.2 are progressively closed, the insulation resistance values R.sub.p and R.sub.n are calculated, and it is determined whether an insulation failure occurs.
(48) When R.sub.p>R.sub.th and R.sub.n>R.sub.th, it is determined that no insulation failure occurs, or when neither R.sub.p>R.sub.th nor R.sub.n>R.sub.th, it is determined that an insulation failure occurs, and troubleshooting is performed.
(49) Because the power battery has relatively poor insulation performance (a kilohm level) in such an insulation status, the connected auxiliary resistors R.sub.1, R.sub.2, and R.sub.3 (a megaohm level) have little impact on the insulation status of the power battery when the auxiliary switches K.sub.1 and K.sub.2 are closed.
(50) (3) When R.sub.b<½R.sub.th, determine that an insulation failure occurs; and disconnect a load, and stop running the battery system.
(51) The insulation resistance parallel value R.sub.b is compared with R.sub.th, and the insulation status of the power battery is divided into three states, so that accurate determining can be implemented.
(52) The resistance threshold or the threshold resistance R.sub.th is set according to a related technology standard and a voltage value of the power battery. For example, a voltage of an electrical vehicle battery pack is U=500 V, and according to the corresponding technology standard: ISO/DIS 6469-1:2000 Electric Road Vehicles—Safety Specifications—Part 1: On-Board Electrical Energy Storage, a value of an insulation resistance parameter needs to be greater than 500 Ω/V as required in this standard. Therefore, the reference ground insulation resistance values R.sub.p and R.sub.n relative to a positive electrode and a negative electrode of the electrical vehicle battery pack need to be greater than 250 kΩ. Therefore, the threshold resistance R.sub.th is set to 250 kΩ.
(53) In the foregoing process, an improved balancing bridge method may be alternatively used to calculate the insulation resistance values R.sub.p and R.sub.n.
(54) controlling to turn off the alternating-current signal source;
(55) closing a first switch K.sub.1, obtaining a voltage U.sub.n1 of a third resistor through detection, and constructing an equation (3) based on a voltage U of the to-be-detected battery and the voltage U.sub.n1 of the third resistor:
(56)
(57) closing the first switch K.sub.1 and a second switch K.sub.2, obtaining a voltage U.sub.n2 of the third resistor through detection, and constructing an equation (4) based on the voltage U of the to-be-detected battery and the voltage U.sub.n1 of the third resistor:
(58)
and
(59) obtaining the positive electrode insulation resistance R.sub.p and the negative electrode insulation resistance R.sub.n of the to-be-detected battery through calculation according to the equation (3), the equation (4), and an equation (5)
(60)
where R.sub.1 represents a resistance value of the second resistor, R.sub.2 represents a resistance value of the third resistor, R.sub.3 represents a resistance value of a fourth resistor, and R.sub.b represents an insulation resistance parallel value of the to-be-detected battery.
(61) Specifically, a calculation process is that the following equation (5) may be obtained by dividing the equation (3) by the equation (4):
(62)
(63) In the foregoing process, the parallel value R.sub.b of the insulation resistance values R.sub.p and R.sub.n is obtained according to the following equation:
(64)
(65) The insulation resistance values R.sub.p and R.sub.n may be obtained through calculation by combining the equation (5) and the equation (6). Compared with the conventional balancing bridge method, this method reduces one voltage detection unit by increasing resistance disturbance once, thereby simplifying a voltage measurement circuit.
(66) In the circuit shown in
(67) disconnecting the switches K.sub.1, K.sub.2, and K.sub.r, injecting a sine signal with a frequency ω and an amplitude value U.sub.s from the alternating-current signal source U.sub.s, and measuring a voltage U.sub.m1 at two ends of the auxiliary resistor R.sub.r to obtain the following equation:
(68)
(69) closing the auxiliary switch K.sub.r, and measuring a voltage U.sub.m2 at the two ends of the auxiliary resistor R.sub.r to obtain the following equation:
(70)
and
(71) obtaining the insulation resistance parallel value R.sub.b and the parasitic capacitance parallel value C.sub.b by combining the equation (7) and the equation (8).
(72) In the specific embodiment of the solution shown in
(73) disconnecting the switches K.sub.1 and K.sub.2, injecting a sine signal with a frequency ω and an amplitude value U.sub.s from the alternating-current signal source U.sub.s, and measuring a voltage U.sub.m at two ends of the auxiliary resistor R.sub.r and a voltage U.sub.m of the alternating-current signal source U.sub.s to obtain a phase difference Δφ, so as to separately construct an amplitude equation and a phase equation:
(74)
and
(75)
and
(76) obtaining the insulation resistance parallel value R.sub.b and the parasitic capacitance parallel value C.sub.b by combining the equation (9) and the equation (10).
(77) The insulation resistance detection method and detection circuit of the battery provided in the embodiments of this application can achieve the following technical effects:
(78) 1. A resonant cavity including a capacitive component and an inductive component is introduced to an active injected detection network, and the capacitor can isolate a direct-current high voltage of the power battery, and therefore the introduced active injected detection network does not reduce insulation resistance of the power battery. A resonant circuit is in a resonant state (or at a resonant point nearby), and an equivalent impedance is zero (or approximately zero), and therefore values of the capacitor C.sub.r and the inductor L.sub.r do not affect insulation resistance calculation.
(79) 2. The three methods: the frequency disturbance method, the resistance disturbance method, and the amplitude phase method may be used to calculate the insulation resistance parallel value in the active injected detection network, where the frequency disturbance method has highest calculation precision, and is easy to implement, without requiring an additional apparatus.
(80) 3. The insulation resistance parallel value R.sub.b is compared with the resistance threshold R.sub.th, and the insulation status of the power battery is divided into three states, so that accurate determining can be implemented. An auxiliary resistor is connected through an auxiliary switch only when system insulation performance is relatively poor, and the auxiliary resistor has little impact on the insulation status of the power battery.
(81) 4. The insulation resistance values R.sub.p and R.sub.n are obtained through calculation by using the improved balancing bridge method. Compared with the conventional balancing bridge method, this method reduces one voltage detection unit by increasing resistance disturbance once, thereby simplifying a voltage measurement circuit.
(82)
(83) The insulation resistance detection apparatus includes a processor 11 and an insulation resistance detection circuit 12 provided in the foregoing embodiment. The processor 11 is electrically connected to the insulation resistance detection circuit. When a to-be-detected battery is detected, the to-be-detected battery is connected to the insulation resistance detection circuit in the manner shown in the foregoing principle diagram. The processor 11 is configured to: control to execute the following solution, and collect data for calculation and analysis. Details are as follows:
(84) The processor 11 is configured to: control the alternating-current signal source to provide an alternating-current signal, and detect a voltage of a first resistor.
(85) The processor is further configured to: construct an equation based on the alternating-current signal and the voltage of the first resistor, and obtain an insulation resistance parallel value and a parasitic capacitance parallel value of the to-be-detected battery.
(86) Optionally, the processor 11 is further configured to determine, based on the insulation resistance parallel value, whether an insulation failure occurs on the to-be-detected battery.
(87) Optionally, the processor 11 is specifically configured to:
(88) if the insulation resistance parallel value is greater than a preset resistance threshold, determine that no insulation failure occurs on the to-be-detected battery;
(89) if the insulation resistance parallel value is less than the resistance threshold and greater than half of the resistance threshold, obtain a positive electrode insulation resistance and a negative electrode insulation resistance of the to-be-detected battery, and determine, based on the positive electrode insulation resistance and the negative electrode insulation resistance, whether an insulation failure occurs on the to-be-detected battery; or
(90) if the insulation resistance parallel value is less than half of the resistance threshold, determine that an insulation failure occurs on the to-be-detected battery.
(91) Optionally, the processor 11 is further specifically configured to:
(92) control to disconnect a first switch and a second switch;
(93) control the alternating-current signal source to inject a sine signal with a frequency ω.sub.1 and an amplitude value U.sub.s, and detect that a voltage at two ends of the first resistor is U.sub.m1; and
(94) control the alternating-current signal source to inject a sine signal with a frequency ω.sub.2 and an amplitude value U.sub.s, and detect that a voltage at the two ends of the first resistor is U.sub.m2; and
(95) the constructing an equation based on the alternating-current signal and the voltage of the first resistor, and obtaining an insulation resistance parallel value and a parasitic capacitance parallel value of a to-be-detected battery includes:
(96) constructing an equation (1) based on U.sub.s and U.sub.m1:
(97)
(98) constructing an equation (2) based on U.sub.s and U.sub.m2:
(99)
and
(100) obtaining the insulation resistance parallel value R.sub.b and the parasitic capacitance parallel value C.sub.b of the to-be-detected battery through calculation according to the equation (1) and the equation (2), where R.sub.r represents a resistance value of the first resistor.
(101) Optionally, the processor 11 is further specifically configured to:
(102) control to turn off the alternating-current signal source;
(103) close a first switch, obtain a voltage U.sub.n1 of a third resistor through detection, and construct an equation (3) based on a voltage U of the to-be-detected battery and the voltage U.sub.n1 of the third resistor:
(104)
(105) close the first switch and a second switch, obtain a voltage U.sub.n2 of the third resistor through detection, and construct an equation (4) based on the voltage U of the to-be-detected battery and the voltage U.sub.n1 of the third resistor:
(106)
and
(107) obtain the positive electrode insulation resistance R.sub.p and the negative electrode insulation resistance R.sub.n of the to-be-detected battery through calculation according to the equation (3), the equation (4), and an equation (5)
(108)
where
(109) R.sub.1 represents a resistance value of the second resistor, R.sub.2 represents a resistance value of the third resistor, R.sub.3 represents a resistance value of a fourth resistor, and R.sub.b represents the insulation resistance parallel value of the to-be-detected battery.
(110) Optionally, the processor 11 is further configured to:
(111) if both the positive electrode insulation resistance and the negative electrode insulation resistance are greater than the resistance threshold, determine that no insulation failure occurs on the to-be-detected battery; or
(112) if neither the positive electrode insulation resistance nor the negative electrode insulation resistance is greater than the resistance threshold, determine that an insulation failure occurs on the to-be-detected battery.
(113) The insulation resistance detection apparatus provided in this embodiment is configured to execute the technical solution of the foregoing detection method. An implementation principle and a technical solution of the insulation resistance detection apparatus are similar to those of the detection method. Details are not described herein again.
(114) An embodiment of this application further provides a device, including at least one processor, a memory, and a communications interface. The at least one processor, the memory, and the communications interface are connected to each other; the memory stores a computer-executable instruction; and the at least one processor executes the computer-executable instruction stored in the memory, so that the device exchanges data with an insulation resistance detection circuit of the device through the communications interface to perform the insulation resistance detection method provided in the foregoing various implementations.
(115) An embodiment of this application further provides a readable storage medium. The readable storage medium stores a computer-executable instruction. When at least one processor of a device executes the computer-executable instruction, the device performs the insulation resistance detection method provided in the foregoing various implementations.
(116) An embodiment of this application further provides a program product. The program product includes an executable instruction, and the executable instruction is stored in a readable storage medium. At least one processor of a device may read the executable instruction from the readable storage medium, and the at least one processor executes the executable instruction, so that the device implements the insulation resistance detection method provided in the foregoing various implementations.
(117) It should be understood that in the foregoing embodiments, the processor may be a central processing unit (CPU for short), or may be another general-purpose processor, a digital signal processor (DSP for short), an application-specific integrated circuit (ASIC for short), or the like. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, or the like. The steps of the method disclosed with reference to the embodiments of this application may be directly performed by a hardware processor, or may be performed by using a combination of hardware in the processor and a software module.