Information Processing & Digital Systems COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University.

Slides:



Advertisements
Similar presentations
EET260 Introduction to digital communication
Advertisements

Other Gate Types COE 202 Digital Logic Design Dr. Aiman El-Maleh
Chapter 3: Pulse Code Modulation
Functions and Functional Blocks
Analog-to-Digital Converter (ADC) And
Data Representation COE 202 Digital Logic Design Dr. Aiman El-Maleh
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
Digital Systems: Introductory Concepts Wen-Hung Liao, Ph.D.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
Shuvra Das University of Detroit Mercy
Khaled A. Al-Utaibi  Digital Vs Analog Signals  Converting an Analog Signal to a Digital One  Reading Analog Sensors with the.
CEN352 Digital Signal Processing Lecture No. 6 Department of Computer Engineering, College of Computer and Information Sciences, King Saud University,
Instrumentation - Introduction 10/9/2013Ohio University - Dr. Cyders1 Engineering measurements are usually taken by some form of transducer. A transducer.
Quantization Prof. Siripong Potisuk.
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 26.1 Data Acquisition and Conversion  Introduction  Sampling  Signal Reconstruction.
Discussion #25 – ADCECEN 3011 Conversion Mosiah 5:2 2 And they all cried with one voice, saying: Yea, we believe all the words which though has spoken.
Data Representation COE 205
10/11/2004EE 42 fall 2004 lecture 181 Lecture #18 Summary of ideal devices, amplifier examples Reminder: MIDTERM coming up one week from today (Monday.
Digital Circuit Why Digital Circuit? – Digital signals ( 0 and 1) are very easy to handle with electronic circuits only 2 states needed: Switch ON or OFF,
DIGITAL ELECTRONICS CIRCUIT P.K.NAYAK P.K.NAYAK ASST. PROFESSOR SYNERGY INSTITUTE OF ENGINEERING & TECHNOLOGY.
Combinational Logic Design
SIMS-201 Audio Digitization. 2  Overview Chapter 12 Digital Audio Digitization of Audio Samples Quantization Reconstruction Quantization error.
MDIA 308 Digital technologies. Converting analog to digital ADC – analog to digital conversion An analog voltage is converted in binary code Binary =
Practical Aspects of Logic Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum.
Revision for A level year 2. * TTL stands for Transistor Transistor Logic * TTL operates on a power supply of 5 volts * The power supply tolerance for.
Binary Logic and Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh
Department of Electrical & Computer Engineering 1 ES585a - Computer Based Power System Protection Course by Dr.T.S.Sidhu - Fall 2005 Class discussion presentation.
Computer Based Data Acquisition Basics. Outline Basics of data acquisition Analog to Digital Conversion –Quantization –Aliasing.
Engineering 1040: Mechanisms & Electric Circuits Winter 2015 Analog & Digital Signals Analog to Digital Conversion (ADC)
Data Converters ELEC 330 Digital Systems Engineering Dr. Ron Hayne
Computer Networks Digitization. Spring 2006Computer Networks2 Transfer of an Analog Signal  When analog data (voice, pictures, video) are transformed.
COMMUNICATION SYSTEM EEEB453 Chapter 5 (Part IV) DIGITAL TRANSMISSION.
10/6/2015 3:12 AM1 Data Encoding ─ Analog Data, Digital Signals (5.3) CSE 3213 Fall 2011.
Data Acquisition Systems
1.1 Introduction to Basic Digital Logic ©Paul Godin Updated August 2014 gmail.com Presentation 1.
EE210 Digital Electronics Class Lecture 2 March 20, 2008.
Chapter 1: Digital Computers and Information Illustration at beginning of each Chapter Base 10 Binary Base 2 Octal Base 8 Hex bas
Pulse Code Modulation PCM is a method of converting an analog signal into a digital signal. (A/D conversion) The amplitude of Analog signal can take any.
Introduction Advantage of DSP: - Better signal quality & repeatable performance - Flexible  Easily modified (Software Base) - Handle more complex processing.
Representing Numerical Data Analog Any signal that varies continuously over time Mechanical Pneumatic Hydraulic Electrical Digital Quantities are represented.
1 Quantization Error Analysis Author: Anil Pothireddy 12/10/ /10/2002.
COE 202: Digital Logic Design Introduction Courtesy of Dr. Ahmad Almulhem KFUPM1.
1 Data-Converter Circuits A/D and D/A Chapter 9 1.
IT-101 Section 001 Lecture #9 Introduction to Information Technology.
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
COMMUNICATION SYSTEM EEEB453 Chapter 5 (Part III) DIGITAL TRANSMISSION Intan Shafinaz Mustafa Dept of Electrical Engineering Universiti Tenaga Nasional.
Standard & Canonical Forms COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum.
Digital Logic & Design Instructor: Aneel Ahmed Lecture #1.
Fundamentals of Multimedia Chapter 6 Basics of Digital Audio Ze-Nian Li and Mark S. Drew 건국대학교 인터넷미디어공학부 임 창 훈.
1 Summary Lecture: Part 1 Sensor Readout Electronics and Data Conversion Discovering Sensor Networks: Applications in Structural Health Monitoring.
بسم الله الرحمن الرحيم Digital Signal Processing Lecture 2 Analog to Digital Conversion University of Khartoum Department of Electrical and Electronic.
DIGITAL SYSTEMS ECE-273, Digital Systems Dr. Herb Kaufman Electrical and Computer Engineering UofM-Dearborn 1.
Networked Embedded Systems Sachin Katti & Pengyu Zhang EE107 Spring 2016 Lecture 13 Interfacing with the Analog World.
Sistem Telekomunikasi, Sukiswo, ST, MT Sukiswo
MECH 373 Instrumentation and Measurements
EI205 Lecture 13 Dianguang Ma Fall 2008.
DIGITIAL COMMUNICATION
Digital Control Systems
Quantization and Encoding
Digital Systems.
Digital Systems: Introductory Concepts
Soutenance de thèse vendredi 24 novembre 2006, Lorient
Chapter 3: Pulse Code Modulation
Lesson 8: Analog Signal Conversion
Sampling and Quantization
EE210 Digital Electronics Class Lecture 2 September 03, 2008
TIME-BASED HYBRID ANALOG-DIGITAL COMPUTATION
INTRODUCTION TO DIGITAL COMMUNICATION
Binary Logic and Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh
Presentation transcript:

