Skip to content

Bipolar Junction Transistors (BJTs)

Published On:
Aug 10, 2015
Last Updated:
Sep 30, 2024

Bipolar junction transistors (BJTs) are 3 legged active electrical semiconductor components. They behave as a current-amplifier, amplifying a small base-emitter (BE) current into a larger collector-emitter (CE) current.

BJT transistors were the second type of transistor to be mass produced (superseding the Type-A transistor), at the first at very large quantities1.

They are used for making things such as amplifiers, switches, linear regulators, current mirrors and digital logic.

Types

BJTs come in two flavours, NPN or PNP. They both have three terminals, the collector (C), the base (B) and the emitter (E).

The differences between the NPN and PNP transistor types are analogous to the N-Channel and P-Channel MOSFET types.

Schematic Symbols

The schematic symbols for NPN and PNP transistors are shown below:

Schematics symbols for NPN and PNP transistors. Note that the collector and emitter have flipped positions for the PNP, as commonly drawn on schematics.

Notice that the collector and emitter have been flipped for the PNP (compared to the NPN), this is how they are normally drawn on schematics.

The arrow is always on the emitter leg of the BJT. To differentiate between the two, the arrow on the NPN points away from the transistor, the arrow on a PNP points towards the transistor.

Sometimes you will see the transistors drawn without the circles around them, they represent exactly the same thing as the symbols above.

How They Work

BJTs are made from a hunk of silicon. They are either a thin slice of P-type semiconductor sandwiched between two layers of N-type semiconductor (NPN) or the reverse, a thin slice of N-type semiconductor sandwiched between two layers of P-type semiconductor (PNP).

The bipolar part of their name comes from the fact they conduct by using both majority and minority charge carriers.

BJT Characteristics

BJT characteristics is a family of curves that show you how a BJT responds to various currents and voltages across it’s terminals. Normally two parameters are varied whilst a third is held constant. BJT characteristics can be broken down into:

  • Input characteristics: How IBI_{B} changes with VBEV_{BE}, at constant VCEV_{CE}2.
  • Transfer characteristics: How ICI_C changes with IBI_B, at constant VCEV_{CE}.
  • Output characteristics: How ICI_C changes with VCEV_{CE}, at constant IBI_B.
  • Mutual characteristics: How ICI_C changes with VBEV_{BE}3.

Output Characteristics

The characteristic output curve for a BJT shows show the collector current ICI_C changes as the collector-emitter voltage VCEV_{CE} changes, at a fixed base current IBI_B. This curve is shown for a number of base currents to cover a range of operation points, and generally you can interpolate between the curves for your specific base current if needed.

The below figure shows the simulated output transfer characteristics for the popular 2N2222 BJT. ICI_C is plotted against VCEV_{CE} for a range of base currents IBI_B varying from 0 to 5mA:

The output transfer characteristics (simulated) for the 2N2222 BJT.

(Micro-Cap simulation file: circuit.cir)

Important Parameters

Beta And Gain (B, hfe)

The gain of a BJT is the ratio between the base current and the collector current (hence it is a current gain), typically when measured with the BJT in a common-emitter configuration. There are few different gains and symbols used, so it’s important to know what exact gain is being talked about:

  • β\beta: DC (large-signal) gain
  • HfeH_{fe} (or hFEh_{FE}): DC (large-signal) gain, part of the H-parameter (Hybrid parameter) model (same as β\beta). Also sometimes written as h21h_{21}
  • hfeh_{fe}: Small-signal gain, part of the H-parameter model

All of them depend somewhat other parameters such as collector current and temperature, but typically the gain is treated as a constant. The main thing to remember is to not expect the current gain to equal an exact number, even between the same BJT transistor from the same manufacturing batch.

IC=βIB\begin{align} I_C = \beta I_B \end{align}

The FEFE part of the two H-parameter gains represents:

  • FF: The Forward current amplification
  • EE: As measured with the BJT in the common-Emitter configuration

Temperature has a major influence on the gain of a BJT.

Early Voltage (Va)

  • Symbol: VAV_A

The Early Voltage is a parameter used to determine the Early effect. The Early effect describes the small increase in collector current as the collector-emitter voltage increases (with a BJT operating in it’s saturation region). As VCEV_{CE} on a BJT increases, the reverse-bias on the VCBV_{CB} junction increases (this is just a PN junction in reverse bias under typical operation). This increases the depletion region of this junction, which reduces the effective width of the base. Because the saturation current is inversely proportional to the effective width of the base, an increase in VCEV_{CE} results in an increase in ICI_C.

