1、 本科毕业设计(论文) 题 目 基于 FPGA 的空调控制系统设计 指导教师 职称 讲 师 学生姓名 学号 专 业 电子信息工程 班级 2 班 院 (系) 电子信息工程学院 完成时间 2012 年 4 月 28 日 I 基于 FPGA 的空调控制系统设计 摘 要 本论文主要任务是设计基于 FPGA 的空调控制系统的设计。 本课题的设计采用了温度传感 器 DS18B20,Altera 公司 ACEX 1K 系列的 EP1K30TC144-3 控制器。控制器部分采用 VHDL 语言 编写,主体程序采用了状态机作为主要控制方式。硬件主要有五大模块:温度设置模块、定 时模块、LED 显示模块、分频模块
2、、FPGA 控制器模块。最后实现使用 FPGA 比较设置温度与测 量所得温度,并发出指令给空调电机执行部分,按设置的时长实现升温或降温,当设置温度 与测量温度相等时,不执行调节温度功能。另外要能根据输入数据的变化和温度传感器测量 得到的温度同步变化 LCD 上显示。利用 Quartus II 进行仿真。 该课题的研究将有助于采用 FPGA 的系列产品的开发。同时可以大大缩短 FPGA 的开发时 间。另外,由于模块的易用性,也将使得更多的采用 FPGA 产品应用于温控领域,为行业和我 们的生活带来新的变化。 关键词关键词 FPGA/温度测控/VHDL/DS18B20 II The Design
3、Of Air Conditioner Based On FPGA Abstract This paper main task is based on FPGA design of the air conditioning control system design. This topic was designed using temperature sensor DS18B20, Altera company ACEX 1 K series of EP1K30TC144-3 controller. Controller of the VHDL language, the main progra
4、m as a state machine main control mode. Hardware mainly have five modules: temperature setting of the module, regular module, LED display module, points frequency module, FPGA controller module. finally realize the FPGA set temperature and compared using the temperature measurement, and sent out the
5、 instructions to air conditioner motor executive part, according to the set time heating or cooling realized, when set temperature and measuring temperature equal, not to enforce temperature adjustment function. In addition to the change of the data according to the input and temperature sensor meas
6、uring the temperature change get synchronous displayed on the LCD. Use Quartus II was simulated. This topic research will help based on FPGA series of products development. At the same time can greatly shorten the FPGA development time. In addition, because of the module usability, will also make more based on FPGA products used in the temperature fields, for the industry and our life brings new changes. Key words FPGA ,temperature measurement an