Lesson 2.2: Digitizing and Packetizing Voice. Optimizing Converged Cisco Networks (ONT) Module 2: Cisco VoIP Implementations

Similar documents
Professor Laurence S. Dooley. School of Computing and Communications Milton Keynes, UK

Digital Representation

1 Introduction to PSQM

DIGITAL COMMUNICATION

CAP240 First semester 1430/1431. Sheet 4

Department of Communication Engineering Digital Communication Systems Lab CME 313-Lab

PCM ENCODING PREPARATION... 2 PCM the PCM ENCODER module... 4

Digital Signal. Continuous. Continuous. amplitude. amplitude. Discrete-time Signal. Analog Signal. Discrete. Continuous. time. time.

Ch. 1: Audio/Image/Video Fundamentals Multimedia Systems. School of Electrical Engineering and Computer Science Oregon State University

IP Telephony and Some Factors that Influence Speech Quality

INTERNATIONAL TELECOMMUNICATION UNION GENERAL ASPECTS OF DIGITAL TRANSMISSION SYSTEMS PULSE CODE MODULATION (PCM) OF VOICE FREQUENCIES

ELEC 691X/498X Broadcast Signal Transmission Fall 2015

ATSC vs NTSC Spectrum. ATSC 8VSB Data Framing

2.1 Introduction. [ Team LiB ] [ Team LiB ] 1 of 1 4/16/12 11:10 AM

Audio and Other Waveforms

Experiment 2: Sampling and Quantization

Introduction to Computers and Programming

Audio Compression Technology for Voice Transmission

Chapter 14 D-A and A-D Conversion

OPERA APPLICATION NOTES (1)

QUIZ. Explain in your own words the two types of changes that a signal experiences while propagating. Give examples!

REGIONAL NETWORKS FOR BROADBAND CABLE TELEVISION OPERATIONS

Predicting Performance of PESQ in Case of Single Frame Losses

DELTA MODULATION AND DPCM CODING OF COLOR SIGNALS

Exercise 1-2. Digital Trunk Interface EXERCISE OBJECTIVE

Introduction to Data Conversion and Processing

DVM-3000 Series 12 Bit DIGITAL VIDEO, AUDIO and 8 CHANNEL BI-DIRECTIONAL DATA FIBER OPTIC MULTIPLEXER for SURVEILLANCE and TRANSPORTATION

Proposed pads and levels are optimised for the long-term "all-digital" situation;

Fundamentals of DSP Chap. 1: Introduction

Multimedia Networking

Introduction. TDM Techniques. Agenda. Point-To-Point Channels

EEC-682/782 Computer Networks I

Supplementary Course Notes: Continuous vs. Discrete (Analog vs. Digital) Representation of Information

Digital Television Fundamentals

EC 6501 DIGITAL COMMUNICATION

Audio and Video II. Video signal +Color systems Motion estimation Video compression standards +H.261 +MPEG-1, MPEG-2, MPEG-4, MPEG- 7, and MPEG-21

COSC3213W04 Exercise Set 2 - Solutions

Content storage architectures

Data Converters and DSPs Getting Closer to Sensors

EarStudio: Analog volume control. The importance of the analog volume control

Introduction to Digital Signal Processing (DSP)

Elegance Series Components / New High-End Audio Video Products from Esoteric

Synchronization Issues During Encoder / Decoder Tests

SERIES H: AUDIOVISUAL AND MULTIMEDIA SYSTEMS Infrastructure of audiovisual services Coding of moving video

10 Gb/s Duobinary Signaling over Electrical Backplanes Experimental Results and Discussion

Using the VideoEdge IP Encoder with Intellex IP

Communication Lab. Assignment On. Bi-Phase Code and Integrate-and-Dump (DC 7) MSc Telecommunications and Computer Networks Engineering

A. All equipment and materials used shall be standard components that are regularly manufactured and used in the manufacturer s system.

Simulation analysis of the transmission gaps influence on the decoding processes in the NS-DM system

Digital Signal Processing Lecture One Introduction to Digital Signal Processing Third Stage Prepared by: Marwah Kareem

CS311: Data Communication. Transmission of Digital Signal - I

Digital Fundamentals. Introduction to Digital Signal Processing

RF (Wireless) Fundamentals 1- Day Seminar

Ending the Multipoint Videoconferencing Compromise. Delivering a Superior Meeting Experience through Universal Connection & Encoding

Title: Lucent Technologies TDMA Half Rate Speech Codec

MULTIMEDIA COMPRESSION AND COMMUNICATION

Generation and Measurement of Burst Digital Audio Signals with Audio Analyzer UPD

Digital Audio and Video Fidelity. Ken Wacks, Ph.D.

Switching Q1. (1) Explain the major components of a telephone exchange and explain their limiting factors

By Tom Kopin CTS, ISF-C KRAMER WHITE PAPER

Copyright Warning & Restrictions

Microwave PSU Broadcast DvB Streaming Network

Datasheet SHF A Multi-Channel Error Analyzer

Digital Video Telemetry System

CHAPTER. Survey Tools

Digital Video Engineering Professional Certification Competencies

Chapter 10 Basic Video Compression Techniques

MULTI-STATE VIDEO CODING WITH SIDE INFORMATION. Sila Ekmekci Flierl, Thomas Sikora

ETSI TS V3.0.2 ( )

ADPCM Voice Compression Options for Sprint 2 TDM

Illinois Telephone Users Group. Peoria, IL June 6, 2007

Video compression principles. Color Space Conversion. Sub-sampling of Chrominance Information. Video: moving pictures and the terms frame and

ENGINEERING COMMITTEE

Digital Effects Pedal Description Ross Jongeward 10 December 2014

Multimedia Communication Systems 1 MULTIMEDIA SIGNAL CODING AND TRANSMISSION DR. AFSHIN EBRAHIMI

Introduction to image compression

COLUMBIA COUNTY, WISCONSIN COURTROOM VIDEO CONFERENCE & AV SYSTEMS REQUEST FOR PROPOSALS

An Overview of Video Coding Algorithms

IMPROVED ERROR RESILIENCE FOR VOLTE AND VOIP WITH 3GPP EVS CHANNEL AWARE CODING

Techniques for Extending Real-Time Oscilloscope Bandwidth

Datasheet SHF A

Digital Audio Design Validation and Debugging Using PGY-I2C

Test Automation Tool for POLQA and PESQ Speech Quality Tests Application Note

Transmission System for ISDB-S

Laboratory 5: DSP - Digital Signal Processing

THE CAPABILITY of real-time transmission of video over

ETSI TR V1.1.1 ( )

Cisco D9894 HD/SD AVC Low Delay Contribution Decoder

BER MEASUREMENT IN THE NOISY CHANNEL

Exercise 2-1. External Call Answering and Termination EXERCISE OBJECTIVE

Experiment 13 Sampling and reconstruction

SingMai Electronics SM06. Advanced Composite Video Interface: HD-SDI to acvi converter module. User Manual. Revision 0.

TCF: Hybrid fibre coax systems Online course specification

ECE 5765 Modern Communication Fall 2005, UMD Experiment 10: PRBS Messages, Eye Patterns & Noise Simulation using PRBS

Principles of Video Compression

ELEC 310 Digital Signal Processing

Convention Paper 6930

LOW POWER DIGITAL EQUALIZATION FOR HIGH SPEED SERDES. Masum Hossain University of Alberta

Basics of BISS scrambling. Newtec. Innovative solutions for satellite communications

Chapter 1. Introduction to Digital Signal Processing

Transcription:

Optimizing Converged Cisco Networks (ONT) Module 2: Cisco VoIP Implementations Lesson 2.2: Digitizing and Packetizing Voice

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. 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.

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. 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.

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. 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).

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 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.

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. 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

Common Voice Codec Characteristics ITU-T Standard Codec Bit Rate (kbps) G.711 PCM 64 G.726 ADPCM 16, 24, 32 G.728 LDCELP (Low Delay CELP) 16 G.729 CS-ACELP 8 G.729A CS-ACELP, but with less computation 8 Mean Opinion Score

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 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.

Example: DSP Used for Transcoding 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?

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. Q and A

Resources Voice Codec Bandwidth Calculator (requires CCO login) http://tools.cisco.com/support/vbc/do/codeccalc1.do DSP Calculator http://www.cisco.com/cgi-bin/support/dsp/dsp-calc.pl Free VoIP Quality Tester http://www.testyourvoip.com/