ainotes.pk
Chapter 18 · Electronics
Federal Board (FBISE) · Class 10 · Physics
EN RU
Download

Electronics

Physics · Class 10 · Federal Board (FBISE)
Official board website: fbise.edu.pk ↗
Sign-in required to download — reading is free, no account needed.
Notes (English)
MCQs
Past Paper
Roman Urdu Notes URDU
10-question quiz — this subject Flashcards — this chapter Track in planner

Loading official notes...

What is Electronics? — Physics Class 10 Notes (FBISE)

Electronics is Chapter 18 of Class 10 Physics, on the semiconductor devices that run modern circuits. It covers diodes and LEDs, transistors as switches and amplifiers, relays, and the logic gates — AND, OR, NOT, NAND and NOR — that turn Boolean logic into working digital circuits.

Key points

  • A semiconductor can be doped to make n-type material (extra electrons, pentavalent donor impurities) or p-type material (holes, trivalent acceptor impurities).
  • A diode passes current in one direction only; a light-emitting diode also gives out light when current flows forward, and is used in displays and indicators.
  • A relay lets a low-power circuit control a high-power circuit: the small control signal only has to switch the relay, while its contacts carry the heavy load.
  • In a transistor, a small current at the base controls a much larger current between the emitter and the collector (IC = βIB); the base is so thin that most electrons pass straight to the collector.
  • One transistor region is highly doped and another is the smallest in size by design, so that the device can control a large current with a small one.
  • The arrow in a transistor symbol shows the direction of conventional current at the emitter and marks the emitter terminal; in an NPN transistor the base-emitter junction is forward biased in normal use.
  • NAND and NOR gates are called universal gates because any other logic gate can be built from them alone; a NOR gate gives 1 only when both inputs are 0.
  • Digital systems beat analogue systems because digital signals are either 0 or 1, so they resist noise, are easy to store and copy, and work directly with computers.

Electronics at a glance

DeviceWhat it does
DiodePasses current one way only
LEDPasses current one way and emits light
RelayLow-power circuit controls a high-power circuit
TransistorSmall base current controls a large collector current
NAND / NORUniversal gates — any gate can be built from them
NOR gateOutput 1 only when both inputs are 0

The complete solved notes for this chapter are in the PDF above — every section, worked example and exercise question.

Full notes — Electronics

Student Learning Outcomes (SLOs) covered in this chapter

  • Describe the working of a diode (P-10-E-45)

(P-10-E-46)

  • Describe the action of a light-emitting diode in passing current in one direction only and emitting light
  • Describe the action of relays in switching circuits (P-10-E-47)
  • State that electronic devices are built from digital logic circuits (P-10-E-63)
  • State that Boolean logic is the basis for converting analogue data to digital data (P-10-E-64)
  • State in words and in truth table form the action of logic gates (P-10-E-65)
  • Describe the use of logic gates for security purposes (P-10-E-66)
  • Draw circuit symbols for the logic gates (P-10-E-67)
  • Describe Boolean switches in combinations that allow logical operations (P-10-E-68)
  • Describe the action of a bipolar npn transistor as a switch (P-10-E-69)
  • State that transistors are commonly used in digital devices because they are both economical and act as rapid-response switches (P-10-E-70)
  • State that circuits that maintain their 'state' after receiving an input can be said to exhibit 'memory' (P-10-E-71)
  • State that quantum computers are still in early stages of development and that core components only function at very cold temperatures at almost absolute zero (P-10-E-72)
  • Compare analogue and digital electronics (P-10-E-73)
  • Every in-text box and the complete textbook exercise

HOW TO USE THESE NOTES

  1. Each section starts with the SLOs, then easy wording, then the book's own examples. 2. Work the two worked examples (18.1 and 18.2) with the step boxes, then the solved numericals in section 18 — every

step is on its own line with its reason. 3. In the exercise, every question is solved — MCQs with the correct option and the reason, short and long questions in full. 4. Boxes marked BOOK ERROR are places where the book itself is wrong — learn the correct answer, not the printed one. This chapter has 12 of them, including a PN-junction paragraph that swaps the p-side and the n-side, a transistor section that names a junction that does not exist, and a figure of analog and digital signals captioned as a solid state relay. There are no printed answers with errors in this chapter — both worked examples and all 3 numerical answers check out. 5. The last page is a one-page revision sheet for the night before the paper.

HOW THE PAPER IS SET — Federal Board (FBISE) SSC, Physics (Theory)

Part What it is Marks / share

Theory paper MCQs + short questions + descriptive questions 60 marks • 3 hours

Practical Laboratory work and viva 15 marks

Total SSC Physics, Part-II 75 marks

MCQs 20% • Short questions 40% • Descriptive Weightage as per pattern 40%

Based on the official National Book Foundation (NBF) Model Textbook of Physics, Grade 10 (National Curriculum of Pakistan 2022–23), 1st edition February 2025 • Notes by ainotes.pk

. Full textbook chapter — FBISE mein koi smart syllabus nahi, is liye is chapter ka koi topic delete nahi kiya gaya. Tamam

topics, tamam in-text boxes aur poori textbook exercise in notes mein shamil hai.

1 INTRODUCTION — ELECTRONICS ALL AROUND US

  • In the last chapter the charges moved through wires and resistors. In this chapter they meet the devices that control them — diodes, transistors and integrated circuits (ICs). That control is what we call electronics.
  • Electronics is the branch of physics that deals with the emission and behaviour of electrons in electronic devices. It studies and applies the principles of physics to design, create and operate active devices such as diodes, transistors and ICs. These devices control and amplify the flow of electric current and convert it from one form to another — for example AC to DC, and analog to digital.
  • Look around: computers, mobile phones, ATMs, pen drives, televisions and digital cameras all run on electronics. The main component behind this advance is the semiconductor industry — almost every electronic device is built on semiconductor material, above all silicon.
  • This chapter answers six questions: (1) What is a semiconductor, and how do we dope it? (2) What happens when p-type and n-type materials meet — the PN junction? (3) What is a transistor, and how does it amplify and switch? (4) What are relays, and why do we use them? (5) What are logic gates, and how do they build computers? (6) What is the difference between analog and digital — and what comes after digital: the quantum computer?
  • The chapter's own opening question is: How do electrons and holes take part in the flow of current through semiconductor diodes? The answer is in section 5 (and in the Unit Opener box there): in a

external electric field.

. p semiconductor the current is carried by both electrons and holes, moving in opposite directions under an

UNIT OPENER (p 235) — How electrons and holes take part in flow of current through semiconductor diodes? In semiconductors current is caused by both electrons and holes. If an external electric field is applied

flow of current through semiconductor material.

to the semiconductor, the electrons and holes move in opposite directions. Hence they both contribute to the

2 18.1 SEMICONDUCTORS

  • Semiconductors are materials whose electrical conductivity falls between conductors and insulators. A

copper wire conducts easily, a plastic handle does not conduct at all — silicon sits in the middle, and (unlike a metal) its conductivity can be controlled by adding tiny amounts of other elements.

  • Silicon is the semiconductor material of this chapter. Every silicon atom has four electrons in its outer orbit (its valence shell). In the crystal lattice of silicon, the valence electrons of every Si atom are locked up in covalent bonds with the valence electrons of four neighbouring Si atoms (Figure 18.1). Each bond is made by sharing a pair of electrons.
  • In pure form, a silicon wafer does not contain any free charge carriers — every valence electron is tied up in a bond. Such pure semiconductors are called intrinsic semiconductors.
  • Doping is the deliberate adding of a small amount of an impurity (such as phosphorus or aluminium) to the pure silicon. Doped semiconductors are called extrinsic semiconductors. Doping is what turns silicon from a poor conductor into a useful electronic material — and it comes in two types, p-type and n-type (section 3).

BOOK ERROR 1

The book's section 18.1 (p 236) says: 'Atoms of group IV-A of periodic table are semiconductors.' That is an overstatement. Group 14 (old name IV-A) also holds carbon — diamond is an insulator — and tin and lead, which are metals. Only silicon and germanium are the usual textbook semiconductors. Learn it that way: group IV-A contains semiconductors, it is not made of them.

2-D crystal lattice of silicon (book fig 18.1)

Covalent bond

Valence electron Si Si Si

Si Si Si

Si Si Si Si Silicon 28.0855

FIGURE 18.1 2-D crystal lattice of silicon. Bonds are formed by sharing of electrons (i.e. bonds are covalently bonded).

Figure 18.1: 2-D crystal lattice of silicon. Each Si atom shares its four valence electrons with four neighbours in covalent bonds. The book's figure labels a shared electron 'Valance electron' — the correct spelling is 'Valence electron'.

DO YOU KNOW? (p 236) — The word 'semiconductor' is a middle word: semi = half. A semiconductor

opposite of a metal.

conducts half-way between a conductor and an insulator — and its conductivity rises when it is heated, the

3 18.2 N-TYPE AND P-TYPE SEMICONDUCTORS

18.2.1 N-type semiconductor

  • Add a pentavalent impurity — an element of group V-A such as phosphorus (P) — to pure silicon. Four valence electrons of every phosphorus atom lock into covalent bonds with four neighbouring Si

atoms. The 5th valence electron finds no binding electron and remains free to float (Figure 18.2).

  • That free electron is a charge carrier. The material now conducts mainly by electrons — so it is called an n-type semiconductor (n for negative). The pentavalent impurity is called a donor because it donates a

free electron to the crystal.

  • In an n-type semiconductor the majority charge carriers are electrons; the few holes present are the minority carriers. Adding pentavalent impurities to Si yields free electrons (book fig 18.2)

Silicon (Si): Si Adding phosphorus to four valence Si Si Si electrons pure silicon crystal results in a surplus Free electron Phosphorus (P): electron. And it has a free electron. Si P Si five valence P electrons

Si Si Si

FIGURE 18.2 Adding pentavalent impurities to Si yields free electrons.

Figure 18.2: adding a pentavalent impurity (phosphorus) to pure silicon gives a surplus free electron. The book's arrow box reads 'result in a surplus electron. And it have a free electron.' — the correct English is 'results in a surplus electron. And it has a free electron.'

