E40M. Op Amps. M. Horowitz, J. Plummer, R. Howe 1

Similar documents
The equivalent model of a certain op amp is shown in the figure given below, where R 1 = 2.8 MΩ, R 2 = 39 Ω, and A =

E40M Review - Part 1

E40M. RC Circuits and Impedance. M. Horowitz, J. Plummer, R. Howe

E40M. Binary Numbers. M. Horowitz, J. Plummer, R. Howe 1

PHYS225 Lecture 9. Electronic Circuits

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note Introduction: Op-amps in Negative Feedback

EE100Su08 Lecture #9 (July 16 th 2008)

ECE2262 Electric Circuits. Chapter 4: Operational Amplifier (OP-AMP) Circuits

Bandwidth of op amps. R 1 R 2 1 k! 250 k!

Lecture 5: Using electronics to make measurements

Time Varying Circuit Analysis

Design Engineering MEng EXAMINATIONS 2016

Lecture 5: Using electronics to make measurements

CIRCUITS AND ELECTRONICS. Dependent Sources and Amplifiers

Homework Assignment 08

Operational Amplifiers

E40M Capacitors. M. Horowitz, J. Plummer, R. Howe

D is the voltage difference = (V + - V - ).

Homework Assignment 09

6.301 Solid-State Circuits Recitation 14: Op-Amps and Assorted Other Topics Prof. Joel L. Dawson

Operational amplifiers (Op amps)

ELECTRONIC SYSTEMS. Basic operational amplifier circuits. Electronic Systems - C3 13/05/ DDC Storey 1

Frequency Dependent Aspects of Op-amps

20.2 Design Example: Countdown Timer

Lecture 4: Feedback and Op-Amps

Homework Assignment 11

EECE 2150 Circuits and Signals, Biomedical Applications Final Exam Section 3

Final Exam. 55:041 Electronic Circuits. The University of Iowa. Fall 2013.

E40M Charge, Current, Voltage and Electrical Circuits. M. Horowitz, J. Plummer, R. Howe 1

ECE-342 Test 3: Nov 30, :00-8:00, Closed Book. Name : Solution

Nonlinear Op-amp Circuits

EECE 2510 Circuits and Signals, Biomedical Applications Final Exam Section 3. Name:

BENG 186B Winter 2013 Quiz 2. February 15, NAME (Last, First): This quiz is closed book and closed notes. You may use a calculator for algebra.

Studio 9 Review Operational Amplifier Stability Compensation Miller Effect Phase Margin Unity Gain Frequency Slew Rate Limiting Reading: Text sec 5.

Operational amplifiers (Op amps)

Solved Problems. Electric Circuits & Components. 1-1 Write the KVL equation for the circuit shown.

ENGR-4300 Spring 2009 Test 2. Name: SOLUTION. Section: 1(MR 8:00) 2(TF 2:00) 3(MR 6:00) (circle one) Question I (20 points): Question II (20 points):

Prepare for this experiment!

Examination paper for TFY4185 Measurement Technique/ Måleteknikk

Lecture 7: Transistors and Amplifiers

Designing Information Devices and Systems I Spring 2018 Lecture Notes Note 20

Section 4. Nonlinear Circuits

Lecture 310 Open-Loop Comparators (3/28/10) Page 310-1

Analog Circuits Prof. Jayanta Mukherjee Department of Electrical Engineering Indian Institute of Technology - Bombay

Designing Information Devices and Systems II Spring 2016 Anant Sahai and Michel Maharbiz Midterm 2

Operational Amplifier (Op-Amp) Operational Amplifiers. OP-Amp: Components. Internal Design of LM741

Designing Information Devices and Systems I Spring 2018 Lecture Notes Note 17

Electronics II. Final Examination

Switched-Capacitor Circuits David Johns and Ken Martin University of Toronto

EE 321 Analog Electronics, Fall 2013 Homework #3 solution

Designing Information Devices and Systems I Summer 2017 D. Aranki, F. Maksimovic, V. Swamy Homework 5

EECE 2150 Circuits and Signals Final Exam Fall 2016 Dec 16

Design of Analog Integrated Circuits

EECE 2150 Circuits and Signals Final Exam Fall 2016 Dec 9

ENGN3227 Analogue Electronics. Problem Sets V1.0. Dr. Salman Durrani

Electromechanical devices MM2EMD. Lecture 5 Using Operational Amplifiers (opamps) in the real world

