摘要
为解决FlexRay线控转向系统中常见的死锁问题,采用优先级置顶算法进行多任务动态调度。首先,分析FlexRay线控转向系统多任务动态调度过程中的死锁问题;然后深入研究优先级置顶算法防止死锁问题的原理;最后搭建双通道多冗余的FlexRay线控转向系统,进行重要系统参数配置。运行结果表明,未使用优先级置顶算法的FlexRay线控转向系统出现了死锁现象,使用优先级置顶算法进行动态任务调度之后,系统可正常运行,证明了算法有效性。
In order to solve the common deadlock problem in FlexRay Steer-by-wire System,this paper adopts the priority ceiling algorithm for multi-task dynamic scheduling.Firstly,the deadlock problem in the multi-task dynamic scheduling process of FlexRay steer-by-wire system is analyzed.Then,the principle of the priority ceiling algorithm to prevent the deadlock problem is studied in depth.Finally,a dual-channel and multi-redundant FlexRay steer-by-wire system is built,and the important parameters of the system were configured.The running results show that the FlexRay steer-by-wire system without the priority ceiling algorithm has a deadlock phenomenon and the system can run normally after the priority ceiling algorithm is used,which proves the effectiveness of the proposed algorithm.
作者
石志国
张凤登
SHI Zhi-guo;ZHANG Feng-deng(School of Optical-Electrical and Computer Engineering,University of Shanghai for Science and Technology,Shanghai 200093,China)
出处
《软件导刊》
2020年第3期145-149,共5页
Software Guide
基金
上海市自然科学基金项目(15ZR1429300)。