18.2.2 P-type semiconductor

  • Add a trivalent impurity — an element of group III-A such as boron (B) — to pure silicon. Three valence electrons of every boron atom lock into covalent bonds with three neighbouring Si atoms. The fourth electron of the neighbouring Si atom remains unpaired — a vacant spot, a hole, is created within the covalent bond between one boron atom and a neighbouring Si atom (Figure 18.3).
  • A hole behaves like a positive charge carrier: when a neighbouring electron jumps into the hole, the hole moves the other way. The material now conducts mainly by holes — so it is called a p-type semiconductor (p for positive). The trivalent impurity is called an acceptor because it accepts an electron and so creates a hole.
  • In a p-type semiconductor the majority charge carriers are holes; the few electrons present are the minority carriers. Adding trivalent impurities to Si yields holes (book fig 18.3)

Silicon (Si): Si Adding boron to four valence Si Si Si electrons pure silicon crystal results in a lack of

Boron (B): an electron. And it Si B Si hole three valence B gets a hole.

electrons

s . Si Si Si

FIGURE 18.3 Adding trivalent impurities to Si yields holes.

Figure 18.3: adding a trivalent impurity (boron) to pure silicon yields a hole. The book's arrow box reads 'result in lack of electron.' — the correct English is 'results in a lack of an electron.'

N-type: pentavalent donor -> free electrons (majority carriers). P-type: trivalent acceptor -> holes (majority carriers).

Donor gives an electron; acceptor takes one and leaves a hole.

!! SAB SE AAM GALTI !!

Do not mix up donor and acceptor. A pentavalent atom (5 valence electrons) has one electron too many — it donates it, so it is a donor and the crystal is n-type. A trivalent atom (3 valence electrons) has one electron too few — it accepts one, so it is an acceptor and the crystal is p-type. Five = donor = n; three = acceptor = p.

4 18.3 PN JUNCTION

  • Grow a crystal so that one half is doped with a trivalent impurity (p-type) and the other half with a pentavalent impurity (n-type). The place where the two regions meet is the PN junction — a grown crystal of this kind is called a PN junction, and it is the heart of the diode.
  • At the junction, randomly moving electrons from the N-type diffuse into the P-type and fill the vacancies (holes) there (Figure 18.4 (a)). The atoms they leave behind become positive ions on the N-side, and the atoms that receive them become negative ions on the P-side (Figure 18.4 (b)).
  • These ions create an electric field directed from the N-type to the P-type region, and the thin layer of ions around the junction is called the depletion region — it is depleted of (free of) mobile charges. The

field sets up a potential barrier at the junction (Figure 18.4 (c)): 0.3 V for germanium and 0.7 V for silicon.

  • The width of the depletion layer depends on the carrier concentration. The depletion region stops further diffusion of electrons and holes and maintains the separation of charge carriers.
  • A PN junction diode allows current to pass in only one direction, so it is used as a rectifier in many electric circuits. In the diode symbol (Figure 18.5 (b)) the arrow head is the p-region and the vertical line is the n-region — conventional current flows in the direction of the arrow. PN junction and formation of depletion region (book fig 18.4)

P-Type N-Type Depletion Layer P-type N-type - + - + Potential barrier

- - + + Depletion Layer

(a) randomly moving electrons (b) formation of depletion region. from N-type diffuse into P-type region. Electric Field (c) graph of potential barrier between P and N region.

FIGURE 18.4 PN junction and formation of depletion region.

Figure 18.4: (a) electrons from the N-type diffuse into the P-type; (b) ions left behind form the depletion region; (c) the potential

barrier between the P and N regions. PN junction diode (book fig 18.5)

o P-N junction

t Conventional current flow

+

iN -

A (a) Diode structure

FIGURE 18.5 PN junction diode. (b) Diode symbol

Figure 18.5: (a) the diode structure — a P block joined to an N block; (b) the diode symbol. The arrow points the way conventional current can flow.

Potential barrier: germanium = 0.3 V, silicon = 0.7 V.

This is the voltage the external supply must beat to make the diode conduct.

5 18.4 CHARACTERISTICS OF DIODE UNDER BIASING

  • When a diode is connected across an electric supply (a potential difference), it is said to be under biasing. A diode allows current to flow in only one direction — it acts as a perfect insulator for current flowing one way and as a perfect conductor for current flowing the other way.
  • The biasing in which the diode allows current to flow is called forward bias; the biasing in which current is resisted is called reverse bias.

18.4.1 Forward biased

  • Connect the positive terminal of a DC source to the p-type and the negative terminal to the n-type (Figure 18.6 (a)). Holes on the P-side (positively charged) are repelled from the positive terminal and driven towards the junction; electrons on the N-side are repelled from the negative terminal and driven towards the junction.
  • The depletion region is reduced in width and the barrier potential is also reduced. Once the barrier is lowered by the forward voltage, a conducting path is established: electrons and holes combine, and current passes through the junction. This current is called the forward current and it is of the order of a few milliamperes (mA).
  • The variation of forward current with biasing voltage can be studied with the circuit in Figure 18.6 (b) — a voltmeter across the diode and a milliammeter in series. Forward bias (book fig 18.6) Holes Electrons

Voltmeter Hole flow

Electron flow

Repels holes Repels electrons + mA -

Milliammeter (b) Switch

. (a)

FIGURE 18.6 Forward bias.

Figure 18.6: forward bias. (a) The battery pushes holes and electrons toward the junction, shrinking the depletion region. (b)

The circuit to measure the forward current — voltmeter across the diode, milliammeter in series.

18.4.2 Reverse biased

  • When the potential at the anode (p-type) is smaller than the potential at the cathode (n-type), the diode is said to be reverse biased (Figure 18.7 (a)). In a reverse-biased diode the current is blocked.
  • In a reverse-biased connection the majority carriers are pulled away from the junction — the p-side holes move toward the negative terminal and the n-side electrons move toward the positive terminal. This leaves an empty zone around the junction, free of charge carriers, creating a wider depletion region. This depletion region acts as an insulator: no current flows through the junction due to majority charge carriers.
  • Only a small current of the order of a few microamperes (μA) flows, due to minority charge carriers. This small current is known as the reverse or leakage current. The variation of reverse current with biasing voltage can be studied with Figure 18.7 (b).

BOOK ERROR 2

The book's section 18.4.2 (p 239) says: 'holes in the n-side are forced to the left while electrons in the p-side are forced to the right.' The sides are swapped. Majority holes live in the p-side and majority electrons live in the n-side — there are no holes in the n-side to be forced anywhere. In reverse bias the p-side holes move away from the junction toward the negative terminal and the n-side electrons move away toward the positive terminal, widening the depletion region.

Reverse bias (book fig 18.7) Holes Electrons P Depletion region N

Voltmeter

Attracts holes Attracts electrons + uA -

Microammeter Switch (b) (a)

FIGURE 18.7 Reverse bias.

Figure 18.7: reverse bias. (a) The battery pulls the majority carriers away from the junction, widening the depletion region. (b) The circuit to measure the reverse current — voltmeter across the diode, microammeter in series.

The I-V curve of a diode

  • The current (I) versus voltage (V) graph for a PN junction is shown in Figure 18.8. In the forward bias

region, current and voltage are positive. When the forward voltage is less than the knee voltage Vo, the forward current is nearly zero, so the diode does not conduct. When the forward voltage is equal to Vo, the diode starts to conduct — and the current then rises sharply.

  • In the reverse bias region, current and voltage are negative. As the reverse bias voltage is raised, the depletion region width increases, and a point comes when the junction breaks down — this results in a

large flow of current (the reverse breakdown voltage, -Vz).

  • The knee voltage is about 0.3 V for germanium and 0.7 V for silicon — the same numbers as the

BOOK ERROR 12 potential barrier in section 4.

The book's I-V text (p 240) says: 'When the forward current is equal to Vo, the diode starts to conduct.' A current cannot be equal to a voltage — current is measured in amperes and Vo is a voltage. The sentence must read: 'When the forward voltage is equal to Vo, the diode starts to conduct.'

I-V curve for a semiconductor diode (book fig 18.8) I (mA) Forward Forward Bias current

Knee -V Reverse Forward voltage voltage

Reverse Bias - I (uA) 0.3 V Germanium Reverse Reverse 0.7 V Silicon current breakdown voltage

FIGURE 18.8 I-V curve for a semiconductor diode.

Figure 18.8: the I-V curve of a semiconductor diode. Forward current stays near zero until the knee voltage, then rises steeply; reverse current stays tiny until breakdown.

UNIT OPENER? (p 240) — How electrons and holes take part in flow of current through semiconductor diodes? In semiconductors current is caused by both electrons and holes. If an external electric field is applied

. to the semiconductor, the electrons and holes move in opposite directions. Hence they both contribute to the flow of current through semiconductor material.

6 18.5 LIGHT EMITTING DIODE

  • A light-emitting diode (LED) emits energy in the form of light and hence glows when electric current passes through it. LEDs are made from gallium arsenide phosphide (GaAsP) and gallium phosphide

(GaP) — not from silicon, because silicon gives its energy away as heat, not as light.

  • The picture and symbol of an LED are shown in Figure 18.9 (a) and (b). The symbol is the diode symbol with two arrows pointing outwards — light leaving the device.
  • When the LED is forward biased (Figure 18.9 (c)), the potential barrier is lowered. The conduction-band free electrons from the n-region cross the barrier and enter the p-region. As these electrons enter the p-region, they fall into the holes lying in the valence band — they fall from a higher energy level to a lower one. In the process, they radiate energy (Figure 18.9 (d)).
  • An LED is enclosed with a transparent cover so the emitted light can be seen. LEDs can emit light of different colours such as red, green and blue. They are widely used in decorative lamps, optical communication and display devices.
  • An LED passes current in one direction only — like every diode — and it emits light only while that current flows (SLO P-10-E-46).

Light-Emitting Diode (LED) (book fig 18.9)

Battery + P-Type Active Region

N-Type

Substrate Resistor

Emitted Light (a) Picture (b) Symbol (c) Forward bias (d) Action of LED

FIGURE 18.9 Light-Emitting Diode (LED).

Figure 18.9: (a) an LED lamp; (b) the LED symbol — diode symbol with outgoing light arrows; (c) the LED forward biased with a resistor in series; (d) the action — electrons fall from the conduction band into holes in the valence band and radiate light.

!! SAB SE AAM GALTI !!

An LED is a diode, so it only works in forward bias. In reverse bias it blocks current and gives no light — and a large reverse voltage can damage it. The resistor in series (Figure 18.9 (c)) limits the current: without it the LED would draw too much current and burn out.

7 18.6 TRANSISTOR

  • A transistor is a device composed of semiconductor material (germanium or silicon) that can both conduct and insulate. Transistors switch and modulate electronic current — they are the working heart of almost every electronic circuit.
  • The name 'transistor' comes from 'transfer resistor' — it transfers an input signal from a low-resistance circuit to a high-resistance circuit. That transfer is what lets a small base current

control a large collector current.

  • In general, all transistors have three regions: base (B), collector (C) and emitter (E). The emitter is moderately sized and heavily doped. The base is at the centre of the transistor — it is thin and lightly doped. The collector is larger than the emitter and moderately doped.
  • A transistor is a three-terminal semiconductor device that consists of two PN junctions — the base-emitter (BE) junction and the collector-base (CB) junction. A lightly doped region called the base is sandwiched between two regions called the emitter and the collector. The function of a transistor is to amplify current — this makes them useful as switches or amplifiers. They are used extensively in televisions, radio transmitters and mobile phones.

BOOK ERROR 4

The book's section 18.6 (p 241) says: 'The transistor was the first device designed to act as both a transmitter, converting sound waves into electronic waves, and resistor, controlling electronic current.' That is wrong on two counts: the name is 'transfer resistor', not 'transmitter + resistor', and a transistor does not convert sound waves into electronic waves — a microphone does that. The book's own Summary repeats the same sentence, so learn the corrected version here.

BOOK ERROR 3

The book's section 18.6 (p 242) says a transistor 'consists of two p-n junctions namely BE and CE.' There is no CE junction. The two junctions are the base-emitter (BE) junction and the collector-base (CB) junction. 'CE' would mean collector-emitter — those two regions never meet; the base sits between them.

DO YOU KNOW? (p 241) — A transistor is a bi-polar device: bi-polar refers to the fact that both holes and electrons participate in the conduction process. If only one carrier is employed (electron or hole), it is considered a unipolar device.

Notation and symbols used with PNP and NPN transistors (book fig 18.10)

Emitter Base Collector Emitter Base Collector

P N P B N P N B

(a) PNP transistor (b) PNP symbol (c) NPN transistor (d) NPN symbol Emitter-Base Junction (EBJ)

Collector-Base Junction (CBJ)

The arrow is on the emitter: it points IN for PNP, OUT for NPN. The arrow shows the direction of conventional (emitter) current.

FIGURE 18.10 Notation and symbols used with PNP transistor and NPN transistor.

Figure 18.10: (a) a PNP transistor — P | N | P; (b) the PNP symbol — the emitter arrow points TOWARDS the base; (c) an NPN transistor — N | P | N; (d) the NPN symbol — the emitter arrow points AWAY from the base.

18.6.1 Types of transistor

  • A. NPN transistor: made by joining one P-type semiconductor in between two N-type semiconductors.

A lightly doped P-type semiconductor is sandwiched between two heavily doped N-type regions.

  • B. PNP transistor: made by sandwiching an N-type semiconductor in between two P-type semiconductors. A lightly doped N-type semiconductor is sandwiched between two heavily doped P-type regions.

INFORMATION (p 242) — In 1948, scientists Walter Brattain, John Bardeen and William Shockley developed a device known as a transistor at Bell Laboratories. This invention was awarded the 1956 Nobel Prize in Physics. The transistor is the basis of the integrated circuits that run our computers and many modern technologies.

18.6.2 Working of a transistor

  • When no voltage is applied at the transistor's base, electrons in the emitter are prevented from passing to the collector side because of the PN junction. If a negative voltage is applied to the base of an NPN transistor, the PN junction between the base and emitter becomes reverse biased, the depletion region widens, and current flow is prevented.
  • Usually, two batteries are required for normal operation; name these batteries VBE and VCB (Figure 18.11). For an NPN transistor, the negative terminal of the battery VBE is connected to the N-type emitter and the positive terminal of the same battery is connected to the P-type base — therefore the emitter-base junction is forward biased. In the collector circuit, the N-type collector is connected to the

positive terminal of the battery VCB and the P-type base is connected to the negative terminal of the same battery — hence the collector-base junction is reverse biased.

  • Electrons enter the emitter from the negative terminal of battery VBE and flow toward the junction. The forward bias has reduced the potential barrier of the emitter-base junction. The electrons then combine with the hole carriers in the base to complete the emitter-base circuit. However, the base is a very thin region, about 0.001 inches. Most of the electrons flow on through to the collector, because the collector terminal is connected to the positive terminal of battery VCB and this reverse-biased potential is very large, so most of the majority charge carriers are attracted and cross the large base-to-collector depletion region. The direction of conventional current in the external circuit is shown in Figure 18.11.
  • The sum of the collector current (IC) and the base current (IB) is equal to the emitter current (IE), i.e. IE = IB + IC — (18.1). Approximately 95% to 98% of the current through the transistor goes from emitter to collector, and about 2% to 5% goes from emitter to base.
  • The ratio between collector current and base current gives the current gain (beta), i.e. current gain β = IC / IB — (18.2). Equation (18.2) gives the static or DC value of beta. The dynamic or AC value is calculated for changes in the current values. The ratio between collector current and emitter current gives the current gain (alpha), i.e. current gain α = IC / IE — (18.3). An NPN transistor under normal operation (book fig 18.11)

Emitter (N) Base (P) Collector (N)

. Holes

electrons

i_E i_B i_C recombination

V_BE V_CB

Emitter-base junction: forward biased. Collector-base junction: reverse biased.

FIGURE 18.11 An npn transistor under normal operation.

Figure 18.11: an NPN transistor under normal operation. The emitter-base junction is forward biased (VBE), the collector-base junction is reverse biased (VCB). Most electrons cross from emitter to collector; a few recombine in the thin base.

IE = IB + IC (18.1) β = IC / IB (18.2) α = IC / IE (18.3)

Beta is usually 50 to 300; alpha is always just under 1 (about 0.95 to 0.98).

Worked Example 18.1 — Emitter current from collector and base currents (p 244)

  • Given: collector current IC = 99.9 mA; base current IB = 0.1 mA. Required: emitter current IE = ?

STEP-BY-STEP — Worked Example 18.1 — solution

→ Step 1: Use equation (18.1): I = I + I .

The emitter current is the sum of the two currents that leave the transistor.

→ Step 2: Put the values: I = 0.1 mA + 99.9 mA.

Both currents are already in milliamperes, so no unit change is needed.

→ Step 3: Add: I = 100 mA = 0.1 A.

100 mA divided by 1000 is 0.1 A.

→ Step 4: Answer: the emitter current is 0.1 A.

Almost all of it (99.9 mA) goes to the collector; only 0.1 mA goes to the base.

Worked Example 18.2 — Base current from gain and collector current (p 244)

  • Given: collector current IC = 150 mA; current gain β = 190. Required: base current IB = ?

STEP-BY-STEP — Worked Example 18.2 — solution

→ Step 1: Use equation (18.2): β = I / I , so I = I / β.

C B B C

Rearrange the gain equation to find the base current.

→ Step 2: Put the values: I = 150 mA / 190.

The gain has no unit, so the answer comes out in milliamperes.

→ Step 3: Divide: I = 0.789 mA (about 0.8 mA).

150 / 190 = 0.78947...

→ Step 4: Answer: the base current needed to run the transistor is about 0.8 mA.

A tiny base current controls a collector current nearly 200 times bigger.

18.6.3 Role of transistor in advancement of computer technology

  • The transistor is an important invention that changed the history of computers. Before transistors, digital circuits were composed of vacuum tubes. A vacuum tube could amplify voice, but the tubes consumed power, created heat, burned out rapidly and needed high maintenance.
  • Transistors are commonly used in digital devices because they are both economical and act as rapid-response switches. By replacing bulky and unreliable vacuum tubes with transistors, computers could perform the same functions using less power and less space.
  • With advances in engineering, the number of transistors that can be fit per unit area onto a circuit board has continued to increase dramatically — this has rapidly enhanced computing power.
  • The first generation of computers used vacuum tubes; the second generation used transistors; the third generation used integrated circuits; and the fourth generation used microprocessors.

8 18.7 RELAYS AND SWITCHING CIRCUITS

  • A relay is an electrically operated switch that opens and closes circuits by receiving electrical signals from outside sources. It consists of a set of input terminals for a signal and a set of operating contact terminals.
  • For example, consider Figure 18.12: when you push the button on a TV remote to watch TV, it sends an electrical signal to the relay inside the TV, turning the main power ON.
  • Relays are very important in electronics. They are used to control a high power or high voltage circuit (or device) with a low power circuit. Relays embedded in electrical products receive an electrical signal and send the signal to other equipment by turning the switch ON and OFF.
  • Examples: a timer circuit with a relay could switch power at a preset time; relays are used to protect electrical circuits from overload or faults; relays are used to turn on/off high-power devices like lamps or garage door motors with just a small DC voltage signal. Block diagram of relay used in a TV (book fig 18.12)

Input Control

Output

. (remote control) (Relay) (TV main power)

e s TV main power ON / OFF

FIGURE 18.12 Block diagram of relay used in a TV.

Figure 18.12: block diagram of a relay used in a TV. A small signal from the remote control makes the relay switch the TV's

main power.

18.7.1 Types of relay

  • Relay technology can be divided into two main categories: movable contacts (mechanical relay) and no movable contacts.
  • A. Movable contacts (mechanical relay): contacts that are mechanically moved to open/close by a magnetic force to switch signals, currents and voltages ON or OFF.
  • B. No movable contacts: the solid state relay (SSR), shown in Figure 18.13 (a), is an example of a no-movable-contact relay. It does not have any moving part, thus increasing long-term reliability. A solid state relay uses a semiconductor switching device, activated by the control signal, to switch the controlled load.
  • An optocoupler (a light-emitting diode coupled with a photo transistor or photo-TRIAC) can be used to isolate the control and controlled circuits, as shown in Figure 18.13 (b). A solid state relay is commonly used for two reasons: a faster switching process and durability.

Solid state relay (SSR) (book fig 18.13)

Optocoupler Solid State Relay Light INPUT 1 2 3 | OUTPUT 4 5 6 Photo-TRIAC

(a) Solid state relay (b) Optocoupler: LED coupled with a photo-TRIAC

FIGURE 18.13 Solid state relay (SSR).

Figure 18.13: (a) a solid state relay module; (b) an optocoupler — an LED coupled with a photo-TRIAC, so the control side and the load side are separated by light, not by wires.

18.7.2 Operating principles of solid state relays

  • Solid state relays operate according to the following principles. 1. The LED lights up when the current is connected at the input side, as shown in Figure 18.14 (a). 2. The light sent by the LED is received by the

