摘 要
本设计以AT89C51单片机为核心的温度控制系统的工作原理和设计方法。温度信号由温度芯片DS18B20采集,并以数字信号的方式传送给单片机。文中介绍了该控制系统的硬件部分,包括:单片机电路、温度检测电路、温度控制电路等。单片机通过对信号进行相应处理,从而实现温度控制的目的。文中还着重介绍了软件设计部分,在这里采用模块化结构,主要模块有:数码管显示程序、 键盘扫描及按键处理程序、温度信号处理程序、继电器控制程序、超温报警程序。
空调机的温度控制对于工业和日常生活等工程都具有广阔的应用前景。随着我国微型电子技术和嵌入式系统的发展,目前行业内相对比较传统的空调控制系统无法满足客户的需求。为了改进传统空调控制系统在控制上得短板问题,在本次毕业设计中,将使用相对先进、快捷、智能的控制机制。该系统的控制大脑为核心控制器51系列嵌入式开发系统,主要采用数字控制技术,将输入的连续模拟电压信号转换成离散的数字信号,传输给液晶显示器。该空调控制系统设计具有智能控制、数字显示等功能,而且性价比高、度准确、能耗较低、制作简易、控制快捷等特点,给人民生活带来了很大的影响,在市场上很受欢迎。
空调机的温度控制对于工业和日常生活等工程都具有广阔的应用前景。本文将传统控制理论与智能控制理论相结合应用千温度控制的实际工程中。首先,设计出系统的硬件构成。在此基础上,本文分析了现有空调机控制方法的利弊,并针对它们各自的优劣。该智能控制系统设计主要从国内外发展状况,硬件控制部件选择,根据控制原理绘制硬件电路,控制系统软件程序设计开发,软硬件联调仿真四个方面进行详细讲解。该控制系统使用AT89C51嵌入式开发系统、传感器信号采集电路、电路显示部分、数据转换电路、复位电路和时钟电路等组成空调控制系统。采用C语言进行代码开发,应用Keil软件进行代码设计编写,通过Proteus进行仿真,最后达到系统性能要求。
关键词:AT89C51;温度检测;空调控制;显示
Abstract
This design AT89C51 microcontroller as the core of the temperature control system working principle and design method. The temperature signal is collected by the temperature chip DS18B20 and transmitted to the MCU in the form of digital signal. This paper introduces the hardware of the control system, including MCU circuit, temperature detection circuit, temperature control circuit and so on. Single chip microcomputer through the corresponding signal processing, so as to achieve the purpose of temperature control. The paper also focuses on the software design, here using modular structure, the main modules are: digital tube display program, keyboard scanning and key processing program, temperature signal processing program, relay control program, overtemperature alarm program.
Air conditioning temperature control for industrial and daily life and other projects have broad application prospects. With the development of micro electronic technology and embedded system in China, the current relatively traditional canteen air conditioning system can not meet the needs of customers. In order to improve the traditional canteen air conditioning system in the control of the short board problem, in this graduation project, will use relatively advanced, fast, intelligent control mechanism. The control brain of the system is the core controller of the 51 series embedded development system, which mainly uses digital control technology to convert the input continuous analog voltage signal into discrete digital signal and transmit it to the LCD. The canteen air conditioning system design has intelligent control, digital display and other functions, and cost-effective, accurate, low energy consumption, simple production, fast control and other characteristics, has brought a great impact on people's lives, is very popular in the market.
Air conditioning temperature control for industrial and daily life and other projects have broad application prospects. In this paper, the traditional control theory and intelligent control theory combined with the application of thousands of temperature control in the actual project. First, design the hardware structure of the system. On this basis, this paper analyzes the advantages and disadvantages of the existing air conditioner control methods, and their respective advantages and disadvantages. The intelligent control system design mainly from the domestic and foreign development, the choice of hardware control components, according to the control principle to draw the hardware circuit, control system software program design and development, software and hardware joint adjustment simulation four aspects in detail. The control system uses AT89C51 embedded development system, sensor signal acquisition circuit, circuit display part, data conversion circuit, reset circuit and clock circuit to form the canteen air conditioning system. C language was used for code development, Keil software was used for code design and writing, Proteus was used for simulation, and finally the system performance requirements were met.
Keywords: AT89C51. Temperature detection; Air conditioning control; According to
目录
完整论文点击如下链接下载:
https://download.csdn.net/download/weixin_45905610/88515784
程序+仿真点击如下链接下载: