Curvo Studio

Part 2 · Chapter 8

The MOSFET as a switch: threshold, operating regions and Rds(on)

An n-channel enhancement MOSFET is a voltage-controlled switch: with the gate-source voltage V_GS below the threshold V_th it is off (cutoff), and with V_GS well above V_th and V_DS small it is on, behaving like a small resistor R_DS(on) between drain and source. Used as a switch it should sit in cutoff or in the linear region, never in saturation, where it dissipates the most power.

How an n-channel enhancement MOSFET works

A MOSFET has three terminals: gate, drain and source. The gate is insulated from the silicon by a thin oxide layer, so in steady state it draws practically no current; it only has to charge and discharge its capacitance. In an n-channel enhancement device the body is p-type and the source and drain are n-type. With no gate voltage no current can flow, because the two n regions are separated by a p region.

A positive voltage on the gate attracts electrons to the surface under the oxide. Above the threshold voltage VthV_{\mathrm{th}}, enough of them collect to form an n-type channel that connects source and drain, and a current IDI_D can flow when VDSV_{\mathrm{DS}} is positive. The higher VGS−VthV_{\mathrm{GS}} - V_{\mathrm{th}}, called the overdrive voltage, the stronger the channel and the larger the current. This is why it is called an enhancement device: the channel is created, or enhanced, by the gate voltage, and without it the transistor is off.

Cutoff, linear and saturation regions

Let Vov=VGS−VthV_{\mathrm{ov}} = V_{\mathrm{GS}} - V_{\mathrm{th}}. The behaviour falls into three regions.

  • Cutoff, VGS≤VthV_{\mathrm{GS}} \le V_{\mathrm{th}}: no channel, ID≈0I_D \approx 0. The switch is open.
  • Linear (ohmic) region, VGS>VthV_{\mathrm{GS}} > V_{\mathrm{th}} and VDS<VovV_{\mathrm{DS}} < V_{\mathrm{ov}}: the channel reaches all the way to the drain and acts as a voltage-controlled resistor.
  • Saturation, VGS>VthV_{\mathrm{GS}} > V_{\mathrm{th}} and VDS≥VovV_{\mathrm{DS}} \ge V_{\mathrm{ov}}: the channel pinches off near the drain end and the current is set by the gate, not by VDSV_{\mathrm{DS}}.

The square-law model gives the drain current with a conduction factor kk (in A/V2A/V^2):

Linear: ID=k×(Vov×VDS−VDS2/2)I_D = k \times (V_{\mathrm{ov}} \times V_{\mathrm{DS}} - V_{\mathrm{DS}}^2 / 2)

Saturation: ID=12×k×Vov2I_D = \tfrac{1}{2} \times k \times V_{\mathrm{ov}}^2

The two meet at VDS=VovV_{\mathrm{DS}} = V_{\mathrm{ov}}. The transconductance, gm=dID/dVGSg_m = \mathrm{d}I_D / \mathrm{d}V_{\mathrm{GS}}, is k×Vovk \times V_{\mathrm{ov}} in saturation and k×VDSk \times V_{\mathrm{DS}} in the linear region. Real data sheets use a similar factor, but the square law is an approximation, particularly in power MOSFETs at high current.

Using the MOSFET as a switch: Rds(on)

For small VDSV_{\mathrm{DS}} the linear equation reduces to a straight line through the origin, ID≈k×Vov×VDSI_D \approx k \times V_{\mathrm{ov}} \times V_{\mathrm{DS}}. The drain-source path behaves as a resistor

RDS(on)≈1/(k×Vov)R_{\mathrm{DS(on)}} \approx 1 / (k \times V_{\mathrm{ov}})

so a harder gate drive (a larger VovV_{\mathrm{ov}}) lowers the resistance. Data sheets quote RDS(on)R_{\mathrm{DS(on)}} at a stated gate voltage, from milliohms for power parts to a few ohms for small signal parts. The power lost in the on state is conduction loss:

P=ID2×RDS(on)P = I_D^2 \times R_{\mathrm{DS(on)}}

In saturation the dissipation is P=ID×VDSP = I_D \times V_{\mathrm{DS}} with a large VDSV_{\mathrm{DS}}, which is far higher. A MOSFET used as a switch should therefore be driven so that it goes quickly between cutoff and the deep linear region. A MOSFET can also be operated deliberately in saturation as an amplifier or a linear regulator, but then it needs a heat sink.

