文档详情

《基于Modbus协议的温度测控节点的设计》-毕业论文(设计).doc

发布:2018-12-07约3.87万字共59页下载文档
文本预览下载声明
PAGE 基于Modbus协议的温度测控节点的设计 摘 要 在机械、化工、纺织等行业,随着生产规模的不断扩大,以及对生产过程集中监控的迫切要求,现场总线技术应运而生,并成为了当今测控领域研究的热点之一。Modbus协议作为现场总线的一种,以其开发成本低,简单易用等诸多优点己被工业领域广泛接受。温度作为工业中重要的测量参数之一,本课题选择了温度作为测量的对象,并设计了基于Modbus协议的温度测控节点。 本设计采用TC1047A传感器采集现场温度,由STC12C5A60S2单片机进行AD转换和Modbus协议通讯。通讯的物理层采用RS485接口,并增加了光电隔离、抗雷击和短路保护等功能。最后实现了单个节点和PC机的Modbus协议通讯,并通过控制蜂鸣器和继电器来模拟工业现场控制。本文分别从硬件和软件上阐述了该温度测控节点的实现方法。 关键词 温度测控 Modbus协议 RS485 STC12C5A60S2 The Design of Temperature Measuring and ControllingNode Based to Modbus Protocol ABSTRACT With the continuous expansion of production scale, and the urgent requirements in centralized monitoring of the production process in mechanical, chemical, textile and other industries. Fieldbus technology came into being, and become one of hot research field of measurement and control today. As one of field bus, Modbus protocol have been widely accepted because of low development cost, easy to use and many other advantages in industry.The temperature is one of the important parameters measured in industry,so it has been chosen a measurement of the object,temperature measurement and control nodes has been designed based on Modbus protocol. This design uses TC1047A sensor to collect on-site temperature,AD conversion and Modbus protocol communications can be done by STC12C5A60S2 microcontroller.The physical layer of communication adopts RS485 interface, and have optical isolation, anti-lightning and short circuit protection in addition. Finally, achieved the Modbus protocol communication between a single node and the PC, and simulate industrial control by controlling the buzzer, and relay. This paper describes the implementation of temperature control node from hardware and software. KEY WORDS Temperature Monitoring Modbus protocol RS485 STC12C5A60 目 录 TOC \o 1-4 \h \z \u HYPERLINK \l _Toc294477646 中文摘要 Ⅰ HYPERLINK \l _Toc294477647 英文摘要 Ⅱ HYPERLINK \l _Toc294477648 1 绪论 PAGEREF _Toc294477648 \h 1 HYPERLINK \l _Toc294477649 2 设计方案 PAGEREF _Toc294477649
显示全部
相似文档