DC Digital Communication PART5
DC Digital Communication PART5
Course instructors:
TEXT BOOK:
            “Digital Communications”
Author: Simon Haykin Pub: John Wiley Student Edition, 2003
Reference Books:
                       O/P Signal
 Destination
 and Output                                  RECEIVER
 Transducer
       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.
Received Signal
        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)
        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.
The Channel decoder recovers the information bearing bits from the coded binary stream.
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.
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.
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.
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.
Channel
 Destina                           De                                                 Demod
                  Source
 tion             Decoder          cryptor          Channel           Demux           ulator
                                                    decoder
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.
      DeMUX: DeMultiplexer is used for separating the different signals so that they
       reach their respective destinations.
   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.
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
      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.
        The modulation and coding used in a digital communication system depend on the
characteristics of the channel. The two main characteristics of the channel are
BANDWIDTH and POWER. In addition the other characteristics are whether the channel
is linear or nonlinear, and how free the channel is free from the external interference.
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
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 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
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 rates of
274 megabits per second have been achieved.
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
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
transmission bandwidths and longer repeater separations.
                                          Chapter-2
                            SAMPLING PROCESS
sδ (t)
                                              
Therefore               gδ(t) = g(t) .         (t  kT
                                             k  
                                                                     s    )
                         
                    =     g (kT ). (t  kT )
                        k  
                                     s                       s    ----------- 2.3
Applying F.T to equation 2.1 and using convolution in frequency domain property,
                                 Gδ(f) = G(f) * Sδ (f)
                                                                  
Using equation 2.4,              Gδ (f) = G(f) * fs               ( f
                                                                 n  
                                                                                nf s )
                                                   
                                 Gδ (f) = fs        G( f
                                                 n  
                                                                    nf s )         ----------------- 2.5
                                 Reconstruction
                 gδ (t)              Filter                 gR(t)
                                  HR(f) / hR(t)
                              
            gR(t) = 2WTs      g (kTs ).Sinc[2W (t  kTs )]
                             K  
Gδ(f)
                       -fs     -W      0    W          fs           f
              HR( f)                        K
                             -W        0     +W                         f
              GR(f)
                                                                        f
                              -W       0 +W
             Fig: 2.5 Spectrum of sampled signal and reconstructed signal
Sampling of Band Pass Signals:
       Consider a band-pass signal g(t) with the spectrum shown in figure 2.6:
                                                                        G(f)
                                                 B                             B
       Band width = B
       Upper Limit = fu
       Lower Limit = fl               -fu                  -fl 0         fl        fu   f
                        Fig 2.6: Spectrum of a Band-pass Signal
       The signal g(t) can be represented by instantaneous values, g(kTs) if the sampling
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
reproduced from it’s samples by an ideal Band-Pass filter with the response, H(f) defined
as
                      H(f) =    1    fl < | f | <fu
                                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.
fs
       4B
       3B
       2B
0 B 2B 3B 4B 5B fu
Fig 2.7: Relation between Sampling rate, Upper cutoff frequency and Bandwidth.
Example-1 :
Consider a signal g(t) having the Upper Cutoff frequency,      f u = 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
Example-2 :
Consider a signal g(t) having the Upper Cutoff frequency,      f u = 120KHz   and the
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
Therefore we can choose m = 2. ie.. m is an integer less than (fu /B).
Then the sampling rate is   fs = 2fu / m = 240K / 2 = 120KHz
Quadrature Sampling of Band – Pass Signals:
        This scheme represents a natural extension of the sampling of low – pass signals.
        In this scheme, the band pass signal is split into two components, one is in-phase
component and other is quadrature component. These two components will be low–pass
signals and are sampled separately. This form of sampling is called quadrature sampling.
        Let g(t) be a band pass signal, of bandwidth ‘2W’ centered around the frequency,
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
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)
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
2W samples per second.
sampler
sin (2πfct)
                            -fc           0           fc                  f
                                                  2W->
                         a) Spectrum of a Band pass signal.
GI(f) / GQ(f)
                                  -W      0       W               f
                        b) Spectrum of gI(t) and gQ(t)
Fig 2.9 a) Spectrum of Band-pass signal g(t)
          b) Spectrum of in-phase and quadrature phase signals
RECONSTRUCTION:
          From the sampled signals gI(nTs) and gQ(nTs), the signals gI(t) and gQ(t) are
obtained. To reconstruct the original band pass signal, multiply the signals g I(t) by
cos(2πfct) and sin(2πfct) respectively and then add the results.
gI(nTs)
              Reconstruction
              Filter
                                                              +
                                       Cos (2πfct)                    Σ       g(t)
                                                              -
gQ(nTs)       Reconstruction
              Filter
                                        Sin (2πfct)
Fig 2.10:   Reconstruction of Band-pass signal g(t)
Sample and Hold Circuit for Signal Recovery.
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 .
                                                            SW
                            AMPLIFIER
         Input                                                              Output
          g(t)                                                               u(t)
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.
The output of a Sample-and-Hold circuit is defined as
                          
              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
Correspondingly, the spectrum for the output of the Sample-and-Hold circuit is given
by,
                                   
              U ( f )  fs         H ( f )G ( f
                                  n  
                                                    nf s ) )
  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.
In deriving the sampling theorem for a signal g(t) it is assumed that the signal g(t) is
strictly band-limited with no frequency components above ‘W’ Hz. However, a signal
cannot be finite in both time and frequency. Therefore the signal g(t) must have infinite
duration for its spectrum to be strictly band-limited.
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.
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
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
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
phenomenon the information is invariably lost.
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    
Or equivalently
 ( m 1 / 2 ) fs
                                g (t )         
                                               m  
                                                                 G ( f ) exp( j 2ft )df
                                                          ( m 1 / 2 ) fs
Using Poisson’s formula and Fourier Series expansions we can obtain the aliasing error
as
 ( m 1 / 2 ) fs
                     |          [1  exp( j 2mf s t )]
                                m  
                                                                                                G ( f ) exp( j 2ft )df   |
                                                                                        ( m 1 / 2 ) fs
                                                          2   | f |  fs / 2
                                                                                  | G ( f ) | df
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
                                                                    t
                    -1         0    0.5      1      2
-1.0
a) Sinc Pulse
׀G(f)׀
Fig. 2.20
                                 
                                     
         Xs(f) = Co.X(f) +           n  
                                              Cn. X ( f  nfs )
n≠0
1 X(f)
                                                                                 f
                                -W       0      +W
                               Message Signal Spectrum
                                            Xs(f)
                                        C0
C2                C1                                                        C1         C2
                                                                                               f
-2fs              -fs             -W            0             +W            fs         2fs
                            Sampled Signal Spectrum (fs > 2W)
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 f s. 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).
        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)
                                
              = P(f). fs         X(f
                             n  
                                         nfs )
Aperature Effect:
       The sampled signal in the flat top sampling has the attenuated high frequency
components. This effect is called the Aperture Effect.
Sampled Signal
                       Low –                        Equalizer
                     Pass Filter                     Heq(f)
       Equalizer decreases the effect of the in-band loss of the interpolation filter (lpf).
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  )
                                        Chapter-3
                     Waveform Coding Techniques
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
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
the transmitted sequence of coded pulses in order to combat the accumulated effects of
signal distortion and noise.
PCM Transmitter:
Basic Blocks:
       1. Anti aliasing Filter
       2. Sampler
       3. Quantizer
       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.
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
(a) TRANSMITTER
  Input
           Regeneration            Decoder          Reconstruction        Destination
           Circuit                                      Filter              User
(c) RECEIVER
 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
                                                       Decision
Distorted       Amplifier -                            Making               Regenerated
PCM             Equalizer                              Device               PCM wave
Wave
                                          Timing
                                          Circuit
         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
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.
Quantization Process:
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.
Analog Signal
                          Discrete Samples
                          ( Quantized )
Types of Quantizers:
   1. Uniform Quantizer
   2. Non- Uniform Quantizer
        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
type where as the origin lies in the middle of the rise portion in the Mid-Rise type.
                           Output
                                 7Δ/2
                                5Δ/2
                                3Δ/2
Δ/2
Δ 2Δ 3Δ 4Δ Input
2Δ
                                           Δ/2
                                                 3Δ/2                      Input
“The Quantization process introduces an error defined as the difference between the input
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.
       Quantization levels are 0, ± Δ., ± 2 Δ., ±3 Δ . . . . . . .
