Hướng Dẫn Thực Hành Cơ Bản Về Logic Số Tại Trường Đại Học Tôn Đức Thắng

Giáo trình tn kỹ thuật số 402062 cung cấp kiến thức cơ bản và nâng cao về kỹ thuật số, phục vụ cho sinh viên và người học chuyên ngành.

Người đăng

Ẩn danh

Thể loại

Sổ Tay Thực Hành
104
2
0

Phí lưu trữ

35 Point

Mục lục chi tiết

1. Unit 1: Fundamental Logic Elements

1.1. EXERCISE 1-1: AND/NAND Logic Functions

1.2. EXERCISE 1-2: OR/NOR Logic Functions

2. Unit 2: EXCLUSIVE-OR/NOR Gates

2.1. EXERCISE 2-1: EXCLUSIVE-OR (-NOR) Gate Functions

3. Unit 3: Flip-Flops

4. Unit 4: JK Flip-Flop

5. Unit 5: The MULTIPLEXER and DEMULTIPLEXER

6. Unit 6: ASYNCHRONOUS RIPPLE COUNTER

6.1. EXERCISE 6-1: Basic Counter Control Functions

6.2. EXERCISE 6-2: Ripple Counter Waveforms

7. Unit 7: 4-BIT COMPARATOR

7.1. EXERCISE 7-1: Fundamental Binary Comparisons

7.2. EXERCISE 7-2: Comparators And Counter Modulus Control

Tóm tắt

I. Tổng Quan Về Logic Số Tại Trường Đại Học Tôn Đức Thắng

Logic số là một trong những môn học cơ bản và quan trọng trong ngành kỹ thuật điện tử. Tại Trường Đại Học Tôn Đức Thắng, sinh viên được trang bị kiến thức vững chắc về các nguyên lý cơ bản của logic số. Môn học này không chỉ giúp sinh viên hiểu rõ về các thành phần logic mà còn phát triển khả năng tư duy phản biện và giải quyết vấn đề trong các tình huống thực tế.

1.1. Khái Niệm Cơ Bản Về Logic Số

Logic số là một lĩnh vực nghiên cứu về các hệ thống logic và các thành phần của chúng. Nó bao gồm các khái niệm như AND, OR, NOT và các hàm logic phức tạp hơn.

1.2. Tầm Quan Trọng Của Logic Số Trong Kỹ Thuật

Logic số đóng vai trò quan trọng trong việc thiết kế mạch điện tử, vi mạch và các hệ thống điều khiển tự động. Kiến thức về logic số giúp sinh viên có thể áp dụng vào thực tiễn.

II. Những Thách Thức Khi Học Logic Số Tại Đại Học Tôn Đức Thắng

Học logic số không phải là điều dễ dàng. Sinh viên thường gặp phải nhiều thách thức trong việc hiểu và áp dụng các khái niệm lý thuyết vào thực hành. Những khó khăn này có thể đến từ việc thiếu kinh nghiệm thực tế hoặc sự phức tạp của các bài toán logic.

2.1. Khó Khăn Trong Việc Hiểu Các Hàm Logic

Nhiều sinh viên gặp khó khăn trong việc nắm bắt các hàm logic phức tạp như XOR và XNOR. Việc này đòi hỏi sự kiên nhẫn và thực hành thường xuyên.

2.2. Thiếu Kinh Nghiệm Thực Hành

Việc thiếu các bài thực hành thực tế có thể làm giảm khả năng áp dụng lý thuyết vào thực tế. Sinh viên cần có cơ hội thực hành để củng cố kiến thức.

III. Phương Pháp Học Tập Hiệu Quả Về Logic Số

Để vượt qua những thách thức trong việc học logic số, sinh viên cần áp dụng các phương pháp học tập hiệu quả. Những phương pháp này bao gồm việc tham gia các buổi thực hành, làm việc nhóm và sử dụng tài liệu học tập phong phú.

3.1. Tham Gia Các Buổi Thực Hành

Thực hành là cách tốt nhất để củng cố kiến thức lý thuyết. Sinh viên nên tham gia đầy đủ các buổi thực hành tại phòng thí nghiệm.

3.2. Học Tập Theo Nhóm

