In our previous post we learned the basics of buck converters and realized the important aspect regarding the transistor's ON time with respect to the periodic time of the PWM which essentially determines the output voltage of the buck converter.In this post we'll go a little deeper and try to evaluate the relationship between the input voltage, switching time of the transistor, output voltage and the current of the buck inductor, and regarding how to optimize these while designing a buck inductor.

Let's first understand the various parameters involved with a buck converter:

**Peak inductor current, (ipk)** = It's the maximum amount of current that an inductor can store before getting saturated. Here the term "saturated" means a situation where the transistor switching time is so long that it continues to be ON even after the inductor has crossed its maximum or peak current storing capacity. This is an undesirable situation and must be avoided.

**Minimum Inductor Current, (io)** = It's the minimum amount of current that may be allowed for the inductor to reach while the inductor is discharging by releasing its stored energy in the form of back EMF.

Meaning, in the process when the transistor is switched OFF, the inductor discharges its stored energy to the load and in the course its stored current drops exponentially towards zero, however before it reaches zero the transistor may be supposed to switch ON again, and this point where the transistor may switch ON again is termed as the minimum inductor current.

The above condition is also called the continuous mode for a buck converter design.

If the transistor does not switch ON back before the inductor current has dropped to zero, then the situation may be referred to as the discontinuous mode, which is an undesirable way to operate a buck converter and may lead to an inefficient working of the system.

**Ripple Current, (Δi = ipk - io)** = As may be seen from the adjoining formula, the ripple **Δ**i is the difference between the peak current and minimum current induced in the buck inductor.

A filter capacitor at the output of the buck converter will normally stabilize this ripple current and help to make it relatively constant.

**Duty Cycle, (D = Ton/T)** = The duty cycle is calculated by dividing the ON time of the transistor by the periodic time.

Periodic time is the total time taken by one PWM cycle to complete, that is the ON time + OFF time of one PWM fed to the transistor.

**ON time of the Transistor (Ton = D/f) **= The ON time of the PWM or the "switch ON" time of the transistor may be achieved by dividing the duty cycle by the frequency.

**Average output current or the load current, (iave = Δi/2 = iload) = **It's obtained by dividing ripple current by 2. This value is the average of the peak current and the minimum current that may be available across the load of a buck converter output.

**RMS value of Triangle wave irms = √{i2o + (Δi)2/12} = **This expression provides us the RMS or the root mean square value of all or any triangle wave component that may be associated with a buck converter.

OK, so the above were the various parameters and expressions essentially involved with a buck converter which could be utilized while calculating a buck inductor.

Now let's learn how the voltage and current may be related with a buck inductor and how these may be determined correctly, from the following explained data:

Remember here we are assuming the switching of the transistor to be in the continuous mode, that is the transistor always switches ON before the inductor is able to discharge its stored EMF completely and become empty.

This is actually done by appropriately dimensioning the ON time of the transistor or the PWM duty cycle with regard to the inductor capacity (number of turns).

The relationship between voltage and current within a buck inductor may be put down as:

**V = Ldi/dt**

or

**i = 1/L 0ʃtVdt + io**

The above formula may be used for calculating the buck output current and it holds good when the PWM is in the form of an exponentially rising and decaying wave, or may be a triangle wave.

However if the PWM is in the form of rectangular waveform or pulses, the above formula can be written as:

**i = (Vt/L) + io**

Here Vt is the voltage across the winding multiplied by the time for which it's sustained (in micro-secs)

This formula becomes important while calculating the inductance value L for a buck inductor.

The above expression reveals that the current output from a buck inductor is in the form of a linear ramp, or wide triangle waves, when the PWM is in the form of triangular waves.

Now let's see how one may determine the peak current within a buck inductor, the formula for this is:

**ipk = (Vin – Vtrans – Vout)Ton / L + io**

The above expression provides us the peak current while the transistor is switched ON and as the current inside the inductor builds up linearly (within its saturation range*)

If the expression io is shifted to the LHS we get:

**ipk - io = (Vin – Vtrans – Vout)Ton / L**

Recall that the ripple current is also given by Δi = ipk - io, therefore substituting this in the above formula we get:

**Δi = (Vin – Vtrans – Vout)Ton / L ------------------------------------- Eq#1**

Now let's see the expression for acquiring the current within the inductor during the switch-OFF period of the transistor, it may be determined with the help of the following equation:

**io = ipk - (Vout – VD)Toff / L**

Again, by substituting ipk - io by Δi in the above expression we get:

**Δi = (Vout – VD)Toff / L ------------------------------------- Eq#2**

The Eq#1 and Eq#2 can be used for determining the ripple current values while the transistor is supplying current to the inductor, that is during it's ON time..... and while the inductor is draining the stored current through the load during the transistor switch OFF periods.In the above discussion we successfully derived the equation for determining the current (amp) factor in a buck inductor.Now let's try to find a expression which may help us to determine the voltage factor in a buck inductor.

Since the Δi is common in both Eq#1 and Eq#2, we can equate the terms with each other to get:

**(Vin – Vtrans – Vout)Ton / L = (Vout – VD)Toff / L**

**VinTon – Vtrans – Vout = VoutToff – VDToff**

**VinTon – Vtrans – VoutTon = VoutToff - VDToff**

**VoutTon + VoutToff = VDToff + VinTon – VtransTon**

**Vout = (VDToff + VinTon – VtransTon) / T**

**Vout = (Vin – Vtrans)D + VD(1 – D)**

Processing the above equation further we get:

**Vout + VD = (Vin – Vtrans + VD)D**

**D = Vout - VD / (Vin – Vtrans – VD)**

If we ignore the voltage drops across the transistor and the diode (since these can be extremely trivial compared to the input voltage), we can trim down the above expression as given below:

**Vout = DVin**

The above final equation can be used for calculating the step down voltage that may be intended from a particular inductor while designing a buck converter circuit.

The above equation is the same as the one discussed in the solved example of our previous article "how buck converters work.

In the next article we'll learn how to estimate the number of turns in a buck inductor....please stay tuned.

victory says

Pls help me with how i can make a 500va transformer

Swagatam says

details are furnished here:

http://www.homemade-circuits.com/2012/02/how-to-design-your-own-inverter.html

victory says

Please sir help me with a circuit that will automatically turn on my inverter at night and off during daytime my battery is 12v 38amp

Swagatam says

you can use any one of the designs presented in the following article:

http://www.homemade-circuits.com/2012/01/how-to-make-light-activated-day-night.html

Unknown says

ok Mr Swagatm we stay tuned for the next section how to estimate turnns of coils sir. thank u Alex

Swagatam says

sure Alex, you'll see it soon, let me first post a few pending requests from the readers in my meantime….

VIJAY AJ says

Sir can. U post the calculation for boost converter

Swagatam says

Vijay, you'll see it soon in one of my future articles.

pro says

sir, i sent another video to your email,it is not like the other one

i just what know the name of the transistor that was use

Swagatam says

the video is not opening because you may have not toggled the "share" button.

tell me the power input (voltage and current), I'll tell you which transistor to use