Online simulation of buck-boost converter DC-DC converter is ready.
Buck-boost DC-DC converter has special feature that output voltage is with negative polarity, and absolute value of the output voltage can be either higher or lower then the input voltage, depending on duty cycle.
formatting link
Read theory of operation:
formatting link