共查询到18条相似文献,搜索用时 790 毫秒
1.
TTCAN协议是一种CAN总线高层协议.在现行CAN协议的基础上引入了时间触发机制.在遵循TTCAN协议的CAN通信网络中,总线活动可以用时间或者事件两种方式进行触发.介绍了TTCAN协议的提出和发展过程,阐述了协议中基于基准消息和网络时间实现时间触发的机制、不同TTCAN网络之间的时间同步以及TTCAN协议的硬件实现. 相似文献
2.
CAN总线协议已广泛地应用在分布式嵌入式实时系统中,研究表明共享时钟调度算法能够很好地将基于CAN的微处理器和时间触发网络结构结合起来。针对现有共享时钟调度算法大多采用时间触发不可抢占调度机制的不足,结合时间触发混合调度模型,提出了一种共享时钟混合调度算法,并对算法的消息传输时间、错误检测时间和抖动进行了相应分析。使用Matlab下的Truetime工具搭建仿真平台,仿真结果表明,提出的算法能够减少传输时间,降低抖动,增强实时性。 相似文献
3.
CAN总线的时间触发调度方法及实验研究 总被引:6,自引:0,他引:6
借鉴TTCAN总线时间触发机制和静态调度特点,利用微控制器的硬件周期中断,结合软件编程,提出一种充分利用了CAN 2.0 总线位仲裁特点的时间触发方案,并对以该方案进行数据传输时的总线带宽利用率和传输误码率进行了模拟实验研究.结果表明:将CAN总线和微控制器的周期中断相结合,可以利用CAN 2.0 总线实现时间触发型应用,并获得较高的带宽利用率,该方案可应用于分布式数据采集系统等传输大量周期数据和少量非周期数据的场合. 相似文献
4.
5.
6.
7.
8.
9.
TTCAN 作为建立在时间触发机制上的标准CAN协议的高层协议,已逐渐成为广泛应用于汽车局部网络的通信协议.同时,基于软件仿真模型的开发方法也正在被汽车工业和研究领域所采用,以提高产品质量,减少开发成本.为了缩短TTCAN网络应用系统的开发周期,该文应用面向对象的开发方法建立了TTCAN协议的软件仿真模型.该文首先分析了TTCAN协议特点,然后详细描述了建立和实现TTCAN协议的软件仿真模型的过程,在仿真模型中,对TTCAN网络中各节点之间数据的发送、接收以及时间触发机制进行了模拟,最后给出了仿真结果. 相似文献
10.
11.
12.
为了提高无人飞行器航空电子系统的工作效率,提出利用CAN总线进行航空电子系统内部的数据传输;分析了CAN总线的特点,并指出了CAN总线作为无人飞行器航空电子系统总线的优缺点,介绍了CAN总线高层网络协议CANaerospace的报文类型和结构、定时触发的总线调度及对系统的冗余支持等方面优于基本CAN总线协议的各项特点,在此基础上,给出了基于CAN总线和CANaerospace协议的无人飞行器航空电子系统设计实例.实践证明,该设计能够满足无人飞行器数据传输可靠性、实时性等方面的要求. 相似文献
13.
杨福宇 《单片机与嵌入式系统应用》2012,12(4):1-4
CAN总线是代表性的基于消息优先级进行调度的事件触发协议。为了保障通信的正常运行,必须实现帧开始时的硬同步以及无帧发送时的毛刺滤除。在现有CAN总线协议中,这2个设计的组合在特定场合会引起高优先级消息失去与同时发生的低优先级消息的竞争机会,即优先级倒置。优先级倒置的后果是高优先级消息的送达时间延迟,送达时间的理论分析结果不再正确。在完全兼容CAN总线的条件下,提出了在总线空闲时以及在服务间隔第3位处理毛刺的方法。它对于优先级倒置有改进,但对于毛刺较长而与低优先级消息帧开始位(SOF)相连引起的倒置仍无法解决。 相似文献
14.
基于不同分配策略的云计算任务调度以及任务分配与调度的主要目的,提出了一种新的算法—求解3-SAT问题的基于任务分配与调度的GSAT算法。该算法将3-SAT问题中的每一个变量形成一个任务,在GSAT算法的基础上,引入任务分配与调度指导贪心搜索;同时,在保留原有贪心搜索的前提下,根据任务分配与调度的思想和3-SAT问题的特点,设计了两种新的策略—分配策略和调度策略共同完成整个贪心搜索过程。以标准的SATLAB库中变量个数从 20~250的3 700个不同规模的标准Uniform Random 3-SAT 问题对新的算法的性能进行了合理的测试,并与高效和普通性能改进的GSAT算法的结果作了比较,结果表明,该算法具有更高的成功率和更少的翻转次数。 相似文献
15.
针对于CAN总线的调度问题,因现有的平均分区EDF调度算法在对于优先级反转问题上收效甚微,从而导致消息缺乏一定的可调度性,故提出一种改进的基于幂函数分区的EDF算法;同时借助量化误差的概念,对该调度算法进行可调度性分析,充分论证了在该调度算法下,消息可调度的判定条件;采用CANoe平台进行实验仿真,对比平均分区EDF调度算法和双幂函数分区EDF调度算法,经试验测试验证了双幂函数分区EDF调度算法的可行性和优越性,改善了消息的最坏响应时间,提高了CAN网络通讯的实时性。 相似文献
16.
Due to limited resource contentions and deadline constraints, messages on the controller area network (CAN) are competing for service from the common resources. This problem can be resolved by assigning priorities to different message classes to satisfy time-critical applications. Actually, because of the fluctuation of network traffic or an inefficient use of resources, these static or dynamic priority policies may not guarantee flexibility for different kinds of messages in real-time scheduling. Consequently, the message transmission which cannot comply with the timing requirements or deadlines may deteriorate system performance significantly. In this paper, we have proposed a controller-plant model, where the plant is analogous to a message queue pool (MQP) and the message scheduling controller (MSC) is responsible to dispatch resources for queued messages according to the feedback information from the MQP. The message scheduling controller, which is realized by the radial basis function (RBF) network, is designed with machine learning algorithm to compensate the variations in plant dynamics. The MSC with the novel hybrid learning schemes can ensure a low and stable message waiting time variance (or a uniform distribution of waiting time) and lower transmission failures. A significant emphasis of the MSC is the variable structure of the RBF model to accommodate to complex scheduling situations. Simulation experiments have shown that several variants of the MSC significantly improve overall system performance over the static scheduling strategies and the dynamic earliest-deadline first (EDF) algorithms under a wide range of workload characteristics and execution environments. 相似文献
17.
一种快速构建CAN网络拓扑算法 总被引:1,自引:0,他引:1
受二叉树思想的启发,在P2P网络拓扑管理协议T-Man和Kademlia网络快速构建算法的基础上,提出了从非结构化P2P网络快速构建CAN网络的算法。Kademlia网络为二叉树拓扑结构,CAN网络基于空间划分,由于已经提出了Kademlia网络快速构建算法,通过把CAN的空间划分方式强制定义为树图的空间划分方式,研究问题转换为由Kademlia网络的二叉树结构向CAN网络的树图结构转换及构建相应路由表的问题。实验表明,该算法能在对数的时间内构建出CAN网络。 相似文献
18.
《Computer Standards & Interfaces》2006,28(5):531-552
The paper deals with the scheduling of information flow in a CAN ISO IS-11898 communication system. It mainly features a bus access arbitration protocol based on a priority assigned to each message to be transmitted; if two or more messages are transmitted at the same time by different communication nodes, only the message with the highest priority continues to be transmitted, the other being stopped. In real-time applications, messages contain information which must be transmitted within strict time constraints; according to the CAN ISO IS-11898 bus arbitration protocol, respect of real-time constraints of time critical information depends on the priority assigned to the message conveying it. The aim of the paper is to propose a procedure for dynamic assignment of priorities to messages to be transmitted, in such a way the real-time requirements of the information conveyed are fulfillled. Although many other approaches can be found in literature, the proposal is original as It is based on standard full CAN communication stacks. 相似文献