文档介绍:: .
uisition, A /D converter module of the
signal collected analog-to-digital conversion, to convert digital signals received, respectively, in
accordance with the sequence into single-chip, single-chip RS485 fieldbus through with PC-
articulated.
As the resistance value and temperature is non-linear relationship between, in order to
improve the measurement accuracy to overcome the non-lineai* eiTor, reducing the index storage
table, the use of quadratic interpolation algorithm for calculating the temperature value, so that
the temperature resolution of ℃ , temperature measurement accuracy of better than ℃.
Single-chip microcomputer through fieldbus temperature in order to be able to MODBUS
agreement sent to the PC, the realization of the Industrial Fieldbus computer for centralized
management.
Key words: Temperature acquisitiono PT100 Thermistoro RS485 bus目 录
摘 要 I
Abstractll
第 1 章 绪 论 1
设计的背景及意义1
温度采集技术现状2
第 2 章设计方案选择与论证4
设计要求及技术指标4
2 .2 系统总体方案设计4
温度传感器的选择5
热电阻温度传感器5
集成电路( IC>温度传感器5
2 .3 通信接口的选择6
RS-232双机通讯接口 6
RS-422串行通讯接口 6
RS-485串行通讯接口 6
单片机的选择7
第 3 章硬件设计8
单片机接口电路8
温度信号采集电路8
3 2 3 恒流源电路仿真10
RS485接口通信电路11
6N13 7 光电隔离电路11
开关电源电路12
PW M 芯 片 TOP220工 作 原 理 12
3 5 2 开关电源电路及工作原理13
第 4 章软件设计T 6
4 .1 温度 值 计 算 16
MODBUS现场总线协议164 .3 主程序流程框图18
4 .4 系统初始化子模块程序设计18
4 .5 串口通信子模块程序设计18
第 5 章使用工具介绍20
5 .1 电子设计工具ProtelDXP20
仿真工具 Multisim924
第 6 章结论27
参 考文献28
附 录 A PT100粕电 阻的温度和阻值对应关系表29
附 录 B 总体电 路原理图31
致 谢 32第 1 章绪论
1 .1 设计的背景及意义
温度是现代工业生产过程中的一个主要参数,在生产过程中常需对温度进行检测
和监控,特别是在电 力、化工等大型自动化企业的生产过程中往往需要监视和测