The effect of the collector-emitter voltage on collector current is given by the following equation:

IC=IC(sat)(1+VCEVA)\begin{align} I_C = I_{C(sat)} ( 1 + \frac{V_{CE}}{V_A} ) \end{align}

where:
VAV_A is the Early voltage

The Early voltage can be derived from ICI_C vs. VCEV_{CE} graphs. If you extrapolate the active part of the curve (beyond the knee) back to where the line crosses the x-axis, this gives you the negative of the Early voltage, VA-V_A. It should not matter what the base current IBI_B is, all the curves should cross the x-axis at the same point. The following graph shows this:

Graph of Vce vs. Ic showing how the Early voltage is the extrapolation of the curves (in the active region) back to the x-axis intersection.

(Micro-Cap simulation file: early-voltage.cir)

Micro-Cap with the QNB transistor was used to simulate these ICI_C vs. VCEV_{CE} curves. This model had a Early voltage VAF set to 45V, which agrees well with the extrapolated curves and the x-axis intersection.

In SPICE models, the variable VAF is typically used to denote the Early voltage (standing for forward Early voltage).

Miller Capacitance

TODO: Add notes here

Thermal Voltage

The thermal voltage of a BJT transistor is the voltage across a PN junction caused by the temperature of the junction.

VT=kTq\begin{align} V_T = \frac{kT}{q} \end{align}

where:
kk is Boltzmann’s constant in Joules per Kelvin, which is 1.38×1023JK11.38\times 10^{-23}JK^{-1}
TT is the temperature of the junction, in Kelvin KK
qq is the charge on a electron in Coulombs, which is 1.6×1019C1.6\times 10^{-19}C

At a room temperature of 22C22^{\circ}C, VTV_T is approximately 25mV25mV. 25mV25mV is a good enough approximation for the thermal voltage in many scenarios without taking the actual junction temperature into account. The thermal voltage is used in the hybrid-pi model of the BJT transistor.

BJT Transistor Models

Ebers-Moll Transistor Model

TODO: Add info here

Hybrid-Pi Transistor Model

The hybrid-pi model is a well-used model for approximating the small-signal behaviour of transistors at low frequencies. There are a few variants of the hybrid-pi model, the simplest being the small-signal linearized version. It is also known as the Giacoletto model after L.J. Giacoletto who designed it in 19694.

Small-Signal Linearized Hybrid-Pi Model

The small-signal linearized hybrid-pi model is a simplification of the complete hybrid-pi model.

A simplified Hybrid-Pi model of a BJT transistor.

Inputs (independent variables) to the model are:

  • Small-signal base-emitter voltage vπv_\pi
  • Small-signal collector-emitter voltage vCEv_{CE}

From this the model calculates the following outputs (dependent variables):

  • Small-signal base current iBi_B
  • Small-signal collector current iCi_C

The transconductance gmg_m can be calculated with (evaluated when vce=0v_{ce} = 0)4:

gm=iCvBEvce=0=ICVT\begin{align} g_m &= \left. \frac{i_C}{v_{BE}} \right|_{v_{ce}=0} \nonumber \\ \label{eq:gm-ic-vt} &= \frac{I_C}{V_T} \\ \end{align}

where:
ICI_C is the DC bias collector current (not the small-signal collector current)
VTV_T is the thermal voltage (see above for more info on this)

The resistance between the base and emitter as looking into the base, rπr_{\pi}, is equal to4:

rπ=vbibevce=0=VTIB\begin{align} r_{\pi} &= \left. \frac{v_b}{i_{be}}\right|_{v_{ce}=0} \nonumber \\ \label{eq:rpi-vt-ib} &= \frac{V_T}{I_B} \\ \end{align}

By using hfe=ICIBh_{fe} = \frac{I_C}{I_B} and Eq.eq:gm-ic-vtEq. \ref{eq:gm-ic-vt} we can substitute into Eq.eq:rpi-vt-ibEq. \ref{eq:rpi-vt-ib} to re-write rπr_{\pi}:

rπ=hfegm\begin{align} r_{\pi} &= \frac{h_{fe}}{g_m} \\ \end{align}

The output resistance, rOr_O, can be found with4:

rO=vceicvbe=0=1IC(VA+VCE)VAIC\begin{align} r_{O} &= \left. \frac{v_{ce}}{i_c} \right|_{v_{be}=0} \nonumber \\ &= \frac{1}{I_C}(V_A + V_{CE}) \nonumber \\ &\approx \frac{V_A}{I_C} \\ \end{align}

Circuit Design Basics With BJTs

