2023年全國(guó)碩士研究生考試考研英語(yǔ)一試題真題(含答案詳解+作文范文)_第1頁(yè)
已閱讀1頁(yè),還剩9頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、<p><b>  畢業(yè)設(shè)計(jì)(論文)</b></p><p><b>  外文翻譯</b></p><p>  學(xué)生姓名: </p><p>  院(系): 機(jī) 電 信 息 學(xué) 院 </p><p>  專業(yè)班級(jí):電氣工程及其自動(dòng)化0

2、804</p><p>  指導(dǎo)教師: </p><p>  完成日期: 2011年12月15日 </p><p>  Voice of Electronic Password-lock Design</p><p>  Abstract: The design is the use

3、of voice recognition technology and keyboard input, Sunplus SPCE061A SCM in achieving a voice electronic password lock authentication system.Voice recognition and electronic password lock function of the ordinary locks,

4、and dual role of security. The password lock safe, effective, reliable, but also has voice recognition, password Preferences, confidentiality strong, tips and other features of error. Key words: SPCE061A; voice recogn

5、ition, electronic password</p><p>  1 Introduction As people's living standards improve and strengthen the sense of security, safety locks system becomes essential, therefore a password lock, magnet

6、ic locks, electronic locks, laser lock, voice-activated lock locks, etc., they are On the basis of traditional keys, using one or more passwords, different voices, different magnetic field, different sound, different lig

7、ht beams of different images (such as fingerprints, retina retina, etc.) to control open the lock. In this paper,</p><p>  2 voice electronic password-lock system This system is mainly composed of Sunp

8、lus SPCE061A SCM, MIC input circuit, voice output circuit, 4 × 4 keyboard, six Qiduan LED display and output control and FLASH memory components. System is the main function: the training, the speaker's voice th

9、rough a microphone into the speaker voice signal acquisition front-end circuit, by voice signal processing circuit on the acquisition of the characteristics of voice signals and voice processing, from the </p><

10、;p>  Voice entry due to the interference of external environment, it is possible errors, but through a number of training can make comparison and identification of voice greatly improved</p><p>  3 syste

11、m hardware design The system using a single kernel of Sunplus SPCE061A, the chip has ADC, DAC, timer / counter, RAM, FLASH, and other devices, coupled with appropriate external circuit and supporting Sunplus compan

12、y's integrated development environment, Can easily complete the design of hardware and software programming, thus achieving the above-mentioned functions. Voice electronic code lock system is the core of speech recog

13、nition module.</p><p>  SPCE061A is Sunplus has developed a very high price of the 16-bit microcontroller, embedded 2 K word of SRAM and 32 K word FLASH, with 32 programmable multi-purpose I / O ports includ

14、e 7 Channel 1 O-General A / D converter, built-in microphone amplifier, AGC AGC function of the single voice of A / D converter, and the audio output of the dual-channel 1 O-bit D / A converter in the 2.6 V ~ - 3.6V oper

15、ating range of frequency range of 0.32 MHz ~ - 49.152Mhz, high processing speed enable it to easi</p><p>  3.1 voice input circuit SPCE061A built-in 8-channel 1 O-bit A / D converter, which will be seve

16、n channels for analog signals (such as voltage signal) converted to digital signals, a channel used only for voice input, through the built-in automatic gain control amplifier The microphone channels (MIC-IN) input. Ther

17、efore, it can be directly given to the voice signal input channels, the completion of 8 kHz voice signals in the collection, encoding and storage to off-chip FLASH, simplifying the</p><p>  3.2 audio output

18、circuit Sunplus SPCE061A MCU with audio output of dual-channel 1 O-bit D / A converters can complete user training, identification of various operations, such as the voice prompts. SPCE061A provide audio lose A way

19、 for the dual-channel DAC, in this manner, DAC1 and DAC2 conversion of analog current output signal passed AUD1 and AUD2-pin output, enter the number of volume into the P-DAC1 (write) (0 x7017) and P - DAC2 (write) (0 x7

20、016) unit.</p><p>  3.3 six Qiduan display of digital circuits LED displays in each LED through 5 ~ 20mA current to achieve the normal brightness, and the IO I SPCEO61A output current up to 5 mA, do not