The Quantization error, Q is a random variable and will have its sample values bounded
by [-(Δ/2) < q < (Δ/2)]. If Δ is small, the quantization error can be assumed to a
uniformly distributed random variable.
which is a staircase function that befits the type of mid tread or mid riser quantizer of
interest.
where xk and xk+1 are decision thresholds of the interval Ik as shown in figure 3.7.
Ik-1 Ik
                           yk-1                        yk
                  Xk-1                    Xk                      Xk+1
Fig:3.7 Decision thresholds of the equalizer
The quantization noise uniformly distributed through out the signal band, its interfering
effect on a signal is similar to that of thermal noise.
- Δ/2 0 Δ/2 q
       Therefore
                               2
                             Q  E{Q 2 }
                                       
                            Q2       q
                                       
                                            2
                                                f q ( q ) dq          ---- ( 3.4)
                             1 2         2
                              q 2 dq 
                        2
                   Q                                                --- (3.5)
                                       12
                               
                                   2
Signal Power  X  2 2
Let x = Quantizer input, sampled value of random variable X with mean X, variance
   2
 X . The Quantizer is assumed to be uniform, symmetric and mid tread type.
       xmax = absolute value of the overload level of the Quantizer.
       Δ = Step size
       L = No. of Quantization level given by
                         2 x max
                    L           1                            ----- (3.7)
                           
                                  2 x max
                    2n 1                1
                                    
                    Or
                             x
                              max
                             n 1              ---- (3.9)
                         2       1
            x max
The ratio        is called the loading factor. To avoid significant overload distortion, the
           x
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
                               n 1           ----------(3.10)
                              2 1
                                    X 2 3 n1
                      ( SNR ) O  2      [2  1] 2 -------------(3.11)
                                   / 12 4
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.
       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
                                                                                       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 rise type.
Let xmax = absolute value of the overload level of the Quantizer.
                       2x max
                 L                      ------------------(3.15)
                         
                       xmax
                              -------------- (3.17)
                       2n
                                 2
                              
                 ( SNR ) O  2 X      -------------(3.18)
                              / 12
where  X
            2
                represents the variance or the signal power.
Consider a special case of Sinusoidal signals:
                              Ps      12 Ps
               ( SNR ) O                   1.5 L2  1.5 2 2 n     -----(3.19)
                              / 12
                              2
                                       2
Problem-1: An analog signal is sampled at the Nyquist rate fs = 20K and quantized
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:
               Given n = 7 and bit rate Rb = 56 Mega bits per second.
               Sampling frequency = Rb/n = 8MHz
               Message bandwidth = 4MHz.
For Mid-rise type
               (SNR)0 = 43.9 dB
CLASSIFICATION OF QUANTIZATION NOISE:
        The Quantizing noise at the output of the PCM decoder can be categorized into
four types depending on the operating conditions:
        Overload noise, Random noise, Granular Noise and Hunting noise
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.
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.
        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.
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
step at constant value of the inputs.
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 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
transmitted.
                                          UNIFORM
            COMPRESSOR                   QUANTIZER              EXPANDER
  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.
Expression for quantization error in non-uniform quantizer:
 The Transfer Characteristics of the compressor and expander are denoted by C(x)
and C-1(x) respectively, which are related by,
The Compressor Characteristics for large L and x inside the interval Ik:
      dc ( x)   2 xmax
                      for k  0,1,.....L  1    ---------- ( 3.22 )
       dx        L k
      where Δk = Width in the interval Ik.
                      L 1
with the constraint   p
                      k 0
                             k   1
Variance of Q is
                       σQ2 = E ( Q2) = E [( X – yk )2 ]                ---- (3.25)
 x max
                        Q2        (x  y
                                  xmax
                                              k   ) 2 f X ( x) dx ---- ( 3.26)
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.
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.
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 )       ln(1   x / x max )         x
                                              0          1
            xmax            ln(1   )              xmax
                                                                             ----( 3.29)
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 / xmax                     x            1
                                                    0               
    c( x )                    1  ln A                    xmax            A
               
     xmax
                      1  ln A x / x ma )                 1   x
                                                                1
                          (1 l A x                       A x ma
                              n                                      x
                                                                         ------------- ( 3.30)
The transmitter and receiver of the DPCM scheme is shown in the fig3.12 and fig 3.13
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
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
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
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).
 Sampled Input
 x(nTs)               e(nTs)                     v(nTs)       Output
               Σ                 Quantizer
          +
      ^
      x(nTs)                                      Σ
                                 Predictor
                                                u(nTs)
                        x^(nTs)
                                             Predictor
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:
                   R (1)                          R (1)
        (i ) 1  x         0.825     (ii ) 1  x        0.950
                  Rx (0)                         Rx (0)
Solution:
       Using (3.40)
                         (i)   For ρ1= 0.825, Gp = 3.13 In dB , Gp = 5dB
Delta Modulation is a special case of DPCM. In DPCM scheme if the base band signal
is sampled at a rate much higher than the Nyquist rate purposely to increase the
correlation between adjacent samples of the signal, so as to permit the use of a simple
quantizing strategy for constructing the encoded signal, Delta modulation (DM) is
precisely such as scheme. Delta Modulation is the one-bit (or two-level) versions of
DPCM.
DM provides a staircase approximation to the over sampled version of an input base band
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
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
+δ
0 Input
-δ
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:
where Ts is the sampling period; e(nTs) is a prediction error representing the difference
between the present sample value x(nTs) of the input signal and the latest approximation
                ^
to it, namely x(nT )  u (nT  T ) .The binary quantity, b(nTs ) is the one-bit word
                    s       s   s
transmitted by the DM system.
 Sampled Input
 x(nTs)                        e(nTs)                     b(nTs)             Output
                    Σ                   One - Bit
            +                           Quantizer
      ^
      x(nTs)                                                Σ
                                          Delay
                                           Ts            u(nTs)
                                         Delay
                                          Ts
                  u(nTs-Ts)
QUANTIZATION NOISE
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                     ------- ( 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).
       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.
                          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-
overload. In particular, it imposes the following condition on the value of δ:
                                dx(t )
                      max               2 f 0 A    ----- (3. 47)
                Ts                dt
Hence for no slope overload error the condition is given by equations 3.48 and 3.49.
                                         
                           A                            ------ (3.48)
                                 2 f 0Ts
Hence, the maximum permissible value of the output signal power equals
                                 A2        2
                           Pmax                      ---- (3.50)
                                 2     8 2 f 02 Ts2
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 ),
                               1
                 f Q (q )       for    q   
                              2                               ----- (3.51)
                              0 otherwise
The variance of the quantization error is  2 Q .
                                
                            1                 2
                Q              q
                     2
                                    2
                                         dq                    ----- (3.52)
                           2   
                                              3
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
quantization error is uniformly distributed over a frequency interval extending from -1/T s
to 1/Ts, we get the result:
                                            fc   2         2 
     Average output noise power N o               WTs      ----- ( 3.53)
                                            fs  3           3 
Correspondingly, the maximum value of the output signal-to-noise ratio equals
                            Pmax       3
               (SNR)O                                   ----- (3.54)
                            No     8 Wf 02 Ts3
                                     2
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.
Problems
Solution:
Delta Modulation:
Problems
The performance of a delta modulator can be improved significantly by making the step
size of the modulator assume a time-varying form. In particular, during a steep segment
of the input signal the step size is increased. Conversely, when the input signal is varying
slowly, the step size is reduced. In this way, the size is adapted to the level of the input
signal. The resulting method is called adaptive delta modulation (ADM).
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
shows the block diagram of the transmitter and receiver of an ADM System.
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
for  ( nTs ) is expressed in the general form
       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,
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.
        The use of PCM at the standard rate of 64 kb/s demands a high channel
bandwidth for its transmission. But channel bandwidth is at a premium, in which case
there is a definite need for speech coding at low bit rates, while maintaining acceptable
fidelity or quality of reproduction. The fundamental limits on bit rate suggested by speech
perception and information theory show that high quality speech coding is possible at
rates considerably less that 64 kb/s (the rate may actually be as low as 2 kb/s).
        For coding speech at low bit rates, a waveform coder of prescribed configuration
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
        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
prediction is called adaptive differential pulse code modulation (ADPCM).
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
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
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
The use of adaptive prediction in ADPCM is required because speech signals are
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,
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.
    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.
       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
   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
   and a characteristic of the hearing mechanism known as noise masking.
       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
   quantization, compared to differential pulse code modulation without pitch
   prediction. The number of bits per sample that needs to be transmitted is thereby
   greatly reduced, without a serious degradation in speech quality.
          The digitized voice signals, digitized facsimile and television signals and
computer outputs are of different rates but using multiplexers it combined into a single
data stream.
  1                                                                                     1
