




版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
VoiceofElectronicPassword-lockDesign(RIV9.PCW0RLD.COM/JUNE2006)Abstract:Thedesignistheuseofvoicerecognitiontechnologyandkeyboardinput,SunplusSPCE061ASCMinachievingavoiceelectronicpasswordlockauthenticationsystem.Voicerecognitionandelectronicpasswordlockfunctionoftheordinarylocks,anddualroleofsecurity.Thepasswordlocksafe,effective,reliable,butalsohasvoicerecognition,passwordPreferences,confidentialitystrong,tipsandotherfeaturesoferror.Keywords:SPCE061A;voicerecognition,electronicpasswordlock;FLASH1IntroductionAspeople'slivingstandardsimproveandstrengthenthesenseofsecurity,safetylockssystembecomesessential,thereforeapasswordlock,magneticlocks,electroniclocks,laserlock,voice-activatedlocklocks,etc.,theyareOnthebasisoftraditionalkeys,usingoneormorepasswords,differentvoices,differentmagneticfield,differentsound,differentlightbeamsofdifferentimages(suchasfingerprints,retinaretina,etc.)tocontrolopenthelock.Inthispaper,usingspeechrecognitiontechnologyandkeyboardtocontroltheimportationoftheintegrationofSCMinSunplusSPCE061Aachieveavoiceontheelectroniccertificationsystempasswordlock.2voiceelectronicpassword-locksystemThissystemismainlycomposedofSunplusSPCE061ASCM,MICinputcircuit,voiceoutputcircuit,4x4keyboard,sixQiduanLEDdisplayandoutputcontrolandFLASHmemorycomponents.Systemisthemainfunction:thetraining,thespeaker'svoicethroughamicrophoneintothespeakervoicesignalacquisitionfront-endcircuit,byvoicesignalprocessingcircuitontheacquisitionofthecharacteristicsofvoicesignalsandvoiceprocessing,fromthespeaker'spersonalitycharacteristicsandparametersStore,aspeakerparametersdatabase.Inrecognition,willbevoicerecognitionandspeakerparametersdatabasematching,voicerecognitionandcompletecontrolofthekeyboard,andactivateorreleaseoflocks,thefinalcompletionofthelock.SystemisrelyingonhardwareandsoftwaretocloselycooperatewiththeSunplusSPCE061ASCMflexiblecontrolachieved.Voiceentryduetotheinterferenceofexternalenvironment,itispossibleerrors,butthroughanumberoftrainingcanmakecomparisonandidentificationofvoicegreatlyimproved3systemhardwaredesignThesystemusingasinglekernelofSunplusSPCE061A,thechiphasADC,DAC,timer/counter,RAM,FLASH,andotherdevices,coupledwithappropriateexternalcircuitandsupportingSunpluscompany'sintegrateddevelopmentenvironment,Caneasilycompletethedesignofhardwareandsoftwareprogramming,thusachievingtheabove-mentionedfunctions.Voiceelectroniccodelocksystemisthecoreofspeechrecognitionmodule.SPCE061AisSunplushasdevelopedaveryhighpriceofthe16-bitmicrocontroller,embedded2KwordofSRAMand32KwordFLASH,with32programmablemulti-purposeI/Oportsinclude7Channel1O-GeneralA/Dconverter,built-inmicrophoneamplifier,AGCAGCfunctionofthesinglevoiceofA/Dconverter,andtheaudiooutputofthedual-channel1O-bitD/Aconverterinthe2.6V~-3.6Voperatingrangeoffrequencyrangeof0.32MHz~-49.152Mhz,highprocessingspeedenableittoeasilyandquicklyhandlecomplexdigitalsignal;suspensionsystemtosupport1OinterruptvectorAndl4fromthesystemcanbeaclock,timer/counter,timebenchmarkgenerator,externalinterrupt,keywake-upcall,UniversalAsynchronousserialcommunicationandsoftwareinterruptioninterruptsource,Verysuitableforreal-timeapplications;u'nSPTMcommandsystemalsoprovideshighcomputingspeedof16x16-bitmultiplicationinstructionsanddirectiveswithintheplotoperation,theDSPfortheapplicationofadditionalfeaturesinacomplexdigitalsignalprocessingbothVeryconvenientthantheDSPchipformuchcheaper.3.1voiceinputcircuitSPCE061Abuilt-in8-channel1O-bitA/Dconverter,whichwillbesevenchannelsforanalogsignals(suchasvoltagesignal)convertedtodigitalsignals,achannelusedonlyforvoiceinput,throughthebuilt-inautomaticgaincontrolamplifierThemicrophonechannels(MIC-IN)input.Therefore,itcanbedirectlygiventothevoicesignalinputchannels,thecompletionof8kHzvoicesignalsinthecollection,encodingandstoragetooff-chipFLASH,simplifyingthecircuitdesign.3.2audiooutputcircuitSunplusSPCE061AMCUwithaudiooutputofdual-channel1O-bitD/AT ? ? ?T ? ? ? Tconverterscancompleteusertraining,identificationofvariousoperations,suchasthevoiceprompts.SPCE061AprovideaudioloseAwayforthedual-channelDAC,inthismanner,DAC1andDAC2conversionofanalogcurrentoutputsignalpassedAUD1andAUD2-pinoutput,enterthenumberofvolumeintotheP-DAC1(write)(0x7017)andP-DAC2(write)(0x7016)unit.3.3sixQiduandisplayofdigitalcircuitsLEDdisplaysineachLEDthrough5~20mAcurrenttoachievethenormalbrightness,andtheIOISPCEO61Aoutputcurrentupto5mA,donothavetodrivecircuittoreachnormalbrightness.Inordertomeetthereliabilityofsystemsdesign,drivenbyatransistorcircuit.Thewholeprocessshowedthattheuseofdynamic,thatis,sixmonitorseachcycle,eachsustainedlmsor10mscycleagain,canalsobeappropriatetomakechanges,buttherefreshratenotlessthan30persecond,sothattemporarystaybecauseofthevisualphenomenon,IssixQiduanseetheLEDdisplayatthesametimeshow.3.4MatrixkeyboardscancircuitEnterkeypartofatotalofthenumberkeys,passwords,keysset,thekeyshownpassword,toconfirmremovalofkeysandpasswords,andotherkey16keys,enteryourpasswordandfortherealizationoffunctionkeys.Thisdesignusesawake-upfunctionkeysoftheIOloweightIOAO-?IOA7to4x4asthecontrolinputofthekeyboard,whichcanberationaluseofhardwareresourcesandprogrammingflexibility.Recognitionkeyboardkeysarepressedwhetherthemethodis:Letalloutlinesarelow,checkthetrafficonwhetherthereisahigh-level,ifthereisastatementthatakeyispressed,ifnot,thennokeysarepressed(Actualprogrammingkeysshouldbetakenintoaccounttheimpactofjitter,usuallyalwaysusethesoftwaredelayprocessingmethodsConsumersbuffeting).Identifyspecifickeysusedscanningmethod:home-by-zeroleveloutandcheckthelevelofthecarriagewayofthechanges,ifalinefromthelowlevelintoahigh,thistripcanbesurethiscolumncross-pointButtonispressed.3.5FLASHexpansionofexternalcircuitSPCEO61AFLASHmemorychipofonly32K,largenumberofplayersinthevoiceofresourcesneedsofexpandingmemory.ThedesignSunplusTechnology,Inc.,SPR4096asamemoryexpansion,combinedwithSPCE061Abroadcastvoice.SPR4096inuse,theuseofSPR4096ResWritertoreadandwriteoperation,usedtostorethespeaker'spersonalityparametersreferencetemplate.3.6thelockandliftactivationSCMSPCE061Acompleteidentificationanddisplay,thedrivetorealizetheimplementationoftheelectromagneticlockfunction,andtodetectitsdrivecurrentvalue,toreceivealarmsignalssentbysensors,suchassendingdata.SCMreceivethetypecode,andstoredinFLASHinthepassword,ifthecorrectpassword,thedrivefortheimplementationoftheelectromagneticlock,ifyourpasswordisnotcorrect,allowingoperatorstore-enteryourpassword,canenteruptothreeIfthethreearenotcorrect,theMCUthroughintelligentcommunicationlinestomonitorthepolice.SCMwillunlockoperationandeachtimetheelectromagneticactuatordrivecurrentvalueasastatusinformationsenttothesmartmonitor,willreceivethereportfromthesensorinterfaceinformationisalsosenttotheintelligentmonitoring,assmartAnalysisofthebasis.Inthetransmitter,electroniclocksthroughthepulsetransformerTwillmodulationgoodboostafterdatasignalssentoutinthereceiver,pulsetransformerTwillreceivethedatasignaldemodulatorbuckevacuationtoreducethecarriersignaltransmissionIntheprocessofwearandtear.Inordertoreducecommunicationandmutualinterferencebetweenthepowersupply,chokesL,thechoiceofcouplingcapacitanceCtocomprehensiveconsiderations,showninFigure4,acarrierfrequencyf0-400kHz,inordertoensurethatmostoftheenergytransmissionsignaltothereceiverDuan,Lfora33.7H,C1-0.047~F.Currentsurveillancefunctionistopreventthedestructionofcommunicationlinesandelectromagneticactuator,forsomereasontheflowofelectromagneticcoilcurrentstoolargeburningcoil.CurrentMonitorbyMAXIMcompany'scurrent/voltageconverterchipMAX471.ThechipcanbemeasuredcurrentIintopairstotheoutputvoltageU,andismeasuredWai,highprecision,andUoutputvoltageproportionaltothemeasuredcurrentIcharacteristics.CurrentmonitoroutputvoltageserviceA/Dconverter,readthroughthesingleA/Dconverterresultsinthecurrentlinewasinformedofthesituation,throughthetimelydetectionofabnormal,issueditsreport.4systemsoftwaredesignSPCE061AthedevelopmentofonlinedebuggerPROBEToachieve.Itusesabuilt-inonlineSPCE061CircuitSimulationICE(In-CircuitEmulator)andSunplus'sonlineseriesLineprogramming.PROBEcanworkinSunplusIDEIntegratedDevelopmentEnvironmentalsoftwarenSP(tm),withediting,compile,link,debugandsimulationcapabilities.UseIDEfriendlyinterface,thedrop-downmenu,shortcutsandquickaccesstothelistcanbeorderedsothattheuser'sprogrammingandcommissioningworkmoreconvenientandefficient.Inaddition,IDEsoftwaresimulationcannotconnectthesimulationboardunderthesimulatedconditionsofthevariousfunctionstothehardwaredebugger.Whenthesystemwork,themainfunctionofthecalltocompleteaspecificfunctionofthehumanvoicetraining,trainingforthefuturesuccessofvoicerecognition,accordingtotheordertoidentifytheimplementationofthekeyboardcontroloperation,accordingtothedifferentfunctionkeys,theimplementationofthecorrespondingprocedures,tocompletePasswordchangessettings,contrast,shows,andotherfunctions.5ConclusionThesystemusesaSPCE061A16-bitmicrocontrollersembeddedvoiceprocessingandcontrolsystem,easytouse,easytouse,butthespeechrecognitioncapabilitieshaveyettobeimproved.Electronicpasswordlocktechnologydevelopmentsofar,hasbeenwidelyusedinhigherpropertysecurityareasasinformationtechnologyandcomputertechnologyandtheconstantdevelopment,voice,electronicpasswordlocktechnologywillhavegreaterdevelopmentand,ultimately,achievingefficiency,safetyAndreliableVoiceprintcontrolofthevoiceofelectroniclocks.語(yǔ)音電子密碼鎖的設(shè)計(jì)摘要:關(guān)鍵詞:本設(shè)計(jì)是采用語(yǔ)音識(shí)別技術(shù)加鍵盤控制輸入,在凌陽(yáng)SPCE061A單片機(jī)上實(shí)現(xiàn)的一種語(yǔ)音電子密碼鎖認(rèn)證系統(tǒng)。語(yǔ)音識(shí)別并配合電子密碼鎖的普通鎖具功能,實(shí)現(xiàn)雙重安全保障作用。該密碼鎖安全、有效、可靠,而且具有語(yǔ)音識(shí)別、密碼預(yù)置、保密性強(qiáng)誤碼提示等特點(diǎn)。關(guān)鍵詞:SPCE061A;語(yǔ)音識(shí)別;電子密碼鎖;FLASH1引言隨著人們生活水平的提高和安全意識(shí)的加強(qiáng),鎖具系統(tǒng)的安全性變得至關(guān)重要,于是出現(xiàn)了密碼鎖磁性鎖、電子鎖、激光鎖、聲控鎖等等鎖具,它們是在傳統(tǒng)鑰匙的基礎(chǔ)上,利用一或多組密碼,不同聲音不同磁場(chǎng),不同聲波,不同光束光波,不同圖像(如指紋、眼底視網(wǎng)膜等)等來(lái)控制鎖的開(kāi)啟。本文采用語(yǔ)音識(shí)別技術(shù)和鍵盤控制輸入相結(jié)合,在凌陽(yáng)SPCE061A單片機(jī)上實(shí)現(xiàn)一種語(yǔ)音電子密碼鎖認(rèn)證系統(tǒng)。語(yǔ)音電子密碼鎖的系統(tǒng)功能本系統(tǒng)主要由凌陽(yáng)SPCE061A單片機(jī)、MIC輸入電路、語(yǔ)音輸出電路、4X4鍵盤、6位七段LED顯示、輸出控制及FLASH存儲(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í)別以及鍵盤的控制,實(shí)現(xiàn)激活或解除鎖具,最終完成開(kāi)鎖。系統(tǒng)是依靠硬件和軟件地密切配合,由凌陽(yáng)SPCE061A單片機(jī)的靈活控制實(shí)現(xiàn)的。語(yǔ)音輸入由于受到外部環(huán)境的干擾,有可能出現(xiàn)錯(cuò)誤,但通過(guò)多次的訓(xùn)練可以使語(yǔ)音對(duì)比和識(shí)別有很大的提高。系統(tǒng)硬件的設(shè)計(jì)本系統(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í)別模塊°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ù)字信號(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位X16位的乘法運(yùn)算指令和內(nèi)積運(yùn)算指令,為其應(yīng)用增添了DSP功能,在復(fù)雜的數(shù)字信號(hào)處理方面既非常便利,又比專用的DSP芯片便宜得多。語(yǔ)音輸人電路SPCE061A內(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ì)。音頻輸出電路凌陽(yáng)SPCE061A單片機(jī)具有音頻輸出功能的雙通道1O位D/A轉(zhuǎn)換器可以完成用戶訓(xùn)練、識(shí)別等各種操作的語(yǔ)音提示。SPCE061A提供的音頻輸出方式為雙通道DAC方式,在此方式下,DAC1和DAC2轉(zhuǎn)換輸出的模擬量電流信號(hào)分別通過(guò)AUD1和AUD2引腳輸出,輸入的字量分別寫入P—DAC1(寫)(0x7017)和P—DAC2(寫)(0x7016)單元。六位七段數(shù)碼管顯示電路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ù)1ms或10ms循環(huán)一遍,也可以適當(dāng)進(jìn)行更改,但刷新速度不要小于每秒三十幀,這樣,由于視覺(jué)暫留現(xiàn)象,看到的便是六位七段LED顯示器同時(shí)顯示。3.4矩陣式鍵盤掃描電路按鍵輸入部分共有數(shù)字鍵、密碼設(shè)定鍵、密碼顯示鍵、確認(rèn)鍵和密碼清除鍵等16個(gè)按鍵,用于密碼輸入和功能按鍵的實(shí)現(xiàn)。本設(shè)計(jì)采用具有鍵喚醒功能的10的低8位IOA0--?IOA7接4X4鍵盤作為控制輸入部分,從而可以合理利用硬件資源,且編程靈活。識(shí)別鍵盤有無(wú)鍵被按下的方法是:讓所有列線均為低電平,檢查各行線電平是否有高電平,如果有則說(shuō)明有鍵被按下;如果沒(méi)有,
溫馨提示
- 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ù)網(wǎng)僅提供信息存儲(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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 出售殯葬用地合同范例
- 借款及保證合同范例
- 債權(quán)貨車轉(zhuǎn)讓合同范例
- 鄉(xiāng)鎮(zhèn)工廠勞動(dòng)合同范例
- 公司專職律師合同范例
- 制版合同范本
- 加工牛肉出售合同范例
- 教育教學(xué)論文心得-做溫暖而明亮的燈塔
- 累積生態(tài)風(fēng)險(xiǎn)對(duì)青少年學(xué)習(xí)投入的影響機(jī)制及干預(yù)研究
- 教育教學(xué)論文-三體五步教學(xué)法
- 部編版《道德與法治》四年級(jí)下冊(cè)第5課《合理消費(fèi)》優(yōu)質(zhì)課件
- 京東入駐流程(課堂PPT)
- 鍋爐巡檢制度
- 切紙機(jī)說(shuō)明書-原稿
- 中國(guó)國(guó)際航空公司VI形象識(shí)別規(guī)劃提案
- 江蘇企業(yè)投資項(xiàng)目備案申請(qǐng)表樣表
- 三菱PLC模擬量模塊fx2n4da中文手冊(cè)
- 金屬材料工程課程設(shè)計(jì)
- 學(xué)校突發(fā)公共衛(wèi)生事件應(yīng)急處置.ppt
- 學(xué)生課堂表現(xiàn)評(píng)價(jià)量表(20211208204532)
- 4K超高清電視在傳統(tǒng)播出中面臨的問(wèn)題及系統(tǒng)建設(shè)規(guī)劃探討
評(píng)論
0/150
提交評(píng)論