21、 have to drive circuit to reach normal brightness. In order to meet the reliability of systems design, driven by a transistor circuit. The whole process showed that the use of dynamic, that is, six monitors each cycle, e

22、ach sustained lms or 10 ms cycle again, can also be appropriate to make changes, but the refr</p><p>  3.4 Matrix keyboard scan circuit Enter key part of a total of the number keys, passwords, keys set,

23、 the key shown password, to confirm removal of keys and passwords, and other key 16 keys, enter your password and for the realization of function keys. This design uses a wake-up function keys of the IO low eight IOA0 -

24、~ IOA7 to 4 × 4 as the control input of the keyboard, which can be rational use of hardware resources and programming flexibility. Recognition keyboard keys are pressed whether</p><p>  3.5 FLASH expans

25、ion of external circuit SPCEO61A FLASH memory chip of only 32 K, large number of players in the voice of resources needs of expanding memory. The design Sunplus Technology, Inc., SPR4096 as a memory expansion, combi

26、ned with SPCE061A broadcast voice. SPR4096 in use, the use of SPR4096 ResWriter to read and write operation, used to store the speaker's personality parameters reference template.</p><p>  3.6 the lock

27、and lift activation</p><p>  SCM SPCE061A complete identification and display, the drive to realize the implementation of the electromagnetic lock function, and to detect its drive current value, to receive

28、alarm signals sent by sensors, such as sending data. SCM receive the type code, and stored in FLASH in the password, if the correct password, the drive for the implementation of the electromagnetic lock, if your password

29、 is not correct, allowing operators to re-enter your password, can enter up to three If the three are </p><p>  Current surveillance function is to prevent the destruction of communication lines and electrom

30、agnetic actuator, for some reason the flow of electromagnetic coil currents too large burning coil. Current Monitor by MAXIM company's current / voltage converter chip MAX471. The chip can be measured current I into

31、pairs to the output voltage U, and is measured Wai, high precision, and U output voltage proportional to the measured current I characteristics. Current monitor output voltage service A / D</p><p>  4 syste

32、m software design</p><p>  SPCE061A the development of online debugger PROBE To achieve. It uses a built-in online SPCE061 Circuit Simulation ICE (In-Circuit Emulator) and Sunplus's online series Line pr

33、ogramming. PROBE can work in Sunplus IDE Integrated Development Environmental software nSP (tm), with editing, compile, link, debug and simulation capabilities. Use IDE friendly interface, the drop-down menu, shortcuts a

34、nd quick access to the list can be ordered so that the user's programming and commissioning work more co</p><p>  5 Conclusion</p><p>  The system uses a SPCE061A 16-bit microcontrollers em

35、bedded voice processing and control system, easy to use, easy to use, but the speech recognition capabilities have yet to be improved. Electronic password lock technology development so far, has been widely used in highe

36、r property security areas as information technology and computer technology and the constant development, voice, electronic password lock technology will have greater development and, ultimately, achieving efficiency, sa

37、fety An</p><p>  語(yǔ)音電子密碼鎖的設(shè)計(jì)</p><p><b>  摘要:</b></p><p>  本設(shè)計(jì)是采用語(yǔ)音識(shí)別技術(shù)加鍵盤(pán)控制輸入,在凌陽(yáng)SPCE061A單片機(jī)上實(shí)現(xiàn)的一種語(yǔ)音電子密碼鎖認(rèn)證系統(tǒng)。語(yǔ)音識(shí)別并配合電子密碼鎖的普通鎖具功能,實(shí)現(xiàn)雙重安全保障作用。該密碼鎖安全、有效、可靠,而且具有語(yǔ)音識(shí)別、密碼預(yù)置、保密

38、性強(qiáng)誤碼提示等特點(diǎn)。 </p><p>  關(guān)鍵詞:SPCE061A;語(yǔ)音識(shí)別;電子密碼鎖;FLASH</p><p><b>  1 引言 </b></p><p>  隨著人們生活水平的提高和安全意識(shí)的加強(qiáng),鎖具系統(tǒng)的安全性變得至關(guān)重要,于是出現(xiàn)了密碼鎖磁性鎖、電子鎖、激光鎖、聲控鎖等等鎖具,它們是在傳統(tǒng)鑰匙的基礎(chǔ)上,利用一或多組密碼,不

