lecture 5: diodes and transistors
TRANSCRIPT
Invention of transistor and birth of modern electronics
K.K. Gan 1
Lecture 5: Diodes and Transistors
L5: Diodes and Transistors
John Bardeen, William Shockley andWalter Brattain at Bell Labs, 1948.
Vacuum tube
1st transistor
Transistor size now: 5 nm
Diodes:l What do we use diodes for?
u protect circuits by limiting the voltage (clipping and clamping)u turn AC into DC (voltage rectifier)u voltage multipliers (e.g. double input voltage)u non-linear mixing of two voltages (e.g. amplitude modulation)
l Diodes (and transistors) are non-linear device: V ≠ IR!
K.K. Gan 2
anode cathode
Positive current flow
L5: Diodes and Transistors
Diode conducts whenV anode > V cathode
K.K. Gan 3
u Diode is forward biased when Vanode > Vcathode.n Diode conducts current stronglyn Voltage drop across diode is (almost) independent of diode current n Effective resistance (impedance) of diode is small
u Diode is reverse biased when Vanode < Vcathode. n Diode conducts current very weakly (typically < µA)n Diode current is (almost) independent of voltage, until breakdown n Effective resistance (impedance) of diode is very large
u Current-voltage relationship for a diode:
n �diode�, �rectifier�, or �Ebers-Moll� equationn Is = reverse saturation current (typically < µA)n k = Boltzmann's constant, e = electron charge, T = temperaturen At room temperature, kT/e = 25.3 mV,
I = Ise39V if V > 0I =-Is if V < 0.
u Effective resistance of forward biased diode (V > 0):dV/dI = (kT /e)/I ≈ 25 W/I, I in mA
€
I = Is (eeV /kT −1)
L5: Diodes and Transistors
K.K. Gan 4
l What's a diode made out of?u Semiconductors!u The energy levels of a semiconductor can be modified
_ a material (e.g. silicon or germanium) that is normally an insulator will conduct electricity.u Energy level structure of a semiconductor is complicated, requires quantum mechanical treatment.
Material Example Resistivity (W-cm)Conductor Copper 1.56x10-6
Semiconductor Silicon 103-106
Insulator Ceramics 1011-1014
Fermi level
valence band
conduction band
0
semiconductor
Fermi level
valence band
conduction band
0
metal
Fermi level
valence band
conduction band
0
crystalline insulator
EF
gapE
E E E
gapE
gapE
E
EF
F
L5: Diodes and Transistors
K.K. Gan 5
l How do we turn a semiconductor into a conductor?u Dope it!u Doping is a process where impurities are added to the semiconductor to lower its resistivityu Silicon has 4 electrons in its valence levelu We add atoms with 3 or 5 valence shell electrons to a piece of silicon.
n Phosphorous, Arsenic, Antimony have 5 valence electronsn Boron, Aluminum, Indium have 3 valence electrons
l N type silicon:u Adding atoms which have 5 valence electrons makes the silicon more negative.u The majority carriers are the excess electrons.
l P type siliconu Adding atoms which have 3 valence electrons makes the silicon more positive.u The majority carriers are “holes�.
n A hole is the lack of an electron in the valence shell.
+4 +4Si
Normal Silicon P Type Silicon
+4 +3Si B
+4 +5Si As
N Type Silicon
Si
L5: Diodes and Transistors
l How do we make a diode?u Put a piece of N type silicon next to a piece of P type silicon.
l Unbiased diode
l Forward biased diode
l Reversed biased diode
K.K. Gan 6
Forward Current
Silicon + Boron Silicon + Arsenic
Depletion zone
y mobile electronÅ mobile hole- fixed ionized acceptor atom+ fixed ionized doner atom
L5: Diodes and Transistors
Very small depletion zone
Very large depletion zone
Very small leakage current
Barrier due to depletion region very smallè large current can flow
Barrier due to depletion region very largeè small leakage current
l diode characteristicsu reverse voltage and currentu peak current and voltageu capacitanceu recovery timeu sensitivity to temperature
l types of diodes u junction diode (ordinary type)u light emitting (LED)
n “direct band gap” material: both holes and electrons have the same momentumr electron falls into a lower energy level when it meets a hole_ energy is released in the form of a photon (light)
u photodiodes (absorbs light, gives current)u Schottky (high speed switch, low turn on voltage, Al. on Silicon) u zener (special junction diode, use reversed biased)u tunnel (I vs. V slightly different than jd's, negative resistance!) u veractor (junction capacitance varies with voltage)
K.K. Gan 7L5: Diodes and Transistors
K.K. Gan 8
l Examples of Diode Circuitsu Simplest Circuit: What's voltage drop across diode?
u In diode circuits we still use Kirchhoff�s law:
u For this circuit I vs. VD is a straight line with the following limits:
n The straight line (load line) is all possible (VD, I) for the circuit.n The diode curve is all possible (VD, I) for the diode.n The place where these two lines intersect gives the actual voltage and current for this circuit.
VDD =VD + IRI =VDD /R−VD /R
VD = 0 ⇒ I =VDD / RVD =VDD ⇒ I = 0
L5: Diodes and Transistors
l Diode Protection (clipping and clamping)u The following circuit will get rid of the negative part of the input wave.u When the diode is negative biased, no current can flow in the resistor, so Vout = 0.
K.K. Gan 9L5: Diodes and Transistors
d1 d2
V2V1
l For more protection consider the following "clipping" circuit: for silicon Vd ≈ 0.6-0.7 V
u If Va > Vd1 + V1 , then diode 1 conducts so Vout ≤ Vd1 + V1.u If Va < - Vd2 – V2 , then diode 2 conducts so Vout ≥ - Vd2 – V2 .u If we assume Vd1 = Vd2 ≈ 0.7 V and V1 = 0.5, V2 = 0.25 V,
n for Vin > 1.2 V, d1 conductsn for Vin < -0.95 V, d2 conducts
K.K. Gan 10L5: Diodes and Transistors
l Turning AC into DC (rectifier circuits)u Consider the following circuit with 4 diodes: full wave rectifier.
u In the positive part of Vin, diodes 2 and 3 conduct.u In negative part of the cycle, diodes 1 and 4 conduct.u This circuit has lots of ripple.
n We can reduce ripple by putting a capacitor across the load resistor.n Pick RC time constant such that: RC > 1/(60 Hz) = 16.6 msec.
o example: R = 100 W and C = 100 µF to reduce rippleK.K. Gan 11L5: Diodes and Transistors
K.K. Gan 12
Transistors:l Transistors are the heart of modern electronics (replaced vacuum tubes)
u voltage and current amplifier circuitsu low power and small size, can pack millions of transistors in mm2 (chips in cell phones/laptops)
l In this class we will only consider bipolar transistors.u Bipolar transistors have 3 leads: emitter, base, collectoru Bipolar transistors are two diodes back to back and come in two forms:
L5: Diodes and Transistors
Arrow is always on the emitter and is in the direction of positive current flow
n N material has excess negative charge (electrons).
n P material has excess positive charge (holes).
N
N
P
NPN
E
BIB
IC
IE
Base
IB
CCollector
Emitter
P
P
N
PNP
E
BIB
IC
IE
Base
IB
CCollector
Emitter
K.K. Gan 13
l Some simple rules for getting transistors to work1. For NPN (PNP) collector must be more positive (negative) in voltage than emitter.
2. Base-emitter and base-collector are like diodes:
_ For silicon transistors, VBE ≈ 0.6-0.7 V when transistor is on.
3. The currents in the base (IB), collector (IC) and emitter (IE) are related as follows:n always: IB + IC = IEn rough rule: IC ≈ IE , and the base current is very small (≈ 0.01 IC)n Better approximation uses 2 related constants, a and b.
m IC = bIBr b is called the current gain, typically 20-200
m IC = aIEr a typically 0.99
n Still better approximation:m uses 4 (hybrid) parameters to describe transistor performance (b = hfe)m when all else fails, resort to the data sheets!
4. Common sense: must not exceed the power rating, current rating etc. or else the transistor dies.
BC
EB
C
E
NPN PNP
L5: Diodes and Transistors
K.K. Gan 14
l Transistor Amplifiersu Transistor has 3 legs, one of them is usually grounded.u Classify amplifiers by what is common (grounded).
Properties of AmplifiersC E C B C C
Power gain Y Y YVoltage gain Y Y NCurrent gain Y N YInput impedance ≈ 3.5 kW ≈ 30 W ≈ 500 kWOutput impedance ≈ 200 kW ≈ 3 MW ≈ 35 WOutput voltage phase change 1800 none none
L5: Diodes and Transistors
K.K. Gan 15
l Biasing Transistors u For an amplifier to work properly it must be biased on all the time, not just when a signal is present.u �On� means current is flowing through the transistor (therefore VBE ≈ 0.6-0.7 V).u We usually use a DC circuit (R1 and R2 in the circuit below) to achieve the biasing.
l Calculating the operating (DC or quiescent) point of a Common Emitter Amplifier:
u We want to determine the operating (quiescent) point of the circuit.u This is a fancy way of saying what's VB, VE, VC, VCE, IC, IB, IE when the transistor is on, but Vin = 0.u The capacitors C1 and C2 are decoupling capacitors, they block DC voltages.u C3 is a bypass capacitor that provides the AC ground (common).
L5: Diodes and Transistors
K.K. Gan 16
l Crude Method for determining operating point when no spec sheets are available.a. Remember IB = IC/b and b ≈ 100 (typical value).
_ we can neglect the current into the base since it’s much smaller than IC or IE.b. If transistor is �working� then VBE ≈ 0.6-0.7 V (silicon transistor).c. Determine VB using R1 and R2 as a voltage divider
d. Find VE using VB - VE = 0.6 V Þ VE = 3 V.e. IE = VE / R4 = 3V/1.2 kW = 2.5 mA.f. Use the approximation IC = IE Þ IC = 2.5 mA.g. VC = 15 V - IC R3 = 15 - 2.5 mA ´ 2.5 kW = 8.75 V.h. VCE = 8.75 - 3 = 5.75 V.
_ The voltages at every point in the circuit are now determined!!!
€
VB = 15 V R2
R1 + R2= 3.6 V
L5: Diodes and Transistors
K.K. Gan 17
l Spec Sheet or Load line method _ Much more accurate than previous method.u Load line is set of all possible values of IC vs. VCE for the circuit in hand.u Assume same circuit as previous page and we know R3 and R4. u If we neglect the base current, then
u The above is a straight line in (IC, VCE) space. _ This line is the load line.
u Assume R3 + R4 = 3.75 kW, then we can plot the load line from the two limits:IC = 0, VCE = 15 V and VCE = 0, IC = 15 V/ 3.75 kW = 4 mA€
15 = IC(R3 + R4 )+VCEIC = 15 /(R3 + R4 )−VCE /(R3 + R4 )
L5: Diodes and Transistors
Spec. Sheet of 2N3904 transistor:IC vs. VCE for various IB
K.K. Gan 18
u We want the operating point to be in the linear region of the transistor_ we want the output to be a linear representation of the input.
u Pick the operating point such that for reasonable changes in VCE, IC_ the circuit stays out of the non-linear region and has IC > 0. n IC must be > 0 or transistor won’t conduct current in the �correct� direction!n If circuit is in nonlinear region then Vout is a distorted version of Vin.n If circuit is in region where IC = 0 then Vout is �clipped�.
u If we pick IC = 2.5 mA as operating pointn VCE > 0.5 is the linear region.n Usually pick IC to be in the middle of the linear region._ amp will respond the same way to symmetric (around operating point) output voltage swings.
u If IC = 2.5 mA and IB = 10-11 µA_ VCE = 5-6 V
u Can now choose the values for resistors (R1, R2) to give the above voltages and currents.
L5: Diodes and Transistors
K.K. Gan 19
l Current Gain Calculation from Spec Sheetu We define current gain as:
G = ∆Iout / ∆Iinn This quantity is often called b.n In our example IB is the input and IC is the output.
u If we are in the linear region (VCE > 0.5 V) and the base current changes from 5 to 10 µA_ the collector current (IC) changes from ~ 1.1 to 2.2 mA._ G = (2.2 - 1.1 mA)/(10 - 5 µA) ≈ 200
u Like almost all transistor parameters, the exact current gain depends on many parameters:n frequency of input voltagen VCEn IC
n IB
L5: Diodes and Transistors