节点文献

车载网络的若干关键技术研究

The Research on Several Key Technologies of In-vehicle Network

【作者】 陈筠翰

【导师】 秦贵和;

【作者基本信息】 吉林大学 , 计算机应用技术, 2014, 博士

【摘要】 针对控制器局域网(ControllerAera Network,CAN)消息集的固定优先级抢占式调度(Fixed Priority Non-premptive Scheduling,FPNS)的可调度性分析问题,CAN消息修正的最差响应时间(Worst Case Response Time,WCRT)分析方法提出了CAN消息集的FPNS模型,并修正了基于单处理器系统任务集的固定优先级非抢占式调度(FixedPriority Non-preemptive Scheduling,FPNS)模型的CAN消息传统的WCRT分析方法的误判情况。但CAN消息修正的WCRT分析方法所引入的过差估计,缩小了CAN消息集可调度的优先级序列的解空间。这将可能造成对某些可调度的消息集做出不可调度的错误判断,并提升求解所需的计算量与相应的时间开销。为此,本文基于CAN消息集的FPNS模型重新分析了CAN消息响应时间可能出现的最差情况。其分析方法消除了CAN消息修正的WCRT分析方法的过差估计,保证了CAN消息集的FPNS的可调度性分析可在应有的解空间中求解可调度的优先级序列。另一方面,CAN消息的WCRT作为其可调度性的判定指标,虽然可作为衡量CAN通信系统实时性的重要依据。但其反映的仅为消息所可能经历的延时的上限,无法作为定量地衡量CAN通信系统实时性的指标。为此,本文通过对CAN消息响应时间构成要素的分析,提出CAN数据帧排队延时的概率分布可作为定量衡量CAN通信系统实时性的指标。通过对CAN总线传输活动的分析,根据Markov链理论分别建立了CAN数据帧的阻塞延时模型与直接经历的干扰延时模型,以推导CAN消息所经历的阻塞延时的概率分布与直接经历的干扰延时的概率分布,并最终得出了CAN数据帧排队延时的概率分布。CAN作为被广泛用于实现车辆网络控制系统通信网络的总线技术,至今仍在汽车工业领域内发挥着不可替代的作用。然而,由于CAN所采用的载波监听多路访问/冲突避免(Carrier Sense Multiple Access/Collision Resolution,CSMA/CR)机制,在应用OSEK/VDX直接NM(Network Management,NM)机制的CAN网络管理系统中,网络控制系统的应用通信与NM通信会存在部分兼容性问题。在逻辑环的形成过程中,参与直接NM的全体节点可能在较短的时间内触发大量的alive报文与ring报文的发送请求。这种情况难于分析并有效调度,严重时甚至会影响网络控制系统的有效性与稳定性。为此,本文提出了逻辑环的顺序形成机制,有效地控制了单位时间内可能触发的alive报文与ring报文的发送请求数量,降低其与应用报文的发送请求产生冲突的可能。该机制的应用可为车辆提供更加安全、可靠的操作平台。此外,针对应用OSEK/VDX直接NM机制的CAN网络管理系统的理论研究与应用开发缺乏有效的软件仿真平台的问题。本文通过对NS2环境下已有模拟实现的网络协议的研究,结合对CAN总线协议的分析与抽象,在NS2环境下设计实现了CAN网络的直接NM系统的软件仿真平台。面向媒体的系统传输(Media Oriented System Transport,MOST)作为车载信息娱乐网络通信的新一代的解决方案,虽然在网络传输带宽、数据的传输方式、资源共享等方面满足了车载信息娱乐系统全新的需求。然而,随着车载信息娱乐系统中信息娱乐设备数量的不断增加,启动过程耗时过长且待机过程耗电量过大已成为车载信息娱乐系统亟待解决的问题。同时,随着车载信息娱乐系统所提供的音视频资源种类的不断丰富,用户对各种音视频资源的动态选择与共享已成为必然的需求。因此,MOST需根据数据目的对各数据源所提供的多种音视频资源需求的变化,动态管理数据源与数据目的间的流数据连接及相应的流数据连接通道。然而,MOST规范仅描述了单对数据源与数据目的间流数据连接的建立与释放过程;数据源、数据目的,以及连接管理功能块与之相关的函数功能。为此,本文提出了适用于MOST规范所定义的全部网络实现标准的支持ECL唤醒的MOST网络的睡眠唤醒策略,用于解决车载信息娱乐系统启动过程耗时过长且待机过程耗电量过大的问题。还提出了以MOST网络的网络管理机制为基础MOST网络流数据连接管理的方案。该方案通过流数据连接管理相关信息的管理机制,以及流数据连接的建立、释放与切换策略,使连接管理主节点(Connection Master,CM)实现了在数据目的对数据源所提供的音视频资源的需求发生变化时,对可能存在的各路流数据连接的有效管理,从而为车载信息娱乐系统提供更为完善的服务。以上研究为MOST相关应用的产业化开发与商业推广提供了可靠的保障。

