Professional Documents
Culture Documents
When We Perform A Sequence of Computations Using A Digital Circuit, We Switch The Input Voltages Between Logic 0 and Logic 1
When We Perform A Sequence of Computations Using A Digital Circuit, We Switch The Input Voltages Between Logic 0 and Logic 1
Oldham
Lecture 4
When 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.
EECS 40 Spring 2003 Lecture 4 Copyright Regents of University of California Sheila Ross and W. G. Oldham
RC Circuits
voltage
We compute with pulses
We send beautiful pulses in
time
voltage
pulses at the output
time
RC Response
R
Internal Model
V in V out
of Logic Gate
C
Vout(t=0) Vin
0 0
0 time 0 time
EECS 40 Spring 2003 Lecture 4 Copyright Regents of University of California Sheila Ross and W. G. Oldham
RC Response Derivation
R
KCL at node “out”: out
+
Current into “out” from the left: V +
in C Vout
(Vin - Vout) / R _
-
ground
Current out of “out” down to ground:
C dVout / dt
Vout Vout
Vin Vout(t=0)
.63 Vin+
.37 Vout(t=0) .63 Vin+
.37 Vout(t=0)
Vout(t=0) Vin
0 t time 0 t time
Common Cases
Transition from logic 0 to logic 1 Transition from logic 1 to logic 0
(charging) (discharging)
Vout(t) = V1(1-e-t/t) Vout(t) = V1e-t/t
.63 V1
.37 V1
0 0
0 t time 0 t time
EECS 40 Spring 2003 Lecture 4 Copyright Regents of University of California Sheila Ross and W. G. Oldham
Example
Vout(t) = 10 - 10e-t/1 ns 0
1 ns
time
EECS 40 Spring 2003 Lecture 4 Copyright Regents of University of California Sheila Ross and W. G. Oldham
PULSE DISTORTION
What if I want to step up the input,
Vin
0
0
time
Vin
wait for the output to respond,
Vout
0
0
time
PULSE DISTORTION
PW = 0.1RC PW = RC PW = 10RC
6 6 6
5 5 5
4 4 4
Vout
Vout
Vout
3 3 3
2 2 2
1 1 1
0 0 0
0 1 2 3 4 5 0 1 2 3 4 5 0 5 10 15 20 25
Time Time Time
EECS 40 Spring 2003 Lecture 4 Copyright Regents of University of California Sheila Ross and W. G. Oldham
EXAMPLE
R
Suppose a voltage pulse of width
Vin Vout
5 ms and height 4 V is applied to the
input of the circuit at the right. R = 2.5 KΩ C
C = 1 nF
Sketch the output voltage.
EXAMPLE
4
3.5
3
2.5
2
1.5
1
0.5
00 2 4 6 8 10
The equation for the output is:
4-4e-t/2.5ms for 0 ≤ t ≤ 5 ms
Vout(t) =
{ 3.44e-(t-5ms)/2.5ms for t > 5 ms
EECS 40 Spring 2003 Lecture 4 Copyright Regents of University of California Sheila Ross and W. G. Oldham
APPLICATIONS
• Now we can find “propagation delay” tp; the time between
the input reaching 50% of its final value and the output to
reaching 50% of final value.
• For instantaneous input transitions between 0 V and logic 1,
0.5 = e-tp
tp = - ln 0.5 = 0.69
It takes 0.69 time constants, or 0.69 RC.
• We can find the time it takes for the output to reach other
desired levels. For example, we can find the time required
for the output to go from 0 V to the minimum voltage level
recognizable as logic 1 (known as VIH).