Catto / Topic Map · Analog Electronics I Year 4
Analog Electronics I · 120 h · Topic 2 of 8

Bipolar transistors

The component that changed the 20th century: a small current in the base controls a large current between collector and emitter. With that you amplify, switch and regulate. Everything that comes later in the program builds on this.

Transistors Power electronics Q-point Biasing Switching

🎛️ Interactive course on bipolar transistors Eleven topics with characteristic curves that move, the Q-point shifting along the load line live, the transistor as a switch driving an LED, the drift of the operating point when β triples, and the common-emitter, common-collector and Darlington amplifiers. It is worth keeping it open alongside while reading this page. ›

01How it is built

A bipolar transistor (BJT, Bipolar Junction Transistor) is two PN junctions sharing a very thin central region. Depending on the order of the materials there are two types: NPN and PNP.

NPN N P N emitter base collector very thin, lightly doped B C E arrow points OUT: NPN PNP P N P B C E arrow points IN: PNP Mnemonic NPN: Not Pointing iN (the arrow points out). The arrow is always on the emitter and shows the conventional current direction.
Figure 1. Structure and symbols. The three regions are not symmetrical: the emitter is heavily doped, the base is extremely thin and lightly doped, and the collector is large to dissipate heat. That is why the emitter and collector cannot be interchanged.

02Transistor action

For an NPN to work in its useful region, two conditions are needed at the same time:

  • The base-emitter junction forward biased (VBE ≈ 0.7 V).
  • The base-collector junction reverse biased (the collector more positive than the base).

Once both are met, the following happens. The heavily doped emitter injects a flood of electrons into the base. Since the base is extremely thin and lightly doped, only 1% of those electrons find a hole to recombine with; the remaining 99% cross the base and are captured by the collector's field.

Result: a very small current flows through the base, and a current a hundred times larger flows through the collector — and the small one controls the large one.

IE=IC+IB Kirchhoff's current law applied to the transistor. The current entering through the base plus the current entering through the collector all leaves through the emitter (in an NPN).
The idea to hold on to

The bipolar transistor is a current-controlled current source. It does not amplify energy out of nothing: it takes energy from the power supply and lets more or less through depending on what the base tells it. It is a faucet, and the base is the handle.

03DC current gain

The ratio between the collector current and the base current is the gain β (beta), which appears in datasheets as hFE.

β=ICIB α=ICIE=ββ+1 β is typically 100 to 300. α is always slightly less than 1 (0.99 for β = 100).
β is not a reliable figure

This is the most important point of the whole section. In the datasheet of a BC547, β is listed as 110 to 800: a range of 7 to 1. It also changes with temperature and with collector current. That is why no well-designed circuit depends on the value of β. The entire topic of biasing that follows exists precisely for this reason.

Worked example

A transistor with β = 150 has IB = 40 µA. Calculate IC, IE and α.

  • IC = β · IB = 150 × 40 µA = 6 mA
  • IE = IC + IB = 6 mA + 0.04 mA = 6.04 mA
  • α = 150 / 151 = 0.9934

As you can see, IC ≈ IE with an error of less than 1%. That approximation is used constantly and greatly simplifies the calculations.

04The three operating regions

RegionB-E junctionB-C junctionVCEBehaviorUse
CutoffReverse (or < 0.6 V)Reverse≈ VCCIC ≈ 0. Open switch.Digital
ActiveForward (0.7 V)Reversebetween 0.2 and VCCIC = β·IB. Amplifies.Analog
SaturationForwardForward≈ 0.2 VIC is set by the load, not by β. Closed switch.Digital

There is a fourth region, the reverse region (emitter and collector interchanged), which is hardly ever used: the gain falls below 5 because the structure is not symmetrical.

How to tell which region it is in, by measuring

With the transistor operating, measure VCE:

  • VCE ≈ VCC → it is in cutoff.
  • VCE ≈ 0.2 V → it is saturated.
  • VCE intermediate (ideally ≈ VCC/2) → it is in the active region.

05Characteristic curves

A transistor is not described by a single curve but by a family of them: IC as a function of VCE, one curve for each value of IB.

02468101204812VCE (V)IC (mA)0 µA10 µA20 µA30 µA40 µA50 µA60 µAload lineNear cutoffIB10 µAIC2.0 mAVCE10.0 VWith little base current the transistor barely conducts: VCE heads toward VCC and the signal is clipped atthe top.Q-point centeredIB30 µAIC6.0 mAVCE6.0 VVCE near half of VCC: the signal can swing up and down equally without clipping. This is class Abiasing.Near saturationIB50 µAIC10.0 mAVCE2.0 VA lot of base current: VCE approaches zero and the signal is clipped at the bottom.SaturatedIB60 µAIC12.0 mAVCE0.2 VThe transistor no longer amplifies: it is a closed switch. Useful for switching, useless for amplifying.The load line is set by the circuit: from VCC at zero current to VCC/RC at zero voltage.
Figure 2. Output curves with the load line, animated: the Q-point moves as the base current changes, from cutoff to saturation. Only in the middle does the transistor amplify.

