基于单片机的温度巡检系统的设计

发布时间 : 星期四 文章基于单片机的温度巡检系统的设计更新完毕开始阅读

目 录

摘 要·······························································································3 ABSTRACT····························································································4 第一章 概述·······················································································5

1.1课题的提出···············································································5 1.2温度概况 ················································································5 1.2.1 温度检测仪表的现状???????????????????????6 1.3.1 课题背景????????????????????????????6 1.3.2选题意义????????????????????????????7

第二章 系统设计方案的研究·······························································8

2.1 系统性能要求 ??????????????????????????8 2.2 方案的比较分析 ?????????????????????????8 2.2.1测量部分????????????????????????????8 2.2.2多机远程通信部分···································································8

第三章 系统的总体设计······································································9

3.1框图 ??··········································································9 3.1.1总体框图··············································································9 3.1.2从机系统框图??????????????????????????11 3.2从机部分················································································11 3.2.1温度信号的获取与放大·····························································11 3.3.模数转换单元???????????????????????????12 3.3.1信号处理和显示?????????????????????????14 3.3.2声光报警部分??????????????????????????20 3.4通讯部分················································································21

3.4.1

电路设计????????????????????????????21

3.4.2多机系统????????????????????????????21 3.4.3主从式多机系统设计要点?????????????????????21 3.4.4 RS-485方式构成的多机通信原理?????????????????23 3.5主控机部分 ???????????????????????????26

1

3.5.1 电路设计 ??????????????????????????26 3.5.2 所用器件介绍 ????????????????????????26 3.6 电源部分???????????????????????????29 3.7多路开关的选择····································································29

第四章 软件部分··········································································31

4.1软件流程图???????????????????????????31 4.2程序??????????????????????????????34

第五章结论···················································································36 谢 辞···························································································37 参考文献·······················································································38

2

摘 要

从机进行温度采集,收集测量数据,并对测量结果(包括历史数据)进行整理,显示和打印。主控机与各从机之间能够相互联系、相互协调,从而达到了系统整体统一,和谐的控制效多路温度检测系统以8051单片机系统为核心,能对多点的温度进行实时控制巡检。各检测单元(从机)能独立完成各自功能,根据主控机的指令对温度进行实时或定时采集,测量结果不仅能在本地储存,显示,而且可以利用单片机串行口,通过RS-485总线及通信协议将采集的数据传送到主控机,进行进一步的分析,存档,处理和研究。

主控机负责控制指令发送,控制各个果。

系统检测温度范围为0℃--400℃,检测分辨率±0.1℃,使用RS-485串行总线进行传输,MAX485驱动芯片进行电平转换,传送距离大于1200m,抗干扰能力强,各检测器单元可显示检测的温度,设计并制造了各检测器及主控器所用的直流稳压电源。由单相220V交流电压供电。

关键词:Pt100,多机远程通信,8051单片机,仪器放大器620,模数转换器,

3

Abstract

The multichannel temperature examination system take 8,051 microcomputer systems as a core.It can inspect and controll the temperature of many spots. Each examination unit (the litter machine) can complete respective function independently. It can collect the temperature in a time according to the instruction of the major controlling machine. The measurement result can be stored and demonstrated in local place. Moreover,it can use the mouth of the microcomputer to transfer the data gathered to the major controlling machine through the RS-485 main line and the correspondence agreement .Then we can have the further analysis and the archive and processing and the research.

The major controlling machine is responsible for transmissing the command, controlling the temperature gathering of the other machines.It can collect the surveying data.It can also reorganize and demonstration and then print the measurement result(including historical data).The major controlling machine can relate with other machine and coordinate with other machine. Thus it has achieved the harmonious effect of the whole system。

This system has realized: 1 the temperature of the examination range from 0 ℃ to 400 ℃. 2 examination resolution ±0.1 ℃. 3 using the RS-485 serial main line to transfer.The MAX485 make chip transform and the transmission distance is longger than 1200m, the antijamming ability is strong.4 Each detecting unit can demonstrate the temperature of the examination. 5 design and make the detectors and the current direct voltage-stabilized source that the major controlling machine uses。It comes from the single alternating voltage power of 220v

Keywords:Pt100, microcomupter8051, AD620,MAX187

4

联系合同范文客服:xxxxx#qq.com(#替换为@)