Professional Documents
Culture Documents
Recipient
Information Representation
Security
– Coding/Decoding
Translating info bits to transmitter data symbols
Techniques used to enhance info signal so that they are less vulnerable to channel impairment (e.g.
noise, fading, jamming, interference)
• Two Categories
– Waveform Coding
• Produces new waveforms with better performance
– Structured Sequences
– Involves the use of redundant bits to determine the occurrence of error (and sometimes correct it)
– Multiplexing/Multiple Access Is synonymous with resource sharing with other users
– Frequency Division Multiplexing/Multiple Access (FDM/FDMA
Main Points
• Transmitters modulate analog messages or bits in case of a DCS for transmission over a channel.
• Receivers recreate signals or bits from received signal (mitigate channel effects)
• Performance metric for analog systems is fidelity, for digital it is the bit
rate and error probability.
Why Digital Communications?
Why Digital Communications?
– Easy to regenerate the distorted signal – Can combine different signal types – data, voice, text, etc.
– Regenerative repeaters along the transmission path can detect a digital signal and retransmit a new, clean – Data communication in computers is digital in nature whereas voice communication between people is
(noise free) signal analog in nature
– These repeaters prevent accumulation of noise along the path – The two types of communication are difficult to combine over the same medium in the analog domain.
– This is not possible with analog communication systems – Using digital techniques, it is possible to combine both format for transmission through a common
– Two-state signal representation medium
– The input to a digital system is in the form of a sequence of bits (binary or M_ary) – Encryption and privacy techniques are easier to implement
– Immunity to distortion and interference – Better overall performance
– Digital communication is inherently more efficient than analog
– Digital communication is rugged in the sense that it is more immune to channel noise and distortion
in realizing the exchange of SNR for bandwidth
– Hardware is more flexible – Digital signals can be coded to yield extremely low rates and high fidelity as well as privacy
– Digital hardware implementation is flexibleand permits the use of microprocessors, mini-processors,
digital switching and VLSI DISADVANTAGES:
– Shorter design and production cycle • Requires reliable “synchronization”
– Low cost
• Requires A/D conversions at high rate
– The use of LSI and VLSI in the design of components and systems have resulted in lower cost
– Easier and more efficient to multiplex several digital signals • Requires larger bandwidth
– Digital multiplexing techniques – Time & Code Division Multiple Access - are easier to implement • Nongraceful degradation
than analog techniques such as Frequency Division Multiple Access • Performance Criteria
• Probability of error or Bit Error Rate
if the sampling rate is equal to twice the highest frequency (2W) (SR=2w)
Nyquist Rate
Signal is band-limited with no frequency components higher than W Hertz
Fs=2W
Sampling Theorem
• a signal can be exactly reproduced if it is sampled at the rate fs which is greater than twice the maximum
frequency W
• consider a band-limited signal, i.e., a signal whose value is non-zero between some –W and W Hertz.
Aliasing
Numericals
• A signal x(t)=2cos400pit+6cos640pit is ideally sampled at 500Hz. If the sampled
signal is passed through an ideal LPF with cut off frequency of 400Hz. What
frequency components will appear in the output?
Ans:
x(t) = 2cos(400𝜋t) + 6cos(640𝜋t)
fs = 500Hz, fc = 400Hz
Types of Sampling (Refer notes for detailed Explanation) x(t) = Acos/sin(2𝜋t(y))
• Natural Sampling x(t) = 2cos(2𝜋t(200)) + 6cos(2𝜋t(320))
f1 = 200Hz, f2 = 320Hz
• Flat top sampling
Op freq = ±𝑓1, ±𝑓2, 𝑓𝑠 ± 𝑓1, 𝑓𝑠 ± 𝑓2, 2𝑓𝑠 ± 𝑓1, …
= ±200; ±320; 700, 300; 820, 180; 1200, 800; …
fc = 400Hz and op freq should be less than cut-off so, op = 180, 200, 300, 320 Hz
Pulse Code Modulation
Objectives
Module 2:
Pulse Code Modulation
• PCM
• DPCM
• SNR
• Companding Regenerative Repeater
• Delta modulation
Pulse-Code Modulation
Block Diagram
• Coded version of the signal. (digital representation)
Transmitter
Analog PCM Data
• Simple method. Signal Sequence
Sampler Quantizer Encoder
• First developed digital coding methodology.
1. The sampled signal is quantized to generate a signal The binary code is easy to generate and regenerate.
that is discrete in both time and amplitude A binary code of n bits length 2n distinct codes
2. uniform , nonuniform nonlinear/piecewise linear 3.There are several formats for the representation of binary
approximations sequences Line codes (NRZ, RZ- polar, unipolar)
PCM-Receiver Section
PCM-Regeneration
1. Decoding
Decision-making device • regenerating a pulse whose amplitude is the linear sum of all the pulses in the code word
• Basics of PCM and its block diagram are discussed Channel Noise
• The need for regenerative repeaters and its working •Affects reconstruction
are also illustrated. •Measured by error rate
•Consider binary coded PCM s(t), uses unipolar format
•When symbol 1 is sent, s(t) equals s1(t) is transmitted
Channel Noise Signal Space diagram
• Transmitted Signal: S1(t)=sqrt(Emax/Tb)
REGION Z2 REGION Z1
• S2(t)=0
• Received Signal:x(t)=S(t)+w(t) 0 Emax
DECISION BOUNDARY
Rounding off sample values Input x lies in the interval between xk to xk+1
Signal dependant Y takes discrete values from 1,2,…L+1
Mathematical analysis of problem q denotes Quantization error
Memoryless quantizer-uniform and symmetric Y=q+x
X is quantizer input y is quantizer output
Y=Q(X)
Differential Pulse-Code Modulation
Differential Pulse Code Modulation
• Voice/video signals sampled at a rate higher than the
Objectives Nyquist rate will have high degree of correlation
between adjacent samples.(no rapid change in signal)
2/29 2 3/29
• The prediction gain Gp when greater than unity, represents the Comparing DPCM with DM system,
signal-to-noise ratio that is due to the differential quantization • Uses quantizer with multiple levels rather than one-bit
scheme (predicted).
(two-level) quantizer in the DM system
• For a given input message signal, σ2M is fixed, so smaller the
σ2E , greater the Gp. • Replacement of single delay element in the DM by a
prediction filter
• This is the design objective of the prediction filter.
• For voice signals advantage of DPCM over PCM in SNR is
between 4-11 dB Considering noise
• Advantage expressed in terms of bit rate (bits) • DPCM, like DM, is subject to slope-overload distortion
• 1 bit =6 dB of quantization noise whenever the input signal changes too rapidly for the
• So for fixed SNR, sampling rate 8 kHz – DCPM provides prediction filter to track it
saving of 8-16 kb/s (1 -2 bits per sample) PCM • Like PCM, DPCM suffers from quantization noise.
8/29 9 9/29
DPCM-Example
Predictor Order – One, Distortion=0.0034
DPCM-Example
10/29 12/29
Summary Companding
Robust Quantization(Non Uniform)
• The concept of differential pulse code modulation is
Motivation
discussed. • Speech signals have the
• Processing gain due to differential process is analyzed. characteristic that small-
amplitude samples occur more
frequently than large-amplitude
ones
• Human auditory system exhibits a
logarithmic sensitivity
• More sensitive at small-
amplitude range (e.g., 0 might
sound different from 0.1)
• Less sensitive at large-amplitude
range (e.g., 0.7 might not sound
different much from 0.8) histogram of typical speech signals
15/29
-law algorithm
Non Uniform Quantization- Companding
• It has continuous compressor characteristics (low-linear, high-
logarithmic)
• The -law algorithm (μ-law) is a companding algorithm,
primarily used in the digital telecommunication systems of
North America and Japan.
Compressor Expander
• Its purpose is to reduce the dynamic range of an audio signal.
• In the analog domain, this can increase the signal to noise ratio
achieved during transmission, and in the digital domain, it can
reduce the quantization error (hence increasing signal to
quantization noise ratio).
• = 255
10
Am
1 log A , 0 m A
1
v
1
, log Am 1 m 1
1 log A A
10
Delta Modulation
Delta Modulation • An incoming message signal is oversampled to purposely to
increase the correlation between adjacent samples of the
Objectives signal
• The difference between the input signal and its
Delta modulation approximation is quantized into only two levels -
corresponding to positive and negative differences
Advantages • The output is a staircase approximation.
2/29 3/29
max
dm(t)
Ts dt
6/29 8/29
Slope-overload distortion
• The step size is too small for the staircase approximation to
follow a steep segment of the original message signal
• The result that the approximation signal falls behind
the message signal
Granular noise
• When the step size is too large relative to the local slope
characteristic of the original message signal
• The staircase approximation has to hunt around a relatively
flat segment of the message signal.
Large Δwide dynamic range
Trade-off to decide the optimum
small Δaccurate representation step size that reduces error
M(n)
Advantages
DM-Example
m̂[n] w1mq [n 1] , w1 1 e q [n] sgn( e[n]) where 4.5
• One bit codeword for the input eliminates the
need for framing
e[n] m[n] - m̂[n] m q [n] m q [n -1] e q [n] • Simplicity of design
Input Encoder Decoder
n m[n] m̂[n] e[n] eeq [n]
[n] mq [n] m̂[n] m
mqq [n]
[n] m[n] -m
m[n] -mqq[n]
[n]
q mq [n]
Summary
1 33 - - - 33.0 - 33 0.0
2 35 33.0 2.0 4.5 37.5 33 37.5 -2.5
3 34 37.5 -3.5 -4.5 33.0 37.5 33.0 1.0 • The concept of Delta modulation and its advantages
4 36 33.0 3.0 4.5 37.5 33.0 37.5 -1.5 were discussed.
• Slope overload and granular noise were discussed.
5 35 37.5 -2.5 -4.5 33.0 37.5 33.0 2.0
⁝ ⁝ ⁝ ⁝ ⁝ ⁝ ⁝ ⁝ ⁝
13/29 16/29