Tool 07 · Transistor Guide · Bipolar
PNP bipolar transistor
The NPN reversed: a small current drawn out of the base lets a current about times larger flow from emitter to collector.
- Controlled by
- Current drawn out of the base
- With no drive
- Off: it conducts only when driven
- Fully on
- A small fixed drop, of 0.05 to 0.4 V
- Terminals
- B base, C collector, E emitter
- Used for
- High-side switches, with the load tied to ground; Current sources that feed a load from the positive rail; The lower half of push-pull output stages
How it works
A PNP is the NPN with every layer swapped: a P-type emitter, a very thin N-type base, and a P-type collector. Forward-biasing the emitter-base junction, emitter about 0.65 V above the base, pushes holes (the missing electrons that carry current in P-type silicon) from the emitter into the base. Almost all of them cross it and reach the collector; only a small fraction leave through the base wire. Everything the NPN page says holds, with every voltage and every current reversed.
- The emitter is the terminal at the highest voltage. becomes and becomes : written this way, both are positive in normal use. becomes , negative in the active region and positive in saturation, as is on an NPN.
- Current flows into the emitter and out of the base and the collector.
- The arrow on the emitter points in, from the P emitter to the N base, the direction of conventional current through that junction, like a diode arrow. On an NPN it points out.
The currents obey the NPN's equations, each one counted in its real direction: in, and out. is the current gain, written on a datasheet:
The exponential law is the same too, with the emitter-base voltage in place of the base-emitter one:
is a scale current set by the size of the junction. mV at 300 K is the thermal voltage, with Boltzmann's constant, the absolute temperature and the charge of an electron. So sits near 0.65 V, takes about 60 mV more for ten times more current and falls about 2 mV per degree of warming, as on the NPN page. The difference is where the part fits: it conducts when its base is pulled 0.65 V below its emitter, so it works from the top of a circuit, with its emitter on the positive rail.
Why PNPs exist
- High-side switching. The PNP sits between the positive rail and the load, and the load keeps one end on ground, shared with the rest of the circuit. An NPN in that place is an emitter follower: the load stays one below the base, so the base would need more than the supply to give the load all of it.
- Current sources that source. A PNP current mirror hangs from the positive rail and pushes current into a load returned to ground, where an NPN mirror can only pull current out of one.
- Complementary output stages. An NPN follower sources current well but sinks it only through its emitter resistor. A PNP follower below it does the sinking: the push-pull stage of the design rules below.
Regions of operation
| Region | Emitter-base | Collector-base | What happens | Used as |
|---|---|---|---|---|
| Off (cutoff) | under about 0.4 to 0.5 V | reverse | only leakage flows | open switch |
| Current source (forward active) | about 0.65 V, forward | reverse | , nearly independent of | amplifier, current source |
| Fully on (saturation) | forward | forward | down to 0.05 to 0.4 V, set by the load, | closed switch |
| Reverse active | reverse | forward | collector and emitter swap roles, gain near 1 | rarely |
"High" and "low" are measured from the emitter. With the emitter on the positive rail, a base pulled toward 0 V turns the PNP fully on, and only a base brought back to the emitter voltage turns it off. The BJT and MOSFET meanings of "saturation" differ here exactly as on the NPN page.
Working out a PNP circuit as an NPN
Changing the sign of every voltage and every current turns the PNP equations into the NPN ones. So a PNP circuit can be worked out as its mirror image: draw it upside down with an NPN, the +12 V rail becoming -12 V, apply the NPN rules, and change the signs of the answers back.
The small-signal model is identical to the NPN's, signs included. A rise of is a fall of , and the extra current it sends out of the collector is a fall of the current counted into it. Both flip together, so the small-signal model of the NPN page holds unchanged:
At mA: mS and kΩ for , the same numbers as an NPN at the same current.
Relatives
Complementary pairs are an NPN and a PNP sold as each other's mirror image, for push-pull stages: 2N3904 and 2N3906, TIP31 and TIP32, 2N3055 and MJ2955, and the TIP120 and TIP125 Darlingtons.
The Sziklai pair (complementary feedback pair) is an NPN driving a PNP, the two behaving as one NPN with a gain of , about 10 100 for two parts of 100. It turns on at one , about 0.6 V, where a Darlington needs about 1.2 V. Audio output stages use it because its idle current depends on the cool driver's , not on the hot output transistor's.
Matched PNP pairs such as the BCM857BS put two PNPs in one SOT363 package, with equal within 2 mV at 2 mA and 5 V: the parts for PNP current mirrors that must copy a current accurately.
The curves
interactiveThe output curves of a small transistor (, Ebers-Moll model), drawn for an NPN. A PNP has the same curves with every voltage and current reversed: the horizontal axis reads , the collector current flows out of the collector, and the base current is drawn out of the base. The red line is the load line of on the supply.
active: V_CE = 6.73 V, I_C = 3.27 mA, V_BE = 0.683 V, I_C / I_B = 163, P = 22.0 mW
The base current picks a curve and the curve is nearly flat: is about ( about 150 here) whatever does. The resistor turns that current into a voltage, which is how the transistor amplifies.
Circuits to try
Falstad's simulator, one at a timeEach circuit runs in Paul Falstad's CircuitJS, loaded only on request. The sliders are in the panel on the right of the simulator, switches toggle with a click, and hovering a part shows its voltages, currents and state at the bottom right.
PNP switch on the same supply
The PNP sits between the 5 V supply and the LED. Its base goes to the input through 4.7 kΩ, with 47 kΩ from base to emitter.
- The input starts at 5 V and the LED is off. Drag Input voltage down to 0 V.
- Hover the transistor at 5 V, 4 V and 0 V and read its state.
What to see. A PNP turns on when its base goes about 0.6 V BELOW its emitter, so the logic is the other way round from an NPN: a high input is off, a low input is on. The 47 kΩ resistor holds the base at the emitter, firmly off, whenever the input is left floating.
High-side switch for a 12 V load from 5 V logic
A PNP switches the 12 V supply to the load. A 5 V logic signal cannot turn it off directly, so a small NPN pulls its base down instead.
- Drag Logic input from 0 to 5 V.
- Hover each transistor at 0 V and at 5 V.
What to see. At 0 V the NPN is off, the 10 kΩ pull-up holds the PNP base at 12 V and the load is off. At 5 V the NPN saturates, pulls the PNP base down through 4.7 kΩ, and the PNP saturates: the load gets nearly the whole 12 V. The load stays tied to ground on one side, which is why a high-side switch is used.
Design rules
Off means the base back at the emitter, not at 0 V
A logic pin can bring the base that close to the emitter only when the pin's own supply is the emitter rail, as in the 5 V switch above. On a 12 V rail a 3.3 V high leaves the base 8.7 V below the emitter on paper. In practice the junction conducts, the base settles one diode drop under 12 V, and through a 2.2 kΩ base resistor about 3.5 mA flows out of the base into the pin and its protection diode. The PNP stays fully on whatever the pin does.
The fix is the circuit of the second simulation, the one Nexperia's load-switch note AN10909 draws. A small NPN, the level shifter (a stage that translates the logic voltage to the rail's), pulls the PNP base down through . A pull-up from base to emitter holds the base at the rail whenever the NPN is off. The NPN's collector takes the 12 V, so the logic pin only sees its own voltage, and a logic high turns the load on: the pair does not invert. also gives the charge stored in the base a way out, which speeds the turn-off.
Sizing a high-side switch: forced beta 10, plus the pull-up
carries the base current and the current of the pull-up, and it sees the rail less two drops, the PNP's emitter-base junction and the saturated level shifter :
Example: a 2N3906 switches 50 mA from 12 V. At 50 mA with 5 mA of base current, the datasheet's own test point, it guarantees at most 0.4 V from emitter to collector and 0.95 V from emitter to base. mA, the 10 kΩ pull-up takes mA, and with 0.2 V across the NPN, kΩ. The E12 value 2.2 kΩ draws 4.8 mA out of the base, a forced beta of 10.3: close enough.
The NPN now sinks about 5 mA. At its own forced beta of 10 from a 3.3 V pin, its base resistor is kΩ. The PNP dissipates at most mW, a rise of 5 °C at 200 °C/W.
An inductive load, a relay coil or a small motor, needs a flyback diode on the high side too, across the load: anode on ground, cathode on the collector. When the PNP turns off, the coil keeps its current flowing and drives the collector below ground. The diode clamps it one diode drop under 0 V, so the PNP sees about 12.7 V from emitter to collector, well within the 40 V of the 2N3906.
PNP or P-MOSFET on the high side
Both need the same level shifter and pull-up, and both turn on when their control pin goes below the rail. They differ in what it costs to hold them on.
Seen from the load, a saturated PNP is a small drop that changes little with current. Divided by the current, it gives an equivalent resistance that holds at that one current:
The ratio is not a constant. The 0.4 V is the 2N3906's limit at 50 mA. At 10 mA with 1 mA of base current its datasheet guarantees at most 0.25 V, or 25 Ω. Five times the current raises the guaranteed drop only from 0.25 V to 0.4 V, so much of the drop is fixed. It behaves like a resistance only at high current, the point AN10909 makes for its low parts.
The base current costs more than that drop. In the 50 mA example, mW is drawn from the rail through for as long as the load is on, more than twice the 24.8 mW lost in the transistor. A P-MOSFET's gate draws no steady current; only its pull-up does, 1.2 mA through 10 kΩ on 12 V, or 14 mW.
For a load of tens of milliamps a 2N3906 does the job. For heavier loads the base current grows with the load, its saturation is guaranteed only up to 50 mA and its minimum falls to 30 at 100 mA. A P-MOSFET then takes over, with its read at the gate voltage the circuit really gives it: the P-MOSFET page covers real parts and their gate limits.
Datasheet signs: magnitudes or negative numbers
onsemi prints the ratings of a 2N3906 as magnitudes: 40 V, 200 mA. Nexperia prints its PNPs with their signs: the BCM857BS has V, mA, and typically -650 mV at mA. Both describe the same physics. The signed values follow two rules:
So mV puts the base 0.65 V below the emitter, and mA is 2 mA flowing out of the collector. With the emitter on 12 V the base sits at V. A design works with magnitudes and keeps the directions on the schematic.
Push-pull: an NPN pushes, a PNP pulls
Two followers with their emitters joined drive the load: the NPN on top conducts on the positive half of the signal, the PNP below on the negative half. The 2N3904 and 2N3906 are the small-signal pair for it. With the bases tied together (class B), neither conducts while the input is within about 0.6 V of zero, so the output sits flat for a moment at every zero crossing: crossover distortion.
The fix holds the two bases about two apart (class AB), with two diodes or with a multiplier, a transistor with from collector to base and from base to emitter:
With the multiplier gives V, and making adjustable sets the idle current. The diodes or the multiplier go on the heatsink of the output transistors, or the idle current climbs about 8 % per degree as they warm. The front page of the guide runs class B and class AB side by side in the simulator.
Real parts and their datasheets
Pinouts as seen from the front, legs down. Every value comes with the condition it is measured at: a number from a datasheet means nothing without it.
flat face toward the viewer; same as the 2N3904, the reverse of a BC557
2N3906
PNP, small signalonsemi, TO-92. Datasheet (PDF), onsemi.com
| Line | Value | Measured at |
|---|---|---|
| 40 V max | base open; printed as a magnitude | |
| 200 mA max | continuous | |
| 100 to 300 | mA, V | |
| 30 min | mA, V | |
| 0.25 V max | mA, mA | |
| 0.4 V max | mA, mA | |
| 0.65 to 0.85 V | mA, mA | |
| 5.0 V max | emitter-base, reverse | |
| 250 MHz min | mA, V, MHz | |
| , | 625 mW, 200 °C/W | °C, derate 5.0 mW/°C |
What to read first. Every voltage and current is printed as a magnitude: in the circuit the collector sits below the emitter, and the base and collector currents flow out of the part. Otherwise it reads like the 2N3904, with a slightly higher (0.25 V against 0.2 V at 10 mA).
flat face toward the viewer; like the BC547, the reverse of a 2N3906
BC557B
PNP, small signalonsemi, TO-92. Datasheet (PDF), onsemi.com
| Line | Value | Measured at |
|---|---|---|
| -45 V max | base open | |
| -100 mA max | continuous (-200 mA peak) | |
| 180 to 460 (290 typ) | mA, V, B grade (A: 120 to 220, C: 420 to 800) | |
| -0.55 to -0.70 V | mA, V (-0.62 V typ) | |
| -0.3 V max (-0.075 typ) | mA, mA | |
| -0.65 V max (-0.25 typ) | mA, mA | |
| 320 MHz typ | mA, V, MHz; no minimum given | |
| 6.0 pF max (3.0 typ) | V, , MHz | |
| , | 625 mW, 200 °C/W | °C, derate 5.0 mW/°C |
What to read first. The pinout first: C B E like the BC547, so a 2N3906 does not drop into its place. This sheet prints the PNP voltages and currents with their minus signs, where the 2N3906 sheet prints magnitudes.
On the bench
Meter check. On the diode range, the black (negative) lead on the base this time: 0.6 to 0.7 V to the emitter and to the collector, nothing with the leads swapped, nothing between collector and emitter either way. Readings with the red lead on the base mean an NPN. The 2N3906 has the same E-B-C order as the 2N3904; the BC557's order is on its card.
First build. The PNP switch of the first simulation: 2N3906 with its emitter on 5 V, 47 kΩ from base to emitter, 4.7 kΩ from the base to an input wire, and an LED with 330 Ω from the collector to ground. Input on 5 V: the LED is off. Input on 0 V: about 0.9 mA leaves the base, the LED takes about mA, and with the red lead on the emitter the meter reads 0.65 to 0.85 V to the base and a fraction of a volt to the collector (the datasheet guarantees 0.25 V at most at 10 mA with 1 mA of base current). A third reading, with the input on 3.3 V, shows the trap of a mismatched logic level (question 2 below).
Common traps
A PNP high-side switch can be driven straight from a 5 V or 3.3 V pin.
Only when the pin's supply is the emitter rail. On a higher rail a logic high still leaves the base far below the emitter: the PNP stays on and base current flows into the pin. The base has to come within about 0.4 V of the emitter, which takes a level shifter.
0 V on the base turns a PNP off.
With the emitter on the positive rail, 0 V on the base turns it fully on. Off is the base at the emitter voltage, and a pull-up from base to emitter keeps it there when the driver lets go.
A PNP needs a negative supply.
It needs its emitter to be the most positive of its three terminals, nothing more. A high-side switch on +12 V has no negative voltage anywhere; the minus signs only appear in some datasheet conventions.
Current flows into the collector of a PNP, as in an NPN.
It flows the other way: in at the emitter, out at the base and the collector. The arrow on the emitter points in, the direction of that current through the emitter-base junction.
A complementary pair is a matched pair.
Complementary means the opposite polarity with similar ratings, not equal parameters. At 50 mA and 5 mA the 2N3906 guarantees 0.4 V of saturation where the 2N3904 guarantees 0.3 V, and its emitter-base junction breaks down at 5 V against 6 V.
An NPN and a PNP follower tied base to base make a clean push-pull output.
Neither conducts while the input is within about 0.6 V of zero: crossover distortion. The bases need about 1.2 V of bias between them.
Check yourself
answers fold outA 2N3906 has to switch a 10 mA load on a 12 V rail, with a 2N3904 level shifter and a 10 kΩ pull-up from base to emitter. What base resistor?
Answer
Forced beta 10 gives mA. At 10 mA the datasheet gives at most 0.85 V from emitter to base, so the pull-up takes 0.085 mA. With 0.2 V across the NPN, kΩ, so 10 kΩ.
In the PNP switch (emitter on 5 V, 4.7 kΩ to the base, 47 kΩ from base to emitter), the input comes from a 3.3 V logic pin. Does a logic high turn the LED off?
Answer
No. With the junction at 0.65 V the base sits at 4.35 V, so mA flows through the base resistor, 0.21 mA of it out of the base once the 47 kΩ takes its 0.014 mA. With that allows over 20 mA, and the LED needs 9.4 mA: the transistor stays saturated and the LED fully lit.
A class B push-pull stage, bases tied, gets a sine of 2 V peak. For what fraction of each period does the output sit at zero?
Answer
Neither transistor conducts while V, that is while : ° on each side of each zero crossing, % of the period. At 5 V peak it falls to 7.7 %: crossover distortion hurts quiet signals most.