I would be very careful with this circuit. It lacks many self-protection features of "real" switching power supplies.



It

is susceptible to "shoot-through", where one MOSFET doesn't turn off

completely before the other turns on. They short power to ground,

potentially destroying themselves, or at least reducing the circuit's

efficiency. Maxim Semi has a nice definition:

https://www.maximintegrated.com/en/glossary/defini...

There should be a dead-band between the two MOSFET gate

signals, when both transistors are off. The circuit as is may work for

some people, but variations in the MOSFET gate capacitance, threshold

voltage, and logic gate drive strength may cause it to fail [maybe dramatically] for

others.

The circuit also lacks a lock-out circuit to prevent

both transistors from both being turned on of the logic gates

misbehave. They wouldn't misbehave once the circuit is powered up and running,

but odd things can happen with turning the power supply on or off. The gate

outputs may all jump high or low, even if only briefly, and again short

power to ground.



I'm sure a more experienced power supply designer will have additional warnings. Commercial switching power supplies and ICs have extensive protection circuitry. They're not included just for fun. ;-)

Caveat emptor.