Physics Circle home Home Practice Hub Register / Login

Home›Study material›Semiconductor Electronics

Theory · Physics Circle Master Book

Semiconductor Electronics

01
CONCEPT

Energy Bands in Solids

In one line
Atoms packed in a solid turn their sharp energy levels into bands. The gap between two bands decides whether the solid conducts.
BANDS

27.1.1 How bands form

  1. An isolated atom has sharp, separate energy levels.
  2. In a crystal, atoms are close and their outer electrons interact.
  3. By Pauli’s exclusion principle no two electrons can share a state, so each level spreads into a band.
Eseparation between atomscrystalCBVBisolated
Levels spread into bands as atoms come close
THREE REGIONS

27.1.2 Valence band, conduction band, forbidden gap

  1. Valence band (VB): band of valence electrons, highest filled band at 0 K. These electrons cannot carry current.
  2. Conduction band (CB): next higher band. Its electrons are free and carry current.
  3. Forbidden gap: no electron can stay here.
Conduction bandValence bandEg(CB) min(VB) maxE
Energy gap between the two bands
Eg = (CB)min − (VB)max
  1. Eg falls very slightly as temperature rises.
  2. Light can lift an electron across only if hν ≥ Eg.
λmax = hcEg = 1240Eg (eV) nm
TYPES OF SOLIDS

27.1.3 Conductor, insulator, semiconductor

CBVBoverlapConductor> 3 eVemptyfullInsulator≈ 1 eVSemiconductor
The band gap sorts all solids
ConductorInsulatorSemiconductor
BandsVB, CB overlapVB full, CB emptyVB nearly full, CB nearly empty
Egzero> 3 eV (diamond 6 eV)about 1 eV
ρ (Ω m)10−8 to 10−21011 to 101910−5 to 106
Carriersfree electronsnoneelectrons, holes
ExamplesCu, Ag, Alwood, glass, micaSi, Ge, GaAs
VALUES

27.1.4 Band gaps to remember

MaterialEg
Ge0.7 eV
Si1.1 eV
GaAs1.3 eV
Diamond (C)6 eV
  1. So (Eg)C > (Eg)Si > (Eg)Ge.
  2. At room temperature a few electrons cross the gap in Si and Ge. Almost none cross in diamond.
  3. Good conductors have no hole current, because their bands overlap.
Practise PYQs on this topicEnergy Bands in Solids · 23 questions with solutions
02
CONCEPT

Intrinsic & Extrinsic Semiconductors

In one line
A pure semiconductor has equal electrons and holes. A tiny impurity makes one of them the majority, and conductivity jumps.
INTRINSIC

27.2.1 Pure semiconductor

  1. Si and Ge have 4 valence electrons, held in covalent bonds.
  2. Heat breaks some bonds. Each broken bond gives one free electron and one hole.
  3. Conduction due only to breaking of covalent bonds is intrinsic.
  4. At 0 K no bond is broken, so pure Si behaves as an insulator.
ne = nh = ni
HOLE

27.2.2 What a hole is

  1. A hole is a vacancy left by a missing electron.
  2. It acts like a positive charge +e, though no real positive particle moves.
  3. A neighbouring electron fills it, so the hole appears to move.
  4. Holes are slower than electrons: ve > vh.
DOPING

27.2.3 Adding impurity

  1. Doping adds about 1 impurity atom per 106 to 108 host atoms.
  2. Generally it decreases the resistivity sharply.
  3. A doped semiconductor is called extrinsic, and ne ≠ nh.
N-TYPE

27.2.4 Pentavalent impurity

SiSiSiSiAsSiSiSiSifree e(5th electron)
Four electrons of As bond; the fifth is free
  1. Dopants (5 valence electrons): P, As, Sb. They are donors.
  2. Majority carriers: electrons. Minority carriers: holes.
  3. ne ≫ nh, and the crystal stays electrically neutral.
  4. Free electrons occupy the donor level, in the gap just below the CB.
CBVBdonor level0.01 eV below CB
Donor level just below the conduction band
P-TYPE

27.2.5 Trivalent impurity

