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

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 20

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note Introduction to Capacitive Touchscreen

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

Designing Information Devices and Systems I Discussion 8B

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

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

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

Designing Information Devices and Systems I Summer 2017 D. Aranki, F. Maksimovic, V. Swamy Midterm 2. Exam Location: 100 Genetics & Plant Bio

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

EECS 16A: SPRING 2015 MIDTERM 2

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

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

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

EE C245 / ME C218 INTRODUCTION TO MEMS DESIGN FALL 2011 C. Nguyen PROBLEM SET #7. Table 1: Gyroscope Modeling Parameters

Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Homework 8. This homework is due October 26, 2015, at Noon.

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

Lecture 5: Using electronics to make measurements

Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Homework 10. This homework is due November 9, 2015, at Noon.

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

Energy Stored in Capacitors

Midterm II Sample Problems

Figure 1: Capacitor circuit

ECE2262 Electric Circuits. Chapter 6: Capacitance and Inductance

Lecture 5: Using electronics to make measurements

MA 3260 Lecture 10 - Boolean Algebras (cont.) Friday, October 19, 2018.

Operational amplifiers (Op amps)

Designing Information Devices and Systems I Spring 2015 Note 11

Capacitors. Chapter How capacitors work Inside a capacitor

Designing Information Devices and Systems I Spring 2019 Midterm 2. Exam Location: Cory 521 (DSP)

Chapter 19 Lecture Notes

Electricity and Magnetism. Capacitance

ECE2262 Electric Circuits. Chapter 6: Capacitance and Inductance

Agenda for Today. Elements of Physics II. Capacitors Parallel-plate. Charging of capacitors

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

Operational amplifiers (Op amps)

Electrical measurements:

Designing Information Devices and Systems I Fall 2018 Midterm 2. Midterm 2 Solution

Designing Information Devices and Systems I Spring 2019 Midterm 2

Capacitors. Example 1

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

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

On the axes of Fig. 4.1, carefully sketch a graph to show how the potential difference V across the capacitor varies with time t. Label this graph L.

Chapter 10 Feedback. PART C: Stability and Compensation

PHYS225 Lecture 9. Electronic Circuits

Midterm Exam 2. Prof. Miloš Popović

or Op Amps for short

General Physics - E&M (PHY 1308) - Lecture Notes. General Physics - E&M (PHY 1308) Lecture Notes

f = 1 T 6 a.c. (Alternating Current) Circuits Most signals of interest in electronics are periodic : they repeat regularly as a function of time.

An Introduction to Electricity and Circuits

Agenda for Today. Elements of Physics II. Capacitors Parallel-plate. Charging of capacitors

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 =

Test II Michael R. Gustafson II

Designing Information Devices and Systems I Spring 2019 Homework 7

iclicker A metal ball of radius R has a charge q. Charge is changed q -> - 2q. How does it s capacitance changed?

M. C. Escher: Waterfall. 18/9/2015 [tsl425 1/29]

2005 AP PHYSICS C: ELECTRICITY AND MAGNETISM FREE-RESPONSE QUESTIONS

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

EE100Su08 Lecture #9 (July 16 th 2008)

Designing Information Devices and Systems I Fall 2018 Homework 7

Lecture 37: Frequency response. Context

Chapter 28. Direct Current Circuits

1) Two lightbulbs, one rated 30 W at 120 V and another rated 40 W at 120 V, are arranged in two different circuits.

Today s agenda: Capacitors and Capacitance. You must be able to apply the equation C=Q/V.

EECE 2150 Circuits and Signals Final Exam Fall 2016 Dec 9

Version 001 CIRCUITS holland (1290) 1

EECE 2150 Circuits and Signals Final Exam Fall 2016 Dec 12

PH213 Chapter 24 Solutions

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

E40M Review - Part 1

Homework. Reading: Chap. 29, Chap. 31 and Chap. 32. Suggested exercises: 29.17, 29.19, 29.22, 29.23, 29.24, 29.26, 29.27, 29.29, 29.30, 29.31, 29.

