Anda di halaman 1dari 17

30

SIMULINK

2009

621.391:519.27

2010/2011 .





30


SIMULINK

30 . .
.

SIMULINK.
.
. 2 ., .3, .2.
: .. , ...,
.. ,
.. , ...,
. 5
21.01.2010 .

30


SIMULINK

1.
.
.
.
2.
2.1
1. [1],
.
2. , .
3. 1
. :
N = N, N - , N -
.
4. 1 2 : 1)
OFDM TSAMPLE ; 2) TSAMPLE_ 1 TSAMPLE_ 2 Bernoulli Binary PN Sequence Generator ; 3) OFDM NOFDM ; 4)
OFDM N.OFDM ; 5)
max FD . OFDMmodel .
5. ,
OFDMmodel (. 2, 3 [2]).
6. . :
- ;
- ; ;
- ;
-
OFDM;
- .

N
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

[]

100
20
40
20
40
100
100
40
20
40
20
100
20
100
40
100
40
20
40
100
20
20
100
100
40

16
64
16
4
16
64
16
64
16
4
16
64
16
64
16
64
4
64
16
64
16
4
16
64
4

[/c]
5
10
2
8
6
5
10
2
8
6
5
10
2
8
6
5
10
2
8
6
5
10
2
8
6

1.

f
S
SNR

[]

[0 160]
[0 800]
[40 400]
[0 100 800]
[20 400]
[0 10 160]
[0 160]
[0 400]
[100 800]
[0 20 400]
[100 800]
[0 160]
[0 800]
[0 160]
[0 400]
[0 40 160]
[10 400]
[0 50 800]
[0 400]
[0 160]
[10 800]
[0 50 800]
[5 160]
[0 10 160]
[0 400]

[]

[-2.6 -20]
[-1 -20.5]
[0 -20]
[0 -10 -30]
[-1.5 -20.5]
[-1 -13 -30]
[-4.9 -25.1]
[-2 -20]
[-1 -20]
[-1 -20 -30]
[-2 -30]
[-2 -30]
[-2.6 -20]
[-1 -20.5]
[0 -30]
[0 -20.5 -30]
[-1.5 -20.5]
[-1 -9.5 -30]
[-4.9 -25.1]
[-2 -20]
[-1 -20]
[-1 -5 -30]
[-2 -30]
[0 -8 -30]
[0 -30]

[]

[/]

25
25
25
25
25
20
20
20
20
20
15
15
15
15
15
10
10
10
10
10
5
5
5
5
5

-54
-52
-50
-48
-46
-54
-52
-50
-48
-46
-54
-52
-50
-48
-46
-54
-52
-50
-48
-46
-54
-52
-50
-48
-46

[] []
40
40
50
50
20
20
30
30
10
10
30
30
50
50
20
20
40
40
10
10
30
40
50
10
20

15
20
25
10
5
15
20
25
10
5
15
20
25
10
5
15
20
25
10
5
15
20
25
10
5

. 1 :
F - , , [];
- - ;
V - (), [/];

- - , [];
- , [];
SNR - , [];
S - , [/];
f - , [];

- , [].
:
R = 3/4 - ;
f 0 = 5.25 - ;

N = 48 - , ;
N = 4 - -.

1:
2.2.
1.
MATLAB OFDMmodel.mdl, SIMULINK c OFDMmodel.
2.

1, (
):
) Bernoulli Binary Sample Time
TSAMPLE_ 1 Samples per frame N.OFDM ;
) Matrix Interleaver Matrix Deinterleaver Number of rows Number of columns , OFDM ( NOFDM );
) Rectangular QAM Modulator Baseband Rectangular QAM Demodulator Baseband M-ary number -
1;
) Gain Normilize Gain 1/sqrt(2) 4-, 1/sqrt(10) 16- 1/sqrt(42)
64-, Gain Denormilize Gain
sqrt(2) 4-, sqrt(10) 16- sqrt(42) 64;
) PN Sequence Generator OFDM Transmitter Channel Estimation and Compensation Sample Time
TSAMPLE_ 2 ;
) Multipath Rayleigh Fading Maximum
Doppler shift max FD ( max FD -
), Delay vector ( ,
[0 10] [0 10-9]) Gain vector
;
) AWGN Channel1 SNR 1;
) Phase Noise Phase Noise Level S;
) Phase/Frequency Offset Phase offset
, Frequency offset f .
3.

