东北大学实时系统课件.ppt

  1. 1、本文档共63页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Real-Time Computing Technology 领先的国家 美国:波音 ,福特,通用,戴姆勒-克莱斯勒 德国:大众,宝马,奔驰,保时捷 瑞典:沃尔沃,萨博,ABB,SCANIA 法国:空中客车,PSA(标致--雪铁龙) 意大利:菲亚特(法拉利,玛莎拉蒂,阿尔法·罗密欧) … … * * Further: Multirate Systems For example The sampling rates of A, B, and C are 180Hz, 90Hz, 30Hz resp. The sampling periods are “harmonic” Do the following in each 1 / 180 second cycle: Do A Do B once every 2 cycles …… Do C once every 6 cycles …… Output commands Wait until the beginning of the next cycle Furthermore: A Car Controller Activities of a car control system. Let C= worst case execution time T= (sampling) period D= deadline Control requirements Construct a controller meeting all the deadlines! Objects C T D Speed measurement 4 20 5 ABS control 10 40 40 Fuel injection 40 80 80 Others, e.g. audio, air conditonning Soft deadlines The Overall System Timing Analysis Software system is complex Timing Analysis Usually performed bottom-up Program Level Analysis to bound the worst-case execution time (WCET) of each individual task assuming fully dedicated hardware System Level Analysis the WCET information of individual tasks is gathered, to investigate the contention of processing capacity among different tasks in a multitasking environment Program Level * Execution Time of a Program Execution times of programs are intrinsically variable! Void signal_processing (){ read_signal(&curr_signal); if (curr_signal < threshold){ signal_transformation(); // some +-*/ ops. } else{ error_handling_routine(); // complex error handling operations } } The Distribution of Execution Times Distribution BCET Possible Execution Time WCET Predicted Upper Bound Observed BCET Observed WCET Observed Execution Time Execution Time Worst-Case Guarantee The Quality of Static Analysis Safety The estimated upper bound should always enclose the WCET Tightness (Precision) The estimated upper bound should be as close as possible to the actual WCET Main objective: to minimize system over-provisioning Complexity There

文档评论(0)

189****6821 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档