Digital Telephony1. 2 Analog/digital systems Analog signal -voltage -speech -pressure SP Analog Sampler Discrete signal F s  F max Quantiz- er Error.

Slides:



Advertisements
Similar presentations
Chapter 3: PCM Noise and Companding
Advertisements

EET260: A/D and D/A conversion
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)
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Quantization Prof. Siripong Potisuk.
8/16/20021 Digital Transmission Key Learning Points Fundamentals of Voice Digitization Pulse Code Modulation Quantification Noise Multiplexed Digital Lines.
Communication Systems
Digital Voice Communication Link EE 413 – TEAM 2 April 21 st, 2005.
© 2006 Cisco Systems, Inc. All rights reserved. 2.2: Digitizing and Packetizing Voice.
Ch 6 Sampling and Analog-to-Digital Conversion
Chapter 4 Digital Transmission
SIMS-201 Audio Digitization. 2  Overview Chapter 12 Digital Audio Digitization of Audio Samples Quantization Reconstruction Quantization error.
Digital Communication Techniques
1/21 Chapter 5 – Signal Encoding and Modulation Techniques.
Data Sampling & Nyquist Theorem Richa Sharma Dept. of Physics And Astrophysics University of Delhi.
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
Formatting and Baseband Modulation
Lecture 41 Practical sampling and reconstruction.
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.
Fundamentals of Digital Communication
Chapter Seven: Digital Communication
Sampling Terminology f 0 is the fundamental frequency (Hz) of the signal –Speech: f 0 = vocal cord vibration frequency (>=80Hz) –Speech signals contain.
DIGITAL VOICE NETWORKS ECE 421E Tuesday, October 02, 2012.
10/6/2015 3:12 AM1 Data Encoding ─ Analog Data, Digital Signals (5.3) CSE 3213 Fall 2011.
Professor: Dr. Miguel Alonso Jr.
Digital Signal Processing
Signal Encoding Techniques. Lecture Learning Outcomes Be able to understand, appreciate and differentiate the different signal encoding criteria available.
Chapter #5 Pulse Modulation
Pulse Code Modulation Pulse Code Modulation (PCM) : method for conversion from analog to digital waveform Instantaneous samples of analog waveform represented.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 2: Cisco VoIP Implementations.
Pulse Code Modulation (PCM)
The Physical Layer Lowest layer in Network Hierarchy. Physical transmission of data. –Various flavors Copper wire, fiber optic, etc... –Physical limits.
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.
1 Quantization Error Analysis Author: Anil Pothireddy 12/10/ /10/2002.
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
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.
Continuous-time Signal Sampling
1 What is Multimedia? Multimedia can have a many definitions Multimedia means that computer information can be represented through media types: – Text.
Fundamentals of Multimedia Chapter 6 Basics of Digital Audio Ze-Nian Li and Mark S. Drew 건국대학교 인터넷미디어공학부 임 창 훈.
1 st semester 1436 / Modulation Continuous wave (CW) modulation AM Angle modulation FM PM Pulse Modulation Analog Pulse Modulation PAMPPMPDM Digital.
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.
UNIT-1 SOURCE CODING SYSTEMS 1.  Source: analog or digital  Transmitter: transducer, amplifier, modulator, oscillator, power amp., antenna  Channel:
Sistem Telekomunikasi, Sukiswo, ST, MT Sukiswo
Chapter 4: Second generation Systems-Digital Modulation
Principios de Comunicaciones EL4005
Analog to digital conversion
ECEN5533. Modern Communications Theory Lecture #12. 8 February 2016 Dr
Topics discussed in this section:
UNIT – III I: Digital Transmission.
DIGITIAL COMMUNICATION
Chapter 3 Sampling.
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Quantization and Encoding
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Soutenance de thèse vendredi 24 novembre 2006, Lorient
لجنة الهندسة الكهربائية
Digital Control Systems Waseem Gulsher
Chapter 3: PCM Noise and Companding
Pulse Amplitude Modulation and Pulse Code Modulation
Sampling and Quantization
Pulse Amplitude Modulation dan Pulse Code Modulation
Chapter 3 Sampling.
Presentation transcript:

Digital Telephony1

2 Analog/digital systems Analog signal -voltage -speech -pressure SP Analog Sampler Discrete signal F s  F max Quantiz- er Error is introduced Digital signal A/D converter or data from -tape -simulations -digital devices DSP Digital Signal Processor -digital computer -dedicated dig. hw -programmable hw Digital signal D/A Analog signal

