A gate source drain transistor—universally known in practical electronics as a MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor)—controls current flow between the Drain and Source terminals using a voltage applied to the Gate. Unlike BJTs that require continuous base current, a MOSFET is voltage-controlled and draws virtually zero steady-state gate current, making it the undisputed king of modern power switching and PWM motor control.
If you need a quick, safe default for your workbench: use the IRLZ44N for 5V or 3.3V microcontroller logic switching up to 20A, and the IRF520 for higher voltage applications (up to 100V) where you have 10V+ gate drive available. For surface-mount designs on custom PCBs, the AO3400 (SOT-23 package) is the go-to 30V, 5.7A logic-level N-channel part.
Decoding the Gate, Source, and Drain Pinout and Symbol
Before you wire anything, you must understand the physical layout and the schematic representation. The most common through-hole package for power MOSFETs is the TO-220. When you hold a TO-220 N-channel MOSFET facing you with the metal tab on the back and the pins pointing down, the pinout from left to right is:
- Gate (G): The control terminal. It is electrically isolated from the other pins by a microscopic layer of silicon dioxide. It acts like a capacitor plate.
- Drain (D): The terminal where conventional current enters the device. The metal tab on the back of the TO-220 package is internally connected to the Drain, which is why you must use insulating washers if mounting multiple MOSFETs to a shared heatsink.
- Source (S): The terminal where conventional current exits the device, usually tied to circuit ground in low-side switching configurations.
MOSFET Operation Regions: The Terminology Trap
The biggest stumbling block for engineers transitioning from BJTs to MOSFETs is the naming of the operation regions. In a BJT, "saturation" means the switch is fully ON. In a gate source drain transistor, saturation means the device is acting as a constant-current amplifier, not a closed switch. When you want a MOSFET to act as a low-resistance switch, you must drive it into the Linear (or Ohmic) region.
| Region | Gate-Source Voltage ($V_{GS}$) | Drain-Source Voltage ($V_{DS}$) | Device Behavior | Typical Application |
|---|---|---|---|---|
| Cutoff | $V_{GS} < V_{GS(th)}$ | Any | No channel formed. Only microamp leakage current flows. | Switch OFF state. |
| Linear (Ohmic) | $V_{GS} > V_{GS(th)}$ | $V_{DS} < (V_{GS} - V_{GS(th)})$ | Acts as a voltage-controlled resistor. $R_{DS(on)}$ is at its minimum. | Power Switching (ON state), PWM loads. |
| Saturation (Active) | $V_{GS} > V_{GS(th)}$ | $V_{DS} > (V_{GS} - V_{GS(th)})$ | Acts as a constant current source. Current is independent of $V_{DS}$. | Linear amplifiers, electronic loads, current mirrors. |
According to the All About Circuits semiconductor textbook, ensuring your $V_{DS}$ remains low enough to keep the device in the Linear region during switching is what prevents catastrophic thermal runaway in power applications.
How to Bias and Select a Gate Source Drain Transistor
Selecting the right MOSFET is not about looking at the maximum voltage and current ratings; it is about analyzing the $V_{GS(th)}$ (Gate Threshold Voltage) versus the $R_{DS(on)}$ (On-Resistance) at your specific logic voltage.
The threshold voltage $V_{GS(th)}$ listed on the first page of a datasheet is merely the voltage at which the MOSFET begins to conduct a tiny test current (usually 250 µA). It does not mean the MOSFET is fully turned on. To bias it correctly as a switch, you must look at the $R_{DS(on)}$ specification table.
Safe Bench Defaults:
- IRLZ44N (Logic-Level, TO-220): 55V $V_{DS}$, 47A $I_D$. $R_{DS(on)}$ is 22 mΩ at $V_{GS} = 5V$. Excellent for 5V Arduinos driving high-current motors.
- IRF520 (Standard-Level, TO-220): 100V $V_{DS}$, 9.2A $I_D$. Requires 10V gate drive to achieve its rated 0.27 Ω $R_{DS(on)}$. Do not use directly with 5V logic for high currents.
- AO3400 (Logic-Level, SOT-23): 30V $V_{DS}$, 5.7A $I_D$. $R_{DS(on)}$ is 35 mΩ at $V_{GS} = 4.5V$. Perfect for compact PCB designs and low-power LED strips.
Application Circuit: Driving a 12V DC Motor with an ESP32
Here is a complete, tested circuit for driving a 12V, 5A brushed DC motor using an ESP32 (3.3V logic) and an IRLZ44N MOSFET. This configuration uses low-side switching, which is the most reliable way to drive grounded loads.
Component List & Values:
- Q1: IRLZ44N N-Channel MOSFET
- R1 (Gate Resistor): 100 Ω (Limits inrush current into the gate capacitance, protecting the ESP32 GPIO and dampening high-frequency ringing).
- R2 (Pull-down Resistor): 10 kΩ (Connects Gate to Source/Ground. Keeps the MOSFET firmly OFF while the ESP32 is booting and its GPIOs are high-impedance).
- D1 (Flyback Diode): 1N4007 or Schottky equivalent (Placed in reverse bias across the motor terminals, cathode to 12V, anode to Drain. Absorbs inductive voltage spikes when the MOSFET turns off).
Wiring Steps:
- Connect the ESP32 GPIO pin to one leg of the 100 Ω resistor (R1).
- Connect the other leg of R1 to the Gate of the IRLZ44N.
- Connect the 10 kΩ resistor (R2) between the Gate and the Source (Ground).
- Tie the Source pin directly to the shared system Ground (ESP32 GND and 12V supply GND must be common).
- Connect one motor terminal to the 12V positive supply.
- Connect the other motor terminal to the Drain pin of the MOSFET.
- Solder the 1N4007 diode directly across the motor terminals (stripe facing the 12V positive side).
For a deeper look at how gate capacitance affects switching speeds in circuits like this, the SparkFun Transistor Tutorial provides excellent baseline theory on charging the gate capacitor.
Bench Scenario: The Melted TO-220 Package
Theory is clean; the workbench is unforgiving. Here is a real-world failure analysis of a gate source drain transistor circuit gone wrong.
The Setup: A hobbyist wanted to control a 12V, 10A fuel pump using an Arduino Uno (5V logic). They grabbed an IRF520 from their parts bin because the datasheet cover page said "9.2A Continuous Drain Current" and "100V Drain-Source Voltage." They wired it exactly like the circuit above, omitting the heatsink because "it's only 12V."
The Numbers: The Arduino output 5V to the gate. The IRF520 is a standard-level MOSFET. Its $V_{GS(th)}$ is listed as 2.0V to 4.0V. At 5V, the MOSFET turns on, but it never reaches the Linear region's optimal low resistance. Looking at the typical output characteristics graph, at $V_{GS} = 5V$ and $I_D = 10A$, the $V_{DS}$ drops to about 4V. This implies an effective $R_{DS(on)}$ of roughly 0.4 Ω at this inadequate gate drive.
The Outcome: Power dissipation in the MOSFET is calculated as $P = I^2 \times R$.
$P = (10A)^2 \times 0.4 Ω = 40 Watts$.
A TO-220 package has a junction-to-ambient thermal resistance ($R_{\theta JA}$) of about 62 °C/W without a heatsink. The temperature rise above ambient would be $40W \times 62 °C/W = 2,480 °C$. Obviously, the silicon junction melts and the plastic package cracks long before reaching that number. The hobbyist was met with a loud pop, magic smoke, and a dead Arduino GPIO pin (the gate oxide shorted, sending 12V back into the microcontroller).
What Went Wrong: The builder confused the absolute maximum ratings with the operating conditions. They failed to check the $R_{DS(on)}$ vs. $V_{GS}$ graph. The Fix: Swap the IRF520 for a logic-level IRLB8721 or IRLZ44N, which guarantees an $R_{DS(on)}$ under 20 mΩ at 5V, dropping the power dissipation to a manageable $10^2 \times 0.02 = 2W$.
How MOSFETs Fail and How to Test Them with a Multimeter
MOSFETs generally fail in three ways: Thermal Runaway (as seen above), Gate Oxide Punch-Through (caused by ESD or exceeding the $\pm 20V$ $V_{GS}$ max limit, which shorts the Gate to the Source), and Avalanche Breakdown (exceeding the $V_{DS}$ limit, usually from inductive spikes without a flyback diode, shorting Drain to Source).
When a MOSFET fails catastrophically, it almost always fails as a dead short across all three pins. Here is how to test a suspect gate source drain transistor using a standard digital multimeter (DMM).
Step-by-Step Multimeter Test (N-Channel):
- Discharge the Gate: Touch a piece of wire or a resistor across the Gate and Source pins to bleed off any trapped static charge in the gate capacitance.
- Set DMM to Diode Mode: This mode outputs a small voltage (usually 2-3V) on the red probe.
- Check the Body Diode: Place the black probe on the Drain and the red probe on the Source. You should read a standard diode drop (typically 0.4V to 0.7V). Reverse the probes (red on Drain, black on Source); the meter should read "OL" (Open Loop). If it reads 0.00V or beeps in both directions, the Drain-Source channel is shorted. The part is dead.
- Check Gate Isolation: Move the probes to measure between Gate and Source, and Gate and Drain. The meter must read "OL" in both polarities. If you read any continuity or resistance, the gate oxide is punctured. The part is dead.
- Force it ON (The Fun Part): While keeping the black probe on the Source, briefly touch the red probe to the Gate. The DMM's internal voltage will charge the gate capacitor and turn the MOSFET on.
- Verify Conduction: Move the red probe back to the Drain (black still on Source). The meter should now read a very low voltage drop (close to 0.00V), indicating the channel is fully enhanced and conducting.
Understanding the physical reality behind the gate, source, and drain terminals transforms the MOSFET from a confusing schematic symbol into a highly predictable, robust tool. Always respect the $V_{GS}$ requirements, manage your inductive kickback, and verify your thermal dissipation before you apply power.






