I have a basic switching circuit question. I'm confused about the currents. I'm trying to understand how does the current loop through the diode in the below circuit:
I get the following plots from simulation:
(Blue plot is diode current, red plot is MOSFET current)
Can someone explain in detail(step by step in slow motion) what happens during the pulse_in goes ON from OFF state?
It looks like in the plots, the moment the pulse_in goes ON(MOSFET should start turning on), the diode and MOSFET current both makes a short huge peak. But when the MOSFET is ON how come the diode conducts here? The plots confuses my understanding.
Another thing is where does the diode peak current(during flyback operation) flows into(from and through where)?