Professional Documents
Culture Documents
4 Voice - PCM
4 Voice - PCM
1
Content
• Introduction
• Unified Communication Model
• Voice characteristics
• MOS, PESQ
• Sampling, quantization, coding
• Companding
• DSP Functions
2
Unified Communication Model
Endpoints IP Phones
IP Communicator
Applications Unity messaging
Emergency Responder
Unified Customer Contact Solution
Call Control Unified Communications Manager
Infrastructure Routing
Switching
Quality of Service (QoS)
Management
Security
3
Infrastructure
• Data, voice & video on the same hardware
4
The Call Control Layer
• Call Manager (CM) resides on this layer.
• Functions provided:
– Call processing
– Call signaling
– Endpoint control
– Dial plan control
– Media resource management
– User management
5
The Applications Layer
6
The Endpoints Layer
7
Data
• Data tends to demand high bandwidth and bursty in
nature (high bandwidth requirement but over a short
period of time followed by zero usage)
8
Voice
9
Properties of Speech
• Wide dynamic range
– From very soft to very loud
– We speak softly most of the time
– Companding is the technique used to accommodate
the wide dynamic range and at the same time maintain
a consistent signal to quantization noise ratio.
11
Curves of Equal Loudness
http://www.phys.unsw.edu.au/jw/hearing.html
12
Voice Quality Measurements
13
Mean Opinion Score (MOS)
• Uses a trained ear to judge the quality of voice.
MOS Meaning
Score
1 Bad
2 Poor
3 Fair
4 Good
5 Excellent
14
PESQ
• Perceptual Evaluation of Speech Quality
15
Quality of IP Voice
• Quality of IP voice is determined by
- Delay: one way delay < 150ms
- Jitter: different queuing time
- Packet loss: due to heavy router load
16
Codec
17
How Voice is Coded Digitally for VoIP?
• Waveform Codec
– Companding PCM (Pulse Code Modulation) 64kbps
– ADPCM (Adaptive Differential PCM) 32 kbps
18
Aliasing – Effect of Undersampling
20
PCM = Sampling + Quantizing + Encoding
Discrete in time
Analog in amplitude
Quantizer
Discrete in time
Discrete in amplitude
Encoder
21
Digitialisation
Switch: sampling Output PCM Codeword
Capacitor: holding 1’s and 0’s
Frequency band
limited analog signal
22
Sampler is a Multiplier in Time
X
Sampler
23
Sampler is a Multiplier in Time
Discrete in time
Analog in amplitude
24
Sample and Hold
Sampler
Discrete in time
Sample and Hold Analog in amplitude
Pulse Amplitude Modulation (PAM)
25
Quantization
26
Transmitter Compandor
27
Receiver Compandor
Output
Voltage
The receiver characteristics is
inverse that of the transmitter
∆y
characteristics.
∆x
Voltage at the transmitter and receiver is
a linear characteristics.
29
Digital Signal Processor (DSP)
30
Secondary Functions of DSP
• Echo cancellation
– Echo occurs when one hears the same sound after some delay.
– In a purely VoIP environment, echo is usually caused at the far
end due to acoustic feedback.
– Echo degrades the quality of the call when it is loud and delayed.
– Echo is more noticeable in VoIP than PSTN because of the
inherent delay in IP network.
– Echo cancellation is performed by default in VoIP.
31
Secondary Functions of DSP
32
Thank you
33