Control mode for automatic switching of bidirectional grid-connected converter

By adopting dual-loop control method and Hall sensor sampling technology in the bidirectional totem pole PFC circuit, automatic switching between forward and reverse is achieved, solving the problems of slow switching and inductor current distortion, and improving the automatic switching capability of the converter.

CN119030020APending Publication Date: 2024-11-26GUANGDONG GOSPOWER ELECTRIC TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411119492.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In bidirectional totem pole PFC circuit, it is difficult for the prior art to realize automatic switching in reverse direction, resulting in problems such as slow switching and inductor current distortion.

Method used

The dual-ring control method is adopted, and both the PFC voltage outer ring and the current inner ring control are used in the forward and reverse directions. The current signal is sampled through the Hall sensor, and the converter is driven after the software processing, so as to realize automatic switching between forward and reverse directions, high-frequency tubes are complementary to open and charging Smooth switching of tube duty cycle.

Benefits of technology

It effectively avoids slow forward and reverse switching and difficulty in distinguishing logic of judgment, realizes smooth switching of inductor current, and improves the automatic switching capability of the converter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030020A_ABST
    Figure CN119030020A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of control, and discloses a control mode for automatic switching of a bidirectional grid-connected converter, which is suitable for a bidirectional totem-pole PFC converter and a PFC double-loop control mode that the forward and reverse directions of the converter both use a voltage outer loop and a current inner loop, a final current loop result Ipi only acts on a forward charging tube, and high-frequency tubes are complementarily switched on. The voltage loop result Vpi is greater than 0, the reference current Iref and the sampling current Isense are greater than 0 and the current loop result Ipi ranges from 0 to Full in the forward direction, the voltage loop result Vpi is less than 0, the reference current Iref and the sampling current Isense are less than 0 and the current loop result Ipi ranges from-Full to 0 in the reverse direction, the current loop result Ipi is mapped to the forward charging tube duty ratio D, and due to complementary opening, the charging tube duty ratio in the reverse direction is 1-D, so that the charging tube is charged in the reverse direction. And after being processed by the EPWM module, the signal drives the converter. The method has the beneficial effects that the problems of slow forward and reverse switching, difficulty in judging and distinguishing forward and reverse logic, inductive current distortion during switching and the like are effectively avoided, and automatic switching is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of control technology, and in particular to a control method for automatic switching of a bidirectional grid-connected converter. Background Art

[0002] With the continuous development of global economy and industry, the resources on the earth are decreasing rapidly, and the air is seriously polluted. In particular, some non-renewable energy will face the crisis of exhaustion in the next few decades. Under the influence of environmental pollution and greenhouse effect, people are striving to seek new concepts of sustainable development. Bidirectional grid-connected converters are of great significance in improving power generation efficiency, saving energy and reducing pollution emissions. Among them, the research on bidirectional totem pole PFC circuits has attracted widespread attention.

[0003] At present, the commonly used control method of totem pole PFC is the dual-loop control method of voltage outer loop plus current inner loop, while most grid-connected converters use phase-locked loop technology. In the application of bidirectional totem pole PFC, if the forward PFC uses dual-loop control and the reverse grid-connected uses phase-locked loop control, there may be some problems. For example, how to distinguish between forward and reverse to determine the switching of forward and reverse control strategies, slow forward and reverse switching, resulting in inductor current distortion and other problems.

[0004] Therefore, it is necessary to provide a control method for automatic switching of a bidirectional grid-connected converter, which can effectively avoid problems such as slow forward and reverse switching, difficulty in judging and distinguishing forward and reverse logic, and inductor current distortion during switching, and realize automatic switching. Summary of the invention

[0005] The invention discloses a control method for automatic switching of a bidirectional grid-connected converter, relates to the field of bidirectional grid-connected converters, and in particular to a control method for a bidirectional totem pole PFC circuit, which can effectively solve the technical problems involved in the background technology.

[0006] To achieve the above object, the technical solution of the present invention is:

[0007] A control method for automatic switching of a bidirectional grid-connected converter comprises the following steps:

[0008] S1, when the converter is in forward and reverse direction, the dual-loop control method of PFC voltage outer loop plus current inner loop is used;

[0009] S2, the voltage outer loop result is Vpi, the current inner loop result is Ipi, in the forward direction, Vpi and Ipi are greater than 0; in the reverse direction, Vpi and Ipi are less than 0, and the loop result range of the dual-loop control method is -Full to Full;

[0010] S3. In forward and reverse directions, the current inner loop result Ipi is only mapped to the forward charging tube duty cycle D, and the high-frequency tubes are all complementarily turned on; in reverse directions, the charging tube duty cycle is 1-D.

[0011] like Figure 3 As shown in the figure, the current signal sampled by the Hall sensor in the forward direction is shown in the figure, so the input current signal Isense after software processing is as follows Figure 1 As shown, the forward direction is a positive steamed wave signal, and the reverse direction is a negative steamed wave signal. When the converter is working in the forward direction, the input current Isense is greater than 0. In the forward direction, Vbus is controlled by the converter itself, Vpi is greater than 0, and Iref is greater than 0. Therefore, the error signal Ierr = Iref-Isense enters the current loop for calculation, and the current loop result Ipi is mapped to the forward charging tube duty cycle D. The freewheeling tube is turned on complementary. The larger Ipi is, the larger D is. After being processed by the EPWM module, the converter is driven, so the converter works normally in the forward direction. When the converter works in reverse, the current direction is reversed, that is, Isense is less than 0, Vbus is boosted by the secondary side to be higher than the Vref set by the converter, Vpi is less than 0, then Iref is less than 0, so the error signal Ierr=Iref-Isense can also enter the current loop for calculation, and the current loop result Ipi is also mapped to the forward charging tube duty cycle D. Since the high-frequency tubes are complementary and turned on, the smaller Ipi is, the larger the forward freewheeling tube duty cycle (1-D). After Ipi is less than 0, it switches to reverse, and the forward freewheeling tube naturally turns into a reverse charging tube, and then drives the converter after being processed by the EPWM module, so the converter works normally in reverse.

[0012] The key technology to achieve energy flow between the power grid and electrical appliances is the bidirectional AC-DC converter, so the bidirectional AC-DC converter must have the characteristics of high efficiency, high reliability, high safety and high power density. Bidirectional totem pole PFC is one of the better choices. The present invention realizes a forward and reverse automatic switching control method based on the bidirectional totem pole PFC. Figure 1The figure shows the control principle diagram of the bidirectional totem pole PFC. The forward direction uses the commonly used PFC dual-loop control method of voltage outer loop plus current inner loop. The reverse direction also uses the forward dual-loop control method. The final current loop result Ipi only acts on the forward charging tube, and the high-frequency tubes are all complementary. It is just that in the forward direction, the voltage loop result Vpi is greater than 0, its reference current Iref and sampling current Isense are greater than 0, and the current loop result Ipi ranges from 0 to Full. However, in the reverse direction, Vbus is controlled by the secondary side to be greater than Vref, so the voltage loop result Vpi is less than 0, its reference current Iref and sampling current Isense are less than 0, and the current loop result Ipi ranges from -Full to 0. Add Full to the current loop result Ipi, raise it to 0 to 2Full, and map it to the forward charging tube duty cycle D. Due to the complementary opening, the charging tube duty cycle in the reverse direction is 1-D, and then drive the converter after being processed by the EPWM module. Among them, Vref is the voltage loop target value, Vbus is the DC bus sampling, Vpi is the voltage loop result, Full is the full output value of the loop, Iref is the current loop target value, Isense is the input current sampling, Ipi is the current loop result, D is the forward charging tube duty cycle, Vrms is the voltage effective value, Km is the coefficient, which is set independently and can be selected as 0.5, and I_PFCS_VREF is the Hall sensor reference value.

