CN104483845B - Ship autopilot algorithm testing simulation system - Google Patents

Ship autopilot algorithm testing simulation system Download PDF

Info

Publication number
CN104483845B
CN104483845B CN201410679964.3A CN201410679964A CN104483845B CN 104483845 B CN104483845 B CN 104483845B CN 201410679964 A CN201410679964 A CN 201410679964A CN 104483845 B CN104483845 B CN 104483845B
Authority
CN
China
Prior art keywords
ship
autopilot
module
panel
main frame
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.)
Expired - Fee Related
Application number
CN201410679964.3A
Other languages
Chinese (zh)
Other versions
CN104483845A (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.)
Dalian Maritime University
Original Assignee
Dalian Maritime 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 Dalian Maritime University filed Critical Dalian Maritime University
Priority to CN201410679964.3A priority Critical patent/CN104483845B/en
Publication of CN104483845A publication Critical patent/CN104483845A/en
Application granted granted Critical
Publication of CN104483845B publication Critical patent/CN104483845B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Navigation (AREA)

Abstract

本发明公开了一种船舶自动舵算法测试仿真系统,包括主框架、标准电子海图模块、船舶运动数学模型模块、航海计算工具箱模块、航线设计模块和自动舵控制器模块。本发明构建了标准电子海图模块,该模块基于国际标准的电子海图,能够加载全球的S57格式电子海图数据,且可任意比例尺无级缩放浏览全球海图,具多种数据显示方式和颜色显示方案,整个界面简洁美观。本发明可以设置不同的风流情况,使得船舶可以在逼真的海上干扰情况下模拟航行。使用者可以不受时间、地点的限制,可以在全球任意海域,大范围长时间的测试船舶自动舵,从而解决船舶自动舵实船测试存在风险大、调试周期长、费用高的问题。

The invention discloses a ship autopilot algorithm test simulation system, which comprises a main frame, a standard electronic chart module, a ship motion mathematical model module, a navigation calculation toolbox module, a route design module and an autopilot controller module. The invention builds a standard electronic chart module, which is based on international standard electronic charts, can load global electronic chart data in S57 format, and can browse global charts with any scale and stepless zooming, with multiple data display modes and Color display scheme, the entire interface is simple and beautiful. The invention can set different wind flow conditions, so that the ship can simulate sailing under realistic sea disturbance conditions. Users are not limited by time and place, and can test the ship's autopilot in any sea area around the world for a long time on a large scale, so as to solve the problems of high risk, long debugging period and high cost in the real ship test of the ship's autopilot.

Description

一种船舶自动舵算法测试仿真系统A test simulation system for ship autopilot algorithm

技术领域technical field

本发明涉及航海仿真领域中的一种船舶自动舵算法测试仿真系统。The invention relates to a ship autopilot algorithm test simulation system in the field of navigation simulation.

背景技术Background technique

水运是地区与地区之间、国与国之间进行大宗贸易最为有效的运输方式。世界经济发展水平的提高,促使各地区、各国之间贸易交往逐步深入,且交易量不断增大,从而导致海上交通密度不断增大,而且,船舶在海上航行时不可避免地会受到风、浪、流、雾、礁等因素的影响,对船舶运行产生干扰,因此,船舶运动控制是一个重要的研究领域,船舶运动控制器设计是其中一个重要的研究课题,其最终目标是提高船舶自动化、智能化水平,保证船舶航行的安全性、经济性和舒适性。Water transport is the most effective mode of transport for bulk trade between regions and between countries. The improvement of the level of world economic development has promoted the gradual deepening of trade exchanges between regions and countries, and the transaction volume has continued to increase, resulting in an increase in the density of maritime traffic. Moreover, ships will inevitably be affected by wind and waves when sailing at sea. , current, fog, reef and other factors will interfere with the operation of the ship. Therefore, ship motion control is an important research field, and the design of ship motion controller is one of the important research topics. The ultimate goal is to improve ship automation, The level of intelligence ensures the safety, economy and comfort of the ship's navigation.

控制论的全面繁荣为船舶运动控制器的设计提供了很多控制算法。特别是神经网络控制、模糊控制、混合智能控制、H∞鲁棒控制和非线性控制等理论都被不同程度地引入到船舶运动控制器的设计领域,为船舶运动控制学科的发展注入了活力。传统的自动舵算法从提出到投入工程实践的过程中需要多次上船进行实船测试即循回式测试,这种测试方案费用昂贵、周期长、危险系数高,在产品不能保证航行安全时用户船长不允许尝试使用进行测试的新算法。The overall prosperity of cybernetics provides many control algorithms for the design of ship motion controllers. In particular, the theories of neural network control, fuzzy control, hybrid intelligent control, H∞ robust control and nonlinear control have been introduced into the design field of ship motion controllers to varying degrees, injecting vitality into the development of ship motion control disciplines. The traditional autopilot algorithm needs to be tested on the ship many times in the process of putting it into engineering practice, that is, the loop test. This test solution is expensive, long in cycle, and high in risk factors. User Captain is not allowed to try new algorithms for testing.

在科学技术飞速发展的今天,计算机模拟仿真技术己经成为对许多复杂系统进行分析、设计、试验、评估的必不可少的手段,它以数学理论为基础,以计算机和各种物理设施为设备工具,利用系统模型对实际的或设想的系统进行试验仿真研究的一门综合技术,主要有物理仿真、数字仿真和物理-数字混合仿真等方法。针对船舶自动舵实船测试存在风险大、调试周期长、费用高的缺点,并方便科研人员对自动舵算法的研究。因此,将计算机模拟仿真技术应用在船舶自动舵算法测试中,设计船舶自动舵算法测试仿真系统可以有效地解决此类问题。Today, with the rapid development of science and technology, computer simulation technology has become an indispensable means to analyze, design, test and evaluate many complex systems. It is based on mathematical theory and uses computers and various physical facilities as equipment. It is a comprehensive technology that uses system models to conduct experimental simulation research on actual or imagined systems, mainly including physical simulation, digital simulation, and physical-digital hybrid simulation. Aiming at the shortcomings of high risk, long debugging period and high cost in the real ship test of ship autopilot, it is convenient for researchers to study the algorithm of autopilot. Therefore, applying computer simulation technology to the test of ship autopilot algorithm and designing a test simulation system for ship autopilot algorithm can effectively solve such problems.

在已有的利用计算机模拟仿真技术设计的船舶自动舵算法测试仿真系统中,有利用Matlab中Simulink工具箱进行系统仿真验证自动舵算法控制性能,但是要将这些程序用到产品样机中,程序转换过程相当复杂且需很大工作量;有基于全任务船舶操纵模拟器的船舶自动舵仿真测试平台,由于是基于全任务船舶操纵模拟器,所以购买及运行成本都较高,不利于普及,并且使用的是自定义光栅矢量化海图,显示不美观;也有一种基于VB的船舶自动舵算法仿真测试平台,由于是基于VB实现,所以平台执行效率不高,不利于快速测试自动舵算法,同时其使用的是简易墨卡托海图,测试海域范围的大小受限,只设置4个比例尺,不能无级缩放显示。In the existing ship autopilot algorithm test simulation system designed by computer simulation technology, the Simulink toolbox in Matlab is used to perform system simulation to verify the control performance of the autopilot algorithm, but these programs need to be used in the product prototype. The process is quite complicated and requires a lot of work; there is a ship autopilot simulation test platform based on a full-task ship maneuvering simulator. Because it is based on a full-task ship maneuvering simulator, the purchase and operation costs are high, which is not conducive to popularization, and It uses a custom raster vectorized chart, which is not beautiful to display; there is also a VB-based ship autopilot algorithm simulation test platform, because it is based on VB, the execution efficiency of the platform is not high, which is not conducive to quickly testing the autopilot algorithm. At the same time, it uses a simple Mercator chart, the size of the test sea area is limited, only 4 scales are set, and it cannot be zoomed in and out.

综上所述,当前的船舶自动舵算法测试系统主要存在以下问题:In summary, the current ship autopilot algorithm testing system mainly has the following problems:

1、没有采用国际标准的电子海图,显示粗糙不美观,不适合长时间大海域范围的测试。1. Electronic nautical charts that do not adopt international standards, the display is rough and unsightly, and it is not suitable for long-term testing in large waters.

2、在船舶自动舵算法测试时,无法实时调节自动舵算法的参数,以及无法实时修改测试航迹自动舵所需的航线。2. During the test of the ship's autopilot algorithm, the parameters of the autopilot algorithm cannot be adjusted in real time, and the route required for the test track autopilot cannot be modified in real time.

3、不能设置不同的仿真时间比例,从而无法快速测试船舶自动舵算法。3. Different simulation time ratios cannot be set, so that the ship autopilot algorithm cannot be quickly tested.

目前,能提供与海上实际情况相近的基于国际标准电子海图、可实时调节参数、快速测试的船舶自动舵算法测试仿真系统却尚无先例。At present, there is no precedent for a ship autopilot algorithm test simulation system that can provide a ship autopilot algorithm test simulation system based on international standard electronic charts, real-time adjustment parameters, and rapid testing that is similar to the actual situation at sea.

发明内容Contents of the invention

为解决现有船舶自动舵算法测试仿真系统的问题,本发明的目的是设计能提供与海上实际情况相近、实时调节参数、并且能设置仿真时间比例从而能够快速测试的一种船舶自动舵算法测试仿真系统。In order to solve the problems of the existing ship autopilot algorithm test simulation system, the purpose of the present invention is to design a kind of ship autopilot algorithm test that can provide similar to the actual situation at sea, adjust parameters in real time, and can set the simulation time ratio so as to be able to test quickly Simulation System.

为了实现上述目的,本发明的技术方案如下:一种船舶自动舵算法测试仿真系统,包括主框架、标准电子海图模块、船舶运动数学模型模块、航海计算工具箱模块、航线设计模块和自动舵控制器模块;所述的主框架采用的是VisualC++的MFC的单文档程序,其他各模块采用动态链接库接口技术进行封装设计;In order to achieve the above object, the technical solution of the present invention is as follows: a ship autopilot algorithm test simulation system, comprising a main frame, a standard electronic chart module, a ship motion mathematical model module, a navigation calculation toolbox module, a route design module and an autopilot Controller module; What described main framework adopted is the single-document program of the MFC of VisualC++, and other each module adopts dynamic link library interface technology to carry out encapsulation design;

所述的主框架是基于Visual C++的MFC的单文档程序,主要完成用户的交互显示界面,所述的交互显示界面包括主显示区、信息显示面板、环境设置面板、本船设置面板、操舵设置面板和操船面板;所述的主显示区包括显示绘制海图、活动距标圈、航线、本船图标和航迹;所述的信息显示面板包括显示本船的航向、航速、转艏角速度、纵横向速度、位置、目标航路点以及偏航距离;所述的环境设置面板用于设置修改自动舵算法测试时的外部干扰,外部干扰包括风速、风向、流速和流向;所述的本船设置面板用于选择自动舵算法测试时的船模,直接输入经纬度或通过鼠标设置本船位置,设置本船的航速和航向;所述的操舵设置面板用于选择操舵的类别和选择不同自动舵算法,以及设置仿真时间比例,仿真时间比例设为1或大于1,即仿真时间与实际时间的比例为1或大于1;所述的操船面板用于仿真测试的开关控制以及舵和车钟的控制和显示,同时也通过以调用动态链接库的形式与标准电子海图模块、船舶运动数学模型模块、航海计算工具箱模块、航线设计模块和自动舵控制器模块进行通讯;The main frame is a single-document program based on the MFC of Visual C++, which mainly completes the user's interactive display interface. The interactive display interface includes a main display area, an information display panel, an environment setting panel, an own ship setting panel, and a steering setting panel and the ship control panel; the main display area includes displaying charts, active range marker circles, routes, own ship icons and track; the information display panel includes displaying the ship's course, speed, turn rate, vertical and horizontal speed , position, target waypoint and yaw distance; the environment setting panel is used to set the external disturbance when modifying the autopilot algorithm test, the external disturbance includes wind speed, wind direction, current speed and flow direction; the own ship setting panel is used to select The ship model when the autopilot algorithm is tested, directly input the latitude and longitude or set the position of the ship through the mouse, and set the speed and course of the ship; the steering setting panel is used to select the type of steering, select different autopilot algorithms, and set the simulation time ratio , the simulation time ratio is set to 1 or greater than 1, that is, the ratio of the simulation time to the actual time is 1 or greater than 1; the ship control panel is used for the switch control of the simulation test and the control and display of the rudder and the car clock. Communicate with the standard electronic chart module, ship motion mathematical model module, navigation calculation toolbox module, route design module and autopilot controller module in the form of calling the dynamic link library;

所述的标准电子海图模块解析S57国际标准的电子海图数据,采用S-52标准显示绘制海图,加载全球的S57格式电子海图数据,且以任意比例尺无级缩放浏览全球海图,具有三种数据显示方式:基本显示、标准显示和全部显示;具有三种颜色方案:白天、傍晚和黑夜;The standard electronic chart module analyzes the electronic chart data of the S57 international standard, adopts the S-52 standard to display and draw the chart, loads the global electronic chart data in the S57 format, and browses the global chart with any scale stepless zooming, There are three data display methods: basic display, standard display and full display; there are three color schemes: day, evening and night;

所述的船舶运动数学模型模块是船舶运动控制器设计的基础,采用三自由度运动的MMG船舶数学模型,MMG船舶数学模型的主要特点是将作用于船舶上的流体动力和力矩按照物理意义,分解为作用于祼船体、敞水螺旋桨和敞水舵上的流体动力和力矩,以及它们之间的相互干涉流体动力和力矩;所述的三自由度运动包括纵荡运动、横荡运动和艏摇运动;The ship motion mathematical model module is the basis for the design of the ship motion controller. The MMG ship mathematical model of the three-degree-of-freedom motion is adopted. The main feature of the MMG ship mathematical model is that the fluid dynamics and moments acting on the ship are in accordance with the physical meaning. It is decomposed into the hydrodynamic force and moment acting on the bare hull, open water propeller and open water rudder, and the mutual interference hydrodynamic force and moment between them; the three-degree-of-freedom motion includes surge motion, sway motion and bow motion shake motion;

所述的航海计算工具箱模块包括常用的航海计算的功能函数、两经纬点间的距离及方位的计算、纬度渐长率的计算;Said navigational calculation toolbox module includes the functional functions of commonly used navigational calculations, the calculation of distance and azimuth between two longitude and latitude points, and the calculation of latitude gradation rate;

所述的航线设计模块用于设计测试航迹自动舵所需的航线;航线设计的功能全部集中在航线设计面板中,用户通过主框架的菜单,打开或关闭航线设计面板;用户通过鼠标在海图上实时增加、修改和删除航路点来设计航线;在海图上设计完航路点后,再在航线设计面板上命名航线,增加航线起讫港信息;在航线设计面板右边的航路点列表查看航路点的位置、相对距离和相对方位信息并能设置每条航线段的左右偏航距离;设计好的航线都显示在航线设计面板左边的航线列表中,对每条航线进行是否在海图上显示、导航、编辑、删除和保存操作;存储大量航线,并且对正在用于航迹控制的航线进行实时编辑和实时检测自动舵算法的控制效果;The route design module is used to design the required route for testing the track autopilot; the functions of the route design are all concentrated in the route design panel, and the user opens or closes the route design panel through the menu of the main frame; Add, modify and delete waypoints on the map in real time to design the route; after designing the waypoints on the chart, name the route on the route design panel, and add the origin and destination port information of the route; view the route in the waypoint list on the right side of the route design panel Point position, relative distance and relative orientation information and can set the left and right yaw distance of each route segment; the designed routes are displayed in the route list on the left side of the route design panel, and whether to display each route on the chart , navigation, editing, deletion and saving operations; store a large number of routes, and edit the routes being used for track control in real time and detect the control effect of the autopilot algorithm in real time;

所述的自动舵控制器模块用于加入用户设计的自动舵算法并测试自动舵算法。自动舵控制器模块由用户编写,以MFC扩展动态链接库的形式被主框架调用;自动舵控制器模块采用自定义标准的数据接口,自动舵控制器模块通过标准接口告诉主框架当前自动舵控制器模块有哪些控制算法,主框架则会相应的初始化主框架界面中的算法列表。测试自动舵算法时,主框架给控制模块提供输入参数,所述的输入参数包括主框架当前所选择的控制算法及所选的航线信息或保持的航向,船舶的位置、航速、航向、转艏角速度、目标航路点、偏航距离,船舶数学模型的船长、船宽、吃水、型深、排水量、方形系数。The autopilot controller module is used for adding the autopilot algorithm designed by the user and testing the autopilot algorithm. The autopilot controller module is written by the user and is called by the main framework in the form of an MFC extended dynamic link library; the autopilot controller module uses a self-defined standard data interface, and the autopilot controller module tells the main framework the current autopilot control through the standard interface Which control algorithms the controller module has, the main frame will correspondingly initialize the algorithm list in the main frame interface. When testing the autopilot algorithm, the main frame provides input parameters to the control module. The input parameters include the control algorithm currently selected by the main frame, the selected route information or the maintained heading, the ship's position, speed, heading, and bow. Angular velocity, target waypoint, yaw distance, length, breadth, draft, molded depth, displacement, square coefficient of the mathematical model of the ship.

与现有技术相比,本发明的优点和有益效果是:Compared with prior art, advantage and beneficial effect of the present invention are:

1、本发明构建了标准电子海图模块,该模块基于国际标准的电子海图,能够加载全球的S57格式电子海图数据,且可任意比例尺无级缩放浏览全球海图,具多种数据显示方式和颜色显示方案,整个界面简洁美观。本发明可以设置不同的风流情况,使得船舶可以在逼真的海上干扰情况下模拟航行。使用者可以不受时间、地点的限制,可以在全球任意海域,大范围长时间的测试船舶自动舵,从而解决船舶自动舵实船测试存在风险大、调试周期长、费用高的问题。本发明采用计算机模拟仿真技术,构建了能提供与海上实际情况相近的基于电子海图的船舶自动舵测试仿真系统。1. The present invention builds a standard electronic chart module, which is based on international standard electronic charts, can load global electronic chart data in S57 format, and can browse global charts with any scale and stepless zooming, with multiple data displays Mode and color display scheme, the entire interface is simple and beautiful. The invention can set different wind flow conditions, so that the ship can simulate sailing under realistic sea disturbance conditions. Users are not limited by time and place, and can test the ship's autopilot in any sea area around the world for a long time on a large scale, so as to solve the problems of high risk, long debugging period and high cost in the real ship test of the ship's autopilot. The invention adopts the computer simulation technology to construct the test simulation system of the automatic rudder of the ship based on the electronic chart which is similar to the actual situation at sea.

2、由于本发明已经搭建好整个自动舵测试环境,同时自动舵控制器模块通过标准接口协议,所以使用者只需集中精力研究并编写自动舵控制器模块中的自动舵算法,无需把时间耗费在搭建测试环境的过程中,大大方便了自动舵算法的研发人员,并且可在仿真运行时修改自动舵控制器参数,有利于快速直观地调出满意的自动舵控制器参数。本发明可设置仿真时间比例,既可设为与现实时间1:1仿真,也可设为超现实时间比例仿真,所以可节约等待结果的时间,快速计算检验仿真结果。本发明具有强大的航线设计功能,可以灵活设计并存储大量航线,并且正在用于航迹控制的航线可以实时编辑,实时验证控制算法的执行效果。本发明提供了多条船的运动数学模型,所以使用者可以对同一算法选用多条船进行测试,有利于测试算法对不同类型船舶的有效果。2. Since the present invention has built the entire autopilot test environment, and the autopilot controller module has passed the standard interface protocol, the user only needs to concentrate on researching and writing the autopilot algorithm in the autopilot controller module without wasting time In the process of building the test environment, it greatly facilitates the R&D personnel of the autopilot algorithm, and the parameters of the autopilot controller can be modified during the simulation run, which is conducive to quickly and intuitively calling out the satisfactory parameters of the autopilot controller. The present invention can set the simulation time ratio, which can be set as 1:1 simulation with real time, or can be set as surreal time ratio simulation, so it can save the time of waiting for the result and quickly calculate and check the simulation result. The invention has a powerful route design function, can flexibly design and store a large number of routes, and the routes being used for track control can be edited in real time, and the execution effect of the control algorithm can be verified in real time. The invention provides the motion mathematical model of multiple ships, so the user can select multiple ships for testing the same algorithm, which is beneficial to test the effectiveness of the algorithm on different types of ships.

附图说明Description of drawings

本发明共有附图4张,其中:The present invention has 4 accompanying drawings, wherein:

图1是本发明基于电子海图的船舶自动舵测试仿真系统。Fig. 1 is the ship autopilot test simulation system based on the electronic chart of the present invention.

图2是本发明基于电子海图的船舶自动舵测试仿真系统的操作流程图。Fig. 2 is an operation flowchart of the electronic chart-based ship autopilot test simulation system of the present invention.

图3是本发明基于电子海图的船舶自动舵测试仿真系统的系统主界面。Fig. 3 is the system main interface of the ship autopilot test simulation system based on the electronic chart of the present invention.

图4是本发明基于电子海图的船舶自动舵测试仿真系统的航线设计面板。Fig. 4 is the route design panel of the ship autopilot test simulation system based on the electronic chart of the present invention.