SiSiSiSiInSiSiSiSihole(bond lacks 1 e)
In has only 3 valence electrons, so one bond has a hole
  1. Dopants (3 valence electrons): B, Al, Ga, In. They are acceptors.
  2. Majority carriers: holes. Minority carriers: electrons.
  3. nh ≫ ne, and the crystal stays electrically neutral.
  4. Acceptor level lies in the gap just above the VB.
CBVBacceptor level0.01 eV above VB
Acceptor level just above the valence band
COMPARE

27.2.6 n-type and p-type

n-typep-type
Impuritypentavalent (P, As, Sb)trivalent (B, Al, In)
Majorityelectronsholes
Minorityholeselectrons
New leveljust below CBjust above VB
Net chargezerozero
Practise PYQs on this topicIntrinsic & Extrinsic Semiconductors · 67 questions with solutions
03
CONCEPT

Carrier Concentration, Conductivity & Temperature

In one line
The product nenh stays fixed at a given temperature. Heating makes more carriers, so a semiconductor’s resistance falls.
MASS ACTION LAW

27.3.1 Finding the minority carriers

nenh = ni2
  1. Holds at thermal equilibrium, for doped and pure samples.
  2. More majority carriers means fewer minority carriers.
DopingMajorityMinority
Donor density NDne ≈ NDnh = ni2ND
Acceptor density NAnh ≈ NAne = ni2NA
  1. Doping of 1 ppm: donor density = 10−6 × atoms per m3.
  2. Si at 300 K: ni ≈ 1.5 × 1016 m−3. Ge: ni ≈ 2.4 × 1019 m−3.
CONDUCTION

27.3.2 Two currents in one direction

−−−+++electrons go left, holes go rightboth currents add
Electrons and holes move opposite ways, but both currents add
I = Ie + Ih
I = eA(neve + nhvh)
σ = e(neμe + nhμh)
  1. Equal concentrations in n-type and p-type: the n-type carries more current, as electrons are more mobile.
TEMPERATURE

27.3.3 Metal against semiconductor

Tρmetalsemiconductor
Resistivity with temperature
On heatingMetalSemiconductor
Carriersno real changeincrease sharply
Collisionsincreaseincrease
Resistanceincreasesdecreases
Conductivitydecreasesincreases
Temp. coefficientpositivenegative
  1. The difference arises from the change in the number of carriers with temperature.
  2. On cooling, the resistance of Cu falls and that of Si or Ge rises.
  3. In a circuit with a semiconductor in series, heating raises the current.
ni ∝ T3 ÷ 2 e−Eg ÷ 2kT
  1. ni rises very quickly with T. Heating adds electrons and holes equally.
  2. Ge conducts better than Si at room temperature, as its gap is smaller.
JEE · NEET

Corner

Mobility and resistivity
μ = vdE
σ = e(neμe + nhμh)
ρ = 1σ
  1. μ unit: m2V−1s−1.
  2. Electrons are more mobile than holes: μe > μh.
  3. n-type: σ ≈ neeμe. p-type: σ ≈ nheμh.
  4. Current ratio: IeIh = nevenhvh
Fermi level
  1. Intrinsic: in the middle of the gap.
  2. n-type: near the conduction band.
  3. p-type: near the valence band.
  4. Metal: inside the conduction band.
  5. Heavier doping moves it further towards that band.
Practise PYQs on this topicIntrinsic & Extrinsic Semiconductors · 67 questions with solutions
04
CONCEPT

Depletion Layer & Biasing

In one line
Joining p and n creates a thin charged layer with a built-in barrier. Forward bias lowers it and reverse bias raises it, so a diode conducts one way.
FORMATION

27.4.1 How the depletion layer forms

  1. Electrons are plenty in n and holes are plenty in p.
  2. Carriers diffuse across, because of this concentration difference.
  3. They leave behind fixed ions: + on the n side, − on the p side.
  4. This layer of immobile ions has no free carriers: the depletion layer.
pn−+++−−−+++−−−+++−−depletion layerE
Field E points from n to p, opposing further diffusion
BARRIER

