文献翻译-语音电子密码锁的设计_第1页
文献翻译-语音电子密码锁的设计_第2页
文献翻译-语音电子密码锁的设计_第3页
文献翻译-语音电子密码锁的设计_第4页
文献翻译-语音电子密码锁的设计_第5页
已阅读5页,还剩5页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Voice of Electronic Password-lock Design(RIV9.PCW0RLD.COM / JUN E 200 6 )Abstract: The 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. Key words: SPCE061A; voice recognition, electronic password lock; FLASH1 IntroductionAs peoples living standards improve and strengthen the sense of security, safety locks system becomes essential, therefore a password lock, magnetic 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 light beams of different images (such as fingerprints, retina retina, etc.) to control open the lock. In this paper, using speech recognition technology and keyboard to control the importation of the integration of SCM in Sunplus SPCE061A achieve a voice on the electronic certification system password lock.2 voice electronic password-lock system This system is mainly composed of Sunplus 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 speakers voice through 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 speakers personality characteristics and parameters Store, a speaker parameters database. In recognition, will be voice recognition and speaker parameters database matching, voice recognition and complete control of the keyboard, and activate or release of locks, the final completion 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 comparison and identification of voice greatly improved3 system 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 companys 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 recognition module.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 include 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 operating range of frequency range of 0.32 MHz - 49.152Mhz, high processing speed enable it to easily and quickly handle complex digital signal; suspension system to support 1 O interrupt vector And l4 from the system can be a clock, timer / counter, time benchmark generator, external interrupt, key wake-up call, Universal Asynchronous serial communication and software interruption interrupt source, Very suitable for real-time applications; unSPTM command system also provides high computing speed of 16 16-bit multiplication instructions and directives within the plot operation, the DSP for the application of additional features in a complex digital signal processing both Very convenient than the DSP chip for much cheaper. 3.1 voice input circuit SPCE061A built-in 8-channel 1 O-bit 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 built-in automatic gain control amplifier The microphone channels (MIC-IN) input. Therefore, 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 circuit design. 3.2 audio output 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 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 x7016) unit. 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 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. 3.4 Matrix keyboard scan circuit 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 wake-up 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 high-level, 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: home-by-zero 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 cross-point Button is pressed. 3.5 FLASH expansion 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, combined with SPCE061A broadcast voice. SPR4096 in use, the use of SPR4096 ResWriter to read and write operation, used to store the speakers personality parameters reference template. 3.6 the lock and lift activationSCM 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 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 re-enter your password, can enter up to three If the three are not correct, the MCU through intelligent communication 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 communication and mutual interference between the power supply, chokes L, the choice of coupling capacitance C to comprehensive considerations, shown in Figure 4, a carrier frequency f0-400kHz, in order to ensure that most of the energy transmission signal to the receiver Duan, L for a 33.7 H, C1-0.047 F.Current surveillance function is to prevent the destruction of communication lines and electromagnetic actuator, for some reason the flow of electromagnetic coil currents too large burning coil. Current Monitor by MAXIM companys 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.4 system software designSPCE061A the development of online debugger PROBE To achieve. It uses a built-in online SPCE061 Circuit Simulation ICE (In-Circuit Emulator) and Sunpluss online series Line programming. 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 and quick access to the list can be ordered so that the users programming and commissioning 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 complete 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 complete Password changes settings, contrast, shows, and other functions.5 ConclusionThe system uses a SPCE061A 16-bit 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 computer 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.语音电子密码锁的设计摘要:本设计是采用语音识别技术加键盘控制输入,在凌阳 SPCE061A 单片机上实现的一种语音电子密码锁认证系统。语音识别并配合电子密码锁的普通锁具功能,实现双重安全保障作用。该密码锁安全、有效、可靠,而且具有语音识别、密码预置、保密性强误码提示等特点。 关键词:SPCE061A;语音识别;电子密码锁; FLASH1 引言 随着人们生活水平的提高和安全意识的加强,锁具系统的安全性变得至关重要,于是出现了密码锁磁性锁、电子锁、激光锁、声控锁等等锁具,它们是在传统钥匙的基础上,利用一或多组密码,不同声音不同磁场,不同声波,不同光束光波,不同图像(如指纹、眼底视网膜等)等来控制锁的开启。本文采用语音识别技术和键盘控制输入相结合,在凌阳 SPCE061A 单片机上实现一种语音电子密码锁认证系统。2 语音电子密码锁的系统功能本系统主要由凌阳 SPCE061A 单片机、MIC 输入电路、语音输出电路、44键盘、6 位七段 LED 显示、输出控制及 FLASH 存储器组成。系统主要的功能是:在训练时,说话人的声音通过麦克风进入说话人语音信号采集前端电路,由语音信号处理电路对采集的语音信号进行特征化和语音处理,提取说话人的个性特征参数并进行存储,形成说话人特征参数数据库。在识别时,将待识别语音与说话人特征参数数据库进行匹配,完成语音识别以及键盘的控制,实现激活或解除锁具,最终完成开锁。系统是依靠硬件和软件地密切配合,由凌阳 SPCE061A 单片机的灵活控制实现的。语音输入由于受到外部环境的干扰,有可能出现错误,但通过多次的训练可以使语音对比和识别有很大的提高。3 系统硬件的设计 本系统采用具有内核的凌阳 SPCE061A 单片机,该芯片内有 ADC、DAC、定时器计数器、RAM、FLASH 等器件,加上适当的外围电路与配套的凌阳公司的集成开发环境,可以很方便地完成硬件设计和软件编程,从而实现上述功能。语音电子密码锁系统的核心是说话人识别模块。SPCE061A 是凌阳公司开发的一种性价比非常高的 16 位单片机,内嵌 2K 字的 SRAM 和 32K 字的 FLASH,具有32 位可编程的多功能 IO 端口;包含有 7 通道 1O 位通用 AD 转换器、内置麦克风放大器、自动增益控制 AGC 功能的单通道声音 AD 转换器,以及具有音频输出功能的双通道 1O 位 DA 转换器;在 26V3 6V 工作电压范围内,工作频率范围为 032MHz49 152Mhz ,较高的处理速度使其能够非常容易、快速地处理复杂的数字信号;中断系统支持 1O 个中断向量以及 l4 个可来自系统时钟、定时器计数器、时间基准发生器、外部中断、键唤醒、通用异步串行通信及软件中断的中断源,非常适合实时应用领域;U nSPTM 的指令系统还提供具有较高运算速度的 16 位16 位的乘法运算指令和内积运算指令,为其应用增添了 DSP 功能,在复杂的数字信号处理方面既非常便利,又比专用的 DSP 芯片便宜得多。3.1 语音输人电路 SPCE061A 内置 8 通道 1O 位模数转换器,其中 7 个通道用于将模拟信号(例如电压信号)转换为数字量信号,1 个通道只用于语音输入,即通过内置自动增益控制放大器的麦克风通道(MICIN)输入。因此,可以直接将语音信号送给此输入通道,完成 8kHz 语音信号的采集、编码并存储到片外 FLASH 中,简化了电路设计。3.2 音频输出电路 凌阳 SPCE061A 单片机具有音频输出功能的双通道 1O 位 DA 转换器可 以完成用户训练、识别等各种操作的语音提示。SPCE061A 提供的音频输出方式为双通道 DAC 方式,在此方式下,DAC1 和 DAC2 转换输出的模拟量电流信号分别通过 AUD1 和 AUD2 引脚输出,输入的字量分别写入 PDAC1(写)(0x7017) 和PDAC2(写 )(0x7016)单元。3.3 六位七段数码管显示电路 LED 显示器中每个发光二极管要通过 520mA 电流才能达到正常亮度,而SPCEO61A 的 IO 口输出电流可达到 5mA,不用驱动电路即可达到正常亮度。系统为了满足可靠性设计,采用晶体管构成驱动电路。整个显示过程中采用动态显示,即六位显示器逐一轮流显示,每位持续 lms 或 10ms 循环一遍,也可以适当进行更改,但刷新速度不要小于每秒三十帧,这样,由于视觉暂留现象,看到的便是六位七段 LED 显示器同时显示。3.4 矩阵式键盘扫描电路 按键输入部分共有数字键、密码设定键、密码显示键、确认键和密码清除键等 16 个按键,用于密码输入和功能按键的实现。本设计采用具有键唤醒功能的IO 的低 8 位 IOA0-IOA7 接 44 键盘作为控制输入部分,从而可以合理利用硬件资源,且编程灵活。识别键盘有无键被按下的方法是:让所有列线均为低电平,检查各行线电平是否有高电平,如果有则说明有键被按下;如果没有,则说明无键被按下(实

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论