Please wait a minute...
J4  2013, Vol. 47 Issue (6): 1031-1035    DOI: 10.3785/j.issn.1008-973X.2013.06.014
机械工程、能源工程     
驾驶模拟器中的一种车辙可视化方法
唐昉, 周晓军, 魏燕定
浙江大学,机械工程学系,浙江 杭州 310027
A ruts visualization method for driving simulator
TANG Fang, ZHOU Xiao-jun, WEI Yan-ding
Department of Mechanical Engineering, Zhejiang University, Hangzhou 310027, China
 全文: PDF  HTML
摘要:

为了增强驾驶模拟器视景仿真的逼真性,提出一种基于三角形带绘制车辙的实现方法.介绍车辙纹理格式并采用三角形带构成车辙面.根据新车辙面与车身相对位置的不变性,应用矩阵变换计算构成车辙面顶点数组的坐标.给出绘制车辙的步骤.通过平移顶点数组的方式连接新旧车辙面,修改顶点数组的顺序避免车辆倒退时车辙错乱.将该方法封装为f函数,提高绘制车辙时的重用性.采用Vega Prime建立驾驶模拟器视景仿真.仿真结果表明:当车辆直行、转弯、倒退时,调用2次f函数即可正确渲染出2条车辙,且车辙具有良好的视觉效果;修改顶点数组顺序后解决了车辙错乱问题;仿真平均刷新频率达到30 Hz以上.该方法不影响仿真实时性,满足视景仿真要求|能用于驾驶模拟器提高视觉逼真性.

Abstract:

A realization method of rendering ruts based on triangle strip was described in order to improve the fidelity of visual simulation in driving simulator. Ruts texture format was introduced and triangle strip was chosen to form ruts geometry. According to the relative position invariance between new ruts geometry and vehicle body, matrix transformation was used to calculate the ruts geometry vertex array coordinate. Then the ruts drawing process was presented. New and previous ruts geometries were connected by displacing ruts vertex array, and the vertex array sequence was modified to avoid ruts confusion when vehicle moved backward. This method was encapsulated as f function to improve the reusability of drawing ruts. Visual simulation of driving simulator was built with Vega Prime. The result indicated that using f function twice could correctly render two ruts, and satisfying visual view was presented when the vehicle was moving forward straightly, steering and backward. The problem of ruts confusion was solved after changing the vertex array sequence. Average simulation frame rate reached higher than 30 Hz. This method has no effect on the real time capability of simulation and meets the requirement of visual simulation, so it can be applied to driving simulator to improve the visual view fidelity.

出版日期: 2013-11-22
:  TP 391.9  
通讯作者: 魏燕定,男,教授,博导.     E-mail: weiyd@zju.edu.cn
作者简介: 唐昉(1985—),男,博士生,从事机电一体化、车辆半实物仿真等研究.E-mail: tangfang008@163.com
服务  
把本文推荐给朋友
加入引用管理器
E-mail Alert
RSS
作者相关文章  

引用本文:

唐昉, 周晓军, 魏燕定. 驾驶模拟器中的一种车辙可视化方法[J]. J4, 2013, 47(6): 1031-1035.

TANG Fang, ZHOU Xiao-jun, WEI Yan-ding. A ruts visualization method for driving simulator. J4, 2013, 47(6): 1031-1035.

链接本文:

http://www.zjujournals.com/eng/CN/10.3785/j.issn.1008-973X.2013.06.014        http://www.zjujournals.com/eng/CN/Y2013/V47/I6/1031

[1] KATZOURAKIS D I, ABBINK D A, HAPPEE R, et al. Steering force feedback for human machine interface automotive experiments[J]. IEEE Transactions on Instrumentation and Measurement, 2011, 60(1): 32-43.

[2] HIRATA T, YAI T, TAKAGAWA T. Development of the driving simulation system MOVIC-T4 and its validation using field driving data[J]. Tsinghua Science and Technology, 2007, 12(2): 141-150.

[3] HEYDINGER G J, SALAANI M K, GARROTT W R, et al. Vehicle dynamics modelling for the national advanced driving simulator[J]. Journal of Automobile Engineering, 2002, 216(D4): 307-318.

[4] PRESAGIS. Vega Prime Solutions[EB/OL]. http:∥www.presagis.com/solutions/military_ground_vehicle_simulation/. 2011.

[5] COSSALTER V, LOT R, MASSARO M, et al. Development and validation of an advanced motorcycle riding simulator[J]. Journal of Automobile Engineering, 2011, 225: 705-720.

[6] 黄争舸,陈建军,郑耀.基于不规则三角网的分块地形网格生成算法[J].浙江大学学报:工学版,2009,43(10): 1939-1944.

HUANG Zheng-ge, CHEN Jian-jun, ZHENG Yao. Triangulated irregular network based chunk gridding algorithm for terrain rendering[J]. Journal of Zhejiang University: Engineering Science, 2009,43(10): 1939-1944.

[7] 施松新,叶修梓,张三元,等.基于分块的大规模地形实时渲染方法[J].浙江大学学报:工学版,2007,41(12): 2002-2006.

SHI Song-xin, YE Xiu-zi, ZHANG San-yuan, et al. Partition based real-time rendering method for large-area terrain data[J]. Journal of Zhejiang University :Engineering Science, 2007,41(12): 2002-2006.

[8] 蔡兴泉,李凤霞,战守义.复杂战场环境中基于规则格网的动态地形的研究[J].系统仿真学报,2005,17(3): 650-652.

CAI Xing-quan, LI Feng-xia, ZHAN Shou-yi. Research of dynamic terrain based on regular triangles in complex battlefield environments[J]. Journal of System Simulation, 2005, 17(3): 650-652.

[9] 蔡兴泉,李凤霞,李立杰,等.基于三角带模板的车辙实时可视化方法[J].系统仿真学报,2006,18(10): 2843-2846.

CAI Xing-quan, LI Feng-xia, LI Li-jie, et al. Real-time visualization of ruts based on strip masks[J]. Journal of System Simulation, 2006,18(10): 2843-2846.

[10] 王乘,周均清,李利军.Creator可视化仿真建模技术[M].武汉:华中科技大学出版社,2005: 309-312.

[11] 张琪,付飞.OpenGL超级宝典[M].4版.北京:人民邮电出版社,2010: 69-75.

[12] 熊有伦.机器人技术基础[M].武汉:华中科技大学出版社,2010: 15-17.

[13] 费少梅,彭艳莹,陆国栋,等.基于粒子系统的湍流燃烧火焰的可视化研究[J].计算机辅助设计与图形学学报,2005,17(3): 461-466.

 FEI Shao-mei, PENG Yan-ying, LU Guo-don, et al. Visualization of turbulent combustion flame based on particle system[J]. Journal of Computer-Aided Design and Computer Graphics, 2005, 17(3): 461-466.

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