39、同聲音不同磁場(chǎng),不同聲波,不同光束光波,不同圖像(如指紋、眼底視網(wǎng)膜等)等來(lái)控制鎖的開(kāi)啟。本文采用語(yǔ)音識(shí)別技術(shù)和鍵盤(pán)控制輸入相結(jié)合,在凌陽(yáng)SPCE061A單片機(jī)上實(shí)現(xiàn)一種語(yǔ)音電子密碼鎖認(rèn)證系統(tǒng)。</p><p>  2 語(yǔ)音電子密碼鎖的系統(tǒng)功能</p><p>  本系統(tǒng)主要由凌陽(yáng)SPCE061A單片機(jī)、MIC輸入電路、語(yǔ)音輸出電路、4×4鍵盤(pán)、6位七段LED顯示、輸出控制及F

40、LASH存儲(chǔ)器組成。系統(tǒng)主要的功能是:在訓(xùn)練時(shí),說(shuō)話人的聲音通過(guò)麥克風(fēng)進(jìn)入說(shuō)話人語(yǔ)音信號(hào)采集前端電路,由語(yǔ)音信號(hào)處理電路對(duì)采集的語(yǔ)音信號(hào)進(jìn)行特征化和語(yǔ)音處理,提取說(shuō)話人的個(gè)性特征參數(shù)并進(jìn)行存儲(chǔ),形成說(shuō)話人特征參數(shù)數(shù)據(jù)庫(kù)。在識(shí)別時(shí),將待識(shí)別語(yǔ)音與說(shuō)話人特征參數(shù)數(shù)據(jù)庫(kù)進(jìn)行匹配,完成語(yǔ)音識(shí)別以及鍵盤(pán)的控制,實(shí)現(xiàn)激活或解除鎖具,最終完成開(kāi)鎖。系統(tǒng)是依靠硬件和軟件地密切配合,由凌陽(yáng)SPCE061A單片機(jī)的靈活控制實(shí)現(xiàn)的。語(yǔ)音輸入由于受到外部環(huán)境的

41、干擾,有可能出現(xiàn)錯(cuò)誤,但通過(guò)多次的訓(xùn)練可以使語(yǔ)音對(duì)比和識(shí)別有很大的提高。</p><p>  3 系統(tǒng)硬件的設(shè)計(jì) </p><p>  本系統(tǒng)采用具有內(nèi)核的凌陽(yáng)SPCE061A單片機(jī),該芯片內(nèi)有ADC、DAC、定時(shí)器/計(jì)數(shù)器、RAM、FLASH等器件,加上適當(dāng)?shù)耐鈬娐放c配套的凌陽(yáng)公司的集成開(kāi)發(fā)環(huán)境,可以很方便地完成硬件設(shè)計(jì)和軟件編程,從而實(shí)現(xiàn)上述功能。語(yǔ)音電子密碼鎖系統(tǒng)的核心是說(shuō)話人識(shí)

42、別模塊。SPCE061A是凌陽(yáng)公司開(kāi)發(fā)的一種性價(jià)比非常高的16位單片機(jī),內(nèi)嵌2K字的SRAM和32K字的FLASH,具有32位可編程的多功能I/O端口;包含有7通道1O位通用A/D轉(zhuǎn)換器、內(nèi)置麥克風(fēng)放大器、自動(dòng)增益控制AGC功能的單通道聲音A/D轉(zhuǎn)換器,以及具有音頻輸出功能的雙通道1O位D/A轉(zhuǎn)換器;在2.6V~3.6V工作電壓范圍內(nèi),工作頻率范圍為0.32MHz~49.152Mhz,較高的處理速度使其能夠非常容易、快速地處理復(fù)雜的數(shù)字

43、信號(hào);中斷系統(tǒng)支持1O個(gè)中斷向量以及l(fā)4個(gè)可來(lái)自系統(tǒng)時(shí)鐘、定時(shí)器/計(jì)數(shù)器、時(shí)間基準(zhǔn)發(fā)生器、外部中斷、鍵喚醒、通用異步串行通信及軟件中斷的中斷源,非常適合實(shí)時(shí)應(yīng)用領(lǐng)域;U’nSPTM的指令系統(tǒng)還提供具有較高運(yùn)算速度的16位×16位的乘法運(yùn)算指令和內(nèi)積運(yùn)算指令,為其應(yīng)用增添了DSP功能,在復(fù)雜的數(shù)字信號(hào)處理方</p><p>  3.1 語(yǔ)音輸人電路 </p><p>  SPCE

