版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
ExtensibleandScalableTimeTriggeredSchedulingfor
AutomotiveApplicationsWeiZhengAdvisor:ProfessorAlbertoSangiovanni-VincentelliAgendaMotivationProblemStatementPreviousWorkInvestigativeApproachMetricDefinitionMathematicalFormulationMulti-ObjectiveCostFunctionCaseStudySystemDescriptionCostFunctionEvaluationMetricsEvaluationConclusionFutureWorkProblemModelMathematicalModelImplementationAlgorithmEvaluationProjectMotivationHardReal-timeEmbeddedSystemsareubiquitouslyusedtodayinsafetycriticalcommercialapplicationsVerificationofcomplexsystemsistimeandresourceintensiveForfasttime-to-marketExtensibleandScalablesystemsPowerTransmissionUnit-6-linesperday-3000ppmresidentialdefects-5monthsvalidationtimeFABIOROMEO,Magneti-MarelliDAC,LasVegas,June20th,2001X-by-wireDesignFlowFunctionalModelSoftwareModelPhysicalArchitectureModelMappingControlalgorithmdesignPlantModeldesignFaultModelFunctionalSimulationAllocateFunctiontoTasksTaskandtheirWCETSignalsMiddlewareOSAllocatingtaskstoECUAllocatingsignalstoBUSECUarchitectureNetworkarchitectureSimulationcapturingcomputationalconstraintsTTbehavioralsimulationFunctionalityArchitectureSchedulingVirtualPrototypeRefinementINPUTPROCESSINGSYSTEMCOORDINATIONINPUTFAULTMANAGEMENTDISTRIBUTEDCONTROLAGREEMENTBY-WIRECONTROLNODESTATEOFHEALTHOUTPUTPROCESSINGOUTPUTFAULTMANAGEMENTTASKATASKCTASKATASKBTASKDSOURCE:GMFunctionality:AllocateFunctiontoTaskSystemArchitecture...ECUAPP.TTTASKSComm.controllerBUSDRIVEROSEKSCHEDULERBUSDRIVEROSEKTIMEDISPATCHERFT.TTTASKSAPP.OSEKTASKS......14012345681079111213STATICSEGDYNAMICSEGSYMBOLWINNITCOMMUNICATIONCYCLE14012345681079111213...AgendaProjectMotivationProblemStatementPreviousWorkInvestigativeApproachMetricDefinitionMathematicalFormulationMulti-ObjectiveCostFunctionCaseStudySystemDescriptionCostFunctionEvaluationMetricsEvaluationConclusionFutureWorkIdentifyasetofmetricstocaptureextensibilityandscalabilityApplythesetofmetricsinadesignEvaluatetheeffectivenessofthesetofmetricsSpecifically,wewantto:StudyahardrealtimeembeddedsystemsintheautomotivedomainFocusontheschedulingaspectofsystemdesignCharacterizeextensibilityandscalabilityinschedulingApplythesetofmetricsinaschedulingalgorithmEvaluatetheeffectivenessoftheapproachwithindustrialcasestudyIdentifyaSetofMetricsFormallyDescribeMetricApplyMetricsToDesignEvaluateResult.MetricsProblemProblemStatementAgendaProjectMotivationProblemStatementPreviousWorkInvestigativeApproachMetricDefinitionMathematicalFormulationMulti-ObjectiveCostFunctionCaseStudySystemDescriptionCostFunctionEvaluationMetricsEvaluationConclusionFutureWorkPreviousWork
StaticcyclicschedulinghasbeenextensivelyresearchedClassicalschedulingtheoryusemetricssuchasMinimizingsumofcompletiontimeMinimizingschedulelengthMinimizingresourceForrealtimesystems,deadlineisaddedasaconstraintEmphasisshiftedtofindingfeasiblesolutionswhileMinimizingend-to-enddelayMinimizingcommunicationcostClosestproblemconceptcomesfromPaulPop,etalClosestproblemformulationcomesfromArminBender,etalPreviousWork
PaulPop,etal,wroteaboutincrementaldesignUselistschedulingapproachtoobtainavalidscheduleUseaheuristictodistributeslackinthesystemMissingseveralimportantcomponents
PreemptionisnotconsideredResultingscheduleisnotsuitableforfuturetaskwithurgentdeadlineMessageslackisnotdistributedExtensibilityisnotconsideredArminBender,etal,usedmathematicalprogrammingformappingandschedulingWorkismotivatedbysoftware-hardwareco-designObjectiveistoobtainschedulefeasibilitywhileMaximizingPerformanceMinimizingresourceResearchDirectionFocusonoptimallyutilizeredundanciesinschedulesforextensibilityandscalabilityIdletimeandslacksaretraditionallyincorporatedinhardrealtimeembeddedsystemsschedulestoincreasesystemrobustnessWeshouldutilizetheseredundanciesto:TolerateincrementaldesignchangesAccommodatenewtaskstobeaddedinfutureproductupdatesD12_2D34D12_1T2_1T2_2T4T1_2T3T1_1Time01234BusECU2ECU1T5_1T5_2Idle[ECU1,T5_2]IdleTimeDataSlacksSlack[D12_2,T2_2]AgendaProjectMotivationProblemStatementPreviousWorkInvestigativeApproachMetricDefinitionMathematicalFormulationMulti-ObjectiveCostFunctionCaseStudySystemDescriptionCostFunctionEvaluationMetricsEvaluationConclusionFutureWorkExtensibilityMotivation
ToleratechangesofTaskWCETToleratechangesofDataWCTTImplementationMaintainBusSchedule
Maintainnon-involvedECU
schedules
MaintaininvolvedECU
scheduleswithoutreconfigurationApproach
Messageleft&RightslackMaxSumofallslacks
MinVarianceofallslacksScalability
AccommodateNEWtasksby
staticallyschedulingthemon
alegacysystem
Provideblocksofcomputation
timeforfuturecomputation
intensivetasks
Provideporosityinschedulesto
allowforfuturetaskswithtight
deadlinesECUidletimedistributionBusidletimedistributionEvenlydistributeallidle
timeModelCapturetheMetricsApplyingtheMetricsDevelopaformalrepresentationoftheproblemusingmathematicalprogrammingandsolveitusingexistingsolverModelingLanguage:AMPL
Advantage:obtainoptimalsolution
.costfunctionDisadvantage:computationallyintensive
suitableonlyformoderately
sizedproblemsAssumptions:HardrealtimedeadlinesStaticallyscheduledtaskswithdatadependencyDistributedandheterogeneousmulti-processorarchitectureTimetriggeredbuswithTDMAprotocolPreemptionallowedonECUswithnolevellimitsMulti-ratetasksupportwithadaptivetaskgraphexpansionFixedtaskallocationwithnotaskmigration
MathematicalModelMathematicalFormulation1Notations
ThesetofTasksThesetofECUThesetoftaskpairwithdatadependencyrunningonthesameECUThesetoftaskpairwithdatadependencyrunningondifferentECUThesetoftasknon-reachabletaskpairrunningonthesameECUThesetoftaskpairrunningonthesameECUThesetoftaskallocationforECUMathematicalModelMathematicalFormulation2
WCETReleaseTimePeriodIdletimeStartingtimeFinishingtimeTask:6-tupleparametervariableVector
WCTTLeftSlackRightSlackStartingtimeFinishingtime
Message:5-tupleparametervariableVector
ParametersandVariablesMappingfromTaskstoECUsTaskandMessageiftaskiismappedtoECUjotherwiseMathematicalModelMathematicalFormulation3ifthestartingtimeoftaskiprecedethestartingtimeoftaskjotherwiseiftaskiisnotpreemptedbytaskjotherwiseParametersandVariables(continue)IdletimeandIntegerVariablesifdatatransmittedfromtaskitotaskjprecedesdatatransmittedfromtaskktolotherwiseIdletimefortaski,ifiisnotthefirsttaskinofitsrunningECUFirstidletimeforeachECUkIdletimeforECUkbeforethesuperperiodMathematicalModelMathematicalFormulation4Subjecttothefollowingconstraints:ReleaseandDeadlineConstraints
ExecutionTime/TransmissionConstraintsPrecedenceConstraintsNon-negativeandIntegerConstraintsMathematicalModelMathematicalFormulation5Constraints(continued):MutualexclusionconstraintsIdletimeconstraintsMathematicalModelAgendaProjectMotivationProblemStatementPreviousWorkInvestigativeApproachMetricDefinitionMathematicalFormulationMulti-ObjectiveCostFunctionCaseStudySystemDescriptionCostFunctionEvaluationMetricsEvaluationConclusionFutureWorkMultipleObjectiveCostFunctionExtensibility
ScalabilityJointlyExtensibility&ScalabilityAlgorithmD34T5_2D12_2T2_2T1_2T4T5_1T3T2_1T1_1Time01234BusECU2ECU1D12_1ExtensibleScheduleWCETChangesWCETIncreaseT6D34D12_2T2_2T1_2T4T3T2_1T1_1T5_1D12_1Time01234BusECU2ECU1ScalableSchedule:AddNewTaskT5_2T2_2D12_2T1_2T5_2T4T3D12_1T2_1T1_1Time01234BusECU2ECU1T5_1D34MinimizeEndtoEndLatencyTaskgraphexpansion(inaSUPERperiod)T1T4T3functionalityECU2ECU1FlexRayarchitectureMappingT5T1T3T2T1T2T4T5T5T2_2D12_2T5_2D34T4T3D12_1T2_1T1_1Time01234BusECU2ECU1T5_1T1_2CheckingSchedulabilityD34D12_2T2_2T1_2T4T3T2_1T1_1Time01234BusECU2ECU1T5_1T5_2D12_1ScalableScheduleT6T2D34T5_2D12_2T2_2T1_2T4T5_1T3T2_1T1_1Time01234BusECU2ECU1D12_1ExtensibleScheduleD34D12_2T2_2T4T1_2T2_1D12_1T3T1_1Time01234BusECU2ECU1T5_1T5_2JointlyConsideringExtensible
andScalableAlgorithmExtensibilityandScalabilityofTimeTriggeredScheduling
AgendaProjectMotivationProblemStatementPreviousWorkInvestigativeApproachMetricDefinitionMathematicalFormulationMulti-ObjectiveCostFunctionCaseStudySystemDescriptionCostFunctionEvaluationMetricsEvaluationSummaryConclusionFutureWorkAdvancedAutomotiveControlApplicationDesiredSpeedCurrentSpeedObjectDistanceandSpeedCurrentthrottlepositionDesiredbrakingforceDesiredThrottlepositionActuatebrakesActuateThrottleLeft-RearWheelspeedActuateThrottleActuateBrakeDesiredBrakingForceLateralaccelerationHand-wheelpositionYawRateRight-FrontWheelSpeedRight-RearWheelSpeedLeft-FrontWheelSpeedRoad-wheelforceHand-wheelpositionDesiredhand-WheeleffortDesiredroad-WheelangleForcefeedbackTodriverActuatesteeringRackmotorT10T14T12T13T11T8T7T9T24T23T22T21T19T20T18T17T16T15T2T6T5T4T3T1ApplicationsandcorrespondingtaskgraphrepresentationsAdaptiveCruiseControlTractionControlElectricPowerSteeringArchitectureandTaskAllocationP1T4,T11P3T10,T20P2T3,T12,T22FlexRayThrottlepositionSteeringRackForceObjectDistanceBrakeThrottleValueHand-WheelmotorSteeringRackMotorAccel-aratorHand-WheelangleCarSpeedRFWheelSpeedRRWheelSpeedLFWheelSpeedLRWheelspeedProcessorswithtasksallocatedcSensorsaredirectlyconnectedtothebusActuatorsaredirectlyconnectedtothebusImplementationDescribetheMetricsFormalizetheMetricsGetSchedulingResultEvaluateResult.MetricsCasestudyAutomaticAMPLdatafilegenerationAMPLmodelwithcostfunctionandconstraintsCPLEXsolverAutomaticGantgraphgenerationT2_2D12_2T1_2T5_2T4T3D12_1T2_1T1_1Time01234BusECU2ECU1T5_1D34.Self-developedprojectinfrastructure.Off-the-shelf
projectinfrastructureImplementationInfrastructureAgendaProjectMotivationProblemStatementPreviousWorkInvestigativeApproachMetricDefinitionMathematicalFormulationMulti-ObjectiveCostFunctionCaseStudySystemDescriptionCostFunctionEvaluationMetricsEvaluationSummaryConclusionFutureWorkCostFunctionEvaluationMulti-objectivecostfunctionisanabstractionMathematicalprogrammingformulationhaslimitedsemanticsExtensibilityandscalabilitymetricsaretoocomplexDescribedinfull,thecostfunctionwouldbetoocomputationallyexpensiveMustdetermineifthecostfunctionabstractioneffectivelyrepresentsthemetricsUsetheresultsofCPLEXsolverExtractrealslackandidletimedistributionsbasedonprecisedefinitionofthemetricsCompareresultswiththeschedulewithoutextensibilityandscalabilityoptimizationEvaluationTraditionalSchedulingResultOptimizingforEndtoEndLatencyEvaluationOptimizedSchedulingResultOptimizingforExtensibilityandScalabilityEvaluationMetricsEvaluationOursetofmetricsisoneabstractionoftheextensibilityandscalabilityconceptMustdetermineifourmetricseffectivelyhandlesincrementaldesignchangesIncrementalDesignScenario:BasicACCStop-N-GoACCAdditionofanewAdaptiveCruiseControlfeaturePredictdesiredspeedbasedon:DigitalmapinformationForwardlookingvisionsensorRequiresadditionoftasksandmessagesSomeexistingtaskswillneedmorecomputationtimeEvaluationAdaptiveCruiseControlIncrementalDesignChanges:AddnewDigitalMapComputationtaskonP1MorecomplexalgorithminT10(DesiredSpeedControl)DesiredSpeedControlrequiresnewinputfromHandWheelSensorDesiredThrottleControlrequiresnewinputfromForwardVisionSensorEvaluationT10T14T12T13T11T8T7T9T_addT19DesiredSpeedCurrentSpeedObjectDistanceandSpeedCurrentthrottlepositionDesiredbrakingforceDesiredThrottlepositionActuatebrakesActuateThrottleDigitalMap
ComputationHandWheel
PositionTraditionalScheduleInTraditionSchedule:IncrementalchangesimpossiblewithoutfullreschedulingEvaluationOptimizedScheduleInTraditionSchedule:IncrementalchangesimpossiblewithoutfullreschedulingInOptimizedSchedule:AlotmoreporositytoaccommodatenewtasksandmessagesEvaluationOptimizedScheduleInTraditionSchedule:IncrementalchangesimpossiblewithoutfullreschedulingInOptimizedSchedule:AlotmoreporositytoaccommodatenewtasksandmessagesNewfunctionsadded:
WithoutdisturbinglegacyschedulesEvaluationAgendaProjectMotivationProblemStatementPreviousWorkInvestigativeApproachMetricDefinitionMathematicalFormulationMulti-ObjectiveCostFunctionCaseStudySystemDescriptionCostFunctionEvaluationMetricsEvaluationConclusionFutureWorkConclusionSuccessfullycapturedextensibilityandscalabilitymetricsRecognizedimplicationsinacceleratingtime-to-marketofembeddedsystemdevelopmentReducere-verificationburdeninincrementaldesignflowNoincreaseinresourcerequirementsFormulatedtheschedulingproblemasamathematicalprogrammingproblemConstructedmulti-objectcostfunctionsabstractedfromthemetricsThecostfunctionisshowntobeeffectiveforthemetricsThemetricsisshowntobeeffectiveinindustrycasestudyAgendaProjectMotivationProblemStatementPreviousWorkInvestigativeApproachMetricDefinitionMathematicalFormulationMulti-ObjectiveCostFunctionCaseStudySystemDescriptionCostFunctionEvaluationMetricsEvaluationConclusionFutureWorkFutureWorkProtocolComparisonFlexRayVs.TTPSlotSizeOptimization...14012345681079111213......6012435...COMMUNICATIONCYCLECOMMUNICATIONCYCLESlotSizeExplorationRead/Write
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年旅游服务代理合同样本
- 2025年度绿植花卉租赁与城市景观提升合同范本4篇
- 2025年度绿化工程环境保护与节能减排合同范本4篇
- 2025版绿色建筑项目租赁与能源管理合同4篇
- 2025年度个人二手房交易安全协议范本4篇
- 个人间短期资金周转合同书版
- 个人买卖合同范文(2024版)
- 二零二五年度风力发电机组安装及运营维护协议3篇
- 2025年度个税起征点调整下签劳务合同税务筹划合作协议
- 二零二五年度素食餐饮品牌授权合作合同
- 车站值班员(中级)铁路职业技能鉴定考试题及答案
- 极简统计学(中文版)
- JTG∕T E61-2014 公路路面技术状况自动化检测规程
- 高中英语短语大全(打印版)
- 2024年资格考试-对外汉语教师资格证笔试参考题库含答案
- 软件研发安全管理制度
- 三位数除以两位数-竖式运算300题
- 寺院消防安全培训课件
- 比摩阻-管径-流量计算公式
- GB/T 42430-2023血液、尿液中乙醇、甲醇、正丙醇、丙酮、异丙醇和正丁醇检验
- 五年级数学应用题100道
评论
0/150
提交评论