Information Processing & Digital Systems COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum and Minerals

Information Processing COE 202 – Digital Logic Design– KFUPM slide 2 Outline  “Analog” versus “Digital” parameters and systems.  Digitization of “Analog” signals.  Digital representation of information.  Effect of noise on the reliability and choice of digital system.

Information Processing COE 202 – Digital Logic Design– KFUPM slide 3 Digital versus Analog  We live in an Analog world.  Analog means Continuous (both in time and amplitude).  Analog information exhibit smooth, gradual changes over time and assume a continuous (infinite) range of amplitudes.  Examples:  Earth’s movement  Body temperature  Our speech Analog Signal

Information Processing COE 202 – Digital Logic Design– KFUPM slide 4 Digital versus Analog  Digital  Discrete, Not continuous.  Digital information assume a limited (finite) set of “Discrete” values, not a continuous range of values.  Digital values change abruptly (not smoothly) by “Jumping” between values.  Examples:  The Alphabet  Position of a switch  Days of the week Digital Signal Only 4 allowed Signal levels

Information Processing COE 202 – Digital Logic Design– KFUPM slide 5 Digital versus Analog  Summary:  Analog Systems deal with Continuous Range of values.  Digital Systems deal with a Discrete set of values.  Q. Which is easier to design digital systems or analog ones?  A. Digital systems are easier to design  Much simpler to deal with a limited set of values as inputs and outputs for the circuits  Greater tolerance to drift, noise  low error rates Dilemma here: Our natural world is mainly analog… but it is easier to process it digitally!

Information Processing COE 202 – Digital Logic Design– KFUPM slide 6 Digitization of Analog Signals  Since the world around us is analog, and processing of digital parameters is much easier, it is fairly common to convert analog parameters (or signals) into a digital form in order to allow for efficient transmission and processing of these parameters (or signals)  To convert an Analog signal into a digital one, some loss of accuracy is inevitable since digital systems can only represent a finite discrete set of values.  The process of conversion is known as Digitization or Quantization.  Analog-to-digital-converters (ADC) are used to produce a digitized version of analog signals.

Information Processing COE 202 – Digital Logic Design– KFUPM slide 7 Digitization of Analog Signals  Digital-to-analog-converters (DAC) are used to regenerate analog signals from their digitized form.  A typical system consists of an ADC to convert analog signals into digital ones to be processed by a digital system which produces results in digital form which is then transformed back to analog form through a DAC.

Information Processing COE 202 – Digital Logic Design– KFUPM slide 8 Digitization of Analog Signals  Digitization of analog signals requires two steps: 1. Sampling in time (impossible to handle the  number of values existing on the time axis!). Ignore signal between samples. 2. Quantization in amplitude (impossible to handle the  number of values existing on the amplitude axis!). Approximate sample value to the nearest quantization level. 1. Sampling at discrete points in time 2. Quantization to discrete levels in amplitude Ignore

Information Processing COE 202 – Digital Logic Design– KFUPM slide 9 Amplitude Quantization: 4 discrete levels  Analog Signal levels are mapped to the nearest value among the set of discrete voltages  {V1, V2, V3, V4} allowed for the digital signal Quantization Errors Using a larger number of discrete levels We can reduce the quantization errors (noise) we introduced!

Information Processing COE 202 – Digital Logic Design– KFUPM slide 10 Minimizing Quantization Error  Values can be selected to minimize quantization error as follows:  Let us assume that we need to choose 4 values in the range 0 to 5  Then compute step as =maximum value/number of values, i.e. 5/4  Compute maximum quantization error as =step/2=5/8  Choose the first value as maximum quantization error  Find remaining values by adding the value of step  Thus, we obtain the following 4 values: 5/8=0.625, 15/8=1.875, 25/8=3.125, 35/8=4.375

Information Processing COE 202 – Digital Logic Design– KFUPM slide 11 Information Representation  How Do Computers Represent Values (e.g. V1, V2, V3, V4) ?  1. Using Electrical Voltages (Semiconductor Processor, or Memory)  2. Using Magnetism (Hard Disks, Floppies, etc.)  3. Using Optical Means (Laser Disks, e.g. CD’s)  Consider the case where values are represented by voltage signals:  Each signal represents a digit in some Number System.  If the Decimal Number System is used, each signal should be capable of representing one of 10 possible digits ( 0-to-9).  If the Binary Number System is used, each signal should be capable of representing only one of 2 possible digits ( 0 or 1).

Information Processing COE 202 – Digital Logic Design– KFUPM slide 12 Information Representation  Digital computers, typically use low power supply voltages to power internal signals, e.g. 5 volts, 3.3 volts, 2.5 volts, etc.  The voltage level of a signal may be anywhere between the 0 voltage level (Ground) and the power supply voltage level (5 volts, 3.3 volts, 2.5 volts, etc.)  Thus, for a power supply voltage of 5 volts, internal voltage signals may have any voltage value between 0 and 5 volts.  Using a decimal number system would mean that each signal should be capable of representing 10 possible digits ( 0-to-9).

Information Processing COE 202 – Digital Logic Design– KFUPM slide 13 The Noise Factor  Typically, lots of noise signals exist in most environments.  Noise may cause the voltage level of a signal (which represents some digit value) to be changed (either higher or lower) which leads to misinterpretation of the value this signal represents.  Good designs should guard against noisy environments to prevent misinterpretation of the signal information.

Information Processing COE 202 – Digital Logic Design– KFUPM slide 14 Maximizing Noise Margin  Values can be selected to maximize noise margin as follows:  Let us assume that we need to choose 4 values in the range 0 to 5  Then compute step as =maximum value/number of values-1, i.e. 5/3  Compute maximum noise margin as =step/2=5/6=0.833  Choose the first value as 0  Find remaining values by adding the value of step  Thus, we obtain the following 4 values: 0, 5/3=1.67, 10/3=3.33, 15/3=5

Information Processing COE 202 – Digital Logic Design– KFUPM slide 15 Information Representation Chapter 1 15 Assume a 0 to 5 V range to represent the discrete quantization levels Direct 10-level Representation Our circuits deal with: Using Binary (2-level) Representation Ten Signal levels Noise Margin: Two Signal levels (ON/OFF) Simpler, reliable Circuits (5/1)/2 = 2.5 V Larger (better)  n binary digits (bits) e.g. with n = 4 bits  6 is represented as 0110 Noise Margin (5/9)/2  0.25 V Number of steps 1 variable takes 1 of 10 values Use n variables, each takes 1 of 2 values {0,1}

Information Processing COE 202 – Digital Logic Design– KFUPM slide 16 The Noise Factor  Q. Which is more reliable for data transmission; binary signals or decimal signals ?  A. Binary Signals are more reliable.  Q. Why?  A. The Larger the gap between voltage levels, the more reliable the system is. Thus, a signal representing a binary digit will be transmitted more reliably compared to a signal which represents a decimal digit.  For example, with 0.25 volts noise level using a decimal system at 5 volts power supply is totally unreliable.

Information Processing COE 202 – Digital Logic Design– KFUPM slide 17 Conclusions  Information can be represented either in an analog form or in a digital form.  Due to noise, it is more reliable to transmit information in a digital form rather than an analog one.  Processing of digitally represented information is much more reliable, flexible and powerful.  Today’s powerful computers use digital techniques and circuitry.  Because of its high reliability and simplicity, the binary representation of information is most commonly used.