unit 3 - bandwidth efficient schemes
TRANSCRIPT
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
1/45
DT008 COMM2108
1
Digital CommunicationsEngineering 1
(COMM2108)
Bandwidth Efficient Schemes
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
2/45
DT008 COMM2108
2
Bandwidth Efficient Schemes
The bandwidth (BW) of a digital signal depends on
the bit rate and the pulse shape used. Thedimensionality theoremsays that the bandwidth
of a digital signal is bounded by
whereRbis the bit rate. Note that this is a lower bound, in general the
bandwidth will be very much greater.
bRBW 21
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
3/45
DT008 COMM2108
3
Bandwidth Efficient Schemes
Considering the case of PCM, the bit rate
wherenis the number of bits in the code word andfs
is the sampling rate. To avoid aliasing
whereBis the bandwidth of the baseband analoguewaveform,
sb nfR =
Bfs 2
nBRb 2
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
4/45
DT008 COMM2108
4
Bandwidth Efficient Schemes
The resulting PCM signal will have a bandwidth
Since typicallyn= 8,12,14 the bandwidth of the PCM
signal will be considerably larger than that of theoriginal analogue baseband signal.
However, PCM is widely used despite the usual
concerns about conserving bandwidth as theadvantages of the digital format far outweigh the
bandwidth penalty.
nBBWPCM
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
5/45
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
6/45
DT008 COMM2108
6
Bandwidth Efficient Schemes
The key strategy is low data rate speech encoding isto remove redundant information from the speechwaveform.
Redundant information is unnecessary or superfluousinformation that may be removed from a waveform
and still not adversely affect its intelligibility. By removing redundant information, the bit rate can
be reduced and hence the bandwidth occupied bysignal can also be reduced.
This allows for more users to be accommodatedwithin a given spectrum allocation which leads to anincreased system capacity.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
7/45
DT008 COMM2108
7
Bandwidth Efficient Schemes
There is a high degree ofcorrelationbetween closelyspaced samples of human speech.
Human speech is said to contain redundantinformation, i.e. the same or very similar information
tends to reside in two or more adjacent samples.
Consequently, valuable information is wasted intransmitting this unnecessary information.
Moreover, if this redundant information could beremoved from the signal, a more spectrally efficientsignal should result.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
8/45
DT008 COMM2108
8
Bandwidth Efficient Schemes
Human speech contains significant redundancy
which means that the changes in signal amplitudebetween adjacent sample values will be quite small.
This inter-sample dependence can be exploited toremove the redundancy from speech waveforms.
There are a number of techniques, known asdifferential techniques, that deliberately exploit thisfeature in order to realise a more efficientrepresentation of the speech waveform.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
9/45
DT008 COMM2108
9
Bandwidth Efficient Schemes
The main differential techniques include:
Delta PCM
Differential PCM (DPCM)
Adaptive Differential PCM (ADPCM)
Delta Modulation (DM) Adaptive Delta Modulation (ADM)
The basic concept behind these differentialtechniques is to transmit information about thechanges in sample value rather than the actualsample values themselves.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
10/45
DT008 COMM2108
10
Bandwidth Efficient Schemes
In Delta PCM, at the transmitter the difference
between adjacent sample values is generated andencoded using PCM but with a reduced code word.
Since the differences between sample values will besignificantly less than the actual sample values, thesedifferences can be encoded using fewer bits thanwould be the case with conventional PCM.
At the receiver, a summing operation isimplemented to reconstruct the sample values.
The main disadvantage with this technique is that itcannot accommodate rapidly varying waveforms.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
11/45
DT008 COMM2108
11
Bandwidth Efficient Schemes
In differential PCM (DPCM) another feature ofredundancy is exploited, namely that future samplevalues can be predicted (within certain confidencelimits) from the current and past sample values.
This technique is known as linear predictionwhere
the value of next sample is inferred or estimated frompast sample values.
DPCM uses an algorithm called apredictorto predictthe next sample value.
In DPCM, it is the difference between the actualsample value and the predicted sample value that istransmitted.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
12/45
DT008 COMM2108
12
Bandwidth Efficient Schemes
Ifg(t)represents the input analogue waveform, then
g(kTs)represents the sampled version ofg(t)wherekis the sample number andTsis the sampling interval. The prediction or estimate of next sample value
(generated by the predictor algorithm) is denotedg(kT
s
). The error (kTs)between the actual sample value and
the predicted sample value is calculated by thepredict-and-compare loopto give
This known as theprediction erroror theresidue.
)(')()( sss kTgkTgkT =
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
13/45
DT008 COMM2108
13
Bandwidth Efficient Schemes
The prediction error is then quantised,
The quantised prediction error q(kTs) in then encoded and
transmitted. The quantised prediction error q(kTs)is also used to correct thepredicted sample value to give
This is performed by thepredict-and-correctloop. The correctedand quantised sample value is used by the predictor in formingthe estimate for the next sample value.
)]([quant)( ssq kTkT =
)()(')( sqss kTkTgkTg +=
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
14/45
DT008 COMM2108
14
Bandwidth Efficient Schemes At the receiver, an identical predictor is used to
reconstruct the sample values using
whereg(kTs)has been generated by the predictor atthe receiver and q(kTs) is the received quantisedprediction error.
Finally, as in all sampled systems, a reconstruction
filter is used to recover the analogue waveformg(t)from the recovered sampled waveformg(kTs). These coders are known as predictor-corrector
coders.
)()(')( sqss kTkTgkTg +=
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
15/45
DT008 COMM2108
15
Bandwidth Efficient Schemes The predictor values is often calculated as a linear
combination of the previousNsample values.. In practice, this would be implemented as a
transversal digital filter which generates the nextsample value based upon a weighted sum of of the
filters taps. Adaptive Differential PCM (ADPCM) is a more
sophisticated version of DPCM where the predictorcoefficients C0,C1,,CN (i.e. the weighting factors
applied to the filter taps) are continuously modified oradapted to suit the changing signal characteristics.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
16/45
DT008 COMM2108
16
Bandwidth Efficient Schemes The ITU-T has adopted an ADPCM technique which
converts standard 64 kbps companded PCM (G.711)
into a 32 kbps ADPCM signal (G.721). The G.721 encoder uses a (15 level) 4-bit code word
to transmit the quantised prediction error. The subjective speech quality of error-free 32 kbps
ADPCM is only slightly inferior to 64 kbps standardPCM.
For bit error probabilities >10-4, the subjective speechquality is better than standard PCM (i.e. its more
rugged). Other ADPCM standards from the ITU-T include the
G.726 (16 kbps) and G.727 (40kbps)recommendations.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
17/45
DT008 COMM2108
17
Bandwidth Efficient Schemes
Delta modulation (DM)is a simplified form of DPCM
that uses a very simple one-tap predictor. The predictor algorithm operates by assuming thatthe next sample value will be same as the currentsample value, i.e.
This can be implemented as a one-sample delayelement.
The one-bit quantiser is essentially a comparatorwhich reports on whether the predicted sample valueis less than or greater than the actual sample value.
))1(()( ss TkgkTg =
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
18/45
DT008 COMM2108
18
Bandwidth Efficient Schemes
Delta modulation generates a staircase
approximation to the input analogue waveform, i.e. ateach time interval the quantised waveform amplitudecan increase or decrease by a fixed amount.
The prediction error is given by
The quantised prediction error is
)(')()( sss kTgkTgkT =
)](sgn[
)]([quant)(
s
ssq
kT
kTkT
=
=
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
19/45
DT008 COMM2108
19
Bandwidth Efficient Schemes At the receiver, the reconstructed sampled waveform
A reconstruction filter recovers the analoguewaveform g(t) from the reconstructed sampledwaveformg(kTs).
Delta modulation as two unique features:
A 1-bit word which eliminates the need for wordframing.
Simplicity in terms of hardware and algorithmstructure.
=
+=
))1((
)()(')(
s
sqss
Tkg
kTkTgkTg
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
20/45
DT008 COMM2108
20
Bandwidth Efficient Schemes Unlike PCM, there are two types of quantisation error
that can occur in DM: Slope overload distortion.
Granular (or idling) noise.
Slope overload distortion occurs when the inputanalogue waveformg(t)changes too rapidly for thestaircase approximationg(kTs)to follow.
In order to avoid slope overload distortion, we need
to ensure that
dt
tdg
Ts
)(max
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
21/45
DT008 COMM2108
21
Bandwidth Efficient Schemes Slope overload distortion can be avoided by using a
large value for or a small value forTs(i.e. by usinga large sampling rate or oversampling).
In contrastgranular noiseoccurs when the step sizeis too large relative to the local slope of the input
waveform causing the staircase approximation tohunt around a locally flat segment of the inputwaveform.
The resulting waveform is a square wave with a
period half that of the sampling period. Granular noise is also known asidling noise.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
22/45
DT008 COMM2108
22
Bandwidth Efficient Schemes
As regards the choice of step size there are
conflicting requirements for acceptable granular noiseand avoiding slope overload distortion.
One could choose to use a small step size andcompensate by using a small T
s (i.e. sample much
faster than the Nyquist rate), however with this
approach all of the bandwidth saving would be lost.
The choice of step size is therefore a compromise
between avoiding slope overload distortion andminimising the granular noise.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
23/45
DT008 COMM2108
23
Bandwidth Efficient Schemes
Assume we have a sinusoidal input signal waveform
given by
The maximum slope of the signalg(t)is given by
)2cos()( tfAtg o=
Afdt
tdg
tfAfdt
tdgo
0
0
2)(
max
)2sin(2)(
=
=
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
24/45
DT008 COMM2108
24
Bandwidth Efficient Schemes
To avoid slope overload distortion we require that
This imposes a limit on the amplitude of the input
signal
Therefore the maximum permissible signal power is
AfTs
02
sTfA
02
220
2
2
2
21
8 sTf
AS
=
=
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
25/45
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
26/45
DT008 COMM2108
26
Bandwidth Efficient Schemes
The signal to noise ratio (SNR) before the
reconstruction filter is
wherefs= 1/Tsis the sampling frequency.
Next we need to consider the SNR after thereconstruction filter.
Assuming that the average noise power is uniformlydistributed over the frequency interval between fsand+fs.
Also assuming that the reconstruction filter is a LPF
with a bandwidthW
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
27/45
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
28/45
DT008 COMM2108
28
Bandwidth Efficient Schemes
Under the assumption of no slope overload distortion,
the maximum output signal to noise ratio of a deltamodulator is proportional to fs
3, i.e. the SNRincreases by9 dBfor every octave increase infs.
With standard PCM, theSNRincreases exponentiallywith the bit rate, i.e. it increase by 6 dB for everyadditional bit added to the PCM code word.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
29/45
DT008 COMM2108
29
Bandwidth Efficient Schemes In conventional delta modulation, the problem of keeping both
quantisation (or qranular) noise and slope overload noise within
acceptable levels may be solved byoversampling. Howeveroversamplingresults in an increased bandwidth which
negates the original bandwidth saving.
An alternative strategy is to make the step sizevariable,
By increasingwhen slope overload noise would otherwisedominate, and
By decreasing when granular noise would otherwisedominate.
The step sizeis varied according to the history ofq.
This leads toadaptive delta modulation (ADM).
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
30/45
DT008 COMM2108
30
Bandwidth Efficient Schemes For example, if q= + or - for several adjacent
samples, then g(t) is rising/falling rapidly andtherefore needs to be increased in order to avoidslope overload distortion.
Conversely, if q=(i.e. alternates between+and-), then g(t) is changing slowly and and therefore
needs to be decreased in order to minimise granularnoise.
Adaptive delta modulation (ADM) performs between8to14 dBbetter than standard DM is terms ofSNR.
ADM also has a larger dynamic range and canoperate at lower bit rates, typically between32 kbpsand16 kbps.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
31/45
DT008 COMM2108
31
Bandwidth Efficient Schemes
By increasing the complexity of the signalprocessing, it is possible to producecommunications quality speech at bit ratessignificantly less than 64 kbits/sec.
Speech encoded bit rates as low as 4.8 or 2.4kbits/sec can be achieved.
The two main techniques used are:
Waveform coding Source coding (i.e. speech analysis and
synthesis)
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
32/45
DT008 COMM2108
32
Bandwidth Efficient Schemes
Waveform Coding: Human speech isreduced to a string of bits by operatingon the waveform in one of two ways:
Differential Coding
Frequency Domain Coding
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
33/45
DT008 COMM2108
33
Bandwidth Efficient Schemes
Differential codingexploits the high degree of
correlation found between adjacent samplestaken from human speech.
Typical differential coding schemes include:
Delta PCM
Differential PCM (DPCM)
Adaptive Differential PCM (ADPCM)
Delta Modulation (DM)
Adaptive Delta Modulation (ADM)
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
34/45
DT008 COMM2108
34
Bandwidth Efficient Schemes Frequency Domain Codingdivides the signal into a
number of frequency bands and then codes each ofthe bands separately.
Because speech energy is not evenly distributedacross the frequency spectrum, it is possible to
dynamically allocate more bits to those bands inwhich speech activity is significant at the expense ofthose bands where speech activity is absent.
Two such techniques are:
Subband Coding (SBC) Adaptive Transform Coding (ATC)
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
35/45
DT008 COMM2108
35
Bandwidth Efficient Schemes
In subband coding (SBC), the input signal
frequency band is divided into severalsubbands (typically 4 to 8 bands) and eachsubband is encoded using ADPCM.
SBC is capable of producing communicationsquality voice encoding at 9.6 kbits/sec.
For example, the ITU-T G.722
Recommendation for 0-7 kHz high qualityspeech encoding at 64, 56, and 48 kbits/sec.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
36/45
DT008 COMM2108
36
Bandwidth Efficient Schemes Inadaptive transform coding (ATC),the input signal
is divided into short time blocks (calledframes) that
are transformed into the frequency domain usingFourier based techniques.
The result is a set of transform coefficients thatdescribe each frame. These coefficients arequantized and transmitted.
ATC is capable of producing communications qualityvoice encoding at 7 kbits/sec.
Typical ATC schemes include: Discrete Fourier Transform (DFT)
Discrete Walsh-Hadamard Transform (DWHT)
Discrete Cosine Transform (DCT)
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
37/45
DT008 COMM2108
37
Bandwidth Efficient Schemes Waveform Coding is used to produce an
approximation to the input signal and cangenerally be applied to any signal source.
Source Codingbased upon speech analysisand synthesis is very signal specific, i.e. it isdesigned for speech coding only.
Exploits the way in which the human earperceives speech, e.g. the human ear is only
sensitive to short term amplitude variations inthe speech spectrum and is completelyinsensitive to phase variations.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
38/45
DT008 COMM2108
38
Bandwidth Efficient Schemes Here speech sounds (known as phonemes) are
identified and encoded. By transmitting a description
of the speech and emulating the mechanism of thehuman vocal tract in the receiver, it is possible toproduce artificial speech at greatly reduced bit rates.
The basic idea behind analysis/synthesis encoders isto produce a signal that sounds like the originalsignal, rather than looks like it.
Two basic techniques used are:
Vocoding Linear Predictive Coding (LPC)
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
39/45
DT008 COMM2108
39
Bandwidth Efficient Schemes
Vocoding extracts the significantcomponents in a speech waveform inan efficient way and can achieve bit
rates as low as 2.4 kbits/sec. The are two basic types of vocoderused:
Channel vocoder Formant vocoder
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
40/45
DT008 COMM2108
40
Bandwidth Efficient Schemes Thechannel vocodermodels the speech generation
mechanism.
Speech is produced by forcing air past the larynx toproduce sound that is then shaped by the oral andnasal cavities.
Speech consists of periodic emissions calledvoicedsoundsand turbulent noise calledunvoiced sounds.
The frequency of the voiced sounds is calledpitch.
The oral and nasal cavities can be modelled as a
time-varying filter that spectrally shape the signal.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
41/45
DT008 COMM2108
41
Bandwidth Efficient Schemes
In thechannel vocoder, the speech signal isdivided into several separate frequencybands and the magnitude of the energy in
each band is transmitted together withinformation on the presence or absence of
pitch.
At the receiver, voiced or unvoiced energy isapplied to a set of filters that produce
recognisable speech.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
42/45
DT008 COMM2108
42
Bandwidth Efficient Schemes
The formant vocoder analyses thespeech waveform to identify thedominant spectral resonances of the
oral cavity, known asformants. The formant vocoder transmits to the
receiver the amplitude and spectralposition of 3 or 4 of the speechformants.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
43/45
DT008 COMM210843
Bandwidth Efficient Schemes Linear Predictive Coders (LPCs)are a natural extension ofN-
tap predictive coders.
Adaptive predictors are used to form estimates to an inputspeech signal.
However, instead of using the signal estimate to generate aprediction error, a set of linear prediction coefficients isproduced.
The linear prediction coefficients are transmitted to the receiverwhere they are used to regenerate the speech sound using anartificial vocal tract.
LPCs are very effective at realising low bit rate speech encoding
. NATO LPC vocoder standard (LPC-10) produces a bit rate at
2.4 kbits/sec, however with a low MOS = 2.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
44/45
DT008 COMM210844
Bandwidth Efficient Schemes GSM mobile phone system uses LPC to encode
speech at a rate of 13 kbits/sec called Regular PulseExcitation with Long Term Predictive Coding (RPE-LPC).
The speech waveform is bandlimited to 3.4 KHz and
sampled at 8 kHz using a 13-bit linear quantizerproducing a 104 kbits/sec bit stream.
This is reduced to 13 kbits/sec using RPE-LPC whereevery 20 msec (speech frame), 160 speech sample
values are encoded into a block of 260 bits.
-
8/11/2019 Unit 3 - Bandwidth Efficient Schemes
45/45
DT008 COMM210845
Bandwidth Efficient Schemes Considerable research is in progress to improve the quality of
vocoders.
However the price to be paid for this reduction in bandwidth is:
Increased complexity and hence cost.
Increased processing delay.
For example, consider theprocessing delayfor the following:
For standard 64 kbits/sec PCM the delay is 125sec.
For ADPCM the delay is 250sec
For SBC the delay is 20 msec
For ATC the delay is 100 msec For vocoders the delay is 500 msec