论文部分内容阅读
CAN现场总线作为一种有效支持分布式控制和实时控制的技术,以其稳定性好、可靠性高、抗干扰能力强、通讯速率高、维护成本低及其独特的设计越来越受到人们的重视,并被公认为最有前途的现场总线之一。随着现场总线技术的迅猛发展,传统的自动化仪表受到严重挑战,取而代之的将是具有开放性的现场总线仪表,基于CAN协议的现场总线仪表的研究与开发具有非常现实的意义。本文详细介绍了仪表的CAN总线通信的实现过程,对MSP430FG4618单片机、CAN控制器SJA1000、以及CAN收发器82C250进行了探究,并以它为处理器进行硬件设计,使CAN总线的通讯更加直观。本文在分析论述了现场总线技术的有关性能特点及CAN协议规范后,完成了CAN通信卡的电路设计,并在软件上实现了PC机通过CAN通信卡对CAN现场总线仪表实现远程管理等功能。
As a technology that effectively supports distributed control and real-time control, CAN field bus is more and more popular due to its good stability, high reliability, strong anti-interference ability, high communication speed, low maintenance cost and its unique design Valued and recognized as one of the most promising fieldbus. With the rapid development of fieldbus technology, the traditional automation instruments are seriously challenged. Instead, it will be an open fieldbus instrument. The research and development of fieldbus instruments based on CAN protocol have very realistic significance. This paper introduces the realization process of CAN bus communication in detail, and explores the MSP430FG4618 singlechip, SJA1000 CAN controller and CAN transceiver 82C250, and makes hardware design for the processor to make the communication of CAN bus more intuitive. After analyzing the relevant performance characteristics of fieldbus technology and CAN protocol specification, this paper completed the circuit design of CAN communication card and realized the function of remote control of CAN field bus instrument by PC through CAN communication card in software.