fires.elfak.ni.ac.rs/files/zbankovic-meric-mradosavljevic... · web viewОво...

Click here to load reader

Post on 12-May-2019

212 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

FIR

: DSP 2010

FIR

: 12154 : 12197 12352 12366 12367

31.1 ?31.2 582.1 92.3 FIR 122.6 IIR 14173.1 183.2 213.3 MATLAB -a233.4 VHDL 283.4.1 FIR_top313.4.2 Stage333.4.3 First_stage363.4.4 Clock-gate373.5 39 42

(DSP) , () . , DSP . , , . MP3 , 90% . MP3 , . ? ( ) , . .

1.1 ?

. , , . ( ), ( ), , . , ( ) ( ), ( ) () (). , , , , .

, . , .

, , , . , , . , . , .

( ) ( ) . ( 0.000000003 ). , . , , . , ( ). , () (). , , . , 72.3 F . , . 3,14, , 3,141592654, 50 , .

. , . , , . 4 5, , , .

, . . , . :

. , , .

.

.

. , .

, .

, . , . . . .

1.2

, : . , ( ) , , 1.1. . . ( ) . , , , , .

. . . . . , t, .

1.1

. , . . . n t : , . , , (0 , ) (1 ) (2 ), (3 ), . , . .

1.2 . . 1 , 0. .

1.2

x . ? , .

. . . . , , , . 999.99 , , 000.01 , . , 000.00 . , , . , 000.00 1000.004.

1.3 : , . , . . . , . , , , .

1.3

, , , . , , (). , .

, ( ) . , . . , .

2.1 . . ( ) . , ( ). ( ) .

2.1

2.2, .

, . , . 60Hz 10% .

, . , .

2.2

2.1

, , , .

, 2.3, , 2.4. . . .

______________________________________________________________________________

2.3?

2.3

:

, , ,

, , ,

.

______________________________________________________________________________

2.4?

2.4

:

, , ,

, , ,

.

______________________________________________________________________________

2.5?

Sluka 2.5: FIR 0.5 -0.5

:

______________________________________________________________________________

( ). , . , y x ( 2.6) , . :

,,

,,

,,

: .

, Z .

2.6

2.3 FIR[footnoteRef:2] [2: ]

, FIR , FIR . FIR () () , (). .

2.7 FIR . , , .

2.7 , . 0, , 0, 0. , , .

2.7

? , :

:

______________________________________________________________________________

2.8, , y. y x.

2.8: FIR 0.6 0.2

:

0.6 1, , 1 . , .

n , :

______________________________________________________________________________

2.9 FIR +1 . . +1 () - .

2.9 :

:

2.9: FIR

2.6 IIR

(FIR) . , , IIR .

2.10 :

. .

2.10:

, :

0

0

1

0.6

0

0.44

0

0.176

0

0.0704

0

0.02816

0

0.011264

. , 0.4 . , , .

2.11, , 1.

2.11

:

0

0

1

0.6

0

0.8

0

0.8

0

08

0.8, 0, .

, . 2.12, , 1.1.

2.12

0

0

1

0.6

0

0.86

0

0.946

0

1.0406

0

1.14466

0

1.259126

. IIR ( ), . , ( ).

IIR 2.13, ().

2.13

:

. 3.1 FIR . X Y n- , 8 .

3.1

: X , . : 180,181,240,180,181. 240 , 60 . : 180,180,181,180,181

3.1 j FIR . FIR : . , . . :

Y(t)= c0*(t) + c1*(t-1) + c2*(t-2).

FIR : pipeline . .

3.1

FIR 3- . , . .

. : x(t), x(t-1), x(t-2). x(t-1) x(t-2) , x(t) x(t-1) . 3.2.

3.2

, t0 , t1 , t2 t1 .

C0,C1 C2. . 3.3.

3.3

Y . Y, 3.4.

3.4

. C0, C1 C2. CL, C1 C0, . C0C1=00 C0 , 01 1 10 C2, 11 . 2x4, C1 C0 CL , CL=1, 3.5.

3.5

FIR . ( ) . . nvidia , CeBIT-, 400W.

3.2

DIN . ND=1 . FIR RDY=1 DOUT . FIR 3.6 . FIR- 8 ( ) 8 . (SR), R-, . 8 ( R-). FIR-.

3.6

(PSC) , 7 .

( / ) / 7 ( ) ( 2).

. ND, PSR, ( ) (count, , 8). 8 R-/-/. , () . , RDY.

Kao RDY=1 8 . .

3.3 MATLAB -a

FDATOOL MATLAB. fdatool , 3.7.

3.7

( , ). , , 300 Hz, 50 Hz, 100 Hz. , ( , Q0.7) (Q0.15). , FIR equiripple . , 3.8, 3.9 3.10 3.11, 3.12 3.13 . testbench- , , :

%

% Generated by MATLAB(R) 7.6 and the Signal Processing Toolbox 6.9.

%

% Generated on: 05-May-2010 23:56:14

%

% Coefficient Format: Binary

% Discrete-Time FIR Filter (real)

% -------------------------------

% Filter Structure : Direct-Form FIR

% Filter Length : 6

% Stable : Yes

% Linear Phase : Yes (Type 2)

% Arithmetic : fixed

% Numerator : s16,14 -> [-2 2)

% Input : s16,15 -> [-1 1)

% Filter Internals : Full Precision

% Output : s31,29 -> [-2 2) (auto determined)

% Product : s29,29 -> [-5.000000e-001 5.000000e-001) (auto determined)

% Accumulator : s31,29 -> [-2 2) (auto determined)

% Round Mode : No rounding

% Overflow Mode : No overflow

Numerator:

1111110000000100

0000100110100100