摘 要 本课题的目的是结合太阳能热水器的具体应用,设计一种用于太阳能热水器的检测控制系统,以更好的实现对太阳能热水器的监控与控制。太阳能热水器作为太阳能利用中最常见的一种装置,经济效益明显,正在迅速的推广应用。根据太阳能热水器特点以及对控制器的要求,本文提出了一种基于单片机AT89C52的太阳能热水器智能控制器的设计方法。 本文在分析了解太阳能热水器及其控制器的发展和市场分布状况的基础上,描述了太阳能热水器控制器的组成及其工作原理。论文完成了控制器的硬件设计和软件设计。在硬件设计中,利用AT89C52单片机作为控制的中心环节,控制整个系统运作。利用温度传感器DS18B20和分段式水位传感器作为水温水位测量环节,并将测量结果送单片机进行处理。利用DS12887作为时钟芯片,以实现时间以及日期的显示。选用液晶显示模块12864显示水温水位时间及日期,显示部分是人机交换的重要媒介之一。在软件设计部分采用模块化结构,完成了包括主程序,水位检测子程序、LCD显示等子程序的设计。系统主程序主要完成一些初始化功能,温度的检测以及控制辅助加热系统,同时完成信号转换及送显示功能;水位检测子程序完成水位测量及送数据功能;显示子程序完成水温水位及时间日期的显示功能;键盘扫描子程序实现功能转换及水温水位时间的设定。 论文通过对整体设计方案,硬件电路,软件程序的设计分析,实现了太阳能热水器的水温水位的检测与控制,具有实际的意义。 关键词:太阳能热水器;传感器;DS12887;单片机; FYD12864-0402B |
The purpose of this study is to introduce a kind of solar water heater detection based on the application of solar water heater,achieving to do the better monitoring and controling of the solar water heater. Solar water heater,as one of the most common use of the solar energy utilization. The economic benefit is obviously and the popularization and application is rapidly. According to the characteristics of solar water heater and the requirement of the controller,here shows a design method of the solar water heater intelligent controller based on the clock chip DS12887. In the analysis of the article about solar water heaters and control of the development and market condition on the basis of distribution, solar water heaters of the controller and the principle of work. The papers finish the control of the hardware and software design. In hardware design of AT89C52 monolithic integrated circuits to control center segments of the whole system. Use of the temperature sensors DS18B20 and sectional form sensors to measure the level as the water, and measurements taken for processing monolithic integrated circuits. Use DS12887 as the clock, to realize the time and date display. Use LCD modules 12864 show that the level of time and date, the display is part of the exchange of one of the man-machine important vehicle. In software design of structure, use modular completed include the program, the level of the inspection or subroutines LCD display design and so on. The main program of the system performs some of the initialization, the temperature of the inspection and control the heating system and the auxiliary signal to show complete the exercise and function testing programs;the water, the measurement and send data to display the functions;a subroutine to complete the water and time functions of the date display;scan a subroutine into the function and the time set. This paper on the overall design, software, hardware circuit analysis of designs, make the measurement and control of the solar water heater into realize, which has played a significant role in the daily life. Keywords: solar water heater; sensor; DS12887; MCU; FYD12864-0402B |