problem 1 - sites.bu.edusites.bu.edu/engcourses/files/2017/10/ek307_f17_hw5_soln.pdf · 2017. 10....

13
Problem 1: Problem 2: Design a circuit with one op-amp that provides a gain of 5.5. Assume you have a resistor Ri =10kΩ, what value would you choose for Rf? The gain here is positive hence it is a non inverting amplifier. = + × Ideal summing point: 1 = Voltage gain A is equal to: Then, = = + Transpose to give , = =1+ 5.5 = 1+ 10 Therefore = 45 Ω

Upload: others

Post on 18-Sep-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Problem 1 - sites.bu.edusites.bu.edu/engcourses/files/2017/10/ek307_f17_hw5_soln.pdf · 2017. 10. 30. · Problem 1: Problem 2: Design a circuit with one op-amp that provides a gain

Problem 1:

Problem 2:

Design a circuit with one op-amp that provides a gain of 5.5. Assume you have a resistor Ri =10kΩ, what

value would you choose for Rf?

The gain here is positive hence it is a non inverting amplifier.

𝑉𝑖𝑛 = 𝑅𝑖𝑅𝑖+𝑅𝑓

× 𝑉𝑜𝑢𝑡

Ideal summing point: 𝑉1 = 𝑉𝑖𝑛

Voltage gain A is equal to: 𝑉𝑜𝑢𝑡𝑉𝑖𝑛

Then, 𝐴 = 𝑉𝑜𝑢𝑡𝑉𝑖𝑛

= 𝑅𝑖+𝑅𝑓𝑅𝑖

Transpose to give , 𝐴 = 𝑉𝑜𝑢𝑡𝑉𝑖𝑛

= 1 + 𝑅𝑓𝑅𝑖

5.5 = 1 + 𝑅𝑓10

Therefore 𝑅𝑓 = 45 𝐾Ω

EK307 Fall 2017 Homework 5 Solutions
Page 2: Problem 1 - sites.bu.edusites.bu.edu/engcourses/files/2017/10/ek307_f17_hw5_soln.pdf · 2017. 10. 30. · Problem 1: Problem 2: Design a circuit with one op-amp that provides a gain

Scanned by CamScanner

Page 3: Problem 1 - sites.bu.edusites.bu.edu/engcourses/files/2017/10/ek307_f17_hw5_soln.pdf · 2017. 10. 30. · Problem 1: Problem 2: Design a circuit with one op-amp that provides a gain

Scanned by CamScanner

Page 4: Problem 1 - sites.bu.edusites.bu.edu/engcourses/files/2017/10/ek307_f17_hw5_soln.pdf · 2017. 10. 30. · Problem 1: Problem 2: Design a circuit with one op-amp that provides a gain

Problem 4:

Problem 5:

Page 5: Problem 1 - sites.bu.edusites.bu.edu/engcourses/files/2017/10/ek307_f17_hw5_soln.pdf · 2017. 10. 30. · Problem 1: Problem 2: Design a circuit with one op-amp that provides a gain

Problem 6:

Page 6: Problem 1 - sites.bu.edusites.bu.edu/engcourses/files/2017/10/ek307_f17_hw5_soln.pdf · 2017. 10. 30. · Problem 1: Problem 2: Design a circuit with one op-amp that provides a gain

Problem 7:

The circuit shown is a summing amplifier.

The resistances are labelled as,

The formula to calculate the value of 𝑣0 in this summing amplifier circuit is,

𝑣0 = − [𝑅𝑓𝑅1

× 𝑣1 + 𝑅𝑓𝑅2

× 𝑣2 + 𝑅𝑓𝑅3

× 𝑣3]

Substituting the known values,

𝑣0 = − [5010 × 2 + 50

20 × 𝑣2 + 5050 × (−1)]

= −[10 + 2.5𝑣2 − 1]

𝑣0 = −9 − 2.5𝑣2

Substituting the desired value 𝑣0 = −16.5 𝑣

−16.5 = −9 − 2.5𝑣2 → 𝑣2 = 3𝑉

Page 7: Problem 1 - sites.bu.edusites.bu.edu/engcourses/files/2017/10/ek307_f17_hw5_soln.pdf · 2017. 10. 30. · Problem 1: Problem 2: Design a circuit with one op-amp that provides a gain
Page 8: Problem 1 - sites.bu.edusites.bu.edu/engcourses/files/2017/10/ek307_f17_hw5_soln.pdf · 2017. 10. 30. · Problem 1: Problem 2: Design a circuit with one op-amp that provides a gain

Boston University EK307 – Fall 2017

Problem Set 5 Solutions Problem 8. (c) Figure C below is created by the attached Matlab script (file named s_hw5cdsoln.m). The output voltage is lower for lower load resistor RL. The DAC still works, and provides an output voltage that is linearly proportional to the digital input from 0 (000) to 7 (111). However, the proportionality factor depends on the load. The highest proportionality factor is for open circuit, and is lower for lower values of RL. Thus, with variable RL, the DAC does not put out the same voltage range.

Figure C Figure D (d) The addition of the unity-gain buffer means that the current into the op-amp is zero, so the DAC resistor network “sees” the op-amp as an infinite resistance, or open circuit. The voltage at the op-amp non-inverting input, though, is replicated by the op-amp output, which can provide that voltage no matter what load RL is connected. So, we get the output voltage of the open circuit solution vout in part (a) for any value of connected RL. The plot in Figure D, above, from the solution Matlab script (file named s_hw5cdsoln.m), shows the 3 curves overlapping. The unity-gain buffer helps make the output voltage range independent of the attached load resistance. And, the DAC still works like a DAC.

Page 9: Problem 1 - sites.bu.edusites.bu.edu/engcourses/files/2017/10/ek307_f17_hw5_soln.pdf · 2017. 10. 30. · Problem 1: Problem 2: Design a circuit with one op-amp that provides a gain
Page 10: Problem 1 - sites.bu.edusites.bu.edu/engcourses/files/2017/10/ek307_f17_hw5_soln.pdf · 2017. 10. 30. · Problem 1: Problem 2: Design a circuit with one op-amp that provides a gain

Boston University EK307 – Fall 2017

(f) The code is attached (file named s_hw5_r2rdac_v3.m). It gives the function that solves the circuit using the matrix node-voltage method. The plot is:

(g) I chose to use 6 different cases, and plotted them below. The code is attached (file named s_hw5_r2rdac_v3_g.m). The code shows my choice of 6 resistors each time.

Page 11: Problem 1 - sites.bu.edusites.bu.edu/engcourses/files/2017/10/ek307_f17_hw5_soln.pdf · 2017. 10. 30. · Problem 1: Problem 2: Design a circuit with one op-amp that provides a gain
Page 12: Problem 1 - sites.bu.edusites.bu.edu/engcourses/files/2017/10/ek307_f17_hw5_soln.pdf · 2017. 10. 30. · Problem 1: Problem 2: Design a circuit with one op-amp that provides a gain
Page 13: Problem 1 - sites.bu.edusites.bu.edu/engcourses/files/2017/10/ek307_f17_hw5_soln.pdf · 2017. 10. 30. · Problem 1: Problem 2: Design a circuit with one op-amp that provides a gain