Professional Documents
Culture Documents
Circuits and Electronics 2
Circuits and Electronics 2
002
CIRCUITS AND
ELECTRONICS
Lecture 4
Review
z Discretize matter by agreeing to
Lecture 4
Today
Discretize value
Digital abstraction
Lecture 4
R2
V1 +
V1
and V2
might represent the
outputs of two
sensors, for example.
V2
By superposition,
V0 =
R2
R1
V1 +
V2
R1 + R2
R1 + R2
If R1 = R 2 ,
V0 =
V1 + V2
2
Lecture 4
Noise Problem
t
add noise on
this wire
Receiver:
huh?
Lecture 4
Value Discretization
Restrict values to be one of two
HIGH
LOW
5V
0V
TRUE
FALSE
0 and 1
Lecture 4
Digital System
sender
noise
VN
VS
VR
VN = 0V
receiver
VS
VR
5V 0 1 0 HIGH
0 1 0
5V
2.5V
0V
LOW
0V
2.5V
With noise
VS
VN = 0.2V
0 1 0
5V
0 1 0
0.2V
2.5V
VS
2.5V
0V
6.002 Fall 2000
Lecture 4
Digital System
Lecture 4
Voltage Thresholds
and Logic Values
5V
sender
0
1
2.5V receiver
0
0V
Lecture 4
1
sender
3V
2V
VH
forbidden
region
receiver
VL
0V
0V
Lecture 4
5V
V
L
10
VH ?
V
0H
1
V
IH
sender
V
IL
receiver
0
V
0L
0V
Lecture 4
11
VH ?
V
0H
sender
Noise margins
V
IH
receiver
V
IL
V
0L
0V
1 noise margin: V
- V
0 noise margin:
Lecture 4
IH
V
IL
0H
V
0L
12
5V
V
0H
V
IH
V
IL
V
0L
0V
5V
V
0H
V
IH
V
IL
V
0L
0V
sender
receiver
Lecture 4
13
1,0
Lecture 4
14
X, Y, Z
are digital signals
0 , 1
Z = X Y
Boolean equation
X
Y
AND gate
0
1
0
1
0
0
0
1
Lecture 4
15
Combinational gate
abstraction
Adheres to static discipline
Outputs are a function of
inputs alone.
Lecture 4
16
Demo
Z
Noise
X
Y
Z = X Y
6.002 Fall 2000
Lecture 4
17
t
Y
t
Z
t
Z = X Y
6.002 Fall 2000
Lecture 4
18
In recitation
Another example of a gate
If (A is true) OR (B is true)
then C is true
else C is false
C = A + B
A
B
Boolean equation
OR
C
OR gate
More gates
B
B
Inverter
X
Y
Z
NAND
Z = X Y
Lecture 4
19
Boolean Identities
X
X
X
X
1 = X
0 = X
+ 1 = 1
+0 = X
1 = 0
0 = 1
AB + AC = A (B + C)
Digital Circuits
Implement:
B
C
output = A + B C
BC
output
Lecture 4
20