毕业论文基于ATCC单片机的温度控制系统设计LCD显示.doc
文本预览下载声明
基于ATC89C51单片机的温度控制系统设计(LCD显示)
摘 要
温度的控制是个恒久的课题。从古至今,人类生活的许多方面都和温度控制有关,其中尤其是对水温的控制最多。现代社会,随着科技的发展,对水温控制也越来越精细。有鉴于此,结合本课题,我选取的控制对象是浴室用水的温度控制。电热水锅炉是将电能转化为热能的能量转换装置,具有结构简单、无污染和自动化程度高等优点,近年来已成为供热采暖的主要设备。电热水锅炉,用数学方法建立它的精确的数学模型显然十分困难,因而用传统的控制理论和方法对本系统实施控制有其局限性,而智能控制正是吸收了人们的生活经验、逻辑推理规则和记忆学习的优点,在工程实际中已经取得了很多价值性的成果。本文最终选择了简单易行的位式控制算法。在研究电锅炉控制算法的同时,本文还选用了ATC89C51单片机,设计了锅炉温度的硬件电路,包括传感器电路、继电器控制电路、温度显示电路、键盘输入电路,其中传感器分别选用了DS18B20温度传感器和电接点液位传感器,控制电路就是通过继电器来控制加热器,进而控制温度。显示部分采用了LCD显示屏。基于硬件电路,又编写了C语言程序,并通过C51和Protues软件联调,进行了仿真调试,获得较为理想的效果。
?
关键词:温度控制;AT89C51单片机;DS18B20; LCD
Abstract
Temperature control is a permanent topic.Historically, many aspects of human life and temperature control is concerned, most especially to the water temperature control.Modern society, with the development of science and technology, the water temperature control is becoming more and more delicate.Because of this, collection of thistopic,Iselect the control object is the bathroomwateremperaturecontrol.Electric?boiler?is?the?device?that?convert?electricity?into?heat,?it?has?the?advantages?of?simple?structure,?no?pollution?and?has?high?automatically?degree,?which?has?become?the?main?equipment?for?heating.?For?the?electric?boiler,?because?it?is?a?nonlinear,?time-varying,?long?time-delayed,?large?inertia?and?unidirectional?rising?system,?it?is?very?difficult?to?use?mathematical?method?to?establish?mathematical?model?and?to?control?this?system?by?using?the?classical?control?theory?and?method.?Intelligent?control?has?produced?something?valuable?in?engineering?practice,?because?it?brings?in?the?good?things?such?as?the?experience,?logical?reasoning?and?memory?from?people.This paper finally chose a simple type control algorithm.At?the?same?time,?we?choose?the?ATC89C51?SCM,?and?design?the?hardware?circuit?of?temperature?and?water?level?control?of?electric?boiler,?which?includes?the?sensor?circuit,?the?relay?control?circuit,?temperature?and?water?level?display?circuit,?keyboard?circuit,?water?level?alarm?circuit.
显示全部