系统仿真学报 ›› 2022, Vol. 34 ›› Issue (8): 1847-1854.doi: 10.16182/j.issn1004731x.joss.21-0300

• 仿真支撑平台/系统技术 • 上一篇    下一篇

基于CarSim的车辆动力学虚拟仿真系统开发

刘建磊(), 焦学健(), 王怀谦   

  1. 山东理工大学 交通与车辆工程学院,山东 淄博 255049
  • 收稿日期:2021-04-07 修回日期:2021-06-07 出版日期:2022-08-30 发布日期:2022-08-15
  • 通讯作者: 焦学健 E-mail:jianleiliu2018@163.com;jeosword@126.com
  • 作者简介:刘建磊(1996-),男,硕士生,研究方向为汽车系统动力学。E-mail:jianleiliu2018@163.com
  • 基金资助:
    国家自然科学基金(51975341)

Development of Vehicle Dynamics Virtual Simulation System Based on CarSim

Jianlei Liu(), Xuejian Jiao(), Huaiqian Wang   

  1. School of Transportation and Vehicle Engineering, Shandong University of Technology, Zibo 255049, China
  • Received:2021-04-07 Revised:2021-06-07 Online:2022-08-30 Published:2022-08-15
  • Contact: Xuejian Jiao E-mail:jianleiliu2018@163.com;jeosword@126.com

摘要:

为了解决实车实验因“高成本、高消耗、高危险性”而无法开展的问题,开发了一套基于CarSim的车辆动力学虚拟仿真系统。利用CarSim创建实时车辆模型;在Unity3D中搭建虚拟场景,并使用主动立体显示技术实现3D视觉效果;通过Fanatec赛车模拟方向盘和LabView采集驾驶员操作信息,在NI-Pxie8840控制器中求解车辆动力学模型以确保其运算的实时性;将解算数据通过六自由度运动平台反馈给驾驶员。结果表明:虚拟车辆可以遵循驾驶员的意图行驶,整套系统反应灵敏、操作环境安全、沉浸式感受较强、实验数据准确可靠,对汽车的设计研发具有一定意义。

关键词: 车辆动力学, CarSim, 模拟驾驶, 实时仿真, 六自由度平台, 硬件在环

Abstract:

Aiming at the "high cost, high consumption and high risk" of real vehicle test, a virtual simulation system of vehicle dynamics based on CarSim is developed. The real-time vehicle model is created by CarSim. A virtual scene is built in Unity3D, and an active stereoscopic display technology is used to realize the 3D visual effects. The driver's operation information is collected by simulating the steering wheel of Fanatec racing car and LabView, and the vehicle dynamics model is solved in NI-Pxie8840 controller to ensure the real-time operation. The calculated data is fed back to the driver through the six-degree-of-freedom motion platform. The results show that the virtual vehicle can follow the driver's intention, and the system has sensitive response, safe operating environment, better immersive feeling, accurate and reliable test data, which is conducive to the design and development of automobiles.

Key words: vehicle dynamics, carsim, driving simulation, real-time simulation, six-degree-of-freedom motion platform, hardware in the loop

中图分类号: