You are on page 1of 9

Lab 2

b00901104

carrier
2Eb
2
s0 =
cos(2fc t) s1 =
cos(2 )

f (Nb ) = =
0

Demodulation carrier base


() =

2
cos(2 )

Bit Error Rate:


AWGN integration and dump N( ,

N0
2

) N

normal distribution
pe = ( 0 | 1)1 + p(receiving 1 | sending 0)p0

+
pe = 0.5 (
) p1 + 0.5 erfc (
) p0
0
0

Random Bit Generator 0 1 pe = 0.5( )


0

Simulink

1. Simulink AWGN channel

2. Band-limited white Gaussian noise channel

3.

AWGN channel BER

band-limited Gaussian Noise seed = 23341


seed = 2341
23341 seed noise BER

seed 2341 BER

4. Periodogram

Periodogram:
power spectrum density Signal
Periodogram

X normalized frequency signal frequency fc = 10


sampling time = 0.01 rad per sample = 2 10 0.01 = 0.2
x=0.2 30 dB
noise

10dB SNR = 10dB


5dB


0dB:

demodulation decision thresholdpe

intergal and dump


normalization 100 sample point 100
comparator 100


matlab Simulink
BERPSD
106 BER 2
1 !

BER of BPSK system : Communication Systems ,4th edtion, Chapter 6, Haykin

BPSK.mdl: AWGN channel made by band-limited white Gaussian noise


BPSK_AWGNC.mdl: using default AWGN channel in Simulink
BPSK_threshold.mdl: used in the last part of the report

You might also like