Working principle
A Buck-Boost converter transforms a positive DC voltage at the input to a negative DC voltage at the output. The circuit operation depends on the conduction state of the MOSFET: On-state: The current through the inductor increases and the diode is in blocking state.