图中:1、主框架,2、电子海图模块,3、船舶运动数学模型模块,4、航海计算工具箱模块,5、航线设计模块,6、自动舵控制器模块。In the figure: 1. Main frame, 2. Electronic chart module, 3. Ship motion mathematical model module, 4. Navigation calculation toolbox module, 5. Route design module, 6. Autopilot controller module.

具体实施方式detailed description

具体实施方式 detailed description

下面结合附图对本发明进行进一步地描述。如图1所示,The present invention will be further described below in conjunction with the accompanying drawings. As shown in Figure 1,

基于电子海图的船舶自动舵测试仿真系统包括主框架1、电子海图模块2、船舶运动数学模型模块3、航海计算工具箱模块4、航线设计模块5、自动舵控制器模块6。所述的主框架1采用的是Visual C++的MFC的单文档程序,其他各模块采用动态链接库接口技术进行封装设计;The ship autopilot test simulation system based on the electronic chart includes the main frame 1, the electronic chart module 2, the ship motion mathematical model module 3, the navigation calculation toolbox module 4, the route design module 5, and the autopilot controller module 6. What described main frame 1 adopted is the single-document program of the MFC of Visual C++, and other each module adopts dynamic link library interface technology to carry out encapsulation design;

所述的主框架1是基于Visual C++的MFC的单文档程序,主要完成用户的交互显示界面,交互显示界面包括:①主显示区:显示绘制海图、活动距标圈、航线、本船图标、航迹;②信息显示面板:显示本船的航向、航速、转艏角速度、纵横向速度、位置、目标航路点、偏航距离;③环境设置面板:用于设置修改自动舵算法测试时的外部干扰,包括风速、风向、流速、流向;④本船设置面板:用于包括选择自动舵算法测试时的船模,直接输入经纬度或通过鼠标设置本船位置,设置本船的航速、航向;⑤操舵设置面板:用于选择操舵的类别和选择不同自动舵算法,以及设置仿真时间比例,仿真时间比例设为1或大于1,即仿真时间与实际时间的比例为1或大于1;⑥操船面板;用于包括仿真测试的开关控制以及舵和车钟的控制和显示。同时也通过以调用动态链接库的形式与电子海图模块2、船舶运动数学模型模块3、航海计算工具箱模块4、航线设计模块5、自动舵控制器模块6进行交互;Described main frame 1 is the single-document program based on the MFC of Visual C++, mainly completes the user's interactive display interface, and interactive display interface comprises: 1. main display area: display and draw chart, active distance mark circle, route, own ship icon, Track; ②Information display panel: display the ship's heading, speed, yaw rate, vertical and horizontal speed, position, target waypoint, and yaw distance; ③Environmental setting panel: used to set and modify the external interference during the autopilot algorithm test , including wind speed, wind direction, current speed, and flow direction; ④ Own ship setting panel: used to include the selection of the ship model during the autopilot algorithm test, directly input longitude and latitude or set the position of the own ship through the mouse, and set the speed and course of the own ship; ⑤ Steering setting panel: It is used to select the steering category and select different autopilot algorithms, and to set the simulation time ratio. The simulation time ratio is set to 1 or greater than 1, that is, the ratio of simulation time to actual time is 1 or greater than 1; ⑥Steering panel; used to include The switch control of the simulation test and the control and display of the rudder and the car clock. At the same time, it also interacts with the electronic chart module 2, the ship motion mathematical model module 3, the navigation calculation toolbox module 4, the route design module 5, and the autopilot controller module 6 in the form of calling the dynamic link library;

所述的电子海图模块2,可以解析S57国际标准的电子海图数据,采用S-52标准显示绘制海图。能够加载全球的S57格式电子海图数据,且可任意比例尺无级缩放浏览全球海图。具有三种数据显示方式:基本显示、标准显示、全部显示;具有三种颜色方案:白天、傍晚、黑夜。The electronic chart module 2 can analyze the electronic chart data of the S57 international standard, and adopt the S-52 standard to display and draw the chart. It can load global electronic chart data in S57 format, and browse global charts with any scale and stepless zoom. There are three data display methods: basic display, standard display, and full display; there are three color schemes: day, evening, and night.

所述的船舶运动数学模型模块3是船舶运动控制器设计的基础,本系统采用三自由度运动(即纵荡运动、横荡运动和艏摇运动)的MMG船舶数学模型,MMG模型的主要特点是将作用于船舶上的流体动力和力矩按照物理意义,分解为作用于祼船体、敞水螺旋桨和敞水舵上的流体动力和力矩,以及它们之间的相互干涉流体动力和力矩。The ship motion mathematical model module 3 is the basis for the design of the ship motion controller. This system adopts the MMG ship mathematical model of the three-degree-of-freedom motion (ie surge motion, sway motion and yaw motion). The main characteristics of the MMG model It is to decompose the fluid power and moment acting on the ship into the hydrodynamic force and moment acting on the naked hull, open water propeller and open water rudder according to the physical meaning, and the mutual interference between them.

所述的航海计算工具箱模块4主要包括了一些常用的航海计算的功能函数,包括两经纬点间的距离及方位的计算,纬度渐长率的计算等。The navigation calculation toolbox module 4 mainly includes some commonly used functions of navigation calculation, including the calculation of the distance and azimuth between two longitude and latitude points, the calculation of the latitude gradient rate, and the like.

所述的航线设计模块5主要用于设计测试航迹自动舵所需的航线。航线设计的功能全部集中在航线设计面板中,用户可以通过系统菜单中的视图,打开或关闭航线设计面板;用户可以通过鼠标在海图上实时增加,修改,删除航路点来设计航线;在海图上设计完航路点后,可以在航线设计面板上命名航线,增加航线起讫港信息;在航线设计面板右边的航路点列表查看航路点的位置,相对距离,相对方位信息并能设置每条航线段的左右偏航距离;设计好的航线都显示在航线设计面板左边的航线列表中,可以对每条航线进行是否在海图上显示、导航、编辑、删除、保存等操作;可以存储大量航线,并且正在用于航迹控制的航线可以实时编辑,实时检测自动舵算法的控制效果。The route design module 5 is mainly used for designing the route required for testing the track autopilot. The functions of route design are all concentrated in the route design panel. Users can open or close the route design panel through the view in the system menu; After designing the waypoints on the map, you can name the route on the route design panel, and add the origin and destination port information of the route; view the position, relative distance, and relative bearing information of the waypoints in the waypoint list on the right side of the route design panel, and set each route The left and right yaw distance of each segment; the designed routes are displayed in the route list on the left of the route design panel, and you can perform operations such as whether to display, navigate, edit, delete, and save each route on the chart; a large number of routes can be stored , and the route being used for track control can be edited in real time, and the control effect of the autopilot algorithm can be detected in real time.

