© 2006 Cisco Systems, Inc. All rights reserved. 2.2: Digitizing and Packetizing Voice.

Slides:



Advertisements
Similar presentations
Chapter 3: PCM Noise and Companding
Advertisements

Speech Coding Techniques
Analogue to Digital Conversion (PCM and DM)
Analog-to-Digital Conversion
Physical Layer – Part 2 Data Encoding Techniques
4.2 Digital Transmission Pulse Modulation (Part 2.1)
Physical Layer CHAPTER 3. Announcements and Outline Announcements Credit Suisse – Tomorrow (9/9) Afternoon – Student Lounge 5:30 PM Information Session.
8/16/20021 Digital Transmission Key Learning Points Fundamentals of Voice Digitization Pulse Code Modulation Quantification Noise Multiplexed Digital Lines.
Optimizing Converged Cisco Networks (ONT)
Abdellatif O. Abdellatif Sudatel Telecom Group Voice Over IP.
1 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public IP Telephony Introduction to Packet Voice Technologies Cisco Networking Academy Program.
Digital Voice Communication Link EE 413 – TEAM 2 April 21 st, 2005.
Chapter 2 Fundamentals of Data and Signals
1 K. Salah Module 3.1: Encoding and Modulating Conversion Schemes D to D Conversion A to A Conversion A to D Conversion D to A Conversion Final comments.
Chapter 2: Fundamentals of Data and Signals. 2 Objectives After reading this chapter, you should be able to: Distinguish between data and signals, and.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
Fundamental of Wireless Communications ELCT 332Fall C H A P T E R 6 SAMPLING AND ANALOG-TO-DIGITAL CONVERSION.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
Chapter 4 Digital Transmission
Waveform SpeechCoding Algorithms: An Overview
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
Digital Communication Techniques
1/21 Chapter 5 – Signal Encoding and Modulation Techniques.
Fundamentals of Digital Communication
McGraw-Hill©The McGraw-Hill Companies, Inc., 2001 Data Transmission Techniques Data to be transmitted is of two types 1.Analog data 2.Digital data Therefore,
Chapter Seven: Digital Communication
DIGITAL VOICE NETWORKS ECE 421E Tuesday, October 02, 2012.
COSC 3213 – Computer Networks I Summer 2003 Topics: 1. Line Coding (Digital Data, Digital Signals) 2. Digital Modulation (Digital Data, Analog Signals)
Data Communications & Computer Networks, Second Edition1 Chapter 2 Fundamentals of Data and Signals.
Computer Networks Digitization. Spring 2006Computer Networks2 Transfer of an Analog Signal  When analog data (voice, pictures, video) are transformed.
© 2006 Cisco Systems, Inc. All rights reserved. QOS Lecture 2 - Introducing VoIP Networks.
Pulse Code Modulation (PCM)
10/6/2015 3:12 AM1 Data Encoding ─ Analog Data, Digital Signals (5.3) CSE 3213 Fall 2011.
Professor: Dr. Miguel Alonso Jr.
Introduction to Packet Voice Technologies Cisco Networking Academy Program.
© 2006 Cisco Systems, Inc. All rights reserved. Optimizing Converged Cisco Networks (ONT) Module 2: Cisco VoIP Implementations.
Chapter 5. Pulse Modulation
3-2008UP-Copyrights reserved1 ITGD4103 Data Communications and Networks Lecture-11:Data encoding techniques week 12- q-2/ 2008 Dr. Anwar Mousa University.
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.
LOG Objectives  Describe some of the VoIP implementation challenges such as Delay/Latency, Jitter, Echo, and Packet Loss  Describe the voice encoding.
Chapter 4 Digital Transmission
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Excerpts from Slides of Chapter 4 Forouzan Digital Transmission.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 4 Digital Transmission.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2014.
Voice Sampling. Sampling Rate Nyquist’s theorem states that a signal can be reconstructed if it is sampled at twice the maximum frequency of the signal.
4.2 Digital Transmission Pulse Modulation Pulse Code Modulation
COMPANDING - is the process of compressing and then expanding
Pulse Code Modulation (PCM) Analog voice data must be translated into a series of binary digits before they can be transmitted. With Pulse Code Modulation.
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
Introduction to Packet Voice Technologies
Chapter 4. Digital Transmission
Chapter 4: Second generation Systems-Digital Modulation
COMPUTER NETWORKS and INTERNETS
Figure 3–1 PAM signal with natural sampling.
Analog to digital conversion
Topics discussed in this section:
DATA COMMUNICATION Lecture-16.
UNIT – III I: Digital Transmission.
Chapter 4 Digital Transmission
INTRODUCTION TO TELEPHONY BY : ITZIK CHOEN
4.1 Chapter 4 Digital Transmission Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Physical Layer – Part 2 Data Encoding Techniques
CS 4594 Data Communications
4.2 Digital Transmission Pulse Modulation (Part 2.1)

Analog to Digital Encoding
Physical Layer – Part 2 Data Encoding Techniques
Presentation transcript:

© 2006 Cisco Systems, Inc. All rights reserved. 2.2: Digitizing and Packetizing Voice

© 2006 Cisco Systems, Inc. All rights reserved. Objectives  Describe the process of analog to digital conversion.  Describe the process of digital to analog conversion.  Explain how sampling rates are determined using the Nyquist Theorem.  Explain how quantization can lead to noise.  Explain how MOS is used to judge voice quality.  Describe the purpose of DSPs.

© 2006 Cisco Systems, Inc. All rights reserved. Basic Voice Encoding: Converting Analog Signals to Digital Signals  Step 1: Sample the analog signal.  Step 2: Quantize sample into a binary expression.  Step 3: Compress the samples to reduce bandwidth.

© 2006 Cisco Systems, Inc. All rights reserved. Basic Voice Encoding: Converting Digital Signals to Analog Signals  Step 1: Decompress the samples.  Step 2: Decode the samples into voltage amplitudes, rebuilding the PAM signal.  Step 3: Reconstruct the analog signal from the PAM signals.

© 2006 Cisco Systems, Inc. All rights reserved. Determining Sampling Rate with the Nyquist Theorem  The sampling rate affects the quality of the digitized signal.  Applying the Nyquist theorem determines the minimum sampling rate of analog signals.  Nyquist theorem requires that the sampling rate has to be at least twice the maximum frequency.

© 2006 Cisco Systems, Inc. All rights reserved. Example: Setting the Correct Voice Sampling Rate  Human speech uses 200–9000 Hz.  Human ear can sense 20–20,000 Hz.  Traditional telephony systems were designed for 300–3400 Hz.  Sampling rate for digitizing voice was set to 8000 samples per second, allowing frequencies up to 4000 Hz.

© 2006 Cisco Systems, Inc. All rights reserved. Quantization  Quantization is the representation of amplitudes by a certain value (step).  A scale with 256 steps is used for quantization.  Samples are rounded up or down to the closer step.  Rounding introduces inexactness (quantization noise).

© 2006 Cisco Systems, Inc. All rights reserved. Quantization Techniques  Linear quantization: Lower SNR on small signals (worse voice quality) Higher SNR on large signals (better voice quality)  Logarithmic quantization provides uniform SNR for all signals: Provides higher granularity for lower signals Corresponds to the logarithmic behavior of the human ear

© 2006 Cisco Systems, Inc. All rights reserved. Digital Voice Encoding  Each sample is encoded using eight bits: One polarity bit Three segment bits Four step bits  Required bandwidth for one call is 64 kbps (8000 samples per second, 8 bits each).  Circuit-based telephony networks use TDM to combine multiple 64-kbps channels (DS-0) to a single physical line.

© 2006 Cisco Systems, Inc. All rights reserved. Companding  Companding — compressing and expanding  There are two methods of companding: Mu-law, used in Canada, U.S., and Japan A-law, used in other countries  Both methods use a quasi-logarithmic scale: Logarithmic segment sizes Linear step sizes (within a segment)  Both methods have eight positive and eight negative segments, with 16 steps per segment.  An international connection needs to use A-law; mu-to- A conversion is the responsibility of the mu-law country.

© 2006 Cisco Systems, Inc. All rights reserved. Coding  Pulse Code Modulation (PCM) Digital representation of analog signal Signal is sampled regularly at uniform levels Basic PCM samples voice 8000 times per second Basis for the entire telephone system digital hierarchy  Adaptive Differential Pulse Code Modulation Replaces PCM Transmits only the difference between one sample and the next

© 2006 Cisco Systems, Inc. All rights reserved. Common Voice Codec Characteristics ITU-T Standard CodecBit Rate (kbps) G.711PCM64 G.726ADPCM16, 24, 32 G.728LDCELP (Low Delay CELP)16 G.729CS-ACELP8 G.729A CS-ACELP, but with less computation 8

© 2006 Cisco Systems, Inc. All rights reserved. Mean Opinion Score

© 2006 Cisco Systems, Inc. All rights reserved. A Closer Look at a DSP A DSP is a specialized processor used for telephony applications:  Voice termination: Works as a compander converting analog voice to digital format and back again Provides echo cancellation, VAD, CNG, jitter removal, and other benefits  Conferencing: Mixes incoming streams from multiple parties  Transcoding: Translates between voice streams that use different, incompatible codecs DSP Module Voice Network Module

© 2006 Cisco Systems, Inc. All rights reserved. DSP Used for Conferencing  DSPs can be used in single- or mixed-mode conferences: Mixed mode supports different codecs. Single mode demands that the same codec to be used by all participants.  Mixed mode has fewer conferences per DSP.

© 2006 Cisco Systems, Inc. All rights reserved. Example: DSP Used for Transcoding

© 2006 Cisco Systems, Inc. All rights reserved. Self Check 1.What sampling frequency is recommended by the Nyquist Theorem for reconstruction of a signal? 2.What is the Hz range for traditional telephone systems? 3.What is the implication of using 8 bits for quantization? 4.What is the purpose of logarithmic quantization? 5.What is MOS?

© 2006 Cisco Systems, Inc. All rights reserved. Summary  Voice-enabled routers convert analog voice signals to digital format for encapsulation in IP packets and transport over IP networks. These packets are converted back to analog at the other end.  Quantization is the process of selecting binary values to represent voltage levels of voice samples. Quantization errors arise when too few samples are taken.  There are two methods of companding: Mu-law, used in Canada, U.S., and Japan, and A-law, used in other countries.  The Mean Opinion Score (MOS) provides a numerical indication of the perceived quality of received media after compression and/or transmission.