If you need to regulate current flowing from a positive supply rail down to a grounded load, you need a PNP transistor current source. Unlike NPN configurations that sink current to ground, a PNP high-side driver keeps your load's ground reference intact—critical for microcontroller shunt monitoring, grounded LED arrays, and battery charging circuits. For 90% of bench and DIY applications under 600mA, the 2N2907A is your default pick. If your target current is under 200mA, the 2N3906 is the standard. Below is the exact math, circuit topology, and testing procedure to get it working on the first try.
Symbol, Pinout, and the Forward Active Sweet Spot
Before wiring anything, verify your pinout. While the TO-92 package is standard, the Emitter-Base-Collector (E-B-C) arrangement varies between manufacturers (e.g., Fairchild vs. STMicroelectronics). Always check the specific datasheet. On the schematic symbol, the PNP arrow is on the Emitter and points inward toward the Base, indicating conventional current flows into the Emitter and out of the Collector.
To function as a current source, the BJT must operate in the Forward Active region. If it slips into saturation, it acts like a closed switch and loses current regulation. If it hits cutoff, current stops entirely.
| Region | Emitter-Base Junction | Collector-Base Junction | Typical Voltages & Behavior |
|---|---|---|---|
| Cutoff | Reverse Biased (V_EB < 0.5V) | Reverse Biased | I_C ≈ 0A. Transistor is OFF. |
| Forward Active | Forward Biased (V_EB ≈ 0.65V) | Reverse Biased (V_C < V_B) | I_C = β × I_B. Target region for current sources. |
| Saturation | Forward Biased (V_EB ≈ 0.75V+) | Forward Biased (V_C > V_B) | V_EC drops to ~0.2V. Regulation fails; acts as a switch. |
Designing the Circuit: A 20mA High-Side LED Driver
Let's build a practical, rock-solid 20mA current source to drive a grounded LED string from a 12V nominal supply. We will use a Zener-referenced emitter bias network. This topology is highly stable against temperature shifts and supply ripple.
The Component List
- Q1: 2N2907A (PNP BJT, TO-92)
- D1: BZX55C4V7 (4.7V Zener Diode)
- R_E (Sense): 330Ω, 1/2W (Sets the current)
- R_BIAS: 1.5kΩ, 1/4W (Feeds the Zener)
- Load: LED string (V_f ≈ 2.0V to 3.2V)
The Math and Assembly Steps
- Establish the Base Voltage (V_B): The Zener diode clamps the Base to 4.7V relative to ground.
- Calculate Emitter Voltage (V_E): The Base-Emitter junction drops ~0.7V. Therefore, V_E = V_B + 0.7V = 4.7V + 0.7V = 5.4V.
- Determine Voltage Across R_E: With a 12V supply, the voltage dropped across the emitter resistor is VCC - V_E = 12V - 5.4V = 6.6V.
- Calculate R_E for 20mA: Using Ohm's Law, R_E = 6.6V / 0.020A = 330Ω. (A standard E24 value).
- Size R_BIAS: We need enough current to keep the Zener in regulation, typically 5mA. The voltage across R_BIAS is VCC - V_B = 12V - 4.7V = 7.3V. R_BIAS = 7.3V / 0.005A = 1460Ω. Use the next standard value up: 1.5kΩ.
- Verify Compliance Voltage: For the PNP to stay in the active region, the Collector voltage (V_C) must be lower than the Base voltage (4.7V). If your LED string drops 2.2V, V_C = 2.2V. Since 2.2V < 4.7V, the Collector-Base junction is safely reverse-biased. Regulation holds.
For a deeper dive into BJT biasing physics and junction behaviors, the All About Circuits semiconductor chapter provides excellent foundational theory.
Decision Tree: PNP BJT vs. NPN vs. Dedicated IC
Don't default to a PNP if the circuit topology doesn't demand it. Use this decision matrix to lock in the right component class for your specific load constraints.
| Condition / Constraint | Recommended Topology | Concrete Default Pick |
|---|---|---|
| Load MUST be tied to system GND (e.g., MCU shunt sensing, automotive chassis ground) | PNP High-Side Source | 2N2907A (≤600mA) or TIP32C (≤3A) |
| Load can float; GND-side switching is acceptable; simpler biasing desired | NPN Low-Side Sink | 2N2222A or 2N3904 |
| Current exceeds 1A, or precision better than 1% is required over wide temperature ranges | Dedicated Current Regulator IC | LM334 (Adjustable) or LT3093 (High Precision) |
| Driving high-capacitance loads or requiring fast PWM dimming of the current source | MOSFET Current Source (Op-Amp driven) | IRF9540N (P-Channel) + LM358 Op-Amp |
Bench Testing and Common Failure Modes
When a current source fails on the bench, it usually comes down to thermal limits or exceeding junction breakdown voltages. Here is how to diagnose the circuit and test the transistor with a standard digital multimeter (DMM).
How It Fails in the Wild
- Thermal Runaway: If VCC spikes to 24V, V_E stays at 5.4V, but the voltage across R_E jumps to 18.6V. The current remains 20mA, but R_E must now dissipate over 1W. If you used a 1/4W resistor, it will scorch. The transistor itself only dissipates ~68mW, so it survives, but the sense resistor fails open.
- Secondary Breakdown (V_CEO Exceeded): If the load is disconnected (open circuit), the Collector voltage is pulled to ground via leakage, or floats. If the voltage across the Collector-Emitter exceeds 40V (the V_CEO max for the 2N2907A), the silicon lattice breaks down. Always place a reverse-biased flyback diode across inductive loads to prevent inductive kickback from exceeding V_CEO.
- Zener Overheating: If R_BIAS is sized too small, excessive current flows through the 4.7V Zener, shifting its voltage due to thermal drift and throwing off your set current.
Multimeter Diode Test (Out of Circuit)
Set your DMM to Diode Mode. Test the 2N2907A out of the circuit to verify the junctions haven't shorted:
- Base to Emitter: Place the Red probe on the Base and the Black probe on the Emitter. You should read between 0.60V and 0.75V. Swap probes: it must read OL (Over Limit).
- Base to Collector: Red on Base, Black on Collector. Expect 0.60V to 0.75V. Swap probes: must read OL.
- Emitter to Collector: Probes in either direction across E and C must read OL. If you read a short or a low voltage drop, the die has suffered secondary breakdown and the part is trash.
The "Safe Default" Part Numbers for Your Bin
Stop guessing which transistor to pull from the drawer. Stock these three PNP BJTs to cover 99% of your current source and high-side switching needs. You can verify exact thermal and electrical characteristics via the ON Semiconductor 2N2907A datasheet.
| Part Number | Max I_C (Continuous) | V_CEO (Max) | Max P_D (25°C) | Best Use Case |
|---|---|---|---|---|
| 2N3906 | 200 mA | 40 V | 625 mW | Low-power signal biasing, <50mA LED drivers, op-amp level shifters. |
| 2N2907A | 600 mA | 40 V | 625 mW | The workhorse. Medium-power current sources, relay high-side drivers. |
| TIP32C | 3.0 A | 100 V | 40 W (w/ heatsink) | High-current battery charging limits, power LED arrays, motor braking. |
By locking in the 2N2907A for your medium-power builds and respecting the compliance voltage headroom, your PNP transistor current source will deliver flat, ripple-free current regardless of the load's forward voltage shifts.






