Chapter 3: Diode Models and Circuits

Fundamentals of Microelectronics · · diodes, ideal diode, constant-voltage model, rectifiers, limiters

Contents

This typeset version was assembled by AI from my handwritten solutions. The handwritten PDF is the original source.

Problem 3.1

Problem 3.1 · Razavi, Fundamentals of Microelectronics, 2nd ed.

In the following problems, assume VD,on=800V_{D,on} = 800 mV for the constant-voltage diode model.

Plot the I/V characteristic of the circuit shown in Fig. 3.63.

Vx driving R1 in series with an ideal diode D1 pointing up toward R1; Ix is zero for Vx > 0 and Vx/R1 for Vx < 0, where the circuit reduces to R1 alone

Source: p3-1.tex

Problem 3.2

Problem 3.2 · Razavi, Fundamentals of Microelectronics, 2nd ed.

If the input in Fig. 3.63 is expressed as VX=V0cos⁡ωtV_X = V_0\cos\omega t, plot the current flowing through the circuit as a function of time.

Vx=V0cos⁡ωtV_x = V_0\cos\omega t

Circuit, the input cosine Vx(t) with zero crossings t1 and t2, and Ix(t), zero except for a negative half-cosine between t1 and t2

Source: p3-2.tex

For 0 < t < t1 the diode is open and Ix = 0; for t1 < t < t2 it is a short and Ix = Vx/R1 = V0 cos ωt / R1

Source: p3-2-eq.tex

Another, better solution:

Graphical solution: the cosine input projected through the Ix–Vx characteristic gives negative half-cosine pulses of peak −V0/R1

Source: p3-2b.tex

Problem 3.3

Problem 3.3 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Plot IXI_X as a function of VXV_X for the circuit shown in Fig. 3.65 for two cases: VB=−1V_B = -1 V and VB=+1V_B = +1 V.

Vx driving R1, an ideal diode D1 and a battery VB in series; Ix is zero up to Vx = VB and then rises with slope 1/R1

Source: p3-3.tex

The same characteristic for VB = −1 V, breaking at −1 V, and for VB = +1 V, breaking at 1 V

Source: p3-3b.tex

Problem 3.4

Problem 3.4 · Razavi, Fundamentals of Microelectronics, 2nd ed.

For the circuit depicted in Fig. 3.64, plot IXI_X as a function of VXV_X for two cases: VB=−1V_B = -1 V and VB=+1V_B = +1 V.

Vx with an ideal diode D1 across it, in parallel with R1 in series with VB; for Vx < 0 Ix = (Vx − VB)/R1, a line of slope 1/R1, and at Vx = 0 the current jumps up vertically

Source: p3-4.tex

For Vx < 0 the diode is open; for Vx > 0 it is a short across the source and the rest of the circuit does not matter

Source: p3-4-eq.tex

For VB = −1 V the line crosses zero at −1 V and reaches the vertical jump at Vx = 0 above the axis; for VB = +1 V it reaches Vx = 0 below the axis

Source: p3-4b.tex

Problem 3.5

Problem 3.5 · Razavi, Fundamentals of Microelectronics, 2nd ed.

If in Fig. 3.65, VX=V0cos⁡ωtV_X = V_0\cos\omega t, plot IXI_X as a function of time for two cases: VB=−1V_B = -1 V and VB=+1V_B = +1 V.

Vx=V0cos⁡(ωt)V_x = V_0\cos(\omega t)

Vx driving R1, ideal diode D1 and battery VB in series; for Vx > VB the diode is a short, leaving R1 and VB

Source: p3-5.tex

Vx<VBV_x < V_\mathrm{B}: Ix=0\quad I_x = 0

Vx>VBV_x > V_\mathrm{B}:

Ix=Vx−VBR1,Ix=VxR1−VBR1,Ix=1R1Vx−VBR1 I_x = \frac{V_x - V_\mathrm{B}}{R_1}, \qquad I_x = \frac{V_x}{R_1} - \frac{V_\mathrm{B}}{R_1}, \qquad I_x = \frac{1}{R_1}V_x - \frac{V_\mathrm{B}}{R_1}

VB=−1V_\mathrm{B} = -1 V:

VB = −1 V: the cosine input projected through the characteristic that breaks at −1 V gives Ix(t) as cosine tops of peak (V0 + 1 V)/R1, zero while Vx < −1 V

Source: p3-5a.tex

VB=−1→Ix=1R1Vx+1R1=V0R1cos⁡(ωt)+1R1V_\mathrm{B} = -1 \rightarrow I_x = \frac{1}{R_1}V_x + \frac{1}{R_1} = \frac{V_0}{R_1}\cos(\omega t) + \frac{1}{R_1}

VB=+1V_\mathrm{B} = +1 V:

VB = +1 V: Ix(t) is narrow cosine tops of peak (V0 − 1 V)/R1 around t = 0, T, …, zero while Vx < 1 V

Source: p3-5b.tex

Vx<1 V→Ix=0 AVx>1 V→Ix=1R1Vx−1R1=V0R1cos⁡(ωt)−1R1 \begin{aligned} V_x < 1\,\mathrm{V} &\rightarrow I_x = 0\,\mathrm{A} \\ V_x > 1\,\mathrm{V} &\rightarrow I_x = \frac{1}{R_1}V_x - \frac{1}{R_1} = \frac{V_0}{R_1}\cos(\omega t) - \frac{1}{R_1} \end{aligned}

Problem 3.6

Problem 3.6 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Plot IXI_X and ID1I_{D1} as a function of VXV_X for the circuit shown in Fig. 3.66. Assume VB>0V_B > 0.

VB>0V_\mathrm{B} > 0

Vx drives R1 into a node held by battery VB, with ideal diode D1 from ground up to the node; since VB > 0 the diode is always off, so Ix = (Vx − VB)/R1, a line of slope 1/R1 crossing zero at VB with intercept −VB/R1

Source: p3-6.tex

Problem 3.7

Problem 3.7 · Razavi, Fundamentals of Microelectronics, 2nd ed.

In the circuit of Fig. 3.67, plot IXI_X and IR1I_{R1} as a function of VXV_X for two cases: VB=−1V_B = -1 V and VB=+1V_B = +1 V.

Vx drives R1 in parallel with R2 in series with VB, and that combination sits on top of an ideal diode D1 to ground

Source: p3-7.tex

Assume D1D_1 is on:

With D1 on it is a short and Ix flows down through it, which needs Ix > 0; with D1 off, R1, R2 and VB form a loop and IR1 = 1/(R1 + R2)

Source: p3-7-eq.tex

IR1=Ix+IR2⇒Ix=IR1−IR2=VxR1−VB−VxR2=R2Vx−R1(VB−Vx)R1R2=R2Vx−R1VB+R1VxR1R2Ix=(R1+R2)Vx−R1VBR1R2=(R1+R2)R1R2Vx−R1VBR1R2=1(R1∥R2)×Vx−VBR2=Ix \begin{gathered} I_\mathrm{R1} = I_x + I_\mathrm{R2} \Rightarrow I_x = I_\mathrm{R1} - I_\mathrm{R2} = \frac{V_x}{R_1} - \frac{V_\mathrm{B} - V_x}{R_2} = \frac{R_2V_x - R_1(V_\mathrm{B} - V_x)}{R_1R_2} = \frac{R_2V_x - R_1V_\mathrm{B} + R_1V_x}{R_1R_2} \\ I_x = \frac{(R_1 + R_2)V_x - R_1V_\mathrm{B}}{R_1R_2} = \frac{(R_1 + R_2)}{R_1R_2}V_x - \frac{R_1V_\mathrm{B}}{R_1R_2} = \boxed{\frac{1}{(R_1\|R_2)}\times V_x - \frac{V_\mathrm{B}}{R_2} = I_x} \end{gathered}

→\rightarrow If VB=0V_\mathrm{B} = 0, →Ix=1(R1∥R2)×Vx→\rightarrow I_x = \dfrac{1}{(R_1\|R_2)}\times V_x \rightarrow seems correct…

(2) Now that we have expression for IxI_x, let’s find at what condition Ix>0I_x > 0, i.e.

Ix=R1+R2R1R2Vx−VBR2≥0R1+R2R1R2Vx>VBR2⇒[Vx>VB×R1R1+R2]⇒for diode to be on.  Diode is on \begin{gathered} I_x = \frac{R_1 + R_2}{R_1R_2}V_x - \frac{V_\mathrm{B}}{R_2} \geq 0 \\ \frac{R_1 + R_2}{R_1R_2}V_x > \frac{V_\mathrm{B}}{R_2} \Rightarrow \left[V_x > V_\mathrm{B}\times\frac{R_1}{R_1 + R_2}\right] \Rightarrow \text{for diode to be on.}\ \ \text{Diode is on} \end{gathered} IR1=Ix+IR2IR1=1R1∥R2Vx−VBR2+VB−VxR2IR1=Vx((R1+R2)R1×R2−1R2)IR1=Vx(R1+R2−R1R1R2)IR1=Vx(1R1) \begin{aligned} I_\mathrm{R1} &= I_x + I_\mathrm{R2} \\ I_\mathrm{R1} &= \frac{1}{R_1\|R_2}V_x - \frac{V_\mathrm{B}}{R_2} + \frac{V_\mathrm{B} - V_x}{R_2} \\ I_\mathrm{R1} &= V_x\left(\frac{(R_1 + R_2)}{R_1\times R_2} - \frac{1}{R_2}\right) \\ I_\mathrm{R1} &= V_x\left(\frac{R_1 + R_2 - R_1}{R_1R_2}\right) \\ I_\mathrm{R1} &= V_x\left(\frac{1}{R_1}\right) \end{aligned}
For VB = 1 V: Ix is zero up to Vx = VB R1/(R1 + R2), then rises with slope 1/(R1 parallel R2), its extension hitting −VB/R2 at Vx = 0; IR1 is flat at 1/(R1 + R2) up to the same point, then rises with slope 1/R1

Source: p3-7-plots.tex

VB=−1V_\mathrm{B} = -1 V:

Same KCL:  Ix=1R1∥R2Vx−VBR2⇒VB=−11R1∥R2Vx+1R2\ I_x = \dfrac{1}{R_1\|R_2}V_x - \dfrac{V_\mathrm{B}}{R_2} \overset{V_\mathrm{B} = -1}{\Rightarrow} \dfrac{1}{R_1\|R_2}V_x + \dfrac{1}{R_2}

Same condition for diode to be on:

(R1+R2)R1R2Vx−VBR2>0⇒Vx>VB×R1R1+R2⇒Vx>−R1R1+R2but VB=−1 \frac{(R_1 + R_2)}{R_1R_2}V_x - \frac{V_\mathrm{B}}{R_2} > 0 \Rightarrow V_x > V_\mathrm{B}\times\frac{R_1}{R_1 + R_2} \Rightarrow \boxed{V_x > -\frac{R_1}{R_1 + R_2}}\quad\text{but } V_\mathrm{B} = -1
For VB = −1 V: Ix is zero up to Vx = −R1/(R1 + R2), then rises with slope 1/(R1 parallel R2) through 1/R2 at Vx = 0; IR1 is flat at −1/(R1 + R2) up to the same point, then rises with slope 1/R1 through the origin

Source: p3-7-plots2.tex

Problem 3.8

Problem 3.8 · Razavi, Fundamentals of Microelectronics, 2nd ed.

For the circuit depicted in Fig. 3.68, plot IXI_X and IR1I_{R1} as a function of VXV_X for two cases: VB=−1V_B = -1 V and VB=+1V_B = +1 V.

IxI_x vs VxV_x & IR1I_\mathrm{R1} vs VxV_x

Vx drives R1 in parallel with R2 in series with ideal diode D1, and the combination returns through battery VB; with D1 on, it is replaced by a short

Source: p3-8.tex

For D1D_1 to be on, IR2>0\boxed{I_\mathrm{R2} > 0}

KCL:Ix=IR1+IR2Vx−VBR1∥R2=Vx−VBR1+IR2⇒IR2=Vx−VBR1∥R2−Vx−VBR1 \begin{gathered} \text{KCL:}\quad I_x = I_\mathrm{R1} + I_\mathrm{R2} \\ \frac{V_x - V_\mathrm{B}}{R_1\|R_2} = \frac{V_x - V_\mathrm{B}}{R_1} + I_\mathrm{R2} \Rightarrow I_\mathrm{R2} = \frac{V_x - V_\mathrm{B}}{R_1\|R_2} - \frac{V_x - V_\mathrm{B}}{R_1} \end{gathered}

For diode D1D_1 to be on:

IR2=[(R1+R2)R1R2(Vx−VB)−Vx−VBR1>0]⇒R1Vx−R1VB+R2Vx−R2VBR1R2−Vx−VBR1>0⇒(R1+R2)Vx−VB(R1+R2)−R2Vx+R2VBR1R2>0⇒R1Vx−R1VBR1R2>0⇒R1VxR1R2−R1VBR1R2>0⇒VxR2>VBR2 \begin{gathered} I_\mathrm{R2} = \left[\frac{(R_1 + R_2)}{R_1R_2}(V_x - V_\mathrm{B}) - \frac{V_x - V_\mathrm{B}}{R_1} > 0\right] \Rightarrow \frac{R_1V_x - R_1V_\mathrm{B} + R_2V_x - R_2V_\mathrm{B}}{R_1R_2} - \frac{V_x - V_\mathrm{B}}{R_1} > 0 \\ \Rightarrow \frac{(R_1 + R_2)V_x - V_\mathrm{B}(R_1 + R_2) - R_2V_x + R_2V_\mathrm{B}}{R_1R_2} > 0 \\ \Rightarrow \frac{R_1V_x - R_1V_\mathrm{B}}{R_1R_2} > 0 \Rightarrow \frac{R_1V_x}{R_1R_2} - \frac{R_1V_\mathrm{B}}{R_1R_2} > 0 \Rightarrow \frac{V_x}{R_2} > \frac{V_\mathrm{B}}{R_2} \end{gathered}

For diode to be on ⟶Vx>VB\longrightarrow V_x > V_\mathrm{B}

a) VB=−1V_\mathrm{B} = -1 V

Diode is on for Vx>−1V_x > -1 V & Ix=Vx−VB(R1∥R2)=Vx+1R1∥R2I_x = \dfrac{V_x - V_\mathrm{B}}{(R_1\|R_2)} = \dfrac{V_x + 1}{R_1\|R_2}

Ix=VxR1∥R2+1R1∥R2I_x = \frac{V_x}{R_1\|R_2} + \frac{1}{R_1\|R_2}
With D1 off, only R1 and VB = −1 V carry current: Ix = IR1 = (Vx + 1)/R1

Source: p3-8a-off.tex

VB = −1 V: Ix rises with slope 1/R1 up to −1 V and with slope 1/(R1 parallel R2) after it, through 1/(R1 parallel R2) at Vx = 0; IR1 is a single line of slope 1/R1 through −1 V and 1/R1

Source: p3-8a.tex

b) VB=+1V_\mathrm{B} = +1 V

Diode on:

IR1∣on=Vx−VBR1\left.I_\mathrm{R1}\right|_\mathrm{on} = \frac{V_x - V_\mathrm{B}}{R_1}

Diode off:

IR1∣off=Vx−VBR1\left.I_\mathrm{R1}\right|_\mathrm{off} = \frac{V_x - V_\mathrm{B}}{R_1}

identical!

IR1∣on=IR1∣off=VxR1−1R1\left.I_\mathrm{R1}\right|_\mathrm{on} = \left.I_\mathrm{R1}\right|_\mathrm{off} = \frac{V_x}{R_1} - \frac{1}{R_1}
VB = +1 V: IR1 is one line of slope 1/R1 through +1 V, diode off to the left and on to the right; Ix has slope 1/R1 below +1 V and slope 1/(R1 parallel R2) above

Source: p3-8b.tex

Problem 3.9

Problem 3.9 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Plot the input/output characteristics of the circuits depicted in Fig. 3.69 using an ideal model for the diodes. Assume VB=2V_B = 2 V.

VB=2V_\mathrm{B} = 2 V

a)

Vin through R1 to the output, with D1 and VB from the output to ground; Vout is held at 2 V for Vin < 2 V and follows Vin with slope 1 above it, where the diode is off

Source: p3-9a.tex

b)

Vin through D1 and VB in series to the output, R1 to ground; Vout = Vin − 2 V for Vin < 2 V and zero above, where the diode is off

Source: p3-9b.tex

c)

Vin through VB to the output, then R1 and D1 to ground; Vout = Vin − 2 V for all Vin, a line of slope 1 through 2 V and −2

Source: p3-9c.tex

d)

Vin through D1 to the output, R1 and VB = 2 V to ground; Vout follows Vin up to 2 V and stays at 2 V above it, where the diode is off

Source: p3-9d.tex

e)

Vin through R1 and VB to the output, D1 from ground up to the output; Vout is zero for Vin < 2 V, where the diode is on, and Vin − 2 V above

Source: p3-9e.tex

Problem 3.10

Problem 3.10 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Repeat Problem 3.9 with a constant-voltage diode model.

Constant-voltage versions of the five characteristics: a) flat at 1.2 V then slope 1; b) slope 1 up to 1.2 V then zero; c) Vin − 2 V for all Vin; d) Vin + VD,on up to 1.2 V then flat at 2 V; e) flat at −0.8 V up to 1.2 V then Vin − 2 V

Source: p3-10.tex

Problem 3.11

Problem 3.11 · Razavi, Fundamentals of Microelectronics, 2nd ed.

If the input is given by Vin=V0cos⁡ωtV_{in} = V_0\cos\omega t, plot the output of each circuit in Fig. 3.69 as a function of time. Assume an ideal diode model.

Vin=V0cos⁡ωtV_\mathrm{in} = V_0\cos\omega t

a)

The cosine input projected through characteristic a): the output follows the cosine tops down to 2 V and stays at 2 V otherwise

Source: p3-11a.tex

b)

Through characteristic b): the output is zero while Vin > 2 V and otherwise follows Vin − 2 V down to −V0 − 2

Source: p3-11b.tex

c)

Through characteristic c): the output is the input cosine shifted down by 2 V, between V0 − 2 and −V0 − 2

Source: p3-11c.tex

d)

Through characteristic d): the output stays at 2 V while Vin > 2 V and otherwise follows the cosine down to −V0

Source: p3-11d.tex

e)

Through characteristic e): the output is zero except for cosine tops of height V0 − 2 while Vin > 2 V

Source: p3-11e.tex

Problem 3.12

Problem 3.12 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Plot the input/output characteristics of the circuits shown in Fig. 3.70 using an ideal model for the diodes.

a)

Vin through R1 and VB to the output, D1 from the output to ground; Vout = Vin − VB for Vin < VB and zero above, where the diode is on and ID = (Vin − VB)/R1 > 0

Source: p3-12a.tex

b)

Vin through R1 to the output, D1 and VB to ground; Vout follows Vin up to VB and stays at VB above it

Source: p3-12b.tex

c)

Vin through D1 and VB to the output, R1 to ground; Vout is zero up to VB and Vin − VB above it

Source: p3-12c.tex

d)

Vin through VB to the output, R1 and D1 to ground; Vout = Vin − VB for all Vin

Source: p3-12d.tex

e)

Vin through D1 to the output, R1 and VB to ground; Vout stays at VB up to Vin = VB and follows Vin above it

Source: p3-12e.tex

Problem 3.13

Problem 3.13 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Repeat Problem 3.12 with a constant-voltage diode model.

Same as (3.12), with constant-voltage model:

Five constant-voltage characteristics: a) Vout = Vin − VB up to Vin = VB + VD,on, then VD,on; b) Vout = Vin up to VB + VD,on, then flat; c) zero up to VB + VD,on, then rising; d) Vout = Vin − VB crossing zero at VB; e) VB up to VB + VD,on, then rising

Source: p3-13.tex

Problem 3.14

Problem 3.14 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Assuming the input is expressed as Vin=V0cos⁡ωtV_\mathrm{in}=V_0\cos\omega t, plot the output of each circuit in Fig. 3.70 as a function of time. Use an ideal diode model.

Vin=V0cos⁡ωtV_\mathrm{in}=V_0\cos\omega t

a)

Transfer curve of Fig. 3.70a with the cosine input projected through it; the output follows Vin − VB down to −V0 − VB and is clipped at zero

Source: p3-14a.tex

b)

Transfer curve of Fig. 3.70b with the cosine input projected through it; the output follows Vin down to −V0 and is clipped at VB

Source: p3-14b.tex

c)

Transfer curve of Fig. 3.70c with the cosine input projected through it; the output is zero except for pulses up to V0 − VB around the input peaks

Source: p3-14c.tex

d)

Transfer curve of Fig. 3.70d with the cosine input projected through it; the output is the cosine shifted down by VB, between V0 − VB and −V0 − VB

Source: p3-14d.tex

e)

Transfer curve of Fig. 3.70e with the cosine input projected through it; the output follows Vin up to V0 and stays at VB otherwise

Source: p3-14e.tex

Problem 3.15

Problem 3.15 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Assuming a constant-voltage diode model, plot VoutV_\mathrm{out} as a function of IinI_\mathrm{in} for the circuits shown in Fig. 3.71.

a)

Iin in parallel with R1 and D1 (anode at the output); Vout = R1 Iin while D1 is reverse biased, flat at VD,on once Iin exceeds VD,on/R1

Source: p3-15a.tex

b)

Iin in parallel with R1 and the series D1 and VB; Vout = R1 Iin up to Iin = (VB + VD,on)/R1, then flat at VB + VD,on

Source: p3-15b.tex

c)

Iin in parallel with D1 and the series R1 and VB; Vout rises with slope R1 for Iin below −(VB − VD,on)/R1 and is flat at VD,on above it

Source: p3-15c.tex

ID,on=Iin+IRI_\mathrm{D,on}=I_\mathrm{in}+I_\mathrm{R}

assume D1D_1 on:

D1 replaced by a VD,on source; Iin and IR flow into the top node, ID flows down through the VD,on source; VD,on = Vout

Source: p3-15c-on.tex

Iin+IR=IDI_\mathrm{in}+I_\mathrm{R}=I_\mathrm{D}ID>0 → Iin+VB−VD,onR1>0I_\mathrm{D}>0\ \rightarrow\ I_\mathrm{in}+\frac{V_\mathrm{B}-V_\mathrm{D,on}}{R_1}>0Iin>−VBR1+VD,onR1I_\mathrm{in}>-\frac{V_\mathrm{B}}{R_1}+\frac{V_\mathrm{D,on}}{R_1}Vout=VB+IinR1V_\mathrm{out}=V_\mathrm{B}+I_\mathrm{in}R_1

d)

Iin into the output node, VB from the output down to D1 in parallel with R1; Vout = VB + R1 Iin, passing VB at Iin = 0, flat at VD,on + VB once Iin exceeds VD,on/R1

Source: p3-15d.tex

assume D1D_1 on:

D1 replaced by a VD,on source in parallel with R1, under VB; Vout = VB + VD,on

Source: p3-15d-on.tex

assume D1D_1 off:

D1 removed (open), R1 with voltage VR under VB

Source: p3-15d-off.tex

VR<VD,onIinR1<VD,onIin<VD,onR1Vout=VR+VBVout=IinR1+VB \begin{aligned} V_\mathrm{R} &< V_\mathrm{D,on}\\ I_\mathrm{in}R_1 &< V_\mathrm{D,on}\\ I_\mathrm{in} &< \frac{V_\mathrm{D,on}}{R_1}\\[4pt] V_\mathrm{out} &= V_\mathrm{R}+V_\mathrm{B}\\ V_\mathrm{out} &= I_\mathrm{in}R_1+V_\mathrm{B} \end{aligned}

Problem 3.16

Problem 3.16 · Razavi, Fundamentals of Microelectronics, 2nd ed.

In the circuits of Fig. 3.71, plot the current flowing through R1R_1 as a function of VinV_\mathrm{in}. Assume a constant-voltage diode model.

Four plots of IR1 against Iin: a) and d) slope 1 up to VD,on/R1, then flat; b) slope 1 up to (VB + VD,on)/R1, then flat; c) slope 1 through the origin down to −(VB − VD,on)/R1, flat at −(VB − VD,on)/R1 above that

Source: p3-16.tex

Problem 3.17

Problem 3.17 · Razavi, Fundamentals of Microelectronics, 2nd ed.

For the circuits illustrated in Fig. 3.71, plot VoutV_\mathrm{out} as a function of time if Iin=I0cos⁡ωtI_\mathrm{in}=I_0\cos\omega t. Assume a constant-voltage model and a relatively large I0I_0.

Iin=I0cos⁡(ωt)I_\mathrm{in}=I_0\cos(\omega t)

a)

The 3.15a characteristic with the cosine input current projected through it; Vout swings down to −I0R1 and is clipped at VD,on

Source: p3-17a.tex

b)

The 3.15b characteristic with the cosine input current projected through it; Vout swings down to −I0R1 and is clipped at VB + VD,on

Source: p3-17b.tex

c)

The 3.15c characteristic with the cosine input current projected through it; Vout is clipped at VD,on and dips to VB − I0R1

Source: p3-17c.tex

d)

The 3.15d characteristic with the cosine input current projected through it; Vout is clipped at VD,on + VB and dips to −I0R1 + VB

Source: p3-17d.tex

Problem 3.18

Problem 3.18 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Plot VoutV_\mathrm{out} as a function of IinI_\mathrm{in} for the circuits shown in Fig. 3.72. Assume a constant-voltage diode model.

(a)

Iin in parallel with R1 and D1 (cathode at the output) in series with VB; Vout is flat at VB − VD,on up to Iin = (VB − VD,on)/R1, then rises with slope R1

Source: p3-18a.tex

Assume Diode is on:

D1 replaced by a VD,on source (minus on top) above VB; KCL at the top node with Iin and ID flowing in and IR1 flowing down through R1

Source: p3-18a-on.tex

(1)Vout=VB−VD,on[when D1 on](1)\quad V_\mathrm{out}=V_\mathrm{B}-V_\mathrm{D,on}\quad[\text{when } D_1 \text{ on}]IR1=Iin+ID ⇒ ID=IR1−Iin⏟>0I_\mathrm{R1}=I_\mathrm{in}+I_\mathrm{D}\ \Rightarrow\ I_\mathrm{D}=\underbrace{I_\mathrm{R1}-I_\mathrm{in}}_{>0}VB−VD,onR1−Iin>0 ⇒ VB−VD,onR1>Iin(2)\frac{V_\mathrm{B}-V_\mathrm{D,on}}{R_1}-I_\mathrm{in}>0\ \Rightarrow\ \frac{V_\mathrm{B}-V_\mathrm{D,on}}{R_1}>I_\mathrm{in}\quad(2)

assume D1D_1 is off:

D1 removed (open) above VB; Iin flows into the top node and down through R1

Source: p3-18a-off.tex

Vout=IinR1(3)V_\mathrm{out}=I_\mathrm{in}R_1\quad(3)ID<0 ⇒ IR1−Iin<0 ⇒ IR1<Iin, [But IR1=Iin!]I_\mathrm{D}<0\ \Rightarrow\ I_\mathrm{R1}-I_\mathrm{in}<0\ \Rightarrow\ I_\mathrm{R1}<I_\mathrm{in},\ [\text{But } I_\mathrm{R1}=I_\mathrm{in}!]VB−VD,onR1−Iin<0 ⇒ VB−VD,onR1<Iin(4)\frac{V_\mathrm{B}-V_\mathrm{D,on}}{R_1}-I_\mathrm{in}<0\ \Rightarrow\ \frac{V_\mathrm{B}-V_\mathrm{D,on}}{R_1}<I_\mathrm{in}\quad(4)Vout={VB−VD,on,Iin<VB−VD,onR1(on D1)R1Iin,Iin>VB−VD,onR1(a) V_\mathrm{out}=\begin{cases} V_\mathrm{B}-V_\mathrm{D,on}, & I_\mathrm{in}<\dfrac{V_\mathrm{B}-V_\mathrm{D,on}}{R_1}\quad(\text{on } D_1)\\[8pt] R_1I_\mathrm{in}, & I_\mathrm{in}>\dfrac{V_\mathrm{B}-V_\mathrm{D,on}}{R_1} \end{cases} \qquad\text{(a)}

(b)

Iin in parallel with D1 (cathode at the output) and R1 in series with VB; Vout is flat at −VD,on for Iin below −(VB + VD,on)/R1, then rises with slope R1 through VB at Iin = 0

Source: p3-18b.tex

assume D1D_1 on:

D1 replaced by a VD,on source (plus at the bottom); KCL at the top node, ID flowing up into it, IR1 flowing to R1; KVL around the VD,on, R1, VB loop

Source: p3-18b-on.tex

(1)Vout=−VD,on(1)\quad V_\mathrm{out}=-V_\mathrm{D,on}KVL:  VD,on+IR1R1+VB=0IR1R1=−VB−VD,onIR1=−VB−VD,onR1 \begin{aligned} \text{KVL: }\ V_\mathrm{D,on}+I_\mathrm{R1}R_1+V_\mathrm{B}&=0\\ I_\mathrm{R1}R_1&=-V_\mathrm{B}-V_\mathrm{D,on}\\ I_\mathrm{R1}&=\frac{-V_\mathrm{B}-V_\mathrm{D,on}}{R_1} \end{aligned} Iin+ID=IR1I_\mathrm{in}+I_\mathrm{D}=I_\mathrm{R1}ID=IR1−Iin⏟>0 ⇒ IR1−Iin>0I_\mathrm{D}=\underbrace{I_\mathrm{R1}-I_\mathrm{in}}_{>0}\ \Rightarrow\ I_\mathrm{R1}-I_\mathrm{in}>0−(VB+VD,onR1)>Iin-\left(\frac{V_\mathrm{B}+V_\mathrm{D,on}}{R_1}\right)>I_\mathrm{in}Iin<−(VB+VD,onR1)(2)I_\mathrm{in}<-\left(\frac{V_\mathrm{B}+V_\mathrm{D,on}}{R_1}\right)\quad(2)

Assume D1D_1 off:

D1 removed (open); R1 with voltage VR1 in series with VB

Source: p3-18b-off.tex

Vout=VB+R1Iin(3)V_\mathrm{out}=V_\mathrm{B}+R_1I_\mathrm{in}\quad(3)(4)Iin>−(VB+VD,onR1)(4)\quad I_\mathrm{in}>-\left(\frac{V_\mathrm{B}+V_\mathrm{D,on}}{R_1}\right)Vout={−VD,on,Iin<−(VB+VD,onR1)(on D1)VB+R1Iin,Iin>−(VB+VD,onR1)(b) V_\mathrm{out}=\begin{cases} -V_\mathrm{D,on}, & I_\mathrm{in}<-\left(\dfrac{V_\mathrm{B}+V_\mathrm{D,on}}{R_1}\right)\quad(\text{on } D_1)\\[10pt] V_\mathrm{B}+R_1I_\mathrm{in}, & I_\mathrm{in}>-\left(\dfrac{V_\mathrm{B}+V_\mathrm{D,on}}{R_1}\right) \end{cases} \qquad\text{(b)}

c)

Iin into the output node, VB from the output down to D1 (cathode on top) in parallel with R1; Vout is flat at VB − VD,on for Iin below −VD,on/R1, then rises with slope R1 through VB at Iin = 0

Source: p3-18c.tex

Assume D1D_1 on:

D1 replaced by a VD,on source (plus at the bottom) in parallel with R1, under VB; Iin flows down through VB into the KCL node, ID flows up into it and IR1 down through R1; KVL around the VD,on and R1 loop

Source: p3-18c-on.tex

Vout+VD,on−VB=0V_\mathrm{out}+V_\mathrm{D,on}-V_\mathrm{B}=0Vout=VB−VD,on(1)V_\mathrm{out}=V_\mathrm{B}-V_\mathrm{D,on}\quad(1)KCL:  ID+Iin=IR1\text{KCL: }\ I_\mathrm{D}+I_\mathrm{in}=I_\mathrm{R1}ID=IR1−Iin⏟>0I_\mathrm{D}=\underbrace{I_\mathrm{R1}-I_\mathrm{in}}_{>0}VD,on+VR1=0VR1=−VD,onIR1=−VD,onR1 \begin{aligned} V_\mathrm{D,on}+V_\mathrm{R1}&=0\\ V_\mathrm{R1}&=-V_\mathrm{D,on}\\ I_\mathrm{R1}&=\frac{-V_\mathrm{D,on}}{R_1} \end{aligned} IR1−Iin>0 ⇒ IR1>IinI_\mathrm{R1}-I_\mathrm{in}>0\ \Rightarrow\ I_\mathrm{R1}>I_\mathrm{in}−VD,onR1−Iin>0-\frac{V_\mathrm{D,on}}{R_1}-I_\mathrm{in}>0−VD,onR1>Iin(2)-\frac{V_\mathrm{D,on}}{R_1}>I_\mathrm{in}\quad(2)

assume D1D_1 off:

D1 removed (open); R1 alone under VB

Source: p3-18c-off.tex

Vout=VB+R1Iin(3)V_\mathrm{out}=V_\mathrm{B}+R_1I_\mathrm{in}\quad(3)(4)Iin>−VD,onR1(4)\quad I_\mathrm{in}>-\frac{V_\mathrm{D,on}}{R_1}Vout={VB−VD,on,Iin<−VD,onR1(on D1)VB+R1Iin,Iin>−VD,onR1(c) V_\mathrm{out}=\begin{cases} V_\mathrm{B}-V_\mathrm{D,on}, & I_\mathrm{in}<-\dfrac{V_\mathrm{D,on}}{R_1}\quad(\text{on } D_1)\\[8pt] V_\mathrm{B}+R_1I_\mathrm{in}, & I_\mathrm{in}>-\dfrac{V_\mathrm{D,on}}{R_1} \end{cases} \qquad\text{(c)}

Problem 3.19

Problem 3.19 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Plot the current flowing through R1R_1 in the circuits of Fig. 3.72 as a function of IinI_\mathrm{in}. Assume a constant-voltage diode model.

a)

IR1={VB−VD,onR1,Iin<VB−VD,onR1Iin,Iin>VB−VD,onR1 I_\mathrm{R1}=\begin{cases} \dfrac{V_\mathrm{B}-V_\mathrm{D,on}}{R_1}, & I_\mathrm{in}<\dfrac{V_\mathrm{B}-V_\mathrm{D,on}}{R_1}\\[8pt] I_\mathrm{in}, & I_\mathrm{in}>\dfrac{V_\mathrm{B}-V_\mathrm{D,on}}{R_1} \end{cases}
IR1 flat at (VB − VD,on)/R1 up to Iin = (VB − VD,on)/R1, then slope 1

Source: p3-19a.tex

b)

IR1={−(VB+VD,onR1),Iin<−(VB+VD,onR1)Iin,Iin>−(VB+VD,onR1) I_\mathrm{R1}=\begin{cases} -\left(\dfrac{V_\mathrm{B}+V_\mathrm{D,on}}{R_1}\right), & I_\mathrm{in}<-\left(\dfrac{V_\mathrm{B}+V_\mathrm{D,on}}{R_1}\right)\\[10pt] I_\mathrm{in}, & I_\mathrm{in}>-\left(\dfrac{V_\mathrm{B}+V_\mathrm{D,on}}{R_1}\right) \end{cases}
IR1 flat at −(VB + VD,on)/R1 for Iin below −(VB + VD,on)/R1, then IR1 = Iin through the origin

Source: p3-19b.tex

c)

IR1={−VD,on/R1,Iin<−VD,onR1Iin,Iin>−VD,onR1 I_\mathrm{R1}=\begin{cases} -V_\mathrm{D,on}/R_1, & I_\mathrm{in}<-\dfrac{V_\mathrm{D,on}}{R_1}\\[8pt] I_\mathrm{in}, & I_\mathrm{in}>-\dfrac{V_\mathrm{D,on}}{R_1} \end{cases}
IR1 flat at −VD,on/R1 for Iin below −VD,on/R1, then IR1 = Iin through the origin

Source: p3-19c.tex

Problem 3.20

Problem 3.20 · Razavi, Fundamentals of Microelectronics, 2nd ed.

In the circuits depicted in Fig. 3.72, assume Iin=I0cos⁡ωtI_\mathrm{in}=I_0\cos\omega t, where I0I_0 is relatively large. Plot VoutV_\mathrm{out} as a function of time using a constant-voltage diode model.

Iin=I0cos⁡ωtI_\mathrm{in}=I_0\cos\omega t

a)

The 3.18a characteristic with the cosine input current projected through it; Vout sits at VB − VD,on with peaks up to R1 I0

Source: p3-20a.tex

b)

