为了将温度变送器接入CANOPEN总线,研制了一种用于分布式计算机控制网络的智能多路温度变送器,将CANOPEN通信协议应用于现场温度采集系统设计,实现了温度的远程监控与采集.该模块以ATMEG128L微控制器为核心,可同时实现8路热电阻或热电偶测温功能,并将测量结果发送到CANOPEN主站节点.CANOPEN协议由具有SPI串行接口的MCP2510芯片和软件协议栈完成.结果表明:主从站之间的数据通讯可靠、准确,实时性满足系统要求.%To connect temperature transmitter to CANOPEN bus, an intelligent transmitter applied to distributed computer control network was designed. CANOPEN communication protocol was used in temperature acquisition system, so remote temperature monitoring and acquisition were realized. By using micro-controller ATMEG128L as the core, the module simultaneously realized temperature measurement of 8 channels thermal resistance or thermocouple, and sent measurement results to CANOPEN master. CANOPEN protocol was achieved by MCP2510 chip with SPI serial interface and software protocol stack. Experiment shows data communication between master and slave is reliable and accurate, meet requirements of measurement and control system.
展开▼