Digital Communication (10ec61) PDF
Digital Communication (10ec61) PDF
Digital Communication (10ec61) PDF
in
in
n.
Reference Books:
io
1. “Digital and Analog Communication Systems” –
K. Sam Shanmugam, John Wiley, 1996.
ut
2. “An introduction to Analog and Digital Communication”-
Simon Haykin, John Wiley, 2003
3. “Digital Communication- Fundamentals & Applications” –
Bernard Sklar, Pearson Education, 2002.
ol
vtusolution.in
vtusolution.in
Chapter-1: Introduction
in
Transducer CHANNEL
O/P Signal
Destination
RECEIVER
n.
and Output
Transducer
The Overall purpose of this system is to transfer information from one point
ut
(called Source) to another point, the user destination.
The message produced by a source, normally, is not electrical. Hence an input
transducer is used for converting the message to a time – varying electrical quantity
called message signal. Similarly, at the destination point, another transducer converts the
ol
The purpose of the transmitter is to transform the message signal produced by the
source of information into a form suitable for transmission over the channel.
The received signal is normally corrupted version of the transmitted signal, which
is due to channel imperfections, noise and interference from other sources.
The receiver has the task of operating on the received signal so as to reconstruct a
vt
recognizable form of the original message signal and to deliver it to the user destination.
vtusolution.in
vtusolution.in
The figure 1.2 shows the functional elements of a digital communication system.
Source of Information: 1. Analog Information Sources.
2. Digital Information Sources.
Digital Information Sources → These are teletype or the numerical output of computer
which consists of a sequence of discrete symbols or letters.
in
An Analog information is transformed into a discrete information through the
process of sampling and quantizing.
n.
Digital Communication System
io Encoder Modulator
Wave fo
ut
Binary Stream Channel
Received Signal
ol
The Source encoder ( or Source coder) converts the input i.e. symbol sequence
into a binary sequence of 0’s and 1’s by assigning code words to the symbols in the input
sequence. For eg. :-If a source set is having hundred symbols, then the number of bits
used to represent each symbol will be 7 because 27=128 unique combinations are
available. The important parameters of a source encoder are block size, code word
lengths, average data rate and the efficiency of the coder (i.e. actual output data rate
compared to the minimum achievable rate)
vtusolution.in
vtusolution.in
At the receiver, the source decoder converts the binary output of the channel
decoder into a symbol sequence. The decoder for a system using fixed – length code
words is quite simple, but the decoder for a system using variable – length code words
will be very complex.
in
CHANNEL ENCODER / DECODER:
n.
convey any information but helps the receiver to detect and / or correct some of the errors
in the information bearing bits.
io
1. Block Coding: The encoder takes a block of ‘k’ information bits from the source
encoder and adds ‘r’ error control bits, where ‘r’ is dependent on ‘k’ and error
control capabilities desired.
2. Convolution Coding: The information bearing message stream is encoded in a
ut
continuous fashion by continuously interleaving information bits and error control
bits.
The Channel decoder recovers the information bearing bits from the coded binary stream.
ol
Error detection and possible correction is also performed by the channel decoder.
The important parameters of coder / decoder are: Method of coding, efficiency, error
control capabilities and complexity of the circuit.
us
MODULATOR:
The Modulator converts the input bit stream into an electrical waveform suitable
for transmission over the communication channel. Modulator can be effectively used to
minimize the effects of channel noise, to match the frequency spectrum of transmitted
signal with channel characteristics, to provide the capability to multiplex many signals.
vt
DEMODULATOR:
The extraction of the message from the information bearing waveform produced
by the modulation is accomplished by the demodulator. The output of the demodulator is
bit stream. The important parameter is the method of demodulation.
vtusolution.in
vtusolution.in
CHANNEL:
The Channel provides the electrical connection between the source and
destination. The different channels are: Pair of wires, Coaxial cable, Optical fibre, Radio
channel, Satellite channel or combination of any of these.
The communication channels have only finite Bandwidth, non-ideal frequency
response, the signal often suffers amplitude and phase distortion as it travels over the
channel. Also, the signal power decreases due to the attenuation of the channel. The
signal is corrupted by unwanted, unpredictable electrical signals referred to as noise.
The important parameters of the channel are Signal to Noise power Ratio (SNR),
usable bandwidth, amplitude and phase response and the statistical properties of noise.
in
Modified Block Diagram: (With additional blocks)
From Other Sources
n.
Source Encrypt Channel Modula
Source Encoder er Encoder Mux tor
io Channel
ut
ol
To other Destinations
Some additional blocks as shown in the block diagram are used in most of digital
communication system:
MUX : Multiplexer is used for combining signals from different sources so that
they share a portion of the communication system.
vtusolution.in
vtusolution.in
DeMUX: DeMultiplexer is used for separating the different signals so that they
reach their respective destinations.
in
Advantages of Digital Communication
n.
from one state to the other.
2. Regenerative repeaters can be used at fixed distance along the link, to identify and
regenerate a pulse before it is degraded to an ambiguous state.
io
3. Digital circuits are more reliable and cheaper compared to analog circuits.
6. Error detecting and Error correcting codes improve the system performance by
reducing the probability of error.
7. Combining digital signals using TDM is simpler than combining analog signals
us
using FDM. The different types of signals such as data, telephone, TV can be
treated as identical signals in transmission and switching in a digital
communication system.
vtusolution.in
vtusolution.in
in
channels, coaxial cables, optical fibers, microwave radio, and satellite channels.
Telephone channel: It is designed to provide voice grade communication. Also good for
data communication over long distances. The channel has a band-pass characteristic
n.
occupying the frequency range 300Hz to 3400hz, a high SNR of about 30db, and
approximately linear response.
For the transmission of voice signals the channel provides flat amplitude
response. But for the transmission of data and image transmissions, since the phase
delay variations are important an equalizer is used to maintain the flat amplitude
io
response and a linear phase response over the required frequency band. Transmission
rates upto16.8 kilobits per second have been achieved over the telephone lines.
Coaxial Cable: The coaxial cable consists of a single wire conductor centered inside an
ut
outer conductor, which is insulated from each other by a dielectric. The main advantages
of the coaxial cable are wide bandwidth and low external interference. But closely
spaced repeaters are required. With repeaters spaced at 1km intervals the data rate of 274
megabits per second have been achieved.
ol
Optical Fibers: An optical fiber consists of a very fine inner core made of silica glass,
surrounded by a concentric layer called cladding that is also made of glass. The refractive
index of the glass in the core is slightly higher than refractive index of the glass in the
us
cladding. Hence if a ray of light is launched into an optical fiber at the right oblique
acceptance angle, it is continually refracted into the core by the cladding. That means the
difference between the refractive indices of the core and cladding helps guide the
propagation of the ray of light inside the core of the fiber from one end to the other.
Compared to coaxial cables, optical fibers are smaller in size and they offer higher
vt
vtusolution.in
vtusolution.in
in
n.
io
ut
ol
us
vt
vtusolution.in
vtusolution.in
Chapter-2
SAMPLING PROCESS
in
converted into a discrete–time signal is called Sampling.
Sampling operation is performed in accordance with the sampling theorem.
n.
SAMPLING THEOREM FOR LOW-PASS SIGNALS:-
Statement:- “If a band –limited signal g(t) contains no frequency components for ׀f > ׀W,
then it is completely described by instantaneous values g(kTs) uniformly spaced in time
io
with period Ts ≤ 1/2W. If the sampling rate, fs is equal to the Nyquist rate or greater (fs ≥
2W), the signal g(t) can be exactly reconstructed.
ut
g(t)
ol
sδ (t)
us
vtusolution.in
vtusolution.in
Proof:- Consider the signal g(t) is sampled by using a train of impulses sδ (t).
Let gδ(t) denote the ideally sampled signal, can be represented as
gδ(t) = g(t).sδ(t) ------------------- 2.1
where sδ(t) – impulse train defined by
sδ(t) = (t kT ) --------------------
k
s 2.2
Therefore gδ(t) = g(t) . (t kT ) s
in
k
= g (kT ). (t kT ) ----------- 2.3
k
s s
n.
The Fourier transform of an impulse train is given by
Sδ(f )= F[sδ(t)] = fs ( f
n
nf s ) ------------------ 2.4
Gδ (f) = fs G ( f nf s ) ----------------- 2.5
ol
n
us
vt
vtusolution.in
vtusolution.in
in
n.
Fig. 2.3 Nyquist Rate Sampling (fs = 2W)
io
ut
ol
us
vt
vtusolution.in
vtusolution.in
Reconstruction
gδ (t) Filter gR(t)
in
HR(f) / hR(t)
n.
where hR(t) is the impulse response of the filter.
In frequency domain, GR(f) = Gδ(f) .HR(f).
For the ideal LPF HR(f) = K -W ≤ f ≤ +W
io 0
then impulse response is hR(t) = 2WTs. Sinc(2Wt)
otherwise
ut
Correspondingly the reconstructed signal is
gR(t) = [ 2WTs Sinc (2Wt)] * [g δ (t)]
gR(t) = 2WTs g (kTs).Sinc(2Wt ) * (t kTs)
ol
K
gR(t) = 2WTs g (kTs ).Sinc[2W (t kTs)]
K
us
Gδ(f)
-fs -W 0 W fs f
vt
HR( f) K
-W 0 +W f
GR(f)
f
-W 0 +W
Fig: 2.5 Spectrum of sampled signal and reconstructed signal
vtusolution.in
vtusolution.in
in
Fig 2.6: Spectrum of a Band-pass Signal
The signal g(t) can be represented by instantaneous values, g(kTs) if the sampling
n.
rate fs is (2fu/m) where m is an integer defined as
((fu / B) -1 ) < m ≤ (fu / B)
If the sample values are represented by impulses, then g(t) can be exactly
H(f) = 1
io
reproduced from it’s samples by an ideal Band-Pass filter with the response, H(f) defined
as
fl < | f | <fu
ut
0 elsewhere
If the sampling rate, fs ≥ 2fu, exact reconstruction is possible in which case the signal
g(t) may be considered as a low pass signal itself.
ol
fs
us
4B
3B
2B
vt
0 B 2B 3B 4B 5B fu
Fig 2.7: Relation between Sampling rate, Upper cutoff frequency and Bandwidth.
vtusolution.in
vtusolution.in
Example-2.1 :
Consider a signal g(t) having the Upper Cutoff frequency, fu = 100KHz and the
Lower Cutoff frequency fl = 80KHz.
The ratio of upper cutoff frequency to bandwidth of the signal g(t) is
fu / B = 100K / 20K = 5.
Therefore we can choose m = 5.
Then the sampling rate is fs = 2fu / m = 200K / 5 = 40KHz
in
Example-2.2 :
Consider a signal g(t) having the Upper Cutoff frequency, fu = 120KHz and the
n.
Lower Cutoff frequency fl = 70KHz.
The ratio of upper cutoff frequency to bandwidth of the signal g(t) is
fu / B = 120K / 50K = 2.4
vtusolution.in
vtusolution.in
in
fc, (fc>W). The in-phase component, gI(t) is obtained by multiplying g(t) with
cos(2πfct) and then filtering out the high frequency components. Parallelly a quadrature
phase component is obtained by multiplying g(t) with sin(2πfct) and then filtering out the
n.
high frequency components..
The band pass signal g(t) can be expressed as,
g(t) = gI(t). cos(2πfct) – gQ(t) sin(2πfct)
io
The in-phase, gI(t) and quadrature phase gQ(t) signals are low–pass signals, having band
limited to (-W < f < W). Accordingly each component may be sampled at the rate of
ut
2W samples per second.
ol
cos (2πfct)
g(t) sin(2πfct) ½gQ(t) -½ gQ(nTs)
LPF
vt
sampler
sin (2πfct)
vtusolution.in
vtusolution.in
G(f)
-fc 0 fc f
2W->
a) Spectrum of a Band pass signal.
in
GI(f) / GQ(f)
n.
-W 0 W f
b) Spectrum of gI(t) and gQ(t)
Fig 2.9 a) Spectrum of Band-pass signal g(t)
io
b) Spectrum of in-phase and quadrature phase signals
ut
RECONSTRUCTION:
From the sampled signals gI(nTs) and gQ(nTs), the signals gI(t) and gQ(t) are
ol
obtained. To reconstruct the original band pass signal, multiply the signals g I(t)and gQ(t)
by cos(2πfct) and sin(2πfct) respectively and then add the results.
gI(nTs)
us
Reconstruction
Filter
+
Cos (2πfct) Σ g(t)
vt
gQ(nTs) Reconstruction
Filter
Sin (2πfct)
vtusolution.in
vtusolution.in
Natural Sampling:
In this method of sampling, an electronic switch is used to periodically shift
between the two contacts at a rate of fs = (1/Ts ) Hz, staying on the input contact for C
seconds and on the grounded contact for the remainder of each sampling period.
The output xs(t) of the sampler consists of segments of x(t) and hence xs(t) can be
considered as the product of x(t) and sampling function s(t).
xs(t) = x(t) . s(t)
in
The sampling function s(t) is periodic with period Ts, can be defined as,
S(t) = 1 / 2 < t < / 2 ------- (1)
0 / 2 < ׀t < ׀Ts/2
n.
io
ut
Fig: 2.11 Natural Sampling – Simple Circuit.
ol
us
vt
vtusolution.in
vtusolution.in
in
Applying Fourier transform for the above equation
FT
Using x(t) X(f)
n.
x(t) cos(2πf0t) ½ [X(f-f0) + X(f+f0)]
Xs(f) = Co.X(f) +
n
Cn. X ( f nfs )
io
ut
n≠0
1 X(f)
ol
f
-W 0 +W
us
Xs(f)
C0
vt
C2 C1 C1 C2
f
-2fs -fs -W 0 +W fs 2fs
Sampled Signal Spectrum (fs > 2W)
vtusolution.in
vtusolution.in
The signal xs(t) has the spectrum which consists of message spectrum and repetition of
message spectrum periodically in the frequency domain with a period of fs. But the
message term is scaled by ‘Co”. Since the spectrum is not distorted it is possible to
reconstruct x(t) from the sampled waveform xs(t).
in
the pulse p(t) is a flat – topped pulse of duration, .
n.
io
Fig. 2.14: Flat Top Sampling Circuit
ut
ol
us
vt
vtusolution.in
vtusolution.in
Mathematically we can consider the flat – top sampled signal as equivalent to the
convolved sequence of the pulse signal p(t) and the ideally sampled signal, x δ (t).
xs(t) = p(t) *x δ (t)
xs(t) = p(t) * [ x (kTs ). (t - kTs) ]
k
Applying F.T,
Xs(f) = P(f).X δ (f)
in
= P(f). fs X(f
n
nfs )
n.
Aperature Effect:
The sampled signal in the flat top sampling has the attenuated high frequency
io
components. This effect is called the Aperture Effect.
ut
The aperture effect can be compensated by:
1. Selecting the pulse width as very small.
2. by using an equalizer circuit.
ol
Sampled Signal
Low – Equalizer
us
Fig:2.16
Equalizer decreases the effect of the in-band loss of the interpolation filter (lpf).
vt
As the frequency increases, the gain of the equalizer increases. Ideally the amplitude
response of the equalizer is
1 f
| Heq(f)| = 1 / | P(f) | =
.SinC ( f ) Sin( f )
vtusolution.in
vtusolution.in
In both the natural sampling and flat-top sampling methods, the spectrum of the signals
are scaled by the ratio τ/Ts, where τ is the pulse duration and Ts is the sampling period.
Since this ratio is very small, the signal power at the output of the reconstruction filter is
correspondingly small. To overcome this problem a sample-and-hold circuit is used .
in
SW
AMPLIFIER
n.
Input Output
g(t) u(t)
io
a) Sample and Hold Circuit
ut
ol
us
The Sample-and-Hold circuit consists of an amplifier of unity gain and low output
impedance, a switch and a capacitor; it is assumed that the load impedance is large. The
switch is timed to close only for the small duration of each sampling pulse, during which
time the capacitor charges up to a voltage level equal to that of the input sample. When
the switch is open , the capacitor retains the voltage level until the next closure of the
switch. Thus the sample-and-hold circuit produces an output waveform that represents a
staircase interpolation of the original analog signal.
vtusolution.in
vtusolution.in
u (t ) g (nTs) h(t nTs)
n
where h(t) is the impulse response representing the action of the Sample-and-Hold
circuit; that is
in
Correspondingly, the spectrum for the output of the Sample-and-Hold circuit is given
by,
U ( f ) fs H ( f )G ( f nf
n
s ))
n.
where G(f) is the FT of g(t) and
H(f) = Ts Sinc( fTs) exp( -jfTs)
io
To recover the original signal g(t) without distortion, the output of the Sample-and-
Hold circuit is passed through a low-pass filter and an equalizer.
ut
Sampled Sample and Low Pass Analog
Waveform Hold Circuit Filter Equalizer Waveform
ol
vtusolution.in
vtusolution.in
In practice, we have to work with a finite segment of the signal in which case the
spectrum cannot be strictly band-limited. Consequently when a signal of finite duration
is sampled an error in the reconstruction occurs as a result of the sampling process.
in
Consider a signal g(t) whose spectrum G(f) decreases with the increasing frequency
without limit as shown in the figure 2.19. The spectrum, G(f) of the ideally sampled
signal , g(t) is the sum of G(f) and infinite number of frequency shifted replicas of
n.
G(f). The replicas of G(f) are shifted in frequency by multiples of sampling frequency,
fs. Two replicas of G(f) are shown in the figure 2.19.
The use of a low-pass reconstruction filter with it’s pass band extending from (-fs/2 to
+fs/2) no longer yields an undistorted version of the original signal g(t). The portions of
io
the frequency shifted replicas are folded over inside the desired spectrum. Specifically,
high frequencies in G(f) are reflected into low frequencies in G(f). The phenomenon of
overlapping in the spectrum is called as Aliasing or Foldover Effect. Due to this
ut
phenomenon the information is invariably lost.
ol
us
vt
vtusolution.in
vtusolution.in
Let g(t) be the message signal, g(n/fs) denote the sequence obtained by sampling the
signal g(t) and gi(t) denote the signal reconstructed from this sequence by interpolation;
that is
n
g i (t ) g Sinc( f s t n)
n fs
in
Signal g(t) is given by
g (t ) G ( f ) exp( j 2ft )df
n.
Or equivalently
( m 1 / 2 ) fs
io
Using Poisson’s formula and Fourier Series expansions we can obtain the aliasing error
ut
as
( m 1 / 2 ) fs
| [1 exp( j 2mf t )]
m
s G ( f ) exp( j 2ft )df |
( m 1 / 2 ) fs
ol
2. The absolute value of the sum of a set of terms is less than or equal to the sum of
the absolute values of the individual terms.
3. The absolute value of the term 1- exp(-j2πmfst) is less than or equal to 2.
4. The absolute value of the integral in the above equation is bounded as
vt
( m 1 / 2 ) fs ( m 1 / 2 ) fs
2 | f | fs / 2
| G ( f ) | df
vtusolution.in
vtusolution.in
Example: Consider a time shifted sinc pulse, g(t) = 2 sinc(2t – 1). If g(t) is sampled at
rate of 1sample per second that is at t = 0, ± 1, ±2, ±3 and so on , evaluate
the aliasing error.
Solution: The given signal g(t) and it’s spectrum are shown in fig. 2.20.
2.0
1.0
in
t
-1 0 0.5 1 2
n.
-1.0
a) Sinc Pulse
׀G(f)׀
io
ut
ol
Fig. 2.20
vt
vtusolution.in
vtusolution.in
The concept of TDM is indicated in the figures 2.21 and 2.22. Each message signal is
first restricted in bandwidth be a low pass pre-alias filter to remove the frequencies that
are not essential which helps in reducing the aliasing problem. The outputs of these
in
filters are then applied to a commutator. The functions of the commutator are:
(i) allows narrow samples of each of the N input messages at a rate of fs and
(ii) sequentially interleaves these N samples inside a sampling interval Ts.
n.
The multiplexed signal is then applied to a pulse amplitude modulator, which transforms
the multiplexed signal into a form suitable for transmission over the communication
channel.
The time division scheme squeezes N samples derived from different N independent
message signals into a time slot equal to one sampling interval. Thus the use of TDM
introduces a bandwidth expansion factor N.
io
ut
ol
us
vt
vtusolution.in
vtusolution.in
TDM-PAM Receiver: At the receiver end of the system, the received signal is applied
to a pulse amplitude demodulator, which performs the reverse operation of the pulse
amplitude modulator. The decommutator distributes the appropriate pulses to the
respective reconstruction filters. The decommutator operates in synchronism with the
commutator in the transmitter.
in
n.
io
Fig-2.22 : TDM-PAM: Receiver
ut
The multiplexed signal, considering four message signals is shown in the figure 2.23 and
the corresponding commutator and decommutator arrangements are shown in the figures
ol
2.24 and 2.25.
us
4
4
4
vt
1 1 1
2 2 2
3 3 3
t
vtusolution.in
vtusolution.in
g1(t)
g2(t)
in
n.
g3(t)
g4(t)
io
Fig: 2.24 Commutator Arrangement Multiplexing of FOUR signals.
ut
Decommutator Arrangement ( for four signals )
ol
g1(t)
us
g2(t)
1 2
vt
4 3
g3(t)
g4(t)
vtusolution.in
vtusolution.in
TDM – PAM:
Synchronous TDM
in
1. Same Sampling rate for all signals.
2. Minimum Sampling rate = twice the maximum frequency of all the
signals.
3. Total number of samples transmitted per second is equal to N times the
n.
sampling rate, Fs plus sync pulses.
4. Transmission Bandwidth = N. Fs/2
Asynchronous TDM:
io
1. Different Sampling rate for different. signals.
2. Sampling rate of a signal = twice the maximum frequency of that signal.
ut
3. Total number of samples transmitted per second is equal to Sum of samples of all
the signals plus sync pulses
4. Transmission Bandwidth = Half the total number of samples transmitted.
5. Bandwidth is less for Asynchronous TDM.
ol
PROBLEM-1:
us
Two low-pass signals of equal bandwidth are sampled and time division multiplexed
using PAM. The TDM signal is passed through a Low-pass filter & then transmitted over
a channel with a bandwidth of 10KHz.
a) What is maximum Sampling rate for each Channel?
vt
Solution:
Channel Bandwidth = 10 KHz.
Number of samples that can be transmitted through the channel = 20K
Maximum Sampling rate for each channel = 10K Samples/sec.
Maximum Frequency for each Signal = 5KHz
vtusolution.in
vtusolution.in
PROBLEM-2:
Two signals g1(t) and g2(t) are to transmitted over a common channel by means of TDM.
The highest frequency of g1(t) is 1KHz and that of g2(t) is 1.3KHz. What is the
permissible sampling rate?
Solution: Choosing the highest frequency of the signal as 1.3KHz, the permissible
sampling rate is
in
2.6K samples/sec and above. { Synchronous TDM}
PROBLEM-3:
n.
24 voice signals are sampled uniformly and then time division multiplexed . The
sampling operation uses the flat-top samples with 1microsec duration. The multiplexing
operation includes provision for Synchronization by adding an extra pulse of sufficient
amplitude and also 1micro second. Assuming a sampling rate of 8KHz, calculate the
Solution: io
spacing between successive pulses of the multiplexed signal.
PROBLEM-4:
Three independent message signals of bandwidths 1KHz, 1KHz and 2KHz respectively
are to be transmitted using TDM scheme. Determine
us
Solution:
vt
vtusolution.in
vtusolution.in
g1(t)
g2(t)
2 1
g3(t)
in
3 4
n.
Fig 2.26 – commutator arrangement for problem-4.
io
ut
3
3
3
ol
1 1 1
3 3 3
us
2 2 2
Time
Fig 2.27 – TDM Signal for problem-4.
vt
ASSIGNMENT PROBLEM:
Eight independent message signals are sampled and time multiplexed using PAM. Six of
the message signals are having a bandwidth of 4KHz and other two have bandwidth of
12KHz. Compare the transmission bandwidth requirements of Synchronous TDM and
Asynchronous TDM.
vtusolution.in
vtusolution.in
PROBLEM-5:
Four independent message signals of bandwidths W, 2W, 2W and 4W hertz are to be
transmitted on a TDM basis using a common channel.
Design a suitable ASYNCHRONOUS – TDM system.
Solution:
In asynchronous TDM all the signals will be sampled at their respective Nyquist rate.
in
This is possible only if there is a common factor for all the sampling frequencies. In this
case the common factor value is 2W. Hence the number of segments required for each
signal and the respective segments are all shown in the table below.
n.
Signal Bandwidth of Sampling Number of
Segments
the Signal Frequency Segments
g1 W 2W 1 5
g2 2W 4W 2 2, 8
g3 2W 4W 2 3,9
g4 4W 8W
io 4 1, 4, 7, 10
ut
PROBLEM-6:
ol
Q. Twenty four analog signals, each having a bandwidth of 15KHz, are to be time-
division multiplexed and transmitted via PAM/AM. A guard band of 10 KHz is required
for signal reconstruction from the PAM samples of each signal.
us
Solution:
vt
vtusolution.in
vtusolution.in
in
n.
Guard band
io
Fig: 2.28 Spectrum of the sampled signal with guard band indicated.
ut
-- END --
ol
us
vt
vtusolution.in
vtusolution.in
Chapter-3
Waveform Coding Techniques
in
simple two level waveform is shown in fig 3.1.
n.
io
Fig:3.1 A simple binary PCM waveform
The PCM system block diagram is shown in fig 3.2. The essential operations in the
transmitter of a PCM system are Sampling, Quantizing and Coding. The Quantizing and
ut
encoding operations are usually performed by the same circuit, normally referred to as
analog to digital converter.
The essential operations in the receiver are regeneration, decoding and
demodulation of the quantized samples. Regenerative repeaters are used to reconstruct
ol
the transmitted sequence of coded pulses in order to combat the accumulated effects of
signal distortion and noise.
PCM Transmitter:
us
Basic Blocks:
1. Anti aliasing Filter
2. Sampler
3. Quantizer
vt
4. Encoder
An anti-aliasing filter is basically a filter used to ensure that the input signal to sampler is
free from the unwanted frequency components.
For most of the applications these are low-pass filters. It removes the frequency
components of the signal which are above the cutoff frequency of the filter. The cutoff
frequency of the filter is chosen such it is very close to the highest frequency component
of the signal.
vtusolution.in
vtusolution.in
Sampler unit samples the input signal and these samples are then fed to the Quantizer
which outputs the quantized values for each of the samples. The quantizer output is fed
to an encoder which generates the binary code for every sample. The quantizer and
encoder together is called as analog to digital converter.
Continuous time
message signal PCM Wave
in
LPF Sampler Quantizer Encoder
(a) TRANSMITTER
n.
Distorted
PCM wave
Regenerative
Repeater io Regenerative
Repeater
ut
(b) Transmission Path
ol
Input
Regeneration Decoder Reconstruction Destination
us
(c) RECEIVER
vt
vtusolution.in
vtusolution.in
REGENERATIVE REPEATER
REGENERATION: The feature of the PCM systems lies in the ability to control the
effects of distortion and noise produced by transmitting a PCM wave through a channel.
This is accomplished by reconstructing the PCM wave by means of regenerative
repeaters.
Three basic functions: Equalization
Timing and
Decision Making
in
Decision
Distorted Amplifier - Making Regenerated
PCM PCM wave
n.
Equalizer Device
Wave
io
Timing
Circuit
ut
Fig: 3.3 - Block diagram of a regenerative repeater.
ol
The equalizer shapes the received pulses so as to compensate for the effects of
amplitude and phase distortions produced by the transmission characteristics of the
channel.
The timing circuit provides a periodic pulse train, derived from the received
us
pulses, for sampling the equalized pulses at the instants of time where the signal to noise
ratio is maximum.
The decision device is enabled at the sampling times determined by the timing
circuit. It makes it’s decision based on whether the amplitude of the quantized pulse plus
noise exceeds a predetermined voltage level.
vt
vtusolution.in
vtusolution.in
Quantization Process:
The process of transforming Sampled amplitude values of a message signal into a
discrete amplitude value is referred to as Quantization.
in
staircase, and
2. the output is assigned a discrete value selected from a finite set of representation
levels that are aligned with the treads of the staircase..
n.
A quantizer is memory less in that the quantizer output is determined only by the value of
a corresponding input sample, independently of earlier analog samples applied to the
input.
io
ut
Analog Signal
ol
Discrete Samples
( Quantized )
us
Types of Quantizers:
1. Uniform Quantizer
2. Non- Uniform Quantizer
vtusolution.in
vtusolution.in
In Uniform type, the quantization levels are uniformly spaced, whereas in non-
uniform type the spacing between the levels will be unequal and mostly the relation is
logarithmic.
In the stair case like graph, the origin lies the middle of the tread portion in Mid –Tread
in
type where as the origin lies in the middle of the rise portion in the Mid-Rise type.
n.
Output
7Δ/2
5Δ/2
3Δ/2
io
ut
Δ/2
Δ 2Δ 3Δ 4Δ Input
ol
us
vt
vtusolution.in
vtusolution.in
Output
2Δ
in
Δ/2 3Δ/2 Input
n.
io
Fig:3.6 Input-Output Characteristics of a Mid-Tread type Quantizer
ut
Quantization Noise and Signal-to-Noise:
“The Quantization process introduces an error defined as the difference between the input
ol
signal, x(t) and the output signal, yt). This error is called the Quantization Noise.”
Let ‘Δ’ be the step size of a quantizer and L be the total number of quantization levels.
vt
vtusolution.in
vtusolution.in
which is a staircase function that befits the type of mid tread or mid riser quantizer of
interest.
in
where xk and xk+1 are decision thresholds of the interval Ik as shown in figure 3.7.
Ik-1 Ik
n.
Xk-1
yk-1
Xk io yk
Xk+1
ut
Fig:3.7 Decision thresholds of the equalizer
Assuming that the quantizer input ‘n’ is the sample value of a random variable ‘X’ of
zero mean with variance x 2 .
The quantization noise uniformly distributed through out the signal band, its interfering
effect on a signal is similar to that of thermal noise.
vt
vtusolution.in
vtusolution.in
where fQ(q) = probability density function of the Quantization error. If the signal
does not overload the Quantizer, then the mean of Quantization error is zero and
its variance σQ2 .
fQ(q)
1/Δ
- Δ/2 0 Δ/2 q
in
Therefore
Q E{Q 2 }
2
n.
Q q 2 f q (q )dq
2
---- ( 3.4)
Q
2
1
2
2
q 2 dq io 2
12
--- (3.5)
ut
Thus the variance of the Quantization noise produced by a Uniform Quantizer,
grows as the square of the step size. Equation (3.5) gives an expression for Quantization
noise in PCM system.
ol
Let X = Variance of the base band signal x(t) at the input of Quantizer.
2
When the base band signal is reconstructed at the receiver output, we obtain
original signal plus Quantization noise. Therefore output signal to Quantization noise
ration (SNR) is given by
us
Signal Power X
2 2
Let x = Quantizer input, sampled value of random variable X with mean X, variance
X . The Quantizer is assumed to be uniform, symmetric and mid tread type.
2
vtusolution.in
vtusolution.in
2 x max
L 1 ----- (3.7)
in
From the equations 3.7 and 3.8,
2 x max
2n 1 1
n.
Or
x
max
---- (3.9)
The ratio
x max
x
2 n 1
1
io
is called the loading factor. To avoid significant overload distortion, the
ut
amplitude of the Quantizer input x extend from 4 x to 4 x , which corresponds to
loading factor of 4. Thus with x max 4 x we can write equation (3.9) as
4 x
ol
n 1
----------(3.10)
2 1
2
3
( SNR ) O 2 X [2 n 1 1] 2 -------------(3.11)
/ 12 4
us
This formula states that each bit in codeword of a PCM system contributes 6db to the
signal to noise ratio.
For loading factor of 4, the problem of overload i.e. the problem that the sampled
value of signal falls outside the total amplitude range of Quantizer, 8σ x is less than 10-4.
vtusolution.in
vtusolution.in
The equation 3.11 gives a good description of the noise performance of a PCM
system provided that the following conditions are satisfied.
1. The Quantization error is uniformly distributed
2. The system operates with an average signal power above the error threshold so
that the effect of channel noise is made negligible and performance is there by
limited essentially by Quantization noise alone.
3. The Quantization is fine enough (say n>6) to prevent signal correlated patterns in
the Quantization error waveform
4. The Quantizer is aligned with input for a loading factor of 4
in
2. Average signal power
3. n > 6
4. Loading factor = 4
n.
From (3.13): 10 log10 (SNR)O = 6n – 7.2
io
10 log10 (SNR)O = 6(B/W) – 7.2 --------(3.14)
2x max
L ------------------(3.15)
us
xmax
-------------- (3.17)
2n
X
2
( SNR ) O -------------(3.18)
2 / 12
where X
2
represents the variance or the signal power.
vtusolution.in
vtusolution.in
Ps 12 Ps
( SNR ) O 1.5 L2 1.5 2 2 n -----(3.19)
/ 12
2
2
in
Improvement of SNR can be achieved by increasing the number of bits, n. Thus
for ‘n’ number of bits / sample the SNR is given by the above equation 3.19. For every
increase of one bit / sample the step size reduces by half. Thus for (n+1) bits the SNR is
n.
given by
(SNR) (n+1) bit = (SNR) (n) bit + 6dB
io
Problem-1: An analog signal is sampled at the Nyquist rate fs = 20K and quantized
ut
into L=1024 levels. Find Bit-rate and the time duration Tb of one bit of the binary
encoded signal.
Problem-2: A PCM system uses a uniform quantizer followed by a 7-bit binary encoder.
The bit rate of the system is 56Mega bits/sec. Find the output signal-to-quantization
noise ratio when a sinusoidal wave of 1MHz frequency is applied to the input.
Solution:
vt
vtusolution.in
vtusolution.in
OVER LOAD NOISE:- The level of the analog waveform at the input of the PCM
encoder needs to be set so that its peak value does not exceed the design peak of Vmax
volts. If the peak input does exceed Vmax, then the recovered analog waveform at the
output of the PCM system will have flat – top near the peak values. This produces
overload noise.
in
GRANULAR NOISE:- If the input level is reduced to a relatively small value w.r.t to the
design level (quantization level), the error values are not same from sample to sample and
the noise has a harsh sound resembling gravel being poured into a barrel. This is granular
noise.
n.
This noise can be randomized (noise power decreased) by increasing the number
of quantization levels i.e.. increasing the PCM bit rate.
HUNTING NOISE:- This occurs when the input analog waveform is nearly constant.
io
For these conditions, the sample values at the Quantizer output can oscillate between two
adjacent quantization levels, causing an undesired sinusoidal type tone of frequency
(0.5fs) at the output of the PCM system
This noise can be reduced by designing the quantizer so that there is no vertical
ut
step at constant value of the inputs.
ol
us
vt
vtusolution.in
vtusolution.in
ROBUST QUANTIZATION
A Quantizer whose SNR remains essentially constant for a wide range of input power
levels. A quantizer that satisfies this requirement is said to be robust. The provision for
such robust performance necessitates the use of a non-uniform quantizer. In a non-
uniform quantizer the step size varies. For smaller amplitude ranges the step size is small
and larger amplitude ranges the step size is large.
in
In Non – Uniform Quantizer the step size varies. The use of a non – uniform
quantizer is equivalent to passing the baseband signal through a compressor and then
applying the compressed signal to a uniform quantizer. The resultant signal is then
n.
transmitted.
UNIFORM
COMPRESSOR QUANTIZER EXPANDER
io
ut
Fig: 3.9 MODEL OF NON UNIFORM QUANTIZER
1. Higher average signal to quantization noise power ratio than the uniform quantizer
when the signal pdf is non uniform which is the case in many practical situation.
2. RMS value of the quantizer noise power of a non – uniform quantizer is
substantially proportional to the sampled value and hence the effect of the
quantizer noise is reduced.
vtusolution.in
vtusolution.in
The Compressor Characteristics for large L and x inside the interval Ik:
dc( x) 2x
max for k 0,1,.....L 1 ---------- ( 3.22 )
dx L k
in
where Δk = Width in the interval Ik.
n.
Consider the two assumptions:
– fX(x) is Symmetric
– fX(x) is approximately constant in each interval. ie.. fX(x) = fX(yk)
L 1
k 0
Let the random variable Q denote the quantization error, then
Variance of Q is
σQ2 = E ( Q2) = E [( X – yk )2 ] ---- (3.25)
xmax
Q (x y )
vt
2 2
k f X ( x) dx ---- ( 3.26)
xmax
Dividing the region of integration into L intervals and using (3.24)
L 1 xk 1
pk
Q
2 2
( x y ) dx
k
k ----- (3.27)
k 0 xk
vtusolution.in
vtusolution.in
Using yk = 0.5 ( xk + xk+1 ) in 3.27 and carrying out the integration w.r.t x, we
obtain that
1 L 1
Q pk 2k
2
------- (3.28)
12 k 0
Compression Laws.
in
Two Commonly used logarithmic compression laws are called µ - law and A – law.
μ-law:
In this companding, the compressor characteristics is defined by equation 3.29.
n.
The normalized form of compressor characteristics is shown in the figure 3.10. The μ-
law is used for PCM telephone systems in the USA, Canada and Japan. A practical
value for μ is 255.
c( x )
xmax
ln(1 )
io
ln(1 x / x max )
0
x
xmax
1
----( 3.29)
ut
ol
us
vt
vtusolution.in
vtusolution.in
A-law:
In A-law companding the compressor characteristics is defined by equation 3.30. The
normalized form of A-law compressor characteristics is shown in the figure 3.11. The
A-law is used for PCM telephone systems in Europe. A practical value for A is 100.
A x / x max x 1
0
c( x ) 1 ln A x max A
x max
in
1 ln A x / x ma ) 1 x
1
(1 l A x A x ma
n.
x
n ------------- ( 3.30)
io
ut
ol
us
vt
vtusolution.in
vtusolution.in
The transmitter and receiver of the DPCM scheme is shown in the fig3.12 and fig 3.13
in
respectively.
Transmitter: Let x(t) be the signal to be sampled and x(nTs) be it’s samples. In this
scheme the input to the quantizer is a signal
n.
e(nTs) = x(nTs) - x^(nTs) ----- (3.31)
where x^(nTs) is the prediction for unquantized sample x(nTs). This predicted value is
produced by using a predictor whose input, consists of a quantized versions of the input
io
signal x(nTs). The signal e(nTs) is called the prediction error.
By encoding the quantizer output, in this method, we obtain a modified version of the
ut
PCM called differential pulse code modulation (DPCM).
The receiver consists of a decoder to reconstruct the quantized error signal. The quantized
version of the original input is reconstructed from the decoder output using the same
predictor as used in the transmitter. In the absence of noise the encoded signal at the
receiver input is identical to the encoded signal at the transmitter output. Correspondingly
the receive output is equal to u(nTs), which differs from the input x(nts) only by the
quantizing error q(nTs).
vtusolution.in
vtusolution.in
Sampled Input
x(nTs) e(nTs) v(nTs) Output
Σ Quantizer
+
in
^ Σ
x(nTs)
n.
io
Predictor
u(nTs)
ut
Fig:3.12 - Block diagram of DPCM Transmitter
ol
Decoder Σ
b(nTs) Output
vt
x^(nTs Predictor
)
vtusolution.in
vtusolution.in
where σx2 is the variance of the signal x(nTs) and σQ2 is the variance of the
quantization error q(nTs). Then
X2 E2
(SNR) 0 2 2 GP ( SNR) P
in
E Q
------(3.37)
where σE2 is the variance of the prediction error e(nTs) and (SNR)P is the prediction
error-to-quantization noise ratio, defined by
n.
E2
(SNR) P 2
Q --------------(3.38)
The prediction gain is maximized by minimizing the variance of the prediction error.
ut
Hence the main objective of the predictor design is to minimize the variance of the
prediction error.
1
The prediction gain is defined by GP ---- (3.40)
(1 12 )
ol
and E X (1 1 ) ----(3.41)
2 2 2
PROBLEM:
Consider a DPCM system whose transmitter uses a first-order predictor optimized
in the minimum mean-square sense. Calculate the prediction gain of the system
for the following values of correlation coefficient for the message signal:
Rx (1) Rx (1)
(i ) 1 0.825 (ii) 1 0.950
vt
Rx (0) Rx (0)
Solution:
Using (3.40)
(i) For ρ1= 0.825, Gp = 3.13 In dB , Gp = 5dB
vtusolution.in
vtusolution.in
DM provides a staircase approximation to the over sampled version of an input base band
in
signal. The difference between the input and the approximation is quantized into only two
levels, namely, ±δ corresponding to positive and negative differences, respectively, Thus,
if the approximation falls below the signal at any sampling epoch, it is increased by δ.
Provided that the signal does not change too rapidly from sample to sample, we find that
n.
the stair case approximation remains within ±δ of the input signal. The symbol δ denotes
the absolute value of the two representation levels of the one-bit quantizer used in the
DM. These two levels are indicated in the transfer characteristic of Fig 3.14. The step
size of the quantizer is related to δ by
= 2δ ----- (3.42)
Output
io
ut
+δ
ol
0
us
Input
-δ
vt
Let the input signal be x(t) and the staircase approximation to it is u(t). Then, the basic
principle of delta modulation may be formalized in the following set of relations:
vtusolution.in
vtusolution.in
in
^
to it, namely x(nTs ) u (nTs Ts ) .The binary quantity, b(nTs ) is the one-bit word
transmitted by the DM system.
n.
The transmitter of DM system is shown in the figure3.15. It consists of a summer, a two-
level quantizer, and an accumulator. Then, from the equations of (3.43) we obtain the
output as,
n n
u (nTs ) sgn[e(iTs )] b(iTs )
i 1
io i 1
----- (3.44)
At each sampling instant, the accumulator increments the approximation to the input
signal by ±δ, depending on the binary output of the modulator.
ut
Sampled Input
x(nTs) e(nTs) b(nTs) Output
ol
Σ One - Bit
+ Quantizer
us
^ Σ
x(nTs)
vt
Delay
Ts u(nTs)
vtusolution.in
vtusolution.in
In the receiver, shown in fig.3.16, the stair case approximation u(t) is reconstructed by
passing the incoming sequence of positive and negative pulses through an accumulator in
a manner similar to that used in the transmitter. The out-of –band quantization noise in
the high frequency staircase waveform u(t) is rejected by passing it through a low-pass
filter with a band-width equal to the original signal bandwidth.
in
u(nTs) Low pass
Input Σ Filter
b(nTs)
n.
Delay
Ts
u(nTs-Ts)
io
Fig 3.16 - Block diagram for Receiver of a DM system
ut
QUANTIZATION NOISE
ol
If we consider the maximum slope of the original input waveform x(t), it is clear that in
order for the sequence of samples{u(nTs)} to increase as fast as the input sequence of
samples {x(nTs)} in a region of maximum slope of x(t), we require that the condition in
equation 3.45 be satisfied.
dx(t )
max
vt
------- ( 3.45 )
Ts dt
Otherwise, we find that the step size = 2δ is too small for the stair case
approximation u(t) to follow a steep segment of the input waveform x(t), with the result
that u(t) falls behind x(t). This condition is called slope-overload, and the resulting
quantization error is called slope-overload distortion(noise). Since the maximum slope of
the staircase approximation u(t) is fixed by the step size , increases and decreases in
u(t) tend to occur along straight lines. For this reason, a delta modulator using a fixed step
size is often referred ton as linear delta modulation (LDM).
vtusolution.in
vtusolution.in
The granular noise occurs when the step size is too large relative to the local
slope characteristics of the input wave form x(t), thereby causing the staircase
approximation u(t) to hunt around a relatively flat segment of the input waveform; The
granular noise is analogous to quantization noise in a PCM system.
The e choice of the optimum step size that minimizes the mean-square value of
the quantizing error in a linear delta modulator will be the result of a compromise
between slope overload distortion and granular noise.
in
Consider the sinusoidal signal, x(t) = A cos(2µfot)
The maximum slope of the signal x(t) is given by
n.
dx (t )
max 2 f 0 A ----- (3.46)
dt
The use of Eq.5.81 constrains the choice of step size = 2δ, so as to avoid slope-
max
dx(t )
2 f 0 A
io
overload. In particular, it imposes the following condition on the value of δ:
ut
----- (3. 47)
Ts dt
Hence for no slope overload error the condition is given by equations 3.48 and 3.49.
ol
A ------ (3.48)
2 f 0Ts
us
Hence, the maximum permissible value of the output signal power equals
2
vt
A2
Pmax
2 8 2 f 02 Ts2 ---- (3.50)
When there is no slope-overload, the maximum quantization error ±δ. Assuming that the
quantizing error is uniformly distributed (which is a reasonable approximation for small
δ). Considering the probability density function of the quantization error,( defined in
equation 3.51 ),
vtusolution.in
vtusolution.in
1
f Q (q) for q
2 ----- (3.51)
0 otherwise
The variance of the quantization error is 2 Q .
2
1
Q q dq
2 2
2
3 ----- (3.52)
in
The receiver contains (at its output end) a low-pass filter whose bandwidth is set equal to
the message bandwidth (i.e., highest possible frequency component of the message
signal), denoted as W such that f0 ≤ W. Assuming that the average power of the
n.
quantization error is uniformly distributed over a frequency interval extending from -1/Ts
to 1/Ts, we get the result:
fc 2 2
No WTs
Average output noise power
io
s
f 3 3
Correspondingly, the maximum value of the output signal-to-noise ratio equals
----- ( 3.53)
ut
Pmax 3
(SNR)O
No 8 2Wf02 Ts3 ----- (3.54)
ol
Equation 3.54 shows that, under the assumption of no slope-overload distortion, the
maximum output signal-to-noise ratio of a delta modulator is proportional to the sampling
rate cubed. This indicates a 9db improvement with doubling of the sampling rate.
us
Problems
Solution:
vtusolution.in
vtusolution.in
Delta Modulation:
Problems
in
Maximum amplitude = 1 volt
Bit Rate = 60Kbits/sec
Sampling rate = 60K Samples/sec.
STEP SIZE = 0.356 Volts
n.
3. Consider a Speech Signal with maximum frequency of 3.4KHz and
maximum amplitude of 1volt. This speech signal is applied to a delta modulator
the modulator.
Solution:
io
whose bit rate is set at 20kbit/sec. Explain the choice of an appropriate step size for
vtusolution.in
vtusolution.in
There are several types of ADM, depending on the type of scheme used for adjusting the
step size. In this ADM, a discrete set of values is provided for the step size. Fig.3.17
in
shows the block diagram of the transmitter and receiver of an ADM System.
n.
is constrained to lie between minimum and maximum values.
The upper limit, max , controls the amount of slope-overload distortion. The lower limit,
min , controls the amount of idle channel noise. Inside these limits, the adaptation rule
------ (3.55)
ut
where the time-varying multiplier g (nTs ) depends on the present binary output b(nTs )
of the delta modulator and the M previous values b(nTs Ts ), ....... b( nTs MTs ) .
ol
This adaptation algorithm is called a constant factor ADM with one-bit memory,
where the term “one bit memory” refers to the explicit utilization of the single pervious
bit b(nTs Ts ) because equation (3.55) can be written as,
us
This algorithm of equation (3.56), with K=1.5 has been found to be well matched to
typically speech and image inputs alike, for a wide range of bit rates.
vtusolution.in
vtusolution.in
in
n.
io
Figure: 3.17a) Block Diagram of ADM Transmitter.
ut
ol
us
vt
vtusolution.in
vtusolution.in
For coding speech at low bit rates, a waveform coder of prescribed configuration
in
is optimized by exploiting both statistical characterization of speech waveforms and
properties of hearing. The design philosophy has two aims in mind:
1. To remove redundancies from the speech signal as far as possible.
2. To assign the available bits to code the non-redundant parts of the speech signal in
n.
a perceptually efficient manner.
To reduce the bit rate from 64 kb/s (used in standard PCM) to 32, 16, 8 and 4
kb/s, the algorithms for redundancy removal and bit assignment become increasingly
more sophisticated.
A digital coding scheme that uses both adaptive quantization and adaptive
ol
The term “adaptive” means being responsive to changing level and spectrum of the input
speech signal. The variation of performance with speakers and speech material, together
us
with variations in signal level inherent in the speech communication process, make the
combined use of adaptive quantization and adaptive prediction necessary to achieve best
performance.
The term “adaptive quantization” refers to a quantizer that operates with a time-varying
vt
step size (nTs ) , where Ts is the sampling period. The step size (nTs ) is varied so as
to match the variance 2 x of the input signal x(nTs ) . In particular, we write
vtusolution.in
vtusolution.in
^
The computation of the estimate x (nTs ) in done by one of two ways:
1. Unquantized samples of the input signal are used to derive forward estimates of
x (nTs ) - adaptive quantization with forward estimation (AQF)
2. Samples of the quantizer output are used to derive backward estimates of
x (nTs ) - adaptive quantization with backward estimation (AQB)
The use of adaptive prediction in ADPCM is required because speech signals are
in
inherently nonstationary, a phenomenon that manifests itself in the fact that
autocorrection function and power spectral density of speech signals are time-varying
functions of their respective variables. This implies that the design of predictors for such
inputs should likewise be time-varying, that is, adaptive. As with adaptive quantization,
n.
there are two schemes for performing adaptive prediction:
1. Adaptive prediction with forward estimation (APF), in which unquantized
samples of the input signal are used to derive estimates of the predictor
coefficients.
io
2. Adaptive prediction with backward estimation (APB), in which samples of the
quantizer output and the prediction error are used to derive estimates of the
prediction error are used to derive estimates of the predictor coefficients.
ut
(2) Adaptive Sub-band Coding:
PCM and ADPCM are both time-domain coders in that the speech signal is
processed in the time-domain as a single full band signal. Adaptive sub-band coding
ol
is a frequency domain coder, in which the speech signal is divided into a number of
sub-bands and each one is encoded separately. The coder is capable of digitizing
speech at a rate of 16 kb/s with a quality comparable to that of 64 kb/s PCM. To
accomplish this performance, it exploits the quasi-periodic nature of voiced speech
us
Periodicity of voiced speech manifests itself in the fact that people speak with a
characteristic pitch frequency. This periodicity permits pitch prediction, and
therefore a further reduction in the level of the prediction error that requires
vt
vtusolution.in
vtusolution.in
Applications
1. Hierarchy of Digital Multiplexers
2. Light wave Transmission Link
in
well as digital data into one data stream.
The digitized voice signals, digitized facsimile and television signals and
computer outputs are of different rates but using multiplexers it combined into a single
n.
data stream.
1
2
: Multiplex
io
High-Speed DeMux
1
2
ut
er Transmissio :
: n
:
line
ol
N N
1. Synchronization.
2. Multiplexed signal should include Framing.
3. Multiplexer Should be capable handling Small variations
vtusolution.in
vtusolution.in
This was developed by Bell system. The T1 carrier is designed to operate at 1.544 mega
bits per second, the T2 at 6.312 megabits per second, the T3 at 44.736 megabits per
second, and the T4 at 274.176 mega bits per second. This system is made up of various
combinations of lower order T-carrier subsystems. This system is designed to
accommodate the transmission of voice signals, Picture phone service and television
signals by using PCM and digital signals from data terminal equipment. The structure is
shown in the figure 3.19.
in
n.
io
ut
ol
us
The T1 carrier system has been adopted in USA, Canada and Japan. It is designed to
accommodate 24 voice signals. The voice signals are filtered with low pass filter having
cutoff of 3400 Hz. The filtered signals are sampled at 8KHz. The µ-law Companding
vt
With the sampling rate of 8KHz, each frame of the multiplexed signal occupies a period
of 125μsec. It consists of 24 8-bit words plus a single bit that is added at the end of the
frame for the purpose of synchronization. Hence each frame consists of a total 193 bits.
Each frame is of duration 125μsec, correspondingly, the bit rate is 1.544 mega bits per
second.
vtusolution.in
vtusolution.in
Another type of practical system, that is used in Europe is 32 channel system which is
shown in the figure 3.20.
2.048 Mbit/s
1
2 8.448 Mbit/s
3
4 1
2 34.368 Mbit/s
in
3
(32 channels x 64 4
= 2048 channels)
n.
1
2 139.264 Mbit/s
x16 x4 3
13
io 4
ut
14
15
61
16
ol
62
63
64
us
vtusolution.in
vtusolution.in
The basic optical fiber link is shown in the figure 3.21. The binary data fed into the
transmitter input, which emits the pulses of optical power., with each pulse being on or
off in accordance with the input data. The choice of the light source determines the
in
optical signal power available for transmission.
n.
io
ut
ol
us
At the receiver the original input data are regenerated by performing three basic
operations which are :
1. Detection – the light pulses are converted back into pulses of electrical current.
2. Pulse Shaping and Timing - This involves amplification, filtering and
equalization of the electrical pulses, as well as the extraction of timing
information.
3. Decision Making: Depending the pulse received it should be decided that the
received pulse is on or off.
--END--
vtusolution.in
vtusolution.in
CHAPTER-4
Line Codes
In base band transmission best way is to map digits or symbols into pulse waveform.
This waveform is generally termed as Line codes.
RZ: Return to Zero [ pulse for half the duration of Tb ]
NRZ Return to Zero[ pulse for full duration of Tb ]
1 0 1 0 1 1 1 0 0
in
Unipolar
NRZ
n.
Polar NRZ
NRZ-inverted
(differential
encoding)
Bipolar
io
ut
encoding
Manchester
encoding
ol
Differential
Manchester
encoding
us
Unipolar (NRZ)
vt
NRZ-Unipolar
A
Unipolar NRZ 1 0 1 0 0 1 1 0 1
0
vtusolution.in
vtusolution.in
Unipolar NRZ
“1” maps to +A pulse “0” maps to no pulse
Poor timing
Low-frequency content
Simple
Long strings of 1s and 0s ,synchronization problem
Polar - (NRZ)
in
NRZ-Polar
+A
0
n.
-A
Polar NRZ
io
“1” maps to +A pulse “0” to –A pulse
ut
Better Average Power
simple to implement
Long strings of 1s and 0s ,synchronization problem
Poor timing
ol
Bipolar Code
us
NRZ-
V Bipolar
1 0 1 0 0 1 1 0 1
0
vt
vtusolution.in
vtusolution.in
Manchester code
1 0 1 0 1 1 1 0 0
Manchester
Encoding
in
• “1” maps into A/2 first for Tb/2, and -A/2 for next Tb/2
• “0” maps into -A/2 first for Tb/2, and A/2 for Tb/2
• Every interval has transition in middle
– Timing recovery easy
n.
• Simple to implement
• Suitable for satellite telemetry and optical communications
Differential encoding
It starts with one initial bit .Assume 0 or 1.
Signal transitions are used for encoding.
1. Ruggedness
vt
2. DC Component
3. Self Synchronization.
4. Error detection
5. Bandwidth utilization
6. Matched Power Spectrum
vtusolution.in
vtusolution.in
in
codes as
Symbol 1 a
Unipolar A [ Symbol 0 0
k
n.
Symbol 1 a
Polar A [ Symbol 0 a
k
Bipolar AlternateSymbol 1 takes a, a
A [ Symbol 0 0
Manchester
k
Symbol 1 a
A [ Symbol 0 a
k
io
ut
As Ak is discrete random variable, generated by random process X(t),
We can characterize random variable by its ensemble averaged auto correlation function
given by
ol
RA(n) = E [Ak.Ak-n] ,
Ak, Ak-n = amplitudes of kth and (k-n)th symbol position
us
PSD & auto correlation function form Fourier Transform pair & hence auto
correlation function tells us something about bandwidth requirement in frequency
domain.
vt
1 2 j2π fnT
Sx (f) V(f) R A (n) e
T n
Where V(f) is Fourier Transform of basic pulse V(t). V(f) & RA(n) depends on different
line codes.
vtusolution.in
vtusolution.in
Consider unipolar form with symbol 1’s and 0’s with equal probability i.e.
P(Ak=0) = ½ and P(Ak=1) = ½
For n=0;
Probable values of Ak.Ak = 0 x 0 & a x a
=E [ Ak.Ak-0]
= E[Ak2] = 02 x P [ Ak=0] + a2 x P[Ak=1]
in
RA(0) = a2/2
If n ≠ 0
Ak.Ak-n will have four possibilities (adjacent bits)
n.
0 x 0, 0 x a, a x 0, a x a with probabilities ¼ each.
E[Ak.Ak-n] = 0 x ¼ + 0 x ¼ + 0 x ¼ + a2 / 4
= a2 / 4
PSD is given by
ut
1 2 j2π fnT
Sx (f) V(f) R A (n) e
T n
ol
1 2 2
j2π fnT
S (f) T Sinc (fT ) R (n) e b
X T b b n A
us
b
2
j2π fnT
T Sinc (fT ) R (0) R (n) e b
b b A A
vt
n
n 0
2
a
2 j2π fnTb
2
T Sinc (fT ) a e
b b 2 4
n
n 0
vtusolution.in
vtusolution.in
a 2 2 a 2 2 j2π fn Tb
T Sinc (fT ) T Sinc (fT ) e
4 b b 4 b b n
j2π fn T
e b 1 δ(f - n )
n T n
in
T
b b
2 2
S (f) a T Sinc 2 (fT ) a T Sinc 2 (fT ) 1 δ(f n )
n.
X 4 b b 4 b b T n T
b b
n
δ(f T ) is Dirac delta train which multiplies Sinc function which
n b
has nulls at
1 2
, ..........
io
ut
Tb Tb
As a result, Sin 2 (fT ). δ(f n ) δ(f)
b n T
ol
b
Where δ(f) is delta function at f = 0,
Therefore
a 2T 2
b Sin 2 (fT ) a δ(f )
us
S (f)
X 4 b 4
For n=0
E[AK2] = a x a P(AK = a) + (0 x 0) P[AK = 0] +
(-a x –a) P(AK = -a)
= a2/4 + 0 + a2/4 = a2/2
vtusolution.in
vtusolution.in
For n>1, 3 bits representation 000,001,010 . . . . . . 111. i.e. with each probability of 1/8
in
which results in
E[AK.AK-n] = 0
a2 / 2 n = 0
n.
Therefore RA(n) = -a2 / 4 n = ±1
0 n>1
1 2 j2π fnT
Sx (f)
PSD is given by
T
V(f) R A (n) e
n
io
ut
S x (f)
1 T 2SinC 2 (fT ) R ( 1)e j2π fnTb R (0) R (1)e- j2π fnTb
T b b A A A
b
a 2 a 2 j2π fnTb j2π fTb
ol
Sx (f)
2 b
a 2T
S x (f) b SinC (fT ) 2Sin 2 ( fTb)
2
2 b
vt
S x (f) a 2 T SinC 2 (fT ) Sin 2 ( fTb)
b b
vtusolution.in
vtusolution.in
1.2
NRZ
1
Bipolar
0.8
power density
0.6
0.4
Manchester
in
0.2
0
0
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
2
n.
-0.2
fT
• Unipolar most of signal power is centered around origin and there is waste of
•
power due to DC component that is present.
io
Polar format most of signal power is centered around origin and they are simple
to implement.
ut
• Bipolar format does not have DC component and does not demand more
bandwidth, but power requirement is double than other formats.
• Manchester format does not have DC component but provides proper clocking.
ol
vtusolution.in
vtusolution.in
in
1 0 11
n.
Tb
Transmitted Waveform Pulse Dispersion
io
The effect of sequence of pulses transmitted through channel is shown in fig. The
Spreading of pulse is greater than symbol duration, as a result adjacent pulses interfere.
ut
i.e. pulses get completely smeared, tail of smeared pulse enter into adjacent symbol
intervals making it difficult to decide actual transmitted pulse.
First let us have look at different formats of transmitting digital data.In base band
ol
transmission best way is to map digits or symbols into pulse waveform. This waveform
is generally termed as Line codes.
us
BASEBAND TRANSMISSION:
vt
vtusolution.in
vtusolution.in
x(t) a V(t KTb ) -------------------------- (1)
K K
in
The receiving filter output
y(t) μ a P(t KT ) ---------------(2)
n.
k b
K
The output pulse μ P(t) is obtained because input signal ak .V(t) is passed through series
of systems with transfer functions HT(f), HC(f), HR(f)
The receiving filter output y(t) is sampled at ti = iTb. where ‘i’ takes intervals
i = ±1, ±2 . . . . .
ol
y (iTb ) a
K
k P (iT b KTb )
us
y (iTb ) ai P (0) a
K
k P (iT b KTb ) ---------------------(4)
K=i K≠i
In equation(4) first term μai represents the output due to ith transmitted bit. Second
vt
term represents residual effect of all other transmitted bits that are obtained while
decoding ith bit. This unwanted residual effect indicates ISI. This is due to the fact that
when pulse of short duration Tb is transmitted on band limited channel, frequency
components of the pulse are differentially attenuated due to frequency response of
channel causing dispersion of pulse over the interval greater than Tb.
In absence of ISI desired output would have y (ti) = μai
vtusolution.in
vtusolution.in
in
0 K≠i ------------- (5)
If received pulse P(t) satisfy this condition in time domain, then
y(ti) = μai
n.
Let us look at this condition by transform eqn(5) into frequency domain.
Consider sequence of samples {P(nTb)} where n=0,±1. . . . . . . by sampling in
time domain, we write in frequency domain
p ( f )
1
Tb
p( f n / T
n
b io
) ----------------(6)
ut
Where pδ(f) is Fourier transform of an infinite period sequence of delta functions
of period Tb but pδ(f) can be obtained from its weighted sampled P(nTb) in time domain
j 2 ft
p ( f ) p ( mT b ) ( t mT b ) e dt p ( t ). ( t )
ol
m
j 2 ft
p ( f ) p ( 0 ) (t ) e dt
Using property of delta function
i.e ( t ) dt 1
vt
Therefore p ( f ) p ( 0 ) 1
Pδ(f) = 1 ------------(7)
p(0) =1 ,i.e pulse is normalized (total area in frequency domain is unity)
vtusolution.in
vtusolution.in
1
Or p( f n / T ) T
n
b b
Rb
----------- (8)
in
Ideal Solution
Ideal Nyquist filter that achieves best spectral efficiency and avoids ISI is designed to
have bandwidth as suggested
n.
B0 = 1/2Tb (Nyquist bandwidth) = Rb/2
P(f) =
1 f
rect
io
ut
2B0 2B0
1 if f < B0
P(f) = 2B0
ol
0 f > B0
us
vt
sinc(2B t)
0
in
sinc function due to discontinuity of P(f)
This causes timing error which results in ISI.
Practical solution
n.
Raised Cosine Spectrum
• To design raised cosine filter which has transfer function consists of a flat portion
and a roll off portion which is of sinusoidal form
1
• Bandwidth B 2
0
Tb
1
2Bo
io
is an adjustable value between Bo and 2Bo.
f f1
ut
P(f) =
1 f1 f 2Bof 1
π f f1
4Bo1cos
ol
2Bo2f1
0 f 2Bo f1
us
vt
α 1 f 1
vtusolution.in
vtusolution.in
for α = 0, f1=Bo and BW=Bo is the minimum Nyquist bandwidth for the .
rectangular spectrum.
• For given Bo , roll off factor ‘α’ specifies the required excess bandwidth
• α =1,indicates required excess bandwidth is 100% as roll off characteristics of
P(f) cuts off gradually as compared with ideal low pass filters. This function is
practically realizable.
Impulse response P(t) is given by
in
cos(2π αBot)
P(t) sinc(2Bot)
1 16 α Bo 2 t 2
n.
io
ut
ol
us
• second factor that decreases as 1 2- helps in reducing tail of sinc pulse i.e. fast
vt
decay t
P(t)
sinc 4 B0 t
• For α =1, 1 16 B0 2 t 2
T2
b
=
t
At p(t)=0.5
vtusolution.in
vtusolution.in
Pulse width measured exactly equal to bit duration Tb. Zero crossings occur at
t = ±3Tb, ±5Tb… In addition to usual crossings at t = ±Tb, ±2Tb… Which helps in time
synchronization at receiver at the expense of double the transmission bandwidth
B = 2Bo- f1
in
Bo = 1 Nyquist bandwidth
2Tb
n.
f1
But α = 1-
B0
using
f1 = B0 (1- α)
B = 2 B0 – B0(1- α) io
ut
therefore B = B0(1+ α)
Roll-off factor
Smaller roll-off factor:
us
A certain telephone line bandwidth is 3.5Khz .calculate data rate in bps that
can be transmitted if binary signaling with raised cosine pulses and roll off factor α
= 0.25 is employed.
vtusolution.in
vtusolution.in
Solution:
α = 0.25 ---- roll off
B = 3.5Khz ---transmission bandwidth
B = Bo(1+ α)
1 Rb
B0 = Ans: Rb= 5600bps
2Tb 2
Example2
in
A source outputs data at the rate of 50,000 bits/sec. The transmitter uses binary
PAM with raised cosine pulse in shaping of optimum pulse width. Determine the
bandwidth of the transmitted waveform. Given
n.
a.α = 0 b.α = 0.25 c. α = 0.5 d. α = 0.75 e. α = 1
Solution
B = B0(1+ α) B0=Rb/2
a. Bandwidth = 25,000(1 + 0) = 25 kHz
io
b. Bandwidth = 25,000(1 + 0.25) = 31.25 kHz
c. Bandwidth = 25,000(1 + 0.5) = 37.5 kHz
d. Bandwidth = 25,000(1 + 0.75) = 43.75 kHz
ut
e. Bandwidth = 25,000(1 + 1) = 50 kHz
Example 3
ol
α=?
B = Bo(1+ α)
B0 = Rb/2 Ans : α =0.5
vt
vtusolution.in
vtusolution.in
Correlative coding :
So far we treated ISI as an undesirable phenomenon that produces a degradation in
system performance, but by adding ISI to the transmitted signal in a controlled manner, it
is possible to achieve a bit rate of 2Bo bits per second in a channel of bandwidth Bo Hz.
Such a scheme is correlative coding or partial- response signaling scheme. One such
example is Duo binary signaling.
Duo means transmission capacity of system is doubled.
in
Duo binary coding
n.
io
ut
ol
Consider binary sequence {bk} with uncorrelated samples transmitted at the rate of Rb
us
bps. Polar format with bit duration Tb sec is applied to duo binary conversion filter.
when this sequence is applied to a duobinary encoder, it is converted into three level
output, namely -2, 0 and +2.To produce this transformation we use the scheme as
vt
shown in fig.The binary sequence {bk} is first passed through a simple filter
involving a single delay elements. For every unit impulse applied to the input of this
filter, we get two unit impulses spaced Tb seconds apart at the filter output. Digit Ck at
the output of the duobinary encoder is the sum of the present binary digit b k and its
previous value bk-1
Ck = bk + bk-1
vtusolution.in
vtusolution.in
The correlation between the pulse amplitude Ck comes from bk and previous bk-1 digit,
can be thought of as introducing ISI in controlled manner., i.e., the interference in
determining {bk} comes only from the preceding symbol {bk-1} The symbol {bk}
takes ±1 level thus Ck takes one of three possible values -2,0,+2 . The duo binary
code results in a three level output. in general, for M-ary transmission, we get 2M-1
levels
Transfer function of Duo-binary Filter
in
The ideal delay element used produce delay of Tb seconds for impulse will have transfer
function e -j 2π f Tb .
Overall transfer function of the filter H(f)
n.
j 2 π f Tb
H(f) H c (f) H c (f)e
j2 π f T b
H(f) H c (f) 1 e
io
ut
j πfT j πfT b
e b
e j πfT b
2 H c (f) e
2
ol
j π f Tb
2 Hc (f)cos(π f Tb) e
As ideal channel transfer function
us
1
1 f
Hc (f) 2 Tb
0 otherwise
vt
vtusolution.in
vtusolution.in
H(f) which has a gradual roll off to the band edge, can also be implemented by practical
and realizable analog filtering Fig shows Magnitude and phase plot of Transfer function
in
n.
io
Advantage of obtaining this transfer function H(f) is that practical implementation is easy
ut
Impulse response
Impulse response h(t) is obtained by taking inverse Fourier transformation of H(f)
ol
j 2π f t df
h(t) H(f)e
us
1
2 Tb
jπ f Tb
2 cos( π f T b)e [ e j 2π f t ] df
1
2Tb
vt
πt πt T b
sin sin
Tb Tb
πt πt T b
T
b Tb
πt πt
sin
sin
b
T Tb
πt πt T b
T
b Tb
vtusolution.in
vtusolution.in
πt
T 2sin
b Tb
h(t )
πt Tb 1
Impulse response has two sinc pulses displaced by Tb sec. Hence overall impulse
response has two distinguishable values at sampling instants t = 0 and t = Tb.
in
n.
io
ut
Overall Impulse response
ol
us
vt
vtusolution.in
vtusolution.in
in
n.
io
Encoding : During encoding the encoded bits are given by
ut
Ck = bk + bk-1
Decoding:
ol
At the receiver original sequence {bk} may be detected by subtracting the previous
decoded binary digit from the presently received digit Ck This demodulation technique
(known as nonlinear decision feedback equalization) is essentially an inverse of the
us
if
b ^k is estimate of original sequence bk then
b ^k Ck b ^k 1
vt
Disadvantage
vtusolution.in
vtusolution.in
in
n.
io
ut
Precoding
In case of duo binary coding if error occurs in a single bit it reflects as multiple errors
ol
because the present decision depends on previous decision also. To make each decision
independent we use a precoder at the receiver before performing duo binary operation.
The precoding operation performed on the input binary sequence {bk} converts it
us
a k b k a k 1
Unlike the linear operation of duo binary operation, the precoding is a non linear
operation.
vtusolution.in
vtusolution.in
in
Fig. A precoded duo binary scheme.
n.
{ak} is then applied to duobinary coder, which produce sequence {Ck}
C k a k a k 1
io
If that symbol at precoder is in polar format Ck takes three levels,
2v if b k symbol 0
ut
Ck
0v if b k symbol 1
The decision rule for detecting the original input binary sequence {bk} from {ck} is
ol
symbol 0 if Ck 1v
b ^k
symbol 1 if Ck 1v
us
vt
vtusolution.in
vtusolution.in
in
n.
io
ut
Example: with start bit as 0, reference bit 0
ol
us
vt
vtusolution.in
vtusolution.in
in
n.
io
Example: with start bit as 1, reference bit 0
ut
ol
us
vt
vtusolution.in
vtusolution.in
Today the duo-binary techniques are widely applied throughout the world.
While all current applications in digital communications such as data transmission,
digital radio, and PCM cable transmission, and other new possibilities are being explored.
This technique has been applied to fiber optics and to high density disk recording which
have given excellent results
Example
in
The binary data 001101001 are applied to the input of a duo binary system.
a)Construct the duo binary coder output and corresponding receiver output, without a
precoder.
n.
b) Suppose that due to error during transmission, the level at the receiver input produced
by the second digit is reduced to zero. Construct the new receiver output.
io
c) Repeat above two cases with use of precoder
without a precoder
ut
ol
us
vt
errors errors
vtusolution.in
vtusolution.in
in
n.
io
ut
With a precoder (start bit 0)
ol
us
vt
vtusolution.in
vtusolution.in
in
The Transfer function H(f) of Duo binary signalling has non zero spectral value
at origin, hence not suitable for channel with Poor DC response. This drawback is
corrected by Modified Duobinary scheme.
n.
Modified Duobinary scheme.
io
involves a correlation span of two binary digits. Two-bit delay causes the ISI to spread
over two symbols. This is achieved by subtracting input binary digits spaced 2Tb secs
apart.
ut
Modified Duobinary scheme.
ol
us
vt
vtusolution.in
vtusolution.in
Transmitter
Ck = ak – ak-2
in
Ck takes one of three values 2,0,-2
n.
Ck = +2V, if bk is represented by symbol 1
Receiver
- j 4 π f Tb
H(f) Hc(f) - Hc(f)e
ol
- j 4 π f Tb
Hc(f) 1- e
us
j 2 π f Tb - j 2 π f Tb
- j 2 π f Tb e e
2 jHc(f) e
2j
- j 2 π f Tb
2 jHc(f) sin (2π f Tb) e
vt
1
1 f
Where Hc (f) is 2 Tb
0 otherwise
- j 2 π f Tb 1
2j sin ( 2 π f T b) e f
H(f) 2 Tb
0 Otherwise
vtusolution.in
vtusolution.in
The Transfer function has zero value at origin, hence suitable for poor dc channels
in
n.
Impulse response
io
Impulse response h(t) is obtained by taking Inverse Fourier transformation of H(f)
ut
j 2π f t df
h(t) H(f)e
ol
1
2 Tb
j π f Tb
2 jsin ( 2π f T b)e [ e j 2π f t ] df
us
1
2 Tb
πt π t 2T b
sin sin
Tb Tb
πt π t 2T b
vt
T
b Tb
πt πt
sin
sin
Tb Tb
πt π t 2T b
T
b Tb
πt
2Tb 2 sin
Tb
πt 2Tb t
vtusolution.in
vtusolution.in
in
n.
io
ut
To eliminate error propagation modified duo binary employs Precoding option same as
ol
previous case.
Prior to duo binary encoder precoding is done using modulo-2 adder on signals spaced
2Tb apart
us
a b a
k k k 2
vt
vtusolution.in
vtusolution.in
in
n.
Consider binary sequence
{bk}={01101101}
io
ut
ol
us
vt
vtusolution.in
vtusolution.in
Example
The binary data 011100101 are applied to the input of a modified duo binary system.
a) Construct the modified duobinary coder output and corresponding receiver output,
without a precoder.
b) Suppose that due to error during transmission, the level at the receiver input produced
in
by the third digit is reduced to zero. Construct the new receiver output.
c) Repeat above two cases with use of precoder
n.
Modified duobinary coder output and corresponding receiver output, without a precoder
io
ut
ol
us
vt
vtusolution.in
vtusolution.in
in
n.
Modified duo binary coder output and corresponding receiver output, with a precoder
io
ut
ol
us
vt
vtusolution.in
vtusolution.in
in
n.
Fig. Generalized Correlative Coding
io
The Duo binary and modified Duo binary scheme have correlation spans of one
binary digit and two binary digits respectively. This generalisation scheme involves the
ut
use of a tapped delay line filter with tap weights f0, f1, f2,… fn-1. A correlative
samples Ck is obtained from a superposition of ‘N’ successive input sample values b K
N 1
f b
ol
Ck = n k -n
n 0
By choosing various combination values for fn, different correlative coding schemes
us
In base band M-ary PAM, output of the pulse generator may take on any one of the M-
possible amplitude levels with M>2 for each symbol
vt
Ex: M=4 has 4 levels. possible combination are 00, 10, 11, 01
M-ary PAM system is able to transmit information at a rate of log2M faster than binary
PAM for given channel bandwidth.
vtusolution.in
vtusolution.in
Rb
R
log2 M
M-ary PAM system requires more power which is increased by factor equal to
in
M2
log2 M for same average probability of symbol error.
M-ary Modulation is well suited for the transmission of digital data over channels that
n.
offer a limited bandwidth and high SNR
Example
An analog signal is sampled, quantised and encoded into a binary PCM wave. The
io
number of representation levels used is 128. A synchronizing pulse is added at the
end of each code word representing a sample of the analog signal. The resulting
ut
PCM wave is transmitted over a channel of bandwidth 12kHz using binary PAM
system with a raised cosine spectrum. The roll off factor is unity.
a)Find the rate (in BPS ) at which information is transmitted through the channel.
ol
b) Find the rate at which the analog signal is sampled. What is the maximum
possible value for the highest frequency component of the analog signal.
us
Solution
Given Channel with transmission BW B=12kHz.
Number of representation levels L = 128
Roll off α = 1
a) B = Bo(1+ α),
vt
Hence Bo =6kHz.
Bo=Rb/2 therefore Rb = 12kbps.
b) For L=128, L = 2n , n = 7
symbol duration T = Tb log2M =nTb
sampling rate fs = Rb/n = 12/7 = 1.714kHz.
And maximum frequency component of analog signal is
From LP sampling theorem w = fs/2 = 857Hz.
vtusolution.in
vtusolution.in
Eye pattern
The quality of digital transmission systems are evaluated using the bit error rate.
Degradation of quality occurs in each process modulation, transmission, and detection.
The eye pattern is experimental method that contains all the information concerning the
degradation of quality. Therefore, careful analysis of the eye pattern is important in
analyzing the degradation mechanism.
• Eye patterns can be observed using an oscilloscope. The received wave is applied
in
to the vertical deflection plates of an oscilloscope and the sawtooth wave at a rate
equal to transmitted symbol rate is applied to the horizontal deflection plates,
n.
resulting display is eye pattern as it resembles human eye.
• The interior region of eye pattern is called eye opening
io
ut
ol
vtusolution.in
vtusolution.in
• The width of the eye opening defines the time interval over which the received
wave can be sampled without error from ISI
• The height of the eye opening at a specified sampling time is a measure of the
margin over channel noise.
The sensitivity of the system to timing error is determined by the rate of closure of the
eye as the sampling time is varied.
in
Any non linear transmission distortion would reveal itself in an asymmetric or squinted
eye. When the effected of ISI is excessive, traces from the upper portion of the eye
pattern cross traces from lower portion with the result that the eye is completely closed.
n.
Example of eye pattern:
io
ut
ol
us
vt
Example 1
vtusolution.in
vtusolution.in
in
n.
io
ut
ol
us
vt
Example 2
The binary sequence 011010 is transmitted through channel having a raised cosine
characteristics with roll off factor unity. Assume the use of polar signaling, format.
construct the Eye pattern
vtusolution.in
vtusolution.in
0 1 1 0 1 0
in
Eye Pattern
n.
This technique is another approach to minimize signal distortion in the base band
data transmission. This is Nyquist third method for controlling ISI.
Equalization is essential for high speed data transmission over voice grade
io
telephone channel which is essentially linear and band limited.
High speed data transmission involves two basic operations:
i) Discrete pulse amplitude modulation:
ut
The amplitudes of successive pulses in a periodic pulse train are varied in a
discrete fashion in accordance with incoming data stream.
ii) Linear modulation:
ol
Which offers band width conservation to transmit the encoded pulse train over
telephone channel.
us
At the receiving end of the systems, the received waves is demodulated and then
synchronously sampled and quantized. As a result of dispersion of the pulse shape by the
channel the number of detectable amplitude levels is limited by ISI rather than by
additive noise. If the channel is known , then it is possible to make ISI arbitrarily small
vt
by designing suitable pair of transmitting and receiving filters for pulse shaping.
In switched telephone networks we find that two factors contribute to pulse
distortion.
1. Differences in the transmission characteristics of individual links that may be switched
together.
vtusolution.in
vtusolution.in
Adaptive equalization
• An equalizer is a filter that compensates for the dispersion effects of a channel.
in
Adaptive equalizer can adjust its coefficients continuously during the
transmission of data.
n.
requires feed back channel
causes burden on transmission.
io
Achieved prior to data transmission by training the filter with the guidance of a
training sequence transmitted through the channel so as to adjust the filter parameters to
optimum values.
ut
Adaptive equalization – It consists of tapped delay line filter with set of delay elements,
set of adjustable multipliers connected to the delay line taps and a summer for adding
multiplier outputs.
ol
us
vt
vtusolution.in
vtusolution.in
Ci is weight of the ith tap Total number of taps are M .Tap spacing is equal to symbol
duration T of transmitted signal
In a conventional FIR filter the tap weights are constant and particular designed response
is obtained. In the adaptive equaliser the Ci's are variable and are adjusted by an
algorithm
in
Two modes of operation
n.
1. Training mode 2 . Decision directed mode
Mechanism of adaptation
io
ut
ol
us
Training mode
vt
This training sequence has maximal length PN Sequence, because it has large average
power and large SNR, resulting response sequence (Impulse) is observed by measuring
the filter outputs at the sampling instants.
vtusolution.in
vtusolution.in
The difference between resulting response y(nT) and desired response d(nT)is error
signal which is used to estimate the direction in which the coefficients of filter are to be
optimized using algorithms
i) Analog
ii) Hard wired digital
iii) Programmable digital
Analog method
in
Charge coupled devices [CCD’s] are used.
CCD- FET’s are connected in series with drains capacitively coupled to gates.
n.
The set of adjustable tap widths are stored in digital memory locations, and the
multiplications of the analog sample values by the digitized tap weights done in
analog manner.
io
Suitable where symbol rate is too high for digital implementation.
• Set of adjustable lap weights are also stored in shift registers. Logic circuits are
ol
Programmable method
vtusolution.in
vtusolution.in
CHAPTER 5
in
Amplitude shift keying [ASK]
Frequency shift keying [FSK]
Phase shift keying [PSK]
n.
Fig shows different modulations
io
ut
ol
us
vt
vtusolution.in
vtusolution.in
in
In a binary FSK system symbol ‘1’ and ‘0’ are transmitted as
2 Eb
S 1(t ) Cos 2f1t for symbol 1
Tb
n.
2 Eb
S 2 (t ) Cos 2f 2 t for symbol 0
Tb
3. PSK[Phase Shift Keying]:
S1 (t )
2 Eb
Cos 2f c t
io
In a binary PSK system the pair of signals S1(t) and S2(t) are used to represent
2 Eb 2 Eb
S 2 (t ) Cos (2f c t ) Cos 2f c t ------- for Symbol ‘0’
Tb Tb
ol
us
vtusolution.in
vtusolution.in
Non Return to
Zero Level Product
Encoder Modulator
Binary Binary PSK Signal
Data Sequence
2
1 (t ) Cos 2f c t
in
Tb
n.
x(t) T
0
b
dt io x1 Decision
Device
Choose 1 if x1>0
Choose 0 if x1<0
ut
Correlator
1 (t ) Threshold λ = 0
ol
In a Coherent binary PSK system the pair of signals S1(t) and S2(t) are used to
us
2 Eb 2 Eb
S 2 (t ) Cos (2f c t ) Cos 2f c t ------- for Symbol ‘0’
Tb Tb
Eb 0 Eb1
Where Eb= Average energy transmitted per bit Eb
2
In the case of PSK, there is only one basic function of Unit energy which is given
by
vtusolution.in
vtusolution.in
2
1 (t ) Cos 2f c t 0 t Tb
Tb
Therefore the transmitted signals are given by
S1 (t ) Eb 1 (t ) 0 t Tb for Symbol 1
S 2 (t ) Eb 1 (t ) 0 t Tb for Symbol 0
in
dimensional (N=1) with two message points (M=2)
Tb
S11 S1 (t ) 1 (t ) dt Eb
n.
0
Tb
S 21 S 2 (t ) 1 (t ) dt Eb
0
io
The message point corresponding to S1(t) is located at S11 Eb and S2(t) is
located at S 21 Eb .
ut
To generate a binary PSK signal we have to represent the input binary sequence in
polar form with symbol ‘1’ and ‘0’ represented by constant amplitude levels of
Eb & Eb respectively. This signal transmission encoding is performed by a NRZ
ol
level encoder. The resulting binary wave [in polar form] and a sinusoidal carrier 1 (t )
nc
[whose frequency f c ] are applied to a product modulator. The desired BPSK wave
Tb
us
reference signal 1 (t ) as shown in fig (b). The correlator output x1 is compared with a
threshold of zero volt.
If x1 > 0, the receiver decides in favour of symbol 1.
If x1 < 0, the receiver decides in favour of symbol 0.
vtusolution.in
vtusolution.in
S1 (t ) Eb 1 (t ) 0 t Tb for Symbol 1
in
S 2 (t ) Eb 1 (t ) 0 t Tb for Symbol 0
n.
The signal space representation is as shown in fig (N=1 & M=2)
Region R2 Region R1
- Eb
Message Point 2
0
io Eb
Message Point 1
ut
S2(t) Decision Boundary S1(t)
T
x1 x(t )1 (t ) dt
0
us
If the observation element falls in the region R1, a decision will be made in favour
of symbol ‘1’. If it falls in region R2 a decision will be made in favour of symbol ‘0’.
The error is of two types
vt
1 ( x1 ) 2
Pe (1 / 0) 2 2 dx1
2 2 0
exp Assuming Gaussian Distribution
vtusolution.in
vtusolution.in
in
x1 Eb
Put Z
N0
exp( Z ) dz
1
n.
Pe 0 Pe (1 / 0) 2
( Eb / N 0 )
1 Eb
Pe (1 / 0) erfc
2 N0
Similarly
1
Pe (0 / 1) erfc
2
Eb
N0
io
ut
The total probability of error Pe Pe (1 / 0) Pe (0) Pe (0 / 1) Pe (1) assuming
probability of 1’s and 0’s are equal.
1
Pe [ Pe (1 / 0) Pe (0 / 1) ]
ol
2
1 Eb
Pe erfc
2 N0
us
2 Eb
S 1(t ) Cos 2f1t for symbol 1
Tb
2 Eb
S 2 (t ) Cos 2f 2 t for symbol 0
Tb
nc i
Frequency f i for some fixed integer nc and i=1, 2
Tb
The basic functions are given by
vtusolution.in
vtusolution.in
2
1 (t ) Cos 2f 1t and
Tb
2
2 (t ) Cos 2f 2 t for 0 t Tb and Zero Otherwise
Tb
in
E 0
S1 b and S2
0 Eb
n.
Generation and Detection:-
io
ut
ol
fig a
us
vt
fig b
vtusolution.in
vtusolution.in
symbol 1 and 0 volts for symbol ‘0’. When we have symbol 1 the upper channel is
switched on with oscillator frequency f1, for symbol ‘0’, because of inverter the lower
channel is switched on with oscillator frequency f2. These two frequencies are combined
using an adder circuit and then transmitted. The transmitted signal is nothing but
in
required BFSK signal.
The detector consists of two correlators. The incoming noisy BFSK signal x(t) is
common to both correlator. The Coherent reference signal 1 (t ) and 2 (t ) are supplied to
n.
upper and lower correlators respectively.
The correlator outputs are then subtracted one from the other and resulting a
random vector ‘l’ (l=x1 - x2). The output ‘l’ is compared with threshold of zero volts.
io
If l > 0, the receiver decides in favour of symbol 1.
l < 0, the receiver decides in favour of symbol 0.
ut
Probability of Error Calculation:-
In binary FSK system the basic functions are given by
ol
2
1 (t ) Cos 2f1t 0 t Tb
Tb
us
2
2 (t ) Cos 2f 2 t 0 t Tb
Tb
The transmitted signals S1(t) and S2(t) are given by
S 1(t ) Eb 1 (t ) for symbol 1
vt
S 2 (t ) Eb 2 (t ) for symbol 0
Therefore Binary FSK system has 2 dimensional signal space with two messages
S1(t) and S2(t), [N=2 , m=2] they are represented as shown in fig.
vtusolution.in
vtusolution.in
in
n.
io
Fig. Signal Space diagram of Coherent binary FSK system.
Tb
Tb
x2 x(t ) 2 (t )dt
vt
N0
Assuming zero mean additive white Gaussian noise with input PSD . with
2
N0
variance .
2
The new observation vector ‘l’ is the difference of two random variables x 1 & x2.
l = x1 – x2
vtusolution.in
vtusolution.in
When symbol ‘1’ was transmitted x 1 and x2 has mean value of 0 and
Eb respectively.
Therefore the conditional mean of random variable ‘l’ for symbol 1 was
transmitted is
l x x
E E 1 E 2
1 1 1
Eb 0
in
Eb
l
n.
Similarly for ‘0’ transmission E Eb
0
The total variance of random variable ‘l’ is given by
Var[l ] Var[ x1 ] Var[ x2 ]
N0
The probability of error is given by
io
ut
1
(l Eb ) 2
Pe (1 / 0) Pe 0
2N 0 0 exp 2 N 0 dl
ol
l Eb
Z
us
Put
2N 0
1
Pe 0 exp( z
2
)dz
Eb
2 N0
vt
1 Eb
erfc
2 2 N 0
1 Eb
Similarly Pe1 erfc
2 2 N 0
vtusolution.in
vtusolution.in
1
The total probability of error = Pe [ Pe (1 / 0) Pe (0 / 1) ]
2
Assuming 1’s & 0’s with equal probabilities
1
Pe= [ Pe 0 Pe1 ]
2
1 Eb
Pe erfc
2 2 N 0
in
BINARY ASK SYSTEM:-
n.
Binary ON-OFF Product Binary ASK
Level Modulator
Data Sequence Signal
Encoder
io
1 (t )
2
Tb
Cos 2f e t
ut
Fig (a) BASK transmitter
Tb
dt
ol
1 (t ) Threshold λ
Fig (b) Coherent binary ASK demodulator
In Coherent binary ASK system the basic function is given by
vt
2
1 (t ) Cos 2f e t 0 t Tb
Tb
S 2 (t ) 0 for Symbol 0
The BASK system has one dimensional signal space with two messages (N=1, M=2)
vtusolution.in
vtusolution.in
Region E2 Region E1
Message
Point 2
Eb
1 (t )
0 Eb Message
2 Point 1
in
Fig. (c) Signal Space representation of BASK signal
n.
gives an output Eb volts for symbol 1 and 0 volt for symbol 0. The resulting binary
wave [in unipolar form] and sinusoidal carrier 1 (t ) are applied to a product modulator.
io
The desired BASK wave is obtained at the modulator output.
In demodulator, the received noisy BASK signal x(t) is apply to correlator with
coherent reference signal 1 (t ) as shown in fig. (b). The correlator output x is compared
ut
with threshold λ.
If x > λ the receiver decides in favour of symbol 1.
ol
BER Calculation:
us
2
1 (t ) Cos 2f c t 0 t Tb
Tb
vt
S 2 (t ) 0 for Symbol 0
A 2Tb
0
Eb 0 Eb1 2
2 A Tb
Therefore the average transmitted energy per bit Eb
2 2 4
The probability of error is given by
vtusolution.in
vtusolution.in
1 ( x 0) 2
Pe 0
N 0
N o dx
exp
Eb
2
Where ‘x’ is the observed random vector. μ = 0, because the average value for symbol ‘0’
transmission is zero (0).
in
N0 N
2 assuming additive white Gaussian noise with into PSD 0
2 2
n.
x
Let Z
N0
Pe 0
1
exp( z
2
)dz
io
ut
Eb
2 N0
1 Eb
erfc
2 2 N 0
ol
1 Eb
similarly Pe1 erfc
2 N 0
us
1
The total probability of error = [ Pe 0 Pe1 ]
2
1 Eb
Pe erfc
vt
2 2 N 0
vtusolution.in
vtusolution.in
Incoherent detection:
in
Fig(a). : Envelope detector for OOK BASK
n.
Incoherent detection as used in analog communication does not require carrier for
reconstruction. The simplest form of incoherent detector is the envelope detector as
io
shown in figure(a). The output of envelope detector is the baseband signal. Once the
baseband signal is recovered, its samples are taken at regular intervals and compared with
ut
threshold.
If Z(t) is greater than threshold ( ) a decision will be made in favour of symbol ‘1’
If Z(t) the sampled value is less than threshold ( ) a decision will be made in favour of
ol
symbol ‘0’.
Non- Coherenent FSK Demodulation:-
us
vt
Fig(b) shows the block diagram of incoherent type FSK demodulator. The
detector consists of two band pass filters one tuned to each of the two frequencies used to
vtusolution.in
vtusolution.in
communicate ‘0’s and ‘1’s., The output of filter is envelope detected and then baseband
detected using an integrate and dump operation. The detector is simply evaluating which
of two possible sinusoids is stronger at the receiver. If we take the difference of the
outputs of the two envelope detectors the result is bipolar baseband.
The resulting envelope detector outputs are sampled at t = kTb and their values are
compared with the threshold and a decision will be made infavour of symbol 1 or 0.
in
Differential Phase Shift Keying:- [DPSK]
n.
Fig. (a) DPSK Transmitter
io
ut
ol
us
A DPSK system may be viewed as the non coherent version of the PSK. It eliminates
the need for coherent reference signal at the receiver by combining two basic operations
at the transmitter
(1) Differential encoding of the input binary wave and
(2) Phase shift keying
vtusolution.in
vtusolution.in
Hence the name differential phase shift keying [DPSK]. To send symbol ‘0’ we
phase advance the current signal waveform by 1800 and to send symbol 1 we leave the
phase of the current signal waveform unchanged.
The differential encoding process at the transmitter input starts with an arbitrary
first but, securing as reference and thereafter the differentially encoded sequence{dk} is
generated by using the logical equation.
in
d d b d b k 1
k k 1 k k
Where bk is the input binary digit at time kTb and dk-1 is the previous value of the
n.
differentially encoded digit. Table illustrate the logical operation involved in the
generation of DPSK signal.
(Demodulated Sequence)
us
inputs. The correlator output is finally compared with threshold of ‘0’ volts .
If correlator output is +ve -- A decision is made in favour of symbol ‘1’
If correlator output is -ve --- A decision is made in favour of symbol ‘0’
vtusolution.in
vtusolution.in
in
n.
Fig. (a) QPSK Transmitter
io
ut
ol
2E
si (t ) Cos[2f c t (2i 1) / 4] 0t T i 1 to 4
T
vt
2E 2E
si (t ) Cos[(2i 1) / 4] cos( 2f c t ) sin[( 2i 1) / 4]sin( 2f c t) 0 t T i 1 to 4
T T
vtusolution.in
vtusolution.in
in
n.
io
ut
Fig. (c) QPSK Waveform
ol
2E
S (t ) cos 2 f t for input di bit 10
4
1
T c
2E 3
S (t ) cos 2 f t for input dibit 00
vt
2
T c 4
2E 5
S (t ) cos 2 f t for input dibit 01
3
T c 4
2E 7
S (t ) cos 2 f t for input dibit 11
t
T c 4
vtusolution.in
vtusolution.in
(t )
2
cos 2 f t 0 t T
1
T b
c
(t )
2
sin 2 f t 0 t T
2
T c
in
b
There are four message points and the associated signal vectors are defined by
E cos 2i 1 4
n.
Si i 1,2,3,4
E sin 2i 1
4
The table shows the elements of signal vectors, namely Si1 & Si2
Table:-
io
ut
Input dibit Phase of Coordinates of message
QPSK points
ol
us
10
E E
4 2 2
00 3 E E
4 2 2
vt
01 5 E E
4 2 2
11 7 E E
4 2 2
vtusolution.in
vtusolution.in
in
n.
.Fig (d) Signal-space diagram of coherent QPSK system.
io
ut
Generation:-
Fig(a) shows a block diagram of a typical QPSK transmitter, the incoming binary
ol
data sequence is first transformed into polar form by a NRZ level encoder. Thus the
next divided by means of a demultiplexer [Serial to parallel conversion] into two separate
binary waves consisting of the odd and even numbered input bits. These two binary
waves are denoted by ao(t) and ae(t)
The two binary waves ao(t) and ae(t) are used to modulate a pair of quadrature
vt
2
(t ) cos 2 f t
1 T c
&
2
(t ) sin 2 f t
2 T c
vtusolution.in
vtusolution.in
The result is a pair of binary PSK signals, which may be detected independently due to
in
fig(b).The correlator outputs x1 and x2 produced in response to the received signal x(t) are
each compared with a threshold value of zero.
n.
The in-phase channel output :
If x1 > 0 a decision is made in favour of symbol 1
x1 < 0 a decision is made in favour of symbol 0
Similarly quadrature channel output:
io
If x2 >0 a decision is made in favour of symbol 1 and
x2 <0 a decision is made in favour of symbol 0
ut
Finally these two binary sequences at the in phase and quadrature channel outputs are
combined in a multiplexer (Parallel to Serial) to reproduce the original binary sequence.
Probability of error:-
ol
The in-phase channel output x1 and the Q-channel output x2 may be viewed as the
individual outputs of the two coherent binary PSK systems. Thus the two binary PSK
systems may be characterized as follows.
2
The average probability of bit error in each channel of the coherent QPSK system is
vtusolution.in
vtusolution.in
E
P
1 1
2
erfc
N
2 E E 2
0
1 E
erfc
2 2 N 0
The bit errors in the I-channel and Q-channel of the QPSK system are statistically
in
independent . The I-channel makes a decision on one of the two bits constituting a
symbol (di bit) of the QPSK signal and the Q-channel takes care of the other bit.
Therefore, the average probability of a direct decision resulting from the
n.
combined action of the two channels working together is
pc= probability of correct reception
p1= probability of error
P C
1 P1
2 io
ut
2
1 E
1 erfc
2 2 No
E 1 E
1 erfc erfc
ol
2
2 No 4 2 No
The average probability of symbol error for coherent QPSK is given by
us
P e
1 P C
E 1 E
erfc erfc
2
2 No 4 2 No
In the region where E We may ignore the second term and so the
1
vt
2N o
approximate formula for the average probability of symbol error for coherent QPSK
system is
E
P e
erfc
2 No
vtusolution.in
vtusolution.in
in
Where Eb is the transmitted signal energy per bit and Tb is bit duration the CPSK signal
n.
S(t) is expressed in the conventional form of an angle modulated signal as
S (t )
2 Eb
cos 2 f t ( 0)
T b
c
(t ) (0)
h t
io 0 t T
ut
b
T b
1 c
2T b
h
f f
2
2T c
b
us
f 1 / 2( f f )
c 1 2
h T ( f f )
b 1 2
vtusolution.in
vtusolution.in
& ‘0’. For this reason a CPFSK signal with a deviation ratio of one- half is commonly
referred to as “minimum shift keying”[MSK].
Deviation ratio h is measured with respect to the bit rate 1/Tb
at t =Tb
in
n.
io
ut
fig(b) phase tree
ol
us
vt
2 Eb 2 Eb
s (t ) Cos [ (t )] Cos (2f c t ) Sin [ (t )] Sin (2f c t )
Tb Tb
vtusolution.in
vtusolution.in
(t ) (0) t 0 t Tb
2Tb
in
- Sign corresponds to symbol 0
In phase components
For the interval of Tb t Tb
n.
consists of half cosine pulse
2 Eb
s1 (t ) Cos [ (t ) ]
Tb
2 Eb
Tb
Cos [ (0) ] Cos
t
b
2T io
ut
2 Eb
Cos t Tb t Tb
Tb 2Tb
+ Sign corresponds to θ(0) =0
ol
2 Eb
sQ (t ) Sin [ (t ) ]
Tb
vt
2 Eb
Sin [ (Tb ) ] Cos t
Tb 2Tb
2 Eb
sin t 0 t 2Tb
Tb 2Tb
vtusolution.in
vtusolution.in
since the phase states θ(0) and θ(Tb) can each assume one of the two possible values,
any one of the four possibilities can arise
in
n.
Basic functions are given by
2
1 (t ) Cos t Cos (2f c t ) Tb t Tb
Tb
2
2Tb
io
ut
2 (t ) Sin t Sin (2f c t ) 0 t 2Tb
Tb 2Tb
s (t ) s11 (t ) s22 (t ) 0 t Tb
us
Tb
s1 s (t ) 1 (t ) dt
Tb
Eb Cos (0) Tb t Tb
vt
and
2Tb
s2 s (t ) 2 (t ) dt
0b
vtusolution.in
vtusolution.in
in
n.
Fig: signal space diagram for MSK system
io
ut
Signal Space Characterization of MSK
ol
us
vt
vtusolution.in
vtusolution.in
in
n.
io
ut
Fig: sequence and waveforms for MSK signal
(a) input binary sequence (b) scaled time function s11 (t )
ol
where s(t) is the transmitted MSK signal and w(t) is the sample function of a white
Gaussian noise.
The projection of the received signal x(t) onto the reference signal 1 (t ) is
vt
Tb
x1 x(t ) (t ) dt
Tb
1
s1 w1 Tb t Tb
similarly the projection of the received signal x(t) onto the reference signal 2 (t ) is
2Tb
x2 x(t ) 2 (t ) dt
0
s2 w2 0 t 2Tb
vtusolution.in
vtusolution.in
^
If x2>0, the receiver chooses the estimate (Tb ) . If, on the other hand, x2<0, it
2
^
chooses the estimate (Tb ) .
2
To reconstruct the original binary sequence, we interleave the above two sets of
phase decisions,
^ ^
1 If we have the estimates (0) 0 and (Tb ) , or alternatively if we have the
2
in
^ ^
estimates (0) and (Tb ) , the receiver makes a final decision in favor of
2
symbol 0.
n.
^ ^
2 If we have the estimates (0) and (Tb ) , or alternatively if we have
2
^ ^
the estimates (0) 0 and (Tb ) , the receiver makes a final decision in favor of
2
symbol 1.
vtusolution.in
vtusolution.in
in
n.
Fig. (b) MSK Receiver
f c
n
4T
C
for some fixed integer nc and
ut
b
1
the other of frequency are first applied to a modulator. This produces two phase
4T b
ol
coherent sinusoidal waves at frequencies f1 and f2 which are related to the carrier
frequency fc and the bit rate Rb by
us
h h
f f f
2 Rb
or
1 c
2T b
C
h h 1
f f f for h
2 Rb
or
2 c
2T C 2
vt
These two sinusoidal waves are separated from each other by two narrow band filters one
centered at f1 and the other at f2. The resulting filter outputs are next linearly combined to
produce the pair of basis functions (t )
1
and (t ) . Finally
2
(t )
1
and (t ) are
2
multiplied with two binary waves a1(t) and a2(t) both of which have a bit rate equal
1
to . These two binary waves are extracted from the incoming binary sequence.
2T b
vtusolution.in
vtusolution.in
Fig (b) shows the block diagram of a typical MSK receiver. The received signal
x(t) is correlated with locally generated replicas of the coherent reference signals
(t )
1
and (t ) . The integration in the Q – channel is delayed by Tb seconds with
2
in
sequence with a minimum average probability of symbol error in an AGWN channel.
n.
io
ut
ol
us
vt
vtusolution.in
vtusolution.in
PROBLEM 1.
Binary data has to be transmitted over a telephone link that has a usable bandwidth of
3000Hz and a maximum achievable signal-to-noise power ratio of 6 dB at its output..
a. Determine the maximum signaling rate and probability of error if a coherent
ASK scheme is used for transmitting binary data through this channel.
b. If the data is maintained at 300 bits/sec, calculate the error probability.
Solution:
in
a) If we assume that an ASK signal requires a bandwidth of 3rb Hz, then the
maximum signaling rate permissible is given by
Bandwidth =3 rb=3000 Hz
n.
rb=1000 bits/sec.
A2
40
4rb
Pe Q 40 Q6.326 10 10
vtusolution.in
vtusolution.in
PROBLEM 2
Binary data is transmitted over an RF band pass channel with a usable bandwidth of
10 MHz at a rate of (4.8) (106) bits/sec using an ASK signaling method. The carrier
amplitude at the receiver antenna is 1 mv and the noise power spectral density at the
receiver input is 10-15 watt/Hz. Find the error probability of a coherent and non coherent
receiver..
in
Solution:
a) The bit error probability for the coherent demodulator is
A 2T
Pe Q b
n.
; A 1 mv, Tb 10 6 / 4.8
4
15
/ 2 10 watt / Hz
Pe Q 26 2(10 7 ).
pe = 0.0008
ol
us
PROBLEM 3.
Binary data is transmitted at a rate of 106 bits/sec over a microwave link having a
bandwidth of 3 MHz. Assume that the noise power spectral density at the receiver
vt
input is / 2 10 10 watt / Hz. Find the average carrier power required at the receiver
input for coherent PSK and DPSK signaling schemes to maintain Pe ≤10-4.
vtusolution.in
vtusolution.in
Solution:
Pe PSK
Q 2 S avTb / 10 4 ,
thus
2 S avTb / 3.75
in
( S av ) (3.75) 2 (10 10 ) (10 6 ) 1.48dBm
For the DPSK scheme
Pe DPSK
1
exp A 2Tb / 2 10 4 ,
n.
2
Hence,
S av Tb / 8.517
S av DPSK 2.3.3 dBm
io
This example illustrates that the DPSK signaling scheme requires about 1 dB more
ut
power than the coherent PSK scheme when the error probability is of the order of
10-4.
ol
us
vt
vtusolution.in
vtusolution.in
Probability of Error
u
2
erf (u )
0
exp( z 2 )dz -------- ( A6.1)
in
(2) Complementary error function erfc(u):
2
n.
erfc(u )
u
exp( z 2 )dz -------- ( A6.2)
1. erf(-u) = -erf(u)
io
- Symmetry.
2. erf(u) approaches unity as u tends towards infinity.
ut
2
exp( z ) dz 1
2
-------- ( A6.3)
0
ol
3. For a Random variable X, with mean mx and variance σx2, the probability
of X is defined by
us
a
P(m X a X m X a) erf
2 -------- ( A6.4)
X
Note: Relation: erfc(u) = 1 – erf(u)
vt
exp( u 2 )
erfc (u )
-------- ( A6.5)
vtusolution.in
vtusolution.in
Q – Function:
An alternate form of error function. It basically defines the area under the
Standardized Gaussian tail. For a standardized Gaussian random variable X of zero
mean and unit variance, the Q-function is defined by
1 x2
Q (v )
2 v exp 2 dx -------- ( A6.6)
in
Relations between Q-function and erfc function:
n.
1 v
(i) Q (v ) erfc ------- ( A6.7a)
2 2
(ii) io
erfcu 2Q( 2u ) ------ ( A6.7b)
ut
ol
us
vt
vtusolution.in
vtusolution.in
in
The Probability of error for Communication Systems can be defined as
1 Eb ( 1 )
Pe erfc
--------- ( A6.9)
2 2 N
n.
0
E1 E 2
Eb
S1 (t ) a 0 t Tb
vt
for Symbol 1
S 2 (t ) 0 0 t Tb for Symbol 0
vtusolution.in
vtusolution.in
in
Correlation coefficient = 0.
Probability of error,
n.
1 Eb ( 1 )
Pe erfc
2 2 N 0
1 a 2T
Pe erfc b
4N0
io
ut
2
Case (2): Polar signaling:
ol
S1 (t ) a 0 t Tb for Symbol 1
S 2 (t ) a 0 t Tb for Symbol 0
vt
vtusolution.in
vtusolution.in
1 Eb (1 )
Pe erfc
2 2 N 0
in
1 a 2T
Pe erfc b
N0
n.
2
Case (3): Manchester signaling:
In this scheme the signals are represented as
S1 (t ) a / 2
a/2
io
0 t Tb / 2
Tb / 2 t Tb
for Symbol 1
ut
S 2 (t ) a / 2 0 t Tb / 2 for Symbol 0
a/2 Tb / 2 t Tb
Signal energies are E1 = a2 Tb/4 and E2 = a2 Tb/4
ol
Probability of error,
1 E (1 )
Pe erfc b
2 2 N 0
vt
Reduces to
1 a 2T
Pe erfc b
2 4N0
vtusolution.in
vtusolution.in
Example:
A binary PCM system using NRZ signaling operates just above the error threshold
with an average probability of error equal to 10-6. If the signaling rate is doubled,
find the new value of the average probability of error.
Solution:
in
For probability of error equal to 10-6.
Eb/N0 = 3.3 (from table)
n.
The probability of error is
Pe
1
2
erfc
io
Eb
N
0
ut
If the signaling rate is doubled then Eb is reduced by a factor of 2 and correspondingly
Eb/N0 also reduces by 2. Hence the new probability of error will become .
Pe 103
ol
us
vt
vtusolution.in
vtusolution.in
Chapter 6
1. Detection and
2. Estimation
in
Detection theory: It deals with the design and evaluation of decision – making
processor that observes the received signal and guesses which particular symbol was
transmitted according to some set of rules.
n.
Estimation Theory: It deals with the design and evaluation of a processor that uses
information in the received signal to extract estimates of physical parameters or
waveforms of interest.
io
The results of detection and estimation are always subject to errors
Consider a source that emits one symbol every T seconds, with the symbols belonging to
an alphabet of M symbols which we denote as m1, m2, . . . . . . mM.
We assume that all M symbols of the alphabet are equally likely. Then
pi p (mi emitted )
1
for all i
M
vtusolution.in
vtusolution.in
The output of the message source is presented to a vector transmitter producing vector of
real number
S i1
S
i2 Where the dimension N ≤ M.
.
S i i 1 , 2 , ..... , M
.
.
in
S iN
n.
The modulator then constructs a distinct signal si(t) of duration T seconds. The signal
si(t) is necessarily of finite energy.
io
Channel is linear, with a bandwidth that is large enough to accommodate
the transmission of the modulator output si(t) without distortion.
The transmitted signal si(t) is perturbed by an additive, zero-mean,
stationary, white, Gaussian noise process.
ut
such a channel is referred as AWGN ( additive white Gaussian noise ) channel
.
.
.
S M (t ) S M 11 (t ) S M 22 (t ) . . . . . . . . S MNN (t )
N
0 t T
S i (t ) S ij j ( t )
j 1 i 1, 2 , 3 . . . . . . M ( 6 . 1 )
vtusolution.in
vtusolution.in
T
i 1, 2,3 . . . . . M
S ij (t ) S i (t ) j (t )dt
0 j 1, 2,3 . . . . . . N ( 6 .2 )
in
The co-efficient Sij may be viewed as the jth element of the N – dimensional
n.
Vector Si
S i1
S
i 2
Therefore S i '
'
'
io
i = 1,2,3 . . . . . . M
ut
'
S
iN
ol
Vector
3 1
us
S1 S2
4 2
vt
vtusolution.in
vtusolution.in
T
S ij S i (t ) j (t ) dt i 1, 2 , ..... , M
in
0
n.
Given the set of coefficients {sij}, j= 1, 2, ….N operating as input we may use the scheme
as shown in fig(a) to generate the signal si(t) i = 1 to M. It consists of a bank of N
multipliers, with each multiplier supplied with its own basic function, followed by a
summer.
io
ut
ol
fig(a)
us
vt
conversely given a set of signals si(t) i = 1 to M operating as input we may use the
scheme shown in fig (b) to calculate the set of coefficients {sij}, j= 1, 2, ….N
vtusolution.in
vtusolution.in
fig(b)
in
n.
Si1 The vector si is called signal vector
S
i2
.
S i i 1, 2 , ..... , M
.
.
SiN
io
ut
We may visualize signal vectors as a set of M points in an N dimensional Euclidean
space, which is also called signal space
The squared-length of any vector si is given by inner product or the dot product of si
ol
N
Si ( Si , Si ) Sij2
2
j 1
us
Ei Si2 (t ) dt
0
substituting the value si(t) from equation 6.1
T N N
Ei [ Sij j (t )] [ Sikk (t )] dt
0 j 1 k 1
N N T
Ei S ij S ik j (t )k (t )dt
j 1 k 1 0
vtusolution.in
vtusolution.in
N
Ei Sij2
j 1
this shows that the energy of the signal si(t) is equal to the squared-length of the signal
vector si
The Euclidean distance between the points represented by the signal vectors si and sk is
in
N
Si S k ( Sij S kj ) 2
2
j 1
T
[ Si (t ) S k (t )]2 dt
n.
0
X (t ) S i (t ) W (t ) 0t T
io
i 1,2,3. . . . . . ., M (6.6)
ut
where W(t) is AWGN with Zero Mean and PSD N0/2
ol
The first Component Sij is deterministic quantity contributed by the transmitted signal
Si(t), it is defined by
vt
T
S ij S i (t ) j (t )dt (6.8)
0
The second Component Wj is a random variable due to the presence of the noise at the
input, it is defined by
T
W j W (t ) j (t )dt (6.9)
o
vtusolution.in
vtusolution.in
N
X ' (t ) X (t ) Xj 1
j j (t ) (6.10)
substituting the values of X(t) from 6.6 and Xj from 6.7 we get
N
X ' (t ) Si (t ) W (t ) (S
j 1
ij W j ) j (t )
W (t )
in
W (t ) j j
j 1
W ' (t )
n.
which depends only on noise W(t) at the front end of the receiver and not at all on the
transmitted signal si(t). Thus we may express the received random process as
N
X (t ) X (t ) X ' (t )
j 1
j j
N
X (t ) W ' (t )
j 1
j j
io
ut
Now we may characterize the set of correlator output, {Xj}, j = 1 to N , since the received
random process X(t) is Gaussian , we deduce that each Xj is a Gaussian random variable.
Hence, each Xj is characterized completely by its mean and variance.
ol
S ij
variance of Xj is given by
2 x j Var[ X j ]
E[( X j m x j ) 2 ] substituting m x j S ij
E[( X j S ij ) 2 ] from equton 6.7
E[W j2 ]
vtusolution.in
vtusolution.in
T T
2x j (t ) j (u ) E [ W (t )W (u ) ] dt du
in
j
0 0
T T
0 0
j (t ) j (u ) Rw (t , u ) dt du (6.11)
n.
where
io
Rw (t , u ) = E [ W (t )W (u ) ] autocorrelation function of the noise process W(t).Science the
noise is stationary, with psd N0/2 ,Rw(t,u) depends only on the time difference (t-u) and
expressed as
ut
N0
Rw (t , u ) (t u ) (6.12)
2
substituting this value in the equation 6.11 we get
ol
T T
N
xj 0 (t ) (u ) (t u ) dt du
2
j j
2 0 0
us
T
N0
2 0 j2 (t ) dt
N0
2x j for all j
2
This shows that all the correlator outputs {Xj}, j = 1 to N have a variance equal to the psd
No/2 of the additive noise process W(t).
Science the j (t ) forms an orthogonal set, then the Xj are mutually uncorrelated, as
shown by
vtusolution.in
vtusolution.in
Cov[ X j X k ] E[( X j mx j )( X k mx k )]
E[( X j S i j )( X k S ik )]
E[W jWk ]
T T
E W (t ) j (t )dt W (u )k (u )du
0 0
T T
(t ) (u ) R
j k w (t , u )dt du
0 0
in
T T
N0
2 (t ) (u ) (t u )dt du
j k
0 0
T
N
0 j (t )k (u )dt
n.
2 0
0 jk
Since the Xj are Gaussian random variables, from the above equation it is implied that
they are also statistically independent.
where w(t) is sample function of the white Gaussian noise process W(t), with zero mean
and PSD N0/2. The receiver has to observe the signal x(t) and make a best estimate of
the transmitted signal si(t) or equivalently symbol mi
The transmitted signal si(t), i= 1to M , is applied to a bank
of correlators, with a common input and supplied with an appropriate set of N
vt
orthonormal basic functions, the resulting correlator outputs define the signal vector Si.
knowing Si is as good as knowing the transmitted signal Si(t) itself, and vice versa. We
may represents si(t) by a point in a Euclidean space of dimensions N ≤ M. . Such a point
is referred as transmitted signal point or message point. The collection of M message
points in the N Euclidean space is called a signal constellation.
When the received signal x(t) is applied to the bank o N correlators , the output of the
correlator define a new vector x called observation vector. this vector x differs from the
signal vector si by a random noise vector w
x Si w i 1,2,3,........., M
vtusolution.in
vtusolution.in
The vectors x and w are sampled values of the random vectors X and W respectively. the
noise vector w represents that portion of the noise w(t) which will interfere with the
detected process.
Based on the observation vector x, we represent the received signal s(t)by a point in the
same Euclidean space, we refer this point as received signal point. The relation between
them is as shown in the fig
in
n.
io
ut
Fig: Illustrating the effect of noise perturbation on location of the received signal point
ol
vtusolution.in
vtusolution.in
Correlative receiver
Observation
Vector x
in
n.
io
For an AWGN channel and for the case when the transmitted signals are equally likely,
ut
the optimum receiver consists of two subsystems
1) .Receiver consists of a bank of M product-integrator or correlators
Φ1(t) ,Φ2(t) …….ΦM(t) orthonormal function
The bank of correlator operate on the received signal x(t) to produce observation vector x
ol
us
vt
vtusolution.in
vtusolution.in
in
MATCHED FILTER
Science each of t he orthonormal basic functions are Φ1(t) ,Φ2(t) …….ΦM(t) is assumed
to be zero outside the interval 0 t T . we can design a linear filter with impulse
n.
response hj(t), with the received signal x(t) the fitter output is given by the convolution
integral
y j (t ) x( )h (t )d
j
h j (t ) j (T t )
io
ut
Then the filter output is
y j (t ) x( ) j (T t )d
ol
y j (T ) x( ) j ( )d
y j (T ) x( ) j ( )d
0
yj(t) = xj
where xj is the j th correlator output produced by the received signal x(t).
A filter whose impulse response is time-reversed and delayed version of the input signal
j (t ) is said to be matched to j (t ) . correspondingly , the optimum receiver based on
this is referred as the matched filter receiver.
For a matched filter operating in real time to be physically realizable, it must be causal.
vtusolution.in
vtusolution.in
h j (t ) 0 t 0
causality condition is satisfied provided that the signal j (t ) is zero outside the interval
0t T
in
n.
io
ut
ol
vtusolution.in
vtusolution.in
in
The signal to noise ratio at the output of the matched filter at t = T is
0 (T )
2
n.
aim is to find the condition which maximize the SNR
let
0 (t ) 0 ( f )
h (t ) H ( f )
io
are the Fourier transform pairs, hence the output signal 0 (t ) is given by
ut
0 (t ) H ( f ) ( f ) exp( j 2ft )df
output at t = T is
ol
2
For the receiver input noise with psd No/2 the receiver output noise psd is given by
N0
S N( f )
2
H ( f ) (6.15)
2
and the noise power is given by
vt
E[n 2 (t )] S
N ( f ) df
N0
H( f )
2
df (6.16)
2
X 1 ( f ) X 2 ( f )df X
2 2
X 1 ( f ) df 2 ( f ) df (6.18)
*
Eqn 6.16 is equal when X1(f) = kX2 (f)
let X1(f) = H(f)
& X2(f) = ( f ) exp( j 2fT )
in
under equality condition
n.
Thus substituting in 6.16 we get the value
2
io
df
ut
2
( SNR ) 0 ( f )
2
df
N0
2E
( SNR ) 0, max (6.20)
N0
Under maximum SNR condition, the transfer function is given by ( k=1), eqn 6.19
vt
vtusolution.in
vtusolution.in
MATCHED FILTER
in
n.
Φ(t) = input signal
h(t) = impulse response
io
ut
W(t) =white noise
The impulse response of the matched filter is time-reversed and delayed version of the
input signal
ol
h (t ) (T t )
For causal system
h j (t ) 0 t 0
us
PROPERTY 1
vt
The spectrum of the output signal of a matched filter with the matched signal as
input is, except for a time delay factor, proportional to the energy spectral density of
the input signal.
let 0 ( f ) denotes the Fourier transform of the filter output 0 (t ) , hence
vtusolution.in
vtusolution.in
PROPERTY 2
0 (t ) R (t T )
in
At time t = T
0 (T ) R (0) E
n.
where E is energy of the signal
PROPERTY 3
io
The output Signal to Noise Ratio of a Matched filter depends only on the ratio of the
signal energy to the power spectral density of the white noise at the filter input.
ut
SNR at the output of matched filter is eqn 6.13
0 (T )
2
signal power at t = T
vt
2
N0
S N( f )
2
H( f )
2
vtusolution.in
vtusolution.in
noise power is
N
E[n (t )] S N ( f )df 0 H( f )
2 2
df
2
in
2
using Schwarz’s inequality
2
n.
X 1 ( f ) X 2 ( f )df X
2 2
X 1 ( f ) df 2 ( f ) df (6.24)
*
Eqn 6.24 is equal when X1(f) = kX2 (f)
let X1(f) = H(f)
& X2(f) = ( f ) exp( j 2fT )
under equality condition
2
ol
2
( SNR ) 0 ( f )
2
df
N0
2E
( SNR ) 0,max (6.26)
N0
vtusolution.in
vtusolution.in
PROPERTY 4
The Matched Filtering operation may be separated into two matching conditions;
namely spectral phase matching that produces the desired output peak at time T,
and the spectral amplitude matching that gives this peak value its optimum signal to
noise density ratio.
In polar form the spectrum of the signal (t ) being matched may be expressed as
in
( f ) ( f ) exp j ( f )
n.
The filter is said to be spectral phase matched to the signal (t ) if the transfer function of
the filter is defined by
H ( f ) H ( f ) exp j ( f ) j 2fT
0' (t )
0' (t ) 0' (T ) ( f ) H ( f ) df
vt
H ( f ) ( f )
vtusolution.in
vtusolution.in
Problem-1:
Consider the four signals s1(t), s2(t), s3(t) and s4(t) as shown in the fig-P1.1 .
Use Gram-Schmidt Orthogonalization Procedure to find the orthonormal
basis for this set of signals. Also express the signals in terms of the basis functions.
in
n.
io
ut
Fig-P1.1: Signals for the problem -1.
Solution:
ol
T
T
E1 s12 (t ) dt
0
3
s1 (t )
First basis function 1 (t ) 3 for 0 t T
T 3
vt
E1
Step-2: Coefficient s21
T
s 21 0
s 2 (t ) 1 (t ) dt T
3
T
2T
Energy of s2(t) E 2 s 22 (t ) dt
0
3
vtusolution.in
vtusolution.in
s2 (t ) s21 1 (t )
Second Basis function 2 (t ) 3 for T t 2T
E2 s 2 T 3 3
21
T
Step-3: Coefficient s31: s31 0
s3 (t ) 1 (t ) dt 0
T
Coefficient s32 s32 0
s3 (t ) 2 (t ) dt T
3
in
Intermediate function
g3(t) = s3(t) - s31Φ1(t) - s32 Φ2(t)
n.
Third Basis function
g 3 (t )
3 (t ) 3 for 2T t T
T T 3
0
2
g (t ) dt
3
io
The corresponding orthonormal functions are shown in the figure-P1.2.
ut
ol
us
S 2 (t ) T 1 (t ) T 2 (t )
3 3
S 3 (t ) T 2 (t ) T 3 (t )
3 3
S 4 (t ) T 1 (t ) T 2 (t ) T 3 (t )
3 3 3
vtusolution.in
vtusolution.in
PROBLEM-2:
Consider the THREE signals s1(t), s2(t) and s3(t) as shown in the fig P2.1. Use
Gram-Schmidt Orthogonalization Procedure to find the orthonormal basis for this
set of signals. Also express the signals in terms of the basis functions.
in
n.
io
Fig-P2.1: Signals for the problem -2.
ut
Solution: The basis functions are shown in fig-P2.2.
ol
us
S1 (t ) 2 1 (t )
S2 (t ) 4 1 (t ) 4 2 (t )
S3 (t ) 3 1 (t ) 3 2 (t ) 3 3 (t )
vtusolution.in
vtusolution.in
PROBLEM-3:
in
n.
Solution:
io Fig P3.1
The impulse response of the matched filter is time-reversed and delayed version
ut
of the input signal, h(t) = s(T-t) and the output of the filter, y(t) = x(t) * h(t).
vtusolution.in
vtusolution.in
Fig. P3.2
(b) The output of the filter y(t) is obtained by convolving the input s(t) and the
impulse response h(t). The corresponding output is shown in the fig. P3.3.
in
n.
io
ut
Fig. P3.3
ol
Assignment Problem:
Specify a matched filter for the signal S1(t) shown in Fig.-P4.1 Sketch the output of
us
the filter matched to the signal S1(t) is applied to the filter input.
vt
Fig P4.1
vtusolution.in
vtusolution.in
CHAPTER-7
Spread – Spectrum Modulation
Introduction:
Initially developed for military applications during II world war, that was less
sensitive to intentional interference or jamming by third parties.
Spread spectrum technology has blossomed into one of the fundamental building blocks
in current and next-generation wireless systems
in
Problem of radio transmission
n.
To disrupt the communication, the adversary needs to do two things,
(a) to detect that a transmission is taking place and
(b) to transmit a jamming signal which is designed to confuse the receiver.
.Solution
io
A spread spectrum system is therefore designed to make these tasks as difficult as
possible.
ut
Firstly, the transmitted signal should be difficult to detect by an adversary/jammer, i.e.,
the signal should have a low probability of intercept (LPI).
ol
Secondly, the signal should be difficult to disturb with a jamming signal, i.e., the
transmitted signal should possess an anti-jamming (AJ) property
Remedy
us
spread the narrow band signal into a broad band to protect against interference
In a digital communication system the primary resources are Bandwidth and
Power. The study of digital communication system deals with efficient utilization of
these two resources, but there are situations where it is necessary to sacrifice their
vt
vtusolution.in
vtusolution.in
in
a code that is independent of the data sequence. The Same code is used in the
receiver to despread the received signal so that the original data sequence may be
recovered.
n.
s(t) wide band r(t) wide band b(t) + Noise
b(t) ..... ..... Narrow Wide
c(t)
Wide band
n(t)
(noise)
io c(t)
Wide band
Band Band
ut
---- Transmitter---- ---- Channel------ --- Receiver--------
fig:1 spread spectrum technique.
ol
vtusolution.in
vtusolution.in
PSUEDO-NOISE SEQUENCE:
Generation of PN sequence:
Clock
Shift Shift Shift Output
S0 Register1
S Register2
S S3 Register3
Sequence
1 2
in
n.
Logic Circuit
Fig 2: Maximum-length sequence generator for n=3
io
A feedback shift register is said to be Linear when the feed back logic consists of
entirely mod-2-address ( Ex-or gates). In such a case, the zero state is not permitted. The
ut
period of a PN sequence produced by a linear feedback shift register with ‘n’ flip flops
cannot exceed 2n-1. When the period is exactly 2n-1, the PN sequence is called a
‘maximum length sequence’ or ‘m-sequence’.
ol
Example1: Consider the linear feed back shift register as shown in fig 2
involve three flip-flops. The input so is equal to the mod-2 sum of S1 and S3. If the initial
us
state of the shift register is 100. Then the succession of states will be as follows.
100,110,011,011,101,010,001,100 . . . . . .
The output sequence (output S3) is therefore. 00111010 . . . . .
Which repeats itself with period 23–1 = 7 (n=3)
vt
vtusolution.in
vtusolution.in
in
At each clock pulse
• Contents of register shifts one bit right.
• Contents of required stages are modulo 2 added and fed back
to input.
n.
io
ut
Fig: Initial stages of Shift registers 1000
ol
1 0 0 0
us
0 1 0 0
0 0 1 0 •We can see for shift Register of length m=4.
1 0 0 1 .At each clock the change in state of flip-flop is
1 1 0 0 shown.
0 1 1 0
•Feed back function is modulo two of X and
vt
1 0 1 1 3
0 1 0 1 X4.
1 0 1 0
1 1 0 1 •After 15 clock pulses the sequence repeats.
1 1 1 0 Output sequence is
1 1 1 1 000100110101111
0 1 1 1
0 0 1 1
0 0 0 1
1 0 0 0
vtusolution.in
vtusolution.in
Properties of PN Sequence
Randomness of PN sequence is tested by following properties
1. Balance property
2. Run length property
3. Autocorrelation property
1. Balance property
In each Period of the sequence , number of binary ones differ from binary zeros
by at most one digit .
in
Consider output of shift register 0 0 0 1 0 0 1 1 0 1 0 1 1 1 1
Seven zeros and eight ones -meets balance condition.
2. Run length property
n.
Among the runs of ones and zeros in each period, it is desirable that about one half the
runs of each type are of length 1, one- fourth are of length 2 and one-eighth are of length
3 and so-on.
Consider output of shift register
Number of runs =8
io
ut
0 0 0 1 0 0 1 1 0 1 0 1 1 1 1
3 1 2 2 1 1 1 4
ol
1 N
R c (k) c c
N n 1 n n -k
vt
vtusolution.in
vtusolution.in
in
1
Rc (k) (7 8)
15
1
n.
R c (k)
15
Yields PN autocorrelation as
io
ut
ol
7 127
8 255
vt
9 511
10 1023
11 2047
12 4095
13 8191
17 131071
19 524287
vtusolution.in
vtusolution.in
in
of ‘camouflaging’ the information – bearing signal.
V
b(t) m(t). . r(t) z(t) Tb Decisi
n.
dt
0
on
Device
sequence signal c(t) is wide band, the product signal m(t) is also wide band. The PN
sequence performs the role of a ‘Spreading Code”.
For base band transmission, the product signal m(t) represents the transmitted
vt
vtusolution.in
vtusolution.in
in
n.
+1
0
-1
+1
a) Data Signal b(t)
io
ut
0
-1
ol
+1
0
-1
vt
To recover the original message signal b(t), the received signal r(t) is applied to a
demodulator that consists of a multiplier followed by an integrator and a decision device.
The multiplier is supplied with a locally generated PN sequence that is exact replica of
that used in the transmitter. The multiplier output is given by
vtusolution.in
vtusolution.in
Z(t) = r(t).c(t)
= [b(t) * c(t) + n(t)] c(t)
= c2(t).b(t) + c(t).n(t)
The data signal b(t) is multiplied twice by the PN signal c(t), where as unwanted
signal n(t) is multiplied only once. But c2(t) = 1, hence the above equation reduces to
Z(t) = b(t) + c(t).n(t)
Now the data component b(t) is narrowband, where as the spurious component
in
c(t)n(t) is wide band. Hence by applying the multiplier output to a base band (low pass)
filter most of the power in the spurious component c(t)n(t) is filtered out. Thus the effect
of the interference n(t) is thus significantly reduced at the receiver output.
n.
The integration is carried out for the bit interval 0 ≤ t ≤ Tb to provide the sample
value V. Finally, a decision is made by the receiver.
If V > Threshold Value ‘0’, say binary symbol ‘1’
io
If V < Threshold Value ‘0’, say binary symbol ‘0’
ut
Direct – Sequence Spread Spectrum with coherent binary Phase shift
Keying:-
Binary data
ol
Generator
a) Transmitter
vt
Say 1
Tb Decision
y(t) Coherent v v if v > 0
Received Detector dt
0
Device
Say 0
Signal c(t) if v < 0
Local PN
generator
Local Carrier
b) Receiver
vtusolution.in
vtusolution.in
in
n.
Fig: model of direct – sequence spread binary PSK system(alternative form)
io
To provide band pass transmission, the base band data sequence is multiplied by a
Carrier by means of shift keying. Normally binary phase shift keying (PSK) is used
because of its advantages.
ut
The transmitter first converts the incoming binary data sequence {bk} into an
NRZ waveform b(t), which is followed by two stages of modulation.
The first stage consists of a multiplier with data signal b(t) and the PN signal c(t)
ol
as inputs. The output of multiplier is m(t) is a wideband signal. Thus a narrow – band
data sequence is transformed into a noise like wide band signal.
us
The second stage consists of a binary Phase Shift Keying (PSK) modulator.
Which converts base band signal m(t) into band pass signal x(t). The transmitted signal
x(t) is thus a direct – sequence spread binary PSK signal. The phase modulation θ(t) of
x(t) has one of the two values ‘0’ and ‘π’ (180o) depending upon the polarity of the
vt
vtusolution.in
vtusolution.in
in
get binary sequence.
Signal Space Dimensionality and Processing Gain
Fundamental issue in SS systems is how much protection spreading can
n.
provide against interference.
SS technique distribute low dimensional signal into large dimensional signal
space (hide the signal).
io
Jammer has only one option; to jam the entire space with fixed total power or
to jam portion of signal space with large power.
ut
Consider set of orthonormal basis functions;
2
ol
2
~ sin(2π f t) kT t (k 1) T
φ (t) Tc c c c
k
0 otherwise k 0,1,...... .......... .., N 1
vt
where
Tc is chip duration,
N is number of chips per bit.
in
j(t) k φ k (t) 0 t Tb
k0 k0
where
n.
Tb
jk j(t) φ
0
k (t) dt k 0,1,...... ........N 1
~ T
k 0
~
b
j j(t) φk (t) dt io
k 0,1,...... ........N 1
ut
Thus j(t) is 2N dimensional, twice the dimension as that of x(t).
N 1 2 N 1 2
1 1
Tb k 0
j
k
j
Tb k 0 k
vt
jk
k 0
j
k 0
k
N1 2
2
J
Tb
jk
k 0
vtusolution.in
vtusolution.in
Tb
2
v
Tb u(t) cos(2π f t)dt
0
c
in
v s v cj
Where vs is despread component of BPSK and vcj of spread interference.
n.
Tb
2
vs
Tb s(t) cos(2π f t)dt
0
c
v cj
2
Tb
Tb
v s Eb
N1 Tb
Tc
v cj
Tb
ck j(t) φk (t) dt
k 0 0
N1
Tc
Tb
c
k 0
k
jk
With Ck treated as independent identical random variables with both symbols having
equal probabilities
1
P(Ck 1) P(Ck 1)
2
vtusolution.in
vtusolution.in
in
and Variance
Var Vc j j
1 N1 2
jk
JTc
n.
N k 0 2
Spread factor N = Tb/Tc
Output signal to noise ratio is
(SNR)0
2Eb
JTc io
ut
The average signal power at receiver input is Eb/Tb hence input SNR
Eb /Tb
(SNR)I
J
ol
2Tb
(SNR)0 (SNR)I
Tc
us
where
Tc
.3db term on right side accounts for gain in SNR due to coherent detection.
. Last term accounts for gain in SNR by use of spread spectrum.
PG is called Processing Gain
vtusolution.in
vtusolution.in
in
n.
Rb
1
Tb io
1. Bit rate of binary data entering the transmitter input is
ut
2. The bandwidth of PN sequence c(t) , of main lobe is Wc
1
Wc
Tc
ol
Wc
PG
Rb
us
Probability of error
V Eb Vcj
vt
Decision rule is, if detector output exceeds a threshold of zero volts; received bit is
symbol 1 else decision is favored for zero.
vtusolution.in
vtusolution.in
1 Eb
Pe erfc
2 JTc
in
Antijam Characteristics
Consider error probability of BPSK
n.
1 E
Pe erfc b
2 N0
Comparing both probabilities;
N0 JTc
2
2
io
ut
Since bit energy Eb =PTb , P= average signal power.
Eb Tb P
N0 Tc J
us
J PG
or
P Eb / N0
vt
The ratio J/P is termed jamming margin. Jamming Margin is expressed in decibels as
Eb
(jamming mar gin) dB (P r ocessi ng gain) dB 10log10
N 0 min
Eb
Where N 0 is minimum bit energy to noise ratio needed to support a prescribed
average probability of error.
vtusolution.in
vtusolution.in
Example1
A pseudo random sequence is generated using a feed back shift register of length
m=4. The chip rate is 107 chips per second. Find the following
a) PN sequence length
b) Chip duration of PN sequence
c) PN sequence period
Solution
a) Length of PN sequence N = 2m-1
= 24-1 =15
b) Chip duration Tc = 1/chip rate =1/107 = 0.1µsec
c) PN sequence period T = NTc
in
= 15 x 0.1µsec = 1.5µsec
Example2
A direct sequence spread binary phase shift keying system uses a feedback shift
n.
register of length 19 for the generation of PN sequence. Calculate the processing
gain of the system.
Solution
Given length of shift register = m =19
N0 min
Eb
(jamm ing mar gin) dB 10log 10 PG dB 10log 10
N 0 min
10log 10 1024 10log 10 10 . 8
= 30.10 – 10.33
= 19.8 db
vtusolution.in
vtusolution.in
in
upon this we have two types of frequency hop.
1. Slow frequency hopping:- In which the symbol rate Rs of the MFSK signal is an
integer multiple of the hop rate Rh. That is several symbols are transmitted on
n.
each frequency hop.
2. Fast – Frequency hopping:- In which the hop rate Rh is an integral multiple of the
MFSK symbol rate Rs. That is the carrier frequency will hoop several times
io
during the transmission of one symbol.
A common modulation format for frequency hopping system is that of
M- ary frequency – shift – keying (MFSK).
ut
Slow frequency hopping:-
ol
The incoming binary data are applied to an M-ary FSK modulator. The resulting
modulated wave and the output from a digital frequency synthesizer are then applied to a
mixer that consists of a multiplier followed by a band – pass filter. The filter is designed
to select the sum frequency component resulting from the multiplication process as the
transmitted signal. An ‘k’ bit segments of a PN sequence drive the frequency
synthesizer, which enables the carrier frequency to hop over 2n distinct values. Since
vt
frequency synthesizers are unable to maintain phase coherence over successive hops,
most frequency hops spread spectrum communication system use non coherent M-ary
modulation system.
vtusolution.in
vtusolution.in
in
n.
io
ut
Fig a :- Frequency hop spread M-ary Frequency – shift – keying
ol
In the receiver the frequency hoping is first removed by mixing the received
signal with the output of a local frequency synthesizer that is synchronized with the
transmitter. The resulting output is then band pass filtered and subsequently processed by
us
a non coherent M-ary FSK demodulator. To implement this M-ary detector, a bank of M
non coherent matched filters, each of which is matched to one of the MFSK tones is used.
By selecting the largest filtered output, the original transmitted signal is estimated.
An individual FH / MFSK tone of shortest duration is referred as a chip. The chip
vt
vtusolution.in
vtusolution.in
incoming binary data. The symbol rate Rs of the MFSK signal, the chip rate Rc and the
hop rate Rn are related by
Rc = Rs = Rb /k ≥ Rh
where k= log2M
Fast frequency hopping:-
A fast FH / MFSK system differs from a slow FH / MFSK system in that
there are multiple hops per m-ary symbol. Hence in a fast FH / MFSK system each hop
in
is a chip.
n.
Fast Frequency Hopping Slow Frequency Hopping
vtusolution.in
vtusolution.in
Fig. illustrates the variation of the frequency of a slow FH/MFSK signal with time for
one complete period of the PN sequence. The period of the PN sequence is 24-1 = 15.
The FH/MFSK signal has the following parameters:
Number of bits per MFSK symbol K = 2.
Number of MFSK tones M = 2K = 4
Length of PN segment per hop k=3
Total number of frequency hops 2k = 8
in
n.
io
ut
ol
us
vt
vtusolution.in
vtusolution.in
Fig. illustrates the variation of the transmitted frequency of a fast FH/MFSK signal with
time. The signal has the following parameters:
Number of bits per MFSK symbol K = 2.
Number of MFSK tones M = 2K = 4
Length of PN segment per hop k=3
Total number of frequency hops 2k = 8
in
n.
io
ut
ol
us
vt
vtusolution.in