+ All Categories
Home > Documents > 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary...

1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary...

Date post: 23-Dec-2015
Category:
Upload: phillip-whitehead
View: 219 times
Download: 0 times
Share this document with a friend
Popular Tags:
46
1 Chapter 1 Introductory Digital Concepts
Transcript
Page 1: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

1

Chapter 1

Introductory Digital Concepts

Page 2: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

2

Chapter Outline

• Digital and Analog Quantities• Binary Digits, Logic Levels, and Digital

Waveforms• Introduction to Basic Logic Operations• Basic Overview of Logic Functions• Fixed-Function Integrated Circuits• Programmable Logic Devices (PLDs)• Introduction to Test Instruments

Page 3: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

3

Figure 1--1 Graph of an analog quantity (temperature versus time).

Page 4: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

4

Figure 1--2 Sampled-value representation (quantization) of the analog quantity in Figure 1-1. Each value represented by a dot can be digitized by representing it as a digital code that consists of a series of 1s and 0s.

Page 5: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

5

Digital Advantages

• Digital Data can be processed/transmitted more efficiently and reliably.

• Storage: can be stored more compactly and reproduced w/ greater accuracy and clarity.

Page 6: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

6

Figure 1--3 A basic audio public address system.

Analog Electronic System

Page 7: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

7

Figure 1--4 Basic principle of a CD player. Only one channel is shown.

System Using Digital and Analog Methods

Page 8: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

8

Binary Digits

• Two digits in BINARY system, 1 and 0, called BIT (Binary digit)

• Positive Logic: HIGH=1, LOW=0

• Negative Logic: LOW=1, HIGH=0

• Code : Groups of bits to represent numbers, letters, symbols, instructions, etc.

Page 9: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

9

Figure 1--5 Logic level ranges of voltage for a digital circuit.

Logic Levels

Voltages used to represent 1 and 0.

Page 10: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

10

Figure 1--6 Ideal pulses.

Digital Waveforms

Figure 1--7 Nonideal pulse characteristics.

Page 11: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

11

Frequency and Period

• Frequency (f) # cycles per sec or Hertz (Hz)

• Period (T) in seconds.

• f=1/T, T = 1/f

Page 12: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

12

Figure 1--8 Examples of digital waveforms.

Periodic and Nonperiodic

Page 13: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

13

Figure 1--9

Pulse Width and Duty Cycle

Duty Cycle = (tw/T)100 %

Page 14: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

14

Figure 1--10 Example of a clock waveform synchronized with a waveform representation of a sequence of bits.

Digital Waveform Carries Binary Information

Page 15: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

15

Figure 1--11 Example of a timing diagram.

Page 16: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

16

Figure 1--12 Illustration of serial and parallel transfer of binary data. Only the data lines are shown.

Data Transfer

Page 17: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

17

Figure 1--15 The basic logic operations and symbols.

Basic Logic Operations and Symbols

Page 18: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

18

Figure 1--16 The NOT operation.

NOT Operation

Page 19: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

19

Figure 1--17 The AND operation.

AND Operation

Page 20: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

20

Figure 1--18 The OR operation.

OR Operation

Page 21: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

21

Basic Logic Functions• Comparison Function• Arithmetic Functions• Code conversion function• Encoding function• Decoding function• Data selection function• Data storage function• Counting function

Page 22: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

22

Figure 1--19 The comparison function.

Comparison Function

Page 23: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

23

Figure 1--20 The addition function.

Arithmetic Function

Page 24: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

24

Figure 1--21 An encoder used to encode a calculator keystroke into a binary code for storage or for calculation.

Code Conversion Function: Encoder

Page 25: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

25

Figure 1--22 A decoder used to convert a special binary code into a 7-segment decimal readout.

Code Conversion Function: Decoder

Page 26: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

26Figure 1--23 Illustration of a basic multiplexing/demultiplexing application.

Data Selection Function

Page 27: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

27

Figure 1--24 Example of the operation of a 4-bit serial shift register. Each block represents one storage “cell” or flip-flop.

Data Storage Function

Page 28: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

28

Figure 1--25 Example of the operation of a 4-bit parallel shift register.

Data Storage Function

Page 29: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

29

Figure 1--26 Illustration of basic counter operation.

Counting Function

Page 30: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

30

Figure 1--27 Cutaway view of one type of fixed-function IC package showing the chip mounted inside, with connection to input an output pins.

Fixed-Function Integrated Circuits

Page 31: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

31

Figure 1--28 Examples of through-hole and surface-mounted devices. The DIP is larger than the SOIC with the same number of leads. This particular DIP is approximately 0.785 in. long, and the SOIC is approximately 0.385 in. long.

IC Packages

Page 32: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

32

Figure 1--29 Examples of SMT package configurations.

Page 33: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

33

Figure 1--30 Pin numbering for two standard types of IC packages. Top views are shown.

Pin Numbering

Page 34: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

34

Integrated Circuit Technologies

• TTL

• ECL

• CMOS

• NMOS

• SSI and MSI use TTL or CMOS

• VLSI and ULSI use CMOS or NMOS

Page 35: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

35

Programmable Logic Devices (PLD)

• Programmable logic devices can replace fixed-function logic - the major advantage is that the logic function of the PLD can be changed without rewiring.

• SPLD (Simple Programmable Logic Devices)

• CPLD (Complex Programmable Logic Devices)

Page 36: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

36

Types of SPLD

• PAL (Programmable Array Logic)

• GAL (Generic Array Logic)

• PLA (Programmable Logic Array)

• PROM (Programmable Read-only Memory)

Page 37: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

37

Figure 1--32 Typical CPLD packages.

CPLDs are made using 2 to 64 SPLDs

Types of CPLD

Page 38: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

38

PLD programming

• Schematic Entry

• Text-Based Entry

Page 39: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

39

Test Equipment

• Analog Oscilloscope

• Digital Oscilloscope

• Logic Analyzer

• Logic Probe, Pulser, and Current Probe

• DC Power Supply

• Function Generator

• Digital Multimeter

Page 40: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

40

Oscilloscope

Page 41: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

41

Figure 1--34 A typical dual-channel digital oscilloscope. Numbers below screen are arbitrary and are shown for illustration only.

Page 42: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

42

Figure 1--36 A typical dual-channel analog oscilloscope.

Page 43: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

43

Figure 1--37 Typical logic analyzers

Logic Analyzer

Page 44: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

44Figure 1--38 Illustration of how a logic probe is used to detect various voltage conditions at a given point in a circuit.

Logic Probe

Page 45: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

45

Figure 1--40 Typical test instruments

Page 46: 1 Chapter 1 Introductory Digital Concepts. 2 Chapter Outline Digital and Analog Quantities Binary Digits, Logic Levels, and Digital Waveforms Introduction.

46Figure 1--41 Simplified basic block diagram for a tablet-counting and bottling control system.

Digital System Application


Recommended