1、 Voice of Electronic Password-lock Design 1 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 home and abroad have already appeared. But these charac
2、teristics 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 mechanical damage, IC card still exist easily lost, damaged,
3、 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 foundation, USES one or more group password, different
4、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 combination, in CygnalSPCE061A the single board computer
5、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 recognition and electronic password lock function of the ord
6、inary 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 function This system is mainly composed of Sunplus SPCE061A
7、 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 processi
8、ng circuit on the acquisition of the characteristics of voice 1 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 c
9、omplete 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 er
10、rors, 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 devices, coupled with appropriate external circuit
11、 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
12、 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
13、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 / c
14、ounter, 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
15、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 2 SPCE061A built-in 8-channel 1 O-bit A / D converter, which will be seven channels for ana
16、log 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
17、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 voice prompts. SPCE061A provide audio lose
18、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 LED through 5 20mA current to achieve the n
19、ormal 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 sus
20、tained 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
21、 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
22、 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 sho
23、uld 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.