The 3.18b characteristic with the cosine input current projected through it; Vout peaks at VB + I0R1 and is clipped at −VD,on

Source: p3-20b.tex

c)

The 3.18c characteristic with the cosine input current projected through it; Vout peaks at I0R1 + VB and is clipped at VB − VD,on

Source: p3-20c.tex

Problem 3.21

Problem 3.21 · Razavi, Fundamentals of Microelectronics, 2nd ed.

For the circuits shown in Fig. 3.73, plot VoutV_\mathrm{out} as a function of IinI_\mathrm{in} assuming a constant-voltage model for the diodes.

a)

Iin in parallel with R1 and the series D1, D2 (both pointing down); Vout = R1 Iin up to Iin = 2VD,on/R1, then flat at 2VD,on

Source: p3-21a.tex

Vout={2VD,on,Iin>2VD,onR1R1Iin,Iin<2VD,onR1 V_\mathrm{out}=\begin{cases} 2V_\mathrm{D,on}, & I_\mathrm{in}>\dfrac{2V_\mathrm{D,on}}{R_1}\\[8pt] R_1I_\mathrm{in}, & I_\mathrm{in}<\dfrac{2V_\mathrm{D,on}}{R_1} \end{cases}

D1D_1 & D2D_2 on:

D1 and D2 replaced by two VD,on sources in series; KCL at the top node: Iin in, IR down through R1, ID to the diodes

Source: p3-21a-on.tex

Vout=2VD,on(1)V_\mathrm{out}=2V_\mathrm{D,on}\quad(1)Iin=IR+ID ⇒ ID=Iin−IR⏟>0I_\mathrm{in}=I_\mathrm{R}+I_\mathrm{D}\ \Rightarrow\ I_\mathrm{D}=\underbrace{I_\mathrm{in}-I_\mathrm{R}}_{>0}Iin−IR>0 ⇒ Iin>IR ⇒ Iin>2VD,onR1(2)I_\mathrm{in}-I_\mathrm{R}>0\ \Rightarrow\ I_\mathrm{in}>I_\mathrm{R}\ \Rightarrow\ I_\mathrm{in}>\frac{2V_\mathrm{D,on}}{R_1}\quad(2)

Assume D1D_1 & D2D_2 off:

Diode branch open; Iin flows through R1 only

Source: p3-21a-off.tex

Vout=R1Iin(3)V_\mathrm{out}=R_1I_\mathrm{in}\quad(3)Iin<2VD,onR1(4)I_\mathrm{in}<\frac{2V_\mathrm{D,on}}{R_1}\quad(4)

b)

Iin in parallel with R1 in series with D1 (pointing down) and with D2 (pointing down); Vout = VD,on for Iin > 0 and falls without limit at Iin = 0

Source: p3-21b.tex

Vout={VD,on,Iin>0−∞,Iin≤0 V_\mathrm{out}=\begin{cases} V_\mathrm{D,on}, & I_\mathrm{in}>0\\ -\infty, & I_\mathrm{in}\le 0 \end{cases}

Assume D1D_1 & D2D_2 on

Both diodes replaced by VD,on sources; ID1 flows down through R1, ID2 to the D2 branch; KVL around the two diode branches

Source: p3-21b-on.tex

Vout=VD,onV_\mathrm{out}=V_\mathrm{D,on}Iin=ID1+ID2⏟>0 ⇒I_\mathrm{in}=\underbrace{I_\mathrm{D1}+I_\mathrm{D2}}_{>0}\ \RightarrowKVL:  −VD,on−ID1R1+VD,on=0ID1R1=0ID1=0 \begin{aligned} \text{KVL: }\ -V_\mathrm{D,on}-I_\mathrm{D1}R_1+V_\mathrm{D,on}&=0\\ I_\mathrm{D1}R_1&=0\\ I_\mathrm{D1}&=0 \end{aligned}

Contradiction. Assumed D1D_1 was on, but no current thru it.

Assume D1D_1 off & D2D_2 on:

D1 open, D2 replaced by a VD,on source; Iin splits into IR through R1 and ID2

Source: p3-21b-d1off.tex

Iin=IR+ID2IR=0Vout=VD,on(1)I_\mathrm{in}=I_\mathrm{R}+I_\mathrm{D2}\qquad I_\mathrm{R}=0\qquad V_\mathrm{out}=V_\mathrm{D,on}\quad(1)Iin=ID2⏟>0 ⇒ ID2>0, but ID2=Iin ⇒ Iin>0(2)I_\mathrm{in}=\underbrace{I_\mathrm{D2}}_{>0}\ \Rightarrow\ I_\mathrm{D2}>0,\ \text{but } I_\mathrm{D2}=I_\mathrm{in}\ \Rightarrow\ I_\mathrm{in}>0\quad(2)

Assume D1D_1 & D2D_2 off

Both diode branches open; Iin sees an open circuit

Source: p3-21b-off.tex

OC=inf⁡Ω\text{OC}=\inf\OmegaV=−I×Rinf=−I×∞=−∞(3)V=-I\times R_\mathrm{inf}=-I\times\infty=-\infty\quad(3)(4)Iin≤0(4)\quad I_\mathrm{in}\le 0

c)

Iin in parallel with R1 in series with D1 (pointing up) and with D2 (pointing down); Vout = R1 Iin − VD,on for Iin < 0 and VD,on for Iin > 0

Source: p3-21c.tex

Vout={R1Iin−VD,on,Iin<0VD,on,Iin>0 V_\mathrm{out}=\begin{cases} R_1I_\mathrm{in}-V_\mathrm{D,on}, & I_\mathrm{in}<0\\ V_\mathrm{D,on}, & I_\mathrm{in}>0 \end{cases}

Assume D1D_1 on & D2D_2 off

D1 replaced by a VD,on source (plus at the bottom) under R1, D2 open; KVL around the R1 branch and the output

Source: p3-21c-d1on.tex

VD,on−VR1+Vout=0Vout=VR1−VD,onVout=R1Iin−VD,on(1) \begin{aligned} V_\mathrm{D,on}-V_\mathrm{R1}+V_\mathrm{out}&=0\\ V_\mathrm{out}&=V_\mathrm{R1}-V_\mathrm{D,on}\\ V_\mathrm{out}&=R_1I_\mathrm{in}-V_\mathrm{D,on}\quad(1) \end{aligned} Iin=ID1⏟<0Iin<0(2)I_\mathrm{in}=\underbrace{I_\mathrm{D1}}_{<0}\qquad I_\mathrm{in}<0\quad(2)

(because ID1I_\mathrm{D1} denomination is neg.)

assume D1D_1 off & D2D_2 on

D1 open, D2 replaced by a VD,on source (plus on top) carrying ID2

Source: p3-21c-d2on.tex

Vout=VD,on(3)V_\mathrm{out}=V_\mathrm{D,on}\quad(3)Iin=ID2⏟>0ID2>0 ⇒ Iin>0(4)I_\mathrm{in}=\underbrace{I_\mathrm{D2}}_{>0}\qquad I_\mathrm{D2}>0\ \Rightarrow\ I_\mathrm{in}>0\quad(4)

d)

Iin in parallel with R1 in series with D1 (pointing up) and with D2 (pointing up); Vout = −VD,on for Iin < 0

Source: p3-21d.tex

Vout={∞,Iin>0−VD,on,Iin<0 V_\mathrm{out}=\begin{cases} \infty, & I_\mathrm{in}>0\\ -V_\mathrm{D,on}, & I_\mathrm{in}<0 \end{cases}

Assume D1D_1 & D2D_2 off

Iin driving an open circuit

Source: p3-21d-off.tex

Vout=∞(1)Iin>0(2)V_\mathrm{out}=\infty\quad(1)\qquad I_\mathrm{in}>0\quad(2)

assume D1D_1 off & D2D_2 on:

D1 open, D2 replaced by a VD,on source with minus on top

Source: p3-21d-d2on.tex

Vout=−VD,onIin<0V_\mathrm{out}=-V_\mathrm{D,on}\qquad I_\mathrm{in}<0

e)

Iin in parallel with R1 in series with D1 (pointing up) and with D2 (pointing down); Vout = VD,on for Iin > 0 and IDR1 − VD,on for Iin < 0

Source: p3-21e.tex

Vout={VD,on,Iin>0IDR1−VD,on,Iin<0 V_\mathrm{out}=\begin{cases} V_\mathrm{D,on}, & I_\mathrm{in}>0\\ I_\mathrm{D}R_1-V_\mathrm{D,on}, & I_\mathrm{in}<0 \end{cases}

Assume D1D_1 off, D2D_2 on:

D1 open, D2 replaced by a VD,on source with plus on top

Source: p3-21e-d2on.tex

Vout=VD,on(1)Iin>0(2)V_\mathrm{out}=V_\mathrm{D,on}\quad(1)\qquad I_\mathrm{in}>0\quad(2)

Assume D1D_1 on, D2D_2 off:

D1 replaced by a VD,on source (plus at the bottom) under R1, D2 open; ID flows down through R1; KVL around the branch and the output

Source: p3-21e-d1on.tex

KVL:  +VD,on−VR+Vout=0Vout=VR−VD,onVout=IDR1−VD,on(3) \begin{aligned} \text{KVL: }\ +V_\mathrm{D,on}-V_\mathrm{R}+V_\mathrm{out}&=0\\ V_\mathrm{out}&=V_\mathrm{R}-V_\mathrm{D,on}\\ V_\mathrm{out}&=I_\mathrm{D}R_1-V_\mathrm{D,on}\quad(3) \end{aligned} Iin=ID⏟<0ID<0 ⇒ Iin<0(4)I_\mathrm{in}=\underbrace{I_\mathrm{D}}_{<0}\qquad I_\mathrm{D}<0\ \Rightarrow\ I_\mathrm{in}<0\quad(4)

(f)

Iin in parallel with D2 (pointing down) and with D1 (pointing up) above R1, output across R1; Vout = 0 for Iin > 0 and R1 Iin for Iin < 0

Source: p3-21f.tex

Vout={0,Iin>0R1Iin,Iin<0 V_\mathrm{out}=\begin{cases} 0, & I_\mathrm{in}>0\\ R_1I_\mathrm{in}, & I_\mathrm{in}<0 \end{cases}

Assume D2D_2 on & D1D_1 off.

D2 replaced by a VD,on source (plus on top), D1 open; no current reaches R1

Source: p3-21f-d2on.tex

Vout=0 V(1)V_\mathrm{out}=0\,\mathrm{V}\quad(1)Iin=ID1+ID2ID1=0 AI_\mathrm{in}=I_\mathrm{D1}+I_\mathrm{D2}\qquad I_\mathrm{D1}=0\,\mathrm{A}Iin=ID2⏟>0ID2>0 ⇒ Iin>0(2)I_\mathrm{in}=\underbrace{I_\mathrm{D2}}_{>0}\qquad I_\mathrm{D2}>0\ \Rightarrow\ I_\mathrm{in}>0\quad(2)

Assume D2D_2 off & D1D_1 on.

D2 open, D1 replaced by a VD,on source (minus on top) above R1

Source: p3-21f-d1on.tex

Vout=Iin×R1(3)V_\mathrm{out}=I_\mathrm{in}\times R_1\quad(3)Iin=ID1⏟<0ID1<0 ⇒ Iin<0(4)I_\mathrm{in}=\underbrace{I_\mathrm{D1}}_{<0}\qquad I_\mathrm{D1}<0\ \Rightarrow\ I_\mathrm{in}<0\quad(4)

g)

Iin in parallel with D2 (pointing up) and with D1 (pointing up) above R1, output across R1; Vout = 0 for all Iin

Source: p3-21g.tex

Assume D1D_1 & D2D_2 are off

Both diodes open; no current reaches R1

Source: p3-21g-off.tex

Vout=0 (1)\boxed{V_\mathrm{out}=0}\ (1)Iin=ID1+ID2ID1=0I_\mathrm{in}=I_\mathrm{D1}+I_\mathrm{D2}\qquad I_\mathrm{D1}=0Iin=ID2⏟>0ID2>0ID2=Iin>0 (2)I_\mathrm{in}=\underbrace{I_\mathrm{D2}}_{>0}\qquad I_\mathrm{D2}>0\qquad I_\mathrm{D2}=\boxed{I_\mathrm{in}>0}\ (2)

Assume D1D_1 & D2D_2 are on

Both diodes replaced by VD,on sources with plus at the bottom; KVL around D2, D1 and R1 (voltage VR)

Source: p3-21g-on.tex

Iin=ID1+ID2I_\mathrm{in}=I_\mathrm{D1}+I_\mathrm{D2}VD,on−VD,on+VR=0\cancel{V_\mathrm{D,on}}-\cancel{V_\mathrm{D,on}}+V_\mathrm{R}=0

VR=0V_\mathrm{R}=0 meaning no current flows thru R1R_1, and also no current thru D1D_1.

CONTRADICTION

Assume D2D_2 on & D1D_1 off

D2 replaced by a VD,on source (plus at the bottom), D1 open; R1 carries no current

Source: p3-21g-d2on.tex

Iin=ID1+ID2ID1=0I_\mathrm{in}=I_\mathrm{D1}+I_\mathrm{D2}\qquad\boxed{I_\mathrm{D1}=0}Iin=ID2⏟<0ID2<0Iin<0(4)I_\mathrm{in}=\underbrace{I_\mathrm{D2}}_{<0}\qquad I_\mathrm{D2}<0\qquad I_\mathrm{in}<0\quad(4)Vout=0(3)V_\mathrm{out}=0\quad(3)Vout=0 V for −∞<Iin<+∞\boxed{V_\mathrm{out}=0\,\mathrm{V}\ \text{for}\ -\infty<I_\mathrm{in}<+\infty}

h)

Iin in parallel with D2 (pointing up) and with D1 (pointing down) above R1, output across R1; Vout = 0 for Iin < 0 and R1 Iin for Iin > 0

Source: p3-21h.tex

Assume D2D_2 off & D1D_1 on

D2 open, D1 replaced by a VD,on source (plus on top) above R1

Source: p3-21h-d1on.tex

Iin=ID1+ID2ID2=0I_\mathrm{in}=I_\mathrm{D1}+I_\mathrm{D2}\qquad I_\mathrm{D2}=0Iin=ID1⏟>0ID1>0Iin>0I_\mathrm{in}=\underbrace{I_\mathrm{D1}}_{>0}\qquad I_\mathrm{D1}>0\qquad\boxed{I_\mathrm{in}>0}Vout=IinR1V_\mathrm{out}=I_\mathrm{in}R_1

Assume D2D_2 on & D1D_1 off

D2 replaced by a VD,on source (plus at the bottom), D1 open; R1 carries no current

Source: p3-21h-d2on.tex

Vout=0V_\mathrm{out}=0Iin=ID2+ID1ID1=0I_\mathrm{in}=I_\mathrm{D2}+I_\mathrm{D1}\qquad I_\mathrm{D1}=0Iin=ID2⏟<0ID2<0Iin<0I_\mathrm{in}=\underbrace{I_\mathrm{D2}}_{<0}\qquad I_\mathrm{D2}<0\qquad I_\mathrm{in}<0

Problem 3.22

Problem 3.22 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Plot the current flowing through R1R_1 as a function of IinI_\mathrm{in} for the circuits of Fig. 3.73. Assume a constant-voltage diode model.

Eight plots of IR1 against Iin: a) slope 1 up to 2VD,on/R1, then flat; b), d), g) zero; c), e), f) slope 1 for Iin < 0 and zero for Iin > 0; h) zero for Iin < 0 and slope 1 for Iin > 0

Source: p3-22.tex

Problem 3.23

Problem 3.23 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Plot the input/output characteristic of the circuits illustrated in Fig. 3.74 assuming a constant-voltage model.

a)

Vin through R1 to the output, R2 and D1 (pointing down) from the output to ground; Vout rises with slope R2/(R1 + R2) up to Vin = VD,on + (R1/R2)VD,on, then is flat at VD,on

Source: p3-23a.tex

Assume D1D_1 on:

D1 replaced by a VD,on source; Iin through R1 splits into IR2 through R2 (voltage VR2) and ID1; KVL around the input loop

Source: p3-23a-on.tex

Vout=VD,on(1)V_\mathrm{out}=V_\mathrm{D,on}\quad(1)IR2=VD,onR2I_\mathrm{R2}=\frac{V_\mathrm{D,on}}{R_2}Iin=I1=Vin−VD,onR1I_\mathrm{in}=I_1=\frac{V_\mathrm{in}-V_\mathrm{D,on}}{R_1}IR1=ID1+IR2IR1=IinI_\mathrm{R1}=I_\mathrm{D1}+I_\mathrm{R2}\qquad I_\mathrm{R1}=I_\mathrm{in}ID1=IR1−IR2⏟>0 ⇒ IR1−IR2>0 ⇒ Vin−VD,onR1−VD,onR2>0I_\mathrm{D1}=\underbrace{I_\mathrm{R1}-I_\mathrm{R2}}_{>0}\ \Rightarrow\ I_\mathrm{R1}-I_\mathrm{R2}>0\ \Rightarrow\ \frac{V_\mathrm{in}-V_\mathrm{D,on}}{R_1}-\frac{V_\mathrm{D,on}}{R_2}>0VinR1−VD,onR1−VD,onR2>0\frac{V_\mathrm{in}}{R_1}-\frac{V_\mathrm{D,on}}{R_1}-\frac{V_\mathrm{D,on}}{R_2}>0VinR1>VD,onR1+VD,onR2\frac{V_\mathrm{in}}{R_1}>\frac{V_\mathrm{D,on}}{R_1}+\frac{V_\mathrm{D,on}}{R_2}Vin>VD,on+R1R2VD,on(2)V_\mathrm{in}>V_\mathrm{D,on}+\frac{R_1}{R_2}V_\mathrm{D,on}\quad(2)