27.4.2 Potential barrier

  1. The two ion layers create a barrier potential VB; the n side is at the higher potential.
  2. Ge: VB ≈ 0.3 V. Si: VB ≈ 0.7 V.
  3. VB depends on the material, doping and temperature.
  4. Width of the layer ≈ 1 μm, and it shrinks with heavier doping.
E = VBd
PotentialpnCharge−+pnField |E|max at junctionpn
Across the junction, unbiased
CURRENTS

27.4.3 Diffusion and drift

  1. Diffusion current: majority carriers, from p to n.
  2. Drift current: minority carriers pushed by E, from n to p.
  3. Unbiased: the two are equal, so net current is zero.
  4. Forward biased: diffusion is larger than drift.
FORWARD BIAS

27.4.4 p to +, n to −

pn+−barrier falls, layer thin
  1. Depletion layer becomes thinner and the barrier falls.
  2. Current rises sharply above the knee voltage (Ge 0.3 V, Si 0.7 V).
  3. Resistance is low: about 10 to 25 Ω.
REVERSE BIAS

27.4.5 p to −, n to +

pn+−barrier rises, layer wide
  1. Depletion layer becomes wider and the barrier rises.
  2. Only a tiny μA current flows, due to minority carriers.
  3. Resistance is very high: about 105 Ω.
READING A FIGURE

27.4.6 Is it forward biased?

  1. Compare potentials at the two ends. Arrow side higher than bar side: forward.
  2. Only the difference matters: +5 V and +3 V across a diode is forward by 2 V if the arrow side is at +5 V.
  3. Both negative also works: −2 V on the arrow side and −5 V on the bar side is forward.
I-V CURVE

27.4.7 One-way device

VI (mA)kneereverse: μAbreakdown
Characteristic of a p-n junction diode
BREAKDOWN

27.4.8 Large reverse voltage

  1. Current suddenly increases at the breakdown voltage.
  2. Zener breakdown: heavy doping, strong field breaks bonds directly.
  3. Avalanche breakdown: light doping, fast carriers knock out more carriers in a chain.
  4. An ordinary diode is damaged here; a Zener is built for it.
USES

27.4.9 What a diode can and cannot do

  1. It can rectify, give light (LED), detect light and give solar power.
  2. It cannot amplify an a.c. signal: that needs a transistor.
  3. A device that passes 10 mA one way and almost none the other way is a p-n junction.
JEE · NEET

Corner

Dynamic resistance
rd = ΔVΔI
  1. Take ΔV and ΔI from the I-V graph, near the given point.
  2. Read ΔV over a small ΔI: the curve is steeper at higher V, so rd is smaller there.
  3. It is not V ÷ I, which gives the static resistance.
Diode equation
I = Is(eeV ÷ kT − 1)
  1. Is = reverse saturation current.
  2. Forward: current rises exponentially.
  3. Reverse: I ≈ −Is.
Unequal doping
  1. Equal charge lies on both sides of the junction.
  2. So the depletion layer goes deeper into the lightly doped side.
Energy across the barrier
½mv2 (p side) = ½mu2 (n side) − eVB
  1. An electron crossing from n to p loses kinetic energy eVB.
Practise PYQs on this topicP-N Junction Diode · 130 questions with solutions
05
CONCEPT

Diode Circuits

In one line
First decide which diodes are ON and which are OFF. Replace them with a wire or a break, then solve an ordinary circuit.
IDEAL DIODE

27.5.1 A one-way switch

Forward biasclosed switchReverse biasopen switch
Ideal diode as a switch
BiasResistanceReplace by
Forwardzerowire
Reverseinfiniteopen break
METHOD

27.5.2 Solving in three steps

  1. Trace the current direction from the + of the battery.
  2. A diode pointing along it is ON. Against it is OFF, so remove that branch.
  3. Apply Ohm’s law to what is left.
NON-IDEAL

27.5.3 Knee voltage and forward resistance

  1. A silicon diode drops about 0.7 V when ON. Germanium drops about 0.3 V.
  2. If a forward resistance is given, add it in series.
I = E − VDR + rf
  1. Safe current limit I: minimum R = (E − VD) ÷ I.
  2. A diode power rating P gives Imax = P ÷ VD.
