毕业设计外文翻译----语音电子密码锁的设计
(完整版)基于单片机密码锁外文翻译资料毕业设计

以下文档格式全部为word格式,下载后您可以任意修改编辑。
Voice of Electronic Password-lock Design(RIV9.PCW0RLD 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.V oice recognition and electronic password lock function of the ordinary locks, and dual role of security. The password lock safe, effective, reliable, but also , password Preferences, confidentiality strong, tips and other features of error.Key words:SPCE061A; voice recognition, electronic password lock; FLASH1 IntroductionAs people'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, 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 systemThis system is mainly composed of Sunplus SPCE061A SCM, MIC input circuit, voice output circuit, 4 × 4 keyboard, six Qiduan LEDdisplay and output control and FLASH memory components. 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 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 make comparison and identification of voice greatly improved3 systemThe system using a single kernel of Sunplus SPCE061A, the chip easily complete the design of module.SPCE061A is Sunplus 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, 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; u'nSPTM command system also provides 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 willbe seven channels for analog signals (such as voltage signal) convertedto 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 1O-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 DAC2conversion 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 achievethe normal brightness, and the IO I SPCEO61A output current up to 5 mA, do not order to meet the reliability of systems design, driven bya 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 offunction 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 keyboard keys are pressed whether the method is: Let all out lines are low, check the traffic on whether there is a 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: 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 ofplayers 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 speaker's 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 goodboost 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 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, , 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 Sunplus's 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 user's programming and commissioning work more convenient and efficient. In addition, IDE software simulation can not connect the simulation board under thesimulated conditions of the various functions to the the system work, the main function of the call to complete a specific function of the 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 widely used in technology and computer technology and the constant development, voice, electronic password lock technology will —Circuit Emulator)和凌阳公司的在线串行编程技术。
电子密码锁毕业设计

电子密码锁毕业设计电子密码锁毕业设计近年来,随着科技的不断发展,电子密码锁作为一种新型的安全设备,逐渐成为人们生活中不可或缺的一部分。
作为一名大学生,我也对电子密码锁产生了浓厚的兴趣,并决定将其作为我的毕业设计主题。
首先,我对电子密码锁的基本原理进行了深入的研究。
电子密码锁主要由密码输入模块、控制模块和电机驱动模块组成。
通过密码输入模块,用户可以输入自己设定的密码。
控制模块负责接收用户输入的密码,并与预设的密码进行比对,如果输入正确,则通过电机驱动模块控制锁的开关。
这种设计简单而高效,能够有效地保护用户的财产安全。
接下来,我开始着手设计我的电子密码锁。
我决定采用微控制器作为控制模块,并使用数字密码键盘作为密码输入模块。
为了增加系统的稳定性和安全性,我还添加了指纹识别模块和蓝牙模块。
通过指纹识别模块,用户可以使用自己的指纹进行解锁,这种方式更加方便快捷。
而蓝牙模块则可以实现手机远程开锁的功能,用户只需通过手机发送指令,即可控制电子密码锁的开关。
这种设计不仅提高了用户的使用便利性,同时也增加了系统的安全性。
在设计过程中,我遇到了许多挑战。
首先是如何保证系统的稳定性和安全性。
为了解决这个问题,我进行了大量的实验和测试,不断优化系统的设计。
其次是如何提高系统的响应速度。
通过对系统的硬件和软件进行优化,我成功地将响应时间缩短到了毫秒级别。
最后是如何保证系统的可靠性。
我进行了多次的测试和模拟,确保系统在各种条件下都能正常工作。
在完成设计后,我进行了一系列的实验和测试。
通过对系统的各项指标进行评估,我发现我的电子密码锁在安全性、稳定性和响应速度等方面都达到了预期的要求。
同时,我还对系统进行了实际应用测试,得到了用户的积极反馈。
他们对电子密码锁的使用体验非常满意,并对我的毕业设计表示了赞赏和肯定。
通过这次毕业设计,我不仅深入了解了电子密码锁的原理和设计方法,还提高了自己的动手实践能力和解决问题的能力。
同时,我也意识到科技的发展给我们的生活带来了巨大的改变,我们应该积极拥抱科技,并将其运用到实际生活中,为人们带来更多的便利和安全。
电子密码锁中英文对照外文翻译文献

电子密码锁中英文对照外文翻译文献This article discusses the design of a matrix keyboard and LCD display based on a microcontroller unit (MCU) for use in electronic password locks。
The keyboard and display are crucial components of the lock。
allowing users to input their password and receive feedback on the lock's status。
The design includes a 4x4 matrix keyboard and a 16x2 LCD display。
both of which are controlled by the MCU。
The article provides a detailed n of the design process。
including the hardware and are components。
and XXX.nXXX and electronic components to provide users with access control。
One key component of these locks is the keyboard and display。
which allow users to input their password and receive feedback on the lock's status。
In this article。
we will discuss the design of a matrix keyboard and LCD display based on an MCU for use in electronic password locks.DesignThe design of the matrix keyboard and LCD display is based on an MCU。
外文翻译-数字密码锁的设计

外文资料原文Market demand of innovation and development all brightprospects of electronic lockAt present, China's lock industry with annual sales of about 40 billion yuans, the production of 1.9 billion. With the development of technology, the demand of the market gradually from the traditional metal lock likes smart locks, electronic lock. Electronic combination lock is a password or to control circuit (access control system), so as to control mechanical switches closed, lock, lock task of electronic products. Intelligent lock is different from traditional mechanical locks, in terms of user identification, security, manageability more intelligent locks, door lock the door when you leave the execution of the components in the system. Innovation and development change of locks industry in our country, in the future, intelligent electronic lock market will be a piece of blue ocean waiting for development.Development and innovation of the lockIn the past ten years, lock have experienced the change based on the emergence of electronic locks and application. Since 1988, the government institutions and companies in addition to the guards and other solutions on the market, have been using the cable of the electronic system to ensure the safety of the border. The cable electronic solutions also became popular. Reason is very simple, compared with the traditional mechanical lock safety, convenience, no information traceability shortcomings, such as cable electronic solutions in terms of safety, convenience, manageability are improved.As are known to all, now want to open a traditional method is not only a mechanical lock, such as picking, perforation, and more recently become embarrassed "bump" technology industry. Therefore, the key problem of the traditional still in the lock key is simple: reduce the tool copies may. The defects and the mechanical lock are opened the safe electronic technology market, electronic lock baseds on the technology of electronic security products rapid growth of more than 20 years, the scale is chasing the trend of the traditional mechanical lock."9 · 11" to make significant changes has taken place in security industry, access control and key management real-name system concept to be recognized. This event almost changed the security industry in people's minds, but also promote a lot of change and innovation, especially in the lock industry, make it become the protagonist of the security world and need to be created tocater to the market demand.The new parts of the lock of the world were created, named electronic locks, it is the combination of mechanical and electronic body, to provide users with additional controls and security new solutions. Electronic lock equipment big innovations and additional benefits of the system is not depend on the power system of power grid, it means that they are made up of batteries of direct current, make installation is simple and convenient. Also, since not rely on the power grid power system, make it more secure, even in the case of power outages, The lock can still normal operations, this is the traditional wired electronic systems unparalleled.Electronic lock market should be to be bornWith the development of modern science and technology, the development of the electronic lock has entered a new stage, all kinds of new technology application, mobile phone induction unlock, id card lock, fingerprint biometric technology lock, mobile phone, SMS remote unlock alarm, etc., of the new technology application results are for the development of the electronic lock on the wings to fly, let the electronic locks intelligent further ascension, greatly enrich the life of modern people, the closer to modern intelligent distance of the pursuit of quality of life and yearning.At the same time, the results of electronic lock are the new technology application benefit the traditional door locks, door factory, door industry, real estate building, hotel, intelligent building of locks, locks and other related industries, enterprises. Can be widely applicable to the security door, armored door, original wood door, such as bronze door type. For the development of industry, the difference between the product made a greater contribution, at the same time to suit kinds of products of high added value and new selling points, more and more been recognized by the market and users alike.The vigorous development of our country's economy, real estate, hotel, etc. As the pillar industry of national economy, real estate began to a large number of high quality buildings of electronic locks, to further strengthen the building of the intelligent degree, continuously improve the quality of building dish, and attract the interest of users and favor, to enhance the comprehensive competitiveness of real estate, promote sales. In Beijing, Shanghai, guangzhou, shenzhen, nanjing, changsha, nanchang, wuhan, one third line cities such as electronic smart lock, electronic smart lock hotel constantly emerging community.At the same time, with the development of economy and the continuous improvement inpeople's living standard, people for the pursuit of quality life and security needs is growing. High quality electronic locks began arriving into high-grade private property and enterprise office building, people don't have to worry about the key thing, enjoy the modern intelligent world harmony and life quality.Bright prospects of electronic lockMore solutions are obvious, the market changes, gradually emerging from the market, the basic situation of now is: the government institutions and companies need to seek more control than before human resource cost and an ideal solution to protect the safety of property, and time is money, staff time management has become more urgent, has become a critical value proposition. Tell from this aspect, only for the center with key systems can provide feasible solutions. From an economic point of view, the card reader or mounted on each door installed cameras in each corner (plus a security surveillance cameras) is not feasible.Market development also shows that the integrated development of security industry has been overwhelming, as the important role of lock will become an integral part of the overall solution, is likely to end in the past 4000 years has been the role of. But what is undeniable is that the lock to protect property or restrict access permissions alert or closed-circuit television (CCTV) system is the importance of play can't do it.Conclusion:With the deepening of China's opening to the outside world, the wealthy and middle class, high-grade building development soon, high-grade electronic smart lock has broad market prospects for development. Along with our country for smart locks lock industry of new and high technology investment is increasing year by year, the 3 g era, electronic locks gradually replace mechanical lock is the inevitable development trend. National macro-control of real estate at the same time, the strengthening of environmental awareness, home prices gradually return to rational prices, a new round of commercial competition focus will gradually reflected in such aspects as environmental protection, energy saving, intelligent, safe, high-end smart door lock market demand began to explode, electronic lock industry will also march into the new stage of development.外文资料译文:市场需求带来创新发展悉数电子锁的灿烂前景目前,中国锁具行业年销售额约为400亿元,产量为19亿把。
外文翻译电子密码锁的设计

外文文献译文设计(论文)题目: 电子密码锁的设计专业与班级:学生姓名:指导教师:Introduction of AT89C51Description:The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash programmable and erasable read only memory (PEROM). The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set and pinout. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the ATMEL Co.’s AT89C51 is a powerful microcomputer which provides a highly-flexible and cost-effective solution to many embedded control applications.Features:·Compatible with instruction set of MCS-51 products·4K bytes of in-system reprogrammable Flash memory·Endurance: 1000 write/erase cycles·Data retention time: 10 years·Fully static operation: 0 Hz to 24 MHz·Three-level program memory lock·128×8-bit internal RAM·32 programmable I/O lines·Two 16-bit Timer/Counters·Six interrupt source·Programmable serial channel·Low-power idle and Power-down modes·On-chip oscillator and clock circuitry·Full-duplex UART serial port interrupt line·Dual Data Pointer RegisterFunction Characteristic Description:The AT89C51 provides the following standard features: 4K bytes of Flash memory, 128 bytes of RAM, 32 I/O lines, two 16-bit timer/counters, a five vector two-level interrupt architecture, a full duplex serial port, on-chip oscillator and clock circuitry. In addition, the AT89C51 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port andinterrupt system to continue functioning. The Power-down Mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset.The 8051 microcontroller is an industry standard architecture that has broad acceptance, wide-ranging applications and development tools available. There are numerous commercial vendors that supply this controller or have it integrated into some type of system-on-a-chip structure. Both MRC and IAμE chose this device to demonstrate two distinctly different technologies for hardening. The MRC example of this is to use temporal latches that require specific timing to ensure that single event effects are minimized. The IAμE technology uses ultra low power, and layout and architecture HBD design rules to achieve their results. These are fundamentally different than the approach by Aeroflex-United Technologies Microelectronics Center (UTMC), the commercial vendor of a radiation– hardened 8051, that built their 8051 microcontroller using radiation hardened processes. This broad range of technology within one device structure makes the 8051an ideal vehicle for performing this technology evaluationPin Description:·VCC: Supply voltage·GND: Ground·Port 0: Port 0 is an 8-bit open-drain bi-directional I/O port. As an output port, each pin can sink eight TTL inputs. When 1s are written to port 0 pins, the pins can be used as high impedance inputs.Port 0 may also be configured to be the multiplexed low order address/bus during accesses to external program and data memory. In this mode P0 has internal pull ups.Port 0 also receives the code bytes during Flash programming, and outputs the code bytes during program verification. External pull ups are required during program verification.·Port 1: Port 1 is an 8-bit bidirectional I/O port with internal pull ups. The Port 1 output buffers can sink/source four TTL inputs. When 1s are written to Port 1 pins they are pulled high by the internal pull ups and can be used as inputs. As inputs, Port 1 pins that are externally being pulled low will source current (IIL) because of the internal pull ups.Port 1 also receives the low-order address bytes during Flash programming and verification.·Port 2: Port 2 is an 8-bit bi-directional I/O port with internal pull ups. The Port 2 output buffers can sink/source four TTL inputs. When 1s are written to Port 2 pins they are pulled high by the internal pull ups and can be used as inputs. As inputs, Port 2 pins that are externally being pulled low will source current (IIL) because of the internal pull ups.Port 2 emits the high-order address byte during fetches from external program memory and during accesses to external data memory which uses 16-bit addresses (MOVX @ DPTR). In this application, it uses strong internal pull ups when emitting 1s. During accesses to external data memory which uses 8-bit addresses (MOVX @ RI). Port 2 emits the contents of the P2 Special Function Register.Port 2 also receives the high-order address bits and some control signals during Flash programming and verification.·Port 3: Port 3 is an 8-bit bi-directional I/O port with internal pullups.The Port 3 output buffers can sink/source four TTL inputs. When the P3 I write "1" after, they are internal pull-up is high, and used as input. As input, due to the external pull-down for the low, P3 port output current (ILL) This is due to pull-up's sake.Port 3 also serves the functions of various special features of the AT89C51 as listed below:Port 3 also receives some control signals for Flash programming and verification.·RST: Reset input. A high on this pin for two machine cycles while the oscillator is running resets the device.·ALE/PROG: Address Latch Enable output pulse for latching the low byte of the address during accesses to external memory. This pin is also the program pulse input (PROG) during Flash programming. In normal operation ALE is emitted at aconstant rate of 1/6 the oscillator frequency, and may be used for external timing or clocking purposes. Note, however, that one ALE pulse is skipped during each access to external Data Memory.If desired, ALE operation can be disabled by setting bit 0 of SFR location 8EH. With the bit set, ALE is active only during a MOVX or MOVC instruction. Otherwise, the pin is weakly pulled high. Setting the ALE-disable bit has no effect if the microcontroller is in external execution mode.·PSEN:Program Store Enable is the read strobe to external program memory. When the AT89C51 is executing code from external program memory, PSEN is activated twice each machine cycle, except that two PSEN activations are skipped during each access to external data memory.·/ EA /VPP:External Access Enable. EA must be strapped to GND in order to enable the device to fetch code from external program memory locations starting at 0000H up to FFFFH. Note, however, that if lock bit 1 is programmed, EA will be internally latched on reset. EA should be strapped to VCC for internal program executions. When / EA to maintain low, then during this period the external program memory (0000H-FFFFH), regardless of whether an internal program memory.This pin also receives the 12-volt programming enable voltage (VPP) during Flash programming, for parts that require 12-volt VPP.·XTAL1:Input to the inverting oscillator amplifier and input to the internal clock operating circuit.·XTAL2:Output from the inverting oscillator amplifier.·Ready/BUSY: The progress of byte programming can also be monitored by the RDY/BSY output signal. P3.4 is pulled low after ALE goes high during programming to indicate BUSY. P3.4 is pulled high again when programming is done to indicate READY.Oscillator Characteristics:XTAL1 and XTAL2 respectively, reverse amplifier input and output. The reverse amplifier can be configured as on-chip oscillator. Shi Jing oscillation and ceramic oscillation can be used. If using an external clock source drive the device, XTAL2 should not take. More than input to the internal clock signal through a two-way flip-flop, so the external clock signal pulse width without any request, but must ensure that the high-low pulse width requirements.Clock Oscillator:XTAL1 and XTAL2 are the input and output, respectively, of an inverting amplifier which can be configured for use as an on-chip oscillator. Either a quartz crystal or ceramic resonator may be used.To drive the device from an external clock source, XTAL2 should be left unconnected while XTAL1 is driven.There are no requirements on the duty cycle of the external clock signal, since the input to the internal clocking circuitry is through a divide by two flip trigger, but minimum and maximum voltage high and low time specifications must be observed. Idle Mode:In idle mode, the CPU puts itself to sleep while all the on-chip peripherals remain active. The mode is invoked by software. The content of the on-chip RAM and all the special functions registers remain unchanged during this mode. The idle mode can be terminated by any enabled interrupt or by a hardware reset.It should be noted that when idle is terminated by a hardware reset, the device normally resumes program execution, from where it left off, up to two machine cycles before the internal reset algorithm takes control. On-chip hardware inhibits access to internal RAM in this event, but access to the port pins is not inhibited. To eliminate the possibility of an unexpected write to a port pin when Idle is terminated by reset, the instruction following the one that invokes Idle should not be one that writes to a port pin or to external memory.Power-down Mode:In the power-down mode, the oscillator is stopped, and the instruction that invokes power-down is the last instruction executed. The on-chip RAM and special function registers retain their values until the power-down mode is terminated. The only exit from power-down is a hardware reset. Reset redefines the special function registers but does not change the on-chip RAM. The reset should not be activated before VCC is restored to its normal operating level and must be held active long enough to allow the oscillator to restart and stabilize.Program Memory Lock Bits:On the chip are three lock bits which can be left unprogrammed (U) or can be programmed (P) to obtain the additional features listed in the table below.When lock bit 1 is programmed, the logic level at the EA pin is sampled and latched during reset. If the device is powered up without a reset, the latch initializes to a random value, and holds that value until reset is activated. It is necessary that the latched value of EA be in agreement with the current logic level at that pin in order for the device to function properly.Programming the Flash:The AT89C51 is normally shipped with the on-chip Flash memory array in the erased state (that is, contents = FFH) and ready to be programmed. The programming interface accepts either a high-voltage (12-volt) or a low-voltage (VCC) program enable signal. The low-voltage programming mode provides a convenient way to program the AT89C51 inside the user’s system, while the high-voltage programming mode is compatible with conventional third party Flash or EPROM programmers.The AT89C51 is shipped with either the high-voltage or low-voltage programming mode enabled.The AT89C51 code memory array is programmed byte-by-byte in either programming mode. To program any nonblank byte in the on-chip Flash memory, the entire memory must be erased using the chip erase mode.Programming Algorithm:Before programming the AT89C51, the address, data and control signals should be set up according to the Flash programming mode table .To program the AT89C51, take the following steps:1. Input the desired memory location on the address lines.2. Input the appropriate data byte on the data lines.3. Activate the correct combination of control signals.4. Raise EA/VPP to 12V for the high-voltage programming mode.5. Pulse ALE/PROG once to program a byte in the Flash array or the lock bits.The byte-write cycle is self-timed and typically takes no more than 1.5ms.Repeat steps 1 through 5, changing the address and data for the entire array or until the end of the object file is reached.Data Polling:The AT89C51 features Data Polling to indicate the end of a write cycle. During a write cycle, an attempted read of the last byte written will result in the complement of the written datum on PO.7. Once the write cycle has been completed, true data are valid on all outputs, and the next cycle may begin. Data polling may begin any time after a write cycle has been initiated.Program Verify:If lock bits LB1 and LB2 have not been programmed, the programmed code data can be read back via the address and data lines for verification. The lock bits cannot be verified directly. Verification of the lock bits is achieved by observing that their features are enabled.Chip Erase:The whole array and three lock-bit PEROM electrical erase control signals through the right combination and maintain ALE pin is low 10ms to complete. Cleaning operation in the chip, code arrays were all written "1" and in any non-empty memory byte has been programmed to repeat the past, the operation must be executed. In addition, AT89C51 with steady-state logic, and can be in the low to zero frequency under the conditions of static logic, and supports two software selectable power-down mode. In idle mode, CPU stop working. But the RAM, timers, counters, serial port and interrupt system are still working. In the power-down mode, to save the contents of RAM and a freeze oscillator, to prohibit the use of other chip functions until the next until a hardware reset.Reading the Signature Bytes:The signature bytes are read by the same procedure as a normal verification of locations 030H, 031H, and 032H, except that P3.6 and P3.7 must be pulled to a logic low. The values returned are as follows:(030H) = 1EH indicates manufactured by ATMEL(031H) = 51H indicates AT89C51 single-chip(032H) = FFH indicates 12V programming(032H) = 05H indicates 5V programmingProgramming Interface:Every code byte in the Flash array can be written and the entire array can beerased by using the appropriate combination of control signals. The write operation cycle is self timed and once initiated, will automatically time itself to completion. Watchdog (WDT) circuit:Watchdog (WDT) reset circuit is to achieve the main functionality. When the MCU is running an infinite loop occurs when the watchdog (WDT) can play a protection circuit to achieve reduction effect.摘自: http:///p-35268283.htmlAT89C51的介绍描述:AT89C51是一个低电压,高性能CMOS8位单片机带有4K字节的可反复擦写的程序存储器(PENROM)。
毕业设计(论文)-电子密码锁的eda设计与实现[管理资料]
![毕业设计(论文)-电子密码锁的eda设计与实现[管理资料]](https://img.taocdn.com/s3/m/d34fd1f6eff9aef8951e066d.png)
本科毕业论文论文题目:电子密码锁的EDA设计与实现学生姓名:xxxx学号:xxxxxxxxxxxxxxx专业:\xxxxxxxxxxxxxxxxxxx指导教师:xxxxxxxxxxxxxxxx学院:xxxxxxxxxxxxxxxx2010年 5 月10 日毕业论文(设计)内容介绍目录摘要 (1)一、电子密码锁的相关理论知识 (2)(一)EDA技术 (2)(二)VHDL语言 (4)(三)FPGA硬件 (5)(四)Quartus Ⅱ软件 (7)二、电子密码锁的简介 (9)(一)电子密码锁的现状 (9)(二)电子密码锁的优势 (9)三、电子密码锁的具体设计 (10)(一)电子密码锁的总体结构 (10)(二)电子密码锁的各模块设计 (10) (11) (13) (16) (17)四、设计仿真 (18)(一)键盘输入去抖电路的仿真 (18)(二)密码锁输入电路的仿真 (18)(三)密码锁控制电路的仿真 (18)(四)密码锁显示电路的仿真 (19)五、总结 (20)六、参考文献 (21)电子密码锁的EDA设计与实现摘要:随着社会财富的日益增长,安全防盗已经成为全社会关注的问题。
人们在日常生活中对锁的要求越来越高,为增加其安全性,用密码代替钥匙的密码锁应运而生。
本文以EDA技术为基础,利用VHDL语言采用自上而下的设计方法在Quartus Ⅱ软件平台下,采用FPGA为主要元器件设计了一款电子密码锁。
基于EDA技术设计的密码锁因其价格便宜、安全可靠受到了人们的普遍欢迎。
该密码锁能够实现密码输入,数码清除,密码更改,密码上锁和密码解除等功能,并且具有体积小、安全性高、成本低、功耗小、易操作的优点。
关键词:密码锁;VHDL;FPGA;中图分类号:B03A Electronic Password-Lock Designed By EDAAbstract:With the continuous development of social wealth, people have pay close attention to security. People in the daily lives have much more request of lock, in order to meet the requirements of the use of locks to increase their security, with a password instead of the password key lock came into being. This paper designed a new type password-lock with EDA technology and VHDL language, using of top-down design. The electronic password-lock designed by EDA was very popular for its low price and safety. This electronic password-lock has a lot function like digital input, digital clearance, password changes, the activation power locks and power lifting lock, at the same time it has a lot advantages such as small volume, security yand, low price, low power consumption, easy to operate.Keywords: Password-lock; VHDL; FPGA一、电子密码锁的相关理论知识(一)EDA技术20世纪末,电子技术得到了飞速的发展,现代电子产品几乎渗透到了社会的各个领域,有力地推动了社会生产力的发展和社会信息化程度的提高,同时也使现代电子产品性能进一步提高,产品更新换代的节奏也越来越快。
电子密码锁中英文对照外文翻译文献

电子密码锁中英文对照外文翻译文献(文档含英文原文和中文翻译)2THE DESIGN OF MATRIX KEYBOARD AND LCD DISPLAY BASED ON MCUAbstractThe development of microelectronics technology and industrial measure requirement bring a good opportunity for development and research system,which makes it a broad prospects. The equipment has the advantages of small size, single power supply and a variety of output voltage leads it has a special module. Through the analysis of the hardware structure, we can summarizes each module needs.For example,we often go through the keys to realize the control of the electronic device. Small to watch mobile phone, to the TV computer, to a variety of complex instruments, all need to realize various operations through the buttons. This design is an important part of step for the further research,using buttons to control the display,include some modules like LCD 1602 liquid crystal display,4*4 matrix keyboard,STC89C52single-chip microcomputer and other bine with the Proteus software,the simulation results are displayed on the LCD in 1602 type of data.KEY WORDS: Single-chip; LCD 1602 liquid crystal display; 4*4 Matrix keyboard31 IntroductionWith the development of economy and the progress of science and technology, Microprocessors and peripheral chips have developed rapidly. The newest development of the integrated technology is the CPU chip and external. Like the program memory, data memory, parallel, serial, I/O timing / counter, interrupt controller and other control components are integrated in a chip—single chip. SCM has a manufacturing process CMOS, The smaller lithography process improves integration which make the chip space smaller, lower cost, lower working voltage, lower power consumption. Adopts double CPU structure, increasing the width of data bus, improve the speed and the ability of data processing, a pipeline structure, improve the processing and computing speed, in order to meet the needs of real-time control and processing. To increase the storage capacity, the internal EPROM EPPROM, secure program, to improve the driving capability of parallel port, in order to reduce the peripheral driving chip, increase the logic function and control the external I/O port flexibility. Peripheral in serial mode based expansion; peripheral circuit internal installation is an obvious trend to connect the internet. Reliability and application level is getting higher and higher. Some high-end microcontroller and launched in recent years also contains many special function unit, Such as A/D4converter, modem, communication controller, PLL, DMA, floating point unit etc.So,as we add some external expansion of the circuit and channel interface it can constitute a variety of computer applications, such as industrial control systems, data acquisition system, automatic test system, intelligent instrument, intelligent interface, function module etc. With MCU development and complete structure,SCM has become a powerful tool and will have a higher level and broader development.2 Design of the whole structure of systemThis design is based on single-chip, include matrix keyboard and LCD display module. Single-chip is the first model to select the appropriate target, function, reliability, cost, accuracy and speed control system. According to the actual situation of the topic selection, configuration management model different mainly from the following two aspects: First, supply chain management has strong anti-interference ability; second, SCM has a higher price. For information input module, keyboard selection can use economic benefits and meet the requirements of the 4*4 key matrix keyboard can realize multi function key requirements. As for the output module, using LCD 1602 liquid crystal display module, liquid crystal to achieve key information processing functions after the show. The circuit of the system is required by AT89C51 chip, clock circuit, reset circuit, driving circuit, scanning line5driving circuit and LCD1602 LCD screen. 4*4 matrix keyboard accessof P1.0 —P1.7,LCD 1602 screen to access P0.0—P0.7.3 System hardware circuit design3.1 Liquid crystal moduleThe principle of liquid crystal display is the use of physical properties of liquid crystal, The display control area voltage, power is displayed, it can display graphics. Liquid crystal display with thin thickness, suitable for large scale integrated circuit directly driven, easy to realize full color display characteristics, has been widely used in many fields of portable computer, digital camera, PDA mobile communication tools etc.1602 liquid crystal is also called the 1602 character LCD, which is a special used to display letters, numbers, symbols of the LCD module. It is composed of a plurality of 5X7 or 5X11 dot matrix character components, each dot matrix character who can display a character, there is a distance between the interval of each, there are intervals between each line, played the character spacing and row spacing, and because of this it is not well display graphics (with custom CGRAM, show the effect is not good). 1602 LCD refers to the display of the content for the 16X2, which can display two lines, 16 characters per line (LCD moduledisplay characters and numbers).63.2 Matrix keyboard module1. Key characteristicsThe keyboard is composed of a number of separate keys, press and release key is through the closed mechanical contact and off to achieve, because of the elastic action of mechanical contact, in the closing and the opening of the moment has a dither. Jitter must be eliminated, include software and hardware elimination.2.Scanning principleFirst determine whether a key is closed, and then one by one scan to further determine which button closure;(1) D0 ~ D3 output 0, level detection line D4 to D7. If the D4 - level D7 all high, said no key was pressed. If the D4 - level D7 is not all high, said the key was pressed.(2) If no key closure, return the scanning. If there is a button closure, in column by column scanning, closed key key number to find out. The D0=0, D1 ~ D3=1, D4 ~ D7 level, if D4=0, said the K1 key is pressed; similarly, if the D5 ~ D7=0, K5 respectively, K9, K13 key is down; if the D4 ~ D7=1, said that without a key is pressed. Then the D1=0, D0, D2, D3 was 1, the scanning of the second columns, which were carried on, until the closure of the key found.4 Software design7The software design mainly consists of keyboard scanning procedures, write instruction code program of LCD module, LCD module display data initialization code written subroutine, liquid crystal display module, liquid crystal display a character subroutine, time delay subroutine and so on. Programming for each module, software programming ended, Keil software was used for debugging, when the various parts of the program debugging is correct, according to the source sequence of calls, the parts together, compile, compile successfully downloaded to the mcu. The result is when the user presses a key, LCD display of the button is pressed after the realization of functional parameters corresponding to the. When the system power supply, P1 port scan cycle and the key button debounce, after completion of input through the SCM processing, output in the P0 port, through the liquid crystal display program content, complete system function.5 ConclusionWith the continuous development of high and new technology, the miniaturization and the miniaturization of electronic products has been achieved. And all kinds of new technology, as a single field of the new method, the development trend of new products and symbol -- intelligent significantly is one of the trends in development. The module design display microcontroller matrix keyboard and LCD, make us understand8to this technology innovation, through in-depth study on this technology, we can master the use in other areas, such as the design of electronic password lock, adjustment and control of indoor temperature and humidity, field access control system design etc.. Technological progress and economic development are the main themes of the present era, the improvement of people's living standard is bound to the requirements of electronic products increase, the design of any a small system is for a foundation, design of system innovation, the hardware, software integration, method and technology of virtual display and soft measurement artificial intelligence, I firmly believe that our life will be more colourful.9基于单片机的矩阵键盘与液晶显示的设计摘要微电子技术的发展和工业测量的需求,给系统的开发及深入研究带来了良好的契机,发展前景广阔。
文献翻译-语音电子密码锁的设计

英文翻译系别专业班级学生姓名学号指导教师报告日期Voice of Electronic Password-lock DesignThe design is the use of voice recognition technology and keyboard input, Sunplus SPCE061A SCM in achieving a voice electronic password lock authentication system.V oice 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.IntroductionAs people'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, 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 systemThis 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 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 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.V oice 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 improved 3 system hardware designThe 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 programming, thus achieving the above-mentioned functions.V oice 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, V ery 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 signal processing both V eryconvenient than the DSP chip for much cheaper.3.1 voice input circuitSPCE061A 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 circuitSunplus 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 loseA 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 theP-DAC1 (write) (0 x7017) and P - DAC2 (write) (0 x7016) unit.3.3 six Qiduan display of digital circuitsLED 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 seethe LED display at the same time show.3.4 Matrix keyboard scan circuitEnter 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 circuitSPCEO61A 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 speaker's 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 toensure 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 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, 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 Sunplus's 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 user's 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 V oiceprint control of the voice of electronic locks.DescriptionThe A T89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash programmable and erasable read only memory (PEROM). The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set and pinout. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel A T89C51 is a powerful microcomputer which provides a highly-flexible and cost-effective solution to many embedded control applications. Function characteristicThe A T89C51 provides the following standard features: 4K bytes of Flash, 128 bytes of RAM, 32 I/O lines, two 16-bit timer/counters, a five vector two-level interrupt architecture, a full duplex serial port, on-chip oscillator and clock circuitry. In addition, the A T89C51 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning. The Power-down Mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset. Pin DescriptionVCC:Supply voltage. GND:Ground. Port 0:Port 0 is an 8-bit open-drain bi-directional I/O port. As an output port, each pin can sink eight TTL inputs. When 1s are written to port 0 pins, the pins can be used as highimpedance inputs.Port 0 may also be configured to be the multiplexed loworder address/data bus during accesses to external program and data memory. In this mode P0 has internal pullups.Port 0 also receives the code bytes during Flash programming,and outputs the code bytes during programverification. External pullups are required during programverification.Port 1Port 1 is an 8-bit bi-directional I/O port with internal pullups.The Port 1 output buffers can sink/source four TTL inputs.When 1s are written to Port 1 pins they are pulled high by the internal pullups and can be used as inputs. As inputs,Port 1 pins that are externally being pulled low will source current (IIL) because of the internal pullups.Port 1 also receives the low-order address bytes during Flash programming and verification. Port 2Port 2 is an 8-bit bi-directional I/O port with internal pullups.The Port 2 output buffers can sink/source four TTL inputs.When 1s are written to Port 2 pins they are pulled high by the internal pullups and can be used as inputs. As inputs,Port 2 pins that are externally being pulled low will source current, because of the internal pullups.Port 2 emits the high-order address byte during fetches from external program memory and during accesses to external data memory that use 16-bit addresses. In this application, it uses strong internal pullupswhen emitting 1s. Duringaccesses to external data memory that use 8-bit addresses, Port 2 emits the contents of the P2 Special Function Register.Port 2 also receives the high-order address bits and some control signals during Flash programming and verification. Port 3Port 3 is an 8-bit bi-directional I/O port with internal pullups.The Port 3 output buffers can sink/source four TTL inputs.When 1s are written to Port 3 pins they are pulled high by the internal pullups and can be used as inputs. As inputs,Port 3 pins that are externally being pulled low will source current (IIL) because of the pullups. RSTReset input. A high on this pin for two machine cycles while the oscillator is running resets the device. ALE/PROGAddress Latch Enable output pulse for latching the low byte of the address during accesses to external memory. This pin is also the program pulse input (PROG) during Flash programming.In normal operation ALE is emitted at a constant rate of 1/6 the oscillator frequency, and may be used for external timing or clocking purposes. Note, however, that one ALE pulse is skipped during each access to external Data Memory.If desired, ALE operation can be disabled by setting bit 0 of SFR location 8EH. With the bit set, ALE is active only during a MOVX or MOVC instruction. Otherwise, the pin is weakly pulled high. Setting the ALE-disable bit has no effect if the microcontroller is in external execution mode.PSENProgram Store Enable is the read strobe to external program memory.When the A T89C51 is executing code from external program memory, PSEN is activated twice each machine cycle, except that two PSEN activations are skipped during each access to external data memory. EA/VPPExternal Access Enable. EA must be strapped to GND in order to enable the device to fetch code from external program memory locations starting at 0000H up to FFFFH. Note, however, that if lock bit 1 is programmed, EA will be internally latched on reset.EA should be strapped to VCC for internal program executions.This pin also receives the 12-volt programming enable voltage(VPP) during Flash programming, for parts that require12-volt VPP.XTAL1Input to the inverting oscillator amplifier and input to the internal clock operating circuit. XTAL2Output from the inverting oscillator amplifier.Oscillator CharacteristicsXTAL1 and XTAL2 are the input and output, respectively,of an inverting amplifier which can be configured for use as an on-chip oscillator, as shown in Figure 1.Either a quartz crystal or ceramic resonator may be used. To drive the device from an external clock source, XTAL2 should be left unconnected while XTAL1 is driven as shown in Figure 2.There are no requirements on the duty cycle of the external clock signal, since the input to the internal clocking circuitry is through a语音电子密码锁的设计本设计是采用语音识别技术加键盘控制输入,在凌阳SPCE061A单片机上实现的一种语音电子密码锁的认证系统。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
毕业设计外文翻译V oice of Electronic Password-lock Design语音电子密码锁的设计Voice of Electronic Password-lock Design( / 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 people'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, 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 systemThis 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 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 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 designThe 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 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; 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 signal processing both Very convenient than the DSP chip for much cheaper.3.1 voice input circuitSPCE061A 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 circuitSunplus 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 loseA way for the dual-channel DAC, in this manner, DAC1 and DAC2 conversion ofanalog 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 circuitsLED 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 circuitEnter 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 circuitSPCEO61A FLASH memory chip of only 32 K, large number of players in thevoice 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 speaker's 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 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, 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 Sunplus's 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 user's 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单片机上实现的一种语音电子密码锁认证系统。