【Abstract】 In the research of Fixed Priority Non-preemptive Scheduling (FPNS) for Controller AreaNetwork (CAN) message set, as the traditional Worst Case Response Time (WCRT) analysismay draw the wrong conclusion to some unschedulable message set, the modified Worst CaseResponse Time (WCRT) analysis proposed the FPNS model of CAN message set, modifiedthe misjudgement of the tranditional WCRT based on the FPPS model of single processor’stask set. However, the modified analysis is pessimistic and reduces the solution space ofshedulable priority sequence. This would make the misjudgement to some schedulablemessage set, cost more computation and time to find the solution. This dissertation discussedand revised the pessimistic element in the modified analysis with FPNS model. The relativeanalysis makes it is possible to find schedulable sequence in the original solution space. Onthe other hand, although the WCRT as the judging index of message schedulablity can be usedas an important basis to reflect the real-time of CAN communication system, it is only theupper bounder of the delay that message may experienced, not the quantitative index tomeasure the real-time of CAN communication system. After analysing the WCRT of CANmessage, this dissertation proposed that the probability distribution of CAN frame queuingdelay can be used as a quantitative index to measure the real-time of CAN communicationsystem. By analysing the transport activity of CAN bus with Markov chain theory, theblocking model and the direct experienced interference model of CAN frame are establishedto deduce the corresponding probability distribution, and get the probability distribution ofCAN frame queuing delay eventually.As the most widely used network for in-vehicle Network Control System, CAN is stillplaying an irreplaceable role in automotive industry. However, since the Carrier SenseMultiple Access/Collision Resolution (CSMA/CR) mechanism of CAN, the communicationbetween NCS and Network Managment (NM) system is still incompatible in some scenariowith the CAN NM system applying OSEK/VDX direct NM. During the formation of logicalring, the nodes which participating the direct NM would have too many sending requests ofalive message and ring message in a short time. It is hard to schedule, and may corrupt theeffectiveness and the reliability of NCS in worst case. This dissertation proposed a sequentialformation mechanism of logical ring, which limits the sending requests of alive message andring message and reduces the possibility of collision with application message. The applyingof this mechanism will provide a more safable and reliable control platform for vehicle.Futhermore, This dissertation desgined and implemented a software simulation platform forthe theoretical research and application research of NM system applying OSEK/VDX direct NM mechanism, through researching the existing simulation of network protocol in NS2,analysing and abstracting CAN bus protocol.As the next generation solution, Media Oriented System Tranport (MOST) has met thenew demands of in-vehicle infoentertainment network in bandwith, transmission mode,resource sharing, etc. But with the increasing amount of infoentertainment device distributedin in-vehcile infoentertainment system, the long time startup and the much power consumedstandby have become the critical problem of in-vehcile infoentertainment system. Moreover,with the types of audio and video resources provided by infoentertainment continuouslyenriched, dynamic selecting and sharing of various audio and video resource have become theinevitable demand of consumer. Therefore MOST need to manage the streaming connectionsand corresponding streaming channels dynamically according to the requirements of sinks tothe various resource provided by sources. However, MOST specification only describes thebuilding and releasing between single couple of source and sink, and their relative function.This dissertation proposed a sleep-wakeup strategy with Electrical Control Line (ECL)wakeup functionality, which applies to all the network implement standards defined by MOSTspecification to solve the long time startup and the much power consumed standby ofin-vehcile infoentertainment system. It also proposed a streaming connection managementscheme of MOST based on NM mechanism. This scheme supported by the infomantionmanagement mechanism and the building, releasing, switching strategy of the multiplestreaming connections, makes Connection Master (CM) manage multiple streamingconnections effectively when the requirements of sinks to the resource provided by sourceshas changed, provides more perfect service to in-vehcile infoentertainment. The researchabove guarantees the industrialization development and trade promotion of MOST.

  • 【网络出版投稿人】 吉林大学
  • 【网络出版年期】2014年 10期
节点文献中: 

本文链接的文献网络图示:

本文的引文网络