Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Digital Circuits
http://creativecommons.org/licenses/by-nc-nd/3.0/
Until now we have seen abstract logic gates such as AND, OR, NAND, NOT , so
on.
There are many different ways to implement a logic gate as an electronic
circuit.
In this course we will discuss how different types of transistors are used to
design an electronic logic circuit.
In digital circuits transistors act as a current-controlled switch (ON or OFF).
First we introduce the bipolar junction transistor.
Then we will introduce the MOSFET (metal-oxide semiconductor field effect
transistor) or simply MOS transistor, which is used almost by all new
integrated circuits.
http://www.faculty.itu.edu.tr/buzluca
http://www.buzluca.info 2011 Dr. Feza BUZLUCA 9.1
Digital Circuits
npn Bipolar Transistor Transistor is cut off (OFF) Transistor is saturated (ON)
VBE < 0.6V VBE 0.6V
C Collector
C C
Base
Ic Ic>0
Ic=0
B
B B RCE(sa t )
Ib + Ib=0 + Ib>0
VCE(SAT)
=0.2V
Ie =Ib +Ic VBE<0.6V Ie=0 VBE =0.6V
Ie =Ib +Ic
E E
E
Emitter
http://www.faculty.itu.edu.tr/buzluca
http://www.buzluca.info 2011 Dr. Feza BUZLUCA 9.2
Digital Circuits
VOUT
R1
V Q1
IN 0.2V VCE(sat)
VIN
Switch model of the circuit: LOW HIGH
VCC =+5 V VCC = +5 V 0.8V 2.0V
a) b)
IO
Rc R
VOUT VOUT
VIN VIN
VOUT =VCC - RC*IO VOUT=LOW
VIN=HIGH R IO
VIN=LOW VOUT=HIGH CEsat
Switch ON
Switch OFF <50
VCEsat
0.2V
http://www.faculty.itu.edu.tr/buzluca
http://www.buzluca.info 2011 Dr. Feza BUZLUCA 9.3
Digital Circuits
A Q3
Q2
Inputs
Q1
B Z Output
Q4
R3
http://www.faculty.itu.edu.tr/buzluca
http://www.buzluca.info 2011 Dr. Feza BUZLUCA 9.4
Digital Circuits
Q4
If both Q3 and Q4 are OFF output is in high-impedance
(Hi-Z) state.
IOL It is also called third state (High, Low, Hi-Z).
(sinking)
In this state the output behaves as it isn't even
connected to the circuit.
The output is isolated from the line it was connected.
For TTL components VOL(MAX) = 0.4V VOH(MIN) = 2.4V
In the TTL family there different types of elements (such as LS,ALS,L, F). They
have different current and voltage values which can be found in data catalogs.
http://www.faculty.itu.edu.tr/buzluca
http://www.buzluca.info 2011 Dr. Feza BUZLUCA 9.5
Digital Circuits
TTL Fanout
Remember, the output of a logic gate is connected to inputs of other gates.
The fanout of a logic gate is the number of inputs that the gate can drive
without exceeding its worst-case loading specifications.
Because of current issues this number is limited.
When Output is LOW:
VCC=+5 V VCC=+5 V VCC=+5 V VCC=+5 V
From the inputs(LOW) of
the components flows the
R R1 R1 R1 current IIL into the
output of the gate.
IIL IIL IIL The sum of these
currents is sunken by the
Q3
gate.
VOL IOL < IIL
Digital Circuits
VOH
Q4
With the increase in IOH according to the equation
VOH = VCC (VCE(Q3) + IOH* (R+RQ3))
VOH decreases and it can go down the limit value that can be
accepted as logic 1.
The condition must be satisfied: VOH > VIHmin
The fanout of a unit is the minimum of the numbers calculated for LOW and
HIGH states.
http://www.faculty.itu.edu.tr/buzluca
http://www.buzluca.info 2011 Dr. Feza BUZLUCA 9.8
Digital Circuits
Digital Circuits
Q2
(p-channel )
V IN Q1 Q2 VOUT
VOUT
Q1 0.0 (L) off on 5.0 (H)
V IN (n-channel ) 5.0 (H) on off 0.0 (L)
http://www.faculty.itu.edu.tr/buzluca
http://www.buzluca.info 2011 Dr. Feza BUZLUCA 9.10
Digital Circuits
Q2 If V IN Low: ON
(p-cha nne l)
If V IN High: OFF
VOUT
Q1 1 = 0 State:
0 = 1 State: VIN (n-cha nne l)
VIN High: ON
VDD = +5.0 V V IN Low: OFF VDD = +5.0 V
IOH
V IN = L VOUT = H V IN = H VOUT = L
IOL
http://www.faculty.itu.edu.tr/buzluca
http://www.buzluca.info 2011 Dr. Feza BUZLUCA 9.11
Digital Circuits
VDD A
Z
B
Q2 Q4
A B Q1 Q2 Q3 Q4 Z
Z
L L off on off on H
A Q1 L H off on on off H
H L on off off on H
H H on off on off L
B Q3
http://www.faculty.itu.edu.tr/buzluca
http://www.buzluca.info 2011 Dr. Feza BUZLUCA 9.12
Digital Circuits
Z =H Z =H Z =L
A =L A=H A=H
B =L B =L B =H
http://www.faculty.itu.edu.tr/buzluca
http://www.buzluca.info 2011 Dr. Feza BUZLUCA 9.13
Digital Circuits
A Q2
B Q4 A B Q1 Q2 Q3 Q4 Z
Z L L off on off on H
L H off on on off L
H L on off off on L
Q1 Q3 H H on off on off L
http://www.faculty.itu.edu.tr/buzluca
http://www.buzluca.info 2011 Dr. Feza BUZLUCA 9.14
Digital Circuits
EN
EN A OUT
Q2
EN A Q1 Q2 OUT
L L off off Hi-Z
To simplify the diagram, the internal NAND, L H off off Hi-Z
NOR and NOT functions are shown as H L on on L
functional abstract gates rather than in H H off on H
transistor form.
They actually consist of 10 transistors.
http://www.faculty.itu.edu.tr/buzluca
http://www.buzluca.info 2011 Dr. Feza BUZLUCA 9.15
Digital Circuits
X EN 1 EN
2
If X=0 buffer #2 drives the bus. B is on bus.
If X=1 buffer #1 drives the bus. A is on bus.
A B
EN 1 EN EN EN Y X Bus
0 2 3 4
X S0 1 0 0 A
2 0 1 B
Y S1 1 0 C
3
2:4 1 1 D
Decoder
A B C D
http://www.faculty.itu.edu.tr/buzluca
http://www.buzluca.info 2011 Dr. Feza BUZLUCA 9.16
Digital Circuits
ABNORMAL
0.3VCC VIL 1.5V VIL
LOW VOL
VOL 0.5V
GND 0.0V GND