Unformatted text preview:

Sheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California1Lecture 4When we perform a sequence of computations using a digital circuit, we switch the input voltages between logic 0 and logic 1.The output of the digital circuit fluctuates between logic 0 and logic 1 as computations are performed.Sheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California2Sheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California3RC CircuitsEvery node in a circuit has capacitance to ground, and it’sthe charging of these capacitances that limits real circuit performance (speed)We compute with pulses We send beautiful pulses inBut we receive lousy-looking pulses at the outputCapacitor charging effects are responsible!timevoltagetimevoltageSheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California4Sheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California5RC ResponseVinRVoutCInternal Modelof Logic GatetimeVout00Vout0Vintime0Vout(t=0)VinVout(t=0)Behavior of Voutafter change in VinSheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California6Sheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California7KCL at node “out”:Current into “out” from the left:(Vin-Vout) / RCurrent out of “out” down to ground:C dVout/ dtKCL:(Vin–Vout) / R = C dVout/ dtRC Response DerivationoutgroundRCVinVout+_+-)VV(RC1dtdVoutinout−=Vout(t) = Vin+ [ Vout(t=0) – Vin] e-t/(RC)Solution:“Time Constant”τ = RCSheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California8Sheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California9Charging and DischargingCharging: Vin> Vout(t=0)Discharging: Vin< Vout(t=0).63 Vin+ .37 Vout(t=0)VoutVintimeτVout(t=0)Vout(t) = Vin(1-e-t/τ) + Vout(t=0)e-t/τ0.63 Vin+ .37 Vout(t=0)VoutVintimeτVout(t=0)063% of transition complete after 1 τSheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California10Sheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California11Common CasesTransition from logic 0 to logic 1(charging)timeVout00V1τ.63 V1VoutV1time00τ.37 V1Vout(t) = V1(1-e-t/τ)Vout(t) = V1e-t/τTransition from logic 1 to logic 0(discharging)(V1is logic 1 voltage)Sheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California12Sheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California13Charging and discharging in RC Circuits(The official EE40 Easy Method)Input node Output nodegroundRCVinVout+-4) Solve the for asymptotic value of capacitor voltage. Hint: Capacitor eventually conducts no current (dV/dt dies out asymptotically).5) Sketch the transient. It is 63% complete after one time constant.6) Write the equation by inspection.1) Simplify the circuit so it looks like one resistor, a source, and a capacitor (it will take another two weeks to learn all the tricks to do this.) But then the circuit looks like this:Method of solving for any node voltage in a single capacitor circuit.2) The time constant is τ = RC.3) Solve for the capacitor voltage before the transient, Vout(t=0). Sheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California14Sheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California15ExampleInput node Output nodegroundRCVinVout+-R = 1kΩ, C = 1pF.Assume Vinhas been zero for a long time, then steps from zero to 10 V at t=0.timeVin0010Vout1 ns6.3VVout(t) = 10 - 10e-t/1 nsAt t=0, since Vinhas been constant for a long time, the circuit is in “steady-state”. Capacitor current is zero (since dV/dt = 0), so by KVL, Vout(t=0) = 0.Asymptotically, the capacitor will have no current, so the capacitor voltage will be equal to Vin, 10 V (resistor will have 0 V).The time constant τ = RC = 1 ns. We can plug into the equation and draw the graph Sheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California16Sheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California17PULSE DISTORTIONWhat if I want to step up the input,wait for the output to respond,then bring the input back down for a different response? timeVin00timeVin00VouttimeVin00VoutSheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California18Sheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California19Input node Output nodegroundRCVin+-OThe pulse width must be long enough, or we get severe pulse distortion.We need to reach a recognizable logic level.0123456012345TimeVoutPW = 0.1RC0123456012345TimeVoutPW = RC01234560 5 10 15 20 25TimeVoutPW = 10RCPULSE DISTORTIONSheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California20Sheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California21EXAMPLEVinRVoutCSuppose a voltage pulse of width5 µs and height 4 V is applied to theinput of the circuit at the right. Sketch the output voltage. R = 2.5 KΩC = 1 nFFirst, the output voltage will increase to approach the4 V input, following the exponential form. When the input goes back down, the output voltage will decrease back to zero, again following exponential form.How far will it increase? Time constant = RC = 2.5 µsThe output increases for 5µs or 2 time constants.It reaches 1-e-2or 86% of the final value.0.86 x 4 V = 3.44 V is the peak value.Sheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California22Sheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California23EXAMPLE00.511.522.533.540 2 4 6 8 10The equation for the output is:Vout(t) =4-4e-t/2.5µsfor 0 ≤ t ≤ 5 µs3.44e-(t-5µs)/2.5µsfor t > 5 µsSheila Ross and W. G. OldhamEECS 40 Spring 2003 Lecture 4Copyright Regents of University of California24Sheila Ross and W. G. OldhamEECS


View Full Document

Berkeley ELENG 40 - Lecture Notes

Documents in this Course
Lecture 3

Lecture 3

73 pages

Lecture 1

Lecture 1

84 pages

Guide 4

Guide 4

8 pages

Diodes

Diodes

7 pages

Quiz

Quiz

9 pages

Load more
Download Lecture Notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture Notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture Notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?