[go: up one dir, main page]

CN103413473B - Driving simulation system of underground mine hinged trolley - Google Patents

Driving simulation system of underground mine hinged trolley Download PDF

Info

Publication number
CN103413473B
CN103413473B CN201310368624.4A CN201310368624A CN103413473B CN 103413473 B CN103413473 B CN 103413473B CN 201310368624 A CN201310368624 A CN 201310368624A CN 103413473 B CN103413473 B CN 103413473B
Authority
CN
China
Prior art keywords
driving
theta
underground
gamma
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310368624.4A
Other languages
Chinese (zh)
Other versions
CN103413473A (en
Inventor
孟宇
刘立
豆风铅
刘雪伟
杨珏
靳添絮
金纯�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Science and Technology Beijing USTB
Original Assignee
University of Science and Technology Beijing USTB
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Science and Technology Beijing USTB filed Critical University of Science and Technology Beijing USTB
Priority to CN201310368624.4A priority Critical patent/CN103413473B/en
Publication of CN103413473A publication Critical patent/CN103413473A/en
Application granted granted Critical
Publication of CN103413473B publication Critical patent/CN103413473B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a driving simulation system of an underground mine hinged trolley. The driving simulation system comprises an underground mine hinged trolley movement control model, a visual data model, a scene simulation engine, a driving assisting unit, a sound simulation engine, a display terminal, an audio output terminal and a virtual driving unit. The underground driving process of the hinged trolley can be truly simulated through the establishment of the models, a driver carries out driving simulation through the virtual driving unit, an underground roadway environment and the underground mine hinged trolley can be simulated, and a good platform is provided for the intelligent control technology of the underground mine hinged trolley. According to the driving simulation system of the underground mine hinged trolley, a simulation driving operational platform is designed according to a true trolley, the driver can conveniently carry out driving operation, and the feeling of the driver can be true. The cost for carrying out testing through the true trolley is greatly reduced, and damage to the driver in the underground dangerous driving environment is effectively reduced.

Description

一种地下矿用铰接车的驾驶模拟系统A driving simulation system for an articulated vehicle used in underground mines

技术领域technical field

本发明涉及一种驾驶模拟系统,特别是一种地下矿用铰接车的驾驶模拟系统。The invention relates to a driving simulation system, in particular to a driving simulation system for an articulated vehicle used in underground mines.

背景技术Background technique

在地下采矿行业,无轨运输车辆的爬坡能力和运输效率远远高于有轨运输车辆,随着我国矿业水平的进步,采用无轨运输车辆已经成为地下矿山行业的发展趋势,提高地下车辆智能化控制水平是进一步提高矿山车辆运输效率的重要技术发展方向,但现今对车辆智能驾驶技术的研究一般要对真实车辆的改装或配置,在公路或特定环境中进行试验,现实因素是实车实验成本高,周期长并且危险性大,并且实验过程不可再现。使用车辆驾驶模拟在虚拟场景中进行车辆的进行智能化研究是一个新的研究方向,在虚拟的环境下对车辆的驾驶行为及相关因素进行预演,确保车辆能智能化的安全行驶。In the underground mining industry, the climbing ability and transportation efficiency of trackless transport vehicles are much higher than those of rail transport vehicles. With the progress of my country's mining industry, the use of trackless transport vehicles has become the development trend of the underground mining industry, improving the intelligence of underground vehicles The level of control is an important technical development direction to further improve the transportation efficiency of mine vehicles. However, the current research on vehicle intelligent driving technology generally requires the modification or configuration of real vehicles and tests on roads or specific environments. The real factor is the cost of real vehicle experiments. High, long cycle and high risk, and the experimental process is not reproducible. Using vehicle driving simulation to carry out intelligent research on vehicles in virtual scenes is a new research direction. In the virtual environment, the driving behavior and related factors of vehicles are rehearsed to ensure that vehicles can drive intelligently and safely.

现有技术中,驾驶模拟系统也较多,文献1【《基于OGRE和ODE的驾驶模拟系统的设计与实现》】(交通信息与安全,2006,1(24):101)报道了一种基于OGRE和ODE的驾驶模拟系统设计方法,通过OGRE来渲染出车辆的驾驶环境,以ODE为工具结合汽车动力学模型模拟车辆运动,实现了一个可通过外围输入设备操作的交互式驾驶模拟系统,主要用于汽车驾驶员的驾驶训练。中国实用新型专利ZL201220293043.X,公开了一种新型模拟驾驶系统,通过驾驶控制器控制模拟车辆行驶,通过动感平台使驾驶员感觉到路面状况,通过模拟视频眼镜呈现模拟驾驶环境,该系统主要用于车辆驾驶员的培训。In the prior art, there are many driving simulation systems. Document 1 ["Design and Implementation of Driving Simulation System Based on OGRE and ODE"] (Traffic Information and Safety, 2006, 1 (24): 101) reported a driving simulation system based on The driving simulation system design method of OGRE and ODE uses OGRE to render the driving environment of the vehicle, uses ODE as a tool combined with the vehicle dynamics model to simulate vehicle movement, and realizes an interactive driving simulation system that can be operated through peripheral input devices. Driving training for car drivers. Chinese utility model patent ZL201220293043.X discloses a new type of simulated driving system, which controls the simulated vehicle driving through the driving controller, makes the driver feel the road conditions through the dynamic platform, and presents the simulated driving environment through the simulated video glasses. The system mainly uses in the training of vehicle drivers.

上述现有驾驶模拟系统的特点是,仅能模拟地面环境下的车辆行驶环境,不能模拟地下矿用车辆工作的巷道环境;仅能模拟刚性车体的乘用车辆,不能模拟铰接式车体的地下矿用车辆;仅能用于驾驶员的训练与培训,无法加入辅助驾驶单元,不具备验证自主行驶策略的功能。The above-mentioned existing driving simulation system is characterized in that it can only simulate the vehicle driving environment in the ground environment, and cannot simulate the roadway environment in which underground mining vehicles work; Underground mining vehicles; it can only be used for driver training and training, and cannot be added to the assisted driving unit, and does not have the function of verifying autonomous driving strategies.

发明内容Contents of the invention

本发明涉及一种地下矿用铰接车的驾驶模拟系统,带有辅助驾驶单元,能够模拟地下巷道环境和地下矿用铰接车的驾驶模拟系统,为地下矿用铰接车智能控制技术提供良好的平台。其包括:The invention relates to a driving simulation system for an articulated car for underground mines, which is provided with an auxiliary driving unit, capable of simulating the environment of an underground roadway and the driving simulation system for an articulated car for underground mines, and provides a good platform for the intelligent control technology of an articulated car for underground mines . It includes:

(1)虚拟驾驶单元包括虚拟驾驶操作台、方向盘、作业手柄、加速踏板、制动踏板、显示屏及音响等,这些设备构成系统的操控机构。(1) The virtual driving unit includes virtual driving console, steering wheel, operating handle, accelerator pedal, brake pedal, display screen and audio, etc. These devices constitute the control mechanism of the system.

(2)地下铰接车运动控制模型,可视化数据模型,视景仿真引擎,辅助驾驶单元,地下铰接车声音仿真,虚拟驾驶单元,这些模型的建立能够真实模拟铰接车在地下的行驶过程,驾驶员通过外虚拟驾驶单元来进行驾驶模拟。(2) Underground articulated vehicle motion control model, visualized data model, visual simulation engine, auxiliary driving unit, underground articulated vehicle sound simulation, and virtual driving unit. The establishment of these models can truly simulate the driving process of an articulated vehicle underground. Driving simulation is carried out through the external virtual driving unit.

(3)车辆的动力学模型是系统中很关键的部分,根据铰接式车辆的特点,建立了三自由度的动力学及运动学模型。动力学模型直接使用设备输入的数据,通过实时计算得到车辆的发动机转速和位置姿态等数据。(3) The dynamics model of the vehicle is a key part of the system. According to the characteristics of the articulated vehicle, a three-degree-of-freedom dynamics and kinematics model is established. The dynamic model directly uses the data input by the equipment, and obtains the engine speed, position and attitude of the vehicle through real-time calculation.

(4)可视化数据模型包括铰接车的三维模型、地下巷道的三维模型及交通标识等。(4) Visual data models include 3D models of articulated vehicles, 3D models of underground roadways and traffic signs, etc.

(5)视景仿真引擎,利用计算机图形图像技术生成车辆驾驶过程中驾驶员所看到的地下虚拟环境,如巷道,交通标识及灯光等。(5) Visual simulation engine, using computer graphics and image technology to generate the underground virtual environment seen by the driver during vehicle driving, such as roadways, traffic signs and lights.

(6)辅助驾驶单元,能够在虚拟环境中进行地下铰接车的智能辅助驾驶,通过光线投射技术在系统中按照真实激光雷达的工作原理添加虚拟激光雷达,通过虚拟激光雷达可以测量出车辆与巷道壁及障碍物的距离。通过相应的辅助驾驶策略,当车辆行驶时出现与巷道壁距离过近或巷道中有异物出现等危险驾驶情况的时候系统会发出警告。(6) Assisted driving unit, which can carry out intelligent assisted driving of underground articulated vehicles in a virtual environment, and add virtual laser radar to the system according to the working principle of real laser radar through ray projection technology, and measure vehicles and roadways through virtual laser radar distance from walls and obstacles. Through the corresponding assisted driving strategy, the system will issue a warning when the vehicle is driving too close to the roadway wall or there are foreign objects in the roadway and other dangerous driving situations.

(7)地下声音仿真引擎,制造不同效果的声音如发动机声,巷道内作业机械噪声等。(7) Underground sound simulation engine, which produces sounds with different effects such as engine sound, noise of operating machinery in the roadway, etc.

本系统应用开源声音引擎,为了使声音效果更逼真,系统使用立体声音效。This system uses an open source sound engine. In order to make the sound effect more realistic, the system uses stereo sound effect.

本系统中使用简化的车辆动力学及运动控制模型,并作离散化处理,在计算机图形渲染的两帧之间CPU空闲时间进行车辆运动控制的相关计算,运动控制模型采用如下步骤建立:In this system, the simplified vehicle dynamics and motion control model is used, and discretization is performed, and the relevant calculation of vehicle motion control is performed during the CPU idle time between two frames of computer graphics rendering. The motion control model is established by the following steps:

设矿车中央铰接点设为H点,前桥中点为Pf(x1,y1),该点与中央铰接点H的距离为l1,车速为vf;后桥中点为Pr(x2,y2)点,该点与中央铰接点的距离为l2,车速为vr,前车体横摆角速度为ω1,转向半径为r1,后车体横摆角速度为ω2,转向半径为r2,前车体的航向角为θ1,后车体的航向角为θ2,铰接角为γ,设前桥中点位姿状态向量St=[x1(t)y1(t)θ1(t)]T代表前车体在t时刻的位置及航向角,则t+1时刻的前桥位姿状态向量St+1=[x1(t+1)y1(t+1)θt+1)]T,用非线性离散模型来表示为Set the central hinge point of the mine car as point H, the middle point of the front axle is Pf(x1,y1), the distance between this point and the central hinge point H is l1, and the vehicle speed is vf; the middle point of the rear axle is Pr(x2,y2) point, the distance between this point and the central hinge point is l2, the vehicle speed is vr, the yaw rate of the front body is ω1, the turning radius is r1, the yaw rate of the rear body is ω2, the turning radius is r2, the heading of the front body angle is θ1, the heading angle of the rear body is θ2, and the articulation angle is γ. Let the midpoint pose state vector S t =[x 1 (t)y 1 (t)θ 1 ( t )] of the front axle The position and heading angle of the car body at time t, then the front axle pose state vector S t+1 at time t+1 =[x 1 (t+1)y 1 (t+1)θ 1 t+1)] T , expressed as

