Digital Coding of Analog Signal Prepared By: Amit Degada Teaching Assistant Electronics Engineering Department, Sardar Vallabhbhai National Institute of.

Slides:



Advertisements
Similar presentations
Chapter 3: PCM Noise and Companding
Advertisements

EET260: A/D and D/A conversion
CMP206 – Introduction to Data Communication & Networks Lecture 3 – Bandwidth.
ECE 4371, Fall, 2014 Introduction to Telecommunication Engineering/Telecommunication Laboratory Zhu Han Department of Electrical and Computer Engineering.
Analogue to Digital Conversion (PCM and DM)
Analog-to-Digital Conversion
CHAPTER 4 DIGITAL MODULATION Part 1.
ECE 4371, Fall 2009 Zhu Han Department of Electrical and Computer Engineering Class 8 Sep. 17 th, 2007.
4.2 Digital Transmission Pulse Modulation (Part 2.1)
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.
CEN352, Dr. Ghulam Muhammad King Saud University
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.
Digital Communications I: Modulation and Coding Course Term 3 – 2008 Catharina Logothetis Lecture 2.
EKT343 –Principle of Communication Engineering
Fundamental of Wireless Communications ELCT 332Fall C H A P T E R 6 SAMPLING AND ANALOG-TO-DIGITAL CONVERSION.
EKT343-Principles of Communication Engineering
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Digital Communication Techniques
1/21 Chapter 5 – Signal Encoding and Modulation Techniques.
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.
Formatting and Baseband Modulation
PULSE CODE MODULATION & SOURCE CODING Sampling Theory
Modulation, Demodulation and Coding Course Period Sorour Falahati Lecture 2.
EE 3220: Digital Communication
Digital Telephony1. 2 Analog/digital systems Analog signal -voltage -speech -pressure SP Analog Sampler Discrete signal F s  F max Quantiz- er Error.
Fundamentals of Digital Communication
Digital Communications Chapter 2 Formatting and Baseband Modulation Signal Processing Lab.
Chapter Seven: Digital Communication
Digital Communications I: Modulation and Coding Course Spring – 2012 Jeffrey N. Denenberg Lecture 2: Formatting and Baseband Modulation.
ECE 4371, Fall, 2014 Introduction to Telecommunication Engineering/Telecommunication Laboratory Zhu Han Department of Electrical and Computer Engineering.
EE 6331, Spring, 2009 Advanced Telecommunication Zhu Han Department of Electrical and Computer Engineering Class 11 Feb. 24 th, 2009.
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.
Professor: Dr. Miguel Alonso Jr.
Signal Encoding Techniques. Lecture Learning Outcomes Be able to understand, appreciate and differentiate the different signal encoding criteria available.
Sept. 25, 2006 Assignment #1 Assignment #2 and Lab #3 Now Online Formula Cheat Sheet Cheat SheetCheat Sheet Review Time, Frequency, Fourier Bandwidth Bandwidth.
Digital Transmission Outlines:- Multiplexing FDM TDM WDM
Chapter 5. Pulse Modulation
ECE 4710: Lecture #6 1 Bandlimited Signals  Bandlimited waveforms have non-zero spectral components only within a finite frequency range  Waveform is.
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.
Digital Multiplexing 1- Pulse Code Modulation 2- Plesiochronous Digital Hierarchy 3- Synchronous Digital Hierarchy.
ECE 4371, 2009 Class 9 Zhu Han Department of Electrical and Computer Engineering Class 9 Sep. 22 nd, 2009.
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
Chapter : Digital Modulation 4.2 : Digital Transmission
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2014.
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.
PAM Modulation Lab#3. Introduction An analog signal is characterized by the fact that its amplitude can take any value over a continuous range. On the.
Digital Coding of Analog Signal Prepared By: Amit Degada Teaching Assistant Electronics Engineering Department, Sardar Vallabhbhai National Institute of.
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
Sistem Telekomunikasi, Sukiswo, ST, MT Sukiswo
Chapter 4: Second generation Systems-Digital Modulation
Principios de Comunicaciones EL4005
Analog to digital conversion
Topics discussed in this section:
UNIT – III I: Digital Transmission.
DIGITIAL COMMUNICATION
Sampling rate conversion by a rational factor
CS 4594 Data Communications
Chapter 2 Signal Sampling and Quantization
Lecture 9: Sampling & PAM 1st semester By: Elham Sunbu.
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Chapter 3: Pulse Code Modulation
Digital Control Systems Waseem Gulsher

Chapter 3: PCM Noise and Companding
Digital Coding of Analog Signal
Sampling and Quantization
Presentation transcript:

Digital Coding of Analog Signal Prepared By: Amit Degada Teaching Assistant Electronics Engineering Department, Sardar Vallabhbhai National Institute of Technology, Surat

Outline Analog To Digital Converter Review of sampling –Nyquist sampling theory: frequency and time domain –Alliasing –Bandpass sampling theory –Natural Sampling –Aperture Effect Quantization –Quantization. –Quantization Error. –Companding. –Two optimal rules –A law/u law Coding Differential PCM

Claude Elwood Shannon, Harry Nyquist

Sampling Theory In many applications it is useful to represent a signal in terms of sample values taken at appropriately spaced intervals. The signal can be reconstructed from the sampled waveform by passing it through an ideal low pass filter. In order to ensure a faithful reconstruction, the original signal must be sampled at an appropriate rate as described in the sampling theorem. –A real-valued band-limited signal having no spectral components above a frequency of F M Hz is determined uniquely by its values at uniform intervals spaced no greater than (1/2F M ) seconds apart.

Sampling Block Diagram Consider a band-limited signal f(t) having no spectral component above B Hz. Let each rectangular sampling pulse have unit amplitudes, seconds in width and occurring at interval of T seconds. A/D conversion f(t) T f s (t) Sampling

Impulse Sampling with increasing sampling time T

EE 541/451 Fall 2006 Introduction

Math

Math, cont.

Interpolation Formula

Interpolation If the sampling is at exactly the Nyquist rate, then

Under Sampling, Aliasing

Avoid Aliasing Band-limiting signals (by filtering) before sampling. Sampling at a rate that is greater than the Nyquist rate. A/D conversion f(t)f(t) T f s (t) Sampling Anti-aliasing filter

Practical Interpolation Sinc-function interpolation is theoretically perfect but it can never be done in practice because it requires samples from the signal for all time. Therefore real interpolation must make some compromises. Probably the simplest realizable interpolation technique is what a DAC does.

Natural sampling (Sampling with rectangular waveform)

Bandpass Sampling A signal of bandwidth B, occupying the frequency range between fL and fL + B, can be uniquely reconstructed from the samples if sampled at a rate fS : fS >= 2 * (f2-f1)(1+M/N) where M=f2/(f2-f1))-N and N = floor(f2/(f2-f1)), B= f2-f1, f2=NB+MB.

Entire spectrum is allocated for a channel (user) for a limited time. The user must not transmit until its next turn. Used in 2nd generation Advantages: –Only one carrier in the medium at any given time –High throughput even for many users –Common TX component design, only one power amplifier –Flexible allocation of resources (multiple time slots). f t c k2k2 k3k3 k4k4 k5k5 k6k6 k1k1 Frequency Time Time Division Multiplexing

Quantization Scalar Quantizer Block Diagram

Quantization Procedure

Quantization Error

Quantization Type Mid-tread Mid-rise

Quantization Noise

What happens if no. of representation level increases? >64 distortion is significant Quantization error is uniformly distributed in interval (-∆/2 to ∆/2). The Avg. Power of Quantizing error q e

0 V K∆ K∆+ ∆/2 K∆- ∆/2 qeqe Sample of Amplitude K∆+ q e PqPq Math

Example A sinusoidal Signal of amplitude A m uses all Representation levels provided for Quantization in the case of full load condition. Calculate Signal to Noise ratio in db assuming the number of quantization levels to be 512. ANS: 55.8 db.

Example SNR for varying number of representation levels for sinusoidal modulation X dB Number of representati on level L Number of Bits per Sample, R SNR (dB)

Companding Process of uniform Quantization is not possible. Example: Speech, Video. The variation in power from weak signal to powerful signal is 40 db. So Ratio 1000:1 Excursion in Large amplitude occurs less frequently. This Scenario is cared by Non- Uniform Quantization.

Non-uniform Quantizer x ^ Example F: y=log(x)F -1 : x=exp(x) F: nonlinear compressing function F -1 : nonlinear expanding function F and F -1 : nonlinear compander We will study nonuniform quantization by PCM example next A law and  law y ^ y X F QF -1 XXXQ y ^ y ^ y ^ y ^ y ^

Input-Output characteristic of Compressor

 Law/A Law The -law algorithm (μ-law) is a companding algorithm, primarily used in the digital telecommunication systems of North America and Japan. Its purpose is to reduce the dynamic range of an audio signal. In the analog domain, this can increase the signal to noise ratio achieved during transmission, and in the digital domain, it can reduce the quantization error (hence increasing signal to quantization noise ratio). A-law algorithm used in the rest of worlds. A-law algorithm provides a slightly larger dynamic range than the mu-law at the cost of worse proportional distortion for small signals. By convention, A-law is used for an international connection if at least one country uses it.

 Law

EE 541/451 Fall 2006 A Law

Implementation of Compander Diode equation Piece-wise linear Approach

Coding