Professional Documents
Culture Documents
But de TP :
Le but de ce TP est de simuler la modulation, la transmission et démodulation de
la chaine de caractères à travers une chaine de transmission.
Application :
On considère une transmission radio d’un train binaire. On pose T b comme étant
la durée d’un bit.
m=2n
BPSK et DBPSK
On a m = 2⟹ n=1
D’où T s=T b
QPSK et DQPSK
On a m = 4¿ 22 ⟹ n=2
D’où T s=2 T b
8PSK
On a m = 8¿ 23 ⟹ n=3
D’où T s=3 T b
16QAM
On a m = 16 ¿ 24 ⟹ n=4
D’où T s=4 T b
1
B=
Tb
1
Donc T s=T b η log 2 M =¿ 2T b log2 M ¿
BPSK et DBPSK
T s=2 n T b=2 ×1 ×T b
T s=2 T b
QPSK et DQPSK
T s=2 n T b=2 ×2 ×T b
T s=4 T b
8PSK
T s=2 n T b=2 ×3 ×T b
T s=6 T b
16QAM
T s=2 n T b=2 ×4 ×T b
T s=8 T b
1+0.35 1.35
W= =D×
1 8
2×4×
D
W=67.5khz
3 Codage de canal
0 1
QPSK :
8PSK :
110 Y 101
111 100
000 011
001 010
4 Codage de canal
16QAM :
Partie pratique
Réponse n°1 : Manipulation de chaines de caractères et d’entiers
clear all
bin=dec2bin(D,8)
bits_char=reshape(bin,1,48*8)
bits_bin=str2num(bits_char)
dec=bin2dec(bin)
R=reshape(dec,1,48)
S=char(R)
code=dec;
code(4)=~code(4)
code(12)=~code(12)
code(23)=~code(23)
code(34)=~code(34)
recd=code
R1=reshape(recd,1,48)
c=mod(R1,2)
5 Codage de canal
l=char(R1)
code=dec;
code(4)=~code(4);
code(12)=~code(12);
code(23)=~code(23);
code(34)=~code(34);
recd=code;
R2=reshape(recd,1,48);
c=mod(R2,2);
l=char(R2);
Résultats :
D=
Columns 1 through 16
84 114 97 118 97 117 120 32 80 114 97 116 105 113 117 101
Columns 17 through 32
Columns 33 through 48
bin =
01010100
01110010
01100001
01110110
01100001
01110101
01111000
00100000
01010000
01110010
01100001
01110100
01101001
01110001
6 Codage de canal
01110101
01100101
01110011
00100000
01100100
01100101
00100000
01000011
01101111
01100100
01100001
01100111
01100101
00100000
01100100
01100101
00100000
01000011
01100001
01101110
01100001
01101100
00100000
01100100
01110101
00100000
01001101
01000001
01010011
01010100
7 Codage de canal
01000101
01010010
00100000
00110010
bits_char =
000000000000000000000000000000000000000000000000111111101111111110110111111011011111011011
111100011111110111111111111011111111101111111100000011110101101101011010000000000000000000
001000110101000000100000100000000010000000000101000010000000100101000001001100110011011011
000101011010011000010100000100000010000110010000010100000000100101001011000010111110010110
111001011010001011101000
bits_bin =
Inf
R=
Columns 1 through 16
84 114 97 118 97 117 120 32 80 114 97 116 105 113 117 101
Columns 17 through 32
Columns 33 through 48
S=
Columns 1 through 16
Columns 17 through 32
Columns 33 through 48
c=
Columns 1 through 16
0 0 1 0 1 1 0 0 0 0 1 0 1 1 1 1
8 Codage de canal
Columns 17 through 32
1 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1
Columns 33 through 48
1 0 1 0 0 0 1 0 1 1 1 0 1 0 0 0
l=
1.6002 + 0.6628i
0.6628 + 1.6002i
-1.6002 + 0.6628i
-0.6628 + 1.6002i
1.6002 - 0.6628i
0.6628 - 1.6002i
-1.6002 - 0.6628i
-0.6628 - 1.6002i
A1 =
9 Codage de canal
1.6002 + 0.6628i
-0.6628 + 1.6002i
-1.6002 - 0.6628i
A2 =
0.6628 + 1.6002i
1.6002 - 0.6628i
-0.6628 - 1.6002i
A3 =
-1.6002 + 0.6628i
0.6628 - 1.6002i