版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、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 functio
2、n 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 Introduction As pe
3、ople's 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, differen
4、t 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 SPCE061
5、A 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.
6、System is the main function: the training, the speaker's 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 speaker's personality
7、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 ha
8、rdware 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 desi
9、gn 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 company's integrated development environment, Can easily complete the design of hardware and software p
10、rogramming, 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
11、/ 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 proce
12、ssing 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 softwar
13、e interruption interrupt source, Very suitable for real-time applications; u'nSPTM 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 s
14、ignal 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, thr
15、ough 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.
16、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
17、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 I
18、O 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 a
19、gain, 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, pas
20、swords, 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
21、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 p
22、rogramming 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 in
23、to 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 exp
24、ansion, combined with SPCE061A broadcast voice. SPR4096 in use, the use of SPR4096 ResWriter to read and write operation, used to store the speaker's personality parameters reference template.² 3.6 the lock and lift activationSCM SPCE061A complete identification and display, the drive to re
25、alize 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 elect
26、romagnetic 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 curren
27、t 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 d
28、ata 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 cou
29、pling 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 an
30、d electromagnetic actuator, for some reason the flow of electromagnetic coil currents too large burning coil. Current Monitor by MAXIM company'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, an
31、d 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 s
32、oftware designSPCE061A the development of online debugger PROBE To achieve. It uses a built-in online SPCE061 Circuit Simulation ICE (In-Circuit Emulator) and Sunplus's online series Line programming. PROBE can work in Sunplus IDE Integrated Development Environmental software nSP (tm), with edit
33、ing, 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 user's programming and commissioning work more convenient and efficient. In addition, IDE software simulation can not connect t
34、he 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 ident
35、ify 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
36、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 con
37、stant 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单片机上实现的一种语音电子密码锁认证系统。语音识别并配合电子密码锁的普通锁具功能,实现双重安全保障作用。该
38、密码锁安全、有效、可靠,而且具有语音识别、密码预置、保密性强误码提示等特点。 关键词:SPCE061A;语音识别;电子密码锁;FLASH1 引言 随着人们生活水平的提高和安全意识的加强,锁具系统的安全性变得至关重要,于是出现了密码锁磁性锁、电子锁、激光锁、声控锁等等锁具,它们是在传统钥匙的基础上,利用一或多组密码,不同声音不同磁场,不同声波,不同光束光波,不同图像(如指纹、眼底视网膜等)等来控制锁的开启。本文采用语音识别技术和键盘控制输入相结合,在凌阳SPCE061A单片机上实现一种语音电子密码锁认证系统。2 语音电子密码锁的系统功能本系统主要由凌阳SPCE061A单片机、MIC输入电路、语音
39、输出电路、4×4键盘、6位七段LED显示、输出控制及FLASH存储器组成。系统主要的功能是:在训练时,说话人的声音通过麦克风进入说话人语音信号采集前端电路,由语音信号处理电路对采集的语音信号进行特征化和语音处理,提取说话人的个性特征参数并进行存储,形成说话人特征参数数据库。在识别时,将待识别语音与说话人特征参数数据库进行匹配,完成语音识别以及键盘的控制,实现激活或解除锁具,最终完成开锁。系统是依靠硬件和软件地密切配合,由凌阳SPCE061A单片机的灵活控制实现的。语音输入由于受到外部环境的干扰,有可能出现错误,但通过多次的训练可以使语音对比和识别有很大的提高。3 系统硬件的设计 本系
40、统采用具有内核的凌阳SPCE061A单片机,该芯片内有ADC、DAC、定时器计数器、RAM、FLASH等器件,加上适当的外围电路与配套的凌阳公司的集成开发环境,可以很方便地完成硬件设计和软件编程,从而实现上述功能。语音电子密码锁系统的核心是说话人识别模块。SPCE061A是凌阳公司开发的一种性价比非常高的16位单片机,内嵌2K字的SRAM和32K字的FLASH,具有32位可编程的多功能IO端口;包含有7通道1O位通用AD转换器、内置麦克风放大器、自动增益控制AGC功能的单通道声音AD转换器,以及具有音频输出功能的双通道1O位DA转换器;在26V36V工作电压范围内,工作频率范围为032MHz4
41、9152Mhz,较高的处理速度使其能够非常容易、快速地处理复杂的数字信号;中断系统支持1O个中断向量以及l4个可来自系统时钟、定时器计数器、时间基准发生器、外部中断、键唤醒、通用异步串行通信及软件中断的中断源,非常适合实时应用领域;UnSPTM的指令系统还提供具有较高运算速度的16位×16位的乘法运算指令和内积运算指令,为其应用增添了DSP功能,在复杂的数字信号处理方面既非常便利,又比专用的DSP芯片便宜得多。3.1 语音输人电路 SPCE061A内置8通道1O位模数转换器,其中7个通道用于将模拟信号(例如电压信号)转换为数字量信号,1个通道只用于语音输入,即通过内置自动增益控制放大
42、器的麦克风通道(MICIN)输入。因此,可以直接将语音信号送给此输入通道,完成8kHz语音信号的采集、编码并存储到片外FLASH中,简化了电路设计。3.2 音频输出电路 凌阳SPCE061A单片机具有音频输出功能的双通道1O位DA转换器可 以完成用户训练、识别等各种操作的语音提示。SPCE061A提供的音频输出方式为双通道DAC方式,在此方式下,DAC1和DAC2转换输出的模拟量电流信号分别通过AUD1和AUD2引脚输出,输入的字量分别写入PDAC1(写)(0x7017)和PDAC2(写)(0x7016)单元。3.3 六位七段数码管显示电路 LED显示器中每个发光二极管要通过520mA电流才能
43、达到正常亮度,而SPCEO61A的IO口输出电流可达到5mA,不用驱动电路即可达到正常亮度。系统为了满足可靠性设计,采用晶体管构成驱动电路。整个显示过程中采用动态显示,即六位显示器逐一轮流显示,每位持续lms或10ms循环一遍,也可以适当进行更改,但刷新速度不要小于每秒三十帧,这样,由于视觉暂留现象,看到的便是六位七段LED显示器同时显示。3.4 矩阵式键盘扫描电路 按键输入部分共有数字键、密码设定键、密码显示键、确认键和密码清除键等16个按键,用于密码输入和功能按键的实现。本设计采用具有键唤醒功能的IO的低8位IOA0-IOA7接4×4键盘作为控制输入部分,从而可以合理利用硬件资源,且编程灵活。识别键盘有无键被按下的方法是:让所
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 假单胞菌感染的临床护理
- 《室内蒸汽供热系统》课件
- 自然科技发展概论课件
- 燃料油采购合同(二零二四版)3篇
- 2024年度带有两个装卸码头的大型厂房租赁合同2篇
- 二手设备转让合同(2024版)5篇
- 《客房公共区域清洁》课件
- 儿童经内镜逆行胰胆管造影术临床应用管理规范专家共识2024
- 妊娠合并尖锐湿疣的临床护理
- 2024年度定制影视制作与宣传推广合同2篇
- 13区域分析与区域规划(第三版)电子教案(第十三章)
- 孔孟老庄的人格修养智慧树知到期末考试答案2024年
- (2024年)供应链安全培训教材
- 超声引导下神经阻滞治疗的进展
- 2024年初中学业音乐科目水平考试题库及答案
- 2024中国通用技术集团总部招聘7人高频考题难、易错点模拟试题(共500题)附带答案详解
- 体检中心护理课件培训
- 《婴幼儿营养与喂养》课程标准
- 礼盒销售方案
- 茶百道整合营销方案
- 建筑工程大学生职业生涯规划
评论
0/150
提交评论