Học tập theo nhóm giúp sinh viên trao đổi kiến thức và giải quyết vấn đề một cách hiệu quả hơn. Việc này cũng tạo ra môi trường học tập tích cực.

IV. Ứng Dụng Thực Tiễn Của Logic Số Trong Ngành Kỹ Thuật

Logic số không chỉ là lý thuyết mà còn có nhiều ứng dụng thực tiễn trong ngành kỹ thuật. Từ việc thiết kế mạch điện tử đến phát triển phần mềm, logic số là nền tảng cho nhiều công nghệ hiện đại.

4.1. Thiết Kế Mạch Điện Tử

Logic số được sử dụng để thiết kế các mạch điện tử phức tạp, từ các mạch đơn giản đến các vi mạch hiện đại.

4.2. Phát Triển Phần Mềm

Nhiều ngôn ngữ lập trình sử dụng các khái niệm logic số để xây dựng các thuật toán và cấu trúc dữ liệu.

V. Kết Luận Về Tương Lai Của Logic Số Tại Đại Học Tôn Đức Thắng

Tương lai của logic số tại Trường Đại Học Tôn Đức Thắng rất hứa hẹn. Với sự phát triển không ngừng của công nghệ, nhu cầu về các kỹ sư có kiến thức vững chắc về logic số ngày càng tăng cao. Trường sẽ tiếp tục cải thiện chương trình giảng dạy để đáp ứng nhu cầu này.

5.1. Cải Tiến Chương Trình Giảng Dạy

Trường sẽ cập nhật chương trình giảng dạy để bao gồm các công nghệ mới nhất trong lĩnh vực logic số.

5.2. Tăng Cường Cơ Hội Thực Hành

Trường sẽ tạo ra nhiều cơ hội thực hành hơn cho sinh viên, giúp họ áp dụng lý thuyết vào thực tế.

12/07/2025

Trích đoạn nội dung tài liệu

TON DUC THANG UNIVERSITY FACULTY OF ELECTRICAL-ELECTRONICS ENGINEERING DIVISION OF ELECTRONICS-TELECOMMUNICATIONS DIGITAL FUNDAMENTAL Laboratory Manual Source: Lab-Volt Systems, Inc Edited by Division of Electronics-Telecommunication 1 Table of Contents 1. Unit 1 - Fundamental Logic Elements. 5 EXERCISE 1-1: AND/NAND Logic Functions. 14 EXERCISE 1-2: OR/NOR Logic Functions.

Unit 2 - EXCLUSIVE-OR/NOR Gates. 22 EXERCISE 2-1: EXCLUSIVE-OR (-NOR) Gate Functions. 27 EXERCISE 2-2: Dynamic Response of XOR/ XNOR Logic Gates. Unit 3 - Flip-Flops.

32 EXERCISE 3-1: S/R Flip-Flop. 41 EXERCISE 3-2: D Flip-Flop. Unit 4 - JK Flip-Flop. 48 EXERCISE 4-1: Static Operation.

54 EXERCISE 4-2: Dynamic Operation. Unit 5 - The MULTIPLEXER and DEMULTIPLEXER. Unit 6 - ASYNCHRONOUS RIPPLE COUNTER. 77 EXERCISE 6-1: Basic Counter Control Functions.

84 EXERCISE 6-2: Ripple Counter Waveforms. Unit 7 - 4-BIT COMPARATOR. 90 EXERCISE 7-1: Fundamental Binary Comparisons. 99 EXERCISE 7-2: Comparators And Counter Modulus Control.

Unit 1 - Fundamental Logic Elements UNIT OBJECTIVE At the completion of this unit, you will be able to determine the input/output relationship of logic elements on the DIGITAL LOGIC FUNDAMENTALS circuit board. DISCUSSION OF FUNDAMENTALS In TTL digital circuits, there are two fundamental voltage levels, or logic states: a high state, called a logic high and equal to +5 Vdc, and a low state, called a logic low and equal to 0 volts. For practical circuits, each state consists of a minimum and a maximum voltage level. Outside of this range, the logic circuit cannot reliably determine which logic state to assign.

