30.10.2014 Views

o_195h4n6al16jb186b1b2qs7fgssa.pdf

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

XMODSTRT saved, used, restored<br />

XMODEND saved, used, restored<br />

YMODSTRT saved, used, restored<br />

DOand REPEATinstruction usage:<br />

2 level DOinstructions<br />

1 level REPEATinstructions<br />

Program words (24-bit instructions):<br />

76<br />

Cycles (including C-function call and return overheads):<br />

61 + N(13 + 5M)<br />

FIRLMSNorm<br />

Description: FIRLMSNormapplies an adaptive FIR filter to the sequence of<br />

source<br />

samples, stores the results in the sequence of destination samples,<br />

and updates the delay values.<br />

The filter coefficients are also updated, at a sample-per-sample basis,<br />

using a Normalized Least Mean Square algorithm applied according to<br />

the values of the reference samples.<br />

Include: dsp.h<br />

FIRLMS (Continued)<br />

dsPIC<br />

®<br />

Language Tools Libraries<br />

energyEstimateis cập nhật với giá trị E [N-1] (có thể được sử dụng<br />

là giá trị khởi động cho một cuộc gọi chức năng tiếp theo nếu lọc một<br />

mở rộng của tín hiệu đầu vào).<br />

Các hoạt động có thể dẫn đến bão hòa nếu giá trị tuyệt đối của (r [n] -<br />

y [n]) lớn hơn hoặc bằng một.<br />

Lưu ý: Một biểu hiện cho ước tính năng lượng là:<br />

E [n] = (x [n])<br />

2<br />

+ (X [n-1)<br />

2<br />

+ ... + (X [n-M + 2])<br />

2<br />

.<br />

Vì vậy, để tránh bão hòa trong khi tính toán dự toán, đầu vào<br />

giá trị mẫu nên bị trói buộc để<br />

, 0 ≤n

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!