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

Similar documents
20.2 Design Example: Countdown Timer

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

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

Problem Set 5 Solutions

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note Resistive Touchscreen - expanding the model

EE292: Fundamentals of ECE

ECE 1311: Electric Circuits. Chapter 2: Basic laws

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 =

ECE 220 Laboratory 4 Volt Meter, Comparators, and Timer

Problem Set 4 Solutions

Chapter 19 Lecture Notes

Designing Information Devices and Systems I Discussion 8B

Operational amplifiers (Op amps)

Figure Circuit for Question 1. Figure Circuit for Question 2

Lecture #3. Review: Power

Texas A & M University Department of Mechanical Engineering MEEN 364 Dynamic Systems and Controls Dr. Alexander G. Parlos

Exercise 2: Kirchhoff s Current Law/2 Sources

Lecture 5: Using electronics to make measurements

Physics 248, Spring 2009 Lab 7: Capacitors and RC-Decay

Kirchhoff's Laws and Circuit Analysis (EC 2)

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

Designing Information Devices and Systems II Fall 2016 Murat Arcak and Michel Maharbiz Homework 0. This homework is due August 29th, 2016, at Noon.

DEPARTMENT OF COMPUTER ENGINEERING UNIVERSITY OF LAHORE

E40M Review - Part 1

Exam 3--PHYS 102--S14

Series & Parallel Resistors 3/17/2015 1

Response of Second-Order Systems

4 Electric circuits. Serial and parallel resistors V 3 V 2 V Serial connection of resistors:

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

Physics for Scientists & Engineers 2

Designing Information Devices and Systems I Spring 2016 Elad Alon, Babak Ayazifar Midterm 2. Exam location: 145 Dwinelle, last SID# 2

Lecture 5: Using electronics to make measurements

Chapter 28. Direct Current Circuits

Lecture 7, ATIK. Continuous-time filters 2 Discrete-time filters

Designing Information Devices and Systems I Fall 2017 Official Lecture Notes Note 13

Designing Information Devices and Systems I Spring 2017 Babak Ayazifar, Vladimir Stojanovic Midterm 2. Exam location: 145 Dwinelle, last SID# 2

Review of Circuit Analysis

RC Circuits (32.9) Neil Alberding (SFU Physics) Physics 121: Optics, Electricity & Magnetism Spring / 1

PHYS225 Lecture 9. Electronic Circuits

Operational Amplifiers

Capacitors. Example 1

Georgia Institute of Technology School of Electrical and Computer Engineering. Midterm-1 Exam (Solution)

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

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

EE100Su08 Lecture #9 (July 16 th 2008)

Chapter 2. Engr228 Circuit Analysis. Dr Curtis Nelson

Physics for Scientists & Engineers 2

Lecture 1. Electrical Transport

Operational Amplifiers

mith College Computer Science CSC270 Spring 16 Circuits and Systems Lecture Notes Week 3 Dominique Thiébaut

Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Final Exam. Exam location: RSF Fieldhouse, Back Left, last SID 6, 8, 9

ECE2262 Electric Circuits. Chapter 6: Capacitance and Inductance

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

Circuits. David J. Starling Penn State Hazleton PHYS 212

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

Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Final Exam. Exam location: You re Done!!

Lab 5 RC Circuits. What You Need To Know: Physics 212 Lab

ECE Spring 2015 Final Exam

Basic Electricity. ME 120 Lecture Notes. Portland State University Mechanical and Materials Engineering

Introduction to AC Circuits (Capacitors and Inductors)

Time Varying Circuit Analysis

resistance in the circuit. When voltage and current values are known, apply Ohm s law to determine circuit resistance. R = E/I ( )

Designing Information Devices and Systems I Spring 2015 Note 11

Physics 212. Lecture 9. Electric Current

Exercise 1: RC Time Constants

Physics 1402: Lecture 10 Today s Agenda

P1: Basics - Things you now know that you didn t know you knew (25 pts)

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

Homework 3 Solution. Due Friday (5pm), Feb. 14, 2013

Experiment 4. RC Circuits. Observe and qualitatively describe the charging and discharging (decay) of the voltage on a capacitor.

Lab 4. Current, Voltage, and the Circuit Construction Kit

Circuit Theorems Overview Linearity Superposition Source Transformation Thévenin and Norton Equivalents Maximum Power Transfer

Physics 102: Lecture 06 Kirchhoff s Laws

First-order transient

Chapter 28. Direct Current Circuits

Name: Lab Partner: Section:

In this lecture, we will consider how to analyse an electrical circuit by applying KVL and KCL. As a result, we can predict the voltages and currents

Lab 4 Series and Parallel Resistors

Lecture 3 BRANCHES AND NODES

E1.1 Analysis of Circuits ( ) Revision Lecture 1 1 / 13

Inductors. Hydraulic analogy Duality with capacitor Charging and discharging. Lecture 12: Inductors

EXPERIMENT 5A RC Circuits

Physics Investigation 10 Teacher Manual

Lecture 4: Feedback and Op-Amps

Class #12: Experiment The Exponential Function in Circuits, Pt 1

ECE2262 Electric Circuits. Chapter 6: Capacitance and Inductance

Outline. Week 5: Circuits. Course Notes: 3.5. Goals: Use linear algebra to determine voltage drops and branch currents.

To find the step response of an RC circuit

Switched Capacitor: Sampled Data Systems

Physics 102: Lecture 7 RC Circuits

Lab 10: DC RC circuits

Designing Information Devices and Systems I Fall 2017 Midterm 2. Exam Location: 150 Wheeler, Last Name: Nguyen - ZZZ

Review of Ohm's Law: The potential drop across a resistor is given by Ohm's Law: V= IR where I is the current and R is the resistance.

Do not fill out the information below until instructed to do so! Name: Signature: Section Number:

Electric Current. Note: Current has polarity. EECS 42, Spring 2005 Week 2a 1

ECE 212H1F Circuit Analysis October 20, :15-19: Reza Iravani 02 Reza Iravani 03 Ali Nabavi-Niaki. (Non-programmable Calculators Allowed)

Kirchhoff's Laws and Maximum Power Transfer

2.004 Dynamics and Control II Spring 2008

P202 Practice Exam 2 Spring 2004 Instructor: Prof. Sinova

Networks and Systems Prof. V. G. K. Murti Department of Electrical Engineering Indian Institute of Technology, Madras

Transcription:

EECS 16A Designing Information Devices and Systems I Spring 2018 Lecture Notes Note 20 Design Example Continued Continuing our analysis for countdown timer circuit. We know for a capacitor C: I = C dv (1) There is a linear relationship between the voltage across capacitor V (t) and charging time t. V t (V) t(s) When a button is pressed, we want to turn on some circuit after 2s. Given that voltage is linearly dependent on charging time, we can use a comparator and a reference voltage V re f to decide if 2s has already passed EECS 16A, Spring 2018, Note 20 1

after the button press to decide whether or not to turn on some circuit. Adding an op-amp comparator and a voltage source V re f to the countdown timer circuit: 2V I I V re f V LED Obviously, V re f should be set equal to the voltage of after charging for 2s. After 2s since the button is pressed, if the voltage across becomes higher than V re f, the comparator outputs 2V to the output of the op-amp to turn on the LED. Step 4: design verfication Now, let s actually analyze the design completely to make sure it works. Before the button is pressed, the circuit on the current source side looks like: i L According to KCL, = I L (2) is the constant current supplied by the current source, I L is the current flow into the switch. Before touch, I L must equal 0 since there is an open circuit. However, the current source guarantees that is nonzero. It is very easy to see that mathematically this is problematic, how do we solve the problem? We can add another switch in the circuit: EECS 16A, Spring 2018, Note 20 2

