Lecture 5: Signal Processing II EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/20/13.

Slides:



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

Digital Signal Processing
ECE 4371, Fall, 2014 Introduction to Telecommunication Engineering/Telecommunication Laboratory Zhu Han Department of Electrical and Computer Engineering.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 DATA AND SIGNALS T.Najah Al_Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University.
Analogue to Digital Conversion (PCM and DM)
Speech Compression. Introduction Use of multimedia in personal computers Requirement of more disk space Also telephone system requires compression Topics.
1 Transmission Fundamentals Chapter 2 (Stallings Book)
Chi-Cheng Lin, Winona State University CS412 Introduction to Computer Networking & Telecommunication Theoretical Basis of Data Communication.
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
Lecture 9: D/A and A/D Converters
SIMS-201 Characteristics of Audio Signals Sampling of Audio Signals Introduction to Audio Information.
IT-101 Section 001 Lecture #8 Introduction to Information Technology.
Lecture 4: Signal Processing EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/18/13.
Continuous Time Signals A signal represents the evolution of a physical quantity in time. Example: the electric signal out of a microphone. At every time.
Quantization Prof. Siripong Potisuk.
CEN352, Dr. Ghulam Muhammad King Saud University
School of Computing Science Simon Fraser University
Chapter 3 Data and Signals
William Stallings Data and Computer Communications 7th Edition (Selected slides used for lectures at Bina Nusantara University) Data, Signal.
Chapter 2 : Business Information Business Data Communications, 4e.
Chapter 4 Digital Transmission
1 Computer Communication & Networks Lecture 5 Physical Layer: Data & Signals Waleed Ejaz
SIMS-201 Audio Digitization. 2  Overview Chapter 12 Digital Audio Digitization of Audio Samples Quantization Reconstruction Quantization error.
Digital Audio Multimedia Systems (Module 1 Lesson 1)
 Principles of Digital Audio. Analog Audio  3 Characteristics of analog audio signals: 1. Continuous signal – single repetitive waveform 2. Infinite.
Basics of Signal Processing. frequency = 1/T  speed of sound × T, where T is a period sine wave period (frequency) amplitude phase.
Computer Science 101 Introduction to Programming with Sounds.
Formatting and Baseband Modulation
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.
Computer Based Data Acquisition Basics. Outline Basics of data acquisition Analog to Digital Conversion –Quantization –Aliasing.
ORE 654 Applications of Ocean Acoustics Lecture 6a Signal processing
LE 460 L Acoustics and Experimental Phonetics L-13
Lab #8 Follow-Up: Sounds and Signals* * Figures from Kaplan, D. (2003) Introduction to Scientific Computation and Programming CLI Engineering.
Lecture 1 Signals in the Time and Frequency Domains
Lecture # 22 Audition, Audacity & Sound Editing Sound Representation.
Art 321 Sound, Audio, Acoustics Dr. J. Parker. Sound What we hear as sound is caused by rapid changes in air pressure! It is thought of as a wave, but.
Professor: Dr. Miguel Alonso Jr.
ECE 4710: Lecture #6 1 Bandlimited Signals  Bandlimited waveforms have non-zero spectral components only within a finite frequency range  Waveform is.
Georgia Institute of Technology Introduction to Processing Digital Sounds part 1 Barb Ericson Georgia Institute of Technology Sept 2005.
Sound Conversion Chilin Shih University of Illinois — Urbana Champaign E-MELD Conference 2003 July 11 th -13th LSA Institute Michigan State University.
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.
1 Rev 07/28/2015.  Describe: examples, definition,? 2.
IT-101 Section 001 Lecture #9 Introduction to Information Technology.
Analog/Digital Conversion
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.
Advanced Computer Networks
Graphics II Image Processing I. Acknowledgement Most of this lecture note has been taken from the lecture note on Multimedia Technology course of University.
Session 18 The physics of sound and the manipulation of digital sounds.
Digital Audio I. Acknowledgement Some part of this lecture note has been taken from multimedia course made by Asst.Prof.Dr. William Bares and from Paul.
Digital Signal Processing
بسم الله الرحمن الرحيم Digital Signal Processing Lecture 2 Analog to Digital Conversion University of Khartoum Department of Electrical and Electronic.
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
Computer Communication & Networks
Part II Physical Layer.
Multimedia Systems and Applications
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Soutenance de thèse vendredi 24 novembre 2006, Lorient
Chapter 3: Pulse Code Modulation
MECH 373 Instrumentation and Measurements
Digital Control Systems Waseem Gulsher
Chapter 3: PCM Noise and Companding
How sound works: Acoustics, the physics of sound
Sampling and Quantization
Analog to Digital Encoding
CEN352, Dr. Ghulam Muhammad King Saud University
Presentation transcript:

Lecture 5: Signal Processing II EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/20/13

SOME DEFINITIONS

Decibels Logarithmic unit that indicates the ratio of a physical quantity relative to a specified level. 10x change is 10 dB change. 2x change ~3dB change. – Remember L_dB = 10 log_10 (P1/P0) for power L_db = 20 log_10 (A1/A0) for amplitude (Power ~ Amplitude^2)

Period A measurement of a time interval A periodic signal that repeats every 10s Periodic observation, count the number of students who are asleep every 1 minute

Rate 1/period If I count the number of students who are asleep every minute, I do so with the rate of 1/60s, or at a rate of Hertz

Hertz Instances per second kHz, MHz, GHz – standard SI-prefixes for hertz

Rate and Time If a period is 10s, the rates is 1/10s. Hertz is cycles per second

Bandwidth (signal processing) Difference between the upper and lower frequencies in a continuous set that carry information of interest. Not to be confused with data bandwidth, which while related is not the same concept

SAMPLING CONTINUOUS SIGNALS

Sampling Conversion of continuous time signals into discrete time signals. How frequently we record, witness, or store, some signal. Frame rates, movies typically play at 24 frames/second (rate) – What is the period?

Sampling Affects how much data we have to store to represent a signal. The more we store, the more space it takes! The less we store, the more error is introduced! How do we know how much is enough?

Digital Sampling

Sampling Issues

The Problem

Fixing the Problem

Sampling Nyquist Theorem (sampling theorem) – An analog signal of bandwidth B Hertz when sampled at least as often as once every 1/2B seconds (or at 2B Hertz), can be exactly converted back to the analog original signal without any distortion or loss of information. This rate is called the Nyquist sampling rate.

Nyquist in Practice Telephone speech has a bandwidth of 3500 Hz – At what rate should it be sampled? – 7000 Hz – In practice it is sampled at 8000 Hz, to avoid conversion factors (Once every 124 microseconds)

Acoustic Signals Acoustic signals are audible up to 24 kHz – What is the corresponding Nyquist sampling rate?

Acoustic Signals Industrial standards – 6000 Hz – 8000 Hz – Hz – Hz – Hz – Hz – Hz – Hz – Hz

Spoken Sentence

16000 Hz Hz 8000 Hz 6000 Hz

Piano

Spoken Sentence Hz Hz 8000 Hz 6000 Hz

SPECTROGRAMS

Spectrogram Visual representation of frequencies in a signal. Sometimes called, spectral waterfalls, or voiceprints/voicegrams Can identify spoken words phonetically. Also used in sonor, radar, seismology, etc.

Spectrogram Frequency vs Time Color or height mapped to dB

Spectrogram – Speech Hz

Spectrogram – Speech Hz

Spectrogram – Speech 8000 Hz

Spectrogram – Speech 6000 Hz

Spectrogram – Piano Hz

Spectrogram – Piano Hz

Spectrogram – Piano 8000 Hz

Spectrogram – Piano 6000 Hz

ANALOG TO DIGITAL CONVERSION

A2D: Analog to Digital Two steps – Sampling (which we just covered) – Quantization

Quantization Analog signals take any value between some minimum and maximum – Infinite possible values – We need a finite set of values

Why do we need finite values?

State in Digital Logic Flip-flops store state for sequential logic (vs combinatorical logic) Each one can hold a 0 or 1, one bit Put X together and we have X bits worth of state we can store

How do we get this?

How to quantize Informally – If we have N bits per value, we have how many states? – Values from [min, max] (inclusive) – Each state provided by our bit vector needs to cover of the range

How to quantize Simple algorithm, assume 2-bits, how many states?

How to quantize Simple algorithm, assume 2-bits, how many states? First state is min. We now have (4-1) = 3 states left to cover the range (Max – Min) 00 – Min 01 – Min + (Max – Min)/3 10 – Min + 2(Max – Min)/3 11 – Min + 3(Max – Min)/3 = Max

How to quantize What do we do with data in between these values? Let’s refine our algorithm

Quantization Classification rule – Tells us which state of our bit vector the value corresponds to Reconstruction rule – Tells us how to interpret a state of the bit vector

Quantization Classification Rule A general classification rule

Quantization Reconstruction Rule A general reconstruction rule

Putting it all Together From 5 to 12, 2-bits

Homework See course website for this week’s signals homework.