15
ECE:3410 Electronic Circuits. The University of Iowa. Fall 2015. 1 Homework Assignment 03 Question 1 (2 points each unless noted otherwise) 1. Consider the circuit shown. Assume ideal op-amp behavior. Which statement below is true? (a) V = + = 5 V (op-amp operation) (b) = 10 × 2 (2 + 8) = 2 V (voltage division) (c) V =0 (op-amp input current = 0) (d) No of the above are true 2. What is the 3-dB bandwidth of the circuit below? (a) ≈ 8 kHz (b) 318 kHz (c) 15.92 kHz (d) 2 kHz 3. An STC circuit has a time constant of = 10 ms. Estimate the rise time of the output in response to a step input. 4. Pick the word/phrase that best completes the following sentence. To obtain a frequency response plot of a circuit in SPICE, one must perform _________ analysis (a) an AC (b) Transfer function (b) Harmonic Distortion (c) Transient 5. A MOSFET-based class-AB amplifier to produces a 7.07 V peak voltage across a 4 Ω resistive load. What is power dissipated by the load?

Homework Assignment 03 - University of Iowas-iihr64.iihr.uiowa.edu/.../HomeworkAssignment03.pdfECE:3410 Electronic Circuits. The University of Iowa. Fall 2015. 2 6. An engineer designs

  • Upload
    others

  • View
    10

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Homework Assignment 03 - University of Iowas-iihr64.iihr.uiowa.edu/.../HomeworkAssignment03.pdfECE:3410 Electronic Circuits. The University of Iowa. Fall 2015. 2 6. An engineer designs

ECE:3410 Electronic Circuits. The University of Iowa. Fall 2015.

1

Homework Assignment 03

Question 1 (2 points each unless noted otherwise)

1. Consider the circuit shown. Assume ideal op-amp behavior. Which statement below is true?

(a) V− = 𝑉+ = 5 V (op-amp operation)

(b) 𝑉− = 10 × 2 (2 + 8) = 2⁄ V (voltage division)

(c) V− = 0 (op-amp input current = 0)

(d) No of the above are true

Answer: These is no feedback in the circuit to create a virtual short (𝑉− = 𝑉+). No current

flows into the input terminals so that 𝑉− follows from voltage division, so the answer is (b).

2. What is the 3-dB bandwidth of the circuit below?

(a) ≈ 8 kHz

(b) 318 kHz

(c) 15.92 kHz

(d) 2 kHz

Answer: The current source has an infinite internal resistance, so that the capacitor sees an

equivalent resistance 𝑅 = (𝑅1 + 𝑅2)‖𝑅3 = 5K so that the time-constant is 𝜏 = 𝑅𝐶 = 500 𝜇s, so that

the bandwidth is 1 (2𝜋𝜏) = 318 Hz⁄ , and (b) is the answer.

3. An STC circuit has a time constant of 𝜏 = 10 ms. Estimate the rise time of the output in response to

a step input.

Answer: 𝑡𝑟 ≈ 2.2𝜏 = 22 ms.

4. Pick the word/phrase that best completes the following sentence. To obtain a frequency response plot

of a circuit in SPICE, one must perform _________ analysis

(a) an AC (b) Transfer function (b) Harmonic Distortion (c) Transient

Answer: (a)

5. A MOSFET-based class-AB amplifier to produces a 7.07 V peak voltage across a 4 Ω resistive load. What is power dissipated by the load?

Answer: 𝑉𝑟𝑚𝑠 = 𝑉𝑝𝑒𝑎𝑘 √2⁄ = 𝑉𝑝𝑒𝑎𝑘 √2⁄ = 5 V. Thus, 𝑃 = 𝑉𝑟𝑚𝑠2 𝑅 = 25 5 = 6.25 W⁄⁄ .

Page 2: Homework Assignment 03 - University of Iowas-iihr64.iihr.uiowa.edu/.../HomeworkAssignment03.pdfECE:3410 Electronic Circuits. The University of Iowa. Fall 2015. 2 6. An engineer designs

