【正文】
電流監(jiān)視功能是為了防止通信線路的人為破壞和電磁執(zhí)行器因某種原因造成流過(guò)電磁線圈的電流過(guò)大而燒毀線圈。單片機(jī)接收鍵入的代碼,并與存貯在FLASH中的密碼進(jìn)行比較,如果密碼正確,則驅(qū)動(dòng)電磁執(zhí)行器開(kāi)鎖;如果密碼不正確,則允許操作人員重新輸入密碼,最多可輸入三次;如果三次都不正確,則單片機(jī)通過(guò)通信線路向智能監(jiān)控器報(bào)警。SPCEO61A片內(nèi)的FLASH存儲(chǔ)器只有32K,在播放大量語(yǔ)音資源時(shí)需要外擴(kuò)存儲(chǔ)器。按鍵輸入部分共有數(shù)字鍵、密碼設(shè)定鍵、密碼顯示鍵、確認(rèn)鍵和密碼清除鍵等16個(gè)按鍵,用于密碼輸入和功能按鍵的實(shí)現(xiàn)。SPCE061A提供的音頻輸出方式為雙通道DAC方式,在此方式下,DAC1和DAC2轉(zhuǎn)換輸出的模擬量電流信號(hào)分別通過(guò)AUD1和AUD2引腳輸出,輸入的字分別寫(xiě)入P—DAC1(寫(xiě))(0x7017)和P—DAC2(寫(xiě))(0x7016)單元。SPCE061A是凌陽(yáng)公司開(kāi)發(fā)的一種性?xún)r(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)支持IO個(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)處理方面既非常便利,又比專(zhuān)用的DSP芯片便宜得多。系統(tǒng)是依靠硬件和軟件地密切配合,由凌陽(yáng)SPCE061A單片機(jī)的靈活控制實(shí)現(xiàn)的。本文采用語(yǔ)音識(shí)別技術(shù)和鍵盤(pán)控制輸入相結(jié)合,在凌陽(yáng)SPCE061A單片機(jī)上實(shí)現(xiàn)一種語(yǔ)音電子密碼鎖認(rèn)證系統(tǒng)。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)的譯文語(yǔ)音電子密碼鎖的設(shè)計(jì)本課題是采用語(yǔ)音識(shí)別技術(shù)加鍵盤(pán)控制輸入,在凌陽(yáng)SPCE061A單片機(jī)上實(shí)現(xiàn)的一種語(yǔ)音電子密碼鎖認(rèn)證系統(tǒng)。nSPTM mand system also provides high puting speed of 16 16bit multiplication instructions and directives within the plot operation, the DSP for the application of additional features in a plex digital signal processing both Very convenient than the DSP chip for much cheaper.SPCE061A builtin 8channel 1 Obit A / D converter, which will be seven channels for analog signals (such as voltage signal) converted to digital signals, a channel used only for voice input, through the builtin 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 personality characteristics and parameters Store, a speaker parameters database. In recognition, will be voice recognition and speaker parameters database matching, voice recognition and plete control of the keyboard, and activate or release of locks, the final pletion of the lock. System is relying on hardware and software to closely cooperate with the Sunplus SPCE061A SCM flexible control achieved. Voice entry due to the interference of external environment, it is possible errors, but through a number of training can make parison and identification of voice greatly improved.The system using a single kernel of Sunplus SPCE061A, the chip has ADC, DAC, timer / counter, RAM, FLASH, and ot