https://electronicsbeliever.com/inverting-buck-boost-step-by-step-design-guide/pic-9-21/
pic 9