论文部分内容阅读
基于提高CAN总线组网能力的考虑,提出一种新颖的CAN中继器设计方法;阐述以LPC2119控制器为核心的硬件设计方案;详细分析在μC/OSII实时操作系统下的软件实现过程;针对中继器的实时性和安全性以及总线与总线之间可能存在的速度不匹配的问题,确立提升紧急任务优先级、建立相关事件标志、合理地对事件与任务进行同步的改进方法,从而有效地解决组网中最远传输距离和最大节电数限制的问题。
Based on the consideration of improving the CAN bus networking ability, a novel CAN repeater design method is proposed. The hardware design scheme based on LPC2119 controller is expounded. The software implementation process in μC / OSII real-time operating system is analyzed in detail. The real-time nature and safety of the repeater and the speed mismatch between the bus and the bus, establishing the improvement method of upgrading the priorities of emergency tasks, establishing relevant event marks and reasonably synchronizing the events and tasks, so as to be effective To solve the problem of the farthest transmission distance and the maximum power-saving number limit in the network.