E40M Charge, Current, Voltage and Electrical Circuits KCL, KVL, Power & Energy Flow. M. Horowitz, J. Plummer, R. Howe 1

Metal-Oxide-Semiconductor Field Effect Transistor (MOSFET)

CHAPTER 14 SIGNAL GENERATORS AND WAVEFORM SHAPING CIRCUITS

Schedule. ECEN 301 Discussion #20 Exam 2 Review 1. Lab Due date. Title Chapters HW Due date. Date Day Class No. 10 Nov Mon 20 Exam Review.

ECE Analog Integrated Circuit Design - II P.E. Allen

Analog Integrated Circuit Design Prof. Nagendra Krishnapura Department of Electrical Engineering Indian Institute of Technology, Madras

Switched Capacitor Circuits II. Dr. Paul Hasler Georgia Institute of Technology

Laboratory I: Impedance

Prof. Shayla Sawyer CP08 solution

or Op Amps for short

Electronics for Analog Signal Processing - II Prof. K. Radhakrishna Rao Department of Electrical Engineering Indian Institute of Technology Madras

ECE-343 Test 2: Mar 21, :00-8:00, Closed Book. Name : SOLUTION

Midterm Exam (closed book/notes) Tuesday, February 23, 2010

EE 435 Lecture 44. Switched-Capacitor Amplifiers Other Integrated Filters

Unit 2: Modeling in the Frequency Domain. Unit 2, Part 4: Modeling Electrical Systems. First Example: Via DE. Resistors, Inductors, and Capacitors

Today. 1/25/11 Physics 262 Lecture 2 Filters. Active Components and Filters. Homework. Lab 2 this week

OPERATIONAL AMPLIFIER APPLICATIONS

Problem Set 4 Solutions

EIT Review. Electrical Circuits DC Circuits. Lecturer: Russ Tatro. Presented by Tau Beta Pi The Engineering Honor Society 10/3/2006 1

The Approximating Impedance

ECE3050 Assignment 7

Problem Set 5 Solutions

Capacitors. Chapter How capacitors work Inside a capacitor

Linear Circuit Experiment (MAE171a) Prof: Raymond de Callafon

ECE520 VLSI Design. Lecture 23: SRAM & DRAM Memories. Payman Zarkesh-Ha

55:041 Electronic Circuits The University of Iowa Fall Final Exam

U1 is zero based because its noninverting terminal is connected to circuit common. Therefore, the circuit reference voltage is 0 V.

Ver 3537 E1.1 Analysis of Circuits (2014) E1.1 Circuit Analysis. Problem Sheet 1 (Lectures 1 & 2)

Start with the transfer function for a second-order high-pass. s 2. ω o. Q P s + ω2 o. = G o V i

Electronics Prof. D C Dube Department of Physics Indian Institute of Technology Delhi

ECE137B Final Exam. There are 5 problems on this exam and you have 3 hours There are pages 1-19 in the exam: please make sure all are there.

! Memory. " RAM Memory. ! Cell size accounts for most of memory array size. ! 6T SRAM Cell. " Used in most commercial chips

Electronics II. Midterm #2

ECE2262 Electric Circuits. Chapter 6: Capacitance and Inductance

DESIGN MICROELECTRONICS ELCT 703 (W17) LECTURE 3: OP-AMP CMOS CIRCUIT. Dr. Eman Azab Assistant Professor Office: C

Designing Information Devices and Systems I Babak Ayazifar, Vladimir Stojanovic. This homework is due October 25, 2016, at 1PM.

Analog Circuits and Systems

15 n=0. zz = re jθ re jθ = r 2. (b) For division and multiplication, it is handy to use the polar representation: z = rejθ. = z 1z 2.

Chapter 10 Feedback. PART C: Stability and Compensation

Designing Information Devices and Systems I Spring 2018 Homework 10

BENG 186B Winter 2012 Final

Electronic Circuits. Prof. Dr. Qiuting Huang Integrated Systems Laboratory

RLC Series Circuit. We can define effective resistances for capacitors and inductors: 1 = Capacitive reactance:

Feedback Control G 1+FG A

Transcription:

E40M Op Amps M. Horowitz, J. Plummer, R. Howe 1

