SlideShare a Scribd company logo
1 of 31
PCM
 PCM consists of three steps to digitize an
analog signal:
1. Sampling
2. Quantization
3. Binary encoding
 Before we sample, we have to filter the
signal to limit the maximum frequency of
the signal as it affects the sampling rate.
 Filtering should ensure that we do not
distort the signal, ie remove high frequency
components that affect the signal shape.
Figure : Components of PCM encoder
Sampling
 Analog signal is sampled every TS secs.
 Ts is referred to as the sampling interval.
 fs = 1/Ts is called the sampling rate or
sampling frequency.
 There are 3 sampling methods:
 Ideal - an impulse at each sampling instant
 Natural - a pulse of short width with varying
amplitude
 Flattop - sample and hold, like natural but with
single amplitude value
 The process is referred to as pulse amplitude
modulation PAM and the outcome is a signal
with analog (non integer) values
Figure: Three different sampling methods for PCM
According to the Nyquist theorem, the
sampling rate must be
at least 2 times the highest frequency
contained in the signal.
Note
Quantization
 Sampling results in a series of pulses of
varying amplitude values ranging between
two limits: a min and a max.
 The amplitude values are infinite between the
two limits.
 We need to map the infinite amplitude values
onto a finite set of known values.
 This is achieved by dividing the distance
between min and max into L zones, each of
height 
 = (max - min)/L
Quantization Levels
 The midpoint of each zone is assigned a
value from 0 to L-1 (resulting in L
values)
 Each sample falling in a zone is then
approximated to the value of the
midpoint.
Quantization Zones
 Assume we have a voltage signal with
amplitutes Vmin=-20V and Vmax=+20V.
 We want to use L=8 quantization levels.
 Zone width = (20 - -20)/8 = 5
 The 8 zones are: -20 to -15, -15 to -10,
-10 to -5, -5 to 0, 0 to +5, +5 to +10,
+10 to +15, +15 to +20
 The midpoints are: -17.5, -12.5, -7.5, -
2.5, 2.5, 7.5, 12.5, 17.5
Encoding
 Each zone is then assigned a binary code.
 The number of bits required to encode the
zones, or the number of bits per sample as it
is commonly referred to, is obtained as
follows:
nb = log2 L
 Given our example, nb = 3
 The 8 zone (or level) codes are therefore:
000, 001, 010, 011, 100, 101, 110, and 111
 Assigning codes to zones:
 000 will refer to zone -20 to -15
 001 to zone -15 to -10, etc.
Figure 4.26 Quantization and encoding of a sampled signal
Quantization Error
 When a signal is quantized, we introduce an
error - the coded signal is an approximation
of the actual amplitude value.
 The difference between actual and coded
value (midpoint) is referred to as the
quantization error.
 The more zones, the smaller  which results
in smaller errors.
 BUT, the more zones the more bits required
to encode the samples -> higher bit rate
Quantization Noise
 The effect of quantization errors in a PCM encoder
is treated as additive noise with a subjective
effect that is similar to band-limited white noise.
 Hence, the quality of the signal can be
quantitatively measured by the signal-to-
quantization noise ratio (SQR).
Bit rate and bandwidth
requirements of PCM
 The bit rate of a PCM signal can be calculated form
the number of bits per sample x the sampling rate
Bit rate = nb x fs
 The bandwidth required to transmit this signal
depends on the type of line encoding used. Refer to
previous section for discussion and formulas.
 A digitized signal will always need more bandwidth
than the original analog signal. Price we pay for
robustness and other features of digital transmission.
We want to digitize the human voice. What is the bit rate,
assuming 8 bits per sample?
Solution
The human voice normally contains frequencies from 0
to 4000 Hz. So the sampling rate and bit rate are
calculated as follows:
Example
PCM Decoder
 To recover an analog signal from a digitized
signal we follow the following steps:
 We use a hold circuit that holds the amplitude
