cellular communications
DESCRIPTION
Cellular Communications. 5. Speech Coding. Low Bit-rate Voice Coding. Voice is an analogue signal Needed to be transformed in a digital form (bits) Speech signal is not random=>can be encoded using fewer bits as compared to random signal - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/1.jpg)
CELLULAR COMMUNICATIONS5. Speech Coding
![Page 2: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/2.jpg)
Low Bit-rate Voice Coding Voice is an analogue signal Needed to be transformed in a digital
form (bits) Speech signal is not random=>can be
encoded using fewer bits as compared to random signal
If bits representing 1sec of speech can transferred over wireless channel during 200ms=> can pack 5 signals into the channel
For a handset transmitting less bits is also means longer battery life
![Page 3: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/3.jpg)
Requirement for speech coding Can distort a speech a little bit (lossy)
but should preserve acceptable quality
Shouldn’t be to complex Use less power Use less circuits Reduce delay
![Page 4: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/4.jpg)
Hierarchy of speech coders
![Page 5: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/5.jpg)
Waveform Coders vs. VOCODERS Waveform coders
Approximate any acoustic signal
VOCODERS Based on prior knowledge of the signal Speech signals are very special signals
![Page 6: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/6.jpg)
Speech signals Not all levels of a speech signal are
equally likely High probabilities of very low amplitudes Significant probability of very high
amplitudes Monotonically decreasing probabilities of
amplitudes between these two extremes Speech is predictable
The next value of a speech signals can be predicted with large probability and fair precision from the past samples
![Page 7: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/7.jpg)
Speech in frequency domain Power of high frequency components is
small High frequency components when
present are very important for speech quality
![Page 8: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/8.jpg)
Sampling and quantization Speech signal is analog, measured at
infinitely many time instances and infinitely many possible values
Sampling: measure signal at finite time instances (sampling interval)
Quantization: approximate infinitely many possible values by finite number of possible values (e.g. 8 bits)
![Page 9: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/9.jpg)
Uniform quantization Divide the range of all possible values
into finite number of equal intervals Assign single quantization value to all
values within the interval
![Page 10: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/10.jpg)
Non-uniform quantization Divide the range of all possible values into
finite number of unequal but equally probable intervals
Logarithmic quantization: smaller intervals at low amplitudes
Different weight to low values US: -Law Europe: A-low
![Page 11: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/11.jpg)
-Law
![Page 12: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/12.jpg)
A-law
![Page 13: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/13.jpg)
Adaptive quantization Adjust to input signal power
![Page 14: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/14.jpg)
Rate-Distortion Theorem Shannon: There existing a mapping from source
waveform to code words such that for given distortion (error) D, R(D) bits per sample is sufficient to restore signal with an average distortion arbitrary close to D
R(D) is called rate distortion formula (achievable low bound)
Scalar quantization does not achieve this bound
![Page 15: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/15.jpg)
Vector quantization Encode a segment of
sampled analog signal (e.g. L samples)
Use codebooks of n vectors Segment all possible
samples of dimension L into areas of equal probability
Very efficient at very low rates( R=0.5 bits per sample)
![Page 16: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/16.jpg)
Learning codebook
LBG: Split areas (double codebook)
![Page 17: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/17.jpg)
Adaptive Differential Pulse Code Modulation
PCM Each sample representing by its amplitude
(8 bits) Standard telephony: 8K samples per
second, 8 bit per sample= 64kbps DPCM
Encode only difference from previous sample
Smaller differences are more often Use less bits to represent smaller
differences(4 bits) but more bits (10 bits) to represent larger differences
![Page 18: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/18.jpg)
DPCM and prediction
![Page 19: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/19.jpg)
ADPCM Use more complex prediction in a
transmitter/receiver to estimate next sample value
Transmitter send only difference between estimation and real value
Lossy codec: transmit approximate differences
Hopefully difference will be small
![Page 20: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/20.jpg)
Frequency Domain Coding of Speech
Divide speech signal into a set of frequency components
Quantize and encode each component separately
Control number of bits/quality allocate to each band
![Page 21: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/21.jpg)
Sub-band coding Human ear does not detect error at all
frequencies equally well
![Page 22: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/22.jpg)
SBC
![Page 23: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/23.jpg)
Vocoders Model speech signal generation process Transmitter analyze the voice signal
according to assumed model Transmitter sends parameters driveled
from the analysis Receiver synthesize voice based on
received parameters Vocoders are much more complex that
waveform coders but achieve higher economy in a bit rate
![Page 24: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/24.jpg)
Human Vocal Tract
![Page 25: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/25.jpg)
Voice Generation Model
![Page 26: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/26.jpg)
LPC
![Page 27: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/27.jpg)
Advanced codecs CELP
Transmitter/Receiver share common pitch codebook
Search for most suitable pitch code
RELP Transmit model parameters Also transmit Residual(differences) signal
![Page 28: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/28.jpg)
Mean Opinion Score Quality Rating
![Page 29: Cellular Communications](https://reader035.vdocuments.site/reader035/viewer/2022081604/568164d0550346895dd6fbf9/html5/thumbnails/29.jpg)
Codec MOS rating