毕业设计论文_基于FPGA的电子密码锁设计

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

摘要

随着电子技术的发展,具有防盗报警等功能的电子密码锁代替密码量少、安全性差的机械式密码锁已是必然趋势。电子密码锁与普通机械锁相比,具有许多独特的优点:保密性好,防盗性强,可以不用钥匙,记住密码即可开锁等。目前使用的电子密码锁大部分是基于单片机技术,以单片机为主要器件,其编码器与解码器的生成为软件方式。在实际应用中,由于程序容易跑飞,系统的可靠性能较差。

本文主要阐述了一种基于现场可编程门阵列FPGA器件的电子密码锁的设计方法。用FPGA器件构造系统,所有算法完全由硬件电路来实现,使得系统的工作可靠性大为提高。由于FPGA具有现场可编程功能,当设计需要更改时,只需更改FPGA 中的控制和接口电路,利用EDA工具将更新后的设计下载到FPGA中即可,无需更改外部电路的设计,大大提高了设计的效率。因此,采用FPGA开发的数字系统,不仅具有很高的工作可靠性,而且升级也极其方便。

本文采用EDA技术,利用Quartus II工作平台和硬件描述语言,设计了一种电子密码锁,并通过一片FPGA芯片实现。

关键词:电子密码锁;FPGA;硬件描述语言;EDA

Abstract

With the development of electronic technology, electronic password lock with burglar alarm and other functions replacing less password and poor security mechanical code lock is an inevitable trend. compared electronic password lock with ordinary mechanical locks, it has many unique advantages :confidentiality, and security in nature, do not use the key, remember password can unlock it etc .Most electronic password locks we used now is based upon SCM technology ,SCM is its mainly device ,and the creating of encoding and decoding devices is the fashion of Software mode. In practical application, the reliability of the system may be worse because of easy running fly of the programme.

This paper mainly expatiates a design method of electronic password lock based upon Field Programmable Gate Array device. We use FPGA devices to construct system , all of the algorithm entirely achieved by the hardware circuit , because of FPGA has the function of ISP , when the design needs to be changed We only need to change the control and interface circuit of FPGA,EDA tools are used to download the updated design to FPGA without changing the design of the external circuit , this greatly enhance the efficiency of the design .Therefore , we use FPGA to empolder the digital system has not only high reliability but also extremely convenient of upgrading and improvement .In this paper ,we use EDA technology , Quartus II platform and hardware description language designing an electronic password lock ,and it achieved through an FPGA chip.

Key words:electronic password lock;FPGA;hardware description language;EDA

目录

1 绪论(标题部分的格式很多不对,检查修改) (1)

1.1 本课题研究的国内外现状及其发展 (2)

1.2 本课题研究的目的和意义 (2)

2 关键技术简介 (4)

2.1 FPGA硬件设计描述 (4)

2.1.1FPGA的设计流程 (4)

2.1.2VHDL语言的基本结构 (6)

2.1.3自上而下(TOP DOWN)的设计方法 (7)

2.2 设计语言、仿真平台与开发系统 (8)

2.3 用QuartusⅡ进行系统开发的设计流程 (8)

3 系统总体设计 (9)

3.1 电子密码锁设计的原理 (9)

3.2 方案的提出 (10)

3.3 系统设计要求 (11)

3.4 系统设计描述 (11)

3.5 各功能模块描述 (12)

3.6 系统流程 (13)

4 系统详细设计 (15)

4.1 输入模块 (15)

4.1.1时序产生电路 (15)

4.1.2按键消抖电路 (15)

4.1.3键盘扫描电路 (17)

4.1.4键盘译码电路 (19)

4.1.5键盘输入模块的实现 (20)

4.2 电子密码锁控制模块 (21)

4.2.1控制模块的描述 (21)

4.2.2控制模块的状态图与ASM图 (21)

4.2.3控制模块的实现 (23)

4.3 电子密码锁显示模块 (24)

相关文档
最新文档