value of a pulse till the next pulse arrives.
 We pass this signal through a low pass filter with a
cutoff frequency that is equal to the highest
frequency in the pre-sampled signal.
 The higher the value of L, the less distorted a
signal is recovered.
Figure: Components of a PCM decoder
We have a low-pass analog signal of 4 kHz. If we send the
analog signal, we need a channel with a minimum
bandwidth of 4 kHz. If we digitize the signal and send 8
bits per sample, we need a channel with a minimum
bandwidth of 8 × 4 kHz = 32 kHz.
Example 4.15
Delta Modulation
 This scheme sends only the difference
between pulses, if the pulse at time tn+1 is
higher in amplitude value than the pulse at
time tn, then a single bit, say a “1”, is used to
indicate the positive value.
 If the pulse is lower in value, resulting in a
negative value, a “0” is used.
 This scheme works well for small changes in
signal values between samples.
 If changes in amplitude are large, this will
result in large errors.
Figure 4.28 The process of delta modulation
Figure 4.29 Delta modulation components
Figure 4.30 Delta demodulation components
Delta PCM (DPCM)
 Instead of using one bit to indicate positive
and negative differences, we can use more
bits -> quantization of the difference.
 Each bit code is used to represent the value
of the difference.
 The more bits the more levels -> the higher
the accuracy.
Nonuniform Quantization
 The type of quantization so far discussed is called
uniform quantization because the quantization
levels are assumed to be equally spaced. This
technique achieves the maximum SQR only for a
full-amplitude signal. In practice, this cannot be
the case, and the average SQR can be significantly
lower than the maximum given in (2.2). Figure
2.8(a) depicts uniform quantization of a full-
amplitude and a smaller sinusoidal signal. It can be
seen qualitatively that the approximation of the
smaller signal is inferior to that of the larger signal.
Example
Nonuniform Quantization
 How much lower an SQR we have in a practical
system depends on the dynamic range (the ratio of
maximum and minimum amplitudes) of the analog
signal.
 where A is the maximum amplitude of the
signal being quantized, and Amax is the full-load
range of the quantizer. This implies lower SQR for
small signals compared to large signals.
The probability of occurrence of small amplitudes in
speech is much greater than large ones.
Consequently, it seems appropriate to provide many
quantization levels in the small amplitude range
and only a few in the region of large ampli- tudes.
As long as the total number of levels remains
unchanged, no increase in trans- mission bandwidth
will be required. However, the average SQR will
improve. This technique is referred to as
nonuniform quantization. Figure 2.8(b) illustrates
the improvement in quantization of low-amplitude
signals compared to uniform quantization.
Modern telephony applications make use of low-
bit-rate voice coding techniques in order to
conserve bandwidth. The primary motivations for
low-bit-rate coding are the need to minimize
transmission costs and storage and the need to
transmit over channels of limited capacity, such as
mobile radio channels. In addition, there are also
needs to share capacity for different services, such
as voice, audio, data, graph- ics, and images, in
integrated services networks and to support
variable-rate coding in packet-oriented networks
Low Bit-Rate Voice Coding
Digital Encoding of Waveforms
Following the introduction of PCM, network operators
soon realized that by using 32-kbit/s adaptive
differential PCM (ADPCM), they could double the
capacity of important narrow bandwidth links such as
undersea cables. At that time, the goal of speech
coding was to provide a compression technology that
would enable copper cables to handle the continual
growth in voice traffic.
Digital encoding of waveforms, however, entails the
introduction of some kind of coding distortion, such as
quantization noise.
Digital Encoding of Waveforms
Speech coders compress speech by analyzing and
then quantizing features of the speech waveforms
in ways that attempt to minimize any audible
impairment [6]. As such, the basic challenge in
waveform encoding is to achieve the minimum
possible distortion for a given encod- ing rate or,
equivalently, to achieve a given acceptable level of
distortion with the least possible encoding rate [7].
The process of speech compression is very
computa- tionally intensive, incurs delays, and
requires powerful DSPs for implementation.
Digital Encoding of Waveforms
Some encoding techniques, such as PCM, are
lossless, providing a reconstructed waveform that
exactly matches the original signal sample for
sample. Other meth- ods achieve higher
compression through lossy techniques, which do
not allow exact reconstruction of the signal but
instead seek to preserve its information-bearing
characteristics [7].
Digital Encoding of Waveforms
Basic requirements in the design of low-bit-rate
coders can be summarized as [5]:
Data rate;
High quality of reconstructed signals;
Low encoder/decoder delays;
Low complexity and power consumption;
Robustness to random and bursty channel bit
errors and data losses;
Robust concatenation of codecs;
Graceful degradation of quality with increasing
bit error rates.