PARALLEL BRANCHES

27.5.4 One diode in each branch

+−ED₁R₁D₂R₂
Here D1 conducts and D2 is off for this polarity
  1. Check each branch separately.
  2. The reverse-biased branch carries zero current.
  3. Two opposite diodes in parallel: one is always ON, so the path always conducts.
RESISTANCE AB

27.5.5 Ratio questions

  1. Redraw the network once with the diode as a wire and once with a break.
  2. Find RAB both ways, and then the ratio.
POTENTIALS

27.5.6 Diode between two voltages

  1. Current through a diode with ends at V1 and V2 needs arrow side higher.
  2. I = (V1 − V2) ÷ R; it is zero if the bar side is higher.
  3. With two batteries, use the net emf: adding if they aid, subtracting if they oppose.
JEE · NEET

Corner

Square or ac input
  1. Work out the diode state separately in each half cycle.
  2. When OFF, the output across a series resistor is zero.
  3. With a 0.6 V or 0.7 V drop, the output peak falls by that drop.
Clipper
  1. A diode across the output, in series with a battery V, clips the wave at about V.
  2. Two opposite diodes clip both halves.
Diode with RC
  1. Capacitor branch in steady state: no current, so treat it as an open circuit.
  2. Find the time constant with the path the discharge really takes: τ = RpathC.
  3. A reverse-biased diode blocks that path.
Practise PYQs on this topicP-N Junction Diode · 130 questions with solutions
06
CONCEPT

Rectifiers & Filters

In one line
A diode passes only one half of a.c., so the output is one-way but pulsating. A filter and a regulator then smooth it to steady d.c.
HALF-WAVE

27.6.1 One diode

DRinputoutput
Output only in the half where D is forward biased
  1. Positive half cycle: diode ON, output appears.
  2. Negative half cycle: diode OFF, no output.
  3. Output frequency = input frequency, f.
  4. Output pulses per second = N for N Hz input.
Idc = I0π,   Irms = I02
Vdc = V0π
FULL-WAVE

27.6.2 Centre-tap, two diodes

D₁D₂Rinputoutput
D1 and D2 conduct in alternate half cycles
  1. Positive half: D1 ON, D2 OFF. Negative half: D2 ON, D1 OFF.
  2. Current through the load is in the same direction both times.
  3. Output frequency = 2f. For 50 Hz mains the ripple is 100 Hz.
  4. Each diode gets half the secondary voltage.
Idc = 2I0π,   Irms = I0√2
BRIDGE

27.6.3 Four diodes, no centre tap

D₁D₄D₃D₂R
Two diodes conduct in each half cycle
  1. In each half cycle, two diodes in series conduct and two are OFF.
  2. Output is the same as full-wave, at 2f.
COMPARE

27.6.4 Half-wave and full-wave

Half-waveFull-wave
Diodes12 (bridge: 4)
Output frequencyf2f
Ripple factor1.210.48
Max efficiency40.6%81.2%
PIVV02V0 (bridge: V0)
  1. ηfull = 2ηhalf.
  2. PIV is the largest reverse voltage a diode must bear.
FILTER

27.6.5 Removing the ripple

after filterafter regulator
Filter and regulator smooth the output
  1. A capacitor goes in parallel with the load. It charges at the peaks and discharges in between.
  2. A choke (inductor) goes in series with the load.
  3. A π-filter gives the best ripple control.
  4. The capacitor removes the a.c. ripple, not the diodes or the transformer.
POWER SUPPLY

27.6.6 Order of the blocks

TransformerRectifierFilterRegulator
From a.c. mains to constant d.c.
  1. Correct order: rectifier, then filter, then voltage regulator.
Practise PYQs on this topicRectifiers & Filters · 20 questions with solutions
07
CONCEPT

Zener Diode

In one line
A heavily doped diode made to work in reverse breakdown. Its voltage stays fixed at VZ while its current changes, so it steadies a supply.
BASICS

27.7.1 Structure and working

  1. Both p and n are heavily doped, so the depletion layer is narrow.
  2. The narrow layer gets a very strong field, about 5 × 106 V m−1.
  3. That field pulls electrons out of bonds: Zener breakdown.
  4. It is not damaged unless its power rating is crossed.
  5. In forward bias, it acts as an ordinary diode.
VI−VZV stays fixedas I rises
The steep reverse part is what regulates
REGULATOR

27.7.2 How it is connected

VinRIZRLI = IZ + IL
Series R, Zener in reverse, in parallel with the load
  1. Connected in reverse bias and in parallel with the load.
  2. Series resistor R takes up the extra voltage.
  3. If Vin rises, IZ rises, the drop across R rises, and VL stays at VZ.
SOLVING

27.7.3 Standard route

VL = VZ
I = Vin − VZR
IL = VZRL
IZ = I − IL
  1. Check first: without the Zener, is the voltage across RL more than VZ?
  2. If not, the Zener stays OFF, IZ = 0, and it is a plain potential divider.
POWER RATING

27.7.4 Safe limits

IZ(max) = PVZ
Rmin = Vin(max) − VZIZ(max)
  1. Take the highest input voltage when finding the minimum R.
  2. Power in the Zener = VZIZ.
Practise PYQs on this topicSpecial Purpose Diodes · 97 questions with solutions
08
CONCEPT

LED, Photodiode & Solar Cell

In one line
The LED turns current into light in forward bias. The photodiode (reverse bias) and solar cell (no bias) turn light into current.
LEDPhotodiodeforward biasreverse bias
Arrows leave an LED and enter a photodiode
LED

27.8.1 Light emitting diode

  1. A heavily doped p-n junction, always used in forward bias.
  2. Electrons and holes recombine and release energy as photons.
  3. Photon energy is equal to or slightly less than Eg.
  4. Visible light needs Eg from about 1.8 eV to 3 eV.
λ = hcEg = 1240Eg (eV) nm
VIredgreenblue
Larger Eg means a larger knee voltage
MaterialLight
GaAs, AlGaAsinfrared
GaAsPred, orange, yellow
GaPgreen
ZnSe, GaNblue
  1. Advantages: low voltage, low power, long life, fast switching.
  2. Brightness can be controlled by the current, and colours do not fade.
  3. Intensity rises with current up to a limit, then falls.
  4. To protect an LED, use a series resistor.
PHOTODIODE

27.8.2 Light detector

  1. Used in reverse bias. Light with hν ≥ Eg makes electron-hole pairs.
  2. Reverse current depends on light intensity.
  3. Why reverse? The fractional change in minority carriers is large, so the change in current is easy to measure.
  4. Reverse current rises with intensity, due to the extra minority carriers.
λmax = hcEg
  1. Only λ < λmax can be detected.
  2. Eg = 2.8 eV: λmax ≈ 4430 Å. So 4000 Å is detected, but 6000 Å is not.
SOLAR CELL

27.8.3 Photovoltaic device

  1. No external bias. It generates emf when light falls on it.
  2. Three steps: generation of pairs, separation by the junction field, collection.
  3. Band gap should be between 1.0 eV and 1.8 eV.
  4. Top layer (p) is thin, so that light reaches the junction.
VIIscVoc4th quadrant
Curve lies in the 4th quadrant
WHICH DEVICE?

27.8.4 Reading the graph

DeviceBiasI-V clueUse
Rectifier diodeforward1st quadrant kneerectifier
Zenerreverse3rd quadrant, verticalregulator
LEDforward1st, by colourlight source
Photodiodereverse3rd, by intensitylight detector
Solar cellnone4th quadrantelectric power
JEE · NEET

Corner

Photodiode graph
Ireverse VμAI₁I₂I₃
I3 > I2 > I1: larger intensity gives a larger reverse current
  1. Reverse current depends on intensity, and hardly on the reverse voltage.
  2. It saturates at a small reverse voltage.
Practise PYQs on this topicSpecial Purpose Diodes · 97 questions with solutions
09
CONCEPT

Transistor Structure & Current Relations

In one line
Two p-n junctions back to back. A small base current controls a large collector current: IE = IB + IC.
STRUCTURE

