节点文献
基于CAN的主机遥控系统的研究与设计
Research and Design of Can-based Remote Control System of Marine Main Engine
【作者】 洪毅根;
【导师】 李志宏;
【作者基本信息】 武汉理工大学 , 控制理论与控制工程, 2009, 硕士
【摘要】 主机遥控系统是当今船舶自动化技术的研究核心之一,随着计算机技术和现场总线技术的快速发展,越来越多的新技术应用在船舶自动化领域,以现场总线为基础的网络型控制系统已成为船舶自动化领域的发展方向。同时我国造船业快速发展,对船舶自动化、数字化的要求不断提升,为适应我国船舶数字化的发展趋势,提高主机遥控系统的自动化技术,对于国内船舶制造业的更新换代具有一定的意义。本文以基于CAN总线的主机遥控系统为研究对象,确立了系统的总体设计方案,完成智能节点的硬件设计,通信模块的软件实现。该方案以ARMLPC2292微控制器为节点控制核心,利用CAN总线组建主机遥控系统分布式控制网络,采用多主方式实现驾驶台、集控室及机舱之间的互联通讯,实现了对船舶柴油机的本地控制和远程监控。该控制网络之间利用冗余CAN进行通信,保证了数据通信的可靠性和实时性。本文对CAN总线技术进行了深入的分析,阐述了采用CAN总线为主机遥控系统的通讯总线的原因。并对CAN冗余技术进行了探讨,采用了物理介质冗余设计,使用两套总线电缆、两个总线驱动器、两个总线控制器,实现了总线物理层和数据链路层的冗余配置,满足了主机遥控系统对数据传输的可靠性要求。针对船舶主机遥控系统的功能要求及控制信号和报警信号的采集特点,设计由驾驶台、集控室及机舱控制器组成的CAN网络,包括主机监测管理微机共4个节点,构成主机遥控系统的基本网络功能结构。在确定了整个网络的基础上,对主机遥控系统智能节点的软硬件进行设计,硬件方面主要由ARM7芯片外围电路的设计组成,包括开关量采集电路、模拟量采集电路、CAN冗余接口电路等。软件设计包括智能节点的软件通信设计和上位机的实现,制定了主机遥控系统的CAN通信协议,对CAN通信的初始化程序,发送程序、接收程序进行了设计,给出了主机遥控系统CAN应用层的逻辑控制程序设计。为了提高主机遥控系统的运行的稳定性和安全性而进行的CAN节点的抗干扰及抗腐蚀设计。最后本文使用VB编写主机报警监控界面,以检验CAN接口与上位机的串口通讯,实现了CAN总线与上位机的人机对话。
【Abstract】 The remote control system of marine engine is the kernel of ship-automation system.As computer technology and fieldbus technology has been increasing rapidly, many new technologies are used in the field of ship automation.At the same time,our country’s shipbuilding industry is increasing fast.Ship automation made great progress.The control system based on fieldbus became trend in the field of ship automation.In this article,the control system of marine engine based on the CAN bus is the object of research.It established the design of the control system,finished the hardware design and software design of intelligent nodes.The ARM LPC2292 is MCU in the intelligent node.This control system includes device level,central control room and bridge level.The three nodes realize local control and remote control.The control system based on dual CANBUS ensures the reliability and real time of the data communications.According to the function demands of marine engine and principle of signal collection,this article designed the CAN network that can achieve Control system ’function of marine engine.This article analyses the technology of CANBUS,and make use of CAN bus for the control system of marine engine,and then discuss the dual CANBUS.The physical part of CANBUS is redundancy.The part is consisted of two set of network media,driver and controller.It is used to provide alternative functional channels in case of failure.This design meets reliable requirements of data transmission.The design of intelligent node includes hardware design and software design.The hardware is consisted of peripheral circuits of LPC2292.Including CANBUS interface circuit.Software design includes the design of communication among the nodes and the design of application of marine engine.This chapter makes communication protocol of CAN,and finish the program of the initialization and design the program of data communication.In order to improve stability and security of intelligent node,this article takes some measures for anti-jamming and anti-corrosion.At last this article make use of VB 6.0 to achieve program that can show states of marine engine.After experiment,the communication among PC and intelligent nodes is achieved.
【Key words】 remote control system; CAN; redundancy technology; ARM; Marine Automation;