Lecture #12 Announcement • • • • • • Midterm 1 on Tues. 3/2/04, 9:30-11 A-M last initials in 10 Evans N-Z initials in Sibley auditorium Closed book, no electronic devices One sheet 8.5x11 inch of your notes Covers material through op-amps, I.e. hw #1-4 OUTLINE – – – – Propagation delay Energy consumption of simple RC circuit RC circuit transient response examples Midterm questions? EECS40, Spring 2004 Lecture 12, Slide 1 Prof. Sanders Voltage Ranges for Digital Signals • A digital signal varies with time, typically between between ground (0 Volts) and the power supply voltage (Vsupply). • A digital voltage signal has two defined states “high” (corresponding to logical state 1) or “low” (corresponding to logical state 0) • Each of the two states corresponds to a range of voltages, for example: logical 1 state: voltage > Vsupply/2 logical 0 state: voltage < Vsupply/2 EECS40, Spring 2004 Lecture 12, Slide 2 Prof. Sanders Propagation Delay tp • The propagation delay tp of a logic gate defines how quickly the output voltage responds to a change in input voltage. It is measured between the 50% transition points of the input and output voltage waveforms. Example: Output voltage changing from “low” to “high” Vsupply Vin Vout (t ) Vsupply 1 et / RPC Vout 0.5Vsupply 0 0.69RPC EECS40, Spring 2004 time Lecture 12, Slide 3 Prof. Sanders Formula for Propagation Delay tp • A logic gate can display different response times for rising or falling input waveforms, so two definitions of propagation delay are necessary. t pLH t pHL tp 2 Example: Output voltage changing from “high” to “low” Vout (t ) Vhighet / RN C Vsupply Vout 0.5Vsupply Vin 0 0.69RNC EECS40, Spring 2004 time Lecture 12, Slide 4 Prof. Sanders Energy Consumption of Simple RC Circuit • In charging a capacitor, the energy which is 1 2 delivered to the capacitor is CVsupply 2 • The energy delivered by the source is dv 2 w p(t )dt v(t )i(t )dt Vsupply C dt CVsupply dt 0 0 0 How much energy is delivered to the resistor RP? RP t=0 i Vsupply + + v RN C – EECS40, Spring 2004 Lecture 12, Slide 5 Prof. Sanders • In discharging a capacitor, the energy which is 1 2 delivered to the resistor RN is CVsupply 2 • Thus, in one complete cycle (charging and discharging), the total energy delivered by the 2 voltage source is CVsupply RP Vsupply EECS40, Spring 2004 + t = t0 RN Lecture 12, Slide 6 C Prof. Sanders Power-Delay Product • The propagation delay and power consumption of a digital logic gate are related: – The smaller the propagation delay, the higher the switching frequency f can be. higher dynamic power consumption pdynamic fCV 2 supply • For a given digital-IC technology, the product of power consumption and propagation delay (the “power-delay product”) is generally a constant. • PDP is simply the energy consumed by the logic gate per switching event, and is a quality measure. EECS40, Spring 2004 Lecture 12, Slide 7 Prof. Sanders RC Circuit Transient Analysis Example The switch is closed for t < 0, and then opened at t = 0. Find the voltage vc(t) for t ≥ 0. t=0 3 kW i 5V + + vc 10 mF 2 kW – 1. Determine the initial voltage vc(0) EECS40, Spring 2004 Lecture 12, Slide 8 Prof. Sanders 3 kW i 5V + + vc 10 mF 2 kW – 2. Determine the final voltage vc(∞) 3. Calculate the time constant t EECS40, Spring 2004 Lecture 12, Slide 9 Prof. Sanders vc (t ) vc () vc (0) vc () e EECS40, Spring 2004 Lecture 12, Slide 10 t /t Prof. Sanders DRAM (Dynamic Memory Device) Example • The operation of a DRAM cell (which stores one bit of information) can be modeled as an RC circuit: to read data stored in cell R=10kW + Ccell=0.1pF Vcell + Cbit-line=1 pF – Vbit-line – • Suppose the bit line is pre-charged to 1 V before the cell is read, and that the cell is programmed to 2 V. What is the final value of the bit-line voltage, after the switch is closed? EECS40, Spring 2004 Lecture 12, Slide 11 Prof. Sanders DRAM Example (cont’d) • The charges stored on Ccell and Cbit-line prior to reading are Qcell ,initial CcellVcell ,initial 1013 F2V 2 1013 C and Qbitline,initial CbitlineVbitline,initial 1012 F1V 11012 C Qtotal,initial Qcell ,initial Qbitline,initial 1.2 1012 C • The final voltages on each capacitor are equal. Qtotal, final CcellV final CbitlineV final • Total charge is conserved: Qtotal, final Ccell Cbitline V final Qtotal,initial V final EECS40, Spring 2004 Qtotal,initial Ccell Cbitline 1.2 1012 C 1.09 Volts 12 1.110 F Lecture 12, Slide 12 Prof. Sanders DRAM Example (cont’d) • Sketch the bit-line voltage waveform Vbit-line (V) 1 t (ns) 0 • Is energy conserved? Explain. EECS40, Spring 2004 Lecture 12, Slide 13 Prof. Sanders Plan • We will be studying semiconductor devices and technology for the next several weeks – How does a transistor work? (need to learn about semiconductors and diode devices first) – How are transistors used as amplifiers? • modeled as dependent current source – How are transistors used to implement digital logic gates? • modeled as resistive switch (circuit performance is limited by RC delay) EECS40, Spring 2004 Lecture 12, Slide 14 Prof. Sanders