Analyze Effects of Gate Drive Resistance on MOSFET with Parasitic Elements
R2026bThis example demonstrates how changing the turn-on and turn-off gate resistance values affects an N-Channel MOSFET with parasitic elements. The example shows the impact on voltage and current waveforms, switching losses, and conducted electro-magnetic interference (EMI) at the input source. The circuit includes parasitic resistances, inductances, and terminal capacitances.
The gate resistance limits the current that flows in and out of the gate terminal. This limit also affects the switching speed of the device. At the same time, the gate resistance dampens the oscillations in the voltage and current waveforms. These oscillations occur due to the presence of the parasitic terminal resistances and inductances, as well as the internal capacitances of the device.
Open Model
Open the AnalyzeEffectsOfGateResistanceOnMOSFETwithParasitics model.
modelName = "AnalyzeEffectsOfGateResistanceOnMOSFETwithParasitics";
open_system(modelName);The model uses an ideal current source to represent the steady-state load current in a DC-DC converter. The model also includes a freewheeling diode with reverse recovery, which increases the switch-on time, switch-on energy loss, and EMI level of the MOSFET. This example models additional parasitic inductances from printed circuit board (PCB) traces in the current loop path, which flows from the positive terminal to the negative terminal of the decoupling capacitor C_DC. To measure common-mode and differential-mode noise, the blocks in the Line Impedance Stabilizer Network (LISN) subsystems connect in series with the input DC source. The parasitic inductances in the current commutation loop and in the N-Channel MOSFET block are set to typical values found in PCB designs and Transistor Outline (TO) packages (10–100 nH).

Set Switch-on and Switch-off Gate Resistance and Simulate Model
Set the switch-on and switch-off gate resistance sweep values for the Gate Driver block. Then simulate the model and plot the results.
gateDriveBlockPath = modelName + "/GateDriver"; RgOnMinAndMaxValues = [0.4 40]; % Switch-on gate resistance sweep values for simulation, in Ohms RgOffMinAndMaxValues = [0.5 50]; % Switch-off gate resistance sweep values for simulation, in Ohms RgOnValues = linspace(min(RgOnMinAndMaxValues),max(RgOnMinAndMaxValues),10); RgOffValues = linspace(min(RgOffMinAndMaxValues),max(RgOffMinAndMaxValues),10); simlogAggregated = cell(1,length(RgOnValues)); cmWaveformAggregated = cell(1,length(RgOnValues)); dmWaveformAggregated = cell(1,length(RgOnValues)); set_param(modelName,FastRestart="on"); % Enable fast restart using the Fast Restart for i = 1:length(RgOnValues) % Set the gate resistance value. RgOnUsed = RgOnValues(i); RgOffUsed = RgOffValues(i); % Run the simulation for the current gate resistance value. out = sim(modelName); % Retrieve common-mode and differential-mode noise waveforms from the % workspace. cmWaveform = out.cm; dmWaveform = out.dm; simlogAggregated{i} = out.simlog_SetGateResistanceForMOSFETWithParasitics; cmWaveformAggregated{i} = out.cm; dmWaveformAggregated{i} = out.dm; end set_param(modelName,FastRestart="off"); % Plot results. plotResultsForMOSFETWithParasitics(simlogAggregated,cmWaveformAggregated,dmWaveformAggregated,RgOnValues,RgOffValues,Vdc,Iload,Tsw);





Very small gate resistance values cause excessive oscillations in the Vds and Id waveforms of the MOSFET due to insufficient damping. This event also increases the conducted common-mode and differential EMI level in the 10-100 MHz frequency range. Observe how the switch-on speed of the MOSFET does not scale linearly with the gate resistance value because the common source inductance (CSI) limits the rate of change (di/dt) of the drain current. The CSI combines the source lead inductance of the MOSFET and the external trace inductance LS_trace, which are in series in the model.