SS tt ++ 11 == SS tt ++ TT sthe s coscos θθ 11 (( tt )) 00 sinsin θθ 11 (( tt )) 00 -- sinsin γγ (( tt )) ll 11 coscos γγ (( tt )) ++ ll 22 -- ll 22 ll 11 coscos γγ (( tt )) ++ ll 22 vv ff (( tt )) γγ ·&Center Dot; 11 (( tt )) ,,

当前仿真时刻前车体的速度为vf(t),铰接角转动速率为上次仿真到本次仿真的时间间隔为Ts,得出前车体的角速度为 The speed of the car body before the current simulation moment is vf(t), and the rotation rate of the joint angle is The time interval from the last simulation to this simulation is Ts, and the angular velocity of the front car body is obtained as

式中—铰接角转动速率In the formula — Articulation angle rotation rate

γ · t = γt - γt - 1 T s γ &Center Dot; t = γt - γt - 1 T the s ,

前车体的航向角等于上一时刻航向角加上本次仿真的增量The heading angle of the front body is equal to the heading angle at the previous moment plus the increment of this simulation

θ1t=θ1t-1+ω1(t)Tsθ 1 t=θ 1 t-1+ω 1 (t)T s ,

后车体的航向角等于前车体航向角与铰接角之和The heading angle of the rear body is equal to the sum of the heading angle of the front body and the articulation angle

θ2t=θ1+γt,θ 2 t = θ 1 + γ t,

由前车体行驶速度和航向角得出车辆前桥中点在t时刻的世界坐标为:The world coordinates of the midpoint of the front axle of the vehicle at time t are obtained from the driving speed and heading angle of the front vehicle body as follows:

xx 11 tt == xx 11 tt -- 11 ++ [[ vv ff tt -- 11 coscos θθ 11 tt -- 11 ++ vv ff tt coscos θθ 11 tt ]] TT sthe s // 22 ythe y 11 tt == ythe y 11 tt -- 11 ++ [[ vv ff tt -- 11 sinsin θθ 11 tt -- 11 ++ vv ff tt sinsin θθ 11 tt ]] TT sthe s // 22

根据几何关系,求得t时刻后桥中点坐标According to the geometric relationship, the coordinates of the midpoint of the bridge after time t are obtained

xx 22 tt == xx 11 tt -- ll 22 coscos θθ 22 (( tt )) ++ ll 11 coscos θθ 11 (( tt )) ythe y 22 tt == ythe y 11 tt -- ll 22 sinsin θθ 22 (( tt )) ++ ll 11 sinsin θθ 11 (( tt ))

货箱的举升是匀速的,由货箱的控制参数求得ω3的值,从而得到举升角度θ3,控制输入量C值为0时货箱下降,当C值为1时货箱举升,货箱的举升角度范围为0至60度,货箱的举升或降落速度为:The lifting of the cargo box is at a uniform speed. The value of ω3 is obtained from the control parameters of the cargo box, so as to obtain the lifting angle θ3. When the value of the control input C is 0, the cargo box is lowered, and when the value of C is 1, the cargo box is lifted. , the lifting angle of the cargo box ranges from 0 to 60 degrees, and the lifting or lowering speed of the cargo box is:

ωω 33 tt == 6060 TT sthe s TT uu (( CC == 11 )) 6060 TT sthe s TT dd (( CC == 00 )) ,,

在t时刻货箱的举升角度为:The lifting angle of the container at time t is:

θθ 33 (( tt )) == θθ 33 tt -- 11 ++ ωω 33 (( tt )) TT sthe s (( CC == 11 )) θθ 33 tt -- 11 -- ωω 33 (( tt )) TT sthe s (( CC == 00 ))

本发明和现有技术相比所具有的有益效果在于Compared with the prior art, the present invention has the beneficial effects of

(1)本发明对照实车设计了模拟驾驶操作台,便于驾驶员进行驾驶操作,使驾驶员的感受更加真实。(1) Compared with the real vehicle, the present invention designs a simulated driving console, which is convenient for the driver to perform driving operations and makes the driver feel more real.

(2)本发明针对地下矿用铰接车建立了车辆运动学和动力学模型,能够真实模拟铰接车体的行驶。(2) The present invention establishes vehicle kinematics and dynamics models for the articulated vehicle used in underground mines, which can truly simulate the driving of the articulated vehicle body.

(3)本发明能够真实模拟出地下巷道环境,为地下车辆的驾驶模拟提供了环境支持。(3) The present invention can truly simulate the underground roadway environment, and provides environmental support for driving simulation of underground vehicles.

