Intro To Communication Engineering
Intro To Communication Engineering
4 Sampling of Signals
• The process of converting a continuous signal into a discrete signal is known as sampling.
• It involves two primary steps:
1. The signal m(t) is sampled in the time domain.
2. The amplitude of these signal samples is then quantized into a finite number of levels.
1
5 Sampling Theorem
• This is a fundamental principle in digital signal processing.
• The Sampling Theorem states that if the highest frequency in a signal’s spectrum is B, the original
signal can be perfectly reconstructed from its samples, provided that the sampling frequency is at least
2B.
• This minimum sampling rate (2B) is often referred to as the Nyquist rate.
• A signal can be perfectly reconstructed if the sampling frequency (fs ) is at least twice the highest
frequency (B) present in the signal’s spectrum.
fs ≥ 2B
• Entropy (H(X)): Measures the average uncertainty or information content of a source. For a source
producing symbols {x1 , x2 , . . . , xm } with probabilities P (xi ), the entropy is:
m
X
H(X) = − P (xi ) log2 (P (xi )) (in bits/symbol)
i=1
• The Shannon-Hartley Theorem: This cornerstone theorem defines the theoretical maximum rate
at which information can be transmitted over a noisy channel with a specific bandwidth, known as the
channel capacity (C).
S
C = B · log2 1 +
N
where:
• Deeper Dive into Noise: While the document focuses on Additive White Gaussian Noise (AWGN),
other types of noise exist:
– Thermal Noise: From the random motion of electrons in conductors.
– Man-made Noise: Interference from motors, ignition systems, etc.
– Atmospheric Noise: From natural events like lightning.
2
Example: Source Entropy Calculation
Problem: A source produces four symbols with probabilities P(A)=0.5, P(B)=0.25, P(C)=0.125, P(D)=0.125.
The symbol rate is 1,000 symbols/sec. Calculate the source entropy and information rate.
Solution:
X
H(X) = − P (xi ) log2 (P (xi ))
i
= −[0.5 log2 (0.5) + 0.25 log2 (0.25) + 0.125 log2 (0.125) + 0.125 log2 (0.125)]
= −[0.5(−1) + 0.25(−2) + 0.125(−3) + 0.125(−3)]
= −[−0.5 − 0.5 − 0.375 − 0.375]
= −[−1.75] = 1.75 bits/symbol
Information Rate R:
Chapter 2: Signals
1 Introduction to Signals
• A signal is fundamentally a collection of information or data, which can be represented as a function of
time.
• Examples range from television and telephone signals to economic data like monthly sales or stock market
prices.
∗
where g (t) is the complex conjugate of g(t).
∗ For discrete signals, x[n] and y[n]:
The cross-correlation is given by:
∞
X
(x ⋆ y)[m] = x[n]y ∗ [n − m]
n=−∞
3 Classification of Signals
Signals can be categorized based on several key characteristics:
3
• Discrete-Time Signal: A signal that is defined only at specific, discrete points in time. It can be
obtained by sampling a continuous-time signal.
The Sampling Theorem: This crucial theorem, also known as the Nyquist-Shannon theorem, states that if the
highest frequency in a signal’s spectrum is B, the original continuous-time signal can be perfectly reconstructed
from its samples, provided the sampling rate is at least 2B samples per second.
Common examples include sine and cosine waves (sin(ω0 t), cos(ω0 t)), where the angular frequency ω0 =
2π/T0 .
• Aperiodic Signal: A signal that does not repeat itself at any regular interval.
Euler’s Formula provides a fundamental relationship between complex exponentials and trigonometric func-
tions:
ejω0 t = cos(ω0 t) + j sin(ω0 t)
• Energy Signal:
– A signal is classified as an energy signal if its total energy is finite and non-zero (0 < Eg < ∞).
– These signals typically exist for a limited duration or decay to zero over time.
• Signal Power (Pg ) is the average energy of the signal per unit of time. It is used for signals with infinite
energy.
4
• Power Signal: A signal is a power signal if its average power is finite and non-zero (0 < Pg < ∞).
Periodic signals are a common example of power signals.
• Periodic Signal Power: For a periodic signal with period T0 , the average power can be calculated over
a single period:
Z T0 /2
1
Pg = |g(t)|2 dt
T0 −T0 /2
A signal can be either an energy signal or a power signal, but it cannot be both.
The integral of a cosine function over a very long period approaches zero. Therefore:
A2 T /2
Pg = lim · [t]−T /2
T →∞ 2T
A2
= lim ·T
T →∞ 2T
A2
=
2
Since the power is a finite, non-zero value, this is a power signal.
5
5 Operations on Signals
These operations manipulate the time variable t of a signal x(t).
• Time Shifting: y(t) = x(t − T )
– If T > 0, the signal is delayed (shifted to the right).
– If T < 0, the signal is advanced (shifted to the left).
• Time Scaling: y(t) = x(kt)
– If k > 1, the signal is compressed (sped up).
– If 0 < k < 1, the signal is expanded (slowed down).
6 Problem-Solving Steps
Problem 1: Determine the measure (energy or power) for a signal.
1. Step 1: Visually inspect the signal. If the signal is periodic or has a constant non-zero amplitude as time
approaches infinity, it is likely a power signal. If it is confined to a finite time interval or decays to zero,
it is likely an energy signal.
• c) g(3t): Compress the graph of g(t) horizontally by a factor of 3. Divide all time-axis values by 3.
• d) g(6 − t): This is a two-step transformation:
1. Step 1: Time Inversion. First, find g(−t) by reflecting g(t) about the vertical axis.
2. Step 2: Time Shifting. Then, find g(−(t − 6)). This means shifting the reflected signal g(−t) to
the right by 6 units.
• The Wiener-Khinchin Theorem: A fundamental link between the time and frequency domains for
random signals. It states that the Power Spectral Density (PSD) of a random process is the Fourier
Transform of its autocorrelation function (R(τ )).
– Autocorrelation R(τ ): Measures the similarity of a signal with a time-shifted version of itself.
– Power Spectral Density (PSD): Describes how the power of a signal is distributed over frequency.
– Formula: Sx (f ) = F{Rx (τ )}
– Why it matters: This theorem allows us to find the spectrum of random signals like modulated
data streams and noise, which is essential for filter design and bandwidth calculations.
6
8 Problem-Solving Technique: Using the Wiener-Khinchin Theorem
1. Obtain the Autocorrelation Function R(τ ): This will typically be given in the problem statement.
2. Compute the Fourier Transform: Use standard Fourier transform tables or integration to find
F{R(τ )}. The result is the Power Spectral Density, Sx (f ) or PSD.
3. Interpret the PSD: Analyze the resulting spectrum to determine the signal’s frequency characteristics
(e.g., low-pass, band-pass).
7
2 Key Parameters of Digital Communication Systems
The design and performance of a digital communication system are evaluated based on several key parameters:
• Bit Rate (Rb ): This is the number of bits transmitted per second, measured in bps.
• Bandwidth (B): Binary sequences must be converted into an analog waveform, s(t), for transmission.
The bandwidth, measured in Hertz (Hz), is the frequency range occupied by this waveform, characterized
by its Power Spectral Density (PSD), Gs (f ).
• Power (S): The received signal power, measured in Watts (W) or dBm, is crucial for reliable commu-
nication. Its effectiveness is determined by the Signal-to-Noise Ratio (SNR) at the receiver.
• Error Probability: In real-world channels, the received waveform r(t) is not identical to the transmitted
waveform s(t). This leads to errors in the received binary sequence uR . The Bit Error Probability
(BER), or P (uR [i] ̸= uT [i]), quantifies the likelihood of such errors.
• Complexity: This refers to the difficulty and cost of implementing the system.
• Delay (D): The time difference between the transmission and reception of information, measured in
seconds (s).
A typical system design involves balancing these parameters to meet specific requirements, such as achieving a
target bit rate and BER within given bandwidth, power, and complexity constraints.
• Transmission Clock: A clock pulse with a frequency equal to the bit rate Rb synchronizes the trans-
mission.
• Statistical Properties: For analysis, random binary sequences are often assumed to be statistically
independent, with an equal probability of 0s and 1s.
8
4.1 Signal Sets
• A signal set M is a collection of m distinct waveforms, {s1 (t), s2 (t), . . . , sm (t)}.
• The size of the set is typically a power of two, m = 2k , where k is the number of bits each waveform
represents.
• Each signal si (t) has a finite duration, T = k · Tb .
e : Hk 7→ M
• Bipolar Return-to-Zero (RZ): M = {+V PT /2 (t), −V PT /2 (t)}. Similar to Bipolar NRZ, but the pulse
only lasts for half the symbol duration, returning to zero for the second half.
• Unipolar Return-to-Zero (RZ): M = {+V PT /2 (t), 0}. A combination of Unipolar NRZ and the RZ
principle.
• m-PAM (Pulse Amplitude Modulation): Uses multiple amplitude levels to represent multiple bits.
For example, 4-PAM uses four voltage levels (e.g., +3V, +V, -V, -3V) to represent k = 2 bits per symbol.
• m-ASK (Amplitude Shift Keying): Varies the amplitude of a carrier wave. 4-ASK uses four different
amplitudes of a cosine wave to encode k = 2 bits.
• m-PSK (Phase Shift Keying): Varies the phase of a carrier wave. 2-PSK (BPSK) uses two phases (0◦
and 180◦ ), while 4-PSK (QPSK) uses four phases (e.g., 0◦ , 90◦ , 180◦ , 270◦ ) to encode k = 2 bits.
• m-FSK (Frequency Shift Keying): Uses different carrier frequencies to represent different symbols.
2-FSK uses two distinct frequencies, f1 and f2 , to encode the two binary values.
9
5 Solving the Exercise
To solve the exercise on page 44:
• Given:
– Binary sequence uT = (10011100 . . . )
– Bit rate Rb = 1 Mbps, which means Tb = 1/Rb = 1µs.
– Signal set M for a 4-PSK (or QPSK) system, with m = 4 signals. This means each signal represents
k = 2 bits, and the symbol duration is T = k · Tb = 2µs.
– Carrier frequency f0 = 1 MHz.
• Steps:
1. Group bits: Split the binary sequence into 2-bit vectors: (10), (01), (11), (00), . . .
2. Map vectors to signals: Use a binary labeling scheme to map each 2-bit vector to one of the four
signals in the set M. A common mapping (Gray coding) is:
• This model assumes the channel has a linear, time-invariant, and ideal frequency response (H(f ) = 1),
meaning it doesn’t distort the signal’s shape, only adds noise.
10
3. Gaussian: At any given time, the noise amplitude follows a Gaussian (or normal) distribution with
a zero mean.
Why is Noise Gaussian?
• The Central Limit Theorem provides the theoretical foundation for this assumption.
• It states that the sum of a large number of independent and identically distributed (i.i.d.) random variables
will tend to have a normal distribution, regardless of the original distribution of the individual variables.
• In a communication system, the total noise is the aggregation of noise from many different independent
sources (thermal noise, atmospheric interference, etc.), making the Gaussian model highly appropriate.
Ergodic Random Process:
• Noise is also modeled as an ergodic random process.
• This means that its statistical properties, such as its mean and variance, can be determined by observing
a single, sufficiently long sample of the process.
3. Minimum Dimension (d): The basis contains the smallest number of signals necessary to represent
every signal in the original set M as a linear combination of the basis signals.
d
X
si (t) = sij bj (t) where sij are real-valued coefficients.
j=1
11
3.2 Constructing the Basis: The Gram-Schmidt Algorithm
The Gram-Schmidt algorithm provides a systematic method for constructing an orthonormal basis B from any
given signal set M.
Steps of the Algorithm:
If b′2 (t) is zero, it means s2 (t) is linearly dependent on s1 (t), and no new basis vector is added.
3. Step i (General Step):
• For the i-th signal si (t), calculate its projections onto all previously found basis vectors bj (t).
• Subtract all these projections from si (t) to create an intermediate vector b′i (t) that is orthogonal to
all previous basis vectors.
• Normalize b′i (t) to get bi (t). If b′i (t) is zero, si (t) is a linear combination of the existing basis vectors,
and no new vector is added.
4. Final Step: Collect all the non-zero basis vectors bi (t) to form the complete orthonormal basis B.
• Signal to Vector: The components of the vector si = (si1 , si2 , . . . , sid ) are found by projecting the signal
si (t) onto each basis vector bj (t).
Z T
sij = si (t)bj (t)dt
0
• Vector to Signal: The original signal can be reconstructed from its vector representation using the linear
combination:
si (t) = si1 b1 (t) + si2 b2 (t) + · · · + sid bd (t)
This establishes an isomorphism between the signal space S and the d-dimensional Euclidean space Rd . The
signal set M can now be viewed as a constellation of m points in this d-dimensional space.
12
Average Energy of the Signal Set (Es ): This is the average energy of all signals in the set, assuming each
signal is transmitted with equal probability (P (si ) = 1/m).
m
1 X
Es = E(si )
m i=1
Energy per Bit (Eb ): This is the average energy required to transmit a single bit. If each signal represents k
bits, then:
Es
Eb =
k
13
The Problem: The receiver observes a waveform r(t) = s(t) + n(t) and must recover the original transmitted
signal s(t).
Intersymbol Interference (ISI):
• Because the noise n(t) is statistically independent from one time interval to the next, and each transmitted
signal segment s[n](t) is also independent, the received signal segment r[n](t) in a given time interval T
depends only on the signal and noise within that same interval.
• This ideal condition is known as having NO Intersymbol Interference (ISI), and it allows the receiver
to analyze and make a decision for each symbol independently.
2. Properties of Noise Components (nj ): It can be proven that these projection components nj
are Gaussian random variables with the following properties:
– Mean: E[nj ] = 0
– Variance: σ 2 = N0 /2
– They are statistically independent of each other.
3. Decomposing the Received Signal: The total noise n(t) can be split into two parts:
P
– ns (t) = j nj bj (t): The part of the noise that lies within the signal space S.
– e(t): The part of the noise that is outside (orthogonal to) the signal space S.
• The received signal is then r(t) = s(t) + ns (t) + e(t).
• The component e(t) contains no information about the transmitted signal and is statistically independent
of the components within the signal space.
• Therefore, it can be disregarded without losing information relevant to the decision.
• This leads to the concept of a sufficient statistic: the projection of the received signal onto the signal
space, rs (t) = s(t) + ns (t), contains all the necessary information to make an optimal decision.
14
10 Decision Criteria for Optimal Detection
The goal is to choose a signal sR from the set M that minimizes the probability of a symbol error, P (sR ̸= sT ).
P (r|sT = si )P (sT = si )
P (sT = si |r) =
P (r)
• P (r|sT = si ) is the likelihood: the probability of receiving r given that si was sent. For continuous
variables, this is represented by the probability density function (PDF) fr (ρ|sT = si ).
• P (sT = si ) is the a priori probability: the probability of si being transmitted, before any observation
is made.
• If we assume that all transmitted signals are equally likely (a very common assumption in digital
communications), then P (sT = si ) is a constant 1/m.
• In this case, maximizing the MAP criterion is equivalent to maximizing the likelihood. This leads to the
Maximum Likelihood (ML) criterion:
• Maximizing this PDF is equivalent to minimizing the exponent term, which is the sum of squared differ-
ences between the received components ρj and the signal components sij .
• ML Expression: " Pd !#
1 j=1 (ρj − sij )2
sR = arg max √ exp −
si ( πN0 )d N0
• This final expression is the formula for the squared Euclidean distance between the received vector ρ
and the signal vector si .
• Therefore, for an AWGN channel with equally likely signals, the optimal ML decision rule is the Minimum
Distance Criterion:
Choose the signal point si in the constellation that is closest in Euclidean distance to
the received point r.
15
11 Voronoi Regions: A Geometric Interpretation
The minimum distance criterion partitions the d-dimensional signal space into Voronoi regions (or decision
regions).
• For each signal point si in the constellation, its Voronoi region V (si ) is the set of all points in the space
that are closer to si than to any other signal point sj .
• The decision rule is then simply: if the received vector r falls within the Voronoi region V (si ), the receiver
decides that si was the transmitted signal.
2. Make a Decision:
• The received vector ρ is fed into a decision device that applies the ML criterion.
• This is equivalent to finding which of the possible transmitted signal vectors si in the set M is closest
to ρ in terms of Euclidean distance (the minimum distance or Voronoi region criterion).
• The chosen vector is denoted as sR .
3. Recover the Bits: The chosen signal vector sR is then mapped back to its corresponding binary infor-
mation vector uR using the inverse of the mapping e that was used at the transmitter: uR = e−1 (sR ).
h(t) = bj (T − t)
• Output:
– When the received signal ρ(t) is passed through this filter, the output y(t) is the convolution of ρ(t)
and h(t).
– The key insight is that if this output y(t) is sampled at the precise time t = T , the resulting value is
exactly equal to the projection ρj :
Z T
y(T ) = ρ(τ )bj (τ )dτ = ρj
0
• Therefore, a bank of d matched filters, one for each basis function, can be used to compute the d compo-
nents of the received vector ρ.
• This approach is often simpler to implement than using correlators (multiplier-integrator blocks).
16
14 The Complete Receiver and Symbol Synchronization
A receiver must process a continuous stream of symbols, not just a single one in the interval [0, T ].
• Handling Continuous Data:
– For any symbol interval [nT, (n + 1)T ], the receiver uses the same set of matched filters.
– The output of the j-th filter is sampled at t = (n + 1)T to get the projection ρj [n] for the n-th
symbol.
– This means the bank of matched filters is followed by a sampler that operates at the symbol rate,
R = 1/T .
• The Challenge of Symbol Synchronization:
– This process relies on a critical assumption: the receiver knows the exact symbol rate R and the
precise moments t = (n + 1)T to sample the filter outputs (the timing phase).
– In practice, the clocks at the transmitter and receiver are never perfectly identical.
– Symbol Synchronization is the essential process of estimating and recovering the correct symbol
rate and timing phase from the received signal itself.
– Accurate synchronization is crucial for correctly computing the projections and minimizing detection
errors.
• Correlation Receiver Structure: This leads to the Correlation Receiver, which implements the
ML criterion as follows:
1. Correlate the received signal ρ(t) with every possible transmitted signal si (t) in the signal set M.
2. For each correlation result, subtract half the energy of the corresponding signal, 21 E(si ).
3. Choose the signal si that results in the maximum value.
17
– Matched Filter Receiver:
∗ Requires d matched filters (where d is the dimension of the signal space).
∗ Has one decision unit that calculates d-dimensional Euclidean distances.
∗ Generally more efficient when the number of signals m is much larger than the dimension d (i.e.,
m ≫ d).
– Correlation Receiver:
∗ Requires m correlators (one for each possible signal).
∗ Has one decision unit that finds the maximum among m values.
∗ Can be simpler when m is small.
• Orthonormal Basis: A set of basis signals {bi (t)} that are mutually orthogonal and have unit energy.
This means: Z T (
1 j=i
bj (t)bi (t)dt =
0 0 j ̸= i
• Gram-Schmidt Algorithm: A systematic procedure for constructing an orthonormal basis from any
given set of signals.
• Signal Constellation: A plot of the resulting signal vectors in this d-dimensional Euclidean space. The
geometry of this constellation (e.g., the distance between points) is critical for system performance.
18
• There are two primary types of error probabilities:
1. Symbol Error Rate (SER) or PS (e): The probability that the receiver chooses a symbol sR that
is different from the transmitted symbol sT .
2. Bit Error Rate (BER) or Pb (e): The probability that a decoded bit uR [i] is different from the
transmitted bit uT [i].
BER = P (uR [i] ̸= uT [i])
where PS (e|sT = si ) is the conditional probability of a symbol error, given that symbol si was transmitted.
• An error occurs if si is sent, but the received vector ρ falls outside of si ’s Voronoi region, V (si ).
• This can be expressed in two ways:
1. Complementary Probability:
19
2. Union of Probabilities:
X
PS (e|sT = si ) = P (ρ ∈ V (sj )|sT = si )
j̸=i
This means we calculate the probability that the noise was large enough to push the received vector into the
decision region of a different symbol.
• Each term in the sum represents the probability of confusing symbol si with sj , weighted by the number
of bit errors that this specific confusion causes.
• In our case, the noise components have a mean of 0 and a variance of σ 2 = N0 /2. This simplifies the
formula to:
1 x
P (n > x) = · erfc √
2 N0
• For the binary antipodal signaling case (like BPSK), this simplifies to a classic formula relating BER to
the energy-per-bit to noise-power-spectral-density ratio (Eb /N0 ).
r !
1 Eb
BER for BPSK = erfc
2 N0
20
– Decision Boundary: The Voronoi regions are divided by the origin. If the received value ρ1 > 0,
the receiver decides s1 ; if ρ1 < 0, it decides s2 .
– Calculating Conditional SER:
∗ Assume s1 is sent. The received value is ρ1 = A + n1 . An error occurs if ρ1 < 0, which means
A + n1 < 0, or n1 < −A.
∗ Using the erfc function and noting that the Gaussian distribution of n1 is symmetric (P (n1 <
−A) = P (n1 > A)), we get:
1 A
PS (e|sT = s1 ) = P (n1 > A) = · erfc √
2 N0
• BER for Antipodal Signals: For binary signaling, a symbol error always results in one bit error.
Therefore, BER = SER.
r !
1 Eb
BER = · erfc
2 N0
• This classic ”waterfall” curve shows that the BER decreases exponentially as the Eb /N0 ratio increases.
• Importantly, this performance depends only on the distance between the signal points in the vector space
(A) and the noise level (N0 ), not on the specific waveform used to create the basis function (e.g., a simple
pulse or a modulated carrier).
7 Optimal Detection
• In an Additive White Gaussian Noise (AWGN) channel, the optimal decision rule is to choose the signal
point in the constellation that is closest in Euclidean distance to the received signal vector.
• This is known as the Minimum Distance Criterion. Geometrically, this partitions the signal space
into Voronoi regions around each constellation point.
21
1.1 BER for Binary Antipodal Signals
• As a benchmark, the BER for binary antipodal signals (like BPSK) is given by:
r !
1 Eb
Pb (e) = · erfc
2 N0
• A crucial insight is that different signal waveforms (e.g., a baseband pulse vs. a modulated carrier) that
have the same underlying vector space representation will achieve the exact same BER performance.
• The performance is determined by the geometry of the signal constellation in vector space, not the specific
shape of the basis signals.
22
2 Calculating and Evaluating Signal Spectra
• The Power Spectral Density (PSD), Gs (f ), describes how the power of a transmitted signal s(t) is
distributed over different frequencies.
• Understanding the PSD is essential for determining the bandwidth a signal will occupy and ensuring it is
suitable for the given communication channel.
where a[n] is a sequence of random variables representing the symbol amplitudes, and p(t) is the pulse shape.
The PSD of such a signal is given by the formula:
|P (f )|2
Gs (f ) = Sa (f ) ·
T
where:
• T is the symbol period.
• P (f ) is the Fourier transform of the pulse p(t).
• Sa (f ) is derived from the autocorrelation of the symbol sequence a[n].
Case 1: Statistically Independent Symbols with Zero Mean
This is a common and important case, corresponding to antipodal signal spaces (like BPSK or bipolar NRZ)
centered at the origin.
• The symbols a[n] are statistically independent.
• The mean of the symbols is zero (µa = 0).
In this scenario, Sa (f ) simplifies to the variance of the symbols, σa2 . The PSD formula becomes:
σa2
Gs (f ) = · |P (f )|2
T
This shows that the PSD of the transmitted signal is directly proportional to the squared magnitude of the
pulse’s Fourier transform.
Example: Rectangular Pulse (Bipolar NRZ)
• Pulse (p(t)): A rectangular pulse of duration T , p(t) = √1
T
PT (t).
√
• Fourier Transform (P (f )): The Fourier transform is a sinc function: P (f ) = T · sinc(f T ).
• PSD: The resulting PSD is proportional to sinc (f T ):
2
Gs (f ) = A2 T · sinc2 (f T )
• Spectral Characteristics:
– This is a baseband spectrum, with most of its energy concentrated around DC (f = 0).
– The main lobe has a width of 2/T .
– There are spectral nulls at integer multiples of 1/T .
– This type of signal is suitable for low-pass channels.
Case 2: Signal Space with Non-Zero Mean
This case applies to signal spaces that are not centered at the origin, such as On-Off Keying (OOK) or unipolar
NRZ.
• The symbols a[n] are still statistically independent.
23
• The mean of the symbols is non-zero (µa ̸= 0).
The presence of a non-zero mean (a DC component in the symbol sequence) introduces discrete spectral lines
(Dirac impulses) into the PSD. The general formula for the PSD in this case is:
σ2 µ2 X
Gs (f ) = a |P (f )|2 + a2 |P (n/T )|2 · δ(f − n/T )
T T n
24
2 The Mechanism of Intersymbol Interference
To understand ISI, we analyze the signal at the receiver’s sampling instant, assuming an ideal (noiseless) channel
for clarity.
P
1. Transmitted Signal: An infinite sequence of symbols a[n] is transmitted as s(t) = n a[n]p(t − nT ).
2. Receiver Operation: The receiver uses a matched filter, q(t), and samples the output y(t) at regular
intervals to recover the symbols. The output of the matched filter is the convolution of the received signal
p(t) and the filter’s impulse response q(t): y(t) = p(t) ∗ q(t).
3. The Combined Response x(t): Since p(t) = s(t) in an ideal channel, the output can be expressed as:
!
X X
y(t) = a[n]p(t − nT ) ∗ q(t) = a[n]x(t − nT )
n n
where x(t) = p(t) ∗ q(t) is the convolution of the transmitted pulse shape with the matched filter’s impulse
response. This function x(t) represents the complete, end-to-end pulse shape as seen at the output of the
matched filter.
4. Sampling: The receiver samples y(t) at time t = t0 + nT to get the value for the n-th symbol, ρ[n].
Substituting this into the equation for y(t) gives:
+∞
X
ρ[n] = a[n − i]x(t0 + iT )
i=−∞
1. Desired Component: x(t0 )a[n] is the contribution from the desired transmitted symbol a[n], scaled
by the value of the combined response x(t) at the sampling instant.
P∞
2. Pre-cursor ISI: i=1 x(t0 + iT )a[n − i] is the interference caused by all previous transmitted
symbols (a[n − 1], a[n − 2], etc.).
P−1
3. Post-cursor ISI: i=−∞ x(t0 +iT )a[n−i] is the interference caused by all subsequent transmitted
symbols (a[n + 1], a[n + 2], etc.).
• Intersymbol Interference (ISI) is the phenomenon where the received symbol ρ[n] is corrupted by
contributions from symbols other than the intended symbol a[n].
25
5 Analysis of Finite Time Domain Signals
• Consider a signal space where the basis function b1 (t) (and thus the pulse p(t)) has a finite duration,
existing only in the interval [0, T ].
• An example is the rectangular pulse used in basic NRZ signaling.
– The Combined Response x(t): The matched filter q(t) is a time-reversed version of p(t). The
convolution of two identical rectangular pulses of duration T results in a triangular pulse, x(t), with
a duration of 2T .
– Verifying the Zero-ISI Condition: This triangular pulse x(t) has its peak value of T at t = T ,
and is zero for t ≤ 0 and t ≥ 2T . If the receiver samples at t0 = T , then the samples x(T + iT ) are:
∗ x(T ) = T for i = 0.
∗ x(T + iT ) = 0 for all other integers i, since T + iT will fall outside the (0, 2T ) range where the
triangle is non-zero.
• Conclusion:
– For an ideal channel, using signals with a strictly finite time domain of one symbol period T auto-
matically satisfies the condition for zero ISI.
– The spreading caused by the matched filter is predictable and controlled, ensuring no interference at
the sampling points.
– The challenge of ISI arises when trying to use more spectrally efficient, band-limited pulses, which
necessarily have an infinite duration.
• For simplicity, assuming a timing offset t0 = 0, this means the pulse x(t) must have its peak at t = 0 and
pass through zero at all other integer multiples of the symbol period T .
• The Nyquist Criterion in the Frequency Domain:
– Using Fourier transform properties, the time-domain criterion can be shown to be equivalent to a
condition in the frequency domain.
– This is known as Nyquist’s Second Theorem.
• A function x(t) satisfies the no-ISI criterion if and only if the sum of its frequency spectrum X(f ) shifted
by all integer multiples of the symbol rate 1/T is a constant:
+∞
X n
X f− =T
n=−∞
T
• This means that if you take the spectrum of the pulse, replicate it at every interval of 1/T , and sum all
the overlapping versions, the result must be a flat, constant value.
26
2 Band-Limited Pulses and the Nyquist Criterion
• The primary motivation for using pulses that satisfy the Nyquist criterion is to achieve spectral efficiency
by using a finite frequency domain.
• The challenge is to find a pulse shape x(t) that is band-limited (its spectrum X(f ) is zero outside a certain
range [−fmax , fmax ]) and also satisfies the criterion.
• There are three key cases based on the relationship between the maximum frequency fmax and the symbol
period T :
∗ The sinc pulse perfectly satisfies the time-domain criterion, with a peak at t = 0 and zero-
crossings at all other integer multiples of T .
∗ However, it is impractical to implement due to its infinite duration and slow decay rate, which
makes it highly sensitive to timing errors.
– Case 3: fmax > 1/(2T ) When the bandwidth is greater than the Nyquist minimum, there is ”excess
bandwidth.” This allows for smoother, more practical filter designs. The overlapping spectral replicas
can be shaped to sum to a constant.
• Roll-off Factor (α): The parameter α is the roll-off factor, which ranges from 0 to 1. It controls the
”excess bandwidth” of the filter.
– α = 0: This reduces to the ideal low-pass (sinc) filter.
– α = 1: The filter has an excess bandwidth of 100%, meaning it occupies twice the Nyquist bandwidth.
• Properties:
– It always satisfies the Nyquist criterion in the time domain, regardless of the value of α.
– As α increases from 0, the pulse decays more rapidly in the time domain, making it less sensitive to
timing jitter.
• Frequency Domain: The frequency response X(f ) has a flat central portion (the ”passband”) and
smooth ”roll-off” regions shaped like a cosine function.
– Bandwidth: The total occupied bandwidth is (1 + α)/(2T ).
27
4 Transmit (TX) and Receive (RX) Filters
• The overall system response x(t) that must satisfy the Nyquist criterion is the result of the convolution
of the transmit filter p(t) and the receive filter q(t).
• To optimize performance (maximize SNR), q(t) should be a filter matched to p(t).
• This implies a ”square-root” relationship in the frequency domain:
– X(f ) = P (f ) · Q(f ). If q(t) is matched to p(t), then X(f ) = |P (f )|2 .
Therefore, the transmit and receive filters should be designed such that |P (f )|2 = X(f ), or P (f ) =
– p
X(f ).
• Root Raised Cosine (RRC) Filter:
– If the desired overall response is a Raised Cosine filter, then both the transmit filter p(t) and the
receive filter q(t) should be Root Raised Cosine (RRC) filters.
– The RRC filter’s frequency response is the square root of the Raised Cosine response.
• An RRC filter by itself does not satisfy the Nyquist criterion.
• It is only when an RRC-shaped signal is passed through an RRC matched filter that the combined response
becomes a Raised Cosine pulse, thus ensuring zero ISI at the receiver’s sampling instants.
• This is the standard approach used in modern digital communication systems.
– Signal Space and Constellation: The geometric representation of the signals used for modulation.
– Binary Labeling: Assigning bit patterns to signal points, often using Gray coding to minimize bit
errors.
– Transmitted Waveform and Spectrum: The mathematical and frequency-domain representation
of the signal.
– Bandwidth and Spectral Efficiency: How efficiently the modulation scheme uses the available
frequency spectrum.
– System Architecture: The structure of the modulator (transmitter) and receiver.
– Error Probability: The theoretical performance of the system in the presence of noise.
– Practical Applications: Where the technique is used in real-world systems.
28
• Modulation techniques are broadly categorized into:
– Baseband Modulation: The signal’s power is concentrated around DC (zero frequency). PAM is
a primary example.
– Bandpass Modulation: The signal’s power is centered around a carrier frequency f0 ̸= 0. Examples
include PSK, QAM, and FSK.
– Pulse Amplitude Modulation (PAM): Information is encoded in the amplitude of the pulse.
∗ 2-PAM: A 1-dimensional, antipodal baseband scheme. It is the baseband equivalent of BPSK.
∗ m-PAM: Uses m = 2k levels to transmit k bits per symbol. This increases spectral efficiency
(more bits/sec/Hz) at the cost of power efficiency (requires a higher SNR for the same BER).
– Phase Shift Keying (PSK): Information is encoded in the phase of a carrier signal. This is a
bandpass modulation scheme.
∗ 2-PSK (BPSK - Binary PSK): Uses two phases (e.g., 0° and 180°). Highly power-efficient
but spectrally inefficient (1 bit/symbol).
∗ 4-PSK (QPSK - Quadrature PSK): Uses four phases (e.g., 45°, 135°, 225°, 315°). It trans-
mits two bits per symbol and can be viewed as two orthogonal BPSK modulators. It achieves
twice the spectral efficiency of BPSK with the exact same BER performance, making
it extremely popular.
– Advanced PSK Schemes:
∗ Offset QPSK (OQPSK): Delays one of the two bit streams (the quadrature stream) by half
a symbol period. This prevents the signal from ever making an instantaneous 180° phase tran-
sition, which reduces amplitude fluctuations and makes the signal more robust to non-linear
amplification.
∗ π/4-QPSK: Rotates the constellation by 45° (π/4 radians) for every other symbol. This also
prevents the signal’s trajectory from passing through the origin, offering similar benefits to
OQPSK.
• The shape of the transmitted signal is determined by a low-pass filter or pulse p(t), with common choices
being the ideal low-pass filter, the Root Raised Cosine (RRC) filter, and the simple square pulse.
29
Problem-Solving Technique: Determining Code Capabilities
1. List All Codewords in the code’s dictionary.
2. Calculate All Pairwise Hamming Distances between every distinct pair of codewords.
3. Find dmin : The smallest non-zero distance found is dmin .
4. Determine Capabilities: Use the formulas for tdetect and tcorrect .
30
4 2-PAM System Architecture
• Modulator (Transmitter):
1. The input binary stream is mapped to a sequence of amplitude levels a[n] (e.g., {−α, +α}).
2. This sequence of impulses is then passed through a pulse-shaping filter p(t) to generate the continuous
transmitted waveform s(t).
• Demodulator (Receiver):
1. The received signal r(t) is passed through a matched filter q(t).
2. A symbol synchronization circuit determines the optimal sampling instants t0 + nT .
3. The output of the matched filter y(t) is sampled at these instants to produce the received symbol
values ρ[n].
4. These values are fed to a decision device that applies the ML criterion (a simple threshold detector
at zero for antipodal PAM) to determine the most likely transmitted symbol sR [n].
5. Finally, the decided symbol is mapped back to a binary value vR [n].
• In an ideal, noiseless system with no ISI, the eye diagram for 2-PAM consists of clean, overlapping triangles.
• In practice, noise and filtering imperfections cause the traces to blur, but the key features of the eye
diagram remain invaluable for system performance evaluation.
6 Error Probability
As established in previous lectures, the Bit Error Rate (BER) for 2-PAM (an antipodal scheme) is given by the
classic formula: r !
1 Eb
BER = · erfc
2 N0
31
7.1 Bipolar NRZ (Non-Return-to-Zero)
• Signal Set: Uses a positive rectangular pulse +APT (t) for one binary value and a negative one −APT (t)
for the other. This is identical to a standard 2-PAM using a rectangular pulse.
• Transmitted Waveform: A sequence of high and low voltage levels, where the voltage remains constant
for the entire symbol duration T .
• Signal Spectrum: The Power Spectral Density (PSD) has the characteristic sinc2 (f T ) shape, which is
a baseband spectrum with a main lobe width of 2/T and infinite total bandwidth.
• Signal Spectrum:
– The PSD is proportional to sinc2 (f T /2).
– Because the pulse is shorter in the time domain, its spectrum is wider in the frequency domain.
– The main lobe of the RZ spectrum is twice as wide as that of the NRZ spectrum.
– Signal Spectrum:
∗ The PSD has a null at DC (f = 0), which is advantageous for systems that cannot pass DC
components.
∗ The spectrum is proportional to sin4 (πf T /2)/(πf T /2)2 , with its maximum power concentrated
around f ≈ 0.74/T , not at DC.
Spectrum of Unipolar Signals: Because the symbol sequence has a non-zero mean, the PSD consists of two
components:
1. A continuous part similar to the corresponding bipolar scheme (e.g., sinc2 (f T ) for NRZ).
2. Discrete spectral lines (Dirac delta functions) at DC (f = 0) and sometimes at other multiples of
the symbol rate. The presence of the DC component is a key characteristic and potential drawback of
unipolar signaling, as it represents power that does not carry information.
32
9 m-PAM Modulation
To transmit more than one bit per symbol, m-PAM is used, where m is the number of distinct amplitude
levels.
• Characteristics:
– Baseband, 1-dimensional modulation.
– The constellation consists of m points spaced evenly along a line, symmetric with respect to the
origin. For example, 4-PAM uses levels {−3α, −α, +α, +3α}.
• Parameters: m levels can represent k = log2 (m) bits per symbol. This means the symbol duration T is
k times the bit duration Tb , and the symbol rate R is Rb /k.
• Binary Labeling:
– The modulator and demodulator are similar to the 2-PAM case, but the mapping/decision blocks
must handle m levels instead of just two.
– The demodulator’s decision device partitions the 1D space into m decision regions.
• Eye Diagram: The eye diagram for m-PAM shows m − 1 open ”eyes” stacked vertically.
This formula shows that as m increases, a higher Eb /N0 is required to achieve the same BER. For example,
to get the same BER, 4-PAM requires about 4 dB more power than 2-PAM.
• The Fundamental Trade-off: There is a direct trade-off between spectral efficiency and power efficiency.
– Increasing m: Increases spectral efficiency (higher data rate in the same bandwidth).
– Increasing m: Decreases power efficiency (requires more signal power for the same BER).
This means that for a fixed transmit power, increasing m will significantly reduce the achievable commu-
nication distance.
33
11 Linear Modulation and m-ASK
Linear Modulation is a simple operation that transforms a baseband signal into a bandpass signal by multi-
plying the pulse p(t) with a carrier wave, cos(2πf0 t).
• Effect on Spectrum: This modulation translates the baseband spectrum G(f ) to be centered around
the carrier frequency ±f0 .
• Effect on Performance: Since this is a linear operation and the underlying vector space (constellation)
remains unchanged, the BER performance is identical to the original baseband modulation.
When linear modulation is applied to an m-PAM scheme, the resulting modulation is called m-ASK (Ampli-
tude Shift Keying).
• m-ASK Properties:
– It has the same 1D constellation and the same BER performance as m-PAM.
– Its spectral efficiency is halved compared to m-PAM because the bandpass spectrum occupies twice
the bandwidth of the baseband spectrum (due to the positive and negative frequency components).
– Because of this inefficiency, m-ASK (for m > 2) has few practical applications. The important
exception is 2-ASK, which is identical to 2-PSK (BPSK) and is widely used.
• Basis Vector: The signal space is spanned by a single basis function: b1 (t) = p(t) cos(2πf0 t).
• Vector Set: The constellation is identical to 2-PAM: M = {s1 = (+α), s2 = (−α)}.
34
2 2-PSK Waveform, Bandwidth, and Spectral Efficiency
• Transmitted Waveform:
– Since it is a binary scheme (m = 2, k = 1), the symbol rate equals the bit rate (R = Rb ).
– The waveform is a sequence of pulses p(t) modulated by a carrier cos(2πf0 t), where the sign of each
pulse corresponds to the transmitted bit.
• Bandwidth and Spectral Efficiency: The bandwidth of 2-PSK is determined by the bandwidth of the
baseband pulse p(t), shifted to be centered at the carrier frequency f0 .
– Case 1: Ideal Low-Pass Filter Pulse: The total bandwidth is B = R = Rb . The spectral
efficiency is η = Rb /B = 1 bps/Hz.
– Case 2: Root Raised Cosine (RRC) Filter Pulse: The total bandwidth is B = R(1 + α) =
Rb (1 + α). The spectral efficiency is η = 1/(1 + α) bps/Hz.
2. Pulse Shaping:
P The sequence of amplitudes is passed through a transmit filter p(t) to create the baseband
signal v(t) = n a[n]p(t − nT ).
3. Up-conversion: The baseband signal v(t) is multiplied by the carrier wave cos(2πf0 t) to produce the
final transmitted signal s(t).
1. Down-conversion: The received signal r(t) is multiplied by a locally generated carrier cos(2πf0 t).
This produces a signal containing both a baseband component and a high-frequency component
around 2f0 .
2 1 1
r(t) cos(2πf0 t) = v(t) cos (2πf0 t) = v(t) + cos(2(2f0 )t)
2 2
2. Matched Filtering: The resulting signal is passed through a filter matched to the baseband pulse,
q(t) = p(T − t). This filter is a low-pass filter, which eliminates the high-frequency component at
2f0 .
3. Sampling and Decision: The output of the matched filter, which is now just the recovered baseband
signal, is sampled at the correct instants (determined by symbol synchronization) and fed into a
decision device to recover the bits.
• Synchronization: A 2-PSK demodulator requires both carrier synchronization (to generate the local
cos(2πf0 t)) and symbol synchronization (to determine the optimal sampling instants).
4 2-PSK Performance
• Eye Diagram:
– The eye diagram for 2-PSK is generated from the baseband signal at the output of the matched filter.
– It is identical to the eye diagram for 2-PAM, showing the quality of the signal in terms of noise
margin and timing jitter.
35
• Error Probability: Since the constellation of 2-PSK is identical to that of 2-PAM (antipodal), their
error performance is also identical. The Bit Error Rate (BER) is given by:
r !
1 Eb
BER = · erfc
2 N0
This confirms that 2-PSK is a very power-efficient modulation scheme, just like its baseband counterpart.
5 Quadrature Modulation
• Quadrature modulation is a technique that enables the transmission of two independent data streams over
the same frequency band, effectively doubling the spectral efficiency.
• It forms the basis for 2D constellations like PSK and QAM.
– Basis Signals: It uses two orthogonal basis signals, a cosine carrier (in-phase component) and a
sine carrier (quadrature component), which are created from the same baseband pulse p(t):
∗ b1 (t) = p(t) cos(2πf0 t)
∗ b2 (t) = p(t) sin(2πf0 t)
– Transmitted Signal: A symbol si = (αi , βi ) is transmitted by modulating the cosine carrier with
the α component and the sine carrier with the β component, and then summing them:
X X
s(t) = α[n]b1 (t − nT ) + β[n]b2 (t − nT )
n n
– I/Q Components:
∗ The part of the signal modulated onto the cosine carrier is called the In-phase (I) component,
α(t).
∗ The part of the signal modulated onto the sine carrier is the Quadrature (Q) component,
β(t).
• Spectrum:
– The spectra of the I and Q components have the same shape and occupy the same frequency band.
– Since they are orthogonal, the power of the total signal s(t) is the sum of the powers of α(t) and
β(t).
– The resulting spectrum Gs (f ) depends only on the shape of the baseband pulse p(t), not on the
specific values of the α and β sequences.
• Complex Envelope (s̃(t)): The pair of I and Q baseband signals can be combined into a single complex
signal called the complex envelope: s̃(t) = i(t) − jq(t).
• Complex Symbol (γ[n]): Similarly, the pair of symbol amplitudes (α[n], β[n]) can be represented as a
complex symbol: γ[n] = α[n] − jβ[n].
• Analytic Signal (s+ (t)): The actual transmitted bandpass signal s(t) is the real part of the analytic
signal, which is the complex envelope modulated onto a complex carrier: s(t) = Re[s̃(t) · ej2πf0 t ].
This complex representation allows the 2D constellation to be viewed as a set of complex numbers in the complex
plane, which simplifies analysis and system design.
36
3. 4-PSK (QPSK) Modulation
4-PSK, or Quadrature Phase Shift Keying, is a widely used modulation scheme that encodes two bits per symbol
(m = 4, k = 2).
• Characteristics:
– Bandpass modulation with a 2D signal set.
– Uses orthogonal cosine and sine basis signals.
– The constellation consists of four signals placed equidistantly on a circle.
– Information is encoded in the carrier phase, with four possible phases (e.g., 0◦ , 90◦ , 180◦ , 270◦ ).
• Constellation:
– Vector Set: A common representation is M = {(A, 0), (0, A), (−A, 0), (0, −A)}. This can be rotated
by an arbitrary starting phase Φ.
– For example, a 45◦ rotation gives the points {(α, α), (−α, α), (−α, −α), (α, −α)}.
– Binary Labeling: Gray labeling is crucial. It ensures that adjacent points on the circle (the most
likely error destinations) differ by only one bit.
• Bandwidth and Spectral Efficiency:
– Each symbol represents k = 2 bits, so the symbol rate R is half the bit rate (R = Rb /2).
– Ideal Case (Ideal LPF pulse): The bandwidth is B = R = Rb /2. The spectral efficiency is
η = Rb /B = 2 bps/Hz.
– Practical Case (RRC filter): The bandwidth is B = R(1 + α) = (Rb /2)(1 + α). The spectral
efficiency is η = 2/(1 + α) bps/Hz.
• Modulator and Demodulator:
– The 4-PSK modulator/demodulator can be implemented as two parallel 2-PSK systems.
– The incoming bitstream is split into two half-rate streams, one for the I-channel (modulating the
cosine carrier) and one for the Q-channel (modulating the sine carrier).
– The demodulator separates the I and Q components, processes them independently, and then recom-
bines the resulting bits.
• Performance Interpretation:
– Because 4-PSK can be perfectly decomposed into two independent 2-PSK channels, it achieves the
same BER performance as 2-PSK.
– However, since it transmits two bits in the same bandwidth as one bit in 2-PSK, it has double the
spectral efficiency.
This combination of excellent power efficiency (same BER as 2-PSK) and good spectral efficiency (twice that of
2-PSK) makes 4-PSK one of the most widely used digital modulation schemes, common in satellite links, GPS,
and various wireless standards.
37
– Ideal Case: Spectral efficiency η = k bps/Hz.
– Practical Case (RRC): Spectral efficiency η = k/(1 + α) bps/Hz.
Spectral efficiency increases with m.
• Modulator/Demodulator: For m > 4, the system can no longer be seen as a simple Cartesian product
of two PAM schemes. The modulator must directly generate the α and β components for each symbol,
and the demodulator’s decision regions become wedge-shaped sectors in the 2D plane.
• Error Probability: The BER performance of m-PSK can be approximated (for high SNR) as:
r !
1 Eb 2
π
Pb (e) ≈ · erfc k· · sin
k N0 m
• Performance Degradation: As m increases, the distance between adjacent signal points on the circle
decreases rapidly. This makes the system much more susceptible to noise.
– 8-PSK requires about 3.6 dB more power than 4-PSK for the same BER.
– 16-PSK requires about 4.6 dB more power than 8-PSK.
Because of this severe performance degradation, m-PSK is rarely used for m > 8. Higher-order modulations
typically use QAM, which spaces the points more efficiently.
• Pulse Shaping for ISI Prevention: To meet the Nyquist criterion, special pulse shapes are designed.
– Raised Cosine Filter: A practical and widely used family of Nyquist pulses. Its bandwidth is
controlled by a ”roll-off factor” α, where 0 ≤ α ≤ 1.
– Root-Raised Cosine (RRC) Filter: In a modern system, the Raised Cosine filtering responsibility
is split equally between the transmitter (which uses an RRC filter) and the receiver (which uses a
matched RRC filter). The cascade of these two filters results in the desired Raised Cosine response.
38
Chapter 12: Practical System Design: The Link Budget
A link budget is a comprehensive accounting of all sources of gain and loss in a communication system. Engineers
use it to calculate the signal-to-noise ratio (SNR) at the receiver to ensure the communication link will be feasible
and reliable.
Where:
– Prx , Ptx : Received and Transmitted Power (typically in dBW or dBm).
– Gtx , Grx : Transmit and Receive Antenna Gains (in dBi).
– Lf spl : Free Space Path Loss (in dB). This is usually the largest loss.
– Lmisc : All other miscellaneous losses (e.g., atmospheric absorption, cable loss, polarization mismatch)
(in dB).
2. Convert All Parameters to dB. For power in Watts, use PdBW = 10 log10 (PWatts ).
3. Calculate Free Space Path Loss (FSPL) using the distance and frequency.
4. Sum Gains and Losses to find Received Power (Prx ) using the master equation.
5. Calculate Noise Power (N ) at the receiver: N = kT B, where k is Boltzmann’s constant (1.38 × 10−23
J/K), T is the system noise temperature in Kelvin, and B is the bandwidth in Hz. In dBW, this is
NdBW = 10 log10 (kT B).
6. Calculate the Signal-to-Noise Ratio (SNR): SN R(dB) = Prx (dBW) − N (dBW).
7. Compare: Check if the calculated SNR meets the requirement for the chosen modulation and coding
scheme to achieve the target BER.
39
Is the link feasible if the system requires an SNR of at least 10 dB?
Solution:
1. Ptx = 100 W =⇒ 10 log10 (100) = 20 dBW.
2. Calculate FSPL:
5. Calculate SNR:
SN R(dB) = Prx − N = −164.45 − (−155.6) = −8.85 dB
Conclusion: The calculated SNR of -8.85 dB is well below the required 10 dB. Therefore, the link is not
feasible as designed. To make it work, engineers would need to use a combination of much more powerful
error-correcting codes (which can work at lower SNR), reduce the data rate (which reduces the bandwidth B
and thus the noise power N ), or use higher-gain antennas.
40