27.9.1 Three regions

npnECBBCEnpnpnpECBBCEpnp
The emitter arrow shows the conventional current
RegionSizeDopingJob
Emittermoderateheavysupplies carriers
Basethinnestlightpasses them on
Collectorlargestmoderatecollects them
  1. Heavily doped: emitter. Lightly doped: base.
  2. Two diodes back to back: npn has both arrows pointing away from the base.
  3. But two separate diodes cannot act as a transistor, because the base must be thin.
ACTIVE MODE

27.9.2 Biasing for amplification

  1. Emitter-base junction: forward biased.
  2. Collector-base junction: reverse biased.
  3. npn conducts with collector + and emitter − with respect to the base.
ModeE-BC-BActs as
Activeforwardreverseamplifier
Saturationforwardforwardclosed switch
Cut-offreversereverseopen switch
WORKING

27.9.3 Where the carriers go

En⁺BCn5% or less95% or moreelectrons
Only a few electrons are lost in the thin base (npn)
  1. npn: emitter injects electrons into the base. pnp: emitter injects holes into the base.
  2. Those are minority carriers in the base.
  3. Base is thin and lightly doped, so few recombine.
  4. Most pass on to the collector.
IE = IB + IC
  1. If x% of electrons reach the collector: IC = x% of IE.
  2. Number of electrons per second × e = current.
CURRENT GAINS

27.9.4 α and β

α = ICIE
β = ICIB
  1. α is slightly less than 1, usually 0.95 to 0.99.
  2. β is large, usually 20 to 200.
  3. For small changes: βac = ΔIC ÷ ΔIB, at constant VCE.
RELATION

27.9.5 Convert one into the other

β = α1 − α
α = β1 + β
1α − 1β = 1
α0.950.960.980.99
β19244999
  1. Given β and IE: IC = αIE = [β ÷ (1 + β)] IE.
  2. Collector voltage drop gives IC = VR ÷ RC, and then IB = IC ÷ β.
Practise PYQs on this topicJunction Transistor · 131 questions with solutions
10
CONCEPT

CE Amplifier, Switch & Oscillator

In one line
In common emitter mode a small input signal gives a large output, 180° out of phase. Voltage gain is βRL ÷ Ri.
CE AMPLIFIER

27.10.1 Circuit and action

BCERL+−VCCinputoutput, 180° shift
Input between base and emitter, output between collector and emitter
  1. Input is between base and emitter. Output is between collector and emitter.
  2. Base-emitter junction forward biased, collector-base reverse biased.
  3. Operated in the active region.
  4. Input impedance is low and output impedance is high.
VCE = VCC − ICRL
  1. When IB rises, IC rises and VCE falls. That is the 180° phase reversal.
  2. An output signal for Vi = V0 cos(ωt) is AVV0 cos(ωt + π).
GAINS

27.10.2 Three formulas to know

AV = ΔVoΔVi = β RLRi
AP = βAV = β2 RLRi
gm = ΔICΔVBE = βRi
  1. Ratio: APAV = β.
  2. Output voltage: Vo = AVVi.
  3. Base current: Ib = Vi ÷ Ri. Collector current: Ic = βIb.
  4. Using AV and impedances: AP = AV2 Ri ÷ Ro.
CONFIGURATIONS

27.10.3 CB, CE, CC

CBCECC
Current gainα < 1β, highhigh
Voltage gainmediumhighbelow 1
Power gainmediumhighestlow
Phase0°180°0°
  1. Common base: output in phase with the input.
  2. CE is most used: it gives the highest power gain.
CHARACTERISTICS

27.10.4 CE graphs

VBEIB0.7 V
Input: IB with VBE, at fixed VCE
  1. Input resistance is about 1 kΩ. Output resistance is much larger.
SWITCH

27.10.5 Cut-off and saturation

ViVocut-offactivesaturation
Vo against Vi for a base-biased transistor
  1. Switch: cut-off (OFF) and saturation (ON).
  2. Amplifier: the straight active region.
OSCILLATOR

27.10.6 a.c. with no input

