【正文】
題 目 基于單片機(jī)的語音 控制開關(guān)設(shè)計 學(xué)生姓名 朱 楠 學(xué)號 1113024050 所在學(xué)院 物 理 與 電 信 工 程 學(xué) 院 專業(yè)班級 通 信 工 程 專 業(yè) 1102 班 指導(dǎo)教師 鄭 爭 兵 完成地點 物 理 與 電 信 工 程 學(xué) 院 實 驗 室 2020 年 6 月 03 日 畢業(yè)論文 ﹙ 設(shè)計 ﹚ 任務(wù)書 院 (系 ) 物理與電信工程學(xué)院 專業(yè)班級 通信 1102 學(xué)生姓名 朱楠 一、畢業(yè)論文﹙設(shè)計﹚題目 基于單片機(jī)的語音控制開關(guān)設(shè)計 二、畢業(yè)論文﹙設(shè)計﹚工作自 _2020 _年 _ 1__月 _10_日 起至 _2020__年 6 月 _ 10 日止 三、畢業(yè)論文﹙設(shè)計﹚進(jìn)行地點 : 物理與電信工程學(xué)院實驗室 四、畢業(yè)論文﹙設(shè)計﹚的內(nèi)容要求: 智能家居作為一個新生產(chǎn)業(yè),目前處于一個導(dǎo)入期與成長期的臨界點,隨著智能家居市場推廣普及的進(jìn)一步落實,培育起消費者的使用習(xí)慣,智能家居市場的消費潛力必然是巨大的,產(chǎn)業(yè)前景光明。本課題設(shè)計語音智能控制開關(guān),具體要求如下: 1. 掌握語音識別的工作原理,使用語音識別芯片完成硬件設(shè)計; 2.能實現(xiàn)語音控制開關(guān)的開啟和關(guān)閉; 3. 系統(tǒng)集成,焊接電路板,調(diào)試。 成果形式:實驗樣機(jī)一套。 畢業(yè)設(shè)計進(jìn)度安排 : ─ :查閱資料(參考文獻(xiàn)不少于 10 篇),進(jìn)行方案論證,完成開題報告。完成不少于 3000 字的外文翻譯; ─ :設(shè)計硬件電路,編寫相關(guān)軟件、完成電路仿真及樣機(jī)調(diào)試; ─ :完善系統(tǒng)調(diào)試,撰寫論文,準(zhǔn)備畢業(yè)設(shè)計驗收等工作; :整理資料,修改論文,準(zhǔn)備畢業(yè)答辯。 指 導(dǎo) 教 師 系 (教 研 室 ) 通 信 教 研 室 系 (教研室 )主任簽名 批準(zhǔn)日期 接 受 論 文 ( 設(shè)計 ) 任務(wù) 開 始 執(zhí) 行 日 期 學(xué)生簽名 I 基于單片機(jī)的語音智能開關(guān)設(shè)計 朱楠 (陜西理工學(xué)院物理與電信工程學(xué)院通信 1102班,陜西 漢中 723003) 指導(dǎo)教師:鄭爭兵 [摘 要 ]語音識別是解決機(jī)器“聽懂”人類語言的一項技術(shù)。隨著語音識別理論研究的深入和數(shù)字信號處理軟、硬件技術(shù)的發(fā)展,語音識別技術(shù)應(yīng)用的研究 越來越受到人們的關(guān)注。智能語音家電控制系統(tǒng)實質(zhì)上就是一個替代傳統(tǒng)手動開關(guān)的受聲控制的電子開關(guān)。此系統(tǒng)以 STC11L08XE和 LD3320語 音芯片為硬件核心 ,對語音芯片 LD3320的信息進(jìn)行處理,并對開關(guān)進(jìn)行控制,通過 LD3320外界的麥克風(fēng)采集聲音信號,再通過 LD3320語音芯片進(jìn)行頻譜分析,在提取語音特征,之后和關(guān)鍵詞語列表中的關(guān)鍵詞進(jìn)行對比匹配,最后找出得分最高的關(guān)鍵詞作為識別結(jié)果輸出給單片機(jī),單片機(jī)進(jìn)行處理后,再輸出信號來控制繼電器,再通過繼電器來控制開關(guān)工作,開關(guān)又可實現(xiàn)對電器的控制。語音芯片的功能都是通過單片機(jī)控制實現(xiàn)的。最終實現(xiàn)對智能語音開關(guān)的控制 [關(guān) 鍵 詞 ] STC11L08XE 單片機(jī) 語音芯片 LD3320 語音識別 II Design of intelligent voice switch based on MCU Zhu nan (Grade11,Class2,Major of Communication Engineering, School of Physics and telemunication Engineering of Shaanxi University of Technology, Hanzhong 723003,China) Tutor:Zheng Zheng bing Abstract: Speech recognition is a technology to solve the machine to understand human language. Along with the research of speech recognition theory and the development of digital signal processing software and hardware technology, The research on the application of speech recognition technology is getting more and more intelligent speech appliance control system is essentially an electronic switch which replaces the traditional acoustic control with the manual switch. This system LD3320 voice chip and the stc11l08xe as hardware core and the voice chip ld3320 information for processing, and control the switch, through ld3320 external microphone audio signal acquisition, and then through the ld3320 voice chip spectrum analysis, key words in speech feature extraction, and the list of key words contrast matching, finally to find the highest score of the words as recognition results output to the MCU, MCU processing, then the output signal to control the relay, then through the relay to control of the switch, the switch can be to achieve control of the electric appliances. The function of the speech chip is realized by the MCU control. Control of the intelligent speech switch is realized finally. Key words : STC11L08XEMCU LD3320 voice chip Speech recognition III 目 錄 1 緒論 ................................................... 1 選題的目的及研究意義 ................................... 1 選題的發(fā)展現(xiàn)狀和趨勢 ................................... 1 設(shè)計的目的和任務(wù) ....................................... 3 2 系統(tǒng)方案選擇和論證 ...................................... 4 設(shè)計要求 .................................................. 4 方案選擇和論證 ............................................ 4 最佳主體方案 .............................................. 5 3 硬件設(shè)計及實現(xiàn) .......................................... 6 單片機(jī)電路設(shè)計 ......................................... 6 語音控制部分 .......................................... 8 復(fù)位電路 ............................................. 11 時鐘電路 ............................................. 12 繼電器電路概述 ........................................ 13 電路連接總圖 .......................................... 14 4 軟件設(shè)計 .............................................. 15 的軟件編程 ...................................... 15 寄存器的操作 ......................................... 16 寄存器功能簡介 ........................................ 18 芯片關(guān)鍵字的設(shè)置 ...................................... 19 語音開關(guān)源程序 ........................................ 19 單片機(jī) PC 端下載 .................................... 21 5 實物的制作和調(diào)試 ....................................... 22 板制圖步驟 ......................................... 22 IV 硬件電路板的制作 ...........