摘要
随着现在测控领域内要求得到的数据越来越多,总线上的各种传感器越来越多,对总线和各节点之间的通信的要求也越来越高,要求现场总线能对多节点的传感器进行实时的、灵活的、可靠的通信。为了满足这个要求,文中提出了一种基于C8051F040的CAN总线技术的多点通信网络,利用C8051F040内部的CAN控制器作为协议控制器,利用TJA1040作为物理层驱动器,用双绞线作为通信介质实现多点通信,同时通过USB-CAN转换模块和上位机软件实现PC机对数据的读取。文中详细介绍了多传感器节点通信网络的硬件电路和相关软件的具体实现方式。
There are more and more sensors as long as more and more dada are needed in the field of modern control.The real-time,flexible,reliable communication between the bus and each node of the bus are demanded.In order to meet the requirements,this paper presented a kind of multi-point communications network based on CAN bus of C8051F040.It used the internal CAN controller of C8051F040 as protocol controller,used TJA1040 as physical drives,and used twisted-pair medium to achieve multi-point communications.The communication between PC and the equipments would be established through the USB-CAN transfer module and PC software,and the information could be got by PC.This paper introduced the multi-point communications network hardware circuit and software realization in this way.
出处
《仪表技术与传感器》
CSCD
北大核心
2011年第2期60-62,65,共4页
Instrument Technique and Sensor
基金
国家自然科学基金资助项目(50424507)