freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

畢業(yè)設計-fir濾波器的matlab設計以及dsp實現(xiàn)-文庫吧在線文庫

2025-01-16 20:11上一頁面

下一頁面
  

【正文】 49h pcr1 .set 49h srgr1 .set 49h srgr2 .set 49h swcr .set 2bh timer_count .set 060h mcbsp_init .set 061h wave_ptr .set 062h is_new_data .set 063h new_ad .set 064h out_wave_ptr .set 065h t_ar2 .set 066h t_ar3 .set 067h temp .set 068h wave_buf .set 0900h out_wave_buf .set 01000h N .set 38 。 end of interrupte vector table ! 。 sp= 0x0ff ld 0,dp 。 stm 0,58h 。 initalize RAM, Variable.... 。 date,must ++ ! stm fir_coef_buf,ar6 rpt N1 mvpd fir_coef,*ar6+ 。****************************************************************** stm 0,spsa0 。 choose XCR20 stm 0,39h stm 0eh,spsa0 。 idle 1 idle 1 idle 1 idle 1 。 send 1th regs 05h ld 3,a idle 1 。 send 3 ld 00505h,a idle 1 。 start MCbsp0 receive ! stm 30h,imr 。 enable TIMER INT ! again: bitf is_new_data,1 。 restore wave buffer ptr ! nop ld *ar7+%,a nop stlm a,dxr10 。 The following codes are serived for McBSP039。 TIMER ! 。 The following codes is used to FIR, new AD DATA in new_ad(0x64) 28 。 done FIR filter, result in ah mvmd ar3,t_ar3 。 save wave buffer ptr ! stm 0,is_new_data 。 wave buffer 0x6000 。 Sampling Frequency 30 。C033 .word 26 。C025 .word 1003 。C017 .word 7274 。C009 .word 328 。C001 .word 0 。C005 .word 20 。C013 .word 157 。C021 .word 9162 。C029 .word 583 。C037 .word 7 。 2 volt .word 0c000h .word 0c000h .word 0c000h .word 0c000h .word 0c000h .word 0c000h .word 0c000h .word 0c000h .word 0c000h .word 0c000h .word 0c000h 。 input buffer 0x1800 。 restore wave buffer ptr ! sth a,2,temp 。 restore ar3 ld new_ad,2,a 。 set xf=1 b show_con show_led: rsbx xf 。 save AD data in AD_buffer(0x18000x1c00) popd new_ad stm 1,is_new_data 。 if setup last reg of AC01, set mcbsp_init=0 ! bc wave_make_end,ntc 。 The following codes are serived for McBSP039。****************************************************************** stm 10h,tcr 。 send 3 ld 00700h,a idle 1 。 send 3th regs 00h ld 3,a idle 1 。 fs=10M/2/A/B= 25k 。 start McBSP0 send ! ld 603h,a rsbx intm 。 fs int ! stm 2,spsa0 。 init variable timer_count ! stm 0,is_new_data 。ptr stm out_wave_buf,out_wave_ptr 。 bc wait_pll,aneq 。 all 2 waits ! stm 0,swcr 。 extend sign ! ssbx frct 。 。我愿借機會向他們表示衷心的感謝! 通過本次畢業(yè)設計 ,我不僅對所學的知識有了進一步了解 ,而且學到了很多新東西。由 TMS320VC5402 實驗箱 的模擬輸入口輸入模擬信號,經(jīng) TLC320A/D 轉(zhuǎn)換芯片,按 25kHz 的采樣頻率采樣轉(zhuǎn)換成數(shù)字信號,輸入 DSP。 2 1KHz 方波信號的產(chǎn)生 利用 AC01 的 D/A 通道產(chǎn)生一個 1KHz 的方波,作為 FIR 濾波器的輸入信16 號。 使用帶 FIRS 指令的循環(huán)尋址模式實現(xiàn) FIR 濾波器,程序片段如下: (輸入數(shù)據(jù)在 AL 中 ,濾波結果在 B 中 ) STM 1,AR0 ; AR0=1 STM ( N/2) ,BK ; BK=N/2,循環(huán)尋址 BUFFER 大小為 N MVDD *ar2, *ar3 ; 更新 Buffer2 STL A, *ar2+% ; 更新濾波窗口中的采樣數(shù)據(jù) ADD *ar2+0% , *ar3+0% ; 初始化 A RPTZ B, (N/21) ; 重復 FIRS 指令 N/2 次 ,先將 B 清零 FIRS *ar2+0%, *ar3+0%,filter_coff+N/2 ;完成濾波計算。比如在語音信號處理中,采用線性相位響應可避免可能降低信號質(zhì)量的波形失真。 使用帶 MAC 指令的循環(huán)尋址模式實現(xiàn) FIR 濾波器,程序片段如下: (輸入數(shù)據(jù)在 AL 中 ,濾波結果在 AH 中 ) STM 1,AR0 。 )(nx 表示濾波器在 n 時刻的輸入,則 n 時刻的輸出為: )]1([)1(. . .)1()1()()0()( ??????? NnxNhnxhnxhny 3 1 使用 MAC 或 FIRS 指令可以方便地實現(xiàn)上面的計算。 4 用專用的 DSP 芯片實現(xiàn)。DES5402PPU 是成都銀杏科技有限責任公司與美國德州儀器( TI) 電子科技大學 DSPs 技術 /培訓中心聯(lián)合開發(fā)的第三代教學實驗設備。它不但能準確的指定通帶和阻帶的邊緣,而且還在一定意義上實現(xiàn)了絕對所期望的頻率響應實行最佳逼近 ]2[ 。由于 FIR 濾波器很容易實現(xiàn)嚴格的線性相位,所以 FIR 數(shù)字濾波器設計的革新思想是求出有限的脈沖響應來逼近給定的頻率響應。對于相位響應指標形式,通常希望系 統(tǒng)在通頻帶中 仍 有線性相位。在很多實際應用中,數(shù)字濾波器常常被用來實現(xiàn)選頻操作。數(shù)字濾波和模擬濾波相比有很多優(yōu)點,它除了可避免模擬濾波器固有的電壓飄移、溫度漂移和噪聲等問題外,還能滿足濾波器對幅度和相位的嚴格要求。 關鍵詞 : FIR 濾波器 ; MATLAB ; DSP 2 MATLAB design and realization based on DSP of FIR filter [Abstract]: In the digital signal processing application, the digital filter holds the extremely important status. Firstly, the FIR digital filter principle is introduced in this paper. Then, the paper provides the method of the filter designing under the MATLAB environment , simultaneously it gives the designing of the digital filter. Last the paper offers the realization of the digital filter by DSP. [Key word]: FIR filter ; MATLAB ; DSP 3 目 錄 1 引言 ............................................................................................................................ 4 設計背景 ........................................................................................................ 4 工具簡介 .................................................................
點擊復制文檔內(nèi)容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1