Buck Boost converter with pic microcontroller and ir2110

Buck Boost converter with pic microcontroller and ir2110, In this article I am going to write about buck boost converter. What  is buck boost converter? How to design buck boost converter ? How to use MoSFET driver IR2110 to drive high side switch or MOSFET? Whar are applications of buck boost converter? How to use pic microcontroller to generate PWM and duty cycle to turn on and turn off MOSFET or switch for specified time. Let’s start with basic introduction of buck boost converter.

What is buck boost converter ?

Buck boost converter is a power electronics non isolated voltage regulator. Output of buck boost converter is either less than or greater than input voltage to converter. Basically buck boost converter is combines the functionalities of buck converter  and boost converter  . But the output voltage polarity of buck boost converter is opposite to that of input voltage. Simple circuit diagram of buck boost conveter is shown below:

buck boost converter
buck boost converter

I am not going to discuss theory of buck boost converter in this article. Because thousands of books are available on power electronics from where you can read theory of buck boost converter.

Applications of buck boost converter :

There are many applications of buck boost converter. Some of them are given below:

  • Maximum power point tracking of solar charge controller
  • Voltage regulators
  • LED drivers and many others

Simple circuit diagram of buck boost converter is given above. But for practical implementation you need many other things with it. For example in above circuit diagram MOSFET is used as a switch.  MOSFET can be used either as low side switch or high side switch. If load is connected to source pin of MOSFET , it is called high side switch and if load is connected to drain pin of MOSFET, it is called low side switch. In case of buck boost converter load is connected with so source pin of MOSFET, so it is being used as high side switch. So you need a high side MOSFET driver to drive MOSFET. There are many dedicated MOSFET driver IC’s available in market. You can use any of them. I have used IR2110 MOSFET driver which can be used either as a low side MOSFET driver or high side MOSFET driver. If you want to know about What is MOSFET  driver ? How to use MOSFET driver as a low side driver or high side driver? How to use IR2110 as a low side MOSFET driver and high side MOSFET driver read following article.

How to use MOSFET driver IR2110 as a low side or high side driver 

All switch mode regulators works on by changing the duty cycle of PWM. you can change the output voltage by changing the duty cycle of PWM . If you don’t have idea PWM ( pulse width modulation ) and duty cycle. I recommend you to read following article. This article explains what is pulse width modulatio? what is duty cycle? How to use pic16f877a microcontroller to change duty cycle and how to set frequency of pulse width modulation.

Pulse width modulation using PIC microcontroller 

Circuit diagram of buck boost conveter :

Circuit diagram of buck boost converter is shown below. In this circuit diagram resistor at the end is used as load. PIC16F877A microcontroller is used to generate pulse width modulation using pic microcontroller. you can calcualte values of inductor and capacitor according to your requirement.

circuit diagram of buck boost conveter using IR2110
circuit diagram of buck boost conveter using IR2110

In above circuit diagram, voltage divider at the output is use to divide voltage to decrase it less than 5 volt. Becuase microcontroller can not read voltage greater than 5 volt. This refernce voltage is used to set duty cycle of PWM to get regulated voltage at the output.

[button-brown url=”http://store.microcontrollerslab.com/product/buck-boost-converter-with-pic-microcontroller-and-ir2110/” target=”_self” position=”center”]Click here to purchase code and proteus simulation[/button-brown]

I have explained all the things in this article you need to make buck boost converter. If you want us to design buck boost converter for you. we also provide project services. If you need our project service contact us or order us your project. Thanks 🙂

13 thoughts on “Buck Boost converter with pic microcontroller and ir2110”

  1. hi bilal , i want a circuit to interface microcontroller’s PWM channel to optocoupler ic followed by a gate driver ic (ir2104) to drive the mosfet at various duty cycles for boost converter,can you plz provide the working circuitry ?

    Reply
  2. Hi
    I would like to build a project of a buck/boost converter microelectronic based.
    I am confused.
    The input voltage is 5-25v DC and the output is 5v DC 2A
    the issue is I do not know how to select an appropriate micro controller.
    Can you please help me with this please

    Reply
  3. i have developed the same ckt with atmega8, the only problem i m facing that the output is inverted then the “gnd” of input becomes the “+ve” of output, then how controllers ADC will measure, b/c analog gnd is only one when we measure input voltage “+ “and “-” the polarty will be forward how ever when we measure output b/w + and – then “-” of output is different.

    Reply
  4. hello dear how r u
    actually im design i controller and want to set the gain 50.formula for integeral controller is R3?(scR1R2) but accoding to formula gain is not set .if i adjust it to gain 50 by violating formula for each input output changes

    Reply
  5. Sir, what is the used of the diode and 10 ohm resistor that connected to the gate of the mosfet? is it really required to put it there?

    Reply

Leave a Comment