More Related Content

Similar to TeleCom Lecture 07.ppt

Lecture7 encodingmodulation
Lecture7 encodingmodulationLecture7 encodingmodulation
Lecture7 encodingmodulation
H K
 
Digital Transmission
Digital TransmissionDigital Transmission
Digital Transmission
anuragyadav94
 
Data Encoding
Data EncodingData Encoding
Data Encoding
Luka M G
 
pcm-march-2020_1_5e71b8ff9c7ad_1584511231641.pdf
pcm-march-2020_1_5e71b8ff9c7ad_1584511231641.pdfpcm-march-2020_1_5e71b8ff9c7ad_1584511231641.pdf
pcm-march-2020_1_5e71b8ff9c7ad_1584511231641.pdf
NahshonMObiri
 
Pulse code modulation
Pulse code modulationPulse code modulation
Pulse code modulation
Naveen Sihag
 
L 1 5 sampling quantizing encoding pcm
L 1 5 sampling quantizing encoding pcmL 1 5 sampling quantizing encoding pcm
L 1 5 sampling quantizing encoding pcm
DEEPIKA KAMBOJ
 

Similar to TeleCom Lecture 07.ppt (20)

Lecture7 encodingmodulation
Lecture7 encodingmodulationLecture7 encodingmodulation
Lecture7 encodingmodulation
 
1 PCM & Encoding
1  PCM & Encoding1  PCM & Encoding
1 PCM & Encoding
 
_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf
 
Pulse code modulation (PCM)
Pulse code modulation (PCM)Pulse code modulation (PCM)
Pulse code modulation (PCM)
 
Introduction to communication system lecture4
Introduction to communication system lecture4Introduction to communication system lecture4
Introduction to communication system lecture4
 
Pulse Code Modulation
Pulse Code ModulationPulse Code Modulation
Pulse Code Modulation
 
Digital Transmission
Digital TransmissionDigital Transmission
Digital Transmission
 
Presentation ct
Presentation ctPresentation ct
Presentation ct
 
Te 4 pulse_modulation
Te 4 pulse_modulationTe 4 pulse_modulation
Te 4 pulse_modulation
 
Digital modulation
Digital modulationDigital modulation
Digital modulation
 
Data Encoding
Data EncodingData Encoding
Data Encoding
 
Unit 3.pptx
Unit 3.pptxUnit 3.pptx
Unit 3.pptx
 
Pulse modulation
Pulse modulationPulse modulation
Pulse modulation
 
pcm-march-2020_1_5e71b8ff9c7ad_1584511231641.pdf
pcm-march-2020_1_5e71b8ff9c7ad_1584511231641.pdfpcm-march-2020_1_5e71b8ff9c7ad_1584511231641.pdf
pcm-march-2020_1_5e71b8ff9c7ad_1584511231641.pdf
 
Digitization
DigitizationDigitization
Digitization
 
Source coding systems
Source coding systemsSource coding systems
Source coding systems
 
Pulse code modulation
Pulse code modulationPulse code modulation
Pulse code modulation
 
L 1 5 sampling quantizing encoding pcm
L 1 5 sampling quantizing encoding pcmL 1 5 sampling quantizing encoding pcm
L 1 5 sampling quantizing encoding pcm
 
