Electronic – arduino – Buck converter for Li-Ion 2s battery charger

arduino unobattery-chargingbucklithium ionmosfet

I'm currently doing a project that requires the charging of a 2s Li-Ion battery.

I have an 18V 10W solar panel that I want to charge my battery using a buck converter. Im controlling the switch and duty cycle with an arduino uno which outputs a 0-5V PWM signal, I have not selected a switch yet as I am having issues trying to get my mosfet switch on and off due to the gate voltage being significantly less than my source voltage.

The way I understand it,

Before the switch the voltage is 18V, after the switch before the inductor the voltage at that node is the same as the battery voltage, 7.2< Vbat <8.2V. Therefore, for mt arduino uno to drive the switch some sort of DC offset needs to be applied to the gate so it varies from below the battery voltage (switch OFF) to above the battery voltage and turn on voltage of the switch ( switch ON).

Is my understanding correct? Does anyone have any suggestions how I can drive my switch without losing too much power?

Basically im struggling to get a PWM signal of 0V – 18V after the switch.

IN CC mode my desired outputs are 1Amp and varying voltage and in CV mode Vout = 8.4V and slowly decreasing current.

Is there some kind of IC driver that I can use?

BUCK CONVERTER from https://www.researchgate.net/publication/291757375_Design_and_Simulation_of_DC-DC_Converters

Best Answer

Two general things:

  1. Do not drive the MOSFET directly from your MCU. Well that actually depends .on your switching frequency. But if you want to quickly switch on and off your FET to reduce switching losses, you need to source and sink a lot of current .

Also your MCU voltage is limited but you want to overdrive the MOSFET to switch on faster and reduce Rdson.

You don’t want ask or expect the MCU to do this.

  1. You need to drive the Gate at least 7-10V depending on FET higher than the source. A common way to do this is bootstrapping.

Alternatively , you can float your battery/output. And reference the FET to ground this will make driving the gate easier. This is commonly done in LED drivers. See figure below.

enter image description here

picture take from Here

Related Topic