Tool 07 · Transistor Guide · Bipolar

CBE

PNP bipolar transistor

The NPN reversed: a small current drawn out of the base lets a current about β\beta 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, VEC(sat)V_{EC(sat)} 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
01

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. VBEV_{BE} becomes VEBV_{EB} and VCEV_{CE} becomes VECV_{EC}: written this way, both are positive in normal use. VBCV_{BC} becomes VCBV_{CB}, negative in the active region and positive in saturation, as VBCV_{BC} 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: IEI_E in, IBI_B and ICI_C out. β\beta is the current gain, written hFEh_{FE} on a datasheet:

IC=β IBIE=IC+IB=(β+1) IBI_C = \beta\, I_B \qquad I_E = I_C + I_B = (\beta + 1)\, I_B

The exponential law is the same too, with the emitter-base voltage in place of the base-emitter one:

IC=IS eVEB/VTVEB=VE−VBI_C = I_S\, e^{V_{EB}/V_T} \qquad V_{EB} = V_E - V_B

ISI_S is a scale current set by the size of the junction. VT=kT/q≈25.9V_T = kT/q \approx 25.9 mV at 300 K is the thermal voltage, with kk Boltzmann's constant, TT the absolute temperature and qq the charge of an electron. So VEBV_{EB} 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 VBEV_{BE} 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

RegionEmitter-baseCollector-baseWhat happensUsed as
Off (cutoff)VEBV_{EB} under about 0.4 to 0.5 Vreverseonly leakage flowsopen switch
Current source (forward active)VEBV_{EB} about 0.65 V, forwardreverseIC=βIBI_C = \beta I_B, nearly independent of VECV_{EC}amplifier, current source
Fully on (saturation)forwardforwardVECV_{EC} down to 0.05 to 0.4 V, ICI_C set by the load, IC<βIBI_C < \beta I_Bclosed switch
Reverse activereverseforwardcollector and emitter swap roles, gain near 1rarely

"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 vebv_{eb} is a fall of vbev_{be}, 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:

ic=gm vbegm=∣IC∣VTrπ=βgmi_c = g_m\, v_{be} \qquad g_m = \frac{|I_C|}{V_T} \qquad r_\pi = \frac{\beta}{g_m}

At ∣IC∣=1|I_C| = 1 mA: gm=38.7g_m = 38.7 mS and rπ=2.6r_\pi = 2.6 kΩ for β=100\beta = 100, 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 β1(β2+1)\beta_1 (\beta_2 + 1), about 10 100 for two parts of 100. It turns on at one VBEV_{BE}, 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 VBEV_{BE}, not on the hot output transistor's.

Matched PNP pairs such as the BCM857BS put two PNPs in one SOT363 package, with VBEV_{BE} equal within 2 mV at 2 mA and 5 V: the parts for PNP current mirrors that must copy a current accurately.

02

The curves

interactive

The output curves of a small transistor (β=150\beta = 150, Ebers-Moll model), drawn for an NPN. A PNP has the same curves with every voltage and current reversed: the horizontal axis reads VECV_{EC}, 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 RCR_C 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: ICI_C is about βIB\beta I_B (β\beta about 150 here) whatever VCEV_{CE} does. The resistor turns that current into a voltage, which is how the transistor amplifies.

03

Circuits to try

Falstad's simulator, one at a time

Each 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.

Simulation

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.

  1. The input starts at 5 V and the LED is off. Drag Input voltage down to 0 V.
  2. 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.

Open in the full simulator CircuitJS by Paul Falstad, loaded from falstad.com
Simulation

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.

  1. Drag Logic input from 0 to 5 V.
  2. 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.

Open in the full simulator CircuitJS by Paul Falstad, loaded from falstad.com
04

Design rules

Off means the base back at the emitter, not at 0 V

off:VEB=VE−VB<0.4 V\text{off:} \quad V_{EB} = V_E - V_B < 0.4\ \text{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 RBR_B. A pull-up RBER_{BE} 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. RBER_{BE} 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

RBR_B 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 Q1Q_1:

RB=VCC−VEB(sat)−VCE(sat), Q1IC/10+VEB(sat)/RBER_B = \frac{V_{CC} - V_{EB(sat)} - V_{CE(sat),\,Q_1}}{I_C / 10 + V_{EB(sat)} / R_{BE}}

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. IB=5I_B = 5 mA, the 10 kΩ pull-up takes 0.95 V/10 kΩ=0.0950.95\ \text{V} / 10\ \text{k}\Omega = 0.095 mA, and with 0.2 V across the NPN, RB=(12−0.95−0.2)/5.095 mA=2.13R_B = (12 - 0.95 - 0.2) / 5.095\ \text{mA} = 2.13 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 (3.3−0.75)/0.5 mA=5.1(3.3 - 0.75) / 0.5\ \text{mA} = 5.1 kΩ. The PNP dissipates at most 0.4 V×50 mA+0.95 V×5 mA=24.80.4\ \text{V} \times 50\ \text{mA} + 0.95\ \text{V} \times 5\ \text{mA} = 24.8 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 VCEOV_{CEO} 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:

Req=VEC(sat)IC=0.4 V50 mA=8 ΩR_{eq} = \frac{V_{EC(sat)}}{I_C} = \frac{0.4\ \text{V}}{50\ \text{mA}} = 8\ \Omega

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 VCE(sat)V_{CE(sat)} parts.

The base current costs more than that drop. In the 50 mA example, 12 V×4.93 mA=5912\ \text{V} \times 4.93\ \text{mA} = 59 mW is drawn from the rail through RBR_B 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 hFEh_{FE} falls to 30 at 100 mA. A P-MOSFET then takes over, with its RDS(on)R_{DS(on)} 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: VCEOV_{CEO} 40 V, ICI_C 200 mA. Nexperia prints its PNPs with their signs: the BCM857BS has VCEO=−45V_{CEO} = -45 V, IC=−100I_C = -100 mA, and VBEV_{BE} typically -650 mV at IC=−2I_C = -2 mA. Both describe the same physics. The signed values follow two rules:

VXY=VX−VYI>0 when it flows into the pinV_{XY} = V_X - V_Y \qquad I > 0 \text{ when it flows into the pin}

So VBE=−650V_{BE} = -650 mV puts the base 0.65 V below the emitter, and IC=−2I_C = -2 mA is 2 mA flowing out of the collector. With the emitter on 12 V the base sits at 12−0.65=11.3512 - 0.65 = 11.35 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 VBEV_{BE} apart (class AB), with two diodes or with a VBEV_{BE} multiplier, a transistor with R1R_1 from collector to base and R2R_2 from base to emitter:

Vbias≈VBE(1+R1R2)V_{bias} \approx V_{BE} \left(1 + \frac{R_1}{R_2}\right)

With R1=R2R_1 = R_2 the multiplier gives 2×0.65=1.32 \times 0.65 = 1.3 V, and making R1R_1 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.

05

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.

EBCflat face

flat face toward the viewer; same as the 2N3904, the reverse of a BC557

2N3906

PNP, small signal

onsemi, TO-92. Datasheet (PDF), onsemi.com

LineValueMeasured at
VCEOV_{CEO}40 V maxbase open; printed as a magnitude
ICI_C200 mA maxcontinuous
hFEh_{FE}100 to 300IC=10I_C = 10 mA, VCE=1V_{CE} = 1 V
hFEh_{FE}30 minIC=100I_C = 100 mA, VCE=1V_{CE} = 1 V
VCE(sat)V_{CE(sat)}0.25 V maxIC=10I_C = 10 mA, IB=1I_B = 1 mA
VCE(sat)V_{CE(sat)}0.4 V maxIC=50I_C = 50 mA, IB=5I_B = 5 mA
VBE(sat)V_{BE(sat)}0.65 to 0.85 VIC=10I_C = 10 mA, IB=1I_B = 1 mA
VEBOV_{EBO}5.0 V maxemitter-base, reverse
fTf_T250 MHz minIC=10I_C = 10 mA, VCE=20V_{CE} = 20 V, f=100f = 100 MHz
PDP_D, RθJAR_{\theta JA}625 mW, 200 °C/WTA=25T_A = 25 °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 VCE(sat)V_{CE(sat)} (0.25 V against 0.2 V at 10 mA).

CBEflat face

flat face toward the viewer; like the BC547, the reverse of a 2N3906

BC557B

PNP, small signal

onsemi, TO-92. Datasheet (PDF), onsemi.com

LineValueMeasured at
VCEOV_{CEO}-45 V maxbase open
ICI_C-100 mA maxcontinuous (-200 mA peak)
hFEh_{FE}180 to 460 (290 typ)IC=−2I_C = -2 mA, VCE=−5V_{CE} = -5 V, B grade (A: 120 to 220, C: 420 to 800)
VBE(on)V_{BE(on)}-0.55 to -0.70 VIC=−2I_C = -2 mA, VCE=−5V_{CE} = -5 V (-0.62 V typ)
VCE(sat)V_{CE(sat)}-0.3 V max (-0.075 typ)IC=−10I_C = -10 mA, IB=−0.5I_B = -0.5 mA
VCE(sat)V_{CE(sat)}-0.65 V max (-0.25 typ)IC=−100I_C = -100 mA, IB=−5I_B = -5 mA
fTf_T320 MHz typIC=−10I_C = -10 mA, VCE=−5V_{CE} = -5 V, f=100f = 100 MHz; no minimum given
CobC_{ob}6.0 pF max (3.0 typ)VCB=−10V_{CB} = -10 V, IC=0I_C = 0, f=1f = 1 MHz
PDP_D, RθJAR_{\theta JA}625 mW, 200 °C/WTA=25T_A = 25 °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.

06

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 (5−0.1−1.8)/330 Ω=9.4(5 - 0.1 - 1.8) / 330\ \Omega = 9.4 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).

07

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.

08

Check yourself

answers fold out
  1. A 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 IB=1I_B = 1 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, RB=(12−0.85−0.2)/1.085 mA=10.1R_B = (12 - 0.85 - 0.2) / 1.085\ \text{mA} = 10.1 kΩ, so 10 kΩ.

  2. 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 (4.35−3.3)/4.7 kΩ=0.22(4.35 - 3.3) / 4.7\ \text{k}\Omega = 0.22 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 hFE≥100h_{FE} \ge 100 that allows over 20 mA, and the LED needs 9.4 mA: the transistor stays saturated and the LED fully lit.

  3. 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 ∣vin∣<0.6|v_{in}| < 0.6 V, that is while ∣sin⁡ωt∣<0.3|\sin \omega t| < 0.3: arcsin⁡0.3=17.5\arcsin 0.3 = 17.5° on each side of each zero crossing, 4×17.5/360=194 \times 17.5 / 360 = 19 % of the period. At 5 V peak it falls to 7.7 %: crossover distortion hurts quiet signals most.