【正文】
automatic gain control amplifier The microphone channels (MICIN) input. Therefore, it can be directly given to the voice signal input channels, the pletion of 8 kHz voice signals in the collection, encoding and storage to offchip FLASH, simplifying the circuit design.Sunplus SPCE061A MCU with audio output of dualchannel 1 Obit D / A converters can plete user training, identification of various operations, such as the voice prompts. SPCE061A provide audio lose A way for the dualchannel DAC, in this manner, DAC1 and DAC2 conversion of analog current output signal passed AUD1 and AUD2pin output, enter the number of volume into the PDAC1 (write) (0 x7017) and P DAC2 (write) (0 x7016) unit.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 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, each sustained lms or 10 ms cycle again, can also be appropriate to make changes, but the refresh rate not less than 30 per second, so that temporary stay because of the visual phenomenon, Is six Qiduan see the LED display at the same time show.Enter key part of a total of the number keys, passwords, keys set, 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 wakeup function keys of the IO low eight IOA0 ~ 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 the method is: Let all out lines are low, check the traffic on whether there is a highlevel, if there is a statement that a key is pressed, if not, then no keys are pressed (Actual programming keys should be taken into account the impact of jitter, usually always use the software delay processing methods Consumers buffeting). Identify specific keys used scanning method: homebyzero level out and check the level of the carriageway of the changes, if a line from the low level into a high, this trip can be sure this column crosspoint Button is pressed.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, bined with SPCE061A broadcast voice. SPR4096 in use, the use of SPR4096 Rewriter to read and write operation, used to store the speaker39。s current / voltage converter chip MAX471. The chip can be measured current I into 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 converter, read through the single A / D converter results in the current line was informed of the situation, through the timely detection of abnormal, issued its report.SPCE061A the developments of online debugger PROBE To achieve. It uses a builtin online SPCE061 Circuit Simulation ICE (InCircuit Emulator) and Sunplus39。s programming and missioning work more convenient and efficient. In addition, IDE software simulation can not connect the simulation board under the simulated conditions of the various functions to the hardware debugger. When the system work, the main function of the call to plete a specific function of the human voice training, training for the future success of voice recognition, according to the order to identify the implementation of the keyboard control operation, according to the different function keys, the implementation of the corresponding procedures, to plete Password changes settings, contrast, shows, and other functions.The system uses a SPCE061A 16bit microcontrollers embedded 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 higher property security areas as information technology and puter technology and the constant development, voice, electronic password lock technology will have greater development and, ultimately, achieving efficiency, safety and reliable Voiceprint control of the voice of electronic locks.外文文獻(xiàn)的譯文語音電子密碼鎖的設(shè)計本課題是采用語音識別技術(shù)加鍵盤控制輸入,在凌陽SPCE061A單片機(jī)上實現(xiàn)的一種語音電子密碼鎖認(rèn)證系統(tǒng)。該密碼鎖安全、有效、可靠,而且具有語音識別、密碼預(yù)置、保密性強(qiáng)誤碼提示等特點。本文采用語音識別技術(shù)和鍵盤控制輸入相結(jié)合,在凌陽SPCE061A單片機(jī)上實現(xiàn)一種語音電子密碼鎖認(rèn)證系統(tǒng)。系統(tǒng)主要的功能是:在訓(xùn)練時,說話人的聲音通過麥克風(fēng)進(jìn)入說話人語音信號采集前端電路,由語音信號處理電路對采集的語音信號進(jìn)行特征化和語音處理,提取說話人的個性特征參數(shù)并進(jìn)行存儲,形成說話人特征參數(shù)數(shù)據(jù)庫。系統(tǒng)是依靠硬件和軟件地密切配合,由凌陽SPCE061A單片機(jī)的靈活控制實現(xiàn)的。系統(tǒng)采用具有內(nèi)核的凌陽SPCE061A單片機(jī),該芯片內(nèi)有ADC、DAC、定時器/計數(shù)器、RAM、FLASH等器件,加上適當(dāng)?shù)耐鈬娐放c配套的凌陽公司的集成開發(fā)環(huán)境,可以很方便地完成硬件設(shè)計和軟件編程,從而實現(xiàn)上述功能。SPCE061A是凌陽公司開發(fā)的一種性價比非常高的16位單片機(jī),內(nèi)嵌2K字的SRAM和32K字的FLASH,具有32位可編程的多功能I/O端口;包含有7通道1O位通用A/D轉(zhuǎn)換器、內(nèi)置麥克風(fēng)放大器、自動增益控制AGC功能的單通道聲音A/D轉(zhuǎn)換器,以及具有音頻輸出功能的雙通道1O位D/A轉(zhuǎn)換器;在2.6V~3.6V工作電壓范圍內(nèi),工作頻率范圍為0.32MHz~49.152Mhz,較高的處理速度使其能夠非常容易、快速地處理復(fù)雜的數(shù)字信號;中斷系統(tǒng)支持IO個中斷向量以及l(fā)4個可來自系統(tǒng)時鐘、定時器/計數(shù)器、時間基準(zhǔn)發(fā)生器、外部中斷、鍵喚醒、通用異步串行通信及軟件中斷的中斷源,非常適合實時應(yīng)用領(lǐng)域;U’nSPTM的指令系統(tǒng)還提供具有較高運算速度的16位16位的乘法運算指令和內(nèi)積運算指令,為其應(yīng)用增添了DSP功能,在復(fù)雜的數(shù)字信號處理方面既非常便利,又比專用的DSP芯片便宜得多。因此,可以直接將語音信號送給此輸入通道,完成8kHz語音信號的采集、編碼并存儲到片外FLASH中,簡化了電路設(shè)計。SPCE061A提供的音頻輸出方式為雙通道DAC方式,在此方式下,DAC1和DAC2轉(zhuǎn)換輸出的模擬量電流信號分別通過AUD1和AUD2引腳輸出,輸入的字分別寫入P—DAC1(寫)(0x7017)和P—DAC2(寫)(0x7016)單元。系統(tǒng)為了滿足可靠性設(shè)計,采用晶體管構(gòu)成驅(qū)動電路。按鍵輸入部分共有數(shù)字鍵、密碼設(shè)定鍵、密碼顯示鍵、確認(rèn)鍵和密碼清除鍵等16個按鍵,用于密碼輸入和功能按鍵的實現(xiàn)。識別鍵盤有無鍵被按下的方法是:讓所有的列線均為低電平,檢查各行線電平是否有高電平,如果有則說明有鍵被按下;如果沒有,則說明無鍵被按下(實際編程時應(yīng)考慮按鍵抖動的影響,通常總是采用軟件延時的方法進(jìn)行消抖處理)。SPCEO61A片內(nèi)的FLASH存儲器只有32K,在播放大量語音資源時需要外擴(kuò)存儲器。在使用SPR4096時,采用ResWriter對SPR4096進(jìn)行讀寫操作,用于存儲說話人的個性特征參數(shù)參考模板。單片機(jī)接收鍵入的代碼,并與存貯在FLASH中的密碼進(jìn)行比較,如果密碼正確,則驅(qū)動電磁執(zhí)行器開鎖;如果密碼不正確,則允許操作人員重新輸入密碼,最多可輸入三次;如果三次都不正確,則單片機(jī)通過通信線路向智能監(jiān)控器報警。在發(fā)送端,電子鎖具通過脈沖變壓器T將調(diào)制好的數(shù)據(jù)信號升壓后發(fā)送出去;在接收端,脈沖變壓器T將接收到的數(shù)據(jù)信號降壓后送解調(diào)器,以減少載波信號在傳輸過程中的損耗。電流監(jiān)視功能是為了防止通信線路的人為破壞和電磁執(zhí)行器因某種原因造成流過電磁線圈的電流過大而燒毀線圈。該芯片能將被測電流I轉(zhuǎn)化成對地輸出電壓U,