Research on Bidirectional Isolated Charging System Based on Resonant Converter

: This paper proposes a two-stage bidirectional isolated charging system, which can realize the bidirectional ﬂow of electric energy, not only making the electric energy ﬂow from the grid side to the battery side but also converting the battery’s energy into single-phase alternating current to supply other electric equipment. The charging system also has the function of power factor correction and wide-range voltage output. The front stage of the charging system is a bidirectional totem pole structure power factor correction converter with a voltage and current double closed-loop control strategy to ensure the stability of the DC bus voltage, and the rear stage is a bidirectional CLLLC resonant converter, which adopts a high-frequency soft start strategy to reduce the inrush current during start-up and ensure the safe operation of the converter. Moreover, the frequency control strategy is used to make it have a wide range of DC output characteristics. In this paper, the principle analysis and parameter calculation of the charging system is carried out, the simulation platform and hardware circuit design are built, and a test prototype is piloted to verify the bidirectional operating characteristics of the charging system. The simulation and experimental results demonstrate the correctness of the theoretical analysis and topology design.


Introduction
With the development of the economy and the increase of social demand, new energy electric vehicles are one of the important means to alleviate the shortage of oil energy, environmental pollution, and the development trend to replace fuel cars [1,2]. While electric vehicles are attracting attention, on-board charging technology is also developing rapidly and is generally divided into unidirectional vehicle chargers and bidirectional vehicle chargers. Compared with the single function of unidirectional vehicle charger, which can only transfer energy from the grid to the vehicle battery, the bidirectional vehicle charger also allows the vehicle battery to provide energy to the outside, and it is the core equipment in V2X technology. The bidirectional vehicle charger can also be used as an emergency power source for the family during power outages, and the research into this device is beneficial to the development of a variety of disciplines. A bidirectional charging system is a device that uses conduction to convert AC power to DC power to charge a battery. Its commonly used two-stage power architecture is shown in Figure 1. The bidirectional charger is capable of the bidirectional flow of energy between the grid and the battery, with a bidirectional AC/DC converter in the front stage, which can achieve power factor correction, reduce harmonic content, and output a stable bus voltage; and a bidirectional isolated DC/DC converter in the backstage, which can output a wide range of DC voltages with low pulsation ripple [3,4]. Bidirectional AC/DC converters are often used as system pre-stages with either a half-bridge structure or a full-bridge structure. The half-bridge structure requires fewer devices and is easy to control, but the switching transistor voltage and current stress are high, and the efficiency is low. An improved single-cycle controlled bidirectional halfbridge AC/DC converter is proposed in [5], capable of stable operation in rectifier and inverter modes with a high power factor, but it has high reactive power losses and low efficiency. The full-bridge AC/DC converter is more widely used than the half-bridge structure. In [6], a full-bridge AC/DC converter considering inductor resistance and conduction voltage is proposed with a single-loop bidirectional current sensor-free control strategy, which reduces the number of sensors and can regulate the voltage of the household DC grid. An interleaved parallel structure has also been derived from the bridge structure. [7] proposes a bidirectional interleaved parallel AC/DC converter with no auxiliary circuit and a TCM mode soft-switching strategy. This topology can effectively reduce losses and improve the overall system efficiency, but it adds difficulty to the control system design. To improve the efficiency and reduce the switching losses, a segmented synchronous control strategy based on zero-vector embedding is proposed in [8] to ensure good input-output performance. [9] proposes an improved space vector pulse width modulation strategy to enhance the system's reliability, but its main circuit structure and control circuit are complex, with more switching elements and higher stress on the switching transistors. [10] proposes a control strategy that can govern AC bus harmonic currents to ensure that the microgrid has good power quality, but still cannot solve the problem of large turn-off losses. [11] proposes a diode-clamped three-level AC/DC converter with a composite control strategy combining PI control based on a rotating coordinate system and T/2 period repetition control to ensure dynamic performance and improve steadystate accuracy. However, the structure requires more power switching transistors, and the midpoint potential of the DC bus is prone to imbalance. [12] proposes a bidirectional isolated AC/DC matrix converter that can be suitable for bidirectional power flow with minimal high harmonics; however, the large number of power devices makes it require more circuit cost and makes it difficult to control. Combining the advantages of fewer switching devices, high power density, and significant common-mode interference capability, the bidirectional totem pole converter is widely used.
Bidirectional isolated DC/DC converters as systems backstage are usually classified into non-resonant or resonant topologies. The typical non-resonant topology is a dual active bridge converter (DAB) [13,14], which is easy to control and can achieve zero voltage switching (ZVS). When the switch transistor is turned off, however, the current flowing through is larger, the converter shutdown loss is larger, and the current harmonics flowing through the high frequency transformer are larger, which also increases transformer losses and reduces efficiency [15]. To achieve soft switching and improve efficiency, resonant converters are widely used and have been gradually developed from LC series-parallel structures to LLC [16,17], CLLC [18,19], and CLLLC [20,21] structures. The bidirectional LLC resonant converter can achieve ZVS and Zero Current Switching (ZCS) in forward operation, i.e., battery charging. The voltage gain, however, is less than 1 in the reverse operation, i.e., battery discharging, and soft switching cannot be achieved. [22,23] propose an inverter-phase shift control method to meet the gain requirement for reverse operation and achieve full-range soft switching under such control. [24] proposes a halfbridge three-level bidirectional LLC resonant converter with a three-stage hybrid control Bidirectional AC/DC converters are often used as system pre-stages with either a halfbridge structure or a full-bridge structure. The half-bridge structure requires fewer devices and is easy to control, but the switching transistor voltage and current stress are high, and the efficiency is low. An improved single-cycle controlled bidirectional half-bridge AC/DC converter is proposed in [5], capable of stable operation in rectifier and inverter modes with a high power factor, but it has high reactive power losses and low efficiency. The full-bridge AC/DC converter is more widely used than the half-bridge structure. In [6], a full-bridge AC/DC converter considering inductor resistance and conduction voltage is proposed with a single-loop bidirectional current sensor-free control strategy, which reduces the number of sensors and can regulate the voltage of the household DC grid. An interleaved parallel structure has also been derived from the bridge structure. [7] proposes a bidirectional interleaved parallel AC/DC converter with no auxiliary circuit and a TCM mode soft-switching strategy. This topology can effectively reduce losses and improve the overall system efficiency, but it adds difficulty to the control system design. To improve the efficiency and reduce the switching losses, a segmented synchronous control strategy based on zero-vector embedding is proposed in [8] to ensure good input-output performance. Ref. [9] proposes an improved space vector pulse width modulation strategy to enhance the system's reliability, but its main circuit structure and control circuit are complex, with more switching elements and higher stress on the switching transistors. Ref. [10] proposes a control strategy that can govern AC bus harmonic currents to ensure that the microgrid has good power quality, but still cannot solve the problem of large turn-off losses. Ref. [11] proposes a diode-clamped three-level AC/DC converter with a composite control strategy combining PI control based on a rotating coordinate system and T/2 period repetition control to ensure dynamic performance and improve steady-state accuracy. However, the structure requires more power switching transistors, and the midpoint potential of the DC bus is prone to imbalance. Ref. [12] proposes a bidirectional isolated AC/DC matrix converter that can be suitable for bidirectional power flow with minimal high harmonics; however, the large number of power devices makes it require more circuit cost and makes it difficult to control. Combining the advantages of fewer switching devices, high power density, and significant common-mode interference capability, the bidirectional totem pole converter is widely used.
Bidirectional isolated DC/DC converters as systems backstage are usually classified into non-resonant or resonant topologies. The typical non-resonant topology is a dual active bridge converter (DAB) [13,14], which is easy to control and can achieve zero voltage switching (ZVS). When the switch transistor is turned off, however, the current flowing through is larger, the converter shutdown loss is larger, and the current harmonics flowing through the high frequency transformer are larger, which also increases transformer losses and reduces efficiency [15]. To achieve soft switching and improve efficiency, resonant converters are widely used and have been gradually developed from LC series-parallel structures to LLC [16,17], CLLC [18,19], and CLLLC [20,21] structures. The bidirectional LLC resonant converter can achieve ZVS and Zero Current Switching (ZCS) in forward operation, i.e., battery charging. The voltage gain, however, is less than 1 in the reverse operation, i.e., battery discharging, and soft switching cannot be achieved. Refs. [22,23] propose an inverter-phase shift control method to meet the gain requirement for reverse operation and achieve full-range soft switching under such control. Ref. [24] proposes a half-bridge three-level bidirectional LLC resonant converter with a three-stage hybrid control strategy combining "frequency, phase shift, and frequency burst" control methods to achieve high efficiency and wide-range voltage output. However, it is prone to inrush current and long commutation time during switching control. The bidirectional CLLC resonant converter is composed by adding a resonant capacitor to the secondary side of the resonant network and has similar characteristics to the LLC resonant converter in forward and reverse operation. A fixed-bus scheme is proposed in [25] for parameter design optimization, but the asymmetric resonant cavity structure and high coupling degree of the bidirectional CLLC resonant converter make the difference between forward and reverse operating characteristics relatively large and difficult to control. Compared with the bidirectional CLLC resonant converter, the bidirectional CLLLC resonant converter is a set of LC series resonant structures added on the secondary side, with symmetrical structure, consistent forward and reverse characteristics, low coupling degree, and easy control.
For the requirements of high efficiency and wide range, this paper proposes a twostage isolated vehicle charger with a bidirectional totem pole structure in the front stage, which can realize power factor correction and provide stable bus voltage for the rear stage, and a bidirectional CLLLC resonant converter in the rear stage, which inherits the characteristics of the traditional LLC resonant converter such as wide range, soft switching, and high power density. The resonant network is symmetrical with identical forward and reverse operation characteristics to realize bidirectional boost conversion. Through the parameter design and characteristic analysis, the power components can realize full-range soft switching under full load and improve the system efficiency.

Bidirectional Isolation Type Charging System and Characterization
The main circuit topology of the two-stage bidirectional charging system designed in this paper is shown in Figure 2. The front stage is a bidirectional totem pole converter with a full bridge structure, and the rear stage is a bidirectional CLLLC resonant converter. This converter has a symmetrical structure with the same operating characteristics in forward and reverse operation, which has high efficiency.
Electronics 2022, 11, 3625 3 of 30 strategy combining "frequency, phase shift, and frequency burst" control methods to achieve high efficiency and wide-range voltage output. However, it is prone to inrush current and long commutation time during switching control. The bidirectional CLLC resonant converter is composed by adding a resonant capacitor to the secondary side of the resonant network and has similar characteristics to the LLC resonant converter in forward and reverse operation. A fixed-bus scheme is proposed in [25] for parameter design optimization, but the asymmetric resonant cavity structure and high coupling degree of the bidirectional CLLC resonant converter make the difference between forward and reverse operating characteristics relatively large and difficult to control. Compared with the bidirectional CLLC resonant converter, the bidirectional CLLLC resonant converter is a set of LC series resonant structures added on the secondary side, with symmetrical structure, consistent forward and reverse characteristics, low coupling degree, and easy control. For the requirements of high efficiency and wide range, this paper proposes a twostage isolated vehicle charger with a bidirectional totem pole structure in the front stage, which can realize power factor correction and provide stable bus voltage for the rear stage, and a bidirectional CLLLC resonant converter in the rear stage, which inherits the characteristics of the traditional LLC resonant converter such as wide range, soft switching, and high power density. The resonant network is symmetrical with identical forward and reverse operation characteristics to realize bidirectional boost conversion. Through the parameter design and characteristic analysis, the power components can realize full-range soft switching under full load and improve the system efficiency.

Bidirectional Isolation Type Charging System and Characterization
The main circuit topology of the two-stage bidirectional charging system designed in this paper is shown in Figure 2. The front stage is a bidirectional totem pole converter with a full bridge structure, and the rear stage is a bidirectional CLLLC resonant converter. This converter has a symmetrical structure with the same operating characteristics in forward and reverse operation, which has high efficiency. During forward charging, the bidirectional totem pole converter achieves power factor correction and outputs a stable DC bus voltage Vdc. Power switches Q1~Q4 obtain drive signals to invert the DC voltage Vdc, Q5~Q8 pulse blocking, and body diodes Dq5~Dq8 conduct work to rectify the high-frequency signal on the secondary side of the transformer.
During reverse discharging, the power switch Q5~Q8 inverts the DC power into a high-frequency AC signal, Q1~Q4 pulse blocking, and the body diode Dq1~Dq4 completes the rectification function. Then the bidirectional totem pole converter achieves the inverter supply AC load power. During forward charging, the bidirectional totem pole converter achieves power factor correction and outputs a stable DC bus voltage V dc . Power switches Q 1~Q4 obtain drive signals to invert the DC voltage V dc , Q 5~Q8 pulse blocking, and body diodes D q5~Dq8 conduct work to rectify the high-frequency signal on the secondary side of the transformer.
During reverse discharging, the power switch Q 5~Q8 inverts the DC power into a high-frequency AC signal, Q 1~Q4 pulse blocking, and the body diode D q1~Dq4 completes the rectification function. Then the bidirectional totem pole converter achieves the inverter supply AC load power.

Modeling Analysis of Bidirectional Totem Pole Converter
For example, a bidirectional totem pole converter operating in forward charging mode and the grid voltage in the positive half cycle can be divided into two modes according to the on and off of the switching transistors. Its equivalent circuit is shown in Figure 3.

Modeling Analysis of Bidirectional Totem Pole Converter
For example, a bidirectional totem pole converter operating in forward charging mode and the grid voltage in the positive half cycle can be divided into two modes according to the on and off of the switching transistors. Its equivalent circuit is shown in Figure 3.
where iac(t) is the AC current; vdc(t) is the DC bus voltage; R is the equivalent resistance of the rear stage converter; Cdc is the DC bus capacitance; L is the AC inductance; vin(t) is the grid voltage. The coefficient matrix can be obtained as: The matrix form of the equation of state when the switching transistor is turned off is: The coefficient matrix can be obtained as: where A0, B0, A1, B1 are state coefficients.
The switch transister is off The matrix form of the equation of state when the switching transistor is on is: where i ac (t) is the AC current; v dc (t) is the DC bus voltage; R is the equivalent resistance of the rear stage converter; C dc is the DC bus capacitance; L is the AC inductance; v in (t) is the grid voltage. The coefficient matrix can be obtained as: The matrix form of the equation of state when the switching transistor is turned off is: The coefficient matrix can be obtained as: where A 0, B 0 , A 1 , B 1 are state coefficients. Let the state vector x(t) = [i ac (t) v dc (t)] T and the input vector u(t) = [v in (t)], the steadystate expressions of the state vector and the input vector for the whole switching period T can be obtained by combining Equations (1)-(4) as follows: where d is the duty cycle. The equation of state coefficients are: Add a perturbation to the steady-state Equation (5) such that: where X, U, and D are the steady-state values of the state vector, input vector, and duty cycle, respectively.
Substituting Equation (7) into Equation (5), we get: Neglecting the higher-order terms, Equation (8) can be decomposed into the steady state equation and the perturbation equation as Equations (9) and (10), respectively: Assume that the quadratic term of the small signal is much smaller than the remaining terms, i.e.,: From this, neglecting the AC small signal product term in Equation (10), it is obtained that: Converting the time domain Equation (12) to the frequency domain equation yields: And then we can get: where I is the unit matrix. Substituting Equations (2), (4) and (6) into Equation (14), we get: From the above equation, we get: From Equations (16) and (17), the transfer functions G id (s) for input current versus duty cycle and G vd (s) for bus voltage versus duty cycle are: In the bidirectional totem pole converter circuit, there is the following relationship: In the analysis and design of the control circuit, G id (s) is the commonly used control object, where R, L, and C dc are constants in the transfer function. At the same time, duty cycle D, AC input current I ac , and output voltage V o are the quantities that keep changing with normal operation. According to Equation (20), the factors affecting the duty cycle are the input voltage and the output voltage; when the input power is specific, the factor affecting the size of the AC input current is also the input voltage. There is a large filter capacitor at the output of the bidirectional totem pole converter circuit, so the output voltage does not vary much and can be neglected [26]. Therefore, the factor affecting G id (s) is the magnitude of the input voltage. To analyze the effect of the input voltage on the transfer function, the Byrd diagram is drawn for different input voltage levels, as shown in Figure 4.  As seen in Figure 4, the low-frequency characteristics of Gid(s) are different for different input voltages, whereas the high-frequency characteristics are the same. The current loop deals with the high-frequency signal, so the influence of the low-frequency band can be ignored in the analysis, and then the control system can be designed.

Bidirectional CLLLC Resonant Converter Modeling
The fundamental wave analysis method is used to model the bidirectional CLLLC resonant converter. Then its equivalent circuit model is obtained to analyze the characteristics of the bidirectional CLLLC resonant converter.

Equivalent Circuit Model
Taking forward operation as an example, the alternating conduction of power switches Q1 to Q4 makes the input voltage vab of the resonant network a square wave signal with amplitude varying from −Vdc to Vdc, for which the Fourier expansion is carried out to obtain the following expression: where m is an integer parameter; fs is the switching frequency.
From Equation (21), the fundamental components of vab and their RMS values are: Similarly, the output voltage vcd, the fundamental component of the output voltage vcd_FHA, and its RMS value Vcd_FHA are obtained as follows:  As seen in Figure 4, the low-frequency characteristics of G id (s) are different for different input voltages, whereas the high-frequency characteristics are the same. The current loop deals with the high-frequency signal, so the influence of the low-frequency band can be ignored in the analysis, and then the control system can be designed.

Bidirectional CLLLC Resonant Converter Modeling
The fundamental wave analysis method is used to model the bidirectional CLLLC resonant converter. Then its equivalent circuit model is obtained to analyze the characteristics of the bidirectional CLLLC resonant converter.

Equivalent Circuit Model
Taking forward operation as an example, the alternating conduction of power switches Q 1 to Q 4 makes the input voltage v ab of the resonant network a square wave signal with amplitude varying from −V dc to V dc , for which the Fourier expansion is carried out to obtain the following expression: where m is an integer parameter; f s is the switching frequency. From Equation (21), the fundamental components of v ab and their RMS values are: Similarly, the output voltage v cd , the fundamental component of the output voltage v cd_FHA, and its RMS value V cd_FHA are obtained as follows: where θ is the phase difference between v ab and v cd .
Equating the load at the output to the resistance R o , the expression of the output current of the resonant network is: where I Ls is the RMS value of the output current of the resonant network. From Equation (27), the average value of the output current is: And because v cd_FHA is in phase with i Ls , the rectifier network, as well as the output load, can be equated to a purely resistive load, i.e., Converting the secondary components of the transformer to the primary side, we get: where R eq is the resistance converted to the primary side; C s is the capacitance converted to the primary side; L s is the inductance converted to the primary side; n is the transformer ratio.
In summary, the voltages at points a and b on the primary side of the transformer are v ab_FHA (t), and the voltages between points c and d on the secondary side are converted to nv cd_FHA (t) on the primary side, while the capacitance inductance on the secondary side is converted to the primary side, resulting in the equivalent circuit model of the rear stage converter, as shown in Figure 5.
where θ is the phase difference between vab and vcd.
Equating the load at the output to the resistance Ro, the expression of the output current of the resonant network is: where ILs is the RMS value of the output current of the resonant network. From Equation (27), the average value of the output current is: And because vcd_FHA is in phase with iLs, the rectifier network, as well as the output load, can be equated to a purely resistive load, i.e., Converting the secondary components of the transformer to the primary side, we get: where Req is the resistance converted to the primary side; Cs ′ is the capacitance converted to the primary side; Ls ′ is the inductance converted to the primary side; n is the transformer ratio.
In summary, the voltages at points a and b on the primary side of the transformer are vab_FHA(t), and the voltages between points c and d on the secondary side are converted to nvcd_FHA(t) on the primary side, while the capacitance inductance on the secondary side is converted to the primary side, resulting in the equivalent circuit model of the rear stage converter, as shown in Figure 5.

Characteristic Analysis
The following is a characterization of the bidirectional CLLLC resonant converter, including voltage gain characteristics, impedance characteristics, inductance coefficient, and quality factor. Figure 5. Forward equivalent circuit model of bidirectional CLLLC resonant converter.

Characteristic Analysis
The following is a characterization of the bidirectional CLLLC resonant converter, including voltage gain characteristics, impedance characteristics, inductance coefficient, and quality factor.

Voltage Gain Characteristics
M is the DC voltage gain characteristic of the CLLLC resonant converter, whose expression is: where f n is the normalized frequency, k is the inductance factor, and Q is the quality factor. The expressions are: where f r1 is the resonant frequency of the resonant inductor and resonant capacitor of the transformer, i.e., the resonant frequency of L p , C p , or L s , C s ; f s is the switching frequency. As seen from Equation (32), the main parameters affecting the voltage gain are k and Q. If the quality factor Q = 0.5, the change law of voltage gain with normalized frequency for different k values is shown in Figure 6.

Voltage Gain Characteristics
M is the DC voltage gain characteristic of the CLLLC resonant converter, whose expression is: where fn is the normalized frequency, k is the inductance factor, and Q is the quality factor. The expressions are: where fr1 is the resonant frequency of the resonant inductor and resonant capacitor of the transformer, i.e., the resonant frequency of Lp, Cp, or Ls, Cs; fs is the switching frequency.
As seen from Equation (32), the main parameters affecting the voltage gain are k and Q. If the quality factor Q = 0.5, the change law of voltage gain with normalized frequency for different k values is shown in Figure 6. When the Q value is specific, the maximum voltage gain value of the resonant converter gradually decreases with the increase of the k value, the corresponding normalized frequency gradually decreases, and the curve has a trough after the highest point. On the right side of the resonance point, the smaller the k value is, the faster the voltage gain changes with the normalized frequency, which benefits the voltage gain regulation [27].
When the inductance coefficient k = 2, the curves of voltage gain with fn change at different Q values are shown in Figure 7. When the Q value is specific, the maximum voltage gain value of the resonant converter gradually decreases with the increase of the k value, the corresponding normalized frequency gradually decreases, and the curve has a trough after the highest point. On the right side of the resonance point, the smaller the k value is, the faster the voltage gain changes with the normalized frequency, which benefits the voltage gain regulation [27].
When the inductance coefficient k = 2, the curves of voltage gain with f n change at different Q values are shown in Figure 7. When the value of k is specific, and the normalized frequency is less than 1, the Q value is small, the voltage gain of the converter is wide, and the voltage regulation rate is fast. In contrast, when the normalized frequency is greater than 1, the voltage gain of the converter is narrow, and the voltage regulation rate is relatively flat, which will not meet the requirements of the system. When the Q value is too large, the voltage gain curve has two peak points when the switching frequency is less than the resonant frequency, which is unsuitable for the converter's stability and the control system's design. At more significant values than the resonant frequency, the gain curve of the converter gradually becomes steeper, but the peak gain may not meet the system requirements for voltage gain. Therefore, the Q value is too large or too small to meet the design requirements, and a compromise should be made in the specific selection process.

Impedance Characteristics Analysis
According to Figure 5, the following impedances are defined: where Z1 is the primary series resonant impedance; Z2 is the equivalent secondary series resonant impedance; Zm is the excitation inductance impedance; ωs = 2πfs is the switching angle frequency.
The input impedance is: The imaginary part: Let Equation (35) be 0, then: When the value of k is specific, and the normalized frequency is less than 1, the Q value is small, the voltage gain of the converter is wide, and the voltage regulation rate is fast. In contrast, when the normalized frequency is greater than 1, the voltage gain of the converter is narrow, and the voltage regulation rate is relatively flat, which will not meet the requirements of the system. When the Q value is too large, the voltage gain curve has two peak points when the switching frequency is less than the resonant frequency, which is unsuitable for the converter's stability and the control system's design. At more significant values than the resonant frequency, the gain curve of the converter gradually becomes steeper, but the peak gain may not meet the system requirements for voltage gain. Therefore, the Q value is too large or too small to meet the design requirements, and a compromise should be made in the specific selection process.

2.
Impedance Characteristics Analysis According to Figure 5, the following impedances are defined: where Z 1 is the primary series resonant impedance; Z 2 is the equivalent secondary series resonant impedance; Z m is the excitation inductance impedance; ω s = 2πf s is the switching angle frequency. The input impedance is: The imaginary part: Let Equation (35) be 0, then: Substituting Equation (36) into Equation (31), we get M = 1, and then according to Im(Z in )> 0 when f n > 1, we can get the resistive divider of the bidirectional CLLLC resonant converter as shown in Figure 8. Substituting Equation (36) into Equation (31), we get M = 1, and then according to Im(Zin)> 0 when fn > 1, we can get the resistive divider of the bidirectional CLLLC resonant converter as shown in Figure 8. As seen from Figure 8, the overlap area on the upper side of the line M = 1 and the right side of fn = (k + 1) −1/2 is the inductive region. The inductive region in the region where fn > 1 can realize the ZVS of the switching transistor, and in the process of designing k and Q it is essential to ensure that the curve falls within these two regions.

Design Conditions for the Inductance Factor K and Quality Factor Q
The bidirectional CLLLC resonant converter needs to meet the voltage gain requirement. At no-load Q = 0, the voltage gain is: The minimum voltage gain Mmin satisfies: This leads to the design condition of the inductance coefficient k: (1 ) As can be seen from Figure 8, in fn > 1, the voltage gain curve is located in the inductive region and monotonically decreasing; in the area of 1/(k + 1) 1/2 < fn < 1, the voltage gain curve may be located outside the inductive area and may not appear monotonically, to meet the requirements, Q needs to meet certain conditions, thus the following focus on this operating frequency range. To meet the ZVS condition of the switching transistor, Im(Zin) > 0 should be satisfied. Then: Let F1 ′ (fn) = 0; then there is a unique solution in the range of 1/(k + 1) 1/2 < fn < 1; that is, fn1 = 1/(2k + 1) 1/4 , which is a minimal value, and which is substituted into the equation F1(fn) to get: As seen from Figure 8, the overlap area on the upper side of the line M = 1 and the right side of f n = (k + 1) −1/2 is the inductive region. The inductive region in the region where f n > 1 can realize the ZVS of the switching transistor, and in the process of designing k and Q it is essential to ensure that the curve falls within these two regions.

3.
Design Conditions for the Inductance Factor K and Quality Factor Q The bidirectional CLLLC resonant converter needs to meet the voltage gain requirement. At no-load Q = 0, the voltage gain is: The minimum voltage gain M min satisfies: This leads to the design condition of the inductance coefficient k: As can be seen from Figure 8, in f n > 1, the voltage gain curve is located in the inductive region and monotonically decreasing; in the area of 1/(k + 1) 1/2 < f n < 1, the voltage gain curve may be located outside the inductive area and may not appear monotonically, to meet the requirements, Q needs to meet certain conditions, thus the following focus on this operating frequency range. To meet the ZVS condition of the switching transistor, Im(Z in ) > 0 should be satisfied. Then: Let F 1 (f n ) = 0; then there is a unique solution in the range of 1/(k + 1) 1/2 < f n < 1; that is, f n1 = 1/(2k + 1) 1/4 , which is a minimal value, and which is substituted into the equation F 1 (f n ) to get: To make the voltage gain curve monotonically decreasing, we have: In the range of 1/(k + 1) 1/2 < f n < 1, A(f n ) > 0, B(f n ) < 0, and C(f n ) there exists a zero point for: It is known that f n2 < f n1 and C(f n ) > 0 in the range f n1 < f n < 1. To make M (f n ) less than 0, it follows that: In summary, two constraints on the quality factor Q are obtained.

Control Strategy of the Charging System
The block diagram of the bidirectional charging system control strategy is shown in Figure 9. The front-stage bidirectional totem pole converter adopts a voltage and current double closed-loop control, and the dc bus voltage v dc is compared with the reference voltage v dc_ref to obtain the error v err ; the error v err is first passed through the transfer function G v (s) of the voltage loop PI controller, and then multiplied by the v shape obtained through the phase-locked loop PLL to get further the current reference which is consistent with the phase of the ac input voltage i ac_ref , and then make a difference with the sampled input current i ac , the result i err after the current loop PI controller transfer function G i (s) for Sinusoidal Pulse Width Modulation (SPWM), the output signal through the drive circuit to control the switching transistor on and off. The back-stage bidirectional CLLLC resonant converter adopts frequency conversion control; when working in the forward operation, the actual output voltage Vo and the given voltage Vo_ref make a difference through the PI regulator and for limiting, and then through the pulse frequency modulation (PFM) and the driver module to control the switch transistor Q1~Q4 on and off; at this time the secondary side switch transistor is only renewed by the body diode. The control in the reverse operation is similar to that in the forward movement and will not be described in detail here.
To improve the power factor, the input current of the bidirectional totem pole converter should accurately track the input voltage, thus requiring the current inner loop for regulation; the normal operation of the backstage CLLLC resonant converter requires a stable DC voltage output from the front stage, thus requiring the voltage outer loop for regulation. The voltage and current double closed-loop controller design will be carried out below.

Current Internal Loop Controller Design
The current in-loop controller is shown in Figure 10, where Gid(s) is the transfer function of the input current versus the duty cycle. The expression for the PI controller Gi(s) is: where kip is the proportionality factor; kii is the integration factor.
From Figure 10, the current loop open-loop transfer function is: Let s = jω be substituted in the above equation to get:  The back-stage bidirectional CLLLC resonant converter adopts frequency conversion control; when working in the forward operation, the actual output voltage V o and the given voltage V o_ref make a difference through the PI regulator and for limiting, and then through the pulse frequency modulation (PFM) and the driver module to control the switch transistor Q 1~Q4 on and off; at this time the secondary side switch transistor is only renewed by the body diode. The control in the reverse operation is similar to that in the forward movement and will not be described in detail here.
To improve the power factor, the input current of the bidirectional totem pole converter should accurately track the input voltage, thus requiring the current inner loop for regulation; the normal operation of the backstage CLLLC resonant converter requires a stable DC voltage output from the front stage, thus requiring the voltage outer loop for regulation. The voltage and current double closed-loop controller design will be carried out below.

Current Internal Loop Controller Design
The current in-loop controller is shown in Figure 10, where G id (s) is the transfer function of the input current versus the duty cycle. The back-stage bidirectional CLLLC resonant converter adopts frequency conversion control; when working in the forward operation, the actual output voltage Vo and the given voltage Vo_ref make a difference through the PI regulator and for limiting, and then through the pulse frequency modulation (PFM) and the driver module to control the switch transistor Q1~Q4 on and off; at this time the secondary side switch transistor is only renewed by the body diode. The control in the reverse operation is similar to that in the forward movement and will not be described in detail here.
To improve the power factor, the input current of the bidirectional totem pole converter should accurately track the input voltage, thus requiring the current inner loop for regulation; the normal operation of the backstage CLLLC resonant converter requires a stable DC voltage output from the front stage, thus requiring the voltage outer loop for regulation. The voltage and current double closed-loop controller design will be carried out below.

Current Internal Loop Controller Design
The current in-loop controller is shown in Figure 10, where Gid(s) is the transfer function of the input current versus the duty cycle. The expression for the PI controller Gi(s) is: where kip is the proportionality factor; kii is the integration factor.
From Figure 10, the current loop open-loop transfer function is: Let s = jω be substituted in the above equation to get: The expression for the PI controller G i (s) is: where k ip is the proportionality factor; k ii is the integration factor. From Figure 10, the current loop open-loop transfer function is: Let s = jω be substituted in the above equation to get: The corresponding amplitude-frequency characteristics and phase frequency characteristics are: To ensure the stability of the system, in general, the Bode diagram crossing frequency of the corrected open-loop transfer function is lower than 1/10 of the switching frequency. The switching frequency of the bidirectional totem pole converter in this design is 50 kHz, so the cutoff frequency is selected as 5 kHz, i.e., ω c = 2πf s = 3.14 × 10 4 rad/s, while keeping the phase margin as γ i = 45 • . Substituting the design conditions to Equation (49) to obtain: From Equation (50), we obtain k ip = 0.2137 and k ii = 6710. The open-loop Bode diagram of the current loop before and after correction of the system is shown in Figure 11; the cut-off frequency of the system after modification is 5 kHz, and the phase margin is 45 • , so the system can reach the steady state to meet the design requirements.
Electronics 2022, 11,3625 14 of 30 The corresponding amplitude-frequency characteristics and phase frequency characteristics are: To ensure the stability of the system, in general, the Bode diagram crossing frequency of the corrected open-loop transfer function is lower than 1/10 of the switching frequency. The switching frequency of the bidirectional totem pole converter in this design is 50 kHz, so the cutoff frequency is selected as 5 kHz, i.e., ωc = 2πfs = 3.14 × 10 4 rad/s, while keeping the phase margin as γi = 45°. Substituting the design conditions to Equation (49) to obtain: From Equation (50), we obtain kip = 0.2137 and kii = 6710. The open-loop Bode diagram of the current loop before and after correction of the system is shown in Figure 11; the cutoff frequency of the system after modification is 5 kHz, and the phase margin is 45°, so the system can reach the steady state to meet the design requirements.

Voltage Outer Loop Controller Design
A simplified controller can be obtained by putting the current loop regulation link as a whole into the block diagram of the voltage outer loop, as shown in Figure 12.

Voltage Outer Loop Controller Design
A simplified controller can be obtained by putting the current loop regulation link as a whole into the block diagram of the voltage outer loop, as shown in Figure 12.
The corresponding amplitude-frequency characteristics and phase frequency characteristics are: To ensure the stability of the system, in general, the Bode diagram crossing frequency of the corrected open-loop transfer function is lower than 1/10 of the switching frequency. The switching frequency of the bidirectional totem pole converter in this design is 50 kHz, so the cutoff frequency is selected as 5 kHz, i.e., ωc = 2πfs = 3.14 × 10 4 rad/s, while keeping the phase margin as γi = 45°. Substituting the design conditions to Equation (49) to obtain: From Equation (50), we obtain kip = 0.2137 and kii = 6710. The open-loop Bode diagram of the current loop before and after correction of the system is shown in Figure 11; the cutoff frequency of the system after modification is 5 kHz, and the phase margin is 45°, so the system can reach the steady state to meet the design requirements.

Voltage Outer Loop Controller Design
A simplified controller can be obtained by putting the current loop regulation link as a whole into the block diagram of the voltage outer loop, as shown in Figure 12. The transfer function of the voltage loop PI compensator is: where k vp is the proportionality factor; k vi is the integration factor. The current closed-loop transfer function is: G iv (s) is the transfer function that represents the relationship between input current and output voltage, which can be obtained from Equations (18) and (19): From Equations (51)-(53), the open-loop transmission of the voltage loop before correction is as follows: The open-loop transfer function of the corrected voltage loop is: To reduce the output voltage ripple, the cutoff frequency of the voltage loop is set to 10 Hz, i.e., ω vc = 62.8 rad/s, and the phase margin is set to 45 • . Substitute s = jω into Equation (55) to obtain the corresponding amplitude and phase frequency characteristics as: From the above equation, k vp = 0.0242 and k vi = 1.822. The open-loop Bode diagram of the voltage loop before and after correction of the system is shown in Figure 13. The cutoff frequency of the system before correction is 290 Hz, which becomes 10.1 Hz after correction, and the phase margin also becomes 46 • , which shows that the PI controller meets the expected design requirements.

Control of Soft Start
After the optimization of the relevant coefficients, in order to ensure that the system can achieve the desired control objectives, realize safe and reliable operation, significantly improve the system operating efficiency and reduce the occurrence of faults, it is necessary to propose a highly efficient control method of frequency conversion for the current operating characteristics of the system, so as to achieve the rationalization of resource utilization. In addition, the use of a high-efficiency control strategy can also improve the shock resistance, form a favorable protection for capacitors, and further optimize the system to ensure that the CLLLC resonant converter has a soft-start function and can smoothly complete the continuous output of voltage, so it can be seen that the application of a control strategy is extremely important. At the same time, the resonant converter uses PFM control during the operation phase, and this control system has certain special fea-

Control of Soft Start
After the optimization of the relevant coefficients, in order to ensure that the system can achieve the desired control objectives, realize safe and reliable operation, significantly improve the system operating efficiency and reduce the occurrence of faults, it is necessary to propose a highly efficient control method of frequency conversion for the current operating characteristics of the system, so as to achieve the rationalization of resource utilization. In addition, the use of a high-efficiency control strategy can also improve the shock resistance, form a favorable protection for capacitors, and further optimize the system to ensure that the CLLLC resonant converter has a soft-start function and can smoothly complete the continuous output of voltage, so it can be seen that the application of a control strategy is extremely important. At the same time, the resonant converter uses PFM control during the operation phase, and this control system has certain special features that need to be adjusted to the maximum value when the load is light, combined with the relevant switching frequency theory, in order to ensure the actual efficacy [28]. Therefore, in order to improve the utilization of the inverter controller, relevant research in the CLLLC resonant converter, in which soft-start control is more effective, is carried out.
The application of soft-start control to the inverter system can complete the improvement of the system performance and make the system performance more smoother. For the CLLLC resonant converter the role for the application range expansion gradually presents itself. When in normal start, usually, it will be in a default state, allowing the primary side capacitor to complete charging, when the output voltage is 0 [29]. Based on such a premise, the signal based on PFM control can be used directly to complete the drive to control the primary side switch, as can be seen from the equivalent circuit in Figure 5; the output voltage of the bridge arm has all been added to the CLLLC resonance, and on this basis it can complete the charging of the output capacitor is on the secondary side; it is worth noting that in this process there will be a large current surge. Based on such a situation, the probability of breakdown of the switching transistor will increase, over-voltage problems will occur, resulting in damage to the resonant capacitor, and the safety of the output capacitor cannot be guaranteed. In a word, simple high-frequency starting cannot be equated with an ideal starting effect, and a soft start must be invoked on the basis of the original control strategy to ensure that the CLLLC functionality is brought into play and its safe starting operation is ensured.
The soft start of the CLLLC resonant converter is a dynamic response process. In the process of soft start, the frequency change is very large. First, in the initial stage of the soft start, the frequency must be increased to a relatively high level, thus reducing the voltage and current stress in the resonant cavity. Then the frequency is slowly reduced, gradually dropping to the resonant frequency point and gradually building up the output voltage.
Commonly used frequency reduction methods are shown in Figure 14, Frequency reduction method 1 for uniform frequency reduction; that is, in the start-up process of the switching frequency proportional to time, from the maximum start the frequency f max began to decline at a uniform rate, and the end of the start-up the frequency is equal to the circuit operating frequency. Frequency reduction method 2 is improved on the basis of the former circuit to establish the initial stage of resonant network energy with a faster rate of frequency reduction, to complete and then to reduce the relatively slower switching frequency to complete the process of establishing the output voltage until the start-up is completed. Frequency reduction method 3 uses the exponential function to calculate the switching frequency at each moment, but its decreasing speed is faster than the linear downscaling speed, which generates a larger current overshoot when the CLLLC resonant converter does not reach the steady state [30]. Therefore, the first frequency reduction method is used in this paper.
the former circuit to establish the initial stage of resonant network energy with a faster rate of frequency reduction, to complete and then to reduce the relatively slower switching frequency to complete the process of establishing the output voltage until the start-up is completed. Frequency reduction method 3 uses the exponential function to calculate the switching frequency at each moment, but its decreasing speed is faster than the linear downscaling speed, which generates a larger current overshoot when the CLLLC resonant converter does not reach the steady state [30]. Therefore, the first frequency reduction method is used in this paper. In this paper, the soft start of the resonant converter is completed by a high-frequency soft-start strategy under a PI regulator. The switching frequency is increased to 150 kHz at start-up, and then the switching frequency is slowly reduced to 100 kHz, and the voltage gain is gradually increased to complete the soft start. The comparison graph of resonant current with and without a soft start in forward operating mode is shown in Figure  15. From the figure, it can be seen that, in both cases, the bidirectional CLLLC resonant converter is started from 0.004 s, and the resonant current to the device is much smaller when a soft start is adopted compared with when no soft start is taken. Comparison of the secondary side output current is shown in Figure 16. In the circuit without a soft start, the inrush current can reach 180 A, which is very dangerous for the circuit, while in a softstart circuit the inrush current does not exceed 50 A and quickly falls to less than 15 A, indicating that a soft start for the circuit as well as the power switching transistor has a better protection effect. In this paper, the soft start of the resonant converter is completed by a high-frequency soft-start strategy under a PI regulator. The switching frequency is increased to 150 kHz at start-up, and then the switching frequency is slowly reduced to 100 kHz, and the voltage gain is gradually increased to complete the soft start. The comparison graph of resonant current with and without a soft start in forward operating mode is shown in Figure 15. From the figure, it can be seen that, in both cases, the bidirectional CLLLC resonant converter is started from 0.004 s, and the resonant current to the device is much smaller when a soft start is adopted compared with when no soft start is taken. Comparison of the secondary side output current is shown in Figure 16. In the circuit without a soft start, the inrush current can reach 180 A, which is very dangerous for the circuit, while in a soft-start circuit the inrush current does not exceed 50 A and quickly falls to less than 15 A, indicating that a soft start for the circuit as well as the power switching transistor has a better protection effect.

Parameter Design of Charging System
The whole parameters of the charging system are designed as shown in Table 1.

Parameter Design of Charging System
The whole parameters of the charging system are designed as shown in Table 1.

Parameter Design of Charging System
The whole parameters of the charging system are designed as shown in Table 1.

Parameter Design of Bidirectional Totem Pole Changer
The inductor-capacitor is particularly important when performing the bidirectional totem pole parameter design. The design of the inductor-capacitor is carried out according to the design index of the whole charging system. At the same time, the powerswitching transistor is determined by the voltage, current, and other related parameters [31].

AC Inductance
The inductor stores and releases electrical energy during circuit operation and is generally designed to operate at the lowest input voltage.
Since the efficiency of the whole machine is 95%, the maximum input power of the circuit at rated condition P in is: where P o is the output power; η is the efficiency. Assuming a maximum grid voltage fluctuation of 20%, when the input voltage minimum RMS value is V in(min)_rms = 176 V, the input current maximum RMS value I rms(max) is: The peak input current I peak is: The size of the inductor is related to the size of the ripple of the input current. Assuming that the ripple coefficient of the input current is 20%, the ripple current ∆I is: The duty cycle D at the time of the maximum peak of the input current is: Therefore, the AC inductance is: where V in(min)peak is the peak voltage of the minimum input voltage; f s is the switching frequency.

DC Bus Capacitance
When designing a capacitor, if the maintenance time is used as a limiting condition, the difference between the energy on the capacitor before and after the energy cutoff at the input is equal to the energy consumed by the load during the maintenance time. Therefore: where ∆t is the maintenance time; V dc is the output voltage; V dc(min) is the minimum capacitance-voltage value allowed after the energy cutoff at the input. If output voltage ripple is used as a limiting condition, a compromise must be made in designing the capacitor so that the capacitor size and cost are in the correct range.
Assuming a maximum output voltage ripple of 5% of the output voltage, then: where ∆V cpp is the peak-to-peak value of the ripple. Therefore: To meet the requirements of voltage maintenance time and output voltage ripple, the DC bus capacitor should be selected as a more significant value and retain a certain margin. In this paper, a 450 V/330 µF electrolytic capacitor is selected.

Power Switching Transistor Selection
In general, if the withstand voltage of the switching transistor is 1.2-1.5 times the rated withstand voltage, and the withstand current can be considered as 1.5-2 times the margin, then: As can be seen from (66), the rated voltage of the power switching transistor should be not less than 600 V, the rated current should be not less than 600 V, and the rated current should be not less than 5.1 A. Therefore, the selected power switching transistor is IPD65R420CFDA, whose minimum drain breakdown voltage is 650 V and whose maximum continuous drain current at 25 • C is 8.7 A, all of which meet the circuit requirements.

Parameter Design of Bidirectional CLLLC Resonant Changer
The parameters of the bidirectional CLLLC resonant converter are designed according to the design index of the charging system, and mainly for the design of the transformer, resonant inductor-capacitor design, and power switch transistor selection.

Transformer Turns Ratio
At the rated operating point, the transformer turns ratio is:

The Maximum and Minimum Voltage Gain of the Transformer
According to the voltage range of DC input and output, the maximum voltage gain and minimum voltage gain of the transformer can be obtained as: Inductance Factor K and Quality Factor Q The maximum operating frequency is 150 kHz, and according to Equation (39), the inductance coefficient is: Under the consideration of converter efficiency and limitation, the larger the choice of k, the better, so k is taken as 2. Substituting the value of k into Equation (41), we get: Then, according to Equation (45), we can see that: Combined with Equations (70) and (71), and Figure 8, Q = 0.5 is selected. At this time, the voltage gain curve is located within the inductive region near the resonance point. The maximum and minimum gain requirements can be met by more minor frequency adjustments and remain monotonic.

Resonant Inductance and Capacitance
The equivalent impedance of the converter is: Then the parameters of the original secondary resonant inductor and resonant capacitor are:

The Selection of Power Switching
In forward operation, the effective value of the primary resonant current is: The effective value of the secondary resonant current is: In reverse operation, the corresponding resonant current is: The voltage stress of the primary power switch is the maximum value of the DC bus voltage, i.e., 420 V, and the current stress is the peak value of the primary resonant current, i.e., 1.871 A. Therefore, the primary switch is SMD7N65, whose drain-source withstand voltage is 650 V and continuous drain current is 7 A, and the secondary switch is SQJ402EP-T1_GE3, whose drain-source withstand voltage is 100 V and the continuous drain current is 32 A.

Simulation Analysis
The two-stage bidirectional charging system's simulation model includes the main circuit and the control circuit. The power circuit includes a grid, bidirectional totem pole converter, and bidirectional CLLLC resonant converter; the control circuit consists of a PI controller (current loop, voltage loop), SPWM modulation, and frequency control module. In the control of the post-stage CLLLC resonant converter, the PWM signal is obtained by comparing the output voltage with the given voltage through the PI regulator and pulse frequency modulation (PFM) to control the power switching transistor. The charging system simulation model is shown in Figure 17. The two-stage bidirectional charging system's simulation model includes the main circuit and the control circuit. The power circuit includes a grid, bidirectional totem pole converter, and bidirectional CLLLC resonant converter; the control circuit consists of a PI controller (current loop, voltage loop), SPWM modulation, and frequency control module. In the control of the post-stage CLLLC resonant converter, the PWM signal is obtained by comparing the output voltage with the given voltage through the PI regulator and pulse frequency modulation (PFM) to control the power switching transistor. The charging system simulation model is shown in Figure 17.

Simulation of the Forward Operating State
The bidirectional totem pole converter is cascaded with a bidirectional CLLLC resonant converter to obtain the waveform of the rated output of the charging system at full load. The simulated waveform of the front stage is shown in Figure 18. The figure shows that after 0.045 s, the front stage converter's input voltage and current phase can be kept consistent. The pre-stage output voltage fluctuates between 395 V and 405 V, and the voltage ripple is about 2.5%. The voltage and current of the switching transistor Q1 are shown in Figure 19. Through the detection of the voltage at the terminal of the primary-side switching transistor Q1 and the current flowing through Q1, it can be seen that when the voltage at Q1 drops from Vdc to zero, the current flows positively through the switching transistor Q1 only from the anti-parallel body diode of Q1, so the primary-side switching transistor in Figure 17. Charging system simulation model.

Simulation of the Forward Operating State
The bidirectional totem pole converter is cascaded with a bidirectional CLLLC resonant converter to obtain the waveform of the rated output of the charging system at full load. The simulated waveform of the front stage is shown in Figure 18. The figure shows that after 0.045 s, the front stage converter's input voltage and current phase can be kept consistent. The pre-stage output voltage fluctuates between 395 V and 405 V, and the voltage ripple is about 2.5%. The two-stage bidirectional charging system's simulation model includes the main circuit and the control circuit. The power circuit includes a grid, bidirectional totem pole converter, and bidirectional CLLLC resonant converter; the control circuit consists of a PI controller (current loop, voltage loop), SPWM modulation, and frequency control module. In the control of the post-stage CLLLC resonant converter, the PWM signal is obtained by comparing the output voltage with the given voltage through the PI regulator and pulse frequency modulation (PFM) to control the power switching transistor. The charging system simulation model is shown in Figure 17.

Simulation of the Forward Operating State
The bidirectional totem pole converter is cascaded with a bidirectional CLLLC resonant converter to obtain the waveform of the rated output of the charging system at full load. The simulated waveform of the front stage is shown in Figure 18. The figure shows that after 0.045 s, the front stage converter's input voltage and current phase can be kept consistent. The pre-stage output voltage fluctuates between 395 V and 405 V, and the voltage ripple is about 2.5%. The voltage and current of the switching transistor Q1 are shown in Figure 19. Through the detection of the voltage at the terminal of the primary-side switching transistor Q1 and the current flowing through Q1, it can be seen that when the voltage at Q1 drops from Vdc to zero, the current flows positively through the switching transistor Q1 only from the anti-parallel body diode of Q1, so the primary-side switching transistor in this state can realize ZVS. The waveforms of the resonant current and the excitation The voltage and current of the switching transistor Q 1 are shown in Figure 19. Through the detection of the voltage at the terminal of the primary-side switching transistor Q 1 and the current flowing through Q 1 , it can be seen that when the voltage at Q 1 drops from V dc to zero, the current flows positively through the switching transistor Q 1 only from the anti-parallel body diode of Q 1 , so the primary-side switching transistor in this state can realize ZVS. The waveforms of the resonant current and the excitation current are shown in Figure 20. When the excitation current is equal to the resonant current, the excitation current increases rapidly in the reverse operation, which shows that the operation is near the quasi-resonant point at this time. Due to the fluctuation of the DC bus voltage, the switching frequency of the resonant converter fluctuates between 95 kHz and 102 kHz.      The currents of diodes Dq5 and Dq7 with the post-stage output voltages are shown in Figures 21 and 22. The detection of the secondary sidelobe diodes Dq5 and Dq7 shows that Dq5 and Dq7 just achieve ZCS, i.e., the secondary sidelobe diodes can achieve ZCS, the output voltage fluctuates between 47.9 V and 48.1 V when stable, and the output voltage ripple is about 0.4%

Simulation of Reverse Operating State
The voltage and current waveforms of the switching transistor Q5 are shown in Figure 23. The DC bus voltage fluctuation makes the resonant converter's switching frequency fluctuate between 110 kHz and 115 kHz. The Q5 current flows positively to the switching transistor only after the voltage at Q5 is zero, so the secondary side switching transistor can realize ZVS. The waveforms of the excitation current and the resonant current are shown in Figure  24, when the excitation current is equal to the resonant current. After the excitation current is equal to the resonant current, it rapidly increases in the reverse operation, and it is known that at this time the work is near the quasi-resonant point, and the voltage gain is about 1. In this process, the primary-side body diodes Dq1 and Dq3 can just achieve ZCS, and the waveform approximates a sinusoidal waveform. The current waveforms of diodes Dq1 and Dq3 are shown in Figure 25.

Simulation of Reverse Operating State
The voltage and current waveforms of the switching transistor Q 5 are shown in Figure 23. The DC bus voltage fluctuation makes the resonant converter's switching frequency fluctuate between 110 kHz and 115 kHz. The Q 5 current flows positively to the switching transistor only after the voltage at Q 5 is zero, so the secondary side switching transistor can realize ZVS.

Simulation of Reverse Operating State
The voltage and current waveforms of the switching transistor Q5 are shown in Figure 23. The DC bus voltage fluctuation makes the resonant converter's switching frequency fluctuate between 110 kHz and 115 kHz. The Q5 current flows positively to the switching transistor only after the voltage at Q5 is zero, so the secondary side switching transistor can realize ZVS. The waveforms of the excitation current and the resonant current are shown in Figure  24, when the excitation current is equal to the resonant current. After the excitation current is equal to the resonant current, it rapidly increases in the reverse operation, and it is known that at this time the work is near the quasi-resonant point, and the voltage gain is about 1. In this process, the primary-side body diodes Dq1 and Dq3 can just achieve ZCS, and the waveform approximates a sinusoidal waveform. The current waveforms of diodes Dq1 and Dq3 are shown in Figure 25.  The waveforms of the excitation current and the resonant current are shown in Figure 24, when the excitation current is equal to the resonant current. After the excitation current is equal to the resonant current, it rapidly increases in the reverse operation, and it is known that at this time the work is near the quasi-resonant point, and the voltage gain is about 1. In this process, the primary-side body diodes D q1 and D q3 can just achieve ZCS, and the waveform approximates a sinusoidal waveform. The current waveforms of diodes D q1 and D q3 are shown in Figure 25.

Simulation of Reverse Operating State
The voltage and current waveforms of the switching transistor Q5 are shown in Figure 23. The DC bus voltage fluctuation makes the resonant converter's switching frequency fluctuate between 110 kHz and 115 kHz. The Q5 current flows positively to the switching transistor only after the voltage at Q5 is zero, so the secondary side switching transistor can realize ZVS. The waveforms of the excitation current and the resonant current are shown in Figure  24, when the excitation current is equal to the resonant current. After the excitation current is equal to the resonant current, it rapidly increases in the reverse operation, and it is known that at this time the work is near the quasi-resonant point, and the voltage gain is about 1. In this process, the primary-side body diodes Dq1 and Dq3 can just achieve ZCS, and the waveform approximates a sinusoidal waveform. The current waveforms of diodes Dq1 and Dq3 are shown in Figure 25.

Experimental Verification
The hardware structure of the two-stage bidirectional isolated charging system i shown in Figure 28. The control chip TMS320F28335 is used to process the sampled inpu current, input voltage, and DC voltage signals to get the control signal. Then the isolate driver chip is used to drive the switch transistor to realize the forward and revers operation of the system.

Experimental Verification
The hardware structure of the two-stage bidirectional isolated charging system i shown in Figure 28. The control chip TMS320F28335 is used to process the sampled inpu current, input voltage, and DC voltage signals to get the control signal. Then the isolated driver chip is used to drive the switch transistor to realize the forward and revers operation of the system. The output voltage of the rear stage converter and the output voltage of the fron stage converter are shown in Figures 26 and 27. The output voltage of the rear stag bidirectional CLLLC resonant converter can be stabilized at 400 V left, and when the fron stage converter works in reverse, the output voltage is output in the form of a sinusoida waveform with a certain harmonic content. Basically, however, it can meet the outpu requirements.

Experimental Verification
The hardware structure of the two-stage bidirectional isolated charging system i shown in Figure 28. The control chip TMS320F28335 is used to process the sampled inpu current, input voltage, and DC voltage signals to get the control signal. Then the isolate driver chip is used to drive the switch transistor to realize the forward and revers operation of the system.

Experimental Verification
The hardware structure of the two-stage bidirectional isolated charging system is shown in Figure 28. The control chip TMS320F28335 is used to process the sampled input current, input voltage, and DC voltage signals to get the control signal. Then the isolated driver chip is used to drive the switch transistor to realize the forward and reverse operation of the system. The experimental platform of the charging system is designed and built through the above analysis, as shown in Figure 29. It mainly includes a bidirectional isolated charging system, oscilloscope, PC, DC power supply, and electronic load, et al.

Forward Operation
When the charging system works in the forward operation, and at full load, the input current and voltage waveforms are shown in Figure 30. The peak value of the input current is about 2 A, which is in the same phase as the input voltage. The input current contains fewer harmonics, and the overall power factor of the charging system is high and meets the working requirements. The DC bus voltage and post-stage output voltage waveforms are shown in Figure 31. The amplitude of the DC bus voltage ranges from 392.3 V to 403.7 V, which meets the input voltage requirements of the post-stage.  The experimental platform of the charging system is designed and built through the above analysis, as shown in Figure 29. It mainly includes a bidirectional isolated charging system, oscilloscope, PC, DC power supply, and electronic load, et al. The experimental platform of the charging system is designed and built through the above analysis, as shown in Figure 29. It mainly includes a bidirectional isolated charging system, oscilloscope, PC, DC power supply, and electronic load, et al.

Forward Operation
When the charging system works in the forward operation, and at full load, the input current and voltage waveforms are shown in Figure 30. The peak value of the input current is about 2 A, which is in the same phase as the input voltage. The input current contains fewer harmonics, and the overall power factor of the charging system is high and meets the working requirements. The DC bus voltage and post-stage output voltage waveforms are shown in Figure 31. The amplitude of the DC bus voltage ranges from 392.3 V to 403.7 V, which meets the input voltage requirements of the post-stage.

Forward Operation
When the charging system works in the forward operation, and at full load, the input current and voltage waveforms are shown in Figure 30. The peak value of the input current is about 2 A, which is in the same phase as the input voltage. The input current contains fewer harmonics, and the overall power factor of the charging system is high and meets the working requirements. The DC bus voltage and post-stage output voltage waveforms are shown in Figure 31. The amplitude of the DC bus voltage ranges from 392.3 V to 403.7 V, which meets the input voltage requirements of the post-stage. The experimental platform of the charging system is designed and built through the above analysis, as shown in Figure 29. It mainly includes a bidirectional isolated charging system, oscilloscope, PC, DC power supply, and electronic load, et al.