2                                                                                       2
         :       Multiplex
                                      High-Speed
                                                                                   :
                                     Transmission               DeMux
         :          er
                                         line                                      :
 N                                                                                      N
      1. Synchronization.
      2. Multiplexed signal should include Framing.
      3. Multiplexer Should be capable handling Small variations
Digital Hierarchy based on T1 carrier:
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.
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
technique is used with the constant μ = 255.
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.
Another type of practical system, that is used in Europe is 32 channel system which is
shown in the figure 3.20.
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
optical signal power available for transmission.
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—
e-Notes by Prof. H.V.Kumaraswamy, RVCE, Bangalore
CHAPTER 5
             2 Eb                       2 Eb
S 2 (t )         Cos(2f c t   )        Cos 2f c t ------- for Symbol ‘0’
              Tb                         Tb
                      Non Return to
                       Zero Level                         Product
                        Encoder                          Modulator
Binary                                                                          Binary PSK Signal
Data Sequence
                                                                       2
                                                          1 (t )       Cos 2f c t
                                                                      Tb
                                  Correlator
                        1 (t )                                   Threshold λ = 0
In a Coherent binary PSK system the pair of signals S1(t) and S2(t) are used to represent
binary symbol ‘1’ and ‘0’ respectively.
              2 Eb
S1 (t )           Cos 2f c t                   ---------            for Symbol ‘1’
               Tb
              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
           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
Tb
             S11   S1 (t ) 1 (t ) dt   Eb
                   0
Tb
S 21   S 2 (t ) 1 (t ) dt   Eb
        0
The message point corresponding to S1(t) is located at S11   Eb and S2(t) is located at
S 21   Eb .
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
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
is obtained at the modulator output.
To detect the original binary sequence of 1’s and 0’s we apply the noisy PSK signal x(t)
to a Correlator, which is also supplied with a locally generated coherent reference signal
1 (t ) as shown in fig (b). The correlator output x 1 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.
S1 (t )  Eb 1 (t ) 0  t  Tb for Symbol 1
S 2 (t )   Eb 1 (t ) 0  t  Tb for Symbol 0
                          Region R2            Region R1
                           -                                         Eb
                                Eb
                                                        0
                  Message Point 2                   Message Point 1
                      S2(t)        Decision              S1(t)
                                  Boundary
Fig. Signal Space Representation of BPSK
The observation vector x1 is related to the received signal x(t) by
                  T
         x1   x(t )1 (t ) dt
                  0
        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
        1) Pe(0/1)              i.e. transmitted as ‘1’ but received as ‘0’      and
        2) Pe(1/0)              i.e. transmitted as ‘0’ but received as ‘1’.
        Error of 1st kind is given by
                            
                       1           ( x1   ) 2 
   Pe (1 / 0)                2 2  dx1
                      2 2 0
                              exp                           Assuming Gaussian Distribution
                       x1  Eb
        Put Z 
                           N0
                                        
                                         exp(Z )  dz
                        1
    Pe 0  Pe (1 / 0)                              2
                                    ( Eb / N 0 )
                 1     Eb
     Pe (1 / 0)  erfc
                 2     N0
                               1     Eb
Similarly          Pe (0 / 1)  erfc
                               2     N0
                nc  i
Frequency f i         for some fixed integer nc and i=1, 2
                 Tb
The basic functions are given by
                              1
  R c (k)                 
                              N   and
             2
2 (t )        Cos 2f 2 t      for    0  t  Tb   and   Zero Otherwise
             Tb
Therefore FSK is characterized by two dimensional signal space with two message points
i.e. N=2 and m=2.
The two message points are defined by the signal vector
      E                          0 
S1   b           and       S2        
     0                          Eb 
fig b
data sequence is applied to on-off level encoder. The output of encoder is Eb volts for
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
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
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.
            If l > 0, the receiver decides in favour of symbol 1.
               l < 0, the receiver decides in favour of symbol 0.
             2
1 (t )        Cos 2f1t      0  t  Tb
             Tb
             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
S 2 (t )  E b  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.
Fig. Signal Space diagram of Coherent binary FSK system.
Tb
Tb
                                                                                  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 x1 & x2.
          l = x1 – x2
When symbol ‘1’ was transmitted x1 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
                 Eb
                                 l 
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
                     1
                                               (l  Eb ) 2 
Pe (1 / 0)  Pe 0 
                    2N 0              0 exp  2 N 0  dl
                                                            
               l  Eb
Put       Z
                   2N 0
               
          1
Pe 0           exp( z
                            2
                                )dz
               Eb
               2 N0
          1       Eb            
           erfc                
          2       2 N 0        
                          1       Eb          
Similarly Pe1              erfc              
                          2       2 N 0      
                                     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       
                                Tb
      x(t)            X          dt
                                0
                                                                Decision
                                                                Device
                                                                                  If x > λ choose symbol 1
                    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)
Region E2 Region E1
                             Message
                             Point 2                                  Eb
                                                                                      1 (t )
                                                       Eb
                                             0              Message
                                                       2
                                                            Point 1
             Fig. (c) Signal Space representation of BASK signal
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.
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
with threshold λ.
         If x > λ the receiver decides in favour of symbol 1.
         If x < λ the receiver decides in favour of symbol 0.
BER Calculation:
         In binary ASK system the basic function is given by
                      2
         1 (t )       Cos 2f c t    0  t  Tb
                     Tb
S 2 (t )  0 for Symbol 0
                                                                               A 2Tb
                                                                          0
Therefore the average transmitted energy per bit           Eb 0  Eb1                 2
                                                                                 2  A Tb
                                                    Eb               
                                                                2              2      4
The probability of error is given by
                
          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).
                N0                                                     N
         2       assuming additive white Gaussian noise with into PSD 0
                2                                                       2
                    x
       Let Z 
                    N0
                   
             1
      Pe 0         exp( z
                               2
                                   )dz
                   Eb
                   2 N0
               1       Eb         
                erfc             
               2       2 N 0     
                   1       Eb               
similarly Pe1       erfc                   
                   2       2 N 0           
                                                  1
       The total probability of error =             [ Pe 0  Pe1 ]
                                                  2
                 1       Eb            
        Pe        erfc                
                 2       2 N 0        
Incoherent detection:
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
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.
                     d   k
                                d b
                                 k 1   k
                                               d b
                                                k 1   k
  Where bk is the input binary digit at time kT b and dk-1 is the previous value of the
  differentially encoded digit. Table illustrate the logical operation involved in the
  generation of DPSK signal.
              2E
si (t )         Cos[2f c t  (2i  1) / 4]       0t T      i  1 to 4
              T
                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
Fig. (c) QPSK Waveform
                 2E                  
S (t ) 
    1
                 T
                    cos 2
                        
                              f   c
                                    t 
                                      4
                                                                   for input     di bit   10
                 2E                       3 
S   2
        (t ) 
                 T
                    cos 2
                        
                              f   c
                                      t
                                            4 
                                                                     for input    dibit    00
                 2E                       5 
S   3
        (t ) 
                 T
                    cos 2
                        
                              f   c
                                      t
                                            4 
                                                                     for input    dibit    01
                 2E                       7 
S (t ) 
    t
                 T
                    cos 2
                        
                              f   c
                                      t
                                            4 
                                                                    for input     dibit   11
 (t ) 
                   2
                                 
                              cos 2   f       t              0  t T
    1
                  T    b
                                           c
       (t ) 
                      2
                                 
                              sin 2   f       t              0  t T
    2
                  T       b
                                           c
There are four message points and the associated signal vectors are defined by
                      
      E cos  2i  1 4  
                         
Si                                                           i  1,2,3,4
                       
      E sin  2i  1  
                       4 
The table shows the elements of signal vectors, namely Si1 & Si2
Table:-
                 10                                          E              E
                                           4                       2               2
                 00                        3                 E              E
                                            4                      2               2
                 01                        5                 E              E
                                            4                      2               2
                 11                        7                 E              E
                                            4                      2               2
Therefore a     QPSK signal is characterized by having a two dimensional signal
constellation(i.e.N=2)and four message points(i.e. M=4) as illustrated in fig(d)
Generation:-
       Fig(a) shows a block diagram of a typical QPSK transmitter, the incoming binary
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
                                              2
                            1
                                 (t ) 
                                              T
                                                cos 2         f   c
                                                                       t
                                                                                &
                                              2
                                2
                                     (t ) 
                                              T
                                                sin 2         f   c
                                                                       t
 The result is a pair of binary PSK signals, which may be detected independently due to
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.
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:
If x2 >0 a decision is made in favour of symbol 1 and
  x2 <0 a decision is made in favour of symbol 0
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:-
       A QPSK system is in fact equivalent                   to two coherent binary PSK systems