[0013] As a preferred improvement of the present invention: in step S2, in the forward direction, the voltage outer loop result Vpi is greater than 0, the reference current Iref and the input current Isense are greater than 0, and the current inner loop result is 0~Full; in the reverse direction, the voltage outer loop result Vpi is less than 0, the reference current Iref and the input current Isense are less than 0, and the current inner loop result is -Full~0.

[0014] As a preferred improvement of the present invention: the converter includes a bidirectional totem pole PFC circuit and a controller MCU, the PFC circuit includes a port L and a port N, the port L is connected to the source of the switch tube S4, the positive end of the diode D4, the drain of the switch tube S3 and the negative end of the diode D3, the port N is connected to one end of the inductor L1, the other end of the inductor L1 is connected to the source of the switch tube S1, the positive end of the diode D1, the drain of the switch tube S2 and the negative end of the diode D2, the drain of the switch tube S1, the negative end of the diode D1, the drain of the switch tube S4 and the negative end of the diode D4 are all connected to one end of the capacitor C1, the source of the switch tube S2, the positive end of the diode D2, the source of the switch tube S3 and the positive end of the diode D3 are all connected to the other end of the capacitor C1;

[0015] The MCU samples the input voltage Vac between the port L and the port N. A Hall sensor is provided between the port N and the inductor L1. The Hall sensor is connected to the MCU. The MCU samples the DC bus voltage Vbus across the capacitor C1. The switch tube S1 and the switch tube S2 are high-frequency tubes. In the forward direction, the positive half cycle S1 is a charging tube, and the negative half cycle S2 is a charging tube.

[0016] As a preferred improvement of the present invention: the DC bus Vbus is compared with the voltage loop target value Vref, Vbus is less than Vref, Vpi is greater than 0, Ipi is greater than 0, Ipi is mapped to the forward charging tube duty cycle D, since the complementary opening of the forward freewheeling tube duty cycle is 1-D, the converter works forward; if Vbus is greater than Vref, Vpi is less than 0, Ipi is less than 0, D decreases, 1-D increases, the converter switches to reverse operation, at this time the forward direction is switched to the reverse direction, and the forward freewheeling tube naturally becomes the reverse charging tube; similarly, the reverse direction can also be switched to the forward direction, since the loop result is continuous and uninterrupted and the high-frequency tube is complementary opened, the mapped forward charging tube duty cycle D and the reverse charging tube duty cycle 1-D are smoothly switched to achieve automatic forward and reverse switching.

[0017] The beneficial effects of the present invention are as follows:

[0018] The present invention provides a control method for automatic switching of a bidirectional grid-connected converter. In the application of a bidirectional totem pole PFC, no distinction is made between the forward and reverse directions, nor are different control strategies for the forward and reverse directions. Instead, a PFC dual-loop control method is used uniformly. The control method of the present invention can effectively avoid problems such as slow forward and reverse switching, difficulty in judging and distinguishing forward and reverse logics, and inductor current distortion during switching, thereby achieving automatic switching. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work, among which:

[0020] Figure 1 The bidirectional totem pole PFC control principle diagram of the present invention;

[0021] Figure 2 It is a schematic diagram of the working framework of the bidirectional totem pole PFC;

[0022] Figure 3 This is the Hall sensor current signal diagram;

[0023] Figure 4 This is a schematic diagram of loop switching;

[0024] Figure 5 This is a schematic diagram of PWM switching. DETAILED DESCRIPTION