AmplifierLC feedbackac out
Amplifier + positive feedback
  1. It generates a.c. with no external input, using a tank circuit, amplifier and positive feedback.
  2. Part of the output power returns to the input in phase.
f = 12π√(LC)
  1. Condition: if a fraction k of output feeds back, then kAV = 1.
  2. Damped LC swings are kept steady by this feedback, giving a constant-amplitude wave.
JEE · NEET

Corner

Current gain from a graph
VCEICIB rising ↑
Output characteristics
βac = (ΔICΔIB)VCE
  1. Read ΔIC between two IB curves at the same VCE.
  2. Output resistance ro = (ΔVCEΔIC) at fixed IB; it is large.
  3. Input resistance ri = (ΔVBEΔIB) at fixed VCE; it is small.
Biasing a circuit
  1. Input loop: VBB = IBRB + VBE.
  2. Output loop: VCC = ICRC + VCE.
  3. Saturation starts when VCE ≈ 0, so IC ≈ VCC ÷ RC.
Testing with a multimeter
  1. Base-emitter and base-collector each act as a diode.
  2. npn: low resistance with + on the base. pnp: low resistance with − on the base.
  3. No conduction between C and E in either direction.
Practise PYQs on this topicJunction Transistor · 131 questions with solutions
11
CONCEPT

Basic Gates, NAND, NOR, XOR

In one line
A logic gate has one output for its digital inputs. Three basics, OR, AND and NOT, build all the others. Learn the one master truth table below.
DIGITAL

27.11.1 Two states only

AnalogueDigital10
Analogue is continuous; digital has only 0 and 1
  1. 1 = high, on, true. 0 = low, off, false.
  2. Boolean algebra uses three operations: OR (+), AND (·), NOT (bar).
BASIC GATES

27.11.2 OR, AND, NOT

OR: parallelABAND: seriesAB
OR is switches in parallel, AND is switches in series
ABY
OR   Y = A + B
ABY
AND   Y = A · B
AY
NOT   Y = A
  1. OR: output 1 if either or both inputs are 1.
  2. AND: output 1 only if all inputs are 1.
  3. NOT: output is the opposite of the input.
DERIVED GATES

27.11.3 NAND, NOR, XOR, XNOR

ABY
NAND   Y = A · B
ABY
NOR   Y = A + B
ABY
XOR   Y = AB + AB
ABY
XNOR   Y = AB + A B
TRUTH TABLE

27.11.4 Master table

ABORANDNANDNORXORXNOR
00001101
01101010
10101010
11110001
  1. NAND: 0 only when all inputs are 1.
  2. NOR: 1 only when all inputs are 0.
  3. XOR: 1 when inputs are different; 1 for an odd number of 1s.
  4. XNOR: 1 when inputs are the same.
QUICK RECOGNITION

27.11.5 Two clues give the gate

ClueGate
(0, 0) gives 1 and (1, 0) gives 1NAND
(0, 0) gives 1 and (1, 0) gives 0NOR
(1, 0) gives 1 and (0, 0) gives 0OR or XOR
(1, 1) gives 0 and (1, 0) gives 1NAND or XOR
SHORTED INPUTS

27.11.6 Two inputs joined

  1. NAND with A = B gives NOT.
  2. NOR with A = B gives NOT.
  3. AND or OR with A = B just gives A.
GATE AFTER GATE

27.11.7 NOT at the output

CombinationResult
AND then NOTNAND
OR then NOTNOR
NAND then NOTAND
NOR then NOTOR
XOR then NOTXNOR
BOOLEAN RULES

27.11.8 For simplifying

RuleResult
A + 0, A + 1A, 1
A · 0, A · 10, A
A + A, A · AA, A
A + A, A · A1, 0
A + ABA
A + ABA + B
A + B = A · B
A · B = A + B
  1. These two are De Morgan’s theorems. A double bar cancels.
Practise PYQs on this topicLogic Gates · 192 questions with solutions
12
CONCEPT

Gate Circuits & Boolean Output

In one line
Label the output of every gate from left to right, then simplify with De Morgan. This is the most asked idea of the chapter.
METHOD 1

27.12.1 Finding Y for given inputs

  1. Write the inputs on the circuit.
  2. Find each gate’s output in turn, from left to right.
  3. Write the value on each wire. Never skip a gate.
METHOD 2

27.12.2 Which gate is it equivalent to?

  1. Try all four inputs: (0, 0), (0, 1), (1, 0), (1, 1).
  2. Build the Y column.
  3. Match it with the master truth table.
Y columnGate
0 1 1 1OR
0 0 0 1AND
1 1 1 0NAND
1 0 0 0NOR
0 1 1 0XOR
1 0 0 1XNOR
METHOD 3

27.12.3 Boolean expression

  1. Write the expression at each gate, using A, B and bars.
  2. Break long bars with De Morgan’s theorems.
  3. Simplify using the rules of Concept 11.
UNIVERSAL GATES

27.12.4 NAND alone can build everything

AĀNOTABA·BANDABA + BOR
NOT, AND and OR from NAND gates only
BuildNAND circuitResult
NOTone, inputs joinedA
ANDNAND then NOTA · B
ORNOT each input, then NANDA + B
  1. NOR is the other universal gate.
BuildNOR circuitResult
NOTone, inputs joinedA
ORNOR then NOTA + B
ANDNOT each input, then NORA · B
  1. Output of AND into NOT, or a bubble at a gate’s input, means the signal is inverted.
  2. NOT each input, then AND: A · B = A + B, so it is a NOR gate.
  3. NOT each input, then OR: A + B = A · B, so it is a NAND gate.
XOR

27.12.5 From basic gates

ABY
Y = A̅B + AB̅
MISSING GATE

27.12.6 Find G from the truth table

  1. Find the two inputs arriving at G from the truth table rows.
  2. Write them beside the required Y.
  3. Match that small table with the master table.
JEE · NEET

Corner

Waveform questions
  1. Split the time axis wherever A or B changes.
  2. Read A and B in each slot and use the truth table.
  3. Draw Y slot by slot.
Three or more inputs
  1. Number of rows in a truth table = 2n.
  2. XOR of many inputs is 1 when an odd number of inputs are 1.
Practise PYQs on this topicLogic Gates · 192 questions with solutions
EXAM-DAY CARD

Just see this before the exam

SemiconductorElectronics
nenh = ni2
mass action
λ = hcEg
band gap, LED
I = Vin − VZR
Zener
fout = f, 2f
half, full wave
β = α1 − α
transistor
A · B = A + B
De Morgan
FORMULA SHEET

Whole chapter on one page

Bands

Eg: Si 1.1, Ge 0.7 eV

insulator > 3 eV

λmax = 1240 ÷ Eg nm

0 K: pure Si is an insulator

Doping

n-type: P, As, Sb

p-type: B, Al, In

nenh = ni2

Both stay neutral

Temperature

semiconductor: R falls

metal: R rises

σ = e(neμe + nhμh)

μe > μh

Junction

forward: thin, low R

reverse: wide, high R

VB: Si 0.7, Ge 0.3 V

E = VB ÷ d

Rectifier

half: f, full: 2f

η: 40.6%, 81.2%

ripple: 1.21, 0.48

Vdc = V0 ÷ π, 2V0 ÷ π

Zener

reverse, parallel to load

I = (Vin − VZ) ÷ R

IZ = I − IL

IZ(max) = P ÷ VZ

Opto

LED: forward

photodiode: reverse

solar cell: no bias, 4th quad.

solar Eg: 1.0 to 1.8 eV

Transistor

IE = IB + IC

α = IC ÷ IE, β = IC ÷ IB

AV = βRL ÷ Ri

AP = βAV, phase 180°

Gates

NAND: 1 1 1 0

NOR: 1 0 0 0

XOR: 0 1 1 0

Universal: NAND, NOR

TOP MISTAKES

Avoid these = easy marks

MISTAKE ✗

n-type crystal is negative

Depletion widens in forward bias

Zener in forward bias, in series

Output of CE amplifier is in phase

CORRECT ✓

n-type and p-type are neutral

Forward thins it; reverse widens it

Reverse bias, parallel with the load

It is 180° out of phase