working in parallel and using carriers that are in-phase and quadrature.
       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
             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
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
combined action of the two channels working together is
pc= probability of correct reception
p1= probability of error
       P    C
                 1  P1               2
                                                        2
                   1        E 
                 1  erfc        
                   2       2 No  
                           E  1           E 
                1  erfc         erfc 
                                         2
                                                  
                           2 No  4        2 No 
The average probability of symbol error for coherent QPSK is given by
         P      e
                     1         P           C
                            E  1           E 
                     erfc         erfc 
                                          2
                                                   
                            2 No  4        2 No 
                                                    E
In the region where 2 N   1                                We may ignore the second term and so the
                       o
approximate formula for the average probability of symbol error for coherent QPSK
system is
                                               E
            P       e
                             erfc
                                             2 No
Where Eb is the transmitted signal energy per bit and T b is bit duration the CPSK signal
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
                                                      h t
                  (t )   (0)                                                          0 t            T
                                                       T        b
                                                                                                                   b
                                                               h
                         f           f               
                             2
                                 2T           c
                                                                        b
                  f  1 / 2( f  f )
                     c                            1            2
                 h T ( f  f )
                             b        1                   2
           2 Eb                                  2 Eb
s (t )         Cos [ (t )] Cos ( 2f c t )         Sin [ (t )] Sin ( 2f c t )
            Tb                                    Tb
with the deviation ratio h=1/2
                       
 (t )   (0)           t                      0  t  Tb
                      2Tb
                    2 Eb
    sQ (t )             Sin [  (t ) ]
                     Tb
                    2 Eb                                 
                        Sin [  (Tb ) ] Cos          t 
                     Tb                       2Tb         
                      2 Eb                 
                         sin          t           0  t  2Tb
                       Tb        2Tb        
             2                   
1 (t )        Cos           t  Cos (2f c t )                  Tb  t  Tb
             Tb       2Tb         
              2                  
2 (t )         Sin          t  Sin (2f ct )                 0  t  2Tb
              Tb       2Tb        
Tb
s1   s (t ) 1 (t ) dt
      Tb
 Eb Cos  (0)  Tb  t  Tb
and
      2Tb
s2   s(t ) 2 (t ) dt
      0b
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
            Eb 
Pe  erfc      
                 
            N 0 
                                                  ^          
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
            ^              ^                 
estimates  (0)   and  (Tb )               , the receiver makes a final decision in favor of
                                             2
symbol 0.
                                   ^                  ^         
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.
Fig (a) shows the block diagram of typical MSK transmitter. and (b)receiver
                                                                                        n
Two input sinusoidal waves one of frequency                                f             C
                                                                                                  for some fixed integer nc and
                                                                               c
                                                                                       4T     b
                                       1
the other of frequency                         are first applied to a modulator. This produces two phase
                                   4T      b
coherent sinusoidal waves at frequencies f1 and f2 which are related to the carrier
frequency fc and the bit rate Rb by
                                  h                                 h
          f          f                       or   f       
                                                                    2 Rb
              1           c
                                  2T   b
                                                        C
                                   h                                h                             1
          f          f                       or   f       
                                                                    2 Rb
                                                                                       for h 
              2           c
                                  2T   b
                                                        C                                         2
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
         1
to                . These two binary waves are extracted from the incoming binary sequence.
         2T   b
              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
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) (10 6) 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..
Solution:
    a) The bit error probability for the coherent demodulator is
         A 2T 
Pe  Q       b 
                  ;                  A  1 mv,   Tb  10 6 / 4.8
         4 
               
 / 2 10 watt / Hz
          15
             
Pe  Q 26  2(10 7 ). 
 Pe    
                 1
                 2
                                    
                   exp  A 2Tb /(16 ) ,
pe = 0.0008
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 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.
Solution:
                                               
           Pe  DPSK  1 exp  A 2Tb / 2 10 4 ,
                        2
Hence,
         S av Tb /   8.517
         S av  DPSK      2.3.3 dBm
This example illustrates that the DPSK signaling scheme requires about 1 dB more power
than the coherent PSK scheme when the error probability is of the order of
10-4.
Probability of Error
                  u
           2
erf (u )    
            0
               exp( z 2 )dz                 -------- ( A6.1)
                  
           2
erfc(u )    
            u
               exp( z 2 )dz                 -------- ( A6.2)
           3. For a Random variable X, with mean mx and variance σx2, the probability
               of X is defined by
                               a                       
P(mX  a  X  m X  a)  erf                           -------- ( A6.4)
                               2                      
                                  X                    
Note: Relation:       erfc(u) = 1 – erf(u)
Tables are used to find these values.
                 exp(u 2 )
      erfc(u )                         -------- ( A6.5)
                     
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)
                    1      v 
(i)      Q (v )      erfc                  ------- ( A6.7a)
                    2      2
                                 1       Eb ( 1   ) 
                         Pe       erfc              
                                                                   --------- ( A6.9)
                                 2          2 N 0     
Where Eb is the average energy per bit defined by
         E1  E 2
Eb                                    --------- ( A6.10)
            2
and ρ is the correlation coefficient
                Tb
   1
   Eb            s (t ) s (t ) dt
                0
                     1       2                    ------ ( A6.11)
S1 (t )   a 0  t  Tb for Symbol 1
 S 2 (t )  0             0  t  Tb             for Symbol 0
Signal energies are E1 = a2 Tb and E2 = 0
Average energy per bit, Eb = a2 Tb/2.
Correlation coefficient = 0.
Probability of error,
          1       Eb ( 1   ) 
 Pe        erfc              
          2          2 N 0 
    1     a 2T 
Pe  erfc     b 
    2     4N0 
                
Case (2): Polar signaling:
S1 (t )   a 0  t  Tb for Symbol 1
S 2 (t )  a     0  t  Tb        for Symbol 0
Signal energies are E1 = a2 Tb and E2 = a2 Tb
Average energy per bit, Eb = a2 Tb
Correlation coefficient = -1.
Probability of error,
     1      Eb (1   ) 
 Pe  erfc             
     2        2 N 0 
    1     a 2T                
Pe  erfc     b               
    2     N0                  
                              
Case (3): Manchester signaling:
In this scheme the signals are represented as
S1 (t )   a / 2       0  t  Tb / 2    for Symbol 1
         a/2           Tb / 2  t  Tb
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
Average energy per bit, Eb = a2 Tb/4
Correlation coefficient = -1.
Probability of error,
         1       E (1   ) 
Pe        erfc b          
         2         2 N 0 
Reduces to
    1     a 2T 
Pe  erfc     b 
    2     4N0 
                
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:
       1       Eb 
Pe      erfc    
                   
       2       N0 
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  10 3
                                     Chapter 6
   1. Detection and
   2. Estimation
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.
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.
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
  p i  p ( mi emitted )
         1
            for all i
         M
The output of the message source is presented to a vector transmitter producing vector of
real number
                S i1    
               S        
                  i 2   
                 .      
        Si                i  1, 2 , ..... , M
                 .      
                 .      
                        
The modulator then constructs a distinct signal si(t) of duration T seconds. The signal
si(t) is necessarily of finite energy.
                  N
                               0  t  T
    S i (t )   S ij  j (t ) 
               j 1            i 1,2,3 ...... M  (6.1)
Vector             3               1
              S1           S2      
                    4             2
       T
S ij   S i (t ) j (t ) dt   i  1 , 2 , .. ... , M
       0
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.
fig(a)
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
                                                               fig(b)
              S i1    
             S        
                i 2   
       N      N             T
Ei    S ij S ik   j (t )k (t ) dt
       j 1 k 1            0
since  j (t ) forms an orthonormal set, the above equation reduce to
             N
  Ei   S ij2
             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
                        N
                       ( S ij  S kj ) 2
                 2
 Si  S k
                        j 1
             T
           [ S i (t )  S k (t )]2 dt
             0
  X (t )  S i (t )  W (t )                 0t T
                                              i  1,2,3. . . . . . ., M  (6.6)
The first Component Sij is deterministic quantity contributed by the transmitted signal
Si(t), it is defined by
         T
S ij    S
         0
                 i   (t ) j (t ) dt  (6.8)
 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
let X ' (t ) is a new random variable defined as
                                N