44、061A內(nèi)置8通道1O位模/數(shù)轉(zhuǎn)換器,其中7個(gè)通道用于將模擬信號(hào)(例如電壓信號(hào))轉(zhuǎn)換為數(shù)字量信號(hào),1個(gè)通道只用于語(yǔ)音輸入,即通過(guò)內(nèi)置自動(dòng)增益控制放大器的麥克風(fēng)通道(MIC—IN)輸入。因此,可以直接將語(yǔ)音信號(hào)送給此輸入通道,完成8kHz語(yǔ)音信號(hào)的采集、編碼并存儲(chǔ)到片外FLASH中,簡(jiǎn)化了電路設(shè)計(jì)。</p><p>  3.2 音頻輸出電路 </p><p>  凌陽(yáng)SPCE061A單片機(jī)

45、具有音頻輸出功能的雙通道1O位D/A轉(zhuǎn)換器可 以完成用戶訓(xùn)練、識(shí)別等各種操作的語(yǔ)音提示。SPCE061A提供的音頻輸出方式為雙通道DAC方式,在此方式下,DAC1和DAC2轉(zhuǎn)換輸出的模擬量電流信號(hào)分別通過(guò)AUD1和AUD2引腳輸出,輸入的字量分別寫(xiě)入P—DAC1(寫(xiě))(0x7017)和P—DAC2(寫(xiě))(0x7016)單元。</p><p>  3.3 六位七段數(shù)碼管顯示電路 </p><p

46、>  LED顯示器中每個(gè)發(fā)光二極管要通過(guò)5~20mA電流才能達(dá)到正常亮度,而SPCEO61A的IO口輸出電流可達(dá)到5mA,不用驅(qū)動(dòng)電路即可達(dá)到正常亮度。系統(tǒng)為了滿足可靠性設(shè)計(jì),采用晶體管構(gòu)成驅(qū)動(dòng)電路。整個(gè)顯示過(guò)程中采用動(dòng)態(tài)顯示,即六位顯示器逐一輪流顯示,每位持續(xù)lms或10ms循環(huán)一遍,也可以適當(dāng)進(jìn)行更改,但刷新速度不要小于每秒三十幀,這樣,由于視覺(jué)暫留現(xiàn)象,看到的便是六位七段LED顯示器同時(shí)顯示。</p><

47、p>  3.4 矩陣式鍵盤(pán)掃描電路 </p><p>  按鍵輸入部分共有數(shù)字鍵、密碼設(shè)定鍵、密碼顯示鍵、確認(rèn)鍵和密碼清除鍵等16個(gè)按鍵,用于密碼輸入和功能按鍵的實(shí)現(xiàn)。本設(shè)計(jì)采用具有鍵喚醒功能的IO的低8位IOA0--~IOA7接4×4鍵盤(pán)作為控制輸入部分,從而可以合理利用硬件資源,且編程靈活。識(shí)別鍵盤(pán)有無(wú)鍵被按下的方法是:讓所有列線均為低電平,檢查各行線電平是否有高電平,如果有則說(shuō)明有鍵被按下

48、;如果沒(méi)有,則說(shuō)明無(wú)鍵被按下(實(shí)際編程時(shí)應(yīng)考慮按鍵抖動(dòng)的影響,通??偸遣捎密浖訒r(shí)的方法進(jìn)行消抖處理)。識(shí)別具體按鍵的方法采用掃描法:逐個(gè)列置零電平,并檢查各行線電平的變化,如果某行電平由低電平變?yōu)楦唠娖?,則可確定此行此列交叉點(diǎn)處按鍵被按下。</p><p>  3.5 外部FLASH擴(kuò)展電路 </p><p>  SPCEO61A片內(nèi)的FLASH存儲(chǔ)器只有32K,在播放大量語(yǔ)音資源時(shí)需

