导航

毕业论文:自动售货机的设计.doc

约30页 | DOC格式 | 展开

毕业论文:自动售货机的设计,共30页,字数总计:11105目录摘要1abstract2一、前言3(一)课题简介3(二)文献综述3(三)方案比较7二、开发工具简介8(一)vhdl介绍8(二)quartusii软件简介8三、自动售货机系统的总体设计9(一)设计思路9(二)自动售货机的工作流程9(三)状态装换图10四、自动售货机系统的vhdl设计12(一)商品选择模块12(二)..
编号:20-252081大小:506K合同范本大全

内容介绍
本文档由会员 优秀排骨 发布
共30页,字数总计:11105
目 录
摘 要 1
ABSTRACT 2
一、前言 3
(一)课题简介 3
(二)文献综述 3
(三)方案比较 7
二、开发工具简介 8
(一)VHDL介绍 8
(二)QuartusII软件简介 8
三、自动售货机系统的总体设计 9
(一)设计思路 9
(二)自动售货机的工作流程 9
(三)状态装换图 10
四、自动售货机系统的VHDL设计 12
(一)商品选择模块 12
(二)投币模块 12
(三)送出商品模块 14
(四)计时模块 14
五、自动售货机的仿真结果及分析 16
结束语 19
致谢 20
参考文献 21
附录A:程序源代码 22
摘 要
本文是在VHDL的基础上对自动售货机进行设计来实现其基本功能的,采用了Altera的开发软件Quarts II。通过在该软件平台上进行数字电路设计和仿真的方法,阐述了VHDL(Very High Speed Integrated Circuit Hardware Description Language)超高速集成电路硬件描述语言的一些特点及语法结构,介绍了自动售货机的基本原理、系统组成和主要功能,并分析讨论了用VHDL语言开发自动售货机系统的设计流程。本设计采用VHDL硬件描述语言编程的设计方法设计系统核心电路的硬件程序,在Quartus II软件平台上进行编译和仿真,最后生成的目标文件下载到实验台内的FPGA芯片以模拟实现该系统,并在实验台上对设计进行验证。
文章首先简述了自动售货机系统的意义和发展现状以及VHDL语言的特点,然后介绍了自动售货机的设计要求、设计思路,并给出了总体设计框图,通过分析设计写出VHDL程序源代码,将代码在Quartus II软件平台上进行编译仿真,波形基本符合设计要求。最终完成的自动售货机系统具有商品选择,投币处理、出货找零、异常退币等主要功能,整个系统的开发体现了在Quartus II软件平台上用VHDL设计数字控制系统的实用性。

关键词:自动售货机,硬件描述语言VHDL, Quarts II,FPGA

ABSTRACT
This article is to achieve its basic functions,the automat system on the basis of the VHDL design using Altera's development software Quarts II. Digital circuit design and simulation in the software platform on some of the features of the VHDL (Very High Speed Integrated Circuit the Hardware Description Language) language and grammatical structures, the basic principles of the automat system, system composition and main functions and analyzed and discussed the development of the automat system process using VHDL language. This design methods core circuit hardware design using the VHDL hardware description language programming program, compile and circuit simulation in the Quartus II software platform, the last generated target file downloaded to the bench inside the FPGA chip to simulate the system, validate the design in the experimental stage.
The article first outlines the meaning of the automat system and development as well as the characteristics of the VHDL language, then the vending machine design, design ideas, and gives the block diagram of the overall design, analysis and design to write the VHDL source codethe code in the Quartus II software platform compilation simulation waveforms in line with the design requirements. The vending machine system has the final selection of merchandise, coin processing, purchase withdrawn, the main function of the abnormal coin, the entire system development reflects the usefulness of VHDL design digital control systems used in the Quartus II software platform.

Keywords: the automat system, the hardware description languageVHDL, Quarts II, the FPGA
一、前言
(一)课题简介
1、 设计目标
设计一台能够出售1元、5元、10元三种商品的自动售货机,具有钱币识别,自动售货,自动找钱、警告等功能,此机可接收的钱币为1元,5元和10元。
2、设计任务和要求:
2.1自动售货机腀@鍪?元、5元、10元三种商品;
2.2顾客投入硬(纸)币的钱数有1元、5元、10元三种,假设每次只能投入其中的一种币,投币后用数码管将投币额显示出来;
2.3投币额足够时自动送出货物(送出的货物用相应不同的指示灯显示来模拟),同时多余的钱找回,找回的钱数用数码管显示出来;
猜您喜欢...