Designing Information Devices and Systems II Fall 2017 Miki Lustig and Michel Maharbiz Homework 1. This homework is due September 5, 2017, at 11:59AM.

Physics 24 Exam 2 March 18, 2014

ECE 220 Laboratory 4 Volt Meter, Comparators, and Timer

Circuits for Analog System Design Prof. Gunashekaran M K Center for Electronics Design and Technology Indian Institute of Science, Bangalore

EDEXCEL NATIONALS UNIT 5 - ELECTRICAL AND ELECTRONIC PRINCIPLES. ASSIGNMENT No.2 - CAPACITOR NETWORK

AP Physics Study Guide Chapter 17 Electric Potential and Energy Name. Circle the vector quantities below and underline the scalar quantities below

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

Electric Currents and Resistance

Lecture # 2 Basic Circuit Laws

Lab 4 CAPACITORS & RC CIRCUITS

Lecture 16 - Circuit Problems

'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ. EGR 224 Spring Test II. Michael R. Gustafson II

Chapter 28. Direct Current Circuits

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Final Exam

Physics 201. Professor P. Q. Hung. 311B, Physics Building. Physics 201 p. 1/3

Switch. R 5 V Capacitor. ower upply. Voltmete. Goals. Introduction

Inductors Maxwell s equations

UNIT 102-2: ELECTRIC POTENTIAL AND CAPACITANCE Approximate time two 100-minute sessions

Trade of Electrician Standards Based Apprenticeship Capacitance Phase 2 Module No. 2.1 Unit No COURSE NOTES

Switch. R 5 V Capacitor. ower upply. Voltmete. Goals. Introduction

ENGG 1203 Tutorial_05. Use of Multimeter. Lab 5 : SYSTEM. Office hours : Chow Yei Ching, CB-LG205 Thu, Fri; 15:30-17:30

Capacitors and more. Lecture 9. Chapter 29. Physics II. Course website:

Capacitors and more. Lecture 9. Chapter 29. Physics II. Course website:

NAME: BATTERY IS TURNED ON TO +1.5 V. BATTERY IS TURNED ON TO -1.5 V.

Introduction to AC Circuits (Capacitors and Inductors)

Direct Current (DC) Circuits

Switch or amplifies f. Capacitor i. Capacitance is measured in micro/pico farads ii. Filters frequencies iii. Stores electrical energy

Lecture 7: Transistors and Amplifiers

Transcription:

EECS 16A Designing Information Devices and Systems I Spring 2018 Lecture Notes Note 17 17.1 Capacitive Touchscreen Viewing the physical structure corresponding to one pixel on the capacitive screen, we want to be able to tell if there is a finger touch on top of the pixel. The green line represents our finger touching the dielectric, C F-E2 is the capacitance between our finger (F) and electrode E2, and C E1 - F is the capacitance between our finger (F) and electrode E1. Now, we can draw the equivalent circuit model corresponding to the pixel we re looking at: EECS 16A, Spring 2018, Note 17 1

F C E1-F E 1 C FE2 C o E 2 From the standpoint of smart phones, a smart phone can only sense something that is between electrodes E 1 and E 2 as it is impractical to physically connect a measuring device to our finger. So, we redraw our circuit as follows: E 1 C E1-F C o F C F-E2 E 2 We can further simplify the circuit by replacing the series combination of C E1-F and C F-E2 by some capacitance C. Intuitively, we know C has some finite capacitance and is greater than zero: E 1 C o C E 2 If we consider the parallel combination of C o and C=C as some equivalent capacitance, we know that will have some value greater than C o because = C o C and C > 0. EECS 16A, Spring 2018, Note 17 2

E 1 E 2 When a finger presses on top of a pixel, the equivalent capacitance between E 1 and E 2 will become greater than the default capacitance without a finger pressing on top. This characteristic allows us to tell if there is a finger pressing on top of each pixel on our 2D capacitive touchscreen. Given 4 pixel, 2, 3, 4 and their corresponding locations, we can measure the capacitance at (x 1,y 1 ) to know if there is a finger pressing on top of pixel 1. Similarly, to know the if there is a finger pressing on top of pixels 2, 3, 4, we can measure the capacitances at (x 1,y 2 ), (x 2,y 1 ), (x 2,y 2 ). If we sense an increase in the capacitance at the pixel location, we know there is a finger pressing on top of this pixel. 17.2 Capacitance Measurement There are various ways you can use to measure capacitance. In this lecture, we will cover one specific method to measure capacitance. First, let s review some basic physics for a capacitor. As you know: I = C dv,q = C V. (1) dt We can build a circuit with a current source I s and a capacitor C. If we charge the capacitor C using the current source I s for a time interval t. EECS 16A, Spring 2018, Note 17 3

I s C V We can then find V to be: V = I s t C V measured depends on the amount of charge Q = I s t and the capacitance value C. So, if we charge a capacitor using some current source for a finite time period, we can map the voltage across the capacitor to capacitance. However, building a current source is not that easy, so we have to come up with some workarounds to measure capacitance. (2) Attempt #1 Our first attempt is connecting a capacitor to some voltage source and we measure the voltage across the capacitor directly: We can immediately see that no matter how C changes, the voltage measured is always going to be equal to. Attempt #2 In order to measure something different from while stilling using the voltage source as the power source in our circuit, we must somehow disconnect from when we measure. How? We can add a switch to the circuit. A switch has two states, at its on state, the switch becomes a perfectly conducting wire with zero resistance, and when the switch is turned off, it becomes an open circuit. For our second attempt, we will add a reference capacitor C re f and a switch to the circuit, and we will measure the voltage across C re f. EECS 16A, Spring 2018, Note 17 4

C ref There are two phases of this circuit. Phase 1: is off. is connected to and C ref is not connected to anything. C ref Phase 2: is on, we can replace with a perfect wire. C ref When is on, is always the same as and our second attempt fails. Attempt #3 Let s now add another switch s 2 so that no longer always equals when is turned on. EECS 16A, Spring 2018, Note 17 5

s 2 C ref Phase 1: is on and s 2 is off. s 2 C ref In phase 1, is connected to voltage source and C ref is not connected to anything. Phase 2: is off and s 2 is on. C ref In phase 2, is disconnected from and C ref is connected to. However, there is one serious problem with this circuit, since we are not sure what is the initial charge of C ref, we cannot perform any circuit analysis. Our third attempt fails because the initial condition of C ref is not clear. Attempt #4 We learned from our third attempt that we must somehow know the initial condition of C ref. How do we know the initial condition of C ref? It turns out that we can acquire this missing piece of information by adding another switch s 3! EECS 16A, Spring 2018, Note 17 6

s 2 s3 C ref Phase 1: is on, s 2 is off, s 3 is on. s 2 C ref In this phase, the voltage across is, and the voltage across C ref is zero. Phase 2: is off, s 2 is on, s 3 is off. s 3 C ref In this phase, the voltage across is the same as the voltage across C ref. How do we analyze this circuit? We know from last lecture that charge must be preserved for a capacitor, this indicates that: Q total, phase 1 = Q total, phase 2. (3) The total charge in each phase can be calculated by summing up Q eq, E1-E2 and Q ref. Q total, phase 1 = Q eq, E1 - E2 Q eq, ref = C eq, E1 - E2 C ref 0V. (4) EECS 16A, Spring 2018, Note 17 7

