introduction - digital circuit

24
CoE 111 Logic Circuits and Switching Theory Module 1 Review on Digital Circuits

Upload: renie

Post on 22-Jul-2016

24 views

Category:

Documents


0 download

DESCRIPTION

Logic Circuits

TRANSCRIPT

Page 1: Introduction - Digital Circuit

CoE 111Logic Circuits and Switching Theory

Module 1Review on Digital Circuits

Page 2: Introduction - Digital Circuit

Objectives

Page 3: Introduction - Digital Circuit

Review on Digital LogicIntroduction Digital computers have made possible many scientific, industrial, and commercial advances that would have been unattainable otherwise. Our space program would have been impossible without real time, continuous computer monitoring, and many business enterprises function efficiently only with the aid of automatic data processing.

Page 4: Introduction - Digital Circuit

Logic Design vs. Computer Design• Logic design – deals with the basic

concepts and tools used to design digital hardware consisting of logic circuits.

• Computer design – deals with additional concepts and tools used to design computers and other complex digital hardware.

Page 5: Introduction - Digital Circuit

Numerical Representations• Almost all the fields of endeavor are

dealing with quantities.

• Quantities – are measured, monitored, recorded, manipulated arithmetically, observed, and utilized in most physical systems.

• There is a need to represent these quantities/values efficiently and accurately.

Page 6: Introduction - Digital Circuit

Ways to represent numerical values• Analog representation – represented by

a voltage, current, or meter movement proportional to the value of that quantity.

• Digital representation –represented not by continuously variable indicators but by symbols called digits.

Page 7: Introduction - Digital Circuit

Analog Examples:• Automobile speedometer

—deflection of the needle is proportional to the speed of the auto.

• Mercury thermometer —height of the column of mercury is proportional

to the room temperature.• Audio microphone

—output voltage is generated in proportion to the amplitude of the sound waves that impinge on the microphone.

• Analog AC-powered wall clock —time of the day changes continuously as the

needle reading changes continuously.

Page 8: Introduction - Digital Circuit

Analog Signal Characteristics• Having a continuous range of values and

can be associated with continuous physical phenomena.

• Continuous signal - smooth connected, an unbroken series of consecutive values with no instantaneous changes.

+5

V

–5 T ime

Page 9: Introduction - Digital Circuit

Digital Example• Digital watch

—provides time of the day in the form of digital digits that represents hours and minutes (and sometimes seconds).

—The watch reading changes in discrete steps of one per minute (or per second).

Page 10: Introduction - Digital Circuit

Digital signal• Typically has two discrete values (or

states) and are appropriate for any phenomena involving counting or integer numbers.

• Discrete signal - separated into distinct segments or pieces, a series of discontinuous values.

+5

V

–5

1 0 1

T ime

Page 11: Introduction - Digital Circuit

Major differences:Analog and Digital quantities:

• Analog continuously variable defined values

• Digital vary only by discrete steps

Analog DigitalContinuously variable Discrete stepsAmplification SwitchingVoltages Numbers

Page 12: Introduction - Digital Circuit

Major differences:Analog and Digital quantities:

• No ambiguity in reading the value of a digital quantity

• Value of analog quantity is often open to interpretation, thus we always “round” to a convenient level of precision.

Page 13: Introduction - Digital Circuit

Points to Ponder: • Real life is full of analog signals.• Analog systems: slight error in input, large

error in output.• General purpose computers: digital• Sensors & actuators - interface circuits are

often analog.• Digital systems: more accurate, reliable

and deal better with degraded signals.• Digital signals - easier to process, used as

an approximation to real analog signals.

Page 14: Introduction - Digital Circuit

Points to Ponder:• Binary digital systems - has only two

discrete values that make digital systems easier to decode.

• Two discrete values:1. High voltage, high current flowing, ON,

TRUE, YES, "1"2. Low voltage, low current flowing, OFF,

FALSE, NO, "0"

Page 15: Introduction - Digital Circuit

Digital logic levels• Voltage that represents a defined digital

state in an electronic circuit.

• Logic LOW (or logic 0) —lower of two voltages (usually 0V) in a digital

system with two logic levels.• Logic HIGH (or logic 1)

—higher of two voltages (traditionally 5V, but in some systems a specific value such as 1.8V, 2.5V or 3.3V) in a digital system with two logic levels.

Page 16: Introduction - Digital Circuit

Digital logic levels

+5V

+1.8V

+0.8V

0V

Logic HIGH

Logic LOW

Undefined

Page 17: Introduction - Digital Circuit

Digital System• Devices designed to manipulate logical

information or physical quantities that are represented in digital form.

• Most often electronic, but they can also be mechanical, magnetic, or pneumatic.

Video equipmentDigital audio

CalculatorDigital computer

Page 18: Introduction - Digital Circuit

Analog system • Devices that manipulate physical

quantities that are represented in analog form.

Speaker

Magnetic tape recording and playback equipment

Page 19: Introduction - Digital Circuit

Advantages of digital techniques • Reproducibility of results • Easier to design • Flexibility and functionality • Programmability • Speed • Economy • Steadily advancing technology • Storage is easy

Page 20: Introduction - Digital Circuit

Limitations of Digital Techniques • The real world is analog – most physical

quantities are analog in nature.

• Processing digitized signals takes time.

Page 21: Introduction - Digital Circuit

Digital Conversion:• when dealing with analog inputs and

outputs:—Convert the real-world analog inputs to digital

form.—Process (or operate on) the digital information—Convert the digital outputs back to real-world

analog form.

Page 22: Introduction - Digital Circuit

Block diagram

Measuring device

Analog-to-digital

converterDigital

processing

Analog-to-digital

converterController

Temperature(Analog) (Analog) (Digital)

(Digital)

(Analog)Adjust

temperature

Page 23: Introduction - Digital Circuit

Digital Circuit• Inherently binary in nature, but several

types of representations of numerical data are in use.

• The representation of an unsigned integer can be done in binary, octal, decimal or hexadecimal.

• For display purposes, each decimal digit is often represented by a four-bit binary number in a system called binary coded decimal (BCD).

Page 24: Introduction - Digital Circuit

Digital Representation