When I try to switch the MOSFET on and off by triggering the gate drive, I found that there are glitches on the part of the waveform where the MOSFET swiitches. Is anyone out there know why the glitches are there? This circuit is used to supply energy to the inductor. Thank u.