Q total, phase 2 = Q eq, E1 - E2 Q eq, ref = C eq, E1 - E2 C ref. (5) From equations (4) and (5), we have: C eq, E1 - E2 C ref 0V = C eq, E1 - E2 C ref. (6) Therefore, we can derive the following equation for : = C eq, E1 - E2 C eq, E1 - E2 C ref. (7) This particular circuit analysis approach we have used is called "charge sharing". "Charge sharing" refers to the sharing of charge among capacitors. Between different steady phases for a circuit, one important ground rule remains true: the total charge stored by all capacitors must always be the same. We can use the "charge sharing" approach to solve many capacitor problems. Now we can solve for C eq, E1 - E2 given. Recall that we only want to figure out whether or not our finger is touching this pixel rather than C eq, E1 - E2, we need some device that can transform the continuous C eq, E1 - E2 value to some binary value: is there a finger pressing on top of this pixel? Or, more specifically, is C eq, E1 - E2 greater than its default value when there is no finger touch? 17.3 Comparator & Op-amp Basics We want to figure out if there is a finger pressing on top of a pixel from. In order to do so, we can use a comparator. Before explaining how a comparator works, we will first introduce the concept of op-amp. Op-amp (operational amplifier), by definition, is an amplifier that can amplify something small into something much bigger. For example, a speaker is an audio amplifier, if you connect your smart phone to a speaker, it can generate sounds much louder than your phone can. The circuit symbol for an op amp is shown below: V DD V V V SS We have two input terminals named V and V, two power supply terminals named V DD and V SS, and one output terminal named. The op-amp circuit can transform a voltage signal (V V ) into ( ). For the op amp to function correctly, we need to connect the two external voltage sources V DD, V SS to the op amp. The symbol actually represents the following equivalent circuit: EECS 16A, Spring 2018, Note 17 8

V V A(V V ) V SS V DD V SS 2 In the first circuit, we see a new symbol a diamond with /- signs inside. This represents a voltagecontrolled voltage source where the voltage across it depends on the voltage(s) in other parts of the circuit. In this case, the voltage across the top voltage-controlled voltage source is A(V V ) where A is a constant. For any good op amps, the constant A term is very large approaching infinity. The bottom voltagecontrolled voltage source is dependent on the power supplies of the op-amp. If V and V are exactly equal, is the average of the supply voltages. Note that the dependent voltage sources are referenced to V SS, not ground. Equivalently, we have the following plot that describes the relationship between and V V. (0,V DD ) V V (0,V SS ) For any ideal op amp, when V < V (V V < 0), we have equals V SS ; when V V > 0, we have equals V DD. If we zoom in around V V = 0 by a million times, we will be able to see there is actually some finite slope associated with the transition region. Now, we add an op-amp to the circuit model we built to extract. EECS 16A, Spring 2018, Note 17 9

s 2 3.3V s3 C ref V ana V re f If the analog voltage V ana is greater than V re f, the output voltage will be 3.3V. If V ana < V re f, will be 0V. Recall for V ana, we have V ana = C eq, E1 - E2 C eq, E1 - E2 C ref. (8) When there is touching, C eq, E1 - E2 = C E1 - E2 C in which C > 0, we have: When there is no touching: V ana, touch = V ana, no-touch = C E1-E2 C C E1-E2 C C re f (9) C E1-E2 C E1-E2 C re f (10) For any finite capacitance C > 0, V ana, touch is always greater than V ana, no-touch. V ana is connected to the positive voltage input (V ) of the op-amp, V re f is connected to the negative voltage input (V ) of the op-amp. If we set up V re f such that: (1) V ana, touch > V re f, V V = V ana, touch V re f > 0, will be equal to 3.3V when there is touching. (2) V ana, no-touch < V re f, V V = V ana, no-touch V re f < 0, will be equal to 0V when there is no touching. Now we have built a comparator circuit that can compare V ana against V re f using an op-amp! How should we set up V re f? Intuitively, we want to set it to be half between V ana, no-touch and V ana, touch. This actually allows our comparator circuit to be robust against non-idealities, we will have the same amount of margin for any V ana that deviates from its ideal values, either from V ana, touch or from V ana, no-touch. A second important question is that how should we set up C re f? Recall that V ana = C eq, E1 - E2 C eq, E1 - E2 C ref. We realize that V ana is associated with C ref. As long as we do not set C ref to some value much greater (for example, 1000 times greater) than C eq,e1e2 so that V ana becomes too small (for our op-amp to pick up the signal), we can get some reasonable V ana, which then allows us to set up V re f according to V ana, touch and V ana, no-touch. Practically, we will set up one of C re f, V re f first, and then set up the other value according to V re f = 1 2 (V ana, touch V ana, no-touch ). EECS 16A, Spring 2018, Note 17 10