Chapter 3 Digital Electronics Le Dung
Transcript of Chapter 3 Digital Electronics Le Dung
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
1/29
9/9/13
1
Digital Electronics
- Part I: Digital Principle -
Dr. L Dng
Department of Electronics and Computer System (C9-401)
School of Electronics and Telecommunications
Hanoi University of Science and Technology
Email: [email protected]
Part I: Digital Principles - Overview
Boolean
Functions
(Boolean Algebra)
True
False1
0
High
Low
Basic Logic GatesInverter,AND,OR,NAND,NOR,XOR,XNOR
Electronic circuits
(Transistor BJT, Diode,
Resister, MOS...)Implementation
Digital System
Digital
Integrated
Circuits
Information Digitalization
Logic LevelLogic Clause
Sequential
Logic Circuits
Combinational
Logic Circuits
Logic Circuits
Analysis &
Synthesis
-Custom design-Standard celldesign- Gate array
-PLA, PLD, FPGA-FSMD design- VHDL
Logic Families
RTL, DTL, HTL
TTL, CMOS
PMOS, NMOS,
BiMOS, ECL,
Specifications:- Current & Voltages
- Fan-in, Fan-out
- Propagation Delay
- Noise Margin
- Power Dissipation
- Speed Power Product
Open-Collector
Output
&
Tristate Output
Dr. Le Dung - School of Electronics and Telecommunications Page 2
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
2/29
9/9/13
2
Part I: Digital Principles - Contents
Chapter 1 : Binary system and Binary Codes
Chapter 2 : Boolean Algebra
Chapter 3 : Logic Gates, Logic Circuits and
Digital Integrated Circuits
Dr. Le Dung - School of Electronics and Telecommunications Page 3
Logic Gates, Logic Circuits and Digital Integrated Circuits
Chapter 3
3.1 Logic Gates
+ Electronic switches and Logic Levels in Digital Circuits
+ Basic Logic Gates
3.2 Logic Circuits
+ Principles of Logic Gate Connection
+ Two models of Logic Circuit
+ Synthesis and Analysis Logic Circuits
+ Active Level and Active Level Conversion
3.3 Digital Integrated Circuits
+ Integrated Circuit (IC) and Scale of Integration.
+ Digital IC Families (TTL, CMOS)
+ Specifications of Digital IC
Dr. Le Dung - School of Electronics and Telecommunications Page 4
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
3/29
9/9/13
3
Dr. Le Dung - School of Electronics and Telecommunications Page 5
3.1 LOGIC GATES
Digital circuits work with 0 and 1 and use switches
Ref.: http://www.wordbench.com/video/ucan.html
How to make an electronic switch in digital circuit ?.
Dr. Le Dung - School of Electronics and Telecommunications Page 6
3.1 LOGIC GATES
BJT works as a switch in a digital circuits
Ref.: http://www.electronics-tutorials.ws/transistor/tran_4.html
Cut-off
SaturationBJT switchesTTL families
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
4/29
9/9/13
4
Dr. Le Dung - School of Electronics and Telecommunications Page 7
3.1 LOGIC GATES
MOSFET works as a switch in a digital circuitsN-MOSFET (N-Channel MetalOxideSemiconductor Field-Effect Transistor
Cut-off
Full-saturation
Ref.: h ttp://www.electronics-tutorials.ws/transistor/tran_4.html
MOSFET switchesCMOS Families
Dr. Le Dung - School of Electronics and Telecommunications Page 8
3.1 LOGIC GATES
Logic Levels: are usually represented by the voltage ranges.
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
5/29
9/9/13
5
Dr. Le Dung - School of Electronics and Telecommunications Page 9
3.1 LOGIC GATES
Logic Levels: VCC, VIH, VIL, VOH,VOL
Dr. Le Dung - School of Electronics and Telecommunications Page 10
3.1 LOGIC GATES
A Logic Gate is physical device implementing a basicBoolean function and working on logic levels.
Logic gates are primarily implemented using diodes or transistors
acting as electronic switches
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
6/29
9/9/13
6
Dr. Le Dung - School of Electronics and Telecommunications Page 11
3.1 LOGIC GATES7 Logic Gates
Dr. Le Dung - School of Electronics and Telecommunications Page 12
3.1 LOGIC GATES
Logic Gates in Small Scale Integrated ICHex (6) Inverters IC 7404 INVETER gate
TTL inverter gate circuit
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
7/29
9/9/13
7
Dr. Le Dung - School of Electronics and Telecommunications Page 13
3.1 LOGIC GATESLogic Gates in Small Scale Integrated ICQuadruple 2-Input And-gates IC 7408 AND gate
TTL AND gate circuit
Dr. Le Dung - School of Electronics and Telecommunications Page 14
3.1 LOGIC GATES
Logic Gates in Small Scale Integrated ICQuadruple 2-Input OR-gates IC 7432 OR gate
TTL OR gate circuit
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
8/29
9/9/13
8
Dr. Le Dung - School of Electronics and Telecommunications Page 15
3.1 LOGIC GATESLogic Gates in Small Scale Integrated ICQuadruple 2-Input NAND-gates IC 7400 NAND gate
TTL NAND gate circuit
Dr. Le Dung - School of Electronics and Telecommunications Page 16
3.1 LOGIC GATES
Logic Gates in Small Scale Integrated ICQuadruple 2-Input NOR-gates IC 7402 NOR gate
TTL NOR gate circuit
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
9/29
9/9/13
9
Dr. Le Dung - School of Electronics and Telecommunications Page 17
3.1 LOGIC GATESLogic Gates in Small Scale Integrated IC
Dr. Le Dung - School of Electronics and Telecommunications Page 18
3.2 LOGIC CIRCUITS
Principles of Logic Gate Connection
The rules of connection ?.
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
10/29
9/9/13
10
Dr. Le Dung - School of Electronics and Telecommunications Page 19
3.2 LOGIC CIRCUITS
Principles of Logic Gate Connectione.g. TTL output connects to CMOS input
Dr. Le Dung - School of Electronics and Telecommunications Page 20
3.2 LOGIC CIRCUITS
Principles of Logic Gate Connectionthe rules+ Must be compatible in logic level
+ One output can control more than one input
+ Two or more outputs usually should not be
connected together.
+ Dont let an input as a floating input.
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
11/29
9/9/13
11
Dr. Le Dung - School of Electronics and Telecommunications Page 21
3.2 LOGIC CIRCUITS
Two models of Logic Circuits
Dr. Le Dung - School of Electronics and Telecommunications Page 22
3.2 LOGIC CIRCUITS
Synthesis and Analysis Logic Circuits
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
12/29
9/9/13
12
Dr. Le Dung - School of Electronics and Telecommunications Page 23
3.2 LOGIC CIRCUITS
Active Level (Asserted level)
Dr. Le Dung - School of Electronics and Telecommunications Page 24
3.2 LOGIC CIRCUITS
Active Level Conversion
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
13/29
9/9/13
13
Dr. Le Dung - School of Electronics and Telecommunications Page 25
3.2 LOGIC CIRCUITS
Alternated Logic Gates (active level conversion)
Dr. Le Dung - School of Electronics and Telecommunications Page 26
3.2 LOGIC CIRCUITS
Active level conversion to make a compatible inlogic circuits
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
14/29
9/9/13
14
Dr. Le Dung - School of Electronics and Telecommunications Page 27
3.2 LOGIC CIRCUITS
Exercise 1: active level conversion
Dr. Le Dung - School of Electronics and Telecommunications Page 28
3.2 LOGIC CIRCUITS
Exercise 2: active level conversion
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
15/29
9/9/13
15
Dr. Le Dung - School of Electronics and Telecommunications Page 29
3.3 DIGITAL INTEGRATED CITCUITS
Integrated Circuit ?.An integrated circuit (also referred to as IC, chip, or
microchip) is an electronic circuit manufactured by
lithography
All logic gates, logic circuits implemented on a single chipDigital ICs
Dr. Le Dung - School of Electronics and Telecommunications Page 30
3.3 DIGITAL INTEGRATED CITCUITS
Lithography for integrated circuit fabrication
Pattern
transfer
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
16/29
9/9/13
16
Dr. Le Dung - School of Electronics and Telecommunications Page 31
3.3 DIGITAL INTEGRATED CITCUITS
Scale of Integration
* Giga-scale integration(GSI)1,000,000 or more(109 - 1011)
* Tera-scale integration(TSI) (1012 or more)
Moores Law: The number of components that can be packed on a
computer chip doubles every 18 months while price stays the same.
1.2 Billion individualtransistor gates onto the
Quad-core i7-2700k"Sandy Bridge" 64-bit
microprocessor chip
Dr. Le Dung - School of Electronics and Telecommunications Page 32
3.3 DIGITAL INTEGRATED CITCUITS
Most of the reasons that modern digital systemsuse integrated circuits
IC pack a lot more circuitry in a small package theoverall size of any digital system is reduced.
IC have made digital systems more reliable by reducingthe number of external interconnections.
IC typically requires less power than their discretecounterparts saving in power and a system does not
require as much cooling
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
17/29
9/9/13
17
Dr. Le Dung - School of Electronics and Telecommunications Page 33
3.3 DIGITAL INTEGRATED CITCUITS
Logic FamiliesDL : Diode Logic.
RTL : Resistor Transistor Logic.
DTL : Diode Transistor Logic.
HTL : High Threshold Logic.
TTL : Transistor Transistor Logic.
I2L : Integrated Injection Logic.
ECL : Emitter Coupled Logic.
MOS : Metal Oxide Semiconductor Logic (PMOS and NMOS).
CMOS : Complementary Metal Oxide Semiconductor Logic.
BiCMOS : Combines bipolar and CMOS devices into single integrated circuit.
Dr. Le Dung - School of Electronics and Telecommunications Page 34
3.3 DIGITAL INTEGRATED CITCUITS
Digital IC notation
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
18/29
9/9/13
18
Dr. Le Dung - School of Electronics and Telecommunications Page 35
3.3 DIGITAL INTEGRATED CITCUITS
DL, RTL, DTL, HTL structuresDTL - NAND gate
Diode logic
Dr. Le Dung - School of Electronics and Telecommunications Page 36
3.3 DIGITAL INTEGRATED CITCUITS
IIL structures- Integrated injection logic (IIL, I2L, or I2L) is a class of digital circuits built
with multiple collector bipolar junction transistors (BJT)- When introduced it had speed comparable to TTL yet was almost as
low power as CMOS, making it ideal for use in VLSI (and larger)integrated circuits.
- Although the logic voltage levels are very close (High: 0.7V, Low: 0.2V),
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
19/29
9/9/13
19
Dr. Le Dung - School of Electronics and Telecommunications Page 37
3.3 DIGITAL INTEGRATED CITCUITS
ECL structures- A high-speed integrated circuit bipolar transistor logic family.
- ECL uses an overdriven BJT differential amplifier with single-endedinput and limited emitter current to avoid the saturated (fully on)
region of operation and its slow turn-off behavior
Dr. Le Dung - School of Electronics and Telecommunications Page 38
3.3 DIGITAL INTEGRATED CITCUITS
The structure of standard TTL NAND Gate:Multiple emitter and Totem pole
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
20/29
9/9/13
20
Dr. Le Dung - School of Electronics and Telecommunications Page 39
3.3 DIGITAL INTEGRATED CITCUITS
The operation of standard TTL NAND gate
Dr. Le Dung - School of Electronics and Telecommunications Page 40
3.3 DIGITAL INTEGRATED CITCUITS
The operation of standard TTL NAND gate
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
21/29
9/9/13
21
Dr. Le Dung - School of Electronics and Telecommunications Page 41
3.3 DIGITAL INTEGRATED CITCUITS
Tri-state or Hi-Z output of TTL gate
Dr. Le Dung - School of Electronics and Telecommunications Page 42
3.3 DIGITAL INTEGRATED CITCUITS
Tri-states output application
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
22/29
9/9/13
22
Dr. Le Dung - School of Electronics and Telecommunications Page 43
3.3 DIGITAL INTEGRATED CITCUITS
Open collector output of TTL gate
Wired-OR circuits
Different voltage Interfacing
Dr. Le Dung - School of Electronics and Telecommunications Page 44
3.3 DIGITAL INTEGRATED CITCUITS
Structure of Low-power Schottky TTL
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
23/29
9/9/13
23
Dr. Le Dung - School of Electronics and Telecommunications Page 45
3.3 DIGITAL INTEGRATED CITCUITS
Structure of NMOS gate
Dr. Le Dung - School of Electronics and Telecommunications Page 46
3.3 DIGITAL INTEGRATED CITCUITS
Structure of CMOS gate
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
24/29
9/9/13
24
Dr. Le Dung - School of Electronics and Telecommunications Page 47
3.3 DIGITAL INTEGRATED CITCUITS
Specifications of Digital IC Currents & Voltages Fan-out, Fan-in Propagation DelayNoise Margin Power Dissipation Speed Power Product
From Datasheet
Dr. Le Dung - School of Electronics and Telecommunications Page 48
3.3 DIGITAL INTEGRATED CITCUITS
Specifications of Digital IC Voltages and Noise Margin
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
25/29
9/9/13
25
Dr. Le Dung - School of Electronics and Telecommunications Page 49
3.3 DIGITAL INTEGRATED CITCUITSSpecifications of Digital IC Currents & Fan-out, Fan-in
Dr. Le Dung - School of Electronics and Telecommunications Page 50
3.3 DIGITAL INTEGRATED CITCUITS
Specifications of Digital IC Currents of the logic families
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
26/29
9/9/13
26
Dr. Le Dung - School of Electronics and Telecommunications Page 51
3.3 DIGITAL INTEGRATED CITCUITSSpecifications of Digital IC Propagation Delay
Dr. Le Dung - School of Electronics and Telecommunications Page 52
3.3 DIGITAL INTEGRATED CITCUITS
Specifications of Digital IC Propagation delay of the TTL and CMOS families
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
27/29
9/9/13
27
Dr. Le Dung - School of Electronics and Telecommunications Page 53
3.3 DIGITAL INTEGRATED CITCUITSSpecifications of Digital IC Power Dissipation and Speed-Power Product
Dr. Le Dung - School of Electronics and Telecommunications Page 54
3.3 DIGITAL INTEGRATED CITCUITS
Specifications of Digital IC Speed and power dissipation of TTL and CMOS families
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
28/29
9/9/13
28
Dr. Le Dung - School of Electronics and Telecommunications Page 55
3.3 DIGITAL INTEGRATED CITCUITSTTL and CMOS connections
Dr. Le Dung - School of Electronics and Telecommunications Page 56
3.3 DIGITAL INTEGRATED CITCUITS
TTL and CMOS connections (cont.)
-
7/22/2019 Chapter 3 Digital Electronics Le Dung
29/29
9/9/13
29
Dr. Le Dung - School of Electronics and Telecommunications Page 57
3.3 DIGITAL INTEGRATED CITCUITS
TTL and CMOS connect to LED
Dr. Le Dung - School of Electronics and Telecommunications Page 58
3.3 DIGITAL INTEGRATED CITCUITS
TTL and CMOS connect to a push button or a relay