Insulation resistance detection circuit, method, device and storage medium thereof
By designing the insulation resistance detection circuit in the high-voltage power supply system, and using the state control unit and voltage dividing branch to detect the characteristic value of the capacitor voltage, the problem of untimely detection of insulation resistance in the existing technology is solved, and the safety monitoring of the high-voltage power supply system is realized. and quick troubleshooting.
Patent Information
- Application Number
- CN202080056880.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-29
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-06-29
AI Technical Summary
Existing insulation resistance detection methods cannot detect insulation resistance faults in high-voltage power supply systems in a timely manner, which affects the safe operation of the system and may even cause electric shock to personnel.
An insulation resistance detection circuit is designed, including a state control unit, a voltage dividing branch and a processor. By switching the charge and discharge state of the capacitor between the positive and negative poles of the power supply of the device to be detected, the characteristic value of the capacitor voltage is calculated to detect the insulation resistance. changes and quickly take protective measures in case of failure.
It realizes the timely detection and fault handling of the insulation resistance in the high-voltage power supply system, ensures the safe operation of the system, and avoids electric shock accidents caused by insulation resistance failure.
Smart Images

Figure CN114270198B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electric vehicles, and in particular to an insulation resistance detection circuit, method, device and storage medium thereof. Background Art
[0002] Compared with traditional cars, the power supply voltage of electric vehicles' high-voltage power supply systems is often hundreds of volts (V). With the rapid development of the automobile industry and the large-scale application of electric vehicles (battery electric vehicles, BEVs), the insulation resistance detection of high-voltage power supply systems plays an irreplaceable role in automobile safety and maintenance.
[0003] In a high-voltage power supply system, the voltage between the positive pole and the negative pole of the power supply is the highest. Once the insulation resistance between the positive pole of the power supply and the ground or the insulation resistance between the negative pole of the power supply and the ground fails, a large leakage problem will occur, and leakage will occur at the insulation resistance failure point. In severe cases, people will be electrocuted. Therefore, the detection of whether the insulation resistance of the high-voltage power supply system fails is mainly to detect the insulation resistance between the positive pole of the power supply and the ground and the insulation resistance between the negative pole of the power supply and the ground in the high-voltage power supply system. When it is determined that the resistance of any of the two insulation resistances is less than the insulation resistance requirement of the high-voltage power supply system, it is necessary to disconnect the power supply in the high-voltage power supply system from the load to ensure the safe operation of the high-voltage power supply system.
[0004] In practical applications, there are two main ways to detect insulation resistance, one is the AC signal injection method, and the other is the external resistance method. The AC signal injection method refers to injecting an AC signal of a certain frequency between the positive and negative poles of the power supply of the high-voltage power supply system, and obtaining the insulation resistance value of the high-voltage power supply system by measuring the feedback of the high-voltage power supply system. However, when this detection method is applied, the injected AC signal is likely to interfere with the high-voltage power supply system and affect the normal operation of the system. The external resistance method is to connect a switch and a series of resistors between the positive and negative poles of the power supply of the high-voltage power supply system, and obtain the voltage value of the insulation resistance when the switch is in different states by controlling the on and off of the switch. By listing the insulation resistance voltage change equation, the two equations are solved together to obtain the insulation resistance value of the positive pole of the power supply to the ground and the negative pole to the ground in the high-voltage power supply system, and the insulation resistance value of the positive pole and the negative pole of the power supply to the ground is determined.
[0005] In actual use, when the external resistance method is used to calculate the insulation resistance value of the positive and negative poles of the power supply to the ground, the switch is opened or closed at a fixed period. When the insulation resistance between the positive and negative poles of the power supply and the ground fails, the insulation resistance is still detected at a fixed period, which will cause the high-voltage power supply system to be unable to timely detect the insulation resistance failure. Therefore, when the insulation resistance failure cannot meet the insulation requirements of the high-voltage power supply system, the above-mentioned detection method cannot timely issue a fault alarm or handle it, affecting the safe operation of the high-voltage power supply system, and even causing electric shock to personnel in severe cases.
[0006] Therefore, the existing insulation resistance detection method cannot detect insulation resistance failure in time, affecting the safe operation of the high-voltage power supply system. Summary of the invention
[0007] The present application provides an insulation resistance detection circuit, method, device and storage medium thereof, which are used to quickly detect whether an insulation resistance fault occurs and ensure the safe operation of a high-voltage power supply system.
[0008] In a first aspect, the present application provides an insulation resistance detection circuit, which can be connected to a device to be detected, and is used to detect the insulation resistance between the positive and negative poles of the power supply of the device to be detected, and to determine whether insulation failure occurs in the device to be detected. Specifically, the insulation resistance detection circuit may include: a state control unit, a first voltage divider branch, a second voltage divider branch and a processor.
[0009] The state control unit is connected between the positive and negative poles of the power supply of the device to be detected, and the processor is connected to the state control unit, the first voltage dividing branch and the second voltage dividing branch respectively.
[0010] Wherein, the state control unit is used to switch between the first state or the second state under the control of the processor. When the state control unit is in the first state, the first capacitor is charged and the second capacitor is discharged. When the state control unit is in the second state, the first capacitor is discharged and the second capacitor is charged. The first capacitor is a capacitor between the positive pole of the power supply and the ground, and the second capacitor is a capacitor between the negative pole of the power supply and the ground. The first voltage dividing branch is used to be connected in parallel with the first capacitor, and is used to divide the voltage across the first capacitor to obtain a first voltage waveform. The second voltage dividing branch is used to be connected in parallel with the second capacitor, and is used to divide the voltage across the second capacitor to obtain a second voltage waveform. The processor is used to: calculate the first capacitor voltage characteristic value at different times within the set time length before the current moment according to the first voltage waveform obtained at the current moment; and calculate the second capacitor voltage characteristic value at different times within the set time length before the current moment according to the second voltage waveform obtained at the current moment; and determine the next switching moment of the state control unit according to the first capacitor voltage characteristic value at different times and / or the second capacitor voltage characteristic value at different times, and control the state control unit to switch the state when the next switching moment is reached.
[0011] By adopting the above circuit structure, the control state control unit switches between the first state and the second state to realize the control of charging and discharging of the first capacitor and the second capacitor. During the charging process of the first capacitor and the second capacitor, if the insulation resistance between the positive and negative electrodes of the power supply does not change, the first voltage waveform and the second voltage waveform change according to a prescribed rule. If the insulation resistance between the positive and negative electrodes of the power supply changes, the change rule of the first voltage waveform and the second voltage waveform changes. Therefore, by calculating the first capacitor voltage characteristic value at different times and / or the second capacitor voltage characteristic value at different times, it is possible to timely detect whether the insulation resistance has changed, and when it is determined that the insulation resistance has changed, the switching time is changed, so as to obtain the insulation resistance corresponding waveform at the current time as soon as possible to calculate the insulation resistance value, so as to quickly protect the detection device when the insulation resistance value does not meet the requirements.
[0012] In one possible design, the processor is also used to: determine the resistance value of the first resistor and the resistance value of the second resistor based on the first voltage waveform and the second voltage waveform obtained in the first state and the second state after reaching the next switching moment; the first resistor is the insulation resistance between the positive pole of the power supply and the ground, and the second resistor is the insulation resistance between the negative pole of the power supply and the ground, and the first resistor and the resistance value and the resistance value of the second resistor are used to determine whether an insulation resistance failure occurs.
[0013] By adopting the above circuit structure, the first voltage resistance and the second resistance value can be calculated based on the first voltage waveform and the second voltage waveform corresponding to the current insulation resistance when the state switching unit is in the first state and the second state when the next switching moment arrives, and the resistance value of the first resistor and the resistance value of the second resistor can be used to accurately determine whether insulation failure occurs in the device to be detected.
[0014] In a possible design, the first switch unit may include: the state control unit includes: a first switch unit and a second switch unit.
[0015] The first end of the first switch unit is connected to the positive electrode of the power supply, and the second end of the first switch unit is connected to the ground. The second end of the second switch unit is connected to the negative electrode of the power supply, and the second end of the second switch unit is connected to the ground. When the first switch unit is closed and the second switch unit is disconnected, the state control unit is in the first state; when the first switch unit is disconnected and the second switch unit is closed, the state control unit is in the second state.
[0016] By adopting the above circuit structure, the charging or discharging of the first capacitor and the second capacitor can be controlled respectively by controlling the working states of the first switch unit and the second switch unit, thereby realizing accurate control of the state control unit switching between the first state and the second state.
[0017] In a possible design, the first switch unit includes: a first switch and a third resistor.
[0018] The first end of the third resistor is connected to the positive electrode of the power supply, the second end of the third resistor is connected to the first end of the first switch, the second end of the first switch is connected to the ground, and the control end of the first switch is connected to the processor.
[0019] By adopting the above circuit structure, the charging and discharging timing of the first capacitor can be controlled by controlling the working state of the first switch, and the third resistor is used for current limiting, thereby preventing the first switch from short-circuiting the positive electrode of the power supply to the ground.
[0020] In a possible design, the second switch unit includes: a second switch and a fourth resistor.
[0021] The first end of the second switch is connected to the ground, the second end of the second switch is connected to the first end of the fourth resistor, the control end of the second switch is connected to the processor, and the second end of the fourth resistor is connected to the negative electrode of the power supply.
[0022] With the above circuit structure, the charging and discharging timing of the second capacitor can be controlled by controlling the working state of the second switch, and the fourth resistor is used for current limiting, thereby preventing the second switch from short-circuiting the negative electrode of the power supply to the ground.
[0023] In a possible design, the first voltage dividing branch may include: a fifth resistor and a sixth resistor.
[0024] Specifically, one end of the fifth resistor is connected to the positive electrode of the power supply, and the second end of the fifth resistor is connected to the first end of the sixth resistor and the processor respectively. The second end of the sixth resistor is connected to the ground and the processor.
[0025] By adopting the above circuit structure, since the voltage between the positive pole of the power supply of the device to be detected and the ground is relatively high, in order to ensure the accuracy and cost of the detection, two resistors can be set on the first voltage divider branch, and the first voltage across the resistor with a smaller resistance is obtained for detection. This can achieve accurate detection when the first voltage fluctuates, thereby ensuring the accuracy of the detection.
[0026] In a possible design, the second voltage-dividing branch may include: a seventh resistor and an eighth resistor.
[0027] Specifically, the first end of the seventh resistor is connected to the ground and the processor, the second end of the seventh resistor is connected to the first end of the eighth resistor and the processor respectively, and the second end of the eighth resistor is connected to the negative electrode of the power supply.
[0028] By adopting the above circuit structure, since the voltage between the negative pole of the power supply of the device to be detected and the ground is relatively high, in order to ensure the accuracy and cost of the detection, two resistors can be set on the second voltage divider branch, and the second voltage across the resistor with a smaller resistance is obtained for detection. This can achieve accurate detection when the second voltage fluctuates, thereby ensuring the accuracy of the detection.
[0029] In one possible design, the insulation resistance detection circuit provided in the embodiment of the present application also includes: a ninth resistor and a third switch.
[0030] The first end of the ninth resistor is connected to the positive electrode of the power supply and the processor respectively, the second end of the ninth resistor is connected to the first end of the third switch and the processor respectively, and the resistance of the ninth resistor is less than a preset threshold value. The second end of the third switch is connected to the ground, and the control end of the third switch is connected to the processor.
[0031] Specifically, the processor is also used to: control the closing and opening of the third switch; calculate the parallel resistance of the first resistor and the second resistor based on the first voltage waveform obtained by the first voltage dividing branch, the second voltage waveform obtained by the second voltage dividing branch, and the voltage waveform across the ninth resistor when the third switch is closed within a period of time after reaching the next switching moment, and the parallel resistance is used to determine whether an insulation resistance fault occurs.
[0032] With the above circuit structure, since the first resistor and the second resistor are connected in series between the positive electrode and the negative electrode of the power supply of the device to be detected, when any one of the first resistor and the second resistor fails, it will affect the safe operation of the device to be detected. Therefore, by detecting the parallel resistance of the first resistor and the second resistor, it can be determined whether the device to be detected has insulation failure. Since there is no need to calculate the resistance value of the first resistor and the resistance value of the second resistor, the calculation amount of the processor is reduced.
[0033] In a second aspect, an embodiment of the present application provides a monitoring device for a high voltage system, which can be connected to a high voltage system to monitor the working state of the high voltage system. Specifically, the monitoring device may include: a switch module, an alarm module, a communication module, and an insulation resistance detection circuit provided in the first aspect of the embodiment of the present application.
[0034] Wherein, the insulation resistance detection circuit is connected to the communication module, and the communication module is connected to the alarm module.
[0035] The switch module is used to connect between the power supply and the load of the high voltage system. The insulation resistance detection circuit is used to detect the resistance value of the first resistor between the positive pole of the power supply and the ground and the resistance value of the second resistor between the negative pole of the power supply and the ground, and send the resistance value of the first resistor and the resistance value of the second resistor to the communication module. The communication module is used to notify the alarm module to alarm when it is determined that the resistance value of the first resistor or the resistance value of the second resistor is less than the first preset resistance threshold; and when the resistance value of the first resistor or the resistance value of the second resistor is less than the second preset resistance threshold, control the switch module to disconnect.
[0036] By adopting the above device structure, it is possible to timely detect whether the insulation resistance of the high-voltage system has changed, and when it is determined that the insulation resistance has changed, an alarm is issued through the alarm module to prompt the staff to replace the first resistor and the second resistor to ensure the safe operation of the high-voltage system.
[0037] In a third aspect, an embodiment of the present application provides an insulation resistance detection method, the execution subject of the method may be a processor in the insulation resistance circuit provided in the first aspect of the present embodiment or other processors in communication with the device to be detected, the method specifically comprising the following steps: obtaining a first voltage waveform corresponding to a first capacitor and a second voltage waveform corresponding to a second capacitor, the first capacitor being a capacitor between the positive pole of a power supply of the device to be detected and the ground, and the second capacitor being a capacitor between the negative pole of the power supply and the ground; controlling the first capacitor and the second capacitor to switch between a first state or a second state, the first state being that the first capacitor is charged and the second capacitor is discharged, and the second state being that the first capacitor is discharged and the second capacitor is charged; calculating, based on the first voltage waveform obtained at the current moment, the voltage characteristic values of the first capacitor at different moments within a set time length before the current moment; and calculating, based on the second voltage waveform obtained at the current moment, the voltage characteristic values of the second capacitor at different moments within a set time length before the current moment; determining the next switching moment based on the voltage characteristic values of the first capacitor at different moments and / or the voltage characteristic values of the second capacitor at different moments; and controlling the first capacitor and the second capacitor to switch states when the next switching moment is reached.
[0038] By adopting the above method, the first capacitor voltage characteristic value at different times and the second capacitor voltage characteristic value at different times can be used to determine whether the resistance value of the insulation resistance of the device to be detected has changed, and the state switching time of the first capacitor and the second capacitor can be adjusted. Since it is necessary to obtain the first voltage waveform and the second voltage waveform corresponding to the insulation resistance when calculating the resistance value of the insulation resistance of the device to be detected, the above method can be used to obtain the voltage waveform corresponding to the resistance value of the insulation resistance as soon as possible when the resistance value of the insulation resistance changes, thereby ensuring that when the resistance value of the insulation resistance changes, it is detected as soon as possible whether the resistance value of the current insulation resistance meets the insulation requirement of the device to be detected, thereby determining whether insulation failure occurs in the device to be detected.
[0039] In a possible design, after controlling the first capacitor and the second capacitor to switch states when the next switching moment is reached, the method further includes:
[0040] Continue to acquire the first voltage waveform and the second voltage waveform;
[0041] Based on the first voltage waveform and the second voltage waveform that are continuously acquired, the resistance value of the first resistor and the resistance value of the second resistor are determined, the first resistor is the insulation resistance between the positive pole of the power supply and the ground, and the second resistor is the insulation resistance between the negative pole of the power supply and the ground. The resistance value of the first resistor and the resistance value of the second resistor are used to determine whether an insulation resistance failure occurs.
[0042] By using the above method, after switching the first capacitor and the second state at the next switching moment, the first voltage waveform and the second voltage waveform corresponding to the resistance value of the first resistor and the resistance value of the second resistor at the current moment are obtained, and the resistance value of the first resistor and the resistance value of the second resistor can be accurately calculated using the voltage waveform.
[0043] In a possible design, determining the next switching time of the first capacitor and the second capacitor according to the first capacitor voltage characteristic value at different times and / or the second capacitor voltage characteristic value at different times includes:
[0044] Compare any two adjacent voltage characteristic values of the first capacitor voltage characteristic values at different moments, and / or compare any two adjacent voltage characteristic values of the second capacitor voltage characteristic values at different moments; when it is determined that the difference between any two adjacent voltage characteristic values is greater than a preset error threshold, determine the current moment as the next switching moment; and when it is determined that any two adjacent voltage characteristic values are less than or equal to the preset error threshold, determine the time constant of the first capacitor and / or the time constant of the second capacitor, and determine the next switching moment based on the time constant of the first capacitor and / or the time constant of the second capacitor.
[0045] With the above method, since the first capacitor and the second capacitor are charged and discharged respectively through the first resistor and the second resistor, when the resistance value of the first resistor and the resistance value of the second resistor do not change, the first voltage waveform and the second voltage waveform change according to a fixed rule, and two adjacent characteristic values of the calculated first capacitor voltage characteristic values at different moments are equal or similar, and / or two adjacent characteristic values of the second capacitor voltage characteristic values at different moments are equal or similar; when the difference between the difference between two adjacent voltage characteristic values of the first capacitor voltage characteristic values at different moments is detected to be greater than a preset error threshold, and / or the difference between the difference between two adjacent voltage characteristic values of the second capacitor voltage characteristic values at different moments is greater than a preset error threshold, it can be determined that the resistance value of the first resistor and / or the resistance value of the second resistor at the current moment has changed, and the states of the first capacitor and the second capacitor are switched immediately, so as to obtain the voltage waveform corresponding to the change in the resistance value of the first resistor and / or the resistance value of the second resistor after the next switching moment as soon as possible.
[0046] In a possible design, determining the resistance values of the first resistor and the second resistor according to the first voltage waveform and the second voltage waveform that are continuously acquired includes:
[0047] When it is determined that any two adjacent voltage characteristic values are less than or equal to a preset error threshold, the first voltage value and the second voltage value corresponding to the first voltage waveform and the second voltage waveform of the first capacitor and the second capacitor at each switching moment are recorded; and when it is determined that the difference between any two adjacent voltage characteristic values is greater than the preset error threshold, the first voltage value and the second voltage value recorded before the current moment are deleted, and the first voltage value and the second voltage value corresponding to the first voltage waveform and the second voltage waveform of the first capacitor and the second capacitor at each subsequent switching moment are re-recorded; the resistance value of the first resistor and the resistance value of the second resistor are determined using the recorded first voltage value and the second voltage value.
[0048] Using the above method, since the discharge process of the first capacitor connected to the first resistor and the second capacitor connected to the second resistor or the voltages at both ends during the discharge process satisfy the commonly used relationship between capacitor charging and discharging, the resistance value of the first resistor and the second resistor can be accurately calculated by recording the first voltage value and the second voltage value at the switching moment and using the recorded first voltage value and the second voltage value.
[0049] In a possible design, the insulation resistance detection method provided in the embodiment of the present application further includes:
[0050] When it is determined that the resistance value of the first resistor or the resistance value of the second resistor is less than the first preset insulation threshold, a shutdown instruction is sent to the device to be detected, where the shutdown instruction is used to instruct the device to be detected to disconnect the power supply from the load.
[0051] By adopting the above method, it is possible to detect whether the resistance value of the first resistor and the resistance value of the second resistor meet the insulation requirements of the device to be detected. When the resistance value of either the first resistor or the second resistor does not meet the insulation requirements, the connection between the power supply and the load of the device to be detected is disconnected, thereby ensuring that electric shock is avoided.
[0052] In a possible design, after continuing to acquire the first voltage waveform and the second voltage waveform, the insulation resistance detection method provided in the embodiment of the present application further includes:
[0053] Determining the parallel resistance of the first resistor and the second resistor according to the first voltage waveform and the second voltage waveform that are continuously acquired;
[0054] When it is determined that the parallel resistance is less than the second preset insulation threshold, a shutdown instruction is sent to the device to be detected, where the shutdown instruction is used to instruct the device to be detected to disconnect the power supply from the load.
[0055] By adopting the above method, the first resistor is connected in parallel with the first capacitor, the second resistor is connected in parallel with the second capacitor, and they are connected in series between the positive and negative electrodes of the power supply of the device to be detected. Since the voltage between the positive electrode and the ground and the voltage between the negative electrode and the ground of the power supply of the device to be detected are relatively high, when any of the first resistor and the second resistor fails, the safe operation of the device to be detected will be affected. Therefore, it is not necessary to calculate the accurate resistance values of the first resistor and the second resistor, and it is also possible to determine whether the device to be detected has an insulation fault by calculating the parallel resistance value of the first resistor and the second resistor.
[0056] In one possible design, the first capacitor voltage characteristic value includes one or more of the following: a time constant of the first capacitor and a voltage waveform state of the first capacitor; the second capacitor voltage characteristic value includes one or more of the following: a time constant of the second capacitor and a voltage waveform state of the second capacitor; the waveform state of the first capacitor characterizes the fluctuation trend of the voltage across the first capacitor, and the waveform state of the second capacitor characterizes the waveform trend of the voltage across the second capacitor.
[0057] In a fourth aspect, an embodiment of the present application provides an insulation resistance detection device, which includes: an acquisition unit, a processing unit, and a calculation module.
[0058] Wherein, the acquisition unit can be used to acquire a first voltage waveform corresponding to a first capacitor and a second voltage waveform corresponding to a second capacitor, wherein the first capacitor is a capacitor between the positive electrode of a power supply and the ground in the device to be detected, and the second capacitor is a capacitor between the negative electrode of the power supply and the ground. The processing unit can be used to control the first capacitor and the second capacitor to switch between a first state or a second state, wherein the first state is that the first capacitor is charged and the second capacitor is discharged, and the second state is that the first capacitor is discharged and the second capacitor is charged. The calculation unit is used to calculate the first capacitor voltage characteristic value at different times within a set time length before the current moment according to the first voltage waveform acquired at the current moment; and calculate the second capacitor voltage characteristic value at different times within a set time length before the current moment according to the second voltage waveform acquired at the current moment. The processing unit is also used to determine the next switching moment according to the first capacitor voltage characteristic value at different times and / or the second capacitor voltage characteristic value at different times output by the calculation unit; and control the first capacitor and the second capacitor to switch states when the next switching moment is reached.
[0059] In a possible design, the acquisition unit is further used to: after controlling the first capacitor and the second capacitor to switch states at the next switching moment, continue to acquire the first voltage waveform and the second voltage waveform; the processing unit is further used to: determine the resistance value of the first resistor and the resistance value of the second resistor according to the first voltage waveform and the second voltage waveform that the acquisition unit continues to acquire. The first resistor is the insulation resistance between the positive pole of the power supply and the ground, and the second resistor is the insulation resistance between the negative pole of the power supply and the ground. The resistance value of the first resistor and the resistance value of the second resistor are used to determine whether an insulation resistance fault occurs.
[0060] In one possible design, the processing unit is specifically used to: compare any two adjacent voltage characteristic values of the first capacitor voltage characteristic values at different times, and / or compare any two adjacent voltage characteristic values of the second capacitor voltage characteristic values at different times; when it is determined that the difference between any two adjacent voltage characteristic values is greater than a preset error threshold, determine the current moment as the next switching moment; and when it is determined that any two adjacent voltage characteristic values are less than or equal to the preset error threshold, determine the time constant of the first capacitor and / or the time constant of the second capacitor, and determine the next switching moment based on the time constant of the first capacitor and / or the time constant of the second capacitor.
[0061] In one possible design, the processing unit is specifically used to: when it is determined that any two adjacent voltage characteristic values are less than or equal to a preset error threshold, record the first voltage value and the second voltage value corresponding to the first voltage waveform and the second voltage waveform of the first capacitor and the second capacitor at each switching moment; and when it is determined that the difference between any two adjacent voltage characteristic values is greater than the preset error threshold, delete the first voltage value and the second voltage value recorded before the current moment, and re-record the first voltage value and the second voltage value corresponding to the first voltage waveform and the second voltage waveform of the first capacitor and the second capacitor at each subsequent switching moment; use the recorded first voltage value and the second voltage value to determine the resistance value of the first resistor and the resistance value of the second resistor.
[0062] In one possible design, the processing unit is also used to: when it is determined that the resistance of the first resistor or the resistance of the second resistor is less than a first preset insulation threshold, send a shutdown instruction to the device to be detected, and the shutdown instruction is used to instruct the device to be detected to disconnect the power supply from the load.
[0063] In a possible design, the processing unit is also used to: determine the parallel resistance of the first resistor and the second resistor based on the first voltage waveform and the second voltage waveform that are continuously acquired; and when it is determined that the parallel resistance is less than a second preset insulation threshold, send a shutdown command to the device to be detected, and the shutdown command is used to instruct the device to be detected to disconnect the power supply and the load.
[0064] In one possible design, the first capacitor voltage characteristic value includes one or more of the following: a time constant of the first capacitor and a voltage waveform state of the first capacitor; the second capacitor voltage characteristic value includes one or more of the following: a time constant of the second capacitor and a voltage waveform state of the second capacitor; the waveform state of the first capacitor characterizes the fluctuation trend of the voltage across the first capacitor, and the waveform state of the second capacitor characterizes the waveform trend of the voltage across the second capacitor.
[0065] In the fifth aspect, an embodiment of the present application also provides a computer-readable storage medium, in which computer-readable instructions are stored. When the computer-readable instructions are run on a computer, the method in the third aspect or any possible design in the third aspect is executed. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 A schematic diagram of the structure of the application scenario of the insulation resistance detection device of the present application;
[0067] Figure 2 This is a schematic diagram of the structure of an insulation resistance detection circuit in an embodiment of the present application;
[0068] Figure 3 A circuit structure diagram of a state control unit in an embodiment of the present application Figure 1 ;
[0069] Figure 4 A schematic diagram of the circuit structure of an insulation resistance detection circuit in an embodiment of the present application Figure 1 ;
[0070] Figure 5 A first voltage and a second voltage variation curve in the embodiment of the present application are shown as follows: Figure 1 ;
[0071] Figure 6 A first voltage and a second voltage variation curve in the embodiment of the present application are shown as follows: Figure 2 ;
[0072] Figure 7 A first voltage and a second voltage variation curve in the embodiment of the present application are shown as follows: Figure 3 ;
[0073] Figure 8 A schematic diagram of the circuit structure of an insulation resistance detection circuit in an embodiment of the present application Figure 2 ;
[0074] Fig. 9 This is a structural schematic diagram of a high-voltage system monitoring device in an embodiment of the present application;
[0075] Fig.10 A schematic diagram of a flow chart of an insulation resistance detection method in an embodiment of the present application;
[0076] Fig.11 A schematic flow chart of an insulation resistance detection method in an embodiment of the present application;
[0077] Fig.12 Schematic diagram of the structure of the insulation resistance detection device in the embodiment of the present application. DETAILED DESCRIPTION
[0078] The embodiments of the present application provide an insulation resistance detection circuit, method, device and storage medium thereof. The method and device are based on the same or similar technical concepts. Since the method and device solve the problem in a similar manner, the implementation of the device and the method can refer to each other, and the repeated parts will not be repeated.
[0079] It should be noted that in the description of the embodiments of the present application, "and / or" describes the association relationship of the associated objects, indicating that there may be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone. "Connection" describes the connection relationship between two objects, which can represent two connection relationships. For example, A and B are connected, which can represent: A is directly connected to B, and A is connected through C and B. The character " / " generally indicates that the objects associated with each other are in an "or" relationship. At least one referred to in the present application refers to one or more; multiple refers to two or more. In addition, it should be understood that in the description of the present application, the words "first", "second", "third", etc. are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order. The reference to "one embodiment" or "some embodiments" described in this specification means that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "include", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. Multiplication in the formulas of the embodiments of the present application can be represented by "*" or "×". Parallel can be represented by "||".
[0080] The insulation resistance detection circuit, method, device and storage medium provided in the embodiments of the present application can be applied to electric vehicles, CNC machine tools, wind power generation systems, photovoltaic power generation systems and other devices using high voltage power supply, and are used to detect whether the insulation resistance between the positive and negative poles of the power supply in the device to be detected is failed.
[0081] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0082] Figure 1 An example of an application scenario of an electric vehicle is shown. Figure 1 As shown, the electric vehicle at least includes: a power module, a high-voltage upper and lower power module and a high-voltage load. Among them, the power module includes a plurality of battery packs for powering the high-voltage load, and the high-voltage upper and lower power module is used to control the connection between the power module and the high-voltage load. The insulation resistance detection circuit provided in the embodiment of the present application can be connected between the positive output terminal HVDC+ and the negative output terminal HVDC- of the power supply of the power module, and is used to detect whether the insulation resistance between the positive and negative electrodes of the power module fails.
[0083] See also Figure 2 As shown, it is a structural schematic diagram of an insulation resistance detection circuit provided by the present application. The insulation resistance detection circuit 200 can be connected to the positive pole of the power supply of the device to be detected and the negative pole of the power supply, and is used to quickly and accurately detect the insulation resistance between the positive pole of the power supply and the ground in the device to be detected and the insulation resistance between the negative pole of the power supply and the ground, and determine whether an insulation fault occurs between the positive pole of the power supply of the device to be detected and the negative pole of the power supply according to the detected insulation resistance.
[0084] Specifically, the insulation resistance detection circuit 200 may include: a state control unit 201 , a first voltage division branch 202 , a second voltage division branch 203 , and a processor 204 .
[0085] The state control unit 201 is connected between the positive electrode HVDC+ and the negative electrode HVDC- of the power supply of the device to be detected. The processor 204 is connected to the state control unit 201, the first voltage dividing branch 202 and the second voltage dividing branch 203 respectively.
[0086] Wherein, the state control unit 201 switches between the first state or the second state under the control of the processor 204. When the state control unit 204 is in the first state, the first capacitor C1 is charged and the second capacitor C2 is discharged. When the state control unit 201 is in the second state, the first capacitor C1 is discharged and the second capacitor C2 is charged. The first capacitor C1 is the capacitor between the positive electrode of the power supply and the ground, and the second capacitor C2 is the capacitor between the negative electrode of the power supply and the ground. The first voltage dividing branch 202 is used to be connected in parallel with the first capacitor C1, and is used to divide the voltage across the first capacitor C1 to obtain a first voltage waveform. The second voltage dividing branch 203 is used to be connected in parallel with the second capacitor C2, and is used to divide the voltage across the second capacitor C2 to obtain a second voltage waveform. The processor 204 is used to: calculate the first capacitor voltage characteristic value at different times within a set time period before the current moment based on the first voltage waveform obtained at the current moment; and calculate the second capacitor voltage characteristic value at different times within a set time period before the current moment based on the second voltage waveform obtained at the current moment; and determine the next switching moment based on the first capacitor voltage characteristic value at different times and / or the second capacitor voltage characteristic value at different times, and control the state control unit 201 to switch the state when the next switching moment is reached.
[0087] Further, the processor 204 determines the resistance value of the first resistor R1 and the resistance value of the second resistor R2 according to the first voltage waveform obtained by the first voltage dividing branch 202 and the second voltage waveform obtained by the second voltage dividing branch 203 when the subsequent state control unit 201 is in the first state and the second state after the state control unit 201 switches the state at the next switching moment. The first resistor R1 is the insulation resistance between the positive electrode of the power supply and the ground, and the second resistor R2 is the insulation resistance between the negative electrode of the power supply and the ground. The resistance value of the first resistor R1 and the resistance value of the second resistor R2 are used to determine whether the device to be detected has insulation resistance failure and whether insulation fault occurs.
[0088] It should be understood that the first capacitor C1 is connected in parallel with the first voltage dividing branch 202, so the voltage change across the first capacitor C1 can be determined by detecting the first voltage waveform on the first voltage dividing branch 202. Similarly, the voltage change across the second capacitor C2 can be determined by detecting the second voltage waveform of the second voltage dividing branch 203.
[0089] In actual use, the state control unit 201 controls the charging process and the discharging process of the first capacitor C1 and the second capacitor C2. If the resistance value of the first resistor R1 and the resistance value of the second resistor R2 remain unchanged, the obtained first voltage waveform and the obtained second voltage waveform change according to a fixed rule, and the first capacitor voltage characteristic values obtained at different times and / or the second capacitor voltage characteristic values obtained at different times are equal or similar. If the resistance value of the first resistor R1 and the resistance value of the second resistor R2 change during the charging process and the discharging process of the first capacitor and the second capacitor, then at the moment when the resistance value of the first resistor R1 and the second resistor R2 change, the change law of the first voltage waveform and the second voltage waveform changes. Therefore, it is possible to determine whether the current resistance value of the first resistor R1 and the second resistor R2 have changed by detecting the first capacitor voltage characteristic value that characterizes the change law of the first voltage waveform and / or the voltage characteristic value of the second capacitor that characterizes the change of the second voltage waveform, and adjust the state switching moment of the state control unit 201 according to the change of the resistance value of the first resistor R1 and the resistance value of the second resistor R2, so as to obtain the first voltage waveform and the second voltage waveform corresponding to the current resistance value of the first resistor R1 and the resistance value of the second resistor R2 as soon as possible, thereby accurately calculating the resistance value of the first resistor R1 and the resistance value of the second resistor R2, and determining whether an insulation fault occurs in the device to be detected.
[0090] It should be understood that since the first capacitor C1 and the second capacitor C2 are connected in series between the positive electrode HVDC+ and the negative electrode HVDC- of the power supply, when the first resistor R1 connected in parallel with the first capacitor C1 changes, the voltage across the first capacitor C1 changes, while the voltage value between the positive electrode HVDC+ and the negative electrode HVDC- of the power supply remains unchanged. Therefore, the voltage across the second capacitor C2 will also change accordingly. Therefore, the voltage characteristic value of the first capacitor C1 at different times or the voltage characteristic value of the second capacitor C2 at different times can be detected to determine whether the resistance value of the first resistor R1 and the resistance value of the second resistor R2 have changed.
[0091] In another example, due to detection errors and other reasons, a certain error is allowed between the voltage characteristic values of the first capacitor C1 detected at different times. In order to avoid detection errors, the voltage characteristic values of the first capacitor C1 at different times and the voltage characteristic values of the second capacitor C2 at different times can be simultaneously detected to accurately determine whether the resistance value of the first resistor R1 and the resistance value of the second resistor R2 have changed, thereby accurately determining the next switching time. Among them, the voltage characteristic value of the first capacitor C1 can be but not limited to the time constant of the first capacitor and / or the voltage waveform state of the first capacitor. The voltage characteristic value of the second capacitor can be but not limited to the time constant of the second capacitor and / or the voltage waveform state of the second capacitor. Among them, the waveform state of the first capacitor represents the fluctuation trend of the voltage across the first capacitor, and the waveform state of the second capacitor represents the waveform trend across the second capacitor.
[0092] Furthermore, the direction of the first voltage waveform is the same as the direction of the second voltage waveform, wherein the direction of the first voltage waveform and the second voltage waveform is the same, and its specific meaning may be: when the first voltage dividing branch 202 outputs the first voltage waveform, the end of the high potential output is connected to the end of the processor 204 receiving the high potential, and the first end of the low potential output is connected to the end of the processor 204 receiving the low potential, and the difference between the high and low potentials is equal to the first voltage; when the second voltage dividing branch 203 outputs the second voltage waveform, the end of the high potential output is connected to the end of the processor 204 receiving the high potential, and the end of the low potential output is connected to the end of the processor 204 receiving the low potential, and the difference between the high and low potentials is the second voltage.
[0093] In the present application, the state control unit 201 may be switched between the first state and the second state through the processor 204 .
[0094] Specifically, the processor 204 may send a control signal to the state control unit 201 to control the state control unit 201 to be in a first state or a second state. The first state may be, but is not limited to: the first capacitor C1 is charged and the second capacitor C2 is discharged. The second state may be, but is not limited to: the first capacitor C1 is discharged and the second capacitor C2 is charged.
[0095] In practical applications, a fixed interface may be provided on the device to be detected, and the insulation resistance detection circuit 200 may be connected to the device to be detected through the fixed interface, thereby detecting the resistance value of the first resistor R1 and the resistance value of the second resistor R2.
[0096] In a specific implementation, the processor 204 may be connected to the state control unit 201 and send a control signal to the state control unit 201. After receiving the control signal, the state control unit 201 controls the state control unit 201 to switch between the first state and the second state in response to the control signal.
[0097] In specific implementation, the processor 204 can be any one of a microcontroller unit (MCU), a central processing unit (CPU), and a digital signal processor (DSP). Of course, the specific form of the processor is not limited to the above examples.
[0098] Next, the specific structures of the state control unit 201 , the first voltage dividing branch 202 , the second voltage dividing branch 203 and the processor 204 in the insulation detection circuit 200 are introduced.
[0099] 1. State control unit 201
[0100] The state control unit 201 is connected across the positive electrode and the negative electrode of the power supply of the device to be detected, and the state control unit 201 can be used to switch between the first state and the second state under the control of the processor 204. When the state control unit 201 is in the first state, the first capacitor C1 is charged and the second capacitor C2 is discharged, and when the state control unit 201 is in the second state, the first capacitor C1 is discharged and the second capacitor C2 is charged. The first capacitor C1 is the capacitor between the positive electrode of the power supply and the ground, and the second capacitor C2 is the capacitor between the negative electrode of the power supply and the ground.
[0101] The state control unit 201 may include a first switch unit and a second switch unit.
[0102] Specifically, the first end of the first switch unit is connected to the positive electrode of the power supply, and the second end of the first switch unit is connected to the ground. The second end of the second switch unit is connected to the negative electrode of the power supply, and the second end of the second switch unit is connected to the ground. When the first switch unit is closed and the second switch unit is disconnected, the state control unit 201 is in the first state. When the first switch unit is disconnected and the second switch unit is closed, the state control unit 201 is in the second state.
[0103] Among them, the function of setting the first switch unit is to control the discharge and charging of the first capacitor connected in parallel with the first switch unit by closing and opening the first switch unit, and the function of setting the second switch unit is to control the discharge and charging of the second capacitor connected in parallel with the second switch unit by closing and opening the second switch unit.
[0104] Specifically, the first switch unit may include a first switch and a third resistor. The second switch unit may include a second switch and a fourth resistor.
[0105] The function of setting the first switch is to control the charging or discharging of the first capacitor by changing the state of the first switch. The function of setting the third resistor is to provide a discharge path for the first capacitor and avoid a short circuit between the positive electrode of the power supply and the ground when the first switch is closed. The function of setting the second switch is to control the charging or discharging of the second capacitor by changing the state of the second switch. The function of setting the fourth resistor is to provide a discharge path for the second capacitor and avoid a short circuit between the negative electrode of the power supply and the ground when the second switch is closed.
[0106] Specifically, the first end of the third resistor is connected to the positive electrode of the power supply, and the second end of the third resistor is connected to the first end of the first switch; the second end of the first switch is connected to the ground; the first end of the second switch is connected to the ground, and the second end of the second switch is connected to the first end of the fourth resistor; the second end of the fourth resistor is connected to the negative electrode of the power supply.
[0107] Specifically, the first switch and the second switch can be switch tubes. If the first switch and the second switch are metal oxide semiconductor (MOS) tubes, the gate of the MOS tube can be the control end of the first switch and the second switch unit connected to the processor 204, and the processor 204 controls the on-off of the MOS tube to realize the switching of the control state control unit 201 between the first state and the second state; if the first switch and the second switch are bipolar junction transistors (BJT), the base of the BJT can be the control end of the first switch and the second switch connected to the processor 204, and the processor 204 can control the on-off of the BJT to realize the switching of the control state control unit 201 between the first state and the second state.
[0108] For ease of understanding, a specific example of the state switching unit 201 is given below.
[0109] See also Figure 3 FIG. 2 is a schematic diagram of the structure of the state control unit 201 in an embodiment of the present application. Figure 3 The circuit shown includes switches K1 and K2, and resistors R3 and R4. A and B are input terminals of the state switching unit 201, respectively connected to the positive electrode HVDC+ and the negative electrode HVDC- of the power supply of the device to be detected, C and D are control terminals of the state control unit 201, both connected to the processor 204, and E and F are output terminals of the state control unit 201, respectively connected to the first voltage dividing branch 202 and the second voltage dividing branch 203.
[0110] Figure 3 In the state control unit 201 shown, the connection relationship of each component can be: the first end of R3 is connected to the positive electrode HVDC+ of the power supply of the device to be detected, the second end of R3 is connected to the first end of K1, the control end of K1 is connected to the processor 204, the second end of K1 is respectively connected to the second end of K2 and the ground wire, the control end of K2 is connected to the processor 204, the second end of K2 is connected to the first end of R4, and the second end of R4 is connected to the negative electrode HVDC- of the power supply of the device to be detected.
[0111] use Figure 3When the state control unit 201 shown controls the charging and discharging of the first capacitor C1 and the second capacitor C2, taking the first capacitor C1 as an example, when K1 is disconnected, the resistance across C1 is the first resistor R1 and the resistance on the first voltage-dividing branch 202, and HVDC+ charges the first capacitor C1 through the first resistor R1 and the first voltage-dividing branch 202 until the voltage across the first capacitor C1 is charged to a steady-state value, and when K1 is closed, the first capacitor C1 provides current to R3, and at this time, the first capacitor C1 is discharged through R3 and the first voltage-dividing branch, as well as the first resistor R1. Similarly, the charging or discharging of the second capacitor C2 can be controlled by controlling the switch K2.
[0112] Of course, the above introduction to the structure of the state control unit 201 is only an example. In actual applications, the state control unit 201 may also adopt other structures. For example, the state control unit 201 may adopt a relay, and the state control unit 201 is in the first state and the second state by changing the input quantity of the relay.
[0113] 2. First voltage dividing branch 202
[0114] The first voltage dividing branch 202 is used to be connected in parallel with the first capacitor C1 . The first voltage dividing branch 202 can be used to divide the voltage across the first capacitor C1 to obtain a first voltage waveform.
[0115] It should be understood that since the insulation detection circuit 200 provided in the embodiment of the present application is connected to the positive and negative poles of the power supply of the device to be detected, and the voltage between the positive and negative poles of the power supply is relatively high, the voltage directly obtained across the first capacitor C1 may be difficult to meet the voltage requirements of the processor 204. Therefore, by obtaining the voltage on the first voltage divider branch 202 connected in parallel with the first capacitor C1, it is possible to output a first voltage waveform that characterizes the voltage change across the first capacitor C1 and meets the voltage requirements of the processor 204.
[0116] Specifically, the first voltage dividing branch 202 may include: a fifth resistor and a sixth resistor.
[0117] One end of the fifth resistor is connected to the positive electrode of the power supply, and the second end of the fifth resistor is respectively connected to the first end of the sixth resistor and the processor 204; the second end of the sixth resistor is connected to the ground and the processor 204. The resistance of the sixth resistor is much smaller than the resistance of the fifth resistor.
[0118] Among them, the role of setting the fifth resistor and the sixth resistor is: since the first voltage-dividing branch 202 is connected in parallel with the first capacitor C1, the voltage across the first capacitor C1 can be divided by the fifth resistor and the sixth resistor, and by detecting the voltage waveform across the sixth resistor, the voltage waveform of the charging process and the discharging process of the first capacitor C1 can be obtained, thereby eliminating the need to use a high-voltage detection device with a higher detection cost to obtain the voltage across the first capacitor C1.
[0119] It should be understood that in order to detect a small voltage change between two adjacent values in the first voltage waveform and improve the accuracy of the detection result, the resistance value of the sixth resistor is much smaller than the resistance value of the fifth resistor. The resistance values of the fifth resistor and the sixth resistor can be set according to the application scenario of the insulation resistance detection circuit 200 and the specifications of the processor 204, which will not be described in detail in this application.
[0120] Of course, the above description of the structure of the first voltage-dividing branch 202 is only an example. In actual applications, the first voltage-dividing branch 202 may also adopt other structures. For example, the first voltage-dividing branch 202 may be provided with a structure in which more than two resistors are connected in series.
[0121] 3. Second voltage dividing branch 203
[0122] The second voltage dividing branch 203 is used to be connected in parallel with the second capacitor C2. The second voltage dividing branch 203 can be used to divide the voltage across the second capacitor C2 to obtain a second voltage waveform.
[0123] It should be understood that since the insulation detection circuit 200 provided in the embodiment of the present application is connected to the positive and negative poles of the power supply of the device to be detected, and the voltage between the positive and negative poles of the power supply is relatively high, the voltage directly obtained across the second capacitor C2 may be difficult to meet the voltage requirements of the processor 204. Therefore, by obtaining the voltage on the second voltage divider branch 203 connected in parallel with the second capacitor C2, it is possible to output a second voltage waveform that characterizes the voltage change across the second capacitor C2 and meets the voltage requirements of the processor 204.
[0124] Specifically, the second voltage dividing branch 203 may include: a seventh resistor and an eighth resistor.
[0125] The first end of the seventh resistor is connected to the ground and the processor 204, the second end of the seventh resistor is connected to the first end of the eighth resistor and the processor 204 respectively; the second end of the eighth resistor is connected to the negative electrode of the power supply. The resistance of the seventh resistor is much smaller than the resistance of the fifth resistor.
[0126] Among them, the role of setting the seventh resistor and the eighth resistor is: since the second voltage-dividing branch 203 is connected in parallel with the first capacitor, the voltage across the second capacitor C2 can be divided by the seventh resistor and the eighth resistor, and by detecting the voltage waveform across the seventh resistor, the voltage waveform of the charging process and the discharging process of the second capacitor C2 can be obtained, thereby eliminating the need to use a high-voltage detection device with a higher detection cost to obtain the voltage across the second capacitor C2.
[0127] It should be understood that in order to detect a small voltage change between two adjacent values in the second voltage waveform and improve the accuracy of the detection result, the resistance value of the seventh resistor is much smaller than the resistance value of the eighth resistor. The resistance values of the seventh resistor and the eighth resistor can be set according to the application scenario of the insulation resistance detection circuit 200 and the specifications of the processor 204, which will not be described in detail in this application.
[0128] Of course, the above description of the structure of the second voltage-dividing branch 203 is only an example. In actual applications, the second voltage-dividing branch 203 may also adopt other structures. For example, the second voltage-dividing branch 203 may be provided with a structure in which more than two resistors are connected in series.
[0129] 4. Processor 204
[0130] The processor 204 is connected to the state control unit 201, the first voltage dividing branch 202 and the second voltage dividing branch 203 respectively. The processor 204 can be used to calculate the first capacitor voltage characteristic value at different times within the set time length before the current moment according to the first voltage waveform obtained at the current moment; and calculate the second capacitor voltage characteristic value at different times within the set time length before the current moment according to the second voltage waveform obtained at the current moment; and determine the next switching moment of the state control unit 201 according to the first capacitor voltage characteristic value at different times and / or the second capacitor voltage characteristic value at different times, and control the state control unit 201 to switch the state when the next switching moment is reached. The processor 204 can also be used to control the state control unit 201 to switch the state when the next switching moment is reached, and determine the resistance value of the first resistor R1 and the resistance value of the second resistor R2 in the first state and the second state. Wherein, the first resistor R1 is the insulation resistance between the positive pole of the power supply and the ground, and the second resistor R2 is the insulation resistance between the negative pole of the power supply and the ground. The resistance value of the first resistor R1 and the resistance value of the second resistor R2 are used to determine whether an insulation resistance fault occurs in the device to be detected.
[0131] The first capacitor voltage characteristic value may be, but is not limited to, the time constant of the first capacitor and / or the voltage waveform state of the first capacitor. The second capacitor voltage characteristic value may be, but is not limited to, the time constant of the second capacitor and / or the voltage waveform state of the second capacitor. The waveform state of the first capacitor represents the fluctuation trend of the voltage across the first capacitor, and the waveform state of the second capacitor represents the waveform trend of the voltage across the second capacitor.
[0132] For example, if the first capacitor voltage characteristic value is a voltage waveform state, when between any two adjacent voltage values in the first voltage waveform, the second value after is greater than the preset threshold of the first value before, it can be determined that the waveform trend of the voltage across the first capacitor at the moment corresponding to the second value is rising, and the first capacitor voltage characteristic value at the moment corresponding to the second value can be determined to be 1. If the second value after is less than the first value before, it can be determined that the waveform trend of the voltage across the first capacitor at the moment corresponding to the second value is falling, and the first capacitor voltage characteristic value at the moment corresponding to the second value can be determined to be 0. Among them, the preset threshold can be set according to the application scenario of the insulation resistance detection circuit 200, and this application will not be described in detail here.
[0133] Specifically, when it is determined that any two adjacent voltage characteristic values of the first capacitor voltage characteristic values at different moments are compared, and / or the difference between any two adjacent voltage characteristic values of the second capacitor voltage characteristic values at different moments is greater than a preset error threshold, if the difference between any two adjacent voltage characteristic values is greater than the preset error threshold, it can be determined that the resistance value R1 of the first resistor and / or the resistance value of the second resistor R2 at this moment has changed, and the current moment can be determined as the next switching moment, so as to obtain the first voltage waveform and the second voltage waveform after the resistance value of the first resistor R1 and / or the resistance value of the second resistor R2 has changed as soon as possible, and use the re-acquired first voltage waveform and second voltage waveform to accurately detect whether an insulation fault currently occurs in the device to be detected.
[0134] Specifically, when it is determined that the difference between any two adjacent voltage characteristic values of the first capacitor voltage characteristic value at different times is less than or equal to the preset error threshold, and / or the difference between any two adjacent voltage characteristic values of the second capacitor voltage characteristic value at different times is less than or equal to the preset error threshold, it can be determined that the resistance value of the first resistor R1 and the resistance value of the second resistor R2 at this moment are unchanged, the time constant of the first capacitor and the time constant of the second capacitor are determined, and the correct switching time of the state control unit 201 is calculated according to the time constant of the first capacitor and / or the time constant of the second capacitor, and the first voltage waveform and the second voltage waveform obtained after the switching are used to accurately calculate the current resistance value of the first resistor R1 and the resistance value of the second resistor R2. Wherein, when the first capacitor voltage characteristic value is a voltage waveform state, the preset error threshold can be set to 1. Wherein, when the first capacitor voltage characteristic value is a time constant, the time constant of the first capacitor can be the average value of the first capacitor voltage characteristic value at different times, and the preset error threshold can be set according to the application scenario of the insulation resistance detection circuit 200 and the accurate requirements of the application scenario for the detection result, which is not described in detail in this application.
[0135] It should be understood that in order to quickly calculate the resistance value of the first resistor R1 and the resistance value of the second resistor R2, the insulation resistance detection circuit 200 provided in the embodiment of the present application may further include a ninth resistor and a third switch.
[0136] Specifically, the second end of the third switch is connected to the ground, and the control end of the third switch is connected to the processor 204 .
[0137] The processor 204 may also be used to: control the third switch to be closed and opened; and calculate the parallel resistance of the first resistor and the second resistor according to the first voltage waveform obtained by the first voltage dividing branch 201 in the first state and the second state after reaching the next switching moment, the second voltage waveform obtained by the second voltage dividing branch 202, and the voltage waveform across the ninth resistor when the third switch is closed. The parallel resistance can be used to determine whether an insulation resistance fault occurs in the device to be detected.
[0138] It should be understood that since the first voltage waveform and the second voltage waveform need to be obtained in real time or periodically, and the first voltage waveform and the second voltage waveform obtained within a period of time can be used to calculate the resistance value of the first resistor and the resistance value of the second resistor, or the parallel resistance value of the first resistor and the second resistor, the insulation resistance detection circuit 200 may also include a memory for storing the first voltage waveform and the second voltage waveform.
[0139] In combination with the above description, for example, Figure 4 , which is a circuit structure diagram of an insulation resistance detection circuit provided in an embodiment of the present application.
[0140] The insulation resistance detection circuit may include a state control unit, a first voltage dividing branch, a second voltage dividing branch and a processor.
[0141] The state control unit includes switches K1 and K2 and resistors R3 and R4. The first end of R3 is connected to the positive electrode HVDC+ of the power supply of the device to be detected, the second end of R3 is connected to the first end of K1, the second end of K2 is connected to the ground, the first end of K2 is connected to the ground, the second end of K2 is connected to the first end of R4, the second end of R4 is connected to the negative electrode HVDC- of the power supply of the device to be detected, and the control ends of K1 and K2 are both connected to the processor.
[0142] The first voltage dividing branch includes a fifth resistor R5 and a sixth resistor R6. One end of R5 is connected to the positive electrode of the power supply, the second end of R5 is connected to the first end of R6 and the processor respectively, and the second end of R6 is connected to the ground and the processor. The first voltage waveform is output at both ends of R6.
[0143] The second voltage-dividing branch includes a seventh resistor R7 and an eighth resistor R8. The first end of R7 is connected to the ground and the processor, the second end of R7 is connected to the first end of R8 and the processor respectively, and the second end of R8 is connected to the negative electrode of the power supply. The second voltage waveform is output at both ends of R7.
[0144] In the processor, the processor is respectively connected to both ends of R6, both ends of R7, the control end of K1, the control end of K2 and the memory.
[0145] use Figure 4 When the insulation resistance detection circuit shown detects the first resistor and the second resistor, A and B are connected as single-phase input terminals to the positive electrode HVDC+ and the negative electrode HVDC- of the power supply of the device to be detected, respectively, and energy is transmitted from left to right. Among them, C1 is the safety capacitor between the positive electrode of the power supply of the device to be detected and the ground, C2 is the safety capacitor between the negative electrode of the power supply of the device to be detected and the ground, R1 is the insulation resistance between the positive electrode of the power supply of the device to be detected and the ground, and R2 is the insulation resistance between the negative electrode of the power supply of the device to be detected and the ground.
[0146] Combine the following Figure 4 , the working principle of the insulation resistance detection circuit provided in the embodiment of the present application is explained.
[0147] The following description takes K1 being closed and K2 being open as switch state 1, and K1 being open and K2 being closed as switch state 2 as an example. K1 and K2 are switched between switch state 1 and switch state 2 under the control of the processor.
[0148] The processor sends a first control signal to K1 and K2, and K1 and K2 respond to the first control signal in switch state 1, at which time the first capacitor C1 is discharged through R1, R5, R6 and R3, and the second capacitor C2 is charged through R2, R7 and R8, and the processor obtains the first voltage waveform through the port connected to R6 and the second voltage waveform through the port connected to R7. The processor calculates the first capacitor voltage characteristic values at different times within the set time before the current moment based on the first voltage waveform obtained at the current moment, and / or calculates the second capacitor voltage characteristic values at different times within the set time before the current moment based on the second voltage waveform obtained before the current moment, and determines the next switching moment. If the difference between any two adjacent voltage characteristic values of the first capacitor voltage characteristic values at different times is less than or equal to the preset error threshold, and / or the difference between any two adjacent voltage characteristic values of the second capacitor voltage characteristic values at different times is less than or equal to the preset error threshold, it can be determined that the resistance value of the first resistor and the resistance value of the second resistor have not changed before the current moment, and the time constant of the first capacitor calculated according to the first voltage waveform obtained at the current moment and / or the time constant of the second capacitor calculated according to the second voltage waveform obtained at the current moment can be used to determine the next switching moment, and when the next switching moment is reached, a second control signal is sent to K1 and K2 to control K1 and K2 to switch from switch state 1 to switch state 2. If the difference between any two adjacent voltage characteristic values of the first capacitor voltage characteristic values at different times is greater than the preset error threshold, and / or the difference between any two adjacent voltage characteristic values of the second capacitor voltage characteristic values at different times is greater than the preset error threshold, it can be determined that the resistance value of the first resistor and the resistance value of the second resistor have changed before the current moment, and the current moment can be determined as the next switching moment, and a second control signal is sent to K1 and K2 to control K1 and K2 to switch from switch state 1 to switch state 2. Among them, the first resistor R1 is the insulation resistance between the positive pole of the power supply and the ground, and the second resistor R2 is the insulation resistance between the negative pole of the power supply and the ground. The resistance value of the first resistor R1 and the resistance value of the second resistor R2 are used to determine whether an insulation resistance fault occurs in the device to be detected.
[0149] It should be noted that the first capacitor C1 and the second capacitor C2 are connected in series between the positive electrode HVDC+ and the negative electrode HVDC- of the power supply in the device to be detected. When the resistance value of the first resistor R1 connected in parallel with the first capacitor C1 changes, the voltage across the first capacitor C1 changes, while the voltage value between the positive electrode HVDC+ and the negative electrode HVDC- of the power supply remains unchanged, and the voltage across the second capacitor C2 will also change accordingly. Therefore, the characteristic value of the first capacitor voltage at different times or the characteristic value of the second capacitor voltage at different times can be detected to determine whether the resistance value of the first resistor and the resistance value of the second resistor have changed.
[0150] For example, when the first capacitor voltage characteristic values at different moments are calculated based on the obtained first voltage waveform, if the resistance value of the first resistor R1 changes by a small amount, the voltage characteristic value at the moment corresponding to the resistance value of the first resistor R1 in the calculated first capacitor voltage characteristic values at different moments is less different from the voltage characteristic value calculated at any adjacent moment, resulting in a detection error. The first capacitor voltage characteristic values at different moments and the second capacitor voltage characteristic values at different moments can be calculated simultaneously to accurately determine whether the resistance value of the first resistor R1 and the resistance value of the second resistor R2 have changed before the current moment.
[0151] For example, if the first capacitor voltage characteristic value is the time constant of the first capacitor, when it is determined that the resistance value of the first resistor and the resistance value of the second resistor have not changed before the current moment, the average value of the first capacitor voltage characteristic values calculated at different moments can be used as the time constant of the first capacitor, and the next switching moment can be calculated. The next switching moment can be the moment corresponding to when K1 and K2 switch to the switch state after a preset time. The preset time is 3 to 5 time constants.
[0152] After determining the next switching moment, the processor uses the above-mentioned switching moment determination method to close and open K1 and K2, and obtains the first voltage waveform and the second voltage waveform when K1 and K2 are in switch state one and switch state two, and determines the resistance value of the first resistor R1 and the resistance value of the second resistor R2.
[0153] Specifically, when it is determined that the resistance value of the first resistor R1 and the resistance value of the second resistor R2 have changed, the next switching moment can be determined based on the current moment, and the first voltage waveform and the second voltage waveform corresponding to the change in the resistance value of the first resistor R1 and the second resistor R2 at the next switching moment can be obtained as soon as possible, and the resistance value of the first resistor R1 and the resistance value of the second resistor R2 can be calculated using the obtained first voltage waveform and second voltage waveform, and whether a fault occurs in the device to be detected is determined based on the resistance value of the first resistor R1 and the second resistor R2.
[0154] For example, when it is determined that the resistance of the first resistor R1 or the resistance of the second resistor R2 is less than the first preset insulation threshold, it is determined that the resistance of the first resistor R1 and the resistance of the second resistor R2 cannot meet the insulation resistance requirement of the device to be detected, and a shutdown command is sent to the device to be detected. The shutdown command is used to instruct the device to be detected to disconnect the power supply and the load, thereby ensuring the safe operation of the device to be detected.
[0155] Next, combine Figure 4 Taking the first capacitor voltage characteristic value and the second capacitor voltage characteristic value as time constants as an example, the specific process of calculating the first capacitor voltage characteristic value at different times within a set time period before the current moment based on the first voltage waveform obtained at the current moment is described in detail.
[0156] It should be noted that R5 and R6 are connected in series and connected in parallel with the first capacitor C1, and R7 and R9 are connected in series and connected in parallel with the second capacitor C2. Therefore, the value corresponding to the first moment in the first voltage waveform at both ends of R6 is in a ratio relationship with the value corresponding to the first moment in the voltage waveform at both ends of the first capacitor C1, and the value corresponding to the first moment in the second voltage waveform at both ends of R7 is in a ratio relationship with the value corresponding to the first moment in the voltage waveform at both ends of the first capacitor C2. Therefore, for ease of understanding, the calculation process of the voltage characteristic value of the first capacitor at different moments is described in detail below, taking the voltage waveform at both ends of the first capacitor C1 and the second capacitor C2 as an example.
[0157] The processor sends a first control signal to the control terminals of K1 and K2. K1 and K2 respond to the first control signal and are in switch state 1. At this time, the first capacitor C1 is discharged through R1, R5, R6 and R3, and the second capacitor C2 is charged through R2, R7 and R8. At this time, the voltage U1 across the first voltage C1 and the voltage U2 across the second voltage C2 satisfy the commonly used relationship between capacitor charging and discharging:
[0158] U1(t)=U1_st-(U1st-V0)*e^(-t / τ1); U2(t)=U2_st-(U2st-V2)*e^(-t / τ2).
[0159] Wherein, V0 and V2 are respectively the first voltage value and the second voltage value when K1 and K2 switch to the switch state 1, and U1st and U2st are respectively the values at both ends of the first capacitor and the values at both ends of the second capacitor when K1 and K2 switch to the second state. τ1 and τ2 are respectively the time constant of the first capacitor C1 and the time constant of the second capacitor C2. t is the corresponding time after the first capacitor C1 and the second capacitor C2 switch to the first state. Wherein, the first capacitor C1 discharges through R1, R5, R6 and R3, and the second capacitor C2 discharges through R2, R7 and R8, therefore, τ1=C1*(R1||R3||R5+R6), τ2=C2*(R2||R7+R8). Wherein, C1 is the capacitance of the first capacitor C1, and C2 is the capacitance of the first capacitor C2.
[0160] Specifically, if the resistance value of the first resistor R1 and the resistance value of the second resistor R2 have not changed before the current moment, such as Figure 5 As shown, the first voltage waveform before the current moment and the second voltage waveform obtained at the current moment change in a fixed pattern. Among them, U1'(t) is the voltage waveform corresponding to the first capacitor C1 when K1 and K2 are in the second state, and U2'(t) is the voltage waveform corresponding to the second capacitor C2 when K1 and K2 are in the second state.
[0161] When the resistance value of the first resistor R1 and the resistance value of the second resistor R2 change, such as Figure 6 or Figure 7 As shown, before the resistance value of the first resistor R1 and the resistance value of the second resistor R2 change, the first voltage waveform and the second voltage waveform change according to the first rule, and after the resistance value of the first resistor R1 and the resistance value of the second resistor R2 change, the first voltage waveform and the second voltage waveform change according to the second rule. The insulation state mutation refers to the change in the resistance value of the first resistor R1 and the resistance value of the second resistor R2.
[0162] Among them, to determine whether the resistance value of the first resistor R1 and the resistance value of the second resistor R2 change, it is necessary to first calculate the first capacitor voltage characteristic value and / or the second capacitor voltage characteristic value at different times. In combination with the above formula, taking the voltage characteristic value of the first capacitor as a time constant as an example, the process of determining the first capacitor voltage characteristic value is described in detail.
[0163] By deriving the common charging and discharging formula corresponding to the voltage across the first capacitor in the above formula, the following formula can be obtained:
[0164]
[0165] Taking the logarithm of the above derived formula, we can get the following formula:
[0166]
[0167]
[0168] At this time, the above formula of the first voltage across the first capacitor after taking the logarithm satisfies the linear formula of Y=a+b·X.
[0169] in,
[0170] Where X is the corresponding acquisition time after K1 switches to switch state 1. X(i) represents the time of collecting the i-th point, X(i-1) represents the time of collecting the i-1-th point, M is the set acquisition point, and Y is the first capacitor voltage value. It can be seen that when K1 switches to switch state 1, M=0 and Y=0. Where the number of collected points is accumulated, and the following calculation is performed:
[0171] M=M+1
[0172]
[0173] Update the collection point M in real time, and accumulate the collection point M and the collection time X(i) through the new collection point M and the collection time X(i), update the value in the above formula, and get the following formula:
[0174] X=X+X(i)
[0175] XX=XX+X(i) 2
[0176] Y=Y+Y(i)
[0177] XY=XY+X(i)*Y(i)
[0178] When the number of collected points M reaches M ≥ N points, the b value in the linear formula is calculated by the following formula. N is a natural number.
[0179]
[0180] because So the time constant can be calculated
[0181] The set number of acquisition points may be obtained from the first voltage waveform obtained before the current moment.
[0182] Similarly, the time constant τ2 of the second capacitor can be calculated using the second voltage waveform obtained before the current moment.
[0183] The above method is used to calculate the first capacitor voltage characteristic value at different times within a set time period before the current moment, and the second capacitor voltage characteristic value at different times within a set time period before the current moment is calculated.
[0184] It should be noted that, based on the different structures of the first voltage-dividing branch, the second voltage-dividing branch, and the state control unit provided in the aforementioned embodiments, the insulation resistance detection circuit provided in the embodiments of the present application also has several other structures. The principles of the other circuit structures are the same, and this application will not introduce them in detail one by one.
[0185] In combination with the above description, for example, Figure 8 As shown, it is a circuit structure diagram of another insulation resistance detection circuit provided in an embodiment of the present application.
[0186] The insulation resistance detection circuit may include a state control unit, a first voltage dividing branch, a second voltage dividing branch, a processor, a ninth resistor R9 and a third switch K3.
[0187] The state control unit includes switches K1 and K2 and resistors R3 and R4. The first end of R3 is connected to the positive electrode HVDC+ of the power supply of the device to be detected, the second end of R3 is connected to the first end of K1, the second end of K2 is connected to the ground, the first end of K2 is connected to the ground, the second end of K2 is connected to the first end of R4, the second end of R4 is connected to the negative electrode HVDC- of the power supply of the device to be detected, and the control ends of K1 and K2 are both connected to the processor.
[0188] The first voltage dividing branch includes a fifth resistor R5 and a sixth resistor R6. One end of R5 is connected to the positive electrode of the power supply, the second end of R5 is connected to the first end of R6 and the processor respectively, and the second end of R6 is connected to the ground and the processor. The first voltage waveform is output at both ends of R6.
[0189] The second voltage-dividing branch includes a seventh resistor R7 and an eighth resistor R8. The first end of R7 is connected to the ground and the processor, the second end of R7 is connected to the first end of R8 and the processor respectively, and the second end of R8 is connected to the negative electrode of the power supply. The second voltage waveform is output at both ends of R7.
[0190] In the processor, the processor is respectively connected to both ends of R6, both ends of R7, the control end of K1, the control end of K2, both ends of R9, the control end of K3 and the memory.
[0191] The first end of R9 is connected to the positive electrode of the power supply and the processor respectively, the second end of R9 is connected to the first end of K3 and the processor respectively, the second end of K3 is connected to the ground, and the control end of K3 is connected to the processor. The resistance of R3 is less than the preset threshold.
[0192] use Figure 8 When the insulation resistance detection circuit shown detects the first resistor and the second resistor, A and B are connected as single-phase input terminals to the positive electrode HVDC+ and the negative electrode HVDC- of the power supply of the device to be detected, respectively, and energy is transmitted from left to right. Among them, C1 is the safety capacitor between the positive electrode of the power supply of the device to be detected and the ground, C2 is the safety capacitor between the negative electrode of the power supply of the device to be detected and the ground, R1 is the insulation resistance between the positive electrode of the power supply of the device to be detected and the ground, and R2 is the insulation resistance between the negative electrode of the power supply of the device to be detected and the ground.
[0193] Combine the following Figure 8 , the working principle of the insulation resistance detection circuit provided in the embodiment of the present application is explained.
[0194] The following is an example of K1 being closed and K2 being disconnected as switch state 1, and K1 being disconnected and K2 being closed as switch state 2. When K1 and K2 are in switch state 1, C1 discharges and C2 charges, and when K1 and K2 are in switch state 2, C1 charges and C2 discharges.
[0195] The processor sends a first control signal to K3, K3 closes in response to the first control signal, sends a second control signal to K1 and K2, K1 and K2 respond to the second control signal, K1 and K2 are in switch state 1, at this time the first capacitor C1 is discharged through R1, R5, R6, R9 and R3, the second capacitor C2 is charged through R2, R7 and R8, and the processor obtains the first voltage waveform and the second voltage waveform through the port connected to R6 and R7. The processor calculates the first capacitor voltage characteristic value at different times within the set time length before the current moment based on the first voltage waveform obtained at the current moment, and / or calculates the second capacitor voltage characteristic value at different times within the set time length before the current moment based on the second voltage waveform obtained before the current moment, and determines the switching moment. If the difference between any two adjacent voltage characteristic values of the first capacitor voltage characteristic values at different times is less than or equal to the preset error threshold, and / or the difference between any two adjacent voltage characteristic values of the second capacitor voltage characteristic values at different times is less than or equal to the preset error threshold, it can be determined that the resistance value of the first resistor and the resistance value of the second resistor have not changed before the current moment, and the next switching moment can be determined by using the time constant of the first capacitor calculated according to the first voltage waveform obtained at the current moment and / or the time constant of the second capacitor calculated according to the second voltage waveform obtained at the current moment. If the difference between any two adjacent voltage characteristic values of the first capacitor voltage characteristic values at different times is greater than the preset error threshold, and / or the difference between any two adjacent voltage characteristic values of the second capacitor voltage characteristic values at different times is greater than the preset error threshold, it can be determined that the resistance value of the first resistor and the resistance value of the second resistor have changed before the current moment, and the current moment can be determined as the next switching moment.
[0196] For example, if the characteristic value of the first capacitor voltage is the time constant of the first capacitor, the average value of the calculated characteristic values of the first capacitor voltage at different times may be used as the time constant of the first capacitor to calculate the next switching time.
[0197] When the processor determines that the next switching moment has arrived, K3 may send a second control signal, and K3 is closed in response to the second control signal, and detects the voltage waveform across R9, and uses the voltage waveform across R9 to determine the parallel resistance of the first resistor and the second resistor. The first resistor is the insulation resistance between the positive electrode of the power supply and the ground, and the second resistor is the insulation resistance between the negative electrode of the power supply and the ground. The parallel resistance of the first resistor and the second resistor can be used to determine whether an insulation resistance fault occurs.
[0198] It should be understood that if any of the first resistor R1 and the second resistor R2 fails, the insulation of the device to be detected will fail and leakage will occur. This is because the parallel resistance of the first resistor and the second resistor can be calculated by controlling K3 to open and close, and the voltage waveform at both ends of R9 when the third resistor is closed, and the insulation condition of the device to be detected can be determined by the parallel resistance.
[0199] For example, when it is determined that the parallel resistance of the first resistor R1 and the second resistor R2 is less than the second preset insulation resistance threshold, it is determined that the resistance of the first resistor and the resistance of the second resistor cannot meet the insulation resistance requirement of the device to be detected, and a shutdown command is sent to the device to be detected. The shutdown command can be used to instruct the device to be detected to disconnect the power supply and the load, thereby protecting the safe operation of the device to be detected.
[0200] The process of calculating the parallel resistance of the first resistor R1 and the second resistor R2 is described in detail below.
[0201] It should be noted that R5 and R6 are connected in series and in parallel with the first capacitor C1, and R7 and R8 are connected in series and in parallel with the second capacitor C2, so the value corresponding to the first moment in the first voltage waveform at both ends of R6 is in a ratio relationship with the value corresponding to the first moment in the voltage waveform at both ends of the first capacitor C1, and the value corresponding to the first moment in the second voltage waveform at both ends of R7 is in a ratio relationship with the value corresponding to the first moment in the voltage waveform at both ends of the first capacitor C2. Therefore, for ease of understanding, the following takes the voltage waveform at both ends of the first capacitor C1 and the second capacitor C2 as an example to explain in detail the calculation process of the voltage characteristic value of the first capacitor at different moments.
[0202] The processor sends a first control signal to the control terminals of K1 and K2. K1 and K2 are in switch state 1 in response to the first control signal. At this time, the first capacitor C1 is discharged through R1, R5, R6 and R3, and the second capacitor C2 is charged through R2, R7 and R8.
[0203] Using the above formula for calculating the time constant, calculate the first capacitor voltage characteristic value at different times within a preset time length before the current moment and / or calculate the second capacitor voltage characteristic value at different times within a preset time length before the current moment, and use the first capacitor voltage characteristic value at different times and / or the second capacitor voltage characteristic value at different times to determine the next switching time.
[0204] When determining the next switching moment, a second control signal can be sent to K3. K3 is closed in response to the second control signal. At this time, the Y capacitor (Safety Fixed capacitor) can be discharged through R9, and the time constant τ3 of the Y capacitor is calculated using the above method of calculating the time constant.
[0205] Since τ3=Rsum *C3, C3 is the capacitance of the Y capacitor. If the capacitance of the Y capacitor is known, R can be calculated. sum The value of R sum The parallel resistance of multiple resistors connected in parallel with the Y capacitor can be calculated when other resistors except R1 and R2 are known, and whether the insulation failure of the device to be detected occurs is determined based on the parallel resistance of R1 and R2. When it is determined that the insulation failure occurs in the device to be detected, the connection between the power supply of the device to be detected and the load is disconnected to ensure the safe operation of the device to be detected.
[0206] Specifically, when the parallel resistance of R1 and R2 is less than the second preset insulation threshold, the current resistance of R1 and the resistance of R2 cannot meet the insulation resistance requirements of the device to be detected, and it is determined that the device to be detected has insulation failure. Among them, the second preset resistance threshold can be set according to the application scenario of the device to be detected, and this application will not be described in detail here.
[0207] For example, if the capacitance of the Y capacitor is uncertain, the resistance of R9 can be set to be less than a preset threshold value, which is less than the resistance of any resistor including the first voltage divider branch, the second voltage divider branch, R1, R2, R3 and R4, so that when K3 is closed, R sum ≈R9, at this time, the value of the Y capacitor can be obtained by calculating τ3, and then the parallel resistance of the first resistor and the second resistor can be calculated using the above method of calculating the parallel resistance.
[0208] It should be noted that, based on the differences in the first voltage-dividing branch, the second voltage-dividing branch, and the state switching unit structure provided in the aforementioned embodiments, the insulation resistance detection circuit provided in the embodiments of the present application also has several other structures. The principles of the other circuit structures are the same, and this application will not introduce them in detail one by one.
[0209] Based on the same inventive concept, the embodiment of the present application also provides a monitoring device for a high voltage system, such as Fig. 9 As shown, the monitoring system 900 may include a switch module 901, an alarm module 902, a communication module 903 and an insulation resistance detection circuit 200 provided in an embodiment of the present application.
[0210] Among them, the insulation resistance detection circuit 200 can be connected to the communication module 903, and the communication module 903 can be connected to the alarm module 902. The switch module 901 can be used to connect between the power supply and the load of the high-voltage system. The insulation resistance detection circuit 200 is used to detect the resistance value of the first resistor between the positive electrode of the power supply and the ground and the resistance value of the second resistor between the negative electrode of the power supply and the ground, and send the resistance value of the first resistor and the resistance value of the second resistor to the communication module 903. The communication module 903 can be used to notify the alarm module 902 to alarm when it is determined that the resistance value of the first resistor or the resistance value of the second resistor is less than the first preset resistance threshold; and when the resistance value of the first resistor or the resistance value of the second resistor is less than the second preset resistance threshold, control the switch module 901 to disconnect.
[0211] Optionally, the high-voltage system monitoring device 900 may be connected to the high-voltage system of the electric vehicle to monitor the operation of the high-voltage system of the electric vehicle and protect the operation safety of the high-voltage system.
[0212] Based on the same inventive concept, the present application embodiment also provides an insulation resistance detection method, such as Fig.10 As shown, the image processing method provided by the embodiment of the present application is as follows. The method can be Figure 2 The processor shown may also be executed with Figure 2 The insulation resistance detection circuit shown communicates with other processors for execution.
[0213] S1001. The processor obtains a first voltage waveform corresponding to a first capacitor and a second voltage waveform corresponding to a second capacitor, wherein the first capacitor is a capacitor between a positive electrode of a power supply of a device to be detected and ground, and the second capacitor is a capacitor between a negative electrode of the power supply and ground.
[0214] Specifically, when the corresponding voltage values in the first voltage waveform and the second voltage waveform are small, the processor can directly obtain the first voltage waveform and the second voltage waveform through the first capacitor and the second capacitor; when the corresponding voltage values in the first voltage waveform and the second voltage waveform are large, the voltage values in the first voltage waveform and the second voltage waveform are difficult to meet the processor's requirements for voltage values, and a voltage sensor can be used to connect the first voltage and the second voltage to obtain the first voltage waveform and the second voltage waveform that meet the processor's voltage requirements.
[0215] In one example, when the voltage values across the first capacitor and the second capacitor are relatively large, a voltage divider circuit may be used to divide the voltage across the first capacitor and the second capacitor to obtain a first voltage waveform and a second voltage waveform after voltage division.
[0216] S1002: The processor controls the first capacitor and the second capacitor to switch between a first state or a second state, wherein the first state may be, but is not limited to, the first capacitor is charged and the second capacitor is discharged, and the second state may be, but is not limited to, the first capacitor is discharged and the second capacitor is charged.
[0217] Specifically, a control signal may be sent to a switch tube or a relay connected to the first capacitor and the second capacitor to control the first capacitor and the second capacitor to switch between the first state and the second state.
[0218] It should be understood that since the first capacitor and the second capacitor are connected in series and are connected between the positive and negative electrodes of the power supply of the device to be detected, when the first capacitor and the second capacitor are both discharged, the voltage across the first capacitor and the voltage across the second capacitor are small, while the voltage between the positive and negative electrodes of the power supply in the device to be detected is high, which may cause the first capacitor and the second capacitor to break down at this time, causing leakage. Therefore, the first capacitor and the second capacitor will not be closed or disconnected at the same time.
[0219] S1003: The processor calculates the first capacitor voltage characteristic value at different times within a set time period before the current moment based on the first voltage waveform acquired at the current moment; and calculates the second capacitor voltage characteristic value at different times within a set time period before the current moment based on the second voltage waveform acquired at the current moment. The first capacitor voltage characteristic value may be, but is not limited to, the time constant of the first capacitor and / or the voltage waveform state of the first capacitor. The second capacitor voltage characteristic value may be, but is not limited to, the time constant of the second capacitor or the voltage waveform state of the second capacitor.
[0220] It should be noted that the calculation process of the voltage characteristic value has been described in detail in the embodiments of the present application, and will not be repeated here in the present application.
[0221] S1004: The processor determines a next switching time according to the first capacitor voltage characteristic values at different times and / or the second capacitor voltage characteristic values at different times.
[0222] Specifically, any two adjacent voltage characteristic values of the first capacitor voltage characteristic values at different moments are compared, and / or any two adjacent voltage characteristic values of the second capacitor voltage characteristic values at different moments are compared; when it is determined that the difference between any two adjacent voltage characteristic values is greater than a preset error threshold, the current moment is determined as the next switching moment; and when it is determined that any two adjacent voltage characteristic values are less than or equal to the preset error threshold, the time constant of the first capacitor and / or the time constant of the second capacitor are determined, and the next switching moment is determined based on the time constant of the first capacitor and / or the time constant of the second capacitor.
[0223] For example, if the characteristic value of the first capacitor voltage is a time constant, the average value of the characteristic values of the first capacitor voltage at different times is used as the time constant of the first capacitor.
[0224] S1005: The processor controls the first capacitor and the second capacitor to switch states when the next switching moment is reached.
[0225] Specifically, a control instruction is sent to a switch tube or a relay connected to the first capacitor and the second capacitor, so as to control the switch tube or the relay to control the first capacitor and the second capacitor to switch states.
[0226] Specifically, after the processor controls the first capacitor and the second capacitor to switch states when the next switching moment is reached, the processor can continue to obtain the first voltage waveform and the second voltage waveform, and continue to obtain the first voltage waveform and the second voltage waveform to determine the resistance value of the first resistor and the resistance value of the second resistor. The first resistor is the insulation resistance between the positive pole of the power supply and the ground, and the second resistor is the insulation resistance between the negative pole of the power supply and the ground. The resistance value of the first resistor and the resistance value of the second resistor are used to determine whether an insulation resistance fault occurs.
[0227] Specifically, when it is determined that any two adjacent voltage characteristic values are less than or equal to a preset error threshold, the resistance value of the first resistor and the resistance value of the second resistor do not change, and the first voltage value and the second voltage value corresponding to the first voltage waveform and the second voltage waveform of the first capacitor and the second capacitor at each switching moment are recorded; and when it is determined that the difference between any two adjacent voltage characteristic values is greater than the preset error threshold, it is determined that the resistance value of the first resistor and the resistance value of the second resistor have changed, the first voltage value and the second voltage value recorded before the current moment are deleted, and the first voltage value and the second voltage value corresponding to the first voltage waveform and the second voltage waveform of the first capacitor and the second capacitor at each subsequent switching moment are re-recorded; the resistance value of the first resistor and the resistance value of the second resistor are determined using the recorded first voltage value and the second voltage value.
[0228] For example, when it is determined that the resistance value of the first resistor or the resistance value of the second resistor is less than the first preset insulation threshold, it is determined that the current resistance value of the first resistor and the resistance value of the second resistor cannot meet the insulation requirements of the device to be detected. In order to ensure the operational safety of the device to be detected and the life safety of the operator, a shutdown instruction is sent to the device to be detected, and the shutdown instruction is used to instruct the device to be detected to disconnect the power supply and the load. Among them, the first preset insulation threshold can be set according to the insulation resistance requirements of the device to be detected, and this application will not be described in detail here.
[0229] It should be understood that when it is determined that the resistance value of the first resistor and the resistance value of the second resistor have changed at the current moment, and the first voltage waveform and the second voltage waveform obtained before the current moment cannot calculate the resistance value of the first resistor and the resistance value of the second resistor, the current moment can be determined as the next switching moment, so as to obtain the voltage waveform corresponding to the resistance value of the first resistor and the resistance value of the second resistor as soon as possible, and use the obtained voltage waveform to calculate the resistance value of the first resistor and the resistance value of the second resistor, so that when the resistance value of the first resistor and the resistance value of the second resistor cannot meet the insulation resistance requirement of the device to be detected, the connection between the power supply and the load of the device to be detected can be disconnected, thereby avoiding the occurrence of electric shock accidents and ensuring the safe operation of the device to be detected.
[0230] Next, combine Figure 4 The circuit shown in FIG. 1 is used to explain in detail the calculation process of the resistance value of the first resistor and the resistance value of the second resistor.
[0231] In some embodiments of the present application, if the resistance value of the first resistor and the resistance value of the second resistor change before the current moment, the states of the first capacitor and the second capacitor can be switched, and the first voltage value and the second voltage value U1 corresponding to each switching moment in the first voltage waveform and the second voltage waveform can be obtained after the state switching. st , U2 st , U1′ st and U2 ′ st .
[0232] Since U1 st , U2 st , U1′ st and U2 ′ st The value is known, and the collected U1 st , U2 st , U1′ st and U2 ′ st are the voltages at both ends of the first capacitor and the second capacitor after voltage division. Therefore, it is necessary to first st The value of U2 st The value of U1′ st The value of U2 ′ st The value of is converted into the voltage across the first capacitor and the voltage across the second capacitor. Since the first capacitor and the second capacitor are connected between the positive and negative electrodes of the power supply of the device to be detected, the following formula can be obtained:
[0233]
[0234]
[0235] Among them, VHV is the voltage between the positive pole of the power supply of the device to be detected and the negative pole of the power supply. The resistance of R5 can be the same as that of R8, and the resistance of R6 and R7 can be the same. By combining the above two equations, the theoretical steady-state voltage values of the first acquisition voltage and the second acquisition voltage can be obtained:
[0236]
[0237]
[0238] Similarly, when the first capacitor and the second capacitor are in the second state, the relationship between the steady-state values of the first voltage and the second voltage and the resistance is calculated.
[0239]
[0240]
[0241] The steady-state values U1 of the first voltage and the second voltage obtained when the first capacitor and the second capacitor are in the first state and the second state st ,,U2 st , U1′ st , U2′ st , you can find the values of R1 and R2:
[0242]
[0243]
[0244] After calculating the resistance value of the first resistor and the resistance value of the second resistor, when it is determined that the resistance value of the first resistor or the resistance value of the second resistor is less than the first preset insulation threshold, the processor determines that the current resistance value of the first resistor and the resistance value of the second resistor cannot meet the insulation resistance requirement of the device to be detected, and sends a shutdown instruction to the device to be detected, where the shutdown instruction is used to instruct the device to be detected to disconnect the power supply and the load.
[0245] It should be understood that when any resistance of the first resistor or the second resistor changes, it will affect the safe operation of the device to be detected. Therefore, in order to reduce the amount of calculation, the parallel resistance of the first resistor and the second resistor representing the insulation condition of the device to be detected can be directly calculated.
[0246] Specifically, after the first time constant τ1 and the second time constant τ2 are calculated by the above formula, since the resistance of the charge and discharge path includes the parallel resistance of the first resistor and the second resistor and the resistance of the insulation resistance detection circuit, when the resistance of the insulation resistance detection circuit is known, the parallel resistance of the first resistor and the second resistor can be calculated.
[0247] Specifically, the parallel resistance of the first resistor and the second resistor can be calculated by charging and discharging a Y capacitor in the power supply of the device to be detected.
[0248] Among them, the above-mentioned embodiment of the present application has introduced the calculation process of using the Y capacitor to calculate the parallel resistance of the first resistor and the second resistor, and the present application will not give a detailed introduction here.
[0249] After calculating the parallel resistance of the first resistor and the second resistor, when determining that the parallel resistance is less than the second preset insulation threshold, the processor determines that the parallel resistance of the first resistor and the second resistor cannot meet the insulation requirements of the device to be detected. In order to ensure the operational safety of the device to be detected and the life safety of the operator, a shutdown instruction is sent to the device to be detected, and the shutdown instruction is used to instruct the device to be detected to disconnect the power supply and the load. Among them, the second preset insulation threshold can be set according to the insulation resistance requirements of the device to be detected, and this application will not be described in detail here.
[0250] based on Fig.10 For the description, please refer to Fig.11 The flowchart of the method for detecting insulation resistance is shown in FIG. 2. Next, taking the method of determining the next switching time according to the characteristic value of the first capacitor voltage at different times as an example, the detection process of insulation resistance is described in detail.
[0251] S1101: Acquire a first voltage waveform and a second voltage waveform.
[0252] S1102: Using the first voltage waveform acquired at the current moment, calculate the first capacitor voltage characteristic values at different moments within a set time period before the current moment.
[0253] S1103: Use the first capacitor voltage characteristic value at different times to detect whether the resistance value of the first resistor and the resistance value of the second resistor change. If so, execute S1104; otherwise, execute S1106.
[0254] S1104: Determine the current time as the next switching time.
[0255] S1105: Delete the first voltage value and the second voltage value stored at the current moment.
[0256] S1106: When it is determined that the resistance value of the first resistor has not changed, calculate the time constant of the first capacitor, and calculate the next switching time using the time constant of the first capacitor.
[0257] S1107: When the next switching moment is reached, the states of the first capacitor and the second capacitor are switched.
[0258] S1108: Store the first voltage value and the second voltage value at the current moment.
[0259] S1109: Check whether the number of the stored first voltage values and second voltage values reaches four, if so, execute S1110, otherwise execute S1101.
[0260] S1110 , calculating the resistance value of the first resistor and the resistance value of the second resistor using the stored first voltage value and the stored second voltage value.
[0261] Based on the same technical concept, Fig.12 As shown, the embodiment of the present application further provides an insulation resistance detection device, the insulation resistance detection device 1200. In one design, the insulation resistance detection device 1200 may include an acquisition unit 1201, a processing unit 1202, and a calculation unit 1203.
[0262] The acquisition unit 1201 can be used to acquire a first voltage waveform and a second voltage waveform. The first voltage is the voltage across the first capacitor between the positive pole of the power supply and the ground in the device to be detected, and the second voltage is the voltage across the second capacitor between the negative pole of the power supply and the ground. The processing unit 1202 can be used to control the first capacitor and the second capacitor to switch between a first state or a second state. The first state is that the first capacitor is charged and the second capacitor is discharged, and the second state is that the first capacitor is discharged and the second capacitor is charged. The calculation unit 1203 can be used to calculate the first capacitor voltage characteristic value at different times within a set time length before the current moment based on the first voltage waveform acquired by the acquisition unit 1201 at the current moment; and calculate the second capacitor voltage characteristic value at different times within a set time length before the current moment based on the second voltage waveform acquired by the acquisition unit 1201 at the current moment.
[0263] The processing unit 1202 can also be used to determine the next switching moment of the first capacitor and the second capacitor according to the first capacitor voltage characteristic value at different moments and / or the second capacitor voltage characteristic value at different moments output by the calculation unit 1203, and control the first capacitor and the second capacitor to switch states when the next switching moment is reached.
[0264] The second voltage waveform is obtained, and the characteristic values of the second capacitor voltage at different times within a set time period before the current time are calculated.
[0265] The acquisition unit 1201 is also used to: after controlling the first capacitor and the second capacitor to switch states when reaching the next switching moment, continue to acquire the first voltage waveform and the second voltage waveform. The processing unit 1202 is also used to determine the resistance value of the first resistor and the resistance value of the second resistor according to the first voltage waveform and the second voltage waveform that the acquisition unit 1201 continues to acquire. The first resistor is the insulation resistance between the positive pole of the power supply and the ground, and the second resistor is the insulation resistance between the negative pole of the power supply and the ground. The resistance value of the first resistor and the resistance value of the second resistor are used to determine whether an insulation resistance fault occurs.
[0266] Optionally, the processing unit 1202 is specifically used to: compare any two adjacent voltage characteristic values of the first capacitor voltage characteristic values at different times, and / or compare any two adjacent voltage characteristic values of the second capacitor voltage characteristic values at different times; when it is determined that the difference between any two adjacent voltage characteristic values is greater than a preset error threshold, determine the current moment as the next switching moment; and when it is determined that any two adjacent voltage characteristic values are less than or equal to a preset error threshold, determine the time constant of the first capacitor and / or the time constant of the second capacitor, and determine the next switching moment based on the time constant of the first capacitor and / or the time constant of the second capacitor.
[0267] Optionally, the processing unit 1202 is specifically used to: when it is determined that any two adjacent voltage characteristic values are less than or equal to a preset error threshold, record the first voltage value and the second voltage value corresponding to the first voltage waveform and the second voltage waveform of the first capacitor and the second capacitor at each switching moment; and when it is determined that the difference between any two adjacent voltage characteristic values is greater than a preset error threshold, delete the first voltage value and the second voltage value recorded before the current moment, and re-record the first voltage value and the second voltage value corresponding to the first voltage waveform and the second voltage waveform of the first capacitor and the second capacitor at each subsequent switching moment; use the recorded first voltage value and the second voltage value to determine the resistance value of the first resistor and the resistance value of the second resistor.
[0268] Optionally, the processing unit 1202 is further used to: when it is determined that the resistance of the first resistor or the resistance of the second resistor is less than a first preset insulation threshold, send a shutdown instruction to the device to be detected, and the shutdown instruction is used to instruct the device to be detected to disconnect the power supply from the load.
[0269] Optionally, the processing unit 1202 is also used to: determine the parallel resistance of the first resistor and the second resistor based on the first voltage waveform and the second voltage waveform continued to be acquired by the acquisition unit 1201; when it is determined that the parallel resistance is less than a second preset insulation threshold, send a shutdown command to the device to be detected, and the shutdown command is used to instruct the device to be detected to disconnect the power supply and the load.
[0270] Optionally, the first capacitor voltage characteristic value includes one or more of the following: the time constant of the first capacitor and the voltage waveform state of the first capacitor; the second capacitor voltage characteristic value includes one or more of the following: the time constant of the second capacitor and the voltage waveform state of the second capacitor; the waveform state of the first capacitor characterizes the fluctuation trend of the voltage across the first capacitor, and the waveform state of the second capacitor characterizes the waveform trend across the second capacitor.
[0271] The division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present application may be integrated into a processor, or may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0272] An embodiment of the present application provides a computer-readable storage medium storing a computer program, wherein the computer program includes instructions for executing the above method embodiment.
[0273] An embodiment of the present application provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the above method embodiment.
[0274] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0275] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0276] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0277] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0278] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0279] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. An insulation resistance detection circuit, characterized in that: include: A state control unit, a first voltage dividing branch, a second voltage dividing branch and a processor; The state control unit is connected across the positive electrode and the negative electrode of the power supply of the device to be detected, and the state control unit is used to switch between a first state or a second state under the control of the processor. When the state control unit is in the first state, the first capacitor is charged and the second capacitor is discharged. When the state control unit is in the second state, the first capacitor is discharged and the second capacitor is charged. The first capacitor is a capacitor between the positive electrode of the power supply and the ground, and the second capacitor is a capacitor between the negative electrode of the power supply and the ground. The first voltage dividing branch is used to be connected in parallel with the first capacitor, and is used to divide the voltage across the first capacitor to obtain a first voltage waveform; The second voltage dividing branch is used to be connected in parallel with the second capacitor, and is used to divide the voltage across the second capacitor to obtain a second voltage waveform; The processor is connected to the state control unit, the first voltage dividing branch and the second voltage dividing branch respectively, and is used to: calculate the first capacitor voltage characteristic values at different times within a set time period before the current time according to the first voltage waveform obtained at the current time; and calculating, based on the second voltage waveform obtained at the current moment, characteristic values of the second capacitor voltage at different moments within the set time period before the current moment; And according to the first capacitor voltage characteristic value at different times and / or the second capacitor voltage characteristic value at different times, the next switching time is determined, and the state control unit is controlled to perform state switching when the next switching time is reached.
2. The circuit according to claim 1, characterized in that The processor is further configured to: Determine the resistance value of the first resistor and the resistance value of the second resistor according to the first voltage waveform and the second voltage waveform obtained in the first state and the second state after reaching the next switching moment; The first resistor is the insulation resistance between the positive electrode of the power supply and the ground, the second resistor is the insulation resistance between the negative electrode of the power supply and the ground, and the resistance value of the first resistor and the resistance value of the second resistor are used to determine whether an insulation resistance fault occurs.
3. The circuit according to claim 1 or 2, characterized in that The state control unit comprises: a first switch unit and a second switch unit; A first end of the first switch unit is connected to the positive electrode of the power supply, and a second end of the first switch unit is connected to the ground; The second end of the second switch unit is connected to the negative electrode of the power supply, and the second end of the second switch unit is connected to the ground; When the first switch unit is closed and the second switch unit is open, the state control unit is in the first state; when the first switch unit is open and the second switch unit is closed, the state control unit is in the second state.
4. The circuit according to claim 3, characterized in that The first switch unit includes: a first switch and a third resistor; A first end of the third resistor is connected to the positive electrode of the power supply, and a second end of the third resistor is connected to the first end of the first switch; The second end of the first switch is connected to the ground, and the control end of the first switch is connected to the processor.
5. The circuit according to claim 3, characterized in that The second switch unit includes: a second switch and a fourth resistor; A first end of the second switch is connected to the ground, a second end of the second switch is connected to the first end of the fourth resistor, and a control end of the second switch is connected to the processor; The second end of the fourth resistor is connected to the negative electrode of the power supply.
6. The circuit according to claim 1 or 2, characterized in that The first voltage dividing branch includes: a fifth resistor and a sixth resistor; One end of the fifth resistor is connected to the positive electrode of the power supply, and the second end of the fifth resistor is connected to the first end of the sixth resistor and the processor respectively; A second end of the sixth resistor is connected to the ground and the processor.
7. The circuit according to claim 1 or 2, characterized in that The second voltage dividing branch includes: a seventh resistor and an eighth resistor; The first end of the seventh resistor is connected to the ground and the processor, and the second end of the seventh resistor is connected to the first end of the eighth resistor and the processor respectively; The second end of the eighth resistor is connected to the negative electrode of the power supply.
8. The circuit according to claim 2, characterized in that The circuit further includes: a ninth resistor and a third switch; The first end of the ninth resistor is connected to the positive electrode of the power supply and the processor respectively, the second end of the ninth resistor is connected to the first end of the third switch and the processor respectively, and the resistance of the ninth resistor is less than a preset threshold; The second end of the third switch is connected to the ground, and the control end of the third switch is connected to the processor; The processor is further used to: control the third switch to be closed and opened; When the processor determines the resistance value of the first resistor and the resistance value of the second resistor according to the first voltage waveform and the second voltage waveform obtained in the first state and the second state after reaching the next switching moment, it is specifically used to: Based on the first voltage waveform obtained in the first state and the second state after reaching the next switching moment, the obtained second voltage waveform, and the voltage waveform across the ninth resistor when the third switch is closed, the parallel resistance of the first resistor and the second resistor is calculated, and the parallel resistance is used to determine whether an insulation resistance fault occurs.
9. A monitoring device for a high voltage system, characterized in that: include: A switch module, an alarm module, a communication module and an insulation resistance detection circuit as described in any one of claims 1 to 8; The switch module is used to connect between the power supply and the load of the high voltage system; The insulation resistance detection circuit is connected to the communication module, and is used to detect the resistance value of a first resistor between the positive electrode of the power supply and the ground and the resistance value of a second resistor between the negative electrode of the power supply and the ground, and send the resistance value of the first resistor and the resistance value of the second resistor to the communication module; The communication module is connected to the alarm module, and the communication module is used to notify the alarm module to sound an alarm when it is determined that the resistance value of the first resistor or the resistance value of the second resistor is less than a first preset resistance threshold; and control the switch module to disconnect when the resistance value of the first resistor or the resistance value of the second resistor is less than a second preset resistance threshold.
10. A method for detecting insulation resistance, characterized in that: include: Acquire a first voltage waveform corresponding to a first capacitor and a second voltage waveform corresponding to a second capacitor, wherein the first capacitor is a capacitor between a positive electrode of a power supply of the device to be detected and a ground, and the second capacitor is a capacitor between a negative electrode of the power supply and the ground; Controlling the first capacitor and the second capacitor to switch between a first state or a second state, wherein the first state is that the first capacitor is charged and the second capacitor is discharged, and the second state is that the first capacitor is discharged and the second capacitor is charged; Calculating, based on the first voltage waveform acquired at the current moment, first capacitor voltage characteristic values at different moments within a set time period before the current moment; and calculating, based on the second voltage waveform acquired at the current moment, characteristic values of the second capacitor voltage at different moments within the set time period before the current moment; Determining a next switching time according to the first capacitor voltage characteristic values at different times and / or the second capacitor voltage characteristic values at different times; When the next switching moment is reached, the first capacitor and the second capacitor are controlled to switch states.
11. The method according to claim 10, characterized in that After controlling the first capacitor and the second capacitor to switch states when the next switching moment is reached, the method further includes: Continue to acquire the first voltage waveform and the second voltage waveform; Based on the first voltage waveform and the second voltage waveform that are continuously acquired, the resistance value of the first resistor and the resistance value of the second resistor are determined, the first resistor is the insulation resistance between the positive pole of the power supply and the ground, the second resistor is the insulation resistance between the negative pole of the power supply and the ground, and the resistance value of the first resistor and the resistance value of the second resistor are used to determine whether an insulation resistance failure occurs.
12. The method according to claim 11, characterized in that The determining the next switching time according to the first capacitor voltage characteristic value at the different time and / or the second capacitor voltage characteristic value at the different time comprises: Comparing any two adjacent voltage characteristic values of the first capacitor voltage characteristic values at different moments, and / or comparing any two adjacent voltage characteristic values of the second capacitor voltage characteristic values at different moments; When it is determined that the difference between any two adjacent voltage characteristic values is greater than a preset error threshold, determining the current moment as the next switching moment; and When it is determined that any two adjacent voltage characteristic values are less than or equal to the preset error threshold, the time constant of the first capacitor and / or the time constant of the second capacitor are determined, and the next switching moment is determined based on the time constant of the first capacitor and / or the time constant of the second capacitor.
13. The method according to claim 12, characterized in that The step of determining the resistance value of the first resistor and the resistance value of the second resistor according to the first voltage waveform and the second voltage waveform that are continuously acquired includes: When it is determined that any two adjacent voltage characteristic values are less than or equal to the preset error threshold, recording a first voltage value and a second voltage value corresponding to the first voltage waveform and the second voltage waveform at each switching moment of the first capacitor and the second capacitor; and When it is determined that the difference between any two adjacent voltage characteristic values is greater than a preset error threshold, the first voltage value and the second voltage value recorded before the current moment are deleted, and the first voltage value and the second voltage value corresponding to the first voltage waveform and the second voltage waveform of the first capacitor and the second capacitor at each subsequent switching moment are re-recorded; The resistance value of the first resistor and the resistance value of the second resistor are determined by using the recorded first voltage value and the recorded second voltage value.
14. The method according to any one of claims 11 to 13, characterized in that The method further comprises: When it is determined that the resistance of the first resistor or the resistance of the second resistor is less than a first preset insulation threshold, a shutdown instruction is sent to the device to be detected, wherein the shutdown instruction is used to instruct the device to be detected to disconnect the power supply from the load.
15. The method according to any one of claims 11 to 13, characterized in that After continuing to acquire the first voltage waveform and the second voltage waveform, the method further includes: Determining the parallel resistance of the first resistor and the second resistor according to the first voltage waveform and the second voltage waveform that are continuously acquired; When it is determined that the parallel resistance is less than the second preset insulation threshold, a shutdown instruction is sent to the device to be detected, where the shutdown instruction is used to instruct the device to be detected to disconnect the power supply from the load.
16. The method according to any one of claims 10 to 13, characterized in that The first capacitor voltage characteristic value includes one or more of the following: a time constant of the first capacitor and a voltage waveform state of the first capacitor; The second capacitor voltage characteristic value includes one or more of the following: a time constant of the second capacitor and a voltage waveform state of the second capacitor; The waveform state of the first capacitor represents a fluctuation trend of the voltage across the first capacitor, and the waveform state of the second capacitor represents a waveform trend of the voltage across the second capacitor.
17. An insulation resistance detection device, characterized in that: include: Acquisition unit, processing unit and calculation unit; The acquisition unit is used to acquire a first voltage waveform corresponding to a first capacitor and a second voltage waveform corresponding to a second capacitor, wherein the first capacitor is a capacitor between a positive electrode of a power supply in the device to be detected and a ground, and the second capacitor is a capacitor between a negative electrode of the power supply and the ground; The processing unit is used to control the first capacitor and the second capacitor to switch between a first state or a second state, wherein the first state is that the first capacitor is charged and the second capacitor is discharged, and the second state is that the first capacitor is discharged and the second capacitor is charged; The calculation unit is used to calculate the first capacitor voltage characteristic values at different times within a set time period before the current time according to the first voltage waveform acquired by the acquisition unit at the current time; and calculating the second capacitor voltage characteristic values at different times within the set time period before the current moment according to the second voltage waveform acquired by the acquisition unit at the current moment; The processing unit is further used to determine the next switching time according to the first capacitor voltage characteristic value at different times and / or the second capacitor voltage characteristic value at different times output by the calculation unit; And when the next switching moment is reached, the first capacitor and the second capacitor are controlled to switch states.
18. The device according to claim 17, characterized in that The acquisition unit is further used for: after controlling the first capacitor and the second capacitor to switch states when the next switching moment is reached, continuing to acquire the first voltage waveform and the second voltage waveform; The processing unit is also used to determine the resistance value of the first resistor and the resistance value of the second resistor based on the first voltage waveform and the second voltage waveform continued to be acquired by the acquisition unit, the first resistor being the insulation resistance between the positive pole of the power supply and the ground, and the second resistor being the insulation resistance between the negative pole of the power supply and the ground, and the resistance value of the first resistor and the resistance value of the second resistor being used to determine whether an insulation resistance fault occurs.
19. The device according to claim 18, characterized in that The processing unit is specifically used for: Comparing any two adjacent voltage characteristic values of the first capacitor voltage characteristic values at different moments, and / or comparing any two adjacent voltage characteristic values of the second capacitor voltage characteristic values at different moments; When it is determined that the difference between any two adjacent voltage characteristic values is greater than a preset error threshold, determining the current moment as the next switching moment; as well as When it is determined that any two adjacent voltage characteristic values are less than or equal to the preset error threshold, the time constant of the first capacitor and / or the time constant of the second capacitor are determined, and the next switching moment is determined based on the time constant of the first capacitor and / or the time constant of the second capacitor.
20. The device according to claim 19, characterized in that The processing unit is specifically used for: When it is determined that any two adjacent voltage characteristic values are less than or equal to the preset error threshold, recording a first voltage value and a second voltage value corresponding to the first voltage waveform and the second voltage waveform at each switching moment of the first capacitor and the second capacitor; and When it is determined that the difference between any two adjacent voltage characteristic values is greater than a preset error threshold, the first voltage value and the second voltage value recorded before the current moment are deleted, and the first voltage value and the second voltage value corresponding to the first voltage waveform and the second voltage waveform at each subsequent switching of the first capacitor and the second capacitor are re-recorded; The resistance value of the first resistor and the resistance value of the second resistor are determined by using the recorded first voltage value and the recorded second voltage value.
21. The device according to any one of claims 18 to 20, characterized in that The processing unit is also used for: When it is determined that the resistance of the first resistor or the resistance of the second resistor is less than a first preset insulation threshold, a shutdown instruction is sent to the device to be detected, wherein the shutdown instruction is used to instruct the device to be detected to disconnect the power supply from the load.
22. The device according to any one of claims 18 to 20, characterized in that The processing unit is also used for: Determining the parallel resistance of the first resistor and the second resistor according to the first voltage waveform and the second voltage waveform that are continuously acquired; When it is determined that the parallel resistance is less than the second preset insulation threshold, a shutdown instruction is sent to the device to be detected, where the shutdown instruction is used to instruct the device to be detected to disconnect the power supply from the load.
23. The device according to any one of claims 17 to 20, characterized in that The first capacitor voltage characteristic value includes one or more of the following: the time constant of the first capacitor and the voltage waveform state of the first capacitor; the second capacitor voltage characteristic value includes one or more of the following: the time constant of the second capacitor and the voltage waveform state of the second capacitor; The waveform state of the first capacitor represents a fluctuation trend of the voltage across the first capacitor, and the waveform state of the second capacitor represents a waveform trend of the voltage across the second capacitor.
24. A computer-readable storage medium, characterized in that: The computer storage medium stores computer-readable instructions. When the computer-readable instructions are executed on a computer, the method according to any one of claims 10 to 16 is executed.
