90功能性能优化轨道电路设备CAN总线自动脱离功能的设计与实现李自生,任国桥(北京全路通信信号研究设计院集团有限公司,北京100070)摘要:通信编码ZPW-2000轨道电路系统通过CAN总线传输编码信息,满配情况下,每条CAN总线上有30个CAN节点,当某个CAN节点出现故障又不能及时脱离CAN总线会影响其他节点的数据收发,影响整条CAN总线正常通信,此类故障排查定位困难。针对该问题,本文提出了轨道电路设备CAN总线自动脱离功能的设计实现方案,利用设备中的双CPU进行设备内部电路自检,当检测到CAN节点通信存在故障时自动脱离CAN总线,从而提高系统CAN总线的可用性,解决了CAN总线故障排查定位难的问题。关键词:轨道电路;CAN总线;自动脱离中图分类号:U284.2文献标志码:A文章编号:1673-4440(2023)Z1-0090-06DesignandImplementationofFunctionofAutomaticDetachmentfromCANBusforTrackCircuitEquipmentAbstract:ZPW-2000AdedicatedtrackcircuitsystemwithcommunicationcodesutilizesCANbusfortransmittingencodedinformation.Inafullyequippedconfiguration,asingleCANbusaccommodatesthirtyCANnodes.ThehighnumberofCANnodescouldleadtopotentialissues:ifaCANnodeexperiencesamalfunctionandcannotdetachfromtheCANbuspromptly,itmightimpactthedatatransmissionofothernodes,therebyaffectingtheoverallefficiencyoftheCANbuscommunication.Identifyingtherootcausecanalsobechallenging.Toaddresstheseconcerns,thispaperpresentsaschemefordesigningandimplementingtheautomaticdetachingfunctionfromtheCANbusoftrackcircuitequipment,withtheinternalcircuitself-checkbeingfulfilledbyusingthedualCPUsintheequipment.Whenacommunicationfaultisdetectedintheself-checkofCANnodes,thesystemwillautomaticallydetachfromtheCANbus.Thisenhancementimprovestheavailabilityofthesystem'sCANbusandfacilitatestroubleshootingofCANcommunicationissues.Keywords:trackcircuit;CANbus;automaticdetachingDOI:10.3969/j.issn.1673-4440.2023.Z1.0211概述通信编码轨道电路系统通过CAN总线传输载频低频信息及监测维护信息,CAN总线具有传输速率高,可以高达1Mit/s;抗干扰强,和其他的总线相比,CAN总线能够更好的面对外界的干扰而正常工作;链接设备多,一个总线上可以支持110个节点。基于上述优点CAN总线广泛应用于铁路、铁路通信信号工程技术...