ECE:3410 Electronic Circuits. The University of Iowa. Fall 2015.

2

6. An engineer designs a power amplifier to deliver 2 W (sinusoidal) signal power to an 8 Ω resistive

load. What is the required peak-to-peak voltage swing across the load?

Answer: 𝑃 = 𝑉𝑟𝑚𝑠2 𝑅⁄ , so that 𝑉𝑟𝑚𝑠 = 4 V, so that 𝑉𝑝𝑝 = 11.3 V

7. Consider a linear power supply consisting of a transformer, a full-wave, 4-diode bridge rectifier, smoothing capacitor, and a load current 1.2 A. By what percentage will the ripple voltage increase if

the load current increases to 1.5 A?

a) 100 % (b) 25% (c) Stay the same (d) 50%

Answer: 25%

8. Consider a linear power supply consisting of a transformer, a full-wave, a bridge rectifier and a

smoothing capacitor. Increasing the smoothing capacitor by 50% will

(a) Reduce ripple voltage by 50% and increase maximum inrush current by 50%

(b) Reduce both ripple voltage and maximum inrush current by 50%

(c) Reduce ripple voltage by 50% and leave maximum inrush current unaffected

(d) Reduce ripple voltage by 50% and increase maximum inrush current by 100%

Answer: (a)

9. Consider a linear power supply consisting of a transformer, a half-wave, 1-diode rectifier, and a

smoothing capacitor 𝐶. The load is a resistor 𝑅. The rectifier diode is now replaced with a bridge (4-

diode) rectifier. Neglecting the diodes’ turn-on voltages (𝑉𝛾), the ripple voltage will:

a) Decrease by a factor 4

b) Decrease by a factor 2

c) Stay the same d) Increase by a factor 4

Answer: The ripple voltage is 𝑉𝑟 ∝ 1 𝑓⁄ , where 𝑓 is the frequency. A full-wave rectifies effectively

doubles the frequency of the output voltage that the smoothing must smooth. Thus, doubling the frequency,

decreases the ripple voltage by a factor 2. Thus (b) is the current answer.

10. In an ac series RC circuit, if 20 VAC is measured across the resistor and 40 VAC is measured across the capacitor, the magnitude of the applied voltage is:

(a) ≈ 60 VAC (b) ≈ 55 VAC (c) ≈ 50 VAC (d) ≈ 45 VAC

Answer: The applied voltage is 𝑉𝐼𝑁 = 𝑉𝑅 + 𝑗𝑉𝐶, so that |𝑉𝐼𝑁| = √𝑉𝑅2 + 𝑉𝐶

2 = √2,000 ≈ 45 VAC.

Thus (d) is the answer.

Page 3: Homework Assignment 03 - University of Iowas-iihr64.iihr.uiowa.edu/.../HomeworkAssignment03.pdfECE:3410 Electronic Circuits. The University of Iowa. Fall 2015. 2 6. An engineer designs

ECE:3410 Electronic Circuits. The University of Iowa. Fall 2015.

3

11. What is the magnitude of the current phase angle for a 5.6 𝜇F capacitor and a 50-Ω resistor in series

with a 1.1 kHz, 5 VAC source?

(a) 72.9° (b) 62.7° (c) 27.3° (d) 17.1

Answer: The impedance of the RC circuit is = 𝑅 − 1 𝑗2𝜋𝑓𝐶⁄ = 50 − 𝑗25.84 Ω. The magnitude of

the phase angle is |tan−1(−25.84 50⁄ )| = 27.3°. Thus, (c) is the answer.

12. Estimate the current through the red LED in the circuit shown.

(a) 0 mA

(b) 16 mA

(c) 18 mA

(d) 13 mA

Answer: 𝑉𝛾 for a Si diode is nominally 0.7 V, but LEDs are made from other semiconductor material

and LEDs’ turn-on voltages are different. In particular, red LEDs have 𝑉𝛾 ≈ 1.6 V. Thus, the current

in the circuit is 𝐼 = (6 − 1.6) 330 ≈ 13 mA⁄ , and the answer is (d).

13. A filtered full-wave rectifier voltage has a smaller ripple than does a half-wave rectifier voltage for

the same load resistance and capacitor values because:

(a) There is a shorter time between peaks

(b) There is a longer time between peaks

(a) The larger the ripple, the better the filtering action

(b) None of the above

Answer: Option (a).

14. The PIV across a nonconducting diode in a bridge rectifier equals approximately:

(a) half the peak (b) 2 × the peak (c) the peak (d) 4 × the peak

value of the transformer secondary voltage.

Answer: Option (c)

Page 4: Homework Assignment 03 - University of Iowas-iihr64.iihr.uiowa.edu/.../HomeworkAssignment03.pdfECE:3410 Electronic Circuits. The University of Iowa. Fall 2015. 2 6. An engineer designs

ECE:3410 Electronic Circuits. The University of Iowa. Fall 2015.

4

15. What is the current through the ideal diode?

(a) 1 mA

(b) 0.975 mA

(c) 0.942 mA

(d) 0.867 mA

Answer: For an ideal diode there is no forward voltage drop, so 𝐼 = 12 12K = 1 mA⁄ , so option (a)

is the answer.

16. With a 12-V supply, a silicon diode, and a 370 Ω resistor in series, what voltage will be dropped

across the diode?

(a) ≈ 0.3 V (b) ≈ 0.7 V (c) ≈ 0.9 V (d) (a) ≈ 1.4 V

Answer: Option (b)

Page 5: Homework Assignment 03 - University of Iowas-iihr64.iihr.uiowa.edu/.../HomeworkAssignment03.pdfECE:3410 Electronic Circuits. The University of Iowa. Fall 2015. 2 6. An engineer designs

ECE:3410 Electronic Circuits. The University of Iowa. Fall 2015.

5

Question 2 For the circuit shown, 𝑉𝑃𝑆 = 5 V, 𝑅 = 5K, 𝑣𝛾 =

0.6 V. The input is 𝑣𝑖 = 0.1 sin(𝜔𝑡) V.

Draw a small-signal ac model and provide numerical values for

the model parameters. Then determine and expression for the

time-varying component of the output voltage 𝑣𝑂(𝑡).

Provide your answer to 3 significant digits. (6 points)

Solution

The dc current through the diode is 𝐼𝐷𝑄 = (𝑉𝑃𝑆 − 𝑣𝛾) 𝑅⁄ = (5 − 0.6) (5K) = 0.88 mA⁄ . The small-

signal (incremental) resistance of the diode is 𝑟𝑑 = 𝑉𝑇 𝐼𝐷𝑄 = (26 mV) (0.88 mA)⁄⁄ ≈ 30 Ω. A small-

signal ac model is shown below.

The small-signal output voltage is

𝑣𝑂(𝑡) =𝑅

𝑅 + 𝑟𝑑𝑣𝑖(𝑡) =

5K

5K + 30 Ω(0.1) sin(ωt) = 0.0994 sin(ωt) V

Page 6: Homework Assignment 03 - University of Iowas-iihr64.iihr.uiowa.edu/.../HomeworkAssignment03.pdfECE:3410 Electronic Circuits. The University of Iowa. Fall 2015. 2 6. An engineer designs

ECE:3410 Electronic Circuits. The University of Iowa. Fall 2015.

6

Question 3 For the diode shown 𝑉𝛾 = 0.7 V. Determine 𝐼 and 𝑉𝑂. (6 points)

Solution

A KCL equation at 𝑉𝑂 using the convention that currents flow away from the node is

𝑉𝑂 − (−8 + 0.7)

20K+

𝑉𝑂 − 2

5K= 0 ⇒ 𝑉𝑂 = 0.14 V

Next, calculate 𝐼

𝐼 =2 − 0.14

5K= 0.372 mA

Another approach is to start with a KVL equation. Starting at the 2-V source and using the convention

that if we “step out” of a voltage source, change the sign of the source, and if we “step over” a passive

component or “step into” a source, retain the sign, one gets:

−2 + (5K)(𝐼) + 0.7 + (20K)(𝐼) − 8 = 0 ⇒ 𝐼 = 0.372 mA

Next, calculate 𝑉𝑂

𝑉𝑂 = 2 − (5K)(I) = 0.14 V

Page 7: Homework Assignment 03 - University of Iowas-iihr64.iihr.uiowa.edu/.../HomeworkAssignment03.pdfECE:3410 Electronic Circuits. The University of Iowa. Fall 2015. 2 6. An engineer designs

ECE:3410 Electronic Circuits. The University of Iowa. Fall 2015.

7

Question 4 An engineer measures the bandwidth of the circuit below by driving it with a sinusoidal

signal and measuring the attenuation at various frequencies. She uses a scope with an input impedance of

1 MΩ with a × 1 probe, and then a × 10 probe. Complete the following table (6 points)

True BW in Hz

Measured BW in Hz (× 1) probe

Measured BW in Hz (× 10) probe

Solution

This is a simple 1st –order system with bandwidth 𝐵 = 1 (2𝜋𝑅𝐶)⁄ . Here 𝑅 is the equivalent resistance

that the capacitor 𝐶 sees.

True bandwidth calculation: the Thevenin equivalent resistance that 𝐶 sees is simply 𝑅1, so

𝐵𝑇𝑟𝑢𝑒 =1

2𝜋𝑅𝐶=

1

2𝜋(910 × 103)(1 × 10−9)= 175 Hz

× 𝟏 Probe bandwidth calculation: the probe+scope has a 1M resistance that is effectively in parallel

with 𝑅1, so that the Thevenin equivalent resistance that 𝐶 sees is 1M‖𝑅1, so that

𝐵×1 𝑝𝑟𝑜𝑏𝑒 =1

2𝜋(𝑅‖𝑅𝑠𝑐𝑜𝑝𝑒)𝐶=

1

2𝜋(910 × 103)‖(1 × 106)(1 × 10−9)= 334 Hz

× 𝟏𝟎 Probe bandwidth calculation: × 10 probes increase the 1 MΩ probe+scope resistance to 10 MΩ,

so that the Thevenin equivalent resistance that 𝐶 sees is 10M‖𝑅1, so that

𝐵×1 𝑝𝑟𝑜𝑏𝑒 =1

2𝜋(𝑅‖𝑅𝑠𝑐𝑜𝑝𝑒)𝐶=

1

2𝜋(910 × 103)‖(10 × 106)(1 × 10−9)= 191 Hz

True BW in Hz 175 Hz

Measured BW in Hz (× 1) probe 334 Hz

Measured B in Hz (× 10) probe 191 Hz

Page 8: Homework Assignment 03 - University of Iowas-iihr64.iihr.uiowa.edu/.../HomeworkAssignment03.pdfECE:3410 Electronic Circuits. The University of Iowa. Fall 2015. 2 6. An engineer designs

ECE:3410 Electronic Circuits. The University of Iowa. Fall 2015.

8

Question 5 What is the voltage across a capacitor after being charged from a 100 V source for a period of

one time constant? The initial voltage across the capacitor is 0 V. (4 points)

Solution The voltage across the capacitor is 𝑣𝑐(𝑡) = 100(1 − 𝑒−𝑡 𝜏⁄ ). Thus, 𝑣𝑐(𝜏) = 100(1 − 1 −

𝑒−1) = 63.3 V. Thus, (c) is the answer. Note, it is a standard result that one should know by heart—a

capacitor charges to ≈ 63% of its final value after one time constant.

Question 6 Determine absolute value of the peak current through the load resistor? Assume 𝑉𝛾 = 0.7 V

for the diodes. (4 points)

Solution

When 𝑣𝑖 = 10 V, 𝐷1 is reverse-biased and an open ciruit. 𝐷2 is forward biased and has a 0.7 V voltage

drop across it. It is in series with 𝑅𝐿 and the left 2K resistor, so the current that flows is

𝐼 = (10 − 0.7) (2K + 𝑅𝐿) = 9.3 (4K) = 2.235 mA⁄⁄ . When 𝑉𝑖 = −10 V, then 𝐷2 is reverse-biased but

𝐷1is forward biased. The current that flows is again 2.235 mA, but now it flows in the opposite direction.

Regardless the answer is 2.235 mA.

Question 7 Consider the circuit below. What is the output voltage 𝑉𝑂𝑈𝑇 at the end of the 2.82 ms pulse?

(5 points)

Solution

On the rising edge the capacitor is uncharged and 15V appears across 𝑅1. The voltage across the capacitor

is 𝑉𝐶 = 15(1 − 𝑒−𝑡 𝜏⁄ ) where 𝜏 = 𝑅𝐶 = 940 𝜇s is the time constant. The voltage across 𝑅1 is 15𝑒−𝑡 𝜏⁄ .

At 𝑡 = 2.82 ms, this is 5𝑒−2.82 ms 940 𝜇s⁄ = 15𝑒−3 = 0.747 V.

Page 9: Homework Assignment 03 - University of Iowas-iihr64.iihr.uiowa.edu/.../HomeworkAssignment03.pdfECE:3410 Electronic Circuits. The University of Iowa. Fall 2015. 2 6. An engineer designs

ECE:3410 Electronic Circuits. The University of Iowa. Fall 2015.

9

Question 8 (diodes, load line) Consider the circuit below. Assume 𝑉𝑃𝑆 = 3.5 V, and 𝑅 = 180 Ω. Also

shown, are the LED’s voltage-current characteristics. Draw the circuit’s dc load line on the

characteristics and find 𝐼𝐷 and 𝑉𝐷 (6 points)

Solution. On the voltage axis, mark the supply voltage:3.5 V. On the current axis, mark the maximum

current that can flow through the resistor: 𝐼 = 3.5 180⁄ = 19.4 mA. Connect the two points to get the dc

load line. The dc load line intersects the diode V-I curve at around 𝐼𝐷 ≅ 6 mA and 𝑉𝐷 ≅ 2.8 V.

Page 10: Homework Assignment 03 - University of Iowas-iihr64.iihr.uiowa.edu/.../HomeworkAssignment03.pdfECE:3410 Electronic Circuits. The University of Iowa. Fall 2015. 2 6. An engineer designs

ECE:3410 Electronic Circuits. The University of Iowa. Fall 2015.

10

Problem 9 A full-wave, 4-diode bridge rectifier circuit with a 1 kΩ load operates from a 120-V (rms) 60-

Hz household supply through a 10-to-1 step-down transformer. It uses silicon diodes that one can model

to have a 0.7-V drop for any current. (a) What is the peak voltage of the rectified output? (3 points) (b)

For what fraction of the time does the diode conduct? (5 points)

Solution

Part (a) The peak voltage after the 10-to-1 step down is 𝑉𝑃 = (12)(√2) = 16.97 V so the peak voltage

of the rectified output is this, minus two diode drops, or

𝑉𝑃(𝑙𝑜𝑎𝑑) = 16.97 − 1.4 = 15.57 V

Part (b) Since the rectified wave is periodic, we need to consider only one cycle of the rectified wave.

Conduction starts when the output voltage from the transformer (i.e., 16.97 sin(𝜔𝑡) equals two diode

drops. In other words, when 16.97 sin(𝜔𝑡) = 1.4. Solving yields 𝜃 = 𝜔𝑡 = 0.083 radian. The

rectified half- cycle represents 𝜋 radians, so conduction starts (0.083 𝜋⁄ ) × 100 = 2.63% into the half-

cycle. By symmetry, conduction stops at 100 − 2.63 = 97.37% of the half-cycle, and the diodes

conduct 100 − 2 × 2.63 = 94.7% of the time.

Page 11: Homework Assignment 03 - University of Iowas-iihr64.iihr.uiowa.edu/.../HomeworkAssignment03.pdfECE:3410 Electronic Circuits. The University of Iowa. Fall 2015. 2 6. An engineer designs

ECE:3410 Electronic Circuits. The University of Iowa. Fall 2015.

11

Problem 10 An engineer designs a power supply that consists of a transformer, a full-wave, 4-diode

bridge rectifier and a smoothing capacitor. She designed the supply to operate in the U.S. where the

power line (mains) frequency and voltage is 60 Hz and 120 V respectively. The ripple voltage at full load

is 20 mV. Estimate the ripple voltage when the unmodified supply is used in regions of Japan where the

corresponding values are 50 Hz and 100 V respectively. Assume that the equivalent load resistance stays

the same. (5 points)

Solution

The ripple voltage for a full-wave, 4-diode bridge rectifier is (see chapter 2 of 4th edition of Neaman’s text

book):

𝑉𝑟 =𝑉𝑀

2𝑓𝑅𝐶

Here 𝑉𝑀 is the maximum (peak) voltage of the input sine wave, 𝑓 is the frequency, 𝐶 is the capacitance of

the smoothing capacitor, and 𝑅 is the load resistance. With new mains voltage 𝑉𝑀′ = (100 120⁄ )𝑉𝑀 and

new mains frequency 𝑓′ = (50 60⁄ )𝑓, the new ripple voltage is

𝑉𝑟′ =

𝑉𝑀′

2𝑓′𝑅𝐶=

(100 120⁄ )𝑉𝑀

2(50 60⁄ )𝑓𝑅𝐶= (

100

120) (

60

50) (

𝑉𝑀

2𝑓𝑅𝐶) = (

𝑉𝑀

2𝑓𝑅𝐶) = 20 mV

That is, the ripple voltage will not change.

Page 12: Homework Assignment 03 - University of Iowas-iihr64.iihr.uiowa.edu/.../HomeworkAssignment03.pdfECE:3410 Electronic Circuits. The University of Iowa. Fall 2015. 2 6. An engineer designs

ECE:3410 Electronic Circuits. The University of Iowa. Fall 2015.

12

Question 11 Consider the linear power supply shown. The

step-down transformer has a secondary voltage of 9 VAC

under load. The load is a 50-Ω resistor. The forward voltage

(𝑉𝛾) for the 1N4001 rectifier diodes is 1 V, and smoothing

capacitor 𝐶 has a value of 680 𝜇F. The capacitor ESR is

0.75 Ω.

(a) Estimate dc value of the output voltage. That is, the voltage at 𝐴 (5 points). (b) Estimate the output

ripple voltage. (3 points) (c) Estimate the maximum reverse voltage across any diode. (2 points)

(d) Estimate the worst-case inrush current through the diodes. Ignore the transformer winding resistance.

(4 points)

Solution

Part (a) The 9 VAC transformer specification refers to the secondary rms voltage. Thus, the peak voltage

at the transformer secondary is 𝑉𝑝 = 9√2 = 12.73 V. The output voltage is therefore

𝑉𝑂 = 𝑉𝐴 = 12.73 − 2𝑉𝛾 = 10.73 V

Strictly speaking, to find the dc (i.e., average) value, one must subtract half of the ripple voltage from this

value. The ripple voltage is 0.26 V (see b)) so the dc value is 10.6 V. However, the question says

“estimate”, and 10.73 V is a good estimate.

Part (b) The ripple voltage is (see text an lecture notes)

𝑉𝑟 =𝑉𝑀

2𝑓𝑅𝐶=

10.73

(2)(60)(50)(6800 × 10−6)= 0.26 V

Part (c) The maximum reverse voltage a diode experiences is

𝑉𝑂 − (−𝑉𝛾) = 10.73 + 1 = 11.73 V

Part (d) The worst-case inrush current occurs when the smoothing capacitor is uncharged and power is

applied right when the input voltage to the bridge rectifier crests. This voltage is √2 × 9 = 12.73 V and

the current through a pair of diodes and the capacitor is

𝐼inrush =12.73 − 2𝑉𝐷

0.75=

12.73 − 2

0.75= 14.3 A

SPICE Simulation (not required but shown as an example how to use SPICE)