Reading A&L: Chapter 15, pp. 863-866. Reader, Chapter 8 Noninverting Amp http://www.electronics-tutorials.ws/opamp/opamp_3.html Inverting Amp http://www.electronics-tutorials.ws/opamp/opamp_2.html Summing Amp http://www.electronics-tutorials.ws/opamp/opamp_4.html M. Horowitz, J. Plummer, R. Howe 2

How to Measure Small Voltages? Arduino input has full-scale around 5V It produces a 10 bit answer (1024) This means a LSB (least significant bit) is 5mV Need to make the signal bigger before input to Arduino So, we will use an amplifier Many ways to build amplifiers One often uses a standard building block for amplifiers Called an Operational Amplifier, or Op-Amp A circuit with very high gain at low frequencies (< 10 khz) M. Horowitz, J. Plummer, R. Howe 3

Electrical Picture Signal amplitude 1 mv Noise level will be significant will need to amplify and filter We ll use filtering ideas from the last two lectures M. Horowitz, J. Plummer, R. Howe 4

OP AMPS M. Horowitz, J. Plummer, R. Howe 5

Op Amp Is a common building block It is a high-gain amplifier Output voltage is A (V+ V-) Gain, A, is 10 K to 1 M LM741 Output voltage can be + or Often can swing between +Vdd and -Vdd supplies Huh? M. Horowitz, J. Plummer, R. Howe 6

Op-Amp Power Supply Up to now we had one supply voltage, Vdd All voltages were between Vdd and Gnd Generally measured relative to Gnd So all voltages were positive. A sinewave goes positive and negative And most input signals do that too It is convenient to have a reference where The output can be positive and negative Can do that by changing what we call the reference M. Horowitz, J. Plummer, R. Howe 7

Moving the Reference V dd = 5 V V dd = 2.5 V + - + v out - + - + - + - v out 2.5 V - The voltages are all the same, only the reference voltage has moved M. Horowitz, J. Plummer, R. Howe 8

What You Will Actually Do Use the USB supply Just change the reference voltage 5 V + - R R + - M. Horowitz, J. Plummer, R. Howe 9

Op Amp Behavior Relationship between output voltage and input voltage: v o = A( v + v ) = A( v p v ) n A is the op-amp gain (or open-loop gain), and is huge 10K-1M The input currents are very, very small so i p 0 and i n 0. M. Horowitz, J. Plummer, R. Howe 10

Since the Output Swing is Limited The high gain only exists for a small range of input voltages If the input difference is too large, the output saturates Goes to the max positive or negative value possible Close to supply voltages M. Horowitz, J. Plummer, R. Howe 11

What Does This Do? V cc = 5 V v out + 5 4 v in + - - + v out 3 + - 2.5 V 2 1-1 2 3 4 5 M. Horowitz, J. Plummer, R. Howe 12

Same Circuit Different Reference V dd = 2.5 V v out + 2 v in + - - + v out 1 0 + - 2.5 V - -1-2 -2-1 0 1 2 M. Horowitz, J. Plummer, R. Howe 13

How To Get A Useful Amplifier The gain of the op amp is too high to make a useful amplifier We need to do something to make it useful We will use analog feedback to fix this problem Feedback makes the input the error between the value of the output, and the value you want the output to have. Let s see how to do this M. Horowitz, J. Plummer, R. Howe 14

Connect V out to V in- v out = A(V + V ) = A(v in v out ) + V cc = 5 V v in + + - - -V cc = -5 V v out ( A +1)v out = Av in v out = A ( A +1) v in v in - M. Horowitz, J. Plummer, R. Howe 15

What Is Going On We solved the equation to find the answer But how does the op-amp get this answer? Think about what happens when the input increases in voltage From 0 V to 0.1 V Initially the output can t change There is capacitance at every node The op-amp thinks it needs to create a huge output voltage So it drives current into the output Which charges the capacitor Causing the output to increase This then decreases the input difference M. Horowitz, J. Plummer, R. Howe 16

Feedback in an Op-amp Circuit As the output rises The input difference decreases So A* DV in also decreases The system is stable when A* DV in is exactly equal to V out If A is large (10 6 ) for any V out Say in the range of ± 10V Dv in will be very, very small Can approximate that by saying Dv in will be driven to 0 Output will be set so v in+ v in M. Horowitz, J. Plummer, R. Howe 17

BUT This is only true if you connect the output feedback To the negative terminal of the amplifier What happens if you connect it to the positive terminal? M. Horowitz, J. Plummer, R. Howe 18

Ideal Op Amps The Two Golden Rules for circuits with ideal op-amps* 1. 2. No voltage difference between op-amp input terminals No current into op-amp inputs * when used in negative feedback amplifiers M. Horowitz, J. Plummer, R. Howe 19

USEFUL OP AMPS CIRCUITS M. Horowitz, J. Plummer, R. Howe 20

Approach To Solve All Op-amp Circuits First check to make sure the feedback is negative If not, STOP! Find the output voltage that makes the input difference 0 Assume V + = V - Find V out such that KCL holds We ll do some examples M. Horowitz, J. Plummer, R. Howe 21 E40M Lecture 19

Non-inverting Amplifier i p = 0 so v p = v s V + = V - so v n = v p = v s i 1 i 1 = i 2 so v o v s R 1 = v s R 2 i 2 v o 1 = v R s + 1 1 R 1 R 2 R v o = v 1 +R 2 s R 2 M. Horowitz, J. Plummer, R. Howe 22

Inverting Amplifier At node v n v n v s R s + v n v o R f + i n = 0 But v n =v p = 0 and i n = 0, so v s R s v o R f = 0 or v o = v s R f R s M. Horowitz, J. Plummer, R. Howe 23

Current-to-Voltage Converter i 2 i p = i n = 0 i 1 v n = v p = 0 i R So i R = 0 as well KCL at the v n node: i 1 = i s = i 2 = v o R f so v o = i s R f M. Horowitz, J. Plummer, R. Howe 24

OP AMP FILTERS M. Horowitz, J. Plummer, R. Howe 25

Adding Capacitors Sinusoidal voltage v o = v s Z f Z s = C f Suppose we add a capacitor in the feedback 1 1 + j 2πFC R f f R s We can treat this exactly as we did the earlier circuits by using impedances. Our earlier analysis showed vo = v s R f R s 1 Z s = R Z s f = 1 + j 2πFC R f f R = v f 1 s R s 1+ j 2πFR f C f M. Horowitz, J. Plummer, R. Howe 26

Sketching the Bode Plot 20 log 10 V o /V s 60 v o R f 1 = v s R V s 1+ j 2πFR f C s f V o 40 20 0 0.1 1 10 100 10 3 10 4 10 5 F [Hz] -20 R s = 1 kω, R f = 100 kω, C f = 160 nf F c = 1/(2pR f C f ) = 10 Hz M. Horowitz, J. Plummer, R. Howe 27

Learning Objectives Understand how living things use electricity Understand what an op amp is: The inputs take no current The output is 10 6 times larger than the difference in input voltages The two Golden Rules of op amps in negative feedback Input currents are 0; V in- = V in+ Be able to use feedback to control the gain of the op amp For inverting and non-inverting amplifiers Understand op amp filters and differential amplifiers M. Horowitz, J. Plummer, R. Howe 28

More Examples M. Horowitz, J. Plummer, R. Howe 29

Summing Amplifier i 1 i 2 i 3 i p = i n = 0 v n = v p = 0 KCL at the summing point (or summing node): v i 1 + i 2 = i 3 so 1 + v 2 = v o R 1 R 2 R Output voltage is a scaled sum of the input voltages: v o = R f v R 1 + R f v 1 R 2 2 M. Horowitz, J. Plummer, R. Howe 30

A Subtracting (Difference) Amplifier? Take an inverting amplifier and put a 2 nd voltage on the other input? i 1 + i 2 = 0 so v n v 1 R s + v n v o R f = 0 v 1 v2 v n = v 2 so v 2 v 1 R s = v o v 2 R f v o R f = v 2 v 1 R s + v 2 R f v o = v 1 R f R s + v 2 R f +R s R s Not quite what we wanted. We d like v o a (v 1 v 2 ). M. Horowitz, J. Plummer, R. Howe 31

Differential Amplifier 1.0 v 1 v n R 1 = v n v o R 2 v 1 v 2 R 4 R 3 +R 4 R 1 = v 2 R 4 R 3 +R 4 v o R 2 v o = v 1 + v 2 R 4 + R 1 R 4 R 2 R 1 R 1 R 3 +R 4 R 2 R 3 +R 4 But if R 3 = R 1 and R 4 = R 2 v o = v 2 v 1 ( ) R 2 R 1 M. Horowitz, J. Plummer, R. Howe 32