A few years ago I made an attempt to build one of these -
https://hackaday.io/project/4613-arduino-mppt-solar-charge-controller. I think it was even before the updated version that has 3 IR2104 half bridge drivers but it did not go well. Just like a lot of people in the comment section I had problems with MOSFETs blowing
V3.0 schematic:
https://github.com/deba168/MPPT_Master/blob/master/mppt%20controller_schema.pdfV3.1 with extra IR2104:
http://cdn.instructables.com/ORIG/F76/5DJ1/IEOP45ZK/F765DJ1IEOP45ZK.pdfI recently built the half bridge part of his circuit with IR2104 for a fan controller and it works fine but I would be slow to try and build another charge controller with IR2104s as they seem to behave unpredicatably when the power source is removed which is bound to happen if it's driven by solar panels
Could I get rid of the IR2104 altogether and use a P Channel mosfet with low Rds(on) for the high side? I'm using a PIC16F1509 which has a complementary wave generator that can generate the waveforms for both sides including dead band so I'd only need the mosfet driver to generate a high enough voltage to switch on Q2
If I get a +12v supply with two opposing diodes from the battery and panel, and a regulator and use this to switch on a P channel and N Channel mosfet using a pair of BC547's controlled by the PIC would it have a better chance of working?
What about Q1? As far as I remember he added this to stop current flowing back towards the panel but is it still necessary if we get rid of the IR2104?