[0025] The technical solutions in the embodiments of the present invention will be described clearly and completely below in combination with the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0026] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0027] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0028] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0029] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0030] See also Figure 2As shown, the converter includes a bidirectional totem pole PFC circuit and a controller MCU, the PFC circuit includes a port L and a port N, the port L is connected to the source of the switch tube S4, the positive end of the diode D4, the drain of the switch tube S3 and the negative end of the diode D3, the port N is connected to one end of the inductor L1, the other end of the inductor L1 is connected to the source of the switch tube S1, the positive end of the diode D1, the drain of the switch tube S2 and the negative end of the diode D2, the drain of the switch tube S1, the negative end of the diode D1, the drain of the switch tube S4 and the negative end of the diode D4 are all connected to one end of the capacitor C1, the source of the switch tube S2, the positive ...2 and the negative end of the diode D2 are all connected to one end of the capacitor C1, the source of the switch tube S2, the positive end of the diode D1, the drain of the switch tube S4 and the negative end of the diode D4 are all connected to one The positive end of the diode D2, the source of the switch S3 and the positive end of the diode D3 are all connected to the other end of the capacitor C1; the MCU samples the input voltage Vac between the port L and the port N, a Hall sensor (current sampling) is provided between the port N and the inductor L1, the Hall sensor is connected to the MCU, and the MCU samples the DC bus voltage Vbus at both ends of the capacitor C1; the switch tube S1 and the switch tube S2 are high-frequency tubes, in the forward direction, the positive half cycle S1 is a charging tube, and the negative half cycle S2 is a charging tube, and the positive and negative half cycles are judged according to the sampled value of the input voltage Vac. S1 and S2 are used as high-frequency bridge arms, and S3 and S4 are used as power frequency bridge arms, wherein the high-frequency upper tube S1, the high-frequency lower tube S2, the power frequency lower tube S3, and the power frequency upper tube S4, the working status of each tube is shown in Table 1.

[0031] Table 1. Working status of each pipe

[0032]

[0033]

[0034] See also Figure 1 As shown, the present invention provides a control method for automatic switching of a bidirectional grid-connected converter, including the following steps: 1. A dual-loop control method of a PFC voltage outer loop plus a current inner loop is used in both forward and reverse directions; 2. The voltage loop result Vpi corresponds to the forward direction, and the current loop result Ipi is greater than 0, and the reverse direction is less than 0, and the voltage and current loop results range from -Full to Full; 3. The current loop result Ipi is only mapped to the forward charging tube duty cycle D in both forward and reverse directions, and the high-frequency tubes are all complementary and turned on, that is, the charging tube duty cycle is 1-D in reverse. When the converter is forward and reverse, a dual-loop control method of a PFC voltage outer loop plus a current inner loop is used. The loop operation result of this control method is Ipi, the full output value of the loop is Full, the high-frequency tubes in the converter are complementary and turned on, and the forward charging tube duty cycle is D.

[0035] Specifically, both the forward and reverse directions use a dual-loop control method of PFC voltage outer loop plus current inner loop. The corresponding current loop result Ipi in the forward direction is greater than 0, and less than 0 in the reverse direction, and the current loop result is -Full~Full. The forward voltage loop result Vpi is greater than 0, the reference current Iref and the input current Isense are greater than 0, and the current loop result is 0~Full. The reverse direction is the opposite, the current loop result is -Full~0, and the current loop result Ipi is mapped to the forward charging tube duty cycle D, and the charging tube corresponds to a duty cycle of 1-D in the reverse direction. The current loop result Ipi is only mapped to the forward charging tube duty cycle D, and the high-frequency tubes are all complementary. Open, that is, the charging tube duty cycle is 1-D in the reverse direction. The DC bus Vbus is compared with the voltage loop target value Vref. If Vbus is less than Vref, Vpi is greater than 0, and Ipi is greater than 0, Ipi is mapped to the forward charging tube duty cycle D. Since the complementary opening forward freewheeling tube duty cycle is 1-D, if Vbus is greater than Vref, Vpi is less than 0, and Ipi is less than 0, D decreases and 1-D increases. At this time, the forward direction switches to the reverse direction, and the forward freewheeling tube naturally becomes the reverse charging tube. Similarly, the reverse direction can also be switched to the forward direction. Since the loop result is continuous and uninterrupted, the mapped forward charging tube duty cycle D and the reverse charging tube duty cycle 1-D switch smoothly to achieve automatic forward and reverse switching.

[0036] Embodiment 1

