# Current spikes when MOSFET turns on and voltage spikes when MOSFET turns off

I studying for my Power Electronics course and have come across something which I can't seem to wrap my head around.

In a lab, we built a buck converter with an inductive load and measured various transients during its operation, specifically focusing on the transient currents and voltages that occur during switching of the MOSFET. At the end of the lab, the following question was asked:

Describe why a current spike is produced when the MOSFET is switched on, and a voltage spike is produced when the MOSFET is switched off

I am familiar with the fundamental formulas for inductors and capacitors, and from those I would expect that a voltage spike could occur when switching an inductive load, because of a near instantaneous change in voltage across the inductor.
However, this doesn't seem to fit with the question that is being asked, which implies a current spike when switching on and a voltage spike only when switching off.

These are the only two slides I could find from the lectures that show this kind of behavior, but I can not understand how the shown circuits would produce that behavior:

Switching on:

(note: U_CE is the voltage across the MOSFET and Ic is the current through it)

What is the source of this current spike when the MOSFET turns on?

Switching off:

(note: U_CE is the voltage across the MOSFET and Ic is the current through it)

What is the source of the overvoltage when the MOSFET turns off? The inductive load is pictured with a flyback diode, so I don't see how this would be caused by the inductor. And I would think that the capacitor just gets charged up to its capacity and then maintains a constant voltage.

Any help would be appreciated, thanks in advance.

• I can't say that I recognize all of this waveform as it appears to be a straight line estimate with less correlation to the U-I plot such that it coincides with dI/dt=Uce/L or dU/dt=Ic/C or U/I=R. Yet the diode clips above the supply voltage and the RC snubber absorbs back EMF but the diode OFF capacitance is not big enough to cause the Turn On spike like this. Feb 15, 2020 at 18:31
• @Tony Stewart Sunnyskyguy EE75 it is possible that these diagrams were not created with scale in mind, but more with the goal of just showing what behaviors occur on a qualitative level. But I agree that they are unclear, and they have been the source of much confusion for me at times. Feb 15, 2020 at 19:51
• Well none of them match the circuit Feb 16, 2020 at 0:11
• As far as turn on is concerned it's just about flywheeling diode recovery current and L/D turn-on snubber. For the switching off instead it's about busbar stray inductance and R/C turn-off snubber. Feb 16, 2020 at 8:50

In other words; what do you get when you short a capacitor?

In other words, what happens when you break current in an inductor?