VNU LyThuyetTinHieu Lec2
VNU LyThuyetTinHieu Lec2
VNU LyThuyetTinHieu Lec2
Signal Theory
(INS207102)
———————————–
Prof. Huan X. Nguyen
Guest Lecture 2:
Outline
1 Baseband Transmission
2 Receiver Structure
4 Matlab simulation
$ "! ! # "!
"! !"#$%#&'(
#$ " # ! !% " !
!"#$%&'())*+
Received signal: r(t) = s(t) + n(t)
The noise, n(t), is a zero-mean white Gaussian random
process:
- Mean: E [(n(t)] = 0,
N0
- Autocorrelation: R(τ ) = E [n(t)n(t − τ )] = δ(τ ),
2
N0
- Power spectrum: S(f ) = F{R(τ )} = .
2
where N0 /2 is double-sided spectral density.
The role of the impulse modulator (IM) is to convert a symbol sequence into
an analog waveform. That is,
∞
X
u(t) = bnδ(t − nT ), (1)
n=−∞
• 4-ary ASK: “00” → +3, “01” → +1, “10” → −1, and “11” → −3
Hence, if we have more levels to represent the symbol, bn, we can transmit
more bits per second. For M -ary ASK, the data rate becomes log2(M )/T
bits/sec (bps).
Filter output
Filter output
System Model
At the receiver, the received signal is corrupted by the noise n(t) and written
as
y(t) = x(t) + n(t). (3)
Generally, n(t) is modeled as white Gaussian noise with zero mean. The
autocorrelation of n(t) is E[n(t)n(t − τ )] = N20 δ(τ ), where N0/2 is the double-
sided spectral density of the noise. The dimension of N0 is in watts per
Hertz.
At the front end of the receiver, we have the receiver filter and sampler:
G(f ) = kH ∗ (f )
is equivalent to
g(t) = kh(−t).
This receiver filter is called the matched filter.
It is not unusual to choose
g(t) = h(−t).
Assuming that the zero-ISI transmitter filter is used with the normalized
matched filter at the receiver (so that its energy is unity) as
h(−t) 1
g(t) = qR (a = qR ),
|h(t)|2dt |h(t)|2dt
Then, the sampled signal is given by
p
zn = Eb bn + wn , (15)
R
where Eb = |h(t)|2dt and wn ∼ N (0, σw2 ). The noise variance σ 2 is given as
w
Z
2 N 0 N0
σw = E[|wn|2] = |g(t)|2dt = .
2 2
Clearly, the SNR is given as
Eb
SN R = .
N0 /2
Note that the Eb is the bit energy that is decided by the transmitter filter
h(t).
• There are some statistical approaches for the detection. Among them,
we only consider
– the maximum likelihood (ML) detection
– the maximum a posteriori probability (MAP) detection
Using a similar approach, we can find the pdf of zn when bn = −1, which is
given by
zn ∼ f (zn | bn = −1)
p N0
= N − Eb ,
2 p
1 1
= √ exp − (zn + Eb )2 .
πN0 N0
The two (conditional) pdf’s are called the likelihood functions. With the two
likelihood functions, we can build a hypothesis.
√ √
− Eb Eb
Example
There are two dices: one is fair (dice A) and the other is not (dice B). Their
probabilities are given by
PA(k) = 1/6, PB (k) = k/21, k = 1, 2, . . . , 6.
One of the two dices can be chosen randomly with a probability of 1/2. Find
the decision rule whether the chosen dice is A or B when k dots are observed.
Solution
Solution
6/21
1/6
1/21
k=1 2
k 1 2 3 4 5 6
Prob. of A 1/6 1/6 1/6 1/6 1/6 1/6
Prob. of B 1/21 2/21 3/21 4/21 5/21 6/21
Decision A A A B B B
Example (revisited)
There are two dices: one is fair (dice A) and the other is not (dice B). Their
probabilities are given by
PA(k) = 1/6, PB (k) = k/21, k = 1, 2, . . . , 6.
Suppose that the probability that dice A is selected is 1/3, while dice B is
2/3. Find the decision rule whether the chosen dice is A or B when k dots
are observed.
Solution
k 1 2 3 4 5 6 Priori prob.
Post. Prob. of A 1/6 1/6 1/6 1/6 1/6 1/6 ×1/3
Post. Prob. of B 1/21 2/21 3/21 4/21 5/21 6/21 ×2/3
Decision A B B B B B