Hardware-in-loop simulation architecture of vehicles was designed based on high level architecture (HLA) standard. Various precise timing techniques on Windows were analyzed in order to solve the real-time performance. Timing precision of timing techniques on Windows was tested with digital signal processor (DSP) and digital oscilloscope by using testing program on VC++. High-precision timer was appended to the manager federate based on HLA to control the simulation step and improve the realtime performance of the HLA simulation system. No datapackage error and data transmission delay appear in the simulation period, which ensures synchronization of the data transmission.
[1] 刘志国,刘太阳,王仕成,等. 基于实时网络的半实物仿真集成平台研究[J]. 系统仿真学报,2007,19(15): 3425-3427.
LIU Zhiguo, LIU Taiyang, WANG Shicheng, et al. Research on hardwareintheloop simulation integrated platform based on realtime network [J]. Journal of System Simulation, 2007, 19(15): 3425-3427.
[2] 康凤举,顾浩,吴宇,等. 基于HLA 的鱼雷武器系统仿真环境设计与实现[J]. 兵工学报,2007,28(3):382-384.
KANG Fengju, GU Hao, WU Yu, et al. Design and implementation of simulation environment for HLAcompliant torpedo weapon system [J]. Acta Armament ARII, 2007, 28(3): 382-384.
[3] 陈源龙,李东,马培军,等. 基于HLA半实物仿真平台体系结构的设计及实时性改善[J]. 南京航空航天大学学报,2010,42(4):531-536.
CHEN Yuanlong, LI Dong, MA Peijun, et al. Architecture design of HLAbased hardwareinloop simulation systems and research on improving performance in realtime [J]. Journal of Nanjing University of Aeronautics and Astronautics, 2010, 42(4): 531-536.
[4] 翟永翠,程健庆. 基于HLA的实时仿真研究[J]. 系统仿真学报,2004,16(9):1966-1969.
ZHAI Yongcui, CHEN Jianqing. Research of realtime simulation using HLA [J]. Journal of System Simulation, 2004, 16(9): 1966-1969.
[5] MARCO J T, BENJAMIN A N, PHILIP T K. Realtime lowlevel simulation of hybrid vehicle systems for hardwareintheloop applications [C]//5th IEEE Vehicle Power and Propulsion Conference. Dearborn: IEEE, 2009: 890-895.
[6] 刘亚东,李从心,王小新. 步进电机速度的精确控制[J]. 上海交通大学学报,2001,35(10):1517-1520.
LIU Yadong, LI Congxin, WANG Xiaoxin. Precise control of step motor speed [J]. Journal of Shanghai Jiaotong University, 2001, 35(10): 1517-1520.
[7] 郭占社,孟永钢,苏才钧,等. 基于Windows的精确定时技术及其在工程中的应用[J]. 哈尔滨工业大学学报,2005,37(12):1717-1720.
GUO Zhanshe, MENG Yonggang, SU Caijun, et al. Windows based precise timing technology and its engineering applications [J]. Journal of Harbin Institute of Technology, 2005, 37(12): 1717-1720.
[8] 陈焰中,晁爱农. 战法推演飞行仿真系统中精确定时的实现[J]. 计算机工程,2005,31(11):188-189.
CHEN Yanzhong, CHAO Ainong. Precisiontime realization in flightsimulation system used for tacticsresearching [J]. Computer Engineering, 2005, 31(11): 188-189.
[9] 梁彦刚,唐国金,王锋. 基于HLA仿真系统的实时性改进策略研究[J]. 系统仿真学报,2005,17(2):361-363.
LIANG Yangang, TANG Guojin, WANG Feng. Research on strategy to improve realtime performance of HLAbased simulation system [J]. Journal of System Simulation, 2005, 17(2): 361-363.