[go: up one dir, main page]

CN114692520B - A multi-scenario unmanned boat virtual simulation test platform and test method - Google Patents

A multi-scenario unmanned boat virtual simulation test platform and test method Download PDF

Info

Publication number
CN114692520B
CN114692520B CN202210207939.XA CN202210207939A CN114692520B CN 114692520 B CN114692520 B CN 114692520B CN 202210207939 A CN202210207939 A CN 202210207939A CN 114692520 B CN114692520 B CN 114692520B
Authority
CN
China
Prior art keywords
unmanned boat
test
virtual
motion
unmanned
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
CN202210207939.XA
Other languages
Chinese (zh)
Other versions
CN114692520A (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.)
South China University of Technology SCUT
Original Assignee
South China University of Technology SCUT
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 South China University of Technology SCUT filed Critical South China University of Technology SCUT
Priority to CN202210207939.XA priority Critical patent/CN114692520B/en
Publication of CN114692520A publication Critical patent/CN114692520A/en
Application granted granted Critical
Publication of CN114692520B publication Critical patent/CN114692520B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/28Design optimisation, verification or simulation using fluid dynamics, e.g. using Navier-Stokes equations or computational fluid dynamics [CFD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/08Fluids
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/14Force analysis or force optimisation, e.g. static or dynamic forces

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Fluid Mechanics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Computing Systems (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Algebra (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a multi-scene-oriented unmanned ship virtual simulation test platform and a multi-scene-oriented unmanned ship virtual simulation test method, wherein the multi-scene-oriented unmanned ship virtual simulation test platform comprises a marine environment simulation module, a test evaluation module, a dynamics simulation module, a sensor simulation module and an autonomous navigation interaction module; the testing method comprises the steps of setting sea state grades and testing items; generating a tested ocean test scene and a related scene, and arranging a tested virtual unmanned ship in the scene; the virtual sensor acquires sensing information and inputs the information into a control terminal of the actual unmanned ship; the control terminal analyzes the sensing data to obtain a control instruction, and transmits the control instruction back to the virtual test platform to realize navigation control of the virtual unmanned ship; after the sailing is finished, the sailing data are recorded, and an evaluation result is generated. The unmanned ship autonomous navigation performance test method can effectively improve the unmanned ship autonomous navigation performance test effect, reduce the test time and reduce the test cost.

Description

一种面向多场景的无人艇虚拟仿真测试平台及测试方法A multi-scenario unmanned boat virtual simulation test platform and test method

技术领域Technical field

本发明涉及无人驾驶技术领域,具体涉及一种面向多场景的无人艇虚拟仿真测试平台及测试方法。The invention relates to the field of unmanned driving technology, and in particular to a multi-scene oriented unmanned boat virtual simulation test platform and a test method.

背景技术Background technique

水面无人艇在商业、科学和军事应用中发挥着越来越大的作用,目前已广泛应用于海上巡逻、环境监测、水下测绘和海洋研究中。自主航行系统在正式部署运行之前需要经过大量的训练与验证,来确保产品的稳定性。实船试验虽然能真实反映无人艇的各项性能,但是需要耗费的人力物力过高,一般是作为开发流程最后一步的验证手段。为了提高测试效率和降低测试成本,在实际测试之前采用虚拟仿真的测试手段是开发中的必要流程。Surface unmanned vehicles are playing an increasing role in commercial, scientific and military applications and are now widely used in maritime patrol, environmental monitoring, underwater mapping and ocean research. Autonomous navigation systems require extensive training and verification before formal deployment and operation to ensure product stability. Although real-ship testing can truly reflect the performance of unmanned boats, it requires too much manpower and material resources and is generally used as a verification method in the last step of the development process. In order to improve testing efficiency and reduce testing costs, using virtual simulation testing methods before actual testing is a necessary process in development.

然而不同于其它的无人系统,海洋环境本身的复杂多变,极大的增加了构建无人艇虚拟测试场的难度。现有的无人艇的虚拟测试场主要存在两个方面的缺点:一方面现有的无人艇的虚拟测试场一般采取陆上无人装备的测试方法,仅从二维平面上模拟运动,很少考虑海洋环境对无人艇的影响,这与实际复杂的航行情况相距甚远。而从流体动力学理论出发,采用数值方法求解流场的方法,虽然能够更好的反映实际的海浪,得到较为准备的计算结果,但是计算量过大,单个测试项目可能需要几天的计算时间,这与快速低成本测试的初衷相悖。另一方面,测试项目相对单一且简单。现有的测试平台往往只支持对无人艇的某一个方面的性能检测,检测独立且单一,不具有整体性。无人艇作为一种自主航行载具,从硬件基础到控制算法,再到图像识别、路径规划算法等都需要进行测试。若是分块进行检测,则忽略了系统的整体性。同时测试项目过于简单,无法实现无人艇在各种场景下的性能测试。However, unlike other unmanned systems, the complexity and changeability of the ocean environment itself greatly increases the difficulty of building a virtual test site for unmanned boats. The existing virtual test fields for unmanned boats mainly have two shortcomings: on the one hand, the existing virtual test fields for unmanned boats generally adopt the testing method of unmanned equipment on land and only simulate motion on a two-dimensional plane. The impact of the marine environment on unmanned vehicles is rarely considered, which is far from the actual complex navigation situation. Starting from the theory of fluid dynamics and using numerical methods to solve the flow field, although it can better reflect the actual waves and obtain more prepared calculation results, the calculation amount is too large, and a single test project may require several days of calculation time. , which goes against the original intention of rapid and low-cost testing. On the other hand, test items are relatively single and simple. Existing test platforms often only support performance testing of a certain aspect of the unmanned boat, and the testing is independent and single, not holistic. As an autonomous navigation vehicle, unmanned boats need to be tested from hardware foundation to control algorithms, to image recognition, path planning algorithms, etc. If detection is performed in blocks, the integrity of the system is ignored. At the same time, the test items are too simple and cannot be used to test the performance of unmanned boats in various scenarios.

发明内容Contents of the invention

为了克服现有技术存在的缺点与不足,本发明提供一种面向多场景的无人艇虚拟仿真测试平台及测试方法。本发明为了解决现有无人艇性能测试存在的问题,设计了一种面向多场景的无人艇虚拟仿真测试平台,实现对无人艇在海浪环境下,多场景,多项目,整体化的性能测试。发明能有效提高无人艇自主航行性能测试效果,减小测试时间,降低测试成本。In order to overcome the shortcomings and deficiencies of the existing technology, the present invention provides a multi-scenario unmanned boat virtual simulation test platform and a test method. In order to solve the problems existing in the performance testing of existing unmanned boats, the present invention designs a multi-scenario virtual simulation test platform for unmanned boats to realize the integrated testing of unmanned boats in wave environments, multiple scenarios, and multiple projects. Performance Testing. The invention can effectively improve the autonomous navigation performance test results of unmanned boats, reduce test time and reduce test costs.

本发明采用如下技术方案:The present invention adopts the following technical solutions:

一种面向多场景的无人艇虚拟仿真测试平台,包括海洋环境仿真模块、测试评价模块、动力学仿真模块、传感器模拟模块及自主航行交互模块;A multi-scenario unmanned boat virtual simulation test platform, including a marine environment simulation module, a test evaluation module, a dynamics simulation module, a sensor simulation module and an autonomous navigation interaction module;

所述海洋环境仿真模块:用于结合描述波浪形状的Gerstner波和根据实际海浪测量结果得到Bretschneider双参数谱,构建波浪场景,进一步根据海况参数、测试环境参数及光照参数完成场景特征的确定,生成海洋测试场景;The marine environment simulation module is used to combine the Gerstner wave describing the wave shape and the Bretschneider dual parameter spectrum obtained according to the actual wave measurement results to construct a wave scene, and further determine the scene characteristics based on the sea state parameters, test environment parameters and lighting parameters, and generate Ocean test scenario;

所述测试评价模块:保存每次测试项目结束后的无人艇航行数据,根据测试项目的评价标准对无人艇的自主航行性能做出评价;The test evaluation module: saves the navigation data of the unmanned boat after the end of each test project, and evaluates the autonomous navigation performance of the unmanned boat according to the evaluation standards of the test project;

所述动力学仿真模块,包括无人艇平面运动模型和浮力计算模型,通过上述模型获得无人艇的运动状态,同时实现与海洋场景的同步;The dynamics simulation module includes an unmanned boat planar motion model and a buoyancy calculation model. The motion state of the unmanned boat is obtained through the above models and synchronization with the ocean scene is achieved at the same time;

所述自主航行交互模块:用于将传感器仿真模块得到的传感器信号传递给无人艇的控制终端,控制终端根据信号得到控制指令,实时传递回无人艇虚拟测试平台,控制虚拟无人艇在生成的与无人艇航行场景相对应的海洋测试场景的运动,得到无人艇的运动状态,并进行评价。The autonomous navigation interaction module is used to transmit the sensor signals obtained by the sensor simulation module to the control terminal of the unmanned boat. The control terminal obtains control instructions based on the signals and transmits them back to the unmanned boat virtual test platform in real time to control the virtual unmanned boat. The generated motion of the ocean test scene corresponding to the unmanned boat navigation scene is used to obtain the motion state of the unmanned boat and evaluate it.

进一步,所述评价标准采用分级分层式的评价。Furthermore, the evaluation criteria adopt a hierarchical evaluation.

进一步,所述分级分层式的评价,具体为:根据不同的海况确定不同的测试等级,根据同一测试等级下不同的评价项目划分为不同的评价要素,由层次分析法确定该层中各个评价要素所占的评价指标权重,采用成本函数法,根据测试数据与理想数据的比值进行打分,最后,根据得分对无人艇在该轮测试中的表现进行评价。Furthermore, the hierarchical evaluation is specifically as follows: different test levels are determined according to different sea conditions, different evaluation items are divided into different evaluation elements according to the same test level, and each evaluation in this layer is determined by the analytic hierarchy process. The weight of the evaluation indicators accounted for by the elements is determined by using the cost function method, and the scores are scored based on the ratio of the test data to the ideal data. Finally, the performance of the unmanned boat in this round of testing is evaluated based on the scores.

进一步,所述无人艇平面运动模型是对无人艇在水平面内的三个自由度上的运动进行求解计算,并由浮力计算模型对无人艇在横摇、纵摇及垂荡三个自由度上的运动进行计算,反映无人艇的运动状态。Furthermore, the planar motion model of the unmanned boat solves and calculates the motion of the unmanned boat on three degrees of freedom in the horizontal plane, and uses the buoyancy calculation model to calculate the motion of the unmanned boat in three degrees of roll, pitch and heave. The motion on the degrees of freedom is calculated to reflect the motion state of the unmanned boat.

进一步,所述无人艇平面运动模型是对无人艇在水平面内的三个自由度上的运动进行求解计算,具体是,在MMG操纵运动方程的基础上,综合考虑无人艇螺旋桨推力、风力、波浪力以及流体动力对无人艇在平面内运动造成的影响,不同无人艇的船体通过修改MMG操纵运动方程的系数实现,MMG操纵运动方程的系数通过数值仿真获得。Furthermore, the planar motion model of the unmanned boat solves and calculates the motion of the unmanned boat on three degrees of freedom in the horizontal plane. Specifically, based on the MMG control motion equation, the unmanned boat propeller thrust, The influence of wind force, wave force and hydrodynamic force on the motion of unmanned boats in the plane is realized by modifying the coefficients of the MMG steering motion equation for different unmanned boat hulls. The coefficients of the MMG steering motion equation are obtained through numerical simulation.

进一步,所述浮力计算模型对无人艇在横摇、纵摇及垂荡三个自由度上的运动进行计算,反映无人艇的运动状态,具体为:Furthermore, the buoyancy calculation model calculates the motion of the unmanned boat in three degrees of freedom: roll, pitch and heave, and reflects the motion state of the unmanned boat, specifically as follows:

将无人艇模型沿水线面细分成多个几何体子部分,根据各个子部分几何体中点到海浪波面的距离,确定各个部分的浸没体积,由此计算各个部分所受到的浮力,将各部分的受力作用与无人艇重心处,引起无人艇的升沉和摇晃运动。The unmanned boat model is subdivided into multiple geometric sub-parts along the waterline. Based on the distance from the midpoint of the geometry of each sub-part to the wave surface, the immersed volume of each part is determined. From this, the buoyancy force on each part is calculated. Part of the force acts on the center of gravity of the unmanned boat, causing heaving and rocking motions of the unmanned boat.

进一步,所述传感器仿真模块获得GPS导航数据、摄像头、雷达数据、速度、风速、风向、加速度和角速度。Further, the sensor simulation module obtains GPS navigation data, camera, radar data, speed, wind speed, wind direction, acceleration and angular velocity.

进一步,所述海况参数包括海浪平均方向、海浪平均波高、海浪平均流速、海浪平均陡度、海风平均方向以及海风平均流速;Further, the sea state parameters include average wave direction, average wave height, average wave velocity, average wave steepness, average sea breeze direction, and average sea breeze velocity;

所述光照参数包括光照强度和水雾浓度。The illumination parameters include illumination intensity and water mist concentration.

进一步,无人艇在四个项目上进行测试,所述四个项目具体为静态避障、动态避障、位姿保持以及路径跟踪。Further, the unmanned boat was tested on four projects, specifically static obstacle avoidance, dynamic obstacle avoidance, posture maintenance and path tracking.

一种无人艇虚拟仿真测试平台的测试方法,包括:A testing method for an unmanned boat virtual simulation test platform, including:

设置海况等级及测试项目;Set sea state levels and test items;

生成测试的海洋测试场景及相关场景,在场景中布置被测虚拟无人艇;Generate ocean test scenarios and related scenarios for testing, and arrange the virtual unmanned boat under test in the scenario;

由虚拟传感器获取传感信息,并将信息输入实际无人艇的控制终端;Sensing information is obtained by virtual sensors and input into the control terminal of the actual unmanned boat;

控制终端完成传感数据解析得到控制指令,传回虚拟测试平台,实现对虚拟无人艇的航行控制;The control terminal completes the analysis of the sensor data to obtain control instructions, and transmits them back to the virtual test platform to realize navigation control of the virtual unmanned boat;

航行结束后,记录航行数据并生成评价结果。After the voyage, the voyage data is recorded and evaluation results are generated.

本发明的有益效果:Beneficial effects of the present invention:

本发明实现对无人艇在海浪环境下,多场景,多项目,整体化的性能测试。本发明能有效提高无人艇自主航行性能测试效果,减小测试时间,降低测试成本。The invention realizes the integrated performance test of the unmanned boat in the wave environment in multiple scenarios and multiple projects. The invention can effectively improve the autonomous navigation performance test effect of the unmanned boat, reduce the test time and reduce the test cost.

附图说明Description of the drawings

图1是本发明的总体框架图;Figure 1 is a general framework diagram of the present invention;

图2是本发明海洋环境仿真模块生成海洋测试场景的流程图;Figure 2 is a flow chart for generating ocean test scenarios by the marine environment simulation module of the present invention;

图3是本发明虚拟无人艇和虚拟海洋场景的示意图;Figure 3 is a schematic diagram of the virtual unmanned boat and virtual ocean scene of the present invention;

图4是本发明动力学仿真模块的流程示意图;Figure 4 is a schematic flow diagram of the dynamics simulation module of the present invention;

图5是本发明测试评价模块的流程示意图;Figure 5 is a schematic flow chart of the test and evaluation module of the present invention;

图6是本发明虚拟仿真测试流程示意图。Figure 6 is a schematic diagram of the virtual simulation test process of the present invention.

具体实施方式Detailed ways

下面结合实施例及附图,对本发明作进一步地详细说明,但本发明的实施方式不限于此。The present invention will be further described in detail below with reference to the examples and drawings, but the implementation of the present invention is not limited thereto.

实施例Example

如图1所示,一种面向多场景的无人艇虚拟仿真测试平台,主要由五个组成部分,具体包括海洋环境仿真模块、测试评价模块、动力学仿真模块、传感器模拟模块以及自主航行交互模块。As shown in Figure 1, a multi-scenario unmanned boat virtual simulation test platform mainly consists of five components, including a marine environment simulation module, a test evaluation module, a dynamics simulation module, a sensor simulation module and an autonomous navigation interaction module. module.

所述海洋环境仿真模块:用于结合描述波浪形状的Gerstner波和根据实际海浪测量结果得到Bretschneider双参数谱,构建波浪场景,进一步根据海况参数、测试环境参数及光照参数完成场景特征的确定,生成海洋测试场景;The marine environment simulation module is used to combine the Gerstner wave describing the wave shape and the Bretschneider dual parameter spectrum obtained according to the actual wave measurement results to construct a wave scene, and further determine the scene characteristics based on the sea state parameters, test environment parameters and lighting parameters, and generate Ocean test scenario;

所述测试评价模块:保存每次测试项目结束后的无人艇航行数据,根据测试项目的评价标准对无人艇的自主航行性能做出评价;The test evaluation module: saves the navigation data of the unmanned boat after the end of each test project, and evaluates the autonomous navigation performance of the unmanned boat according to the evaluation standards of the test project;

所述动力学仿真模块,包括无人艇平面运动模型和浮力计算模型,通过上述模型获得无人艇的运动状态,同时实现与海洋场景的同步;The dynamics simulation module includes an unmanned boat planar motion model and a buoyancy calculation model. The motion state of the unmanned boat is obtained through the above models and synchronization with the ocean scene is achieved at the same time;

所述自主航行交互模块:用于将传感器仿真模块得到的传感器信号传递给无人艇的控制终端,控制终端根据信号得到控制指令,实时传递回无人艇虚拟测试平台,控制虚拟无人艇在生成的与无人艇航行场景相对应的海洋测试场景的运动,得到无人艇的运动状态,并进行评价。The autonomous navigation interaction module is used to transmit the sensor signals obtained by the sensor simulation module to the control terminal of the unmanned boat. The control terminal obtains control instructions based on the signals and transmits them back to the unmanned boat virtual test platform in real time to control the virtual unmanned boat. The generated motion of the ocean test scene corresponding to the unmanned boat navigation scene is used to obtain the motion state of the unmanned boat and evaluate it.

参见图2和图3,展示了无人艇虚拟海洋测试环境生成示意图以及虚拟无人艇和海洋场景图。海况参数设置包括了六个参数的设置,具体为:海浪平均方向、海浪平均波高、海浪平均流速、海浪平均陡度、海风平均方向以及海风平均流速。光照参数设置用来控制场景中的视野条件,测试无人艇在不同能见度下的表现,具体包括了光照强度和水雾浓度。测试环境参数设置具体指设置对应的测试项目,包括了无人艇在四个项目上的测试,具体为静态避障、动态避障、位姿保持以及路径跟踪。通过海况参数设置、测试环境设置和光照参数测试,完成对测试场景特征的确认,生成对应的无人艇虚拟海洋测试环境。Referring to Figures 2 and 3, a schematic diagram of the generation of the virtual ocean test environment for unmanned boats and a diagram of the virtual unmanned boats and ocean scenes are shown. The sea state parameter setting includes the setting of six parameters, specifically: average wave direction, average wave height, average wave velocity, average wave steepness, average sea breeze direction, and average sea breeze velocity. Lighting parameter settings are used to control the visual field conditions in the scene and test the performance of the unmanned boat under different visibility, including light intensity and water mist concentration. Test environment parameter setting specifically refers to setting the corresponding test items, including the testing of unmanned boats on four items, specifically static obstacle avoidance, dynamic obstacle avoidance, posture maintenance, and path tracking. Through sea state parameter settings, test environment settings and lighting parameter tests, the test scene characteristics are confirmed and the corresponding unmanned boat virtual ocean test environment is generated.

参见图4,展示了无人艇虚拟仿真平台动力仿真模块示意图和无人艇CFD数值求解计算图。动力仿真模块包括了无人艇平面运动模型和浮力计算模型。以船体坐标系为无人艇的运动坐标系,用符号O-xyz表示。无人艇的运动可以在六个方向上分解,分别为纵荡、横荡、垂荡、横摇、纵摇以及艏摇。六自由度下的运动建模与计算相对复杂,待定系数较多,难以与海洋画面相同步,需要将无人艇的动力计算做出相应的简化。通过无人艇平面运动模型实现对无人艇在平面内的运动进行计算控制,通过浮力计算模型来控制无人艇的升沉和摇晃运动。所述无人艇平面运动模型是在MMG操纵运动方程的基础上,综合考虑无人艇螺旋桨推力、风力、波浪力以及流体动力对无人艇在平面内运动造成的影响。通过修改公式中的系数,来适应不同的无人艇的船体。公式中的系数通过数值仿真求解和试验测量的方法得到。首先建立CFD三维数值计算水池;针对风力、波浪漂移力和流体动力,随后选取几组具有代表性的工况进行数值计算求解;对数值计算结果进行回归分析和插值计算来确定数学模型中对应的系数。针对无人艇螺旋桨推力,采用系泊试验的方法,根据试验结果确定相关的系数。所述浮力计算模型的计算,具体流程为:首先将无人艇模型沿水线面细分成几个几何体子部分。根据各个子部分几何体的中点到海浪波面的距离,确定各个部分的浸没体积,由此计算各个部分所受到的浮力。最后,将各部分的受力作用与无人艇重心处,引起无人艇的升沉和摇晃运动。See Figure 4, which shows the schematic diagram of the power simulation module of the unmanned boat virtual simulation platform and the CFD numerical solution calculation diagram of the unmanned boat. The dynamic simulation module includes the unmanned boat planar motion model and buoyancy calculation model. The hull coordinate system is the motion coordinate system of the unmanned boat, represented by the symbol O-xyz. The motion of the unmanned boat can be broken down into six directions, namely surge, heave, heave, roll, pitch and pitch. The motion modeling and calculation under six degrees of freedom are relatively complex, with many undetermined coefficients, and it is difficult to synchronize with the ocean picture. The power calculation of the unmanned boat needs to be simplified accordingly. The motion of the unmanned boat in the plane is calculated and controlled through the planar motion model of the unmanned boat, and the heaving and rocking motion of the unmanned boat is controlled through the buoyancy calculation model. The unmanned boat planar motion model is based on the MMG control motion equation and comprehensively considers the impact of the unmanned boat propeller thrust, wind force, wave force and hydrodynamic force on the unmanned boat's motion in the plane. By modifying the coefficients in the formula, it can adapt to the hulls of different unmanned boats. The coefficients in the formula are obtained through numerical simulation solutions and experimental measurements. Firstly, a CFD three-dimensional numerical calculation pool is established; in view of wind force, wave drift force and hydrodynamic force, several representative groups of working conditions are then selected for numerical calculation and solution; regression analysis and interpolation calculation are performed on the numerical calculation results to determine the corresponding parameters in the mathematical model. coefficient. Regarding the propeller thrust of the unmanned boat, the mooring test method is used to determine the relevant coefficients based on the test results. The specific process of calculating the buoyancy calculation model is as follows: first, subdivide the unmanned boat model into several geometric sub-parts along the water plane. According to the distance from the midpoint of each sub-part geometry to the wave surface, the immersed volume of each part is determined, and the buoyancy force exerted on each part is calculated. Finally, the force of each part is applied to the center of gravity of the unmanned boat, causing heaving and rocking motions of the unmanned boat.

参见图5,展示了无人艇虚拟仿真平台测试评价模块示意图,采用分级分层式的评价方法。首先根据设置的海洋场景的参数进行海况等级匹配,示意图中展示了1级到4级共四个等级的海况分级。根据设定的测试项目进行测试项目匹配,包括了:静态避障、动态避障、轨迹跟踪以及姿态保持。之后,根据匹配的测试项目确定对应的测试要素。静态避障和动态避障下的测试要素均包括:无人艇的反应距离、回归距离以及避障时间。轨迹跟踪下的测试要素包括:最大偏移程度、平均偏移程度、跟踪时间。姿态保持下的测试要素包括:最大位置偏移、平均位置偏移、最大倾斜角度、平均倾斜角度。根据不同的海况确定不同的测试等级,根据同一测试等级下不同的评价项目划分为不同的评价要素。由层次分析法确定该层中各个评价要素所占的评价指标权重。采用成本函数法,根据测试数据与理想数据的比值进行打分。最后,根据得分对无人艇在该轮测试中的表现进行评价。Referring to Figure 5, a schematic diagram of the test and evaluation module of the unmanned boat virtual simulation platform is shown, using a hierarchical evaluation method. First, sea state level matching is performed based on the parameters of the set ocean scene. The schematic diagram shows a total of four levels of sea state classification from level 1 to level 4. The test items are matched according to the set test items, including: static obstacle avoidance, dynamic obstacle avoidance, trajectory tracking and attitude maintenance. Afterwards, the corresponding test elements are determined based on the matching test items. The test elements under both static obstacle avoidance and dynamic obstacle avoidance include: reaction distance, return distance and obstacle avoidance time of the unmanned boat. The test elements under trajectory tracking include: maximum offset degree, average offset degree, and tracking time. The test elements under attitude maintenance include: maximum position deviation, average position deviation, maximum tilt angle, and average tilt angle. Different test levels are determined according to different sea conditions, and different evaluation items are divided into different evaluation elements according to the same test level. The analytic hierarchy process is used to determine the weight of the evaluation indicators occupied by each evaluation element in this layer. The cost function method is used to score based on the ratio of test data to ideal data. Finally, the performance of the unmanned boat in this round of testing is evaluated based on the scores.

参见图6,展示了无人艇虚拟仿真测试流程示意图。首先,通过海洋环境模块设置海洋环境并选择测试项目。随后,生成测试的海洋环境和测试项目相关场景,在场景中布置下被测虚拟无人艇,随即测试开始进行。所述被测虚拟无人艇由实际无人艇等比例建模,虚拟无人艇的控制电路和控制逻辑应与实际无人艇完全一致。传感器仿真模块设有基础传感器模板,根据被测无人艇上的实际传感器,通过设定噪声函数、输出信息和传感器输出功率,模拟无人艇上各种传感器的工作,并实时将传感器信息发布出来。通过网络串口将上述传感器信息实时发送给实际无人艇的控制终端。由无人艇的控制终端完成相应的数据解析,随后将控制终端计算得到的控制指令再次通过网络端口发送回虚拟测试平台,并作用于虚拟无人艇的控制电机,实现对虚拟无人艇的航行控制。航行结束后,由测试评价模块记录航行数据,并生成评价结果,测试结束。See Figure 6, which shows a schematic diagram of the unmanned boat virtual simulation test process. First, set the marine environment through the marine environment module and select the test project. Subsequently, the test ocean environment and test project-related scenes are generated, the virtual unmanned boat under test is arranged in the scene, and the test begins. The tested virtual unmanned boat is modeled in proportion to the actual unmanned boat, and the control circuit and control logic of the virtual unmanned boat should be completely consistent with the actual unmanned boat. The sensor simulation module is equipped with a basic sensor template. Based on the actual sensors on the unmanned boat under test, it simulates the work of various sensors on the unmanned boat by setting the noise function, output information and sensor output power, and releases the sensor information in real time. come out. The above sensor information is sent to the control terminal of the actual unmanned boat in real time through the network serial port. The control terminal of the unmanned boat completes the corresponding data analysis, and then sends the control instructions calculated by the control terminal back to the virtual test platform through the network port, and acts on the control motor of the virtual unmanned boat to realize the control of the virtual unmanned boat. Navigation control. After the voyage is completed, the test evaluation module records the voyage data and generates evaluation results, and the test ends.

上述实施例为本发明较佳的实施方式,但本发明的实施方式并不受所述实施例的限制,其他的任何未背离本发明的精神实质与原理下所作的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本发明的保护范围之内。The above embodiments are preferred embodiments of the present invention, but the embodiments of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, and combinations may be made without departing from the spirit and principles of the present invention. , simplification, should all be equivalent replacement methods, and are all included in the protection scope of the present invention.

Claims (5)

1.一种面向多场景的无人艇虚拟仿真测试平台,其特征在于,包括海洋环境仿真模块、测试评价模块、动力学仿真模块、传感器模拟模块及自主航行交互模块;1. A multi-scenario unmanned boat virtual simulation test platform, characterized by including a marine environment simulation module, a test evaluation module, a dynamics simulation module, a sensor simulation module and an autonomous navigation interaction module; 所述海洋环境仿真模块:用于结合描述波浪形状的Gerstner波和根据实际海浪测量结果得到Bretschneider双参数谱,构建波浪场景,进一步根据海况参数、测试环境参数及光照参数完成场景特征的确定,生成海洋测试场景;The marine environment simulation module is used to combine the Gerstner wave describing the wave shape and the Bretschneider dual parameter spectrum obtained according to the actual wave measurement results to construct a wave scene, and further determine the scene characteristics based on the sea state parameters, test environment parameters and lighting parameters, and generate Ocean test scenario; 所述测试评价模块:保存每次测试项目结束后的无人艇航行数据,根据测试项目的评价标准对无人艇的自主航行性能做出评价;The test evaluation module: saves the navigation data of the unmanned boat after the end of each test project, and evaluates the autonomous navigation performance of the unmanned boat according to the evaluation standards of the test project; 所述动力学仿真模块,包括无人艇平面运动模型和浮力计算模型,通过上述模型获得无人艇的运动状态,同时实现与海洋场景的同步;The dynamics simulation module includes an unmanned boat planar motion model and a buoyancy calculation model. The motion state of the unmanned boat is obtained through the above models and synchronization with the ocean scene is achieved at the same time; 所述自主航行交互模块:用于将传感器模拟模块得到的传感器信号传递给无人艇的控制终端,控制终端根据信号得到控制指令,实时传递回无人艇虚拟测试平台,控制虚拟无人艇在生成的与无人艇航行场景相对应的海洋测试场景的运动,得到无人艇的运动状态,并进行评价;The autonomous navigation interaction module is used to transmit the sensor signals obtained by the sensor simulation module to the control terminal of the unmanned boat. The control terminal obtains control instructions based on the signals and transmits them back to the unmanned boat virtual test platform in real time to control the virtual unmanned boat. The generated motion of the ocean test scene corresponding to the unmanned boat navigation scene is used to obtain the motion status of the unmanned boat and evaluate it; 所述评价标准采用分级分层式的评价;The evaluation criteria adopt a hierarchical evaluation; 所述分级分层式的评价,具体为:根据不同的海况确定不同的测试等级,根据同一测试等级下不同的评价项目划分为不同的评价要素,由层次分析法确定该层中各个评价要素所占的评价指标权重,采用成本函数法,根据测试数据与理想数据的比值进行打分,最后,根据得分对无人艇在同一测试等级中的表现进行评价;The hierarchical evaluation is specifically as follows: different test levels are determined according to different sea conditions, different evaluation items are divided into different evaluation elements according to the same test level, and the analytic hierarchy process is used to determine the requirements of each evaluation element in this layer. The weight of the evaluation index is calculated using the cost function method to score based on the ratio of test data to ideal data. Finally, the performance of the unmanned boat in the same test level is evaluated based on the score; 所述无人艇平面运动模型是对无人艇在水平面内的三个自由度上的运动进行求解计算,并由浮力计算模型对无人艇在横摇、纵摇及垂荡三个自由度上的运动进行计算,反映无人艇的运动状态;The planar motion model of the unmanned vehicle solves and calculates the motion of the unmanned vehicle in three degrees of freedom in the horizontal plane, and uses the buoyancy calculation model to calculate the three degrees of freedom of the unmanned vehicle in roll, pitch and heave. Calculate the motion on the vehicle to reflect the motion state of the unmanned boat; 所述无人艇平面运动模型是对无人艇在水平面内的三个自由度上的运动进行求解计算,具体是,在MMG操纵运动方程的基础上,综合考虑无人艇螺旋桨推力、风力、波浪力以及流体动力对无人艇在平面内运动造成的影响,不同无人艇的船体通过修改MMG操纵运动方程的系数实现,MMG操纵运动方程的系数通过数值仿真获得;The planar motion model of the unmanned boat solves and calculates the motion of the unmanned boat on three degrees of freedom in the horizontal plane. Specifically, based on the MMG control motion equation, the unmanned boat propeller thrust, wind force, The influence of wave force and hydrodynamic force on the motion of unmanned boats in the plane is realized by modifying the coefficients of the MMG maneuvering motion equation for different unmanned craft hulls. The coefficients of the MMG maneuvering motion equation are obtained through numerical simulation; 所述浮力计算模型对无人艇在横摇、纵摇及垂荡三个自由度上的运动进行计算,反映无人艇的运动状态,具体为:The buoyancy calculation model calculates the motion of the unmanned boat in three degrees of freedom: roll, pitch and heave, and reflects the motion state of the unmanned boat, specifically: 将无人艇模型沿水线面细分成多个几何体子部分,根据各个子部分几何体中点到海浪波面的距离,确定各个部分的浸没体积,由此计算各个部分所受到的浮力,将各部分的受力作用与无人艇重心处,引起无人艇的升沉和摇晃运动。The unmanned boat model is subdivided into multiple geometric sub-parts along the waterline. Based on the distance from the midpoint of the geometry of each sub-part to the wave surface, the immersed volume of each part is determined, and the buoyancy force on each part is calculated. Part of the force acts on the center of gravity of the unmanned boat, causing heaving and rocking motions of the unmanned boat. 2.根据权利要求1所述的无人艇虚拟仿真测试平台,其特征在于,所述传感器模拟模块获得GPS导航数据、摄像头、雷达数据、速度、风速、风向、加速度和角速度。2. The unmanned boat virtual simulation test platform according to claim 1, characterized in that the sensor simulation module obtains GPS navigation data, camera, radar data, speed, wind speed, wind direction, acceleration and angular velocity. 3.根据权利要求1-2任一项所述的无人艇虚拟仿真测试平台,其特征在于,所述海况参数包括海浪平均方向、海浪平均波高、海浪平均流速、海浪平均陡度、海风平均方向以及海风平均流速;3. The unmanned boat virtual simulation test platform according to any one of claims 1-2, characterized in that the sea state parameters include the average direction of the waves, the average wave height of the waves, the average velocity of the waves, the average steepness of the waves, and the average sea breeze. direction and average sea breeze velocity; 所述光照参数包括光照强度和水雾浓度。The illumination parameters include illumination intensity and water mist concentration. 4.根据权利要求1所述的无人艇虚拟仿真测试平台,其特征在于,无人艇在四个项目上进行测试,所述四个项目具体为静态避障、动态避障、位姿保持以及路径跟踪。4. The unmanned boat virtual simulation test platform according to claim 1, characterized in that the unmanned boat is tested on four items, and the four items are specifically static obstacle avoidance, dynamic obstacle avoidance, and posture maintenance. and path tracking. 5.根据权利要求1-4任一项所述的无人艇虚拟仿真测试平台的测试方法,其特征在于,包括:5. The testing method of the unmanned boat virtual simulation test platform according to any one of claims 1 to 4, characterized in that it includes: 设置海况等级及测试项目;Set sea state levels and test items; 生成测试的海洋测试场景及相关场景,在场景中布置被测虚拟无人艇;Generate ocean test scenarios and related scenarios for testing, and arrange the virtual unmanned boat under test in the scenario; 由虚拟传感器获取传感信息,并将信息输入实际无人艇的控制终端;Sensing information is obtained by virtual sensors and input into the control terminal of the actual unmanned boat; 控制终端完成传感数据解析得到控制指令,传回虚拟测试平台,实现对虚拟无人艇的航行控制;The control terminal completes the analysis of the sensor data to obtain control instructions, and transmits them back to the virtual test platform to realize navigation control of the virtual unmanned boat; 航行结束后,记录航行数据并生成评价结果。After the voyage, the voyage data is recorded and evaluation results are generated.
CN202210207939.XA 2022-03-03 2022-03-03 A multi-scenario unmanned boat virtual simulation test platform and test method Active CN114692520B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210207939.XA CN114692520B (en) 2022-03-03 2022-03-03 A multi-scenario unmanned boat virtual simulation test platform and test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210207939.XA CN114692520B (en) 2022-03-03 2022-03-03 A multi-scenario unmanned boat virtual simulation test platform and test method

Publications (2)

Publication Number Publication Date
CN114692520A CN114692520A (en) 2022-07-01
CN114692520B true CN114692520B (en) 2024-03-19

Family

ID=82136999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210207939.XA Active CN114692520B (en) 2022-03-03 2022-03-03 A multi-scenario unmanned boat virtual simulation test platform and test method

Country Status (1)

Country Link
CN (1) CN114692520B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115577317B (en) * 2022-09-30 2024-04-05 北京大数据先进技术研究院 Data fusion effect evaluation method, system, electronic equipment and storage medium
CN115453914B (en) * 2022-10-19 2023-05-16 哈尔滨理工大学 A Distributed Decision-Making Simulation System for Unmanned Boat Recovery Considering Ocean Wave Interference

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107121928A (en) * 2017-05-22 2017-09-01 华南理工大学 A kind of disturbance compensation control method of unmanned water surface ship
KR102006325B1 (en) * 2018-12-21 2019-08-01 한국해양과학기술원 Method for simulation of sea state changes using base spectrum
CN111409788A (en) * 2020-04-17 2020-07-14 大连海事大学 Unmanned ship autonomous navigation capability testing method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107121928A (en) * 2017-05-22 2017-09-01 华南理工大学 A kind of disturbance compensation control method of unmanned water surface ship
KR102006325B1 (en) * 2018-12-21 2019-08-01 한국해양과학기술원 Method for simulation of sea state changes using base spectrum
CN111409788A (en) * 2020-04-17 2020-07-14 大连海事大学 Unmanned ship autonomous navigation capability testing method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于滑模反演的欠驱动水面无人艇航向控制;武颖;杨胜强;李文辉;刘大亮;王庆;;科学技术与工程;20180108(第01期);全文 *
基于滑模控制的AUV运动仿真系统;王晓伟;姚绪梁;王峰;孟令卫;杨光仪;;控制工程;20171220(第12期);全文 *

Also Published As

Publication number Publication date
CN114692520A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
CN113010958B (en) Simulation system of self-propelled ship and operation method thereof
CN114692520B (en) A multi-scenario unmanned boat virtual simulation test platform and test method
CN108416152A (en) The optimal global path planning method of unmanned boat ant colony energy consumption based on electronic chart
Sandurawan et al. A six degrees of freedom ship simulation system for maritime education
CN110262526B (en) A physics-like numerical method for predicting the 6-DOF self-propulsion maneuvering of underwater robots
CN115758587A (en) Method for ship wave coupling simulation movement
CN113934159A (en) Unmanned ship reliability test environment model construction method
RU2467914C1 (en) Method of ship navigability control and device to this end
CN116305586A (en) Method for establishing under-actuated ship automatic berthing model
CN114004015A (en) Unmanned ship modeling and motion simulation method based on ROS-Gazebo
Smith et al. High-fidelity autonomous surface vehicle simulator for the maritime RobotX challenge
Zhan et al. Numerical simulation of ship maneuvering in pack ice
Casas et al. On the Real-time Physics Simulation of a Speed-boat Motion.
Sandaruwan et al. Modeling and simulation of environmental disturbances for six degrees of freedom ocean surface vehicle
Zhang et al. A data-driven visualization platform for sailing robots
Huu et al. A 3D dynamic model applied for cargo ships to study ship motion control
CN116310221A (en) Ship swaying and visual wave motion matching method, terminal equipment and medium
Xiufeng et al. Ship motion modeling and simulation in Ship Handling Simulator
Kong et al. A method for implementing a ship navigation simulator for the generation and utilization of virtual data
Avizzano et al. Design of a motion based sailing simulator
CN112307419A (en) A Fast Prediction Method for Vessel's Vertical Motion Response
Huang et al. Simulation study on a new hybrid autonomous underwater vehicle with elevators
Bingham et al. Mobile Robot Simulation for Unmanned Surface Vehicles in Ocean Environments
Gruber et al. An unmanned surface vehicle robot model; for autonomous sonobuoy deployment, and UAV landing platform
CN118364309B (en) A data matching method for real sea area-simulation scene-hull motion model

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant