89C51为核心的温度控制器
- 格式:doc
- 大小:22.50 KB
- 文档页数:2
基于at89c51单片机的水温控制系统的设计文献综述基于AT89C51单片机的水温控制系统的设计文献综述一、引言水温控制系统在工业、家电、农业等领域有着广泛的应用。
随着科技的发展,单片机作为微控制器在控制系统中的应用越来越广泛。
AT89C51单片机作为一种常用的单片机,具有性能稳定、价格低廉等优点,被广泛应用于水温控制系统的设计中。
本文将对基于AT89C51单片机的水温控制系统的设计进行文献综述。
二、AT89C51单片机简介AT89C51是一种常用的8位单片机,由美国ATMEL公司生产。
它具有4K字节的Flash 存储器、128字节的RAM、32位I/O端口、两个16位定时器/计数器、一个5向量两级中断结构、一个全双工串行通信口等功能。
AT89C51单片机适用于各种控制领域,如温度、湿度、压力等。
三、水温控制系统设计水温控制系统主要由温度传感器、单片机控制器、执行器等组成。
传感器负责采集水温信息,并将信息传递给单片机控制器。
单片机控制器根据设定的温度值与实际水温的差值,通过执行器调节加热元件的工作状态,从而实现水温的自动控制。
在基于AT89C51单片机的水温控制系统中,常用的温度传感器有热敏电阻、热电偶等。
执行器则可以选择继电器、可控硅等设备,用于控制加热元件的工作状态。
为了实现精确的温度控制,可以采用模糊控制、PID控制等控制算法。
四、AT89C51单片机在水温控制系统中的应用AT89C51单片机在水温控制系统中主要负责温度信号的采集、处理和控制输出。
通过编程实现温度信号的采集和转换,并根据设定值与实际水温的差值,通过执行器调节加热元件的工作状态,从而实现水温的自动控制。
此外,AT89C51单片机还可以实现报警、显示等功能,提高系统的智能化程度。
五、总结与展望基于AT89C51单片机的水温控制系统具有结构简单、成本低廉、易于实现等优点,被广泛应用于各个领域的温度控制中。
随着科技的发展,人们对水温控制系统的精度和智能化程度的要求越来越高。
随着科技的发达,以及人民生活水平的提高,人民室内生活环境不断改善,出现了空调、智能温度器、室内净化器等一系列改善人民生活条件的高科技产品。
然而这并不能满足人民越来越高的生活需求,有些人提出了湿度的要求,本设计就在此基础上,设计一种基于89C51单片机控制的智能湿度控制系统。
此系统采用了精密的检测电路(包刮精密对称方波发生器、对数放大及半波整流、温度补偿及温度自动校正及滤波电路等几部分电路组成),能够自动、准确检测环境空气的相对湿度,并将检测数据通过A/D转换后,送到处理器(AT89C51)中,然后通过软件的编程,将当前环境的相对湿度值转换为十进制数字后,再通过数码管来显示;而且,通过软件编程,再加上相应的控制电路(光电耦合及继电器等部分电路组成),设计出可以自动的调节当前环境的相对湿度:当室内空气湿度过高时,控制系统自动启动抽风机,减少室内空气中的水蒸气,以达到降低空气湿度的目的;当室内空气湿度过低时,控制系统自动启动蒸汽机,增加空气的水蒸气,以达到增加湿度的目的,使空气湿度保持在理想的状态;键盘设置及调整湿度的初始值,另外在设计个过程当中,考虑了处理器抗干扰,加入了单片机监视电路。
通过对基于单片机的相对湿度控制器设计,加深对传感器技术及检测技术的了解,巩固对单片机知识的掌握,并系统的复习本专业所学过的知识。
关键词:湿度检测,对数放大,湿度调节,温度补偿With the development of science and technology, the improvement of and the living standards of the people, the people are improving constantly in indoor living environment, the air conditioner , intellectual temperature device , high-tech products of such people's living conditions of a series of improvement as the purifying device ,etc. in the room have appeared. But this can not meet higher and higher life demands of people , some people propose the demand for the humidity, this text is just on this basis, design one on the basis of intellectual humidity control system which 89C51 MCU controlled.This system has adopted the accurate measuring circuit (is it blow accurate symmetrical square wave generator , logarithm enlarge and halfwave rectifier , temperature compensation , temperature correct and strain wave circuit odd parts of circuit not to make up automatically to wrap up), can measure the relative humidity of the surrounding air automatically and accurately , and after measuring the data and changing through A/D, send it in the processor (AT89C51 ), Then through the programming of the software, after changing the value of relative humidity of the environment at present into the decimal digit, and then in charge of the number to show; And, through software programming, in addition, corresponding control circuit (such some circuit as photoelectric coupling and relay ,etc. make up ), design the relative humidity of the present environment of regulation that can be automatic: When the indoor air humidity is too high, the control system starts the exhauster automatically, reduce the vapor in the indoor air, in order to achieve the goal of reducing air humidity; When the indoor air humidity is too low, the control system starts the steam engine automatically, increase the vapor of the air , in order to achieve the goal of increasing humidity , makes the air humidity keep at ideal state; The initial value of the humidity that the keyboard is set up and adjusted, in designing a course in addition, have considered the anti-interference of the processor, monitored the circuit after putting into the MCU.Through designing the controller of relative humidity based on one-chip computer , strengthen the knowledge of the technology of the sensor and detection technique, the ones that consolidated to knowledge of the one-chip computer were mastered, and the systematic knowledge that a speciality has been studied of review. Keyword: humidity detection, logarithm is enlarged, humidity control and humidity regulation, temperature compensation。
基于STC89C51单片机的温度控制报警系统设计摘要:本文基于STC89C51单片机设计了一种温度控制报警系统,通过温度传感器检测环境温度,并根据设定的温度范围控制风扇运转并发出报警信号,以实现室内温度自动控制。
本文介绍了系统硬件设计、软件设计以及测试实验,并通过实验数据验证了系统的可行性和稳定性。
关键词:STC89C51单片机;温度控制;报警系统;温度传感器一、引言随着科技的不断发展,自动化控制技术在各个领域得到广泛应用。
温度自动控制是其中的一个重要应用方向。
在家庭、工厂以及医院等场所,温度的合理控制对于人们的身体健康和环境的稳定运转都有着重要的影响。
因此,设计一种基于STC89C51单片机的温度控制报警系统具有重要的研究价值和应用前景。
二、系统设计2.1 系统功能本系统主要功能为:实时检测环境温度,根据设定的温度范围控制风扇运转,并发出报警信号以实现室内温度自动控制。
2.2 系统硬件设计本系统主要硬件设计包括:温度传感器模块、LED指示灯、蜂鸣器、风扇以及STC89C51单片机。
温度传感器模块采用DS18B20型号,通过单总线接口与单片机相连,用于检测室内温度。
LED指示灯用于显示系统状态,包括运行状态和报警状态。
蜂鸣器用于发出报警信号。
风扇用于控制系统温度,实现温度自动控制。
STC89C51单片机负责系统的数据采集、运算和控制。
2.3 系统软件设计本系统的软件设计分为两部分:系统初始化和主程序部分。
系统初始化包括:串口初始化、温度传感器初始化、LED指示灯初始化、蜂鸣器初始化、风扇初始化等,主要用于对系统各个硬件进行初始化设置。
主程序部分包括:温度采集、温度判断、风扇控制和报警控制等。
主要通过程序实现室内温度的采集和判断,并根据设定温度范围控制风扇和报警控制信号等。
三、实验结果在实际测试中,将系统置于模拟室内环境中进行测试,测试数据显示本系统能够实现温度自动控制,并在温度超出设定范围时发出报警信号。
摘要随着电子产品向智能化和微型化的不断发展,单片机已成为电子产品研制和开发中首选的控制器。
为了更好地推广单片机在实际生活和生产中的应用,本文介绍一种基于单片机AT89C51设计的温度控制系统,以实现系统能自主调节温度的功能。
该温度系统采用温度传感器DS1820来获得当前温度,并以数字信号的方式传送给单片机。
采集的温度与从4X2矩阵键盘输入的温度值进行比较,并通过液晶显示器LCD显示出来。
如果采集温度低于设置温度,系统将通过继电器模块自动控制升温;如果采集温度高于设置温度,系统将通过继电器模块自动控制降温。
文中介绍了该控制系统的硬件部分,包括:温度采集电路、温度设置电路、温度显示电路、继电器电路等。
文中还着重介绍了软件设计部分。
里采用模块化结构,主要模块有:温度采集模块、键盘扫描及按键处理模块、温度显示模块、温度比较模块、继电器控制模块。
经实际制作表明该温度控制系统具有体积小、操作灵活、可靠性高、实用、成本低等特点,具有一定的实际意义。
关键词:单片机AT89C51;温度控制;温度传感器DS1820;液晶显示器LCDAbstractWith the electronic products developing to intelligent and miniaturization,single chip has become the first chosen controller which is used to develop and explore the electronic product. In order to promote single chip applicating in real life and production, the paper will introduce a temperature control system which is based on a kind of single chip AT89C51, and it can achieve the function that the system can regulate the temperature independently.The temperature system adopts the temperature sensor DS1820 to get the current temperature, and transfer it to the microcontroller with the way of digital signal.The acquised temperature will be compared with the temperature which is put in by 4X2 matrix keyboard, and will be displayed by liquid crystal display.If collected temperature below the set temperature, the system will automatically control to heat up by the relay modules.If collected temperature higher than the set temperature, the system will automatically control to reduce by the relay modules.The paper introduces the hardware which is part of the control system,including: temperature acquisition circuit,temperature setting of the circuit, temperature display circuit, relay circuit and so on. The paper has also mainly introduced the design of software. Here use modular construction, the main module:temperature acquisition module, keyboard scan and key processing module, temperature display module, temperature comparison module, relay control module.According to make it actually, I find it has these characteristics: small volume, flexible operation, high reliability, practical, low cost and so on. It has practical significance.Keywords:Single Chip AT89C51;Temperature Control;T emperature Sensor DS1820;Liquid Crystal Display;第一章绪论1.1 选题背景与意义在生产过程中,温度的控制是十分常见的。
摘要:介绍了新型单总线结构温度传感器DSl8B20的结构特征、工作原理及控制方法,阐述了以89C205l 为单片机和以DSl8B20为传感器构成的智能温度控制器的电路组成、工作原理、程序设计,说明了在研制过程中总结出来的使用注意事项。
该温控器可广泛应用于人门日常生活、工农业生产和科学研究领域,具有一定的推广价值。
关键词:温度; DS18B20; 89C2051;程序;控制一、前言目前,国际上新型温度传感器正从模拟式向数字式,从集成化向智能化、网络化的方向飞速发展。
智能温度传感器DS18B20将温度传感器、A/D传感器、寄存器、接口电路集成在一个芯片中,具有直接数字化输出、测试及控制功能强、传输距离远、抗干扰能力强、微型化、微功耗的特点。
DS18B20可以让我们可以构建适合自己的经济的测温系统。
二、DS18B20单线数字温度传感器1.DS18B20引脚分布图图1 DS18B20引脚分布图2.DS18B20内部结构图3 DS18B20的内部结构3、性能特点①采用单总线专用技术,既可通过串行口线,也可通过其它I/O口线与微机接口,无须经过其它变换电路,直接输出被测温度值(9位二进制数,含符号位),②测温范围为-55℃-+125℃,测量分辨率为0.0625℃,③内含64位经过激光修正的只读存储器ROM,④适配各种单片机或系统机,⑤用户可分别设定各路温度的上、下限,⑥内含寄生电源。
4、控制方法在硬件上,DS18B20与单片机的连接有两种方法,一种是Vcc接外部电源,GND接地,I/O与单片机的I/O 线相连;另一种是用寄生电源供电,此时UDD、GND接地,I/O接单片机I/O。
无论是内部寄生电源还是外部供电,I/O口线要接5KΩ左右的上拉电阻。
三、基于AT89C51+DS18B20的温度测量装置1.系统组成2.工作原理基于DS18B20的温度测量装置电图如图2所示:温度传感器DS18B20将被测环境温度转化成带符号的数字信号,传感器可置于离装置150米以内的任何地方,输出脚I/O直接与单片机的P1.1相连,R1为上拉电阻,传感器采用外部电源供电。
用AT89C51控制ICL7135的0.01℃数显温度计摘要:本文用晶体管PN结作温度传感器,用集成电路ICL7135等作A/D转换器,以AT89C51为控制器,制作了测量精度可达0.01℃的数字温度计。
主要介绍了本数显温度计的硬件结构和软件编程实现的方法,通过实验测试说明,所设计的温度计能达到要求。
关键词:单片机AT89C51 数显温度计温度传感器 A/D转换器温度测量在物理实验、医疗卫生、食品生产等领域,尤其在热学实验(如:物体的比热容、汽化热、热功当量、压强温度系数等教学实验)中,有特别重要的意义。
现在所使用的温度计通常都是精度为1℃和0.1℃的水银、煤油或酒精温度计。
这些温度计的刻度间隔通常都很密,不容易准确分辨,读数因难,而且它们的热容量还比较大,达到热平衡所需的时间较长,因此很难读准,并且使用非常不方便。
而利用晶体三极管3DG6C的基极与集电极之间正向电压降U bc随温度T呈线性变化的关系作为温度传感器,以OP07构成放大器,以位A/D转换器ICL7135作A/D转换器设计的数显温度计可以解决这些问题[1]。
笔者根据实际使用的需要,设计了以AT89C51为控制核心,具有测量间隔可设定、测量结果可自动记录、可查询,并经简单扩展就具有报警能力和同PC机进行数据交换的0.01℃数显温度计,并用于热学实验取得成功。
1 硬件电路和工作原理1.1 电路框图整机电路由温度信号采集放大电路、A/D转换电路、CPU控制与显示电路三部分组成,其框图如图1所示。
温度信号由数据采集电路中的温度传感器转换为电信号,经放大电路后,送入A/D转换器,转换后,以BCD码形式送入CPU,再由程序控制其输出显示,键盘完成各项设置。
1.2 数据采集、放大电路如图2所示,晶体三极管Q1(3DG6C)的BE极相连,利用基极与集电极之间正向电压降U bc随温度呈线性变化的关系作为温度传感器[1]。
MC1403(IC1)的输出(2.5V)作为供电电源,以满足电压稳定性及测量精度较高的要求。
基于AT89C51的温度控制系统设计冯晓锋西安翻译学院实验中心摘要:本系统是基于AT89C51单片机和DS18B20数字温度传感器的智能温度控制系统,根据要求可进行最高和最低温度的设定,通过RS-485总线标准实现与PC机的远程通信,实现PC机对采集温度的存储、处理、打印等功能。
关键字:AT89C51 数字温度传感器温度控制系统一、系统总体结构设计根据设计要求对某指定地点的温度进行实时的监测与控制,采用了分布式系统的控制方式,即在测控点配置能独立工作的从机,从机由主机进行监控管理,上下采用主从式监控管理形式,系统总体结构如图1所示。
图1 系统总体结构系统的各个部分功能和关系如下:①主机为管理机,完成参数设置、数据存储、处理及管理及打印功能。
②从机为控制机,采用单片机AT89C51,直接实现各个模块的控制功能,并能在主机关机的条件下实现所有的控制功能。
③通讯转换芯片MAX485实现RS-232信号和RS-485信号的转换,主机通过其向从机发送控制参数,从机将现场采集数据通过其传给主机。
④数据采集实现对传感器及运行设备的检测。
⑤输入输出部分包括输入模块和输出模块,输入模块将采集的信号转换后输入到从机,输出模块将系统的控制信号输出到控制器及其设备。
二、系统工作方式系统以温度监控为核心,温度参数和设备运行状态由主机根据用户要求定时向从机查询,各控制模块的设置参数修改时,将新的参数发送到从机。
主机可以对从机进行参数设置及控制,从机也可以独立工作。
从机通过温度传感器不间断地采集温度数据,根据控制模块的设置参数做出控制决策,驱动设备运行,并随时准备接受主机的指令,当受到询问时,将各项数据编码通过串行通信方式传输到主机。
主机接收到数据后,进行数据处理,在监控界面上显示当前的状态信息,并将此信息实时地存储到数据库中,为用户维护和管理准备数据。
对数据可以进行查询,也可以将一段时期的数据信息汇集成报表,报表包括各项统计数据,还可以将数据处理绘制成图形曲线,实现对数据的分析与管理。
基于51单片机的水温自动控制系统沈统摘要:在现代化的工业生产中,温度是常用的测量机被控参数。
本水温控制系统采用AT89C51为核心控制器件,实现对水温在30℃到96℃的自动控制。
由精密摄氏温度传感器LM35D构成前置信号采集和调理电路,过零检测双向可控硅输出光电耦合器MOC3041构成后向控制电路,由74LS164和LED数码管构成两位静态显示用于显示实时温度值。
关键词:89C51单片机;LM35D温度传感器;ADC0809;MOC3041光电藕耦合器;水温自动控制0 引言在现代的各种工业生产中 ,很多地方都需要用到温度控制系统。
而智能化的控制系统成为一种发展的趋势。
本文所阐述的就是一种基于89C51单片机的温度控制系统。
本温控系统可应用于温度范围30℃到96℃。
1 设计任务、要求和技术指标1.1任务设计并制作一水温自动控制系统,可以在一定范围(30℃到96℃)内自动调节温度,使水温保持在一定的范围(30℃到96℃)内。
1.2要求(1)利用模拟温度传感器检测温度,要求检测电路尽可能简单。
(2)当液位低于某一值时,停止加热。
(3)用AD转换器把采集到的模拟温度值送入单片机。
(4)无竞争-冒险,无抖动。
1.3技术指标(1)温度显示误差不超过1℃。
(2)温度显示范围为0℃—99℃。
(3)程序部分用PID算法实现温度自动控制。
(4)检测信号为电压信号。
2 方案分析与论证2.1主控系统分析与论证根据设计要求和所学的专业知识,采用AT89C51为本系统的核心控制器件。
AT89C51是一种带4K字节闪存可编程可擦除只读存储器的低电压,高性能CMOS 8位微处理器。
其引脚图如图1所示。
2.2显示系统分析与论证显示模块主要用于显示时间,由于显示范围为0~99℃,因此可采用两个共阴的数码管作为显示元件。
在显示驱动电路中拟订了两种设计方案:方案一:采用静态显示的方案采用三片移位寄存器74LS164作为显示电路,其优点在于占用主控系统的I/O口少,编程简单且静态显示的内容无闪烁,但电路消耗的电流较大。
摘要随着社会的不断发展,人们改造自然的能力也在不断的提高。
机器的诞生,为我们减少了部分或者全部的脑力劳动和体力劳动。
电子技术的诞生更是带来了翻天覆地的变化。
机电控制系统成为机械技术与微电子技术集成的共性关键技术。
人们通过它可以使机械完全按照自己的意愿来执行。
随着机电控制技术的发展,主要体现出了单片机和PLC两种控制方式。
本设计采用单片机控制。
单片机在日常生活中的运用越来越广泛。
温度控制在工业生产中经常遇到。
从石油化工到电力生产,从冶金到建材,从食品到机械都要对温度进行控制.甚至在有些产品生产过程中温度的控制直接影响到产品的质量。
单片机温度控制无论是现在还是未来都会起到重要作用。
本文介绍了以AT89C51单片机为核心的电烤箱温度控制系统。
电烤箱的温度控制系统有两个部分组成:硬件部分和软件部分。
其中硬件部分包括:单片机电路、传感器电路、放大器电路、转换器电路、以及键盘和显示电路。
软件部分包括:主程序、运算控制程序、以及各功能实现模块的程序。
文章最后对本设计进行了总结。
对温度控制系统的发展提出了几点建议。
关键词:单片机,温度,电烤箱,控制毕业设计(论文)原创性声明和使用授权说明原创性声明本人郑重承诺:所呈交的毕业设计(论文),是我个人在指导教师的指导下进行的研究工作及取得的成果。
尽我所知,除文中特别加以标注和致谢的地方外,不包含其他人或组织已经发表或公布过的研究成果,也不包含我为获得及其它教育机构的学位或学历而使用过的材料。
对本研究提供过帮助和做出过贡献的个人或集体,均已在文中作了明确的说明并表示了谢意。
作者签名:日期:指导教师签名:日期:使用授权说明本人完全了解大学关于收集、保存、使用毕业设计(论文)的规定,即:按照学校要求提交毕业设计(论文)的印刷本和电子版本;学校有权保存毕业设计(论文)的印刷本和电子版,并提供目录检索与阅览服务;学校可以采用影印、缩印、数字化或其它复制手段保存论文;在不以赢利为目的前提下,学校可以公布论文的部分或全部内容。
目录一. 摘要 (1)二.系统方案设计(硬件部分) (2)三.系统设计 (2)3.1 单片机的选择及基本原理 (2)3.2 温度传感器的工作原理及于单片机连接 (3)3.3 报警电路(包含主电路)设计 (6)3.4 电源电路 (6)3.5 显示电路 (6)四. 系统接线图 (8)五.总结 (8)六.参考文献 (8)摘要随着现代信息技术的飞速发展和传统工业改造的逐步实现,能够独立工作的温度检测和显示系统应用于诸多领域。
传统的温度检测以热敏电阻为温度敏感元件。
热敏电阻的成本低,但需后续信号处理电路,而且可靠性相对较差,测温准确度低,检测系统也有一定的误差。
这里设计的数字温度计具有读数方便,测温范围广,测温精确,数字显示,适用范围宽等特点。
本设计选用AT89C52型单片机作为主控制器件,DS18B20作为测温传感器,通过LCD7SEG-MPX8—CA—BLUE实现温度显示。
通过DS18B20直接读取被测温度值,进行数据转换,该器件的物理化学性能稳定,线性度较好,在0℃~100℃最大线性偏差小于0.01℃。
该器件可直接向单片机传输数字信号,便于单片机处理及控制。
通过温度传感器对外界的温度进行检测与监控,然后进行调整,由液晶显示屏显示温度,然后通过四个灯来控制温度,当温度高于某个值和低于某个值时,小灯亮,在其中某个范围内时也可以让其中一个灯亮,通过灯亮来调节温度,从而来实行对温度的监控与调整。
二.系统方案设计(硬件部分)该方案使用stc89C52系列单片机作为核心,以智能温度传感器DS18B20为测量温度的元件,进行温度测量,用1062显示模块将温度显示出来。
设定一个温度上下限,当温度低于下限或高于上限时,将控制使主电路进行动作(加热或制冷),同时使报警电路报警(本方案中将主电路模拟用二极管算入报警电路中),本方案中用两个发光二极管模拟加热和制冷装置的动作,用蜂鸣器和电阻组成报警电路。
其系统框图如下:三.系统设计3.1 单片机的选择及基本原理本方案中选用stc89C52作为本温控系统的核心,功能上STC89C52与教材上介绍的80C51并无太大差别。
单片机系统课程设计成绩评定表设计课题:基于89C51的温度报警器设计学院名称:电气工程学院专业班级:学生姓名:学号:指导教师:设计地点:设计时间:指导教师意见:成绩:签名:年月日单片机系统课程设计课程设计名称:基于89C51的温度报警器设计专业班级:学生姓名:学号:指导教师:课程设计地点:课程设计时间:单片机系统课程设计任务书学生姓名专业班级学号题目课题性质工程设计课题来源选题指导教师主要内容(参数)利用89C51设计温度报警器实现以下功能:1.实现对环境温度的测量和显示;2.温度超过设定值时,蜂鸣器报警;3.报警同时系统发出中断命令停止工作;任务要求(进度)第1-2天:熟悉课程设计任务及要求,查阅技术资料,确定设计方案。
第3-4天:按照确定的方案设计单元电路。
要求画出单元电路图,元件及元件参数选择要有依据,各单元电路的设计要有详细论述。
第5-8天:软件设计,编写程序,要求内容完整、图表清晰。
第9-10天:撰写课程设计报告。
要求文理流畅、格式规范、方案合理、设计正确。
主要参考资料[1] 张迎新.单片微型计算机原理、应用及接口技术(第2版)[M].北京:国防工业出版社,2004[2]伟福LAB6000系列单片机仿真实验系统使用说明书[3] 阎石.数字电路技术基础(第五版).北京:高等教育出版社,2006审查意见系(教研室)主任签字:年月日目录1 引言 (4)2 总体方案设计 (4)2.1总体方案 (4)2.2 方案论证 (4)2.3 硬件组成 (6)3 硬件电路设计 (7)3.1 时钟电路 (7)3.2 复位电路 (7)3.3 A/D转换设计 (8)3. 4放大电路设计 (9)3.5 显示电路设计 (10)3.6 报警电路 (11)4 系统软件设计 (12)4.1 主程序设计 (12)4.2 显示子程序的设计 (13)4.3 AD转换设计 (14)5 总结 (15)附录A 总原理图...................................................................... 错误!未定义书签。
基于AT89C51单片机的水温控制系统
随着社会不断发展,人们对生活品质的要求越来越高。
其中,水温控制技术在日常生活中的应用越来越广泛,具有相当重要的意义。
基于AT89C51单片机的水温控制系统可以更好地保
障家庭热水的温度,使生活更加舒适便捷。
该系统主要由传感器模块、单片机模块、驱动模块和显示模块组成。
传感器模块主要负责测量出水温度,单片机模块对测量数据进行处理,并通过驱动模块控制加热和制冷设备的运行,以调节水温到设定温度。
同时,系统还会将实时的水温信息通过显示模块展示给用户,以便用户随时掌握水温信息并对温度进行设置。
该系统的最大特点是高度智能化,主要体现在以下几个方面:首先,可自动实现水温设定和控制,不需要人工干预,省时省力;其次,只要在系统中设置好温度上限和下限,系统就会自动根据当前的水温状态进行调整,随时保持理想的水温;最后,还具备实时监测的功能,可以随时掌握水温状态,发现异常情况及时警报,确保用水安全。
与此同时,该水温控制系统还具有以下几个优点:首先,零误差控制水温,避免了手动调节过程中的误差;其次,加热和制冷设备均可控制,更加灵活多样;最后,具有较高的精度及稳定性,为用户带来更加良好的使用体验。
总之,基于AT89C51单片机的水温控制系统是一款极具实用
价值的系统,具有广阔的应用前景。
通过该系统的应用,不仅
能够带来更加舒适便捷的生活体验,同时也能够满足人们对高品质生活的需求。
张鹏:基于AT89C51单片机的水温控制系统设计正文第1 页共25 页1 引言1.1 单片机1.1.1 单片机简介单片机是一种集成在电路芯片,是采用超大规模集成电路技术把具有数据处理能力的中央处理器CPU随机存储器RAM、只读存储器ROM、多种I/O口和中断系统、定时器/计时器等功能(可能还包括显示驱动电路、脉宽调制电路、模拟多路转换器、A/D转换器等电路)集成到一块硅片上构成的一个小而完善的计算机系统。
单片微型计算机简称单片机,是典型的嵌入式微控制器(Microcontroller Unit),常用英文字母的缩写MCU表示单片机,它最早是被用在工业控制领域。
单片机由芯片内仅有CPU的专用处理器发展而来。
最早的设计理念是通过将大量外围设备和CPU集成在一个芯片中,使计算机系统更小更容易集成进复杂的而对体积要求严格的控制设备当中。
INTEL的Z80是最早按照这种思想设计出的处理器,从此以后,单片机和专用处理器的发展便分道扬镳。
单片机又称单片微控制器,它不是完成某一个逻辑功能的芯片,而是把一个计算机系统集成到一个芯片上。
相当于一个微型的计算机,和计算机相比,单片机只缺少了I/O设备。
概括的讲:一块芯片就成了一台计算机。
它的体积小、质量轻、价格便宜、为学习、应用和开发提供了便利条件。
同时,学习使用单片机是了解计算机原理与结构的最佳选择。
1.1.2 单片机应用目前单片机渗透到我们生活的各个领域,几乎很难找到哪个领域没有单片机的踪迹。
导弹的导航装置,飞机上各种仪表的控制,计算机的网络通讯与数据传输,工业自动化过程的实时控制和数据处理,广泛使用的各种智能IC 卡,民用豪华轿车的安全保障系统,录像机,摄像机、全自动洗衣机的控制,以及程控玩具、电子宠物等等,这些都离不开单片机。
更不用说自动控制领域的机器人、智能仪表、医疗器械以及各种智能机械了。
因此,单片机的学习、开发与应用将造就一批计算机应用与智能化控制的科学家、工程师。
引用基于51单片机的新型冰箱温度控制器系统单片机2010-04-11 12:09:01 阅读136 评论0 字号:大中小引用wc的基于51单片机的新型冰箱温度控制器系统摘要:文章研究的是一种新型的电冰箱控制器。
采用单片机STC89C51对整个系统进行控制,整个硬件部分控制都很便捷简单。
系统用人机交互式控制方式,做到手动速冻功能,满足更多用户不同的要求。
能用LCD显示冷冻室、冷藏室和环境温度,在断电时能够做到欠压保护,超温时的声光报警。
系统还能用语音来控制整个系统,这是整个系统的创新点之一。
整个系统最大的优点在于节能、低功耗、性价比高,能够满足大多数人的需求要求。
关键词:STC89C51;DS18B20;ISD1760;NE555Abstract:A new Refrigerator Controller .We used STC89C51 as the controller for getting the aim.It had very easy Circuit.And you can control in diffirent ways:thar are AUTO and BY HAND.And if you want make it work instantly ,you can get it.It has a key for starting right away.There are more choice for customer。
The circuit was designed to protecte the Compressors from the unstabled voltige.It would warn you by human vioce.this was our one of diffrentes with others.Our advantage were save energy,lou priceand good quality,designing for ordinary people.Key words: STC89C51;DS18B20;ISD1760;NE5550引言随着生活的改善,消费水平的提高。
基于AT89C51单片机的温度自动监控系统一、设计题目基于A T89C51单片机的温度自动监控系统二、设计目的(1)通过毕业设计培养学生综合运用所学的基础理论、基础知识、基本技能进行分析和解决实际问题的能力。
(2)培养学生利用单片机进行应用系统开发的能力,掌握单片机应用系统设计的一般方法和步骤,达到能够进行单片机系统设计的目的。
(3)掌握温度信号的输入通道。
三、毕业设计的技术数据:化学合成对温度检测与控制要求较高,是化工合成工艺的关键环节。
化工合成装置的温度进行检测,并按工艺要求,控制最高加热温度,在升温阶段,控制合成温度采用恒值控制:前期为370℃,中温期为380℃,后期为390℃;控制精度为±3℃;最高温度连续三次达到400℃时发出报警信号。
显示检测温度值;每半小时打印一次最高温度值及检测时间;留有扩充余地,以实现多回路控制。
温度检测控制系统四、毕业设计的任务1、熟悉题目要求,查阅相关科技文献2、方案设计(包括方案论证与确定、技术经济分析等内容)3、硬件和软件设计(其中还包括理论分析、设计计算、实验及数据处理、设备及元器件选择等)4、撰写设计说明书,绘制图纸5、指定内容的外文资料翻译6、其它五、毕业设计的主要内容1、温度检测控制系统硬件结构设计。
2、温度检测控制系统软件设计。
3、绘制系统总体结构图,系统原理图,软件流程图。
4、按期完成毕业设计说明书的撰写。
5、充分准备,顺利完成答辩。
六、毕业设计提交的成果1、设计说明书(约1万字左右)2、图纸(选2#图纸,不少于两张)3、中、英文摘要(中文摘要约200字,3~5个关键词)七、毕业设计的主要参考文献和技术资料八、毕业设计各阶段安排摘要:以A T89C51单片机为核心部件,设计基于单片机的化工合成工艺温度检测与控制系统,介绍了系统硬件结构和温度检测电路的结构。
编写控制系统主程序流程图、A/D转换子程序流程图。
以A T89C51单片机为核心的温度测量温度检测与控制、简化了传统常规仪表的电子线路,增加了功能,提高了温度检测准确性和控制可靠性。
中文2528字AT89C51 single-chip temperature-controlled watertemperature control systemEarly contact thermometers for chemical water temperature thermostat shortcomings, this paper introduces an approach based on AT89C51 single-chip microcomputer-based controller, combined with integrated temperature sensor AD590J composed of constant temperature water temperature control system.Chemical, chemical experiments and research on water temperature requirements of high performance and accuracy, the current market face chemistry, chemical experiments and study the high price of heated water systems. In this paper, the design of single-chip component AT89C51 from the temperature control system for people with low-cost, high precision, intelligent control, etc.The water temperature of the performance indicators are: Temperature range: 0 ~ 1O0 ℃; temperature range: 0 ~ 99.9 ℃; temperature: 0.4 ℃; heating power: 1000W.Part of the hardware circuitAT89C51 selected as the system CPU, it is a low-power, high performance, 4kB flash chip programmable / erasable read-only memory 8-bit microcontroller COMS.Block diagram of the system AT89C51 single-chip by chip, IO expansion port 8255 chip, 8032 chip digital-to-analog conversion, analog-to-digital conversion chip 0809, keyboard control, status indication circuit, sampling circuit temperature thermostat control circuit, driver circuit and display circuit, such as group into.1.1 temperature sampling circuitTemperature sampling circuit using AD590 current-mode temperature-sensitive device of its stability and linearity are better. When in AD590 for the current 273.2uA, temperature increase 1℃, the current increase in 1uA. The current is converted to voltage signal by analog-to-digital converter ADC0809, AT89C51 single-chip temperature monitoring and conversion. One resistor R measurement using a low temperature coefficient of resistance, temperature coefficient of 10 x l0_6 / ℃. When monitoring the temperature of lO0 ℃when generated in the resistor voltage 18.66V about, when the temperature is 0 ℃when generated in the resistance of about 13.66V voltage, that is, at a temperature of 0 ~ 1O0 ℃in resistance on pressure drop resulting from bad to 5v. However, when the temperature is 0 ℃demodulation IC2 potential output allows for OV, the time when 1O0 ℃for IC2 output 5v, in the constant temperature water tank 3 installed AD590, which are located under the sink in the various parts, using its monitoring of temperature changes in the market tank in order to control the stirring motor to ensure uniform temperature sink.1.2 thermostat control circuitConstant temperature control circuit from heating thermostat temperature setting and the composition of the two parts of the circuit. The thermostat circuit settings temperature to provide the working conditions of the heating circuit, the circuit set by the keyboard combination of software programming to achieve common. In addition to each button and set the IO port connected to 8255, but also through a door with the AT89C51 and T0 timer connected so that when the button is depressed immediately after the interruption to the application AT89C51, 8255 inquiry, and at the same time the functions of the corresponding control . One set is the key type from the set and the AT89C51, D / A converter analog voltage measurement is the AD590, after the detection signal AT89C51, D / A converter provides analog, IC3 constitute a comparison amplifier, IC4 ratio amplifier , BG1, BG2, T constitutes a thyristor conduction angle control circuit, a single bipolar transistor oscillator circuit the lower the frequency, SCR's on-the shorter the time the smaller the heating power, on the contrary higher. Single-junction transistors and the oscillation frequency by the ratio of amplifier output voltage control, AT89C51 single-chip temperature settings through the sample and the temperature difference after the value, after amplification by comparison with the temperature change to mediate voltage thyristor the conduction angle in order to achieve the adjustment of heating power to meet the temperature requirements of the waters of the thermostat.1.3 Drive CircuitWhen the 8255 high output corresponding IO port, the drive transistor turn-on 9013, so that the relay action, in order to drive the work of the relevant circuit. Significant choice for a show so that the display to choose between the "settings" and "measurement".1.4 Keyboard control and status indication circuitWith the 8255 connected to the IO port 8 and 9 LED button to complete thecommon waters of the control thermostat and the instructions state. In addition to each button with the 8255 connected to the IO port, but also with AT89C51 it connected the timer so that when the button is depressed immediately after the interruption of AT89C51 applications, and query the status of 8255 in order to carry out the functions of the corresponding control. 1.5 shows the circuit Display circuit using a half the number of table 4 show the temperature head waters of the measurement of temperature and set temperature.2 Software designSkeleton of the software, contains initialization, configuration subroutine, subroutines to deal with temperature, showing subroutine. Completion of system initialization after power-on reset 8255 and software initialization and pre-heated water for the water to wait for work, and open the inlet solenoid valve, when the corresponding button press interrupted when AT89C51, read 8255 the status of the population to determine the function keys in order to call the corresponding subroutine. Subroutine completed one set of the set temperature function. Initialization settings for the "0o.0o", when the choice set and to identify key addition and subtraction operations for each click on the Settings button software settings for the corresponding temperature of the addition and subtraction operation count, and the value storage and display. Subroutine to deal with the role of temperature is the temperature set values and the difference to the SCR trigger circuit heating thermostat control.2.1 The use of Pro / E to establish mold standard parts library FamilyPro/E is part of the family table (or assembly, or the characteristics of) a collection of these parts (or assembly or characteristics) are broadly similar, but in 12 some small differences, for example, fastening screws Hexagon many kinds of specifications, but they seem to be like and to implement the same function, so in the Pro / E in them as a part family is a very useful table in the family the same as a table-driven components parts to be identified. In Pro / E use group table has the following advantages:1) simple and compact to create and store a large number of objects.2) For the generation of standard parts to save a great deal of time and work.3) parts from a series of documents to generate change, do not have to re-create and generate for each part.4) In the parts to create tiny changes in the relationship do not have to use to changethe model.Table feature allows three-dimensional mold standard parts library and standard library mold the development and use of things become very easy. The following guide to commonly used as an example to create a lead-chu-chu series of standard parts. First, Pro / E in the completion of the three-dimensional modeling guide column, and the need to change the size parameters defined as symbols. To mark the size of symbol table for the family members did not indicate the size of the features of a non-changing, dependent on the existence of other features.Family Table is essentially constituted by the rows and columns of the table to start, you can use the Pro / TABLE to create and modify. Here contains examples and their appropriate values, the use of specific projects were listed. Generic model is not in the group table of the project be included in each instance will be automatically generated in accordance with design intent, Family Table, regardless of the merits of another to create a new table or modify an existing table, you can add to the table project. The use of the above-mentioned methods. Enterprises can die design in accordance with the need to build their own three-dimensional mold standard parts library.2.2 The use of Pro / E to establish the standard mold base libraryIn the use of Pro / E to establish the mold standard parts library, in order to further improve the efficiency of die design, quality and standardization, it is necessary to consider the establishment of standard mold base library, the following discussion of how to use Pro / E to establish the standard mold base. The establishment of standard mold base the first thing to consider is the business of processing capacity punching equipment, punching equipment to the processing capacity as well as equipment based on the work table to consider the standard form of mold, practicality and versatility will be higher. In the three-dimensional mold standard parts library has been established under the premise of the establishment of standards mold-base much to the convenience and quick. First of all, to enter the Pro / ASSMBLY equipped) mode, with the establishment of similar communities standard parts, the specific path for the operation: ASSMBLY (components) -- Family Tab (Family Table add-item (additional items)) -- Component (component), and then choose to change to take place in the assembly of parts or components as the assembly of the project group table, and in the assembly do not need to change family (such as fasteners) you do not need to select. instances in the assembly of the assemblyaccording to the agreed relationship between the automatically generated . other aircraft such as the bending modulus, tensile modulus planes.Taking full account of this, pressing equipment and typical performance parameters under the premise of stamping parts, you can use the same solution to create a standard mold base.3 ConclusionAt present, some colleges and universities as a result of provincial funding in the strained devices, laboratory equipment, more backward, in chemistry and chemical engineering laboratories still use a contact thermometer to control water temperature. In order to overcome the factors that a lot of inconvenience to the original based on the old thermostat has been designed transformation of waters. Proved by the use of the design,to meet the current chemistry, chemical engineering and research needs of the experimental results.AT89C51单片机控制的恒温水域温控系统针对化工早期接点温度计恒温水域控温存在的缺点,本文介绍了一种基于AT89C51单片机为主控制器,结合AD590J集成温度传感器等组成的恒温水域温控系统。