The current through the base pin (IbI_b) and the current through the collector pin (IcI_c) always sums to give the current through the emitter pin (IeI_e).

Ie=Ib+Ic\begin{align} I_e = I_b + I_c \end{align}

Because the collector current is usually much larger than the base current, for most scenarios you can treat the collector and emitter current as equal.

IeIc\begin{align} I_e \approx I_c \end{align}

As a general rule, NPN transistors are useful for connecting things to ground. PNP transistors are useful for connecting things to your power rail.

NPNs require a small positive base-emitter voltage to create a current which flows into the base. This current, multiplied by the gain of the transistor, determines the collector-to-emitter current (well, to be technically correct, the maximum collector current). Because of this, a NPN transistor will only conduct when both the base and collector have a higher voltage than the emitter.

A PNP transistor will only conduct when both the base and collector have a negative voltage w.r.t the emitter.

High And Low-side Switching With BJTs

NPN transistors are good for low-side switching. You can connect the collector to the negative end of the load, the emitter to ground, and control the base with a digital low/high signal through a resistor (low/ground base signal = load off, high base signal = load on).

However, NPN transistors cannot be used as a simple high-side switch, as the emitter rises to the high-side load voltage. To keep the NPN transistor in saturation, this would mean the base voltage would need to be higher than the high-side load voltage, which is not usually viable (charge-pumps are sometimes used to overcome this, but more commonly seen when using N-channel MOSFETs as high-side switches). Normally you would want to use a PNP transistor for high-side switching.

BJT Circuits

Common-Base Amplifier

The BJT common-base (a.k.a. grounded-base, and sometimes just abbreviated to CB or GB) amplifier is one of the three basic single-stage BJT amplifier topologies. The base of the BJT is connected to ground and shared with the output signal, hence the “common-base”. The input signal is fed to the emitter and the output comes from the collector. It is not as popular in discrete low-frequency circuits as the common-collector or common-emitter BJT amplifiers.

A basic schematic of a common-base NPN BJT amplifier is shown below, excluding DC biasing components:

Basic schematic of a NPN BJT common-base amplifier. DC biasing componentry is not shown.

Note that the above circuit is not realistic because it does not show the DC biasing componentry, however it is useful to illustrate the basic principle of the amplifier. The following schematic shows a common-base amplifier with the DC biasing component included:

Schematic of a NPN BJT common-base amplifier with DC biasing componentry shown.

Input Resistance

The small-signal input resistance of the common-base BJT amplifier is equal to:

rin=viniin=veie=ie(reRE)ieReplacing ve=reREie’s cancel out\begin{align} r_{in} &= \frac{v_{in}}{i_{in}} \\ &= \frac{v_e}{i_e} \\ &= \frac{i_e \cdot (r'e\,||\,R_E)}{i_e} &\text{Replacing $v_e$} \\ &= r'e\,||\,R_E &\text{$i_e$'s cancel out} \end{align}

Basic BJT Amplifier Topology Summary

Topology Voltage Gain (AV) Current Gain (AI) Input Resistance Output Resistance
Common-emitter Moderate (-Rc/Re) Moderate (B) High High
Common-collectorLow (approx. 1)Moderate (B + 1) High Low
Common-base High Low Low High

Constant-Current Sink

BJTs can be configured to sink a relatively constant amount of current which is independent on the output-side voltage. This can be a useful way of driving an LED from a microcontroller with a constant current, no matter what voltage source is used to drive the LED. BJT current sinks and sources are good for simple, cheap situations in where high precision is not the name of the game. If you want high precision, you’re best bet is to build a current-sink from an op-amp.

The simulation schematic for a constant-current BJT-based LED driver.

The schematic above was designed to drive the LED with 10mA of current when the BJT was driven from a microcontroller running at +3.3V+3.3V. Since +3.3V+3.3V is applied to the base of the NPN transistor, the transistor will always turn on just enough so that the voltage at the emitter is 0.7V0.7V less, e.g.

Ve=Vb0.7V\begin{align} V_e = V_b - 0.7V \end{align}

Since we know the emitter voltage is going to be +2.6V+2.6V, we can choose the right resistor, R1R_1 to get the LED current we desire (remember that the current out of the emitter is pretty much equal to the current into the collector).

R1=VeILED\begin{align} R_1 = \frac{V_e}{I_{LED}} \end{align}

So if we want a LED current of 10mA, that means we need R1=260ΩR1 = 260\Omega. The closest E12 value is 270Ω270\Omega.

Notice how the LED current is independent of the +12V+12V. The +12V+12V can change to say, +9V+9V and the LED current will still be 10mA10mA. The current draw from the microcontroller into the base of the transistor will be very low (somewhere around 100uA100uA).

Below are the simulation results for the schematic above, showing the LED current to be indeed 10mA10mA. It works!

The simulation results of a constant-current BJT-based LED driver.

Using A Resistor Divider To Drive The Base

A resistor divider can simple way to drive the base of an NPN current-sink if you don’t need active control. This works well if the supply voltage is known and stable, as the current will fluctuate with supply voltage (if this is going to be an issue, consider using a Zener-based circuit to drive the base of the NPN BJT). Schematics of the design are shown below.

A NPN BJT current-sink using a resistor divider to drive the base.

Current Mirrors

A current mirror is a current-copying circuit in where one the current in one BJT is programmed via a resistor and is used to control the current in a second BJT which is used to drive the same current into a load. The current-mirrors shown below are built with BJTs, but other active transistors such as MOSFETs can also be used. The below image shows a basic PNP BJT-based current mirror.

A basic PNP-based current mirror programmed to source 1mA into the load. Q1 and Q2 should be a matched transistor pair to achieve good mirroring of the current.

For more info, see the Current Mirrors page.

Capacitance Multipliers

Go to the Capacitance Multipliers section to see how BJT transistors are used in capacitance multipliers.

Common BJTs

2N2222

The 2N2222 was first introduced by Motorola at the 1962 IRE convention (using a novel new STAR technology)5. Since then the 2N2222 has been made by a number of different manufacturers. Complementary pair to the PNP 2N2907.

BC547/548/549

The BC range of BJTs, including the BC547 and BC548 are very common, low-cost general purpose BJT transistors that you will encounter in hobbyist and professional electronics designs alike. They originated with the BC108 family of metal-cased transistors.

  • BC547: Same as the BC548 (NPN), but with a higher breakdown voltage.
  • BC548: Common NPN transistor, used for switching and amplification purposes. Suitable replacement for the 2N2222 as long as max. voltage/current rating are not exceeded.
  • BC549: Low noise version of the BC548.
A photo of the ubiquitous BC548 BJT transistor in to TO-92 package. Image from https://www.dnatechindia.com/bc-548-npn-transistor-buy-online-india.html.

S8050/S8550

The S8050 is a popular NPN BJT made by a number of manufacturers. Most versions generally have ICI_C of 700mA700mA and a VCEV_{CE} of 20V20V6. hFEh_{FE} can vary from approx. 120120 to around 300300 depending on the suffix code. The S8050 is normally found in the TO-92-3 case.

The S8550 is the complementary PNP transistor7.

Multiple-Collector And Multiple-Emitter BJTs

Multiple emitter and multiple collector BJTs are special types of BJTs which have more than one emitter or more than one collector.

The schematic symbol for a multiple-emitter BJT.

In the case of a multiple collector BJT, the total collector current IC,totI_{C,tot}\, is set by the base current IBI_B. If all the collectors are the same size (the silicon is physically the same size), then the current is equally split across all collectors.

The multiple-emitter BJT can be used to implement AND logic. The multiple-emitter BJT forms an integral part of the TTL AND input circuitry (e.g. the 7400 series of integrated circuits). They were introduced into digital logic design to replace the diodes of diode-transistor logic (DTL), with the advantage of a lower switching time and lower power dissipation.

The schematic of a basic two-input TTL NAND gate.

Multiple emitter BJTs were also used in older (e.g. from the 1960’s) RAM. For example, Intel’s first IC, the 3101 (64 bits of RAM!), contains multiple emitter BJTs as part of the 2-state latch circuitry which holds one bit of information. One emitter is used to select which cell to read or write, while the other emitter is used to read or write the data. See an excellent tear-down of the IC on Ken Shirriff’s blog.

Reverse Active Mode

By utilizing the voltage regulation hysteresis behaviour of a BJT in reverse active mode, it can be used to create a simple single transistor LED blinker

The BJT Safe Operating Area

The safe operating area of a BJT defines the region of voltage and current in which the BJT can be operating in safely without causing damage. It is usually determined by the following limits:

  1. Maximum collector current
  2. Maximum collector-emitter voltage
  3. Maximum power dissipation
  4. [^What Is Second Breakdown?, Secondary breakdown] (only applicable to power BJTs)
A typical representation of the safe operating area (SOA) of a BJT. Normally multiple curves are drawn, one for DC and a number for pulses of various lengths. Both VCEV_{CE} and ICI_C are on logarithmic axes.

What Is Second Breakdown?

Second breakdown (a.k.a second breakdown) is a limitation on the SOA that is typically only an issue for power BJTs which are designed to handle high voltages and currents. Under large voltages and currents, hot spots can develop across the working area of the BJT device. Because a BJT has a negative temperature coefficient, these hot spots can cause thermal runaway and destroy the BJT.

Secondary breakdown was initially thought to be a problem unique to BJT devices, and not other transistors such as MOSFETs. However, with recent technological improvements, MOSFETs have been made with high transconductances and can also experience a similar problem when operated in linear mode8.

BJT Leakage Currents

BJTs do not act as perfect switches. When “off”, a small amount of leakage current will flow depending on the applied voltage to each of it’s terminals. Leakage currents for BJT are normally in the nAnA range. For many applications, this amount of leakage does not effect the operation in any significant way. However, for certain applications such as extremely low-power devices and low-current measurement circuits, some nAnA of leakage can be large enough to cause issues.

There are three main leakage parameters specified in BJT datasheets, which are explained in detail below. Most leakage currents exponentially increase with temperature.

Icbo

IcboI_{cbo} (collector-base cut-off current) is the leakage from the collector to base with the emitter open-circuit (i.e. not connected to anything). The o stands for “open”. This essentially the leakage current of the collector-base diode with reverse bias. It is the most common leakage current value (if any) that you’ll find on a BJTs datasheet. The onsemi BC547BTF gives a Icbo,max=15nAI_{cbo,max} = 15nA in it’s datasheet9.

Iceo

IceoI_{ceo} (collector-emitter cut-off current) is the leakage current from collector to emitter with the base open-circuit. JEDEC calls this the collector cut-off current, base open10. Not commonly listed on datasheets.

Ices

IcesI_{ces} is the leakage from collector to emitter with the base connected to the emitter (the s stands for “shorted”). Not commonly listed on datasheets.

Leakage Measurement Circuits

The three leakage parameters are measured as shown in the following circuits.

Circuits showing how each 1 of the three BJT leakage currents is measured.

Transistor Testers

Many older handheld multimeters contain transistor testers for testing BJT transistors in the popular TO-92 through-hole package (you should see some 3 or 4 little holes on the front panel with letters similar to CBE).

I also found this older “Micronta Transistor Tester” device on TradeMe many years ago, I bought in purely out of interest (Micronta being a brand belonging to Radio Shack):

The front box.
The front panel.
The internal circuitry.

Further Reading

This is a great video on two not-so-common transistor biasing configurations.

The you are looking for a slice of history and some informative transistor information, check out the 1964 edition of the GE Transistor Manual.

Phototransistors are very similar to a standard NPN BJT, but use light to drive the base rather than an electrical signal.

Footnotes

  1. PBS (1999). Evolution of the Transistor. Retrieved 2022-01-10, from https://www.pbs.org/transistor/background1/events/trnsevolution.html.

  2. Byju’s. Characteristics Of A Transistor. Retrieved 2022-08-15, from https://byjus.com/physics/characteristics-of-a-transistor/.

  3. Learnabout Electronics (2020, Dec 29). Learnabout Electronics - Bipolar Junction Transistors (BJTs). Retrieved 2022-08-15, from https://learnabout-electronics.org/Semiconductors/bjt_05.php.

  4. Wikipedia (2020, Mar 22). Hybrid-pi model. Retrieved 2022-08-14, from https://en.wikipedia.org/wiki/Hybrid-pi_model. 2 3 4

  5. http://www.semiconductormuseum.com/Transistors/Motorola/Haenichen/Haenichen_Page11.htm, retrieved 2021-06-20.

  6. Unisonic. S8050 NPN Silicon Transistor: Low Voltage High Current Small Signal NPN Transistor. Retrieved 2022-10-24, from http://www.unisonic.com.tw/datasheet/S8050.pdf.

  7. El-Component. S8050 Bipolar Transistor. Retrieved 2022-10-24, from https://www.el-component.com/bipolar-transistors/s8050.

  8. Wikipedia. Safe operating area. Retrieved 2021-08-23, from https://en.wikipedia.org/wiki/Safe_operating_area

  9. onsemi (formally Fairchild) (2002). BC546 / BC547 / BC548 / BC549 / BC550: NPN Epitaxial Silicon Transistor (datasheet). Retrieved 2022-10-10, from https://nz.mouser.com/datasheet/2/308/BC550_D-1802078.pdf.

  10. JEDEC. Dictionary: collector cutoff current, base open (ICEO). Retrieved 2022-10-10, from https://www.jedec.org/standards-documents/dictionary/terms/collector-cutoff-current-base-open-iceo.