Soft and hard switch test method, device and equipment based on full-bridge circuit and medium
The test method based on the full-bridge circuit solves the problems of low efficiency and insufficient accuracy of soft and hard switch testing in the existing technology, achieves fast and highly sensitive on-resistance detection and data comparison, and supports online aging experiments.
Patent Information
- Application Number
- CN202410545874.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2024-08-23
AI Technical Summary
The existing technology cannot efficiently complete the soft and hard switch test in a short time, affects the measurement accuracy of the on-resistance, and cannot be tested online in the aging experiment.
Using a test method based on the full-bridge circuit, by obtaining the current test requirements of the switch to be tested, the number of control stages and the control parameters of each control stage are determined, and the first switch, the second switch, the third switch and the switch to be tested are tested respectively. Control to enable soft switching testing and/or hard switching testing. Specific steps include inductor charging, parasitic capacitance discharge and conduction state testing.
It achieves the detection of changes in dynamic on-resistance value in a shorter time and with higher sensitivity, and more clearly compares the test results with soft switching and hard switching data, solves the problem of on-resistance measurement accuracy, and supports online aging. experiment.
Smart Images

Figure CN118534305A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of test circuits, and in particular to a soft and hard switch test method, device, equipment and medium based on a full-bridge circuit. Background Art
[0002] In the related art, soft and hard switching circuits are usually measured using two different test circuits.
[0003] However, the soft and hard switch experiments of the related technology need to be carried out separately and cannot be completed efficiently in a short time. In addition, since the soft and hard switch circuits are measured using two different sets of test circuits, different circuits have an impact on the measurement accuracy of the on-resistance. In addition, the soft and hard switches of the related technology cannot be tested online in aging experiments, which urgently needs to be improved. Summary of the invention
[0004] The present application provides a soft and hard switch test method, device, equipment and medium based on a full-bridge circuit to solve the problems that the related technology cannot efficiently complete the soft and hard switch test in a short time and affects the measurement accuracy of the on-resistance.
[0005] In a first aspect, an embodiment of the present application provides a soft and hard switch test method based on a full-bridge circuit, wherein the full-bridge circuit includes an inductor, a first switch and a second switch connected in series, a third switch connected in series, and a switch to be tested, wherein one end of the inductor is electrically connected to a connection node between the first switch and the second switch, and the other end of the inductor is electrically connected to a connection node between the third switch and the switch to be tested, wherein the method includes the following steps:
[0006] Obtaining the current test requirement of the switch to be tested;
[0007] Determine the number of control stages and the control parameters of each control stage according to the current test requirements;
[0008] The first switch, the second switch, the third switch and the switch to be tested are controlled respectively according to the number of control stages and the control parameters of each control stage, so as to perform a soft switching test and / or a hard switching test on the switch to be tested.
[0009] According to one embodiment of the present application,
[0010] The controlling the first switch, the second switch, the third switch and the switch to be tested respectively according to the number of control stages and the control parameters of each control stage comprises:
[0011] Determine, according to the number of control stages and the control parameters of each control stage, the first switch control signal, the first switch control duration, the second switch control signal, the second switch control duration, the third switch control signal, the third switch control duration, the switch control signal to be tested and the switch control duration to be tested in each stage;
[0012] Based on the first switch control signal, the first switch control duration, the second switch control signal, the second switch control duration, the third switch control signal, the third switch control duration, the switch to be tested control signal and the switch to be tested control duration of each stage, the first switch, the second switch, the third switch and the switch to be tested are controlled respectively.
[0013] According to an embodiment of the present application, the current test requirement is a soft switch test requirement, and the first switch, the second switch control duration, the second switch control signal, the second switch control duration, the third switch control signal, the third switch control duration, the switch to be tested control signal and the switch to be tested control duration of each stage are respectively controlled, including:
[0014] In a first preset time period, controlling the second switch and the third switch to be in an on state, and controlling the first switch and the switch to be tested to be in an off state, so as to charge the inductor;
[0015] In a second preset time period, the first switch, the second switch, the third switch and the switch to be tested are all controlled to be in the off state, so as to discharge the parasitic capacitance of the drain of the switch to be tested and the source of the switch to be tested through the inductor, so that the voltage difference between the drain of the switch to be tested and the source of the switch to be tested drops to a preset value;
[0016] In a third preset time period, the switch to be tested is controlled to be in the on state, and a soft switching test is performed on the switch to be tested.
[0017] According to an embodiment of the present application, the current switch test requirement is the hard switch test requirement, and the first switch, the second switch control time, the second switch control signal, the second switch control time, the third switch control signal, the third switch control time, the switch to be tested control signal and the switch to be tested control time of each stage are respectively controlled, and further includes:
[0018] After controlling the switch to be tested to be in the on state during the third preset time period, controlling the first switch, the second switch, the third switch and the switch to be tested to be in the off state during a fourth preset time period;
[0019] In a fifth preset time period, the switch to be tested is controlled to be in the on state, and a hard switching test is performed on the switch to be tested.
[0020] According to one embodiment of the present application, when performing a hard switch test on the switch to be tested, the method further includes:
[0021] acquiring a target voltage difference between the drain of the switch to be tested and the source of the switch to be tested when the switch to be tested is in the on state;
[0022] Determine, according to the target voltage difference, a first target control signal and a first target dead time of the first switch, a second target control signal and a second target dead time of the second switch, a third target control signal and a third target dead time of the third switch, and a fourth target control signal and a fourth target dead time of the switch to be tested;
[0023] The first switch is controlled according to the first target control signal and the first target dead time, and the second switch is controlled according to the second target control signal and the second target dead time, and the third switch is controlled according to the third target control signal and the third target dead time, and the switch to be tested is controlled according to the fourth target control signal and the fourth target dead time. The target control signal and target dead time corresponding to each switch are controlled, and the corresponding switch is controlled according to the target control signal and target dead time corresponding to each switch.
[0024] According to the soft and hard switch test method based on the full-bridge circuit of the embodiment of the present application, the number of control stages and the control parameters of each control stage are determined according to the current test requirements of the switch to be tested; the first switch, the second switch, the third switch and the switch to be tested are controlled respectively according to the number of control stages and the control parameters of each control stage, so as to perform soft switch test and / or hard switch test on the switch to be tested. Thus, the problems that the related technology cannot efficiently complete the soft and hard switch test in a short time and affects the measurement accuracy of the on-resistance are solved, and the change of the dynamic on-resistance value can be detected in a shorter time, more easily and with higher sensitivity, and the test results can be more clearly compared with the soft switch and hard switch data.
[0025] A second aspect of the present application provides a soft and hard switch test device based on a full-bridge circuit, wherein the full-bridge circuit includes an inductor, a first switch and a second switch connected in series, a third switch connected in series, and a switch to be tested, one end of the inductor is electrically connected to a connection node between the first switch and the second switch, and the other end of the inductor is electrically connected to a connection node between the third switch and the switch to be tested, wherein the device includes:
[0026] An acquisition module, used for acquiring the current test requirement of the switch to be tested;
[0027] A determination module, used to determine the number of control stages and the control parameters of each control stage according to the current test requirements;
[0028] A testing module is used to control the first switch, the second switch, the third switch and the switch to be tested respectively according to the number of control stages and the control parameters of each control stage, so as to perform a soft switching test and / or a hard switching test on the switch to be tested.
[0029] According to one embodiment of the present application, the test module is used to:
[0030] Determine, according to the number of control stages and the control parameters of each control stage, the first switch control signal, the first switch control duration, the second switch control signal, the second switch control duration, the third switch control signal, the third switch control duration, the switch control signal to be tested and the switch control duration to be tested in each stage;
[0031] Based on the first switch control signal, the first switch control duration, the second switch control signal, the second switch control duration, the third switch control signal, the third switch control duration, the switch to be tested control signal and the switch to be tested control duration of each stage, the first switch, the second switch, the third switch and the switch to be tested are controlled respectively.
[0032] According to an embodiment of the present application, the current switch test requirement is the soft switch test requirement, and the test module is used to:
[0033] In a first preset time period, controlling the second switch and the third switch to be in an on state, and controlling the first switch and the switch to be tested to be in an off state, so as to charge the inductor;
[0034] In a second preset time period, the first switch, the second switch, the third switch and the switch to be tested are all controlled to be in the off state, so as to discharge the parasitic capacitance of the drain of the switch to be tested and the source of the switch to be tested through the inductor, so that the voltage difference between the drain of the switch to be tested and the source of the switch to be tested drops to a preset value;
[0035] In a third preset time period, the switch to be tested is controlled to be in the on state, and a soft switching test is performed on the switch to be tested.
[0036] According to an embodiment of the present application, the current switch test requirement is the hard switch test requirement, and the test module is further used to:
[0037] After controlling the switch to be tested to be in the on state during the third preset time period, controlling the first switch, the second switch, the third switch and the switch to be tested to be in the off state during a fourth preset time period;
[0038] In a fifth preset time period, the switch to be tested is controlled to be in the on state, and a hard switching test is performed on the switch to be tested.
[0039] According to one embodiment of the present application, when performing a hard switch test on the switch to be tested, the testing module is further used to:
[0040] acquiring a target voltage difference between the drain of the switch to be tested and the source of the switch to be tested when the switch to be tested is in the on state;
[0041] Determine, according to the target voltage difference, a first target control signal and a first target dead time of the first switch, a second target control signal and a second target dead time of the second switch, a third target control signal and a third target dead time of the third switch, and a fourth target control signal and a fourth target dead time of the switch to be tested;
[0042] The first switch is controlled according to the first target control signal and the first target dead time, and the second switch is controlled according to the second target control signal and the second target dead time, and the third switch is controlled according to the third target control signal and the third target dead time, and the switch to be tested is controlled according to the fourth target control signal and the fourth target dead time. The target control signal and target dead time corresponding to each switch are controlled, and the corresponding switch is controlled according to the target control signal and target dead time corresponding to each switch.
[0043] According to the soft and hard switch test device based on the full-bridge circuit of the embodiment of the present application, the number of control stages and the control parameters of each control stage are determined according to the current test requirements of the switch to be tested; the first switch, the second switch, the third switch and the switch to be tested are controlled respectively according to the number of control stages and the control parameters of each control stage, so as to perform soft switch test and / or hard switch test on the switch to be tested. Thus, the problems that the related technology cannot efficiently complete the soft and hard switch test in a short time and affects the measurement accuracy of the on-resistance are solved, and the change of the dynamic on-resistance value can be detected in a shorter time, more easily and with higher sensitivity, and the test results can be more clearly compared with the soft switch and hard switch data.
[0044] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the soft and hard switch testing method based on the full-bridge circuit as described in the above embodiment.
[0045] The fourth aspect of the present application provides a computer-readable storage medium on which a computer program is stored. The program is executed by a processor to implement the soft and hard switching test method based on the full-bridge circuit as described in the above embodiment.
[0046] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0048] Figure 1 A schematic diagram of a soft switching test circuit and key waveforms of the related technology;
[0049] Figure 2 A schematic diagram of a hard switching test circuit and key waveforms of the related art;
[0050] Figure 3 is a schematic diagram of a full-bridge circuit according to an embodiment of the present application;
[0051] Figure 4 A flowchart of a soft and hard switch testing method based on a full-bridge circuit provided according to an embodiment of the present application;
[0052] Figure 5 A schematic diagram of simulation results of soft and hard switching timing tests according to an embodiment of the present application;
[0053] Figure 6is a block diagram of a soft and hard switch testing device based on a full-bridge circuit according to an embodiment of the present application;
[0054] Figure 7 Schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0055] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0056] The following describes a soft and hard switch testing method, device, equipment and medium based on a full-bridge circuit according to an embodiment of the present application with reference to the accompanying drawings.
[0057] Before introducing the soft and hard switch testing method based on the full-bridge circuit according to the embodiment of the present application, a brief introduction is first given to dynamic resistance degradation and the soft and hard switch testing method in the related technology.
[0058] Dynamic resistance degradation (also known as current collapse) is a common reliability problem in planar GaN (gallium nitride) devices. It refers to the increase in device on-resistance and conduction loss caused by partial depletion of communication carriers caused by device surface trapping and heteroepitaxial layer body trapping in the switching state of GaN devices. In other words, after the GaN device is subjected to high voltage bias for a period of time and then switched to the on state, the actual on-voltage will be higher than the ideal value. Therefore, in order to compare the results of the two experimental tests, two test circuits need to be designed to determine whether the drain and source are in a high voltage state before the device is turned on: one is a hard switch test circuit in which a high voltage state is applied to the drain and source just before the device is turned on, and the other is a soft switch test circuit in which a high voltage state is not applied to the drain and source just before the device is turned on.
[0059] Furthermore, for GaN devices, the on-resistance value in the device manual is often under static conditions, which is usually 10%-90% lower than the dynamic resistance. Therefore, when designing a converter based on GaN devices, the actual loss is often higher than the theoretical calculated value.
[0060] The soft switching test and hard switching test proposed in the related art can be as follows Figure 1 and Figure 2 As shown, Figure 1 Schematic diagram of a soft switch test circuit and a soft switch test circuit control signal and related waveforms in the related art, wherein: Figure 1 (a) is the soft switching test circuit. Figure 1 (b) is the soft switching test circuit control signal and related waveform, Figure 2Schematic diagram of a hard switch test circuit and a hard switch test circuit control signal and related waveforms in the related technology, wherein: Figure 2 (a) is a hard switching test circuit. Figure 2 (b) is the control signal and related waveform of the hard switch test circuit. However, the two experiments of soft and hard switching in the above technology need to be carried out separately, which cannot be completed efficiently in a short time. In addition, since the soft and hard switching circuits are measured using two different test circuits, different circuits have an impact on the measurement accuracy of the on-resistance. In addition, the soft and hard switches cannot be tested online in the aging experiment.
[0061] Based on the above problems, the present application provides a soft and hard switch testing method based on a full-bridge circuit, which solves the problems that the related technology cannot efficiently complete the soft and hard switch test in a short time and affects the measurement accuracy of the on-resistance. It can detect the change of the dynamic on-resistance value in a shorter time, more easily and with higher sensitivity, and compare the test results of soft switching and hard switching data more clearly.
[0062] The following describes a soft and hard switch testing method based on a full-bridge circuit according to an embodiment of the present application.
[0063] In this embodiment, if Figure 3 As shown, the full-bridge circuit of the present application includes an inductor L1, a first switch M1 and a second switch M2 connected in series, a third switch M3 and a switch to be tested M4 connected in series, a second constant voltage source V2, a third constant voltage source V3, a fourth constant voltage source V4 and a fifth constant voltage source V5, one end of the inductor L1 is electrically connected to a connection node of the first switch M1 and the second switch M2, the other end of the inductor L1 is electrically connected to a connection node of the third switch M3 and the switch to be tested M4, one end of the second constant voltage source V2 is electrically connected to a connection node of the first switch M1, the other end of the second constant voltage source V2 is electrically connected to one end of the inductor L1 and a connection node of the second switch M2, one end of the third constant voltage source V3 is electrically connected to a connection node of the third switch M3, and the third constant voltage source V5 is electrically connected to a connection node of the third switch M3. The other end of V3 is electrically connected to the other end of the inductor L1 and the connection node of the switch to be tested M4, one end of the fourth constant voltage source V4 is electrically connected to the connection point of the second switch M2, the other end of the fourth constant voltage source V4 is electrically connected to the ground node and the other end of the fifth constant voltage source V5, one end of the fifth constant voltage source V5 is electrically connected to the switch to be tested M4, in addition, a first constant voltage source V1 and a DC support capacitor C1 are also provided outside the full bridge, one end of the first constant voltage source V1 is electrically connected to one end of the DC support capacitor C1, the other end of the first constant voltage source V1 is electrically connected to the other end of the DC support capacitor C1, one end of the DC support capacitor C1 is also electrically connected to the connection node of the first switch M1, and the other end of the DC support capacitor C1 is also electrically connected to the ground node.
[0064] It should be noted that the first switch M1, the second switch M2, the third switch M3 and the switch to be tested M4 in the full-bridge circuit of the embodiment of the present application can be a field effect transistor (such as a MOS tube) or a bipolar transistor (such as a triode), and any one of the four switch tubes can be used as a device under test and form a full-bridge structure of the test circuit with the other three switch tubes, which is not specifically limited here.
[0065] Therefore, the full-bridge circuit of the present application has added V2 and V4 in terms of devices compared to the hard switching circuit, and the circuit structure is also different; compared to the soft switching circuit, V2 and V4 are added, while Co1 and Co2 are reduced, which reduces the cost compared to the design schemes of the two circuits.
[0066] Specifically, Figure 4 A flowchart of a soft and hard switch testing method based on a full-bridge circuit is provided in an embodiment of the present application.
[0067] like Figure 4 As shown, the soft and hard switching test method based on the full-bridge circuit includes the following steps:
[0068] In step S401, the current test requirement of the switch to be tested is obtained.
[0069] Optionally, in some embodiments, the current test requirements of the switch to be tested include soft switching test requirements or hard switching test requirements. The soft switching process refers to the current or voltage first dropping to zero, and then the voltage or current slowly rising to the off-state value, so the switching loss is approximately zero. In the embodiment of the present application, it refers to the voltage dropping to zero first. The hard switching process refers to the current or voltage not dropping to zero, and the voltage or current has already started to rise. In the embodiment of the application, it refers to the current not dropping to zero.
[0070] In step S402, the number of control stages and the control parameters of each control stage are determined according to the current switch test requirement.
[0071] Specifically, the soft switch test requirements of the embodiment of the present application include the inductor charging stage, the inductor forward freewheeling stage, and the soft switch stage, and the hard switch test requirements include the inductor charging stage, the inductor forward freewheeling stage, the soft switch stage, the inductor reverse freewheeling stage, and the hard switch stage. Each stage has its specific control parameters, such as voltage, current, time, etc., and the control parameters of each stage can be set according to the specific requirements of the test.
[0072] In step S403, the first switch M1, the second switch M2, the third switch M3 and the switch to be tested M4 are controlled respectively according to the number of control stages and the control parameters of each control stage to perform a soft switching test and / or a hard switching test on the switch to be tested M4.
[0073] Specifically, the embodiment of the present application can control the first switch M1, the second switch M2, the third switch M3 and the switch to be tested M4 respectively according to the number of control stages and the control parameters of each control stage, so as to perform a soft switch test on the switch to be tested M4, or a hard switch test, or both a soft switch test and a hard switch test.
[0074] Further, in some embodiments, the first switch M1, the second switch M2, the third switch M3 and the switch to be tested M4 are controlled respectively according to the number of control stages and the control parameters of each control stage, including: determining the first switch M1 control signal, the first switch M1 control duration, the second switch M2 control signal, the second switch M2 control duration, the third switch M3 control signal, the third switch M3 control duration, the switch to be tested M4 control signal and the switch to be tested control duration of each stage according to the number of control stages and the control parameters of each control stage; and controlling the first switch M1, the second switch M2, the third switch M3 control signal, the third switch M3 control duration, the switch to be tested M4 control signal and the switch to be tested M4 control duration based on the first switch M1 control signal, the first switch M1 control duration, the second switch M2 control signal, the second switch M2 control duration, the third switch M3 control signal, the third switch M3 control duration, the switch to be tested M4 control signal and the switch to be tested M4 control duration of each stage.
[0075] It is understandable that different switch testing requirements may require different control signals and durations. Therefore, determining the control signal of each switch at each stage and the control duration of each stage according to the current test requirements is the key to ensuring the effectiveness of the test.
[0076] Specifically, according to the test requirements and the number of control stages, for each control stage, the control signal (i.e., on or off) and control duration of the first switch M1, the second switch M2, the third switch M3, and the switch to be tested M4 are determined respectively, and then according to the control signal and control duration determined in each stage, the state and switching time of each switch are accurately controlled through a control signal driver or a similar mechanism. For example, in the inductor charging stage, the first switch M1 and the switch to be tested M4 are turned off, while the second switch M2 and the third switch M3 are turned on, and a specific charging time needs to be set.
[0077] Therefore, by implementing precise control signals and duration for each switch at each stage, it can be ensured that the test process is carried out strictly in accordance with the preset parameters, ensuring stability and consistency during the test process, thereby improving the reliability and accuracy of the test.
[0078] Furthermore, in some embodiments, Figure 3As shown, the current switch test requirement is a soft switch test requirement, and the first switch M1, the second switch M2, the third switch M3 and the switch to be tested M4 are controlled respectively based on the first switch M1 control signal, the first switch M1 control duration, the second switch M2 control signal, the second switch M2 control duration, the third switch M3 control signal, the third switch M3 control duration, the switch to be tested M4 control signal and the switch to be tested M4 control duration in each stage, including: in a first preset time period, controlling the second switch M2 and the third switch M3 to be in a conducting state, and controlling The first switch M1 and the switch to be tested M4 are controlled to be in the off state to charge the inductor L1; in the second preset time period, the first switch M1, the second switch M2, the third switch M3 and the switch to be tested M4 are controlled to be in the off state to discharge the parasitic capacitance of the drain of the switch to be tested M4 and the source of the switch to be tested M4 through the inductor L1, so that the voltage difference between the drain of the switch to be tested M4 and the source of the switch to be tested M4 drops to a preset value; in the third preset time period, the switch to be tested M4 is controlled to be in the on state, and a soft switching test is performed on the switch to be tested M4.
[0079] Wherein, the preset value is 0V, and the first preset time period, the second preset time period and the third preset time period can be time periods preset by those skilled in the art, can be time periods obtained through a limited number of experiments, or can be time periods obtained through computer simulation, which are not specifically limited here. Preferably, the first preset time period can be 10ns-30ns, the second preset time period can be 30ns-100ns, and the third preset time period can be 100ns-200ns.
[0080] Specifically, in the first preset time period (ie, the inductor charging stage), the second switch M2 and the third switch M3 are controlled to be in the on state, and the first switch M1 and the switch to be tested M4 are controlled to be in the off state, so as to charge the inductor L1, wherein the current direction is from right to left.
[0081] Further, in the second preset time period (i.e., the inductor forward freewheeling stage), in the dead time, the first switch M1, the second switch M2, the third switch M3 and the switch to be tested M4 are all controlled to be in the off state, and the current through the inductor L1 discharges the parasitic capacitance of the drain of the switch to be tested M4 and the source of the switch to be tested M4, so that the voltage difference Vds between the drain of the switch to be tested M4 and the source of the switch to be tested M4 decreases, and when the voltage difference Vds decreases to 0V, reverse conduction begins.
[0082] Furthermore, since the voltage difference Vds between the drain of the switch to be tested M4 and the source of the switch to be tested M4 has dropped to 0V when the driving signal of the switch to be tested M4 arrives in the second preset time period, the switch to be tested M4 is controlled to be in the on state during the third preset time period (i.e., the soft switching stage), the switch to be tested M4 is soft-turned on, and a soft switching test is performed on the switch to be tested M4.
[0083] Furthermore, in some embodiments, Figure 3 As shown, the current switch test requirement is a hard switch test requirement, and the first switch M1, the second switch M2, the third switch M3 and the switch M4 to be tested are controlled respectively based on the first switch M1 control signal, the first switch M1 control duration, the second switch M2 control signal, the second switch M2 control duration, the third switch M3 control signal, the third switch M3 control duration, the switch M4 to be tested control signal and the switch M4 to be tested control duration in each stage, and further comprising: after controlling the switch M4 to be tested to be in the on state in the third preset time period, in the fourth preset time period, controlling the first switch M1, the second switch M2, the third switch M3 and the switch M4 to be tested to be in the off state; in the fifth preset time period, controlling the switch M4 to be tested to be in the on state, and performing a hard switch test on the switch M4 to be tested.
[0084] The fourth preset time period and the fifth preset time period may be time periods preset by those skilled in the art, may be time periods obtained through a limited number of experiments, or may be time periods obtained through computer simulation, and are not specifically limited herein. Preferably, the fourth preset time period may be 200ns-300ns, and the fifth preset time period may be 300ns-400ns.
[0085] Specifically, after controlling the switch to be tested M4 to be in the on state in the third preset time period, in the fourth preset time period (i.e., the inductor reverse freewheeling stage), the first switch M1, the second switch M2, the third switch M3 and the switch to be tested M4 are all controlled to be in the off state. At this time, the freewheeling current of the inductor L1 decreases, and the current direction is from left to right.
[0086] Further, in the fifth preset time period (i.e., the hard switching stage), at this time, the voltage difference Vds between the drain of the switch to be tested M4 and the source of the switch to be tested M4 has not dropped to 0V, the switch to be tested M4 is controlled to be in the on state, the switch to be tested M4 is hard-turned on, and a hard switching test is performed on the switch to be tested M4.
[0087] Therefore, when the current direction of the inductor L1 is controlled to the left or the current is 0 at the turn-on time, the switch M4 to be tested is soft-turned on; when the current direction of the inductor L1 is controlled to the right, the switch M4 to be tested is hard-turned on, realizing soft and hard switching through different control strategies.
[0088] Further, in some embodiments, when the hard switch test is performed on the switch to be tested M4, the method further includes: obtaining a target voltage difference between the drain of the switch to be tested M4 and the source of the switch to be tested M4 when the switch to be tested M4 is in the on state; determining a first target control signal and a first target dead time of the first switch M1, a second target control signal and a second target dead time of the second switch M2, a third target control signal and a third target dead time of the third switch M3, and a fourth target control signal and a fourth target dead time of the switch to be tested M4 according to the target voltage difference; controlling the first switch M1 according to the first target control signal and the first target dead time, controlling the second switch M2 according to the second target control signal and the second target dead time, controlling the third switch M3 according to the third target control signal and the third target dead time, and controlling the switch to be tested M4 according to the fourth target control signal and the fourth target dead time; determining the target control signal and the target dead time corresponding to each switch, and controlling the corresponding switch according to the target control signal and the target dead time corresponding to each switch.
[0089] Among them, the target control signal is a target duty cycle signal, and the target dead time refers to a time interval used to avoid overlapping of the upper and lower bridge arms (or high-side and low-side power transistors) being turned on or off.
[0090] Optionally, in the embodiment of the present application, a target voltage difference between the drain of the switch to be tested M4 and the source of the switch to be tested M4 when the switch to be tested M4 is in the on state may be obtained by a voltage difference sensor, which is not specifically limited herein.
[0091] Specifically, by obtaining the target voltage difference between the drain of the switch to be tested M4 and the source of the switch to be tested M4 when the switch to be tested M4 is in the on state, the duty cycle control signals and dead time corresponding to the first switch M1, the second switch M2, the third switch M3 and the switch to be tested M4 can be determined respectively. By controlling the corresponding switches according to the duty cycle control signals and dead time corresponding to each switch, it can be ensured that the test conditions match the actual working state of the switch, thereby improving the accuracy and reliability of the test.
[0092] Furthermore, the switching timing simulation results can be obtained through the above steps. Figure 5 As shown in the figure, by analyzing the switching timing simulation results, Figure 5 The 100ns-200ns pulse in the figure is the soft switching test waveform. Figure 5 The 300ns-400ns pulse in the figure is a hard switching test waveform. Figure 5The black waveform in the figure is the driving signal for controlling the second switch M2 and the third switch M3, the blue waveform is the driving signal for controlling the first switch M1 and the switch to be tested M4, the green waveform is the voltage difference Vds signal between the drain of the switch to be tested M4 and the source of the switch to be tested M4, and the red waveform is the current signal of the inductor L1.
[0093] Specifically, at the moment of pulse 1, the switch to be tested M4 realizes soft switch opening, and at the moment of pulse 2, the switch to be tested M4 realizes hard switch opening, that is, under the same test circuit conditions, by controlling the switch with different duty cycle control signals, the current of the inductor L1 is in a positive current or negative current state before the switch to be tested M4 is turned on. If the current of the inductor L1 flows into the drain of the switch to be tested M4, it is in a hard switch state; if the current of the inductor L1 flows out of the drain of the switch to be tested M4 or the current is 0, it is in a soft switch state, thereby achieving different effects of soft opening and hard switching. At the same time, in the hard switch test, the voltage value of the drain source at the moment of turning on the switch to be tested M4 can also be adjusted by adjusting the duty cycle and dead time of the four switches.
[0094] Therefore, different soft and hard switching conditions are achieved through two pulses respectively, without the need to switch the soft switching and hard switching circuits through a relay, thereby improving the efficiency of soft and hard switching tests.
[0095] According to the soft and hard switch test method based on the full-bridge circuit of the embodiment of the present application, the number of control stages and the control parameters of each control stage are determined according to the current test requirements of the switch to be tested; the first switch, the second switch, the third switch and the switch to be tested are controlled respectively according to the number of control stages and the control parameters of each control stage to perform soft switch test and / or hard switch test on the switch to be tested. Thus, the problems that the related technology cannot efficiently complete the soft and hard switch test in a short time and affects the measurement accuracy of the on-resistance are solved. Since the differences caused by the test circuit and environment can be ignored, the changes in the dynamic on-resistance value can be detected in a shorter time, more easily and with higher sensitivity, and the test results can be more clearly compared with the soft switch and hard switch data.
[0096] Secondly, a soft and hard switch testing device based on a full-bridge circuit proposed according to an embodiment of the present application is described with reference to the accompanying drawings, wherein the full-bridge circuit includes an inductor, a first switch and a second switch connected in series, a third switch and a switch to be tested connected in series, one end of the inductor is electrically connected to a connection node between the first switch and the second switch, and the other end of the inductor is electrically connected to a connection node between the third switch and the switch to be tested.
[0097] Figure 6 It is a block diagram of a soft and hard switch testing device based on a full-bridge circuit according to an embodiment of the present application.
[0098] like Figure 6As shown, the soft and hard switch testing device 10 based on the full-bridge circuit includes: an acquisition module 100 , a determination module 200 and a testing module 300 .
[0099] Among them, the acquisition module 100 is used to obtain the current test requirements of the switch to be tested; the determination module 200 is used to determine the number of control stages and the control parameters of each control stage according to the current test requirements; the testing module 300 is used to control the first switch, the second switch, the third switch and the switch to be tested respectively according to the number of control stages and the control parameters of each control stage, so as to perform soft switching test and / or hard switching test on the switch to be tested.
[0100] Further, in some embodiments, the test module 300 is used to: determine the first switch control signal, the first switch control duration, the second switch control signal, the second switch control duration, the third switch control signal, the third switch control duration, the switch control signal to be tested, and the switch control duration to be tested of each stage according to the number of control stages and the control parameters of each control stage; and control the first switch, the second switch, the third switch, and the switch to be tested respectively based on the first switch control signal, the first switch control duration, the second switch control signal, the second switch control duration, the third switch control signal, the third switch control duration, the switch control signal to be tested, and the switch control duration to be tested of each stage.
[0101] Further, in some embodiments, the current switch test requirement is a soft switch test requirement, and the test module 300 is used to: in a first preset time period, control the second switch and the third switch to be in an on state, and control the first switch and the switch to be tested to be in an off state to charge the inductor; in a second preset time period, control the first switch, the second switch, the third switch and the switch to be tested to be in an off state to discharge the parasitic capacitance of the drain of the switch to be tested and the source of the switch to be tested through the inductor, so that the voltage difference between the drain of the switch to be tested and the source of the switch to be tested drops to a preset value; in a third preset time period, control the switch to be tested to be in an on state, and perform a soft switch test on the switch to be tested.
[0102] Further, in some embodiments, the current switch test requirement is a hard switch test requirement, and the test module 300 is also used to: after controlling the switch to be tested to be in the on state in the third preset time period, in the fourth preset time period, control the first switch, the second switch, the third switch and the switch to be tested to be in the off state; in the fifth preset time period, control the switch to be tested to be in the on state, and perform a hard switch test on the switch to be tested.
[0103] Further, in some embodiments, when performing a hard switch test on the switch to be tested, the test module 300 is also used to: obtain a target voltage difference between the drain of the switch to be tested and the source of the switch to be tested when the switch to be tested is in the on state; determine a first target control signal and a first target dead time of the first switch, a second target control signal and a second target dead time of the second switch, a third target control signal and a third target dead time of the third switch, and a fourth target control signal and a fourth target dead time of the switch to be tested according to the target voltage difference; control the first switch according to the first target control signal and the first target dead time, control the second switch according to the second target control signal and the second target dead time, control the third switch according to the third target control signal and the third target dead time, and control the switch to be tested according to the fourth target control signal and the fourth target dead time; determine the target control signal and the target dead time corresponding to each switch, and control the corresponding switch according to the target control signal and the target dead time corresponding to each switch.
[0104] It should be noted that the aforementioned explanation of the embodiment of the soft and hard switch testing method based on the full-bridge circuit is also applicable to the soft and hard switch testing device based on the full-bridge circuit of this embodiment, and will not be repeated here.
[0105] According to the soft and hard switch test device based on the full-bridge circuit of the embodiment of the present application, the number of control stages and the control parameters of each control stage are determined according to the current test requirements of the switch to be tested; the first switch, the second switch, the third switch and the switch to be tested are controlled respectively according to the number of control stages and the control parameters of each control stage, so as to perform soft switch test and / or hard switch test on the switch to be tested. Thus, the problems that the related technology cannot efficiently complete the soft and hard switch test in a short time and affects the measurement accuracy of the on-resistance are solved, and the change of the dynamic on-resistance value can be detected in a shorter time, more easily and with higher sensitivity, and the test results can be more clearly compared with the soft switch and hard switch data.
[0106] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:
[0107] A memory 701 , a processor 702 , and a computer program stored in the memory 701 and executable on the processor 702 .
[0108] When the processor 702 executes the program, the soft and hard switch testing method based on the full-bridge circuit provided in the above embodiment is implemented.
[0109] Furthermore, the electronic device further comprises:
[0110] The communication interface 703 is used for communication between the memory 701 and the processor 702 .
[0111] The memory 701 is used to store computer programs that can be executed on the processor 702 .
[0112] The memory 701 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0113] If the memory 701, the processor 702 and the communication interface 703 are implemented independently, the communication interface 703, the memory 701 and the processor 702 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0114] Optionally, in a specific implementation, if the memory 701, the processor 702 and the communication interface 703 are integrated on a chip, the memory 701, the processor 702 and the communication interface 703 can communicate with each other through an internal interface.
[0115] The processor 702 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0116] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the soft and hard switching test method based on the full-bridge circuit is implemented as described above.
[0117] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0118] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0119] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A soft and hard switch test method based on a full-bridge circuit, characterized in that: The full-bridge circuit comprises an inductor, a first switch and a second switch connected in series, a third switch connected in series, and a switch to be tested, one end of the inductor is electrically connected to a connection node between the first switch and the second switch, and the other end of the inductor is electrically connected to a connection node between the third switch and the switch to be tested, wherein the method comprises the following steps: Obtaining the current test requirement of the switch to be tested; Determine the number of control stages and the control parameters of each control stage according to the current test requirements; The first switch, the second switch, the third switch and the switch to be tested are controlled respectively according to the number of control stages and the control parameters of each control stage, so as to perform a soft switching test and / or a hard switching test on the switch to be tested.
2. The method according to claim 1, characterized in that The controlling the first switch, the second switch, the third switch and the switch to be tested respectively according to the number of control stages and the control parameters of each control stage comprises: Determine, according to the number of control stages and the control parameters of each control stage, the first switch control signal, the first switch control duration, the second switch control signal, the second switch control duration, the third switch control signal, the third switch control duration, the switch control signal to be tested and the switch control duration to be tested in each stage; Based on the first switch control signal, the first switch control duration, the second switch control signal, the second switch control duration, the third switch control signal, the third switch control duration, the switch to be tested control signal and the switch to be tested control duration of each stage, the first switch, the second switch, the third switch and the switch to be tested are controlled respectively.
3. The method according to claim 2, characterized in that The current test requirement is a soft switch test requirement, and the first switch, the second switch, the third switch and the switch to be tested are controlled respectively based on the first switch control signal, the first switch control duration, the second switch control signal, the second switch control duration, the third switch control signal, the third switch control duration, the switch control signal to be tested and the switch control duration to be tested in each stage, including: In a first preset time period, controlling the second switch and the third switch to be in an on state, and controlling the first switch and the switch to be tested to be in an off state, so as to charge the inductor; In a second preset time period, the first switch, the second switch, the third switch and the switch to be tested are all controlled to be in the off state, so as to discharge the parasitic capacitance of the drain of the switch to be tested and the source of the switch to be tested through the inductor, so that the voltage difference between the drain of the switch to be tested and the source of the switch to be tested drops to a preset value; In a third preset time period, the switch to be tested is controlled to be in the on state, and a soft switching test is performed on the switch to be tested.
4. The method according to claim 3, characterized in that The current switch test requirement is the hard switch test requirement, and the first switch, the second switch control time, the second switch control signal, the second switch control time, the third switch control signal, the third switch control time, the switch to be tested control signal and the switch to be tested control time of each stage are respectively controlled, and further includes: After controlling the switch to be tested to be in the on state during the third preset time period, controlling the first switch, the second switch, the third switch and the switch to be tested to be in the off state during a fourth preset time period; In a fifth preset time period, the switch to be tested is controlled to be in the on state, and a hard switching test is performed on the switch to be tested.
5. The method according to claim 4, characterized in that When performing a hard switch test on the switch to be tested, the method further includes: acquiring a target voltage difference between the drain of the switch to be tested and the source of the switch to be tested when the switch to be tested is in the on state; Determine, according to the target voltage difference, a first target control signal and a first target dead time of the first switch, a second target control signal and a second target dead time of the second switch, a third target control signal and a third target dead time of the third switch, and a fourth target control signal and a fourth target dead time of the switch to be tested; The first switch is controlled according to the first target control signal and the first target dead time, and the second switch is controlled according to the second target control signal and the second target dead time, and the third switch is controlled according to the third target control signal and the third target dead time, and the switch to be tested is controlled according to the fourth target control signal and the fourth target dead time. The target control signal and target dead time corresponding to each switch are controlled, and the corresponding switch is controlled according to the target control signal and target dead time corresponding to each switch.
6. A soft and hard switch test device based on a full-bridge circuit, characterized in that: The full-bridge circuit includes an inductor, a first switch and a second switch connected in series, a third switch connected in series, and a switch to be tested, one end of the inductor is electrically connected to a connection node between the first switch and the second switch, and the other end of the inductor is electrically connected to a connection node between the third switch and the switch to be tested, wherein the device includes: An acquisition module, used for acquiring the current test requirement of the switch to be tested; A determination module, used to determine the number of control stages and the control parameters of each control stage according to the current test requirements; A testing module is used to control the first switch, the second switch, the third switch and the switch to be tested respectively according to the number of control stages and the control parameters of each control stage, so as to perform a soft switching test and / or a hard switching test on the switch to be tested.
7. The device according to claim 6, characterized in that The test module is used to: Determine, according to the number of control stages and the control parameters of each control stage, the first switch control signal, the first switch control duration, the second switch control signal, the second switch control duration, the third switch control signal, the third switch control duration, the switch control signal to be tested and the switch control duration to be tested in each stage; Based on the first switch control signal, the first switch control duration, the second switch control signal, the second switch control duration, the third switch control signal, the third switch control duration, the switch to be tested control signal and the switch to be tested control duration of each stage, the first switch, the second switch, the third switch and the switch to be tested are controlled respectively.
8. The device according to claim 7, characterized in that The current switch test requirement is the soft switch test requirement, and the test module is used to: In a first preset time period, controlling the second switch and the third switch to be in an on state, and controlling the first switch and the switch to be tested to be in an off state, so as to charge the inductor; In a second preset time period, the first switch, the second switch, the third switch and the switch to be tested are all controlled to be in the off state, so as to discharge the parasitic capacitance of the drain of the switch to be tested and the source of the switch to be tested through the inductor, so that the voltage difference between the drain of the switch to be tested and the source of the switch to be tested drops to a preset value; In a third preset time period, the switch to be tested is controlled to be in the on state, and a soft switching test is performed on the switch to be tested.
9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the soft and hard switching test method based on the full-bridge circuit as described in any one of claims 1 to 5.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the soft and hard switching test method based on a full-bridge circuit as described in any one of claims 1 to 5.
Citation Information
Cited By
High-voltage output switching power supply automatic test system and test method thereof
CN119805288A