photodiode (Figure 18.14 (b)) and converted into an electrical signal — a photocurrent and a voltage across the photodiode. 3. This voltage becomes a gate voltage that drives the transistor through the control circuit, as shown in Figure 18.14 (c).

. p

  • By the operation of these electronic circuits, signals (currents and voltages) are switched ON or OFF electronically — with no moving parts at all.

BOOK ERROR 5

The book's section 18.7.2, point 2 (p 246) says: 'The light sent by the LED will be converted into voltage gain when it is received by the photodiode.' Light is converted into an electrical signal (a photocurrent,

and so a voltage) — not into 'voltage gain'. Gain is a property of an amplifier: how much bigger the output

is than the input. A photodiode does not have gain; it converts light into electricity.

Operation of solid state relays (book fig 18.14)

(a) LED lights up (b) Photodiode array (c) Gate voltage drives Light starts functioning Input 1, 2, 3 the transistor LED Control circuit -> Transistor

How it works

  1. LED lights up when current is connected at the input side.
  2. Light from the LED is converted into an electrical signal by the photodiode.
  3. This voltage becomes a gate voltage that drives the transistor through the control circuit.

Output terminals 4, 5, 6

FIGURE 18.14 Operation of solid state relays.

Figure 18.14: operation of a solid state relay. (a) The LED lights up at the input. (b) The photodiode array starts functioning. (c) The resulting voltage drives the transistor through the control circuit.

SCIENCE TIDBITS (p 246) — You can use a microcontroller (such as Arduino) to create the logic for when to turn your lamp ON and OFF. It uses an electrical relay to do the switching of the lamp. This makes it easy to make lights that activate only at night, control your garage door motor or other home appliances with a signal generated by your phone.

9 18.8 TRANSISTOR AS A SWITCH

  • The transistor can be used as a switch if it is biased in the saturation and cut-off regions. The collector C and emitter E of the transistor behave as the terminals of the switch. The base B and emitter E act as the control terminals that decide the state of the switch, either ON or OFF.
  • The main reason behind using the transistor as a switch is that the current at the base (IB) controls the current present at the collector (IC), as from the relation IC = β IB.
  • Suppose we have a lamp that we want to turn on and off with a switch, as shown in Figure 18.15 (a). Let us introduce a transistor in place of the switch, as shown in Figure 18.15 (b).
  • If the base of the transistor is not connected to a suitable voltage, the base current will become zero. Consequently, the transistor cannot turn on. So we must connect a switch between the base and collector wires of the transistor.
  • If the switch is open (Figure 18.16 (a)), there will be no current through the base. According to the relation IC = β IB, no current will flow from the collector to the emitter. In this situation the resistance

. between C and E becomes infinite and CE behaves as an open switch. In this state the transistor is said to be in cut-off.

  • If the switch is closed (Figure 18.16 (b)), current will flow from the base to the emitter of the transistor through the switch. This base current will enable a much larger current to flow from the collector to the

emitter, due to the small resistance between C and E, thus lighting up the lamp. In this state the circuit current is maximum and the transistor is said to be saturated.

BOOK ERROR 6

The book's section 18.8 (p 247) says: 'If the current at the base exceeds the minimum cut-off value, then the behavior of the transistor is like a closed switch.' That mixes up the two states. Cut-off is the OFF state — the base current is about zero and the transistor is an open switch. The switch closes (the transistor saturates) when the base current is large enough — at least IC / β — not when it 'exceeds the cut-off value'.

Transistor as a switch (book fig 18.15)

(a) Mechanical switch (b) NPN transistor switch

Lamp E

Switch ON -> lamp ON Base current -> lamp ON

FIGURE 18.15 Transistor as a switch.

Figure 18.15: a transistor as a switch. (a) A mechanical switch turns the lamp on and off. (b) An NPN transistor does the same job — the base current decides whether the lamp is on.

NPN transistor switching (book fig 18.16)

(a) Cutoff situation (b) Saturated state Switch open (lamp off) Switch closed (lamp on)

I_B = 0, so I_C = 0. Base current flows, so a large Resistance between C and E is collector current flows: a closed infinite: an open switch. switch. The lamp lights.

FIGURE 18.16 NPN transistor switching.

Figure 18.16: NPN transistor switching. (a) Cut-off — the switch is open, no base current, the lamp is off. (b) Saturated — the switch is closed, base current flows, a large collector current lights the lamp.

Switch OFF (cut-off): IB = 0, so IC = 0, resistance between C and E is infinite. Switch ON (saturated): IB large, IC = β IB, resistance between C and E is very small.

. p This is why transistors are the switches inside computers (SLO P-10-E-69, P-10-E-70).

10 18.9 DIGITAL ELECTRONICS

  • Digital electronic circuits deal with situations having only two states: ON or OFF, TRUE or FALSE, HIGH or LOW, YES or NO. Consider the circuit in Figure 18.17: there are only two possible positions to

flip a light switch — ON or OFF. (It is of no concern to you that there could be 110 volts, 120 volts or 220

volts — a fluctuating analog 'signal' — running through the electrical wiring connected to the light switch.)

  • We call the state of the switch the input and the state of the current or lamp the output. When the switch is open, no current passes through the circuit and the lamp is OFF — in other words, when the input is 0, the output is also 0. When the switch is closed, current passes through the circuit and the lamp is ON — when the input is 1, the output is also 1. The possible combinations of input and output states of this circuit are shown in Table 18.1. Switch (book fig 18.17)

S (switch) Battery

Lamp

Switch open -> lamp OFF (0). Switch closed -> lamp ON (1).

FIGURE 18.17 Switch.

Figure 18.17: a switch. Battery V, switch S, lamp. The switch is the input; the lamp is the output.

Switch (Input) Lamp (Output)

Open OFF

Closed ON Table 18.1: switching. Open = 0 = OFF; closed = 1 = ON.

  • Like this ON/OFF switching, the same logic is used to build the digital electronic circuits inside your laptop computer, GPS device and smart-phone. The two states can best be operated mathematically if the states are numerically represented by binary digits 1 and 0, also known as Boolean variables. English alphabets (A, B, C, etc.) are used to represent the Boolean variables. Boolean algebra is a formal way of describing logical operations. It is based on three basic logical operators: AND, OR and NOT.

18.9.1 Converting analogue data to digital data

  • The Analogue-to-Digital Converter (ADC) enables microprocessor-controlled circuits, like Arduinos and Raspberry Pi, to connect with the real world. In reality, analogue signals vary continuously and come from different sources and sensors that can detect sound, light, temperature or movement.
  • Many digital systems engage with their surroundings by measuring these analogue signals from transducers. So it is necessary to have an electronic circuit which can convert the continuously changing analogue signals to discrete digital signals — such circuits are known as Analogue-to-Digital

analogue signal.

Converters. Whereas a Digital-to-Analogue Converter (DAC) converts a discrete digital signal to an

18.9.2 Unit of data in computing

  • Analogue signals can be continuous and provide an infinite number of different voltage values. On the

other hand, digital circuits work with a binary signal which has only two discrete states, a logic '1' (HIGH) or a logic '0' (LOW). Each digit in binary (0 or 1) is called a bit, which is an abbreviation of binary digit.

18.9.3 Logic gates: the building blocks of all digital electronic circuits

  • Electronic devices are built from digital logic circuits. Logic gates are the main building blocks of all

digital logic circuits. These circuits can act as switches and convert incoming voltage into binary electrical

pulses of high (1) and low (0).

  • Digital electronic circuits used to implement binary/logical operations are known as logic gates. Logic

gates can have one or more inputs but only one output. Electronic devices are usually made from large assemblies of logic gates, often packed in integrated circuits. Common logic gates are AND, OR, NAND, NOR and NOT. A set of inputs and outputs of a logic system in binary form is called a truth table.

11 18.10 FUNDAMENTAL LOGIC GATES

  • The three logic gates AND, OR and NOT are known as the fundamental logic gates. Every other gate is built from them.

18.10.1 AND gate

  • Consider Figure 18.18 (a): a lamp is connected in series with a battery using two switches (A and B) as two inputs. Four possible states: both switches A and B open — lamp OFF; A open but B closed — lamp OFF; A closed but B open — lamp OFF; both A and B closed — lamp ON. In short: the lamp will glow only if both the switches are closed.
  • A logic gate which implements such an action is known as an AND gate. The symbol of the AND gate is shown in Figure 18.18 (b). The Boolean expression for the AND operation is: X = A . B (read as 'X equals A AND B'). The dot (.) represents the AND operation. The truth table of the AND operation is shown in Table 18.2.
  • An AND gate has two or more inputs and only one output. The output of an AND gate will be '1' only when all of its inputs are '1', and for all other situations the output will be '0'.

AND gate (book fig 18.18)

(a) Switch depiction (b) Circuit symbol

X=A.B

Lamp

Lamp glows only when BOTH Output is 1 only when all switches A and B are closed. inputs are 1.

FIGURE 18.18 AND gate.

Figure 18.18: AND gate. (a) Two switches in series — the lamp glows only when both are closed. (b) The AND symbol, X = A .

A B X=A.B

0 0 0

1 0 0

0 1

.

1 1 1 Table 18.2: AND gate truth table.

18.10.2 OR gate

  • Consider Figure 18.19 (a): a lamp is connected in parallel with a battery using two switches (A and B) as two inputs. Four states: both open — lamp OFF; A open and B closed — lamp ON; A closed and B open

— lamp ON; both closed — lamp ON. In short: the lamp will glow if at least one of the switches is

closed.

  • The symbol of the OR gate is shown in Figure 18.19 (b). The Boolean expression for the OR operation

is: X = A + B (read as 'X equals A OR B'). The plus (+) represents the OR operation. The truth table of the OR operation is shown in Table 18.3, where A and B are inputs and X is the output (lamp).

  • An OR gate has two or more inputs and only one output. The output of an OR gate will be '0' only when all of its inputs are '0', and for all other situations the output will be '1'. OR gate (book fig 18.19)

(a) Switch depiction (b) Circuit symbol

X=A+B

Lamp glows if at least ONE Output is 0 only when all of the switches is closed. inputs are 0.

FIGURE 18.19 OR gate.

Figure 18.19: OR gate. (a) Two switches in parallel — the lamp glows if at least one is closed. (b) The OR symbol, X = A + B.

A B X=A+B

0 0 0

1 0 1

0 1 1

1 1 1 Table 18.3: OR gate truth table.

18.10.3 NOT gate

  • Consider Figure 18.20 (a): a lamp is connected in parallel to a battery with a switch A as input. Two possible states: when the switch A is open, current passes through the lamp and it glows; when the switch A is closed, no current passes through the lamp (because of the large resistance of its filament) and it does not glow. In short: the lamp will glow if the switch is open.
  • The symbol of the NOT gate is shown in Figure 18.20 (b). The Boolean expression for the NOT operation is: X = A-bar (read as 'X equals A NOT'). A line or bar over the symbol represents the NOT operation. The truth table of the NOT operation is shown in Table 18.4, where A is the input and X is the output (lamp).
  • A NOT gate has one input and one output. The NOT operation inverts the state of a Boolean variable: the output of a NOT gate will be '0' when its input is '1', and vice versa. NOT gate (book fig 18.20)

. p (a) Switch depiction (b) Circuit symbol

A X = A-bar

Lamp

Lamp glows when the Output is the opposite switch is OPEN. of the input.

FIGURE 18.20 NOT gate. A Figure 18.20: NOT gate. (a) The lamp glows when the switch is open. (b) The NOT symbol — a triangle with a small circle at the output; the circle means 'invert'. X = A-bar.

A X = A-bar

0 1

1 0 Table 18.4: NOT gate truth table.

AND: X = A . B (1 only if ALL inputs are 1). OR: X = A + B (0 only if ALL inputs are 0). NOT: X = A-bar (inverts the input).

The small circle at a gate's output always means NOT.

12 18.11 UNIVERSAL LOGIC GATES

  • The logic gates NAND and NOR are known as 'universal gates' because they can be used to make all the other gates. Any logic circuit can be built using only NAND gates — or only NOR gates.

18.11.1 NAND gate

  • A NAND gate is obtained by coupling a NOT gate with the output terminal of an AND gate, as shown in Figure 18.21 (a). The NOT gate inverts the output of the AND gate. Thus a NAND gate is the complement of an AND gate — it gives the opposite of what AND gives.
  • The symbol of the NAND gate is shown in Figure 18.21 (b) — the small circle shows the NOT operation. The Boolean expression for the NAND operation is: X = overline{A . B} (read as 'X equals A AND B NOT'). The truth table of the NAND operation is shown in Table 18.5.

BOOK ERROR 7

The book's section 18.11.1 (p 251) says: 'Thus, NAND gate is the reciprocal of AND gate.' Reciprocal means 1/x — the reciprocal of 4 is 1/4. A logic gate has no reciprocal. The correct word is complement (or 'inverse'): NAND gives the opposite output of AND.

NAND gate (book fig 18.21)

(a) Description (b) Circuit symbol

.

AND followed by NOT: X = NOT (A . B) NAND = complement of AND. Output 0 only when A = B = 1.

FIGURE 18.21 NAND gate.

Figure 18.21: NAND gate. (a) An AND gate followed by a NOT gate. (b) The NAND symbol — an AND symbol with a small

circle at the output. X = NOT (A . B).

A B X = overline{A . B}

0 0 1

1 0 1

0 1 1

1 1 0 Table 18.5: NAND gate truth table. Output is 0 only when both inputs are 1.

18.11.2 NOR gate

  • The NOR gate is obtained by coupling the output of an OR gate with a NOT gate, as shown in Figure 18.22 (a). The NOT gate inverts the output of the OR gate.
  • The symbol of the NOR gate is shown in Figure 18.22 (b). The Boolean expression for the NOR operation is: X = overline{A + B} (read as 'X equals A OR B NOT'). The truth table of the NOR operation is shown in Table 18.6.

NOR gate (book fig 18.22)

(a) Description (b) Circuit symbol

OR followed by NOT: X = NOT (A + B) NOR = complement of OR. Output 1 only when A = B = 0.

FIGURE 18.22 NOR gate.

Figure 18.22: NOR gate. (a) An OR gate followed by a NOT gate. (b) The NOR symbol — an OR symbol with a small circle at the output. X = NOT (A + B).

A B X = overline{A + B}

0 0 1

1 1 Table 18.6: NOR gate truth table. Output is 1 only when both inputs are 0.

s . 0

!! SAB SE AAM GALTI !!

NAND and NOR are easy to confuse. Remember the pattern: NAND = NOT-AND, so it is 0 only at the bottom-right of the truth table (1, 1). NOR = NOT-OR, so it is 1 only at the top-left (0, 0). Both are universal

— you can build AND, OR and NOT out of either one.

13 18.12 USES OF LOGIC GATES

  • Every day in our lives we encounter many things that work with the help of logic gates. Logic gates are used in electronic circuits to do useful tasks. They are also used for security purposes — for example burglar alarms and fire extinguishers.

18.12.1 Burglar alarm

  • A burglar alarm system detects movement or the opening of doors and windows using sensors and contacts, and a loud alarm is emitted to warn others. A simple burglar alarm circuit can be made by using an AND gate.
  • We have two inputs — the person sensor and the alarm switch — as shown in Figure 18.23. If both the person sensor and the alarm switch are ON, then the burglar alarm is activated. If only one input is ON, the burglar alarm will not be activated.
  • For example, if the person sensor is ON but the alarm switch is not, the burglar alarm will not be activated. When the person sensor detects the person, it gives the signal 1. Then the alarm switch will also give a signal 1. Thus '1' and '1' give an output '1' which will make the alarm ring.

Burglar alarm (book fig 18.23)

Sensor (input A) X=A.B Burglar Alarm B (output X) Alarm Switch (input B)

Alarm rings only when BOTH sensor AND switch are ON (1 and 1 -> 1).

FIGURE 18.23 Burglar alarm.

Figure 18.23: burglar alarm. Sensor (A) and alarm switch (B) feed an AND gate; the output X = A . B rings the alarm only when both are 1.

18.12.2 Fire extinguisher (fire alarm circuit)

  • A fire alarm circuit is a simple circuit that detects fire and activates the siren sound. Fire alarm circuits are very important devices to detect fire in the right time and prevent damage to people or property. The

circuit is required to switch on when activated, then sound a buzzer continuously.

  • A fire alarm circuit using a NAND gate is shown in Figure 18.24. The buzzer is initially off, so the output

. from A is 0. This requires the output from gate B to be 1. There being no fire, the thermistor is cold and its resistance is high, so there is a voltage across it and the two inputs to gate A are both 1.

  • When the thermistor is warmed by a fire, its resistance falls, as does the voltage across it, and input 1 falls to 0. The output from A becomes 1, so there is a voltage across the buzzer, which sounds. Input 3 to

B becomes 1, and since input 4 is also 1, the output from B becomes 0. The inputs to A are 1 and 0, so the output stays at 1 — the buzzer keeps sounding even though the fire is still there. This is the memory

of the circuit: it remembers that it was triggered.

  • To reset the alarm, the reset switch R must be pressed. This makes input 4 into a 0, so the output from

B becomes 1, and A has inputs of 1 and 1, so its output is 0 as originally. Fire alarm circuit (book fig 18.24)

Variable resistor +6 V Buzzer

VR 1 1 A Bz

Th Thermistor

R (reset) No fire: thermistor cold (high R) -> A = 0, buzzer off. Fire: thermistor warm (low R) -> A = 1, buzzer sounds and stays on.

FIGURE 18.24 Fire alarm circuit (NAND latch).

Figure 18.24: fire alarm circuit. Two NAND gates (A and B) are cross-coupled, so the circuit latches: once the thermistor is warmed and gate A turns the buzzer on, it stays on until the reset switch R is pressed.

WHY IT MATTERS — The fire alarm is the chapter's example of memory (SLO P-10-E-71): a circuit that maintains its 'state' after receiving an input is said to exhibit 'memory'. The cross-coupled NAND gates remember that the fire happened, even after the thermistor cools down.

14 18.13 ANALOGUE AND DIGITAL ELECTRONICS

  • Based on the types of signals used, electronics can be broadly classified into two branches: Analog Electronics and Digital Electronics.
  • Analog electronics is the branch of electronics that deals with electronic systems and devices with continuous time signals. Analog electronics can be used to amplify signals, filter noise, and perform a wide variety of other functions. In analog electronics, two types of components are used to design the systems: the active elements such as diodes and transistors, and the passive elements such as resistors, capacitors and inductors. Analog electronics is widely used in radio and audio devices such as FM radios, TVs and telephones.
  • Digital electronics is the branch of electronics that deals with electronic systems and devices with digital signals or discrete time signals. Digital electronics uses binary logic functions to perform operations — the basic meaning of a binary logic function is that it has only two states, 'active high' and

'active low'. One of the most common applications of digital electronics is in computers. Other applications include data processing and storage, automation and digital watches. Digital electronic

. p systems are usually made from a combination of logic gates, often packaged in an integrated circuit (IC).

  • Digital systems have many advantages over analogue. Some are given below: digital systems have

small size; digital systems are generally easier to design; accuracy and precision are greater; digital systems need less power to operate; operation can be programmed.

  • An analog quantity (or signal) is one having continuous values over a range. For example, temperature, time, pressure, sound and distance are analogue quantities. A digital quantity (or signal) is

BOOK ERROR 9

one having a set of discrete values — it changes in steps, like 0 and 1.

The book's section 18.13 (p 253) says: 'Digital electronics uses active components only.' That is false. A

digital circuit also uses passive components — resistors (for example pull-up and pull-down resistors that fix an input at 1 or 0) and capacitors (for timing and filtering). The book's own analog-electronics paragraph lists both active and passive elements — the same is true for digital.

BOOK ERROR 10

The book's section 18.13 (p 253) says: 'Digital circuits are not affected by noise (noise is fluctuations in voltage).' That is overstated. Digital circuits are less affected by noise than analog circuits — a small voltage wobble does not change a 0 into a 1 — but strong noise can still flip a bit. 'Not affected' should read 'less affected'.

Analog and digital signals (book fig 18.25)

Analog Digital

Signal Signal

Time Time

Signal varies continuously Signal changes in discrete with time. steps: 0 or 1.