Two regions can be distinguished:

  • Initial knee (VCE < 0.2 V): the current rises very quickly. This is the saturation region.
  • Flat section: IC hardly changes even as VCE rises. This is the active region, where the transistor behaves as a current source.

The slight slope of the flat section is due to the Early effect (base-width modulation) and is the reason why the output resistance of the transistor is not infinite.

06Load line and Q-point

The curves describe the transistor; the load line describes the external circuit. Where they cross is the actual operating point, called the Q-point (from quiescent, at rest).

Applying Kirchhoff's law to the collector-emitter loop of a circuit with collector resistor RC:

VCE=VCC−IC·RC DC load line equation.

This is the equation of a straight line, and to draw it its two end points are enough:

Cutoff end

IC = 0 → VCE = VCC. The transistor does not conduct and the entire supply voltage drops across it.

Saturation end

VCE = 0 → IC(sat) = VCC / RC. The transistor conducts as much as the load allows.

Where to put the Q-point

It depends on what the transistor is used for:

  • Amplifier: in the middle of the line (VCE ≈ VCC/2). That way the signal can swing up and down equally without clipping. This is the maximum symmetrical swing.
  • Switch: jumping between the two end points (cutoff and saturation), without staying in the middle. At the end points it dissipates almost no power.
Power dissipation

The power the transistor dissipates is P = VCE · IC. In cutoff IC = 0 and in saturation VCE ≈ 0.2 V: in both cases the power is negligible. The midpoint of the line is precisely the point of maximum dissipation, and that is why a class A amplifier heats up even with no signal.

07The transistor as a switch

This is the most immediate application and the one that connects with Digital Electronics I: the output of a logic gate cannot drive a relay, a motor or a lamp, but it can drive the base of a transistor that can.

+12 Vrelay coil400 Ω · 30 mA1N4007flybackcathodeBC547RB = 4.7 kΩinputrelay contactopen0 VInput at 0 VWith no base current the transistor is cut off: nothing flows through the coil and the contact staysopen.closed5 VInput at 5 VThe base receives current, the transistor saturates and the coil draws its 30 mA: the contact closes.open0 VOn turn-off: freewheelingThe coil tries to keep its current flowing and generates a reverse spike. The diode gives it a path and limits it to0.7 V.Without the diode, theturn-off spike exceeds100 V and destroys thetransistor.
Figure 3. Transistor as a switch, animated: input at zero, input at 5 V, and the instant of turn-off, where the flyback diode gives the coil's spike a path.
Worked example · Calculating RB

You want to saturate a BC547 (guaranteed minimum β = 110) to drive a 12 V relay that draws 30 mA. The control signal comes from a 5 V digital output.

1. Minimum base current to reach saturation:

IBmin=ICβmin=30 mA110=0.27 mA

2. Apply an overdrive factor of 3 to 5 to ensure saturation even with the worst-case β and at low temperature. With a factor of 4: IB = 1.1 mA.

3. The base resistor:

RB=Vin−VBEIB=5−0.70.0011=3900 Ω

Adopt 3.9 kΩ (standard value) or 4.7 kΩ if a little less margin is acceptable.

4. Dissipation check: saturated, VCE ≈ 0.2 V and IC = 30 mA → P = 6 mW. A BC547 (500 mW) is more than enough.

Inductive loads

Relays, motors, solenoids and coils store energy in their magnetic field. When the current is cut off abruptly, that energy is released as a voltage spike of hundreds of volts (V = L·di/dt). The flyback diode gives that current a path and holds it at 0.7 V. Without it, the transistor breaks down on the first switching.

08Biasing

Biasing means setting the Q-point and, above all, making it stay there even when the temperature or the transistor changes. This is what separates a circuit that works from one that works only sometimes.

Fixed-bias (fixed-base) biasing

A single resistor between VCC and the base. It is the simplest and the worst.

IB=VCC−0.7RB,IC=β·IB The problem is obvious: IC is directly proportional to β.

If the transistor is replaced by another of the same type but with β = 300 instead of 100, the collector current triples and the Q-point goes into saturation. The circuit stops amplifying. And since β also increases with temperature, the circuit drifts on its own while operating.

Voltage-divider biasing

This is the one used in practice. Two resistors set the base voltage and an emitter resistor introduces negative feedback.