Below is a screen capture of a Micro-Cap SPICE simulation.

Page 13: Homework Assignment 03 - University of Iowas-iihr64.iihr.uiowa.edu/.../HomeworkAssignment03.pdfECE:3410 Electronic Circuits. The University of Iowa. Fall 2015. 2 6. An engineer designs

ECE:3410 Electronic Circuits. The University of Iowa. Fall 2015.

13

Below are the output plots from a transient analysis. The annotations show that the simulation values

matche the hand-calculations well.

𝑉𝑟 = 0.25 V

−0.11 V

𝑉𝑑𝑐 = 10.64 V

Page 14: Homework Assignment 03 - University of Iowas-iihr64.iihr.uiowa.edu/.../HomeworkAssignment03.pdfECE:3410 Electronic Circuits. The University of Iowa. Fall 2015. 2 6. An engineer designs

ECE:3410 Electronic Circuits. The University of Iowa. Fall 2015.

14

Question 12 Determine VD for the circuit shown to within 0.01 V.

This is not necessarily a Si diode so you can’t assume 𝑉𝐷 = 0.7 V.

Rather, use the diode equation 𝐼𝐷 = 𝐼𝑆[𝑒𝑉𝐷 𝑉𝑇⁄ − 1] and assume that

IS = 10-13

A and 𝑇 = 300K. Use the bisection numerical method

with the initial bracket values 𝑉𝐿 = 0.6 V and 𝑉𝐻 = 0.65 V.

Organize you values neatly in a table. (8 points)

Solution

KVL gives −𝑉𝑃𝑆 + 𝐼𝐷𝑅 + 𝑉𝐷 = 0 For the diode

𝐼𝐷 = 𝐼𝑆[𝑒𝑉𝐷 𝑉𝑇⁄ − 1] Eq. 1

Substituting this into the KVL equation and reorganizing gives

𝑉𝑃𝑆 = 𝑅𝐼𝑠[𝑒𝑉𝐷 𝑉𝑇⁄ − 1] + 𝑉𝐷

𝑉𝐷 = 5 − (2 × 103)(1 × 10−13)[𝑒𝑉𝐷 0.026⁄ − 1] Eq. 2

Now try different values for 𝑉𝐷 substituting in the RHS of the equation above.

Iteration 𝑉𝐿 𝑉𝐻 𝑉𝐷 = (𝑉𝐻 − 𝑉𝐿) 2⁄ 𝑉𝐷

′ which is from RHS of Equation 2

𝑉𝐷′ −𝑉𝐷

1 0.60000 0.65000 0.62500 -0.50556 -1.1306

2 0.60000 0.62500 0.61250 1.59587 0.9834

3 0.61250 0.62500 0.61875 0.67084 0.0521

4 0.61875 0.62500 0.62187 0.11795 -0.5039

5 0.61875 0.62187 0.62031 0.40270 -0.2176

6 0.61875 0.62031 0.61953 0.53878 -0.0807

7 0.61875 0.61953 0.61914 0.60531 -0.0138

8 0.61875 0.61914 0.61895 0.63820 0.0193

9 0.61895 0.61914 0.61904 0.62178 0.0027

% Matlab Script

R = 2e3;

Is = 1e-13;

VT = 0.026;

VH = 0.65;

VL = 0.6;

for i = 1:100

VD = (VH+VL)/2;

VDP = 5 - Is*R*(exp(VD/VT)-1);

err = VDP-VD;

s = sprintf('%d, %7.5f, %7.5f, %7.5f, %7.5f, %6.4f',i,VL,VH,VD,VDP,err);

disp(s)

if (err < 0)

VH = VD;

else

VL = VD;

Page 15: Homework Assignment 03 - University of Iowas-iihr64.iihr.uiowa.edu/.../HomeworkAssignment03.pdfECE:3410 Electronic Circuits. The University of Iowa. Fall 2015. 2 6. An engineer designs

ECE:3410 Electronic Circuits. The University of Iowa. Fall 2015.

15

end

if (abs(err) < 0.01)

break;

end

end