基于FPGA的空调控制器设计_毕业设计论文 下载本文

内容发布更新时间 : 2024/12/25 0:16:29星期一 下面是文章的全部内容请认真阅读。

基于FPGA的空调控制器设计

学生专业: 电子信息科学与技术

摘要

随着我国科学技术的进步和人民生活水平的不断提高,近几年来各种产业都在迅速发展,空调业也包括其中,空调在公共场所、专用场地和普通家庭等场所都被广泛应用。本论文的主要任务是基于FPGA的空调控制器的设计,控制器部分采用Verilog HDL语言编写。主体程序采用了状态机作为主要控制方式,并分为7个模块即温度控制模块、湿度控制模块、显示控制模块、数码管显示模块、分频模块和按键消抖模块分别编写。最后实现以FPGA为核心控制器件,通过比较采集的温度和用户设定的温度来做出发送降温还是加热的控制信号给空调机;通过比较采集的湿度和用户设定的湿度来做出加湿还是除湿的控制信号给空调机。同时通过FPGA芯片还可以实现定时和控制显示,使用数码管将传感器测量到的温度、湿度,设定的温度、湿度、定时时长都显示出来,最后利用Quartus II软件进行功能仿真,并下载到FPGA开发板上进行硬件验证。

该课题的研究将有助于采用FPGA的系列产品的开发,同时可以大大缩短FPGA的开发时间。另外,由于模块的易用性,也将使得更多的设计者采用FPGA产品应用于温控领域,为行业和我们的生活带来新的变化。

关键词 空调控制器;FPGA;Verilog HDL;Quartus II

I

Abstract

Along with the progress of science and technology in China and the improvement of people's living standard, in recent years, various industries are developing rapidly, also including air conditioning industry. Air conditioning has been widely used in public places, special field and ordinary families and so on. The main task of this thesis is the design of air conditioning controller based on FPGA, the controller part adopts Verilog HDL language. Main program state machine is adopted as the main control mode, hardware module mainly has buttons, 50 MHz semiconductor vibration module, digital tube display module, temperature sensor, humidity sensor module, air conditioning actuator module. Finally, taking FPGA as the core control device, set by comparing the acquisition of temperature and the temperature to make users send cooling or heating control signal to air conditioner. Set by comparing the acquisition humidity and humidity to make user control signal humidification or dehumidification for air conditioner. At the same time through the FPGA chip can achieve timing and control the use of digital tube display, temperature, humidity sensor, the set temperature, time, displayed, finally timing simulation using Quartus II software.

The subject of the research will contribute to adopting FPGA series product development, at the same time can shorten the development time of FPGA. In addition, due to the ease of modules, will make more designers using FPGA products applied in the field, temperature control for the industry and bring new changes in our lives.

Keywords Air conditioning controller FPGA Verilog HDL Quartus II

II