【正文】
電流監(jiān)視器采用MAXIM公司生產(chǎn)的電流/電壓轉(zhuǎn)換芯片MAX471。為了減少通信和供電之間的相互干擾,對扼流圈L、耦合電容C的選擇要綜合考慮,設(shè)載波頻率f0—400kHz,為了保證絕大部分信號能量傳輸?shù)浇邮斩?,取L33.7H,C1—0.047~F。單片機(jī)將每次開鎖操作和此時(shí)電磁執(zhí)行器的驅(qū)動(dòng)電流值作為狀態(tài)信息發(fā)送給智能監(jiān)控器,同時(shí)將接收的來自傳感器接口的報(bào)警信息也發(fā)送給智能監(jiān)控器,作為智能化分析的依據(jù)。SPCE061A單片機(jī)完成識(shí)別和顯示后,驅(qū)動(dòng)電磁執(zhí)行器實(shí)現(xiàn)開鎖功能,并檢測其驅(qū)動(dòng)電流值、接收傳感器送來的報(bào)警信號、發(fā)送數(shù)據(jù)等。本設(shè)計(jì)使用凌陽科技公司的SPR4096作為外擴(kuò)存儲(chǔ)器,與SPCE061A結(jié)合播放語音。識(shí)別具體按鍵的方法采用掃描法:逐個(gè)列置零電平,并檢查各行線電平的變化,如果某行電平由低電平變?yōu)楦唠娖?,則可確定此行此列交叉點(diǎn)處按鍵被按下。本設(shè)計(jì)采用具有鍵喚醒功能的IO的低8位IOA0~IOA7接44鍵盤作為控制輸入部分,從而可以合理利用硬件資源,且編程靈活。整個(gè)顯示過程中采用動(dòng)態(tài)顯示,即六位顯示器逐一輪流顯示,每位持續(xù)lms或10ms循環(huán)一遍,但刷新速度不要小于每秒三十幀,這樣,由于視覺暫留現(xiàn)象,看到的便是六位七段LED顯示器同時(shí)顯示。LED顯示器中每個(gè)發(fā)光二極管要通過5~20mA電流才能達(dá)到正常亮度,而SPCEO61A的IO口輸出電流可達(dá)到5mA,不用驅(qū)動(dòng)電路即可達(dá)到正常亮度。凌陽SPCE061A單片機(jī)具有音頻輸出功能的雙通道IO位D/A轉(zhuǎn)換器可 以完成用戶訓(xùn)練、識(shí)別等各種操作的語音提示。SPCE061A內(nèi)置8通道1O位模/數(shù)轉(zhuǎn)換器,其中7個(gè)通道用于將模擬信號(例如電壓信號)轉(zhuǎn)換為數(shù)字量信號,1個(gè)通道只用于語音輸入,即通過內(nèi)置自動(dòng)增益控制放大器的麥克風(fēng)通道(MIC—IN)輸入。語音電子密碼鎖系統(tǒng)的核心是說話人識(shí)別模塊。語音輸入由于受到外部環(huán)境的干擾,有可能出現(xiàn)錯(cuò)誤,但通過多次的訓(xùn)練可以使語音對比和識(shí)別有很大的提高。在識(shí)別時(shí),將待識(shí)別語音與說話人特征參數(shù)數(shù)據(jù)庫進(jìn)行匹配,完成語音識(shí)別以及鍵盤的控制,實(shí)現(xiàn)激活或解除鎖具,最終完成開鎖。系統(tǒng)主要由凌陽SPCE061A單片機(jī)、MIC輸入電路、語音輸出電路、44鍵盤、6位七段LED顯示、輸出控制及FLASH存儲(chǔ)器組成。 隨著人們生活水平的提高和安全意識(shí)的加強(qiáng),鎖具系統(tǒng)的安全性變得至關(guān)重要,于是出現(xiàn)了密碼鎖磁性鎖、電子鎖、激光鎖、聲控鎖等鎖具,它們是在傳統(tǒng)鑰匙的基礎(chǔ)上,利用一或多組密碼,不同聲音不同磁場,不同聲波,不同光束光波,不同圖像(如指紋、眼底視網(wǎng)膜等)等來控制鎖的開啟。語音識(shí)別并配合電子密碼鎖的普通鎖具功能,實(shí)現(xiàn)雙重安全保障作用。s online series Line programming. PROBE can work in Sunplus IDE Integrated Development Environmental software NSP (tm), with editing, pile, and link, debug and simulation capabilities. Use IDE friendly interface, the dropdown menu, shortcuts and quick access to the list can be ordered so that the user39。s personality parameters reference template.SCM SPCE061A plete identification and display, the drive to realize the implementation of the electromagnetic lock function, and to detect its drive current value, to receive 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 is not correct, allowing operators to reenter your password, can enter up to three If the three are not correct, the MCU through intelligent munication lines to monitor the police. SCM will unlock operation and each time the electromagnetic actuator drive current value as a status information sent to the smart monitor, will receive the report from the sensor interface information is also sent to the intelligent monitoring, as smart Analysis of the basis. In the transmitter, electronic locks through the pulse transformer T will modulation good boost after data signals sent out in the receiver, pulse transformer T will receive the data signal demodulator buck evacuation to reduce the carrier signal transmission In the process of wear and tear. In order to reduce munication and mutual interference between the power supply, chokes L, the choice of coupling capacitance C to prehensive considerations, shown in Figure 4, a carrier frequency f0400kHz, in order to ensure that most of the energy transmission signal to the receiver Duan, L for a H, ~ surveillance function is to prevent the destruction of munication lines and electromagnetic actuator, for some reason the flow of electromagnetic coil currents too large burning coil. Current Monitor by MAXIM pany39。 u39。s integrated development environment, Can easily plete the design of hardware and software programming, thus achieving the abovementioned functions. Voice electronic code lock system is the core of speech recognition module. SPCE061A is Sunplus has developed a very high price of the 16bit microcontroller, embedded 2 K word of SRAM and 32 K word FLASH, with 32 programmable multipurpose I / O ports include 7 Channel 1 OGeneral A / D converter, builtin microphone amplifier, AGC function of the single voice of A / D converter, and the audio output of the dualchannel 1 Obit D / A converter in the V ~ operating range of frequency range of MHz ~ , high processing speed enable it to easily and quickly handle plex digital signal。s voice through a microphone into the speaker voice signal acquisition frontend circuit, by voice signal processing circuit on the acquisition of the characteristics of voice signals and voice processing, from the speaker39。().[9] 李伯成 微型計(jì)算機(jī)原理與接口技術(shù)[M] 北京:清華大學(xué)出版社 2005年1月.[17] AT89S51 DATA SHEEP Philips SemiSonduStors [J]. 2009[18] AT89S51 DATA SHEEP Philips SemiSonduStors [J]. 2009[19] Texas Instruments InSorporated, AT89S51 Family User’s Guide.[20] Voice of Electronic Passwordlock Design, China Control Net ,2008[21] Design Serial Infrared PhysiSalL ayer SpeSifiSation, Version . Ostober 15,1998附錄A 外文資料翻譯Voice of Electronic Passwordlock DesignThe design is the use 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, 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. As people39。 最后,對朱亞利老師的指導(dǎo)和幫助表示由衷的感謝,對給予我關(guān)心和幫助的同學(xué)和老師,請接收我誠摯的謝意! 參考文獻(xiàn)[1](第二版)[M].西安:西安電子科技大學(xué)出版社,2011.[2](第三版)[M].北京:清華大學(xué)出版社,2005.[3](第五版)[M].北京:高等教育出版社,1983.[4]童詩白,(第四版)[M].北京:高等教育出版社,2007.[5][M].西安:西安電子科技大學(xué)出版社,2007.[6](第三版)[M].西安:西安電子科技大學(xué),2007.[7][J/OL].2011.[8]常用電子元器件簡明手冊[M].沈任元、吳 勇 編著。關(guān)注我設(shè)計(jì)的進(jìn)程對于我遇到的設(shè)計(jì)方面的困難給以專業(yè)知識(shí)方面的講解和指導(dǎo)。具體實(shí)現(xiàn)過程如下:,當(dāng)輸入正確。 | 圖 顯示電路 開鎖電路通過單片機(jī)開鎖執(zhí)行機(jī)構(gòu),電路驅(qū)動(dòng)電磁鎖吸合,從而達(dá)到開鎖的目的,當(dāng)用戶輸入的密碼正確時(shí),單片機(jī)便輸出開門信號,送到開鎖驅(qū)動(dòng)電路,然后驅(qū)動(dòng)電磁鎖,達(dá)到開門的目的。同理只有按下關(guān)閉按鍵后顯示器才處于關(guān)閉狀態(tài)。本設(shè)計(jì)的顯示部分由液晶顯示器LCD1602取代普通的數(shù)碼管來完成。根據(jù)高電平出現(xiàn)時(shí)間長短完成不同的提示功能。然后啟動(dòng)程序,進(jìn)行保護(hù),再次在鍵盤上輸入密碼,系統(tǒng)進(jìn)行掃描,如果和之前一樣,則執(zhí)行相同程序,如不是,則執(zhí)行另一種程序。 入口 將數(shù)據(jù)緩存區(qū)取反發(fā)送完8位數(shù)據(jù)?是數(shù)據(jù)0?調(diào)數(shù)據(jù)0的模塊發(fā)射起始位從數(shù)據(jù)緩存區(qū)取一字節(jié)的數(shù)據(jù) 從高位取一位數(shù)