assume D1D_1 off:

D1 open; R1 and R2 form a divider

Source: p3-23a-off.tex

Vout=R2R1+R2Vin(3)V_\mathrm{out}=\frac{R_2}{R_1+R_2}V_\mathrm{in}\quad(3)

sanity check (SC) of (3) at the boundary (2):

SC:  Vout=R2R2+R1(VD,on+R1R2VD,on)Vout=R2R1+R2VD,on+R1R1+R2VD,onVout=VD,on(R1+R2R1+R2)=VD,on \begin{aligned} \text{SC: }\ V_\mathrm{out}&=\frac{R_2}{R_2+R_1}\left(V_\mathrm{D,on}+\frac{R_1}{R_2}V_\mathrm{D,on}\right)\\ V_\mathrm{out}&=\frac{R_2}{R_1+R_2}V_\mathrm{D,on}+\frac{R_1}{R_1+R_2}V_\mathrm{D,on}\\ V_\mathrm{out}&=V_\mathrm{D,on}\left(\frac{R_1+R_2}{R_1+R_2}\right)=V_\mathrm{D,on} \end{aligned}

All good.

Vout={VD,on,Vin>VD,on+R1R2VD,onR2R1+R2Vin,Vin<VD,on+R1R2VD,on V_\mathrm{out}=\begin{cases} V_\mathrm{D,on}, & V_\mathrm{in}>V_\mathrm{D,on}+\dfrac{R_1}{R_2}V_\mathrm{D,on}\\[8pt] \dfrac{R_2}{R_1+R_2}V_\mathrm{in}, & V_\mathrm{in}<V_\mathrm{D,on}+\dfrac{R_1}{R_2}V_\mathrm{D,on} \end{cases}

b)

Vin through R1, with D1 in parallel with R1, to the output; R2 from the output to ground; Vout rises with slope R2/(R1 + R2) up to Vin = VD,on + (R2/R1)VD,on, then with slope 1 along the line that would cross the axis at −VD,on

Source: p3-23b.tex

assume D1D_1 on.

D1 replaced by a VD,on source across R1; Iin splits into ID and IR1, IR2 flows down through R2 (voltage VR2); KVL around Vin, VD,on and R2

Source: p3-23b-on.tex

Iin=ID+IR1I_\mathrm{in}=I_\mathrm{D}+I_\mathrm{R1}ID=Iin−IR1⏟>0I_\mathrm{D}=\underbrace{I_\mathrm{in}-I_\mathrm{R1}}_{>0}KVL:  −Vin+VD,on+VR2=0VR2=Vin−VD,onIR2=VR2R2=Vin−VD,onR2 \begin{aligned} \text{KVL: }\ -V_\mathrm{in}+V_\mathrm{D,on}+V_\mathrm{R2}&=0\\ V_\mathrm{R2}&=V_\mathrm{in}-V_\mathrm{D,on}\\ I_\mathrm{R2}=\frac{V_\mathrm{R2}}{R_2}&=\frac{V_\mathrm{in}-V_\mathrm{D,on}}{R_2} \end{aligned} Vout=Vin−VD,on(1)V_\mathrm{out}=V_\mathrm{in}-V_\mathrm{D,on}\quad(1)

condition for D1D_1 on:

Iin=IR2I_\mathrm{in}=I_\mathrm{R2}Iin−IR1>0I_\mathrm{in}-I_\mathrm{R1}>0IR2−IR1>0I_\mathrm{R2}-I_\mathrm{R1}>0Vin−VD,onR2−VD,onR1>0\frac{V_\mathrm{in}-V_\mathrm{D,on}}{R_2}-\frac{V_\mathrm{D,on}}{R_1}>0VinR2−VD,onR2−VD,onR1>0\frac{V_\mathrm{in}}{R_2}-\frac{V_\mathrm{D,on}}{R_2}-\frac{V_\mathrm{D,on}}{R_1}>0VinR2>VD,onR2+VD,onR1 ⇒ Vin>VD,on+R2R1VD,on(2)\frac{V_\mathrm{in}}{R_2}>\frac{V_\mathrm{D,on}}{R_2}+\frac{V_\mathrm{D,on}}{R_1}\ \Rightarrow\ V_\mathrm{in}>V_\mathrm{D,on}+\frac{R_2}{R_1}V_\mathrm{D,on}\quad(2)

Assume D1D_1 off

D1 removed; R1 and R2 form a divider

Source: p3-23b-off.tex

Vout=R2R1+R2Vin(3)V_\mathrm{out}=\frac{R_2}{R_1+R_2}V_\mathrm{in}\quad(3)(4)Vin<VD,on+R2R1VD,on(4)\quad V_\mathrm{in}<V_\mathrm{D,on}+\frac{R_2}{R_1}V_\mathrm{D,on}Vout={Vin−VD,on,Vin>VD,on+R2R1VD,onR2R1+R2Vin,Vin<VD,on+R2R1VD,on V_\mathrm{out}=\begin{cases} V_\mathrm{in}-V_\mathrm{D,on}, & V_\mathrm{in}>V_\mathrm{D,on}+\dfrac{R_2}{R_1}V_\mathrm{D,on}\\[8pt] \dfrac{R_2}{R_1+R_2}V_\mathrm{in}, & V_\mathrm{in}<V_\mathrm{D,on}+\dfrac{R_2}{R_1}V_\mathrm{D,on} \end{cases}

Problem 3.24

Problem 3.24 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Plot the currents flowing through R1R_1 and D1D_1 as a function of VinV_\mathrm{in} for the circuits of Fig. 3.74. Assume a constant-voltage diode model.

a) IR1I_\mathrm{R1} vs VinV_\mathrm{in}

IR1={(Vin−VD,on)/R1,… onVinR1+R2,… off I_\mathrm{R1}=\begin{cases} (V_\mathrm{in}-V_\mathrm{D,on})/R_1, & \ldots\ \text{on}\\[4pt] \dfrac{V_\mathrm{in}}{R_1+R_2}, & \ldots\ \text{off} \end{cases}
IR1 rises with slope 1/(R1 + R2) up to Vin = VD,on + (R1/R2)VD,on, then with slope 1/R1 along the line through −VD,on/R1

Source: p3-24a-ir1.tex

a) IDI_\mathrm{D} vs VinV_\mathrm{in}

ID={1R1Vin−VD,onR1−VD,onR2,… on0,… off I_\mathrm{D}=\begin{cases} \dfrac{1}{R_1}V_\mathrm{in}-\dfrac{V_\mathrm{D,on}}{R_1}-\dfrac{V_\mathrm{D,on}}{R_2}, & \ldots\ \text{on}\\[8pt] 0, & \ldots\ \text{off} \end{cases}
ID is zero up to Vin = VD,on + (R1/R2)VD,on, then rises with slope 1/R1 along the line through −VD,on/R1 − VD,on/R2

Source: p3-24a-id.tex

b) IDI_\mathrm{D} v VinV_\mathrm{in}