,
( ) .
4.
Switch1, Switch2, Switch3 Switch4 ( )
( AWGN Channel1); ,
.
5.
Simulation Start
Transmitted Binary Signal, Received Binary Signal, Transmitted Signal,
Received Signal, Received Signal After Channel Compensation, Transmitted Spectrum
Received Spectrum :
) , ;
5

) , ;
) .
6.
Switch1, Switch2, Switch3 Switch4
( Multipath Rayleigh Fading)
(AWGN Channel2); , .
7.
5, 5 5 .
8.
Switch1, Switch2, Switch3 Switch4 , ( Phase Noise)
.
9.
5 5 .
10. Switch1, Switch2, Switch3 Switch4 , (
Phase/Frequency Offset Frequency offset ).
11. 5 5 .
12. Switch1, Switch2, Switch3 Switch4 , (
Phase/Frequency Offset Phase offset , Frequency offset f ).
13.

5 5 .

2.3. , :
-
;
-
.
2:
2.4.
1.
MATLAB
, 1.
SIMULINK c OFDMmodel.
2.
Switch1, Switch2, Switch3 Switch4 ( AWGN Channel1); , .
3.
SNR AWGN Channel1 (SNR =0, 5, 10, 15),
, BER ( 10 6 ).
4.
Switch1, Switch2, Switch3 Switch4 ( Multipath Rayleigh Fading)
( AWGN Channel2); ,
.
5.
SNR AWGN Channel2 (SNR =0, 10, 20, 30,
40, 50), , BER (
10 6 ).

6.
Switch1, Switch2, Switch3 Switch4 ; .
7.
Phase Noise Level Phase Noise (-30, -40, -50, 60), , BER ( 10 6 ).
2.5. , :
- ;
- ;
- .
3.
3 :
1.
(. .6 2.1);
2. 1
(. 2.3);
3. 2
(. 2.5).
4.
, .
OFDM ,

, OFDMmodel. OFDM .
SIMULINK,
MATLAB.
SIMULINK MATLAB. SIMULINK , , . , , , , , , , .
, . , SIMULINK. .



.
, . , Sample Time .
, A 10 n MATLAB Ae n (, 10 6 1e 6 , 5 10 3 5e 3 ).
.

1.
().
2. .
3. OFDM-.
4. .
.
5. OFDM .
6. OFDM ,
?
7. OFDM ?
8.
?
9.
OFDM .
10. .
11. ?
12. OFDM ?
13. OFDM ?
14. . ?
15.
?
16. ?
17. .

1. .., .., .. . - .: , 2005. 390 . ( 8.1-8.4, 9.1, 9.5)


2. .. SIMULINK. . .:
-, 2004.- 491 . ( 1)

1
OFDM
OFDM . :
2

j
nk
1 N 1

S k An e N 1 , k 0,...,N 1,
N n 0

N - , OFDM , A n , n 0,1,...,N 1 - , k 0,1,...,N 1 -


OFDM . OFDM .
OFDM T S 4 . =max, T S =4 max.
OFDM f f 1/ TS .
F N F / f .

.1. OFDM
OFDM TSAMPLE TS / N .
/
T TS . T.. T / 4 .
N .. T.. / TSAMPLE . OFDM T T T.. .
OFDM NOFDM
N N . :
N . log 2 (M KAM ) , N OFDM N N . .

OFDM

N .OFDM N OFDM R .
() -

. .
.
- , :
V
FD f 0 cos( )

FD - , ;
f 0 - , ;
V - , /c;
- , /c;
- .
V
cos( ) 1 , max FD f 0 .

2
OFDMmodel
Bernoulli Binary , {0, 1}.
0 , 1 , 0 1 1 . 0
Probability of a zero, 0.5.
: OFDM ,

Sample
Time

TSAMPLE_ 1 TSAMPLE ( N N .. ) / N.OFDM ( TSAMPLE - , N N ..


- OFDM , N.OFDM -
OFDM ) Samples per frame N.OFDM . .
Convolution Encoder . , . , , . Trellis structure,
, 7 133 171 ( ). R. = 1/2, ..
. Operation mode
: , ., .
Puncture vector, .
Puncture , . , .
,
10