49、要外擴(kuò)存儲(chǔ)器。本設(shè)計(jì)使用凌陽(yáng)科技公司的SPR4096作為外擴(kuò)存儲(chǔ)器,與SPCE061A結(jié)合播放語(yǔ)音。在使用SPR4096時(shí),采用ResWriter對(duì)SPR4096進(jìn)行讀寫(xiě)操作,用于存儲(chǔ)說(shuō)話人的個(gè)性特征參數(shù)參考模板。</p><p>  3.6 電鎖的激活與解除 </p><p>  SPCE061A單片機(jī)完成識(shí)別和顯示后,驅(qū)動(dòng)電磁執(zhí)行器實(shí)現(xiàn)開(kāi)鎖功能,并檢測(cè)其驅(qū)動(dòng)電流值、接收傳感器送來(lái)的報(bào)

50、警信號(hào)、發(fā)送數(shù)據(jù)等。單片機(jī)接收鍵入的代碼,并與存貯在FLASH中的密碼進(jìn)行比較,如果密碼正確,則驅(qū)動(dòng)電磁執(zhí)行器開(kāi)鎖;如果密碼不正確,則允許操作人員重新輸入密碼,最多可輸入三次;如果三次都不正確,則單片機(jī)通過(guò)通信線路向智能監(jiān)控器報(bào)警。單片機(jī)將每次開(kāi)鎖操作和此時(shí)電磁執(zhí)行器的驅(qū)動(dòng)電流值作為狀態(tài)信息發(fā)送給智能監(jiān)控器,同時(shí)將接收的來(lái)自傳感器接口的報(bào)警信息也發(fā)送給智能監(jiān)控器,作為智能化分析的依據(jù)。在發(fā)送端,電子鎖具通過(guò)脈沖變壓器T將調(diào)制好的數(shù)據(jù)信號(hào)

51、升壓后發(fā)送出去;在接收端,脈沖變壓器T將接收到的數(shù)據(jù)信號(hào)降壓后送解調(diào)器,以減少載波信號(hào)在傳輸過(guò)程中的損耗。為了減少通信和供電之間的相互干擾,對(duì)扼流圈L、耦合電容C的選擇要綜合考慮,設(shè)載波頻率f0—400kHz,為了保證絕大部分信號(hào)能量傳輸?shù)浇邮斩?,取L一33.7H,C1—0.047~F。電流監(jiān)視功能是為了防止通信線路的人為破壞和電磁執(zhí)行器因某種原因造成流過(guò)電磁線圈的電流過(guò)大而燒毀線圈。電流監(jiān)視器采用MAXIM公司生產(chǎn)的電流/電壓轉(zhuǎn)換芯片

52、MAX471。</p><p>  4 系統(tǒng)軟件設(shè)計(jì) </p><p>  SPCE061A的開(kāi)發(fā)可通過(guò)在線調(diào)試器PROBE來(lái)實(shí)現(xiàn)。它利用了SPCE061內(nèi)置的在線仿真電路ICE(In—Circuit Emulator)和凌陽(yáng)公司的在線串行編程技術(shù)。PROBE可工作于凌陽(yáng)IDE集成開(kāi)發(fā)環(huán)境軟件 nSP(tm)下,具有編輯、編譯、鏈接、調(diào)試以及仿真等功能。利用IDE友好的交互界面、下拉菜單

53、、快捷鍵和快速訪問(wèn)命令列表可以使用戶的編程、調(diào)試工作更加方便和高效。此外,IDE的軟件仿真功能可以在不連接仿真板的情況下模擬硬件的各項(xiàng)功能來(lái)調(diào)試程序。當(dāng)系統(tǒng)工作時(shí),在主函數(shù)中調(diào)用相關(guān)函數(shù)完成特定人語(yǔ)音的訓(xùn)練,訓(xùn)練成功后再進(jìn)行語(yǔ)音識(shí)別,根據(jù)識(shí)別的命令執(zhí)行鍵盤(pán)控制操作,根據(jù)各功能鍵的不同,執(zhí)行相應(yīng)的程序,完成對(duì)密碼的修改、設(shè)置、對(duì)比、顯示等功能。</p><p><b>  5 結(jié)論 </b>&

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 眾賞文庫(kù)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論