X ' (t )  X (t )           X j 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 )  S i (t )  W (t )                          (S
                                                      j 1
                                                                  ij    W j ) j (t )
                                    N
          W (t )               W 
                                    j 1
                                                  j    j   (t )
 W ' (t )
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   j 1
                                        j    j (t )  X ' (t )
                         N
                    X  j 1
                                        j    j (t )  W ' (t )
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.
variance of Xj is given by
     2 x j  Var [ X j ]
          E[( X j  m x j ) 2 ] substituti ng                                  m x j  S ij
           E[( X j  S ij ) 2 ]                        from           equton 6.7
          E[W ]    j
                     2
  substituting the value of Wj from eqn 6.9
            T                     T
                                                         
 2 x j  E   W (t )  j (t ) dt  W (u )  j (u ) du 
            0                     0                     
           T T                                        
        E     j (t )  j (u )W (t )W (u ) dt du 
           0 0                                        
           T T
 2x j     
            0 0
                    j   (t )  j (u ) E [ W (t )W (u ) ] dt du
            T T
            
            0 0
                    j   (t )  j (u ) R w (t , u ) dt du  (6.11)
where
                        N0
  Rw (t , u )              (t  u )  (6.12)
                        2
  substituting this value in the equation 6.11 we get
                  T T
           N0
 2x j 
           2       
                  0 0
                            j   (t )  j (u ) (t  u ) dt du
                    T
               N0
                   
                            2
                            j   (t ) dt
               2        0
                                           T T
                                 N0
                             
                                 2          
                                           0 0
                                                   j   (t )k (u ) (t  u )dt du
                                       T
                                 N0
                             
                                 2     
                                       0
                                                j (t )k (u )dt
0 jk
Since the Xj are Gaussian random variables, from the above equation it is implied that
they are also statistically independent.
x (t )  Si (t )  w(t )    0t T
                           i  1,2,3,.............., M
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
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
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
Fig: Illustrating the effect of noise perturbation on location of the received signal point
                                                                           Observation
                                                                           Vector x
For an AWGN channel and for the case when the transmitted signals are equally likely,
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
2).       Implemented in the form of maximum likelihood detector that
operates on observation vector x to produce an estimate of the transmitted symbol
mi i = 1 to M, in a way that would minimize the average probability of symbol error.
The N elements of the observation vector x are first multiplied by the corresponding N
elements of each of the M signal vectors s1, s2… sM , and the resulting products are
successively summed in accumulator to form the corresponding set of
Inner products {(x, sk)} k= 1, 2 ..M. The inner products are corrected for the fact that the
transmitted signal energies may be unequal. Finally,
the largest in the resulting set of numbers is selected and a corresponding decision on the
transmitted message made.
The optimum receiver is commonly referred as a correlation receiver
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
response hj(t), with the received signal x(t) the fitter output is given by the convolution
integral
               
y j (t )       x( ) h
              
                           j   (t   ) d
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.
For causal system
h j (t )  0 t 0
causality condition is satisfied provided that the signal  j (t ) is zero outside the interval
 0t T
where 0 (t ) and n(t) are produced by the signal and noise components of the input x(t).
output at t = T is
                                                            2
                       
           2
 0 (T )                  H ( f ) ( f ) exp( j 2fT ) df        (6.14)
                    
    For the receiver input noise with psd No/2 the receiver output noise psd is given by
             N0          2
   S N( f )      H ( f )  (6.15)
              2
   and the noise power is given by
                          
   E[n 2 (t )]           S
                          
                               N   ( f ) df
                                   
                          N0
                                    H( f )
                                               2
                                                  df  (6.16)
                          2    
        X                                                                    
                                                                      2                       2
             1   ( f ) X 2 ( f ) df                    X1( f )           df        X2( f )       df  (6.18)
                                                                           
 2  
 
      (t )                    ( f )
                 2                             2
                     dt                           df  E ,               energy of the signal
                             
                                       2E
        ( SNR ) 0, max                      (6.20)
                                       N0
 Under maximum SNR condition, the transfer function is given by ( k=1), eqn 6.19
 The impulse
         
             response in time domain is given by
hopt (t )      (  f ) exp[ j 2f (T
              
                                            t )] exp( j 2ft ) df
  (T  t )
Thus the impulse response is folded and shifted version of the input signal  (t )
MATCHED FILTER
 The impulse response of the matched filter is time-reversed and delayed version of the
 input signal
  h (t )   (T  t )
For causal system
h j (t )  0          t 0
PROPERTY 1
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
PROPERTY 2
At time t = T
0 (T )  R (0)  E
PROPERTY 3
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.
signal power at t = T
 2
                        H ( f ) ( f ) exp( j 2fT ) df
            2
0 (T )         
                      
                           N0        2
   S N( f )                  H( f )
                           2
   noise power is
                                                                   
                                                           N0
                                S                                   H( f )
                                                                                      2
        E[ n 2 (t )]                N   ( f ) df                                        df
                                
                                                           2        
        X                                                                  
                                                                    2                          2
                1   ( f ) X 2 ( f ) df                X1( f )          df        X2( f )          df  (6.24)
                                                                         
 2  
 
    (t )                  ( f )
             2                        2
                 dt                      df  E ,   energy of the signal
                       
                                2E
      ( SNR ) 0, max               (6.26)
                                N0
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
 ( f )   ( f ) exp  j ( f ) 
H ( f )  H ( f ) exp   j ( f )  j 2fT 
                        
0' (t )  0' (T )    
                        
                              ( f ) H ( f ) df
H ( f )  ( f )
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.
Solution:
       T
                               T
E1   s12 (t ) dt 
        0
                               3
                                           s1 (t )             3
First basis function           1 (t )                                for 0  t  T
                                                E1                 T                         3
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
                                               s2 (t )  s21 1 (t )            3
Second Basis function              2 (t )                                             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
Intermediate function
                                         g3(t) = s3(t) - s31Φ1(t) - s32 Φ2(t)
S 2 (t )  T          1 (t )  T 3 2 (t )
               3
S 3 (t )  T          2 (t )  T 3 3 (t )
                  3
S 4 (t )  T          1 (t )  T 3 2 (t )  T 3 3 (t )
                  3
