Why your P‑MOSFET + NPN high‑side switch won’t work and how to fix it
Published 2026-09-06
To make a P‑MOSFET high‑side switch driven by an NPN work, connect the PMOS source to the supply, its drain to the load, add a gate‑to‑source pull‑up resistor, and let the NPN only pull the gate toward ground.
Correct PMOS + NPN high‑side topology
- PMOS source → VIN
- PMOS drain → load → ground
- Gate pull‑up (gate to source) so VGS ≈ 0 V when off
- NPN collector → PMOS gate through a small series resistor (10–100 Ω)
- NPN emitter → ground; base driven via a resistor from logic; base‑emitter bleeder (50–200 kΩ) to keep NPN off at reset
- Common ground between logic and power domain
This ensures the PMOS turns off when the NPN is off, and turns on when the NPN sinks the gate to near ground, making VGS negative.
Why is the load always on?
- PMOS flipped: for high‑side, source must be at VIN. If source and drain are swapped, the body diode feeds the load so it never fully turns off.
- Missing gate pull‑up: a floating gate can partially turn the PMOS on.
- No common ground: the NPN cannot reference the PMOS gate correctly.
- NPN pins reversed: a C/E swap limits current and the gate won’t be pulled low.
- Gate never gets low enough: measure VGS = VG − VS. If |VGS| < VGS(th) (e.g., −2 V), the PMOS stays off; if gate is at ground but source is low because of wiring, you may not be driving the right node.
What resistor values should I start with?
- Gate pull‑up (gate→source): 47 kΩ to 200 kΩ (robust against noise yet low leakage)
- Gate series resistor (gate lead): 10–100 Ω to damp ringing and limit NPN surge current
- NPN base resistor: 1 kΩ to 10 kΩ from MCU/logic; add 100 kΩ base→emitter bleeder
- Clamp zener (optional): 10–15 V from gate to source (cathode at source) for 12 V systems to prevent |VGS| spikes
Example sizing: If Qg ≈ 20 nC and you want a 5 µs turn‑on, the NPN must sink i ≈ Qg/t ≈ 4 mA. With a 3.3 V MCU and VBE ≈ 0.7 V, Rb ≈ (3.3−0.7)/4 mA ≈ 650 Ω. For slow switching, 4.7–10 kΩ is fine.
Will I exceed VGS(max)?
At VIN = 12 V, pulling the gate to 0 V makes VGS ≈ −12 V. Use a PMOS with VGS(max) ≥ ±20 V (common rating) or add a zener clamp gate‑to‑source (e.g., 12 V) plus a series resistor to the NPN. For VIN > 15 V, a divider or a dedicated high‑side driver may be safer to keep |VGS| within limits.
Component selection tips
- PMOS: choose logic‑level RDS(on) specified at VGS = −4.5 V (for 5–12 V rails) or −2.5 V (for 5 V rails). 30 V VDS rating covers 12 V automotive accessory rails; use ≥40–60 V for harsher transients.
- NPN: VCE(max) ≥ VIN (e.g., 40 V for 12 V systems). Small‑signal parts like 2N3904/MMBT3904 work; ensure they can sink your gate current.
- Don’t chase the lowest RDS(on) if switching slowly; prioritize safe |VGS|, Qg you can drive, and thermal margin.
How do I verify it with a DMM and scope?
1) Power the board with no load. Measure VS (PMOS source) to ground: it should read VIN. Measure VG to VS: off state ≈ 0 V; on state ≈ −VIN.
2) Add the load. Probe VG, VS, and VD. Off: VD ≈ 0 V (through load), VG ≈ VS. On: VD ≈ VIN minus I×RDS(on), VG ≈ 0 V.
3) If you see ringing on VG, increase the gate series resistor and shorten the gate loop.
Layout and EMC notes
- Keep the gate loop (gate resistor → NPN → ground → source) tight; place the zener and pull‑up at the PMOS pins.
- Use a star or solid ground; avoid long, skinny returns for the NPN emitter.
- Decouple VIN with a ceramic capacitor close to the PMOS source and load feed.
- Current carrying width: per IPC‑2152, ~1 A on 1 oz external copper with ~10 °C rise needs roughly 0.6–0.7 mm (~25 mil) trace; add margin and thermal vias under large packages.
Typical 12 V, 1 A high‑side switch example
- PMOS: 30 V, RDS(on) ≤ 30 mΩ at VGS = −4.5 V, Qg ≈ 10–30 nC
- NPN: VCE ≥ 40 V
- Rpull‑up (G–S): 100 kΩ
- Rgate series: 47 Ω
- Base resistor: 1 kΩ (fast) to 10 kΩ (slow)
- Base‑emitter bleeder: 100 kΩ
- Zener clamp (optional): 12 V, ≥0.5 W from gate to source
These values boot reliably and are easy to tweak based on measured waveforms.
Build‑ready manufacturing notes
- We can build and inspect to IPC Class 2 or IPC Class 3 acceptance criteria, and support RoHS and REACH compliance for substance control.
- Quotes are returned within 24 hours and DFM feedback within 1 business day.
- Our quality management system is ISO 9001:2015 certified (certificate CN-2023‑Q1156 by SGS, valid to June 2027).
If it still won’t switch as expected, share measured VG, VS, VD in both states and the resistor values; those three voltages usually pinpoint the wiring or value error.
Send us your Gerbers for a 24‑hour quote and next‑business‑day DFM feedback to validate this high‑side switch layout. — Get a quote