Im making a project to charge a battery 2Cells 7.4V with 910 mAh. This will be a simulation of a Cubesat EPS (Electric Power System). Im using an Arduino Mega, and the frequency of the PWM is 31.5KHz from pin 6.
My power supply will provide 20V, and I want a CC of 0.3C in order to charge the battery.
Im using an INA219 to provide feedback for my design using I2C.
I want to know how to design a Buck Converter with a NMOS. I tested it with an IRLZ44, but I did something wrong, so I just need a design for a Buck Converter. For output I will use a 500uH and 100uF.
Let's see if we can make a design together. If you need more information just tell me.
This is my design:
I know that probably there are things wrong, but Im here to hear good things and advices about design.
Also, to read the voltage in load, I use A0 and A1. Arduino make A0-A1 to know the voltage because load isn't connected to common ground (not sure of this).
Any advice will be good considered. Thank you!