[0037] like Figure 2 As shown, the ADC module of the MCU samples the AC input voltage Vac, the output DC voltage Vbus and the input current Isense. After data processing, the PFC dual-loop control strategy is used for calculation, and the final result is sent to the EPWM module to drive the converter.

[0038] In forward operation, if it is in the positive half cycle, S4 is normally open and S3 is normally closed. When S1 is turned on, the inductor is charged and the current direction is positive (I+——>I-). When S1 is turned off, S2 is turned on, the inductor continues to flow, and the current direction remains unchanged. If it is in the negative half cycle, S3 is normally open and S4 is normally closed. When S2 is turned on, the inductor is charged and the current direction is negative (I-——>I+). When S2 is turned off, S1 is turned on, the inductor continues to flow, and the current direction remains unchanged.

[0039] In forward PFC, Isense after software processing is greater than 0. Since the voltage loop result Vpi is greater than 0, the reference current Iref is greater than 0, and the current loop result Ipi is greater than 0, it is mapped to the forward charging tube duty cycle, the freewheeling tube is complementary turned on, and the forward direction works normally. If Ipi rises, the forward charging tube duty cycle rises, and if Ipi falls, the forward charging tube duty cycle falls, which is in line with the law.

[0040] When working in reverse direction, if it is in the positive half cycle, S4 is normally open and S3 is normally closed. When S2 is turned on, the inductor is charged and the current direction is negative (I-——>I+). When S2 is turned off, S1 is turned on, the inductor continues to flow, and the current direction remains unchanged. If it is in the negative half cycle, S3 is normally open and S4 is normally closed. When S1 is turned on, the inductor is charged and the current direction is positive (I+——>I-). When S1 is turned off, S2 is turned on, the inductor continues to flow, and the current direction remains unchanged.

[0041] From the above, it can be seen that the forward and reverse currents are in opposite directions, and the charging tube and the freewheeling tube are also opposite. For example, in the positive half cycle, S1 is a charging tube in the forward direction and a freewheeling tube in the reverse direction. The detailed list is shown in Table 1.

[0042] When connected to the grid in reverse, Isense after software processing is less than 0, Vbus is controlled by the secondary side to be greater than Vref, the voltage loop result Vpi is less than 0, the reference current Iref is less than 0, and the current loop result Ipi is less than 0. It is also mapped to the duty cycle of the forward charging tube, and the freewheeling tube is complementary and turned on. If Ipi rises, the duty cycle of the forward charging tube rises, that is, the duty cycle of the reverse freewheeling tube rises, and the duty cycle of the complementary reverse charging tube decreases. If Ipi decreases, the duty cycle of the forward charging tube decreases, that is, the duty cycle of the reverse freewheeling tube decreases, and the duty cycle of the complementary reverse charging tube increases.

[0043] like Figure 5 As shown, in the reverse direction, if Vbus drops to less than Vref, then Vpi will be greater than 0, resulting in Ipi greater than 0, thereby controlling the drive to generate waves in the forward direction. Since the current loop result Ipi is continuous and uninterrupted, the reverse direction automatically switches to the forward direction. In the forward direction, if Vbus rises to greater than Vref, then Vpi will be less than 0, resulting in Ipi less than 0, thereby controlling the drive to generate waves in the reverse direction, and the forward direction automatically switches to the reverse direction. For example, Figure 5 As shown, taking the positive half cycle as an example, in the reverse direction, when Ipi = -0.2Full, the duty cycle of the forward charging tube S1 is D = 0.4, that is, the duty cycle of the reverse charging tube S2 is 1-D = 0.6. If Vbus drops to less than Vref, Vpi is greater than 0, resulting in an increase in Ipi, Ipi = 0, and it is in a critical state at this time. The duty cycles of S1 and S2 are both 0.5. Ipi continues to increase to 0.2Full, the duty cycle of the forward charging tube S1 is D = 0.6, and the converter enters forward operation. Similarly, if Figure 5 As shown in the figure on the right, the forward direction can also be automatically switched to the reverse direction.

