Please wait a minute...
J4  2012, Vol. 46 Issue (7): 1195-1200    DOI: 10.3785/j.issn.1008-973X.2012.07.007
    
Precise timing of HLA-based hardware-in-loop simulation for vehicles
YU Xiao-yong, WEI Yan-ding, HUANG Mang-mang, ZHOU Xiao-jun, YANG Chen-long
State Key Laboratory of Fluid Power Transmission and Control, Zhejiang University, Hangzhou 310027, China
Download:   PDF(0KB) HTML
Export: BibTeX | EndNote (RIS)      

Abstract  

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 realtime performance of the HLA simulation system. No datapackage error and data transmission delay appear in the simulation period, which ensures synchronization of the data transmission.



Published: 01 July 2012
CLC:  TP 391.9  
  U 461.1  
Cite this article:

YU Xiao-yong, WEI Yan-ding, HUANG Mang-mang, ZHOU Xiao-jun, YANG Chen-long. Precise timing of HLA-based hardware-in-loop simulation for vehicles. J4, 2012, 46(7): 1195-1200.

URL:

http://www.zjujournals.com/eng/10.3785/j.issn.1008-973X.2012.07.007     OR     http://www.zjujournals.com/eng/Y2012/V46/I7/1195


基于HLA的车辆半实物仿真中精确定时方法

在基于高层体系结构(HLA)标准设计车辆半实物仿真平台的体系结构中,为了解决仿真中遇到的实时性问题,分析Windows中的各种精确定时技术.利用VC++编制的测试程序,结合DSP硬件和数字示波器分别对Windows中定时技术的定时精度进行测试.通过在基于HLA的管理者联邦成员中添加高精度定时器来实现仿真步长的控制,改善了基于HLA仿真系统实时性性能不足的问题,在仿真周期内没有出现数据包丢失和数据传输延迟的问题,保证了系统数据通讯的同步要求.

[1] 刘志国,刘太阳,王仕成,等. 基于实时网络的半实物仿真集成平台研究[J]. 系统仿真学报,2007,19(15): 3425-3427.
LIU Zhiguo, LIU Taiyang, WANG Shicheng, et al. Research on hardwareintheloop simulation integrated platform based on realtime network [J]. Journal of System Simulation, 2007, 19(15): 3425-3427.
[2] 康凤举,顾浩,吴宇,等. 基于HLA 的鱼雷武器系统仿真环境设计与实现[J]. 兵工学报,2007,28(3):382-384.
KANG Fengju, GU Hao, WU Yu, et al. Design and implementation of simulation environment for HLAcompliant torpedo weapon system [J]. Acta Armament ARII, 2007, 28(3): 382-384.
[3] 陈源龙,李东,马培军,等. 基于HLA半实物仿真平台体系结构的设计及实时性改善[J]. 南京航空航天大学学报,2010,42(4):531-536.
CHEN Yuanlong, LI Dong, MA Peijun, et al. Architecture design of HLAbased hardwareinloop simulation systems and research on improving performance in realtime [J]. Journal of Nanjing University of Aeronautics and Astronautics, 2010, 42(4): 531-536.
[4] 翟永翠,程健庆. 基于HLA的实时仿真研究[J]. 系统仿真学报,2004,16(9):1966-1969.
ZHAI Yongcui, CHEN Jianqing. Research of realtime simulation using HLA [J]. Journal of System Simulation, 2004, 16(9): 1966-1969.
[5] MARCO J T, BENJAMIN A N, PHILIP T K. Realtime lowlevel simulation of hybrid vehicle systems for hardwareintheloop applications [C]//5th IEEE Vehicle Power and Propulsion Conference. Dearborn: IEEE, 2009: 890-895.
[6] 刘亚东,李从心,王小新. 步进电机速度的精确控制[J]. 上海交通大学学报,2001,35(10):1517-1520.
LIU Yadong, LI Congxin, WANG Xiaoxin. 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 Zhanshe, MENG Yonggang, SU Caijun, 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 Yanzhong, CHAO Ainong. Precisiontime realization in flightsimulation system used for tacticsresearching [J]. Computer Engineering, 2005, 31(11): 188-189.
[9] 梁彦刚,唐国金,王锋. 基于HLA仿真系统的实时性改进策略研究[J]. 系统仿真学报,2005,17(2):361-363.
LIANG Yangang, TANG Guojin, WANG Feng. Research on strategy to improve realtime performance of HLAbased simulation system [J]. Journal of System Simulation, 2005, 17(2): 361-363.

[1] WANG Bei, LI Ji-tuo, LU Guo-dong. Spatial-trend-curve guided mesh stitching[J]. J4, 2013, 47(11): 2003-2009.
[2] TANG Fang, ZHOU Xiao-jun, WEI Yan-ding. A ruts visualization method for driving simulator[J]. J4, 2013, 47(6): 1031-1035.
[3] LUO Zhu-hui, WEI Yan-ding, ZHOU Xiao-jun, WEI Chun-yu. Research on variable input washout algorithm for
stewart platform vehicle simulator
[J]. J4, 2013, 47(2): 238-243.
[4] ZHAO Zhen,ZHANG Shu-you. Technique of breaking current solving of low-voltage molded
case circuit breaker based on multi-step regression
[J]. J4, 2012, 46(11): 1943-1952.
[5] LIU Ji, ZHU Qing-sheng, HUANG Xiao-feng, ZENG Ling-qiu, LI Song-yang. Plant growth simulation based on GPU[J]. J4, 2012, 46(10): 1803-1809.
[6] LI Qiang, LIU Shu-lian , YING Guang-yao, ZHENG Shui-ying. Numerical simulation for drop impact of PET bottle
considering fluid-structure interaction
[J]. J4, 2012, 46(6): 980-986.
[7] ZHAO Zhen, ZHANG Shu-you. Hybrid current model of breaking cycle and its application[J]. J4, 2012, 46(2): 301-308.
[8] ZHAO Zhen,ZHANG Shu-you. Study of the electromagnetic-dynamics interaction of the breaking
process of low-voltage molded case circuit breaker
[J]. J4, 2011, 45(11): 1913-1921.
[9] LIN Xiao-xia,ZHANG Shu-you,CHEN Jing,ZHAO Zhen. Time varying load course model for co-simulation of
multibody dynamics and finite element
[J]. J4, 2011, 45(9): 1643-1649.
[10] FANG Xi-wu, LIU Zhen-yu, TAN Jian-rong. Algorithm with hybrid method based for sphere packing in
two-dimensional region
[J]. J4, 2011, 45(4): 650-655.
[11] LI Chong-Shi, YAN Dan-Dan, SHU Shan-An, Bin He. [J]. J4, 2010, 44(3): 463-467.
[12] OU Hai-Yang, LI Xiao-Yu, FU Zhan-Beng. Nonlinear principal axis mapping method applied in design optimization[J]. J4, 2010, 44(1): 87-93.