So I watched this video to understand how DC-DC boost converter works.
Here's circuit diagram:
And I don't get, when switch is off, and polarity in the inductor is such that positive is on the right, negative is on the left.
Then in order for diode to conduct, anode should be at higher potential than cathode. In other words, voltage across inductor needs to be higher than voltage across capacitor.
Now video said, there's gonna be a spike in voltage in the inductor after switch is off due to collapsing magnetic field to keep current constant, but how big is this spike? And wouldn't charge, and therefore voltage across capacitor be so big, that the spike in inductor will no longer be higher, so diode would not conduct at all?