- 1、本文档共57页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于89S51单片机的燃气热水器控制器设计
摘 要
随着社会的不断进步发展,人们对燃气热水器的要求越来越高。而现今大多数热水器还是处于手动调温阶段,热水温度不能实时显示,水量和气量不能实时显示和控制,洗浴过程中调温困难等等情况。
根据以上情况,设计了合理的燃气热水器恒温控制系统结构:采用8位单片机89S51和DS18B20温度传感器构成温度采集系统的方案,较之采用16位的单片机和热敏电阻加A/D转换器的温度采集系统具有较高的性价比;单片机根据温度传感器采集到的数据,经过程序处理,发送数据指令给0832,通过DAC0832数模转换输出不同的电流来控制燃气比例阀的开度,达到控制火力的大小,实现温度的自动控制;为了提高温度控制精度,采用数字PID程序控制,可实现温度的连续可调,用液晶显示器LCD1602显示出水温度;为加强系统的安全性能,设计中还加入了看门狗和声光报警电路;最后,制作出了工程样板并进行硬件模拟调试。
实际调试结果显示硬件设计基本达到了要求的技术指标,对比分析可知此设备具有良好的应用前景。
关键词:单片机;温度转换; DS18B20 ;DAC0832
ABSTRACT
With the continuous progress and development, people are increasingly demanding gas water heater. And now most of the water heater thermostat stage or in the manual, hot water temperature can not be real-time display, water and gas can not be real-time display and control the process bath thermostat, etc. difficult situation.
According to the above, the design of a reasonable gas water heater temperature control system architecture: 8-bit microcontroller 89S51 and temperature sensor DS18B20 programs constitute the temperature acquisition system, compared with 16-bit microcontroller and the thermistor plus A / D converter temperature acquisition system has a high price; Microcontroller according to the temperature sensor to the data, after procedures to send commands to the 0832 data, through the DAC0832 digital-analog converter output current to control the different gas proportional valve opening, to control the size of firepower to achieve automatic temperature control; To improve the accuracy of temperature control, digital PID process control, enabling the temperature of the continuously adjustable, LCD1602 display with water temperature; To enhance the safety performance of the system, the design watchdog also added sound and light alarm circuit; Finally, the project produced a simulation model and hardware debugging.
The results showed that the actual hardware design debug basically reached the requirements of the technical indicators, comparative analysis shows that this device has a good pro
文档评论(0)