Chapter 1
Chapter 1
Chapter 1
Chapter 1
PRINCIPLES OF BASEBAND DIGITAL
DATA TRANSMISSION
1.1 Introduction
Advantages of digital communications
1. Digital signals are more immune to channel noise by using channel coding
(perfect decoding is possible!)
2. Repeaters along the transmission path can detect a digital signal and
retransmit a new noise-free signal (In long distance systems, noise does not
accumulate from repeater to repeater).
3.
4. Digital signals derived from all types of analog sources can be represented
using a uniform format
5. Relatively inexpensive circuits may be used.
6. Privacy is preserved by using data encryption
7. Digital signals are easier to process by using microprocessors and VLSI
(e.g., digital signal processors, FPGA)
8. Data from voice, video, and data sources may be merged and transmitted
over a common digital system.
9. Errors may often be corrected with the use of coding.
10. More and more things are digital e.g., English text, computer data.
Page 1 of 37
Chapter 1 EE 322-Digital Communications
Page 2 of 37
Chapter 1 EE 322-Digital Communications
What makes a Communication System GOOD?
We can measure the “GOODNESS” of a communication system in many ways:
1. How close is the estimated (received) signal to the original signal?
o Better estimate = higher quality transmission
o Signal to Noise Ratio (SNR) for analog signals.
o Bit Error Rate (BER) for digital signals.
2. How much power is required to transmit the signal?
o Lower power = longer battery life, less interference
3. How much bandwidth B is required to transmit the signal?
o Less B means more users can share the channel
4. How much information is transmitted?
o In analog systems information is related to Bandwidth of the signal.
o In digital systems information is expressed in bits/sec (bps).
Page 3 of 37
Chapter 1 EE 322-Digital Communications
Page 4 of 37
Chapter 1 EE 322-Digital Communications
Page 5 of 37
Chapter 1 EE 322-Digital Communications
Table 1 Comparison of line (baseband) code performance.
In the following discussion, the pulses are spaced Tb seconds apart. Consequently,
the transmission rate is Rb = 1 / Tb pulses per second.
Pulse Duration: There are two classes used here.
– Non return-to-zero (NRZ) where the pulse or symbol duration Ts = the bit period
Tb.
– Return-to-zero (RZ) where the pulse or symbol duration Ts < the bit period Tb.
Usually Ts = 0.5Tb.
• The pulse duration will usually have an effect on the synchronization properties
of the line code (i.e. it determines the presence or absence of a frequency
component at the clock frequency).
Polar RZ
Page 6 of 37
Chapter 1 EE 322-Digital Communications
Polar NRZ
2
sin fTb
PPolar NRZ ( f ) A Tb
2
fTb
Fig.3 Power spectral density of a polar signal
Advantages:
1) Most efficient scheme from the power requirement viewpoint. For a given
power, it can be shown that the detection-error probability for a polar
scheme is the smallest possible.
2) Transparent because there is always some pulse (positive or negative)
regardless of the bit sequence.
Disadvantages:
Page 7 of 37
Chapter 1 EE 322-Digital Communications
1.2.2 On-Off line code OOK (Unipolar)
In this case a 1 is transmitted by a pulse p(t) and a 0 is transmitted by no pulse.
Uniploar NRZ
2 2
A2Tb sin fTb 1 A2Tb sin fTb / 2 1
n
PUni. NRZ ( f )
4 fTb
1 ( f ) PUni. RZ ( f )
16 fTb / 2
1 ( f T )
Tb Tb n b
Fig. 4 Power spectral density (PSD) of an on-off signal.
Advantages:
1. Easy to generate.
2. Clock component present (For RZ only)
Disadvantages:
1. not transparent
2. excessive transmission bandwidth (Higher BW (2Rb))
3. nonzero power spectrum at dc
4. no error detection (or correction) capability
This code is most used in baseband data transmission and magnetic tape
recording.
Page 8 of 37
Chapter 1 EE 322-Digital Communications
1.2.3 Bipolar [Pseudoternary or Alternate Mark Inverted (AMI)] line code:
This is the signalling scheme used in PCM these days. A 0 is transmitted by no
pulse, and a 1 is transmitted by a pulse p(t) or -p(t), depending on whether the
previous 1 was transmitted by p(t) or p(t). With consecutive pulses alternating,
we can avoid the dc wander and thus cause a dc null in the PSD. Bipolar signalling
actually uses three symbols [p(t), 0, and -p(t)],
and, hence, it is in reality ternary rather than binary signalling.
Bipolar NRZ
2
A2Tb sin fTb
PBipolar RZ ( f ) sin fTb
2
4 fTb
Fig. 5 PSD of bipolar, polar, and split-phase signals normalized for equal powers.
Advantages:
1. Its spectrum has a dc null.
2. It has single-error-detection capability
3. Good error probability and capable of recovering clock information
Page 9 of 37
Chapter 1 EE 322-Digital Communications
Disadvantages:
1. The essential bandwidth of the signal is Rb, which is twice the theoretical
minimum bandwidth.
2. Not transparent (Long strings of data causes loss of synchronization).
3. It needs twice much power as unipolar (3 db) and it needs 2 power supplies.
Page 10 of 37
Chapter 1 EE 322-Digital Communications
1.2.4 Manchester coding (split phase or digital phase)
In this line code transitions occur at the middle of each bit. A high to low transition
represents a 1 and a low to high transition represents a 0 or vice versa.
Advantages:
1. There is always a zero dc level regardless of the data sequence.
2. Extracting timing information is easy and the error rate performance is good.
3. The Manchester code is transparent.
Disadvantages:
1. Large bandwidth relative to NRZ type coding and not capable of error
detecting.
• Used on IEEE 802.3 Ethernet LANs.
Differential Manchester
Inversion in the middle of bit interval is used for synchronization – presence or
absence of additional transition at the beginning of next bit interval identifies
the bit 0 = transition, 1 = no transition
• Perfect synchronization
• Fine for long runs of 1s, but wastes bandwidth for long runs of 0-s
• used by IEEE 802.5 (Token Ring)
1 0 0 1 0 0 0 1 1 1 0
Page 11 of 37
Chapter 1 EE 322-Digital Communications
Doubinary:
Doubinary signaling: “Dou” means “doubling the transmission capacity of a
straight binary system.”
Advantages:
o M-ary signals reduce required bandwidth
o Required transmission rate is low (bit rate/M) Instead of transmitting
one pulse for each bit (binary PCM), we transmit one multilevel pulse a
group of k-bits (M=2k)
o Bit rate = Rb bits/s min BW = Rb/2
o Symbol rate = R/k sym/s min BW = Rb/2k
o Needed bandwidth goes down by k
Disadvantages:
– Low signal to noise ratio (due to multiple amplitude pulses)
Page 13 of 37
Chapter 1 EE 322-Digital Communications
1.3 The Intersymbol Interference (ISI) Problem
Intersymbol interference (ISI) occurs when a pulse spreads out in such a way that
it interferes with adjacent pulses at the sample instant. If the rectangular
multilevel pulses are filtered improperly as they pass through a communications
system, they will spread in time, and the pulse for each symbol may be smeared
into adjacent time slots and cause Intersymbol Interference.
Page 14 of 37
Chapter 1 EE 322-Digital Communications
How can we restrict BW and at the same time not introduce ISI?
P f m T T
m
E R R
, for b f b
popt ( f ) Rb 2 2
0,
otherwise
Rb
sin t T t T , f
p t sinc P f 2 ,
t T 0, otherwise
Page 15 of 37
Chapter 1 EE 322-Digital Communications
FIG. 7 (a) Sinc function p(t) as the optimum pulse shape. (b) Optimum pulse spectrum.
1
When Tb , rectangular function satisfy Nyquist condition
Rb
Page 16 of 37
Chapter 1 EE 322-Digital Communications
If the received signal is not sampled at exactly the bit instant
(Synchronization Errors), then ISI will occur.
We seek a pulse shape that:
Has a more gradual transition in the frequency domain.
Is more robust to timing errors.
Yet still satisfies Nyquist’s first method for zero ISI.
To ensure physical realizability of the overall pulse spectrum P(f), the modified P(f)
decreases toward zero gradually rather than abruptly
1. Flat portion, which occupies the frequency band 0≤|f| ≤f1 for some
parameter f1 to be defined
2. Roll-off portion, which occupies the frequency band f1 ≤|f| ≤2B0-f1
3. One full cycle of the cosine function defined in the frequency domain,
which is raised up by an amount equal to its amplitude
4. The raised-cosine pulse spectrum
E
, 0 f f1
Rb
E ( f f1 )
p( f ) 1 cos , f1 f Rb f1
2 Rb 2(0.5Rb f1 )
0, Rb f1 f
2 f1
The roll-off factor 1
Rb
cos( Rbt )
p(t ) E sin c( Rbt ) 2 2 2
1 4 Rb t
The amount of intersymbol interference resulting from a timing error ∆t decreases
as the roll-off factor is increased form zero to unity
Page 17 of 37
Chapter 1 EE 322-Digital Communications
FIG. 8 (a) Raised-cosine pulse spectrum for varying roll-off rates. (b) Pulse response p(t) (i.e.,
inverse Fourier transform of P(f ) for varying roll-off rates).
Transmission-Bandwidth Requirement
The transmission bandwidth required by using the raised-cosine pulse spectrum
R
is BT b (1 )
2
Excess channel
The transmission bandwidth requirement of the raised-cosine spectrum
exceeds that of the optimum Nyquist channel
R
fv b
2
When the roll-off factor is zero, the excess bandwidth is reduced to zero
R
When the roll-off factor is unity, the excess bandwidth is increased to b .
2
0, for Rb f1 f Rb
Page 18 of 37
Chapter 1 EE 322-Digital Communications
Pv ( f ' ) Pv ( f ' )
R
f' f b
2
1. The baseband raised-cosine pulse spectrum P(f) of Fig. 9 (a) is centered on the
origin at f=0, whereas the vestigial sideband spectrum is centered on the
sinusoidal carrier frequency fc
2. The parameter fv in Fig. 9 (a) refers to the excess bandwidth measured with
respect to the ideal brick-wall solution for zero intersymbol interference,
whereas the parameter fv in refers to the excess bandwidth measured with
respect to the optimum bandwidth attainable with single sideband modulation..
FIG. 9 (a) Nyquist and raised-cosine pulse spectra for positive frequencies.
(b) Residual spectrum P(f ).
Property 2
The finite summation of replicas of the raised-cosine pulse spectrum, spaced
by Rb hertz, equals a constant
E
P( f mR )
m
b
Rb
n n
R R b m
P t R P( f mRb )
n b b
1
Sampling the modified pulse response p(t) at the rate ,
Rb
n cos( n )
P E sin c(n) 2 2
Rb 1 4n
sin( n )
1) sin c( n)
n
1, forn 0
0, forn 1, 2,...
Page 19 of 37
Chapter 1 EE 322-Digital Communications
2) cos( n ) 1 for n 0,
Finally, nothing that the Fourier transform of the delta function is unity,
n E , for n 0
P
Rb 0, for n 1, 2,...
E (t ) Rb P( f mR )
m
b
E
(t ) P( f mRb )
Rb m
Given the modified pulse shape p(t) for transmitting data over an imperfect
channel using discrete pulse-amplitude modulation at the data rate 1/T, the
pulse shape p(t) eliminates intersymbol interference if, and only if, its
spectrum P(f) satisfies the condition
m Rb
P f T constant,
m
f
2
Page 20 of 37
Chapter 1 EE 322-Digital Communications
1.3.3 Nyquist’s Third Criterion for no ISI
Within each symbol period, the integration of signal (area) is proportional to
the integration of the transmit signal (area)
( t ) Rb
sin( T ) , f Rb
2 2
( t ) j 2 ft
P( f ) p(t ) e df
0, Rb Rb sin( T )
f
2 2
2 n1T
1, n0
A 2 n1 p (t )dt
2
2
T
0, n0
Fig. 11 (a) The minimum bandwidth pulse that satisfies the duobinary pulse criterion and (b) its spectrum
Page 21 of 37
Chapter 1 EE 322-Digital Communications
Interpretation of received signal
2: 11
2: 00
0: 01 or 10 depends on the previous transmission
Rb 1
Ideal Nyquist channel of bandwidth BT
2 2Tb
H I ( f ) H opt ( f )[1 exp( j 2 fTb )]
H opt ( f )[exp( j fTb ) exp( j fTb )]exp( j fTb )
2 H opt ( f ) cos( fTb ) exp( j fTb )
R
1, | f | b
H opt ( f ) 2
0, otherwise
Let us ignore the effect of Hopt(f) first in the block diagram in the previous figure.
We directly obtain:
Page 22 of 37
Chapter 1 EE 322-Digital Communications
Conclusions
By adding ISI to the transmitted signal in a controlled (and reversible)
manner, we can reduce the requirement of bandwidth of the transmitted
signal.
Hence, in the previous example, {ck} can be transmitted in every Tb/2
seconds!
Doubling the transmission capacity without introducing additional
requirement in bandwidth!
A larger SNR is required to yield the same error rate because of an increase
in the number of signal levels (from –1, +1 to –2, 0, 2).
The duobinary signaling is also named class I partial response.
Full response: The transmission wave at each time instance is fully determined
by a single information symbol.
Partial response: The transmission wave at each time instance is only
partially determined by one information symbol (i.e., is fully determined by two
or more information symbols).
Page 23 of 37
Chapter 1 EE 322-Digital Communications
Differential Coding
d k bk d k 1
symbol 1 if either symbol bk or d k 1 is 1
dk
symbol 0 otherwise
{dk} is applied to a pulse-amplitude modulator, producing a corresponding
two-level sequence of short pulse {ak}, where +1 or –1 as before
ck ak ak 1
0 if data symbol bk is 1
ck
2 if data symbol bk is 0
Page 24 of 37
Chapter 1 EE 322-Digital Communications
If | ck | 1, say symbol bk is 1
If | ck | 1, say symbol bk is 0
H ( f ) 1 exp( j 4 fTb )
[exp( j 2 fTb ) exp( j 2 fTb )]exp( j 2 fTb )
H IV ( f ) H Nyquist ( f )[1 exp( j 4 fTb )]
2 jH Nyquist ( f )sin(2 fTb ) exp( j 2 fTb )
2 j sin(2 fTb ) exp( j 2 fTb ), | f | 1/ 2Tb
H IV ( f )
0, elsewhere
sin( t / Tb ) sin[ (t 2Tb ) / Tb ]
hIV (t )
t / Tb (t 2Tb ) / Tb
2Tb2 sin( t / Tb )
t (2Tb t )
4 cos 2 ( fTb ) I
16 cos 4 ( fTb ) II
| G ( f ) |2
SY ( f ) 4 cos ( fTb ) 8sin (2 fTb ) III
2 2
Page 25 of 37
Chapter 1 EE 322-Digital Communications
1.2
0.8
0.6
0.4
0.2
-0.2
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
Fig. 14 4-Ary PAM signaling: (a) four RZ symbols; (b) baseband transmission;
(c) the 4-ary RZ eye diagram.
Page 26 of 37
Chapter 1 EE 322-Digital Communications
Fig. 15 (a) Binary data sequence and its waveform. (b) Corresponding eye pattern.
Timing Features
Three timing features pertaining to binary data transmission system,
Optimum sampling time : The width of the eye opening defines the time
interval over the distorted binary waveform appearing at the output of the
receive-filter
Zero-crossing jitter : in the receive-filter output, there will always be
irregularities in the zero-crossings, which, give rise to jitter and therefore non-
optimum sampling times
Timing sensitivity: This sensitivity is determined by the rate at which the eye
pattern is closed as the sampling time is varied.
Fig.16 Interpretation of the eye pattern for a baseband binary data transmission system.
Page 27 of 37
Chapter 1 EE 322-Digital Communications
Noise margin
In a noisy environment,
The extent of eye opening at the optimum sampling time provides a
measure of the operating margin over additive channel noise
(Eye opening) 1 Dpeak
Eye opening
Plays an important role in assessing system performance
Specifies the smallest possible noise margin
Zero peak distortion , which occurs when the eye opening is unity
Unity peak distortion, which occurs when the eye pattern is completely
closed.
Fig. 17 Illustrating the relationship between peak distortion and eye opening.
Note: The ideal signal level is scaled to lie inside the range 1 to 1.
The open part of the signal represents the time that we can safely sample
the signal with fidelity
– By quality is meant the ability to correctly recover symbols and timing
– The received signal could be examined at the input to a digital receiver
or at some stage within the receiver before the decision stage
Two major issues are 1) sample value variation, and 2) jitter and sensitivity
of sampling instant
Eye diagram reveals issues of both
Eye diagram can also give an estimate of achievable BER
Page 28 of 37
Chapter 1 EE 322-Digital Communications
Interpretation of Eye Diagram
The vertical eye opening or noise margin is related to the SNR, and thus the
BER
– A large eye opening corresponds to a low BER
The horizontal eye opening relates the jitter and the sensitivity of the
sampling instant to jitter
– The red brace indicates the range of sample instants with good eye
opening
– At other sample instants, the eye opening is greatly reduced, as
governed by the indicated slope
Page 29 of 37
Chapter 1 EE 322-Digital Communications
As shown in the next Figure monitoring of an eye pattern can provide a
qualitative measure of performance regarding the
signal quality, including the following important observations:
1. The width of the eye opening represents the time interval during which the
received signal can be sampled without error from ISI.
2. The best time to sample the received signal is when the eye is open the
widest. When there is no ISI, we have an eye opening of unity, and when
there is a significant amount of ISI, we have an eye opening of zero (i.e.,
the eye is completely closed). With an eye opening of 50% or better (i.e.,
with a signal-to-noise ratio of 6 dB or more), reliable data transmission can
be achieved.
3. The maximum distortion is indicated by the height of the eye opening at
sampling time and it is twice the peak distortion.
4. The noise margin or immunity to noise is defined by the height of the eye
opening at the sampling time.
5. The sensitivity to timing errors is detected by the rate of closure of the eye
as sampling time is varied.
6. Zero (level) crossings can provide clock information, and the amount of
distortion of zero crossings indicates the amount of jitter.
7. The variation of level crossing can be seen from the width of the eye
corners.
8. In a linear system with truly random data, all the eye openings would be
identical.
9. Asymmetries in the eye opening generally indicate nonlinearities in the
transmission channel.
10. When the effect of ISI is quite severe, traces from the upper portion of
the eye pattern cross traces from the lower portion, resulting in the eye
being completely closed.
11. In an M-ary system (as discussed later), the eye pattern contains (M –
1)eye openings stacked up vertically one on the other.
Page 30 of 37
Chapter 1 EE 322-Digital Communications
1.6 Equalization
Zero-Forcing Equalization
Delay line, whose taps are uniformly spaced T second apart; T is the symbol
duration
Adjustable weights, which are connected to the taps of the delay line
Summer, which adds successively, delayed versions of the input signal, after
they have been individually weighted.
Adjustable transversal equalizer (transversal equalizer)
With channel equalization as the function of interest and the transversal
filter with adjustable coefficients as the structure to perform.
Since the zero-forcing equalizer ignores the effect of additive channel noise, the
equalized system does not always offer the best solution to the intersymbol
interference problem
Page 31 of 37
Chapter 1 EE 322-Digital Communications
1.7 Optimum Detection of Binary Signal in Gaussian Noise
• Channel is dispersive
– channel is noisy – control over additive white noise (old problem)
– received signal pulses are affected by adjacent symbols (new problem)
– intersymbol interference (ISI); major source of interference;
– Distorted pulse shape (new problem) - channel requires control over
pulse shape
Page 32 of 37
Chapter 1 EE 322-Digital Communications
• We know the shape of the transmitted pulse
– Device to be used – matched filter
Matched Filter
• detecting transmitted pulses at the front end of the receiver (corrupted by
noise)
• Receiver model
Page 33 of 37
Chapter 1 EE 322-Digital Communications
sampled at time t=T and no noise
2
| go (T ) |2
H ( f )G( f ) exp( j 2 ft )df
Next step is to add the noise.
What we know is that the power spectral density of white noise is:
N
S N ( f ) 0 | H ( f ) |2
2
Thus the average power of the output noise n(t) is:
N
E[n 2 (t )] S N ( f )df 0 | H ( f ) |2 df
2
Substituting,
2
H ( f )G ( f ) exp( j 2 ft )df
N0
2
| H ( f ) |2 df
So, given the function G(f), the problem is reduced to finding such an H(f) that
would maximize η.
We use Schwartz inequality which states that for two complex functions, satisfying
the conditions
| 2 ( x) |2 dx
| 1 ( x) |2 dx
2
the following is true:
1 ( x)2 ( x)dx | 1 ( x) |2 dx | 2 ( x) |2 dx
Remarks:
• The right hand side of this equation does not depend on H(f).
• It depends only on:
– signal energy
– noise power spectral density
2
N 0
• Max value is for: | G ( f ) |2 df
Page 34 of 37
Chapter 1 EE 322-Digital Communications
Definition of the filter functions:
In the frequency domain:
• knowing the input signal we can define the frequency response of the filter
(in the frequency domain) as the FT of its complex conjugate.
In the time domain
Take inverse FT of Hopt(f): hopt (t ) k G* ( f )exp[ j 2 f (T t )]df
So,
In the time domain it turns out that the impulse response of the filter,
except for a scaling factor k, is a time-reversed and delayed function of the
input signal.
This means it is “matched” to the input signal, that is why this type of time-
invariant linear filters is known as “matched filter”
NOTE: The only assumption for the channel noise was that it is stationary, white,
with PSD N0/2.
Property 2:
• A matched filter is uniquely defined by the waveform of the pulse but for
the:
- time delay T
- scaling factor k
Property 3:
• The peak signal-to-noise ratio of the matched filter depends only on the ratio
of the signal energy to the power spectral density of the white noise at the
filter input.
Go ( f ) Hopt ( f )G( f ) kG* ( f )G( f )exp( j 2 fT ) k | G( f ) |2 exp( j 2 fT )
using the inverse FT
g o (T ) G0 ( f ) exp( j 2 fT )df k | G( f ) | df
2
Page 35 of 37
Chapter 1 EE 322-Digital Communications
E g (t )dt G ( f ) |2 df so g 0 (T ) k E
2
N0
for the average output noise power E[n 2 (t )] S N ( f )df | H ( f ) |2 df
2
(kE ) 2 2E
and max SNRmax 2
(k N 0 E / 2) N 0
Conclusion:
• We see that the dependence of the peak SNR on the input waveform g(t)
has been completely removed by the matched filter.
• So, in evaluating the ability of a matched-filter receiver to overcome/remove
additive white noise we see that all signals with equal energy are equally
effective.
• We call the ratio E/N0 signal-energy-to-noise ratio (dimensionless)
• The matched filter is the optimum detector of a pulse of known shape in
additive white noise.
Page 36 of 37
Chapter 1 EE 322-Digital Communications
Matched filter Example
Define the matched filter (MF) concept in an AWGN channel. Give the solution
in both time-domain and frequency-domain forms.
y (t ) si (t ) h opt (t )
si (t ) hopt (t )
A2
A A
T T
Page 37 of 37