PROBLEM-2:
Consider the THREE signals s 1(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.
S1 (t )  2 1 (t )
S 2 (t )   4 1 (t )  4 2 (t )
S3 (t )  3 1 (t )  3 2 (t )  3 3 (t )
PROBLEM-3:
                                         Fig P3.1
Solution:
The impulse response of the matched filter is time-reversed and delayed version of the
input signal, h(t) = s(T-t) and the output of the filter, y(t) = x(t) * h(t).
 (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.
Fig. P3.3
Assignment Problem:
Specify a matched filter for the signal S1(t) shown in Fig.-P4.1 Sketch the output of
the filter matched to the signal S1(t) is applied to the filter input.
Fig P4.1
                                                                                      126
e-Notes by M.N.Suma, BMS, Bangalore
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
      Unipolar
         NRZ
Polar NRZ
 NRZ-inverted
  (differential
   encoding)
       Bipolar
     encoding
   Manchester
     encoding
    Differential
   Manchester
     encoding
Unipolar (NRZ)
Unipolar NRZ
                                                                         127
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)
Polar NRZ
      “1” maps to +A pulse “0” to –A pulse
    Better Average Power
    simple to implement
    Long strings of 1s and 0s ,synchronization problem
    Poor timing
Bipolar Code
                                                NRZ-
                                                Bipolar
  V
            1 0 1 0 0 1                      1 0 1
  0
                                                                     128
  • Suitable for telephone systems.
Manchester code
1 0 1 0 1 1 1 0 0
    Manchester
     Encoding
   •   “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
   •   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.
M-ary formats
       Bandwidth can be properly utilized by employing M-ary formats. Here
grouping of bits is done to form symbols and each symbol is assigned some
level.
Example
       Polar quaternary format employs four distinct symbols formed by dibits.
 Gray and natural codes are employed
   1. Ruggedness
   2. DC Component
   3. Self Synchronization.
   4. Error detection
   5. Bandwidth utilization
   6. Matched Power Spectrum
                                                                             129
Power Spectra of Discrete PAM Signals:
     The discrete PAM signals can be represented by random process
                                   Symbol 1 a
                       A        [ Symbol 0  a
                           k
 Polar
                                   Alternate Symbol 1 takes  a, a
 Bipolar               A
                           k
                                [ Symbol 0  0
 Manchester                        Symbol 1 a
                       A        [ Symbol 0  a
                           k
PSD & auto correlation function form Fourier Transform pair & hence auto
correlation function tells us something about bandwidth requirement in frequency
domain.
                                1      2               j2π fnT
                    Sx (f)       V(f)      R A (n) e
                                T       n 
                                                                             130
Where V(f) is Fourier Transform of basic pulse V(t). V(f) & R A(n) depends on
different line codes.
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]
        RA(0) = a2/2
If n ≠ 0
Ak.Ak-n will have four possibilities (adjacent bits)
 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
          V(t) is rectangular pulse of unit amplitude, its Fourier Transform will be
sinc function.
                 1      2               j2π fnT
  Sx (f)          V(f)      R A (n) e
                 T       n 
substituting the values of V(f) and RA(n)
                                              j2π fnT
      S (f)  1 T 2 Sinc2 (fT )  R (n) e          b
       X     T  b             b  n  A
              b
                                                                     
                                                                     
                                                           j2π fnT 
           2 (fT )  R   (0)                                     b
    Tb Sinc
                 b 
                        A                      R A (n) e           
                                            n                     
                                                                     
                           
                                            n 0                     
                                                                      
                                                            
                                                            
                             
                    2 (fT )  a 2  a 2        j2π fnTb   
          
           Tb Sinc                           e             
                        b 
                            2       4                      
                                          n              
                                                            
                               
                                          n 0              
                                                             
                                                                                            131
           2                 2                j2π fn Tb
         a T Sinc2 (fT )  a T Sinc2 (fT )  e
           4 b         b 4 b             b n
          2                 2                 
 S (f)  a T Sinc2 (fT )  a T Sinc2 (fT ) 1     δ(f  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
                   1      2
 has nulls at        ,     . . . . . . . . . .
                   Tb     Tb
                                         n
 As a result, Sin 2 (fTb ).  δ(f          )  δ(f)
                            n         Tb
For n=0
                                                                                     132
                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
For n>1, 3 bits representation 000,001,010 . . . . . . 111. i.e. with each probability
of 1/8 which results in
       E[AK.AK-n] = 0
                                                 a2 / 2       n=0
            Therefore RA(n) =                   -a2 / 4       n = ±1
                                                  0           n>1
                      1      2               j2π fnT
       Sx (f)          V(f)      R A (n) e
                      T       n 
PSD is given by
             1    T 2SinC 2 (fT )  R ( 1)e j2π fnTb   R (0)  R (1)e- j2π fnTb 
S x (f) 
            T      b          b   A                  A       A              
             b
          b
            
Sx (f)  T SinC 2 (fT ) 
                     b  2
                             
                         a 2 a 2 j2π fnTb
                             
                               4
                                 (e        e
                                               j2π fTb 
                                                       )
                                                        
                        
            a 2T               
  Sx (f)       b SinC 2 (fT ) 1  Cos(2fTb ) 
            2               b  
                               
             a 2T
                                                             
                                
  S x (f)       b SinC 2 (fT ) 2Sin 2 ( fTb)
             2               b 
                               
                                      
  S x (f)  a 2 T SinC 2 (fT ) Sin 2 ( fTb)
                 b          b
                                                          
                                                                                           133
Spectrum of Line codes
                                                                               134
than bandwidth of pulse, spreading of pulse is very less. But when channel
bandwidth is close to signal bandwidth, i.e. if we transmit digital data which
demands more bandwidth which exceeds channel bandwidth, spreading will
occur and cause signal pulses to overlap.         This overlapping is called Inter
Symbol Interference. In short it is called ISI. Similar to interference caused by
other sources, ISI causes degradations of signal if left uncontrolled.           This
problem of ISI exists strongly in Telephone channels like coaxial cables and
optical fibers.
       In this chapter main objective is to study the effect of ISI, when digital data
is transmitted through band limited channel and solution to overcome the
degradation of waveform by properly shaping pulse.
              1 0 11
              Tb
       Transmitted Waveform        Pulse Dispersion
BASEBAND TRANSMISSION:
                                                                                    135
PAM signal transmitted is given by
                                     
                      x(t)           a V(t  KTb )                                     -------------------------- (1)
                                   K  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 . . . . .
                        
       y (iTb )     a
                      K  
                               k   P (iT b  KTb )
                                              
        y (iTb )   ai P (0)             a
                                            K  
                                                     k   P (iT b  KTb )        ---------------------(4)
                                                                                                                     136
             K=i                  K≠i
In equation(4) first term μai represents the output due to ith transmitted bit.
Second term represents residual effect of all other transmitted bits that are
obtained while decoding i th bit. This unwanted residual effect indicates ISI. This
is due to the fact that when pulse of short duration T b 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
                              
                       1
       p ( f ) 
                       Tb
                             p( f  n / T
                            n  
                                                   b   ) ----------------(6)
                  
p ( f )      p(mT
               m  
                                     b   )  (t  mTb ) e  j 2ft dt  p (t ). (t )
                                                                                           137
       Where m = i-k, then i=k, m=0; so
             
p ( f )    
             
                  p (0)  (t ) e  j 2ft dt
       i.e
              
                      (t ) dt  1
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)
                  
                                                   1
Or                p( f  n / T )  T
              n  
                                  b        b   
                                                   Rb
                                                        ----------- (8)
Ideal Solution
Ideal Nyquist filter that achieves best spectral efficiency and avoids ISI is
designed to have bandwidth as suggested
                        1        f 
       P(f) =              rect      
                       2B0       2B0 
                 1                   if f < B0
                
         P(f) =  2B0
                0                         f > B0
                
                                                                                    138
Impulse response in time domain is given by
                        sin(2π B0 t)
              P(t) 
                            2π B0 t
               sinc(2B t)
                       0
Practical solution
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                is an adjustable value between B o and 2Bo.
                       Tb
                        0
                                 1                           f  f1
                                 2Bo
                                
               P(f) =           
                                          1                    f1 f  2Bof 1
                                
                                     
                                      
                                              
                                                π f f1
                                                         
                                                           
                                 4Bo1cos           
                                                         
                                             2Bo2f1  
                                                           
                                                        
                                     
                                
                                 0                  f  2Bo  f1
                                                                                    139
The frequency f1 and bandwidth Bo are related by
                            α 1  f   1
                                             cos(2π αBot)
                    P(t)  sinc(2Bot)
                                            1  16 α Bo 2 t 2
                                                                                    140
P(t) has two factors
     •                                 1
          second factor that decreases as             2
                                                              - helps in reducing tail of sinc pulse
          i.e. fast decay                t
                               P(t) 
                                             
                                        sinc 4 B0 t       
     •    For α =1,                     1  16 B0 2 t 2
At          t= Tb      p(t)=0.5
                2
     Pulse width measured exactly equal to bit duration T b. 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
Bo =            1Nyquist bandwidth
                 2Tb
                               f1
But                   α = 1-
                               B0
using
                f1 = B0 (1- α)
B = 2 B0 – B0(1- α)
therefore B = B0(1+ α)
                                                                                                141
Roll-off factor
Smaller roll-off factor:
   •   Less bandwidth, but
   •   Larger tails are more sensitive to timing errors
Larger roll-off factor:
   •   Small tails are less sensitive to timing errors, but
   •   Larger bandwidth
Example1
Solution:
α = 0.25 ---- roll off
B = 3.5Khz ---transmission bandwidth
B = Bo(1+ α)
              1   Rb
B0 =                            Ans: Rb= 5600bps
             2Tb 2
Example2
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
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
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
e. Bandwidth = 25,000(1 + 1) = 50 kHz
Example 3
                                                                       142
A communication channel of bandwidth 75 KHz is required to transmit
binary data at a rate of 0.1Mb/s using raised cosine pulses. Determine the
roll off factor α.
Rb = 0.1Mbps
B=75Khz
 α=?
B = Bo(1+ α)
B0 = Rb/2                     Ans :    α =0.5
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.
                                                                                 143
Consider binary sequence {bk} with uncorrelated samples transmitted at the rate
of Rb bps. Polar format with bit duration T b 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 shown in fig.The binary sequence {b k} 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 T b
seconds apart at the filter output. Digit C k at the output of the duobinary encoder
is the sum of the present binary digit bk and its previous value bk-1
     Ck = bk + bk-1
The correlation between the pulse amplitude C k comes from bk and previous bk-1
digit, can be thought of as introducing ISI in controlled manner., i.e., the
interference in determining {b k} comes only from the preceding symbol {b k-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
The ideal delay element used produce delay of T b seconds for impulse will have
transfer function e -j 2π f Tb .
Overall transfer function of the filter H(f)
                                                                                 144
                                                 j 2 π f Tb
                    H(f)  H c (f)  H c (f)e
                                                    j2 π f T b 
                    H(f)  H c (f) 1 e                           
                                                                  
                            j πfT       j πfT b                
                           e      b
                                     e                            j πfTb
                 2 H c (f)                                     e
                           
                                     2                           
                                                                
                                                       j π f Tb
                2Hc (f)cos(π
 As ideal channel transfer function
                                    f Tb) e
                                             1
                        1                f 
               Hc (f)                     2 Tb
                        0               otherwise
                        
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
                                                                                  145
Advantage of obtaining this transfer function H(f) is that practical implementation
is easy
Impulse response
Impulse response h(t) is obtained by taking inverse Fourier transformation of
H(f)
                                 j 2π f t df
            h(t)          H(f)e
                         
                           1
                         2 Tb
                                                   jπ f Tb
                          2 cos( π f T b)e                  [ e j 2π f t ] df
                         1
                              2 Tb
                      πt       π t  T b  
                sin      sin 
                                              
                     Tb      Tb 
                     πt       π t  T b  
                                            
                    T 
                     b        Tb 
                     πt                 πt 
                sin    
                                    sin      
                    Tb               Tb 
                    πt              π t  T b  
                                                 
                   T                     Tb
                    b                                                         146
                                          πt 
                                 T 2sin  
                                  b     Tb
                       h(t ) 
                                    πt  Tb  1
Impulse response has two sinc pulses displaced by T b sec. Hence overall
impulse response has two distinguishable values at sampling instants t = 0 and t
= Tb .
                                                                            147
Duo binary decoding
Ck = bk + bk-1
Decoding:
if
      ^
     bk
       is estimate of original sequence b then
                                            k
      ^   ^
     bk Ck bk 1
Disadvantage
                                                                                   148
Example                       consider sequence 0010110
Precoding
In case of duo binary coding if error occurs in a single bit it reflects as multiple
errors 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 {b k}
converts it into another binary sequence {ak} given by
a k  b k  a k 1
                                                                                149
Fig. A precoded duo binary scheme.
C k  a k  a k 1
The decision rule for detecting the original input binary sequence {b k} from {ck} is
                            symbol 0 if Ck  1v
                  b ^k     
                             symbol 1 if C k  1v
                                                                                  150
Example: with start bit as 0, reference bit 1
                                                151
Example: with start bit as 1, reference bit 1
                                                152
       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
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.
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.
c) Repeat above two cases with use of precoder
without a precoder
errors errors
                                                                              153
With a precoder (start bit 1)
                                154
      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.
                                                                            155
Transmitter
Ck = ak – ak-2
Receiver
At the receiver we may extract the original sequence {b k} using the decision rule
    bk = symbol 0 if |Ck| >1v
            symbol 1 if |Ck| ≤1v
                                                                                156
                                        - j 4 π f Tb
H(f)  Hc(f) - Hc(f)e
                             - j 4 π f Tb 
         Hc(f) 1- e               
                                   
                                    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
                                1
                     1     f 
Where     H c (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
                  
          The Transfer function has zero value at origin, hence suitable for poor dc
          channels
Impulse response
                                   j 2π f t df
          h(t)              H(f)e
                           
                                                                                         157
             1
                 2 Tb
                                               j π f Tb
                      2 jsin ( 2π f T b)e                [ e j 2π f t ] df
            1
                  2 Tb
          πt         π t  2T b  
    sin        sin                
          T b             Tb      
                 
        πt          π t  2T b  
                                   
       T                   Tb
        b                          
          πt             πt  
    sin         sin          
          Tb             Tb 
                
        πt         π t  2T b  
                                 
       T                 Tb
        b                        
                 π t  
       2Tb 2 sin        
                Tb 
         πt  2T b has
Impulse response     t  three distinguishable levels at the sampling instants.
                                                                                  158
To eliminate error propagation modified duo binary employs Precoding option
same as previous case.
 Prior to duo binary encoder precoding is done using modulo-2 adder on signals
spaced 2Tb apart
          a b  a
            k    k     k 2
                                                                          159
Consider binary sequence {bk}={01101101}
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 by the third digit is reduced to zero. Construct the new receiver output.
c) Repeat above two cases with use of precoder
                                                                               160
Modified duo binary coder output and corresponding receiver output, with a
precoder
                                                                       161
Generalized form of correlative coding scheme
                                                162
       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 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 bK
        N 1
Ck =    f
        n 0
               n   b k -n
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
The blocks of n- message bits are represented by M-level waveforms with
               M=2n.
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.
         Rb
R
       log2 M
M-ary PAM system requires more power which is increased by factor equal to
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 offer a limited bandwidth and high SNR
Example
                                                                                163
An analog signal is sampled, quantised and encoded into a binary PCM
wave. The 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 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.
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.
Solution
Given Channel with transmission BW B=12kHz.
Number of representation levels L = 128
Roll off α = 1
a)  B = Bo(1+ α),
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.
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.
                                                                          164
   •   Eye patterns can be observed using an oscilloscope. The received wave
       is applied 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, resulting display is eye pattern as it resembles
       human eye.
   •   The interior region of eye pattern is called eye opening
   •   The width of the eye opening defines the time interval over which the
       received wave can be sampled without error from ISI
                                                                                 165
The sensitivity of the system to timing error is determined by the rate of closure
of the eye as the sampling time is varied.
Example 1
                                                                               166
Example 2
                                                                                 167
       0      1      1       0   1     0
                                                                Eye Pattern
                                                                                  168
2. Differences in number of links in a connection
   Because of these two characteristics, telephone channel is random in nature.
To realize the full transmission capability of a telephone channel we need
adaptive equalization.
Adaptive equalization
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.
                                                                               169
The output of the Adaptive equalizer is given by
               M1
     y(nt)    c
               i  0
                        i   x(nT  iT)
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
Mechanism of adaptation
Training mode
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.
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
                                                                             170
Methods of implementing adaptive equalizer
i) Analog
ii) Hard wired digital
iii) Programmable digital
Analog method
      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.
   •   Set of adjustable lap weights are also stored in shift registers. Logic
       circuits are used for required digital arithmetic operations.