(4)本发明有辅助驾驶单元,能够模拟智能车辆的驾驶,为地下矿车智能控制技术研究提供良好的平台。(4) The invention has an auxiliary driving unit, which can simulate the driving of intelligent vehicles, and provides a good platform for the research on intelligent control technology of underground mining vehicles.

(5)本发明能大大降低用真车来进行实验的成本,有效减少地下危险驾驶环境下对驾驶员的危害。(5) The present invention can greatly reduce the cost of using a real car to conduct experiments, and effectively reduce the harm to the driver in an underground dangerous driving environment.

附图说明Description of drawings

图1为虚拟驾驶单元示意图。Figure 1 is a schematic diagram of a virtual driving unit.

图2为铰接车体转向图。Figure 2 is a steering diagram of the articulated car body.

图3为数据交互图。Figure 3 is a data interaction diagram.

图4车辆坐标系图。Figure 4 Vehicle coordinate system diagram.

图5为车辆三维模型图。Figure 5 is a three-dimensional model diagram of the vehicle.

图6为巷道整体结构图。Figure 6 is the overall structure diagram of the roadway.

图7为巷道内部贴图。Figure 7 is the interior map of the roadway.

图8为图形仿真引擎启动流程图。Fig. 8 is a flow chart of starting the graphics simulation engine.

图9为驾驶模拟系统的场景图。Fig. 9 is a scene diagram of the driving simulation system.

图10为摄像机视截体图。Figure 10 is a cutaway view of the camera.

图11为驾驶模拟系统第一人称及第三人称视角图。Fig. 11 is a first-person and third-person view of the driving simulation system.

图12为帧监听器类的结构图。Figure 12 is a structural diagram of the frame listener class.

图13为激光雷达扫描范围。Figure 13 shows the scanning range of lidar.

图14为虚拟激光雷达测试图。Figure 14 is a virtual lidar test diagram.

图15为车辆靠近巷道左侧扫描图。Figure 15 is a scan diagram of the left side of the vehicle approaching the roadway.

图16为车辆靠近巷道左侧扫描虚拟激光雷达扫描数据图。Fig. 16 is a diagram of the scanning data of the virtual lidar scanned by the vehicle close to the left side of the roadway.

图17为车辆靠近巷道右侧扫描虚拟激光雷达扫描数据图。Fig. 17 is a diagram of the scanning data of the virtual lidar scanned by the vehicle close to the right side of the roadway.

图18危险驾驶行为提示。Figure 18 Tips for dangerous driving behavior.

具体实施方式detailed description

1)以下结合附图和实施例,对本发明的具体实施方式作进一步详细描述。1) The specific implementation of the present invention will be further described in detail below in conjunction with the accompanying drawings and examples.

2)地下矿用铰接车驾驶模拟系统包括地下矿用铰接车运动控制模型,可视化数据模型,视景仿真引擎,辅助驾驶单元,声音仿真引擎,显示终端,音频输出终端及虚拟驾驶单元,这些模型的建立能够真实模拟铰接车在地下的行驶过程,驾驶员通过虚拟驾驶单元来进行驾驶模拟。2) The driving simulation system of articulated vehicles for underground mining includes motion control models of articulated vehicles for underground mining, visual data models, visual simulation engines, auxiliary driving units, sound simulation engines, display terminals, audio output terminals and virtual driving units. The establishment of the system can truly simulate the driving process of the articulated vehicle underground, and the driver can simulate driving through the virtual driving unit.

3)本地下矿车驾驶模拟系统的硬件设备由虚拟驾驶操作台、高性能计算机、显示终端及音频输出终端等构成。3) The hardware equipment of the local mining car driving simulation system consists of a virtual driving console, a high-performance computer, a display terminal and an audio output terminal.

4)虚拟驾驶操作台包括显示终端支架和驾驶台,显示终端支架用于支撑三块显示屏,驾驶员通过三块显示屏能全方位感受图像化的地下巷道的驾驶环境和铰接车的行驶状态。驾驶台按照实车的结构尺寸设计制作,包括驾驶员座椅、方向盘、作业手柄、加速踏板及制动踏板,驾驶员能在上面进行和实车相同的驾驶操作,如附图1所示。4) The virtual driving console includes a display terminal bracket and a driving console. The display terminal bracket is used to support three display screens. The driver can fully experience the graphical driving environment of the underground roadway and the driving state of the articulated vehicle through the three display screens. . The driving platform is designed and manufactured according to the structural size of the real vehicle, including the driver's seat, steering wheel, operating handle, accelerator pedal and brake pedal, on which the driver can perform the same driving operations as the real vehicle, as shown in Figure 1.

5)地下矿车驾驶模拟系统中,方向盘装有旋转编码器,输出脉冲信号,用来记录其转过的角度;加速踏板和制动踏板输出模拟电压信号,根据踏板的行程输出相应数值的电压信号,来控制加减速的大小;作业手柄输出数字电压信号,用来控制铰接车货箱的举升和下降。这些信号通过计算机主机的PCI-IO卡收集后传递给运动控制模型,运动控制模型根据当前的车辆状态及输入数据计算出车辆的下一步位置及姿态数据,将这些数据传递给视景仿真系统,由视景仿真系统完成渲染和输出,驾驶员通过显示终端和音频输出终端来直观感受车辆的行驶状态。5) In the underground mine car driving simulation system, the steering wheel is equipped with a rotary encoder, which outputs pulse signals to record the angle it has turned; the accelerator pedal and brake pedal output analog voltage signals, and output the corresponding value of voltage according to the stroke of the pedals signal to control the acceleration and deceleration; the work handle outputs a digital voltage signal to control the lifting and lowering of the articulated vehicle container. These signals are collected by the PCI-IO card of the host computer and transmitted to the motion control model. The motion control model calculates the next position and attitude data of the vehicle according to the current vehicle state and input data, and transmits these data to the visual simulation system. The rendering and output are completed by the visual simulation system, and the driver can intuitively feel the driving state of the vehicle through the display terminal and audio output terminal.

6)高性能计算机要求能快速处理三维图形及动力学计算,计算机显卡支持三屏显示,以达到全方位显示的目的,音频输出终端为音箱,与计算机相联,实时输出声音仿真引擎制造的各种声音。6) High-performance computers are required to be able to quickly process 3D graphics and dynamic calculations. The computer graphics card supports three-screen display to achieve the purpose of all-round display. sound.

7)驾驶模拟系统中的车辆动力学及运动学模型不能直接使用微分方程的形式,因为计算机解微分方程会占用大量的CPU时间,进而影响系统的响应速度。所以本系统中使用简化的车辆动力学及运动学模型,并作离散化处理,在计算机图形渲染的两帧之间CPU空闲时间进行车辆运动控制的相关计算。7) The vehicle dynamics and kinematics models in the driving simulation system cannot directly use the form of differential equations, because the computer will take up a lot of CPU time to solve the differential equations, which will affect the response speed of the system. Therefore, the simplified vehicle dynamics and kinematics model is used in this system, and it is discretized, and the relevant calculation of vehicle motion control is performed during the CPU idle time between two frames of computer graphics rendering.

8)地下矿车驾驶模拟系统中,运动控制模型直接接收系统采集的操控机构的数据xin,经过运动控制模型的计算输出相应的运动学参数xf、xr和xd给视景仿真系统。系统数据流见附图2。8) In the underground mine car driving simulation system, the motion control model directly receives the data xin of the control mechanism collected by the system, and outputs the corresponding kinematic parameters xf, xr, and xd to the visual simulation system through the calculation of the motion control model. See Figure 2 for system data flow.

9)本系统中用到的操控机构的输入控制数据可以表示为 x in = [ φ a , φ b , θ , θ · , C , G ] T , 9) The input control data of the control mechanism used in this system can be expressed as x in = [ φ a , φ b , θ , θ &Center Dot; , C , G ] T ,

10)式中,φa、φb——加速踏板及制动踏板位置10) In the formula, φ a , φ b —— accelerator pedal and brake pedal position

11)θ、——方向盘转角及转动速率11) θ, ——Steering wheel angle and turning rate

12)C——货箱举升控制,C=0,112) C——Container lifting control, C=0, 1

13)G——挡位,G=1,2,313) G——Gear, G=1, 2, 3

