1、 1 Voice of Electronic Password-lock Design 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
2、of security. The password lock safe, effective, reliable, but also has voice recognition, password Preferences, confidentiality strong, tips and other features of error. As peoples living standards improve and strengthen the sense of security, safety locks system becomes essential, therefore a passw
3、ord 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 retin
4、a, 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. This system is mainly composed of Sunplus SPCE061A SCM, MI
5、C 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 circu
6、it 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 co
7、ntrol 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
8、through a number of training can make comparison and identification of voice greatly improved 2 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 integ
9、rated 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 microcontrol
10、ler, 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 i
11、n 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, exte
12、rnal 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 operati
13、on, the DSP for the application of additional features in a complex digital signal processing both Very convenient than the DSP chip for much cheaper. 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 si
14、gnals, 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
15、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 A way for the dual-channel DAC, in this manner, DAC1 and DAC
16、2 conversion of analog current output signal passed AUD1 and AUD2-pin output, enter the number of 3 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 normal brightness, and the IO I SPCEO61A output current up
17、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 t
18、o 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 a
19、nd 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. Recogn
20、ition 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 al
21、ways 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. S
22、PCEO61A 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, u
23、sed 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, 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