基于单片机的水浴温度检测系统设计(附电路原理图,程序清单)(任务书,开题报告,外文翻译,毕业论文8400字)
摘要:温度在工农业和现代科学研究开发的各个领域中是一个非常普遍和常用的测量参数。例如:在冶金工业、化工生产、电力工程、造纸行业、机械制造和食品加工等诸多领域中,人们都需要对各类加热炉、热处理炉、反应炉和锅炉中的温度进行控制和检测。
本次设计以STC89C52单片机作为检测核心,通过硬件电路的制作和软件程序的编制,实现一个温度测控系统.通过铂热电阻组成的电桥对温度进行采样,采样后的电信号通过ICL7650放大,再将信号通过ADC0804进行AD转换后传入单片机进行处理。
本论文给出了各个系统模块的设计思想和硬件框图,详细介绍了系统的软件设计。这个温度检测系统能够准确地进行数据的采样转换,稳定进行恒温的检测过程,并且能够较好地满足对系统精度的要求。
关键词:STC89C52单片机 水浴温度 检测
Software design for the system of bathing temperature
Abstract: The temperature is a very widespread and in common use diagraph parameter in the each realm of the work agriculture and modern science research development. For example:In metallurgy industry, chemical engineering produce, electric power engineering, deckle profession, the machine many realms such as manufacturing and food processing etc., the people all need to carry on the controls and examination to the each kind of heating stove, the hot processing stove, reactor and temperature in the boiler.
This time designs to examination the core with a machine of STC89C52 conduct and actions,through the hardware electric circuit manufacture and the software procedure establishment, realizes a temperature observation and examination system.The system spread the feeling machine to come to indirectly to measure the water temperature through a hot electric resistance, make use of to give or get an electric shock the bridge electric circuit to make it from the temperature change but causable electric resistance of variety change becomes the variety of the electric voltage, then pass the ICL7650 to carry on enlarge to the electric voltage signal that the sample come in, use a pair of integral calculuseses type ADC0804 to enlarge of electric voltage signal carry on the conversion of AD,then put them in the unit of STC89C52 to deal with it.
This system according to a design thought for turn of mold, completed the design of the system hardware part, give the design thought and block diagrams of the each system mold piece. This temperature regulating system can steer the sample switching of the figure accurately, the stability steers to heat, the examination process of the constant temperature, and can compare goodly request of satisfaction to accuracy of system.
Key Words: STC89C52MCU Temperature Examination
系统的组成
本系统是基于单片机的水浴温度检测系统的研究,主要实现的系统功能和技术指标有:能实时检测显示水浴温度;测温范围25℃~100℃,精度为 ±1℃;检测检测的同时能实现自动声光报警。
本次设计的水浴温度检测系统由单片机检测模块、温度采集模块、温度检测模块、声光报警模块以及键盘显示模块构成,其总的水浴温度检测系统原理图如图2.1所示。
系统的功能
本系统的主要功能是通过单片机检测实现了温度的显示,从而完成了对温度的采集,实现了水浴温度的检测。各部分功能如下:
1)单片机检测电路:是整个系统的核心部分。通过中央处理器CPU及本身接口,能够实现对外部数据的读出、处理、写入。
2)温度采集电路:利用ICL7650把铂热电阻的电压进行放大,然后通过AD0804进行采样,再采集到的数据进行处理。
3)温度检测电路:主要是由升温装置、降温装置,通过单片机检测构成。
4)键盘显示电路:由HD7279来驱动8个数码管和16个键盘。
5)声光报警电路:由发光二极管和蜂鸣器来完成声光报警的。
整个系统的功能是由硬件电路配合软件来实现的,当硬件基本定型后,软件的功能也就基本定下来了。从软件的功能不同可分为两大类:一是监控软件(主程序),它是整个检测系统的核心,专门用来协调各执行模块和操作者的关系。二是执行软件(子程序),它是用来完成各种实质性的功能如测量、显示等。每一个执行软件也就是一个小的功能执行模块。这里将各执行模块一一列出,并为每一个执行模块进行功能定义和接口定义。各执行模块规划好后,就可以规划监控程序了。
本课题是基于STC89C52单片机为核心的水浴温度检测系统,采用温度采集。对于温度的测量,显示电路都已经是很成熟的技术。
|