+VCC R1 R2 VB RC RE VE output RE stabilizes: if IC rises, VE rises, VBE drops and it backs off.
Figure 4. Voltage-divider biasing. It is the standard configuration of every amplifier in Years 4 and 5.

The calculation has four steps, and β appears in none of them:

VB=VCC·R2R1+R2 VE=VB−0.7 V IE=VERE≈IC VCE=VCC−IC·(RC+RE) Calculation of the Q-point with a voltage divider. Valid if the divider current is at least 10 times IB, a condition that is met by choosing R2 ≤ β·RE/10.
Worked example · The Q-point and its stability

VCC = 12 V, R1 = 47 kΩ, R2 = 10 kΩ, RC = 2.2 kΩ, RE = 470 Ω.

  • VB = 12 × 10/(47+10) = 2.11 V
  • VE = 2.11 − 0.7 = 1.41 V
  • IE = 1.41 / 470 = 3.0 mA ≈ IC
  • VCE = 12 − 3.0 mA × (2200 + 470) = 12 − 8.0 = 4.0 V

Stability test: if the transistor is replaced by one with a β three times higher, the calculation does not change at all, because β does not appear in any formula. With fixed bias, the same substitution would triple IC. That is the whole point of the voltage divider.

Why RE stabilizes

It is a negative-feedback loop: if IC tends to rise because of temperature, VE = IE·RE rises. Since VB is fixed by the divider, VBE = VB − VE decreases, and that reduces IC. The circuit corrects itself. The larger RE is, the more stable — but the lower the AC voltage gain, which is why later it is bypassed with a capacitor.

09Regulated power supplies with transistors

The Zener regulator is only good for small currents. By adding a transistor in an emitter follower configuration, the available current is multiplied by β.

Vin unregulatedRSVZ = 6.2 VcathodeTIP31RLVoutLight loadRL1000 Ωcurrent5.5 mAIB = 0.06 mAVout = 5.5 VMedium loadRL220 Ωcurrent25.0 mAIB = 0.25 mAVout = 5.5 VHeavy loadRL56 Ωcurrent98.2 mAIB = 0.98 mAVout = 5.5 VAt the limitRL22 Ωcurrent250.0 mAIB = 2.50 mAVout = 5.5 VThe output follows the Zener minus the 0.7 V of the junction.The output current is β times the base current: the Zener hardly notices the load.
Figure 5. Regulated power supply with emitter follower, animated: the load changes and the output does not move. The output current is β times the base current, so the Zener hardly notices.

The output is Vout = VZ − 0.7 V. The Zener only has to deliver IC/β, that is, a few milliamperes, while the transistor handles the entire load current. With β = 100, a Zener that could handle 50 mA now allows 5 A — limited, of course, by the transistor's power dissipation:

PD=(Vin−Vout)·Iout With 18 V in, 12 V out and 1 A, the transistor dissipates 6 W: it definitely needs a heat sink.
🔋 Regulated power supply with the LM317 The integrated version of this same circuit, with built-in thermal protection and current limiting. It walks through the four stages with the real waveforms. ›

10Packages, identification and power dissipation

TransistorTypeIC max.VCEOPDTypical βPackage
BC547NPN100 mA45 V500 mW110-800TO-92
BC557PNP100 mA45 V500 mW110-800TO-92 (complement of the 547)
2N2222NPN800 mA40 V500 mW100-300TO-92 / TO-18
BD139NPN1.5 A80 V12.5 W40-160TO-126, with heat sink
TIP31CNPN3 A100 V40 W10-50TO-220
TIP120NPN Darlington5 A60 V65 W≥ 1000TO-220

The official datasheets are at onsemi.com (Texas Instruments does not make generic BJTs). The pinout is not universal: a BC547 in a TO-92 package, viewed from the front with the flat face toward the viewer, has C-B-E from left to right; a 2N2222 in the same package has E-B-C. Mixing them up is the most common mistake in the shop.

Power dissipation and heat sinks

The PD in the datasheet is valid at a case temperature of 25 °C, which almost never happens. In practice a safety factor is applied: do not exceed half of the rated power, and fit a heat sink with silicone thermal grease as soon as you go past 1 W. Watch out: in many TO-220 packages the metal tab is connected to the collector, so if two transistors are bolted to the same heat sink you must use an insulating mica pad and a plastic shoulder washer.

11In the lab

Lab 1 · Identifying the leads and type with a multimeter

A transistor is “two diodes back to back.” On the diode range:

  1. Look for the lead that, with the red probe held fixed, reads ≈ 0.7 V against the other two: that is the base and the transistor is an NPN.
  2. If that happens with the black probe held fixed, it is a PNP.
  3. Between the two remaining leads the reading must be OL in both directions. If it conducts, the transistor is shorted.
  4. Of those two, the emitter reads a few hundredths of a volt more than the collector against the base (0.72 vs 0.68 V, approximately). If the multimeter has an hFE function, you can confirm by trying both orientations: the one that gives the higher gain is the correct one.
Lab 2 · Measuring β

Build the circuit with RB = 470 kΩ from 12 V to the base and RC = 1 kΩ from 12 V to the collector, emitter to ground. Measure the drop across RB and across RC, calculate IB and IC, and obtain β. Repeat with three transistors of the same type and compare: the spread among them is the lesson of the exercise.

Lab 3 · Cutoff and saturation

A transistor with an LED in the collector (with its resistor) and a pushbutton that takes the base to 5 V through 4.7 kΩ. Measure VCE with the pushbutton released (it should read ≈ VCC) and pressed (it should read ≈ 0.2 V). Calculate the power dissipated in both cases and check that it is minimal.

Lab 4 · Q-point stability

Build two circuits: one with fixed bias and one with a voltage divider, adjusted for the same initial Q-point. Replace the transistor with another of the same type (with a different β) in both and measure VCE again. In the fixed-bias circuit the Q-point shifts noticeably; in the divider circuit it hardly moves. This is the exercise that justifies the whole topic.

12Common mistakes

SymptomUsual cause
The transistor never conductsLeads reversed (emitter and collector swapped), or VBE below 0.6 V.
It always conducts, even with no signalThe base resistor is missing, or the divider is miscalculated and left it saturated.
It gets very hot with no loadQ-point in the middle of the line with high current. This is normal in class A, but it is worth checking the dissipation.
The transistor burns out when the relay is switched offThe flyback diode is missing.
It works with one transistor but not with another identical oneThe circuit depends on β: fixed-bias biasing. You need to switch to a voltage divider.
The output signal is clipped at the top or bottomQ-point off-center: the signal runs into saturation or cutoff before completing the cycle.
It works cold and fails when it warms upThermal drift. RE is missing or too small.

13Self-assessment

Why does the base of a transistor have to be thin and lightly doped?

So that the carriers injected by the emitter find nothing to recombine with and cross over to the collector. If the base were thick or heavily doped, most of them would recombine, IB would be large and β small: there would be no transistor action.

Can a transistor be used with the emitter and collector interchanged?

It works, but very poorly: the gain falls below 5 and the reverse voltage that the base-emitter junction can withstand is only 5 or 6 V. The three regions have different doping levels and sizes, so the transistor is not symmetrical.

A BC547 with β = 200 has IB = 25 µA. What are IC and IE?

IC = 200 × 25 µA = 5 mA. IE = 5 + 0.025 = 5.025 mA. In practice, IC ≈ IE is assumed.

What are the two end points of the load line if VCC = 15 V and RC = 3 kΩ?

Cutoff: VCE = 15 V with IC = 0.
Saturation: IC(sat) = 15 / 3000 = 5 mA with VCE = 0.
For maximum swing, the Q-point goes at VCE = 7.5 V with IC = 2.5 mA.

Why is fixed-bias biasing bad?

Because IC = β·IB depends directly on β, which varies by up to 7 to 1 between units of the same model and also increases with temperature. The Q-point shifts when the transistor is replaced or when it heats up, and the circuit stops working.

Explain in one sentence how RE stabilizes the circuit.

If IC rises, VE rises; since VB is fixed by the divider, VBE = VB − VE drops and the current falls back down. It is negative feedback.

Why is the base overdriven when the transistor is used as a switch?

To guarantee saturation with the worst possible β and at any temperature. 3 to 5 times the theoretical minimum IB is used. If the transistor does not reach saturation, it stays in the active region, VCE is high and it dissipates a lot of heat.

A power supply with an emitter follower delivers 12 V and 1.5 A, fed from 20 V. How much does the transistor dissipate?

P = (20 − 12) × 1.5 = 12 W. It absolutely needs a properly sized heat sink, and it is advisable to lower the input voltage to reduce that loss — which is the reason why switching power supplies replaced linear ones in power equipment.

What does a multimeter read between the base and emitter of a good NPN, on the diode range?

With the red probe on the base and the black one on the emitter: ≈ 0.7 V (junction forward biased). Reversed: OL. If it reads low in both directions, the junction is shorted and the transistor is useless.

Development of the topic “Bipolar transistors” of Analog Electronics I (Year 4), based on the “Curriculum Proposal – Second Cycle of the Technical-Vocational Track, Secondary Education – Electronics,” Ministry of Education of the Province of Córdoba, DGETyFP. Back to the Topic Map · catto.ar