Forward Operation
When the charging system works in the forward operation, and at full load, the input current and voltage waveforms are shown in Figure 30. The peak value of the input current is about 2 A, which is in the same phase as the input voltage. The input current contains fewer harmonics, and the overall power factor of the charging system is high and meets the working requirements. The DC bus voltage and post-stage output voltage waveforms are shown in Figure 31. The amplitude of the DC bus voltage ranges from 392.3 V to 403.7 V, which meets the input voltage requirements of the post-stage.   The waveforms of the gate-source voltage Vgs_2 and drain-source voltage Vds_2 of the primary-side switch transistor Q2 in the forward operation of the rear stage CLLLC resonant converter are shown in Figure 32. When Vds_2 drops to zero potential, Vgs_2 starts to increase, indicating that all switch transistors on the primary side in the forward operation mode can achieve ZVS, thus reducing the turn-on loss of the switch transistors. When starting the charging system, set the maximum dead time and the highest frequency so that the starting current is small, and then gradually reduce the operating frequency and dead time to ensure normal operation; taking the resonant current as an example, there is no current shock during the starting process, and you can choose equipment with a smaller value of voltage and current resistance to reduce costs. The softstart process is shown in Figure 33.

Reverse Operation
When the charging system works in reverse and is fully loaded, the waveforms of output voltage and output current are shown in Figure 34. The output voltage and output The waveforms of the gate-source voltage V gs_2 and drain-source voltage V ds_2 of the primary-side switch transistor Q 2 in the forward operation of the rear stage CLLLC resonant converter are shown in Figure 32. When V ds_2 drops to zero potential, V gs_2 starts to increase, indicating that all switch transistors on the primary side in the forward operation mode can achieve ZVS, thus reducing the turn-on loss of the switch transistors.  The waveforms of the gate-source voltage Vgs_2 and drain-source voltage Vds_2 of the primary-side switch transistor Q2 in the forward operation of the rear stage CLLLC resonant converter are shown in Figure 32. When Vds_2 drops to zero potential, Vgs_2 starts to increase, indicating that all switch transistors on the primary side in the forward operation mode can achieve ZVS, thus reducing the turn-on loss of the switch transistors. When starting the charging system, set the maximum dead time and the highest frequency so that the starting current is small, and then gradually reduce the operating frequency and dead time to ensure normal operation; taking the resonant current as an example, there is no current shock during the starting process, and you can choose equipment with a smaller value of voltage and current resistance to reduce costs. The softstart process is shown in Figure 33.

Reverse Operation
When the charging system works in reverse and is fully loaded, the waveforms of output voltage and output current are shown in Figure 34. The output voltage and output When starting the charging system, set the maximum dead time and the highest frequency so that the starting current is small, and then gradually reduce the operating frequency and dead time to ensure normal operation; taking the resonant current as an example, there is no current shock during the starting process, and you can choose equipment with a smaller value of voltage and current resistance to reduce costs. The soft-start process is shown in Figure 33.  The waveforms of the gate-source voltage Vgs_2 and drain-source voltage Vds_2 of the primary-side switch transistor Q2 in the forward operation of the rear stage CLLLC resonant converter are shown in Figure 32. When Vds_2 drops to zero potential, Vgs_2 starts to increase, indicating that all switch transistors on the primary side in the forward operation mode can achieve ZVS, thus reducing the turn-on loss of the switch transistors. When starting the charging system, set the maximum dead time and the highest frequency so that the starting current is small, and then gradually reduce the operating frequency and dead time to ensure normal operation; taking the resonant current as an example, there is no current shock during the starting process, and you can choose equipment with a smaller value of voltage and current resistance to reduce costs. The softstart process is shown in Figure 33.

Reverse Operation
When the charging system works in reverse and is fully loaded, the waveforms of output voltage and output current are shown in Figure 34. The output voltage and output

Reverse Operation
When the charging system works in reverse and is fully loaded, the waveforms of output voltage and output current are shown in Figure 34. The output voltage and output current maintain a sinusoidal output, and the peak output voltage is about 311 V at this time. There is a certain harmonic content; however, it meets the requirements, which allows the power to be supplied to other devices in reverse.
Electronics 2022, 11, 3625 28 of 30 current maintain a sinusoidal output, and the peak output voltage is about 311 V at this time. There is a certain harmonic content; however, it meets the requirements, which allows the power to be supplied to other devices in reverse. The waveforms of the gate-source voltage Vgs_5 and drain-source voltage Vds_5 of the rear stage CLLLC resonant converter at the secondary side switch transistor Q5 during reverse operation are shown in Figure 35, and Vgs_5 starts to increase when Vds_5 drops to zero potential, thus realizing ZVS. The current waveforms of the body diodes Dq1 and Dq3 and the resonant current waveforms are shown in Figure 36. It can be seen that the body diodes can achieve zero-current shutdown and that the resonant current approximates a sinusoidal waveform, which is the highest efficiency.  A charging system with a bidirectional CLLC resonant converter in the rear stage was designed in [27] with an overall control strategy of up to 94.5% in efficiency. In this paper, the efficiency of the two-stage isolated charging system was tested and calculated The waveforms of the gate-source voltage V gs_5 and drain-source voltage V ds_5 of the rear stage CLLLC resonant converter at the secondary side switch transistor Q 5 during reverse operation are shown in Figure 35, and V gs_5 starts to increase when V ds_5 drops to zero potential, thus realizing ZVS. The current waveforms of the body diodes D q1 and D q3 and the resonant current waveforms are shown in Figure 36. It can be seen that the body diodes can achieve zero-current shutdown and that the resonant current approximates a sinusoidal waveform, which is the highest efficiency.
Electronics 2022, 11, 3625 28 of 30 current maintain a sinusoidal output, and the peak output voltage is about 311 V at this time. There is a certain harmonic content; however, it meets the requirements, which allows the power to be supplied to other devices in reverse. The waveforms of the gate-source voltage Vgs_5 and drain-source voltage Vds_5 of the rear stage CLLLC resonant converter at the secondary side switch transistor Q5 during reverse operation are shown in Figure 35, and Vgs_5 starts to increase when Vds_5 drops to zero potential, thus realizing ZVS. The current waveforms of the body diodes Dq1 and Dq3 and the resonant current waveforms are shown in Figure 36. It can be seen that the body diodes can achieve zero-current shutdown and that the resonant current approximates a sinusoidal waveform, which is the highest efficiency.  A charging system with a bidirectional CLLC resonant converter in the rear stage was designed in [27] with an overall control strategy of up to 94.5% in efficiency. In this paper, the efficiency of the two-stage isolated charging system was tested and calculated current maintain a sinusoidal output, and the peak output voltage is about 311 V at this time. There is a certain harmonic content; however, it meets the requirements, which allows the power to be supplied to other devices in reverse. The waveforms of the gate-source voltage Vgs_5 and drain-source voltage Vds_5 of the rear stage CLLLC resonant converter at the secondary side switch transistor Q5 during reverse operation are shown in Figure 35, and Vgs_5 starts to increase when Vds_5 drops to zero potential, thus realizing ZVS. The current waveforms of the body diodes Dq1 and Dq3 and the resonant current waveforms are shown in Figure 36. It can be seen that the body diodes can achieve zero-current shutdown and that the resonant current approximates a sinusoidal waveform, which is the highest efficiency.  A charging system with a bidirectional CLLC resonant converter in the rear stage was designed in [27] with an overall control strategy of up to 94.5% in efficiency. In this paper, the efficiency of the two-stage isolated charging system was tested and calculated

Conclusions
In this paper, the theory, simulation, and experiment of two-stage isolated charging system topology based on resonant converter are studied, and the following conclusions are obtained:

1.
Mathematical modeling of bidirectional totem pole converter using small signal analysis can obtain the transfer function of input current transformation with a duty cycle; an equivalent model of a bidirectional CLLLC resonant converter is obtained by fundamental wave analysis for characterization, and the parameters of the design are reasonable.

2.
The front stage adopts voltage and current double closed-loop control to keep the DC bus voltage stable, and the rear stage adopts frequency conversion and a highfrequency soft start to control the constant output voltage. The simulation model results of the control system show that the control strategy designed in this paper is reasonable.

3.
The experimental results prove that the bidirectional charging system can achieve power factor correction and has soft switching characteristics across the full load range.