I'm currently working on implementing a buck-boost converter for MPPT of a solar cell, the gate of the transistor is to be fed 0-3.3 V PWMlogic and I am planning on using a gate driver IC to combat the gate charge and shift the logic to appropriate voltage levels. However, the MOSFET source is exposed to negative voltage due to the inverting nature of the buck-boost topology.
In my case, for a certain irradiance level, the voltage of the panel at the maximum power point is ~16 V, at which the output voltage is brought to ~-20 V. I think using PMOS is part of the solution here, but finding a gate driver IC that can output negative bias is proving difficult; and I can't reference the gate to the output voltage since it is constantly subject to change. If there's something I've missed or misunderstood, please feel free to post. Any help would be appreciated.
simulate this circuit – Schematic created using CircuitLab