Professional Documents
Culture Documents
Electronics I - Diode Circuits: Fall 2017
Electronics I - Diode Circuits: Fall 2017
Electronics I -
Diode Circuits
p n
A K
Fall 2017
talarico@gonzaga.edu 1
Diode Circuits
• Applications:
– Rectifiers
– Limiting Circuits (a.k.a. clippers)
– Detectors
– Level Shifters (a.k.a. clampers)
– Regulators
– Voltage doublers
– Switches
talarico@gonzaga.edu 2
Warm-up examples
Example #1: diode and resistor in series source: Razavi
(e)
The input/output characteristics with ideal and constant-voltage models yields two different break points.
Applying an inappropriate diode’s model can be misleading !
talarico@gonzaga.edu 3
Warm-up examples
Example #2: diode and resistor in series (half-wave rectifier)
source: Razavi
1
Vin < 0 (or Vin < Vγ) Vin
Vγ
talarico@gonzaga.edu 4
Warm-up examples
Example #3: diode implementation of OR gate
source: Razavi
VA (V) VB (V) Vout (V) D1 D2
0 0 0 OFF OFF
0 5 ≈5 OFF ON
5 0 ≈5 ON OFF
5 5 ≈5 ON ON
talarico@gonzaga.edu 5
Warm-up examples
Example #4:
source: Razavi
When the diode is ON we can model the circuit as follow: If we prefer to use the ideal diode model
all we have to do is to assume VD,on=0
From the model of the circuit rather than VD,on=0.7V. We do not
is easy to see that if Vin < VD,on need a lot of deep thinking to get the
we cannot have current flowing associated I/O characteristic
through the diode => the diode
must be OFF Vout = Vin
slope
Vin −VD,on R2 R1
Vout = R2 +VD,on = Vin +VD,on
R1 + R2 R1 + R2 R1 + R2
R2
Vout = Vin
R1 + R2
4kΩ
6kΩ
10
I D1 = I R = = 1mA
4k + 6k
VR = I R × R = 1m × 6k = 6V
− +
−
−VD,on
When the diode is OFF, the circuit can be modeled as a voltage divider:
R1
Vout = Vin (straight line passing through the origin and with slope R1/(R1+R2)
R1 + R2
The break point between ON and OFF is when Vout = Vin + VD,on
R2 R2 R + R2
Vin +VD,on = Vin ⇒VD,on = − Vin ⇒ Vin = −VD,on 1
R1 + R2 R1 + R2 R2
talarico@gonzaga.edu 9
Warm-up examples
Example #8:
source: Razavi
− +
−
−VD,on
When the diode is OFF, the circuit can be modeled as a voltage divider:
R1
Vout = Vin (straight line passing through the origin and with slope R1/(R1+R2)
R1 + R2
The break point between ON and OFF is when Vout = Vin + VD,on
R2 R2 R + R2
Vin +VD,on = Vin ⇒VD,on = − Vin ⇒ Vin = −VD,on 1
R1 + R2 R1 + R2 R2
talarico@gonzaga.edu 10
Half-wave rectifiers
Rule of thumb
it is good practice to select a diode
source: Neamen with VBR≥1.5×PIV and IF,max ≥ 1.5xID,max
vI N1
=
vS N 2
Vγ
When the diode is ON
the max current flowing VS
through the diode is:
source: Sedra & Smith
VS −Vγ V vO
I D,max = ≅ S
R R
When the diode is OFF
the PIV across the diode
is: Vγ
PIV = VS
talarico@gonzaga.edu 11
Half wave rectifier as a signal strength indicator
source: Razavi Vout(t)
Vp
T
1 1 T /2 1V T /2 V
Vout,avg =
T
∫ Vout (t)dt = T ∫ Vp sin ωt dt = T ωp [−cosωt ]0 = πp
0 0
𝑉*
𝑉"#$,&'( =
2 2
talarico@gonzaga.edu 12
Half wave rectifier as a battery charger
source: Neamen
𝑉- > 𝑉0,1"'2134 + 𝑉6
ωT
• otherwise the battery is left alone (the diode is OFF all period T)
talarico@gonzaga.edu 13
Precision half-wave rectifier
source: Sedra & Smith
• a
PIV = −VSS
VO,max VI,max
I F,max = =
RL RL
• For the o.a. to start to operate and turn-on the diode, vI has to exceed only a negligibly
small voltage equal to Vγ/Ad
talarico@gonzaga.edu 14
Full-wave rectifiers
source: Sedra & Smith
v I= 2vS
source: Neamen
Vγ
VS
vO
VS −Vγ VS
I D,max = ≅
R R D1 D2 D1 D2 D1
ON ON ON ON ON
talarico@gonzaga.edu 15
Diode-bridge full wave rectifier
a.k.a. Grätz bridge
(a) when vS is positive,
D3 D1 and D2 are turned VX
ON
v I= (b) when vS is negative,
D3 and D4 are turned
ON
(a)
D4
In either case current flows
through R in the same
direction
2Vγ
VS
vO
(b)
source: Neamen
VS − 2Vγ VS
vD4 = vs− vD1 I D,max = ≅
vD3 = vD1+vO R R
vO = vs−2Vγ PIV = VS −Vγ
source: Sedra & Smith talarico@gonzaga.edu 16
Clippers (a.k.a. Limiters)
• The idea behind clippers is quite simple. We have already built one in the
past
Vin
Vin
Positive-cycle limiting circuit source: Razavi
talarico@gonzaga.edu 17
Negative-cycle clipping
−VB
VB −VB
source: Razavi
talarico@gonzaga.edu 18
Positive and negative cycle clipping
source: Razavi
talarico@gonzaga.edu 19
A very common clipper’s application
• Protection circuitry: keep the signals below certain thresholds
CMOS IC
source: Harris & Weste
Diode
Limiters
VDD
D1
Vin input pin VX
D2
R VX
source: Razavi
VB1=VDD VB2=0
talarico@gonzaga.edu 20
“Unconventional” clippers
VB−Vγ
−(VB−Vγ)
source: Millman
talarico@gonzaga.edu 21
Clippers with the battery in series
Assuming ideal diode model
source: Neamen
talarico@gonzaga.edu 22
Non-idealities in limiting circuits
source: Razavi
The clipping region is not exactly flat since as Vin increases, the currents through
diodes change, and so does the voltage drop.
talarico@gonzaga.edu 23
Zener diode source: Sedra & Smith
−VZT = −BV
VD,on vD
constant voltage = −IBV
Zener diode symbol I-V model of
breakdown region
K stands for knee
Often is convenient to
model the breakdown
region with a piece-wise
linear model: i
D
1 ⎛ ΔI Z ⎞
Q −IZT =⎜ ⎟
rZ ⎝ ΔVZ ⎠ @Q
talarico@gonzaga.edu 24
Zener diode
• A zener diode is a diode specifically manufactured to be be used in breakdown region.
The zener’s I-V curve in breakdown region is very steep (more than usual)
• Diode breakdown is normally not destructive, provided the power dissipated in the
diode is limited to a safe level
• The fact that the diode I/V characteristic in breakdown is almost a vertical line (just like
a battery) enables it to be used in voltage regulation (more to come soon !)
• There are two mechanism causing the behavior we have in breakdown region (…
despite the mechanism the end result is the same)
– Avalanche: occurs when the minority carriers swept by the electric field in depletion region have
enough kinetic energy to be able to break covalent bonds in atoms with which they collide
– Zener: occurs when the electric field in the depletion region increases to the point that it can tear
out a bound electron from its covalent bond
talarico@gonzaga.edu 25
Zener diode: data sheet example
On Semiconductor:
Zener Voltage Regulator with VZ,nom=2.4V
talarico@gonzaga.edu 26
Zener diode: data sheet example
ΘVZ
VZ,nom= 2.4V
talarico@gonzaga.edu 27
Zener diode: data sheet example
TJ = TA + PD × RΘJA
A device may get damaged also in the case the junction
temperature becomes too small (< −65 °C in our case)
talarico@gonzaga.edu 28
Clipping with Zener diodes
Basic idea: source: Neamen
Replacing
batteries with
Zener diodes
talarico@gonzaga.edu 29
More clipping with Zener diodes
• For large positive vI the diode DZ1 is forward biased and DZ2 is biased in zener region
(vI > Vz2 + 0.7)
• For large negative vI the diode DZ1 is biased in zener region and DZ2 is forward biased
(vI < −VZ1−0.7)
• In the range −(VZ1+0.7) < vI < VZ2+0.7 one of the diodes is in forward region and
the other one in reverse region (therefore vO=vI)
talarico@gonzaga.edu 30
Another application of clippers:
soft limiters
source: Razavi
cell phone far from base station cell phone near a base station
source: Hambley
talarico@gonzaga.edu 31
Detectors
Peak Detector source: Sedra & Smith
vO
vI
talarico@gonzaga.edu 32
Dissecting the peak detector a little more
source: Razavi
Note: the voltage across the diode (VD1) is just like Vin, only shifted down
talarico@gonzaga.edu 33
Detectors: AM demodulator
AM Demodulator
source: Neamen
Detector circuit
RC >> TC
period carrier
talarico@gonzaga.edu 34
Clampers (a.k.a. level shifters)
• Clampers shift the entire signal applied at the input by a DC level.
• In steady state, the output signal is an exact replica of the input waveform, but the
output signal is shifted by a DC value
• Common application:
talarico@gonzaga.edu 35
Positive Peaks Clamper
source: Neamen
vO = vI − vC
Assuming rf≅0 Ω
and Vγ=0 V
This is the “same” circuit of the peak detector, but now we take the output across the diode!
When the diode goes OFF there is The positive peaks of the output
no path to ground so the capacitor voltage are clamped at 0 V
cannot discharge: vC stays constant
D1 D1
at VM (so after T/4: vO = vI – VM)
ON OFF
Negative DC level
C gets charged
Level shifter with peak at -2VM
(at T/4 vC≈VM)
talarico@gonzaga.edu 36
Positive peaks clamper
D1 OFF D1 ON D1 OFF D1 ON
C1 blocks C1 charges C1 remains C1 already Vout = Vin −VC1
Vin=−6V DC very quickly charged at charged at
to VC1=4V VC1=4V VC1=4V
talarico@gonzaga.edu 37
Positive peaks clamper with Battery
source: Neamen The positive peaks of the
output voltage are clamped
at VB
steady state
(it takes T/4
to reach it)
steady state
(it takes T to
Superposition of + reach it)
talarico@gonzaga.edu 38
Positive peaks clamper with battery
• If we take the circuit we just analyzed, and reverse the polarity of the
battery we clamp the positive peaks of the signal to a negative voltage
value.
source: Hambley
The circuit is designed to have RC >> T
NOTE:
when vin is at +5V the diode is ON
and the cap is charged to VC=10V
talarico@gonzaga.edu 39
Negative peaks clamper
vC1
source: Razavi
D1 ON D1 OFF D1 ON
Vout = Vin −VC1
C1 charges C1 remains C1 already
very quickly charged at charged at
to VC1=−6V VC1=−6V VC1=−6V
talarico@gonzaga.edu 42
Negative peaks clamper with battery
• Example: This circuit clamps the negative peaks of an AC signal to +6V
source: Hambley
VB = 6 if we assume: Vγ ≈ 0V
or
vin = VP sin ωt
VB = 6.7 if we assume: Vγ ≈ 0.7V
VB
talarico@gonzaga.edu 43
Negative peaks clamper with battery
ideal diode
vin = VP sin ωt Vγ ≈ 0V
VB
VB = 6V
VB = −1V
Vp = 2V, fin=1KHz
talarico@gonzaga.edu 44
What about replacing batteries with Zeners ?
• It kind of works, but we need to keep in mind that (differently from what
happened with the limiters) here the zener must work in zener region at
all time. So it must be biased in zener region at all time !!
source: Hambley
when the vin is at 2V the diode is ON
and the cap charges at 2−5=−3V
−4.3V
Vγ=0.7V
5.3V
talarico@gonzaga.edu 46
Example: another clamper
source: Millman
talarico@gonzaga.edu 47
Example: another clamper
fin=1/20ns
Circuit’s elements:
C=1nF
R=100KΩ
Ideal diode
VR=11V VR=2V
talarico@gonzaga.edu 48
Alternative ways of clamping
• Inside CMOS ICs DC level shifting is usually achieved using current sources
(i.e. MOS transistors) and cascade of diodes (or diode connected MOS
transistors)
Assumption:
the current pulled by the next stage is negligible (or at least constant), so that the current through the
diode establish a drop of VD,on across the diode
source: Razavi
shift up circuit
talarico@gonzaga.edu 49
Alternative ways of clamping
• Inside CMOS ICs, another common way of a achieving DC level shifting is
by using a Common Drain stage
talarico@gonzaga.edu 50
Application: DC Power supply
• Let’s take a look at how to build a DC power supply (AC-DC power
converter)
source: Sedra & Smith
smooth the
rectified waves
talarico@gonzaga.edu 51
Rectifier + Filter Capacitor + Load
The following circuit (peak rectifier or peak detector) provides a DC voltage equal to
the peak of the input sine wave
Vm
vS(t)
iL
RL
= vO(t)/RL
source: Neamen
talarico@gonzaga.edu 54
Ripple and ID,max
iL
RL
t
−
when diode is OFF vO = Vm e RLC
Vm VR V T
Vm vS ≅ ⇒ VR ≅ m ×
RL C T RL C
PIV
0 slope by using
slope of
simple geometry
exponential
decay at t=0
= IC,max
The diode conducts current only a small portion of the period (Δt/T << 1)
therefore ωΔt is a small angle and sin(ωΔt) ≈ ωΔt
I C,max ≈ ωCVm (ωΔt ) vout(t)
Δt 1 2Vr
≈ % of time the diode is ON
talarico@gonzaga.edu T 2π Vm 56
Ripple and ID,max
2π 2Vr Vm Vm ⎛ CRL 2Vr ⎞ V ⎛ 2Vm ⎞
I D,max = CVm + = ⎜⎜1+ 2π ⎟⎟ ≈ m ⎜⎜1+ 2π ⎟⎟
T Vm RL RL ⎝ T Vm ⎠ RL ⎝ Vr ⎠
Vm Vr
≅ ← slope of exponentialdecay at t=0
RL C T
Δt Δt
0 T
area triangle
Δt 1 2Vr
≈
T 2π Vm
talarico@gonzaga.edu 57
Can we further reduce the ripple ?
• Yes it is. Instead of using a simple diode rectifier we can use a bridge
source: Razavi
Vm
Vout talarico@gonzaga.edu 58
Bridge Rectifier + Filter Capacitor + Load
% of time the diode is ON
Vm V 1 V T Δ𝑡 1 2𝑉&
≅ r ⇒ Vr ≅ × m × ≃
RL C T / 2 2 RL C 𝑇 𝜋 𝑉'
slope of exponential
decay at t=0 T replaced by T/2
Vm
V ⎛ 2Vm ⎞
I D,max ≅ m × ⎜⎜1+ π ⎟⎟
RL ⎝ Vr ⎠ source: Sedra and Smith
Vm ⎛1 Vr ⎞
I D,avg ≈ × ⎜⎜ +1⎟⎟
RL ⎝π 2Vm ⎠
talarico@gonzaga.edu 59
Voltage Regulator
source: Razavi Variations in Vss may be ripple due to the rectifier
but also fluctuations in the AC line
Vss
talarico@gonzaga.edu 60
Voltage Regulator
source: Razavi
Vss
R1
Regulator
• As long as rd << R1, the use of a Zener diode provides a relatively constant
output despite input variations
Vss ΔVss ΔVout
rd
ΔVout = ΔVss
rd + R1
source: Neamen
Vout
Vss,nom=12V, VSS,middle=12.3V
Vss = Initially, we need to find out
the proper input resistance Ri.
• The resistance Ri limits the current through the zener diode and drops the
“excess” voltage between Vss and the nominal voltage we want on the load
Vout,nom = VZ,T = VZ,nom (in other words it sets the diode operating point QT)
talarico@gonzaga.edu 62
Voltage Regulation with Zener Diode
Initially, assume ideal diode:
More thoroughly, for the circuit to work properly, the diode must remain in zener region and the power dissipation
of the diode must not exceed its rated value (PD). In other words:
• The current in the diode is a minimum IZ,min when the load current is a maximum IL,max, and the source voltage
is a minimum Vss,min
• The current in the diode is a maximum IZ,max, when the load current is a minimum IL,min and the source voltage
is a maximum Vss,max
talarico@gonzaga.edu 63
Voltage Regulation with Zener Diode
VSS,min −VZ,nom VSS,max −VZ,nom
Ri = Ri =
I Z,min + I L,max I Z,max + I L,min
IZ (A)
Reasonably, we can assume that we know the range of input voltage,
VZT VZ0 VZK= BV
the range of output load current, and the Zener voltage. Further, it is VZ (V)
reasonable to set the minimum zener current to be IZ,min ≈ 0.1 × IZ,max
More stringent design requirements may require the minimum zener IZK=
diode current to be 20 or 30 percent of the maximum value. K stands for IBV
The important point in setting IZ,min is to make sure is far enough from knee
the knee !!
IZT
By equating the constrains on Ri and setting IZ,min ≈ 0.1 × IZ,max we can
write:
I L,max ⋅ (Vss,max −VZ,nom ) − I L,min ⋅ (Vss,min −VZ,nom )
I Z,max =
Vss,min − 0.9 ×VZ,nom − 0.1×Vss,max
The maximum power dissipated in the Zener diode is approximately:
Vss =
source: Neamen
2 2
PRi,max
(V −V )
= ss,max Z,nom =
(13.6 − 9) ≅ 1.4W
Ri 15.3
talarico@gonzaga.edu 65
Regulator’s figures of merit
• In reality the zener is not ideal. It has some non zero resistance, therefore if
the source voltage or the load current fluctuates, so does the Vout=VZ
source: Neamen
Vss Vout
talarico@gonzaga.edu 66
Line regulation example
Example:
Find the line regulation for the previous example, assuming rZ=2Ω
R1
Vout Vss −VZ 13.6 − 9
For Vss=13.6V: I Z = = ≅ 265.9mA ⇒ Vout = I Z × rZ +VZ = 9.532V
R1 + rZ 15.3+ 2
Vss −VZ 11− 9
For Vss=11V: IZ = = ≅ 115.61mA ⇒ Vout = I Z × rZ +VZ = 9.231V
R1 + rZ 15.3+ 2
ΔVss ΔVout
ΔIZ rZ ΔVout r 2
= Z = ≅ 15.6%
ΔVss R1 + rZ 15.3+ 2
source: Razavi
talarico@gonzaga.edu 67
Vss Vout
Regulator’s figures of merit
Load regulation
It is a measure of the change in output voltage with a change in load current
capability to maintain a constant voltage on the output
V −V
load regulation ≡ out,noload out, fullload ×100% despite changes in the load (such as a change in resistance
Vout, fullload value connected across the supply output
where:
- Vout,noload is the load voltage for zero load current
- Vout,fullload is the load voltage for the maximum rated load current
talarico@gonzaga.edu 68
Load regulation example
Example:
Find the load regulation for the usual example. Assume rZ=2Ω
Note:
When measuring the load regulation the source is assumed
Vss Vout constant. Since the full load current is reached for Vss = Vss,max
for load regulation computations we must assume
Vss = Vss,max= const
talarico@gonzaga.edu 69
Load regulation example
Vss Vout
ΔIL
ΔVss=0 rZ ΔVout = ( R1 || rZ ) ΔI L ⇒
ΔVout
= ( R1 || rZ ) = 15.3 || 2 ≅ 1.77Ω
ΔI L
(As expected this is the same result we got before ΔVout= 9.532 − 9.355 = 177 mV)
Vout,noload Vout,fullload
talarico@gonzaga.edu 70
Evolution of an AC-DC converter
source: Razavi
Regulator
talarico@gonzaga.edu 71
Voltage doubler
Tin = 1ms, VP=2V
peak
clamper detector
=Vin−VC1 Vout
D1 ON
clamper peak detector
VC1 fol-
lows Vin
all the
way to
−VP
From
VX =
T/4 on
Vin−VC1
D1 is OFF
= 0
C1 stays
charged
to −VP
VX = Vin−(−VP) =
= Vin + VP
If we take the clamper just designed and attach a peak detector at its output we get a
voltage doubler talarico@gonzaga.edu 72
Voltage doubler: detailed analysis
talarico@gonzaga.edu 73
Voltage doubler: detailed analysis
0 t1 t6
Each input cycle, the output increases by Vp , Vp/2, Vp/4, etc., eventually settling to 2 Vp
∞ n
⎛ 1 1 1 ⎞ ⎛1⎞ 1
Vout = VP ⎜1+ + + +... ⎟ = VP ∑⎜ ⎟ = VP = 2VP
⎝ 2 4 8 ⎠ n=0 2
⎝ ⎠ 1−1 / 2
talarico@gonzaga.edu 74
Voltage doubler: detailed analysis
talarico@gonzaga.edu 75
Diodes as Switches
Motor
In reality the
switch is a
transistor
The transistor
goes in “smoke”
If the switch is
suddenly opened,
a voltage spike
develops across
di
the inductor vL = L L
dt
talarico@gonzaga.edu 77
Special Diodes
• Schottky-Barrier Diode (SBD)
• Varactors
• Photodiodes
The wavelength of the light emitted, and thus the color,
depends on the band gap energy of the materials forming
• LEDs the p-n junction.
(Example. Red LED:
λtalarico@gonzaga.edu
d=630nm, VF=2.1V IF=50mA, luminous Intensity IV=7500 mcd) 78
Voltage doubler modeled with switches
talarico@gonzaga.edu 79
Voltage doubler modeled with switches
no initial
charge moving
(VC1=VC2=VP)
C2 is moving C2 is moving
some charge some charge
back to C1 back to C1
(ΔV=Vp/4) (ΔV=3Vp/8)
talarico@gonzaga.edu 80