Detection circuit and method, high-voltage switching circuit and method and test equipment
By designing a detection circuit including a control module, an isolation module, a high-voltage capacitor and a diode in a high-voltage circuit, directly measuring the on-off state of the relay, solving the problem of detecting blind spots and high-voltage burning in the prior art, realizing the high-voltage environment fault detection.
Patent Information
- Application Number
- CN202411268772.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2024-11-29
Smart Images

Figure CN119044749A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of high voltage detection technology, and in particular to a detection circuit and method, a high voltage switching circuit and method, and a testing device. Background Art
[0002] In high-voltage circuit design, relays are often used as switching switches to achieve switching between different high-voltage drive channels. Especially in power chip test equipment equipped with high-voltage test items, it is usually necessary to switch the drive channels to achieve different tests, such as short-circuit test, double pulse test, etc. Usually, when switching test items, the test channels also need to be adaptively switched, such as matching different test channels for high-voltage test and low-voltage test. When the voltage value provided by the drive channel is higher than the upper limit of the voltage tolerance of the test channel, the test channel is in danger of burning, causing damage to the test equipment. In this way, if the relay has a contact adhesion failure, when the drive channel is switched, the first drive channel continues to apply high voltage, which will burn the equipment. If the relay fails to attract or other failures, the power-on test cannot be performed. To avoid this problem, it is necessary to confirm whether the relay is normal before each high-voltage switch.
[0003] In related technologies, commonly used relay detection is mainly divided into two methods: direct measurement and indirect measurement:
[0004] When indirect measurement is used, a dual-channel relay is generally selected, with one channel used as the drive and the other as the detection channel. Problems caused by relay control (such as coil burnout, control circuit failure) can be accurately detected. However, problems such as contact adhesion (mostly caused by live operation at the drive end) and poor contact are the blind spots of this solution.
[0005] When direct measurement is used, the voltage at both ends of the relay is generally detected directly through a certain detection circuit to determine whether the relay is normal. The detection circuit is generally in a low-voltage scenario. When the relay is in a high-voltage DC scenario, the direct measurement solution needs to pay extra attention to the detection circuit not being burned by the high voltage. This results in the direct measurement solution only being able to perform detection in a stopped and static state, and not during the working process of the relay. The timeliness and coverage of fault detection need to be improved.
[0006] Therefore, technicians in this field now urgently need a detection circuit to solve the problems existing in the above-mentioned indirect measurement scheme and direct measurement scheme. Summary of the invention
[0007] The purpose of the present application is to provide a detection circuit and method, a high-voltage switching circuit and method, and a testing device to solve the problems existing in the above-mentioned indirect measurement scheme and direct measurement scheme.
[0008] In order to solve the above technical problems, the present application provides a detection circuit, comprising: a control module, a first isolation module, a second isolation module, a high-voltage capacitor and a diode; wherein the withstand voltage level of the high-voltage capacitor is greater than the driving voltage value of the relay;
[0009] The input end of the first isolation module is connected to the detection signal output end of the control module, and the output end of the first isolation module is connected to the second end of the high-voltage capacitor; the first end of the high-voltage capacitor is connected to the first end of the relay; the second end of the relay is connected to the cathode of the diode and the input end of the second isolation module; the anode of the diode is grounded; the output end of the second isolation module is connected to the detection signal input end of the control module.
[0010] In a possible embodiment, the first isolation module and the second isolation module are optical coupling isolation modules;
[0011] Wherein, the input end of the first isolation module corresponds to the positive electrode of the optocoupler isolation module, and the output end of the first isolation module corresponds to the emitter of the optocoupler isolation module;
[0012] The cathode of the first isolation module is grounded, and the collector of the first isolation module is connected to the anode of the power supply;
[0013] The input end of the second isolation module corresponds to the positive electrode of the optocoupler isolation module, and the output end of the second isolation module corresponds to the collector of the optocoupler isolation module;
[0014] A cathode of the second isolation module is grounded, and an emitter of the second isolation module is grounded.
[0015] In a possible embodiment, it further includes: an overvoltage protection circuit;
[0016] Wherein, the overvoltage protection circuit is arranged between the relay and the first isolation module and the second isolation module.
[0017] In a possible embodiment, the overvoltage protection circuit is a voltage regulator tube or a TVS tube;
[0018] Among them, the cathode of the voltage regulator / TVS tube is connected to the second end of the high-voltage capacitor, and the anode of the voltage regulator / TVS tube is connected to the cathode of the diode, the second end of the relay and the input end of the second isolation module.
[0019] To solve the above technical problems, the present application also provides a high-voltage switching circuit, comprising: a plurality of energy storage branches connected in parallel in a loop where an external power source and a pulse load are located;
[0020] Wherein, each of the energy storage branches comprises: a relay, an energy storage module, and the detection circuit as described above;
[0021] The relay is connected in series with the energy storage module, and the detection circuit is connected to both ends of the relay;
[0022] In different energy storage branches, the energy storage modules have different voltage resistance levels.
[0023] In a possible embodiment, each of the energy storage modules is composed of N energy storage capacitors with the same capacitance value connected in series;
[0024] Wherein, N is a positive integer; different energy storage branches correspond to different N values;
[0025] The withstand voltage level of the energy storage capacitor is the greatest common divisor of the withstand voltage levels corresponding to the energy storage branches.
[0026] In order to solve the above technical problems, the present application also provides a detection method, which is applied to the detection circuit or high-voltage switching circuit as described above, comprising:
[0027] Outputting a detection signal of a preset frequency to the first end of the relay;
[0028] Acquiring a current signal at the second end of the relay;
[0029] Whether the relay is faulty is determined according to whether the frequencies of the current signal and the detection signal are consistent.
[0030] In a possible embodiment, outputting a detection signal of a preset frequency to the first end of the relay includes:
[0031] Generate the detection signal with the preset frequency through a first timer, and output it to the first end of the relay;
[0032] The determining whether the relay is faulty according to whether the frequencies of the current signal and the detection signal are consistent comprises:
[0033] Based on the counting function of the timer, the number of signal cycles passed by the current signal is counted by a second timer;
[0034] determining the frequency of the current signal according to the count value and the count duration of the second timer;
[0035] It is determined whether the frequency of the current signal is consistent with the frequency of the detection signal to determine whether the relay is faulty.
[0036] In order to solve the above technical problems, the present application also provides a high-voltage switching method, which is applied to the high-voltage switching circuit as described above, comprising:
[0037] Obtain target bus voltage;
[0038] According to the target bus voltage, determining an energy storage branch whose corresponding withstand voltage level is higher than or equal to the target bus voltage as a target energy storage branch;
[0039] The relay corresponding to the target energy storage branch is turned on, and the relays corresponding to other energy storage branches are turned off.
[0040] In order to solve the above technical problems, the present application also provides a testing device for electrical performance testing of a power chip, including a host computer and the detection circuit or high-voltage switching circuit as described above.
[0041] The present application provides a detection circuit that uses direct measurement to detect the on-off status of relay contacts. Specifically, a specific detection signal is output to the first end of the relay through the control module. If the contacts of the relay are closed normally, the detection signal can be returned to the control module through the relay; that is, when the detection signal is received, it means that the relay is closed; otherwise, it means that the relay is disconnected; based on this and combined with the current on-off status of the relay, it can be determined whether the relay is faulty. It can be seen that this circuit uses direct measurement to detect whether the relay is faulty, so it can overcome the detection blind spot problem existing in indirect measurement.
[0042] In addition, this circuit includes a high-voltage capacitor with a withstand voltage level higher than the relay drive voltage. Through the characteristics of the capacitor passing AC and resisting DC, the DC high voltage in the driving part of the relay is blocked from entering the detection circuit, thereby protecting the detection circuit from being able to achieve normal detection functions in a high-voltage environment, that is, the relay fault detection can be achieved during the operation of the relay. At the same time, through the AC characteristics of the capacitor, it can be ensured that the frequency and other characteristics of the detection signal can be input into the relay through the high-voltage capacitor, and returned to the control module through the other end of the relay, so that the control module can determine whether the relay is faulty based on whether the detection signal is received, thereby completing the detection purpose.
[0043] The detection method, high-voltage switching circuit and method, and testing equipment provided in this application correspond to the above-mentioned detection circuit and have the same effect as above. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0045] Figure 1 A structural diagram of a detection circuit provided by an embodiment of the present invention;
[0046] Figure 2 A structural diagram of a high-voltage switching circuit provided by an embodiment of the present invention;
[0047] Figure 3 A flow chart of a detection method provided by an embodiment of the present invention;
[0048] Figure 4 A flow chart of a high voltage switching method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0050] The core of this application is to provide a detection circuit and method, a high-voltage switching circuit and method, and a testing device.
[0051] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0052] In the related art, there are two solutions for relay fault detection in high-voltage circuits: indirect detection and direct detection. Among them, indirect detection has a detection blind spot, and cannot accurately detect faults such as contact adhesion and poor contact. Direct detection does not have this problem, but because direct detection requires direct connection to the relay, it has to consider the problems caused by the high-voltage scenario in which the relay works.
[0053] Specifically, since a high voltage difference may occur between the two ends of the relay during the test, the detection circuit directly connected to the relay may be burned out. Therefore, when the direct detection scheme is currently adopted, the detection can only be performed when the relay is stopped and static, and cannot be performed during the working process of the relay, and the detection effect is still insufficient.
[0054] To solve the above problems, the present application provides a detection circuit 10, such as Figure 1 As shown, it includes: a control module 101, a first isolation module 102, a second isolation module 103, a high-voltage capacitor 104 and a diode 105; wherein the withstand voltage level of the high-voltage capacitor 104 is greater than the driving voltage value of the relay 11;
[0055] The input end of the first isolation module 102 is connected to the detection signal output end of the control module 101, and the output end of the first isolation module 102 is connected to the second end of the high-voltage capacitor 104; the first end of the high-voltage capacitor 104 is connected to the first end (K1_a) of the relay 11; the second end (K1_b) of the relay 11 is connected to the cathode of the diode 105 and the input end of the second isolation module 103; the anode of the diode 105 is grounded; the output end of the second isolation module 103 is connected to the detection signal input end of the control module 101.
[0056] It should be noted that the present application does not limit the specific implementation of the control module 101, the first isolation module 102 and the second isolation module 103. For example, for the control module 101, it needs to have the output function of a specific detection signal and the function of judging whether the detection signal is received. According to the different detection signals or other needs, a microcontroller unit (MCU), a central processing unit (CPU), a programmable logic controller (PLC) and other control devices can be selected to implement, and a suitable implementation scheme can be selected according to actual needs. For the first isolation module 102 and the second isolation module 103, they can be implemented by optical coupling isolation, magnetic coupling isolation and other methods, and a suitable implementation scheme can be selected according to actual needs.
[0057] It should also be noted that in the present detection circuit 10, a certain degree of isolation is achieved through the first isolation module 102, the second isolation module 103 and the high-voltage capacitor 104. Figure 1 As shown, when the detection circuit 10 is connected to the relay 11, the circuit can be divided into three partitions: a high-voltage drive area where the relay 11 is located, a detection circuit area where other components of the detection circuit 10 except the control module 101 are located, and a low-voltage digital area where the control module 101 is located. The high-voltage drive area and the detection circuit area are separated by the first end of the high-voltage capacitor 104, and the detection circuit area and the low-voltage digital area are separated by the first isolation module 102 and the second isolation module 103.
[0058] In the detection circuit 10, a specific detection signal is output to one end (i.e., the first end) of the relay 11 through the control module 101; if the relay 11 is normally closed, the detection signal can be normally transmitted to the other end (i.e., the second end) of the relay 11 through the relay 11; conversely, if the relay 11 is disconnected, the detection signal cannot be transmitted to the second end of the relay 11 through the relay 11. Based on this, the control module 101 can determine whether the relay 11 is currently in an open state or a closed state by determining whether the detection signal is collected at the second end of the relay 11.
[0059] Furthermore, after the control module 101 directly detects the current on-off state of the relay 11, combined with the on-off state that the relay 11 should currently be in (which can be achieved by obtaining the control signal of the relay 11), it can be determined whether the relay 11 is in a fault. For example, if it is determined that the current relay 11 should be in a closed state, but the control module 101 does not receive the detection signal, it means that the relay 11 may have problems such as failure to attract. Similarly, if it is determined that the current relay 11 should be in an open state, but the control module 101 receives the detection signal, it means that the relay 11 may have problems such as contact adhesion.
[0060] In addition, the present application also does not impose strict restrictions on the specific form of the detection signal, and different detection signals can be selected according to different actual needs. However, it should be noted that the detection signal requires at least one signal feature that can be recognized by the control module 101, and the signal feature will not be affected by the AC-DC characteristics of the high-voltage capacitor 104. For example, the signal feature can be frequency. In addition, when the detection signal is pulse width modulation (PWM), the signal feature can also be a duty cycle and other features.
[0061] In summary, a detection circuit 10 provided by the present application detects whether the relay 11 is faulty by direct detection, outputs a specific detection signal to one end of the relay 11, and determines whether the detection signal is collected at the other end of the relay 11, thereby determining the current closed or closed state of the relay 11, and then realizing the detection of whether the relay 11 is faulty. In particular, the detection circuit 10 realizes the fault detection of the relay 11 by direct detection, which can avoid the detection blind spot existing in the indirect measurement method. In addition, the detection circuit 10 also blocks the DC high voltage on the relay 11 side from entering the detection circuit 10 through the AC-DC characteristics of the high-voltage capacitor 104, and on the other hand, allows part of the signal features in the detection signal to be transmitted to the relay 11 side, so that the detection circuit 10 can still realize the fault detection of the relay 11 when the relay 11 is in the working state, thereby expanding the application scenario of the fault detection and bringing better fault detection effect.
[0062] On the other hand, the above embodiment does not limit the specific implementation of the first isolation module 102 and the second isolation module 103. This embodiment provides a possible implementation scheme of the first isolation module 102 and the second isolation module 103. Figure 1 As shown: the first isolation module 102 and the second isolation module 103 are optical coupling isolation modules.
[0063] Among them, the input end of the first isolation module 102 corresponds to the positive pole of the optocoupler isolation module, and the output end of the first isolation module 102 corresponds to the emitter of the optocoupler isolation module; the negative pole of the first isolation module 102 is grounded, and the collector of the first isolation module 102 is connected to the positive pole of the power supply; the input end of the second isolation module 103 corresponds to the positive pole of the optocoupler isolation module, and the output end of the second isolation module 103 corresponds to the collector of the optocoupler isolation module; the negative pole of the second isolation module 103 is grounded, and the emitter of the second isolation module 103 is grounded.
[0064] It should be noted that the above circuit structure does not completely limit the circuit structure of the first isolation module 102 and the second isolation module 103. For example, when one end of the optocoupler isolation module is connected to the positive pole of the power supply, it is generally connected to the positive pole of the power supply through a resistor to protect the device. Similarly, when one end of the optocoupler isolation module is grounded and connected to other devices, it also needs to be grounded through a resistor to avoid direct grounding of the ports of other devices connected to this end.
[0065] like Figure 1 As shown, the first isolation module 102 includes, in addition to the optical coupling isolation module U1, a first resistor R1, a second resistor R2 and a third resistor R3. The first resistor R1 is arranged between the collector of the first isolation module 102 and the positive power supply F_VCC; the second resistor R2 is arranged between the emitter of the first isolation module 102 and the ground, and the second end of the high-voltage capacitor 104 is directly connected to the emitter of the first isolation module 102; the third resistor R3 is arranged between the positive electrode of the first isolation module 102 and the detection signal output end of the control module 101.
[0066] Similarly, in addition to the optical coupler isolation module U2, the second isolation module 103 also includes a fourth resistor R4, which is disposed between the collector of the second isolation module 103 and the positive power supply F_VCC, and the collector of the second isolation module 103 is directly connected to the detection signal input terminal of the control module 101.
[0067] Based on the first isolation module 102 and the second isolation module 103 provided in this embodiment, the isolation between the control module 101 and the relay 11 can be achieved. At the same time, the optocoupler isolation module will not affect the frequency of the passing signal, that is, when the detection signal uses frequency as a signal feature, the optocoupler isolation module will not affect the fault detection function of the detection circuit 10. Further, based on the setting of the second isolation module 103 in this embodiment, the second isolation module 103 can convert the current signal at the second end of the relay 11 into a voltage signal that can be recognized by most control modules 101 such as MCU, so as to further reduce the restrictions on the control module 101, making the detection circuit 10 easier to implement.
[0068] Further, based on the above embodiment, combined with Figure 1 The principle of relay 11 fault detection implemented by this circuit is explained as follows:
[0069] Based on the AC-DC characteristics of the high-voltage capacitor 104, the AC part of the detection signal is retained. When the frequency is used as the signal feature, one cycle of the detection signal corresponds to a charging and discharging process of the high-voltage capacitor 104. Specifically, when the output end of the first isolation module 102 outputs a high level (equivalent to when the transistor in the optocoupler isolation module is turned on), the second end of the high-voltage capacitor 104 is connected to a high level; and the first end of the high-voltage capacitor 104 is grounded through the relay 11 and the diode 105 in the second isolation module 103, which is equivalent to the second end of the high-voltage capacitor 104 being connected to a low level; at this time, a potential difference is formed at both ends of the high-voltage capacitor 104, that is, the high-voltage capacitor 104 is charged. When the output end of the first isolation module 102 outputs a low level (equivalent to the transistor in the optocoupler isolation module being turned off and the high-voltage capacitor 104 being grounded through the second resistor), the second end of the high-voltage capacitor 104 is equivalent to being connected to a low level; and because energy is stored in the high-voltage capacitor 104, a negative voltage will appear at the first end of the high-voltage capacitor 104; at this time, the diode 105 is forward-conducted, and the energy of the high-voltage capacitor 104 will be discharged to the ground through the diode 105.
[0070] Based on the above-mentioned energy charging and discharging process of the high-voltage capacitor 104, when the high-voltage capacitor 104 is charged, the current flows from the high-voltage capacitor 104 to the second isolation module 103, and when the high-voltage capacitor 104 is discharged, the current is equivalent to flowing to the high-voltage capacitor 104 through the diode 105, and at this time, the second isolation module 103 is reversely cut off. That is, the detection signal output by the control module 101 drives the conduction and cutoff of the first isolation module 102, and the conduction and cutoff of the first isolation module 102 affect the charging and discharging of the high-voltage capacitor 104. The charging and discharging of the high-voltage capacitor 104 drives the conduction and cutoff of the second isolation module 103, and the conduction and cutoff of the second isolation module 103 affect the control module 101 to receive a high level or a low level signal. Based on this, the frequency characteristics of the detection signal can be returned to the control module 101 through the first isolation module 102, the high-voltage capacitor 104, the relay 11, and the second isolation module 103 to achieve the purpose of detecting whether the contacts of the relay 11 are closed.
[0071] It should also be noted that, based on the above principle, when the first isolation module 102 and the second isolation module 103 are selected as optocoupler isolation modules, and the signal characteristic is selected as the signal frequency, the second isolation module 103 also has the effect of converting the current signal (frequency part) at the second end of the relay 11 into a voltage signal (frequency part) that can be directly recognized by common control modules 101 such as MCU, thereby further simplifying the requirements for the control module 101.
[0072] On the other hand, based on the detection circuit 10 provided in the above embodiment, this embodiment also provides a preferred implementation scheme, wherein the detection circuit 10 further includes: an overvoltage protection circuit 106;
[0073] The overvoltage protection circuit 106 is disposed between the relay 11 and the first isolation module 102 and the second isolation module 103 .
[0074] It should be noted that the detection circuit 10 provided in this embodiment can protect the control module 101 and other devices working in the low-voltage digital area from being burned by the high voltage to a certain extent through the AC resistance characteristics of the high-voltage capacitor 104. However, other devices in the drive circuit may be damaged when the relay 11 jumps between the low voltage and the high voltage. In order to solve this problem, the present embodiment adds an overvoltage protection circuit 106 in the detection circuit 10 to prevent the relay 11 from damaging the detection circuit 10 when the high and low voltage jumps, thereby further improving the safety and reliability of the detection circuit 10.
[0075] Furthermore, in the above embodiments, there is no restriction on the specific form of the overvoltage protection circuit 106. Currently, there are many mature technical solutions for the overvoltage protection circuit 106, which can be freely selected according to actual needs. This embodiment provides a possible implementation scheme of the overvoltage protection circuit 106:
[0076] The overvoltage protection circuit 106 is a voltage regulator or a transient voltage suppressor diode TVS (Transient Voltage Suppressor, TVS).
[0077] The cathode of the voltage regulator / TVS tube is connected to the second end of the high-voltage capacitor 104, and the anode of the voltage regulator / TVS tube is connected to the cathode of the diode 105, the second end of the relay 11 and the input end of the second isolation module 103. Figure 1 As shown, a TVS tube is used as the overvoltage protection circuit 106 to protect the detection circuit 10 from being damaged by the high and low voltage jump of the relay 11.
[0078] In this embodiment, the detection circuit 10 is protected by a voltage regulator or a TVS tube to prevent the detection circuit 10 from being damaged when a low voltage to high voltage or a high voltage to low voltage jump occurs at both ends of the relay 11. In order to better ensure the protection effect, the clamping voltage of the voltage regulator / TVS tube should be greater than the voltage of the positive electrode of the power supply.
[0079] On the other hand, the detection circuit 10 provided in the above embodiment can realize fault detection in high-voltage scenarios of the relay 11. A common high-voltage usage scenario of the relay 11 is that in test items such as short-circuit testing, it may be necessary to switch the test circuit, and the relay 11 can be used as a switching device to realize the switching control of the circuit.
[0080] In addition, another common application scenario of relay 11 in high-voltage scenarios is to connect the high-voltage energy storage area and switch to capacitors of different capacities as needed. This is because when performing dynamic testing, sometimes a momentary, particularly large current is required. This current is difficult to provide directly through a power supply, so it is generally necessary to use an energy storage capacitor. Relay 11 is a switch device used to control whether energy storage capacitors of different capacities are connected to the circuit.
[0081] For this application scenario, the capacitor will experience voltage drop when discharging. In the circuit design process, a permissible range of voltage drop is generally set, for example: 0~3%. In addition, since the bus voltage values in different scenarios are not necessarily the same in actual testing, the maximum permissible voltage drop values for different bus voltage values under the same permissible voltage drop range are also different; for example, if the 1000V bus voltage drops by 3%, the maximum permissible voltage drop value is 30V; if the 100V bus voltage drops by 3%, the maximum permissible voltage drop value is 3V.
[0082] Because the maximum discharge current Imax is fixed during design, the maximum discharge duration tmax is also fixed. If the voltage drops within the preset allowable range during the process of ensuring the current Imax duration tmax, then:
[0083] (1);
[0084] (2);
[0085] Among them, C is the capacitance value of the energy storage capacitor; Q is the charge; U is the drop voltage value; I is the discharge current; t is the discharge duration.
[0086] From the above formulas (1) and (2), we can deduce:
[0087] (3);
[0088] From formula (3), it can be seen that when I=Imax and t=tmax, the drop voltage value U is inversely proportional to the capacitance value C of the energy storage capacitor. Therefore, it can be concluded that when the bus voltage value is higher, the capacitance value of the energy storage capacitor is smaller, and vice versa.
[0089] Among them, Imax refers to the maximum test current allowed in the test scenario, or the maximum current related to the test current. Tmax refers to the longest test / power-on time allowed in the test scenario. For example, in the power chip test (known good die, KGD), the electrical performance of the corresponding single chip (Die) is tested by powering on the mold, and tmax is the longest mold closing time in the test scenario.
[0090] Since the volume of the energy storage capacitor is related to the capacitance value and the withstand voltage level; for the same withstand voltage level, the larger the capacitance value, the larger the volume; for the same capacitance value, the higher the withstand voltage level, the larger the capacitor volume. Therefore, how to make the volume of the energy storage capacitor as small as possible under the premise that the voltage drop meets the allowable range of the design has become one of the problems that technicians in this field need to solve urgently.
[0091] To solve this problem, the present application also provides a high voltage switching circuit, such as Figure 2 As shown, it includes: multiple energy storage branches 1 connected in parallel in the loop where the external power supply 2 and the pulse load 3 are located.
[0092] Each energy storage branch 1 includes: a relay 11, an energy storage module 12, and a detection circuit 10 as described in the above embodiment. The relay 11 is connected in series with the energy storage module 12, and the detection circuit 10 is connected to both ends of the relay 11. In different energy storage branches 1, the withstand voltage level of the energy storage module 12 is different.
[0093] It is easy to understand that the energy storage module 12 is a circuit module implemented by an energy storage capacitor, and the present embodiment does not limit the specific implementation scheme of the energy storage module 12; energy storage modules 12 with different withstand voltage levels can be implemented by energy storage capacitors with different withstand voltage levels; or based on a certain circuit structure or other devices, it is ensured that different energy storage modules 12 have different withstand voltage levels.
[0094] That is, this embodiment provides a high-voltage switching circuit, including multiple energy storage branches 1 with different withstand voltage levels, so as to meet the energy storage needs under different bus voltage values. The tester can select the appropriate energy storage branch 1 according to the bus voltage value required for the test, so as to make the volume of the energy storage capacitor connected to the circuit as small as possible while ensuring the allowable range of the drop voltage.
[0095] In addition, considering that in this high-voltage switching circuit, the access of the energy storage capacitor is controlled by the relay 11. If the relay 11 has a fault such as adhesion, it may happen that the low-range energy storage capacitor with a withstand voltage level lower than the DC bus voltage value is not disconnected from the access circuit, resulting in the voltage across the energy storage capacitor being greater than the maximum voltage it can withstand, causing an explosion and causing danger. To solve this problem, the high-voltage switching circuit also includes the detection circuit 10 provided in the above embodiment, which can be used to realize fault detection of the relay 11, thereby avoiding the occurrence of the above problem.
[0096] On the other hand, it can be seen from the above embodiments that in the design process of the above high-voltage switching circuit, an important design requirement is to make the volume of the energy storage capacitor as small as possible under the premise of meeting the design requirements (voltage drop within the allowable range).
[0097] In view of this, this embodiment further provides a preferred implementation scheme based on the high voltage switching circuit provided in the above embodiment. Figure 2 As shown:
[0098] Each energy storage module 12 is composed of N energy storage capacitors with the same capacitance value connected in series; wherein N is a positive integer; and different energy storage branches 1 correspond to different N values.
[0099] It should be noted that N can be 1. Based on the equivalent capacitance calculation formula when capacitors are connected in series and formula (3), it can be seen that the energy storage module 12 with N=1 has the lowest withstand voltage level, and the larger the N value, the higher the withstand voltage level of the energy storage module 12. Figure 2 The three energy storage branches 1 shown in the figure have energy storage modules 12 with energy storage capacitors of 1, 2, and 3, respectively. The withstand voltage level of each energy storage capacitor is 450V, and the withstand voltage levels of each energy storage module 12 are 450V, 900V, and 1350V, respectively. In addition, it should be noted that this embodiment does not limit the number of energy storage branches 1. Figure 2 The three energy storage branches 1 shown are only one possible implementation scheme.
[0100] That is, in this embodiment, an energy storage array including multiple energy storage branches 1 is provided, and the energy storage branch 1 can bring a higher withstand voltage level by connecting multiple energy storage capacitors in series. It can be seen from the principle that the higher the withstand voltage level of the above-mentioned energy storage capacitor is, the larger the capacitor volume is, that if energy storage modules 12 with different withstand voltage levels are realized by one energy storage capacitor, then a very large energy storage capacitor is required for the energy storage module 12 with a higher withstand voltage level, which is contrary to the design requirements. In this circuit, a higher withstand voltage level is obtained by connecting multiple energy storage capacitors in series, and based on the principle of capacitor structure, it can be seen that the volume increase brought about by the increase in the number of capacitors with the same capacitance is greater than the volume increase brought about by using one energy storage capacitor under the premise of the same withstand voltage level. Therefore, a high-voltage switching circuit provided in this embodiment can bring a smaller energy storage capacitor footprint to better meet the design needs of the high-voltage switching circuit.
[0101] Furthermore, for the selection of the capacitance of the minimum unit energy storage capacitor constituting each energy storage module 12 in the above embodiment, this embodiment also provides a possible implementation scheme, and the capacitance of the energy storage capacitor satisfies:
[0102] The withstand voltage level of the energy storage capacitor is the greatest common divisor of the corresponding withstand voltage levels of each energy storage branch 1.
[0103] Likewise Figure 2 Taking the high-voltage switching circuit shown as an example, it includes three energy storage branches 1, and the withstand voltage levels of each energy storage branch 1 are 450V, 900V, and 1350V respectively. Then the greatest common divisor of 450V, 900V, and 1350V is 450V, that is, the capacitance of the energy storage capacitor meets the requirement of the withstand voltage level of 450V. The specific calculation of the capacitance of the energy storage capacitor can be calculated based on formula (3) in the above embodiment, and this embodiment will not be repeated.
[0104] In this embodiment, the selection of the capacitance of the energy storage capacitor is further standardized. Based on the calculation of the greatest common divisor of the corresponding voltage resistance levels of each energy storage branch 1, the voltage resistance level requirements of each energy storage branch 1 can be met by a minimum number of energy storage capacitors that are integer multiples, so as to simplify the circuit structure and make the high-voltage switching circuit easier to implement.
[0105] On the other hand, according to the above-mentioned embodiments of the detection circuit 10, the detection circuit 10 needs to use the control module 101 to detect whether the relay 11 is faulty. And only two input / output terminals (IO terminals) of the control module 101 are needed to detect the fault of one relay 11. Common control modules 101 such as MCU usually have more than 2 IO terminals. Based on this, this embodiment further provides a possible implementation plan based on the above-mentioned embodiments:
[0106] The detection circuits 10 on each energy storage branch 1 in the high-voltage switching circuit share the same control module 101 .
[0107] That is, in order to further simplify the circuit structure and reduce the circuit cost, this embodiment reuses the same control module 101 to realize the fault detection of the relays 11 on multiple energy storage branches 1 in the high-voltage switching circuit. At the same time, reusing one control module 101 to realize the fault detection of multiple relays 11 is also conducive to the statistics and integration of fault diagnosis, reporting, reducing the data transmission cost, and more conducive to the realization of relay 11 fault detection in the high-voltage switching circuit scenario containing multiple relays 11.
[0108] Furthermore, in another possible embodiment, the detection signal used when different energy storage branches 1 are tested for faults may be the same, that is, each energy storage branch 1 may reuse the same detection signal output terminal of the control module 101 to further reduce the number of IO terminals occupied by the control module 101. However, it should be noted that in order to ensure the timeliness of fault detection of each relay 11 and reduce the possibility of danger, the detection signal input terminal connected to the control module 101 in the detection circuit 10 corresponding to each energy storage branch 1 is generally not reused. Otherwise, through time-division multiplexing, one detection signal input terminal can be used to realize fault detection of multiple relays 11.
[0109] In the above embodiments, a detection circuit and a high-voltage switching circuit are described in detail. The present application also provides an embodiment corresponding to a detection method. The detection method is applied to a detection circuit as provided in the above detection circuit part embodiment, or a high-voltage switching circuit as provided in the above high-voltage switching circuit part embodiment, such as Figure 3 As shown, including:
[0110] S11: Output a detection signal of a preset frequency to the first end of the relay.
[0111] S12: Obtain the current signal of the second terminal of the relay.
[0112] S13: Determine whether the relay is faulty based on whether the frequencies of the current signal and the detection signal are consistent.
[0113] It can be seen from the above-mentioned embodiments of the detection circuit part that the principle of the detection circuit to realize relay fault detection is to input a specific detection signal to one end of the relay through the control module; then the control module detects whether the detection signal can be received at the other end of the relay; if it is received, it means that the contacts of the relay are closed, otherwise it means that the contacts are open; further combined with the current control state of the relay, it can be determined whether the relay is faulty.
[0114] In the method provided in this embodiment, step S11 uses frequency as a signal feature and outputs a signal of a preset frequency as a detection signal. Step S12 is the process in which the control module receives the current signal at the second end of the relay through the second isolation module; wherein, from the above-mentioned embodiment of the detection circuit part, it can be known that when the second isolation module is an optocoupler isolation module, the second isolation module can convert the current signal into the form of a voltage signal that can be directly recognized by most control modules. At this time, step S13 is equivalent to comparing whether the frequency between the output detection signal and the received voltage signal is consistent, so as to determine the fault condition of the relay. Since the specific fault judgment logic has been described in detail in the above-mentioned detection circuit part embodiment, the specific embodiment can be referred to the above-mentioned detection circuit part embodiment, which will not be repeated here.
[0115] It should be noted that this method does not limit how the detection signal is generated and how the frequency of the current signal is obtained. There are currently a variety of methods for generating frequency-specific signals. For example, when the signal is a PWM signal, it can be obtained through a PWM signal generator. In addition, other waveform signals can also be obtained through corresponding waveform generators, and this embodiment does not limit this. In addition, for the acquisition of the frequency of the current signal, there are currently a variety of mature technical solutions to achieve one of the conventional parameters of the current signal - the acquisition of frequency. Including but not limited to: hardware solutions such as multimeter measurement, spectrum analyzer measurement, current sensor acquisition, and software solutions such as software algorithm processing.
[0116] In view of this, this embodiment provides a specific solution for generating a detection signal and obtaining the frequency of a current signal:
[0117] The above step S11 specifically includes: generating a detection signal with a preset frequency through a first timer, and outputting the detection signal to the first end of the relay.
[0118] In addition, the above step S13 specifically includes:
[0119] S131: Based on the counting function of the timer, the number of signal cycles of the current signal is counted by the second timer.
[0120] S132: Determine the frequency of the current signal according to the count value and count duration of the second timer.
[0121] S133: Determine whether the frequency of the current signal is consistent with the frequency of the detection signal to determine whether the relay is faulty.
[0122] It should be noted that this embodiment does not limit the size of the preset frequency and the specific signal form of the detection signal. For example, the detection signal can be a PWM signal with a frequency of 1 MHz, and the duty cycle of the PWM signal can be set arbitrarily as needed, such as 50%.
[0123] The first timer and the second timer mentioned above can be timers built into the control module. For example, as described in the above embodiment, when the control module is an MCU, a timer is generally built therein to implement functions such as timing and counting. Furthermore, the MCU can generate a square wave signal of a specific frequency (the specific signal type depends on the type and model of the MCU, and the square wave signal in this example is more common and easier to implement) as a detection signal through a timer (i.e., the first timer). The 1MHz PWM signal generated in the above example is also a square wave signal.
[0124] In addition, the timer has a counting function in addition to the timing function. Therefore, the MCU can count the number of signal cycles of the current signal received by the MCU through another timer (i.e., the second timer). Based on the statistical duration and the change of the count value within the statistical duration (when the count value is initially 0, it is the count value itself), the frequency of the counted signal can be determined, that is, the frequency of the current signal can be obtained to participate in the comparison in the subsequent step S133.
[0125] It should also be noted that, when the detection signal is a PWM signal, the second timer can obtain the frequency of the current signal by counting the number of high-level signals received within a unit time.
[0126] In summary, a detection method provided in this embodiment is applied to the detection circuit or high-voltage switching circuit provided in the above embodiment. Wherein, the high-voltage switching circuit also includes the detection circuit described in the above embodiment, and the fault condition of each relay can be detected before the test equipment is boosted, so as to avoid the danger of explosion caused by the faulty relay being connected to the circuit, thereby improving safety.
[0127] Furthermore, the detection method provided in the above embodiment mainly focuses on the fault detection of the relay, and is implemented based on the detection circuit provided in the above embodiment or the high-voltage switching circuit including the detection circuit. In addition, this embodiment also provides an implementation scheme of a high-voltage switching method from another perspective, which is applied to the high-voltage switching circuit provided in the above embodiment, such as Figure 4 As shown, the above method also includes:
[0128] S21: Obtain the target bus voltage.
[0129] S22: According to the target bus voltage, determine the energy storage branch whose corresponding withstand voltage level is higher than or equal to the target bus voltage as the target energy storage branch.
[0130] S23: Open the relay corresponding to the target energy storage branch and disconnect the relays corresponding to other energy storage branches.
[0131] It can be seen from the above-mentioned embodiments of the high-voltage switching circuit that different bus voltage values require different voltage resistance levels of the energy storage branch. If an energy storage branch with insufficient voltage resistance level is connected, there may be dangers such as explosion of the energy storage capacitor. Based on this, the method provides a detection process before boosting, first obtaining the target bus voltage of this boost, and determining the voltage resistance level that the energy storage array connected to the circuit needs to meet; then based on this, select an energy storage branch with a voltage resistance level higher than or equal to the target bus voltage value to connect to the circuit, that is, close the corresponding relay, provide energy storage function, and further ensure circuit safety.
[0132] It should be noted that when step S22 determines that there are multiple energy storage branches with corresponding withstand voltage levels higher than or equal to the target bus voltage, all energy storage branches that meet the conditions can be determined as target energy storage branches to make the overall capacitance value of the entire high-voltage switching circuit larger. However, if there are other special needs, only one or several energy storage branches that meet the conditions can be selected as target energy storage branches, and this embodiment does not limit this.
[0133] It should also be noted that there is no order restriction between steps S21 to S23 provided in this embodiment and steps S11 to S13 provided in the above embodiment. However, before the test equipment is officially boosted, both sets of processes need to be performed to ensure the boost safety of the test equipment.
[0134] On the other hand, the present embodiment also provides an embodiment corresponding to a test device, a test device, including a host computer, and the detection circuit or high-voltage switching circuit as described in the above embodiment. It is easy to understand that the test device provided by the present embodiment includes the detection circuit or high-voltage switching circuit provided by the above embodiment, so it has embodiments corresponding to the above detection circuit part embodiment and high-voltage switching circuit part embodiment, which can be specifically referred to the above embodiment, and will not be described in detail here.
[0135] However, it should be noted that, as can be seen from the above embodiments, a test device provided in this embodiment at least includes the detection circuit described in the above embodiments. That is, the fault detection of the relay under the high voltage environment that can be achieved by the detection circuit provided in the above embodiments can be realized. Therefore, the test device provided in this embodiment can be a KGD for power chip testing. In this application scenario, the test equipment may also include a transport mechanism and a chip testing mechanism. Among them, the chip testing mechanism includes a plurality of test positions, and each test position can realize a corresponding chip test item, such as the above-mentioned relay fault detection and other common chip test items.
[0136] In addition, if the test device provided in this embodiment includes a high-voltage switching circuit provided in the above embodiment, the high-voltage switching circuit can also be used to switch energy storage branches corresponding to different voltage levels. Furthermore, when each test position implements the corresponding chip test item, the high-voltage switching circuit can also meet the needs of the respective test voltages.
[0137] The above is a detailed introduction to a detection circuit and method, a high-voltage switching circuit and method, and a test device provided by the present application. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the present application.
[0138] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
Claims
1. A detection circuit, characterized in that: include: A control module, a first isolation module, a second isolation module, a high-voltage capacitor, and a diode; wherein the withstand voltage level of the high-voltage capacitor is greater than the driving voltage value of the relay; The input end of the first isolation module is connected to the detection signal output end of the control module, and the output end of the first isolation module is connected to the second end of the high-voltage capacitor; the first end of the high-voltage capacitor is connected to the first end of the relay; the second end of the relay is connected to the cathode of the diode and the input end of the second isolation module; the anode of the diode is grounded; and the output end of the second isolation module is connected to the detection signal input end of the control module.
2. The detection circuit according to claim 1, characterized in that The first isolation module and the second isolation module are optocoupler isolation modules; The input end of the first isolation module corresponds to the positive electrode of the optocoupler isolation module, and the output end of the first isolation module corresponds to the emitter of the optocoupler isolation module; The cathode of the first isolation module is grounded, and the collector of the first isolation module is connected to the positive electrode of the power supply; The input end of the second isolation module corresponds to the positive electrode of the optocoupler isolation module, and the output end of the second isolation module corresponds to the collector of the optocoupler isolation module; A cathode of the second isolation module is grounded, and an emitter of the second isolation module is grounded.
3. The detection circuit according to claim 1 or 2, characterized in that: Also includes: Overvoltage protection circuit; Wherein, the overvoltage protection circuit is arranged between the relay and the first isolation module and the second isolation module.
4. The detection circuit according to claim 3, characterized in that: The overvoltage protection circuit is a voltage regulator tube or a TVS tube; The cathode of the voltage regulator / TVS tube is connected to the second end of the high-voltage capacitor, and the anode of the voltage regulator / TVS tube is connected to the cathode of the diode, the second end of the relay and the input end of the second isolation module.
5. A high voltage switching circuit, characterized in that: include: Multiple energy storage branches connected in parallel in the circuit where the external power supply and the pulse load are located; Wherein, each of the energy storage branches comprises: a relay, an energy storage module, and a detection circuit according to any one of claims 1 to 4; The relay is connected in series with the energy storage module, and the detection circuit is connected to both ends of the relay; In different energy storage branches, the energy storage modules have different voltage resistance levels.
6. The high-voltage switching circuit according to claim 5, characterized in that: Each of the energy storage modules is composed of N energy storage capacitors with the same capacitance value connected in series; Wherein, N is a positive integer; different energy storage branches correspond to different N values; The withstand voltage level of the energy storage capacitor is the greatest common divisor of the corresponding withstand voltage levels of the energy storage branches.
7. A detection method, characterized in that: The detection circuit according to any one of claims 1 to 4, or the high-voltage switching circuit according to claim 5 or 6, comprising: outputting a detection signal of a preset frequency to the first terminal of the relay; obtaining a current signal at the second end of the relay; Whether the relay is faulty is determined based on whether the frequencies of the current signal and the detection signal are consistent.
8. The high-voltage switching circuit according to claim 7, wherein: Outputting a detection signal of a preset frequency to the first end of the relay includes: Generate the detection signal with the preset frequency through a first timer, and output it to the first end of the relay; The determining whether the relay is faulty according to whether the frequencies of the current signal and the detection signal are consistent includes: Based on the counting function of the timer, the number of signal cycles passed by the current signal is counted by the second timer; determining the frequency of the current signal according to the count value and count duration of the second timer; It is determined whether the frequency of the current signal is consistent with the frequency of the detection signal to determine whether the relay is faulty.
9. A high voltage switching method, characterized in that: The high-voltage switching circuit according to claim 5 or 6 further comprises: Get the target bus voltage; According to the target bus voltage, determining an energy storage branch having a corresponding withstand voltage level higher than or equal to the target bus voltage as a target energy storage branch; The relay corresponding to the target energy storage branch is opened, and the relays corresponding to the other energy storage branches are opened.
10. A test device for testing the electrical performance of a power chip, characterized in that: It includes a host computer, the detection circuit according to any one of claims 1 to 4, or the high-voltage switching circuit according to claim 5 or 6.
Citation Information
Cited By
Adhesion detection circuit suitable for multi-branch parallel relays and method
WO2026124557A1
