From Information to Numbers The world is full of information Digital devices store numbers as bits How do we turn signals into numbers? Answer: Digitization.

Slides:



Advertisements
Similar presentations
EET260: A/D and D/A conversion
Advertisements

Digital Coding of Analog Signal Prepared By: Amit Degada Teaching Assistant Electronics Engineering Department, Sardar Vallabhbhai National Institute of.
Analogue to Digital Conversion (PCM and DM)
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Theoretical Basis of Data Communication.
TRANSMISSION FUNDAMENTALS Recap Questions/Solutions
Cellular Communications
Huffman Encoding Dr. Bernard Chen Ph.D. University of Central Arkansas.
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
ECE 4371, Fall 2009 Zhu Han Department of Electrical and Computer Engineering Class 8 Sep. 17 th, 2007.
DIGITAL COMMUNICATIONS.  The modern world is dependent on digital communications.  Radio, television and telephone systems were essentially analog in.
SIMS-201 Characteristics of Audio Signals Sampling of Audio Signals Introduction to Audio Information.
IT-101 Section 001 Lecture #8 Introduction to Information Technology.
Sampling and quantization Seminary 2. Problem 2.1 Typical errors in reconstruction: Leaking and aliasing We have a transmission system with f s =8 kHz.
Lab 2 COMMUNICATION TECHNOLOGY II. Capacity of a System The bit rate of a system increases with an increase in the number of signal levels we use to denote.
School of Computing Science Simon Fraser University
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 5 Introduction to Networks and the Internet.
Chapter 2 Fundamentals of Data and Signals
SWE 423: Multimedia Systems Chapter 3: Audio Technology (3)
Chapter 2: Fundamentals of Data and Signals. 2 Objectives After reading this chapter, you should be able to: Distinguish between data and signals, and.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
Chapter 4 Digital Transmission
SIMS-201 Audio Digitization. 2  Overview Chapter 12 Digital Audio Digitization of Audio Samples Quantization Reconstruction Quantization error.
Sampling Theory. Time domain Present a recurring phenomena as amplitude vs. time  Sine Wave.
Digital to Analogue Conversion Natural signals tend to be analogue Need to convert to digital.
Pulse Modulation 1. Introduction In Continuous Modulation C.M. a parameter in the sinusoidal signal is proportional to m(t) In Pulse Modulation P.M. a.
Digital audio. In digital audio, the purpose of binary numbers is to express the values of samples that represent analog sound. (contrasted to MIDI binary.
A/D Conversion No. 1  Seattle Pacific University Analog to Digital Conversion Based on Chapter 5 of William Stallings, Data and Computer Communication.
Fall 2004EE 3563 Digital Systems Design Audio Basics  Analog to Digital Conversion  Sampling Rate  Quantization  Aliasing  Digital to Analog Conversion.
Sampling Terminology f 0 is the fundamental frequency (Hz) of the signal –Speech: f 0 = vocal cord vibration frequency (>=80Hz) –Speech signals contain.
Data Communications & Computer Networks, Second Edition1 Chapter 2 Fundamentals of Data and Signals.
Lecture 5: Signal Processing II EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/20/13.
Digital Recording Theory Using Peak. Listening James Tenney, Collage #1 (“Blue Suede”),  Available in Bracken Library, on James Tenney Selected.
Professor: Dr. Miguel Alonso Jr.
Chapter 3. Lesson Objectives Equations Chapter
Agenda Last class: Memory, Digitizing Numbers Today: Digitizing: Text
1 Information in Continuous Signals f(t) t 0 In practice, many signals are essentially analogue i.e. continuous. e.g. speech signal from microphone, radio.
The Physical Layer Lowest layer in Network Hierarchy. Physical transmission of data. –Various flavors Copper wire, fiber optic, etc... –Physical limits.
1 Introduction to Information Technology LECTURE 6 AUDIO AS INFORMATION IT 101 – Section 3 Spring, 2005.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2009.
Physical Layer PART II. Position of the physical layer.
1 Composite Signals and Fourier Series To approximate a square wave with frequency f and amplitude A, the terms of the series are as follows: Frequencies:
1 Manipulating Audio. 2 Why Digital Audio  Analogue electronics are always prone to noise time amplitude.
Chapter 2 Basic Science: Analog and Digital Audio.
IT-101 Section 001 Lecture #9 Introduction to Information Technology.
Channel capacity A very important consideration in data communications is how fast we can send data, in bits per second, over a channel.
Encoding How is information represented?. Way of looking at techniques Data Medium Digital Analog Digital Analog NRZ Manchester Differential Manchester.
A. B. M. Nasiruzzaman Dept. of EEE, RUET According to the Nyquist theorem, the sampling rate must be at least 2 times the highest frequency contained in.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2014.
Transmission Media. Quiz: ANGEL->Lessons->Quiz 2 Figure 1Figure 2 Figure 3Figure 4.
1 What is Multimedia? Multimedia can have a many definitions Multimedia means that computer information can be represented through media types: – Text.
ECE 101 An Introduction to Information Technology Analog to Digital Conversion.
CS Spring 2010 CS 414 – Multimedia Systems Design Lecture 4 – Audio and Digital Image Representation Klara Nahrstedt Spring 2010.
Fundamentals of Multimedia Chapter 6 Basics of Digital Audio Ze-Nian Li and Mark S. Drew 건국대학교 인터넷미디어공학부 임 창 훈.
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ Καθηγητής Πέτρος Π. Γρουμπός  Ώρες Γραφείου: Τετάρτη Πέμπτη Παρασκευή 11:00- 12:00 Γραφείο: 1.
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
Channel Capacity Bandwidth – In cycles per second of Hertz – Constrained by transmitter and medium Data rate – In bits per second – Rate at which data.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
Transmission Media.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Multimedia Systems and Applications
Chapter 8 Mohamed Bingabr
Chapter 3 Sampling.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Sampling rate conversion by a rational factor
لجنة الهندسة الكهربائية
MECH 373 Instrumentation and Measurements
Digital Control Systems Waseem Gulsher
COMS 161 Introduction to Computing
Analog to Digital Encoding
Presentation transcript:

From Information to Numbers The world is full of information Digital devices store numbers as bits How do we turn signals into numbers? Answer: Digitization –Sampling –Quantization

Sampling Sampling: Taking signal values at regularly-spaced intervals Formula: s[n] = s(nT s ) s(t) = {original signal} s[n] = {sampled signal} T s = {sampling period} f s = 1/T s is the sampling rate.

Sampling Involves a Tradeoff Too small a T s makes too many samples Too large a T s ruins the sampled signal How do we design T s ? Answer: The Nyquist Rate

The Nyquist Rate We already know: Any signal can be made from a sum of sinusoids. Suppose that a particular signal is made up of sinusoids whose frequencies are between f highest and f lowest. (f highest - f lowest ) is called the bandwidth. This signal can be exactly reconstructed from its samples if f s > 2 (f highest ). The value of 2 (f highest ) is called the Nyquist Rate.

Sampling Above and Below the Nyquist Rate f s > 2 (f highest - f lowest ) f s < 2 (f highest - f lowest ) Original Signal

Sampling Rates for Some Important Signals Designers use these sampling rates to design CD players, DVD players, cell phones, car radios, and satellite TV.

Sampling Below Nyquist Causes Aliasing Example: A 720Hz sinusoid sampled at a rate of 660Hz… …looks like a 60Hz sinusoid! Filters are used before sampling to prevent this.

Representing Text in Binary: ASCII ASCII: American Standard Code for Information Interchange A 7-bit code (8-bit representation) to represent 128 symbols –Capital and small letters (a-z, A-Z) –Numbers (0-9) –Punctuation (e.g. –Other control codes (line feed, end of file) Why would a standard code be so important?

Partial ASCII Code Listing What is ? Answer: INFINITY

Storing Samples Using Bits: Quantization Digital devices must use a limited number of bits to store each sample of a signal. The errors caused by quantization are seen and heard as noise. Example: 2 bits per sample

More Bits Mean Smaller Errors Example: –Top: 3 bits per sample –Middle: 4 bits per sample –Bottom: 16 bits per sample More bits mean higher accuracy, but more storage and effort

How Many Bits Per Sample? We would like a measure of signal quality as a function of number of bits The answer: Signal-to-Noise Ratio –Used in almost every multimedia system design Definition (linear scale) SNR = |max( )| |max( )| Definition (dB scale) SNR in dB = 20 log 10 |max( )| |max( )|

Decibel Scale Named after Alexander Graham Bell, inventor of the telephone Convenient for very large and vary small SNRs

Problem: SNR What is the SNR for the signals on the left? What is the SNR in dB? Answer: 0.8/0.06 = log 10 (80/0.6)=22.5dB

Example Problem: SNR Fact: SNR can be used to measure the quality of many signals

SNR for Quantized Signals For a B-bit quantized signal SNR = (2 B-1 )/2 -1 = 2 B Simple dB Rule: SNR = 20 log 10 (2 B ) = 6.02 B Each bit adds 6 dB to the SNR Example: CDs use 16 bits SNR CD = 96 dB