版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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年城市墙体广告投放与服务协议
- 2024年核能发电项目前期研究合同
- 2024年汽车租赁合同标的及租赁期限和租金说明
- 二零二四年度居民小区卷闸门维修与更换合同3篇
- 2024年度美发店与员工社会保障合同2篇
- 2024年度计算机软件开发及转让合同
- 2024年个人信息保密合同6篇
- 2024年新版国内物流承运协议标准格式版
- 2024年度旅游区垃圾桶供应与维护合同
- 二零二四年度软件开发工程师雇佣合同6篇
- 2024年度工矿企业设备维修与保养合同3篇
- 【MOOC】信号与线性系统-华中科技大学 中国大学慕课MOOC答案
- 国开2024年《金融风险管理》形考作业1-4答案
- 计算机视觉基础课件学习课件
- 急救创伤的急救与护理
- 各种试讲课件
- GB/T 44474-2024照明产品浪涌电流特性的测定
- 预防校园欺凌霸凌教育主题班会33
- 2024秋七年级英语上册 Unit 5 Family and Home Lesson 25 Jenny's Family教案 (新版)冀教版
- 门诊实习课件教学课件
- 2024-2030年中国保理行业现状规模及运营态势分析报告
评论
0/150
提交评论