A logic-level MOSFET has a low threshold (about 1–2.5 V) and a specified RDS(on)R_{\mathrm{DS(on)}} at VGS=4.5 VV_{\mathrm{GS}} = 4.5\,\mathrm{V} or even 2.5 V, so it can be driven directly from a 3.3 V or 5 V microcontroller. A standard MOSFET needs 10 V at the gate to reach its quoted RDS(on)R_{\mathrm{DS(on)}}, and a gate driver is used.

Low-side switching and inductive loads

The common arrangement for an n-channel MOSFET is the low-side switch: the load sits between the positive supply and the drain, and the source is connected to ground. The gate is driven relative to ground, which is easy from a logic output. A pull-down resistor of 10 kΩ to 100 kΩ from gate to ground keeps the device off while the microcontroller pin is still floating. A small series resistor in the gate limits the charging current and damps ringing.

VDDDZLQRGRpdVGS
Low-side N-channel MOSFET switch with gate resistor and flyback diode.

Relays, solenoids, motors and other inductive loads need extra care. When the MOSFET turns off, the inductor current cannot stop instantly, so the voltage across the coil reverses and the drain voltage spikes far above the supply, which can destroy the transistor. A flyback (freewheel) diode connected across the load, with its cathode toward the positive supply, gives the current a path and clamps the spike. Many power MOSFETs also contain a body diode between source and drain, but it does not protect against an inductive spike on the drain of a low-side switch, so an external diode is needed.

A worked example

A 12 V, 5 A solenoid is switched by a logic-level MOSFET with RDS(on)=0.05 ΩR_{\mathrm{DS(on)}} = 0.05\,\mathrm{\Omega} at VGS=5 VV_{\mathrm{GS}} = 5\,\mathrm{V}.

1. On state: VDS=5×0.05=0.25 VV_{\mathrm{DS}} = 5 \times 0.05 = 0.25\,\mathrm{V}, so the load receives 11.75 V. 2. Conduction loss: P=I2×R=25×0.05=1.25 WP = I^2 \times R = 25 \times 0.05 = 1.25\,\mathrm{W}. This is modest: a TO-220 package in free air can usually dissipate about this much, though it will run warm. 3. Off state: ID≈0I_D \approx 0, so the dissipation is almost nothing.

Now suppose a weak gate drive leaves the transistor only partly on, so that 6 V is dropped across it while the same 5 A flows. Then P=5×6=30 WP = 5 \times 6 = 30\,\mathrm{W}. This would overheat the part within seconds. The lesson is that the gate voltage matters as much as the current rating when the transistor is used as a switch.

Switching losses add to this: each transition passes through the high-dissipation region for a short time, so the average power increases with switching frequency, which is why drivers aim for fast edges.

How the simulator models the MOSFET

Curvo Studio's n-channel MOSFET simulator uses the long-channel square-law model described above, with the gate current taken as zero. The three regions are decided from VGSV_{\mathrm{GS}}, VthV_{\mathrm{th}} and VDSV_{\mathrm{DS}}, the drain current is given by the linear or saturation equation, and it is clipped to a maximum drain current that you set. The Power dissipation readout is ID×VDSI_D \times V_{\mathrm{DS}}, and the Transconductance readout is k×Vovk \times V_{\mathrm{ov}} in saturation and k×VDSk \times V_{\mathrm{DS}} in the linear region.

Be aware of what is not in the model. There is no load resistor, supply or gate driver in the circuit: VGSV_{\mathrm{GS}} and VDSV_{\mathrm{DS}} are both set directly, so there is no load line. There is no RDS(on)R_{\mathrm{DS(on)}} parameter, body diode, flyback diode, capacitance or switching transient. RDS(on)R_{\mathrm{DS(on)}} can be found by dividing VDSV_{\mathrm{DS}} by IDI_D in the linear region.

The default device has Vth=2 VV_{\mathrm{th}} = 2\,\mathrm{V}, a conduction factor of 1.2 A/V21.2\,\mathrm{A/V^2} and a maximum drain current of 20 A. At VGS=4 VV_{\mathrm{GS}} = 4\,\mathrm{V} and VDS=6 VV_{\mathrm{DS}} = 6\,\mathrm{V} it is in saturation with ID=12×1.2×22=2.4I_D = \tfrac{1}{2} \times 1.2 \times 2^2 = 2.4 A, which dissipates 14.4 W.

Try it in the MOSFET simulator

Open the n-channel MOSFET simulator and try the following.

  • Set the Gate-source voltage below the Threshold voltage, for example 1.5 V with the default threshold of 2 V. The Operating region reads Cutoff and the Drain current is 0.
  • Return to VGS=4 VV_{\mathrm{GS}} = 4\,\mathrm{V}, VDS=6 VV_{\mathrm{DS}} = 6\,\mathrm{V}. The Operating region reads Saturation, ID=2.4I_D = 2.4 A and the Power dissipation is 14.4 W.
  • Now lower the Drain-source voltage to 1 V. The region becomes Linear, ID=1.8I_D = 1.8 A and the dissipation is 1.8 W.
  • Raise VGSV_{\mathrm{GS}} to 10 V and set VDSV_{\mathrm{DS}} to 0.5 V. IDI_D rises to about 4.65 A, and VDS/IDV_{\mathrm{DS}} / I_D is about 0.11 Ω, close to the 1/(k×Vov)=0.10 Ω1 / (k \times V_{\mathrm{ov}}) = 0.10\,\mathrm{\Omega} from the formula. Dissipation is only about 2.3 W for a current almost twice as large, which is the point of a switch.
  • Change the Conduction factor and the Threshold voltage (both are nameplate values) to see how a different device shifts the curves.

The Output characteristics chart (IDI_D against VDSV_{\mathrm{DS}} at VGSV_{\mathrm{GS}} of 2, 3, 4, 5, 6 and 8 V) shows the linear region rising and the saturation plateau, and the Transfer characteristic chart (IDI_D against VGSV_{\mathrm{GS}}) shows the square law above the threshold. The 3D cross-section shows the channel forming and, in saturation, narrowing toward the drain (pinch-off).

Gate drive and switching losses

The gate is an insulated capacitor, so a MOSFET needs essentially no steady-state drive current — but charging and discharging that gate capacitance takes real current, and that determines how fast it can switch. Total losses come in two parts: conduction loss, equal to the drain current squared times RDS(on), and switching loss during the transitions. Driving the gate hard and fully enhancing the channel keeps both small, which is why a switching MOSFET is usually driven well above its threshold.

Sources and further reading

  • A. S. Sedra and K. C. Smith, "Microelectronic Circuits", Oxford University Press.
  • B. J. Baliga, "Fundamentals of Power Semiconductor Devices", Springer.
  • N. Mohan, T. M. Undeland and W. P. Robbins, "Power Electronics: Converters, Applications, and Design", Wiley.

Try it in the simulator

Frequently asked questions

What is the threshold voltage of a MOSFET?
It is the gate-source voltage at which a conducting channel starts to form between source and drain. Below it an enhancement MOSFET is off. Typical values are 1–2.5 V for logic-level parts and 2–4 V for standard power MOSFETs.
Why should a MOSFET switch not operate in saturation?
In saturation the drain-source voltage can be large while the current flows, so the power dissipation ID×VDSI_D \times V_{\mathrm{DS}} is high. As a switch the transistor should be either off or fully on in the linear region, where VDSV_{\mathrm{DS}} is small and the loss is only I2×RDS(on)I^2 \times R_{\mathrm{DS(on)}}.
What does a logic-level MOSFET mean?
A MOSFET whose RDS(on)R_{\mathrm{DS(on)}} is specified at a low gate voltage, typically 4.5 V or 2.5 V, so it can be driven directly from 3.3 V or 5 V logic. A standard MOSFET needs about 10 V on the gate.
Why does a MOSFET need a flyback diode with a motor or relay?
When the MOSFET turns off, the inductive load keeps its current flowing and produces a large voltage spike across the transistor. A diode across the load provides a path for the current and clamps the spike.
Does a MOSFET gate draw current?
Not in steady state, since the gate is insulated by an oxide layer. It does draw a brief current to charge and discharge its input capacitance each time it switches. The simulator treats the gate current as zero.
Does the Curvo Studio MOSFET simulator include R_DS(on) or a flyback diode?
No. It is a square-law model where VGSV_{\mathrm{GS}} and VDSV_{\mathrm{DS}} are set directly. It shows the operating region, drain current, transconductance and power dissipation, and you can estimate RDS(on)R_{\mathrm{DS(on)}} as VDS/IDV_{\mathrm{DS}} / I_D in the linear region.
Why does a MOSFET need a gate driver?
The gate is a capacitor that must be charged and discharged every time the MOSFET switches. The faster that happens, the less time the device spends half-on, where switching losses are high. A microcontroller pin can supply only a few milliamps, so gate drivers deliver amps of peak current and the right gate voltage for fast, cool switching.