




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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年度)
- 2025年度汽车过户交易全程免责承诺书
- 二零二五年度食品饮料区域代理加盟协议范本
- 二零二五年度影视制作与影视衍生品开发合同
- 2025年度租赁协议原告代理词:租赁合同履行过程中的争议处理
- 二零二五年度租赁房屋租赁保证金管理协议
- 2025年度环保纠纷民事调解协议书编制指南
- 二零二五年度知识产权法律风险防控与保密协议
- 线上教育平台教师教学行为规范与责任书
- 2025年内蒙古法院系统招聘用制书记员2988人过渡高频重点模拟试卷提升(共500题附带答案详解)
- 中央2025年全国妇联所属在京事业单位招聘93人笔试历年参考题库附带答案详解
- 《环境污染对生态系统的影响》课件
- 2024年保安员证资格考试题库及答案
- 机器狗:技术成熟性能优越场景刚需放量在即2025
- 《生态安全》课件
- 教科版六年级下册科学全册单元教材分析
- 2025年春新人教版一年级下册数学全册教学课件
- 2024年第四季度 国家电网工程设备材料信息参考价
- (一模)渭南市2025届高三教学质量检测(I)语文试卷(含答案解析)
评论
0/150
提交评论