论文部分内容阅读
针对复杂实时大系统分布式交互性特点,通过综合对比UML与HLA的特点,提出了基于UML-HLA的列控系统建模仿真方法。在传统建模方法的基础上,采用提出的UML-HLA建模方法,从多个不同的角度建立多车仿真系统的分析模型,包括用例建模、活动建模、结构建模、交互建模和状态建模等,构建起高层体系架构资源库。在分析模型的基础上,建立多车仿真系统体系结构,得到多车仿真系统的设计模型。从性能和功能上对多车仿真系统进行了仿真验证。仿真结果表明:基于UML-HLA的建模方法具有较强的可交互性和可操作性,通过对原有线程机制与定时器控制机制进行优化,采用线程管理机制将原有系统的CPU占有率由50%降低至15%以下,定时器误差控制在0.02ms范围内,满足了列控系统的仿真要求。
Aimed at the characteristics of distributed interactive system in complex real-time large-scale systems, a modeling and simulation method based on UML-HLA for train control system is proposed through a comprehensive comparison between the features of UML and HLA. Based on the traditional modeling method, the proposed UML-HLA modeling method is used to establish the analysis model of multi-car simulation system from many different perspectives, including use case modeling, activity modeling, structure modeling, interaction modeling And state modeling, building a high-level architecture repository. Based on the analysis of the model, the multi-car simulation system architecture is established and the design model of the multi-car simulation system is obtained. The multi-vehicle simulation system is verified by its performance and function. The simulation results show that the modeling method based on UML-HLA has strong interactivity and operability. By optimizing the original thread mechanism and timer control mechanism, the thread management mechanism is used to convert the original system CPU occupancy rate Reduced from 50% to 15% or less, the timer error control within 0.02ms, to meet the simulation requirements of train control system.