An Integrated Current-Voltage Compensator Design Method for Stable Constant Voltage and Current Source Operation of LLC Resonant Converters

This paper proposes a method to charge a lithium ion battery with an integrated compensator. Unlike the conventional charging method which uses separate voltage/current compensators based on a constant voltage-constant current charge profile, the proposed method uses a single compensator. The conventional method requires a complicated design process such as separate plant modeling for compensator design and the compensator tuning process in the frequency domain. Moreover, it has the disadvantage of a transient state between the mode change. However, the proposed method simplifies the complicated process and eliminates the transient response. The proposed compensator is applied to the LLC resonant converter and is designed to provide smooth and reliable performance during the entire charging process. In this paper, for the compensator design, the frequency domain models of the LLC resonant converter at the constant voltage and constant current charging mode are derived including the impedance model of the battery pack. Additionally, the worst condition of the compensator design during the entire charging process is considered. To demonstrate the effectiveness of the proposed method, the theoretical design procedure is presented in this paper, and it is verified through experimental results using a 300 W LLC converter and battery pack.


Introduction
As the demand for energy storage and renewable energy systems grows rapidly, batteries are playing important roles.In particular, lithium-ion (Li-ion) batteries have no memory effect, high energy density, and low self-discharge effects, making them suitable for a variety of applications, from small portable devices to electric vehicles.This trend has also increased the importance of Li-ion battery chargers and charging methods [1,2].
Battery chargers were designed using a variety of pulse width modulation (PWM) converters, including buck and fly-back converters.However, the importance of high power density and high efficiency operation has recently been emphasized, and LLC resonator converters research is also actively underway.The LLC resonant converter is capable of high-switching frequency operation and high-efficiency operation because it performs zero voltage switching under the entire load condition [3][4][5].In addition, since the leakage inductance of the transformer is used as a resonant inductor, there is an advantage in terms of cost and power density [6].
On the other hand, studies on the charging method have been actively carried out for efficient and stable charging of Li-ion batteries [7][8][9][10][11][12].In Ref. [7][8][9], the optimum charging pattern of a Li-ion battery is proposed which computes the cost function based on hardware/software setup to increase the charging efficiency and charge the Li-ion battery in a short time.Another previous study [8] proposed a method of detecting the lowest impedance of a battery and charging it with a pulse of the corresponding frequency for quick charging.Other previous studies [10][11][12] established the equivalent circuit model of the battery and proposed the optimal charging pattern.However, the above methods have limitations in terms of cost, volume, and the complexity to be applied to the battery charger.Therefore, in industry, the constant current and constant voltage (CC-CV) charging method which has a relatively simple operation and robust characteristics is widely used among the aforementioned methods [13].
In this method, when the voltage of the battery pack is lower than the full charge voltage, the charger is operated as a constant current source to prevent overcurrent charging, and when the full charge voltage is reached, the charger is operated as a constant voltage source.The CC-CV charging method has the advantage that it can guarantee the state of charge (SOC) of the battery up to 100%.However, since the output current and voltage of the charger have a wide range of variation during the whole charging process, it is difficult to select the worst case condition for compensator design.Moreover, in general, as in previous literature [14], the compensator for constant current charging and the compensator for constant voltage charging are separated.Therefore, there is a disadvantage that a transient state exists at the change of charging mode.
Conventional studies using constant-current and constant-voltage charging methods for LLC resonant converters have presented various solutions to solve these problems [15][16][17][18][19].However, many studies have attempted hardware modifications to meet wide output voltage and output current ranges or have focused only on selecting optimal circuit parameters [16][17][18].
Although there have been studies on compensator design considering the dynamic characteristics of the LLC resonant converter, it is difficult to guarantee stable operation during the entire charging period without considering the worst condition when designing the compensator.Still, the separated voltage and current compensator has been adopted and the transient state exists at the time of mode switching [19][20][21][22].
In previous research [18,19,23], the compensator was designed by modeling the battery as an equivalent resistance.However, it cannot reflect all the dynamic characteristics of the battery, so it is difficult to guarantee stable operation in various situations.Previous studies [24,25] for eliminating the transient state during mode switching have removed the transient state through adopting additional circuitry.However, the disadvantage is that the complexity increases due to the additional hardware.
In this paper, the integrated voltage and current compensator of a battery charger based on the LLC resonant converter is proposed and the design method for solving the above problems is presented.The design of the proposed compensator is based on the model of the LLC resonant converter obtained by using the extended describing function and the frequency domain model of the Li-ion battery pack obtained by using a frequency analyzer.Since the proposed method uses only one compensator unlike the conventional separated compensator, it is possible to simplify the compensator design procedure, and it is possible to eliminate the transient state during the mode change without an additional circuit.Moreover, it does not require separate hardware setups or complex algorithms, making it easy to apply to a variety of applications.In addition, since the compensator is designed considering the worst operating condition by comparing the stability of the system in the entire charging area, stable operation is ensured in the entire charging area.The proposed method is explained in detail through a 300 W battery charger design example and its effectiveness is verified through experiments.

System Description
Figure 1 shows a circuit of a half bridge LLC resonant converter battery charger and a Li-ion battery where L m is the magnetizing inductor, L r is the resonant inductor, C r is the resonant capacitor, n p and n s are the primary and secondary transformer windings, respectively, Q 1 and Q 2 are the Energies 2018, 11, 1325 3 of 18 switches, F m is the pulse frequency modulator, r s is the resonant tank parasitic resistance, D 1 and D 2 denote rectifying diodes, and C and r c denote the output capacitor and equivalent series resistor of C. i r , i Lm , i p , i s , i o , and v o are the resonant current, the magnetizing current, the primary transformer current, the rectified secondary current, the output current, and the output voltage, respectively.
Energies 2018, 11, x FOR PEER REVIEW 3 of 18 switches, Fm is the pulse frequency modulator, rs is the resonant tank parasitic resistance, D1 and D2 denote rectifying diodes, and C and rc denote the output capacitor and equivalent series resistor of C. ir, iLm, ip, is, io, and vo are the resonant current, the magnetizing current, the primary transformer current, the rectified secondary current, the output current, and the output voltage, respectively.The LLC resonant converter consists of a switch network, a resonant network, and a rectifying network on the secondary side [26].The switch network performs complementary switching with a duty ratio of 50%, and the resonant network consists of resonant capacitors, resonant inductors, and magnetizing inductors of the transformer where the resonant inductor can be integrated into the leakage inductance of the transformer.
The rectifying network of the LLC resonant converter serves to smoothen the output voltage to the secondary side by using a rectifying diode and an output capacitor.In the case of a battery charger application in which a large current flows in the rectifying network, a center tap structure is mainly adopted to reduce conduction loss.
For constant current-constant voltage charging, a current compensator and a voltage compensator are required, as shown in Figure 1.Constant current charging is performed where the battery pack voltage is higher than the cutoff voltage and lower than the full charge voltage.During the charging process, the compensator maintains the output current through the switching frequency adjustment so that the error ie between the detected io and the current reference iref decreases.When the voltage of the battery pack becomes equal to the full charge voltage, the constant current charging is terminated and the constant voltage charging starts.During the constant voltage charging, the voltage compensator maintains the output voltage through the switching frequency adjustment so that the error ve between the detected vo and the voltage reference vref decreases.If the charge current during constant voltage charging is less than the predetermined cutoff current value, IT, the charging process is terminated.

Li-Ion Battery Pack Modeling
The equivalent resistance modeling of the Li-ion battery used in previous research [18,19,23] has been derived based on the output voltage and current of the LLC converter, so it does not reflect the exact dynamic characteristics of the Li-ion battery pack.Therefore, in this paper, a more accurate battery model is obtained through frequency domain analysis of an actual battery pack.The lithiumion battery consists of 4 parallel and 10 serial connections of the INR18650-29E cell manufactured by SAMSUNG SDI (Gyeonggi Province, Korea).Figure 2 shows the frequency analysis results of the Liion battery pack obtained from the frequency analyzer at the nominal voltage.The LLC resonant converter consists of a switch network, a resonant network, and a rectifying network on the secondary side [26].The switch network performs complementary switching with a duty ratio of 50%, and the resonant network consists of resonant capacitors, resonant inductors, and magnetizing inductors of the transformer where the resonant inductor can be integrated into the leakage inductance of the transformer.
The rectifying network of the LLC resonant converter serves to smoothen the output voltage to the secondary side by using a rectifying diode and an output capacitor.In the case of a battery charger application in which a large current flows in the rectifying network, a center tap structure is mainly adopted to reduce conduction loss.
For constant current-constant voltage charging, a current compensator and a voltage compensator are required, as shown in Figure 1.Constant current charging is performed where the battery pack voltage is higher than the cutoff voltage and lower than the full charge voltage.During the charging process, the compensator maintains the output current through the switching frequency adjustment so that the error i e between the detected i o and the current reference i ref decreases.When the voltage of the battery pack becomes equal to the full charge voltage, the constant current charging is terminated and the constant voltage charging starts.During the constant voltage charging, the voltage compensator maintains the output voltage through the switching frequency adjustment so that the error v e between the detected v o and the voltage reference v ref decreases.If the charge current during constant voltage charging is less than the predetermined cutoff current value, I T , the charging process is terminated.

Li-Ion Battery Pack Modeling
The equivalent resistance modeling of the Li-ion battery used in previous research [18,19,23] has been derived based on the output voltage and current of the LLC converter, so it does not reflect the exact dynamic characteristics of the Li-ion battery pack.Therefore, in this paper, a more accurate battery model is obtained through frequency domain analysis of an actual battery pack.The lithium-ion battery consists of 4 parallel and 10 serial connections of the INR18650-29E cell manufactured by SAMSUNG SDI (Gyeonggi Province, Korea).Figure 2 shows the frequency analysis results of the Li-ion battery pack obtained from the frequency analyzer at the nominal voltage.
than 10 times the crossover frequency.Equation (1) shows this relationship and it is represented by a series-connected resistor and capacitor.The values of the approximated elements are 87.02mΩ and 28.73 F, respectively.

Modeling of LLC Resonant Converter-Based Battery Chargers
Modeling of the LLC resonant converter-based battery charger is based on the method used in previous studies [27][28][29][30], in which the voltage and current components in the circuit are divided into sine and cosine components.Figure 4 is an equivalent circuit of an LLC resonant converter that simplifies the switch network to a square wave and the approximated battery pack model where VAB The approximated magnitude and phase of the analyzed battery pack in the frequency domain are shown in Figure 3.In this paper, assuming that the crossover frequency of the CC-CV compensator is near 100 Hz, approximation is performed while ignoring frequency components more than 10 times the crossover frequency.Equation (1) shows this relationship and it is represented by a series-connected resistor and capacitor.The values of the approximated elements are 87.02mΩ and 28.73 F, respectively.
Energies 2018, 11, x FOR PEER REVIEW 4 of 18 The approximated magnitude and phase of the analyzed battery pack in the frequency domain are shown in Figure 3.In this paper, assuming that the crossover frequency of the CC-CV compensator is near 100 Hz, approximation is performed while ignoring frequency components more than 10 times the crossover frequency.Equation (1) shows this relationship and it is represented by a series-connected resistor and capacitor.The values of the approximated elements are 87.02mΩ and 28.73 F, respectively.

Modeling of LLC Resonant Converter-Based Battery Chargers
Modeling of the LLC resonant converter-based battery charger is based on the method used in previous studies [27][28][29][30], in which the voltage and current components in the circuit are divided into sine and cosine components.Figure 4 is an equivalent circuit of an LLC resonant converter that simplifies the switch network to a square wave and the approximated battery pack model where VAB

Modeling of LLC Resonant Converter-Based Battery Chargers
Modeling of the LLC resonant converter-based battery charger is based on the method used in previous studies [27][28][29][30], in which the voltage and current components in the circuit are divided into sine and cosine components.Figure 4 is an equivalent circuit of an LLC resonant converter that simplifies the switch network to a square wave and the approximated battery pack model where V AB is the square wave applied to the resonance tank, v cr is the resonant capacitor voltage, v rc is the voltage applied to the parasitic resistance of the output capacitor, v C is the voltage applied to the output capacitor, and v b and v rb represent voltages applied to r b and C b included in the approximated battery model.When Kirchhoff's voltage law (KVL) is applied to the resonant tank, v AB is expressed as follows: Energies 2018, 11, x FOR PEER REVIEW 5 of 18 is the square wave applied to the resonance tank, vcr is the resonant capacitor voltage, vrc is the voltage applied to the parasitic resistance of the output capacitor, vC is the voltage applied to the output capacitor, and vb and vrb represent voltages applied to rb and Cb included in the approximated battery model.When Kirchhoff's voltage law (KVL) is applied to the resonant tank, vAB is expressed as follows: ( ) Resonant current ir is expressed as follows: Additionally, n represents the turns ratio and is expressed as follows sgn represents the signum function that determines the polarity according to the direction of the current flowing in the primary transformer.
( ) The voltage applied to the primary magnetization inductor is as follows.
Applying KCL to the output capacitor node, the rectified secondary current is expressed as Equation (7).
The output voltage is expressed as Equation ( 8) and is the same as Equation ( 9).
( ) Similarly, the output current is expressed as Equation (10).
( ) Resonant current i r is expressed as follows: Additionally, n represents the turns ratio and is expressed as follows sgn represents the signum function that determines the polarity according to the direction of the current flowing in the primary transformer.
The voltage applied to the primary magnetization inductor is as follows.
Applying KCL to the output capacitor node, the rectified secondary current is expressed as Equation (7).
The output voltage is expressed as Equation ( 8) and is the same as Equation ( 9).
Similarly, the output current is expressed as Equation (10).
Energies 2018, 11, 1325 6 of 18 In order to separate the resonant current and voltage into fundamental sine and cosine components, by using the harmonic approximation, the resonant current, resonant capacitor voltage, and magnetizing inductor current are expressed as Equations ( 11)- (13).The differentiation result of Equations ( 11)-( 13) is Equations ( 14)-( 16) where the subscript s represents the sine component and c represents the cosine component.
The result of applying the extended description function (EDF) to v AB , which is the voltage applied to the resonance tank, is as follows, where the function f is the result of applying EDF and the constants in parentheses are the harmonic coefficients at state variables [29,30]: f 1 () is as follows, where d is the effective duty, excluding the dead time θ: Applying EDF to the voltage applied to the primary transformer is as follows, where i pp denotes the rms value of the primary transformer current: In order to derive the operating point of the LLC resonant converter based on the abovementioned relation, the following Equation ( 20) is obtained by solving only the sine component by substituting Equations (11) and (19) into Equation (2).Also, Equation ( 21) is obtained by solving only the cosine component in the same manner.Similarly, by substituting Equation (12) into Equation (3), the separated sine component is as shown in Equation ( 22) and the separated cosine component is as shown in Equation (23).Finally, Equations ( 24) and ( 25) are derived by substituting Equation ( 13) into Equation ( 6) and separating only the sine and cosine components respectively, where the sine component of the magnetizing inductor current is defined as v ps and the cosine component is v pc .
In contrast, to derive the operating point, only by calculating the DC value of the rectified secondary current and substituting into Equations ( 7) and ( 8), Equations ( 26) and ( 27) are obtained where the resistance r c ' is defined in Equation (28).
Considering only the DC components of Equations ( 20) and ( 21), the relationships are expressed as follows, where the equivalent resistance R e is defined as shown in Equation (31).
Considering only the DC components of Equations ( 22) and ( 23), the relationships are expressed as follows: Considering only the DC components of Equations ( 24) and ( 26), the relationships are expressed as follows: R e I s − L m 2πF s I mc − R e I ms = 0 (34) The sine component I PS and the cosine component I PC of the current flowing in the primary transformer are expressed as: The equivalent large-signal model reflecting the above relations is shown in Figure 5. Since VAB, the voltage applied to the resonance tank, is an odd function, V ABC is 0 by using the Fourier series, and the large-signal model reflecting the relationships including Equations ( 29)-( 37) is as follows, where U is the input matrix, Y is the output matrix, and X is the variable matrix: Energies 2018, 11, 1325 and the large-signal model reflecting the relationships including Equations ( 29)-( 37) is as follows, where U is the input matrix, Y is the output matrix, and X is the variable matrix: [ ]  The small-signal modeling is conducted by substituting perturbations of state variables to the operating point of the Y matrix obtained through Equation ( 41), where capital letters indicate the equilibrium variables and the lower-case letters with the symbol '^' mean the perturbed variables.

ABs
ABs ABs  The small-signal modeling is conducted by substituting perturbations of state variables to the operating point of the Y matrix obtained through Equation ( 41), where capital letters indicate the equilibrium variables and the lower-case letters with the symbol 'ˆ' mean the perturbed variables.
v ABs = V ABs + vABs (42) i ps = I ps + îps (47) i ms = I ms + îms (49) i rs = I rs + îrs (51) Energies 2018, 11, 1325 Equations ( 42)-( 60) are substituted into the large signal model, retaining only linear terms.After that, we conducted the partial differentiation for each variable and rearranged the relations to derive the transfer function for the output voltage and the output current.Finally, the linearized small signal matrices are obtained as follows, where û, ŷ, and x denote the input vector, the output vector and the state vector, respectively.The small-signal equivalent circuit that includes these relations is shown in Figure 6.
As can be seen through Equations ( 65) and (66), îo and vo are the same except for the coefficients of each variable.Assuming that the parasitic resistances of the battery and the capacitor are sufficiently small, the output current and the output voltage can be expressed as being the same.Therefore, the CC-CV charging can be performed by only one compensator design.The detailed compensator design process is presented in the integrated current-voltage compensator design example in Section 4.
As can be seen through Equations ( 65) and (66), o î and o v are the same except for the coefficients of each variable.Assuming that the parasitic resistances of the battery and the capacitor are sufficiently small, the output current and the output voltage can be expressed as being the same.Therefore, the CC-CV charging can be performed by only one compensator design.The detailed compensator design process is presented in the integrated current-voltage compensator design example in Section 4.

Integrated Current-Voltage Compensator
The stable design of the CC and CV compensators requires two small signal transfer functions of the LLC resonant converter with the Li-ion battery, i.e., the control-to-output current Gif for the CC

Integrated Current-Voltage Compensator
The stable design of the CC and CV compensators requires two small signal transfer functions of the LLC resonant converter with the Li-ion battery, i.e., the control-to-output current G if for the CC compensator and the control-to-output voltage G vf for the CV compensator.The transfer functions are derived through Equation ( 67).
The difference between the two transfer functions results from the difference between the first column and the second column of the C matrix of Equation (64).As mentioned earlier, the variables in the matrix are the same except for the constants r c ', r c , and r b , and if the parasitic resistances of the battery and the capacitor are assumed to be sufficiently small, the first and second columns of the C matrix are equal.Consequently, the conventional voltage and current compensator can be incorporated into a single and integrated current-voltage compensator, which helps to eliminate the transient response due to no mode change of the separated CC-CV compensators and to reduce the complexity of the compensator design process.The proposed integrated current-voltage compensator is shown in Figure 7.
Figure 8 shows the operation principle of the proposed integrated current-voltage compensator in the form of a flowchart.When the charging process starts, the integrated current-voltage compensator detects the battery voltage v o .If v o is lower than the voltage reference of CV mode V ref , the enable signal EN becomes 0 and the current error i e , the difference between the output current i o and the current reference of CC mode I ref , is fed to the integrated compensator.Consequently, the integrated compensator generates the switching frequency, fs, to regulate the output current i o with respect to the current reference of the CC mode I ref .When v o is same as V ref or higher, in contrast, EN becomes 1 and the voltage error v e , the difference between v o and the V ref , is fed to achieve the CV.
CV mode operation.The integrated compensator, in this case, operates to maintain v o with V ref by reducing i o .When i o is lower than the pre-defined cutoff current, I T , the whole charging process is finished.
compensator detects the battery voltage vo.If vo is lower than the voltage reference of CV mode Vref, the enable signal EN becomes 0 and the current error ie, the difference between the output current io and the current reference of mode Iref, is fed to the integrated compensator.Consequently, the integrated compensator generates the switching frequency, fs, to regulate the output current io with respect to the current reference of the CC mode Iref.When vo is same as Vref or higher, in contrast, EN becomes 1 and the voltage error ve, the difference between vo and the Vref, is fed to achieve the CV.CV mode operation.The integrated compensator, in this case, operates to maintain vo with Vref by reducing io.When io is lower than the pre-defined cutoff current, IT, the whole charging process is finished.

Compensator Design Example
Table 1 shows the circuit parameters of the target LLC resonant battery charger.The Iref at the CC mode is set to 7 A and Vref at the CV mode to 42 V.The whole circuit parameters were designed based on the Li-ion battery pack configured with ten series-connected with four paralleled cells as mentioned before.The crossover frequency of the compensator designed in this example was selected

Compensator Design Example
Table 1 shows the circuit parameters of the target LLC resonant battery charger.The I ref at the CC mode is set to 7 A and V ref at the CV mode to 42 V.The whole circuit parameters were designed based on the Li-ion battery pack configured with ten series-connected with four paralleled cells as mentioned before.The crossover frequency of the compensator designed in this example was selected near 100 Hz.

Designator
Value (Unit) The first step in the design of the compensator is to select the operating point for large signal modeling.The operating point selection is obtained using the voltage gain curve derived from fundamental harmonic approximation (FHA) as presented in Ref. [5,26] and the charge profile.Figure 9 shows the voltage gain curve of the LLC resonant converter and operation trajectory obtained by using FHA. 9 shows the voltage gain curve of the LLC resonant converter and operation trajectory obtained by using FHA.
When charging starts, the converter operates in the CC charging mode and changes the switching frequency from point A (110 kHz) to point B (60 kHz) with an output voltage of 42 V.After the voltage of the battery pack reaches 42 V, the converter operates in the CV charging mode and changes the switching frequency from point B to point C (67 kHz), and eventually, the charging process ends.During the charging process, the charging voltage or the charging current varies according to the SOC of the battery, so that the converter operates in the region surrounded by the initial frequency 110 kHz, the output voltage 42 V, and the no-load line.Therefore, the design of the compensator is based on the selection of the worst point of the design in this operating area.In previous research [15], it is reported that the worst equilibrium condition is determined at the intersection of the CC mode and CV mode.Likewise, in this paper, as shown in Figure 10, since the board diagram of point B has the major pole at the lowest frequency, the same point is selected as the design worst condition.At this point, the output voltage is 42 V and the output current is 7 A.
Based on the worst equilibrium condition of case B, the integrated compensator is designed.To achieve zero steady state error, the integrator is added, and then a single pole is added in order to attenuate the high frequency resonant.Finally, the constant gain is tuned to get a proper crossover frequency with sufficient phase margin.In this example, the crossover frequency is set to approximately 100 Hz and the phase margin is approximately 90 degrees.Equation (68) shows the resultant design of the integrated compensator.Figure 11 shows the loop gains with the designed compensator at the worst equilibrium condition of the case.As seen from Figure 11, the crossover frequency is observed at 88.9 Hz and phase margin of 79.7 degrees, which is well matched to the expectation.  of the battery, so that the converter operates in the region surrounded by the initial frequency 110 kHz, the output voltage 42 V, and the no-load line.Therefore, the design of the compensator is based on the selection of the worst point of design in this operating area.In previous research [15], it is reported that the worst equilibrium condition is determined at the intersection of the CC mode and CV mode.Likewise, in this paper, as shown in Figure 10, since the board diagram of point B has the major pole at the lowest frequency, the same point is selected as the design worst condition.At this point, the output voltage is 42 V and the output current is 7 A.  Based on the worst equilibrium condition of case B, the integrated compensator is designed.To achieve zero steady state error, the integrator is added, and then a single pole is added in order to attenuate the high frequency resonant.Finally, the constant gain is tuned to get a proper crossover frequency with sufficient phase margin.In this example, the crossover frequency is set to approximately 100 Hz and the phase margin is approximately 90 degrees.Equation (68) shows the resultant design of the integrated compensator.Figure 11 shows the loop gains with the designed compensator at the worst equilibrium condition of the case.As seen from Figure 11, the crossover frequency is observed at 88.9 Hz and phase margin of 79.7 degrees, which is well matched to the expectation.

Experimental Results
To verify the effectiveness of the proposed compensator, experiments were conducted with a 300 W LLC resonant converter-based battery charger and a Li-ion battery pack, as shown in Figure 12.In the experiment, FSFR2100 (ON semiconductor, Phoenix, AZ, USA) was used for the switching IC and Cortex-M3 (ARM, Cambridge, UK) is used as the digital signal processor (DSP).Detailed circuit parameters are shown in Table 1 of the design example.When the compensation operation is performed, the DSP takes charge of the operation of the proposed compensator and the generation of the output frequency reference, and converts the switching frequency into the voltage value to vary the switching frequency of the switching IC.

Experimental Results
To verify the effectiveness of the proposed compensator, experiments were conducted with a 300 W LLC resonant converter-based battery charger and a Li-ion battery pack, as shown in Figure 12.In the experiment, FSFR2100 (ON semiconductor, Phoenix, AZ, USA) was used for the switching IC and Cortex-M3 (ARM, Cambridge, UK) is used as the digital signal processor (DSP).Detailed circuit parameters are shown in Table 1 of the design example.When the compensation operation is performed, the DSP takes charge of the operation of the proposed compensator and the generation of the output frequency reference, and converts the switching frequency into the voltage value to vary the switching frequency of the switching IC.
Figure 13 shows the experimental result during the overall CC-CV charging process by the proposed integrated current-voltage compensator.The charge process starts at the cut-off voltage of 25 V under the constant-current mode.It can be easily seen that the output current is regulated constantly without any oscillation under the widely varied voltage range.As can be seen from the experimental waveform, the proposed compensator maintains the output current constant without oscillation or transient response during the CC charging mode with wide output voltage range variation, and the output voltage is controlled stably and constantly during the CV charging mode.In addition, CC-CV mode conversion without transient response is achieved.As can be seen from the experimental waveform, the proposed compensator maintains the output current constant without oscillation or transient response during the CC charging mode with wide output voltage range variation, and the output voltage is controlled stably and constantly during the CV charging mode.In addition, CC-CV mode conversion without transient response is achieved.
Figures 14 and 15 show experimental results to confirm the transient response of the compensator during the constant CC charging mode and CV charging mode.As shown in Figure 14, the proposed integrated compensator follows the current reference 7 A well during the CC charging mode without output current fluctuation even under the input voltage variation.The output voltage is also maintained stably.In addition, as shown in Figure 15, the proposed compensator stably follows the output voltage reference during the CV charging mode without oscillation and does not cause charging current oscillation, even when the input voltage is varied from 310 V to 300 V. Figures 14 and 15 show experimental results to confirm the transient response of the compensator during the constant CC charging mode and CV charging mode.As shown in Figure 14, the proposed integrated compensator follows the current reference 7 A well during the CC charging mode without output current fluctuation even under the input voltage variation.The output voltage is also maintained stably.In addition, as shown in Figure 15, the proposed compensator stably follows the output voltage reference during the CV charging mode without oscillation and does not cause charging current oscillation, even when the input voltage is varied from 310 V to 300 V.

Conclusions
In this paper, an integrated current-voltage compensator for a battery charger based on the LLC resonant converter and the design procedure is presented.Unlike the conventional CC and CV charging method, the proposed integrated compensator replaces the two separate conventional CC and CV compensators with a single unified compensator.As a result, the compensator design is more intuitive and seamless mode changing is achieved.The proposed compensator is designed through frequency domain analysis, approximation of the Li-ion battery pack, and modeling of the battery charger using FHA and EDF.The proposed compensator performs charging without oscillation or a transient response during the entire charging period and guarantees robust operation even under input voltage variation.In addition, since the proposed compensator performs CC and CV charging by using a single compensator, it is possible to eliminate the transient state under the charging mode conversion and simplify the design process.The proposed method is validated by using a 300 W LLC resonant converter and a Li-ion battery pack.The proposed method does not require additional circuits and simplifies the compensator design process, meaning it can be applied to various

Conclusions
In this paper, an integrated current-voltage compensator for a battery charger based on the LLC resonant converter and the design procedure is presented.Unlike the conventional CC and CV charging method, the proposed integrated compensator replaces the two separate conventional CC and CV compensators with a single unified compensator.As a result, the compensator design is more intuitive and seamless mode changing is achieved.The proposed compensator is designed through frequency domain analysis, approximation of the Li-ion battery pack, and modeling of the battery charger using FHA and EDF.The proposed compensator performs charging without oscillation or a transient response during the entire charging period and guarantees robust operation even under input voltage variation.In addition, since the proposed compensator performs CC and CV charging by using a single compensator, it is possible to eliminate the transient state under the charging mode conversion and simplify the design process.The proposed method is validated by using a 300 W LLC resonant converter and a Li-ion battery pack.The proposed method does not require additional circuits and simplifies the compensator design process, meaning it can be applied to various applications using CC-CV charging for batteries, from portable devices to E-transportations such as E-bikes or E-scooters.

Figure 1 .
Figure 1.The battery charger including the conventional separated compensators.

Figure 1 .
Figure 1.The battery charger including the conventional separated compensators.

Figure 2 .
Figure 2. Measurement results of the frequency response of the battery pack at the nominal voltage.

Figure 3 .
Figure 3. Frequency response approximation result of the battery pack at the nominal voltage.

Figure 2 .
Figure 2. Measurement results of the frequency response of the battery pack at the nominal voltage.

Figure 2 .
Figure 2. Measurement results of the frequency response of the battery pack at the nominal voltage.

Figure 3 .
Figure 3. Frequency response approximation result of the battery pack at the nominal voltage.

Figure 3 .
Figure 3. Frequency response approximation result of the battery pack at the nominal voltage.

Figure 4 .
Figure 4. Equivalent circuit of the LLC resonant converter.

Figure 4 .
Figure 4. Equivalent circuit of the LLC resonant converter.

Figure 5 .
Figure 5. Large signal model of the LLC resonant converter.

