Method and device for obtaining internal side, external side insulation resistances of relay, and battery management system
11249123 · 2022-02-15
Assignee
Inventors
- Zhimin Dan (Ningde, CN)
- Yizhen Hou (Ningde, CN)
- Weiping Sun (Ningde, CN)
- Meng LI (Ningde, CN)
- Wei Zhang (Ningde, CN)
- Teng Yu (Ningde, CN)
Cpc classification
Y02T10/70
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H01M2010/4271
ELECTRICITY
Y02E60/10
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H01M10/425
ELECTRICITY
B60L3/12
PERFORMING OPERATIONS; TRANSPORTING
G01R27/205
PHYSICS
B60L3/0069
PERFORMING OPERATIONS; TRANSPORTING
International classification
G01R27/20
PHYSICS
B60L50/60
PERFORMING OPERATIONS; TRANSPORTING
G01R31/327
PHYSICS
H01M10/42
ELECTRICITY
B60L3/00
PERFORMING OPERATIONS; TRANSPORTING
B60L3/12
PERFORMING OPERATIONS; TRANSPORTING
Abstract
Provided is a method and device for obtaining internal side and external side insulation resistances of a relay. The method includes: controlling an insulation resistance obtaining circuit to output an AC signal; when both a main relay and a pre-charge relay are switched off, obtaining a first phase shift of the AC signal between two sampling points according to first collected electrical signals; obtaining an internal side insulation resistance of the main relay according to the first collected electrical signals and the first phase shift; controlling the pre-charge relay to be switched on; when the main relay is switched off and the pre-charge relay is switched on, obtaining a second phase shift of the AC signal between the two sampling points according to second collected electrical signals; and obtaining an external side insulation resistance of the main relay according to the second collected electrical signals and the second phase shift.
Claims
1. A method for obtaining internal side and external side insulation resistances of a relay, wherein the method is applied to a circuit comprising a battery pack, a main relay and a pre-charge circuit, the main relay comprises a main positive relay and a main negative relay, the pre-charge circuit comprises a pre-charge relay and a pre-charge resistor and is connected in parallel to both sides of the main positive relay, an insulation resistance obtaining circuit is connected between the battery pack and the main positive relay, wherein the insulation resistance obtaining circuit comprises two sampling points, wherein the method comprises: controlling the insulation resistance obtaining circuit to output a low-frequency AC signal; when both the main relay and the pre-charge relay are switched off, obtaining a first phase shift of the low-frequency AC signal between the two sampling points according to first collected electrical signals; obtaining an internal side insulation resistance of the main relay according to the first collected electrical signals and the first phase shift; controlling the pre-charge relay to be switched on; when the main relay is switched off and the pre-charge relay is switched on, obtaining a second phase shift of the low-frequency AC signal between the two sampling points according to second collected electrical signals; and obtaining an external side insulation resistance of the main relay according to the second collected electrical signals and the second phase shift.
2. The method according to claim 1, wherein the controlling the pre-charge relay to be switched on comprises: detecting whether the internal side insulation resistance of the main relay is greater than a first preset alarm threshold; when the internal side insulation resistance of the main relay is greater than the first preset alarm threshold, controlling the pre-charge relay to be switched on.
3. The method according to claim 1, wherein the low-frequency AC signal is a sinusoidal signal.
4. The method according to claim 2, wherein the method further comprises: detecting whether the external side insulation resistance of the main relay is greater than a second preset alarm threshold; when the external side insulation resistance of the main relay is greater than the second preset alarm threshold, ending the detecting.
5. The method according to claim 4, wherein the ending the detecting comprises: controlling the main negative relay to be switched on, so as to pre-charge a load; when the pre-charging of the load ends, controlling the pre-charge relay to be switched off; and controlling the main positive relay to be switched on.
6. A device for obtaining internal side and external side insulation resistances of a relay, comprising an insulation resistance obtaining circuit and a processor, wherein the insulation resistance obtaining circuit is configured to output an AC signal and collecting an electrical signal, wherein the insulation resistance obtaining circuit comprises two sampling points; wherein the processor is configured to: control the insulation resistance obtaining circuit to output the AC signal; when both the main relay and a pre-charge relay are switched off, obtain a first phase shift of the low-frequency AC signal between the two sampling points according to first collected electrical signals; obtain an internal side insulation resistance of the main relay according to the first collected electrical signals and the first phase shift; control the pre-charge relay to be switched on; when the main relay is switched off and the pre-charge relay is switched on, obtain a second phase shift of the low-frequency AC signal between the two sampling points according to second collected electrical signals; and obtain an external side insulation resistance of the main relay according to the second collected electrical signals and the second phase shift.
7. The device according to claim 6, wherein processor is configured to: detect whether the internal side insulation resistance of the main relay is greater than a first preset alarm threshold; and control the pre-charge relay to be switched on when the internal side insulation resistance of the main relay is greater than the first preset alarm threshold.
8. The device according to claim 6, wherein processor is configured to: control the insulation resistance obtaining circuit to output a low-frequency AC signal, wherein the low-frequency AC signal is a sinusoidal signal.
9. The device according to claim 7, wherein processor is further configured to: detect whether the external side insulation resistance of the main relay is greater than a second preset alarm threshold; and when the external side insulation resistance of the main relay is greater than the second preset alarm threshold, end detecting.
10. The device according to claim 9, wherein processor is configured to: control the main negative relay to be switched on, so as to pre-charge a load; when the pre-charging of the load ends, control the pre-charge relay to be switched off; and control the main positive relay to be switched on.
11. A battery management system (BMS) comprising the device for obtaining the internal side and external side insulation resistances of a relay according to claim 6.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1) In order to clearly elucidate the technical solutions of the embodiments in the present disclosure, the accompanying drawings will be briefly described below. It should be understood that the drawings described below only illustrate several embodiments of the present disclosure. On basis of these drawings, those skilled in the art are able to obtain other possible drawings without paying any inventive efforts.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
DESCRIPTION OF EMBODIMENTS
(13) In order to better understand the technical solutions of the present disclosure, the embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
(14) It should be noted that the embodiments described below are only exemplary embodiments of the present disclosure, rather than all of the embodiments. Any other embodiment obtained by those skilled in the art on the basis of the described embodiments without creative efforts shall fall into the protection scope of the present disclosure.
(15) Terms used in the embodiments of the present disclosure are merely for the purpose of describing particular embodiments, but not intended to limit the present disclosure. The singular forms “a,” “an,” and “the” used in the embodiments of the disclosure and the appended claims are also intended to include the plural forms thereof, unless the context clearly dictates otherwise.
(16) It should be understood that the expression “and/or” used herein merely describes an associating relationship of the related objects, revealing three relationships, i.e., only A, both A and B, and only B. In addition, the character “/” in the context generally means an “or” relationship of the related objects.
(17) It should be understood that the terms “first”, “second”, “third”, etc. used to describe thresholds and the like in embodiments of the present disclosure are merely aimed to distinguish the thresholds from each other, but not intended to limit the thresholds. For example, without departing from the scope of embodiments of the present disclosure, the first alarm threshold may also be referred to as a second alarm threshold, and similarly, the second alarm threshold may also be referred to as a first alarm threshold.
(18) Based on the context, the word “if” used herein may be interpreted as “when”, “in response to a determination” or “in response to detection.” Similarly, the phrase “if it is determined that . . . ” or “if it is detected that (the stated condition or event)” may be interpreted as “when it is determined that . . . ” or “in response to a determination” or “when (the stated condition or event) is detected” or “in response to the detection of (the stated condition or event)”.
(19) In order to solve the problem in the prior art that the external side insulation condition of a main relay cannot be obtained if the main relay is switched off, and to lower the accompanying safety risk, embodiments of the present disclosure provide the following solution: by using a method of inputting low-frequency AC signal, a low-frequency AC signal is input to the main positive relay from a side of the main positive relay close to the battery pack; then, an internal side insulation resistance of the main relay, i.e., the insulation resistance of the main relay at the side of the main positive relay close to the battery pack, is obtained when the main relay and a pre-charge relay are switched off; when it is determined that the internal side insulation resistance is normal, an external side insulation resistance value of the pre-charge relay, i.e., an insulation resistance of the pre-charge relay at a side of the pre-charge relay away from the battery pack, is obtained as an insulation resistance of the main relay by connecting the pre-charge relay.
(20) Under this concept, the present disclosure provided the following feasible embodiments.
(21) According to an embodiment of the present disclosure, a method for obtaining internal side and external side insulation resistance values of a relay can be applied to a circuit 100 shown in
(22) As shown in
(23) Specifically, as shown in
(24) S201, controlling the insulation resistance obtaining circuit to output a low-frequency AC signal.
(25) S202, when both the main relay and the pre-charge relay are switched off, obtaining an internal side insulation resistance of the main relay according to the low-frequency AC signal.
(26) When the main relay is switched off, it means that both the main positive relay and the main negative relay are switched off.
(27) This method can be applied to a test before power-on. At this moment, the main positive relay, the main negative relay and the pre-charge relay are all in a switch-off state. Therefore, the S201 and S202 steps can be performed one after the other directly after power-on.
(28) Alternatively, this method can be applied to a test after power-on. Considering that the relay may be in a switch-on state, it is also possible to control the main positive relay, the main negative relay and the pre-charge relay to be switched off firstly before step S202 is performed, and then to perform step S202.
(29) S203, when the internal side insulation resistance of the main relay is normal, controlling the pre-charge relay to be switched on.
(30) S204, when the main relay is switched off and the pre-charge relay is switched on, obtaining the external side insulation resistance value of the main relay according to the low-frequency AC signal.
(31) The method shown in
(32) In an embodiment, the controller can control the main positive relay, the main negative relay and the pre-charge relay to be switched off or switched on, and can also achieve the control of the insulation resistance obtaining circuit outputting the low-frequency AC signal and collecting an electrical signal.
(33) In another embodiment, the controller may be a microcontroller unit (MCU) or a control component in a battery management system (BMS), or may be a control component in other devices or apparatuses, which is not specifically limited in the embodiments of the present disclosure.
(34) In an embodiment, before performing S203, it is also necessary to determine whether the obtained internal side insulation resistance of the main relay is normal or not. In this case, the following steps are also included:
(35) detecting whether the internal side insulation resistance of the main relay is normal or not;
(36) if it is detected that the internal side insulation resistance of the main relay is normal, performing the step of controlling the pre-charge relay to be switched on and the subsequent steps;
(37) if it is detected that the internal side insulation resistance of the main relay is abnormal, performing an alarm operation.
(38) The alarm operation can be performed in manners including: at least one of outputting an alarm signal or outputting an alarm information. The alarm signal may include but not limited to an audio signal, a flicker signal, a vibration signal, and the like.
(39) An embodiment of the present disclosure provides an feasible way to detect whether the internal side insulation resistance of the main relay is normal or not, including: detecting whether the internal side insulation resistance of the main relay is greater than a first preset alarm threshold; if the internal side insulation resistance of the main relay is greater than the first preset alarm threshold, determining that the internal side insulation resistance of the main relay is normal; and if the internal side insulation resistance of the main relay is less than or equal to the first preset alarm threshold, determining that the internal side insulation resistance of the main relay is abnormal.
(40) In another embodiment, after step S204 is performed, it is also necessary to determine whether the obtained external side insulation resistance of the main relay is normal or not. In this case, the following steps are also included:
(41) detecting whether the external side insulation resistance of the main relay is normal or not;
(42) if it is detected that the external side insulation resistance of the main relay is normal, ending the detecting; and
(43) if it is detected that the external side insulation resistance of the main relay is abnormal, performing the alarm operation.
(44) An embodiment of the present disclosure provides an feasible way to detect whether the external side insulation resistance of the main relay is normal, including:
(45) detecting whether the external side insulation resistance of the main relay is greater than a second preset alarm threshold;
(46) if the external side insulation resistance of the main relay is greater than the second preset alarm threshold, determining that the external side insulation resistance of the main relay is normal; and
(47) if the external side insulation resistance of the main relay is less than or equal to the second preset alarm threshold, determining that the external side insulation resistance of the main relay is abnormal.
(48) In an embodiment, the first preset alarm threshold and the second present alarm threshold can be preset according to needs, and the first present alarm threshold and the second preset alarm threshold may be identical or not identical.
(49) The step of ending the detection may include the following steps: controlling the main negative relay to be switched on, so that the load is pre-charged; when the pre-charge process ends, controlling the pre-charge relay to be switched off; and controlling the main positive relay to be switched on.
(50) The principle of obtaining the insulation resistance according to the low-frequency AC signal in steps S202 and S204 are described below.
(51) In the embodiments of the present disclosure, the insulation resistance obtaining circuit includes two sampling points. Therefore, the internal side and external side insulation resistances of the main relay can be obtained by collecting electrical signals at the two sampling points when the low-frequency AC signal passes through the two sampling points.
(52) For ease of understanding, the present disclosure provides a specific embodiment of an insulation resistance obtaining circuit 150. Referring to
(53) The signal synthesizer 151 may be a direct digital synthesizer (DDS) for outputting a low-frequency signal. In a specific embodiment, the processor controls when the signal synthesizer 151 outputs a low-frequency signal.
(54) In a specific embodiment, the structure of the first sampling component 154 is shown in
(55) The first filter resistor 1541 and the first filter capacitor 1542 together form a filter circuit for filtering the collected electrical signals, so as to improve the sampling accuracy to a certain extent and further improve accuracy of an obtained insulation impedance of an AC motor.
(56) During collecting of the electrical signal by the first sampling component 154, the first filter resistor 1541 and the first filter capacitor 1542 in the first sampling component 154 form a first-order RC filter circuit. Compared with a situation in which the first-order RC filter circuit is not incorporated, the first sampling component 154 as shown in
(57) In another embodiment, the structure of the second sampling component 155 is shown in
(58) To sum up, based on
U1=U*sin(wt)+M
U2=u*sin(wt+θ)+M
(59) wherein U1 is an electrical signal collected by the first terminal of the sampling resistor 153, i.e., a sinusoidal signal generated by the signal synthesizer 151, U is an amplitude of the sinusoidal signal U1 generated by the signal synthesizer 151, w is an angular frequency of a sinusoid of the respective sinusoidal signal, and M is a bias voltage of the sinusoid; and U2 is an electrical signal collected by the second terminal of the sampling resistor 153, θ is a phase shift of U2 relative to U1, and u is an amplitude of U2.
(60) Since U2 and U1 are sinusoidal signals with the same frequency, the angular frequencies of U2 and U1 are the same.
(61) Based on this, during obtaining of the internal side and external side insulation resistances of the main relay, the phase shift and the amplitude of the low-frequency AC signal between the two sampling points can be determined according to the collected electric signal. Therefore, based on the Kirchhoff s law, the parallel resistance of impedances to ground in the current connection manner can be obtained as the insulation resistance of the relay.
(62) Based on the insulation resistance obtaining circuit 150 as shown in
(63) A first situation: when the pre-charge relay is switched off,
(64) As shown in
(65) R.sub.np is a parallel resistance of an equivalent impedance R.sub.P of the positive electrode of the battery pack to the ground and an equivalent impedance R.sub.N of the negative electrode of the battery pack to the ground. C.sub.np is a parallel capacitance of an equivalent capacitance C.sub.P of the positive electrode of the battery pack to the ground and an equivalent capacitance C.sub.N of the negative electrode of the battery pack to the ground.
(66) Due to the characteristics of the parallel connection, the internal side parallel equivalent impedance R.sub.np is smaller than the impedance R.sub.P of the positive electrode to the ground and is smaller than the equivalent impedance R.sub.N of the negative electrode of the battery pack to the ground. Therefore, the internal side parallel equivalent impedance R.sub.np can be obtained as the internal side insulation resistance of the main positive relay to determine the insulation situation at the side of the main positive relay close to the battery pack.
(67) In this case, referring to
(68) S2031: when both the main relay and the pre-charge relay are switched off, collecting electrical signals at the two sampling points by the insulation resistance obtaining circuit.
(69) S2032: obtaining a first phase shift of the low-frequency AC signal between the two sampling points according to the collected electrical signals.
(70) S2033: obtaining the internal side insulation resistance of the main relay according to the collected electrical signals and the first phase shift.
(71) Specifically, the internal side insulation resistance R.sub.np of the main relay, i.e., insulation resistance of the main relay at a side of the main relay close to the battery pack, can be expressed as the following formula:
(72)
(73) wherein R.sub.np is the internal side insulation resistance of the main relay, U1 is an electrical signal collected by the first terminal of the sampling resistor 153, i.e., the sinusoidal signal generated by the signal synthesizer 151, U is the amplitude of the sinusoidal signal U1 generated by the signal synthesizer 151, w is an angular frequency of a sinusoid of the sinusoidal signal U1, and M is a bias voltage of the sinusoid, U2 is an electrical signal collected by the second terminal of the sampling resistor 153, θ is a phase shift of U2 relative to U1, and u is an amplitude of U2.
(74) It should be noted that, the U1 and U2 in the present case are collected when the main positive relay, the main negative relay and the pre-charge relay are all switched off.
(75) A second situation: when the pre-charge relay is switched on,
(76) As shown in
(77) Since the load equivalent capacitance C.sub.X is quite great with respect to the relay external side positive equivalent resistance R.sub.n1 and the relay external side positive equivalent capacitance C.sub.n1,
(78) As shown in
(79) In this case, the circuit 100 shown in
(80) In this case, referring to
(81) S2051: when the main relay is switched off and the pre-charge relay is switched on, collecting electrical signals at the two sampling points by the insulation resistance obtaining circuit;
(82) S2052: obtaining a second phase shift of the low-frequency AC signal between the two sampling points according to the collected electrical signals;
(83) S2053: obtaining the external side insulation resistance of the main relay according to the collected electrical signals and the second phase shift.
(84) When the low-frequency AC signal is still in a sinusoid form, the external side insulation resistance R.sub.np of the main relay can be expressed as follows:
(85)
(86) wherein R.sub.np1 is the external side insulation resistance of the main relay, U1 is an electrical signal collected by the first terminal of the sampling resistor 153, i.e., a sinusoidal signal generated by the signal synthesizer 151, U is an amplitude of the sinusoidal signal U1 generated by the signal synthesizer 151, w is an angular frequency of a sinusoid of the sinusoidal signal U1, and M is the bias voltage of the sinusoid; and U2 is an electrical signal collected by the second terminal of the sampling resistor 153, θ is a phase shift of U2 relative to U1, and u is an amplitude of U2.
(87) It should be noted that, the U1 and U2 in the present case are collected when the main positive relay and the main negative relay are switched off and the pre-charge relay is switched on.
(88) The technical solutions in the above embodiments of the present disclosure have the following beneficial effects:
(89) In the embodiments of the present disclosure, with respect to the circuit formed by the battery pack, the main relay and the pre-charge circuit, a low-frequency AC signal can be output by the insulation resistance obtaining circuit connected between the battery pack and the main positive relay, so as to obtain the internal side insulation resistance of the main relay when the main relay and the pre-charging relay are switched off; and when the internal side insulation resistance of the main relay is determined to be normal, the pre-charge relay is controlled to be switched on, and then the low-frequency AC signal is input into the pre-charge circuit, so as to obtain the external side insulation resistance of the pre-charge relay (equivalent to obtaining of the external side insulation resistance of the main relay) based on the low-frequency AC signal. In this process, the switched-off main relay excludes the security risk caused by the switch-on of the main relay when an insulation fault occurs to the side of the main relay away from the battery pack. Therefore, the technical solution provided by the embodiment of the present disclosure can obtain the external side and internal side insulation conditions of the main relay, so as to solve the problem in the prior art that the insulation condition at the side of the main relay away from the battery pack cannot be obtained when the main relay is switched off while avoiding the accompanying security risk.
(90) Based on the methods for obtaining the internal side and external side resistances of the relay provided in the above embodiments, an embodiment of the present disclosure further provides a device for performing the steps and the methods mentioned in the above embodiment.
(91) Firstly, the embodiment of the present disclosure provides a device for obtaining internal side and external side insulation resistances of a relay. Referring to
(92) In addition, an embodiment of the present disclosure further provides a processor. Referring to
(93) In addition, an embodiment of the present disclosure also provides a battery management system. Referring to
(94) At last, an embodiment of the present disclosure provides a computer-readable storage medium, including: computer-executable instructions. The computer-executable instructions are executed to implement the method for obtaining the internals side and external side insulation resistances of the relay according to any one of the above-described embodiments.
(95) Since the units in the embodiment can perform the methods described in the above embodiments, the related description in the above method embodiments can be referred for the part that is not described in detail herein.
(96) The technical solutions in the device embodiments of the present disclosure have the following beneficial effects:
(97) In the embodiments of the present disclosure, with respect to the circuit formed by the battery pack, the main relay and the pre-charge circuit, a low-frequency AC signal can be output by the insulation resistance obtaining circuit connected between the battery pack and the main positive relay, so as to obtain the internal side insulation resistance of the main relay when the main relay and the pre-charging relay are switched off; and when the internal side insulation resistance of the main relay is determined to be normal, the pre-charge relay is controlled to be switched on, and then the low-frequency AC signal is input into the pre-charge circuit, so as to obtain the external side insulation resistance of the pre-charge relay (i.e. equivalent to obtaining of the external side insulation resistance of the main relay) based on the low-frequency AC signal. In this process, the switched-off main relay excludes the security risk caused by the switch-on of the main relay when an insulation fault occurs to the side of the main relay away from the battery pack. Therefore, the technical solution provided by the embodiments of the present disclosure can obtain the internal side and external side insulation conditions of the main relay, so as to solve the problem in the prior art that the insulation condition at the side of the main relay away from the battery pack cannot be obtained when the main relay is switched off while avoiding the accompanying security risk.
(98) Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the above-mentioned system, device, and units can be known by referring to the corresponding steps in the described embodiments of the methods, which are not described in detail herein.
(99) It should be understood that, the system, device, and method disclosed in the embodiments provided by the present disclosure may be embodied in other manners. For example, the embodiments of the device described above are merely exemplary. For example, the units are merely divided according to logical function and may be divided in other manners in practical implementations. For example, multiple units or components may be combined or integrated into another system, or some of the features can be omitted or not embodied. In addition, mutual coupling, direct coupling or communication connection shown or discussed above may be indirect coupling or communication connection through interfaces, devices or units, and may be electrical, mechanical or in other forms.
(100) The units described as separate components may be or may not be physically separated. The components described as units may be or may not be physical units, that is, may be located in one place or may also be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objects of the solution in the embodiment.
(101) In addition, the functional units in the embodiments of the present disclosure may be integrated in one processing unit, or may be separately and physically present, or two or more units may be integrated in one unit. The above-mentioned integrated unit can be embodied in a form of hardware or in a form of hardware-software functional unit.
(102) The integrated units embodied in the form of software function unit may be stored in a computer-readable storage medium. The software function unit is stored in a storage medium and includes several instructions for causing a computer device (for example, a personal computer, a server, a network device, or the like) or a processor to execute some steps of the method according to each embodiment of the present disclosure. The above-mentioned storage medium includes various media capable of storing program code, such as USB flash disk, mobile hard disk, Read-Only Memory (ROM), Random Access Memory (RAM), magnetic disk, compact disc, and the like.
(103) The foregoing merely describes preferable embodiments of the present disclosure, but is not intended to limit the present disclosure. Any modification, equivalent substitution, improvement, and the like made within the principles of the present disclosure should be included in the protection scope of the present disclosure.