ID={VinR2−VD,onR2−VD,onR1,… on0,… off I_\mathrm{D}=\begin{cases} \dfrac{V_\mathrm{in}}{R_2}-\dfrac{V_\mathrm{D,on}}{R_2}-\dfrac{V_\mathrm{D,on}}{R_1}, & \ldots\ \text{on}\\[8pt] 0, & \ldots\ \text{off} \end{cases}
ID is zero up to Vin = VD,on + (R2/R1)VD,on, then rises along the line through −VD,on/R2 − VD,on/R1

Source: p3-24b-id.tex

IR1I_\mathrm{R1} v VinV_\mathrm{in}

IR1={VD,onR1,… onVinR1+R2,… off I_\mathrm{R1}=\begin{cases} \dfrac{V_\mathrm{D,on}}{R_1}, & \ldots\ \text{on}\\[8pt] \dfrac{V_\mathrm{in}}{R_1+R_2}, & \ldots\ \text{off} \end{cases}
IR1 rises with slope 1/(R1 + R2), then is flat at VD,on/R1

Source: p3-24b-ir1.tex

Problem 3.25

Problem 3.25 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Plot the input/output characteristic of the circuits illustrated in Fig. 3.75 assuming a constant-voltage model.

a)

Vin through R1, with D1 (anode at Vin) in parallel with R1, to Vout; R2 and VB in series from Vout to ground

Source: p3-25a-c.tex

Vout rises with slope R2/(R1 + R2) up to Vin = (1 + R2/R1)VD,on + VB, where Vout = (R2/R1)VD,on + VB, then with slope 1 along the line through −VD,on

Source: p3-25a.tex

assume D1D_1 on:

D1 replaced by a VD,on source; Iin splits into ID and IR1, then flows down through R2 and VB; KVL around Vin, VD,on, R2, VB

Source: p3-25a-on.tex

Vout=Vin−VD,on(1)V_\mathrm{out}=V_\mathrm{in}-V_\mathrm{D,on}\quad(1)Iin=ID+IR1 ⇒ ID=Iin−IR1⏟>0I_\mathrm{in}=I_\mathrm{D}+I_\mathrm{R1}\ \Rightarrow\ I_\mathrm{D}=\underbrace{I_\mathrm{in}-I_\mathrm{R1}}_{>0}Iin−IR1>0I_\mathrm{in}-I_\mathrm{R1}>0KVL:  −Vin+VD,on+VR2+VB=0VR2=Vin−VD,on−VBIinR2=Vin−VD,on−VB⇓Iin=VinR2−(VD,on+VBR2) \begin{aligned} \text{KVL: }\ -V_\mathrm{in}+V_\mathrm{D,on}+V_\mathrm{R2}+V_\mathrm{B}&=0\\ V_\mathrm{R2}&=V_\mathrm{in}-V_\mathrm{D,on}-V_\mathrm{B}\\ I_\mathrm{in}R_2&=V_\mathrm{in}-V_\mathrm{D,on}-V_\mathrm{B}\\ &\Downarrow\\ I_\mathrm{in}&=\frac{V_\mathrm{in}}{R_2}-\left(\frac{V_\mathrm{D,on}+V_\mathrm{B}}{R_2}\right) \end{aligned} VinR2−(VD,on+VBR2)−VD,onR1>0\frac{V_\mathrm{in}}{R_2}-\left(\frac{V_\mathrm{D,on}+V_\mathrm{B}}{R_2}\right)-\frac{V_\mathrm{D,on}}{R_1}>0Vin>VD,on+VB+R2R1VD,onV_\mathrm{in}>V_\mathrm{D,on}+V_\mathrm{B}+\frac{R_2}{R_1}V_\mathrm{D,on}Vin>(1+R2R1)VD,on+VB(2)V_\mathrm{in}>\left(1+\frac{R_2}{R_1}\right)V_\mathrm{D,on}+V_\mathrm{B}\quad(2)

assume D1D_1 off:

D1 open; Iin flows through R1, then IR2 down through R2 and VB; KVL around the loop

Source: p3-25a-off.tex

Iin=IR1=IR2Vout=VB+IR2R2I_\mathrm{in}=I_\mathrm{R1}=I_\mathrm{R2}\qquad V_\mathrm{out}=V_\mathrm{B}+I_\mathrm{R2}R_2KVL:  −Vin+IR1R1+IR2R2+VB=0\text{KVL: }\ -V_\mathrm{in}+I_\mathrm{R1}R_1+I_\mathrm{R2}R_2+V_\mathrm{B}=0IR1=IR2=Iin=Vin−VBR1+R2I_\mathrm{R1}=I_\mathrm{R2}=I_\mathrm{in}=\frac{V_\mathrm{in}-V_\mathrm{B}}{R_1+R_2}Iin=ID+IR1 ⇒ ID=Iin−IR1⏟<0 ⇒ same analysis.I_\mathrm{in}=I_\mathrm{D}+I_\mathrm{R1}\ \Rightarrow\ I_\mathrm{D}=\underbrace{I_\mathrm{in}-I_\mathrm{R1}}_{<0}\ \Rightarrow\ \text{same analysis.}
Vin through R1 to Vout, R2 and VB to ground

Source: p3-25a-off2.tex

Vout=VB+R2IinIin=Vin−VBR1+R2=VB+R2(Vin−VBR1+R2)=VB+R2R1+R2(Vin−VB)=R2R1+R2Vin+VB(1−R2R1+R2)=Vout(3) \begin{aligned} V_\mathrm{out}&=V_\mathrm{B}+R_2I_\mathrm{in}\qquad I_\mathrm{in}=\frac{V_\mathrm{in}-V_\mathrm{B}}{R_1+R_2}\\ &=V_\mathrm{B}+R_2\left(\frac{V_\mathrm{in}-V_\mathrm{B}}{R_1+R_2}\right)\\ &=V_\mathrm{B}+\frac{R_2}{R_1+R_2}(V_\mathrm{in}-V_\mathrm{B})=\frac{R_2}{R_1+R_2}V_\mathrm{in}+V_\mathrm{B}\left(1-\frac{R_2}{R_1+R_2}\right)=V_\mathrm{out}\quad(3) \end{aligned} Vout={Vin−VD,on,Vin>(1+R2R1)VD,on+VBR2R1+R2Vin+VB(1−R2R1+R2),Vin<(1+R2R1)VD,on+VB V_\mathrm{out}=\begin{cases} V_\mathrm{in}-V_\mathrm{D,on}, & V_\mathrm{in}>\left(1+\dfrac{R_2}{R_1}\right)V_\mathrm{D,on}+V_\mathrm{B}\\[10pt] \dfrac{R_2}{R_1+R_2}V_\mathrm{in}+V_\mathrm{B}\left(1-\dfrac{R_2}{R_1+R_2}\right), & V_\mathrm{in}<\left(1+\dfrac{R_2}{R_1}\right)V_\mathrm{D,on}+V_\mathrm{B} \end{cases}

(a) on-off point:

Vout=VD,on+R2R1VD,on+VB−VD,on=R2R1VD,on+VBV_\mathrm{out}=V_\mathrm{D,on}+\frac{R_2}{R_1}V_\mathrm{D,on}+V_\mathrm{B}-V_\mathrm{D,on}=\frac{R_2}{R_1}V_\mathrm{D,on}+V_\mathrm{B}

b)

Vin through R1, with D1 and VB in series in parallel with R1, to Vout; R2 from Vout to ground

Source: p3-25b-c.tex

Vout rises with slope R2/(R1 + R2) up to Vin = (1 + R2/R1)(VD,on + VB), then with slope 1 along the line through −VD,on − VB

Source: p3-25b.tex

assume D1D_1 on:

D1 replaced by a VD,on source in series with VB across R1; Iin splits into ID and IR1 and flows down through R2; KVL around Vin, VD,on, VB, R2

Source: p3-25b-on.tex

KCL:  Iin=ID+IR1 ⇒ ID=Iin−IR1⏟>0\text{KCL: }\ I_\mathrm{in}=I_\mathrm{D}+I_\mathrm{R1}\ \Rightarrow\ I_\mathrm{D}=\underbrace{I_\mathrm{in}-I_\mathrm{R1}}_{>0}Iin−IR1>0I_\mathrm{in}-I_\mathrm{R1}>0VR2=IinR2V_\mathrm{R2}=I_\mathrm{in}R_2KVL:  −Vin+VD,on+VB+VR2=0\text{KVL: }\ -V_\mathrm{in}+V_\mathrm{D,on}+V_\mathrm{B}+V_\mathrm{R2}=0IinR2=Vin−VD,on−VB ⇒ Iin=Vin−VD,on−VBR2I_\mathrm{in}R_2=V_\mathrm{in}-V_\mathrm{D,on}-V_\mathrm{B}\ \Rightarrow\ I_\mathrm{in}=\frac{V_\mathrm{in}-V_\mathrm{D,on}-V_\mathrm{B}}{R_2}(1)Vout=Vin−VD,on−VB(1)\quad V_\mathrm{out}=V_\mathrm{in}-V_\mathrm{D,on}-V_\mathrm{B}VinR2−VD,on+VBR2−VD,on+VBR1>0\frac{V_\mathrm{in}}{R_2}-\frac{V_\mathrm{D,on}+V_\mathrm{B}}{R_2}-\frac{V_\mathrm{D,on}+V_\mathrm{B}}{R_1}>0⇓\DownarrowVin>1(VD,on+VB)+R2R1(VD,on+VB)V_\mathrm{in}>1(V_\mathrm{D,on}+V_\mathrm{B})+\frac{R_2}{R_1}(V_\mathrm{D,on}+V_\mathrm{B})Vin>(1+R2R1)(VD,on+VB) (2)\boxed{V_\mathrm{in}>\left(1+\frac{R_2}{R_1}\right)(V_\mathrm{D,on}+V_\mathrm{B})\ (2)}

Assume D1D_1 off

D1 open; R1 and R2 form a divider

Source: p3-25b-off.tex

Vout=R2R1+R2Vin(3)V_\mathrm{out}=\frac{R_2}{R_1+R_2}V_\mathrm{in}\quad(3)Vout={Vin−VD,on−VB,Vin>(1+R2R1)(VD,on+VB)R2R1+R2Vin,Vin<(1+R2R1)(VD,on+VB) V_\mathrm{out}=\begin{cases} V_\mathrm{in}-V_\mathrm{D,on}-V_\mathrm{B}, & V_\mathrm{in}>\left(1+\dfrac{R_2}{R_1}\right)(V_\mathrm{D,on}+V_\mathrm{B})\\[10pt] \dfrac{R_2}{R_1+R_2}V_\mathrm{in}, & V_\mathrm{in}<\left(1+\dfrac{R_2}{R_1}\right)(V_\mathrm{D,on}+V_\mathrm{B}) \end{cases}

c)

Vin through R1, with D1 (anode at the right) in parallel with R1, then VB to Vout; R2 from Vout to ground

Source: p3-25c-c.tex

For VB much larger than VD,on: Vout rises with slope 1 along the line through VD,on − VB up to Vin = −(1 + R2/R1)VD,on + VB, then with slope R2/(R1 + R2) along the line through −VB R2/(R1 + R2)

Source: p3-25c.tex

assume D1D_1 on:

D1 replaced by a VD,on source (plus at the right) across R1; Iin, ID and IR1 at the input node; Iin flows down through R2 (voltage VR2); KVL loops

Source: p3-25c-on.tex

KVL1:  −Vin−VD,on+VB+Vout=0\text{KVL1: }\ -V_\mathrm{in}-V_\mathrm{D,on}+V_\mathrm{B}+V_\mathrm{out}=0Vout=Vin+VD,on−VB(1)V_\mathrm{out}=V_\mathrm{in}+V_\mathrm{D,on}-V_\mathrm{B}\quad(1)VR2=IinR2V_\mathrm{R2}=I_\mathrm{in}R_2KVL2:  −Vin−VD,on+VB+VR2=0\text{KVL2: }\ -V_\mathrm{in}-V_\mathrm{D,on}+V_\mathrm{B}+V_\mathrm{R2}=0Iin=VinR2+(VD,on−VBR2)I_\mathrm{in}=\frac{V_\mathrm{in}}{R_2}+\left(\frac{V_\mathrm{D,on}-V_\mathrm{B}}{R_2}\right)IR1=−VD,onR1I_\mathrm{R1}=-\frac{V_\mathrm{D,on}}{R_1}Iin=ID+IR1 ⇒ ID=Iin−IR1⏟<0I_\mathrm{in}=I_\mathrm{D}+I_\mathrm{R1}\ \Rightarrow\ I_\mathrm{D}=\underbrace{I_\mathrm{in}-I_\mathrm{R1}}_{<0}Iin−IR1<0I_\mathrm{in}-I_\mathrm{R1}<0VinR2+(VD,on−VBR2)+VD,onR1<0\frac{V_\mathrm{in}}{R_2}+\left(\frac{V_\mathrm{D,on}-V_\mathrm{B}}{R_2}\right)+\frac{V_\mathrm{D,on}}{R_1}<0Vin<−(VD,on−VB)−R2R1VD,onV_\mathrm{in}<-(V_\mathrm{D,on}-V_\mathrm{B})-\frac{R_2}{R_1}V_\mathrm{D,on}Vin<−VD,on+VB−R2R1VD,onV_\mathrm{in}<-V_\mathrm{D,on}+V_\mathrm{B}-\frac{R_2}{R_1}V_\mathrm{D,on}Vin<−(1+R2R1)VD,on+VB(2)V_\mathrm{in}<-\left(1+\frac{R_2}{R_1}\right)V_\mathrm{D,on}+V_\mathrm{B}\quad(2)

Assume D1D_1 off.

D1 removed; Vin through R1 and VB to Vout, Iin down through R2; Vout = Iin R2

Source: p3-25c-off.tex

KVL:  −Vin+IinR1+VB+IinR2=0Iin(R1+R2)=Vin−VBIin=Vin−VBR1+R2=1R1+R2Vin−VBR1+R2 \begin{aligned} \text{KVL: }\ -V_\mathrm{in}+I_\mathrm{in}R_1+V_\mathrm{B}+I_\mathrm{in}R_2&=0\\ I_\mathrm{in}(R_1+R_2)&=V_\mathrm{in}-V_\mathrm{B}\\ I_\mathrm{in}=\frac{V_\mathrm{in}-V_\mathrm{B}}{R_1+R_2}&=\frac{1}{R_1+R_2}V_\mathrm{in}-\frac{V_\mathrm{B}}{R_1+R_2} \end{aligned} Vout=R2R1+R2Vin−R2R1+R2VB(3)V_\mathrm{out}=\frac{R_2}{R_1+R_2}V_\mathrm{in}-\frac{R_2}{R_1+R_2}V_\mathrm{B}\quad(3)Vout={Vin+VD,on−VB,Vin<−(1+R2R1)VD,on+VBR2R1+R2Vin−R2R1+R2VB,Vin>−(1+R2R1)VD,on+VB V_\mathrm{out}=\begin{cases} V_\mathrm{in}+V_\mathrm{D,on}-V_\mathrm{B}, & V_\mathrm{in}<-\left(1+\dfrac{R_2}{R_1}\right)V_\mathrm{D,on}+V_\mathrm{B}\\[10pt] \dfrac{R_2}{R_1+R_2}V_\mathrm{in}-\dfrac{R_2}{R_1+R_2}V_\mathrm{B}, & V_\mathrm{in}>-\left(1+\dfrac{R_2}{R_1}\right)V_\mathrm{D,on}+V_\mathrm{B} \end{cases}

d)

Vin to two paths to Vout: R1 in series with VB, and D1 (anode at Vin); R2 from Vout to ground

Source: p3-25d-c.tex

Vout rises with slope R2/(R1 + R2) along the line through −R2 VB/(R1 + R2) up to Vin = VD,on + (R2/R1)VD,on − (R2/R1)VB, then with slope 1 along the line through −VD,on

Source: p3-25d.tex

assume D1D_1 on:

D1 replaced by a VD,on source; node voltages Vx at the input and Vy between R1 and VB; IR1 through R1, ID through the diode, Iin down through R2 (voltage VR2); KVL

Source: p3-25d-on.tex

Vout=Vin−VD,on(1)V_\mathrm{out}=V_\mathrm{in}-V_\mathrm{D,on}\quad(1)Iin=ID+IR1 ⇒ ID=Iin−IR1⏟>0I_\mathrm{in}=I_\mathrm{D}+I_\mathrm{R1}\ \Rightarrow\ I_\mathrm{D}=\underbrace{I_\mathrm{in}-I_\mathrm{R1}}_{>0}KVL:  −Vin+VD,on+VR2=0\text{KVL: }\ -V_\mathrm{in}+V_\mathrm{D,on}+V_\mathrm{R2}=0IinR2=VR2=Vin−VD,on ⇒ Iin=Vin−VD,onR2I_\mathrm{in}R_2=V_\mathrm{R2}=V_\mathrm{in}-V_\mathrm{D,on}\ \Rightarrow\ \boxed{I_\mathrm{in}=\frac{V_\mathrm{in}-V_\mathrm{D,on}}{R_2}}IR1=Vx−VyR1Vx=Vin,Vy=Vin−VD,on+VBI_\mathrm{R1}=\frac{V_x-V_y}{R_1}\qquad V_x=V_\mathrm{in},\quad V_y=V_\mathrm{in}-V_\mathrm{D,on}+V_\mathrm{B}IR1=Vin−Vin+VD,on−VBR1=VD,on−VBR1I_\mathrm{R1}=\frac{V_\mathrm{in}-V_\mathrm{in}+V_\mathrm{D,on}-V_\mathrm{B}}{R_1}=\frac{V_\mathrm{D,on}-V_\mathrm{B}}{R_1}Iin−IR1>0 ⇒ 1R2Vin−VD,onR2−VD,onR1+VBR1>0 ⇒ Vin>VD,on+R2R1VD,on−R2R1VBI_\mathrm{in}-I_\mathrm{R1}>0\ \Rightarrow\ \frac{1}{R_2}V_\mathrm{in}-\frac{V_\mathrm{D,on}}{R_2}-\frac{V_\mathrm{D,on}}{R_1}+\frac{V_\mathrm{B}}{R_1}>0\ \Rightarrow\ V_\mathrm{in}>V_\mathrm{D,on}+\frac{R_2}{R_1}V_\mathrm{D,on}-\frac{R_2}{R_1}V_\mathrm{B}Vin>(1+R2R1)VD,on−R2R1VB(2)V_\mathrm{in}>\left(1+\frac{R_2}{R_1}\right)V_\mathrm{D,on}-\frac{R_2}{R_1}V_\mathrm{B}\quad(2)

Assume D1D_1 off

D1 open; Iin flows through R1 and VB, then down through R2; KVL around the loop

Source: p3-25d-off.tex

Vout=IinR2V_\mathrm{out}=I_\mathrm{in}R_2KVL:  −Vin+IinR1+VB+IinR2=0\text{KVL: }\ -V_\mathrm{in}+I_\mathrm{in}R_1+V_\mathrm{B}+I_\mathrm{in}R_2=0Iin=Vin−VBR1+R2=1R1+R2Vin−VBR1+R2I_\mathrm{in}=\frac{V_\mathrm{in}-V_\mathrm{B}}{R_1+R_2}=\frac{1}{R_1+R_2}V_\mathrm{in}-\frac{V_\mathrm{B}}{R_1+R_2}Vout=R2R1+R2Vin−R2R1+R2VB(3)V_\mathrm{out}=\frac{R_2}{R_1+R_2}V_\mathrm{in}-\frac{R_2}{R_1+R_2}V_\mathrm{B}\quad(3)Vout={Vin−VD,on,Vin>VD,on+R2R1VD,on−R2R1VBR2R1+R2Vin−R2R1+R2VB,Vin<VD,on+R2R1VD,on−R2R1VB V_\mathrm{out}=\begin{cases} V_\mathrm{in}-V_\mathrm{D,on}, & V_\mathrm{in}>V_\mathrm{D,on}+\dfrac{R_2}{R_1}V_\mathrm{D,on}-\dfrac{R_2}{R_1}V_\mathrm{B}\\[10pt] \dfrac{R_2}{R_1+R_2}V_\mathrm{in}-\dfrac{R_2}{R_1+R_2}V_\mathrm{B}, & V_\mathrm{in}<V_\mathrm{D,on}+\dfrac{R_2}{R_1}V_\mathrm{D,on}-\dfrac{R_2}{R_1}V_\mathrm{B} \end{cases}

Problem 3.26

Problem 3.26 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Plot the currents flowing through R1R_1 and D1D_1 as a function of VinV_\mathrm{in} for the circuits of Fig. 3.75. Assume a constant-voltage diode model.

a) IR1I_\mathrm{R1} vs VinV_\mathrm{in}

IR1={VD,on/R1,D1 on1R1+R2Vin−VBR1+R2,D1 off I_\mathrm{R1}=\begin{cases} V_\mathrm{D,on}/R_1, & D_1\ \text{on}\\[4pt] \dfrac{1}{R_1+R_2}V_\mathrm{in}-\dfrac{V_\mathrm{B}}{R_1+R_2}, & D_1\ \text{off} \end{cases}
IR1 rises with slope 1/(R1 + R2) from −VB/(R1 + R2) at Vin = 0 up to Vin = (1 + R2/R1)VD,on + VB, then is flat at VD,on/R1

Source: p3-26a-ir1.tex

ID1I_\mathrm{D1} vs VinV_\mathrm{in}

ID1={VinR2−(VD,on+VBR2)−VD,onR1,D1 on0 I_\mathrm{D1}=\begin{cases} \dfrac{V_\mathrm{in}}{R_2}-\left(\dfrac{V_\mathrm{D,on}+V_\mathrm{B}}{R_2}\right)-\dfrac{V_\mathrm{D,on}}{R_1}, & D_1\ \text{on}\\[10pt] 0 \end{cases}
ID1 is zero up to Vin = (1 + R2/R1)VD,on + VB, then rises with slope 1/R2

Source: p3-26a-id.tex

b) IR1I_\mathrm{R1} vs VinV_\mathrm{in}

IR1={VD,on+VBR1,D1 onVinR1+R2,D1 off I_\mathrm{R1}=\begin{cases} \dfrac{V_\mathrm{D,on}+V_\mathrm{B}}{R_1}, & D_1\ \text{on}\\[8pt] \dfrac{V_\mathrm{in}}{R_1+R_2}, & D_1\ \text{off} \end{cases}
IR1 rises with slope 1/(R1 + R2) through the origin up to Vin = (1 + R2/R1)(VD,on + VB), then is flat at (VD,on + VB)/R1

Source: p3-26b-ir1.tex

ID1I_\mathrm{D1} vs VinV_\mathrm{in}

ID1={VinR2−VD,on+VBR2−VD,on+VBR10 I_\mathrm{D1}=\begin{cases} \dfrac{V_\mathrm{in}}{R_2}-\dfrac{V_\mathrm{D,on}+V_\mathrm{B}}{R_2}-\dfrac{V_\mathrm{D,on}+V_\mathrm{B}}{R_1}\\[8pt] 0 \end{cases}
ID1 is zero up to Vin = (1 + R2/R1)(VD,on + VB), then rises with slope 1/R2

Source: p3-26b-id.tex

c) IR1I_\mathrm{R1} vs VinV_\mathrm{in}

IR1={−VD,onR1,D1 on1R1+R2Vin−VBR1+R2,D1 off I_\mathrm{R1}=\begin{cases} -\dfrac{V_\mathrm{D,on}}{R_1}, & D_1\ \text{on}\\[8pt] \dfrac{1}{R_1+R_2}V_\mathrm{in}-\dfrac{V_\mathrm{B}}{R_1+R_2}, & D_1\ \text{off} \end{cases}
IR1 is flat at −VD,on/R1 up to Vin = −(1 + R2/R1)VD,on + VB, then rises with slope 1/(R1 + R2) along the line through −VB/(R1 + R2)

Source: p3-26c-ir1.tex

ID1I_\mathrm{D1} vs VinV_\mathrm{in}

ID1={VinR2+(VD,on−VBR2)+VD,onR1,D1 on0 I_\mathrm{D1}=\begin{cases} \dfrac{V_\mathrm{in}}{R_2}+\left(\dfrac{V_\mathrm{D,on}-V_\mathrm{B}}{R_2}\right)+\dfrac{V_\mathrm{D,on}}{R_1}, & D_1\ \text{on}\\[8pt] 0 \end{cases}
ID1 (counted in the direction of Iin) rises with slope 1/R2 up to zero at Vin = −(1 + R2/R1)VD,on + VB and is zero above

Source: p3-26c-id.tex

d) IR1I_\mathrm{R1} vs VinV_\mathrm{in}

IR1={VD,on−VBR1,D1 on1R1+R2Vin−VBR1+R2,D1 off I_\mathrm{R1}=\begin{cases} \dfrac{V_\mathrm{D,on}-V_\mathrm{B}}{R_1}, & D_1\ \text{on}\\[8pt] \dfrac{1}{R_1+R_2}V_\mathrm{in}-\dfrac{V_\mathrm{B}}{R_1+R_2}, & D_1\ \text{off} \end{cases}
IR1 rises with slope 1/(R1 + R2) from −VB/(R1 + R2) at Vin = 0 up to Vin = VD,on + (R2/R1)VD,on − (R2/R1)VB, then is flat at (VD,on − VB)/R1

Source: p3-26d-ir1.tex

ID1I_\mathrm{D1} vs VinV_\mathrm{in}

ID1={1R2Vin−VD,on(1R1+1R2)⏞R1∥R2+VBR1,D1 on0,D1 off I_\mathrm{D1}=\begin{cases} \dfrac{1}{R_2}V_\mathrm{in}-V_\mathrm{D,on}\overbrace{\left(\dfrac{1}{R_1}+\dfrac{1}{R_2}\right)}^{R_1\|R_2}+\dfrac{V_\mathrm{B}}{R_1}, & D_1\ \text{on}\\[10pt] 0, & D_1\ \text{off} \end{cases}
ID1 is zero up to Vin = VD,on + (R2/R1)VD,on − (R2/R1)VB, then rises with slope 1/R2 along the line through −VD,on(1/R1 + 1/R2) + VB/R1

Source: p3-26d-id.tex

Problem 3.27

Problem 3.27 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Plot the input/output characteristic of the circuits illustrated in Fig. 3.76 assuming a constant-voltage model and VB=2 VV_\mathrm{B}=2\ \mathrm{V}.

a)

Vin to Vout through R1, with D1 and VB (plus at the left) in series in parallel with R1; D2 and R2 in series from Vout to ground; currents Iin, IR1, ID1

Source: p3-27a-c.tex

Vout follows Vin with slope 1 up to VD,on, then rises with slope R2/(R1 + R2) up to Vin = VD,on + (VB + VD,on)/(1 − R2/(R1 + R2)), then with slope 1 again

Source: p3-27a.tex

VinV_\mathrm{in} very negative: D1D_1 & D2D_2 off

Vout=VinV_\mathrm{out}=V_\mathrm{in}

Vin≳VD,onV_\mathrm{in}\gtrsim V_\mathrm{D,on}: D2D_2 on & D1D_1 off

D1 open, D2 replaced by a VD,on source; Iin flows through R1, VD,on and R2; KVL around the loop

Source: p3-27a-on.tex

KVL:  −Vin+IinR1+VD,on+IinR2=0\text{KVL: }\ -V_\mathrm{in}+I_\mathrm{in}R_1+V_\mathrm{D,on}+I_\mathrm{in}R_2=0Iin(R1+R2)=Vin−VD,on ⇒ Iin=Vin−VD,onR1+R2I_\mathrm{in}(R_1+R_2)=V_\mathrm{in}-V_\mathrm{D,on}\ \Rightarrow\ I_\mathrm{in}=\frac{V_\mathrm{in}-V_\mathrm{D,on}}{R_1+R_2}Vout=VD,on+IinR2=VD,on+R2R1+R2Vin−R2R1+R2VD,onV_\mathrm{out}=V_\mathrm{D,on}+I_\mathrm{in}R_2=V_\mathrm{D,on}+\frac{R_2}{R_1+R_2}V_\mathrm{in}-\frac{R_2}{R_1+R_2}V_\mathrm{D,on}Vout=R2R1+R2Vin+VD,on(1−R2R1+R2)V_\mathrm{out}=\frac{R_2}{R_1+R_2}V_\mathrm{in}+V_\mathrm{D,on}\left(1-\frac{R_2}{R_1+R_2}\right)

for D1D_1 to turn on:

Vin>Vout+VB+VD,onVin−R2R1+R2Vin>VD,on(2−R2R1+R2)+VBVin(1−R2R1+R2)>VD,on(1−R2R1+R2)+VB+VD,onVin>VD,on+VB+VD,on(1−R2R1+R2)(1) \begin{aligned} V_\mathrm{in}&>V_\mathrm{out}+V_\mathrm{B}+V_\mathrm{D,on}\\ V_\mathrm{in}-\frac{R_2}{R_1+R_2}V_\mathrm{in}&>V_\mathrm{D,on}\left(2-\frac{R_2}{R_1+R_2}\right)+V_\mathrm{B}\\ V_\mathrm{in}\left(1-\frac{R_2}{R_1+R_2}\right)&>V_\mathrm{D,on}\left(1-\frac{R_2}{R_1+R_2}\right)+V_\mathrm{B}+V_\mathrm{D,on}\\ V_\mathrm{in}&>V_\mathrm{D,on}+\frac{V_\mathrm{B}+V_\mathrm{D,on}}{\left(1-\frac{R_2}{R_1+R_2}\right)}\quad(1) \end{aligned} Vout (when both on)=Vin−VD,on−VBV_\mathrm{out}\ (\text{when both on})=V_\mathrm{in}-V_\mathrm{D,on}-V_\mathrm{B}Vout={Vin,Vin<VD,onR2R1+R2Vin+VD,on(1−R2R1+R2),(1)Vin−VD,on−VB V_\mathrm{out}=\begin{cases} V_\mathrm{in}, & V_\mathrm{in}<V_\mathrm{D,on}\\[4pt] \dfrac{R_2}{R_1+R_2}V_\mathrm{in}+V_\mathrm{D,on}\left(1-\dfrac{R_2}{R_1+R_2}\right), & (1)\\[10pt] V_\mathrm{in}-V_\mathrm{D,on}-V_\mathrm{B} \end{cases}

ID1I_\mathrm{D1}:

IR1=VD,on+VBR1I_\mathrm{R1}=\frac{V_\mathrm{D,on}+V_\mathrm{B}}{R_1}KVL:  −Vin+VD,on+VB+VD,on+IinR2=0 ⇒ Iin=Vin−2VD,on−VBR2\text{KVL: }\ -V_\mathrm{in}+V_\mathrm{D,on}+V_\mathrm{B}+V_\mathrm{D,on}+I_\mathrm{in}R_2=0\ \Rightarrow\ I_\mathrm{in}=\frac{V_\mathrm{in}-2V_\mathrm{D,on}-V_\mathrm{B}}{R_2}Iin=IR1+ID1 ⇒ ID1=Iin−IR1I_\mathrm{in}=I_\mathrm{R1}+I_\mathrm{D1}\ \Rightarrow\ I_\mathrm{D1}=I_\mathrm{in}-I_\mathrm{R1}ID1=VinR2−2VD,onR2−VBR2−VD,onR1−VBR1I_\mathrm{D1}=\frac{V_\mathrm{in}}{R_2}-\frac{2V_\mathrm{D,on}}{R_2}-\frac{V_\mathrm{B}}{R_2}-\frac{V_\mathrm{D,on}}{R_1}-\frac{V_\mathrm{B}}{R_1}ID1=1R2Vin−VD,on(2R2+1R1)−VB(1R1+1R2)I_\mathrm{D1}=\frac{1}{R_2}V_\mathrm{in}-V_\mathrm{D,on}\left(\frac{2}{R_2}+\frac{1}{R_1}\right)-V_\mathrm{B}\left(\frac{1}{R_1}+\frac{1}{R_2}\right)

b)

Vin to Vout through two paths: D1 and R1 in series, and D2 (anode at the right) and VB (plus at the left) in series; R2 from Vout to ground

Source: p3-27b-c.tex

Vout rises with slope 1 along the line through VD,on − VB up to Vin = (3), then with slope R2/(R1 + R2)

Source: p3-27b.tex

assume D1D_1 on & D2D_2 on

Both diodes replaced by VD,on sources; ID1 through the top path, ID2 back through the bottom path into the input node (KCL1), KVL1 around the two paths; Iin down through R2

Source: p3-27b-on.tex

Vout=Vin+VD,on−VB(1)V_\mathrm{out}=V_\mathrm{in}+V_\mathrm{D,on}-V_\mathrm{B}\quad(1)ID1>0ID2>0} ID1+ID2>0\left.\begin{aligned}I_\mathrm{D1}&>0\\I_\mathrm{D2}&>0\end{aligned}\right\}\ I_\mathrm{D1}+I_\mathrm{D2}>0KCL1:  Iin+ID2=ID1\text{KCL1: }\ I_\mathrm{in}+I_\mathrm{D2}=I_\mathrm{D1}KVL1:  −VB+VD,on+VD,on+ID1R1=0\text{KVL1: }\ -V_\mathrm{B}+V_\mathrm{D,on}+V_\mathrm{D,on}+I_\mathrm{D1}R_1=0ID1R1=VB−2VD,on ⇒ ID1=VB−2VD,onR1>0  for D1 to be on.(2)I_\mathrm{D1}R_1=V_\mathrm{B}-2V_\mathrm{D,on}\ \Rightarrow\ I_\mathrm{D1}=\frac{V_\mathrm{B}-2V_\mathrm{D,on}}{R_1}>0\ \text{ for } D_1 \text{ to be on.}\quad(2)

D1D_1 is always on!

ID2=ID1−Iin⏟>0 for D2 to be onIin=VinR2+VD,on−VBR2=VinR2+VD,onR2−VBR2I_\mathrm{D2}=\underbrace{I_\mathrm{D1}-I_\mathrm{in}}_{>0 \text{ for } D_2 \text{ to be on}}\qquad I_\mathrm{in}=\frac{V_\mathrm{in}}{R_2}+\frac{V_\mathrm{D,on}-V_\mathrm{B}}{R_2}=\frac{V_\mathrm{in}}{R_2}+\frac{V_\mathrm{D,on}}{R_2}-\frac{V_\mathrm{B}}{R_2}ID2=VBR1−2VD,onR1−VinR2−VD,onR2+VBR2>0I_\mathrm{D2}=\frac{V_\mathrm{B}}{R_1}-\frac{2V_\mathrm{D,on}}{R_1}-\frac{V_\mathrm{in}}{R_2}-\frac{V_\mathrm{D,on}}{R_2}+\frac{V_\mathrm{B}}{R_2}>0VB(1R2+1R1)−VD,on(2R1+1R2)>VinR2V_\mathrm{B}\left(\frac{1}{R_2}+\frac{1}{R_1}\right)-V_\mathrm{D,on}\left(\frac{2}{R_1}+\frac{1}{R_2}\right)>\frac{V_\mathrm{in}}{R_2}Vin<VB(1+R2R1)−VD,on(2R2R1+1)(3)V_\mathrm{in}<V_\mathrm{B}\left(1+\frac{R_2}{R_1}\right)-V_\mathrm{D,on}\left(\frac{2R_2}{R_1}+1\right)\quad(3)

assume D1D_1 on & D2D_2 off

D2 open; Vin through a VD,on source and R1 to Vout, R2 to ground

Source: p3-27b-off.tex

Vout=R2R1+R2Vin−R2R1+R2VD,onV_\mathrm{out}=\frac{R_2}{R_1+R_2}V_\mathrm{in}-\frac{R_2}{R_1+R_2}V_\mathrm{D,on}Vout={Vin+VD,on−VB,Vin<(3)R2R1+R2Vin−R2R1+R2VD,on,Vin>(3) V_\mathrm{out}=\begin{cases} V_\mathrm{in}+V_\mathrm{D,on}-V_\mathrm{B}, & V_\mathrm{in}<(3)\\[10pt] \dfrac{R_2}{R_1+R_2}V_\mathrm{in}-\dfrac{R_2}{R_1+R_2}V_\mathrm{D,on}, & V_\mathrm{in}>(3) \end{cases}

c)

Vin to Vout through R1, in parallel with D1 and R2 in series; D2 and VB (plus at the top) in series from Vout to ground

Source: p3-27c-c.tex

Vout = Vin (slope 1 through the origin) up to Vin = VB + VD,on, then flat at VB + VD,on

Source: p3-27c.tex

assume D1D_1 is off & D2D_2 is on

D1 open; Iin through R1, then ID2 = Iin down through a VD,on source and VB; Vout = VB + VD,on

Source: p3-27c-on.tex

Iin=ID2⏟>0KVL:  −Vin+ID2R1+VD,on+VB=0I_\mathrm{in}=\underbrace{I_\mathrm{D2}}_{>0}\qquad \text{KVL: }\ -V_\mathrm{in}+I_\mathrm{D2}R_1+V_\mathrm{D,on}+V_\mathrm{B}=0ID2=VinR1−VD,on+VBR1>0I_\mathrm{D2}=\frac{V_\mathrm{in}}{R_1}-\frac{V_\mathrm{D,on}+V_\mathrm{B}}{R_1}>0Vin>VD,on+VB\boxed{V_\mathrm{in}>V_\mathrm{D,on}+V_\mathrm{B}}

assume D1D_1 off & D2D_2 off

Both diodes open; Vin through R1 to Vout, so Vout = Vin

Source: p3-27c-off.tex

Assume D1D_1 on & D2D_2 on

Both diodes replaced by VD,on sources; Iin splits into IR1 and ID1; KVL1 through R1, KVL2 through the D1 path, both down through VD,on and VB

Source: p3-27c-on2.tex

Iin=IR1+ID1 ⇒ ID1=Iin−IR1I_\mathrm{in}=I_\mathrm{R1}+I_\mathrm{D1}\ \Rightarrow\ I_\mathrm{D1}=I_\mathrm{in}-I_\mathrm{R1}KVL1:  −Vin+IR1R1+VD,on+VB=0IR1=VinR1−VD,on+VBR1\text{KVL1: }\ -V_\mathrm{in}+I_\mathrm{R1}R_1+V_\mathrm{D,on}+V_\mathrm{B}=0\qquad I_\mathrm{R1}=\frac{V_\mathrm{in}}{R_1}-\frac{V_\mathrm{D,on}+V_\mathrm{B}}{R_1}KVL2:  −Vin+VD,on+ID1R2+VD,on+VB=0\text{KVL2: }\ -V_\mathrm{in}+V_\mathrm{D,on}+I_\mathrm{D1}R_2+V_\mathrm{D,on}+V_\mathrm{B}=0ID1=VinR2−2VD,on+VBR2>0I_\mathrm{D1}=\frac{V_\mathrm{in}}{R_2}-\frac{2V_\mathrm{D,on}+V_\mathrm{B}}{R_2}>0Vin>2VD,on+VB\boxed{V_\mathrm{in}>2V_\mathrm{D,on}+V_\mathrm{B}}Vout={Vin,Vin<VB+VD,onVB+VD,on,Vin>VD,on+VB V_\mathrm{out}=\begin{cases} V_\mathrm{in}, & V_\mathrm{in}<V_\mathrm{B}+V_\mathrm{D,on}\\[4pt] V_\mathrm{B}+V_\mathrm{D,on}, & V_\mathrm{in}>V_\mathrm{D,on}+V_\mathrm{B} \end{cases}

d)

Vin through D1 and R1 to Vout; D2 and VB (plus at the top) in series from Vout to ground; R2 from Vout to ground

Source: p3-27d-c.tex

Vout is zero up to VD,on, rises with slope R2/(R1 + R2), then is flat at VB + VD,on

Source: p3-27d.tex

assume D1D_1 on & D2D_2 off

D1 replaced by a VD,on source, D2 open; Iin = ID1 through R1 and R2; KVL around the loop

Source: p3-27d-on.tex

Iin=ID1⏟>0KVL:  −Vin+VD,on+IinR1+IinR2=0I_\mathrm{in}=\underbrace{I_\mathrm{D1}}_{>0}\qquad \text{KVL: }\ -V_\mathrm{in}+V_\mathrm{D,on}+I_\mathrm{in}R_1+I_\mathrm{in}R_2=0Iin=Vin−VD,onR1+R2>0 ⇒ Vin>VD,onI_\mathrm{in}=\frac{V_\mathrm{in}-V_\mathrm{D,on}}{R_1+R_2}>0\ \Rightarrow\ \boxed{V_\mathrm{in}>V_\mathrm{D,on}}Vout=R2R1+R2Vin−R2R1+R2VD,on\boxed{V_\mathrm{out}=\frac{R_2}{R_1+R_2}V_\mathrm{in}-\frac{R_2}{R_1+R_2}V_\mathrm{D,on}}

assume D1D_1 off & D2D_2 off

Vout=0 VVin<VD,on\boxed{V_\mathrm{out}=0\ \mathrm{V}\qquad V_\mathrm{in}<V_\mathrm{D,on}}

assume D1D_1 on & D2D_2 on

Both diodes replaced by VD,on sources; ID1 through R1 splits into ID2 down through VD,on and VB, and IR2 down through R2; Vout = VB + VD,on

Source: p3-27d-on2.tex

Iin=ID1IR2=VB+VD,onR2I_\mathrm{in}=I_\mathrm{D1}\qquad I_\mathrm{R2}=\frac{V_\mathrm{B}+V_\mathrm{D,on}}{R_2}ID1=ID2+IR2 ⇒ ID2=ID1−IR2I_\mathrm{D1}=I_\mathrm{D2}+I_\mathrm{R2}\ \Rightarrow\ I_\mathrm{D2}=I_\mathrm{D1}-I_\mathrm{R2}KVL:  −Vin+VD,on+IinR1+VD,on+VB=0\text{KVL: }\ -V_\mathrm{in}+V_\mathrm{D,on}+I_\mathrm{in}R_1+V_\mathrm{D,on}+V_\mathrm{B}=0ID1=Iin=Vin−2VD,on−VBR1I_\mathrm{D1}=I_\mathrm{in}=\frac{V_\mathrm{in}-2V_\mathrm{D,on}-V_\mathrm{B}}{R_1}1R1Vin−2R1VD,on−VBR1−VBR2−VD,onR2>0\frac{1}{R_1}V_\mathrm{in}-\frac{2}{R_1}V_\mathrm{D,on}-\frac{V_\mathrm{B}}{R_1}-\frac{V_\mathrm{B}}{R_2}-\frac{V_\mathrm{D,on}}{R_2}>0VinR1>VD,on(2R1+1R2)+VB(1R1+1R2)\frac{V_\mathrm{in}}{R_1}>V_\mathrm{D,on}\left(\frac{2}{R_1}+\frac{1}{R_2}\right)+V_\mathrm{B}\left(\frac{1}{R_1}+\frac{1}{R_2}\right)Vin>VD,on(2+R1R2)+VB(1+R1R2)\boxed{V_\mathrm{in}>V_\mathrm{D,on}\left(2+\frac{R_1}{R_2}\right)+V_\mathrm{B}\left(1+\frac{R_1}{R_2}\right)}Vout={0 V,Vin<VD,onR2R1+R2Vin−R2R1+R2VD,on,VD,on<Vin<VD,on(2+R1R2)+VB(1+R1R2) (1)VB+VD,on,Vin>(1) V_\mathrm{out}=\begin{cases} 0\ \mathrm{V}, & V_\mathrm{in}<V_\mathrm{D,on}\\[4pt] \dfrac{R_2}{R_1+R_2}V_\mathrm{in}-\dfrac{R_2}{R_1+R_2}V_\mathrm{D,on}, & \\[4pt] \quad V_\mathrm{D,on}<V_\mathrm{in}<V_\mathrm{D,on}\left(2+\frac{R_1}{R_2}\right)+V_\mathrm{B}\left(1+\frac{R_1}{R_2}\right)\ (1) & \\[10pt] V_\mathrm{B}+V_\mathrm{D,on}, & V_\mathrm{in}>(1) \end{cases}

Problem 3.28

Problem 3.28 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Plot the currents flowing through R1R_1 and D1D_1 as a function of VinV_\mathrm{in} for the circuits of Fig. 3.76. Assume a constant-voltage diode model and VB=2 VV_\mathrm{B}=2\ \mathrm{V}.

a) IR1I_\mathrm{R1} vs VinV_\mathrm{in}

IR1={0,Vin<VD,on1R1+R2Vin−1R1+R2VD,on,VD,on<Vin<VD,on+VB+VD,on1−R2R1+R2 (1)VD,on+VBR1,else I_\mathrm{R1}=\begin{cases} 0, & V_\mathrm{in}<V_\mathrm{D,on}\\[4pt] \dfrac{1}{R_1+R_2}V_\mathrm{in}-\dfrac{1}{R_1+R_2}V_\mathrm{D,on}, & V_\mathrm{D,on}<V_\mathrm{in}<V_\mathrm{D,on}+\frac{V_\mathrm{B}+V_\mathrm{D,on}}{1-\frac{R_2}{R_1+R_2}}\ (1)\\[12pt] \dfrac{V_\mathrm{D,on}+V_\mathrm{B}}{R_1}, & \text{else} \end{cases}
IR1 is zero up to VD,on, rises with slope 1/(R1 + R2) up to the break (1), then is flat at (VD,on + VB)/R1

Source: p3-28a-ir1.tex

ID1I_\mathrm{D1} vs VinV_\mathrm{in}

ID1={0,off0,off1R2Vin−VD,on(2R2+1R1)−VB(1R1+1R2),on I_\mathrm{D1}=\begin{cases} 0, & \text{off}\\ 0, & \text{off}\\ \dfrac{1}{R_2}V_\mathrm{in}-V_\mathrm{D,on}\left(\dfrac{2}{R_2}+\dfrac{1}{R_1}\right)-V_\mathrm{B}\left(\dfrac{1}{R_1}+\dfrac{1}{R_2}\right), & \text{on} \end{cases}
ID1 is zero up to the break (1), then rises with slope 1/R2

Source: p3-28a-id.tex

b) IR1I_\mathrm{R1} vs VinV_\mathrm{in}

ID1=IR1={VB−2VD,onR1,Vin<VB(1+R2R1)−VD,on(2R2R1+1) (3)1R1+R2Vin−1R1+R2VD,on,Vin>(3) I_\mathrm{D1}=I_\mathrm{R1}=\begin{cases} \dfrac{V_\mathrm{B}-2V_\mathrm{D,on}}{R_1}, & \\[4pt] \quad V_\mathrm{in}<V_\mathrm{B}\left(1+\frac{R_2}{R_1}\right)-V_\mathrm{D,on}\left(\frac{2R_2}{R_1}+1\right)\ (3) & \\[10pt] \dfrac{1}{R_1+R_2}V_\mathrm{in}-\dfrac{1}{R_1+R_2}V_\mathrm{D,on}, & V_\mathrm{in}>(3) \end{cases}

c) IR1I_\mathrm{R1} vs VinV_\mathrm{in}

IR1={0,Vin<VD,on+VBVin−VD,on−VBR1,Vin>VD,on+VB I_\mathrm{R1}=\begin{cases} 0, & V_\mathrm{in}<V_\mathrm{D,on}+V_\mathrm{B}\\[4pt] \dfrac{V_\mathrm{in}-V_\mathrm{D,on}-V_\mathrm{B}}{R_1}, & V_\mathrm{in}>V_\mathrm{D,on}+V_\mathrm{B} \end{cases}
IR1 is zero up to VD,on + VB, then rises with slope 1/R1

Source: p3-28c-ir1.tex

ID1I_\mathrm{D1} vs VinV_\mathrm{in}

ID1={VinR2−2VD,on+VBR2,Vin>2VD,on+VB0,else I_\mathrm{D1}=\begin{cases} \dfrac{V_\mathrm{in}}{R_2}-\dfrac{2V_\mathrm{D,on}+V_\mathrm{B}}{R_2}, & V_\mathrm{in}>2V_\mathrm{D,on}+V_\mathrm{B}\\[8pt] 0, & \text{else} \end{cases}
ID1 is zero up to VB + 2VD,on, then rises with slope 1/R2

Source: p3-28c-id.tex

d) IR1I_\mathrm{R1} vs VinV_\mathrm{in}

IR1={0,Vin<VD,on1R1+R2Vin−1R1+R2VD,on,VD,on<Vin<…Vin−VD,on−VD,on−VBR1,… I_\mathrm{R1}=\begin{cases} 0, & V_\mathrm{in}<V_\mathrm{D,on}\\[4pt] \dfrac{1}{R_1+R_2}V_\mathrm{in}-\dfrac{1}{R_1+R_2}V_\mathrm{D,on}, & V_\mathrm{D,on}<V_\mathrm{in}<\dots\\[10pt] \dfrac{V_\mathrm{in}-V_\mathrm{D,on}-V_\mathrm{D,on}-V_\mathrm{B}}{R_1}, & \dots \end{cases}
IR1 is zero up to VD,on, rises with slope 1/(R1 + R2), then with the steeper slope 1/R1

Source: p3-28d-ir1.tex

Problem 3.29

Problem 3.29 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Plot the input/output characteristic of the circuits illustrated in Fig. 3.77 assuming a constant-voltage model.

a)

Vin through D1 and R1 to Vout; D2 (anode at ground) and R2 from Vout to ground

Source: p3-29a-c.tex

Vout is zero up to VD,on, then rises with slope R2/(R1 + R2)

Source: p3-29a.tex

assume D1D_1 on & D2D_2 off

D1 replaced by a VD,on source, D2 open; Iin = ID1 through R1 and R2; KVL

Source: p3-29a-on.tex

Iin=ID1KVL:  −Vin+VD,on+IinR1+IinR2=0I_\mathrm{in}=I_\mathrm{D1}\qquad \text{KVL: }\ -V_\mathrm{in}+V_\mathrm{D,on}+I_\mathrm{in}R_1+I_\mathrm{in}R_2=0ID1=Iin=1R1+R2Vin−1R1+R2VD,on⏟>0>0 ⇒ Vin>VD,onI_\mathrm{D1}=I_\mathrm{in}=\underbrace{\frac{1}{R_1+R_2}V_\mathrm{in}-\frac{1}{R_1+R_2}V_\mathrm{D,on}}_{>0}>0\ \Rightarrow\ V_\mathrm{in}>V_\mathrm{D,on}

assume D1D_1 off & D2D_2 off

Vout=0Vin<VD,onV_\mathrm{out}=0\qquad V_\mathrm{in}<V_\mathrm{D,on}Vout={0,Vin<VD,onR2R1+R2Vin−R2R1+R2VD,on,Vin>VD,on \boxed{V_\mathrm{out}=\begin{cases} 0, & V_\mathrm{in}<V_\mathrm{D,on}\\[4pt] \dfrac{R_2}{R_1+R_2}V_\mathrm{in}-\dfrac{R_2}{R_1+R_2}V_\mathrm{D,on}, & V_\mathrm{in}>V_\mathrm{D,on} \end{cases}}

b)

Vin to Vout through R1, with D1 (anode at Vin) in parallel; D2 (anode at ground) and R2 from Vout to ground

Source: p3-29b-c.tex

Vout is flat at −VD,on up to Vin = −VD,on(1 + R1/R2), rises with slope R2/(R1 + R2) through the origin up to (3), then with slope 1

Source: p3-29b.tex

assume D1D_1 off & D2D_2 on

D1 open, D2 replaced by a VD,on source (plus at the bottom); Iin through R1 splits into ID2 and IR2; Vout = −VD,on

Source: p3-29b-on.tex

Iin=ID2+IR2 ⇒ ID2=Iin−IR2I_\mathrm{in}=I_\mathrm{D2}+I_\mathrm{R2}\ \Rightarrow\ I_\mathrm{D2}=I_\mathrm{in}-I_\mathrm{R2}IR2=−VD,onR2KVL:  −Vin+IinR1−VD,on=0Iin=Vin+VD,onR1I_\mathrm{R2}=\frac{-V_\mathrm{D,on}}{R_2}\qquad \text{KVL: }\ -V_\mathrm{in}+I_\mathrm{in}R_1-V_\mathrm{D,on}=0\qquad I_\mathrm{in}=\frac{V_\mathrm{in}+V_\mathrm{D,on}}{R_1}ID2=VinR1+VD,onR1+VD,onR2⏟<0<0 ⇒ Vin<−VD,on−R1R2VD,onI_\mathrm{D2}=\underbrace{\frac{V_\mathrm{in}}{R_1}+\frac{V_\mathrm{D,on}}{R_1}+\frac{V_\mathrm{D,on}}{R_2}}_{<0}<0\ \Rightarrow\ \boxed{V_\mathrm{in}<-V_\mathrm{D,on}-\frac{R_1}{R_2}V_\mathrm{D,on}}

assume D1D_1 off & D2D_2 off

Both diodes open; R1 and R2 form a divider

Source: p3-29b-off.tex

assume D1D_1 on & D2D_2 off

Vin>R2R1+R2Vin+VD,onVout=Vin−VD,onV_\mathrm{in}>\frac{R_2}{R_1+R_2}V_\mathrm{in}+V_\mathrm{D,on}\qquad \boxed{V_\mathrm{out}=V_\mathrm{in}-V_\mathrm{D,on}}Vin(1−R2R1+R2)>VD,onVin>VD,on1−R2R1+R2V_\mathrm{in}\left(1-\frac{R_2}{R_1+R_2}\right)>V_\mathrm{D,on}\qquad V_\mathrm{in}>\frac{V_\mathrm{D,on}}{1-\frac{R_2}{R_1+R_2}}
D1 replaced by a VD,on source across R1; Iin splits into ID1 and IR1, then flows down through R2; KVL

Source: p3-29b-d1on.tex

IR1=VD,onR1KVL:  −Vin+VD,on+IinR2=0Iin=VinR2−1R2VD,onI_\mathrm{R1}=\frac{V_\mathrm{D,on}}{R_1}\qquad \text{KVL: }\ -V_\mathrm{in}+V_\mathrm{D,on}+I_\mathrm{in}R_2=0\qquad I_\mathrm{in}=\frac{V_\mathrm{in}}{R_2}-\frac{1}{R_2}V_\mathrm{D,on}Iin=ID1+IR1 ⇒ ID1=Iin−IR1ID1=VinR2−VD,on(1R2+1R1)I_\mathrm{in}=I_\mathrm{D1}+I_\mathrm{R1}\ \Rightarrow\ I_\mathrm{D1}=I_\mathrm{in}-I_\mathrm{R1}\qquad I_\mathrm{D1}=\frac{V_\mathrm{in}}{R_2}-V_\mathrm{D,on}\left(\frac{1}{R_2}+\frac{1}{R_1}\right)Vout={−VD,on,Vin<−VD,on(1+R1R2)R2R1+R2Vin,Vin>−VD,on(1+R1R2)Vin−VD,on,Vin>VD,on1−R2R1+R2 (3) V_\mathrm{out}=\begin{cases} -V_\mathrm{D,on}, & V_\mathrm{in}<-V_\mathrm{D,on}\left(1+\frac{R_1}{R_2}\right)\\[6pt] \dfrac{R_2}{R_1+R_2}V_\mathrm{in}, & V_\mathrm{in}>-V_\mathrm{D,on}\left(1+\frac{R_1}{R_2}\right)\\[10pt] V_\mathrm{in}-V_\mathrm{D,on}, & V_\mathrm{in}>\frac{V_\mathrm{D,on}}{1-\frac{R_2}{R_1+R_2}}\ (3) \end{cases}

c)

Vin to Vout through R1, with D1 (anode at Vin) in parallel; D2 (anode at the bottom) and R2 in series from Vout to ground

Source: p3-29c-c.tex

Vout rises with slope R2/(R1 + R2) up to Vin = −VD,on, where Vout = −VD,on, then follows Vin with slope 1 through the origin

Source: p3-29c.tex

assume D1D_1 off & D2D_2 on

D1 open, D2 replaced by a VD,on source (plus at the bottom); ID2 counted downward through VD,on and R2 (voltage VR2); KVL

Source: p3-29c-on.tex

Iin=ID2KVL:  −Vin+IinR1−VD,on+IinR2=0I_\mathrm{in}=I_\mathrm{D2}\qquad \text{KVL: }\ -V_\mathrm{in}+I_\mathrm{in}R_1-V_\mathrm{D,on}+I_\mathrm{in}R_2=0ID2=Iin=Vin+VD,onR1+R2⏟<0<0 ⇒ Vin<−VD,onI_\mathrm{D2}=I_\mathrm{in}=\underbrace{\frac{V_\mathrm{in}+V_\mathrm{D,on}}{R_1+R_2}}_{<0}<0\ \Rightarrow\ \boxed{V_\mathrm{in}<-V_\mathrm{D,on}}Vout=VR2−VD,on=R2R1+R2Vin+R2R1+R2VD,on−VD,onV_\mathrm{out}=V_\mathrm{R2}-V_\mathrm{D,on}=\frac{R_2}{R_1+R_2}V_\mathrm{in}+\frac{R_2}{R_1+R_2}V_\mathrm{D,on}-V_\mathrm{D,on}Vout=R2R1+R2Vin+VD,on(R2R1+R2−1)\boxed{V_\mathrm{out}=\frac{R_2}{R_1+R_2}V_\mathrm{in}+V_\mathrm{D,on}\left(\frac{R_2}{R_1+R_2}-1\right)}

D1D_1 off & D2D_2 off … correct

Vout={R2R1+R2Vin+VD,on(R2R1+R2−1),Vin<−VD,onVin,Vin>−VD,on V_\mathrm{out}=\begin{cases} \dfrac{R_2}{R_1+R_2}V_\mathrm{in}+V_\mathrm{D,on}\left(\dfrac{R_2}{R_1+R_2}-1\right), & V_\mathrm{in}<-V_\mathrm{D,on}\\[10pt] V_\mathrm{in}, & V_\mathrm{in}>-V_\mathrm{D,on} \end{cases}

d)

Vin through D1 to a node; R1 from that node down to Vout, with D2 (anode at Vout) in parallel with R1; R2 from Vout to ground

Source: p3-29d-c.tex

Vout is zero up to VD,on, then rises with slope R2/(R1 + R2)

Source: p3-29d.tex

assume D1D_1 on & D2D_2 off

D1 replaced by a VD,on source, D2 open; R1 and R2 in series; KVL

Source: p3-29d-on.tex

Vout=(Vin−VD,on)R2R1+R2Vin>VD,on\boxed{V_\mathrm{out}=(V_\mathrm{in}-V_\mathrm{D,on})\frac{R_2}{R_1+R_2}}\qquad \boxed{V_\mathrm{in}>V_\mathrm{D,on}}KVL:  −Vin+VD,on+IR1R1+IR1R2=0IR1=Vin−VD,onR1+R2\text{KVL: }\ -V_\mathrm{in}+V_\mathrm{D,on}+I_\mathrm{R1}R_1+I_\mathrm{R1}R_2=0\qquad I_\mathrm{R1}=\frac{V_\mathrm{in}-V_\mathrm{D,on}}{R_1+R_2}

Can this be possible?

Vin−VD,on>R2R1+R2Vin−R2R1+R2VD,on+VD,onVin(1−R2R1+R2)>VD,on(2−R2R1+R2)Vin>VD,on(2−R2R1+R2)×R1+R2R1Vin>2(R1+R2)R1VD,on−R2R1VD,onVin>VD,on(2R1+R2R1)Vin>VD,on(2+R2R1) \begin{aligned} V_\mathrm{in}-V_\mathrm{D,on}&>\frac{R_2}{R_1+R_2}V_\mathrm{in}-\frac{R_2}{R_1+R_2}V_\mathrm{D,on}+V_\mathrm{D,on}\\ V_\mathrm{in}\left(1-\frac{R_2}{R_1+R_2}\right)&>V_\mathrm{D,on}\left(2-\frac{R_2}{R_1+R_2}\right)\\ V_\mathrm{in}&>V_\mathrm{D,on}\left(2-\frac{R_2}{R_1+R_2}\right)\times\frac{R_1+R_2}{R_1}\\ V_\mathrm{in}&>\frac{2(R_1+R_2)}{R_1}V_\mathrm{D,on}-\frac{R_2}{R_1}V_\mathrm{D,on}\\ V_\mathrm{in}&>V_\mathrm{D,on}\left(\frac{2R_1+R_2}{R_1}\right)\\ V_\mathrm{in}&>V_\mathrm{D,on}\left(2+\frac{R_2}{R_1}\right) \end{aligned}

e)

Vin to a node through R1, with D1 (anode at Vin) in parallel; D2 (anode at Vout) from that node down to Vout; R2 from Vout to ground

Source: p3-29e-c.tex

Vout rises with slope R2/(R1 + R2) up to zero at Vin = −VD,on and is zero above

Source: p3-29e.tex

assume D1D_1 off & D2D_2 on

D1 open, D2 replaced by a VD,on source (plus at the bottom); R1, VD,on and R2 in series; KVL

Source: p3-29e-on.tex

Vin<−VD,onV_\mathrm{in}<-V_\mathrm{D,on}KVL:  −Vin+IinR1−VD,on+IinR2=0Iin=Vin+VD,onR1+R2\text{KVL: }\ -V_\mathrm{in}+I_\mathrm{in}R_1-V_\mathrm{D,on}+I_\mathrm{in}R_2=0\qquad I_\mathrm{in}=\frac{V_\mathrm{in}+V_\mathrm{D,on}}{R_1+R_2}

Problem 3.30

Problem 3.30 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Plot the currents flowing through R1R_1 and D1D_1 as a function of VinV_\mathrm{in} for the circuits of Fig. 3.77. Assume constant-voltage diode model.

IR1I_\mathrm{R1} vs VinV_\mathrm{in}

a)

IR1=ID1={0,Vin<VD,on1R1+R2Vin−1R1+R2VD,on,Vin>VD,on I_\mathrm{R1}=I_\mathrm{D1}=\begin{cases} 0, & V_\mathrm{in}<V_\mathrm{D,on}\\[4pt] \dfrac{1}{R_1+R_2}V_\mathrm{in}-\dfrac{1}{R_1+R_2}V_\mathrm{D,on}, & V_\mathrm{in}>V_\mathrm{D,on} \end{cases}
IR1 and ID1 are zero up to VD,on, then rise with slope 1/(R1 + R2)

Source: p3-30a.tex

b) IR1I_\mathrm{R1} vs VinV_\mathrm{in}

IR1={Vin+VD,onR1,Vin<−VD,on(1+R1R2)(1)VinR1+R2,Vin>−VD,on(1+R1R2)VD,onR1,Vin>VD,on1−R2R1+R2(2) I_\mathrm{R1}=\begin{cases} \dfrac{V_\mathrm{in}+V_\mathrm{D,on}}{R_1}, & V_\mathrm{in}<-V_\mathrm{D,on}\left(1+\dfrac{R_1}{R_2}\right)\quad(1)\\[10pt] \dfrac{V_\mathrm{in}}{R_1+R_2}, & V_\mathrm{in}>-V_\mathrm{D,on}\left(1+\dfrac{R_1}{R_2}\right)\\[10pt] \dfrac{V_\mathrm{D,on}}{R_1}, & V_\mathrm{in}>\dfrac{V_\mathrm{D,on}}{1-\frac{R_2}{R_1+R_2}}\quad(2) \end{cases}
IR1 rises with slope 1/R1 up to (1), then with slope 1/(R1 + R2) through the origin up to (2), then is flat at VD,on/R1

Source: p3-30b-ir1.tex

ID1={0,else0,elseVinR2−VD,on(1R1+1R2),Vin>(2) I_\mathrm{D1}=\begin{cases} 0, & \text{else}\\ 0, & \text{else}\\ \dfrac{V_\mathrm{in}}{R_2}-V_\mathrm{D,on}\left(\dfrac{1}{R_1}+\dfrac{1}{R_2}\right), & V_\mathrm{in}>(2) \end{cases}
ID1 is zero up to (2), then rises with slope 1/R2

Source: p3-30b-id.tex

c)

IR1={1R1+R2Vin+1R1+R2VD,on,Vin<−VD,on0,elsewhere I_\mathrm{R1}=\begin{cases} \dfrac{1}{R_1+R_2}V_\mathrm{in}+\dfrac{1}{R_1+R_2}V_\mathrm{D,on}, & V_\mathrm{in}<-V_\mathrm{D,on}\\[8pt] 0, & \text{elsewhere} \end{cases}
IR1 rises with slope 1/(R1 + R2) up to zero at Vin = −VD,on and is zero above

Source: p3-30c-ir1.tex

ID1=0I_\mathrm{D1}=0
ID1 is zero for all Vin

Source: p3-30c-id.tex

d)

IR1={1R1+R2Vin−VD,onR1+R2,Vin>VD,on0,elsewhere I_\mathrm{R1}=\begin{cases} \dfrac{1}{R_1+R_2}V_\mathrm{in}-\dfrac{V_\mathrm{D,on}}{R_1+R_2}, & V_\mathrm{in}>V_\mathrm{D,on}\\[8pt] 0, & \text{elsewhere} \end{cases}
IR1 is zero up to VD,on, then rises with slope 1/(R1 + R2)

Source: p3-30d-ir1.tex

ID2={ 0,−∞<Vin<+∞I_\mathrm{D2}=\{\,0,\quad -\infty<V_\mathrm{in}<+\infty
ID2 is zero for all Vin

Source: p3-30d-id.tex

e)

IR1={Vin+VD,onR1+R2,Vin<−VD,on0,elsewhere I_\mathrm{R1}=\begin{cases} \dfrac{V_\mathrm{in}+V_\mathrm{D,on}}{R_1+R_2}, & V_\mathrm{in}<-V_\mathrm{D,on}\\[8pt] 0, & \text{elsewhere} \end{cases}
IR1 rises with slope 1/(R1 + R2) up to zero at Vin = −VD,on and is zero above

Source: p3-30e-ir1.tex

ID1=0I_\mathrm{D1}=0
ID1 is zero for all Vin

Source: p3-30e-id.tex

Problem 3.31

Problem 3.31 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Beginning with VD,on≈800 mVV_\mathrm{D,on}\approx 800\ \mathrm{mV} for each diode, determine the change in VoutV_\mathrm{out} if VinV_\mathrm{in} changes from +2.4 V+2.4\ \mathrm{V} to +2.5 V+2.5\ \mathrm{V} for the circuits shown in Fig. 3.78.

VD,on≈800 mVVin=2.4 V→2.5 Vfind ΔVoutV_\mathrm{D,on}\approx 800\ \mathrm{mV}\qquad V_\mathrm{in}=2.4\ \mathrm{V}\rightarrow 2.5\ \mathrm{V}\qquad \text{find } \Delta V_\mathrm{out}

using small-signal model: rd=VTIDr_\mathrm{d}=\dfrac{V_\mathrm{T}}{I_\mathrm{D}}

a)

Vin through D1 to Vout; R1 = 1 kΩ from Vout to ground

Source: p3-31a-c.tex

Vin = 2.4 V through an 800 mV source to Vout; ID flows down through R1 = 1 k

Source: p3-31a-dc.tex

rd=26 mV1.6 mA=16.25 Ωr_\mathrm{d}=\frac{26\ \mathrm{mV}}{1.6\ \mathrm{mA}}=16.25\ \Omega

SSM:

ΔVin = 0.1 V through 16.25 Ω to Vout, 1 kΩ to ground

Source: p3-31a-ss.tex

ΔVout=0.1×10001000+16.25=98.4 mV\Delta V_\mathrm{out}=0.1\times\frac{1000}{1000+16.25}=98.4\ \mathrm{mV}

b)

Vin through D1 to Vout; R1 = 1 kΩ and D2 in series from Vout to ground; KVL

Source: p3-31b-c.tex

KVL:  −Vin+VD,on+IinR1+VD,on=0Iin=Vin−2VD,onR1\text{KVL: }\ -V_\mathrm{in}+V_\mathrm{D,on}+I_\mathrm{in}R_1+V_\mathrm{D,on}=0\qquad I_\mathrm{in}=\frac{V_\mathrm{in}-2V_\mathrm{D,on}}{R_1}Vout=VD,on+Vin−2VD,onVout=Vin−VD,onV_\mathrm{out}=V_\mathrm{D,on}+V_\mathrm{in}-2V_\mathrm{D,on}\qquad V_\mathrm{out}=V_\mathrm{in}-V_\mathrm{D,on}Vin=2.4 V→Vout=1.6 VVin=2.5 V→Vout=1.7 VV_\mathrm{in}=2.4\ \mathrm{V}\rightarrow V_\mathrm{out}=1.6\ \mathrm{V}\qquad V_\mathrm{in}=2.5\ \mathrm{V}\rightarrow V_\mathrm{out}=1.7\ \mathrm{V}ΔVout=0.1 V\Delta V_\mathrm{out}=0.1\ \mathrm{V}

c)

Vin through D1 and R1 = 1 kΩ to Vout; D2 from Vout to ground

Source: p3-31c-c.tex

ΔVout=0\Delta V_\mathrm{out}=0

d)

Vin through R1 = 1 kΩ to Vout; R2 = 2 kΩ and D2 from Vout to ground

Source: p3-31d-c.tex

ΔVout=0\Delta V_\mathrm{out}=0

Problem 3.32

Problem 3.32 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Beginning with VD,on≈800 mVV_\mathrm{D,on}\approx 800\ \mathrm{mV} for each diode, calculate the change in VoutV_\mathrm{out} if IinI_\mathrm{in} changes from 3 mA to 3.1 mA in the circuits of Fig. 3.79.

VD,on≈800 mVIin=3 mA→3.1 mAV_\mathrm{D,on}\approx 800\ \mathrm{mV}\qquad I_\mathrm{in}=3\ \mathrm{mA}\rightarrow 3.1\ \mathrm{mA}

a)

Current source Iin through D1 to Vout; R1 = 1 kΩ from Vout to ground

Source: p3-32a-c.tex

3.1×1−3×1=0.1 V3.1\times 1-3\times 1=0.1\ \mathrm{V}

b)

Current source Iin through D1 to Vout; R1 = 1 kΩ and D2 in series from Vout to ground

Source: p3-32b-c.tex

(0.8+3.1)−(0.8+3)=0.1 V(0.8+3.1)-(0.8+3)=0.1\ \mathrm{V}

c)