14)图形引擎中的坐标系为与SAE标准坐标系不同,OGRE中坐标系以屏幕为参考,水平向右为X轴正方向,垂直向上为Y轴正方向,垂直于屏幕向外为Z轴正方向,见附图3。14) The coordinate system in the graphics engine is different from the SAE standard coordinate system. The coordinate system in OGRE takes the screen as a reference. The horizontal direction to the right is the positive direction of the X-axis, the vertical direction is the positive direction of the Y-axis, and the vertical direction to the outside of the screen is the Z-axis For the positive direction, see Figure 3.

15)以OGRE中的坐标系为基准建立模型坐标系,驾驶模拟系统采用三自由度模型,既不考虑车辆的侧倾和俯仰动作,只有横摆转动,并且假设车辆在垂直方向没有平动。15) The model coordinate system is established based on the coordinate system in OGRE. The driving simulation system adopts a three-degree-of-freedom model, which does not consider the vehicle's roll and pitch movements, only yaw rotation, and assumes that the vehicle has no translation in the vertical direction.

16)将模型分为前车体、后车架、货箱及车轮等几个部分分别处理,前后车架的运动学控制参数xf和xr可分别表示为 x f = [ θ 1 , ω 1 , ω · 1 , v fx , v fz , a fx , a fz ] T , x r = [ θ 2 , ω 2 , ω · 2 v rx , v rz , a rx , a rz ] T , 16) Divide the model into several parts, such as the front body, rear frame, cargo box and wheels, and process them separately. The kinematic control parameters xf and xr of the front and rear frames can be expressed as x f = [ θ 1 , ω 1 , ω &Center Dot; 1 , v fx , v fz , a fx , a fz ] T , x r = [ θ 2 , ω 2 , ω &Center Dot; 2 v r x , v rz , a r x , a rz ] T ,

17)式中θ1、θ2——前车体及后车体的横摆角17) In the formula, θ 1 and θ 2 ——the yaw angles of the front body and the rear body

18)ω1、ω2——前车体及后车体的横摆角速度18) ω 1 , ω 2 ——the yaw rate of the front body and the rear body

19)——前车体及后车体的横摆角加速度19) ——The yaw angular acceleration of the front body and the rear body

20)vfx、vfz——前车体前桥中点位置的横向和纵向速度20) v fx , v fz —— the lateral and longitudinal velocity of the midpoint of the front axle of the front body

21)vrx、vrz——后车体后桥中点位置的横向和纵向速度21) v rx , v rz —— the lateral and longitudinal velocity of the midpoint of the rear axle of the rear body

22)afx、afz——前车体前桥中点位置的横向和纵向加速度22) a fx , a fz - lateral and longitudinal accelerations at the midpoint of the front axle of the front body

23)arx、arz——后车体后桥中点位置的横向和纵向速度23) a rx , a rz —— the lateral and longitudinal speeds of the midpoint of the rear axle of the rear body

24)货箱与后车架通过铰链连接,则货箱的运动学参数与后车架基本相同,只是增加了绕Z轴的角自由度,则货箱的运动学控制参数为 x d = [ θ 2 , θ 3 , ω 2 , ω 3 , ω · 2 , v rx , v rz , a rz , a rz ] T 24) The cargo box and the rear frame are connected by hinges, so the kinematic parameters of the cargo box are basically the same as those of the rear frame, except that the angular freedom around the Z axis is added, then the kinematic control parameters of the cargo box are x d = [ θ 2 , θ 3 , ω 2 , ω 3 , ω &Center Dot; 2 , v r x , v rz , a rz , a rz ] T

25)式中θ3、ω3——货箱举升角度及角速度25) where θ 3 , ω 3 —— the lifting angle and angular velocity of the container

26)在系统中,三维图形的渲染消耗了大部分的CPU时间,动力学计算要在渲染两帧图像的间隙进行。为了使模拟效果尽可能接近于真实,同时又兼具实时性,针对铰接式车辆的动力学特性进行简化,建立在世界坐标下的非线性离散化三自由度(3-DOF)模型。26) In the system, the rendering of 3D graphics consumes most of the CPU time, and the dynamic calculation should be performed between rendering two frames of images. In order to make the simulation effect as close as possible to reality and real-time, the dynamic characteristics of the articulated vehicle were simplified, and a nonlinear discretized three-degree-of-freedom (3-DOF) model was established in world coordinates.

27)本实施例中的铰接车动力学模型以某35吨电传动铰接式自卸车建立。27) The dynamic model of the articulated vehicle in this embodiment is established with a 35-ton electric drive articulated dump truck.

28)车辆行驶过程中速度的数学模型为am=Ft-Ff-Fi-Fw 28) The mathematical model of the vehicle speed during driving is am=F t -F f -F i -F w

29)式中,m——整车质量29) In the formula, m——whole vehicle mass

30)a——车辆行驶加速度30) a——vehicle driving acceleration

31)Ft——车辆驱动力31) Ft - vehicle driving force

32)Ff——车辆滚动阻力32) Ff - vehicle rolling resistance

33)Fi——坡度阻力33) Fi - slope resistance

34)Fw——车辆所受空气阻力34) Fw - the air resistance of the vehicle

35)该车辆设计最高时速为25Km/h,空气阻力Fw可以忽略。由于推导的是车辆在二维平面上的模型,故忽略坡度阻力Fi。汽车在行驶过程中还要考虑制动力Fb所产生的影响,综上所述,汽车行驶速度模型为ma=Ft-Ff-Fb 35) The maximum speed of the vehicle is designed to be 25Km/h, and the air resistance Fw can be ignored. Since the model of the vehicle on the two-dimensional plane is derived, the slope resistance Fi is ignored. The impact of the braking force Fb should also be considered during the running of the car. To sum up, the driving speed model of the car is ma=F t -F f -F b

36)发动机模型使用三次多项式拟合的方式得到稳态转矩与转速之间的关系为36) The engine model uses the cubic polynomial fitting method to obtain the relationship between the steady-state torque and the rotational speed as

37)Me=a0+a1ne+a2ne 2+a3ne 3 37) M e =a 0 +a 1 n e +a 2 n e 2 +a 3 n e 3

38)式中ai——拟合系数,i=0,1,2,338) where ai——fitting coefficient, i=0, 1, 2, 3

39)Me——发动机转矩39) Me - engine torque

40)ne——发动机转速40) ne - engine speed

41)发动机转矩与牵引力之间的关系可以表示为 41) The relationship between engine torque and traction force can be expressed as

42)式中i0——主传动比42) In the formula, i 0 ——Main transmission ratio

43)ig——变速器传动比43) i g —— transmission ratio

44)Rw——车轮半径44) R w - wheel radius

45)ηT——传动系机械效率45) η T —— mechanical efficiency of drive train

46)假设制动踏板的行程与制动力之间的关系为线性的 46) Assume that the relationship between the travel of the brake pedal and the braking force is linear

47)式中φb——制动踏板行程;φbmax——制动踏板最大行程47) where φ b ——brake pedal stroke; φ bmax ——brake pedal maximum stroke

48)Fc——最大制动力48) Fc - maximum braking force

49)于是车辆在t时刻的加速度可以求得为 49) Then the acceleration of the vehicle at time t can be obtained as

50)假设车辆的加速度在两次仿真内保持不变,可求得车辆在t时刻行驶速度为50) Assuming that the acceleration of the vehicle remains unchanged in the two simulations, the vehicle speed at time t can be obtained as

Vt=Vt-1+atTs Vt=Vt-1+atT s

51)式中Ts——两次仿真计算时间差值51) In the formula, Ts——time difference between two simulation calculations

52)铰接车的运动学模型建立如下,如附图4所示,设矿车中央铰接点设为H点,前桥中点为Pf(x1,y1),该点与中央铰接点H的距离为l1,车速为vf;后桥中点为Pr(x2,y2)点,该点与中央铰接点的距离为l2,车速为vr。52) The kinematics model of the articulated car is established as follows, as shown in Figure 4, the central hinge point of the mine car is set as point H, the middle point of the front axle is Pf(x1, y1), the distance between this point and the central hinge point H is l1, the vehicle speed is vf; the middle point of the rear axle is Pr(x2,y2), the distance between this point and the central hinge point is l2, and the vehicle speed is vr.