Programmable method
                                                                               171
                                     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
Problem of radio transmission
                                                                                    172
         The primary advantage of a Spread – Spectrum communication system is
its ability to reject ‘Interference’ whether it be the unintentional or the intentional
interference.
         The definition of Spread – Spectrum modulation may be stated in two
parts.
   1. Spread Spectrum is a mean of transmission in which the data sequence
          occupies a BW (Bandwidth) in excess of the minimum BW necessary to
          transmit it.
   2. The Spectrum Spreading is accomplished before transmission through
          the use of 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.
                                                                                              173
Fig: Spectrum of signal before & after spreading
PSUEDO-NOISE SEQUENCE:
Generation of PN sequence:
Clock
              Shift             Shift                  Shift            Output
              Register1         Register2              Register3
    S0               S1          S 2            S3      Sequence
           Logic Circuit
Fig 2: Maximum-length sequence generator for n=3
         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 period of a PN sequence produced by a linear feedback
shift register with ‘n’ flip flops cannot exceed 2 n-1. When the period is exactly 2n-
1, the PN sequence is called a ‘maximum length sequence’ or ‘m-sequence’.
            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 state of the shift register is 100. Then the succession of states will be
as follows.
         100,110,011,011,101,010,001,100 . . . . . .
                                                                                   174
        The output sequence (output S3) is therefore. 00111010 . . . . .
        Which repeats itself with period 23–1 = 7 (n=3)
    Maximal length codes are commonly used PN codes
In binary shift register, the maximum length sequence is
          N = 2m-1
Fig: 1
     Initial stages
              0     of
                    0 Shift 0registers 1000
     0        1      0       0
Let initial
     0      status
              0    of1shift register
                             0       be 1000
    1       0        0     1
    1       1        0     0
    0
    1
            1
            0
                     1
                     1
                           0
                           1
                                      •        We can see for shift Register of length
                                      m=4. .At each clock the change in state of flip-
    0       1        0     1
                                      flop is shown.
    1       0        1     0
    1
    1
            1
            1
                     0
                     1
                           1
                           0
                                      •         Feed back function is modulo two of X3
                                      and X4.
    1       1        1     1
    0
    0
            1
            0
                     1
                     1
                           1
                           1
                                      •       After 15 clock pulses the sequence
                                                                                         175
                                      repeats.
    0       0        0     1
                                      Output sequence is
    1       0        0     0
                                      000100110101111
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 .
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
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
 0 0 0 1 0 0 1 1 0 1 0 1 1 1 1
     3            1         2        2      1    1     1          4
            1 N
R c (k)        c c
            N n 1 n n -k
                                                                               176
Where N is length or period of the sequence and
k is the lag of the autocorrelation
                        1    if     k l N
                    
   R c (k)             1
                                 k  l N
                        N
                    1
  Rc (k)             (7  8)
                   15
                          1
     R c (k)       
                         15
Yields PN autocorrelation as
               7                              127
               8                              255
               9                              511
                                                                                177
             10                            1023
             11                            2047
             12                            4095
             13                            8191
             17                           131071
             19                           524287
A Notion of Spread Spectrum:
        An important attribute of Spread Spectrum modulation is that it can
provide protection against externally generated interfacing signals with finite
power. Protection against jamming (interfacing) waveforms is provided by
purposely making the information – bearing signal occupy a BW far in excess of
the minimum BW necessary to transmit it. This has the effect of making the
transmitted signal a noise like appearance so as to blend into the background.
Therefore Spread Spectrum is a method of ‘camouflaging’ the information –
bearing signal.
                                                                             V
b(t)              m(t). .               r(t)                  z(t)
                                                               Tb         Decisio
                                                                dt
                                                               0
                                                                          n
                                                                          Device
                                                                                    178
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 signal. Therefore      m(t) = c(t).b(t)
       The received signal r(t) consists of the transmitted signal m(t) plus an
additive interference noise n(t), Hence
       r(t) = m(t) + n(t)
           = c(t).b(t) + n(t)
+1
 0
-1
a) Data Signal b(t)
+1
 0
-1
                                                                                  179
 0
-1
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
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
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.
The integration is carried out for the bit interval 0 ≤ t ≤ T b to provide the sample
value V. Finally, a decision is made by the receiver.
If V > Threshold Value ‘0’, say binary symbol ‘1’
If V < Threshold Value ‘0’, say binary symbol ‘0’
Direct – Sequence Spread Spectrum with coherent binary Phase shift Keying:-
Binary data
                                       Binary PSK
b(t)                  m(t)                          x(t)
                                       Modulator
               c(t)
                PN Code              Carrier
                Generator
                                                                                     180
                    a) Transmitter
                                                                            Say 1
                                                     Tb          Decision
y(t)            Coherent                            v       v
if v > 0        Detector                              dt
                                                        0
                                                                 Device
Received                                                                    Say 0
Signal                                 c(t)                                 if v < 0
                                     Local PN
                                     generator
Local Carrier
b) Receiver
                                                                                181
       The first stage consists of a multiplier with data signal b(t) and the PN
signal c(t) 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.
       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 ‘π’ (180 o)
depending upon the polarity of the message signal b(t) and PN signal c(t) at time
t.
       Polarity of PN & Polarity of PN signal both +, + or - - Phase ‘0’
       Polarity of PN & Polarity of PN signal both +, - or - + Phase ‘π’
                       Polarity of data sequence b(t)
                                           +                  -
Polarity of PN sequence C(t)    +           0                 π
                                 -          π                 0
The receiver consists of two stages of demodulation.
In the first stage the received signal y(t) and a locally generated carrier are
applied to a coherent detector (a product modulator followed by a low pass filter),
Which converts band pass signal into base band signal.
The second stage of demodulation performs Spectrum despreading by
multiplying the output of low-pass filter by a locally generated replica of the PN
signal c(t), followed by integration over a bit interval T b and finally a decision
device is used to get binary sequence.
Signal Space Dimensionality and Processing Gain
          Fundamental issue in SS systems is how much protection spreading
           can provide against interference.
          SS technique distribute low dimensional signal into large dimensional
           signal space (hide the signal).
          Jammer has only one option; to jam the entire space with fixed total
           power or to jam portion of signal space with large power.
                                                                                      182
                     2
                       cos(2π fct)                        kTc  t  (k  1) Tc
         φ k (t)   Tc
                   
                    0                                   otherwise
                                 2
               ~                    sin(2π f t)  kT  t  (k  1) T
              φ (t)            T           c      c               c
                k                  c
                      
                                0               otherwise
where
Tc is chip duration,
N is number of chips per bit.
where
         Tb
  jk     j(t) φ
         0
                    k   (t) dt                 k  0,1,...... ........N  1
~ T ~b
                                                                                                             183
 Average interference power of j(t)
                       Tb
                 1
          J           j
                            2
                                (t) dt
                 Tb    0
                       N 1 2
                                               ~
                                          N 1 2
                  1             1
                
                  Tb
                       
                       k 0
                            j 
                             k Tb         
                                          k 0
                                               j
                                                k
          jk
         k 0
                        j
                         k 0
                              k
                       N 1
            2                       2
         J
            Tb
                        jk
                       k 0
                  Tb
           2
  v
           Tb      u(t) cos(2π f t)dt
                  0
                                             c
 v s  v cj
                                                 1
   R c (k)                               
                                                 N
                 Tb
           2
v cj 
           Tb     c(t) j(t) cos(2π f t)dt
                  0
                                                 c
                 2Eb
 s(t)              cos(2π fc t)                    0  t  Tb
                  Tb
                                                                          184
 Where + sign is for symbol 1
              - sign for symbol 0.
 If carrier frequency is integer multiple of 1 / Tb , wehave
   vs        Eb
          Tc   N1
    
          Tb
               c
               k 0
                          k
                              jk
 E Ck jk jk   jk P(Ck  1)  jkP(Ck   1)
                       1     1
                        jk  jk
                       2     2
                      0
and Variance
         
Var Vc j j 
                1 N 1 2
                   jk
                N k 0
                                   
                                       JTc
                                        2
 The average signal power at receiver input is E b/Tb hence input SNR
               Eb /Tb
 (SNR)I 
                 J
                                                                               185
           2Tb
(SNR)0        (SNR)I
            Tc
where              Tb
            PG 
                   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
                                Wc
                        PG 
                                Rb
                                                                          186
Probability of error
Decision rule is, if detector output exceeds a threshold of zero volts; received bit
is symbol 1 else decision is favored for zero.
                  1        Eb 
           Pe      erfc      
                                
                  2        JTc 
Antijam Characteristics
Consider error probability of BPSK
          1        Eb 
   Pe      erfc     
                       
          2        N0 
          Eb  Tb   P 
               
          N0  Tc   J 
                                                                                 187
          J    PG
or          
          P   Eb / N0
       Eb 
          
       N0 
Where           is minimum bit energy to noise ratio needed to support a
prescribed average probability of error.
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
                        = 15 x 0.1µsec = 1.5µsec
Example2
A direct sequence spread binary phase shift keying system uses a
feedback shift 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
Therefore length of PN sequence N = 2m - 1
                                       = 219 - 1
Processing gain PG = Tb/Tc =N
in db =10log10N = 10 log10 (219)
                  = 57db
Example3
A Spread spectrum communication system has the following parameters.
Information bit duration Tb = 1.024 msecs and PN chip duration of 1µsecs.
                                                                              188
The average probability of error of system is not to exceed 10 -5. calculate
a) Length of shift register b) Processing gain c) jamming margin
Solution
Processing gain PG =N= Tb/Tc =1024 corresponding length of shift register m =
10
In case of coherent BPSK For Probability of error 10 -5.
[Referring to error function table]
Eb/N0 =10.8
Therefore jamming margin
                                                        Eb 
(jamming mar gin)dB  (Pr ocessing gain) dB  10log10     
                                                        N0 min
                                                    Eb 
     (jamming margin)dB  10log10 PG dB  10log10      
                                                    N 0  min
 10log101024  10log1010.8
                          = 30.10 – 10.33
                          = 19.8 db
Frequency – Hop Spread Spectrum:
     In a frequency – hop Spread – Spectrum technique, the spectrum of data
modulated carrier is widened by changing the carrier frequency in a pseudo –
random manner. The type of spread – spectrum in which the carrier hops
randomly form one frequency to another is called Frequency – Hop (FH)
Spread Spectrum.
      Since frequency hopping does not covers the entire spread spectrum
instantaneously. We are led to consider the rate at which the hop occurs.
Depending 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 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 during the transmission of one symbol.
A common modulation format for frequency hopping system is that of
M- ary frequency – shift – keying (MFSK).
                                                                               189
Slow frequency hopping:-
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 a non coherent M-ary FSK demodulator. To implement this M-ary
                                                                                190
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
rate Rc for an FH / MFSK system is defined by
Rc = Max(Rh,Rs)
Where Rh is the hop rate and Rs is Symbol Rate
In a slow rate frequency hopping multiple symbols are transmitted per hop.
Hence each symbol of a slow FH / MFSK signal is a chip. The bit rate R b of the
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 is a chip.
                                                                               191
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
                                                                                192
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
                                                                                193
194