# Conversion ratio derivation for DCM - IBB converter

Ming Sun / December 08, 2022

13 min read • ––– views

## IBB converter

**Fig. 1** shows a simple IBB (inverted Buck Boost) converter power stage, where a **V _{IN}** is the input voltage and

**V**is the output voltage of the Boost converter

_{OUT}^{[2]}.

^{[1-2]}

During the light load condition, the converter will automatically enter into the DCM (discontinuous mode) due to the diode **D _{1}**. The waveform is as shown in

**Fig. 2**.

^{[1]}

Now let us calculate the boundary condition between CCM and DCM. In other words, **D _{3}=0**. The Matlab script is as shown below:

```
clc; clear; close all;
syms D Ts Vg V R Dp L
syms Sr Sf Ipk
eqn1 = D+Dp == 1;
eqn2 = D*Vg + Dp*V == 0;
eqn3 = Ipk == D*Ts*Vg/L;
eqn4 = 1/2*Ipk*Dp == -V/R;
results = solve(eqn1,eqn2,eqn3,eqn4,Dp,Ipk,V, R);
R = simplify(results.R)
```

The Matlab derived result is as shown in **Fig. 3**.

^{}

From **Fig. 3**, we have:

Basically when the load impedance of the IBB converter is greater than **R _{bound}**, the converter will enter into DCM operation.

Now, let us derive the conversion ratio **M** for IBB converter. The Matlab script is as shown below.

```
clc; clear; close all;
syms D Ts Vg V R D2 D3 Dp L
syms Sr Sf Ipk M
eqn1 = D+D2+D3 == 1;
eqn2 = D*Vg + D2*V == 0;
eqn3 = Ipk == D*Ts*Vg/L;
eqn4 = 1/2*D2*Ipk == -V/R;
eqn5 = M == V/Vg;
results = solve(eqn1,eqn2,eqn3,eqn4,eqn5,D2,D3,Ipk,V,M);
M = simplify(results.M)
```

The Matlab derived result is as shown in **Fig. 4**.

^{}

We see there are two derived results from Matlab. We need to figure out which equation is the correct answer. The **wxMaxima** derived result is as shown in **Fig. 5**.

^{}

Notice that one of the equations always give a positive value, which is not correct. Therefore, we can ignore that equation and the converter ratio can be written as:

**Eq. 2** shows the conversion ratio in DCM. Ideally when the load impedance is at **R _{bound}**,

**Eq. 2**should be equal to the CCM conversion ratio

**-D/D'**. To verify, the

**wxMaxima**is used to prove this assumption as shown in

**Fig. 6**.

^{}

From **Fig. 6**, we can see that **Eq. 2** becomes to the duty cycle **-D/D'** at the boundary condition, which is as we expected.

Next, let us further simplify **Eq. 2**.

Where,

Looking at **Eq. 1**, we know that **Eq. 3~4** is only valid when IBB converter works in DCM. Therefore, we have:

In other words,

## Conversion ratio plot

To verify the above Math derivation, the asynchronous Boost converter test bench in Simplis is as shown in **Fig. 7**.

^{}

Next, we can set the **R1** to different value and compare the Simplis simulation results with Math derivation equations. The Matlab script is as shown below.

```
clc; clear; close all;
R = linspace(1, 10e3, 10e3+1);
Vg=5;
D=0.5;
L=1e-6;
fsw=1e6;
Ts = 1/fsw;
Dp = 1-D;
for i=1:1:length(R)
K = 2*L/R(i)/Ts;
M_dcm(i) = -D/sqrt(K);
M_ccm(i) = -D/Dp;
end
semilogx(R, M_dcm, 'LineWidth', 2);
hold on;
semilogx(R,M_ccm, 'LineWidth', 2);
grid on;
xlabel('Output impedance [Ω]');
ylabel('conversion ratio')
% simplis data
R_simplis = [1,2,3,5, 10,20,30, 100,300, 1e3,3e3, 10e3];
Vout_simplis = [-4.8396588, -4.9170602,-4.9327598,-4.9413864,...
-5.5876562,-7.9031188,-9.6796174, -17.673047,-30.610785,...
-55.887465, -96.799871,-176.73111];
semilogx(R_simplis, Vout_simplis/Vg, 'x',"Color", "#9333EA", "LineWidth", 2, "MarkerSize",12);
legend("DCM equation", "CCM equation", "Simplis", "Location","northeast");
set(gca, 'YScale', 'log')
```

The comparison between Mathematics derivation and Simplis simulation results for conversion ratio is as shown in **Fig. 8**.

^{}

## Conclusion - conversion ratio

**Fig. 8** tells us the conversion ratio is simply the maximum between the **DCM** and **CCM** Math equation. Then we can combine the conversion ratio equation for DCM and CCM as:

Where,

If,

Then, the converter works in CCM. Otherwise, it works in DCM.

## References and downloads

[1] Fundamentals of power electronics - Chapter 2

[2] Popular converters and the conversion ratio derivation

[3] Finding the Conversion Ratio M(D,K)

[4] Open-loop asynchronous IBB converter model in Simplis - download