53)前车体横摆角速度为ω1,转向半径为r1,后车体横摆角速度为ω2,转向半径为r2。前车体的航向角为θ1,后车体的航向角为θ2,铰接角为γ。设前桥中点位姿状态向量St=[x1(t)y1(t)θ1(t)T,代表前车体在t时刻的位置及航向角。则t+1时刻的前桥位姿状态向量St+1=[x1(t+1)y1(t+1)θ1(t+1)]r,可以用非线性离散模型来表示为53) The yaw angular velocity of the front body is ω1, the turning radius is r1, the yaw angular velocity of the rear body is ω2, and the turning radius is r2. The heading angle of the front body is θ1, the heading angle of the rear body is θ2, and the hinge angle is γ. Let the pose state vector S t =[x 1 (t)y 1 (t)θ 1 (t) T , represent the position and heading angle of the front vehicle body at time t. Then the front axle pose state vector S t+1 =[x 1 (t+1)y 1 (t+1)θ 1 (t+1)] r at time t+1 can be represented by a nonlinear discrete model for

SS tt ++ 11 == SS tt ++ TT sthe s coscos θθ 11 (( tt )) 00 sinsin θθ 11 (( tt )) 00 -- sinsin γγ (( tt )) ll 11 coscos γγ (( tt )) ++ ll 22 -- ll 22 ll 11 coscos γγ (( tt )) ++ ll 22 vv ff (( tt )) γγ ·· 11 (( tt )) ,,

54)当前仿真时刻前车体的速度为vf(t),铰接角转动速率为,上次仿真到本次仿真的时间间隔为Ts,可得前车体的角速度为 54) The speed of the car body before the current simulation moment is vf(t), and the rotation rate of the joint angle is , the time interval from the last simulation to this simulation is Ts, the angular velocity of the front car body can be obtained as

55)式中——铰接角转动速率55) where ——Rotation rate of hinge angle

56) γ · t = γt - γt - 1 T s 56) γ · t = γt - γt - 1 T the s

57)前车体的航向角等于上一时刻航向角加上本次仿真的增量(θ1t=θ1,t-1+ω1(t)Ts,57) The heading angle of the front body is equal to the heading angle at the previous moment plus the increment of this simulation (θ 1 t=θ 1 ,t-1+ω 1 (t)T s ,

58)后车体的航向角等于前车体航向角与铰接角之和θ2t=θ1t+γt,58) The heading angle of the rear body is equal to the sum of the heading angle of the front body and the articulation angle θ 2 t=θ 1 t+γt,

59)由前车体行驶速度和航向角可以得出车辆前桥中点在t时刻的世界坐标为59) The world coordinates of the midpoint of the front axle of the vehicle at time t can be obtained from the driving speed and heading angle of the front car body as

xx 11 tt == xx 11 tt -- 11 ++ [[ vv ff tt -- 11 coscos θθ 11 tt -- 11 ++ vv ff tt coscos θθ 11 tt ]] TT sthe s // 22 ythe y 11 tt == ythe y 11 tt -- 11 ++ [[ vv ff tt -- 11 sinsin θθ 11 tt -- 11 ++ vv ff tt sinsin θθ 11 tt ]] TT sthe s // 22 ,,

60)根据几何关系,可以求得t时刻后桥中点坐标60) According to the geometric relationship, the coordinates of the middle point of the bridge after time t can be obtained

xx 22 tt == xx 11 tt -- ll 22 coscos θθ 22 (( tt )) ++ ll 11 coscos θθ 11 (( tt )) ythe y 22 tt == ythe y 11 tt -- ll 22 sinsin θθ 22 (( tt )) ++ ll 11 sinsin θθ 11 (( tt ))

61)货箱的举升认为是匀速的,则货箱的控制参数xd中需要求得ω3的值从而得到举升角度θ3。控制输入量C值为0时货箱下降,当C值为1时货箱举升。货箱的举升角度范围为0至60度,货箱举升时间为Tu=10.5s,货箱下降时间为Td=11.2s,则货箱的举升或降落速度为: 61) The lifting of the container is considered to be at a constant speed, so the value of ω3 needs to be obtained from the control parameter xd of the container to obtain the lifting angle θ3. When the value of the control input C is 0, the container is lowered, and when the value of C is 1, the container is lifted. The lifting angle range of the cargo box is 0 to 60 degrees, the lifting time of the cargo box is Tu=10.5s, and the descending time of the cargo box is Td=11.2s, then the lifting or lowering speed of the cargo box is:

62)于是在t时刻货箱的举升角度为: 62) Then the lifting angle of the container at time t is:

63)铰接车的运动控制模型建好后,开始建立可视化数据模型。63) After the motion control model of the articulated vehicle is built, start to build the visual data model.

64)实施例中的车辆模型采用SolidWorks建立,巷道模型采用Google SketchUp建立的,图形引擎为GORE,声音引擎为FMOD。64) The vehicle model in the embodiment is established by SolidWorks, the roadway model is established by Google SketchUp, the graphics engine is GORE, and the sound engine is FMOD.

65)为了简化模型并同时将模型导出,使用三维模型减面工具Polygon Cruncher来简化模型,以得更好的程序运行效率。65) In order to simplify the model and export the model at the same time, use the 3D model surface reduction tool Polygon Cruncher to simplify the model for better program operation efficiency.

66)为了能够灵活的控制地下矿车,本文将车辆的三维模型拆分为前车体、后车架、货箱及车轮四部分,其中四个车轮共用同一个模型。由于模型导入后没有任何的纹理贴图信息,所以还要在SketchUp中为模型添加相应的贴图材质,如驾驶舱玻璃,车体黄色油漆及轮胎材质。铰接车三维模型见附图5。66) In order to be able to flexibly control the underground mining vehicle, this paper splits the three-dimensional model of the vehicle into four parts: the front body, the rear frame, the cargo box and the wheels, and the four wheels share the same model. Since the model does not have any texture map information after importing, it is necessary to add corresponding map materials to the model in SketchUp, such as cockpit glass, car body yellow paint and tire materials. The three-dimensional model of the articulated vehicle is shown in Figure 5.

67)巷道的三维模型直接使用SketchUp来建模,建模时采用先画巷道截面,之后采用路径跟随拉伸的方式建立巷道模型。模型建立好后使用岩石材质作为贴图覆盖整个巷道内壁,模型见附图6、7。67) The 3D model of the roadway is directly modeled with SketchUp. When modeling, the roadway section is first drawn, and then the roadway model is established by path following stretching. After the model is established, the rock material is used as a map to cover the entire inner wall of the roadway. The model is shown in Figures 6 and 7.

68)可视化数据模型建立好后,开始用OGRE图形引擎来进行图形渲染。68) After the visual data model is established, start to use the OGRE graphics engine for graphics rendering.

69)图形引擎启动流程见附图8,定义了渲染系统的所有设置,包括如分辨率、色彩深度、是否全屏显示,使用DirectX还是OPENGL进行底层渲染等等。69) The graphics engine startup process is shown in Figure 8, which defines all the settings of the rendering system, including resolution, color depth, whether to display in full screen, whether to use DirectX or OPENGL for underlying rendering, and so on.

70)接下来是创建具体的渲染系统,然后创建场景管理器,负责管理场景中的模型。创建视点,用来完成车辆驾驶视角的变换,实现第一人称视角驾驶及第三人称视角驾驶。创建输入监听器用来监听输入的数据。创建帧监听器,把帧监听器加入根文件,然后通过每帧的渲染队列方法来进行各种运算及逻辑控制。70) The next step is to create the specific rendering system, and then create the scene manager, which is responsible for managing the models in the scene. Create a viewpoint to complete the transformation of the vehicle's driving perspective, and realize driving from a first-person perspective and a third-person perspective. Create an input listener to monitor incoming data. Create a frame listener, add the frame listener to the root file, and then perform various operations and logic control through the rendering queue method of each frame.

71)OGRE图形引擎以场景图形式来管理场景中所有可渲染的物体。OGRE由场景管理器类统一管理场景图。71) The OGRE graphics engine manages all renderable objects in the scene in the form of a scene graph. OGRE manages the scene graph uniformly by the scene manager class.