Pulse code modulation and Quantization
Pulse code modulation and QuantizationPulse code modulation and Quantization
Pulse code modulation and Quantization
 
Pulse code modulation tutorialspoint
Pulse code modulation   tutorialspointPulse code modulation   tutorialspoint
Pulse code modulation tutorialspoint
 

More from RiyaBatool (18)

Hashing.pptx
Hashing.pptxHashing.pptx
Hashing.pptx
 
Legal Liabilities of a software product.pptx
Legal Liabilities of a software product.pptxLegal Liabilities of a software product.pptx
Legal Liabilities of a software product.pptx
 
Shaikh Ahmad Sarhindi.pptx
Shaikh Ahmad Sarhindi.pptxShaikh Ahmad Sarhindi.pptx
Shaikh Ahmad Sarhindi.pptx
 
Lecture5(VM).pptx
Lecture5(VM).pptxLecture5(VM).pptx
Lecture5(VM).pptx
 
lecture3(VM).pptx
lecture3(VM).pptxlecture3(VM).pptx
lecture3(VM).pptx
 
Lecture1(VM).pptx
Lecture1(VM).pptxLecture1(VM).pptx
Lecture1(VM).pptx
 
lecture4(VM).ppt
lecture4(VM).pptlecture4(VM).ppt
lecture4(VM).ppt
 
Xen Hypervisor.pptx
Xen Hypervisor.pptxXen Hypervisor.pptx
Xen Hypervisor.pptx
 
TeleCom Lecture 04.pptx
TeleCom Lecture 04.pptxTeleCom Lecture 04.pptx
TeleCom Lecture 04.pptx
 
TeleCom Lecture 02.pptx
TeleCom Lecture 02.pptxTeleCom Lecture 02.pptx
TeleCom Lecture 02.pptx
 
part 3.pptx
part 3.pptxpart 3.pptx
part 3.pptx
 
VSS LEC5.pdf
VSS LEC5.pdfVSS LEC5.pdf
VSS LEC5.pdf
 
VSS-2.pdf
VSS-2.pdfVSS-2.pdf
VSS-2.pdf
 
chapter 5.pptx
chapter 5.pptxchapter 5.pptx
chapter 5.pptx
 
chapter 10,11,13.pptx
chapter 10,11,13.pptxchapter 10,11,13.pptx
chapter 10,11,13.pptx
 
VSS-1.pdf
VSS-1.pdfVSS-1.pdf
VSS-1.pdf
 
TeleCom Lecture 06.pptx
TeleCom Lecture 06.pptxTeleCom Lecture 06.pptx
TeleCom Lecture 06.pptx
 
TeleCom Lecture 05.pptx
TeleCom Lecture 05.pptxTeleCom Lecture 05.pptx
TeleCom Lecture 05.pptx
 

Recently uploaded

Recently uploaded (20)

WSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in UgandaWSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in Uganda
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and ApplicationsWSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
 
WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next IntegrationWSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital Businesses
 
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & InnovationWSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
 
WSO2Con2024 - Unleashing the Financial Potential of 13 Million People
WSO2Con2024 - Unleashing the Financial Potential of 13 Million PeopleWSO2Con2024 - Unleashing the Financial Potential of 13 Million People
WSO2Con2024 - Unleashing the Financial Potential of 13 Million People
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 

TeleCom Lecture 07.ppt

  • 1. PCM  PCM consists of three steps to digitize an analog signal: 1. Sampling 2. Quantization 3. Binary encoding  Before we sample, we have to filter the signal to limit the maximum frequency of the signal as it affects the sampling rate.  Filtering should ensure that we do not distort the signal, ie remove high frequency components that affect the signal shape.
  • 2. Figure : Components of PCM encoder
  • 3. Sampling  Analog signal is sampled every TS secs.  Ts is referred to as the sampling interval.  fs = 1/Ts is called the sampling rate or sampling frequency.  There are 3 sampling methods:  Ideal - an impulse at each sampling instant  Natural - a pulse of short width with varying amplitude  Flattop - sample and hold, like natural but with single amplitude value  The process is referred to as pulse amplitude modulation PAM and the outcome is a signal with analog (non integer) values
  • 4. Figure: Three different sampling methods for PCM
  • 5. According to the Nyquist theorem, the sampling rate must be at least 2 times the highest frequency contained in the signal. Note
  • 6. Quantization  Sampling results in a series of pulses of varying amplitude values ranging between two limits: a min and a max.  The amplitude values are infinite between the two limits.  We need to map the infinite amplitude values onto a finite set of known values.  This is achieved by dividing the distance between min and max into L zones, each of height   = (max - min)/L
  • 7. Quantization Levels  The midpoint of each zone is assigned a value from 0 to L-1 (resulting in L values)  Each sample falling in a zone is then approximated to the value of the midpoint.
  • 8. Quantization Zones  Assume we have a voltage signal with amplitutes Vmin=-20V and Vmax=+20V.  We want to use L=8 quantization levels.  Zone width = (20 - -20)/8 = 5  The 8 zones are: -20 to -15, -15 to -10, -10 to -5, -5 to 0, 0 to +5, +5 to +10, +10 to +15, +15 to +20  The midpoints are: -17.5, -12.5, -7.5, - 2.5, 2.5, 7.5, 12.5, 17.5
  • 9. Encoding  Each zone is then assigned a binary code.  The number of bits required to encode the zones, or the number of bits per sample as it is commonly referred to, is obtained as follows: nb = log2 L  Given our example, nb = 3  The 8 zone (or level) codes are therefore: 000, 001, 010, 011, 100, 101, 110, and 111  Assigning codes to zones:  000 will refer to zone -20 to -15  001 to zone -15 to -10, etc.
  • 10. Figure 4.26 Quantization and encoding of a sampled signal
  • 11. Quantization Error  When a signal is quantized, we introduce an error - the coded signal is an approximation of the actual amplitude value.  The difference between actual and coded value (midpoint) is referred to as the quantization error.  The more zones, the smaller  which results in smaller errors.  BUT, the more zones the more bits required to encode the samples -> higher bit rate
  • 12. Quantization Noise  The effect of quantization errors in a PCM encoder is treated as additive noise with a subjective effect that is similar to band-limited white noise.  Hence, the quality of the signal can be quantitatively measured by the signal-to- quantization noise ratio (SQR).
  • 13. Bit rate and bandwidth requirements of PCM  The bit rate of a PCM signal can be calculated form the number of bits per sample x the sampling rate Bit rate = nb x fs  The bandwidth required to transmit this signal depends on the type of line encoding used. Refer to previous section for discussion and formulas.  A digitized signal will always need more bandwidth than the original analog signal. Price we pay for robustness and other features of digital transmission.
  • 14. We want to digitize the human voice. What is the bit rate, assuming 8 bits per sample? Solution The human voice normally contains frequencies from 0 to 4000 Hz. So the sampling rate and bit rate are calculated as follows: Example
  • 15. PCM Decoder  To recover an analog signal from a digitized signal we follow the following steps:  We use a hold circuit that holds the amplitude value of a pulse till the next pulse arrives.  We pass this signal through a low pass filter with a cutoff frequency that is equal to the highest frequency in the pre-sampled signal.  The higher the value of L, the less distorted a signal is recovered.
  • 16. Figure: Components of a PCM decoder
  • 17. We have a low-pass analog signal of 4 kHz. If we send the analog signal, we need a channel with a minimum bandwidth of 4 kHz. If we digitize the signal and send 8 bits per sample, we need a channel with a minimum bandwidth of 8 × 4 kHz = 32 kHz. Example 4.15
  • 18. Delta Modulation  This scheme sends only the difference between pulses, if the pulse at time tn+1 is higher in amplitude value than the pulse at time tn, then a single bit, say a “1”, is used to indicate the positive value.  If the pulse is lower in value, resulting in a negative value, a “0” is used.  This scheme works well for small changes in signal values between samples.  If changes in amplitude are large, this will result in large errors.
  • 19. Figure 4.28 The process of delta modulation
  • 20. Figure 4.29 Delta modulation components
  • 21. Figure 4.30 Delta demodulation components
  • 22. Delta PCM (DPCM)  Instead of using one bit to indicate positive and negative differences, we can use more bits -> quantization of the difference.  Each bit code is used to represent the value of the difference.  The more bits the more levels -> the higher the accuracy.
  • 23. Nonuniform Quantization  The type of quantization so far discussed is called uniform quantization because the quantization levels are assumed to be equally spaced. This technique achieves the maximum SQR only for a full-amplitude signal. In practice, this cannot be the case, and the average SQR can be significantly lower than the maximum given in (2.2). Figure 2.8(a) depicts uniform quantization of a full- amplitude and a smaller sinusoidal signal. It can be seen qualitatively that the approximation of the smaller signal is inferior to that of the larger signal.
  • 25. Nonuniform Quantization  How much lower an SQR we have in a practical system depends on the dynamic range (the ratio of maximum and minimum amplitudes) of the analog signal.  where A is the maximum amplitude of the signal being quantized, and Amax is the full-load range of the quantizer. This implies lower SQR for small signals compared to large signals.
  • 26. The probability of occurrence of small amplitudes in speech is much greater than large ones. Consequently, it seems appropriate to provide many quantization levels in the small amplitude range and only a few in the region of large ampli- tudes. As long as the total number of levels remains unchanged, no increase in trans- mission bandwidth will be required. However, the average SQR will improve. This technique is referred to as nonuniform quantization. Figure 2.8(b) illustrates the improvement in quantization of low-amplitude signals compared to uniform quantization.
  • 27. Modern telephony applications make use of low- bit-rate voice coding techniques in order to conserve bandwidth. The primary motivations for low-bit-rate coding are the need to minimize transmission costs and storage and the need to transmit over channels of limited capacity, such as mobile radio channels. In addition, there are also needs to share capacity for different services, such as voice, audio, data, graph- ics, and images, in integrated services networks and to support variable-rate coding in packet-oriented networks Low Bit-Rate Voice Coding
  • 28. Digital Encoding of Waveforms Following the introduction of PCM, network operators soon realized that by using 32-kbit/s adaptive differential PCM (ADPCM), they could double the capacity of important narrow bandwidth links such as undersea cables. At that time, the goal of speech coding was to provide a compression technology that would enable copper cables to handle the continual growth in voice traffic. Digital encoding of waveforms, however, entails the introduction of some kind of coding distortion, such as quantization noise.
  • 29. Digital Encoding of Waveforms Speech coders compress speech by analyzing and then quantizing features of the speech waveforms in ways that attempt to minimize any audible impairment [6]. As such, the basic challenge in waveform encoding is to achieve the minimum possible distortion for a given encod- ing rate or, equivalently, to achieve a given acceptable level of distortion with the least possible encoding rate [7]. The process of speech compression is very computa- tionally intensive, incurs delays, and requires powerful DSPs for implementation.
  • 30. Digital Encoding of Waveforms Some encoding techniques, such as PCM, are lossless, providing a reconstructed waveform that exactly matches the original signal sample for sample. Other meth- ods achieve higher compression through lossy techniques, which do not allow exact reconstruction of the signal but instead seek to preserve its information-bearing characteristics [7].
  • 31. Digital Encoding of Waveforms Basic requirements in the design of low-bit-rate coders can be summarized as [5]: Data rate; High quality of reconstructed signals; Low encoder/decoder delays; Low complexity and power consumption; Robustness to random and bursty channel bit errors and data losses; Robust concatenation of codecs; Graceful degradation of quality with increasing bit error rates.