Before touch, the switch is on and can be replaced by a wire: After touch, the switch is off and can be replaced by an open circuit: In either cases, there is a loop in the circuit for to flow. Now, there is a remaining mystery to be answered, how do we build that current source? 20.1 Almost current source In this section, we will use resistors, voltage sources and op amps to build a current source. We know by Ohm s law, I = V R (3) If we have a voltage source, we can scale it by a resistance value R, then we should get a constant current. Now let s use our design procedures to build a current source. EECS 16A, Spring 2018, Note 20 3

Step 1 restate design goal: we want to build a current source that can output constant current regardless of whatever elements we hook up to it. Step 2 Let s now take a voltage source and connect it to a resistor to output a current: Attemp #1 R In the above circuit, = (4) = R However, if we hook up an element between and ground, we can tell immediately that the current through is no longer the constant = R. (5) R Element Recall that it is important to guarantee a constant current output from the current source regardless of the element added to the circuit. Attempt #2 Although our attempt 1 has failed, we have learned an important lesson: if we can somehow set to 0V without physically connecting it to ground. The current through R will always equal R (I R = R = 0 R )! According to golden rule #2, we can set both V and V to 0V if an op amp circuit is in negative feedback. Indeed, we will now use an op amp to build a current source! EECS 16A, Spring 2018, Note 20 4

u2 I I According to golden rules: We also know that the current across R will always be: I = 0 (6) V = V = 0V (7) = R Solving the above equations, we can get the value of : = V R (8) (9) By setting (V ) to 0V by using a negative feedback circuit, we have succesfully built a current source! It is important to keep in mind setting to 0V by using a negative feedback circuit is very different from physically connecting the node of to ground. If we physically connect to ground by adding a wire between V and V : I L I 1 I I If we physcially connect both V and V to ground, I L will become 0A because it is shorted by the wire between V and V. Instead, now we have I 1 =. So we must not physically connect V to ground. Let s now hook up a resistor R L to the circuit and prove that current flow through R L is constant: EECS 16A, Spring 2018, Note 20 5

R L I I I L u 3 According to KCL: I L = = V (10) From I L equation, we can see immediately that I L is not affected by changes in R L. How does the circuit maintain the constant current flow through R L? The op-amp outputs a negative V out to maintain a constant current flow through R L. In other words, the voltage drop across R L is always given by V RL = V R S R L (11) Now let us plug in the current source to the following circuit: The circuit becomes: EECS 16A, Spring 2018, Note 20 6

I L I I V time u 3 Now u 3 is connected to ground. By doing this, the voltage across becomes: V time = u 3 = 0V 0V = 0V (12) There is even a worse problem, recall that there is an controlled voltage source inside the op-amp, this opamp wants to set u 3 to some nonzero value A V c but u 3 is also manually connected to 0V. The fix to solve this problem is to simply get rid of the ground connection. I L I I V time u 3 S1 = dv (13) According to golden rule #2, = 0V. = d( u 3 ) (14) = d(0v u 3 ) = d(u 3 ) (15) EECS 16A, Spring 2018, Note 20 7

Solving the above equation: u 3 (t) = t u 3 (t = 0s) (16) u 3 (t) is associated with the initial value u 3 (t = 0s). Before touch, the switch S1 is on, which sets u 3 (t = 0s) to 0V. Therefore, u 3 (t) = t = t (17) Note there is a term in the denominator, what is the unit of? Unit for = V A CV = C = second (18) A It is good to know that this multiplication result of RC is very useful and common in the timing analysis for circuits, this is an indicator of how fast a circuit is. There are 2 important points to keep in mind when this current source: Do not connect the circuit element that we want to supply the constant current to with ground externally. Doing so may force V out of the op-amp to 0V and lead to nonidealities. The circuit element we hook up to the current source must still keep the op-amp circuit in its negative feedback state. Being in negative feedback allows us to set the node to 0V without physically connecting it to ground and hence allows a constant current output. EECS 16A, Spring 2018, Note 20 8