Digital Telephony 3 Issues F Reconstruction accuracy  Conditions for perfect reconstruction F Digital signal is not just an approx. representation of an analog signal  Could be generated digitally  The processing being performed may not be realizable in analog F The theory of discrete time signal processing is independent of continuous

Digital Telephony 4 Digital vs. analog processing F DSP implementations are flexible, programmable and modular F More precise and repeatable F Performance and cost effectiveness (riding the microelectronics wave) F Direct mapping of mathematical expressions with less approximation possible (enables sophisticated algorithms)

Digital Telephony 5 Digital vs. analog... F Digital hardware can be multiplexed better than analog. Allows integration of multiple operations and services on a h/w platform F Digital storage is more reliable, cheaper and more compact

Digital Telephony 6 On the other hand F Analog SP still offers higher bandwidth F Higher dynamic range F Can be very low power

Digital Telephony 7 Analog to Digital Conversion F To convert “real-world” analog signals to digital signals for processing F Sampling F Quantizing and coding Xa(t)Xa(t) X [n] Xq[n]Xq[n] Sampler Quantizer and Coder Analog signal Discrete signal Digital signal

Digital Telephony 8 Sampling F Uniform  One sample every T seconds (ideally)  x[n] = x a (nT),  n   Sampling period: T  Sampling frequency: F s =1/T  Assume: x a (t) = Acos( 2  Ft+  ) = Acos(  t+  )  Then: x[n] = Acos[2  FnT+  ] = Acos[  Tn+  ] = Acos[  n+  ], where   T is called the normalized or discrete domain frequency

Digital Telephony 9 F f = F/ F s must be rational in order for x[n] to be periodic F If f = k/N, then x[n] is periodic with period N  Now, x a (nT) = Acos(  Tn+  ) = Acos((  +2  k/T  Tn+  ) is periodic in  with period 2  /T  Also, x[n] = Acos[  n+  ] = Acos[(  +2  k) n +  ] is periodic in  with period 2 

Digital Telephony 10 xa(t)xa(t) n=   S(t) =   (t  nT)  x s (t) =  x a (nT)   (t  nT) n=   convert to discrete sequence x[n] = x a (nT)

Digital Telephony 11 F Let us look at the continuous time Fourier transform of x s (t) X s (j  ) = X a (j  ) * S(j  ) S(j  ) =   k  s  X s (j  ) =  X a (j  kj  s ) 2T2T  k=  1 2  1T1T k=  

Digital Telephony 12  Thus, X a (j  ) must be bandwidth limited  If the max frequency in X a (j  ) is  N, then the sampling rate  s  2  N  ensures no information is lost due to aliasing F This sampling rate is known as Nyquist rate F A lower sampling rate causes a distortion of the signal due to Aliasing F If no Aliasing occurs, the signal can be perfectly reconstructed by passing through an ideal low pass filter with

Digital Telephony 13 Reconstruction X r (j  ) = H r (j  ) X s (j  ) if  N  c  (  s  N ) then X r (j  ) = X c (j  ) Hr(j)Hr(j)  c cc  s >2   Xs(j)Xs(j)

Digital Telephony 14 Reconstruction Frequency response of ideal reconstruction filter  c cc T Impulse response of ideal reconstruction filter H r (j  ) = { T,  c  c 0, otherwise h r (t)= sin  t/T  t/T

Digital Telephony 15 Reconstruction  X r (j  ) = H r (j  ) X s (j  ) F x r (t) = x s (t) * h r (t) = [  k  x a (kT)  t-kT    h r (t) =  k  x a (kT) h r (t-kT)  k  x a (kT)    sin  t-nT)/T  t-nT)/T

Digital Telephony 16 xa(t)xa(t) xs(t)xs(t) hr(t)hr(t) xr(t)xr(t)

Digital Telephony 17 Sampling theorem  If the highest frequency contained in a signal x a (t) is  0 and the signal is uniformly sampled at a rate  s  0, then x a (t) can be exactly recovered from its sample values using the interpolation function and then x a (t) =  k  x a (kT) h r (t-kT), where {x a (kT) } are the samples of x a (t), and T=2  s h r (t)= sin  t/T  t/T 

Digital Telephony 18 Quantization and coding F Quantization:  Converting discrete time signal to digital  x q (n) =Q [x(n)]  Quantization step

Digital Telephony 19 x Q(x)               

Digital Telephony 20 Quantization F Rounding: Assign x[n] to the closest quantization level F Quantization error e q [n] = x q [n] - x[n]  e q [n]   Uniformly distributed u mean = 0  variance =   

Digital Telephony 21 Quantization F Range of quantizer: x max -x min F Quantization levels: m F Assuming uniform quantization   =  X m / (m-1) where X m = (x max -x min )/2 is called the full-scale level of the A/D converter m-1 x max -x min

Digital Telephony 22 Coding F Coding is the process of assigning a unique binary number to each quantization level  Number of bits required  log 2 m F Alternatively, given b+1 bits  x max -x min )/2 b+1 =X m /2 b F For A/D devices, the higher F s and m, the less the error (and the more the cost of the device)

