Uniform Quantization It was discussed in the previous lecture that the disadvantage of using uniform quantization is that low amplitude signals are drastically.

Slides:



Advertisements
Similar presentations
Chapter 3: PCM Noise and Companding
Advertisements

EET260: A/D and D/A conversion
Sound in multimedia How many of you like the use of audio in The Universal Machine? What about The Universal Computer? Why or why not? Does your preference.
Sampling and Pulse Code Modulation
ECE 4371, Fall, 2014 Introduction to Telecommunication Engineering/Telecommunication Laboratory Zhu Han Department of Electrical and Computer Engineering.
Digital Coding of Analog Signal Prepared By: Amit Degada Teaching Assistant Electronics Engineering Department, Sardar Vallabhbhai National Institute of.
The Impact of Channel Estimation Errors on Space-Time Block Codes Presentation for Virginia Tech Symposium on Wireless Personal Communications M. C. Valenti.
Speech Compression. Introduction Use of multimedia in personal computers Requirement of more disk space Also telephone system requires compression Topics.
Chapter Two Fundamentals of Data and Signals
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Sixth Edition.
4.2 Digital Transmission Pulse Modulation (Part 2.1)
DIGITAL COMMUNICATIONS.  The modern world is dependent on digital communications.  Radio, television and telephone systems were essentially analog in.
SYED SYAHRIL TRADITIONAL MUSICAL INSTRUMENT SIMULATOR FOR GUITAR1.
Quantization Prof. Siripong Potisuk.
Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Fifth Edition.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Transmission Slide 1 Continuous & Discrete Signals.
Digital Voice Communication Link EE 413 – TEAM 2 April 21 st, 2005.
Chapter 2 Fundamentals of Data and Signals
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.
Department of Electrical & Computer Engineering 1 ES585a - Computer Based Power System Protection Course by Dr.T.S.Sidhu - Fall 2005 Class discussion presentation.
EE513 Audio Signals and Systems Noise Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
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.
Random Processes and LSI Systems What happedns when a random signal is processed by an LSI system? This is illustrated below, where x(n) and y(n) are random.
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.
Fundamentals of Digital Communication
Lab #8 Follow-Up: Sounds and Signals* * Figures from Kaplan, D. (2003) Introduction to Scientific Computation and Programming CLI Engineering.
Physics 114: Lecture 15 Probability Tests & Linear Fitting Dale E. Gary NJIT Physics Department.
Data Communications & Computer Networks, Second Edition1 Chapter 2 Fundamentals of Data and Signals.
GODIAN MABINDAH RUTHERFORD UNUSI RICHARD MWANGI.  Differential coding operates by making numbers small. This is a major goal in compression technology:
EE Audio Signals and Systems Effects Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Sensitivity System sensitivity is defined as the available input signal level Si for a given (SNR)O Si is called the minimum detectable signal An expression.
Pulse Code Modulation (PCM)
Digital Recording Theory Using Peak. Listening James Tenney, Collage #1 (“Blue Suede”),  Available in Bracken Library, on James Tenney Selected.
COMMUNICATION SYSTEM EEEB453 Chapter 5 (Part IV) DIGITAL TRANSMISSION.
ECE 4710: Lecture #9 1 PCM Noise  Decoded PCM signal at Rx output is analog signal corrupted by “noise”  Many sources of noise:  Quantizing noise »Four.
10/6/2015 3:12 AM1 Data Encoding ─ Analog Data, Digital Signals (5.3) CSE 3213 Fall 2011.
Dynamic Range and Dynamic Range Processors
Signal Encoding Techniques. Lecture Learning Outcomes Be able to understand, appreciate and differentiate the different signal encoding criteria available.
CE Digital Signal Processing Fall 1992 Waveform Coding Hossein Sameti Department of Computer Engineering Sharif University of Technology.
1 PCM & DPCM & DM. 2 Pulse-Code Modulation (PCM) : In PCM each sample of the signal is quantized to one of the amplitude levels, where B is the number.
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.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2009.
ECE 5525 Osama Saraireh Fall 2005 Dr. Veton Kepuska
Digital Multiplexing 1- Pulse Code Modulation 2- Plesiochronous Digital Hierarchy 3- Synchronous Digital Hierarchy.
Introduction to Digital Signals
PCM & DPCM & DM.
Chapter Two Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User's Approach Eighth Edition.
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
School of Computer and Communication Engineering, UniMAP Mohd ridzuan mohd nor DKT 122/3 - DIGITAL SYSTEM I Chapter.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
Digital Image Processing
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
COMPANDING - is the process of compressing and then expanding
COMMUNICATION SYSTEM EEEB453 Chapter 5 (Part III) DIGITAL TRANSMISSION Intan Shafinaz Mustafa Dept of Electrical Engineering Universiti Tenaga Nasional.
Today’s lesson Discovering and understanding compression Working on club dance portfolios.
Maj Jeffrey Falkinburg Room 2E46E
Analog to digital conversion
DIGITIAL COMMUNICATION
Quantization and Encoding
Sampling rate conversion by a rational factor
Introduction to Frequency Domain TIPL 4301 TI Precision Labs – ADCs
4.2 Digital Transmission Pulse Modulation (Part 2.1)
لجنة الهندسة الكهربائية
Chapter 3: PCM Noise and Companding
Signals and Systems Networks and Communication Department Chapter (1)
PCM & DPCM & DM.
COMS 161 Introduction to Computing
Presentation transcript:

Uniform Quantization It was discussed in the previous lecture that the disadvantage of using uniform quantization is that low amplitude signals are drastically effected. This fact can be observed by considering the simulation results in the next four slides. In both cases two signals with a similar shape, but different amplitudes, are applied to the same quantizer with a spacing of between two quantization levels. The effects of quantization on the low amplitude signal are obviously more significant than on the high amplitude signal. 1

Uniform Quantization Input Signal 1. 2 Max Amplitude = 1

Uniform Quantization Quantized Signal 1. Δv=

Uniform Quantization Input Signal 2. 4 Max Amplitude = 0.125

Uniform Quantization Quantized Signal 2. Δv=

Uniform Quantization Figure-1 Input output characteristic of a uniform quantizer. 6

Uniform Quantization Recall that the Signal to Quantization Noise Ratio of a uniform quantizer is given by: This equation verifies the discussion on slide-1 that SN q R for a low amplitude signal is quite low. Therefore, the effect of quantization noise on such audio signals should be noticeable. Lets consider the case of voice signals (see next slide) 7

Uniform Quantization Click on the following links to listen to a sample voice signal. First play “voice file-1”; then play “voice file-1 Quantized”. Do you notice the degradation in voice quality? This degradation can be attributed to uniformly spaced quantization levels. Voice file-1Voice file-1. Quantized (uniform) Note: You may not notice the difference between the two clips if you are using small laptop speakers. You should use either headphones or larger speakers. 8

Uniform Quantization More insight into signal degradation can be gained by looking at the voice signal’s Histogram. A histogram shows the distribution of values of data. Figure-2 below shows the histogram of the voice signal-1. Most of the values have low amplitude and occur around zero. Therefore, for voice signals uniform quantization will result in signal degradation. Figure-2 Histogram of voice signal-1 9

Non-Uniform Quantization The effect of quantization noise can be reduced by increasing the number of quantization intervals in the low amplitude regions. This means that spacing between the quantization levels should not be uniform. This type of quantization is called “Non-Uniform Quantization”. Input-Output Characteristics shown below. 10

Non-uniform Quantization Non-uniform quantization is achieved by, first passing the input signal through a “compressor”. The output of the compressor is then passed through a uniform quantizer. The combined effect of the compressor and the uniform quantizer is that of a non-uniform quantizer. (see figure 3.) At the receiver the voice signal is restored to its original form by using an expander. This complete process of Compressing and Expanding the signal before and after uniform quantization is called Companding. 11

1 x=m(t)/m p 1 y=g(x) Non-uniform Quantization (Companding) Input output relationship of a compressor. 12

A-Law (USA) Where, The value of ‘µ’ used with 8-bit quantizers for voice signals is 255 Non-uniform Quantization (Companding) 13

Non-uniform Quantization (Companding) The µ-law compressor characteristic curve for different values of ‘µ’. 14

Non-uniform Quantization (Companding) Expander CompressorUniform Quantizer Click on symbols to listen to voice signal at each stage 15

Non-uniform Quantization (Companding) Expander CompressorUniform Quantizer Click on symbols to listen to voice signal at each stage 16 The 3 stages combine to give the characteristics of a Non-uniform quantizer.

Non-uniform Quantization (Companding) Uniform Quantizer Click on symbols to listen to voice signal at each stage A uniform quantizer with input and output voice files is presented here for comparison with non-uniform quantizer. 17

Non-Uniform Quantization Lets have a look at the histogram of the compressed voice signal. In contrast to the histogram of the uncompressed signal (figure-2) you can see that the values are now more distributed. Therefore, it can be said that the compressor changes the histogram/ pdf of the voice signal from gaussian (bell shape) to a uniform distribution (shown below). Figure-3 Histogram of compressed voice signal 18

Non-Uniform Quantization Where is the Compression..??? The compression process in Non-uniform quantization demands some elaboration for clarity of concepts. It should be noted that the compression mentioned in previous slides is not the time or frequency domain compression which students are familiar with. This can be verified by looking at the time domain waveforms at the input and output of the compressor. Note that both the signals last for 3.75 seconds. Therefore, there is no compression in time or frequency. Fig-4-a Signal at Compressor InputFig-4-b Signal at Compressor Output 19

Non-Uniform Quantization Where is the Compression..??? The compression here occurs in the amplitude values. An intuitive way of explaining this compression in amplitudes is to say that the amplitudes of the compressed signal are more closely spaced (compressed) in comparison to the original signal. This can also be observed by looking at the waveform of the compressed signal (fig-4-b). The compressor boosts the small amplitudes by a large amount. However, the large amplitude values receive very small gain and the maximum value remains the same. Therefore, the small values are multiplied by a large gain and are spaced relatively closer to the large amplitude values. A parameter which can be used to measure the degree of compression here is the Dynamic range. “The Dynamic Range is the ratio of maximum and minimum value of a variable quantity such as sound or light” [ ]. In the simulations the Dynamic Range (DR) of the compressor input = dB Whereas Dynamic Range (DR) of compressor output = dB 20

Reference Text Books 1.Lecture Notes “Advanced Digital Communications” by Dr. Norbert Goertz. MSc Signal Processing & Communication January 2007, The University of Edinburgh. 2.“Modern Digital & Analog Communications” 3 rd Edition by B. P. Lathi. 3.“Digital & Analog Communication Systems” 6 th Edition by Leon W. Couch, II. 4.“Communication Systems” 4 th Edition by Simon Haykin. 5.“Analog & Digital Communication Systems” by Martin S. Roden. 6.Sample voice file taken from CD of Digital Signal Processing a Computer Based Approach By S. K. Mitra. Note: With the exception of figures on slides 06 and 14 all figures have been sketched by Hassan Aqeel Khan. The voice files have been generated by using Matlab 7. 21