Figure 5 .
Figure 5. Large signal model of the LLC resonant converter.

Figure 6 .
Figure 6.Small signal model of LLC resonant converter.

Figure 6 .
Figure 6.Small signal model of LLC resonant converter.

Figure 7 .
Figure 7.A battery charger including the proposed integrated current-voltage compensator.Figure 7. A battery charger including the proposed integrated current-voltage compensator.

Figure 7 . 18 STARTFigure 8 .
Figure 7.A battery charger including the proposed integrated current-voltage compensator.Figure 7. A battery charger including the proposed integrated current-voltage compensator.Energies 2018, 11, x FOR PEER REVIEW 12 of 18

Figure 9 .
Figure 9.The operation trajectory of the entire charging process.

Figure 9 .
Figure 9.The operation trajectory of the entire charging process.

Energies 2018 , 18 Figure 10 .
Figure 10.Magnitude and phase plot of the control-to-output transfer function.

Figure 10 .
Figure 10.Magnitude and phase plot of the control-to-output transfer function.

Figure 10 .
Figure 10.Magnitude and phase plot of the control-to-output transfer function.

Figure 11 .
Figure 11.Magnitude and phase plot of loop gains with the designed compensator.Figure 11.Magnitude and phase plot of loop gains with the designed compensator.

Figure 11 .
Figure 11.Magnitude and phase plot of loop gains with the designed compensator.Figure 11.Magnitude and phase plot of loop gains with the designed compensator.

Figure 13 Figure 12 .Figure 13 .
Figure 13 shows the experimental result during the overall CC-CV charging process by the proposed integrated current-voltage compensator.The charge process starts at the cut-off voltage of 25 V under the constant-current mode.It can be easily seen that the output current is regulated constantly without any oscillation under the widely varied voltage range.(a) (b) Figure 12.Experimental setup: (a) LLC resonant battery charger, (b) Li-ion battery pack.

Figure
Figure 13a,b shows the experimental waveform during the CC-CV charging and the magnified waveform during the mode change of the CC-CV mode, respectively, when the proposed compensator is applied.Charging proceeded from a cutoff voltage of the battery pack of 25 V to a full charge voltage of 42 V.As can be seen from the experimental waveform, the proposed compensator maintains the output current constant without oscillation or transient response during the CC charging mode with wide output voltage range variation, and the output voltage is controlled stably and constantly during the CV charging mode.In addition, CC-CV mode conversion without transient response is achieved.

Figure 13 .
Figure 13.Experiment waveform during the CC-CV charging process: (a) during the whole charging period, (b) magnified waveform under the mode change.

Figure
Figure 13a,b shows the experimental waveform during the CC-CV charging and the magnified waveform during the mode change of the CC-CV mode, respectively, when the proposed compensator is applied.Charging proceeded from a cutoff voltage of the battery pack of 25 V to a full charge voltage of 42 V.As can be seen from the experimental waveform, the proposed compensator maintains the output current constant without oscillation or transient response during the CC charging mode with wide output voltage range variation, and the output voltage is controlled stably and constantly during the CV charging mode.In addition, CC-CV mode conversion without transient response is achieved.Figures14 and 15show experimental results to confirm the transient response of the compensator during the constant CC charging mode and CV charging mode.As shown in Figure14, the proposed integrated compensator follows the current reference 7 A well during the CC charging mode without output current fluctuation even under the input voltage variation.The output voltage is also maintained stably.In addition, as shown in Figure15, the proposed compensator stably follows the output voltage reference during the CV charging mode without oscillation and does not cause charging current oscillation, even when the input voltage is varied from 310 V to 300 V.

Figure 14 .
Figure 14.Experimental waveform of the proposed compensator with the CC mode under stepchange of the input voltage.Figure 14.Experimental waveform of the proposed compensator with the CC mode under step-change of the input voltage.

Figure 14 .
Figure 14.Experimental waveform of the proposed compensator with the CC mode under stepchange of the input voltage.Figure 14.Experimental waveform of the proposed compensator with the CC mode under step-change of the input voltage.

Figure 14 .
Figure 14.Experimental waveform of the proposed compensator with the CC mode under stepchange of the input voltage.

Figure 15 .
Figure 15.Experimental waveform of the proposed compensator with CV mode under step-change of the input voltage.

Figure 15 .
Figure 15.Experimental waveform of the proposed compensator with CV mode under step-change of the input voltage.

Table 1 .
Circuit parameters of the LLC resonant battery charger.