[go: up one dir, main page]

CN114595572A - A virtual environment simulation method of underwater robot based on hierarchical ocean data - Google Patents

A virtual environment simulation method of underwater robot based on hierarchical ocean data Download PDF

Info

Publication number
CN114595572A
CN114595572A CN202210219522.5A CN202210219522A CN114595572A CN 114595572 A CN114595572 A CN 114595572A CN 202210219522 A CN202210219522 A CN 202210219522A CN 114595572 A CN114595572 A CN 114595572A
Authority
CN
China
Prior art keywords
module
layer
perception
hierarchical
simulation
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.)
Granted
Application number
CN202210219522.5A
Other languages
Chinese (zh)
Other versions
CN114595572B (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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN202210219522.5A priority Critical patent/CN114595572B/en
Publication of CN114595572A publication Critical patent/CN114595572A/en
Application granted granted Critical
Publication of CN114595572B publication Critical patent/CN114595572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/20Packaging, e.g. boxes or containers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Remote Sensing (AREA)
  • Architecture (AREA)
  • Human Computer Interaction (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Manipulator (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本发明涉及一种基于层次化海洋数据的水下机器人虚拟环境仿真方法,属于水下机器人仿真领域,包括:将层次化海洋数据源进行分层编辑处理;将分层处理后的数据按仿真需求导入虚拟环境进行环境显示,提供自定义创建环境图层功能;基于层次化海洋环境建模进行水下机器人外部感知模拟;将产生的感知模拟值分模块以插件化的形式存入不同模块数据库中,提供自定义创建感知模块功能;将模块数据库中的各个感知模块根据需求添加至水下机器人本体模块中。本发明实现了环境信息处理、显示以及环境与机器人本体交互的自动化和结构化,根据不同任务场景设计了丰富接口,以及由结构化带来的便捷的自定义和以任务为导向的选择功能,提高了操作性和扩展性。

Figure 202210219522

The invention relates to an underwater robot virtual environment simulation method based on layered ocean data, belonging to the field of underwater robot simulation, comprising: layered editing processing of layered ocean data sources; Import the virtual environment for environmental display, and provide the function of customizing the creation of environment layers; simulate the external perception of underwater robots based on hierarchical ocean environment modeling; store the generated perception simulation values into different modules in the form of plug-ins in different module databases , provides the function of custom creation of perception modules; each perception module in the module database is added to the body module of the underwater robot as required. The invention realizes the automation and structuring of environmental information processing, display, and interaction between the environment and the robot body, designs rich interfaces according to different task scenarios, and the convenient self-definition and task-oriented selection functions brought by the structuring, Improved operability and scalability.

Figure 202210219522

Description

基于层次化海洋数据的水下机器人虚拟环境仿真方法A virtual environment simulation method of underwater robot based on hierarchical ocean data

技术领域technical field

本发明属于水下机器人仿真领域,涉及一种基于层次化海洋数据的水下机器人虚拟环境仿真方法。The invention belongs to the field of underwater robot simulation, and relates to an underwater robot virtual environment simulation method based on hierarchical ocean data.

背景技术Background technique

环境仿真是指将真实环境用符号化、抽象化的方式表示于纸质、电子等不同媒介中的技术。区别于传统纸质的表示方式,随着环境数据采集、传输、储存的信息化发展,数字化逐渐成为21世纪的主流环境模拟方向。数字环境模拟以卫星遥感、声呐探测等方式获取环境数据,以计算机软件等工具处理数据并实现真实环境的可视化,最终在计算机中呈现虚拟的真实环境。研究海洋环境的建模方法,可以帮助海员、水下机器人开发者和算法开发人员更好地把握海洋环境,也可降低非专业人员认识海洋,了解海洋,应用海洋的门槛。Environmental simulation refers to the technology of representing the real environment in different media such as paper and electronic in a symbolic and abstract way. Different from the traditional paper representation, with the development of informatization of environmental data collection, transmission and storage, digitization has gradually become the mainstream environmental simulation direction in the 21st century. Digital environment simulation obtains environmental data by means of satellite remote sensing, sonar detection, etc., processes the data with tools such as computer software, and realizes the visualization of the real environment, and finally presents the virtual real environment in the computer. Studying the modeling method of the marine environment can help seafarers, underwater robot developers and algorithm developers to better grasp the marine environment, and can also lower the threshold for non-professionals to understand the ocean, understand the ocean, and apply the ocean.

然而,目前的虚拟环境仿真技术主要集中于地形方面,其本质是为放置其中的虚拟机器人提供恰当环境以及与地形相关的感知模拟,然而海洋环境的多样性和复杂性,如光照情况、水动力情况、电磁环境情况等,导致目前技术有精度不够、不可以切换海洋环境、多种海况下仿真不好等问题。因此,目前缺少一种结构化方式来描述不同层次海洋环境,并提供与之相关接口的外部感知仿真技术。However, the current virtual environment simulation technology mainly focuses on the terrain, and its essence is to provide the appropriate environment and terrain-related perception simulation for the virtual robot placed in it. However, the diversity and complexity of the marine environment, such as lighting conditions, hydrodynamics The current technology has problems such as insufficient accuracy, inability to switch the marine environment, and poor simulation under various sea conditions. Therefore, there is currently a lack of a structured way to describe the marine environment at different levels, and to provide external perception and simulation technology related to the interface.

此外,传统的虚拟地形仿真技术主要分为两种:一种是使用三维绘图软件进行绘制,这种建模方式虽然可以创建出任意形状和条件的海洋模型,但是其搭建效率低、门槛高并且难以满足对实地实物进行测试的要求;另一类方法则是利用声呐等探测装置得到的真实海底数据或官方公布的海图数据进行数据编解码和类型转换。然而,在这类方法目前的实践过程中,又存在无法结合任务在模拟界面进行修改、无法格式化建模非地形信息等问题。因此,在模拟海洋地形环境时,目前尚未有一种易修改又从各维度贴近现实的建模方法。In addition, the traditional virtual terrain simulation technology is mainly divided into two types: one is to use 3D drawing software for drawing. Although this modeling method can create ocean models of any shape and conditions, it has low construction efficiency, high threshold and low cost. It is difficult to meet the requirements of testing on-the-spot objects; another method is to use real seabed data obtained by sonar and other detection devices or officially published chart data for data encoding, decoding and type conversion. However, in the current practice process of such methods, there are problems such as inability to modify the simulation interface in combination with tasks, and inability to format and model non-terrain information. Therefore, when simulating the marine terrain environment, there is currently no modeling method that is easy to modify and close to reality from all dimensions.

针对外部感知仿真技术主要集中于地形方面的问题,欧盟资助的SWARMS项目中的UUV Simulator项目提供了较丰富但非结构化的外部感知模拟:水动力模拟、以虚拟摄像头数据得到的可见光域信息等。Aiming at the problem that the external perception simulation technology mainly focuses on the terrain, the UUV Simulator project in the EU-funded SWARMS project provides a rich but unstructured external perception simulation: hydrodynamic simulation, visible light domain information obtained from virtual camera data, etc. .

针对目前海洋地形环境建模方式,中国专利CN103456041A公开的一种基于S-57电子海图数据的三维地形和雷达地形生成方法所展开的研究采用路线二,涉及从S-57海图至数字高程模型的部分步骤,其中其对S-57海图的使用仍集中于地形方面,对于其他层次信息采用绘制并纳入地形图层的方法,使得其面向任务的更改较为困难,并且无法进行选择显示;专利“基于UNITY3D的水下潜水器视景仿真系统及方法”所开展的研究采用路线一,涉及以UNITY3D为平台的海图搭建,效率较低,且同样无对不同资源的分层操作。外部感知模拟方面,其涉及了高程信息、碰撞信息等与地形相关的外部感知信息,同样缺乏对其他类信息的结构化描述。Aiming at the current modeling method of marine terrain environment, Chinese patent CN103456041A discloses a method for generating three-dimensional terrain and radar terrain based on S-57 electronic chart data. Some steps of the model, in which the use of the S-57 chart is still focused on the terrain, and the method of drawing and incorporating the terrain layer for other levels of information makes it difficult to change the task-oriented and cannot be selected and displayed; The research carried out by the patent "UNITY3D-based underwater submersible visual simulation system and method" adopts route 1, which involves the construction of charts with UNITY3D as the platform, which has low efficiency and also does not have layered operations on different resources. In terms of external perception simulation, it involves external perception information related to terrain such as elevation information and collision information, and also lacks the structured description of other types of information.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明的目的在于提供一种结构化、层次化海洋数据的水下机器人虚拟环境仿真方法。In view of this, the purpose of the present invention is to provide a virtual environment simulation method for underwater robots based on structured and hierarchical ocean data.

为达到上述目的,本发明提供如下技术方案:For achieving the above object, the present invention provides the following technical solutions:

一种基于层次化海洋数据的水下机器人虚拟环境仿真方法,包括以下步骤:A virtual environment simulation method for underwater robots based on hierarchical ocean data, comprising the following steps:

S1:将层次化海洋数据源进行分层编辑处理;S1: Perform hierarchical editing processing on the hierarchical ocean data source;

S2:将分层处理后的数据按仿真需求导入虚拟环境进行环境显示,并提供自定义创建环境图层功能;S2: Import the layered data into the virtual environment for environmental display according to the simulation requirements, and provide the function of customizing the creation of environmental layers;

S3:基于层次化海洋环境建模进行水下机器人外部感知模拟;S3: Simulation of external perception of underwater robots based on hierarchical marine environment modeling;

S4:将产生的感知模拟值分模块以插件化的形式存入不同模块数据库中,并提供自定义创建感知模块功能;S4: Store the generated sensory analog value sub-modules in the form of plug-ins into different module databases, and provide the function of customizing the creation of sensory modules;

S5:将模块数据库中的各个感知模块根据需求添加至水下机器人本体模块中。S5: Add each perception module in the module database to the body module of the underwater robot as required.

进一步,所述层次化海洋数据源具有层次化特点,其数据包含多种信息层次,所述信息层次根据海图文件的区域具有不同的类型和特点,并且在经过预处理后便于进行结构化的处理。Further, the hierarchical marine data source has hierarchical characteristics, and its data contains various information levels. The information levels have different types and characteristics according to the area of the chart file, and are easy to be structured after preprocessing. deal with.

进一步,所述步骤S1中,将层次化海洋数据源进行分层处理的具体步骤为:Further, in the step S1, the specific steps of performing hierarchical processing on the hierarchical ocean data source are as follows:

S11:首先进行任务判断,若任务能够利用已有函数进行层处理,则执行步骤S12,否则定义新的物标类型,并根据新的物标类型编写自定义层处理函数,存入函数库中;S11: First, perform task judgment. If the task can use the existing function for layer processing, perform step S12, otherwise define a new object type, and write a custom layer processing function according to the new object type, and store it in the function library ;

S12:读取物标类型和层数据;S12: read the target type and layer data;

S13:将任务以物标类型为依据读取并拆分,索引已有的层处理函数,对每一层采用对应的层处理函数;S13: Read and split the task based on the object type, index the existing layer processing function, and use the corresponding layer processing function for each layer;

S14:执行对应层处理函数;S14: Execute the corresponding layer processing function;

S15:输出对应格式显示信息。S15: output the corresponding format display information.

进一步,所述步骤S1中,对于地形描述层的处理,层处理功能包括:Further, in the step S1, for the processing of the terrain description layer, the layer processing function includes:

进行区域的滤波和平滑处理,以减小数据误差;Perform regional filtering and smoothing to reduce data errors;

进行区域的剪裁和编辑,以选择仿真进行的区域;Clipping and editing of regions to select regions for simulation;

进行区域插值和拟合处理,以将粗糙离散值拟合成连续值提高精度,最终产生可以导入虚拟环境的数字高程模型格式。Perform regional interpolation and fitting processing to fit rough discrete values to continuous values to improve accuracy, and finally produce a digital elevation model format that can be imported into virtual environments.

进一步,所述步骤S2中,将产生的数字高程模型文件和其他预处理的物标类型层分层进行模拟,以地形信息显示层作为其他各层的基础层;环境模拟部分提供新建自定义信息显示层次功能,可以为用户以任务为导向自定义添加信息显示层次,也可方便进一步处理不常见或无法统一处理的信息层,并且提供整合不同来源数据的能力;对于除地形层外各层,按每层的对应物标类型分别执行对应的处理操作,将每层所代表的真实物体模拟和叠加到地形层中;需要模拟的层次根据不同任务的需求进行人工选择;模拟和叠加实物的方式是引入外部对象库作为默认例子,从而将表示实物位置的离散点信息加入环境模拟;当其他层与地形层内容、范围发生冲突时,以地形层为准,其方法是删除或询问用户如何处理其他图层的冲突部分。Further, in the step S2, the generated digital elevation model file and other preprocessed object target type layers are simulated layer by layer, and the terrain information display layer is used as the base layer of other layers; the environment simulation part provides new custom information The display layer function can add information display layers for users to customize the task-oriented, and it can also facilitate the further processing of information layers that are not common or cannot be processed uniformly, and provide the ability to integrate data from different sources; for layers except the terrain layer, According to the corresponding object type of each layer, the corresponding processing operations are performed, and the real objects represented by each layer are simulated and superimposed into the terrain layer; the layers that need to be simulated are manually selected according to the needs of different tasks; the method of simulating and superimposing real objects It is to introduce the external object library as a default example, so as to add the discrete point information representing the physical location into the environment simulation; when other layers conflict with the content and scope of the terrain layer, the terrain layer shall prevail, and the method is to delete or ask the user how to deal with it Conflicting parts of other layers.

进一步,在步骤S2中环境实体被分割为各个信息显示层,每个层次对水下机器人产生不同影响,在步骤S3中将不同的信息显示层进行感知模拟,具体步骤如下:Further, in step S2, the environmental entity is divided into various information display layers, and each layer has different effects on the underwater robot. In step S3, different information display layers are subjected to perception simulation, and the specific steps are as follows:

S31:首先进行任务判断,若任务能够利用已有函数进行感知模拟,则执行步骤S32,否则定义输出感知模块,定义输入环境信息,编写自定义感知模拟函数,存入函数库中;S31: First, perform task judgment. If the task can use the existing function to perform perception simulation, perform step S32, otherwise define an output perception module, define input environment information, write a custom perception simulation function, and store it in the function library;

S32:读取环境信息;S32: read environmental information;

S33:按环境信息索引已有的感知模拟函数,对每一层采用对应的感知模拟函数;S33: Index the existing perception simulation function according to the environmental information, and use the corresponding perception simulation function for each layer;

S34:执行对应感知模拟函数;S34: Execute the corresponding perception simulation function;

S35:输出至对应感知模块;S35: output to the corresponding sensing module;

S36:与感知模块内其他感知值进行感知合成。S36: Perform perceptual synthesis with other perceptual values in the perceptual module.

进一步,步骤S3中,对于不同信息显示层分别归类处理,信息显示层与感知模块的映射关系并不一定为单射,每个映射关系都产生一个影响向量,最终再将所有影响向量按输出的感知模块类型做相应的求合成运算,产生最终的所有感知模块值。Further, in step S3, different information display layers are classified and processed separately, the mapping relationship between the information display layer and the perception module is not necessarily an injective, each mapping relationship generates an impact vector, and finally all the impact vectors are output according to the output. The corresponding perceptual module type is calculated and synthesized to generate the final all perceptual module values.

进一步,步骤S4所述的模块数据库中,与地形层为环境各层基础层相对应,碰撞检测模块为外部感知模拟各模块的基础模块;除碰撞检测模块外,其他信息显示层对水下机器人所施加的影响,按其类别交由力感知模块、视觉/光感知模块、声呐感知模块、电磁通信感知模块、地磁感知模块进行处理;各模块均允许任务导向的选择性使用、均有预设计算参数并支持修改、均为基础层优先处理、均允许以任务为导向自定义模块。Further, in the module database described in step S4, corresponding to the terrain layer as the basic layer of each layer of the environment, the collision detection module is the basic module of the external perception and simulation modules; except for the collision detection module, other information display layers are used for the underwater robot. The exerted influence is handed over to the force perception module, the visual/optical perception module, the sonar perception module, the electromagnetic communication perception module, and the geomagnetic perception module for processing according to its category; each module allows the selective use of task-oriented, all preset Calculation parameters and support for modification, priority processing at the base layer, and task-oriented custom modules are allowed.

进一步,所述模块数据库中,为模拟海底地形匹配导航提供声呐感知模块、地磁感知模块和视觉感知模块、光感知模块;为模拟水中通信组网提供电磁通信感知模块;为模拟控制水下机器人运动提供水动力感知模块。Further, in the module database, a sonar perception module, a geomagnetic perception module, a visual perception module, and a light perception module are provided for simulating seabed terrain matching and navigation; an electromagnetic communication perception module is provided for simulating underwater communication networking; for simulating and controlling the motion of underwater robots Provides a hydrodynamic perception module.

本发明的有益效果在于:本发明方法基本实现了环境信息处理、显示以及环境与机器人本体交互的自动化和结构化,并且根据不同任务场景设计了丰富接口,以及由结构化带来的便捷的自定义和以任务为导向的选择功能,具有很好的可操作性和可扩展性。The beneficial effects of the present invention are as follows: the method of the present invention basically realizes the automation and structuring of environmental information processing, display, and interaction between the environment and the robot body, and designs rich interfaces according to different task scenarios, and the convenient self-service brought by the structuring Definition and task-oriented selection functions, with good operability and scalability.

本发明的其他优点、目标和特征在某种程度上将在随后的说明书中进行阐述,并且在某种程度上,基于对下文的考察研究对本领域技术人员而言将是显而易见的,或者可以从本发明的实践中得到教导。本发明的目标和其他优点可以通过下面的说明书来实现和获得。Other advantages, objects, and features of the present invention will be set forth in the description that follows, and will be apparent to those skilled in the art based on a study of the following, to the extent that is taught in the practice of the present invention. The objectives and other advantages of the present invention may be realized and attained by the following description.

附图说明Description of drawings

为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作优选的详细描述,其中:In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be preferably described in detail below with reference to the accompanying drawings, wherein:

图1为本发明所述基于层次化海洋数据的水下机器人虚拟环境仿真方法总体架构图;1 is an overall architecture diagram of an underwater robot virtual environment simulation method based on hierarchical ocean data according to the present invention;

图2为层处理方法流程图;Fig. 2 is the flow chart of the layer processing method;

图3为感知模拟方法流程图。FIG. 3 is a flowchart of a perception simulation method.

具体实施方式Detailed ways

以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。需要说明的是,以下实施例中所提供的图示仅以示意方式说明本发明的基本构想,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。The embodiments of the present invention are described below through specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the drawings provided in the following embodiments are only used to illustrate the basic idea of the present invention in a schematic manner, and the following embodiments and features in the embodiments can be combined with each other without conflict.

其中,附图仅用于示例性说明,表示的仅是示意图,而非实物图,不能理解为对本发明的限制;为了更好地说明本发明的实施例,附图某些部件会有省略、放大或缩小,并不代表实际产品的尺寸;对本领域技术人员来说,附图中某些公知结构及其说明可能省略是可以理解的。Among them, the accompanying drawings are only used for exemplary description, and represent only schematic diagrams, not physical drawings, and should not be construed as limitations of the present invention; in order to better illustrate the embodiments of the present invention, some parts of the accompanying drawings will be omitted, The enlargement or reduction does not represent the size of the actual product; it is understandable to those skilled in the art that some well-known structures and their descriptions in the accompanying drawings may be omitted.

本发明实施例的附图中相同或相似的标号对应相同或相似的部件;在本发明的描述中,需要理解的是,若有术语“上”、“下”、“左”、“右”、“前”、“后”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此附图中描述位置关系的用语仅用于示例性说明,不能理解为对本发明的限制,对于本领域的普通技术人员而言,可以根据具体情况理解上述术语的具体含义。The same or similar numbers in the drawings of the embodiments of the present invention correspond to the same or similar components; in the description of the present invention, it should be understood that if there are terms “upper”, “lower”, “left” and “right” , "front", "rear" and other indicated orientations or positional relationships are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the indicated device or element must be It has a specific orientation, is constructed and operated in a specific orientation, so the terms describing the positional relationship in the accompanying drawings are only used for exemplary illustration, and should not be construed as a limitation of the present invention. situation to understand the specific meaning of the above terms.

本发明的目的是设计一种结构化、层次化的水下机器人虚拟环境仿真方法。The purpose of the present invention is to design a structured and hierarchical underwater robot virtual environment simulation method.

其具体组成如图1所示,分为四大部分:层次化数据源——标准化海图、环境显示模块、感知模块、数据处理程序。其中,数据处理程序包含层处理程序和感知模拟程序两项,其内部结构分别在附图2和附图3中加以展示。Its specific composition is shown in Figure 1, and it is divided into four parts: hierarchical data sources—standardized charts, environment display modules, perception modules, and data processing programs. The data processing program includes a layer processing program and a perception simulation program, and the internal structures thereof are shown in FIG. 2 and FIG. 3 respectively.

在海洋环境数据来源上,层次化数据源如S-57海图等标准化海图的定义具有层次化特点。如图1的左侧框所示,其一般包括深度信息层、水文信息层等多种信息层次,并且对于不同区域的海图文件,其包含层次往往有一定的区别。In terms of marine environmental data sources, the definition of standardized charts such as S-57 charts in hierarchical data sources has the characteristics of hierarchy. As shown in the left frame of Figure 1, it generally includes a depth information layer, a hydrological information layer and other information layers, and the chart files in different regions often have different levels of inclusion.

利用该特点,将层次化数据源利用QGIS等GIS软件进行分层处理,也即进入层处理程序。如附图2所示,首先进行任务判断,对于利用已有函数进行层处理任务,程序将其以物标类型为依据读取并拆分,并对每一层采用对应的层处理函数。对于此子流程而言,尤其重要的是对于其中的地形描述层的处理,提供的基本功能应有可以进行区域的滤波和平滑处理,以防止数据质量不好的海图产生的地形有过大的误差;可以进行区域的剪裁和编辑,以提高运算和读写速度;进行区域插值和拟合处理,以将粗糙离散值拟合成分辨率更好的连续值,最终产生可以导入虚拟环境的数字高程模型格式。若需要更加精细化的处理,可以诉诸更专业的三维建模软件。Using this feature, the hierarchical data source is processed hierarchically by using GIS software such as QGIS, that is, it enters the layer processing program. As shown in FIG. 2 , task judgment is first performed. For the layer processing task using existing functions, the program reads and splits it based on the object type, and uses the corresponding layer processing function for each layer. For this sub-process, it is particularly important to process the terrain description layer. The basic functions provided should be able to filter and smooth the area to prevent the terrain generated by the chart with poor data quality from being too large. It can perform regional clipping and editing to improve the speed of operation and reading and writing; perform regional interpolation and fitting processing to fit rough discrete values into continuous values with better resolution, and finally produce images that can be imported into the virtual environment. Digital Elevation Model format. If you need more refined processing, you can resort to more professional 3D modeling software.

对于自定义新函数进行层处理任务,用户可以定义新的物标类型,并根据该标识编写自定义函数,并将其存入数据库。For the layer processing task of the custom new function, the user can define a new object type, and write a custom function according to the identification, and store it in the database.

随后将产生的数字高程模型文件和其他预处理的物标类型层分层导入Gazebo等模拟软件。此后,地形信息显示层将成为其他各层的基础层。如附图2中间框所示,在导入Gazebo等模拟软件后,按每层的对应物标类型分别执行对应的处理操作,将每层所代表的真实物体模拟和叠加到地形层中。其中需要说明的是,一、需要模拟的层次是可以根据不同任务的需求进行人工选择的。例如,只涉及水环境时,RAILWY(railway)等陆上层不需选中,而LAKARE(Lake)等层次则是需要重点关注的。二、模拟和叠加实物的方式是引入外部Gazebo对象库作为默认例子,例如,BRIDGE(bridge)层就可使用常用标准桥梁样式进行模拟,按其数据结构、坐标格式、内容信息与地形层中的坐标对齐,从而自动地、结构化地模拟出所有需要的真实地形内容。当然,若要做到更加真实和个性化,用户也可导入自定义对象文件。三、当其他层与地形层内容、范围发生冲突时,以地形层为准,其方法是删除或询问用户如何处理其他图层的冲突部分。四、环境模拟部分提供新建自定义信息显示层次功能,可以为用户以任务为导向自定义添加信息显示层次,也可方便进一步处理不常见或无法统一处理的信息层,并且提供整合不同来源数据的能力,以及及时便捷更换任务导向模拟环境的要求。例如,可以在新建图层上添加预设的障碍物或通信禁区,通过打开该图层便可将该实体添加到整个环境中去,方便了不同任务场景下的切换。Then, the generated digital elevation model file and other preprocessed target type layers are imported into simulation software such as Gazebo. After that, the terrain information display layer will become the base layer for other layers. As shown in the middle frame of Figure 2, after importing simulation software such as Gazebo, the corresponding processing operations are performed according to the corresponding object type of each layer, and the real objects represented by each layer are simulated and superimposed into the terrain layer. It should be noted that, first, the level to be simulated can be manually selected according to the requirements of different tasks. For example, when only the water environment is involved, the onshore layers such as RAILWY (railway) do not need to be selected, while the layers such as LAKARE (Lake) need to be focused. 2. The way of simulating and superimposing objects is to introduce the external Gazebo object library as a default example. For example, the BRIDGE (bridge) layer can be simulated using the common standard bridge style, according to its data structure, coordinate format, content information and terrain layer. Coordinate alignment to automatically and structurally simulate all required real terrain content. Of course, to be more realistic and personalized, users can also import custom object files. 3. When other layers conflict with the content and scope of the terrain layer, the terrain layer shall prevail. The method is to delete or ask the user how to deal with the conflicting parts of other layers. 4. The environment simulation part provides the function of creating a new custom information display layer, which can be customized for users to add information display layers in a task-oriented manner, and it can also facilitate the further processing of information layers that are not common or cannot be processed uniformly, and provide data integration from different sources. capabilities, and the requirements for timely and convenient replacement of task-oriented simulation environments. For example, a preset obstacle or communication forbidden area can be added to a new layer, and the entity can be added to the entire environment by opening the layer, which facilitates switching between different task scenarios.

下一步是基于层次化海洋环境建模的水下机器人外部感知模拟。如上所述,环境实体被分割为不同层次,每个层次将会对水下机器人产生不同影响。因此,如附图1所示,将不同的信息显示层输入感知模拟程序,其具体内容见附图3。首先进行任务判断,对于利用已有函数进行感知模拟任务,程序将其以环境信息为依据读取并拆分,并对每一层采用对应的感知模拟函数。The next step is to simulate the external perception of underwater robots based on hierarchical ocean environment modeling. As mentioned above, the environmental entities are divided into different levels, and each level will have different effects on the underwater robot. Therefore, as shown in FIG. 1 , different information display layers are input into the perception simulation program, and the specific content is shown in FIG. 3 . First, the task is judged. For the perception simulation task using the existing function, the program reads and splits it based on the environmental information, and uses the corresponding perception simulation function for each layer.

对于此子流程而言,尤其重要的是对于其中的不同信息显示层的分别归类处理,信息显示层与感知模块的映射关系并不一定为单射,也即可能一个信息显示层会对不同的感知模块有影响,也可能多个信息显示层会对同一感知模块有影响,因此每个映射关系都会产生一个影响向量,最终再将所有影响向量按输出的感知模块类型做对应求合成运算,产生最终的所有感知模块值。对于自定义新函数进行层处理任务,用户可以定义输出的感知模块以及输入的环境信息类型,并根据两者编写自定义函数,并将其存入数据库。For this sub-process, it is particularly important to classify and process the different information display layers. The mapping relationship between the information display layer and the perception module is not necessarily monojective, that is, one information display layer may affect different The perceptual module has an impact, and it is also possible that multiple information display layers will have an impact on the same perceptual module, so each mapping relationship will generate an impact vector, and finally all the impact vectors will be combined according to the output perceptual module type. Produces final all perceptual module values. For the layer processing task of the custom new function, the user can define the output perception module and the input environment information type, and write a custom function according to the two, and store it in the database.

随后,将产生的感知模块值分模块以插件化的形式存入不同模块数据库。对于如附图1右侧框显示的模块数据库,与地形层为环境各层基础层相对应,碰撞检测模块为外部感知模拟各模块的基础模块,其决定了该模拟是否还能继续进行,其基本实现是使用包围盒法以判定空间内是否有地形、物体、其他机器人处于本机器人的包围盒内。除碰撞检测模块外,其他信息显示层对水下机器人所施加的影响,将按其类别交由力感知模块、视觉/光感知模块、声呐感知模块、电磁通信感知模块、地磁感知模块等进行处理。值得注意的是,这些模块采用与分层建模类似的设计思路和特点——允许选择性使用、有预设计算参数(水透光性、密度等)、基础层也即碰撞层优先处理、允许以任务为导向自定义模块。以上流程为不同任务提供了所需接口,例如,为模拟海底地形匹配导航提供了声呐感知模块、地磁感知模块和视觉/光感知模块,其主要应用于单个机器人中,用以提供对海底地形探测的有无和相应模拟信息,以及对应位置的地磁信息,其主要取决于机器人本体和地形的相对位置和角度,以及光照、深度等因素;为模拟水中通信组网提供了电磁通信感知模块,其主要应用于水下机器人集群或水下机器人-卫星通信中,用以测试标记实体间的通信状态,其取决于两者间的距离和两者间的地形等;为模拟控制水下机器人运动提供了水动力感知模块,其主要应用于运动控制项目中,用以提供水环境对机器人的诸如重浮力、流体力学相关等力学作用,其取决于机器人本体相对于水的运动状态、水密度、洋流情况等因素。Then, the generated perception module values are stored in different module databases in the form of plug-ins. For the module database shown in the right frame of Figure 1, the terrain layer is the base layer of each environment layer, and the collision detection module is the basic module of each module of external perception simulation, which determines whether the simulation can continue. The basic implementation is to use the bounding box method to determine whether there are terrains, objects, and other robots in the bounding box of the robot. In addition to the collision detection module, the influence exerted by other information display layers on the underwater robot will be processed by the force perception module, visual/optical perception module, sonar perception module, electromagnetic communication perception module, geomagnetic perception module, etc. . It is worth noting that these modules use similar design ideas and features to layered modeling - allowing selective use, preset calculation parameters (water light transmittance, density, etc.), the base layer is the collision layer priority processing, Allows for task-oriented custom modules. The above process provides the required interfaces for different tasks. For example, it provides a sonar perception module, geomagnetic perception module and visual/optical perception module for simulating seabed terrain matching and navigation, which are mainly used in a single robot to provide detection of seabed terrain. The presence or absence of the robot and the corresponding simulation information, as well as the geomagnetic information of the corresponding position, mainly depend on the relative position and angle of the robot body and the terrain, as well as factors such as illumination and depth; an electromagnetic communication perception module is provided for simulating underwater communication networking, which It is mainly used in underwater robot swarms or underwater robot-satellite communication to test the communication status between marked entities, which depends on the distance between the two and the terrain between the two; The hydrodynamic perception module is mainly used in motion control projects to provide the mechanical effects of the water environment on the robot, such as heavy buoyancy, hydrodynamics, etc., which depends on the motion state of the robot body relative to the water, water density, ocean currents, etc. circumstances and other factors.

最终,将各个感知模块根据需求输出至水下机器人本体模块中。综上所述,本发明方法基本实现了环境信息处理、显示以及环境与机器人本体交互的自动化和结构化,并且根据不同任务场景设计了丰富接口,以及由结构化带来的便捷的自定义和以任务为导向的选择功能,具有很好的可操作性和可扩展性。Finally, each perception module is output to the underwater robot body module according to the requirements. To sum up, the method of the present invention basically realizes the automation and structuring of environmental information processing, display and interaction between the environment and the robot ontology, and designs rich interfaces according to different task scenarios, as well as convenient customization and customization brought by structuring. Task-oriented selection function with good operability and scalability.

最后说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本技术方案的宗旨和范围,其均应涵盖在本发明的权利要求范围当中。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent replacements, without departing from the spirit and scope of the technical solution, should all be included in the scope of the claims of the present invention.

Claims (9)

1. An underwater robot virtual environment simulation method based on hierarchical ocean data is characterized by comprising the following steps: the method comprises the following steps:
s1: carrying out layered editing processing on the layered ocean data source;
s2: importing the layered data into a virtual environment according to simulation requirements for environment display, and providing a function of self-defining and creating an environment layer;
s3: carrying out external perception simulation on the underwater robot based on hierarchical marine environment modeling;
s4: storing the generated sensing analog value module into different module databases in a plug-in mode, and providing a function of self-defining and establishing a sensing module;
s5: and adding each sensing module in the module database into the underwater robot body module according to the requirement.
2. The method for simulating the virtual environment of the underwater robot based on the hierarchical ocean data according to claim 1, wherein: the hierarchical ocean data source has the hierarchical characteristic, the data of the hierarchical ocean data source comprises various information layers, the information layers have different types and characteristics according to the region of the chart file, and the information layers are convenient to structurally process after being preprocessed.
3. The method for simulating the virtual environment of the underwater robot based on the hierarchical ocean data according to claim 1, wherein: in step S1, the specific steps of performing hierarchical processing on the hierarchical ocean data source are as follows:
s11: firstly, judging a task, if the task can carry out layer processing by using an existing function, executing a step S12, otherwise, defining a new object type, writing a custom layer processing function according to the new object type, and storing the custom layer processing function in a function library;
s12: reading object type and layer data;
s13: reading and splitting the task based on the object type, indexing the existing layer processing functions, and adopting the corresponding layer processing function for each layer;
s14: executing the corresponding layer processing function;
s15: and outputting the display information of the corresponding format.
4. The method for simulating the virtual environment of the underwater robot based on the hierarchical ocean data according to claim 3, wherein: in step S1, for the processing of the terrain description layer, the layer processing function includes:
filtering and smoothing the region to reduce data errors;
cutting and editing the area to select the area for simulation;
and performing area interpolation and fitting processing to fit the rough discrete values into continuous values to improve the precision, and finally generating a digital elevation model format which can be introduced into a virtual environment.
5. The method for simulating the virtual environment of the underwater robot based on the hierarchical ocean data according to claim 1, wherein: in step S2, the generated digital elevation model file and other preprocessed object type layers are simulated in a layered manner, and a topographic information display layer is used as a base layer of other layers; the environment simulation part provides a function of newly creating a custom information display layer, allows a user to add an information display layer in a task-oriented custom manner, further processes an information layer which is not common or can not be processed uniformly, and provides the capability of integrating data from different sources; for each layer except the terrain layer, respectively executing corresponding processing operation according to the corresponding object mark type of each layer, and simulating and superposing the real object represented by each layer into the terrain layer; manually selecting the layers needing to be simulated according to the requirements of different tasks; the mode of simulating and superposing the real object is to introduce an external object library as a default example, so as to add discrete point information representing the position of the real object into the environment simulation; when the other layers conflict with the content and range of the terrain layer, the method is to delete or ask the user how to handle the conflicting parts of the other layers based on the terrain layer.
6. The underwater robot virtual environment simulation method based on the hierarchical ocean data according to claim 1, wherein: in step S2, the environmental entity is divided into information display layers, each layer has different effects on the underwater robot, and in step S3, the perception simulation is performed on the different information display layers, specifically including the following steps:
s31: firstly, judging a task, if the task can utilize the existing function to perform perception simulation, executing the step S32, otherwise, defining an output perception module, defining input environment information, compiling a custom perception simulation function, and storing the custom perception simulation function in a function library;
s32: reading environmental information;
s33: indexing the existing perception simulation function according to the environment information, and adopting the corresponding perception simulation function for each layer;
s34: executing the corresponding perception simulation function;
s35: outputting the signals to a corresponding sensing module;
s36: and carrying out perception synthesis with other perception values in the perception module.
7. The method for simulating the virtual environment of the underwater robot based on the hierarchical ocean data according to claim 1, wherein: in step S3, the different information display layers are classified and processed, the mapping relationship between the information display layer and the sensing module is not necessarily a single shot, each mapping relationship generates an influence vector, and finally, the corresponding synthesis calculation is performed on all the influence vectors according to the output type of the sensing module, so as to generate the final values of all the sensing modules.
8. The method for simulating the virtual environment of the underwater robot based on the hierarchical ocean data according to claim 1, wherein: in the module database of step S4, the collision detection module is a basic module for simulating each module by external perception; except for the collision detection module, the influence exerted by other information display layers on the underwater robot is processed by a force sensing module, a visual/optical sensing module, a sonar sensing module, an electromagnetic communication sensing module and a geomagnetic sensing module according to the types of the underwater robot; each module allows selective use of task guidance, has preset calculation parameters and supports modification, is subjected to priority processing of a base layer, and allows a user-defined module to take a task as guidance.
9. The method for simulating the virtual environment of the underwater robot based on the hierarchical ocean data according to claim 8, wherein: the module database provides a sonar perception module, a geomagnetic perception module, a visual perception module and a light perception module for simulating submarine topography matching navigation; providing an electromagnetic communication sensing module for simulating underwater communication networking; and a hydrodynamic force sensing module is provided for simulating and controlling the motion of the underwater robot.
CN202210219522.5A 2022-03-08 2022-03-08 Underwater robot virtual environment simulation method based on layering ocean data Active CN114595572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210219522.5A CN114595572B (en) 2022-03-08 2022-03-08 Underwater robot virtual environment simulation method based on layering ocean data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210219522.5A CN114595572B (en) 2022-03-08 2022-03-08 Underwater robot virtual environment simulation method based on layering ocean data

Publications (2)

Publication Number Publication Date
CN114595572A true CN114595572A (en) 2022-06-07
CN114595572B CN114595572B (en) 2023-05-16

Family

ID=81807603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210219522.5A Active CN114595572B (en) 2022-03-08 2022-03-08 Underwater robot virtual environment simulation method based on layering ocean data

Country Status (1)

Country Link
CN (1) CN114595572B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116226311A (en) * 2023-03-15 2023-06-06 广州海宁海务技术咨询有限公司 Navigation chart data processing and synthesizing method based on pay-per-flight
CN119339034A (en) * 2024-12-20 2025-01-21 杭州宇泛智能科技股份有限公司 Information superposition method of intelligent perception information in virtual space

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080093082A1 (en) * 2006-10-19 2008-04-24 Adel Sheshtawy Underwater seafloor drilling rig
US20190138921A1 (en) * 2017-11-07 2019-05-09 Schneider Electric Software, Llc Interactive guidance system for selecting thermodynamics methods in process simulations
US10429538B1 (en) * 2015-07-06 2019-10-01 The United States Of America, As Represented By The Secretary Of The Navy Underwater electromagnetic field measurement that factors in ocean dynamics
CN110992486A (en) * 2019-12-06 2020-04-10 海南诺亦腾海洋科技研究院有限公司 Shooting method of underwater simulation shooting system based on VR technology
CN112596412A (en) * 2020-12-11 2021-04-02 中国科学院沈阳自动化研究所 Multi-AUV simulation platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080093082A1 (en) * 2006-10-19 2008-04-24 Adel Sheshtawy Underwater seafloor drilling rig
US10429538B1 (en) * 2015-07-06 2019-10-01 The United States Of America, As Represented By The Secretary Of The Navy Underwater electromagnetic field measurement that factors in ocean dynamics
US20190138921A1 (en) * 2017-11-07 2019-05-09 Schneider Electric Software, Llc Interactive guidance system for selecting thermodynamics methods in process simulations
CN110992486A (en) * 2019-12-06 2020-04-10 海南诺亦腾海洋科技研究院有限公司 Shooting method of underwater simulation shooting system based on VR technology
CN112596412A (en) * 2020-12-11 2021-04-02 中国科学院沈阳自动化研究所 Multi-AUV simulation platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈鹏云: "多传感器条件下的AUV海底地形匹配导航研究", 中国博士学位论文全文数据库 工程科技Ⅱ辑 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116226311A (en) * 2023-03-15 2023-06-06 广州海宁海务技术咨询有限公司 Navigation chart data processing and synthesizing method based on pay-per-flight
CN116226311B (en) * 2023-03-15 2023-11-10 广州海宁海务技术咨询有限公司 Navigation chart data processing and synthesizing method based on pay-per-flight
CN119339034A (en) * 2024-12-20 2025-01-21 杭州宇泛智能科技股份有限公司 Information superposition method of intelligent perception information in virtual space
CN119339034B (en) * 2024-12-20 2025-05-06 杭州宇泛智能科技股份有限公司 Information superposition method of intelligent perception information in virtual space

Also Published As

Publication number Publication date
CN114595572B (en) 2023-05-16

Similar Documents

Publication Publication Date Title
Kraus et al. Immersive analytics with abstract 3D visualizations: A survey
Blindheim et al. Electronic navigational charts for visualization, simulation, and autonomous ship control
US20170090460A1 (en) 3D Model Generation From Map Data
US20170091993A1 (en) 3D Model Generation From Map Data and User Interface
CN109876441B (en) Rendering method and device in game, storage medium and electronic equipment
MX2012003606A (en) GRAPHIC OBJECTS OF DRAWINGS IN A 3D UNDERGROUND ENVIRONMENT.
Gao et al. An approach to solid modeling in a semi-immersive virtual environment
Roth et al. Making maps & visualizations for mobile devices: A research agenda for mobile-first and responsive cartographic design
CN114595572B (en) Underwater robot virtual environment simulation method based on layering ocean data
Takikawa et al. A dataset and explorer for 3D signed distance functions
CN119722962B (en) Deep sea three-dimensional environment deduction simulation analysis system based on big data
Djavaherpour et al. Physical visualization of geospatial datasets
CN112860839A (en) Water environment quality real-time monitoring method and device based on Unity3D
CN119339378A (en) Image description method, device, equipment and computer-readable storage medium
Pütz et al. The mesh tools package–introducing annotated 3d triangle maps in ros
CN118586062A (en) Method for establishing an in-situ monitoring system for deep-sea mining plumes based on digital twins
Agbossou Multi-Scalar urban digital twin design: Architecture and OpenUSD standards based methodology
Varinlioglu Digital in underwater cultural heritage
Gold et al. 3D geographic visualization: the Marine GIS
CN119379940B (en) Geographic information processing method, device, equipment and storage medium
CN117218284A (en) Three-dimensional simulation visualization method, system, equipment and medium for forest landscape
MERICSKAY Rethinking cartography on the geoweb: Principles, tools and modes of representation
Pouliot et al. 3D cadastres best practices, chapter 5: Visualization and new opportunities
Qi Application of the Computer Aided Drawing in the Wall Painting Artistic Creation
Scheler A Cultural History of Computer Graphics

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