Current source Iin through D1 and R1 = 1 kΩ to Vout; D2 from Vout to ground

Source: p3-32c-c.tex

ΔVout=0 V\Delta V_\mathrm{out}=0\ \mathrm{V}

d)

Current source Iin through R1 = 1 kΩ to Vout; R2 = 2 kΩ and D2 from Vout to ground; currents Iin, IR2, ID2

Source: p3-32d-c.tex

ΔVout=0\Delta V_\mathrm{out}=0

Problem 3.33

Problem 3.33 · Razavi, Fundamentals of Microelectronics, 2nd ed.

In Problem 3.32, determine the change in the current flowing through the 1-kΩ resistor in each circuit.

a) ΔIin=0.1 mA\Delta I_\mathrm{in}=0.1\ \mathrm{mA} b) ΔIin=0.1 mA\Delta I_\mathrm{in}=0.1\ \mathrm{mA} c) 0.1 mA0.1\ \mathrm{mA} d) 0.1 mA0.1\ \mathrm{mA}

Problem 3.34

Problem 3.34 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Assuming Vin=Vpsin⁡ωtV_\mathrm{in}=V_p\sin\omega t, plot the output waveform of the circuit depicted in Fig. 3.80 for an initial condition of +0.5 V+0.5\ \mathrm{V} across C1C_1. Assume Vp=5 VV_p=5\ \mathrm{V}.

Vin=Vpsin⁡ωtVC1(t=0)=0.5 VVp=5 VV_\mathrm{in}=V_p\sin\omega t\qquad V_\mathrm{C1}(t=0)=0.5\ \mathrm{V}\qquad V_p=5\ \mathrm{V}

assuming ideal model

Vin through D1 to Vout; C1 from Vout to ground, initially charged to 0.5 V (plus at the top)

Source: p3-34-c.tex

Vin is a sine of peak Vp; Vout stays at 0.5 V until Vin reaches 0.5 V, follows Vin up to 5 V, then stays at 5 V

Source: p3-34.tex

Problem 3.35

Problem 3.35 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Repeat Problem 3.34 for the circuit shown in Fig. 3.81.

same as (3.34)

Vin through D1 (anode at Vout) to Vout; C1 from Vout to ground, initially charged to 0.5 V (plus at the top)

Source: p3-35-c.tex

Vout stays at 0.5 V until Vin falls below 0.5 V, follows Vin down to −5 V, then stays at −5 V

Source: p3-35.tex

Problem 3.36

Problem 3.36 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Suppose the rectifier of Fig. 3.32 drives a 100-Ω load with a peak voltage of 3.5 V. For a 1000-μF smoothing capacitor, calculate the ripple amplitude if the frequency is 60 Hz.

Half-wave rectifier: Vin through D1 to C1 and RL in parallel, Vout across them

Source: p3-36-c.tex

RL=100 ΩC1=1 mFfin=60 HzVp=3.5 VR_\mathrm{L}=100\ \Omega\qquad C_1=1\ \mathrm{mF}\qquad f_\mathrm{in}=60\ \mathrm{Hz}\qquad V_p=3.5\ \mathrm{V}VR≈Vp−VD,onRLC1fin=3.5−0.8100×10−3×60=450 mVppV_\mathrm{R}\approx\frac{V_p-V_\mathrm{D,on}}{R_\mathrm{L}C_1f_\mathrm{in}}=\frac{3.5-0.8}{100\times10^{-3}\times60}=450\ \mathrm{mV_{pp}}

Problem 3.37

Problem 3.37 · Razavi, Fundamentals of Microelectronics, 2nd ed.

A 3-V adaptor using a half-wave rectifier must supply a current of 0.5 A with a maximum ripple of 300 mV. For a frequency of 60 Hz, compute the minimum required smoothing capacitor.

C1=Vp−VD,onVRRLfinRL=(3−0.8) V0.5 A=2.2 V0.5 A=4.4 ΩC_1=\frac{V_p-V_\mathrm{D,on}}{V_\mathrm{R}R_\mathrm{L}f_\mathrm{in}}\qquad R_\mathrm{L}=\frac{(3-0.8)\ \mathrm{V}}{0.5\ \mathrm{A}}=\frac{2.2\ \mathrm{V}}{0.5\ \mathrm{A}}=4.4\ \OmegaC1=3−0.80.3×4.4×60=27.8 mFC_1=\frac{3-0.8}{0.3\times4.4\times60}=\boxed{27.8\ \mathrm{mF}}

Problem 3.38

Problem 3.38 · Razavi, Fundamentals of Microelectronics, 2nd ed.

While constructing a full-wave rectifier, a student mistakenly has swapped the terminals of D3D_3 as depicted in Fig. 3.82. Explain what happens.

Bridge with D3 swapped: D2 and D3 both have their cathodes at the top input node, D1 and D3 in series from the bottom input node to the top one; RL across the left and right nodes

Source: p3-38-c.tex

assume

The same bridge with all four diodes open; Vout = 0

Source: p3-38-off.tex

Problem 3.45

Problem 3.45 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Design the limiting circuit of Fig. 3.51 for a negative threshold of −1.9 V-1.9\ \mathrm{V} and a positive threshold of +2.2 V+2.2\ \mathrm{V}. Assume the input peak voltage is equal to 5 V, the maximum allowable current through each diode is 2 mA, and VD,on≈800 mVV_\mathrm{D,on}\approx 800\ \mathrm{mV}.

Vn=−1.9 VVp=2.2 VVip=5 VVD,on=800 mVV_n=-1.9\ \mathrm{V}\qquad V_p=2.2\ \mathrm{V}\qquad V_{ip}=5\ \mathrm{V}\qquad V_\mathrm{D,on}=800\ \mathrm{mV}
Limiter: Vin through R1 to Vout; D1 (anode at Vout) and VB1 (plus at the top) to ground; D2 (anode at the bottom) and VB2 (plus at the bottom) to ground

Source: p3-45-c.tex

VB1=2.2−0.8=1.4 VV_\mathrm{B1}=2.2-0.8=1.4\ \mathrm{V}−1.9=−0.8−VB2 ⇒ VB2=1.1 V-1.9=-0.8-V_\mathrm{B2}\ \Rightarrow\ V_\mathrm{B2}=1.1\ \mathrm{V}R≈1.55 kΩR\approx 1.55\ \mathrm{k\Omega}

Problem 3.46

Problem 3.46 · Razavi, Fundamentals of Microelectronics, 2nd ed.

In the limiting circuit of Fig. 3.51, plot the currents flowing through D1D_1 and D2D_2 as a function of time if the input is given by V0cos⁡ωtV_0\cos\omega t and V0>VD,on+VB1V_0>V_\mathrm{D,on}+V_\mathrm{B1} and −V0>−VD,on−VB2-V_0>-V_\mathrm{D,on}-V_\mathrm{B2}.

Limiter of Fig. 3.51

Source: p3-46-c.tex

Vin=V0cos⁡(ωt)Limiting cktV_\mathrm{in}=V_0\cos(\omega t)\qquad \text{Limiting ckt}

ID1I_\mathrm{D1} vs VinV_\mathrm{in}

assume D1D_1 on

Vin, R1, VD,on and VB1 in a loop; Iin = ID1; KVL

Source: p3-46-d1on.tex

KVL:  −Vin+IinR1+VD,on+VB1=0\text{KVL: }\ -V_\mathrm{in}+I_\mathrm{in}R_1+V_\mathrm{D,on}+V_\mathrm{B1}=0ID1=Iin=Vin−VD,on−VB1R1>0Vin>VD,on+VB1I_\mathrm{D1}=I_\mathrm{in}=\frac{V_\mathrm{in}-V_\mathrm{D,on}-V_\mathrm{B1}}{R_1}>0\qquad \boxed{V_\mathrm{in}>V_\mathrm{D,on}+V_\mathrm{B1}}

assume D2D_2 on

Vin, R1, VD,on and VB2 (both plus at the bottom) in a loop; Iin = ID2; KVL

Source: p3-46-d2on.tex

−Vin+IinR1−VD,on−VB2=0-V_\mathrm{in}+I_\mathrm{in}R_1-V_\mathrm{D,on}-V_\mathrm{B2}=0ID2=Iin=Vin+VD,on+VB2R1<0Vin<−VD,on−VB2I_\mathrm{D2}=I_\mathrm{in}=\frac{V_\mathrm{in}+V_\mathrm{D,on}+V_\mathrm{B2}}{R_1}<0\qquad \boxed{V_\mathrm{in}<-V_\mathrm{D,on}-V_\mathrm{B2}}
Left: ID1 is zero up to VD,on + VB1, then rises with slope 1/R1, with the input V0 cos ωt drawn downward in time. Right: ID1 versus t, humps of peak (V0 − VD,on − VB1)/R1 around the input peaks

Source: p3-46-id1.tex

Left: ID2 is zero above −VD,on − VB2 and falls with slope 1/R1 below it. Right: ID2 versus t, negative humps reaching (−V0 + VD,on + VB2)/R1 around the input troughs

Source: p3-46-id2.tex

Problem 3.47

Problem 3.47 · Razavi, Fundamentals of Microelectronics, 2nd ed.

We wish to design a circuit that exhibits the input/output characteristic shown in Fig. 3.83. Using 1-kΩ resistors, ideal diodes, and other components, construct the circuit.

Vout = Vin (slope 1) between −2 V and +2 V, slope 0.5 outside; the outer lines cross the axis at ±1

Source: p3-47.tex

Vout={0.5Vin−1,−∞<Vin<−2(2)Vin,−2<Vin<+2(1)0.5Vin+1,+2<Vin<+∞ V_\mathrm{out}=\begin{cases} 0.5V_\mathrm{in}-1, & -\infty<V_\mathrm{in}<-2\quad(2)\\ V_\mathrm{in}, & -2<V_\mathrm{in}<+2\quad(1)\\ 0.5V_\mathrm{in}+1, & +2<V_\mathrm{in}<+\infty \end{cases} y=ax+b−2=0.5(−2)+b ⇒ b=−2+1=−1y=ax+b\qquad -2=0.5(-2)+b\ \Rightarrow\ b=-2+1=-1
Vin through 1 k to Vout; from Vout to ground: 1 k, ideal diode (anode at the top) and 2 V (plus at the top); and 1 k, ideal diode (anode at the bottom) and 2 V (plus at the bottom)

Source: p3-47-c.tex

Problem 3.48

Problem 3.48 · Razavi, Fundamentals of Microelectronics, 2nd ed.

“Wave-shaping” applications require the input/output characteristic illustrated in Fig. 3.84. Using ideal diodes and other components, construct a circuit that provides such a characteristic. (The value of resistors is not unique.)

Add to the circuit of 3.47 two branches from Vout to ground: +3 V and a diode (anode at the top), and −3 V and a diode (anode at the bottom)

Source: p3-48-c.tex

Problem 3.49

Problem 3.49 · Razavi, Fundamentals of Microelectronics, 2nd ed.

Suppose a triangular waveform is applied to the characteristic of Fig. 3.84 as shown in Fig. 3.85. Plot the output waveform and note that it is a rough approximation of a sinusoid. How should the input-output characteristic be modified so that the output becomes a better approximation of a sinusoid?

Left: the characteristic of Fig. 3.84 (slope 1 within ±2 V, slope 0.5 to ±4 V, flat beyond at ±3 V) with a triangular input drawn downward in time. Right: the output versus t, a rounded wave flat at +3 V and −3 V

Source: p3-49.tex

Problem 3.50

Problem 3.50 · Razavi, Fundamentals of Microelectronics, 2nd ed.

In the following problems, assume IS=5×10−16 AI_S=5\times10^{-16}\ \mathrm{A}.

The half-wave rectifier of Fig. 3.86 must deliver a current of 5 mA to R1R_1 for a peak input level of 2 V.

(a) Using hand calculations, determine the required value of R1R_1.

(b) Verify the result by SPICE.

a)

Vin (2 V peak) through D1 to Vout; R1 from Vout to ground

Source: p3-50-c.tex

2−0.8R1=5 mAR1=1.2 V5 mA=240 Ω\frac{2-0.8}{R_1}=5\ \mathrm{mA}\qquad R_1=\frac{1.2\ \mathrm{V}}{5\ \mathrm{mA}}=240\ \Omega

© 2026 Giorgi Aptsiauri. All rights reserved. Do not copy or republish this text or its figures without permission. Online version: https://giorgiaptsiauri.com/notes/razavi-microelectronics/ch03-diode-models-and-circuits/