• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Get free circuit help 24/7

New Projects | Privacy Policy | About us | Contact | Disclaimer | Copyright | Videos | Circuits for Beginners | Basic Circuits | Hobby Projects | Transistor Circuits | LED Drivers 

You are here: Home / Electronics Tutorial / How Buck Converters Work

How Buck Converters Work

Last Updated on September 25, 2022 by Swagatam 36 Comments

caution electricity can be dangerous

The article below presents a comprehensive know how regarding how buck converters work.

As the name suggests, a buck converter is designed to oppose or restrict an input current causing an output that may be much lower than the supplied input.

In other words it can be considered a step down converter which could be used for acquiring calculated voltages or currents lower than the input voltage.

Let's learn more regarding the working of buck converters in electronic circuits through the following discussion:

buck converter working details with switching frequency waveform

For a practical buck converter design you may want to read this article


The Buck Converter

Typically you may find a buck converter being used in SMPS and MPPT circuits which specifically require the output voltage to be reduced significantly than the input source power, without affecting or altering the power output, that is the V x I value.

The supply source to a buck converter could be from an AC outlet or from a DC power supply.

A buck converter is used only for those application where an electrical isolation may not be critically required across the input power source and the load, however for applications where the input may be at mains levels then a flyback topology is normally used through an isolating transformer.

The main device which is used as the switching agent in a buck converter could be in the form of a mosfet or a power BJT (such as a 2N3055), which is configured to switch or oscillate at a rapid rate through an integrated oscillator stage with its base or gate.

The second important element in a buck converter is the inductor L, which  stores the electricity from the transistor during its ON periods and releases it during its OFF periods maintaining a continuous supply to the load at the specified level.

This stage is also referred to as the "Flywheel" stage since its function resembles a mechanical flywheel which is able to sustain a continuous and steady rotation with the help of regular pushes from an external source.

Input AC or DC?

A buck converter is basically a DC to DC converter circuit that is designed to acquire a supply from a DC source, which may be a battery or a solar panel. This could also be from an AC to DC adapter output achieved through a bridge rectifier and a filter capacitor.

No matter what may be the source of the input DC to the buck converter, it is invariably converted into a high frequency using a chopper oscillator circuit along with a PWM stage.

This frequency is then fed to the switching device for the required buck converter actions.

Buck Converter Operation

As discussed in the above section regarding how a buck converter works, and as may be seen the following diagram, the buck converter circuit includes a switching transistor and an associated Flywheel circuit which includes the diode D1, the inductor L1 and the capacitor C1.

During the periods when the transistor is ON, the power passes first through the transistor and then through the inductor L1 and finally to the load. In the process, the inductor due to its inherent property tries to oppose the sudden introduction of current by storing the energy in it.

This opposition by L1 inhibits the current from the applied input to reach the load and reaching the peak value for the initial switching instants.

However in the meantime the transistor enters its switch OFF phase, cutting off the input supply to the inductor.

With the supply switched OFF L1 again faces a sudden change in the current, and to compensate the change it flushes out the stored energy across the connected load

when supply switched OFF inductor goes through a sudden change in the current

Transistor Switch ‘on’ Period

Referring to the above figure, while the transistor is in the switch on phase, it allows the current to reach the load, but during the initial instants of the switch ON the current is heavily restricted due to the inductors opposition to the sudden application of the current through it.

However in the process the inductor responds and compensates the behavior by storing the current in it, and in the course some portion the supply is allowed to reach the load and also to the capacitor C1, which also stores the allowed portion of the supply in it.

It should also be taken into account that while the above happens, D1 cathode experiences a full positive potential which keeps it reverse biased, making it impossible for the L1's stored energy to get a return path across the load via the load. This situation allows the inductor to keep on storing the energy into it without any leakages.

inductor stores electrical energy without any leakages

Transistor Switch ‘off’ Period

Now referring to the above figure, when the transistor reverts its switching action, that is as soon as it's turned OFF, the L1 is yet again introduced with a sudden void of current, to which it responds by releasing the stored energy towards the load in the form of an equivalent potential difference.

Now, since the T1 is switched OFF, the cathode of D1 is relieved from the positive potential and it's enabled with a forward based condition.

Due to the forward biased condition of D1, the released L1 energy or the back EMF kicked by the L1 is allowed to complete the cycle through the load, D1 and back to L1.

While the process is being completed the L1 energy goes through an exponential drop due to the load's consumption. C1 now comes to the rescue and assists or aids the L1 EMF by adding its own stored current to the load, thereby ensuring a reasonably stable instantaneous voltage to the load...until the transistor switches ON again to refresh the cycle back.

