digital fundamentals - electronics research...

32
Digital Fundamentals Introductory Digital Concepts

Upload: lamhanh

Post on 28-Jul-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

Digital Fundamentals

Introductory Digital

Concepts

Objectives

•Explain the basic differences between digital and analog quantities

•Show how voltage levels are used to represent digital quantities

•Describe various parameters of a pulse waveform such as rise time, fall time, pulse width, frequency, period, and duty cycle

•Explain the basic logic operations of NOT, AND, and OR

•Describe the logic functions of the comparator, adder, code converter, encoder, decoder, multiplexer, demultiplexer, counter, and register

•Identify fixed-function digital integrated circuits according to their

Introductory Digital Concepts 2

complexity and the type of circuit packaging

•Identify pin numbers on integrated circuit packages

•Describe the PLD, discuss the various types, and state how PLDs are programmed

•Recognize digital instruments and understand how they are used in troubleshooting digital circuits and systems

•Show how a complete digital system is formed from the basic functions in a practical application

Analog signalThe choices you have to make when converting an analog signal to adigital representation

•samling interval•max/min amplitude level•number of bits (dynamics)etc.

HEY WAKE UP!

Digital and analog quantities

Introductory Digital Concepts 3

Digital samplingHEY WAKE UP! what kind of extra

choices you can think of?

An example of a system of analog electronics

I wonder if these are purely analog anymore?

The volume can be controlled with buttons

digitally?

Introductory Digital Concepts 4

An example of a system of mixed analog and digital electronics

Introductory Digital Concepts 5

Source for the comparison was S.J. Cahill: Digital and Microprocessor Engineering. 2nd ed.

Binary presentation with zeros and ones

Ideal pulses

Real pulses

Introductory Digital Concepts 6

Real pulses

The levels are specified differentlyfor the families (e.g. TTL, CMOS)

Waveform characteristics

fT

Tf

1,

1 == %100

=T

tcycleDuty W

Introductory Digital Concepts 7

A Digital waveform carries binary information

Introductory Digital Concepts 8

Timing diagrams

Introductory Digital Concepts 9

Data transfer Serial

Parallel

AN EXAMPLEInterfacing TM-6710,

Introductory Digital Concepts 10

Interfacing TM-6710,digital camera

Intro to basic logic operations

NOT

Introductory Digital Concepts 11

AND

OR

Introductory Digital Concepts 12

Comparison function

Introductory Digital Concepts 13

Aritmetic functions

Introductory Digital Concepts 14

-Substraction

* Multiplication

/ Division

Code conversion - encoder

Introductory Digital Concepts 15

Code conversion - decoder

Introductory Digital Concepts 16

Data selection – multiplexing/demultiplexing

Introductory Digital Concepts 17

Storage SERIAL

Introductory Digital Concepts 18

PARALLEL

Counting

Introductory Digital Concepts 19

Fixed-function ICs (integrated circuits)

Introductory Digital Concepts 20

IC Packages

Introductory Digital Concepts 21

IC Packages

Introductory Digital Concepts 22

Pin numbering

Introductory Digital Concepts 23

Classification of complexity for ICs

Introductory Digital Concepts 24

Programmable logic devices (PLDs)

SPLD

CPLD

advantages:•takes less space•design procedure is fasterwithout rewiring and replacingcomponents

Three major types:•SPLD (simple ...)•CPLD (complex ...)•FPGA (field-programmable gate arrays)

Introductory Digital Concepts 25

FPGAs can have upto 1000 pins!

Programming•schematic or•text-based approach

HDL – hardware description languageABEL, CUPL, VHDL, Verilog

Intro to test instruments

Digital oscilloscope with 4 channels, color display, diskette drive for storage etc.

Can you say what is the biggestdifference when using an analogor a digital oscilloscope?

Introductory Digital Concepts 26

Portable oscilloscope for measuring analog/digitalsignal in e.g. industrial environment

Typical dual-channel oscilloscope

Digital

Introductory Digital Concepts 27

Analog

Hands on tip

Introductory Digital Concepts 28

Logic analyzer

Introductory Digital Concepts 29

Logic probe

When measuring beware not to induceunwanted shortcircuits which can destroythe D.U.T. (device under test).

Introductory Digital Concepts 30

Basic instruments Do not forget the importance of a good power supply: digital devices requireusually supply with ±5% regulation!

Introductory Digital Concepts 31

Digital application

What is the purpose of the comparator (comp)?

What happens whenthe output A = B goeshigh?

Introductory Digital Concepts 32

Can you say whatare the contents ofthe registers at anygiven time?