Figure 1-1 illustrates the operating limits of typical TTL circuits. Operating levels of TTL circuits In the figure, a voltage level between 0.8 and 2 volts represents an unknown logic state. Logic levels that operate near the threshold can generate intermittent results because any noise that adds to the signal will move the input of the gate to the unknown logic state. Logic high values, represented by 1, range between 2 and 5 Vdc.

Logic low values, represented by 0, range between zero and 0. Ones (1) and zeros (0) are used to define the operational tables of standard logic gates and circuits. Figure 1-2 illustrates two fundamental logic concepts. Logic Concepts 5 In Figure 1-2(a), switches A and B must be closed to illuminate the lamp.

Switch A AND switch B must be activated. If either switch is opened (not activated), the lamp goes off. In Figure 1-2(b), either switch A or switch B can be closed to illuminate the lamp. Switch A OR switch B must be activated.

Both switches must be opened (not activated) to turn the lamp off. Switch positions can be related to logic levels. Logic levels are represented by highs (1) or lows (0); therefore, the standard AND and OR logic functions can be stated with highs and lows (ones and zeros). This relationship is illustrated by Table 1-1.

Table 1-1 Logic Switch state Level State OFF LOW 0 ON HIGH 1 Boolean equations used to define the input/ output relationships of logic circuits. In place of ones and zeros, Boolean equations take the form of A and B = C. Figure 1-3 illustrates this circuit notation. Boolean form of notation In the figure, the Boolean equation A and B = C defines the circuit operation.

The expression states that both switches A and B must be activated (on or high) to illuminate the lamp (C). If a lamp-on condition is considered a logic high, then both A and B must be high to generate a high output. Basic logic functions can be complemented. The complement of a logic state is its opposite state.

Logic high and low levels (1 and 0) are complements of each other. Zero (0) is the ones complement of one (1), while 1 is the ones complement of 0. The complexity of an IC package determines its classification. In general, IC packages having 12 or less logic gates are classified as Small Scale Integration (SSI) devices.

IC classification types range from SSI to Very Large Scale Integration (VLSI) and beyond. The relationship between gate count and classification is illustrated in Figure 1-4. IC classification and gate count 7 EXERCISE 1-1: AND/NAND Logic Functions EXERCISE OBJECTIVE When you have completed this exercise, you will be able to determine the operation of an AND and a NAND logic gate. You will verify your results by generating truth tables for each function.

DISCUSSION Figure 1-5 shows the schematic symbols of two-input AND and NAND gates. AND and NAND gates Signal inputs are labeled A and B. Gate outputs are labeled C. The output of the NAND gate is the complement of the AND operation.

The Boolean equation for the AND gate states that C is high when A and B are high. The AND operation is indicated by the dot between A and B. NOTE: A·B and AB without the "·" are identical. The Boolean equation for the NAND gate states that C is low when A and B are high.

The bar over AB represents the complement of AB. The NAND gate function has a bubble drawn at the output side of the gate. This bubble indicates a complement. Figure 1-6 shows the pin-out configuration for the 74LS00 NAND, SSI IC used in this exercise.

74LS00 NAND, SSI IC 8 In the figure, pins 14 and 7 supply power to the IC. The IC provides four separate two-input NAND gates, labeled A through D. Each gate provides one output. For the 74LS00 IC, inputs may be tied to other inputs or outputs may be connected to inputs; however, outputs cannot be connected to one another.

Unused inputs generally are pulled high (connected to Vcc) through a pull-up. The nominal value of pull- up resistors used in LS devices is 18 K-Ohms. Two NAND gates can be cascaded (connected in series) to generate an AND operation. This configuration is represented by Figure 1-7.

AND gate operation In the figure, output C provides a NAND response to the circuit inputs (A and B). Output C is complemented by the action of GATES 2 and 3. In turn, these gates generate AND operations (outputs D and E) for the same circuit inputs (A and B). Table 1-2 provides the circuit truth table.

Table 1-2 Outputs Inputs NAND AND B A C D or E 1 1 0 1 1 0 1 0 0 1 1 0 0 0 1 0 In the table, the outputs are complements of each other. Output column C provides the NAND function truth table, and output columns D and E provide the AND function truth table. There are two circuit inputs (A and B). Four unique input conditions test all possible combinations.

A low level at any input disables an AND or a NAND gate. A high level at one input of a two-input AND or NAND gate enables the gate. Figure 1-8 illustrates the disable and enable combinations for an AND and a NAND gate. AND/NAND gate control combinations.

The truth tables in the figure show that a disabled AND gate locks out its other input and generates a low level (0) output. A disabled NAND gate also locks out its other input but generates a high level (1) output. Enabled AND or NAND gates allow their outputs to be determined by the circuit inputs, as demonstrated in Figure 1-8. The operating principles of a two-input AND or NAND gate apply to gates having more than two inputs.

Figure 1-9 shows an eight-input NAND gate (74LS30). NOTE: Remember that a high logic level turns on an LED. You can verify the state of a signal, as indicated by a circuit LED, by connecting your multimeter to the appropriate test point. 8-input NAND gate.

The output of this gate is low only when all inputs are high. Any input at a low level locks out the other inputs (and output is high). Locate the AND/NAND circuit block, and connect the circuit shown in Figure 1-10. Activate BLOCK SELECT.

Place both toggle switches in the DOWN position. What are the logic levels at the AND gate inputs? NOTE: In Figure 1-10, circuit input A is connected to one input (A) of the AND gate and one input (A) of the NAND gate. Circuit input B is connected to the other input of each gate. What are the logic levels at the NAND gate inputs? A= ___________ B= ____________ 4.

Do the circuit input LEDs confirm your answers to steps 2 and 3? A= ___________ B= ____________ 5. What is the logic level at the output of each gate? AB = _________ AB = _________ 6. Do the output LEDs confirm your answer to step 5? 7. If either toggle switch A or B (not both) were placed in the UP position, what would the effect on the output be? 8.

Place toggle switch A in the UP position. Observe the circuit outputs. Do your results agree with your step 7 answer? 9. Place toggle switch A in the DOWN position and switch B in the UP position.

Observe the circuit outputs. Do your results agree with your step 7 answer? 10. With the current switch settings, which gate is enabled and which is disabled? 11 11. Place switch A in the UP position.

Observe the circuit output LEDs. Are both gates enabled? 12. Does your observation of the AND gate output indicate that the inputs are high or low? 13. Does your observation of the NAND gate output indicate that the inputs are high or low? 14.

Based on your data, are the AND and NAND gates used to detect high or low logic levels? 15. Use the toggle switches and LEDs of your circuit board to complete the truth tables of Figure 1-11. AND and NAND truth tables. Are the outputs of the AND and NAND gates complements of each other? 17.

Modify your test circuit as shown in Figure 1-12. Connect channel 1 of your oscilloscope to circuit input B. Use channel 2 to monitor other circuit points as required. NOTE: LEDs will appear to be constantly on due to the pulse train input signal.

This action does not alter the expected circuit operation. You may disable the circuit block LEDs by removing BLOCK SELECT 12 Figure 1-12 18. Place switch A in the DOWN position. Circuit input signal B is a square wave pulse train (oscilloscope channel 1 ).

Are the gates enabled or disabled? Are the AND and NAND outputs high or low? 19. Place switch A in the UP position. Monitor the output of each gate. Are the gates allowing the input signal to pass through because the gates are disabled or enabled by the high input at A? 20.

Compare the circuit outputs with the circuit input. What are the signal phase relationships? Refer to Figure 1-13. WITH AN INPUT AT A HIGH LEVEL IGATES ENABLED) Figure 1-13 13 REVIEW QUESTIONS 1. The output of an AND gate is high a.

all of the time. when any input is low. when any input is high. when all inputs are high.

The output of a NAND gate is low a. all of the time. when any input is low. when any input is high.

when all inputs are high. In the circuit of Figure 1-14, output levels A through D are, respectively, a. low, high, low, and low. low, high, low, and high.

high, low, low, and low. disabled due to the circuit pull-ups and to common connection on the last gate. Figure 1-14 14 EXERCISE 1-2: OR/NOR Logic Functions EXERCISE OBJECTIVE When you have completed this exercise, you will be able to determine the operation of an OR and a NOR logic gate. You will verify your results by generating truth tables for each function.

DISCUSSION Figure 1-15 shows the schematic symbols of two-input OR and NOR gates. OR and NOR gates Signal inputs are labeled A and B.

Nội dung được bảo vệ bản quyền — Tải xuống đầy đủ