Please wait a minute...
J4  2012, Vol. 46 Issue (7): 1195-1200    DOI: 10.3785/j.issn.1008-973X.2012.07.007
机械与能源工程     
基于HLA的车辆半实物仿真中精确定时方法
余小勇,魏燕定,黄茫茫,周晓军,杨辰龙
浙江大学 流体动力与机电系统国家重点实验室,浙江 杭州 310027
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
 全文: PDF  HTML
摘要:

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

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.

出版日期: 2012-07-01
:  TP 391.9  
通讯作者: 魏燕定,男,教授.     E-mail: weiyd@zju.edu.cn
作者简介: 余小勇(1986- ),男,硕士生,从事车辆半实物仿真的研究. E-mai: gsyxyong@foxmail.com
服务  
把本文推荐给朋友
加入引用管理器
E-mail Alert
RSS
作者相关文章  

引用本文:

余小勇,魏燕定,黄茫茫,周晓军,杨辰龙. 基于HLA的车辆半实物仿真中精确定时方法[J]. J4, 2012, 46(7): 1195-1200.

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.

链接本文:

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

[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] 王贝,李基拓,陆国栋. 空间趋向曲线引导的网格曲面拼接[J]. J4, 2013, 47(11): 2003-2009.
[2] 唐昉, 周晓军, 魏燕定. 驾驶模拟器中的一种车辙可视化方法[J]. J4, 2013, 47(6): 1031-1035.
[3] 罗竹辉, 魏燕定, 周晓军, 魏春雨. 六自由度平台车辆运动模拟器变输入洗出算法[J]. J4, 2013, 47(2): 238-243.
[4] 赵振,张树有. 基于分步回归的低压断路器分断电流求解技术[J]. J4, 2012, 46(11): 1943-1952.
[5] 刘骥, 朱庆生, 黄晓凤, 曾令秋, 李松阳. 基于GPU的植物生长模拟[J]. J4, 2012, 46(10): 1803-1809.
[6] 李强, 刘淑莲, 应光耀, 郑水英. 考虑流固耦合作用的PET瓶跌落碰撞数值仿真[J]. J4, 2012, 46(6): 980-986.
[7] 赵振, 张树有. 全分断周期混合电流模型及其应用[J]. J4, 2012, 46(2): 301-308.
[8] 赵振,张树有. 低压断路器分断过程电磁-运动耦合问题求解[J]. J4, 2011, 45(11): 1913-1921.
[9] 林小夏,张树有,陈婧,赵振. 多体动力学与有限元联合仿真的时变载荷历程模型[J]. J4, 2011, 45(9): 1643-1649.
[10] 方锡武, 刘振宇, 谭建荣. 基于混合法的二维域颗粒堆积算法[J]. J4, 2011, 45(4): 650-655.
[11] 李重视, 闫丹丹, 朱善安, Bin He. 基于无网格有限元方法的心磁场计算仿真研究[J]. J4, 2010, 44(3): 463-467.
[12] 欧海英, 李晓宇, 付战平. 设计优化中的非线性主轴降维映射法[J]. J4, 2010, 44(1): 87-93.