FIGURE 18.25 Analog and digital signals. (The book's caption for this figure is wrong - see the notes.)

Figure 18.25: analog and digital signals. The analog signal varies continuously with time; the digital signal changes in discrete steps (0 or 1). The book's caption for this figure reads 'Operation of solid state relays' — that caption belongs to Figure 18.14, not here.

BOOK ERROR 8

. p The book's Figure 18.25 (p 253) is captioned 'Operation of solid state relays'. That caption is wrong — the figure shows two graphs, an analog signal and a digital signal, plotted against time. It has nothing to do

with solid state relays. The figure in these notes is drawn with the corrected caption: 'Analog and digital signals'.

INFORMATION (p 253) — Fire Alarm Circuits and Smoke Sensors are a part of the security systems which

help in detecting or preventing damage. Installing Fire Alarm Systems and Smoke Sensors in commercial buildings like offices, hospitals, schools, shopping malls and other public places is compulsory.

INFORMATION (p 253) — The temperature of air varies in a continuous fashion during 24 hours of a day. If

we plot a graph between temperature and time, we get a smooth curve: the air temperature does not go from, say, 75 °F to 80 °F instantaneously — it takes the infinite values in between. Therefore we say that temperature is an analogue quantity.

Feature Analog electronics Digital electronics

Signal Continuous values over a range Discrete values (0 and 1)

Components Active + passive elements Logic gates (ICs) + passive elements

Noise Easily affected by noise Less affected by noise

Size / power Larger, more power Small size, less power

Design Harder to design Easier to design, programmable

Examples FM radio, TV, telephone Computer, digital watch, automation Analog vs digital at a glance.

15 18.14 QUANTUM COMPUTERS

  • Quantum computing uses phenomena in quantum physics to create new ways of computing. Unlike traditional computers that use bits to represent information as either a 0 or a 1, quantum computers use qubits (or quantum bits), which can exist in multiple states simultaneously.
  • This allows quantum computers to perform complex calculations at an exponentially faster rate than classical computers.
  • Quantum computers are still in the early stages of development and have to overcome manufacturing challenges — their core components only function at very cold temperatures, almost absolute zero. Most qubits must be cooled to within a few thousandths of a degree of absolute zero to eliminate thermal noise and vibrations, which tend to destroy the information contained in the qubits.

CAN YOU TELL? (p 254) — A qubit (or quantum bit) is the quantum mechanical analogue of a classical bit. In classical computing the information is encoded in bits, where each bit can have the value zero or one. In quantum computing the information is encoded in qubits. In a classical system, a bit would have to be in one state or the other. However, quantum mechanics allows the qubit to be in a coherent superposition of multiple states simultaneously. This property is fundamental to quantum mechanics and quantum computing.

SCIENCE TIDBITS (p 254) — In today's technological world, both analog and digital electronics are equally used to implement most efficient and fast processing systems such as robotics, quantum computing and telecommunication.

16 SUMMARY AND KEY TERMS

  • Electronics is the branch of physics that deals with the emission and behaviour of electrons in

. electronic devices. (The book's Summary prints this sentence in a garbled form — see the red box in section 2.)

insulators.

  • Semiconductors are materials whose electrical conductivity falls between those of conductors and
  • Intrinsic semiconductors are pure semiconductors (such as Si or Ge).
  • Extrinsic semiconductors are semiconductors doped with some specific impurities.
  • Pentavalent impurities such as phosphorus, arsenic, antimony and bismuth have five valence

electrons and belong to group V-A of the periodic table.

  • Trivalent impurities such as boron, aluminium, indium and gallium have three valence electrons and

belong to group III-A of the periodic table.

  • Majority charge carriers in an n-type semiconductor are electrons and in a p-type semiconductor are holes.
  • Forward bias is the condition when the positive terminal of a DC source is connected to the p-type and the negative terminal is connected to the n-type semiconductor of a PN junction.
  • Light-emitting diode emits energy in the form of light when electric current passes through it.
  • Transistor acts as a switch and an amplifier. It is made in two types: PNP and NPN. (The book's Summary says it 'acts as both a transmitter and resistor' — see the red box in section 7.)
  • Relay is an electrically operated switch that opens and closes the circuits by receiving electrical signals from outside sources.
  • Analogue-to-digital converter (ADC) is an electronic circuit which can convert the continuously changing analogue signals to discrete digital signals.
  • Digital-to-analogue converter (DAC) converts a discrete digital signal to an analogue signal.
  • Bit is each digit in binary (0 or 1) — an abbreviation of 'binary digit'.
  • Logic gates implement binary operations in digital electronic circuits.
  • Fundamental logic gates are the three logic gates AND, OR and NOT.
  • Universal logic gates are the logic gates NAND and NOR, because they can be used to make all the other gates.
  • Quantum computing uses phenomena in quantum physics to create new ways of computing.

BOOK ERROR 11

The book's Summary (p 254), first bullet, reads: 'Electronics is the branch of physics that helps to study the emission and behaviour of electrons with electronic devices is known as electronics.' That sentence is garbled and tautological — it says the same thing twice and the grammar breaks in the middle. The correct form is given in the first bullet above: 'Electronics is the branch of physics that deals with the emission and behaviour of electrons in electronic devices.'

Key terms Term Meaning

Semiconductor Material with conductivity between a conductor and an insulator

Intrinsic semiconductor Pure semiconductor (Si or Ge) with no doping

Extrinsic semiconductor Semiconductor doped with an impurity

Donor Pentavalent impurity that donates a free electron (n-type)

Acceptor

Depletion region

Trivalent impurity that accepts an electron and creates a hole (p-type)

Thin layer around a PN junction, free of mobile charges

Potential barrier

Forward bias

0.3 V (Ge) / 0.7 V (Si) at a PN junction

P to + terminal, N to - terminal; diode conducts

Reverse bias

Knee voltage

P to - terminal, N to + terminal; diode blocks

Voltage at which a diode starts to conduct (Vo)

Transistor

Diode that emits light in forward bias (GaAsP, GaP)

Three-terminal device (E, B, C) that amplifies and switches

Current gain (beta)

Current gain (alpha)

Relay β = IC / IB

α = IC / IE

Electrically operated switch; controls high power with low power

Solid state relay Relay with no moving parts; uses an optocoupler

Logic gate Circuit that performs one Boolean operation (one output)

Truth table Table of all input-output combinations of a logic system

Universal gate NAND or NOR — can build every other gate

Bit One binary digit (0 or 1)

Qubit Quantum bit — can be in multiple states at once

17 PRACTICE MCQs — 15 QUESTIONS

Fifteen practice questions on this chapter. The correct option is marked Answer with the reason after each question. The keys line at the end collects all 15 answers. 1 Which material is an intrinsic semiconductor? Options: (a) copper (b) silicon (c) aluminium (d) iron. Answer: (b) silicon. Silicon (and germanium) are semiconductors; copper, aluminium and iron are conductors.

2 The potential barrier of a silicon PN junction is about Options: (a) 0.1 V (b) 0.3 V (c) 0.5 V (d) 0.7 V. Answer: (d) 0.7 V. Germanium is 0.3 V, silicon is 0.7 V. 3 In an N-type semiconductor the majority charge carriers are Options: (a) holes (b) protons (c) electrons (d) ions. Answer: (c) electrons. A pentavalent donor gives a free electron; electrons are the majority carriers in n-type material. 4 A trivalent impurity added to silicon creates Options: (a) holes (b) free electrons (c) protons (d) neutrons. Answer: (a) holes. A trivalent acceptor takes an electron and leaves a hole behind. 5 In forward bias the depletion region Options: (a) widens (b) stays the same (c) narrows (d) disappears completely. Answer: (c) narrows. Forward bias pushes the carriers toward the junction and lowers the barrier; reverse bias widens it. 6 The knee voltage of a germanium diode is about Options: (a) 0.7 V (b) 0.3 V (c) 1.1 V (d) 5.0 V. Answer: (b) 0.3 V. Germanium is 0.3 V, silicon is 0.7 V. 7 An LED emits light when it is Options: (a) reverse biased (b) unbiased (c) shorted (d) forward biased. Answer: (d) forward biased. In forward bias electrons fall into holes in the valence band and radiate light; in reverse bias the LED blocks

current. 8 In a transistor the most heavily doped region is the

. p Options: (a) emitter (b) base (c) collector (d) case. Answer: (a) emitter. The emitter is heavily doped; the base is thin and lightly doped. 9 For a transistor, IE = IB + IC. If IC = 9.8 mA and IB = 0.2 mA, IE is

Options: (a) 9.6 mA (b) 9.8 mA (c) 10.0 mA (d) 0.2 mA. Answer: (c) 10.0 mA. IE = IB + IC = 0.2 + 9.8 = 10.0

10 Current gain β of a transistor is Options: (a) IC / IE (b) IE / IB (c) IB / IC (d) IC / IB. Answer: (d) IC / IB. That is equation (18.2); IC / IE is alpha.

11 Which gate gives output 1 only when all inputs are 1? Options: (a) OR (b) AND (c) NOT (d) NAND. Answer: (b) AND. The AND output is 1 only when every input is

1; NAND gives 0 in that case. 12 The output of a NOR gate is 1 when Options: (a) all inputs are 0 (b) any input is 1 (c) all inputs are 1 (d) inputs differ. Answer: (a) all inputs are 0. NOR is NOT-OR: OR of 0 and 0 is 0, inverted to 1. 13 A NAND gate is the combination of Options: (a) AND + OR (b) OR + NOT (c) AND + NOT (d) NOT + NOT. Answer: (c) AND + NOT. A NOT gate at the output of an AND gate makes NAND. 14 Which of these is a universal gate? Options: (a) AND (b) OR (c) NOT (d) NAND. Answer: (d) NAND. NAND (and NOR) can be used to build every other gate; AND, OR and NOT cannot. 15 A bit can have the values Options: (a) 0, 1 or 2 (b) 0 or 1 (c) any voltage (d) only 1. Answer: (b) 0 or 1. A bit is one binary digit — HIGH (1) or LOW (0). Practice MCQ keys: 1-(b) 2-(d) 3-(c) 4-(a) 5-(c) 6-(b) 7-(d) 8-(a) 9-(c) 10-(d) 11-(b) 12-(a) 13-(c) 14-(d) 15-(b)

18 SOLVED NUMERICALS — EXERCISE QV

  • All three numericals of the textbook exercise (QV.1 to QV.3) are solved here step by step. All three printed answers check out — there is no answer-key error in this chapter.

QV.1 — Collector current from emitter and base currents

  • Given: emitter current IE = 5.82 mA; base current IB = 120 μA. Required: collector current IC = ? (Book's answer: 5.7 mA.)

STEP-BY-STEP — QV.1 — solution

→ Step 1: Use equation (18.1): I = I + I , so I = I - I .

E B C C E B

We need the collector current, so rearrange the emitter-current equation.

→ Step 2: Change the base current to milliamperes: 120 μA = 120 / 1000 mA = 0.12 mA.

1 mA = 1000 μA, so divide by 1000.

→ Step 3: Put the values: I = 5.82 mA - 0.12 mA = 5.70 mA.

Subtract the small base current from the emitter current.

→ Step 4: Answer: the collector current is 5.7 mA.

. p The printed answer (5.7 mA) is correct.

QV.2 — Current gain from base and collector currents

  • Given: base current IB = 600 μA; collector current IC = 30 mA. Required: current gain β = ? (Book's answer: 50.)

STEP-BY-STEP — QV.2 — solution

→ Step 1: Use equation (18.2): β = I / I .

Beta is the ratio of collector current to base current.

→ Step 2: Change the base current to milliamperes: 600 μA = 600 / 1000 mA = 0.6 mA.

Both currents must be in the same unit before dividing.

→ Step 3: Put the values: β = 30 mA / 0.6 mA = 50.

The units cancel, so beta has no unit.

→ Step 4: Answer: the current gain is 50.

The printed answer (50) is correct.

QV.3 — Current gain from changes in the currents

  • Given: emitter current changes by ΔIE = 4 mA; collector current changes by ΔIC = 3.5 mA. Required: current gain β = ? (Book's answer: 7.) The stem prints 'the collector current is changes by 3.5 mA' — it should read 'changes'.

STEP-BY-STEP — QV.3 — solution

→ Step 1: Find the change in base current: ΔI = ΔI - ΔI .

The same relation (18.1) holds for changes in the currents.

→ Step 2: Put the values: ΔI = 4 mA - 3.5 mA = 0.5 mA.

The base current changes only a little.

→ Step 3: Current gain: β = ΔI / ΔI = 3.5 mA / 0.5 mA = 7.

For changes, beta is the ratio of the change in collector current to the change in base current.

→ Step 4: Answer: the current gain is 7.

The printed answer (7) is correct.

19 EXERCISE — PART 1: MCQs AND CONSTRUCTED RESPONSE

QI. Choose the best possible option in the following questions.

1 The approximate potential barrier for germanium and silicon transistors are respectively? Options:

(a) 0.3 V and 0.7 V (b) 0.7 V and 0.3 V (c) 0.7 V and 0.5 V (d) 0.5 V and 0.7 V. Answer: (a) 0.3 V and 0.7

V. Section 18.3: the barrier is 0.3 V for germanium and 0.7 V for silicon. (The stem says 'transistors' — the values in section 18.3 are for the PN-junction diode.)

= IC / IB (equation 18.2).

2 The current ratio of a beta is: Options: (a) IC / IE (b) IB / IC (c) IE / IB (d) IC / IB. Answer: (d) IC / IB. Beta

3 Which of the following relation is correct for a transistor? Options: (a) IC = IB + IE (b) IB = IC + IE (c) IE = IC + IB (d) IE = IC - IB. Answer: (c) IE = IC + IB. That is equation (18.1): the emitter current is the sum of

collector and base currents. 4 The heavily doped region of the transistor is: Options: (a) Emitter (b) Collector (c) Base (d) All of these. Answer: (a) Emitter. Section 18.6: the emitter is heavily doped, the base is thin and lightly doped. 5 A transistor has ______ PN junctions. Options: (a) 1 (b) 2 (c) 3 (d) 4. Answer: (b) 2. The two junctions are the base-emitter (BE) and collector-base (CB) junctions. 6 If IE = 1 mA and IC = 0.25 mA then the IB value will be: Options: (a) 0.75 mA (b) 0.95 mA (c) 0.65 mA (d) 0.85 mA. Answer: (a) 0.75 mA. IB = IE - IC = 1 - 0.25 = 0.75 mA. 7 If the gain β of a NPN transistor is 200 and its collector current is 4 mA. The value of base current will be: Options: (a) 20 μA (b) 25 μA (c) 30 μA (d) 35 μA. Answer: (a) 20 μA. IB = IC / β = 4 mA / 200 = 0.02 mA = 20 μA. 8 The majority charge carriers in the emitter of an NPN transistor are: Options: (a) pentavalent atoms (b) electrons (c) trivalent atoms (d) holes. Answer: (b) electrons. The emitter of an NPN transistor is N-type, so its majority carriers are electrons. 9 The output of a NAND gate is 0 when: Options: (a) A is '1' and B is '0' (b) A is '0' and B is '1' (c) both A and B are '0' (d) both A and B are '1'. Answer: (d) both A and B are '1'. NAND = NOT(AND); AND of 1 and 1 is 1, inverted to 0.

10 If X = A + B, then X is 0 when: Options: (a) both A and B are '0' (b) A or B is '0' (c) A is '0' and B is '1' (d) A is '1' and B is '0'. Answer: (a) both A and B are '0'. An OR gate gives 0 only when every input is 0. (The stem prints 'when::' — a double colon, a printing slip.) 11 The output of a NOR gate is '1' when: Options: (a) both of its inputs are '0' (b) both of its inputs are '1' (c) any of its inputs is '0' (d) any of its inputs is '1'. Answer: (a) both of its inputs are '0'. NOR = NOT(OR); OR of 0 and 0 is 0, inverted to 1. 12 The logical operation performed by this gate is: [figure: an AND symbol with a small circle at the output] Options: (a) AND (b) NOR (c) NAND (d) OR. Answer: (c) NAND. An AND symbol with a small circle at the output is a NAND gate — the circle means NOT. Review MCQ keys: 1-(a) 2-(d) 3-(c) 4-(a) 5-(b) 6-(a) 7-(a) 8-(b) 9-(d) 10-(a) 11-(a) 12-(c)

QII. Follow the directions to respond to the following questions. (CONSTRUCTED RESPONSE QUESTIONS) Exercise QII.1: AND gate followed by NOT gate

Gate 1 Gate 2

What single logic gate can replace this combination?

FIGURE QII.1 AND gate (1) followed by NOT gate (2).

1 (a) Identify the logic gates in the circuit: Name of the gate 1 is ______; Name of the gate 2 is ______. Gate 1 is an AND gate (two inputs A and B, output A . B). Gate 2 is a NOT gate (the triangle with a small circle, which inverts its input).

1 (b) Draw a single logic gate that can replace the given logic circuit. A single NAND gate replaces the circuit — an AND symbol with a small circle at the output. The combination

AND-then-NOT is exactly NAND: X = NOT (A . B). Exercise QII.2: AND and OR gates feeding a NAND gate

NAND

Write the expression for X and complete its truth table. FIGURE QII.2 AND and OR gates feeding a NAND gate.

2 Write the expression for the following combination of logic gates. Here A and B are inputs and X is output. Also complete its truth table. Let Y1 = A . B (the AND gate) and Y2 = A + B (the OR gate). Both feed a NAND gate, so X = NOT (Y1 . Y2) = overline{(A . B) . (A + B)}. Truth table: A = 0, B = 0 gives Y1 = 0, Y2 = 0, X = 1; A = 1, B = 0 gives Y1 = 0, Y2 = 1, X = 1; A = 0, B = 1 gives Y1 = 0, Y2 = 1, X = 1; A = 1, B = 1 gives Y1 = 1, Y2 = 1, X = 0. So X = 1, 1, 1, 0.

20 EXERCISE — PART 2: SHORT AND LONG RESPONSE

QIII. Give a short response to the following questions. (SHORT RESPONSE QUESTIONS) 1 How do N-type materials and forward biasing affect semiconductor devices? N-type material adds free electrons (from a pentavalent donor), so the material conducts mainly by electrons. Forward biasing (P to +, N to -) pushes the carriers toward the junction, narrows the depletion region and lowers the barrier, so the device conducts — a few milliamperes of forward current flow. Together they are what make a diode a one-way device. 2 Why are pentavalent impurities called donors and trivalent impurities acceptors? A pentavalent impurity (group V-A, e.g. phosphorus) has five valence electrons; four bond with silicon and the fifth is free — the atom donates an electron, so it is a donor. A trivalent impurity (group III-A, e.g. boron) has three valence electrons; it takes one electron from a neighbouring silicon atom to complete its bonds, leaving a hole — it accepts an electron, so it is an acceptor. 3 How do relays improve electrical systems? Give examples. A relay lets a low-power circuit control a high-power (or high-voltage) circuit. The control signal only

has to switch the relay, while the relay's contacts carry the heavy load — so the control side stays safe and small. Examples: a TV remote switching the TV's main power on; a timer circuit switching power at a preset

. time; protecting a circuit from overload or faults; switching a lamp or a garage door motor with a small DC signal.

4 How do the three terminals of a transistor work together to amplify signals? A small current at the base controls a much larger current between the emitter and the collector: IC = β IB.

The emitter-base junction is forward biased so electrons enter the base; the base is so thin that most of them (95% to 98%) pass on to the collector, which is reverse biased and collects them. A tiny change in base current therefore produces a large change in collector current — that is amplification.

5 Why is one transistor region highly doped and another the smallest in size?

The emitter is heavily doped so it can supply a large number of charge carriers. The base is the smallest in size — thin and lightly doped — so that most of the carriers crossing it reach the collector instead of recombining in the base; only 2% to 5% recombine there and form the small base current. 6 What does the arrow in a transistor symbol represent, and why is it important? The arrow is on the emitter and shows the direction of the conventional (emitter) current. It points IN for a PNP transistor (emitter current flows into the base) and OUT for an NPN transistor (emitter current flows out of the base). It is important because it is the quickest way to tell a PNP transistor from an NPN transistor at a glance.

Imandari se: QIII.6 is answered with standard content — the book's Figure 18.10 shows the symbols but never explains what the arrow means.

7 Explain the normal biasing of an NPN transistor. What happens if it is reversed? Normal biasing of an NPN transistor: the emitter-base junction is forward biased (emitter to the negative terminal of VBE, base to the positive terminal) and the collector-base junction is reverse biased (collector to the positive terminal of VCB, base to the negative terminal). If the biasing is reversed, the emitter-base junction becomes reverse biased, the depletion region widens and current flow is prevented — the transistor cannot work as an amplifier.

8 How does biasing (forward or reverse) change the depletion region in a diode? Forward bias (P to +, N to -) pushes the majority carriers toward the junction, so the depletion region narrows and the barrier falls — the diode conducts. Reverse bias (P to -, N to +) pulls the majority carriers away from the junction, so the depletion region widens and acts as an insulator — only a tiny leakage current (a few microamperes) flows. 9 Why does an n-type or p-type material have zero net charge? Doping adds neutral atoms. A pentavalent donor atom brings one extra electron, but the donor atom itself becomes a positive ion when the electron leaves — the charges balance. A trivalent acceptor atom creates a hole, but the acceptor atom becomes a negative ion when it takes the electron — again the charges balance. So the crystal as a whole stays electrically neutral, even though it now has free carriers.

Imandari se: QIII.9 is answered with standard content — the book never states that doped material is electrically neutral overall.

10 Why are NAND and NOR gates called universal gates? Because all the other gates can be built from them. Any logic circuit — AND, OR, NOT, or any combination — can be made using only NAND gates, or using only NOR gates. That is why they are called universal. 11 For a NOR gate, how do you determine the output for different inputs?

Use its truth table (Table 18.6): X = NOT (A + B). First find A + B (OR), then invert it. The output is 1 only

12 What makes digital systems better than analog systems?

when both inputs are 0; for every other input combination (0,1), (1,0) or (1,1) the output is 0.

Digital systems have small size, are generally easier to design, have greater accuracy and precision, need less power to operate, and their operation can be programmed. They are also less affected by

noise than analog systems, because a small voltage wobble does not change a 0 into a 1.

QIV. Give a detailed response to the following questions.

(LONG RESPONSE QUESTIONS)

1 What is an extrinsic semiconductor? How do impurities affect its conductivity?

An extrinsic semiconductor is a pure (intrinsic) semiconductor that has been doped — a small amount of an impurity has been deliberately added to it. Pure silicon has almost no free carriers, so it conducts poorly. A pentavalent impurity (phosphorus) adds free electrons and makes n-type material; a trivalent impurity (boron) adds holes and makes p-type material. Doping raises the number of free carriers by a huge factor, so the conductivity rises sharply — and the type of carrier (electron or hole) is fixed by the choice of impurity. 2 Describe how a PN junction forms and explain the effects of forward and reverse biasing on it. A PN junction forms when a crystal is grown so that one half is p-type and the other half is n-type. Electrons from the N-side diffuse into the P-side and fill holes there; the atoms left behind become positive ions on the N-side and negative ions on the P-side. These ions form the depletion region and an electric field from N to P, setting up a potential barrier (0.3 V for Ge, 0.7 V for Si). Forward bias (P to +, N to -) drives carriers toward the junction, narrows the depletion region and lowers the barrier, so current flows (milliamperes). Reverse bias (P to -, N to +) pulls carriers away, widens the depletion region, and the junction acts as an insulator — only a tiny leakage current (microamperes) flows, until breakdown at high voltage.

3 Using a diagram, explain how a solid-state relay works and its advantages over mechanical relays. A solid state relay (SSR) has no moving parts. Its input side has an LED; its output side has a photodiode array, a control circuit and a transistor (Figure 18.14). Working: (1) current at the input lights the LED; (2) the light is received by the photodiode and converted into an electrical signal; (3) this voltage becomes a gate voltage that drives the transistor through the control circuit, switching the load ON or OFF. An optocoupler (LED coupled with a photo transistor or photo-TRIAC, Figure 18.13 (b)) isolates the control and controlled circuits. Advantages over a mechanical relay: faster switching, greater durability (no contacts to wear out), no sparking, and silent operation. 4 Describe how an NPN transistor operates, focusing on the movement of charge carriers. An NPN transistor is N | P | N: a thin, lightly doped P-type base sandwiched between two N-type regions. For normal operation the emitter-base junction is forward biased and the collector-base junction is reverse biased (batteries VBE and VCB, Figure 18.11). Electrons enter the emitter from the negative terminal of VBE and flow toward the junction; the forward bias has lowered the emitter-base barrier. A few electrons combine with holes in the thin base and form the small base current IB (2% to 5%). Most electrons (95% to 98%) flow on through the base to the collector, attracted by the large reverse-biased potential of VCB, and form the collector current IC. The currents obey IE = IB + IC, and the current gain is β = IC / IB. 5 How can a transistor function as a switch? Provide examples of its use in circuits.

A transistor works as a switch when it is biased in its cut-off and saturation regions. The collector and emitter are the switch terminals; the base is the control terminal. With no base current the transistor is in

cut-off: IC = 0, the resistance between C and E is infinite, and it behaves as an open switch. With a large

. base current the transistor saturates: a large collector current flows, the resistance between C and E is

very small, and it behaves as a closed switch (Figure 18.16). Examples: switching a lamp on and off (Figure 18.15); switching in computers and digital circuits, where transistors are economical, rapid-response

switches; and switching high-power loads through a relay driver.

6 Explain the working of an OR gate with a circuit diagram. How does it process input signals? An OR gate gives output 1 if at least one input is 1. With switches (Figure 18.19 (a)): a lamp is connected in parallel with a battery through two switches A and B. If both switches are open, the lamp is OFF; if A or B (or

both) is closed, the lamp is ON. The symbol (Figure 18.19 (b)) has two inputs A, B and one output X = A + B.

Truth table (Table 18.3): 0+0 = 0; 1+0 = 1; 0+1 = 1; 1+1 = 1. The gate processes the signals by the OR rule: the output is 0 only when all inputs are 0.

7 How are logic gates used in burglar alarms and fire extinguishers? Explain with examples. Burglar alarm (Figure 18.23): an AND gate takes two inputs — a person sensor (A) and an alarm switch (B). The alarm rings only when both are 1: X = A . B. If only the sensor is on, or only the switch, the alarm stays off. Fire alarm (Figure 18.24): two NAND gates are cross-coupled into a latch. With no fire the thermistor is cold (high resistance), gate A gives 0 and the buzzer is off. When fire warms the thermistor, its resistance falls, input 1 of gate A falls to 0, gate A's output becomes 1 and the buzzer sounds — and because the gates are cross-coupled, the alarm stays on (memory) until the reset switch R is pressed. 8 Discuss the challenges in development of quantum computers. Quantum computers are still in the early stages of development. They use qubits, which can exist in multiple states at once (superposition) and so can calculate exponentially faster than classical computers. The main challenges are manufacturing ones: the core components only function at very cold temperatures, almost absolute zero — most qubits must be cooled to within a few thousandths of a degree of absolute zero to eliminate thermal noise and vibrations, which tend to destroy the information in the qubits. Keeping qubits stable (coherent) long enough to finish a calculation, and building enough of them together, are the central difficulties.

21 ONE-PAGE REVISION SHEET — CHAPTER 18: ELECTRONICS

Topic What to remember Semiconductor Conductivity between conductor and insulator; silicon is the main one Intrinsic / extrinsic Pure Si or Ge / doped Si (n-type or p-type) N-type Pentavalent donor (P) -> free electrons (majority carriers) P-type Trivalent acceptor (B) -> holes (majority carriers) PN junction P + N meet; depletion region; barrier Ge 0.3 V, Si 0.7 V Forward bias P to +, N to -; depletion narrows; diode conducts (mA) Reverse bias P to -, N to +; depletion widens; only leakage current (uA) Knee voltage Vo Voltage at which the diode starts to conduct (Ge 0.3 V, Si 0.7 V) LED Forward biased; GaAsP / GaP; light when electrons fall into holes Transistor E (heavily doped), B (thin, lightly doped), C (larger, moderately doped) Two junctions BE (base-emitter) and CB (collector-base) — there is no CE junction IE = IB + IC 95-98% of current goes E to C; 2-5% to the base

Current gain β = IC / IB (18.2); α = IC / IE (18.3) Transistor as switch Cut-off (IB = 0) = OFF; saturated = ON; IC = β IB Relay Logic gates

. AND: 1 only if all 1. OR: 0 only if all 0. NOT: inverts Low-power signal switches a high-power circuit; SSR has no moving parts

Universal gates Burglar alarm

NAND = NOT(AND); NOR = NOT(OR); both can build every other gate AND gate: sensor AND switch both 1 -> alarm rings

Fire alarm Cross-coupled NAND latch: thermistor warm -> buzzer on, stays on (memory)

Analog vs digital Analog: continuous. Digital: discrete 0/1; smaller, less power, programmable Quantum computer Qubits in many states at once; needs near-absolute-zero cold

Review MCQ keys: 1-(a) 2-(d) 3-(c) 4-(a) 5-(b) 6-(a) 7-(a) 8-(b) 9-(d) 10-(a) 11-(a) 12-(c)

Practice MCQ keys: 1-(b) 2-(d) 3-(c) 4-(a) 5-(c) 6-(b) 7-(d) 8-(a) 9-(c) 10-(d) 11-(b) 12-(a) 13-(c) 14-(d) 15-(b)

Worked examples: Ex 18.1 IE = 0.1 A (99.9 + 0.1 mA); Ex 18.2 IB = 0.789 mA (150 / 190). QV answers: 1. 5.7 mA; 2. beta = 50;

  1. beta = 7. All printed answers are correct.

Interactive MCQs practice is being updated for this chapter.

Past papers for this chapter are being added

No solved past-paper questions are linked to Electronics yet.

Loading Roman Urdu notes...

Roman Urdu Notes Being Added

Is chapter ke liye Roman Urdu mein aasan explanation notes prepare kiye ja rahe hain. Tab tak aap regular English notes aur MCQs se practice kar sakte hain.

Frequently Asked Questions — Electronics

How do N-type materials and forward biasing affect semiconductor devices? ▾
N-type material adds free electrons (from a pentavalent donor), so the material conducts mainly by electrons. Forward biasing (P to +, N to -) pushes the carriers toward the junction, narrows the depletion region and lowers the barrier, so the device conducts — a few milliamperes of forward current flow. Together they are what make a diode a one-way device.
Why are pentavalent impurities called donors and trivalent impurities acceptors? ▾
A pentavalent impurity (group V-A, e.g. phosphorus) has five valence electrons; four bond with silicon and the fifth is free — the atom donates an electron, so it is a donor. A trivalent impurity (group III-A, e.g. boron) has three valence electrons; it takes one electron from a neighbouring silicon atom to complete its bonds, leaving a hole — it accepts an electron, so it is an acceptor.
How do relays improve electrical systems? Give examples. ▾
A relay lets a low-power circuit control a high-power (or high-voltage) circuit. The control signal only has to switch the relay, while the relay's contacts carry the heavy load — so the control side stays safe and small. Examples: a TV remote switching the TV's main power on; a timer circuit switching power at a preset time; protecting a circuit from overload or faults; switching a lamp or a garage door motor with a small DC signal.
How do the three terminals of a transistor work together to amplify signals? ▾
A small current at the base controls a much larger current between the emitter and the collector: IC = β IB. The emitter-base junction is forward biased so electrons enter the base; the base is so thin that most of them (95% to 98%) pass on to the collector, which is reverse biased and collects them. A tiny change in base current therefore produces a large change in collector current — that is amplification.