CAN网络中节点的增多会使通信负载加大,系统的实时性与可靠性难以保证。针对工程车辆总线负载率偏高的问题,采用了一种简单可靠的的负载率分析和网桥设计方法,计算了不同网段划分方法下的总线负载率并利用CANoe软件进行了仿真验证,实现了网段间的报文隔离、数据帧过滤和转发功能。介绍了网桥的硬件设计方案和软件设计过程,并结合实际需求测试了网桥的工作性能。%As the number of nodes becomes huger,the communication load of the traditional CAN network increases sharply, which makes the real-time performance and reliability of the system difficult to be guaranteed. A simple and reliable method for busload analysis was adopted and a bridge based on STM32 was designed to reduce the busload of CAN network on engineering vehicles.And the busloads resulted from different network partition methods were gained by theoretical calculation and validated by simulation in CANoe software.The bridge can precisely filter and relay the target messages to their anticipated network seg-ments.The design process of its hardware and software were detailed.The performance of the bridge was tested combined with the actual demand.
展开▼