The whole procedure enables the execution of the desired buck converter application wherein only a calculated portion of the supply voltage and current is allowed for the load, instead of the relatively bigger peak voltage from the input source.

This may be seen in the form of a smaller ripple waveform instead of the huge square waves from the input source.

In the above section we learned exactly how buck converters work, in the following discussion we'll delve deeper and learn the relevant formula of determining the various parameters related to buck converters.

Formula for Calculating the Buck Voltage in a Buck Converter Circuit

From the above decision we can conclude that the maximum stored current inside L1 depends on the ON time of the transistor, or the back EMF of L1 can be dimensioned by appropriately dimensioning the ON, and OFF time of L, it also implies that the output voltage in a buck converter can be predetermined by calculating the ON time of T1.

The formula for expressing the buck converter output may be witnessed in the below given relationship:

V(out) = {V(in) x t(ON)}/T

where V (in) is the source voltage, t(ON) is the ON time of the transistor,

and T is the "periodic time" or the period of one full cycle of the PWM, that is the time taken for completing one full ON time + one full OFF time.

Solved Example:

Let's try to understand the above formula with a solved example:

Let's assume a situation where a buck converter is operated with V(in) = 24V

T = 2ms + 2ms (ON time + OFF time)

t(ON) = 1ms

Substituting these in the above formula we get:

V(out) = 24 x 0.001/0.004 = 6V

Therefore V(out) = 6V

Now let's increase the transistor time by making t(ON) = 1.5ms

Therefore, V(out) = 24 x 0.0015/0.004 = 9V

From the above examples it becomes pretty clear that in a buck converter switching time t(ON) of the transistor governs the output voltage or the required Buck voltage, thus any value between 0 and V(in) could be achieved simply by appropriately dimensioning the ON time of the switching transistor.

Buck Converter for Negative Supplies

Buck Converter for Negative Supplies

The buck converter circuit we discussed so far is designed to suit positive supply applications, since the output is able to generate a positive potential with reference to the input ground.

However for applications which might require a negative supply, the design could be slightly modified and made compatible with such applications.

The figure above shows that by simply swapping the positions of the inductor and the diode, the output from the buck converter may be inverted or made negative with respect to the available common ground input.

You'll also like:

  • 1.  How Thyristors (SCR) Work – Tutorial
  • 2.  Simple Circuits using IC 7400 NAND Gates
  • 3.  How to Make Adjustable Current Limiter Circuits
  • 4.  Triacs – Working and Application Circuits
  • 5.  Digital-to-Analog (DAC), Analog-to-Digital (ADC) Converter Circuits Explained
  • 6.  High Stability of Crystals in Oscillator Circuits

About Swagatam

I am an electronic engineer (dipIETE ), hobbyist, inventor, schematic/PCB designer, manufacturer. I am also the founder of the website: https://www.homemade-circuits.com/, where I love sharing my innovative circuit ideas and tutorials.
If you have any circuit related query, you may interact through comments, I'll be most happy to help!

Reader Interactions

Comments

    Have Questions? Please post your comments below for quick replies! Comments should be related to the above artcile Cancel reply

    Your email address will not be published. Required fields are marked *

  1. Dayo says

    November 10, 2022

    Hello Swag, well done Sir.
    Please, I have a charging system of 100v, 500mA, with high spark but does not charge my 40AH battery, I don’t know the reason.

    Please how can I use buck converter to improve the charging system?

    Please kindly guide me.

    Reply
    • Swagatam says

      November 10, 2022

      Hello Dayo,
      What is the voltage rating of your battery? If it is a 12V battery then you will require a charging current of around 5 amps to charge your 40 Ah battery at 14 V. Your existing charging system has an output power of 100 x 0.5 = 50 watts. Dividing this with 14 gives = 3.57 amps, which is just enough to charge your 40 Ah battery if a very efficient buck converter is used.
      For this you will need a 100 V to 14V buck converter circuit….I do not have such a circuit with me right now, so I can’t suggest much about it.

      Reply
  2. Valégio António Chiunguete says

    September 6, 2022

    Hi,
    I would like to know how to get the periodic time T. Isn’t it the sum of the On time and Of time of the transistor?

    Reply
    • Swagatam says

      September 7, 2022

      Hi, yes periodic time is equal to the sum of ON time and off time of the transistor, and this is explained in the above article.

      Reply
  3. shahin says

    March 10, 2021

    Hello. how can I make a very simple DC-DC buck converter without feedback and with an input voltage of 5 volts???
    how much should I put the values of the elements?? should I use a drive to start MOSFET??

    Reply
    • Swagatam says

      March 10, 2021

      Hi, you can try the last circuit from this article:

      https://www.homemade-circuits.com/calculating-inductor-value-in-smps/

      Reply
  4. Sunshine says

    March 6, 2021

    Engr. Good day sir, please help me, I need a buck converter 24v to 12v/30-50A output … Thanks

    Reply
    • Swagatam says

      March 6, 2021

      Hello Sunshine, you can refer to the following article for all the information:

      DC to DC Converter Circuits using SG3524 [Buck, Boost Designs]

      Reply
  5. Uchenna says

    February 25, 2020

    Sir, what if the input voltage is purely DC and there’s no switching off or on of the transistor and no period of oscillation, how do I calculate the output of the converter?

    Reply
  6. Nick Woodrow says

    January 16, 2020

    Hello Sir.
    With regard to your article on Buck Converters. I have a 12 v battery and need to run a picaxe board at 4.5 volts. on my motorcycle. If the 12v input fluctuates i.e drops voltage , will the output stay at 4.5volts please? I understand that the input must be more that the output! I am just thinking if the bike wasnt used for a while and the battery “lost” a little power ( lets say a couple of volts).
    Many thanks for a useful artical

    Reply
    • Swagatam says

      January 17, 2020

      Hello Nick, if a feedback based buck converter is built then the output will remain constant for a bigger range of the input. Alternately you can buy a readymade one with a feedback built in.

      Reply
  7. Peter C. says

    January 16, 2020

    Hi Swag,
    Thanks for great article. It helped me understand how buck converter works and hopefully it can be my solution. My challenge is the following: I have a power source that provides typical 15VDC (with Vmin of 9.5V and Vmax of 22.5V). Available current is 52mA (with Imax of 60mA). It also says total power output is 500mW.
    I need 3.3V out and hopefully able to get up to 100mA. I would also like to estimate what output current I would get if I want to limit the current out of the source to 40mA (as I need 12mA to other stuff).
    A TI TPS62177 seems to be able to solve it, however the information available (datasheet, design tool, etc.) doesn’t give me this data.

    What do you think?

    We are going to use the 3.3V to power 2 Bluetooth Low Energy SoC (nRF52832/840). I hope the switching frequency / ripple on Vout does not disturb the radio chips and messes up the Bluetooth stuff. Is there a topic on this site that discusses this type of issue?

    Reply
    • Swagatam says

      January 16, 2020

      Hi Peter,

      If you limit the source current to 40 mA, the wattage would be around 15 x .04 = 600 mW
      Dividing 600 by 3.3 gives us 180 mA, considering 90% efficiency would reduce this to 160 mA

      Reply
  8. Naseef Vs says

    October 24, 2017

    Sir
    I need a code for ardino to produce 30 to 40 khz pwm signal with 50% puls width for buck convertor
    Pls hlp

    Reply
    • Swagatam says

      October 24, 2017

      you can try this:

      // By Swagatam
      void setup(){
      pinMode(8, OUTPUT);
      pinMode(9, OUTPUT);
      }
      void loop(){
      digitalWrite(8, HIGH);
      delayMicroseconds(33);
      digitalWrite(8, LOW);

      //……
      digitalWrite(9, HIGH);
      delayMicroseconds(33);
      digitalWrite(9, LOW);
      }
      //————————————-//

      Reply
  9. oti says

    October 17, 2017

    please sir , can i get a circuit to reduce 140vdc to 13.28 volt

    Reply
    • Swagatam says

      October 17, 2017

      at what current?

      Reply
    • oti says

      October 24, 2017

      140vdc 5amps. i will use it to charge a 12v lead acid battery,

      thanks for your reply.

      Reply
  10. Tech Talker says

    May 12, 2017

    Thank you very much sir, for the quick response.

    Reply
  11. Tech Talker says

    May 12, 2017

    Hello,sir i'm tring to make a bench power supply from an old atx power supply with ltc 3780 is it safe , because the atx can deliver more current then ltc's capable limit ( I'm drive the ltc 3780 with 12v dc from atx power supply) thanks.

    Reply
    • Swagatam says

      May 12, 2017

      Hello tech talker, it's absolutely safe, as as long as the supply to your LTC3780 is within 36V from the ATX….the LTC is internally current controlled and short circuit protected and therefore your buck/boost circuit will be safe.

      Reply
  12. Sebastian Costa says

    May 12, 2016

    Hello Swagatam,

    I need to make an isolated switching power supply that feeds on the main network of 220VAC and I deliver 12 volt 130 amp, it would be possible to modify an ATX source for you to give me this current, ie one could change the diameter of the wire windings main transformer switched the ATX source mentioned ???

    Reply
    • Swagatam says

      May 13, 2016

      Hello Sebastian, I am sorry I do not have the required info for this….moreover 130amps looks too high and I don't think that may be achievable from an ATX even through modifications

      Reply
  13. Ryan Menard Reyes says

    January 10, 2016

    Hello Swagatam. How can i change the output current of a buck converter ? Is there a calculations or what component it vary ?

    Reply
    • Swagatam says

      January 10, 2016

      Hello Ryan, here's one interesting article that you can go through for the solution:

      http://www.ti.com/lit/an/slva477b/slva477b.pdf

      the page3 provides an effective formula for calculating the max current from a buck design

      Reply
  14. Sribasu says

    December 5, 2015

    I have a power supply which outputs 19v 1.5A DC. I want stable 12v 2A DC from the power supply. Is a buck converter applicable for me? If yes, please let me know the applicable switching transistor, Cr and C1.

    Thanks Swagatam in advance!

    Reply
    • Swagatam says

      December 6, 2015

      Hi Sribasu, yes a buck converter design would be most appropriate for your need.

      for the transistor you can try TIP31C

      C1 can be any high value capacitor, you can try the highest value that may be feasible for you to acquire….a 6800uF/25V will do.

      The core can be any standard EE ferrite core based assembly

      Reply
  15. Unknown says

    October 17, 2015

    thank u Mr Swagatam for ur explantion about switching frequency versus output volts. I also wanted u to give us a calculation of how to arrive at the right turns for buck converter with a set frequency sir Alex

    Reply
    • Swagatam says

      October 17, 2015

      Thanks Alex, all those aspects will be covered soon in this site, I have almost sorted everything out correctly.

      Reply
  16. Mayank Padm Bhushan says

    October 16, 2015

    I mean square wave inverter or sine wave ?

    Reply
  17. Mayank Padm Bhushan says

    October 16, 2015

    Hii sir ,
    Which inverter is suitable for operating T V and fan.

    Thanks

    Reply
    • Swagatam says

      October 16, 2015

      Hi Mayank,

      any modified sine wave will do.

      Reply
  18. Mayank Padm Bhushan says

    October 15, 2015

    Hello sir ,
    What is the difference between square wave and sine wave inverter.

    Thank you so much

    Reply
    • Swagatam says

      October 16, 2015

      Hello Mayank,

      square waves are in the form of suddenly rising and falling rectangular or square pulses, while a sine wave is in the form of a slow rising and a slow falling pulses

      Reply
  19. pro says

    October 14, 2015

    sir,there is a video i sent to your Email ,please help me ,i what to know how it works

    Reply
    • Swagatam says

      October 14, 2015

      pro, that's a BIG fake video…there are tons of such fake videos on YT

      Reply

Primary Sidebar

Calculators

  • 3-Phase Power (15)
  • 324 IC Circuits (19)
  • 4017 IC Circuits (52)
  • 4060 IC Circuits (25)
  • 555 IC Circuits (98)
  • 741 IC Circuits (19)
  • Arduino Engineering Projects (83)
  • Audio and Amplifier Projects (114)
  • Battery Chargers (82)
  • Car and Motorcycle (94)
  • Datasheets (46)
  • Decorative Lighting (Diwali, Christmas) (33)
  • Electronic Components (100)
  • Electronic Devices and Circuit Theory (36)
  • Electronics Tutorial (116)
  • Fish Aquarium (5)
  • Free Energy (34)
  • Fun Projects (13)
  • GSM Projects (9)
  • Health Related (20)
  • Heater Controllers (29)
  • Home Electrical Circuits (102)
  • How to Articles (20)
  • Incubator Related (6)
  • Industrial Electronics (28)
  • Infrared (IR) (40)
  • Inverter Circuits (98)
  • Laser Projects (12)
  • LED and Light Effect (93)
  • LM317/LM338 (21)
  • LM3915 IC (25)
  • Meters and Testers (65)
  • Mini Projects (148)
  • Motor Controller (67)
  • MPPT (7)
  • Oscillator Circuits (26)
  • PIR (Passive Infrared) (8)
  • Power Electronics (34)
  • Power Supply Circuits (77)
  • Radio Circuits (10)
  • Remote Control (48)
  • Security and Alarm (61)
  • Sensors and Detectors (120)
  • SG3525 IC (5)
  • Simple Circuits (75)
  • SMPS (29)
  • Solar Controllers (60)
  • Timer and Delay Relay (53)
  • TL494 IC (5)
  • Transformerless Power Supply (8)
  • Transmitter Circuits (40)
  • Ultrasonic Projects (16)
  • Water Level Controller (45)

Calculators

  • AWG to Millimeter Converter
  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator

© 2023 · Swagatam Innovations