Introduction to Electronics
Senior 6 · Physics
Introduction to Electronics
Lesson 4 of 5
25 min
In December 1947, at Bell Laboratories in the United States, John Bardeen and Walter Brattain pressed two gold contacts onto a crystal of germanium and found that a small current into one contact controlled a larger current through the other. Within a few years William Shockley had designed a more robust version made of three layers of doped semiconductor, the bipolar junction transistor, and the three shared the 1956 Nobel Prize in Physics. A transistor does two jobs. It can act as a switch, turned fully on or fully off by a small current, which is the basis of every digital circuit. And it can act as an amplifier, copying a small varying signal as a larger one, which is how a microphone's tiny output can drive a loudspeaker.

A bipolar junction transistor (BJT) is a single crystal with three regions, which form two p–n junctions back to back: n–p–n or p–n–p. The three regions are the emitter (heavily doped), the base (very thin, a few micrometres or less, and lightly doped) and the collector (moderately doped and the largest, because it dissipates most of the heat). "Bipolar" means that both electrons and holes take part.
Figure 4.1: npn and pnp transistors and their symbols (IEC 60617). The rest of this lesson uses the npn type; in a pnp transistor every polarity is reversed.
In normal (active) operation of an npn transistor, the base–emitter junction is forward biased (the base about 0.7 V above the emitter) and the base–collector junction is reverse biased (the collector several volts above the base).
Figure 4.2: Electron flow in an npn transistor in the active region.
By Kirchhoff's first law . The ratio of collector current to base current is fixed by the construction, so a small change in controls a large change in :
Definition
The current gain (or ) of a transistor in the common-emitter arrangement is the ratio of collector current to base current, . It has no unit. Example: if 20 µA into the base gives 3.0 mA in the collector, .
With the emitter common to input and output (the common-emitter connection), the input characteristic ( against ) is just that of a forward-biased diode: almost no base current until . The output characteristics (Figure 4.3) show against for several fixed base currents. Above about 0.2 V, each curve is nearly flat: , whatever is. This is the active region.
Figure 4.3: Output characteristics of a transistor with , and the load line for , .
When a resistor connects the collector to a supply , the transistor must also obey Kirchhoff's second law: . This straight line, the load line, runs from (when ) to (when ). The transistor's actual state is where the load line crosses the curve for its base current. Three regions matter:
Used as a switch, the transistor is driven hard between cut-off and saturation, never left in between, so that little power is wasted in it: when off, the current is zero; when on, the p.d. across it is only about 0.2 V. A small current from a sensor or from a logic chip can then switch a lamp, a motor or a relay that needs a much larger current. Because varies from one transistor to the next and with temperature, designers provide two to five times the minimum base current, to be sure of saturation.
Figure 4.4: A light-activated switch (night light). The LDR's symbol has arrows pointing in, for incoming light.
A light-dependent resistor (LDR) has a resistance that falls in light. In Figure 4.4, in daylight the LDR's resistance is low, so it takes only a small share of the 9 V and the base is below 0.6 V: the transistor is off. At dusk the LDR's resistance rises, the base p.d. rises above 0.7 V, and the transistor turns on and lights the LED. Swapping the LDR and gives a switch that turns on in light; using a thermistor gives a temperature alarm.
Worked example 1: designing a relay driver
A 5 V output from a microcontroller must switch a relay whose 120 Ω coil needs 12 V. The transistor has (minimum) and . (a) Find the collector current when the relay is on. (b) Find the minimum base current. (c) Choose a base resistor that gives three times the minimum base current.
Solution
(a) .
(b) .
(c) Aim for 3.0 mA: . Choose the standard value 1.5 kΩ, giving , still nearly three times the minimum.
Protection: when the transistor switches off, the collapsing magnetic field of the coil induces a large e.m.f. (Unit 3) that could destroy the transistor. A diode connected in reverse across the coil gives this current a safe path.
Worked example 2: checking the night light
In Figure 4.4, the LDR is 1.0 kΩ in daylight and 100 kΩ in darkness. (a) Ignoring the base current, find the base p.d. in daylight and in darkness, and say whether the transistor is on. (b) The divider can be replaced by its Thévenin equivalent, a source equal to the dark base p.d. in series with . Estimate the base current in darkness. (c) The LED (2.0 V) and 470 Ω resistor need about 14 mA. Is the transistor () saturated?
Solution
(a) Daylight: : below 0.6 V, so off. Darkness: (without the transistor): far above 0.7 V, so the base–emitter junction conducts and the transistor is on.
(b) ; .
(c) , more than the 14 mA the LED circuit can take (), so the transistor saturates: fully on. The margin is small, so a more sensitive design would add a second transistor.
Figure 4.5: A simple common-emitter amplifier. The coupling capacitors pass the a.c. signal but block d.c., so the bias is not disturbed.
To amplify, the transistor is first biased into the middle of its active region: the resistor supplies a steady base current that sets the quiescent point Q, usually with so that the output can swing equally up and down (Figure 4.3). A small signal is then added to the base. An increase in the base current increases the collector current by , which increases the p.d. across and so decreases :
The minus sign means that the output is inverted: 180° out of phase with the input. If the signal is too large, or Q is badly placed, the transistor reaches saturation or cut-off on the peaks and the output is clipped: distortion. Simple bias from one resistor depends on ; practical amplifiers use a potential divider and an emitter resistor to make Q independent of .
Worked example 3: biasing and gain
In Figure 4.5, , and . (a) Find the collector current and base current that put Q at , and the value of . (b) A signal of peak value 25 mV at the base makes the base current vary by ±5.0 µA. Find the peak change in output p.d. and the voltage gain.
Solution
(a) ; ; (use 620 kΩ).
(b) ; , so the output swings ±1.65 V about 4.5 V, inverted. Gain .
Check: the output stays between 2.85 V and 6.15 V, well clear of saturation (about 0.2 V) and cut-off (9.0 V), so there is no clipping.
Connect an npn transistor (for example a BC547) with a microammeter in the base lead, a 10 kΩ potentiometer and a 100 kΩ resistor to set the base current, a 1 kΩ resistor and a milliammeter in the collector lead, and a 9 V supply. Increase in steps and record .
| / µA | 10 | 20 | 30 | 40 | 50 |
|---|---|---|---|---|---|
| / mA | 1.6 | 3.1 | 4.6 | 6.3 | 7.7 |
Illustrative readings. The graph of against is a straight line through the origin: gradient , so . At larger the line levels off as the transistor saturates: here cannot exceed .

Warning
Common mistakes. (1) Saying a transistor "creates" current: the energy comes from the supply ; the small base current only controls it. (2) Using in saturation: there is limited by the load to about . (3) Connecting the base straight to a supply with no resistor: the base–emitter junction is a diode, and an enormous current would destroy it. (4) Forgetting that a common-emitter amplifier inverts the signal.
Tip
For any transistor circuit, decide the state first. Is below 0.6 V? Off. Otherwise find , compute and compare with : if is bigger, it is saturated (); if smaller, it is active ().
How transistors work, by Gokul J. Krishnan (TED-Ed). Watch how a small voltage at one terminal controls a large current, and how billions of such switches make a computer chip.
Practice
Key points
Sources and credits
The five diagrams, the experiment readings (illustrative), the worked examples and the practice exercises are written by Ganzaa.