




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 辅导员考试试题回顾与分析试题及答案
- 独特视角下的2024花艺师考试试题及答案
- 重症医学理论试题及答案
- 辅导员考试亲和力试题及答案
- 2025至2030年移动电子病历系统项目投资价值分析报告
- 2025至2030年祛皱王项目投资价值分析报告
- 2025至2030年砼输送泵项目投资价值分析报告
- 2025年中国特色农产品行业市场全景评估及未来投资趋势预测报告(智研咨询)
- 2025至2030年冲洗剂项目投资价值分析报告
- 现代化农业的挑战与机遇试题及答案
- GB/T 23445-2009聚合物水泥防水涂料
- 中医基础理论(中英文对照)
- 生理学(全套课件)
- 香港公司条例
- 污水处理系统工程合同范本
- 德能勤绩廉个人总结的
- 二年级美术上册课件 《3.我的手印画》 赣美版 (共18张PPT)
- Q∕SY 126-2014 油田水处理用缓蚀阻垢剂技术规范
- GB∕T 3216-2016 回转动力泵 水力性能验收试验 1级、2级和3级
- 电子电气评估规范-最新
- 黑布林绘本 Dad-for-Sale 出售爸爸课件
评论
0/150
提交评论