南华大学学报(自然科学版)
南華大學學報(自然科學版)
남화대학학보(자연과학판)
JOURNAL OF NANHUA UNIVERSITY(SCIENCE AND TECHNOLOGY)
2015年
2期
97-101,107
,共6页
袁熹%刘朝晖%吴志强%韩文兴
袁熹%劉朝暉%吳誌彊%韓文興
원희%류조휘%오지강%한문흥
优先级%CAN总线%调度策略%仿真
優先級%CAN總線%調度策略%倣真
우선급%CAN총선%조도책략%방진
priority%CAN%scheduling algorithm%simulation
在通信确定性要求相对较高的系统中,若采用静态优先级调度策略,优先级低的节点可能长时间竞争不到总线,从而导致信息得不到发送。为了克服静态优先级的这种缺陷,可以提出一种新的动态优先级调度策略:以固定的周期遍历每个节点,并根据每个节点获得总线仲裁的频率来动态调整优先级。与此同时,每个节点调度的预值区间和阀值可根据需要灵活设定。通过Matlab对原始CANbus的静态优先级调度策略和本动态调度策略进行仿真对比研究,本策略的可行性即可获得验证。通信的确定性亦可得到保证。
在通信確定性要求相對較高的繫統中,若採用靜態優先級調度策略,優先級低的節點可能長時間競爭不到總線,從而導緻信息得不到髮送。為瞭剋服靜態優先級的這種缺陷,可以提齣一種新的動態優先級調度策略:以固定的週期遍歷每箇節點,併根據每箇節點穫得總線仲裁的頻率來動態調整優先級。與此同時,每箇節點調度的預值區間和閥值可根據需要靈活設定。通過Matlab對原始CANbus的靜態優先級調度策略和本動態調度策略進行倣真對比研究,本策略的可行性即可穫得驗證。通信的確定性亦可得到保證。
재통신학정성요구상대교고적계통중,약채용정태우선급조도책략,우선급저적절점가능장시간경쟁불도총선,종이도치신식득불도발송。위료극복정태우선급적저충결함,가이제출일충신적동태우선급조도책략:이고정적주기편력매개절점,병근거매개절점획득총선중재적빈솔래동태조정우선급。여차동시,매개절점조도적예치구간화벌치가근거수요령활설정。통과Matlab대원시CANbus적정태우선급조도책략화본동태조도책략진행방진대비연구,본책략적가행성즉가획득험증。통신적학정성역가득도보증。
In the system requiring comparatively higher deterministic of communication, static priority scheduling algorithm may bring about that the nodes of lower priority fail to access to the bus within a long period,which leads to a result that some data couldn’ t be sent. To overcome this defect,a new dynamic priority scheduling strategy is put forward:Traverse each node periodically and then adjust the priority of each node dynamically as per its bus arbitrary frequency. In the meantime, the pre-value interval and threshold of each node could be flexibly specified as required. Once the emulational comparison be-tween the original CANbus static priority scheduling strategy and this new dynamic strategy is proceeded,the feasibility of the latter approach would be verified. The deterministic of communication would be guaranteed as well.