1、 系 别 信息与计算科学系 专 业 电子信息科学与技术 班 级 姓 名 指导教师 2011年 3 月 09 日Voice of Electronic Password-lock Design1 overview As peoples living standards improve and strengthen the sense of security, safety locks system becomes essential. Many electronic intelligence lock (fingerprint identification, IC identify) at ho
2、me and abroad have already appeared. But these characteristics of the products for a particular fingerprints and effective card, only applicable requirements of box, ark to tilt toward secrecy from a parochial view, door to wait. And if the general reader fingerprint public use existing easy mechani
3、cal damage, IC card still exist easily lost, damaged, etc. Plus its cost is higher, in the certain extent limits the products to the popularization and promotion. Then appeared combination lock magnetic lock, electronic locks, laser lock, sonic lock etc locks, they are the traditional keys in the fo
4、undation, USES one or more group password, different sounds different magnetic field, different sound waves, different beam waves, different image (such as fingerprints, fundus retinal etc.) to control the lock open. This paper adopts the speech recognition technology and keyboard control input comb
5、ination, in CygnalSPCE061A the single board computer to realize a speech electronic combination lock authentication system. 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 recogni
6、tion 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. 2 speech electronic combination lock system functi
7、on 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 ac
8、quisition 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 pa
9、rameters 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 inter
10、ference of external environment, it is possible errors, but through a number of training can make comparison and identification of voice greatly improved.3 The system hardware design The system using a single kernel of Sunplus SPCE061A, the chip has ADC, DAC, timer / counter, RAM, FLASH, and other d
11、evices, 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
12、 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
13、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
14、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
15、 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.4 working principle SPCE061A built-in 8-channel 1 O-bit A / D co
16、nverter, 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 i
17、nput channels, the completion of 8 kHz voice signals in the collection, encoding and storage to off-chip FLASH, simplifying the circuit design.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
18、 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. LED displays in each
19、 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
20、, 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
21、 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 inpu
22、t 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 k
23、eys 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 l
24、ine from the low level into a high, this trip can be sure this column cross-point 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, combined with
25、 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.SCM SPCE061A complete identification and display, the drive to realize the implementation of the electromagnetic lock function, an
26、d 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 operat
27、ors 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 r
28、eceive 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 re
29、ceive 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 Fig
30、ure 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 electroma
31、gnetic 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 characterist
32、ics. 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 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.
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1