[0044] In the application of bidirectional totem pole PFC, there is no need to distinguish between forward and reverse directions, nor between different control strategies for forward and reverse directions. Instead, a unified PFC dual-loop control method is used. The control method of the present invention can effectively avoid the problems of slow forward and reverse switching, difficulty in judging and distinguishing forward and reverse logic, and inductor current distortion during switching, thereby achieving automatic switching.

[0045] Although the embodiments of the present invention have been disclosed as above, they are not limited to the applications listed in the specification and the embodiments. They can be fully applied to various fields suitable for the present invention. For those familiar with the art, additional modifications can be easily implemented. Therefore, without departing from the general concept defined by the claims and the scope of equivalents, the present invention is not limited to the specific details and the illustrations shown and described herein.

Claims

1. A control method for automatic switching of a bidirectional grid-connected converter, characterized in that: The following steps are involved: S1, when the converter is in forward and reverse direction, the dual-loop control method of PFC voltage outer loop plus current inner loop is used; S2, the voltage outer loop result is Vpi, the current inner loop result is Ipi, in the forward direction, Vpi and Ipi are greater than 0; in the reverse direction, Vpi and Ipi are less than 0, and the loop result range of the dual-loop control method is -Full to Full; S3. In forward and reverse directions, the current inner loop result Ipi is only mapped to the forward charging tube duty cycle D, and the high-frequency tubes are all complementarily turned on; in reverse directions, the charging tube duty cycle is 1-D.

2. The automatic switching control method of a bidirectional grid-connected converter according to claim 1, characterized in that: In step S2, in the forward direction, the voltage outer loop result Vpi is greater than 0, the reference current Iref and the input current Isense are greater than 0, and the current inner loop result is 0~Full; in the reverse direction, the voltage outer loop result Vpi is less than 0, the reference current Iref and the input current Isense are less than 0, and the current inner loop result is -Full~0.

3. The automatic switching control method of a bidirectional grid-connected converter according to claim 1, characterized in that: The converter includes a bidirectional totem pole PFC circuit and a controller MCU. The PFC circuit includes a port L and a port N. The port L is connected to the source of the switch tube S4, the positive end of the diode D4, the drain of the switch tube S3 and the negative end of the diode D3. The port N is connected to one end of the inductor L1. The other end of the inductor L1 is connected to the source of the switch tube S1, the positive end of the diode D1, the drain of the switch tube S2 and the negative end of the diode D2. The drain of the switch tube S1, the negative end of the diode D1, the drain of the switch tube S4 and the negative end of the diode D4 are all connected to one end of the capacitor C1. The source of the switch tube S2, the positive end of the diode D2, the source of the switch tube S3 and the positive end of the diode D3 are all connected to the other end of the capacitor C1. The MCU samples the input voltage Vac between the port L and the port N. A Hall sensor is provided between the port N and the inductor L1. The Hall sensor is connected to the MCU. The MCU samples the DC bus voltage Vbus across the capacitor C1.

4. The automatic switching control method of a bidirectional grid-connected converter according to claim 3 is characterized in that: The DC bus Vbus is compared with the voltage loop target value Vref. If Vbus is less than Vref, Vpi is greater than 0, and Ipi is greater than 0, Ipi is mapped to the forward charging tube duty cycle D. Since the complementary forward freewheeling tube duty cycle is 1-D, the converter works forward. If Vbus is greater than Vref, Vpi is less than 0, and Ipi is less than 0, D decreases and 1-D increases, the converter switches to reverse operation. At this time, the forward direction is switched to the reverse direction, and the forward freewheeling tube naturally becomes a reverse charging tube. Similarly, the reverse direction can also be switched to the forward direction. Since the loop result is continuous and the high-frequency tubes are complementary and turned on, the mapped forward charging tube duty cycle D and the reverse charging tube duty cycle 1-D are switched smoothly to achieve automatic switching between forward and reverse directions.