Real-time analysis and assessment method of time-triggered CAN-bus
-
摘要: 针对目前时间触发控制器局域网(CAN,Controller Area Network)总线缺乏统一评估方法的现状,提出了一套系统建立与评估方案.采用均匀装载算法建立系统调度矩阵,实现了周期信息的实时传输.结合CAN总线的传输机制与时间触发的特点,改进了时间触发系统中非周期信息最坏延迟的计算方法.在此基础上针对不满足系统实时性要求的信息提出了计算其失效概率的方法,建立了时间触发CAN总线系统的设计与评估流程,提出了系统参数调整方案.评估方案能够提高设计效率,利用信息失效概率以及最坏延迟对系统实时性进行分析,使分析结果更加精确、实用.Abstract: To solve the problem that time-triggered CAN (controller area network) bus system lacked a unified real-time performance assessment method, a complete system establishment and assessment scheme was proposed. Time-triggered CAN-bus system scheduling matrix was established by using average-loading algorithm and periodic messages were guaranteed to transmit without delay by distributing them independent transmission windows within the system matrix. While considering the traditional CAN-bus transmission mechanism and the time-triggeredness feature, a calculation method was improved to calculate the worst-case delay of event-triggered messages in time-triggered CAN-bus system. The failure probability was calculated for event-triggered messages whose worst-case delay exceeded their deadlines. System design and assessment process was established for CAN-bus transmission system and parameter adjustment was proposed to optimize system real-time performance. This assessment method could improve the design efficiency and the final analysis result is more accurate and practical by considering the effects of the event-triggered messages worst-case delay and failure probability.
-
Key words:
- time-triggered /
- CAN-bus /
- real-time performance /
- failure probability /
- assessment method
-
[1] ISO11898-4-2004 Road vehicles-controller area network: time triggered communication[S] [2] Leen G,Heffernan D.TTCAN:a new time-triggered controller area network[J].Microprocessors and Microsystems,2002,26(2):77-94 [3] Stock Flight System.CANaerospace interface specification for airborne CAN applications V1.7. Berg/Farchach, Germany:Michael Stock Flight Systems,2006. http://www.stockflightsystems.com/index.php option=com_content&task=view&id=13&Itemid=53 [4] 任立平,周军.CAN总线高层协议CANaerospace及其设计应用[J].测控技术,2008,27(2):59-61 Ren Liping,Zhou Jun.CANaerospace: upper layer protocol for CAN and its design application[J].Measurement & Control Technology,2008,27(2):59-61(in Chinese) [5] 梁君,熊华钢.CAN总线及其较高层协议在航空航天的应用可适用性探讨[J].导弹与航天运载技术,2004(4):47-50 Liang Jun,Xiong Huagang.The applicability of CAN bus and its upper layer network protocol in aerospace[J].Missiles and Space Vehicles,2004(4):47-50(in Chinese) [6] Tindell K,Burns A,Wellings A.Calculating controller area network (CAN) message response times[J].Control Engineering Practice,1995,3(8):1163-1169 [7] Davis R,Burns A,Bril R,et al.Controller aea ntwork (CAN) schedulability analysis:refuted,revisited and revised[J].Real-Time Systems,2007,35(3):239-272 [8] Shaheen S,Heffernan D,Leen G.A gateway for time-triggered control networks[J].Microprocessors and Microsystems,2007,31(1):38-50 [9] Albert A,Gerth W.Evaluation and comparison of the real-time performance of CAN and TTCAN//9th CAN in Automation Conference.Munich:iCC,2003:05-1-05-8 [10] 刘鲁源,王晓欣,马津艳.时间触发CAN总线系统的建模与性能分析[J].电子科技大学学报,2007,36(3):632-635 Liu Luyuan,Wang Xiaoxin,Ma Jinyan.Modeling and performance evaluation of time-triggered CAN bus[J].Journal of University of Electronic Science and Technology of China,2007,36(3):632-635(in Chinese) [11] 林琦,金惠华,尚利宏.CANaerospace协议实时性分析与研究[J].航空电子技术,2007,38(4):16-22 Lin Qi,Jin Huihua,Shang Lihong.Analysis and research of CANaerospace real-time performance[J].Avionics Technology,2007,38(4):16-22(in Chinese) [12] Schmidt Klaus,Schmidt Ece G.Systematic message schedule construction for time-triggered CAN[J].IEEE Transactions On Vehicular Technology,2007,56(6):3431-3441 [13] Wang Shuju,Zhang Tianxia,Zhang Guosheng,et al.Scheduling design of automotive TTCAN control system based on average loading//Proceedings of the World Congress on Intelligent Control and Automation.Piscataway,NJ:IEEE,2010:6772-6775 [14] 曹万科,张天侠,刘应吉,等.基于TTCAN的汽车控制系统信息调度设计与分析[J].农业机械学报,2007,38(12):41-44 Cao Wanke,Zhang Tianxia,Liu Yingji,et al.Design and analysis on scheduling of messages in automotive control system based on TTCAN[J].Transaction of the Chinese Society for Agricultral Machinery,2007,38(12):41-44(in Chinese) [15] Tindell K,Burns A.Guaranteeing message latencies on controller area network (CAN)//Proceedings of the First International CAN Conference.Mainz:CiA,1994:1.2-1.11 [16] Dougla C,George C.工程统计学[M].代金,魏秋萍译.第3版.北京:中国人民大学出版社,2005:104-109 Dougla C,George C.Engineering statistics[M].Translated by Dai Jin,Wei Qiuping.3rd ed.Beijing:China Renmin University Press,2005:104-109(in Chinese)
点击查看大图
计量
- 文章访问数: 3454
- HTML全文浏览量: 189
- PDF下载量: 865
- 被引次数: 0