您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 信息化管理 > ATS仿真系统模拟列车运行模块的设计与实现
《微型机与应用》2012年第31卷第19期陈超,郭秀清(,200331):提出了一种基于定时器的模拟列车运行模块的设计和实现。重点介绍了模拟列车运行模块的列车状态判断、列车速度调整、列车位置刷新各个组成部分。:ATS;仿真系统;模拟列车运行模块;列车状态判断;列车速度调整;列车位置刷新:TP319:A:1674-7720(2012)19-0012-02DesignandimplementationoftrainrunningsimulationmoduleinATSsimulationsystemChenChao,GuoXiuqing(DepartmentofControlTheoryandControlEngineering,TongjiUniversity,Shanghai200331,China)Abstract:Thispaperdesignsandrealizesatrainingrunningsimulationmodulebasedontimeraimingatintroducingallpartsoftrainingrunningsimulationmoduleincludingtrain-state-judging,train-speed-regulationandtrain-position-refresh.Keywords:ATS;simulationsystem;trainrunningsimulationmodule;trainstatejudging;trainspeedregulation;trainpositionrefresh,ATS[1]。ATS、、ATP、ATS、、、,。ATS,,,。、,。,ATS。1:、、。,,。,。,,。,,1s;,,1s,,1s。1。1.1,,、;、、,。。1.23:;,?NY1SoftwareTechnology12《微型机与应用》2012年第31卷第19期;[2]。2[3]。0T,1T,2T,0,2T,1T;1T、2T,3T,20km/h。,1T、2T、3T、4T、5T、6T、7T,8T80km/h。80km/h,7。、、,,,,。1.3,,。--[4]:S=V×△t+S′,S,V,△t,S′。,,,,。24:(1)。,3:TrainCanMove()、ChangeSpeed()Move()。(2)TrainCanMove()、ChangeSpeed()Move()。(3)OnTimer()1。(4)。2.1:classTrain{public:Train();~Train();private:CStringm_TrainName;//CStringm_TrainNumber;//CStringm_HeadOccupied;//CStringm_TailOccupied;//CStringm_CurrentPlatform;//CStringm_LastPlatform;//CStringm_NextPlatform;//boolm_IsRunning;//doublem_TrainLength;//doublem_TrainSpeed;//doublem_TrainLimitSpeed;//shortm_Direction;//:0-,1-public:boolTrainCanMove();voidMove(boolCanMoveNext);boolChangeSpeed();}Train,TrainCanMove(),ChangeSpeed(),Move()。2.2OnTimerOnTimer:voidCMainFram::OnTimer(UINT_PTRn_IDEvent){switch(n_IDEvent){Case100:{KillTimer(100);SetTimer(100,1000/allTableList.TimeRate,NULL);for(inti=0;iallTrainMax;i++){if(allTrain[i].TrainCanMove())allTrain[i].Move(allTrain[i].ChangeSpeed());}allTableList.NowTime=allTableList.NowTime+1;}default:break;}CFrameWnd(n_IDEvent);}ms,OnTimer1000/allTableList.TimeRatems,1s,allTableList.TimeRate。allTableList.TimeRate;。allTableList.TimeRate1,。2.3,5ATS8ATS。345、8ATS。0T1T2T3T4T5T6T7T8T02030455565802SoftwareTechnology(下转第17页)13《微型机与应用》2012年第31卷第19期,2008.[2]VALVERDES,CANEHOR,SOLER.Sealefreenetworksfromoptimaldesign[J].EuroPhysicsLetters,2002,60(4):512-517.[3]SOLERV,VALVERDES.Informationtheoryofcomplexnetworks:onevolutionarchitecturalconstraints[J].LectNotesPhysical,2004,65(1):189-207.[4]MYERSCR.Softwaresystemsascomplexnetworks:Structure,function,andresolvabilityofsoftwarecollaborationgraphs[J].PhysicalReviewE,2003,68(4):046-116.[5].[M]..,2007.[6].AHP[D].:,2007:13-18.[7],,.[J].,2001,22(3):329-332.[8]MARYEH,MINGZ,OHLSSONN.Planningmodelsforsoftwarereliabilityandcost[J].IEEETransactiononSoftwareEngineering,1998,24(6):420-434.[9]ZAHEDIF.ASHRAFIN.Softwarereliabilityallocationbasedonstructure,utility,priceandcost[J].IEEETransactionSoftwareEngineering,1991,17(4):345-356.[10]SAATYTL,VARGASLG.DecisionmakingwiththeanalyticnetworkProcess[M].SpringerScienceBusinessMedia,LLC,2006.[11],.ANP[D].,2006:1235-1242.(:2012-05-09):,,1960,,,:。,,1987,,:。,,1969,,,:。(上接第11页);.cpp。,runBotton:voidMainWindow::on_runButton_clicked(){form4.show();this-hide();}。,。Linux、ARM,,。[1],.[J].,2005,13(5):13-15.[2],.[M].:,2011:30-31.[3],,.[J].,1995,21(4):70-74.[4],.Qt4[M].:,2009:5-8.[5],.Qt4[M].:,2011:121-123.(:2012-05-04):,,1987,,:。,,1962,,:。SoftwareTechnology,5、8ATS。,,。[1],.ATS[J].,2004,7(1):55-57.[2],,.[J].,2001,18(6):49-52.[3]..,1998,4(4):172-177.[4].[J].,1998,10(1):1-7.[5][J].,1998,4(4):172-177.(:2012-05-05):,,1987,,:。,,1965,,:。35ATS48ATS(上接第13页) 17
本文标题:ATS仿真系统模拟列车运行模块的设计与实现
链接地址:https://www.777doc.com/doc-4643639 .html