A MOS transistor (Metal-Oxide-Semiconductor Field-Effect Transistor) is a voltage-controlled semiconductor device used to switch or amplify electronic signals. Unlike bipolar junction transistors (BJTs) that require continuous base current to stay on, a MOSFET uses an electric field generated by gate voltage to control current flow between the drain and source. This near-zero steady-state gate current makes them the undisputed kings of high-efficiency power switching, motor control, and digital logic.
If you are building a PWM motor controller, a high-current LED driver, or a battery management system, understanding how field-effect transistors operate beyond the textbook physics is critical. Below is a bench-tested guide to selecting, biasing, and troubleshooting MOS transistors in real-world circuits.
Anatomy, Symbol, and Pinout
Before wiring anything, you need to understand the physical and schematic layout of the device. A standard N-channel enhancement MOSFET has three primary terminals, plus a fourth that is usually tied internally:
- Gate (G): The control terminal. It is electrically isolated from the rest of the device by a thin layer of silicon dioxide (the 'oxide' in MOS). Because it acts like a capacitor, it draws virtually zero DC current once charged.
- Drain (D): The terminal where current enters the channel (for N-channel devices). In a TO-220 package, this is typically the center pin and is often physically bonded to the metal mounting tab for heatsinking.
- Source (S): The terminal where current exits the channel. This is your reference point for the gate voltage.
- Body/Substrate: Internally connected to the Source in discrete power MOSFETs. This creates an intrinsic body diode pointing from Source to Drain (in N-channel), which allows current to flow in reverse even when the transistor is off.
Operation Regions and Biasing the Gate
To use a MOSFET as a switch, you must drive it fully into the Ohmic (Linear) region. To use it as an amplifier, you bias it in the Saturation region. The behavior is dictated by the Gate-to-Source voltage ($V_{GS}$) and the Drain-to-Source voltage ($V_{DS}$).
| Region | $V_{GS}$ Condition | $V_{DS}$ Condition | Behavior & Typical Use |
|---|---|---|---|
| Cutoff | $V_{GS} < V_{GS(th)}$ | Any | Device is OFF. Only nanoamps of leakage current flow. (Switch Open) |
| Linear (Ohmic) | $V_{GS} > V_{GS(th)}$ | $V_{DS} < V_{GS} - V_{GS(th)}$ | Device is fully ON. Acts as a low-value resistor ($R_{DS(on)}$). Use this for switching. |
| Saturation (Active) | $V_{GS} > V_{GS(th)}$ | $V_{DS} \ge V_{GS} - V_{GS(th)}$ | Current is constant, limited by $V_{GS}$. Device dissipates high heat. Use this for amplification. |
The most misunderstood parameter on a datasheet is $V_{GS(th)}$ (Gate Threshold Voltage). This is not the voltage required to turn the MOSFET fully on. It is merely the voltage where the device begins to conduct a tiny, specified leakage current (usually 250µA). To achieve the rated low $R_{DS(on)}$ (on-resistance), you typically need to apply 2.5x to 3x the threshold voltage.
Safe Default Part Numbers for the Workbench
Stop buying random assortments of unlabeled transistors. Keep these three proven, easily sourced part numbers in your bin to cover 95% of hobbyist and prototyping needs:
- 2N7000 (Small Signal N-Channel): Rated for 60V $V_{DS}$, 200mA $I_D$, with an $R_{DS(on)}$ of ~5Ω at $V_{GS}$ = 10V. Perfect for driving small indicator LEDs, level-shifting I2C lines, or triggering larger relays. Available in TO-92 through-hole.
- IRLZ44N (Logic-Level Power N-Channel): Rated for 55V $V_{DS}$, 47A $I_D$, with an $R_{DS(on)}$ of just 22mΩ at $V_{GS}$ = 5V. The 'L' stands for Logic-level, meaning it turns on fully with 3.3V or 5V microcontroller GPIO pins. Ideal for motors, heaters, and high-power LED strips.
- AO3400 (SMD Logic-Level N-Channel): Rated for 30V $V_{DS}$, 5.7A $I_D$, 27mΩ $R_{DS(on)}$ at 4.5V. Housed in a tiny SOT-23 package, this is the go-to surface-mount part for compact PCB designs where you need to switch moderate loads from a 3.3V ESP32 or Raspberry Pi Pico.
A Complete 12V PWM Motor Drive Circuit
Let us build a robust low-side switch to drive a 12V DC motor drawing up to 5A using an ESP32 (3.3V logic) and the IRLZ44N. According to standard MOSFET switching tutorials, protecting the gate and managing inductive kickback is mandatory.
Bill of Materials & Component Values:
- Q1: IRLZ44N (N-Channel MOSFET)
- R1 (Gate Series Resistor): 100Ω, 1/4W. Limits the inrush current into the gate capacitance, protecting the ESP32 GPIO pin from exceeding its 40mA absolute max limit during the Miller plateau transition.
- R2 (Gate Pulldown Resistor): 10kΩ, 1/4W. Connected between Gate and Source (Ground). Ensures the MOSFET stays off if the microcontroller resets, boots up with floating pins, or loses power.
- D1 (Flyback Diode): 1N5819 Schottky Diode. Placed in reverse-parallel across the motor terminals (cathode to 12V, anode to Drain). A Schottky is chosen over a standard 1N4007 because its near-zero reverse recovery time handles high-frequency PWM kickback without overheating.
- Connect the ESP32 PWM output pin to one end of the 100Ω gate resistor (R1).
- Connect the other end of R1 to the Gate (Pin 1) of the IRLZ44N.
- Connect the 10kΩ pulldown resistor (R2) between the Gate and Ground.
- Connect the Source (Pin 3) of the IRLZ44N directly to the system Ground.
- Connect one terminal of the DC motor to the 12V power supply.
- Connect the other terminal of the DC motor to the Drain (Pin 2) of the IRLZ44N.
- Place the 1N5819 diode across the motor terminals, with the silver stripe (cathode) pointing toward the 12V supply.
- Apply 12V to the circuit, then send a 1kHz PWM signal from the ESP32 to control motor speed.
Bench Scenario: The Melted Gate Driver (What Went Wrong)
Early in my career, I was tasked with building a simple 12V, 10A silicone heater controller for a 3D printer enclosure. I grabbed an IRF520 from the parts bin, wired it exactly like the circuit above, and drove the gate directly from an Arduino Uno (5V logic).
The Setup: 12V supply, 10A heater load, IRF520 MOSFET, 5V Arduino GPIO to the gate.
The Numbers: The IRF520 datasheet lists a $V_{GS(th)}$ of 2.0V to 4.0V. I assumed 5V from the Arduino would turn it on fully. The datasheet also lists an $R_{DS(on)}$ of 0.27Ω, but if you read the fine print, that spec is measured at $V_{GS}$ = 10V.
The Outcome: When the Arduino pin went HIGH, the heater turned on. But within 45 seconds, the MOSFET tab grew hot enough to melt the plastic header on the perfboard, and the Arduino GPIO pin permanently died, taking the ATmega328P microcontroller with it.
What Went Wrong: At $V_{GS}$ = 5V, the IRF520 was not fully enhanced. It was operating in the Saturation (Active) region, acting like a current limiter rather than a closed switch. Instead of an $R_{DS(on)}$ of 0.27Ω, its effective resistance was closer to 1.5Ω. Dissipating $P = I^2R$, the MOSFET was burning off $10^2 \times 1.5 = 150$ Watts of heat. Without a massive heatsink, it went into thermal runaway, shorted the Drain to the Gate internally, and sent 12V straight back into the 5V-tolerant Arduino pin, frying the silicon.
How MOSFETs Fail and How to Test Them
MOSFETs rarely fail open; they almost always fail shorted. A voltage spike exceeding the $V_{DS}$ max will punch through the silicon, shorting Drain to Source. An ESD strike or overvoltage on the gate will puncture the oxide layer, shorting Gate to Source. Here is how to verify an N-channel MOSFET using a standard digital multimeter (DMM) set to Diode Test mode.
- Discharge the Gate: Touch the Black (Common) probe to the Source pin and the Red probe to the Gate pin. This bleeds off any stored gate charge.
- Test the Body Diode: Place the Black probe on the Source and the Red probe on the Drain. You should read a standard diode forward voltage drop (typically 0.4V to 0.6V). If it reads 0.00V (short) or OL (open in both directions), the device is dead.
- Check Reverse Blocking: Swap the probes (Red on Source, Black on Drain). The meter should read 'OL' (Open Loop), confirming the body diode is blocking reverse current.
- Charge the Gate: Place the Black probe on the Source, and briefly touch the Red probe to the Gate. The multimeter's internal 3V battery will charge the gate capacitance above the threshold voltage, turning the channel on.
- Verify the Channel: Keep the Black probe on the Source, and move the Red probe to the Drain. The meter should now read a very low voltage (near 0.00V) or beep on continuity, proving the channel has enhanced and is conducting.
- Discharge to Turn Off: Short the Gate to the Source with your finger or a piece of wire. Re-test Drain to Source (Red on Drain, Black on Source); it should revert to reading the 0.4V - 0.6V body diode drop, proving the device can turn off.
Mastering the MOS transistor bridges the gap between low-power microcontroller logic and high-power real-world actuation. By respecting the gate charge requirements, choosing logic-level part numbers for direct GPIO drive, and always providing a path for inductive kickback, you will build power stages that run cool, switch fast, and survive the inevitable faults on the workbench.