Digital Telephony 23 F Assuming dynamic range of A/D converter is larger than signal amplitude  SNR = 10 log 10 (  x  e ) = 10 log 10 (  x    ) = 10 log 10 (12.2 2b  x /  X m  ) =6.02b log 10 (X m /  x ) Quantizer + x(n) x q (n) x(n) x q (n) e q (n)

Digital Telephony 24 Uniformly Encoded PCM X/Xm Number of bits per sample dB Signal to Quantiiation Noise Ratio (dB)

Digital Telephony 25 Example F What is the minimum bit rate that a uniform PCM encoder must provide to encode a high fidelity audio signal with a dynamic range of 40 dB? Assume the fidelity requirements dictate passage of a 20-kHz bandwidth with a minimum signal-to-noise ratio of 50 dB. For simplicity, assume sinusoidal input signals.

Digital Telephony 26 Companding F Companded PCM with analog compression and expansion A/D Compression Linear PCM Encoder Input Signal D/A Linear PCM Decoder Expansion Output Signal Compressed Digital Codewords

Digital Telephony 27 Segment Approximation Input Sample Values Uniform quantization

Digital Telephony 28 T1 Channel Bank A/D D/A T1 transmission Line Analog Inputs Eigth bits per PCM code word companding functions with mu=255

Digital Telephony 29 Performance of a  Encoder dB Signal Power of sinewave (dBm0) Signal-to-quantization noise ratio (dB) 8 bit  bit  100 Piecewise linear 8 bit 

Digital Telephony 30 Total Noise Power Signal Power relative to full-load signal (dBm0) dB at which persons find communication difficult Signal-to-total noise noise ratio dB dB required for good communication 40 dB range of possible signals

Digital Telephony 31 Error Performance F Fewer than 10% of 1 min intervals to have BER worse than 10E-6 F Fewer than 0.2% of 1 sec intervals to have BER worse than 10E-3 F 92% error free sec

Digital Telephony 32 DS1 Signal Format  (8x24)+1=193 bits in 125  s F 193 x 8000 = Mbs F Bit “robbing” technique used on each sixth frame to provide signaling information

Digital Telephony 33 Plesiochronous Transmission Rates 64 kbits/s Japanese StandardNorth America Standard European Standard 1544 kbits/s 2048 kbits/s 8448 kbits/s kbits/s kbits/s kbits/s 6312 kbits/s kbits/s kbits/s kbits/s kbits/s x24 x30 x4 x3 x4 x3 x4 x5x7 x6 x4 x3

Digital Telephony 34 Plesiochronous Digital Hierarchy

Digital Telephony 35

Digital Telephony 36 Plesiochronous Digital Hierarchy F The output of the M12 multiplexer is operating 136 kbs faster than the agragate rate of four DS vs 4x1.544=6.176 F M12 frame has 1176 bits, i.e. 294-bit subframes ; each subframe is made of up of 49-bits blocks; each block starts with a control bit followed by a 4x12 info bits from four DS1 channels

Digital Telephony 37 Makeup of a DS2 Frame M C F C C F M C F C C F Bit stuffing F 4 M bits (O11X X=0 alarm) F C=000,111 bit stuffing present/absent F nominal stuffing rate 1796 bps, max 5367

Digital Telephony 38 Regenerative Repeaters Amplifier Equalizer Input Timing recovery Regenerator Output F Spacing between adjacent repeaters

Digital Telephony 39 Digital Transmission Systems

Digital Telephony 40 PCM System Enhancements F North America  Superframe of 12 DS0’s has a sync sequence for odd ( for even frames) F Extended superframe  24 frames - (4 S bits for frame allignment signal); 6 S bits for CRC-6 check; the rest 12 constitute 4 kbs data link