. Puncture vector
[1 1 0 1 0 1] (0 , ). .
Matrix Interleaver .
, , .
. , .
Number of rows
Number of columns .
Rectangular QAM Modulator Baseband .
( M-ary number). Normalization
method , Min. Distance between
symbols. Minimum distance,
, 2. ( Constellation ordering) . Input type, Bit.
Output data type, double. Phase offset .
Normilize , .
. 4-
1 / 2 , 16- 1 / 10 , 64- 1 / 42 . Gain, Gain
; Multiplication ,
Element-wise(K*u).
OFDM Transmitter ,
OFDM .
: Multiport Selector, Matrix Concatenation, Zero Pad, IFFT, Add Cyclic Prefix, PN
Sequence Generator, Unipolar to Bipolar Converter. Multiport Selector
6 - 1:5, 6:18, 19:24, 25:30, 31:43, 44:48
. Matrix Concatenation
, ,
- .
Zero Pad , , 53
64 . . IFFT , OFDM . ,
64 .
OFDM . Add Cyclic Prefix 16
. , 80
OFDM . , . , - PN Sequence Generator
Unipolar to Bipolar Converter. PN Sequence Generator

11

, Sample Time TSAMPLE_ 2 TSAMPLE ( N N .. ) .


Unipolar to Bipolar Converter .
AWGN Multipath Rayleigh Fading ,
. Multipath Rayleigh Fading
: Maximum Doppler shift, Delay vector Gain vector. Maximum Doppler shift , . Delay vector . Gain vector
. AWGN : Mode
, SNR; SNR - ;
Input signal power, 0.01 .
Phase Noise
. Phase Noise Level - / Frequency Offset .
. , ,
.
1 ,
( - 1 ), 1-
.
Phase/Frequency Offset . Phase offset. Frequency offset.
OFDM Receiver , OFDM .
: Remove Cyclic Prefix, FFT, Remove zero-padding and
reorder, Select Rows. OFDM Transmitter.
Channel Estimation and Compensation ,
-,
OFDM , OFDM .
: PN Sequence Generator, Unipolar to Bipolar Converter, Select Rows,
Matrix Concatenation, Complex to Real-Imag, Real-Imag to Complex, Interpolation,
Product.
Denormilize - ,
Normilize.
Rectangular QAM Demodulator Baseband .
Matrix Deinterleaver . ,
Matrix Interleaver.
Unipolar to bipolar converter , .
Viterbi Decoder . , .

12

Error Rate Calculation


. Display. , .

13

.2. - OFDMmodel

14

4
IEEE 802.11 HiperLan
.3,
IEEE 802.11 HiperLan.
i ,
i i .

.3. .
, ,
50 .
B , , 100 .
( ),
,
150 .
D , ,
140 .
E ( ), ,
250 .
2.
D 10 [1].

15

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18




D
E

,
,
,
,
,
,
,
,
,
,

0
0
0
-2,6
0
-3,3
0
0
0
-4,9
10
-0,9
10
-3
10
-3,6
10
-10
10
-5,1
20
-1,7
20
-3,5
20
-3,9
20
-10,3
20
-5,2
30
-2,6
30
-3,9
30
-4,2
30
-10,6
40
-0,8
40
-3,5
50
0
50
0
50
-6,4
70
-1,3
50
-4,3
80
-1,3
80
-0,9
80
-7,2
100
-1,9
60
-5,2
110
-2,6
110
-1,7
110
-8,1
140
-0,3
70
-6,1
140
-3,9
140
-2,6
140
-9
190
-1,2
80
-6,9
180
-3,4
180
-1,5
180
-7,9
240
-2,1
90
-7,8
230
-5,6
230
-3
230
-9,4
320
0
110
-4,7
280
-7,7
280
-4,4
280
-10,8
430
-1,9
140
-7,3
330
-9,9
330
-5,9
330
-12,3
560
-2,8
170
-9,9
380
-12,1
400
-5,3
400
-11,7
710
-5,4
200
-12,5
430
-14,3
490
-7,9
490
-14,3
880
-7,3
240
-13,7
490
-15,4
600
-9,4
600
-15,8 1070 -10,6
290
-18
560
-18,4
730
-13,2
730
-19,6 1280 -13,4
340
-22,4
640
-20,7
880
-16,3
880
-22,7 1510 -17,4
390
-26,7
730
-24,6 1050 -21,2 1050 -27,6 1760 -20,9

16





30



SIMULINK

____________________________________________________________
04.11.2009. 6084/16. .
. ... 200 . . 62. 219.
____________________________________________________________
"". , . , 8

17