72)附图9展示了驾驶模拟系统的场景图结构,场景管理器直接挂载在OGRE系统的根节点上,场景管理器下面分别挂载了,静态物体节点、前车体节点、后车架节点、货箱节点、车轮节点及摄像机。静态物体节点下面挂载标志牌和障碍物等静态实体;前车体节点挂载前车身实体及前车头灯光;后车架节点挂载后车架实体;货箱节点挂载货箱实体;车轮节点挂载车轮实体。72) Attachment 9 shows the scene graph structure of the driving simulation system. The scene manager is directly mounted on the root node of the OGRE system, and the scene manager is respectively mounted under the static object node, the front body node, and the rear frame nodes, container nodes, wheel nodes and cameras. Static entities such as signs and obstacles are mounted under the static object node; the front body node mounts the front body entity and front headlights; the rear frame node mounts the rear frame entity; the container node mounts the container entity; The node mounts the wheel entity.

73)摄像机作为一个特殊的节点也被挂载到了场景管理器上,摄像机的主要工作是截取虚拟场景中的一部分图形来完成渲染。摄像机除朝向外还有两个重要参数,近截取距离和远截取距离,两个距离分别决定了近截面及远截面距观察点的距离,通过两个截面构成一个六面的视截体,也就是说虚拟场景中并不是所有的元素都会被渲染,而是通过摄像机的视截体(见附图10)来决定,只有在视截体中的元素才会被渲染。73) The camera is also mounted on the scene manager as a special node. The main job of the camera is to intercept a part of the graphics in the virtual scene to complete the rendering. In addition to the orientation of the camera, there are two important parameters, the near interception distance and the far interception distance. The two distances respectively determine the distance between the near section and the far section from the observation point. A six-sided viewing volume is formed by two sections. That is to say, not all elements in the virtual scene will be rendered, but determined by the camera's view frustum (see Figure 10), and only the elements in the view frustum will be rendered.

74)OGRE采用Frustum类来模拟人眼的视觉效果,在接口上按照用户的使用习惯,方便用户转换模型坐标,而在内部实现中,通过图形学的矩阵换算,完成人体视觉和计算机视觉之间的数学转换,达到一个比较好的过渡作用。74) OGRE uses the Frustum class to simulate the visual effect of the human eye. On the interface, according to the user's usage habits, it is convenient for the user to convert the model coordinates. In the internal implementation, the conversion between human vision and computer vision is completed through the matrix conversion of graphics. Mathematical conversion to achieve a better transition effect.

75)驾驶模拟器的运动控制方式完全按照实际车辆的控制方式进行,摄像机观察点与车辆的位置绑定在一起,所以操作摄像机视点的运动相需根据车辆的实时状态来进行操纵。对车辆的运动控制,是基于动力学和运动学模型进行实时计算得出的位置及姿态结果。计算机中仿真是基于离散时间点的,两次循环之间的时间间隔很小,假设在这段时间内物体的受力情况不变。在车辆的位置姿态更新后获取相关的数据,然后通过更新摄像机的位置及朝向参数来完成摄像机的跟随效果。75) The motion control method of the driving simulator is completely in accordance with the control method of the actual vehicle. The camera observation point is bound to the position of the vehicle, so the movement phase of the operation camera viewpoint needs to be manipulated according to the real-time state of the vehicle. The motion control of the vehicle is based on the position and attitude results obtained by real-time calculations based on dynamics and kinematics models. The simulation in the computer is based on discrete time points, and the time interval between two cycles is very small, assuming that the force on the object does not change during this time. After the position and attitude of the vehicle is updated, the relevant data is obtained, and then the following effect of the camera is completed by updating the position and orientation parameters of the camera.

76)如附图11车辆在正常驾驶时需要使用第一人称视角来运行,也就是以正常驾驶员的视角,从驾驶室中向前看,而作为第三方监视时,可以使用第三人称视角,从车外后上方向车辆行驶方向监视。76) As shown in Figure 11, the vehicle needs to use the first-person perspective to operate during normal driving, that is, look forward from the driver's cab from the perspective of a normal driver, and when used as a third-party surveillance, it can use the third-person perspective to view Monitor the driving direction of the vehicle at the rear and upper direction outside the vehicle.

77)为了实现以前车体为参考点的视角跟随,在每一次动力学模型计算后,开始计算摄像机的跟随位置。77) In order to realize the perspective following with the previous car body as the reference point, after each calculation of the dynamic model, start to calculate the following position of the camera.

78)获得的前车体节点的坐标是模型的几何中心,所以通过一个固定距离的平移可以获得摄像机应跟随点的位置。根据本系统中模型的大小,若要使观察点位于驾驶室内需要向Z轴负方向移动1个单位距离,向X轴正方向移动1.2个单位距离,向Y轴正方向移动1.2个单位距离。在第一人称视角模式下可以在观察点的位置直接前移一定距离。第三人称视角的与第一人称视角类似。78) The coordinates of the obtained front car body node are the geometric center of the model, so the position of the point where the camera should follow can be obtained by a fixed distance translation. According to the size of the model in this system, if the observation point is located in the cab, it needs to move 1 unit distance to the negative direction of the Z axis, 1.2 unit distance to the positive direction of the X axis, and 1.2 unit distance to the positive direction of the Y axis. In the first-person view mode, you can directly move forward a certain distance at the position of the observation point. Third-person perspective is similar to first-person perspective.

79)动力学计算与OGRE融合,OGRE系统以类库的形式提供给用户,使用OGRE需要根据实际需求编写程序。OGRE开始时首先加载配置文件,设置资源路径,之后分别创建场景管理器、摄像机及视口。之后要在OGRE的主循环中注册帧监听器,实施例中了继承OGRE的帧监听器类实现此功能。79) Dynamic calculation is integrated with OGRE. The OGRE system is provided to users in the form of a class library. Using OGRE requires programming according to actual needs. At the beginning of OGRE, the configuration file is first loaded, the resource path is set, and then the scene manager, camera and viewport are created respectively. Then register the frame listener in the main loop of OGRE, and the embodiment implements this function by inheriting the frame listener class from OGRE.

80)帧监听器提供了处理帧渲染前(FrameStarted)帧渲染中(FrameRenderingQueued)及帧渲染后(FrameEnded)的事件的方法,调用渲染前事件处理方法后,OGRE开始更新所有渲染目标,由于渲染主要由CPU来完成,这时的CPU并没有充分利用,而车辆的动力学以及运动学运算(DynamicSimulation)需要由CPU来完成,于是将动力学及运动学的相关计算都放在紧随其后执行的帧渲染中处理方法内运行。80) The frame listener provides methods for processing events before frame rendering (FrameStarted), frame rendering (FrameRenderingQueued) and frame rendering (FrameEnded). After calling the pre-rendering event processing method, OGRE starts to update all rendering targets. It is completed by the CPU. At this time, the CPU is not fully utilized, and the dynamics and kinematics calculations (DynamicSimulation) of the vehicle need to be completed by the CPU, so the calculations related to dynamics and kinematics are performed immediately after Run within the handler method of the frame renderer.

81)OGRE没有提供读取外设的接口,本系统使用OIS读取输入数据。首先在OGRE的帧监听器中创建OIS设备管理器,将OIS设定为非缓冲输入模式。之后通过UnbufferedInput来处理输入数据,将其转换为动力学仿真所需的数据格式。OGRE的帧监听器提供了帧事件实体来存放与帧事件有关的时间信息,其中包括帧时间间隔,该数据就是动力学计算中用的时间间隔到Ts,附图12表示了帧监听器类的结构。81) OGRE does not provide an interface for reading peripherals. This system uses OIS to read input data. First create an OIS device manager in OGRE's frame listener, and set OIS to non-buffered input mode. Afterwards, the input data is processed through UnbufferedInput and converted into the data format required for dynamic simulation. The frame listener of OGRE provides the frame event entity to store the time information related to the frame event, including the frame time interval. This data is the time interval to Ts used in dynamic calculation. Attached figure 12 shows the frame listener class structure.

82)声音仿真引擎用来制造不同效果的声音如发动机声和巷道内作业机械噪声等。声音播放需要相应的事件来触发,而且本系统中使用了FMOD的3D音效来实现声音的3D效果,通过事件来更新音源位置。82) The sound simulation engine is used to create sounds with different effects such as engine sound and operating machinery noise in the roadway. The sound playback needs to be triggered by corresponding events, and the 3D sound effect of FMOD is used in this system to realize the 3D effect of the sound, and the position of the sound source is updated through the event.

