Professional Documents
Culture Documents
Chương 4 - Official - E PDF
Chương 4 - Official - E PDF
Chương 4 - Official - E PDF
2
General characteristics of logic circuits
3
Basic parameters of logic circuits
4
Basic parameters of logic circuits
3. HIGH-level output current, IOH. This is the maximum current flowing
out of an output when the input conditions are such that the output is in the
logic HIGH state. It is normally shown as a negative number. It tells about
the current sourcing capability of the output. The magnitude of IOH
determines the number of inputs the logic function can drive when its
output is in the logic HIGH state.
Example: for the standard TTL family, the minimum guaranteed IOH is
−400 μA, which can drive 10 standard TTL inputs with each requiring 40
μA in the HIGH state
Output current at HIGH state - IOH Output current at LOW state IOL
6
Basic parameters of logic circuits
7. HIGH-level input voltage, VIH. This is the minimum
voltage level that needs to be applied at the input to be
recognized as a legal HIGH level for the specified family.
For the standard TTL family, a 2 V input voltage is a legal
HIGH logic state.
7
Basic parameters of logic circuits
9. HIGH-level output voltage, VOH. This is the minimum voltage on the
output pin of a logic function when the input conditions establish logic
HIGH at the output for the specified family. In the case of the standard
TTL family of devices, the HIGH level output voltage can be as low as 2.4
V and still be treated as a legal HIGH logic state. It may be mentioned
here that, for a given logic family, the VOH specification is always greater
than the VIH specification to ensure output-to-input compatibility when
the output of one device feeds the input of another.
10. LOW-level output voltage, VOL. This is the maximum voltage on the
output pin of a logic function when the input conditions establish logic
LOW at the output for the specified family. In the case of the standard
TTL family of devices, the LOW-level output voltage can be as high as
0.4 V and still be treated as a legal LOW logic state. It may be mentioned
here that, for a given logic family, the VOL specification is always smaller
than the VIL specification to ensure output-to-input compatibility when the
output of one device feeds the input of another.
8
Basic parameters of logic circuits
9
Basic parameters of logic circuits
11. Supply current, ICC. The supply current when the output is HIGH, LOW
and in the high-impedance state is respectively designated as ICCH, ICCL and
ICCZ.
12. Rise time, tr. This is the time that elapses between 10 and 90 % of the
final signal level when the signal is making a transition from logic LOW to
logic HIGH.
13. Fall time, tf . This is the time that elapses between 90 and 10 % of the
signal level when it is making HIGH to LOW transition.
10
Basic parameters of logic circuits
11
Basic parameters of logic circuits
12
Basic parameters of logic circuits
1. Output impedance.
2. Fan-out. The fan-out is the number of inputs of a
logic function that can be driven from a single
output without causing any false output. It is a
characteristic of the logic family to which the device
belongs.
3. Fan-in. Fan-in is the number of output of a logic
function that can be driven from a single output
without causing any false input.
4. Propagation delay per gate.
5. Noise margin. This is a quantitative measure of
noise immunity offered by the logic family.
13
Basic parameters of logic circuits
Ngưỡng nhiễu
14
Basic parameters of logic circuits
15
Basic parameters of logic circuits
16
Basic parameters of logic circuits
Ví dụ:
Datasheet của 1 IC 4 NAND 2 đầu vào có các tham số
sau: IOH (max.) = 0,4mA, VOH (min) = 2,7 V, VIH (min) =
2V, VIL (max) = 0,8 V, VOL (min) = 0,4 V, IOL (max) = 8
mA, IIL (max) = 0,4 mA, IIH (max) = 20 μA, ICCH (max) =
1,6 mA, ICCL (max) = 4,4 mA, tpLH = tpHL = 15 ns và dải
điện áp cung cấp là 5 V. Xác định:
(a) Công suất tiêu tán trung bình của một cổng NAND,
(b) Độ trễ lan truyền trung bình tối đa của một cổng duy
nhất,
(c) Biên độ nhiễu trạng thái CAO
(d) Biên độ nhiễu trạng thái THẤP
17
Các thông số cơ bản của mạch logic
Giải:
(a) Dòng cung cấp trung bình cho IC là: (ICCH +ICCL/2) = (1.6
+ 4.4)/2 = 3 mA. Hiệu điện thế của nguồn là VCC = 5 V.
Công suất tiêu tán của IC NAND gồm 4 cổng 2 lối vào là:
5 × 3 = 15 mW. Công suất tiêu tán của mỗi cổng là: 15/4
= 3.75 mW.
(b) Trễ lan truyền của IC là: 15 ns.
(c) Biên độ nhiễu trạng thái CAO: VOH(min.) − VIH(min.) =
2.7 − 2 = 0.7 V.
(d) Biên độ nhiễu trạng thái THẤP: VIL(max.) − VOL(max.) =
0.8 − 0.4 = 0.4 V
(e) Trạng thái CAO fan-out: IOH (max)/IIH (min)= 400/20 = 20.
Trạng thái THẤP: IOL/IIL = 8/0.4 = 20. Như vậy tổng số
cổng NAND mà 1 cổng NAND của IC có thể điều khiển
được là 20.
18
Example:
Example:
Problem:
Problem:
Bipolar and MOS
The components that make up a logic circuit can use one of
the following two types of components:
- Linh kiện lưỡng cực (bipolar: Bipolar transistor, diode)
- Linh kiện MOS (Metal-Oxide-Semiconductor)
Bipolar MOS
23
Bipolar
24
Logic Families
Diode logic
Resistor transistor logic
26
Resistor Transistor Logic family
NOT gate
27
Họ logic RTL (Resistor Transistor Logic)
28
RTL family
NOR
AND
29
Họ logic DTL (Diode Transistor Logic)
30
TTL (Transistor Transistor Logic) family
31
TTL (Transistor Transistor Logic) family
To sum up, the characteristic parameters and features of
the standard TTL family of devices include the following:
✓ VIL = 0.8 V;
✓ VIH = 2 V;
✓ IIH = 40 μA; ✓ VCC = 4.75–5.25 V (74-series)
and 4.5–5.5 V (54-series);
✓ IIL = 1.6 mA;
✓ Propagation delay: 15ns-22 ns
✓ VOH = 2.4 V; (max.)
✓ VOL = 0.4 V; ✓ Operating temperature range =
✓ IOH = 400 μ A; 0–70 °C (74- series) and −55 to
✓ IOL = 16 mA; +125 °C (54-series);
✓ Noise margin = 0.4 V; ✓ Maximum Flip-flop toggle
✓ Fan-out = 10; frequency = 35 MHz.
✓ ICCH = 8 mA;
✓ ICCL = 22 mA;
32
TTL (Transistor Transistor Logic) family
33
TTL (Transistor Transistor Logic)
34
TTL (Transistor Transistor Logic)
35
TTL (Transistor Transistor Logic)
36
TTL (Transistor Transistor Logic)
NOR Gate
37
TTL (Transistor Transistor Logic)
XOR gate
38
TTL (Transistor Transistor Logic)
Mạch 3 trạng thái - Tristate
39
TTL (Transistor Transistor Logic)
40
TTL (Transistor Transistor Logic)
41
TTL (Transistor Transistor Logic)
45
ECL (Emitter Coupled Logic) family
46
ECL (Emitter Coupled Logic) family
◼Emitter-Coupled Logic
Đưa ra 2 trạng thái logic cùng lúc
An ECL inverter/buffer
47
ECL (Emitter Coupled Logic) family
◼Emitter-Coupled Logic
Định nghĩa mức logic
cao là 4.4 V và 3.6 V
48
ECL (Emitter Coupled Logic) family
◼Emitter-Coupled Logic
49
ECL (Emitter Coupled Logic) family
◼Emitter-Coupled Logic
50
ECL (Emitter Coupled Logic) family
51
ECL (Emitter Coupled Logic) family
52
ECL (Emitter Coupled Logic) family
54
ECL (Emitter Coupled Logic) family
55
CMOS (Complementary Metal-Oxide-
Semiconductor) family
The popular CMOS subfamilies include the 4000A,
4000B, 4000UB, 54/74C, 54/74HC, 54/74HCT, 54/74AC
and 54/74ACT families.
56
CMOS (Complementary Metal-Oxide-
Semiconductor) family
57
CMOS (Complementary Metal-Oxide-
Semiconductor) family
58
CMOS (Complementary Metal-Oxide-
Semiconductor) family
59
CMOS (Complementary Metal-Oxide-
Semiconductor) family
60
CMOS (Complementary Metal-Oxide-
Semiconductor) family
61
CMOS (Complementary Metal-Oxide-
Semiconductor) family
62
CMOS (Complementary Metal-Oxide-
Semiconductor) family
63
CMOS (Complementary Metal-Oxide-
Semiconductor) family
64
CMOS (Complementary Metal-Oxide-
Semiconductor) family
65
CMOS (Complementary Metal-Oxide-
Semiconductor) family
66
CMOS (Complementary Metal-Oxide-
Semiconductor) family
67
CMOS (Complementary Metal-Oxide-
Semiconductor) family
68
CMOS (Complementary Metal-Oxide-
Semiconductor) family
69
CMOS (Complementary Metal-Oxide-
Semiconductor) family
71
CMOS (Complementary Metal-Oxide-
Semiconductor) family
73
Transitor trường - Field-effect transistor
FET có trước tuy nhiên không được sử dụng cho đến khi transistor
lưỡng cực thông thường gặp những hạn chế của vật liệu bán dẫn và
do cả sản xuất BJT tương đối dễ so với FET vào thời điểm đó. Ngày
nay FET có sáu loại chính tùy theo cấu trúc và kênh dẫn là p hay n, là
hai loại JFET và bốn loại MOSFET
74
Transitor trường - Field-effect transistor
75
Transitor trường - Field-effect transistor
FET là thiết bị có 3 đầu cuối (three terminals) tương ứng 3 chân:
✓ Chân nguồn (S - Source): các hạt mang điện truyền vào kênh. Thông thường,
dòng vào tại kênh S được đặt là IS.
✓ Chân máng (D - Drain): Thông qua đó các hạt mang điện rời khỏi kênh. Dòng
vào kênh D được gọi là ID. Điện áp từ D tới S gọi là VDS.
✓ Chân cổng (G - Gate): Điều chỉnh độ dẫn kênh, nghĩa là cho phép các electron
chảy qua hoặc chặn dòng của chúng bằng cách tạo ra hoặc loại bỏ một kênh
giữa nguồn và máng. Khi cấp điện áp cho G, người ta có thể kiểm soát được
dòng ID.
76
Transitor trường - Field-effect transistor
Ký hiệu
77
Transitor trường - Field-effect transistor
Sơ đồ
78
Transitor trường - Field-effect transistor
Mối quan hệ giữa dòng và điện áp
79
Transitor trường - Field-effect transistor
Mối quan hệ giữa dòng và điện áp
80
Giao tiếp tải
81
Giao tiếp tải
82
Giao tiếp tải
83
Giao tiếp tải
84
Digital integrated circuits
◼ Logic elements are made up of electronic components
◼ These electronic components when combined together
are usually in the form of integrated circuits, also known
as ICs (Integrated Circuits).
◼ Integrated circuits have the following characteristics:
Advantages: component density, reduced volume, reduced weight and
circuit size.
Disadvantages: If one component fails, the whole circuit is damaged.
85
Classification of digital integrated circuits
◼ Theo mật độ linh kiện:
Có các loại sau:
◼ SSI - Small Scale Integration: các vi mạch có mật độ tích
hợp cỡ nhỏ: < 10 cổng/chip
◼ MSI - Medium Scale Integration: các vi mạch có mật độ tích
hợp cỡ trung bình: 10 100 cổng/chip
◼ LSI - Large Scale Integration: các vi mạch có mật độ tích hợp
cỡ lớn: 100 1000 cổng/chip
◼ VLSI - Very Large Scale Integration: các vi mạch có mật độ
tích hợp cỡ rất lớn: 103106 cổng/chip
◼ ULSI - Ultra Large Scale Integration: các vi mạch có mật độ
tích hợp cỡ cực kỳ lớn: > 106 cổng/chip
87
Đặc tính điện của IC
◼ Dải điện áp quy định mức logic
◼ VD: với chuẩn TTL ta có:
5V 5V
2V 3,5V
Dải điện áp Dải điện áp
không xác định không xác định
0.8V 0,5V
0V
0V
Vào Ra
88
Đặc tính điện của IC (tiếp)
◼ Thời gian truyền: tín hiệu truyền từ đầu vào tới đầu ra
của mạch tích hợp phải mất một khoảng thời gian nào
đó. Thời gian đó được đánh giá qua 2 thông số:
Thời gian trễ: là thời gian trễ thông tin của đầu ra so với đầu vào
Thời gian chuyển biến: là thời gian cần thiết để chuyển biến từ
mức 0 lên mức 1 và ngược lại.
Thời gian chuyển biến từ 0 đến 1 còn gọi là thời gian thiết lập sườn
dương
Thời gian chuyển biến từ 1 đến 0 còn gọi là thời gian thiết lập sườn âm
Trong lý thuyết: thời gian chuyển biến bằng 0
Trong thực tế, thời gian chuyển biến được đo bằng thời gian chuyển
biến từ 10% đến 90% giá trị biên độ cực đại.
89
Đặc tính điện của IC (tiếp)
90
Basic characteristics of IC
91
Đặc tính cơ của IC (tiếp)
92
Đặc tính nhiệt của IC
93
Example: AND IC
94
Example: AND IC
95
VD: Phần tử OR dùng IC
96
Example: NAND IC
97
VD: Phần tử NOR dùng IC
98
Example: XOR and XNOR IC
99
Summary
100
Remember:
◼ AND: 74LS08
◼ OR: 74LS32
◼ NOT: 74LS04/05
◼ NAND: 74LS00
◼ NOR: 74LS02
◼ XOR: 74LS136
◼ NXOR: 74LS266
101
Problems
102
Problems
◼ Data sheet của cổng IC bao gồm 4 cổng AND hai đầu vào (kiểu
74S08) có các thông số về độ trễ truyền và cấp nguồn là VCC = 5,0
V, ICCH (cho cả bốn cổng) = 18 mA, ICCL (cho cả bốn cổngcửa) = 32
mA, tpLH = 4,5 ns và tpHL = 5,0 ns.
◼ A) Tính công suất tiêu tán trung bình cho cả IC và cho mỗi đầu vào.
◼ B) Tính năng lượng trễ cho mỗi đầu vào của IC logic (speed–power
product).
Lưu ý: speed–power product = thời gian trễ x công suất trung bình
103
Problems
◼ Từ một đầu ra duy nhất của Shottky TTL NAND có thể điều khiển ổn định
bao nhiêu đầu vào của Schottky TTL NAND công suất thấp?
Với Shottky TTL NAND và TTL NAND công suất thấp có các thông số kỹ
thuật như sau:
- Schottky TTL NAND : IOH = 1.0 mA; IIH= 0.05 mA; IOL = 20.0 mA; IIL = 2.0
mA
- Schottky TTL NAND công suất thấp : IOH = 0.4 mA; IIH= 0.02 mA; IOL = 8.0
mA; IIL = 0.4 mA
104
Problems
◼ Cho mạch như hình vẽ. Hãy tính dòng điều khiển lối ra từ cổng NAND để
điều khiển được cổng AND và OR. Thông số của 2 cổng AND và OR lần
lượt là: IIH (AND gate) = 0.02 mA, IIL (AND gate) = 0.4 mA, IIH (OR gate)
= 0.04 mA, IIL (OR gate) = 1.6 mA, IOH(NAND gate) = 1.0 mA, IOL(NAND
gate) = 20.0 mA.
105
Problems
◼ Viết công thức thể hiện mối quan hệ giữa đầu vào và đầu ra của mạch
sau
106
Bài tập áp dụng
◼ Viết công thức thể hiện mối quan hệ giữa đầu vào và đầu ra của mạch
sau và giải thích.
107
Problems
◼ Cho data sheet của các dòng IC 4000B CMOS, 74LS-TTL và 74HCT
CMOS. Hã xác đinh:
◼ A) Số lượng đầu vào của IC 74LS-TTL có thể được điều khiển ổn định
bởi 1 output của IC 4000B;
◼ B) Số lượng input của IC 74LS-TTL có thể điều khiển ổn định bởi 1
ouput của IC 74HCT.
4000B: IOH = 0.4 mA; IIH = 1.0 μA; IOL= 0.4 μA; IIL = 1.0 μA
74HCT: IOH= 4.0 mA; IIH = 1.0 μA; IOL= 4.0 μA; IIL = 1.0 μA
74LS-TTL: IOH= 0.4 mA; IIH = 20.0 μA; IOL= 8.0 μA; IIL = 0.4 μA
108
Tìm điện trở Rb