所述的自动舵控制器模块6是用于加入用户设计的自动舵算法并在系统中测试自动舵算法。因此,自动舵控制器模块6通常由用户编写。自动舵控制器模块6是以MFC扩展动态链接库的形式被主框架调用,可以包含一种或多种自动舵算法。自动舵控制器模块6采用自定义标准的数据接口,自动舵控制器模块6通过标准接口告诉主框架1当前自动舵控制器模块6有哪些自动舵算法,主框架1则会相应的初始主框架界面中的自动舵算法列表。测试自动舵算法时,主框架1给自动舵控制器模块6提供的输入包括:主框架1当前所选择的自动舵算法及所选的航线信息或保持的航向;船舶的位置、航速、航向、转艏角速度、目标航路点、偏航距离;船舶数学模型的船长、船宽、吃水、型深、排水量、方形系数等数据。The autopilot controller module 6 is used for adding the autopilot algorithm designed by the user and testing the autopilot algorithm in the system. Therefore, the autopilot controller module 6 is usually written by the user. The autopilot controller module 6 is called by the main framework in the form of an MFC extended dynamic link library, and may contain one or more autopilot algorithms. The autopilot controller module 6 adopts a self-defined standard data interface, and the autopilot controller module 6 tells the main frame 1 which autopilot algorithms the current autopilot controller module 6 has through the standard interface, and the main frame 1 will respond to the corresponding initial main frame List of autopilot algorithms in the interface. When testing the autopilot algorithm, the input provided by the main frame 1 to the autopilot controller module 6 includes: the currently selected autopilot algorithm of the main frame 1 and the selected route information or the heading maintained; the ship's position, speed, heading, Steering angle speed, target waypoint, yaw distance; data such as ship length, ship width, draft, molded depth, displacement, square coefficient, etc. of the ship mathematical model.

本发明的工作方法,包括以下步骤(仿真操作主流程见图2):The working method of the present invention comprises the following steps (the simulation operation main flow is shown in Fig. 2):

A、启动系统。A. Start the system.

B、测试自动舵算法:用户开始测试自动舵算法,需首先选择操舵模式,若选择航迹自动舵,需选择自动舵算法和航线,若没有航线,则要新建一条航线。若选择航向自动舵,需设置保持的航向。B. Test the autopilot algorithm: To test the autopilot algorithm, the user needs to select the steering mode first. If the track autopilot is selected, the autopilot algorithm and route must be selected. If there is no route, a new route must be created. If heading autopilot is selected, the heading to hold needs to be set.

C、参数设置:设置风流环境参数及本船的位置、航向、速度等参数。C. Parameter setting: set wind current environment parameters and the ship's position, heading, speed and other parameters.

D、开始仿真:点击操船面板上的“开始”按扭开始仿真,随之“开始”按扭变为“结束”按扭。运行的过程中可进行暂停仿真、修改风流设置、修改仿真时间比例等操作。D. Start the simulation: Click the "Start" button on the steering panel to start the simulation, and then the "Start" button will change to the "End" button. During the running process, operations such as pausing the simulation, modifying the wind flow setting, and modifying the simulation time ratio can be performed.

E、结束仿真:点击“结束”按扭结束仿真,同时会提示用户是否保存本次仿真测试数据。用户可对记录文件命名并选择目录进行保存。E. End simulation: Click the "End" button to end the simulation, and at the same time it will prompt the user whether to save the simulation test data. The user can name the record file and select a directory to save it.

F、退出系统。F. Exit the system.

本发明各子系统的实施方式如下:The implementation mode of each subsystem of the present invention is as follows:

1、主框架1的实施方式1. Implementation of main frame 1

主框架1是在Windows操作系统上使用Visual Studio 2010平台进行搭建,主框架1主要完成用户的交互显示界面,包括主显示区、信息显示面板、环境设置面板、本船设置面板、操舵设置面板、操船面板。同时也通过以调用动态链接库的形式调用其他子模块。The main frame 1 is built on the Windows operating system using the Visual Studio 2010 platform. The main frame 1 mainly completes the user's interactive display interface, including the main display area, information display panel, environment setting panel, own ship setting panel, steering setting panel, ship steering panel. At the same time, it also calls other submodules in the form of calling dynamic link libraries.

用户界面是本发明和用户之间进行交互和信息交换的媒介,实现了信息的内部形式与用户可以接受形式之间的转换。因此,用户界面是本发明中非常重要的方面,设计时既要保证界面美观大方又要符合用户的操作习惯。用户能够通过界面对本发明进行各种操作,也能直观检验自动舵的控制效果。主框架1具体是采用MFC的单档模式框架,默认可选择多种应用程序外观。其他显示控制面板都基于可浮动停靠的MFC控件,用户若不习惯系统的默认布局,可以按用户个人习惯重新布局,也可关闭或显示全部显示控制面板。实现的默认主界面如图3所示。The user interface is a medium for interaction and information exchange between the present invention and users, and realizes the conversion between the internal form of information and the form acceptable to users. Therefore, the user interface is a very important aspect of the present invention, and it is necessary to ensure that the interface is beautiful and elegant while also conforming to the user's operating habits during design. The user can perform various operations on the present invention through the interface, and can also visually check the control effect of the autopilot. The main frame 1 is specifically a single-file mode frame using MFC, and multiple application appearances can be selected by default. Other display control panels are based on floating and dockable MFC controls. If users are not used to the default layout of the system, they can rearrange the layout according to the user's personal habits, or close or display all display control panels. The default main interface implemented is shown in Figure 3.

2、电子海图模块22. Electronic chart module 2

电子海图模块2通过解析S57国际标准的电子海图数据,然后采用S-52标准显示绘制海图。该电子海图显示模块能够加载全球的S57格式电子海图数据,根据当前窗口的地理显示范围,自动加载相应的海图,且可任意比例尺无级缩放浏览全球海图。电子海图模块2是封装成标准的动态链接库,其对外提供了绘图显示,显示模式等功能接口函数。这样主框架1调用相应的函数,就能完成海图的显示。海图的显示是在主框架1中主视图类CShipAutoControlView中的OnPaint函数中完成:The electronic chart module 2 analyzes the electronic chart data of the S57 international standard, and then adopts the S-52 standard to display and draw the chart. The electronic chart display module can load global electronic chart data in S57 format, automatically load corresponding charts according to the geographic display range of the current window, and browse global charts with any scale and stepless zoom. The electronic chart module 2 is encapsulated into a standard dynamic link library, which provides external interface functions such as drawing display and display mode. In this way, the main frame 1 calls the corresponding function to complete the display of the chart. The display of the chart is completed in the OnPaint function of the main view class CShipAutoControlView in the main frame 1:

3、船舶运动数学模型模块33. Ship motion mathematical model module 3

船舶运动模型是设计实现船舶自动舵算法测试仿真系统的核心,所以首先需完成船舶运动数学模型的建模。本发明建立的是三自由度运动(即纵荡运动、横荡运动和艏摇运动)的MMG船舶运动数学模型,以MMG模型为基础建立船舶平面运动方程如下式:The ship motion model is the core of the design and implementation of the ship autopilot algorithm test simulation system, so it is necessary to complete the modeling of the ship motion mathematical model first. What the present invention establishes is the MMG ship motion mathematical model of three-degree-of-freedom motion (that is, surge motion, sway motion and yaw motion), and is based on the MMG model to establish the ship plane motion equation as follows:

(( mm ++ mm xx )) uu ·· rr -- (( mm ++ mm ythe y )) vv rr rr == Xx hh ++ Xx pp ++ Xx rr ++ Xx ee (( mm ++ mm ythe y )) vv ·&Center Dot; rr ++ (( mm ++ mm xx )) uu rr rr == YY hh ++ YY pp ++ YY rr ++ YY ee (( II zz zz ++ JJ zz zz )) rr ·· == NN hh ++ NN pp ++ NN rr ++ NN ee -- -- -- (( 11 ))

其中,m为船体质量;mx、my分别为船舶纵向和横向的附加质量;Izz、Jzz分别为船舶的艏摇和附加惯性矩;ur和vr为船舶对水速度;X、Y、N为作用于船体上的外力和力矩,下标h、p、r、e分别代表船体、螺旋桨、舵以及外界环境。Among them, m is the mass of the hull; m x , m y are the additional mass of the ship longitudinally and laterally; I zz , J zz are the yaw and additional moment of inertia of the ship respectively; u r and v r are the speed of the ship through the water; X , Y, and N are the external forces and moments acting on the hull, and the subscripts h, p, r, and e represent the hull, propeller, rudder, and external environment, respectively.

船舶运动数学模型模块3主要的功能是根据主框架1中选择的船模,设置的风流环境参数、以及本船的航向、航速等参数,先计算出式(1)中风流等作用于船体上的外力和力矩,然后利用龙格库塔方法求解式(1),求出船舶的纵横向速度及转艏角速度。船舶运动数学模型的解算具体是在主框架1中主视图类CShipAutoControlView中的OnTimer定时器函数中调用,该定时器每隔0.5秒触发一次,进而解算得到船舶动态数据。OnTimer函数部分如下:The main function of the ship motion mathematical model module 3 is to first calculate the wind current acting on the hull in formula (1) External forces and moments, and then use the Runge-Kutta method to solve formula (1) to obtain the ship's vertical and horizontal velocities and bow angular velocities. The calculation of the ship motion mathematical model is specifically called in the OnTimer timer function in the main view class CShipAutoControlView in the main frame 1. The timer is triggered every 0.5 seconds, and then the ship dynamic data is obtained through calculation. The OnTimer function part is as follows:

4、航海计算工具箱模块44. Navigation calculation toolbox module 4

航海计算工具箱模块4主要将一些常用的航海计算的功能函数都封装在一个动态链接库中,然后供主框架1调用。其主要包括两经纬点间的距离及方位的计算,纬度渐长率的计算等功能。The navigation calculation toolbox module 4 mainly encapsulates some commonly used navigation calculation functions in a dynamic link library, which is then called by the main frame 1. It mainly includes the calculation of the distance and azimuth between two latitude and longitude points, the calculation of the latitude gradient rate and other functions.

5、航线设计模块55. Route design module 5

航线设计模块5主要用于设计测试航迹自动舵所需的航线。该模块被封装成扩展的MFC动态链接库,航线设计的功能主要集中在航线设计面板上,用户可以通过系统菜单中的视图,打开或关闭航线设计面板;航线设计的功能包括在海图上实时增加,修改,删除航路点来设计航线;设置航线名、起讫港信息;在航线设计面板右边的航路点列表查看航路点的位置,相对距离,相对方位信息并能设置每条航线段的左右偏航距离;设计好的航线都显示在航线设计面板左边的航线列表中,可以对每条航线进行是否在海图上显示、导航、编辑、删除、保存等操作;航线设计面板界面如图4所示。The route design module 5 is mainly used for designing the route required for testing the track autopilot. This module is encapsulated into an extended MFC dynamic link library. The route design functions are mainly concentrated on the route design panel. Users can open or close the route design panel through the view in the system menu; the route design functions include real-time display on the chart. Add, modify, and delete waypoints to design routes; set route names, origin and destination information; check the position, relative distance, and relative orientation information of waypoints in the waypoint list on the right side of the route design panel, and set the left and right deviation of each route segment Navigation distance; the designed routes are displayed in the route list on the left side of the route design panel, and you can perform operations such as whether to display, navigate, edit, delete, and save each route on the chart; the interface of the route design panel is shown in Figure 4 Show.

6、自动舵控制器模块66. Autopilot controller module 6

自动舵控制器模块6是用于加入用户设计的自动舵算法并在系统中测试自动舵算法。因此,自动舵控制器模块6通常由用户编写。自动舵控制器模块6是以MFC扩展动态链接库的形式被主框架调用,可以包含一种或多种自动舵算法。自动舵控制器模块6采用自定义标准的数据接口,自动舵控制器模块6通过标准接口告诉主框架当前自动舵控制器模块6有哪些自动舵算法,主框架1则会相应的初始主框架界面中的自动舵算法列表。主框架1给自动舵控制器模块6提供的输入包括系统当前所选择的自动舵算法、船模、所选的航线信息等数据。提供的自动舵接口函数是autoPilot(),autoPilot函数部分如下:The autopilot controller module 6 is used to add the autopilot algorithm designed by the user and test the autopilot algorithm in the system. Therefore, the autopilot controller module 6 is usually written by the user. The autopilot controller module 6 is called by the main framework in the form of an MFC extended dynamic link library, and may contain one or more autopilot algorithms. The autopilot controller module 6 uses a self-defined standard data interface. The autopilot controller module 6 tells the main frame which autopilot algorithms the current autopilot controller module 6 has through the standard interface, and the main frame 1 will display the corresponding initial main frame interface. List of autopilot algorithms in . The input provided by the main frame 1 to the autopilot controller module 6 includes data such as the autopilot algorithm currently selected by the system, the ship model, and the selected route information. The autopilot interface function provided is autoPilot(), and the autoPilot function part is as follows:

本发明实现了以下功能:The present invention has realized following function:

1、海图功能。本发明能够加载全球的S57格式电子海图数据,本发明运行前,用户将*.000文件放置在指定目录,本发明运行时就能够根据当前窗口范围自动加载相应位置的海图;可任意比例尺无级缩放浏览海图;三种数据显示方式:基本显示、标准显示、全部显示;三种颜色方案:白天、傍晚、黑夜;1. Nautical chart function. The present invention can load global electronic chart data in S57 format. Before the present invention runs, the user places the *.000 file in the specified directory, and the present invention can automatically load the chart at the corresponding position according to the current window range when the present invention is running; any scale can be used Stepless zooming to browse charts; three data display methods: basic display, standard display, and full display; three color schemes: day, evening, and night;

2、航线设计功能。用户可以通过本发明菜单中的视图,打开或关闭航线设计面板;用户可以通过鼠标在海图上实时增加,修改,删除航路点来设计航线;在海图上设计完航路点后,可以在航线设计面板上命名航线,增加航线起讫港信息;在航线设计面板右边的航路点列表查看航路点的位置,相对距离,相对方位信息并能设置每条航线段的左右偏航距离;设计好的航线都显示在航线设计面板左边的航线列表中,可以对每条航线进行是否在海图上显示、导航、编辑、删除、保存等操作;可以存储大量航线,并且正在用于航迹控制的航线可以实时编辑,实时检测自动舵算法的控制效果。2. Route design function. The user can open or close the route design panel through the view in the menu of the present invention; the user can add, modify, and delete waypoints on the chart in real time to design the route through the mouse; Name the route on the design panel, add the origin and destination port information of the route; view the position, relative distance, and relative bearing information of the waypoint in the waypoint list on the right side of the route design panel, and set the left and right yaw distance of each route segment; the designed route All are displayed in the route list on the left side of the route design panel, and operations such as displaying, navigating, editing, deleting, and saving each route on the chart can be performed; a large number of routes can be stored, and the routes being used for track control can be Real-time editing, real-time detection of the control effect of the autopilot algorithm.

3、设置功能。主要包括以下功能:①环境设置:可以实时设置修改控制器测试时的外部干拢,包括风速、风向、流速、流向;②本船设置:可选择控制器测试时的船模,直接输入经纬度或通过鼠标设置本船位置,设置本船的航速、航向;③操舵设置:用户可以选择手操舵、航迹自动舵、航向自动舵;选择手操舵可通过船舶的车钟和舵控制船舶运动;自动舵可选择不同自动舵算法,航迹自动舵可选择不同的航线,航向自动舵需输入保持的航向;④控制器参数设置:控制器研发人员可设置并在仿真运行时调整控制器参数;⑤仿真时间比例设置:既可设为与现实时间1:1仿真,也可设为超现实时间比例仿真。3. Set the function. It mainly includes the following functions: ①environment setting: you can set and modify the external parameters of the controller test in real time, including wind speed, wind direction, flow speed, and flow direction; Use the mouse to set the position of the ship, and set the speed and course of the ship; ③ Steering setting: the user can choose hand steering, track autopilot, and heading autopilot; choose hand steering to control the ship's movement through the ship's car bell and rudder; the autopilot can be selected Different autopilot algorithms, the track autopilot can select different routes, and the course autopilot needs to input the maintained course; ④Controller parameter setting: Controller developers can set and adjust controller parameters during simulation running; ⑤Simulation time ratio Setting: It can be set as 1:1 simulation with real time, or it can be set as surreal time scale simulation.

4、显示功能。在海图上显示本船和航迹;大比例尺时,以按船的实际长宽在海图上显示,在小比例尺时,以两个同心圆显示;可以选择航迹线显示的粗细和颜色;以数据或曲线的形式显示本船的位置、航向、航速、目标航路点、偏航距离等信息;当测试自动舵时,控制器输出的命令舵角会实时刷新操舵面板上的舵控件指示角,这样更能形象的观察自动舵算法的有效性。4. Display function. Display the own ship and track on the chart; when the scale is large, it will be displayed on the chart according to the actual length and width of the ship; when the scale is small, it will be displayed in two concentric circles; the thickness and color of the track line can be selected; Display the ship's position, course, speed, target waypoint, yaw distance and other information in the form of data or curves; when testing the autopilot, the command rudder angle output by the controller will refresh the rudder control indication angle on the steering panel in real time, In this way, the effectiveness of the autopilot algorithm can be observed more vividly.

5、记录和回放功能。一个仿真结束后自动提示是否保存本次仿真的所有本船动态信息、操舵记录、所选自动舵算法和航线、相应的风流环境设置等有效数据。这样用户可以通过回放分析仿真数据,对比自动舵算法的性能。5. Record and playback function. After a simulation is over, it will automatically prompt whether to save all valid data such as the ship’s dynamic information, steering records, selected autopilot algorithms and routes, and corresponding wind flow environment settings in this simulation. This allows users to analyze simulation data through playback and compare the performance of the autopilot algorithms.

6、其他功能。有方位距标圈工具,可在海图上测量距离和方位。6. Other functions. There is the bearing range ring tool to measure distance and bearing on the chart.

Claims (1)

1. a Marine Autopilot test of heuristics analogue system, it is characterised in that: include main frame (1), mark Quasi-electronic chart module (2), ship motion mathematical model module (3), navigation calculate workbox module (4), Flight-line design module (5) and autopilot controller module (6);Described main frame (1) uses Visual The single document program of the MFC of C++, other each modules use dynamic chanining bank interface technology to be packaged design;
Described main frame (1) is the single document program of MFC based on Visual C++, completes user's Mutual display interface, described mutual display interface includes main viewing area, information display panel, ambient As Panel, this ship arrange panel, steering arranges panel and behaviour's deck plate;Described main viewing area includes that display is painted Sea chart processed, variable range marker circle, course line, this STOWAGE PLAN mark and flight path;Described information display panel includes display This ship's head, the speed of a ship or plane, turn bow angular velocity, vertically and horizontally speed, position, target course point and driftage away from From;External disturbance when described ambient As panel is for arranging amendment autopilot algorithm test, outside dry Disturb and include wind speed, wind direction, flow velocity and the flow direction;This described ship arranges panel for selecting autopilot algorithm to survey Ship model during examination, directly inputs longitude and latitude or arranges this ship position by mouse, arranges the speed of a ship or plane and the boat of this ship To;Described steering arranges panel for selecting classification and the different autopilot algorithms of selection, the Yi Jishe of steering Putting simulation time ratio, simulation time ratio is set to 1 or more than 1, i.e. simulation time and the ratio of actual time It is 1 or more than 1;Described behaviour's deck plate for the on-off control of emulation testing and the control of rudder and carriage clock and Display, simultaneously also by call form and standard electronic sea chart module (2), the boats and ships fortune of dynamic link library Dynamic mathematical model module, navigation calculate workbox module, flight-line design module (5) and autopilot controller mould Block (6) carries out communication;
Described standard electronic sea chart module (2) resolves the electronic chart data of S57 international standard, uses S-52 Standard display charting, loads the S57 form electronic chart data in the whole world, and stepless with arbitrary scale Scaling browses whole world sea chart, has three kinds of data display modes: basic display, standard show and all show; There are three kinds of Color schemes: daytime, dusk and night;
Described ship motion mathematical model module (3) is the basis of ship motion controller device design, uses three The MMG Ship autopilots of degree of freedom motion, being mainly characterized by of MMG Ship autopilots will act on Fluid dynamic on boats and ships and moment according to physical significance, be decomposed into act on hull, spacious water propeller and Fluid dynamic on spacious water rudder and moment, and interfere fluid dynamic and moment between them;Described Three-degree-of-freedom motion include surge motion, swaying motion and yawing campaign;
Described navigation calculates the power function of navigation calculating, two longitudes and latitudes that workbox module (4) includes commonly using Distance between point and the calculating in orientation, the calculating of meridional parts;
Described flight-line design module (5) is for designing the course line needed for test flight path autopilot;Flight-line design Function all concentrate in flight-line design panel, user, by the menu of main frame (1), opens or closes Flight-line design panel;User is increased, revises and deletes way point on sea chart in real time and designs boat by mouse Line;After the complete way point of drawing design of sea, then on flight-line design panel, name course line, increase course line the beginning and the end Port information;The position of way point, relative distance and phase are checked in way point list on the right of flight-line design panel To azimuth information left and right cross track distance that every course line section can be arranged;The course line designed is shown in course line In the course line list on the design panel left side, be made whether every course line to show on sea chart, navigate, edit, Delete and preserve operation;Store a large amount of course line, and the course line being used for flight tracking control is compiled in real time Collect and detect in real time the control effect of autopilot algorithm;
Described autopilot controller module (6) is for adding the autopilot algorithm of access customer design and testing automatically Rudder algorithm;Autopilot controller module (6) is write by user, with the form of MFC extended dynamic chained library Called by main frame (1);Autopilot controller module (6) uses the data-interface of self-defined standard, from Dynamic rudder controller module (6) tells main frame (1) current autopilot controller module (6) by standard interface Having which autopilot algorithm, it is automatic that main frame (1) then can initialize in main frame (1) interface accordingly Rudder algorithm list;During test autopilot algorithm, main frame (1) provides input parameter to control module, described Input parameter include the currently selected autopilot algorithm of main frame (1) and selected route information or holding Course, the position of boats and ships, the speed of a ship or plane, course, turn bow angular velocity, target course point, cross track distance, ship The captain of oceangoing ship mathematical model, the beam, drinking water, moldeed depth, displacement, Block Coefficient.
CN201410679964.3A 2014-11-21 2014-11-21 Ship autopilot algorithm testing simulation system Expired - Fee Related CN104483845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410679964.3A CN104483845B (en) 2014-11-21 2014-11-21 Ship autopilot algorithm testing simulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410679964.3A CN104483845B (en) 2014-11-21 2014-11-21 Ship autopilot algorithm testing simulation system

Publications (2)

Publication Number Publication Date
CN104483845A CN104483845A (en) 2015-04-01
CN104483845B true CN104483845B (en) 2017-01-11

Family

ID=52758403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410679964.3A Expired - Fee Related CN104483845B (en) 2014-11-21 2014-11-21 Ship autopilot algorithm testing simulation system

Country Status (1)

Country Link
CN (1) CN104483845B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107618619A (en) * 2017-09-15 2018-01-23 广船国际有限公司 A kind of ship TCS automatic testing methods
CN108665516B (en) * 2018-04-20 2019-11-29 中国人民解放军92859部队 The conversion method of S-52 line symbol and SVG symbol in electronic nautical chart
CN108762074B (en) * 2018-05-23 2020-12-29 大连海事大学 A ship control method for improving the safety guarantee capability of ships in harsh sea conditions
CN110221546B (en) * 2019-05-21 2020-11-20 武汉理工大学 A test platform for ship intelligent control system based on virtual and real integration
CN110412313B (en) * 2019-08-24 2020-07-14 大连理工大学 A calibration method of a ship's true wind measurement device
TWI725677B (en) * 2019-12-20 2021-04-21 財團法人船舶暨海洋產業研發中心 Autonomous vessel simulation system and operating method thereof
CN111061168B (en) * 2019-12-27 2022-12-13 青岛科技大学 Construction method and simulation test method of intelligent ship route planning simulation test environment
CN111353222B (en) * 2020-02-25 2023-05-02 智慧航海(青岛)科技有限公司 Simulation test system and method for automatic berthing capability of intelligent ship
CN111812976A (en) * 2020-06-06 2020-10-23 智慧航海(青岛)智能系统工程有限公司 Ship thrust distribution system and thrust distribution method
CN111776190B (en) * 2020-06-22 2022-04-12 锦州航星船舶科技有限公司 Digital rudder angle feedback indicating system and control method
CN112947445B (en) * 2021-02-09 2024-02-02 大连海事大学 Distributed self-adaptive ship track maintenance system adopting redundant communication
CN112711195B (en) * 2021-03-29 2021-07-02 中船航海科技有限责任公司 SIL ship automatic control simulation test platform and simulation test method
CN115629590A (en) * 2022-08-31 2023-01-20 上海船舶工艺研究所(中国船舶集团有限公司第十一研究所) Modularized ship motion control debugging system and ship motion control debugging method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201237711Y (en) * 2008-08-12 2009-05-13 大连海事大学 Watercraft movement and main unit propulsion network control simulation apparatus
CN101819441A (en) * 2010-04-16 2010-09-01 大连海事大学 Hardware in-loop simulation system for comprehensive optimization control of main power and manipulation of ship
CN103048924A (en) * 2012-12-28 2013-04-17 大连海事大学 Testing and simulating system for automatic vessel rudder
CN103106817A (en) * 2013-03-06 2013-05-15 上海海事大学 Navigation scientific and technological simulation system based on enhanced virtual reality system
KR20130116491A (en) * 2012-04-16 2013-10-24 주식회사 마린디지텍 Simulation system for ship propulsion control
CN103645642A (en) * 2013-11-25 2014-03-19 大连海联自动控制有限公司 Operation simulation platform for ship dynamic positioning
CN104035340A (en) * 2014-07-03 2014-09-10 大连海事大学 Practical operation training simulation system for ship fuel oil purifier

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201237711Y (en) * 2008-08-12 2009-05-13 大连海事大学 Watercraft movement and main unit propulsion network control simulation apparatus
CN101819441A (en) * 2010-04-16 2010-09-01 大连海事大学 Hardware in-loop simulation system for comprehensive optimization control of main power and manipulation of ship
KR20130116491A (en) * 2012-04-16 2013-10-24 주식회사 마린디지텍 Simulation system for ship propulsion control
CN103048924A (en) * 2012-12-28 2013-04-17 大连海事大学 Testing and simulating system for automatic vessel rudder
CN103106817A (en) * 2013-03-06 2013-05-15 上海海事大学 Navigation scientific and technological simulation system based on enhanced virtual reality system
CN103645642A (en) * 2013-11-25 2014-03-19 大连海联自动控制有限公司 Operation simulation platform for ship dynamic positioning
CN104035340A (en) * 2014-07-03 2014-09-10 大连海事大学 Practical operation training simulation system for ship fuel oil purifier

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
船舶自动舵和自动避碰算法仿真测试平台的研究;尹勇等;《系统仿真学报》;20070105;第19卷(第1期);第56-58、66页 *
船舶自动舵测试仿真系统的研究;姜仲昊等;《大连海事大学学报》;20140215;第40卷(第1期);第9-12、16页 *

Also Published As

Publication number Publication date
CN104483845A (en) 2015-04-01

Similar Documents

Publication Publication Date Title
CN104483845B (en) Ship autopilot algorithm testing simulation system
CN110221546B (en) A test platform for ship intelligent control system based on virtual and real integration
Blindheim et al. Electronic navigational charts for visualization, simulation, and autonomous ship control
CN104821103B (en) Ship sailing safety assessment system
CN113010958B (en) Simulation system of self-propelled ship and operation method thereof
CN105241457A (en) Establishing method of three-dimensional aided navigation system for ship handling
Chen et al. Numerical ship navigation based on weather and ocean simulation
CN103631148A (en) AIS-based ship driving real-time virtual augmentation simulation system and method
CN106898184A (en) A kind of yacht Simulator
KR101554499B1 (en) System for planning optimized vessel seaway using visual interactive modeling
CN112033640B (en) Simulation experience system for ship hydrodynamic performance
CN114721298A (en) Virtual simulation control system of small unmanned ship
CN114004015A (en) Unmanned ship modeling and motion simulation method based on ROS-Gazebo
Nie et al. Design of marine virtual simulation experiment platform based on Unity3D
CN110136486B (en) Method and system for judging navigation capacity of port area
CN112550592B (en) Data-driven ship energy consumption prediction method
CN205068800U (en) Boats and ships seaworthiness early warning system
CN201689555U (en) Vessel monitoring system for typical river section in three gorges reservoir area
CN116564134A (en) A method and medium for determining the window period of a ship entering and leaving a port under real-time tidal effects
Fan et al. Research on shipborne aided navigation system based on enhanced traffic environment perception
Hu et al. Virtual-reality-based design and implementation with a parallel physical simulation platform for unmanned surface vehicle
Su et al. The integration of nautical charts to reconstruct 3D harbor area models and apply assisted navigation
CN117932791B (en) A ship simulation operation method and device based on VR technology
Wei et al. Design and realization of the 3D electronic chart based on GIS and virtual reality technology
Li et al. Research on Modeling Methods for Marine Test Environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170111

Termination date: 20171121