83)辅助驾驶单元,能够在虚拟环境中进行地下铰接车的智能辅助驾驶,通过光线投射技术在系统中按照真实激光雷达的工作原理添加虚拟激光雷达,通过虚拟激光雷达可以测量出车辆与巷道壁及障碍物的距离,见附图13,通过相应的辅助驾驶策略,当车辆行驶时出现与巷道壁距离过近或巷道中有异物出现等危险驾驶情况的时候系统会发出警告。83) Assisted driving unit, which can carry out intelligent assisted driving of underground articulated vehicles in a virtual environment, and add virtual laser radar to the system according to the working principle of real laser radar through ray projection technology, and can measure vehicles and roadway walls through virtual laser radar and the distance of obstacles, see Figure 13. Through the corresponding assisted driving strategy, the system will issue a warning when the vehicle is too close to the roadway wall or there are foreign objects in the roadway when dangerous driving conditions occur.

84)光线投射是从空间中某点向设定好方向上发出一条射线,当射线与场景中的物体相交时返回物体的名称及射线与该物体的AABB包围盒交点的坐标。只有与包围盒的坐标无法满足要求,虚拟激光雷达要精确到能够测量与模型网格三角面的交点。于是要提取出模型的顶点及索引数据,之后遍历所有三角面与射线是否有交点从而得到距离最近的一个交点。84) Ray casting is to send a ray from a certain point in space to a set direction. When the ray intersects with an object in the scene, it returns the name of the object and the coordinates of the intersection point of the ray and the AABB bounding box of the object. Only the coordinates with the bounding box cannot meet the requirements, and the virtual lidar must be accurate enough to measure the intersection with the triangle surface of the model mesh. Therefore, it is necessary to extract the vertices and index data of the model, and then traverse all triangle faces and rays to see if there is an intersection point to obtain the nearest intersection point.

85)采用光线投影技术模拟激光雷达,首先利用OGRE建立一个光线投射,并设定该光线的起点及投射方向。光线的起点被设定在由前桥中点向X轴正向平移3.2m,如图13中扇形的圆心位置。光线投射在XZ平面上,方向由-5°至185°扫描。每次扫描首先判断是否有物体与光线相交,如果有相交的物体,提取该物体的顶点及顶点索引数据,遍历所有的面片是否与光线相交,并求出最近的交点。85) Using ray projection technology to simulate lidar, first use OGRE to create a ray projection, and set the starting point and projection direction of the ray. The starting point of the light is set at a positive translation of 3.2m from the midpoint of the front axle to the X-axis, as shown in the center of the sector in Figure 13. The light is projected on the XZ plane, and the direction is scanned from -5° to 185°. Each scan first judges whether there is an object intersecting with the ray, if there is an intersecting object, extract the vertex and vertex index data of the object, traverse all the facets whether intersecting with the ray, and find the nearest intersection point.

86)图14、15为驾驶模拟系统虚拟激光雷达动态数据采集效果图,虚拟激光雷达扫描精度定为1°,扫描频率为25Hz,扫描范围从-5°至185°,从车辆的右侧开始扫描到左侧结束,将虚拟激光可视化处理,从激光发出点到检测到的交点绘制一条白色线段。86) Figures 14 and 15 are the virtual lidar dynamic data acquisition renderings of the driving simulation system. The scanning accuracy of the virtual lidar is set at 1°, the scanning frequency is 25Hz, and the scanning range is from -5° to 185°, starting from the right side of the vehicle Scan to the left end, visualize the virtual laser, and draw a white line segment from the laser emission point to the detected intersection point.

87)将实验得到的数据以扫描角度为横轴,距离为纵轴可以得到图16、17。从图16中可以看出,扫描角度车辆在-5°到75°之间距离数值较小,从而可以判断车辆靠右行驶,图17与图16相反,在110°至185°之间距离数值较小,从而可以判断车辆靠左行驶。87) Taking the data obtained from the experiment as the horizontal axis with the scanning angle and the vertical axis with the distance, you can get Figures 16 and 17. It can be seen from Figure 16 that the distance between -5° and 75° is small, so it can be judged that the vehicle is driving on the right. Figure 17 is the opposite of Figure 16, and the distance is between 110° and 185° Smaller, so it can be judged that the vehicle is driving on the left.

88)辅助驾驶单元有危险驾驶预警功能。当虚拟激光雷达在任意方向上检测到有距离小于1.5m的障碍时系统会给出警示。如图18所示,当车辆距离右侧巷道过近,距离不足1.5m时,系统会在右上角提示司机“警告:距离右侧不足1.5m”。同样的情况,如果车辆距离左侧巷道过近,距离不足1.5m时,系统会在右上角提示司机“警告:距离左侧不足1.5m”。88) The auxiliary driving unit has a dangerous driving warning function. When the virtual lidar detects an obstacle with a distance less than 1.5m in any direction, the system will give a warning. As shown in Figure 18, when the vehicle is too close to the roadway on the right and the distance is less than 1.5m, the system will prompt the driver "Warning: the distance to the right is less than 1.5m" in the upper right corner. In the same situation, if the vehicle is too close to the roadway on the left and the distance is less than 1.5m, the system will prompt the driver "Warning: less than 1.5m to the left" in the upper right corner.

89)以上所述仅是本发明优选实施方式,应当指出,对于本技术领域的普通技术员来说,在不脱离本发明技术原理的前提下,还可以做出若干改进和变型,这些改进和变型也应该视为本发明的保护范围。89) The above is only the preferred implementation mode of the present invention. It should be pointed out that for those skilled in the art, without departing from the technical principles of the present invention, several improvements and modifications can be made. These improvements and modifications It should also be regarded as the protection scope of the present invention.

Claims (4)

1. a driving analog system for [underground articulator, is characterized in that, this system comprises: [underground articulator Motion Controlling Model, visual data model, vision simulation engine, auxiliary driving unit, sound simulation engine, virtual driving unit;
Described auxiliary driving unit can carry out the auxiliary driving of intelligence of underground articulator in virtual environment, add virtual laser radar according to the principle of work of actual laser radar in systems in which by ray cast technology, the distance of vehicle and wall and barrier can be measured by virtual laser radar; Described virtual driving unit comprises virtual driving operator's console, bearing circle, operation handle, accelerator pedal, brake pedal, display screen and sound equipment; Wherein, [underground articulator Motion Controlling Model adopts following steps to set up:
If mine car central pivot point is set to H point, propons mid point is Pf (x1, y1), and the distance of propons mid point and central pivot point H is l1, and the speed of a motor vehicle is vf; Back axle mid point is Pr (x2, y2) point, the distance of back axle mid point and central pivot point is l2, and the speed of a motor vehicle is vr, front vehicle body yaw velocity is ω 1, turning radius is r1, and aftercarriage yaw velocity is ω 2, and turning radius is r2, the course angle of front vehicle body is θ 1, the course angle of aftercarriage is θ 2, and splice angle is γ, if propons mid point position and posture vector s t=[x 1(t) y 1(t) θ 1(t)] trepresent front vehicle body in the position of t and course angle, then the propons position and posture vector S in t+1 moment t+1=[x 1(t+1) y 1(t+1) θ 1(t+1), tbe expressed as with nonlinear discrete model
S t + 1 = S t + T s cos θ 1 ( t ) 0 sin θ 1 ( t ) 0 - sin γ ( t ) l 1 cos γ ( t ) + l 2 - l 2 l 1 cos γ ( t ) + l 2 v f ( t ) γ · 1 ( t )
The speed of current emulation moment front vehicle body is vf (t), and splice angle slewing rate is the time interval emulating this emulation last time is Ts, show that the angular velocity of front vehicle body is ω 1 t = - sin γt v f t - l 2 γ · t l 1 cos γ ( t ) + l 2 ,
In formula ---splice angle slewing rate
γ · t = γt - γt - 1 T s ,
The course angle of front vehicle body equals a moment course angle and adds this increment emulated
θ 1t=θ 1t-1+ω 1(t)T s
The course angle of aftercarriage equals front vehicle body course angle and splice angle sum
θ 2t=θ 1t+γT,
Show that vehicle propons mid point at the world coordinates of t is by front vehicle body travel speed and course angle:
x 1 t = x 1 t - 1 + [ v f t - 1 cos θ 1 t - 1 + v f t cos θ 1 t ] T s / 2 y 1 t = y 1 t - 1 + [ v f t - 1 sin θ 1 t - 1 + v f t sin θ 1 t ] T s / 2 ,
According to geometric relationship, try to achieve point coordinate in t back axle
x 2 t = x 1 t - l 2 cos θ 2 ( t ) + l 1 cos θ 1 ( t ) y 2 t = y 1 t - l 2 sin θ 2 ( t ) + l 1 sin θ 1 ( t )
The lifting of container is at the uniform velocity, is tried to achieve the value of ω 3 by the controling parameters of container, thus obtains lifting angle θ 3, when control inputs amount C value is 0, container declines, the packing case lifting when C value is 1, the lifting angle scope of container is 0 to 60 degree, and the lifting of container or sinking speed are:
ω 3 t = 60 T s T u ( C = 1 ) 60 T s T d ( C = 0 ) ,
At the lifting angle of t container be:
θ 3 ( t ) = θ 3 t - 1 + ω 3 ( t ) T s ( C = 1 ) θ 3 t - 1 - ω 3 ( t ) T s ( C = 0 ) .
2. system according to claim 1, is characterized in that, visual data model comprises the three-dimensional model of articulator, the three-dimensional model of underground passage and traffic mark.
3. system according to claim 1, is characterized in that, described vision simulation engine utilizes computer graphic image technology to generate the underground virtual environment that in vehicle operation, driver sees.
4. system according to claim 1, is characterized in that, described sound simulation engine can manufacture the sound of different-effect.
CN201310368624.4A 2013-08-22 2013-08-22 Driving simulation system of underground mine hinged trolley Active CN103413473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310368624.4A CN103413473B (en) 2013-08-22 2013-08-22 Driving simulation system of underground mine hinged trolley

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310368624.4A CN103413473B (en) 2013-08-22 2013-08-22 Driving simulation system of underground mine hinged trolley

Publications (2)

Publication Number Publication Date
CN103413473A CN103413473A (en) 2013-11-27
CN103413473B true CN103413473B (en) 2015-03-11

Family

ID=49606478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310368624.4A Active CN103413473B (en) 2013-08-22 2013-08-22 Driving simulation system of underground mine hinged trolley

Country Status (1)

Country Link
CN (1) CN103413473B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2758096C1 (en) * 2020-12-21 2021-10-26 Федеральное государственное бюджетное образовательное учреждение высшего образования "Саратовский государственный аграрный университет имени Н.И. Вавилова" Training simulator of an agricultural machine

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927926A (en) * 2014-01-02 2014-07-16 河南理工大学 Virtual and practical operation device for belt conveyer for coal mines
CN105894889B (en) * 2016-05-09 2018-06-12 合肥工业大学 A kind of multidimensional adjustable automobile handling maneuver simulation and the what comes into a driver's control method of test system
CN106652645A (en) * 2017-03-16 2017-05-10 百度在线网络技术(北京)有限公司 Vehicle driving training device, as well as operation method and device of vehicle driving training device
CN108694869A (en) * 2017-04-11 2018-10-23 江苏宏昌工程机械有限公司 The engineering machinery training analog system of multichannel virtual environment sensing
CN106872994B (en) * 2017-04-14 2019-09-20 北京佳讯飞鸿电气股份有限公司 A kind of laser radar scanning method and device
CN107966693B (en) * 2017-12-05 2021-08-13 成都合纵连横数字科技有限公司 Vehicle-mounted laser radar simulation method based on depth rendering
CN109670266B (en) * 2018-12-29 2023-04-18 青岛慧拓智能机器有限公司 Method for creating mining vehicle dynamics model
CN111045425B (en) * 2019-12-05 2023-04-28 中国北方车辆研究所 Auxiliary teleoperation driving method for ground unmanned vehicle
TWI824174B (en) * 2020-08-28 2023-12-01 曾芷凡 Simulated motorcycle license examination teaching method and system and simulated motorcycle license examination method and system
CN112650241B (en) * 2020-12-22 2021-11-23 中南大学 Transverse optimization control method and system for intelligent heading machine
CN112987699B (en) * 2021-04-27 2022-08-30 北京踏歌智行科技有限公司 Long-range emergent takeover system of mining truck based on stack formula new line shows
CN114093218B (en) * 2021-11-08 2022-07-26 中国农业大学 A kind of multifunctional tractor driving simulation method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200983210Y (en) * 2006-11-06 2007-11-28 李宏 Grab driving simulation training device
CN101201983A (en) * 2006-12-15 2008-06-18 中国神华能源股份有限公司 Train simulation drive system
CN101763761A (en) * 2008-11-14 2010-06-30 北京宣爱智能模拟技术有限公司 Virtual driving scene generating method, device and motor vehicle driving teaching system
CN101958063A (en) * 2010-09-28 2011-01-26 中国民航大学 Fire engine driving training system for airport
US8412499B2 (en) * 2002-04-05 2013-04-02 Konstantin Sizov Portable in-the-vehicle road simulator

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8412499B2 (en) * 2002-04-05 2013-04-02 Konstantin Sizov Portable in-the-vehicle road simulator
CN200983210Y (en) * 2006-11-06 2007-11-28 李宏 Grab driving simulation training device
CN101201983A (en) * 2006-12-15 2008-06-18 中国神华能源股份有限公司 Train simulation drive system
CN101763761A (en) * 2008-11-14 2010-06-30 北京宣爱智能模拟技术有限公司 Virtual driving scene generating method, device and motor vehicle driving teaching system
CN101958063A (en) * 2010-09-28 2011-01-26 中国民航大学 Fire engine driving training system for airport

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2758096C1 (en) * 2020-12-21 2021-10-26 Федеральное государственное бюджетное образовательное учреждение высшего образования "Саратовский государственный аграрный университет имени Н.И. Вавилова" Training simulator of an agricultural machine

Also Published As

Publication number Publication date
CN103413473A (en) 2013-11-27

Similar Documents

Publication Publication Date Title
CN103413473B (en) Driving simulation system of underground mine hinged trolley
CN105718065B (en) Interactive inspection analogue system under bus or train route cooperative surroundings
CN108803607B (en) Multifunctional simulation system for automatic driving
US10445442B2 (en) System and method for game theory-based design of robotic systems
CN101530329B (en) Semi-physical driving fatigue vision simulation system platform
CN111665738A (en) In-loop simulation system and information processing method and device thereof
Ni et al. Design of highly realistic virtual environment for excavator simulator
CN105096688A (en) Driving simulation control system based on BIM simulation environment
CN109726480A (en) A kind of system for verifying unmanned mine card related algorithm
CN102306216A (en) Multi-rule simulation test system of lunar vehicle
CN112818463B (en) A Multimodal Land-Air Amphibious Vehicle Platform Simulation System
Yu et al. Multi-agent based modeling and simulation of microscopic traffic in virtual reality system
US9189885B2 (en) Visual presentation system
CN103050027B (en) Driving simulator with stereoscopic vision
CN105068857A (en) Driving behavior data acquisition method based on high fidelity driving simulator
CN113962019A (en) Intelligent driving automobile safety protection system based on virtual reality technology
Jaiswal et al. Real-time multibody model-based heads-up display unit of a tractor
CN105894889A (en) Multi-dimensional adjustable automobile steering operation simulation and test system and visual control method thereof
CN202352127U (en) Three-dimensional automobile driving training simulator
CN118504203A (en) Three-dimensional simulation platform and simulation method for intelligent algorithm verification of unmanned platform
Chen et al. NADS at the University of IOWA: A tool for driving safety research
CN114969092A (en) Driving simulation system based on unreal engine and simulation experiment method
Tang et al. Real-time display method for mining vehicle simulation based on virtual reality
Ambrož et al. System for interactive scientific driving simulation with haptic information
JP4388064B2 (en) Tunnel image drawing method, tunnel image drawing program, and tunnel image drawing apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant