题目:武汉职业技术学院
毕业设计(论文)
基于AT89C51单片机的电加热炉温度控制系统
院 系:机电工程学院 专 业:电气自动化 班 级:电气13302 姓 名:何 艳 辉 学 号:1302303904 指导老师:方 波 完成日期:2016年3月
摘 要
随着国民经济的发展,人们对生活质量的要求越来越高,各种电子产品开始进入人们的生活并成为人们生活不可或缺的一部分,因此对电子产品的自动化控制的要求也越来越高,本设计正是选用了其中具有代表性的电加热炉作为研究对象。
本设计以单片机为核心对电加热炉的温度进行监测和控制,采用单片机来对他们控制不仅具有控制方便,简单和灵活性大等优点,而且可以大幅度提高被控温度的技术指标,从而能够大大的提高产品的质量和数量。
为了实现高精度的温度控制,本单片机系统采用PID算法控制,通过控制双向可控硅改变电炉和电源的接通、断开,从而用改变加热时间的方法来实现对温度的控制。本系统由按键显示和温度采样控制以及上下限报警几个模块组成,通过模块间的通信完成温度设定、实际温度和测量温度的显示等功能。
本文对系统的硬件、选型、软件中流程控制的实现均有较为详细的阐述,对使用的编程软件也有描述,对于本系统的控制特点也进行总结说明,比较详尽地叙述了整个系统的相关事宜。
关键词:单片机、PID算法、温度控制。
I
Abstract
Along with the development of national economy, the people to the requirements of the quality of the life more and more high, all kinds of electronic products began to enter into the people's life and become an integral part of life, so the requirements of electronic products of automation control also become more and more high, this design is just choose the electric heating which one is representative as the research object.
This design with the single chip processor as the core to monitoring and control electric heating temperature, Using the monolithic control has not only to control convenient, simple and flexible and other advantages, and can greatly increase the specifications of temperature, which can greatly improve the quality and quantity of products.
In order to realize high precision temperature control, the SCM system adopts PID control algorithm, through controlling the on and off of the Bidirectional controllable silicon and the method of changing the heating time to achieve the control of the temperature. The system is composed of button display and temperature sampling control and upper alarm several modules, through the communications of the module to realize temperature set, and the display function of the actual temperature and measuring temperature.
This article is detailed in hardware, selection, software process control realization of the system, and also describes the programming software , control characteristic and also summarizes that more exhaustive account of the system related issues.
Key words :Microcontroller、Temperature control、PID algorithm.
II