WO2016037444A1 - Autonomous control method and device of sailboat and sailboat - Google Patents

Autonomous control method and device of sailboat and sailboat Download PDF

Info

Publication number
WO2016037444A1
WO2016037444A1 PCT/CN2014/095108 CN2014095108W WO2016037444A1 WO 2016037444 A1 WO2016037444 A1 WO 2016037444A1 CN 2014095108 W CN2014095108 W CN 2014095108W WO 2016037444 A1 WO2016037444 A1 WO 2016037444A1
Authority
WO
WIPO (PCT)
Prior art keywords
sailboat
wind
heading
angle
vector
Prior art date
Application number
PCT/CN2014/095108
Other languages
French (fr)
Chinese (zh)
Inventor
王智锋
林天麟
Original Assignee
智慧城市系统服务(中国)有限公司
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 智慧城市系统服务(中国)有限公司 filed Critical 智慧城市系统服务(中国)有限公司
Publication of WO2016037444A1 publication Critical patent/WO2016037444A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/10Simultaneous control of position or course in three dimensions
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions
    • G05D1/0206Control of position or course in two dimensions specially adapted to water vehicles

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Indicating Or Recording The Presence, Absence, Or Direction Of Movement (AREA)

Abstract

An autonomous control method and device of a sailboat, and sailboat, the method comprising: setting at least one waypoint; acquiring navigation information of a sailboat, and setting a next waypoint from the location of the sailboat as a target waypoint; determining a desired course vector according to a relative orientation of the sailboat to the target waypoint, and a real wind direction; controlling a state of a sail (2) of the sailboat according to relative wind direction information; according to the current course of the sailboat and the desired course vector, controlling a rudder angle to reach or follow a desired course; determining whether the sailboat has reached the target waypoint, and if so, then determining whether the target waypoint is a navigation destination, and if so, then finishing the navigation. In the sailboat autonomous navigation process, a set of overall sailboat autonomous navigation control methods is provided, thus systematically achieving autonomous sailboat control by dividing course regions, calculating a desired course vector, controlling a rudder angle, an open area and adjustment angle of the sail (2), auxiliary propelling of a propeller (5), and the like.

Description

一种帆船自主控制方法、装置及帆船Sailing self-control method, device and sailboat
本申请要求在2014年9月11日提交中国专利局、申请号为201410462433.9、发明名称为“一种帆船自主控制方法、装置及帆船”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201410462433.9, entitled "Autonomous Control Method, Device and Sailboat for Sailboats", filed on September 11, 2014, the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本发明涉及无人帆船领域,尤其涉及一种帆船自主控制方法、装置及帆船。The invention relates to the field of unmanned sailboats, in particular to a method and device for autonomous control of a sailboat and a sailboat.
背景技术Background technique
现有技术中,无人帆船是机器人技术和帆船技术交叉发展的最新产物。无人帆船是以风力作为推进动力,可以长时间的在海上进行警卫巡逻、科学考察、环境检测等任务,可以避免人类长时间在海上作业时,可能会遇到的安全、补给等问题。In the prior art, unmanned sailing is the latest product of the cross development of robotics and sailing technology. Unmanned sailing ships use wind power as the propulsion power, and can carry out security patrols, scientific investigations, environmental inspections and other tasks at sea for a long time, which can avoid problems such as safety and replenishment that humans may encounter when working long hours at sea.
众所周知,帆船在海上航行需要面对各种复杂情况。但是在现有技术中,对于包括帆船在内的无人自主航行技术主要集中在对风帆进行自主控制。As we all know, sailing ships on the sea need to face a variety of complex situations. However, in the prior art, the unmanned autonomous navigation technology including the sailboat is mainly focused on the autonomous control of the sail.
以风帆作为辅助航行工具的控制方法只适用于大型运输船的航向控制,由于大型运输船与小型帆船的结构有较大的不同,工作原理以及操控原理也有较大的不同;因此,大型帆船所采用的控制方案并不能很好的适用于小型帆船;另一方面,仅以风帆作为辅助航行工具,并不能实现对船体的自主控制。The control method using sail as an auxiliary navigation tool is only applicable to the heading control of large transport ships. Because the structure of large transport ships and small sailboats are quite different, the working principle and control principle are also quite different; therefore, large sailing boats The control scheme adopted is not well suited for small sailboats; on the other hand, the use of sails as an auxiliary navigation tool does not allow for autonomous control of the hull.
而且,通过对现有技术成果以及相关技术文献的分析可知,现有无人帆船的研发成果主要侧重于帆船自动控制系统硬件的实现,也没有一种应用于风帆自主驾驶中的整体性的控制方法,在帆船的航行过程中,不能很好地实现对航行路径的生成、风帆状态的控制、舵角的控制等操控动作。 Moreover, through the analysis of the prior art achievements and related technical literature, the research and development results of the existing unmanned sailboats mainly focus on the realization of the hardware of the automatic control system of the sailboat, and there is no integrated control applied to the autonomous driving of the sail. In the method of sailing, the control of the navigation path, the control of the sail state, and the control of the rudder angle cannot be well realized.
发明内容Summary of the invention
本发明的主要目的在于提供一种帆船自主控制方法、装置及帆船,旨在系统地实现帆船航行路径的自动生成、风帆状态的自动控制、舵角的自动控制功能,提高自主操控性。The main object of the present invention is to provide a method and device for autonomous control of a sailboat, and aim to systematically realize automatic generation of a sailing route, automatic control of a sail state, and automatic control of a rudder angle to improve self-maneuverability.
为达到以上目的,本发明提出一种帆船自主控制方法,包括以下步骤:In order to achieve the above object, the present invention provides a method for autonomous control of a sailboat, comprising the following steps:
在航行路径中设置至少一个航路点;Setting at least one waypoint in the navigation path;
目标航路点确定步骤:获取帆船的航行信息,将帆船所在位置的下一航路点设置为目标航路点;Target waypoint determination step: obtaining navigation information of the sailboat, and setting the next waypoint of the position where the sailboat is located as the target waypoint;
期望航向确定步骤:根据帆船和目标航路点的相对方位、以及真实风的方向确定期望的航向向量;Desired course determination step: determining a desired heading vector based on the relative orientation of the sailboat and the target waypoint, and the direction of the real wind;
控制步骤:根据相对风向信息控制帆船的风帆状态;根据帆船当前的航向与期望的航向向量,控制帆船的舵角以达到或者跟踪期望航向;Control step: controlling the sail state of the sailboat according to the relative wind direction information; controlling the rudder angle of the sailboat according to the current heading of the sailboat and the desired heading vector to achieve or track the desired heading;
判断步骤:判断帆船是否到达目标航路点;若未到达,则返回期望航向确定步骤;若已到达,则进一步判断目标航路点是否为航行终点;如果不是,则返回目标航路点确定步骤;如果是,则结束流程。Judgment step: judging whether the sailboat reaches the target waypoint; if not, returning to the desired heading determination step; if it has arrived, further determining whether the target waypoint is the sailing end point; if not, returning to the target waypoint determining step; if yes , then the process ends.
优选地,期望航向确定步骤包括:Preferably, the desired heading determining step comprises:
获取真实风的信息;Get real wind information;
根据真实风的风向信息,以帆船为中心划分航向区,航向区至少包括顺风区、迎风不可航行区、侧风区;According to the wind direction information of the real wind, the heading area is divided by the sailboat, and the heading area includes at least the downwind area, the unwindable area in the wind, and the side wind area;
根据目标航路点和帆船的相对位置,计算目标航路点相对于帆船的相对方位角;Calculating the relative azimuth of the target waypoint relative to the sailboat according to the relative position of the target waypoint and the sailboat;
根据相对方位角确定目标航路点所处的航向区;根据目标航路点所处的航向区获取期望的航向向量。The heading area where the target waypoint is located is determined according to the relative azimuth; and the desired heading vector is obtained according to the heading area where the target waypoint is located.
优选地,获取真实风的信息包括:Preferably, the information of obtaining the real wind includes:
获取相对于帆船船体的相对风的风速信息和风向信息;Obtaining wind speed information and wind direction information relative to the relative wind of the sailing hull;
对航速信息、航向信息、相对风的风速信息以及相对风的风向信息进行矢量计算,根据矢量计算的结果获得相对于岸的真实风的风速信息和风向信 息。Vector calculation is performed on the speed information, the heading information, the wind speed information of the relative wind, and the wind direction information of the relative wind, and the wind speed information and the wind direction letter of the real wind relative to the shore are obtained according to the result of the vector calculation. interest.
优选地,根据帆船当前的航向与期望的航向向量,控制帆船的舵角以达到或者跟踪期望航向包括:Preferably, depending on the current heading of the sailboat and the desired heading vector, controlling the rudder angle of the sailboat to achieve or track the desired heading includes:
通过舵的偏转控制帆船的实际航向;Control the actual heading of the sailboat by the deflection of the rudder;
通过控制舵角使帆船的实际航向达到或者跟踪期望航向。By controlling the rudder angle, the actual heading of the sailboat is achieved or tracked to the desired heading.
优选地,根据相对风向信息控制帆船的风帆状态包括:Preferably, controlling the sail state of the sailboat according to the relative wind direction information comprises:
根据相对风的风向信息,控制风帆调整角。The sail adjustment angle is controlled according to the wind direction information of the relative wind.
优选地,控制步骤还包括:Preferably, the controlling step further comprises:
获取帆船的姿态角度,其中,姿态角度包括航向角、俯仰角和横滚角;Obtaining a posture angle of the sailboat, wherein the attitude angle includes a heading angle, a pitch angle, and a roll angle;
当俯仰角超过第一预设危险值时或者当横滚角超过第二预设危险值时,发出帆船倾翻的求救信号,并结束航行。When the pitch angle exceeds the first preset hazard value or when the roll angle exceeds the second preset hazard value, the distress signal of the sailboat tipping is issued, and the navigation is ended.
本发明还提出了一种帆船自主控制装置,该装置包括:The invention also proposes a sailing autonomous control device, the device comprising:
航路点设置模块,用于在航行路径中设置至少一个航路点;a waypoint setting module, configured to set at least one waypoint in the navigation path;
目标航路点确定模块,用于获取帆船的航行信息,将帆船所在位置的下一航路点设置为目标航路点;a target waypoint determination module, configured to acquire navigation information of the sailboat, and set a next waypoint of the position where the sailboat is located as the target waypoint;
期望航向确定模块,用于根据帆船和目标航路点的相对方位、以及真实风的方向确定期望的航向向量;Determining a heading determination module for determining a desired heading vector based on a relative orientation of the sailboat and the target waypoint, and a direction of the real wind;
控制模块,用于根据相对风向信息控制帆船的风帆状态;根据帆船当前的航向与期望的航向向量,控制帆船的舵角以达到或者跟踪期望航向;a control module for controlling the sail state of the sailboat according to the relative wind direction information; controlling the rudder angle of the sailboat according to the current heading of the sailboat and the desired heading vector to achieve or track the desired heading;
判断模块,包括第一判断单元以及第二判断单元,其中,a judging module, comprising a first judging unit and a second judging unit, wherein
第一判断单元用于判断帆船是否到达目标航路点;若未到达,则返回期望航向确定步骤,若已到达,则通知第二判断单元;The first determining unit is configured to determine whether the sailing boat reaches the target waypoint; if not, return to the desired heading determining step, and if not, notify the second determining unit;
第二判断单元用于判断目标航路点是否为航行终点;如果不是,则返回目标航路点确定步骤,如果是,则结束。The second judging unit is configured to judge whether the target waypoint is the sailing end point; if not, return to the target waypoint determining step, and if yes, the end.
优选地,期望航向确定模块包括:真实风信息获取单元、航向区划分单元、相对方位角确定单元以及航向区确定单元,其中,Preferably, the desired heading determination module comprises: a real wind information acquiring unit, a heading area dividing unit, a relative azimuth determining unit, and a heading area determining unit, wherein
真实风信息获取单元用于获取真实风的信息; The real wind information acquisition unit is used to obtain information of the real wind;
航向区划分单元用于根据真实风的风向信息,以帆船为中心划分航向区,航向区至少包括顺风区、迎风不可航行区、侧风区;The heading area dividing unit is configured to divide the heading area centering on the sailboat according to the wind direction information of the real wind, and the heading area includes at least a downwind area, an unwindable area in the windward direction, and a side wind area;
相对方位角确定单元用于根据目标航路点和帆船的相对位置,计算目标航路点相对于帆船的相对方位角;The relative azimuth determining unit is configured to calculate a relative azimuth angle of the target waypoint relative to the sailboat according to the relative position of the target waypoint and the sailboat;
航向区确定单元用于根据相对方位角确定目标航路点所处的航向区。The heading area determining unit is configured to determine a heading area in which the target waypoint is located according to the relative azimuth.
优选地,真实风信息获取单元还用于,Preferably, the real wind information acquisition unit is further configured to:
获取相对于帆船船体的相对风的风速信息和风向信息;Obtaining wind speed information and wind direction information relative to the relative wind of the sailing hull;
对航速信息、航向信息、相对风的风速信息以及相对风的风向信息进行矢量计算,根据矢量计算的结果获得相对于岸的真实风的风速信息和风向信息;Performing vector calculation on the speed information, the heading information, the wind speed information of the relative wind, and the wind direction information of the relative wind, and obtaining the wind speed information and the wind direction information of the real wind relative to the shore according to the result of the vector calculation;
控制模块包括第一实际航行控制单元以及第二实际航行控制单元,其中,The control module includes a first actual navigation control unit and a second actual navigation control unit, wherein
第一实际航行控制单元用于通过舵的偏转控制帆船的实际航向;The first actual navigation control unit is configured to control the actual heading of the sailboat by the deflection of the rudder;
第二实际航行控制单元用于通过控制舵角使帆船的实际航向达到或者跟踪期望航向。The second actual navigation control unit is used to control the rudder angle to achieve or track the desired heading of the sailboat.
控制模块还包括风帆调整角控制单元,用于根据相对风的风向信息,控制风帆调整角。The control module further includes a sail adjustment angle control unit for controlling the sail adjustment angle according to the wind direction information of the relative wind.
控制模块还包括姿态角度获取单元以及求救信号处理单元,其中,The control module further includes a posture angle acquiring unit and a distress signal processing unit, wherein
姿态角度获取单元用于获取帆船的姿态角度,其中,姿态角度包括航向角、俯仰角和横滚角;The attitude angle acquiring unit is configured to acquire a posture angle of the sailing vessel, wherein the posture angle includes a heading angle, a pitch angle, and a roll angle;
求救信号处理单元用于当俯仰角超过第一预设危险值时或者当横滚角超过第二预设危险值时,发出帆船倾翻的求救信号,并结束航行。The distress signal processing unit is configured to issue a salvage distress signal when the pitch angle exceeds the first preset hazard value or when the roll angle exceeds the second preset hazard value, and end the navigation.
本发明还提出了一种帆船,包括船体、风帆、舵、驱动装置和推进装置,该帆船还包括上述帆船自主控制装置。The invention also proposes a sailing vessel comprising a hull, a sail, a rudder, a driving device and a propulsion device, the sailboat further comprising the above-mentioned sailing autonomous control device.
实施本发明的帆船自主控制方法,在帆船的自主航行过程中,通过对航向区的划分、期望航向向量的计算,提供一套整体性的帆船自主航行的控制方法,系统地实现帆船航行路径的自动生成、风帆状态的自动控制、舵角的自动控制功能,提高自主操控性。 The method for autonomous control of a sailboat embodying the present invention provides a holistic control method for autonomous navigation of a sailboat by systematically calculating the division of the heading zone and the calculation of the desired heading vector during the autonomous navigation of the sailboat, and systematically realizing the sailing route of the sailboat. Automatic generation, automatic control of the sail state, automatic control of the rudder angle, and improved autonomous control.
同时,实施本发明的帆船自主控制装置,通过舵角的控制、风帆张开面积与调整角的控制、推进器的辅助推动,以及帆船的惯性测量单元提供船体在全局惯性坐标系中的姿态信息,包括航向角、俯仰角和横滚角,通过全球定位系统获得帆船的经、纬度位置数据、航速和航向信息,由风传感器提供相对于船体的相对风的风速和风向,由控制器接收风传感器的信号,根据帆船的自主控制算法,计算出舵和风帆的控制量,并执行相应控制动作,系统地实现了帆船的自主无人航行。At the same time, the autonomous control device for the sailboat embodying the invention provides the attitude information of the hull in the global inertial coordinate system through the control of the rudder angle, the control of the sail opening area and the adjustment angle, the auxiliary propulsion of the propeller, and the inertial measurement unit of the sailboat. , including heading angle, pitch angle and roll angle, obtain the latitude and longitude position data, speed and heading information of the sailboat through the global positioning system, and the wind sensor provides the wind speed and direction of the relative wind relative to the hull, and the wind is received by the controller. The sensor's signal, according to the autonomous control algorithm of the sailboat, calculates the control amount of the rudder and the sail, and performs the corresponding control action, systematically realizing the autonomous navigation of the sailboat.
附图说明DRAWINGS
下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below in conjunction with the accompanying drawings and embodiments, in which:
图1是本发明提供的帆船自主控制方法的流程图;1 is a flow chart of a method for autonomous control of a sailboat provided by the present invention;
图2是本发明较佳实施例提供的帆船自主控制方法的流程图;2 is a flow chart of a method for autonomous control of a sailboat according to a preferred embodiment of the present invention;
图3是本发明帆船自主控制方法的推进控制的细化流程图;3 is a detailed flow chart of the propulsion control of the autonomous control method of the sailboat of the present invention;
图4是本发明帆船自主控制方法的期望航向向量计算的细化流程图;4 is a detailed flow chart of a desired heading vector calculation of the autonomous control method of the sailboat of the present invention;
图5是本发明较佳实施例提供的帆船自主控制装置的结构框图;Figure 5 is a block diagram showing the structure of autonomous control device for a sailboat according to a preferred embodiment of the present invention;
图6是本发明提供的一种帆船的硬件结构图;Figure 6 is a hardware structural diagram of a sailboat provided by the present invention;
图7a是本发明帆船自主控制方法的目标航路点所处航行区时的相对方位示意图之一;7a is a schematic diagram of relative orientation when the target waypoint of the sailing autonomous control method of the present invention is located in a navigation zone;
图7b是本发明帆船自主控制方法的目标航路点所处航行区时的相对方位示意图之二;7b is a second schematic diagram of relative orientation when the target waypoint of the sailing autonomous control method of the present invention is located;
图7c是本发明帆船自主控制方法的目标航路点所处航行区时的相对方位示意图之三;7c is a third schematic diagram of the relative orientation when the target waypoint of the sailing autonomous control method of the present invention is located in the navigation zone;
图8a是本发明帆船自主控制方法的船基平面坐标系示意图之一;Figure 8a is a schematic diagram of a ship base plane coordinate system of the autonomous control method of the sailboat of the present invention;
图8b是本发明帆船自主控制方法的船基平面坐标系示意图之二;Figure 8b is a second schematic diagram of the ship base plane coordinate system of the autonomous control method of the sailboat of the present invention;
图8c是本发明帆船自主控制方法的船基平面坐标系示意图之三;Figure 8c is a third schematic view of the ship base plane coordinate system of the autonomous control method of the sailboat of the present invention;
图9是本发明帆船自主控制方法的风的矢量关系示意图;Figure 9 is a schematic diagram showing the vector relationship of the wind of the autonomous control method of the sailboat of the present invention;
图10是本发明帆船自主控制方法的风传感器的标定示意图。 Fig. 10 is a schematic view showing the calibration of the wind sensor of the autonomous control method of the sailboat of the present invention.
具体实施方式detailed description
实施例一 Embodiment 1
如图1所示是本发明较佳实施例提供的帆船自主控制方法的流程图。该方法包括以下步骤:FIG. 1 is a flow chart of a method for autonomous control of a sailboat according to a preferred embodiment of the present invention. The method includes the following steps:
S1、在航行路径中设置至少一个航路点。S1. Set at least one waypoint in the navigation path.
其中,最后一个航路点即为帆船的航行终点。Among them, the last waypoint is the sailing end of the sailboat.
具体地,由系统或者无人帆船的使用人员,在航路范围内确定若干个航路点并依次编号,依次设置航路点M1、航路点M2…航路点Mn,其中,航路点M1是第一个航路点,航路点Mn是最后一个航路点,即为航行终点。航路点的位置通过经度值和纬度值进行描述。Specifically, the system or the user of the unmanned sailboat determines a plurality of waypoints within the route range and sequentially numbers them, and sequentially sets the waypoint M1, the waypoint M2, the waypoint Mn, wherein the waypoint M1 is the first route Point, the waypoint Mn is the last waypoint, which is the end of the voyage. The location of the waypoint is described by the longitude and latitude values.
S2、目标航路点确定步骤:获取帆船的航行信息,将帆船所在位置的下一航路点设置为目标航路点。S2. Target waypoint determination step: obtain navigation information of the sailboat, and set the next waypoint of the position where the sailboat is located as the target waypoint.
具体地,从第一个航路点开始设为当前目标航路点;帆船一旦到达当前目标航路点,则设置下一航路点为当前目标航路点,直至最后一个航路点。在帆船启航时,将航路点M1设置为目标航路点;然后,当帆船航行到航路点M1时,将目标航路点更换为航路点M2;依此将后续的航路点依次设置为目标航路点,直至将航路点Mn设置为目标航路点。Specifically, the current destination waypoint is set from the first waypoint; once the sailboat reaches the current target waypoint, the next waypoint is set to the current target waypoint to the last waypoint. When the sailboat sails, the waypoint M1 is set as the target waypoint; then, when the sailboat sails to the waypoint M1, the target waypoint is replaced with the waypoint M2; accordingly, the subsequent waypoints are sequentially set as the target waypoints Until the waypoint Mn is set as the target waypoint.
S3、期望航向确定步骤:根据帆船和目标航路点的相对方位、以及真实风的方向确定期望的航向向量。S3. Desired course determination step: determining a desired heading vector according to the relative orientation of the sailboat and the target waypoint and the direction of the real wind.
首先,以帆船为中心划分航向区,计算目标航路点与帆船的相对方位,并根据相对方位确定目标航路点所处的航向区。在该步骤中:Firstly, the heading area is divided by the sailboat, the relative position of the target waypoint and the sailboat is calculated, and the heading area where the target waypoint is located is determined according to the relative orientation. In this step:
a、航向区的划分:根据风向信息,将以帆船为中心的360度方向划分为至少包括顺风区、迎风不可航行区、侧风区的航向区。在本实施例中,将以帆船为中心划分为四个航向区,具体为迎风不可航行区I、右侧风区II,左侧风区III,顺风区IV。其中,迎风不可航行区I是正逆风左右各45度的角度区域,该区域内帆船无法航行。顺风区IV为正顺风左右各30度的角度区域; 考虑到在顺风区IV内航行效率较低和稳定性较差,顺风区IV在本发明中被视作不宜航行的角度区域。在迎风不可航行区I与顺风区IV之间的两块角度区域分别是右侧风区II和左侧风区III;帆船迎风时,右侧船舷所对角度区域为右侧风区II,左侧船舷所对角度区域为左侧风区III;右侧风区II和左侧风区III为可航行的角度区域;帆船将在右侧风区II和左侧风区III两个角度区域内航行,接近并到达当前目标航路点。a. Division of heading area: According to the wind direction information, the 360-degree direction centered on the sailboat is divided into a heading area including at least a downwind area, an unwindable area in the wind, and a side wind area. In the present embodiment, the sailboat is centered into four heading zones, specifically, the windward unstoppable zone I, the right wind zone II, the left wind zone III, and the downwind zone IV. Among them, the unwindable area I in the wind is an angled area of 45 degrees to the right and left, and the sailboat cannot sail in this area. The downwind zone IV is an angled area of 30 degrees each of the right and left winds; Considering that the navigation efficiency is low and the stability is poor in the downwind zone IV, the downwind zone IV is considered to be an unsuitable angle of navigation in the present invention. The two angular regions between the unwindable area I and the downwind area IV are the right wind area II and the left side wind area III; when the sailor is facing the wind, the right side of the ship's side is the right side wind area II, left The angle of the side of the side ship is the left wind zone III; the right wind zone II and the left wind zone III are the navigable angle zones; the sailboat will be in the two angle zones of the right wind zone II and the left wind zone III Sailing, approaching and reaching the current target waypoint.
b、计算当前目标航路点与帆船的相对方位,并根据相对方位确定当前目标航路点所处的航向区。由当前目标航路点和帆船的相对位置关系,计算当前目标航路点相对于帆船的相对方位角,由相对方位角确定当前目标航路点所处的航向区。因为帆船周向360度已经划分为四个航向区,当前目标航路点的相对方位角必然被某一航向区的角度区域包含,则认为当前目标航路点属于该航向区。b. Calculate the relative orientation of the current target waypoint and the sailboat, and determine the heading zone where the current target waypoint is located according to the relative orientation. From the relative positional relationship between the current target waypoint and the sailboat, the relative azimuth of the current target waypoint relative to the sailboat is calculated, and the heading zone in which the current target waypoint is located is determined by the relative azimuth. Since the 360 degree of the sailboat has been divided into four heading zones, the relative azimuth of the current target waypoint is necessarily included in the angle zone of a certain heading zone, and the current target waypoint is considered to belong to the heading zone.
c、根据当前目标航路点所处的航向区获取期望的航向向量,分析比较帆船当前的航向与期望的航向向量,获取对舵的控制量。c. Obtain the desired heading vector according to the heading area where the current target waypoint is located, analyze and compare the current heading of the sailboat with the desired heading vector, and obtain the control amount for the rudder.
其中,获取期望的航向向量具体是:Wherein, obtaining the desired heading vector is specifically:
当前目标航路点属于右侧风区II或者左侧风区III时,由帆船的当前位置指向当前目标航路点的单位向量即为期望航向向量。也就是说,当前目标航路点属于右侧风区II或者左侧风区III时,帆船可以直接向着当前目标航路点的方向航行。When the current target waypoint belongs to the right wind zone II or the left wind zone III, the unit vector from the current position of the sailboat to the current target waypoint is the desired heading vector. That is to say, when the current target waypoint belongs to the right wind zone II or the left wind zone III, the sailboat can sail directly toward the current target waypoint.
当前目标航路点处于迎风不可航行区I时,为了避开这个角度区域,需要帆船实现抢风行驶,以“Z”字形航行路径到达当前目标航路点。在迎风不可航行区I与右侧风区II的交界角度处设定右侧贴风向量VII_I,在迎风不可航行区I与左侧风区III的交界角度处设定左侧贴风向量VIII_I,其中右侧贴风向量VII_I和左侧贴风向量VIII_I都为单位向量。为了实现帆船的抢风航行,需要轮流地将右侧贴风向量VII_I和左侧贴风向量VIII_I设定为期望航向向量。当前目标航路点处于顺风区IV时,为了提高航行效率和稳定性,需要帆船避开顺风区航行,以“Z”字形航行路径到达当前目标航路点。在顺风区ΙV与右侧 风区II的交界角度处设定右侧顺风向量VII_IV,在顺风区IV与左侧风区III的交界角度处设定左侧顺风向量VIII_IV,其中右侧顺风向量VII_IV和左侧顺风向量VIII_IV都为单位向量。轮流地将右侧顺风向量VII_IV和左侧顺风向量VIII_IV设定为期望航向向量,以实现当前目标航路点处于顺风区IV时的“Z”字形航行。When the current target waypoint is in the wind-tolerant non-sailing area I, in order to avoid this angle area, the sailboat is required to achieve the wind-stricken driving, and the "Z"-shaped sailing path reaches the current target waypoint. The right wind vector V II_I is set at the boundary angle between the windward non-sailing area I and the right wind area II, and the left side wind vector V is set at the boundary angle between the windward non-sailing area I and the left side wind area III. III_I , wherein the right wind vector V II_I and the left wind vector V III_I are unit vectors. In order to achieve the voyage of the sailboat, it is necessary to alternately set the right wind vector V II_I and the left wind vector V III_I as the desired heading vector. When the current target waypoint is in the downwind zone IV, in order to improve navigation efficiency and stability, it is necessary for the sailboat to avoid sailing in the downwind zone and to reach the current target waypoint by the "Z" shaped sailing path. Setting the wind vector V II_IV right angles at the interface with the downwind region ΙV right wind zone II is set at the left side of the wind vector V III_IV junction region IV and the wind angle at the left side of the wind zone III, wherein the right downwind Both the vector V II_IV and the left downwind vector V III_IV are unit vectors. The right downwind vector V II_IV and the left downwind vector V III_IV are alternately set to a desired heading vector to achieve a "Z"-shaped navigation when the current target waypoint is in the downwind zone IV.
分析比较帆船当前的航向与期望的航向向量,并按如下方式获取对舵的控制量:Analyze and compare the current heading of the sailboat with the desired heading vector and obtain the control of the rudder as follows:
舵的偏转可以控制帆船的实际航向,通过控制舵角使帆船的实际航向达到或者跟踪期望航向。如果期望航向在实际航向的右侧,则舵角向右偏转;如果期望航向在实际航向的左侧,则舵角向左偏转。The deflection of the rudder can control the actual heading of the sailboat, and the actual heading of the sailboat can be achieved or tracked by controlling the rudder angle. If the desired heading is to the right of the actual heading, the rudder angle is deflected to the right; if the heading is expected to be to the left of the actual heading, the rudder angle is deflected to the left.
最后,根据目标航路点所处的航向区获取期望的航向向量。Finally, the desired heading vector is obtained according to the heading area where the target waypoint is located.
S4、控制步骤:根据相对风向信息控制帆船的风帆状态;根据帆船当前的航向与期望的航向向量,控制帆船的舵角以达到或者跟踪期望航向。S4. Control step: controlling the sail state of the sailboat according to the relative wind direction information; controlling the rudder angle of the sailboat according to the current heading of the sailboat and the desired heading vector to achieve or track the desired heading.
S5、判断步骤:判断帆船是否到达目标航路点;若未到达,则返回期望航向确定步骤;若已到达,则进一步判断目标航路点是否为航行终点;如果不是,则返回目标航路点确定步骤;如果是,则结束流程。S5. The determining step: determining whether the sailing boat reaches the target waypoint; if not, returning to the desired heading determining step; if it has arrived, further determining whether the target waypoint is the sailing end point; if not, returning to the target waypoint determining step; If yes, the process ends.
在上述判断步骤中,判断每次到达的目标航路点是否为最后一个航路点,若是,则判定到达上述航行终点。如上例所述,在帆船航行过程中,可以将其中任意一航路点设置为航行终点,或者,当帆船需要长距离航行时,为了满足帆船维护、任务处理等需求,在上述航路点中选取多个航行暂留点,因此,根据上述需求,本实施例可自适应地将一个或多个Mn(n为任意值)航路点设置为航行暂留点或者航行终点。In the above determining step, it is judged whether or not the target waypoint that is reached each time is the last waypoint, and if so, it is determined that the said sailing end point is reached. As mentioned in the above example, during the sailing process, any one of the waypoints can be set as the sailing end point, or when the sailing ship needs long-distance navigation, in order to meet the needs of sailing maintenance, task processing, etc., select more of the above-mentioned waypoints. The navigational stagnation point, therefore, according to the above requirements, the present embodiment can adaptively set one or more Mn (n is an arbitrary value) waypoint as a navigational stagnation point or a voyage end point.
本实施例的有益效果在于,在帆船的自主航行过程中,通过对航向区的划分、期望航向向量的计算,提供一套整体性的帆船自主航行的控制方法,系统地实现帆船航行路径的自动生成、风帆状态的自动控制、舵角的自动控制功能。从整体上看,一方面,提高了帆船自主控制的可操控性和准确性,另一方面,航线规划自适应性较高。 The beneficial effect of the embodiment is that, in the autonomous navigation of the sailboat, by the division of the heading zone and the calculation of the desired heading vector, a set of integrated control methods for the autonomous navigation of the sailboat is provided, and the sailing route is automatically realized systematically. Generation, automatic control of the sail state, automatic control of the rudder angle. On the whole, on the one hand, it improves the controllability and accuracy of the autonomous control of the sailboat. On the other hand, the route planning adaptability is higher.
实施例二Embodiment 2
在上述实施例的基础上,如图2示出的步骤S201,通过帆船内置的全球定位模块获取帆船的经度信息和纬度信息,同时,根据上述经度信息和上述纬度信息计算帆船与上述目标航路点之间的距离,当上述距离小于预设阈值时,则确认帆船到达上述目标航路点。On the basis of the above embodiment, as shown in step S201 of FIG. 2, the longitude information and the latitude information of the sailing boat are acquired by the global positioning module built in the sailboat, and the sailing boat and the target waypoint are calculated according to the longitude information and the latitude information. The distance between the two, when the distance is less than the preset threshold, confirms that the sailboat reaches the target waypoint.
例如,将上述预设阈值设置为两百米,通过全球定位模块实时获取(可以理解为是按预设周期获取)帆船的经度信息和纬度信息,计算帆船当前位置,同时,在后台预存数据中调取当前目标航路点所在的位置,将两者在同一参考系内进行比对分析,判定两者之间的实际距离是否小于两百米,若小于两百米,则认为已到达上述目标航路点。For example, the preset threshold is set to two hundred meters, and the longitude information and the latitude information of the sailboat are acquired in real time through the global positioning module (which can be understood as being acquired according to a preset period), and the current position of the sailboat is calculated, and at the same time, the data is stored in the background. The position of the current target waypoint is retrieved, and the two are compared in the same reference frame to determine whether the actual distance between the two is less than two hundred meters. If it is less than two hundred meters, it is considered that the target route has been reached. point.
更进一步地,当到达的目标航路点是航行终点时,若上述预设阈值设置的距离较大,同时,判定得到上述两者之间的实际间距较远时,则需要作进一步的精确定位,使之航行到准确的航行终点。Further, when the reached target waypoint is the sailing end point, if the preset threshold is set to a large distance, and at the same time, it is determined that the actual distance between the two is relatively far, further precise positioning is required. Let it sail to the exact end of the race.
本实施例的有益效果在于,通过全球定位装置进行定位,并将定位结果与后台预存数据进行比较分析,根据比较分析结果判断帆船是否已到达上述目标航路点。操控指令简洁、明确,数据分析结果的准确性高。The beneficial effects of the embodiment are that the positioning is performed by the global positioning device, and the positioning result is compared with the background pre-stored data, and the comparison analysis result is used to determine whether the sailing boat has reached the target waypoint. The manipulation instructions are concise and clear, and the accuracy of the data analysis results is high.
进一步地,由现有的航行常识可知,在帆船航行过程中,当帆船的横向漂移量大于一定值时,采用全球定位模块获取帆船的航行信息较为准确。但是,当帆船的横向漂移量小于一定值时,由于横向漂移量较小,此时,通过全球定位模块获取的航行信息并不够准确。Further, from the existing navigational common knowledge, when the lateral drift of the sailboat is greater than a certain value during the sailing process, it is more accurate to use the global positioning module to obtain the navigation information of the sailboat. However, when the lateral drift of the sailboat is less than a certain value, since the amount of lateral drift is small, at this time, the navigation information acquired by the global positioning module is not accurate enough.
因此,若在帆船的横向漂移量较小情况下,如果仍采用全球定位模块获取帆船的航行信息,则可能会造成帆船的航行信息获取不够准确的缺陷。Therefore, if the lateral drift of the sailboat is small, if the global positioning module is still used to obtain the navigation information of the sailboat, it may cause the navigation information of the sailboat to be insufficiently accurate.
本实施例针对上述问题提出的解决方式是,预设一帆船横向漂移量值。当帆船的横向漂移量大于上述预设的横向漂移量值时,采用上述全球定位模块获取帆船的航行信息,当帆船横向漂移量小于该预设的横向漂移量值时,通过帆船内置的惯性测量模块获取上述航行信息。The solution proposed by the embodiment for the above problem is to preset a lateral drift amount of the sailboat. When the lateral drift of the sailboat is greater than the preset lateral drift magnitude, the above-mentioned global positioning module is used to obtain the navigation information of the sailboat, and when the lateral drift of the sailboat is less than the preset lateral drift magnitude, the inertial measurement built by the sailboat is adopted. The module obtains the above navigation information.
可以理解,本实施例的有益效果在于,通过全球定位模块与惯性测量模 块相结合的方式获取航行信息,避免了在长时间使用惯性测量模块时,所带来的积累误差较大的缺陷。It can be understood that the beneficial effects of the embodiment are that the global positioning module and the inertial measurement module are adopted. The combination of blocks acquires navigation information, which avoids the drawback of large accumulation error caused by using the inertial measurement module for a long time.
进一步地,如图2示出的步骤S202,通过上述惯性测量模块按预设周期获取帆船船体的俯仰角和横滚角。Further, as shown in step S202 of FIG. 2, the pitch angle and the roll angle of the sailing hull are acquired by the inertial measurement module according to a preset period.
惯性测量模块可以理解是包含有相关测量功能的传感器,通过相关的传感器按预设周期(例如,每一秒感测一次)感测帆船船体的俯仰角和横滚角。The inertial measurement module can be understood as a sensor that includes related measurement functions, and the pitch angle and roll angle of the sailing hull are sensed by the associated sensor at a preset period (for example, once per second).
由现有的航行常识可知,当帆船船体的俯仰角大于一定值时,帆船有倾翻的危险,另一方面,当帆船船体的横滚角大于一定值时,帆船也会有倾翻的危险。It can be known from the existing navigation knowledge that when the pitch angle of the sailing hull is greater than a certain value, the sailing boat has the risk of tipping over. On the other hand, when the rolling angle of the sailing hull is greater than a certain value, the sailing boat may also be in danger of tipping over. .
因此,本实施例解决上述技术问题所采用的技术方案是,在帆船的航行过程中,针对帆船船体的俯仰角设置第一预设危险值,并针对帆船船体的横滚角设置第二预设危险值。Therefore, the technical solution adopted by the present embodiment to solve the above technical problem is to set a first preset danger value for the pitch angle of the sailing hull during the sailing of the sailing vessel, and set a second preset for the rolling angle of the sailing hull. Dangerous value.
在帆船航行过程中,周期性的感测帆船船体的俯仰角以及横滚角。当帆船船体的俯仰角超过上述第一预设危险值时,则认定帆船处于倾翻状态;当帆船船体的横滚角超过上述第二预设危险值,则认定帆船处于倾翻状态。During the sailing process, the pitch angle and the roll angle of the sailing hull are periodically sensed. When the pitch angle of the sailing hull exceeds the first predetermined dangerous value, it is determined that the sailing vessel is in a tipping state; when the rolling angle of the sailing hull exceeds the second preset dangerous value, it is determined that the sailing vessel is in a tipping state.
进一步地,若经判断得出帆船处于倾翻状态,则发出求救信号,并结束航行。Further, if it is judged that the sailboat is in a tipping state, a distress signal is issued and the navigation is ended.
本实施例的有益效果在于,在帆船自主航行的过程中,实时获取帆船船体的参数,并根据参数判断船体是否倾翻,以便于在船体发生倾翻或者临界倾翻状态时,能及时发出求救信号或者预警信号。The beneficial effect of the embodiment is that in the process of autonomous sailing of the sailboat, the parameters of the sailing hull are obtained in real time, and whether the hull is tilted according to the parameters is determined, so that when the hull is tipped or critically tilted, the rescue can be promptly sent out. Signal or warning signal.
进一步地,如图2示出的步骤S206,在帆船自主航行的过程中,根据上述横滚角计算风帆的张开面积。Further, in step S206 shown in FIG. 2, during the autonomous navigation of the sailboat, the open area of the sail is calculated based on the roll angle.
具体实施方式如下所述:The specific implementation is as follows:
首先,将风帆的一端套装在桅杆上,另一端则由风帆绳索拉动;First, one end of the sail is placed on the mast and the other end is pulled by the sail rope;
情形一:风帆可以完全卷绕在桅杆上,此时风帆不受风的作用;Case 1: The sail can be completely wound on the mast, at which time the sail is not affected by the wind;
情形二:风帆可以完全张开,此时受风作用的风帆面积最大;Scenario 2: The sail can be fully opened, and the area of the sail affected by the wind is the largest;
情形三:也可以让风帆部分卷绕在桅杆上而部分张开,此时风帆部分面 积受到风的作用。Case 3: It is also possible to partially wind the sail on the mast and partially open it. The product is affected by the wind.
然后,根据计算结果调整风帆的受风面积。可以理解,在相同的风速、风向、调整角等情况下,风帆受风面积的大小决定了帆船获得风的推进力的大小和帆船受到风的横滚力矩的大小,即,风帆受风面积越大,帆船获得风的推进力越大,同时,帆船受到风的横滚力矩也越大。其中,横滚力矩决定帆船的横滚角度,即,横滚力矩越大,帆船的横滚角度越大。Then, the wind receiving area of the sail is adjusted according to the calculation result. It can be understood that in the case of the same wind speed, wind direction, adjustment angle, etc., the size of the wind receiving area of the sail determines the magnitude of the propulsion force of the sailboat and the rolling moment of the sailboat, that is, the wind receiving area of the sail Large, the greater the propulsion of the sailboat, and the greater the rolling moment of the sailboat. Among them, the rolling moment determines the rolling angle of the sailboat, that is, the greater the rolling moment, the larger the rolling angle of the sailboat.
在帆船横滚角处于安全范围内(该安全范围可以是上述实施例中,由第二预设危险值所限定的安全范围,即,帆船的横滚角小于第二预设危险值的可取值范围),风帆的张开面积较大时,可以获得较大推进力,但不至于使得帆船发生倾翻的危险。The safety angle of the sailboat is within a safe range (the safety range may be the safety range defined by the second preset danger value in the above embodiment, that is, the roll angle of the sailboat is less than the second preset danger value) Range of values) When the open area of the sail is large, a large thrust can be obtained, but the risk of the sailboat tipping is not caused.
在上述情形下,按如下方式调整帆船自主航行过程中的风帆尺寸:Under the above circumstances, adjust the sail size during the autonomous sailing of the sailboat as follows:
例如,风帆的尺寸用S_sail表示,风帆尺寸控制的数学表达式可以表述为:For example, the size of a sail is represented by S_sail, and the mathematical expression of sail size control can be expressed as:
S_sail=f(|∠Roll|)∈[0,1]·S_fullS_sail=f(|∠Roll|)∈[0,1]·S_full
其中∠Roll为帆船横滚角,并∠Roll∈[﹣R_max,R_max],R_max为帆船正常航行时允许的最大安全横滚角,可以理解,此处所述的最大安全横滚角是指临界于上述实施例中的第二预设危险值,或者,将第二预设危险值确定为帆船正常航行时允许的最大安全横滚角。Among them, ∠Roll is the horizontal angle of the sailboat, and ∠Roll∈[-R_max,R_max], R_max is the maximum safe roll angle allowed during the normal sailing of the sailboat. It can be understood that the maximum safe roll angle described here refers to the criticality. The second preset hazard value in the above embodiment, or the second preset hazard value is determined as the maximum safe roll angle allowed when the sailboat is normally sailing.
上述表达式中,S_full为风帆全部打开时的最大风帆面积;f(·)为单调减函数,帆船横滚角较大时,风帆张开面积较小,而帆船横滚角较小时,风帆张开面积较大。In the above expression, S_full is the maximum sail area when the sails are all open; f(·) is a monotonic decrease function. When the cross angle of the sailboat is large, the sail opening area is small, and when the cross angle of the sailboat is small, the sail sheet is The opening area is large.
本实施例的有益效果在于,在帆船自主航行的过程中,通过调整风帆以及风帆的受风面积,从而使得帆船获得较大的推进力。同时,通过上述数学表达式计算并调整帆船自主航行过程中的风帆尺寸,从而使得帆船在自主航行过程中,保证安全航行的同时,获得最优风帆张开面积,实现了对风帆张开面积的精准调控。The beneficial effect of this embodiment is that the sailboat obtains a large propulsive force by adjusting the windsurfing area of the sail and the sail during the autonomous sailing of the sailboat. At the same time, through the above mathematical expressions, the size of the sail during the autonomous navigation of the sailboat is calculated and adjusted, so that the sailboat can ensure the safe navigation while obtaining the optimal sail opening area and realize the open area of the sail. Precise regulation.
进一步地,如图2示出的步骤S207、步骤S208、步骤S209以及步骤S210, 上述步骤S207-S210针对于帆船自主航行过程中航向区的划分方式,提出了以下技术方案:Further, as shown in FIG. 2, step S207, step S208, step S209, and step S210, The above steps S207-S210 propose the following technical solutions for the manner of dividing the heading area during the autonomous navigation of the sailboat:
a.根据上述真实风的风向信息划分航向区。a. Divide the heading area according to the wind direction information of the above-mentioned real wind.
b.根据当前目标航路点和帆船的相对位置关系,计算当前目标航路点相对于帆船的相对方位角。b. Calculate the relative azimuth of the current target waypoint relative to the sailboat based on the relative positional relationship between the current target waypoint and the sailboat.
c.根据上述相对方位角确定当前目标航路点所处的航向区。c. Determine the heading zone in which the current target waypoint is located based on the relative azimuth described above.
具体实施方式如下所述:The specific implementation is as follows:
根据计算所得的真实风向,将以帆船为中心的周向360度方向划分为四个航向区,分别是迎风不可航行区I、右侧风区II,左侧风区III,顺风区IV。According to the calculated true wind direction, the 360-degree direction centered on the sailboat is divided into four heading areas, namely, the wind-incompatible area I, the right side wind area II, the left side wind area III, and the downwind area IV.
其中,迎风不可航行区I是正逆风左右各45度的角度区域,该区域内帆船无法航行。Among them, the unwindable area I in the wind is an angled area of 45 degrees to the right and left, and the sailboat cannot sail in this area.
顺风区IV为正顺风左右各30度的角度区域。The downwind zone IV is an angular zone of 30 degrees each of the right and left winds.
考虑到在顺风区IV内航行效率较低和稳定性较差,顺风区IV在本发明中被视作不宜航行的角度区域。Considering that the navigation efficiency is low and the stability is poor in the downwind zone IV, the downwind zone IV is considered to be an unsuitable angle of navigation in the present invention.
在迎风不可航行区I与顺风区IV之间的两块角度区域分别是右侧风区II和左侧风区III。The two angular regions between the windward navigable zone I and the downwind zone IV are the right wind zone II and the left wind zone III, respectively.
其中,当帆船迎风时,右侧船舷所对角度区域为右侧风区II,左侧船舷所对角度区域为左侧风区III。Among them, when the sailboat is facing the wind, the angle area of the right side of the ship is the right side wind zone II, and the angle area of the left side of the ship's side is the left side wind zone III.
右侧风区II和左侧风区III为可航行的角度区域。The right wind zone II and the left wind zone III are navigable angle zones.
帆船将在右侧风区II和左侧风区III两个角度区域内航行,接近并到达当前目标航路点。The sailboat will sail in both the right wind zone II and the left wind zone III, approaching and reaching the current target waypoint.
进一步地,如图2示出的步骤S210,按如下方法确定当前目标航路点所处航向区:Further, as shown in step S210 of FIG. 2, the heading area where the current target waypoint is located is determined as follows:
由当前目标航路点和帆船的相对位置关系,计算当前目标航路点相对于帆船的相对方位角∠TB,由相对方位角确定当前目标航路点所处的航向区。同时,可参考图9所示的风的矢量关系示意图,在图9所示的风的矢量关系示意图中,Ws表示真实风,用∠WS表示真实风相对于帆船的相对方位角。 From the relative positional relationship between the current target waypoint and the sailboat, the relative azimuth angle ∠T B of the current target waypoint relative to the sailboat is calculated, and the heading zone in which the current target waypoint is located is determined by the relative azimuth. Meanwhile, a schematic view of the relationship between the wind vector may be illustrated with reference to Figure 9, a schematic diagram of the wind vector relationship shown in FIG. 9, indicates Ws of the true wind, the wind is represented by ∠W S true relative azimuthal sailing.
具体地,本实施例中,如果(∠TB﹣∠WS)∈[0,π/4)∪(7π/4,2π),则目标航路点处于迎风不可航行区I,表示为T∈I;Specifically, in this embodiment, if (∠T B -∠W S )∈[0,π/4)∪(7π/4, 2π), the target waypoint is in the windward unsaved zone I, denoted as T∈ I;
如果(∠TB﹣∠WS)∈[π/4,5π/6],则目标航路点处于右侧风区II,表示为T∈II;If (∠T B -∠W S )∈[π/4,5π/6], the target waypoint is in the right wind zone II, denoted as T∈II;
如果(∠TB﹣∠WS)∈[7π/6,7π/4],则目标航路点处于左侧风区III,表示为T∈III;If (∠T B -∠W S )∈[7π/6,7π/4], the target waypoint is in the left wind zone III, denoted as T∈III;
如果(∠TB﹣∠WS)∈(5π/6,7π/6),则目标航路点处于顺风区IV,表示为T∈IV;因为帆船周向360度已经划分为四个航向区,当前目标航路点的相对方位角必然被某一航向区的角度区域包含,则认为当前目标航路点属于该航向区。If (∠T B -∠W S )∈(5π/6,7π/6), the target waypoint is in the downwind zone IV, denoted as T∈IV; since the 360 degree of the sailboat has been divided into four heading zones, The relative azimuth of the current target waypoint is necessarily included in the angular zone of a certain heading zone, and the current target waypoint is considered to belong to the heading zone.
本实施例的有益效果在于,通过计算当前目标航路点相对于帆船的相对方位角确定当前目标航路点所处的航向区,实现了在帆船自主航行的过程中,对航向区的准确划分。The beneficial effect of the embodiment is that the heading zone where the current target waypoint is located is determined by calculating the relative azimuth angle of the current target waypoint relative to the sailboat, and the accurate division of the heading zone during the autonomous navigation of the sailboat is realized.
进一步地,如图2示出的步骤S211、步骤S212以及步骤S213,上述步骤S211-S213针对于帆船自主航行过程中,确定期望航行向量,跟踪上述期望航行向量,以及调控风帆调整角的具体实施方式,提出了以下技术方案:Further, as shown in FIG. 2, step S211, step S212, and step S213, the above steps S211-S213 are directed to determining a desired navigation vector, tracking the desired navigation vector, and adjusting the sail adjustment angle during the autonomous navigation of the sailboat. In the way, the following technical solutions are proposed:
a,根据上述航向区以及当前目标航路点确定期望航向向量。a. Determine the desired heading vector based on the heading zone and the current target waypoint.
b,通过控制舵角,使得帆船的实际航向达到或者跟踪上述期望航向。b. By controlling the rudder angle, the actual heading of the sailboat is achieved or tracked by the desired heading.
c,根据上述相对风的风向信息,控制风帆调整角。c. Control the sail adjustment angle according to the wind direction information of the relative wind described above.
其中,按如下方法确定期望航向向量:Among them, determine the desired heading vector as follows:
当前目标航路点属于右侧风区II或者左侧风区III时,由帆船的当前位置指向当前目标航路点的单位向量即为期望航向向量。When the current target waypoint belongs to the right wind zone II or the left wind zone III, the unit vector from the current position of the sailboat to the current target waypoint is the desired heading vector.
可以理解,当前目标航路点属于右侧风区II或者左侧风区III时,帆船可以直接向着当前目标航路点的方向航行。It can be understood that when the current target waypoint belongs to the right wind zone II or the left wind zone III, the sailboat can sail directly toward the current target waypoint.
进一步地,当前目标航路点处于迎风不可航行区I时,为了避开这个角度区域,需要控制帆船,实现抢风行驶,例如,当前目标航路点处于迎风不可航行区I时,首先,控制帆船驶入右侧风区II或者左侧风区III,然后,当帆 船再次处在右侧风区II或者左侧风区III内时,继续选择非迎风不可航行区I行驶,重复按上述方式行驶,以使得帆船以“Z”字形航行路径到达当前目标航路点。Further, when the current target waypoint is in the windward unstoppable zone I, in order to avoid this angle zone, it is necessary to control the sailboat to achieve wind rushing. For example, when the current target waypoint is in the windy unsailable zone I, firstly, control the sailing Into the right wind zone II or the left wind zone III, then, when the sail When the ship is again in the right wind zone II or the left wind zone III, continue to select the non-windward unsold zone I to travel, repeat the above-mentioned way, so that the sailboat reaches the current target waypoint with a "Z" shaped sailing path.
进一步地,在迎风不可航行区I与右侧风区II的交界角度处设定右侧贴风向量VII_I,可以理解,当帆船按照上述设定的右侧贴风向量VII_I行驶时,在航行路线最短的条件下,避免了帆船驶入迎风不可航行区I,从而使得航线规划的最优化。Further, the right windward vector V II_I is set at the boundary angle between the windward non-sailing area I and the right wind area II. It can be understood that when the sailboat travels according to the right side wind vector V II_I set above, Under the shortest sailing conditions, the sailboats are prevented from entering the wind-tolerable area I, thus optimizing the route planning.
同理,在迎风不可航行区I与左侧风区III的交界角度处设定左侧贴风向量VIII_I,其中右侧贴风向量VII_I和左侧贴风向量VIII_I都为单位向量。Similarly, the left side wind vector V III_I is set at the boundary angle between the windward non-sailing area I and the left side wind area III, wherein the right side wind vector V II_I and the left side wind vector V III_I are both unit vectors.
进一步地,为了实现帆船的抢风航行,需要轮流地将右侧贴风向量VII_I和左侧贴风向量VIII_I设定为期望航向向量。Further, in order to achieve the voyage of the sailboat, it is necessary to alternately set the right wind vector V II_I and the left wind vector V III_I as the desired heading vector.
进一步地,当前目标航路点处于顺风区IV时,为了提高航行效率和稳定性,需要帆船避开顺风区航行,以“Z”字形航行路径到达当前目标航路点。Further, when the current target waypoint is in the downwind zone IV, in order to improve the navigation efficiency and stability, the sailboat is required to avoid the downwind area and travel to the current target waypoint in a "Z" shaped sailing path.
进一步地,在顺风区IV与右侧风区II的交界角度处设定右侧顺风向量VII_IV,在顺风区IV与左侧风区III的交界角度处设定左侧顺风向量VIII_IV,其中右侧顺风向量VII_IV和左侧顺风向量VIII_IV都为单位向量。Further, the wind vectors V II_IV set right angles at the junction of the right region IV downwind wind zone II is set at the left side of the wind vector V III_IV junction region IV and the wind angle at the left side of the wind zone III, wherein Both the right downwind vector V II_IV and the left downwind vector V III_IV are unit vectors.
进一步地,轮流地将右侧顺风向量VII_IV和左侧顺风向量VIII_IV设定为期望航向向量,以实现当前目标航路点处于顺风区IV时的“Z”字形航行。Further, the right downwind vector V II_IV and the left downwind vector V III_IV are alternately set as the desired heading vector to achieve a "Z"-shaped navigation when the current target waypoint is in the downwind zone IV.
在本实施例中,当确定了上述期望航行向量后,再控制舵的偏转角度,以跟踪由上述期望航行向量确定的期望航向。具体实施方式如下所述:In the present embodiment, after the desired navigation vector is determined, the deflection angle of the rudder is controlled to track the desired heading determined by the desired navigation vector. The specific implementation is as follows:
首先,可以理解的是,在帆船的自主航行过程中,舵的偏转可以控制帆船的实际航向,通过控制舵角使帆船的实际航向达到或者跟踪期望航向。First of all, it can be understood that during the autonomous navigation of the sailboat, the deflection of the rudder can control the actual heading of the sailboat, and the actual heading of the sailboat can be achieved or tracked by controlling the rudder angle.
情形一:如果期望航向在实际航向的右侧,则舵角向右偏转;Case 1: If the desired heading is on the right side of the actual heading, the rudder angle is deflected to the right;
情形二:如果期望航向在实际航向的左侧,则舵角向左偏转。Case 2: If the desired heading is to the left of the actual heading, the rudder angle is deflected to the left.
在本实施例中,设期望航向向量与帆船的实际航向向量之间的夹角表示为∠Heading,其取值范围在[0,2π);In this embodiment, the angle between the desired heading vector and the actual heading vector of the sailboat is expressed as ∠Heading, and its value ranges from [0, 2π);
舵角表示为δ,舵角δ以向右舷侧偏转为正,向左舷侧偏转为负。 The rudder angle is expressed as δ, and the rudder angle δ is deflected to the starboard side to be positive and to the port side to be negative.
因此,可以采用最简单的比例控制方法,将航向夹角∠Heading映射到舵角δ上,数学描述为:Therefore, the simplest proportional control method can be used to map the heading angle ∠Heading to the rudder angle δ. The mathematical description is:
当∠Heading∈[0,π]时,δ=Kp·∠HeadingWhen ∠Heading∈[0,π], δ=Kp·∠Heading
当∠Heading∈(π,2π)时,δ=﹣Kp·|∠Heading﹣2π|When ∠Heading∈(π, 2π), δ=-Kp·|∠Heading-2π|
其中Kp为比例系数。Where Kp is the proportionality factor.
进一步地,舵角控制这一步骤也可以采用其它现有的控制方法,例如,PD控制、PID控制、模糊控制、神经网络控制等经典控制方法,应当理解的是,上述PD控制等控制方法属于现有技术手段,在此不必赘述。Further, the rudder angle control step may also adopt other existing control methods, for example, classic control methods such as PD control, PID control, fuzzy control, and neural network control. It should be understood that the above control methods such as PD control belong to The prior art means need not be described here.
当按上述数学表达式计算得到舵角δ后,由帆船的驱动与控制系统控制船舵转动到δ角度,以完成对帆船舵角的控制。When the rudder angle δ is calculated according to the above mathematical expression, the rudder is controlled by the driving and control system of the sailboat to rotate to the δ angle to complete the control of the rudder angle of the sailboat.
在本实施例中,当帆船根据上述步骤完成对舵角的控制后,再根据相对风的风向,控制风帆调整角。具体实施方式如下所述:In the present embodiment, after the sailboat completes the control of the rudder angle according to the above steps, the sail adjustment angle is controlled according to the wind direction of the relative wind. The specific implementation is as follows:
首先,可以理解的是,帆船的驱动与控制系统并不能直接控制风帆调整角θ,驱动与控制系统需要先放松连接于风帆末端的风帆绳索,在风的作用下风帆才可被吹向一方,此时风帆与帆船中线面所呈的角度为风帆调整角θ。First of all, it can be understood that the sailboat drive and control system cannot directly control the sail adjustment angle θ. The drive and control system needs to first loosen the sail rope connected to the end of the sail, and the sail can be blown to one side under the action of the wind. At this time, the angle between the sail and the midline of the sailboat is the sail adjustment angle θ.
因此,风帆的松紧与风帆调整角的关系如下所述:Therefore, the relationship between the tightness of the sail and the sail adjustment angle is as follows:
风帆被放得越松,风帆调整角越大;The looser the sail is placed, the larger the sail adjustment angle;
风帆被拉得越紧,风帆调整角越小。The tighter the sail is pulled, the smaller the sail adjustment angle.
也即,风帆调整角是被动的依赖于风的吹动形成的,受约束于风帆控制绳索的长度,所以驱动与控制系统直接控制风帆绳索的长度L_rope,以间接控制风帆调整角θ。That is, the sail adjustment angle is formed by a passive wind-dependent blow, constrained to the length of the sail control rope, so the drive and control system directly controls the length L_rope of the sail rope to indirectly control the sail adjustment angle θ.
更进一步地,风帆调整角影响风帆的推进效率,一般而言,将风帆调整角控制为相对风的风向∠WB的一半左右(如图6所示),数学表达式为Further, the sail adjustment angle affects the propulsion efficiency of the sail. Generally, the sail adjustment angle is controlled to be about half of the wind direction ∠W B of the wind (as shown in FIG. 6), and the mathematical expression is
θ=∠WB/2θ=∠W B /2
其中,驱动与控制系统直接控制的风帆绳索的长度L_rope的表达式为Wherein, the expression of the length of the sail rope that is directly controlled by the drive and control system is L_rope
L_rope=Ku·∠WB L_rope=Ku·∠W B
其中Ku为比例系数。 Where Ku is the proportionality factor.
由上述实施方式可知,通过上述数学表达式计算得出风帆控制角,同时,通过计算得出风帆绳索的长度,直接通过调整风帆绳索的长度以实现对风帆控制角的调整。It can be seen from the above embodiment that the sail control angle is calculated by the above mathematical expression, and at the same time, the length of the sail rope is calculated by directly calculating the length of the sail rope to realize the adjustment of the sail control angle.
进一步地,根据上述实施例,在帆船的自主航行过程中,循环进行由风和目标航路点的方位确定航向区与期望航向、控制舵的角度以跟踪期望航向、调整风帆调整角等操作,直至到达航行终点。Further, according to the above embodiment, during the autonomous navigation of the sailboat, the operation of determining the heading zone and the desired heading and controlling the rudder by the orientation of the wind and the target waypoint is cyclically performed to track the desired heading, adjust the sail adjustment angle, and the like until Arrive at the end of the flight.
可以理解,实施本发明的帆船自主控制方法,在帆船的自主航行过程中,通过航向区的划分、期望航向向量的计算、舵角的控制、风帆张开面积与调整角的控制,系统地完成了自动生成航向,自主控制舵和帆,从而实现了帆船的自主控制。It can be understood that the autonomous control method for the sailboat embodying the present invention is systematically completed during the autonomous navigation of the sailboat by the division of the heading zone, the calculation of the desired heading vector, the control of the rudder angle, the control of the sail opening area and the adjustment angle. The automatic generation of the course, the autonomous control of the rudder and the sail, thus achieving the autonomous control of the sailboat.
实施例三Embodiment 3
图3是本发明帆船自主控制方法的推进控制的细化流程图。3 is a detailed flow chart of the propulsion control of the autonomous control method of the sailboat of the present invention.
在帆船自主航行的过程中,如果确定帆船航速过慢,则启动推进器做辅助推动。为了避免推进器频繁地开启和停止,可以按如下方式对该步骤作进一步细化设计:During the autonomous sailing of the sailboat, if it is determined that the speed of the sailing vessel is too slow, the propeller is activated to assist the propulsion. In order to avoid frequent opening and stopping of the propeller, the step can be further refined as follows:
首先,判断推进器当前是否正在运行。First, determine if the thruster is currently running.
如果上述步骤判定推进器当前没有运行,则继续判断航速是否小于设定阀值Vmin。If the above step determines that the propeller is not currently running, it continues to determine whether the speed is less than the set threshold Vmin.
如果上述步骤判定航速小于Vmin成立,则推进器运行,做辅助推动。If the above steps determine that the speed is less than Vmin, the propeller is operated and assisted.
如果上述步骤判定航速小于Vmin不成立,则推进器仍然停止。If the above steps determine that the speed is less than Vmin, the thruster is still stopped.
如果上述步骤判定推进器当前正在运行,则继续判断航速是否大于设定阀值Vmax。If the above step determines that the propeller is currently running, it continues to determine whether the speed is greater than the set threshold Vmax.
如果上述步骤判定航速大于Vmax成立,则推进器停止运行。If the above steps determine that the speed is greater than Vmax, the propeller stops operating.
如果上述步骤判定航速大于Vmax不成立,则推进器继续运行。If the above steps determine that the speed is greater than Vmax, the propeller continues to operate.
其中,Vmin、Vmax分别是根据经验设定的航速阀值,设定时需要满足不等式条件Vmin<Vmax。Among them, Vmin and Vmax are the speed thresholds set according to experience, and the inequality condition Vmin<Vmax needs to be satisfied during setting.
上述步骤的意义可以解释为,航速小于Vmin时,推进器启动;航速大于 Vmax时,推进器停止;航速介于Vmin和Vmax之间时,推进器维持当前的运行状态或者停止状态。The meaning of the above steps can be explained as: when the speed is less than Vmin, the propeller starts; the speed is greater than At Vmax, the thruster stops; when the speed is between Vmin and Vmax, the thruster maintains the current operating state or the stopped state.
实施例四Embodiment 4
图4本发明帆船自主控制方法的期望航向向量计算的细化流程图。4 is a detailed flow chart of the desired heading vector calculation of the autonomous control method of the sailboat of the present invention.
基于上述实施例,确定期望航向向量可以进一步细化为如下步骤:Based on the above embodiment, determining the desired heading vector can be further refined into the following steps:
首先,S210,判断当前目标航路点所处的航向区。First, S210, judging the heading area where the current target waypoint is located.
如果当前目标航路点处于右侧风区II或者左侧风区III,则由帆船的当前位置指向当前目标航路点的单位向量TB即为期望航向向量。(步骤S2111-S2115)If the current target waypoint is in the right wind zone II or the left wind zone III, the unit vector T B from the current position of the sailboat to the current target waypoint is the desired heading vector. (Steps S2111-S2115)
向量TB的角度可以表示为∠TBThe angle of the vector T B can be expressed as ∠T B .
如果判断得到当前目标航路点处于迎风不可航行区I时,则需要按如下步骤确定新的期望航向向量:If it is judged that the current target waypoint is in the windward unsaved area I, then the new desired heading vector needs to be determined as follows:
确定右侧贴风向量VII_I和左侧贴风向量VIII_IDetermine the right wind vector V II_I and the left wind vector V III_I .
其中右侧贴风向量的角度∠VII_I是在正逆风方向上再顺时针转动45度,该向量的长度为1;The angle ∠V II_I of the right wind vector is rotated clockwise 45 degrees in the direction of the upwind, the length of the vector is 1;
其中左侧贴风向量的角度∠VIII_I是在正逆风方向上再逆时针转动45度,该向量的长度为1。The angle ∠V III_I of the left wind vector is rotated 45 degrees counterclockwise in the forward wind direction, and the length of the vector is 1.
步骤S2112,判定当前期望航向向量是右侧贴风向量VII_I还是左侧贴风向量VIII_IIn step S2112, it is determined whether the current desired heading vector is the right wind vector V II_I or the left wind vector V III_I .
所谓当前期望航向向量就是上一算法循环所确定的航向向量,如果当前航向向量既不是右侧贴风向量VII_I也不是左侧贴风向量VIII_I,则假设当前航向向量为右侧贴风向量VII_I。可以理解,按照不同的习惯,如果当前航向向量既不是右侧贴风向量VII_I也不是左侧贴风向量VIII_I时,也可以假设当前航向向量为左侧贴风向量VIII_IThe current desired heading vector is the heading vector determined by the previous algorithm cycle. If the current heading vector is neither the right wind vector V II_I nor the left wind vector V III_I , the current heading vector is assumed to be the right wind vector. V II_I . It can be understood that, according to different habits, if the current heading vector is neither the right wind vector V II_I nor the left wind vector V III_I , the current heading vector may be assumed to be the left wind vector V III_I .
S21121,根据上述步骤的判定,如果当前航向向量为右侧贴风向量VII_I,则方向指标Vindex设定为0。S21121, according to the determination of the above step, if the current heading vector is the right wind vector V II_I , the direction index Vindex is set to 0.
S21123,A、计算右侧贴风向量VII_I的方向乘数Multi0, S21123, A, attached to the right direction of the wind vector calculating V II_I multiplier Multi0,
Multi0=1﹢Jfactor·|0﹣Vindex|Multi0=1+Jfactor·|0-Vindex|
同时,计算左侧贴风向量VIII_I的方向乘数Multi2,Meanwhile, the left stick is calculated wind direction vector V III_I the Multi2 multiplier,
Multi2=1﹢Jfactor·|2﹣Vindex|Multi2=1+Jfactor·|2-Vindex|
其中,Jfactor为跃阶因子,为根据经验设定的常数,Vindex是方向指标。跃阶因子影响当前航向在右侧贴风向量VII_I和左侧贴风向量VIII_I之间的相互Among them, Jfactor is a step factor, which is a constant set according to experience, and Vindex is a direction indicator. The step factor affects the current heading between the right wind vector V II_I and the left wind vector V III_I
切换。Switch.
S21125,判断不等式一:S21125, judging inequality one:
Multi2·|∠VIII_I﹣∠TB|≤Multi0·|∠VII_I﹣∠TB|Multi2·| ∠V III_I -∠T B |≤Multi0·| ∠V II_I -∠T B |
是否成立。其中,Multi2是左侧贴风向量VIII_I的方向乘数,∠TB是期望航向向量TB的角度。Whether it is established. Wherein, Multi2 is left attached to the wind direction vector V III_I multiplier, ∠T B T B is the angle of a vector heading desired.
S21127,如果上述步骤中的不等式成立,则新的期望航向向量设定为左侧贴风向量VIII_IS21127, if the inequality in the above step is established, the new desired heading vector is set as the left side wind vector V III_I .
S21128,如果上述步骤中的不等式不成立,则新的期望航向向量仍然为右侧贴风向量VII_IS21128, if the inequality in the above step is not satisfied, the new desired heading vector is still the right wind vector V II_I .
S21122,根据上述步骤判别,如果当前航向向量为左侧贴风向量VIII_I,则方向指标Vindex设定为2。S21122, according to the above steps, if the current heading vector is the left side wind vector V III_I , the direction indicator Vindex is set to 2.
S21124,B、计算右侧贴风向量VII_I的方向乘数Multi0,S21124, B, attached to the right side is calculated wind vector direction V II_I multiplier Multi0,
Multi0=1﹢Jfactor·|0﹣Vindex|Multi0=1+Jfactor·|0-Vindex|
同时,计算左侧贴风向量VIII_I的方向乘数Multi2,Meanwhile, the left stick is calculated wind direction vector V III_I the Multi2 multiplier,
Multi2=1﹢Jfactor·|2﹣Vindex|Multi2=1+Jfactor·|2-Vindex|
S21126,判断不等式二:S21126, judging inequality two:
Multi2·|∠VIII_I﹣∠TB|≥Multi0·|∠VII_I﹣∠TB Multi2·| ∠V III_I -∠T B |≥Multi0·| ∠V II_I -∠T B
是否成立。其中,Jfactor为跃阶因子,为根据经验设定的常数,Vindex是方向指标,∠TB是期望航向向量TB的角度。Whether it is established. Where Jfactor is the jump factor, which is a constant set according to experience, Vindex is the direction index, and ∠T B is the angle of the desired heading vector T B .
S21128,如果上述步骤中的不等式成立,则新的期望航向向量设定为右侧贴风向量VII_IS21128, if the inequality in the above step is established, the new desired heading vector is set to the right wind vector V II_I .
S21127,如果上述步骤中的不等式不成立,则新的期望航向向量仍然为 左侧贴风向量VIII_IS21127, if the inequality in the above step is not satisfied, the new desired heading vector is still the left attached wind vector V III_I .
当前目标航路点处于迎风不可航行区I时,期望航向向量根据以上步骤S2111确定。When the current target waypoint is in the windward unsaved zone I, the desired heading vector is determined according to the above step S2111.
在航行过程中,帆船的当前位置指向当前目标航路点的单位向量TB会时刻变化,期望航向向量也会在右侧贴风向量VII_I和左侧贴风向量VIII_I之间有规律地切换。During the voyage, the current position of the sailboat points to the current target waypoint. The unit vector T B will change momentarily . The expected heading vector will also switch regularly between the right windward vector V II_I and the left windward vector V III_I . .
如果在确定当前目标航路点所处航向区时,判断当前目标航路点处于顺风区IV时,则需要按如下步骤确定新的期望航向向量:If it is determined that the current target waypoint is in the downwind zone IV when determining the heading zone where the current target waypoint is located, then the new desired heading vector needs to be determined as follows:
S2115,计算右侧顺风向量VII_IV和左侧顺风向量VIII_IV。其中右侧顺风向量的角度∠VII_IV是在正顺风方向上再逆时针转动30度(也就是正逆风方向再顺时针转动150度),该向量的长度为1;其中左侧顺风向量的角度∠VIII_IV是在正顺风方向上再顺时针转动30度(也就是正逆风方向再逆时针转动150度),该向量的长度为1。S2115, calculating the right downwind vector V II_IV and the left downwind vector V III_IV . The angle ∠V II_IV of the right downwind vector is 30 degrees counterclockwise in the forward direction (that is, the direction of the upwind is 150 degrees clockwise), the length of the vector is 1; the angle of the left downwind vector ∠V III_IV is rotated 30 degrees clockwise in the direction of the forward wind (that is, the direction of the upwind is reversed by 150 degrees counterclockwise), and the length of the vector is 1.
S2116,判定当前期望航向向量是右侧顺风向量VII_IV还是左侧顺风向量VIII_IV。如果当前航向向量既不是右侧顺风向量VII_IV也不是左侧顺风向量VIII_IV,则假设当前航向向量为右侧顺风向量VII_IV。可以理解,按照不同的习惯,如果当前航向向量既不是右侧顺风向量VII_IV也不是左侧顺风向量VIII_IV时,也可以假设当前航向向量为左侧顺风向量VIII_IVS2116, determining whether the current desired heading vector is the right downwind vector V II_IV or the left downwind vector V III_IV . If the current heading vector is neither the right downwind vector V II_IV nor the left downwind vector V III_IV , then the current heading vector is assumed to be the right downwind vector V II_IV . It can be understood that, according to different habits, if the current heading vector is neither the right downwind vector V II_IV nor the left downwind vector V III_IV , the current heading vector may be assumed to be the left downwind vector V III_IV .
S21161,根据上述步骤的判定,如果当前航向向量为右侧顺风向量VII_IV,则方向指标Vindex设定为1。S21161, according to the determination of the above step, if the current heading vector is the right downwind vector V II_IV , the direction indicator Vindex is set to 1.
S21163,A、计算右侧顺风向量VII_IV的方向乘数Multi1,S21163, A, is calculated right wind direction vector V II_IV multiplier Multi1,
Multi1=1﹢Jfactor·|1﹣Vindex|Multi1=1+Jfactor·|1-Vindex|
其中,Jfactor为跃阶因子,为根据经验设定的常数,Vindex是方向指标,∠TB是期望航向向量TB的角度。Where Jfactor is the jump factor, which is a constant set according to experience, Vindex is the direction index, and ∠T B is the angle of the desired heading vector T B .
同时,计算左侧顺风向量VIII_IV的方向乘数Multi3,Meanwhile, the left direction is calculated wind vector V III_IV MULTI3 multiplier,
Multi3=1﹢Jfactor·|3﹣Vindex|Multi3=1+Jfactor·|3-Vindex|
S21165,判断不等式三: S21165, judge inequality three:
Multi3·|∠VIII_IV﹣∠TB|≤Multi1·|∠VII_IV﹣∠TB|Multi3·| ∠V III_IV -∠T B |≤Multi1·| ∠V II_IV -∠TB|
是否成立。其中,Jfactor为跃阶因子,为根据经验设定的常数,Vindex是方向指标,∠TB是期望航向向量TB的角度。Whether it is established. Where Jfactor is the jump factor, which is a constant set according to experience, Vindex is the direction index, and ∠T B is the angle of the desired heading vector T B .
S21167,如果上述步骤中的不等式成立,则新的期望航向向量设定为左侧顺风向量VIII_IVS21167, if the inequality in the above step is established, the new desired heading vector is set to the left downwind vector V III_IV .
S21168,如果上述步骤中不等式不成立,则新的期望航向向量仍然为右侧顺风向量VII_IVS21168, if the inequality does not hold in the above step, the new desired heading vector is still the right downwind vector V II_IV .
S21162,根据上述步骤的判别,如果当前航向向量为左侧顺风向量VIII_IV,则方向指标Vindex设定为3。S21162, according to the determination of the above steps, if the current heading vector is the left downwind vector V III_IV , the direction indicator Vindex is set to 3.
S21164,B、计算右侧顺风向量VII_IV的方向乘数Multi1,S21164, B, calculates the wind direction vector V II_IV right multiplier Multi1,
Multi1=1﹢Jfactor·|1﹣Vindex|Multi1=1+Jfactor·|1-Vindex|
同时,计算左侧顺风向量VIII_IV的方向乘数Multi3,Meanwhile, the left direction is calculated wind vector V III_IV MULTI3 multiplier,
Multi3=1﹢Jfactor·|3﹣Vindex|Multi3=1+Jfactor·|3-Vindex|
S21166,判断不等式四:S21166, judging inequality four:
Multi3·|∠VIII_IV﹣∠TB|≥Multi1·|∠VII_IV﹣∠TB|Multi3·| ∠V III_IV -∠TB|≥Multi1·| ∠V II_IV -∠T B |
是否成立。其中,Jfactor为跃阶因子,为根据经验设定的常数,Vindex是方向指标,∠TB是期望航向向量TB的角度。Whether it is established. Where Jfactor is the jump factor, which is a constant set according to experience, Vindex is the direction index, and ∠T B is the angle of the desired heading vector T B .
S21168,如果上述步骤中不等式成立,则新的期望航向向量设定为右侧顺风向量VII_IVS21168, if the inequality is established in the above step, the new desired heading vector is set to the right downwind vector V II_IV .
S21167,如果上述步骤中不等式不成立,则新的期望航向向量仍然为左侧顺风向量VIII_IVS21167, if the inequality does not hold in the above step, the new desired heading vector is still the left downwind vector V III_IV .
当前目标航路点处于顺风区IV时,期望航向向量根据以上步骤S2115确定。When the current target waypoint is in the downwind zone IV, the desired heading vector is determined according to the above step S2115.
可以理解,在航行过程中,帆船的当前位置指向当前目标航路点的单位向量TB会时刻变化,期望航向向量也会在右侧顺风向量VII_IV和左侧顺风向量VIII_IV之间有规律地切换,切换规律由上述计算式确定。It can be understood that during the voyage, the current position of the sailboat pointing to the current target waypoint unit T B will change momentarily, and the desired heading vector will also be regularly between the right downwind vector V II_IV and the left downwind vector V III_IV . Switching, the switching law is determined by the above calculation formula.
在自主航行的过程中,通过上述算法步骤,可以确定帆船当前目标航路 点在不同航向区时的期望航向向量。In the process of autonomous navigation, through the above algorithm steps, the current target route of the sailboat can be determined. The desired heading vector when points are in different heading zones.
步骤S212,当计算得到不同航向区的期望航向向量之后,再根据上述实施例对舵角的控制方式,对舵角实施相应的调控,以使得实际航向向量跟踪确定的期望航向向量。Step S212, after calculating the desired heading vector of different heading zones, according to the control manner of the rudder angle in the above embodiment, the rudder angle is correspondingly adjusted, so that the actual heading vector tracks the determined desired heading vector.
本实施例的有益效果在于,通过上述详细算法,以确定期望航向向量,实现对期望航行向量的精准调控。The beneficial effect of this embodiment is that the detailed heading vector is determined by the above detailed algorithm to achieve precise control of the desired navigation vector.
实施例五Embodiment 5
图5是本发明较佳实施例提供的帆船自主控制装置的结构框图。FIG. 5 is a structural block diagram of a sailboat autonomous control device according to a preferred embodiment of the present invention.
该装置包括:航路点设置模块10、目标航路点确定模块20、期望航向确定模块30、控制模块40以及判断模块50。The device includes a waypoint setting module 10, a target waypoint determining module 20, a desired heading determining module 30, a control module 40, and a determining module 50.
首先,通过航路点设置模块10在航行路径中设置至少一个航路点;当完成航路点的设置操作后,通过目标航路点确定模块20获取帆船的航行信息,将帆船所在位置的下一航路点设置为目标航路点。First, at least one waypoint is set in the navigation path by the waypoint setting module 10; after the setting operation of the waypoint is completed, the navigation information of the sailing boat is acquired by the target waypoint determining module 20, and the next waypoint of the position where the sailboat is located is set. For the target waypoint.
在帆船向目标航路点航行的过程中,通过期望航向确定模块30根据帆船和目标航路点的相对方位、以及真实风的方向确定期望的航向向量。During the sailing of the sailboat to the target waypoint, the desired heading determination module 30 determines the desired heading vector based on the relative orientation of the sailboat and the target waypoint, and the direction of the real wind.
然后,再通过控制模块40根据相对风向信息控制帆船的风帆状态,并根据帆船当前的航向与期望的航向向量,控制帆船的舵角以达到或者跟踪期望航向。Then, the control module 40 controls the sail state of the sailboat according to the relative wind direction information, and controls the rudder angle of the sailboat according to the current heading of the sailboat and the desired heading vector to achieve or track the desired heading.
最后,通过判断模块50判断帆船是否到达航行终点。Finally, the judging module 50 judges whether the sailboat has reached the end of the sailing.
具体地,判断模块50包括第一判断单元51以及第二判断单元52,其中,Specifically, the determining module 50 includes a first determining unit 51 and a second determining unit 52, where
通过第一判断单元51判断帆船是否到达目标航路点;若未到达,则返回期望航向确定步骤,若已到达,则通知第二判断单元;Determining, by the first determining unit 51, whether the sailing boat reaches the target waypoint; if not, returning to the desired heading determining step, and if not, notifying the second determining unit;
然后再通过第二判断单元52判断目标航路点是否为航行终点;如果不是,则返回目标航路点确定步骤,如果是,则结束。Then, the second determining unit 52 determines whether the target waypoint is the sailing destination; if not, returns to the target waypoint determining step, and if so, ends.
进一步地,期望航向确定模块30包括:真实风信息获取单元31、航向区划分单元32、相对方位角确定单元33以及航向区确定单元34。具体地,该模块按如下操控方式完成相应的功能: Further, the desired heading determination module 30 includes a real wind information acquiring unit 31, a heading area dividing unit 32, a relative azimuth determining unit 33, and a heading area determining unit 34. Specifically, the module performs the corresponding functions as follows:
首先,通过真实风信息获取单元31获取真实风的信息;First, the information of the real wind is acquired by the real wind information acquiring unit 31;
然后,通过航向区划分单元32根据所述真实风的风向信息,以帆船为中心划分航向区;Then, the heading area dividing unit 32 divides the heading area centering on the sailboat according to the wind direction information of the real wind;
通过相对方位角确定单元33根据目标航路点和帆船的相对位置,计算目标航路点相对于帆船的相对方位角;The relative azimuth determining unit 33 calculates the relative azimuth angle of the target waypoint relative to the sailboat according to the relative position of the target waypoint and the sailboat;
最后,通过航向区确定单元34根据所述相对方位角确定目标航路点所处的航向区。Finally, the heading area determining unit 34 determines the heading area in which the target waypoint is located based on the relative azimuth.
进一步地,真实风信息获取单元31还用于,Further, the real wind information acquiring unit 31 is further configured to:
获取相对于帆船船体的相对风的风速信息和风向信息;Obtaining wind speed information and wind direction information relative to the relative wind of the sailing hull;
对航速信息、航向信息、相对风的风速信息以及相对风的风向信息进行矢量计算,根据矢量计算的结果获得相对于岸的真实风的风速信息和风向信息。Vector calculation is performed on the speed information, the heading information, the wind speed information of the relative wind, and the wind direction information of the relative wind, and the wind speed information and the wind direction information of the real wind relative to the shore are obtained according to the result of the vector calculation.
进一步地,控制模块40包括第一实际航行控制单元41以及第二实际航行控制单元42,其中,Further, the control module 40 includes a first actual navigation control unit 41 and a second actual navigation control unit 42, wherein
通过第一实际航行控制单元41控制舵的偏转,以控制帆船的实际航向;Controlling the deflection of the rudder by the first actual navigation control unit 41 to control the actual heading of the sailboat;
同时,通过第二实际航行控制单元42控制舵角,使帆船的实际航向达到或者跟踪期望航向。At the same time, the rudder angle is controlled by the second actual navigation control unit 42 so that the actual heading of the sailboat reaches or tracks the desired heading.
进一步地,控制模块40还包括风帆调整角控制单元43。风帆调整角控制单元43根据所述相对风的风向信息,控制风帆调整角。Further, the control module 40 further includes a sail adjustment angle control unit 43. The sail adjustment angle control unit 43 controls the sail adjustment angle based on the wind direction information of the relative wind.
进一步地,控制模块40还包括姿态角度获取单元44以及求救信号处理单元45,具体地:Further, the control module 40 further includes a posture angle acquiring unit 44 and a help signal processing unit 45, specifically:
通过姿态角度获取单元44获取帆船的姿态角度,其中,姿态角度包括航向角、俯仰角和横滚角;Acquiring the attitude angle of the sailboat by the attitude angle acquiring unit 44, wherein the posture angle includes a heading angle, a pitch angle, and a roll angle;
通过求救信号处理单元45在所述俯仰角超过第一预设危险值时或者当横滚角超过第二预设危险值时,发出帆船倾翻的求救信号,并结束航行。When the pitch angle exceeds the first preset danger value or when the roll angle exceeds the second preset danger value, the distress signal processing unit 45 issues a distress signal for the boat to tip over and ends the navigation.
上述模块所带来的有益效果在于,在帆船的自主航行过程中,通过对航向区的划分、期望航向向量的计算,提供一套整体性的帆船自主航行的控制 方法,系统地实现帆船航行路径的自动生成、风帆状态的自动控制、舵角的自动控制功能。从整体上看,一方面,提高了帆船自主控制的可操控性和准确性,另一方面,航线规划自适应性较高。The beneficial effect brought by the above modules is that in the process of autonomous navigation of the sailboat, a set of integrated navigational autonomous navigation control is provided by dividing the heading zone and calculating the desired heading vector. The method systematically realizes automatic generation of a sailing route, automatic control of a sail state, and automatic control of a rudder angle. On the whole, on the one hand, it improves the controllability and accuracy of the autonomous control of the sailboat. On the other hand, the route planning adaptability is higher.
实施例六Embodiment 6
如图6所示为本发明提供的一种帆船的硬件结构图。FIG. 6 is a hardware structural diagram of a sailboat provided by the present invention.
本帆船包括:船体1,风帆2,舵3,控制器4,推进器5,惯性测量模块6,全球定位模块7,风传感器8。The sailboat includes: hull 1, sail 2, rudder 3, controller 4, propeller 5, inertial measurement module 6, global positioning module 7, wind sensor 8.
其中,船体1、风帆2、舵3组成了帆船的本体;风帆2安置于船体1的上表面,并与船体1活动连接;舵3安置于船体1的尾端并与控制器4电性连接;控制器4设置于船体1的壳体内,可以理解,用于收纳控制器4的空间具有防水功能;推进器5安置于船体1的底端;惯性测量模块6安置于船体的1中部,可以理解,根据获取惯性测量的最大准确度设置该模块的安置位置;全球定位模块7安置于船体1的上表面,用于接收卫星信号;风传感器8通过连接杆与船体1的上表面固定连接。可以理解,控制器4分别与上述风帆2、舵3、推进器5、惯性测量模块6、全球定位模块7以及风传感器8电性连接。Wherein, the hull 1, the sail 2, the rudder 3 constitute the body of the sailboat; the sail 2 is placed on the upper surface of the hull 1 and is movably connected with the hull 1; the rudder 3 is placed at the tail end of the hull 1 and electrically connected to the controller 4 The controller 4 is disposed in the casing of the hull 1, and it can be understood that the space for accommodating the controller 4 has a waterproof function; the propeller 5 is disposed at the bottom end of the hull 1; and the inertial measurement module 6 is disposed at the middle of the hull 1 It is understood that the positioning position of the module is set according to the maximum accuracy of obtaining the inertial measurement; the global positioning module 7 is disposed on the upper surface of the hull 1 for receiving the satellite signal; and the wind sensor 8 is fixedly connected to the upper surface of the hull 1 through the connecting rod. It can be understood that the controller 4 is electrically connected to the sail 2, the rudder 3, the propeller 5, the inertial measurement module 6, the global positioning module 7, and the wind sensor 8, respectively.
可以理解,上述实施例五提供的帆船自主控制装置可作为本实施例的控制器4,该帆船自主控制装置按预设的功能需求,向本帆船的风帆2、舵3、推进器5、惯性测量模块6、全球定位模块7以及风传感器8发送相应的控制命令,以使其完成相应的操作动作。It can be understood that the autonomous control device for a sailboat provided in the above fifth embodiment can be used as the controller 4 of the present embodiment. The sailboat autonomous control device according to the preset functional requirements, the sail 2, the rudder 3, the propeller 5, and the inertia of the sailboat The measurement module 6, the global positioning module 7, and the wind sensor 8 send corresponding control commands to complete the corresponding operational actions.
图6中所示为三体帆船,本发明的硬件系统并不限于三体帆船,也可以为单体帆船或者双体帆船。Shown in Figure 6 is a trimaran. The hardware system of the present invention is not limited to a trimaran, but may also be a monohull or a catamaran.
惯性测量模块6提供船体1的在全局惯性坐标系中的姿态信息,包括航向角、俯仰角和横滚角。The inertial measurement module 6 provides attitude information of the hull 1 in a global inertial coordinate system, including a heading angle, a pitch angle, and a roll angle.
全球定位模块7获得帆船的经、纬度位置数据、航速和航向信息。The global positioning module 7 obtains the latitude and longitude position data, speed and heading information of the sailboat.
风传感器8提供相对于船体的相对风的风速和风向。The wind sensor 8 provides the wind speed and direction of the wind relative to the hull.
控制器4,接收各传感器信号及各数据信息,根据所述帆船自主控制方法, 计算出舵3和风帆2的控制量,并执行相应控制动作,实现帆船的自主无人航行。The controller 4 receives each sensor signal and each data information, according to the autonomous control method of the sailboat, Calculate the control amount of the rudder 3 and the sail 2, and perform corresponding control actions to realize the autonomous navigation of the sailboat.
在另一实施例中,在帆船航速过慢时,推进器5作辅助推动。In another embodiment, the propeller 5 acts as an auxiliary push when the sailing speed is too slow.
实施例七Example 7
图7a、图7b和图7c均是本发明帆船自主控制方法的目标航路点所处航行区时的相对方位示意图。7a, 7b and 7c are each a schematic diagram of the relative orientation when the target waypoint of the sailing autonomous control method of the present invention is located in the navigation zone.
其中,图7a、图7b、图7c中所示{S}为岸基平面坐标系,该坐标系的X轴指向正北,Y轴指向正东,以X轴为起始轴顺时针方向为正的角度值。岸基平面坐标系{S}是固定的全局坐标系。Among them, the {S} shown in Fig. 7a, Fig. 7b, and Fig. 7c is the shore-based plane coordinate system, the X-axis of the coordinate system points to the true north, the Y-axis points to the true east, and the X-axis as the starting axis is clockwise. Positive angle value. The shore-based planar coordinate system {S} is a fixed global coordinate system.
实施例八Example eight
图8a、图8b和图8c均是本发明帆船自主控制方法的船基平面坐标系示意图。8a, 8b and 8c are schematic views of the ship base plane coordinate system of the autonomous control method of the sailboat of the present invention.
其中,图8a、图8b、图8c中所示{B}分别为单体帆船、双体帆船和三体帆船的船体上建立的船基平面坐标系{B}。其中,图8a、图8b、图8c均以船体的质心B为坐标原点。Among them, {B} shown in Fig. 8a, Fig. 8b, Fig. 8c are the ship base plane coordinate system {B} established on the hull of the single sailboat, the catamaran and the trimaran. Among them, FIG. 8a, FIG. 8b, and FIG. 8c each take the center of mass B of the hull as the coordinate origin.
可以理解,在图8a示出的单体帆船坐标系中,该坐标系以船体的质心B为其坐标原点;由质心出发指向船头并与船体基平面平行为X轴;由质心出发指向右舷的为Y轴;以X轴为起始轴顺时针方向为正的角度值。It can be understood that in the single-sailboat coordinate system shown in Fig. 8a, the coordinate system takes the center of mass B of the hull as its coordinate origin; from the center of mass to the bow and parallel to the base plane of the hull as the X-axis; It is the Y axis; the clockwise direction is the positive angle value with the X axis as the starting axis.
在图8b示出的双体帆船坐标系中,双体帆船包含两个以X轴为对称轴的子船体。In the catamaran coordinate system shown in Fig. 8b, the catamaran comprises two subhulls with the X axis as the axis of symmetry.
在图8c示出的三体帆船坐标系中,三体帆船包含一个主船体以及两个子船体,其中,主船体按图8a示出的单体船的方式建立坐标,两个子船体按图8b示出的双体船的方式,以X轴为对称轴。In the three-hull sailboat coordinate system shown in Fig. 8c, the trimaran includes a main hull and two subhulls, wherein the main hull establishes coordinates in the manner of a single ship as shown in Fig. 8a, and the two subhulls are shown in Fig. 8b. The way of the catamaran is based on the X axis as the axis of symmetry.
可以理解,上述三个船体的坐标系均是以船体的质心为其坐标原点;由质心出发指向船头并与船体基平面平行为X轴;由质心出发指向右舷的为Y轴;以X轴为起始轴顺时针方向为正的角度值。船基平面坐标系{B}是随着船体一起运动的局部坐标系。 It can be understood that the coordinate systems of the above three hulls are based on the center of mass of the hull; the center of gravity is directed to the bow and parallel to the base plane of the hull is the X-axis; the center of mass is directed to the starboard for the Y-axis; A positive angle value for the starting axis clockwise. The ship's base plane coordinate system {B} is a local coordinate system that moves with the hull.
采用以上方式建立了岸基平面坐标系{S}和船基平面坐标系{B},目的是为了与全球定位系统、风传感器、惯性测量单元的标定方法相一致。The shore-based plane coordinate system {S} and the ship-base plane coordinate system {B} are established in the above manner, in order to be consistent with the calibration methods of the global positioning system, the wind sensor, and the inertial measurement unit.
在本实施例中,还有如下优选技术方案:In this embodiment, there are also the following preferred technical solutions:
如图7a、图7b、图7c与图8a、图8b和图8c所示,整个控制算法的所用岸基平面坐标系的X轴指向正北,Y轴指向正东,以X轴为起始轴顺时针方向为正的角度值。As shown in Fig. 7a, Fig. 7b, Fig. 7c and Fig. 8a, Fig. 8b and Fig. 8c, the X-axis of the land-based plane coordinate system of the entire control algorithm points to the true north, and the Y-axis points to the true east, starting from the X-axis. The axis clockwise direction is a positive angle value.
帆船船体上建立船基平面坐标系,船体的质心为其坐标原点;The ship's base plane coordinate system is established on the hull of the ship, and the center of mass of the hull is its coordinate origin;
由质心出发指向船头并与船体基平面平行为X轴;Starting from the center of mass, pointing to the bow and parallel to the base plane of the hull is the X axis;
由质心出发指向右舷的为Y轴;Starting from the center of mass, pointing to the starboard side is the Y-axis;
以X轴为起始轴顺时针方向为正的角度值。The clockwise direction is a positive angle value with the X axis as the starting axis.
采用以上方式建立坐标系,以保证与全球定位模块7、风传感器8、惯性测量模块6的标定方法相一致。The coordinate system is established in the above manner to ensure consistency with the calibration methods of the global positioning module 7, the wind sensor 8, and the inertial measurement module 6.
实施例九Example nine
图9是本发明帆船自主控制方法的风的矢量关系示意图。Fig. 9 is a schematic diagram showing the vector relationship of the wind of the autonomous control method of the sailboat of the present invention.
航速VS、相对风WB、真实风WS之间的矢量关系如图9所示,矢量表达可以写成WS=WB﹢VSThe vector relationship between the speed V S , the relative wind W B , and the real wind W S is as shown in Fig. 9, and the vector expression can be written as W S = W B + V S .
进一步地,由于控制器4并不能直接控制风帆调整角θ,控制器4需要先放松连接于风帆末端的风帆绳索,在风的作用下风帆2才可被吹向一方,此时风帆2与帆船中线面所呈的角度为风帆调整角θ。Further, since the controller 4 cannot directly control the sail adjustment angle θ, the controller 4 needs to first loosen the sail rope connected to the end of the sail, and the sail 2 can be blown to one side under the action of the wind, at this time the sail 2 and the sailboat The angle formed by the midline plane is the sail adjustment angle θ.
如图9所示,风帆被放得越松,风帆调整角越大;风帆被拉得越紧,风帆调整角越小。也就是说,风帆调整角是被动的依赖于风的吹动形成的,受约束于风帆控制绳索的长度,所以控制器4直接控制风帆绳索的长度L_rope,以间接控制风帆调整角θ。As shown in Fig. 9, the looser the sail is placed, the larger the sail adjustment angle is; the tighter the sail is pulled, the smaller the sail adjustment angle is. That is to say, the sail adjustment angle is formed by the passive wind-dependent blow, and is constrained to the length of the sail control rope, so the controller 4 directly controls the length L_rope of the sail rope to indirectly control the sail adjustment angle θ.
实施例十Example ten
图10是本发明帆船自主控制方法的风传感器的标定示意图。Fig. 10 is a schematic view showing the calibration of the wind sensor of the autonomous control method of the sailboat of the present invention.
图10中所示为风传感器的角度标定方式,风传感器8安装于船体1的中线面,风传感器8的X轴指向船头,船头正面迎风时相对风的风向∠WB为零 度,相对风向以顺时针方向为正。Figure 10 shows the angle calibration of the wind sensor. The wind sensor 8 is mounted on the midline of the hull 1. The X-axis of the wind sensor 8 points to the bow. The wind direction ∠W B of the wind is zero when the front of the bow is facing the wind. The wind direction is positive in a clockwise direction.
本发明整个控制方法的核心是航向区的划分、期望航向向量的计算、舵角的控制、风帆张开面积与调整角的控制、推进器的辅助推动。同时,本发明的帆船自主控制方法能根据“目标、风、帆船”三者之间的关系,自动生成航向,自主控制舵和帆,实现无人自主航行。The core of the overall control method of the present invention is the division of the heading zone, the calculation of the desired heading vector, the control of the rudder angle, the control of the sail opening area and the adjustment angle, and the auxiliary propulsion of the propeller. At the same time, the autonomous control method of the sailboat of the invention can automatically generate the heading according to the relationship between the "target, the wind and the sailboat", and independently control the rudder and the sail to realize the unmanned navigation.
可以认为,本发明还增强了帆船自主控制中的自主操控性以及自适应性。It can be considered that the present invention also enhances the autonomous handling and adaptability in the autonomous control of the sailboat.
应当理解的是,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,而所有这些改进和变换都应属于本发明所附权利要求的保护范围。 It is to be understood that those skilled in the art will be able to make modifications and changes in accordance with the above description, and all such modifications and variations are intended to be included within the scope of the appended claims.

Claims (12)

  1. 一种帆船自主控制方法,其特征在于,包括:A method for autonomous control of a sailboat, comprising:
    在航行路径中设置至少一个航路点;Setting at least one waypoint in the navigation path;
    目标航路点确定步骤:获取帆船的航行信息,将帆船所在位置的下一航路点设置为目标航路点;Target waypoint determination step: obtaining navigation information of the sailboat, and setting the next waypoint of the position where the sailboat is located as the target waypoint;
    期望航向确定步骤:根据所述帆船和所述目标航路点的相对方位、以及真实风的方向确定期望的航向向量;Desired course determining step: determining a desired heading vector according to a relative orientation of the sailboat and the target waypoint, and a direction of the real wind;
    控制步骤:根据相对风向信息控制帆船的风帆状态;根据帆船当前的航向与所述期望的航向向量,控制帆船的舵角以达到或者跟踪所述期望航向;Control step: controlling the sail state of the sailboat according to the relative wind direction information; controlling the rudder angle of the sailboat according to the current heading of the sailboat and the desired heading vector to achieve or track the desired heading;
    判断步骤:判断帆船是否到达所述目标航路点;若未到达,则返回所述期望航向确定步骤;若已到达,则进一步判断所述目标航路点是否为航行终点;如果不是,则返回所述目标航路点确定步骤;如果是,则结束流程。Determining step: judging whether the sailing boat reaches the target waypoint; if not, returning to the desired heading determining step; if it has arrived, further determining whether the target waypoint is a sailing end point; if not, returning to the The target waypoint determination step; if yes, the process ends.
  2. 根据权利要求1所述的帆船自主控制方法,其特征在于,所述期望航向确定步骤包括:The autonomous control method for a sailboat according to claim 1, wherein the desired heading determining step comprises:
    获取真实风的信息;Get real wind information;
    根据所述真实风的风向信息,以帆船为中心划分航向区,所述航向区至少包括顺风区、迎风不可航行区、侧风区;According to the wind direction information of the real wind, the heading area is divided by the sailboat, and the heading area includes at least a downwind area, an unwindable area in the windward direction, and a side wind area;
    根据所述目标航路点和帆船的相对位置,计算所述目标航路点相对于帆船的相对方位角;Calculating a relative azimuth of the target waypoint relative to the sailboat according to the relative position of the target waypoint and the sailboat;
    根据所述相对方位角确定所述目标航路点所处的航向区;根据所述目标航路点所处的航向区获取期望的航向向量。Determining, according to the relative azimuth, a heading zone in which the target waypoint is located; acquiring a desired heading vector according to a heading zone in which the target waypoint is located.
  3. 根据权利要求2所述的帆船自主控制方法,其特征在于,所述获取真实风的信息包括:The autonomous control method for a sailboat according to claim 2, wherein the obtaining information of the real wind comprises:
    获取相对于帆船船体的相对风的风速信息和风向信息;Obtaining wind speed information and wind direction information relative to the relative wind of the sailing hull;
    对所述航速信息、航向信息、相对风的风速信息以及相对风的风向信息进行矢量计算,根据所述矢量计算的结果获得相对于岸的真实风的风速信息和风向信息。 The speed information, the heading information, the wind speed information of the relative wind, and the wind direction information of the relative wind are vector-calculated, and the wind speed information and the wind direction information of the real wind relative to the shore are obtained according to the result of the vector calculation.
  4. 根据权利要求1所述的帆船自主控制方法,其特征在于,所述根据帆船当前的航向与所述期望的航向向量,控制帆船的舵角以达到或者跟踪所述期望航向包括:The autonomous control method for a sailboat according to claim 1, wherein the controlling the rudder angle of the sailboat to achieve or track the desired heading according to the current heading of the sailboat and the desired heading vector comprises:
    通过舵的偏转控制帆船的实际航向;Control the actual heading of the sailboat by the deflection of the rudder;
    通过控制舵角使帆船的实际航向达到或者跟踪期望航向。By controlling the rudder angle, the actual heading of the sailboat is achieved or tracked to the desired heading.
  5. 根据权利要求1所述的帆船自主控制方法,其特征在于,所述根据相对风向信息控制帆船的风帆状态包括:The autonomous control method for a sailboat according to claim 1, wherein the controlling the sail state of the sailboat according to the relative wind direction information comprises:
    根据所述相对风的风向信息,控制风帆调整角。The sail adjustment angle is controlled based on the wind direction information of the relative wind.
  6. 根据权利要求1至5任一项所述的帆船自主控制方法,其特征在于,所述控制步骤还包括:The autonomous control method for a sailboat according to any one of claims 1 to 5, wherein the controlling step further comprises:
    获取帆船的姿态角度,其中,所述姿态角度包括航向角、俯仰角和横滚角;Obtaining a posture angle of the sailboat, wherein the attitude angle includes a heading angle, a pitch angle, and a roll angle;
    当所述俯仰角超过第一预设危险值时或者当所述横滚角超过第二预设危险值时,发出帆船倾翻的求救信号,并结束航行。When the pitch angle exceeds the first preset danger value or when the roll angle exceeds the second preset danger value, the distress signal of the sailboat tipping is issued, and the navigation is ended.
  7. 一种帆船自主控制装置,其特征在于,所述装置包括:A sailboat autonomous control device, characterized in that the device comprises:
    航路点设置模块,用于在航行路径中设置至少一个航路点;a waypoint setting module, configured to set at least one waypoint in the navigation path;
    目标航路点确定模块,用于获取帆船的航行信息,将帆船所在位置的下一航路点设置为目标航路点;a target waypoint determination module, configured to acquire navigation information of the sailboat, and set a next waypoint of the position where the sailboat is located as the target waypoint;
    期望航向确定模块,用于根据所述帆船和所述目标航路点的相对方位、以及真实风的方向确定期望的航向向量;Determining a heading determination module for determining a desired heading vector according to a relative orientation of the sailboat and the target waypoint, and a direction of a real wind;
    控制模块,用于根据相对风向信息控制帆船的风帆状态;根据帆船当前的航向与所述期望的航向向量,控制帆船的舵角以达到或者跟踪所述期望航向;a control module, configured to control a sail state of the sailboat according to the relative wind direction information; and control a rudder angle of the sailboat according to the current heading of the sailboat and the desired heading vector to achieve or track the desired heading;
    判断模块,包括第一判断单元以及第二判断单元,其中,a judging module, comprising a first judging unit and a second judging unit, wherein
    第一判断单元用于判断帆船是否到达所述目标航路点;若未到达,则返回所述期望航向确定步骤,若已到达,则通知第二判断单元;The first determining unit is configured to determine whether the sailing boat reaches the target waypoint; if not, return to the desired heading determining step, and if not, notify the second determining unit;
    第二判断单元用于判断所述目标航路点是否为航行终点;如果不是,则返回所述目标航路点确定步骤,如果是,则结束。 The second determining unit is configured to determine whether the target waypoint is a sailing end point; if not, return to the target waypoint determining step, and if yes, end.
  8. 根据权利要求7所述的帆船自主控制装置,其特征在于,所述期望航向确定模块包括:真实风信息获取单元、航向区划分单元、相对方位角确定单元以及航向区确定单元,其中,The autonomous control device for a sailboat according to claim 7, wherein the desired heading determining module comprises: a real wind information acquiring unit, a heading area dividing unit, a relative azimuth determining unit, and a heading area determining unit, wherein
    所述真实风信息获取单元用于获取真实风的信息;The real wind information acquiring unit is configured to acquire information of real winds;
    所述航向区划分单元用于根据所述真实风的风向信息,以帆船为中心划分航向区,所述航向区至少包括顺风区、迎风不可航行区、侧风区;The heading area dividing unit is configured to divide a heading area by using a sailboat as a center according to wind direction information of the real wind, and the heading area includes at least a downwind area, an unwindable area, and a side wind area;
    所述相对方位角确定单元用于根据所述目标航路点和帆船的相对位置,计算所述目标航路点相对于帆船的相对方位角;The relative azimuth determining unit is configured to calculate a relative azimuth of the target waypoint relative to the sailboat according to the relative position of the target waypoint and the sailboat;
    所述航向区确定单元用于根据所述相对方位角确定所述目标航路点所处的航向区。The heading area determining unit is configured to determine a heading area where the target waypoint is located according to the relative azimuth.
  9. 根据权利要求8所述的帆船自主控制装置,其特征在于,所述真实风信息获取单元还用于,The autonomous control device for a sailboat according to claim 8, wherein the real wind information acquiring unit is further configured to:
    获取相对于帆船船体的相对风的风速信息和风向信息;对所述航速信息、航向信息、相对风的风速信息以及相对风的风向信息进行矢量计算,根据所述矢量计算的结果获得相对于岸的真实风的风速信息和风向信息。Obtaining wind speed information and wind direction information relative to the relative wind of the sailing hull; performing vector calculation on the speed information, the heading information, the wind speed information of the relative wind, and the wind direction information of the relative wind, and obtaining the relative shore based on the result of the vector calculation Real wind speed information and wind direction information.
  10. 根据权利要求7所述的帆船自主控制装置,其特征在于,所述控制模块包括第一实际航行控制单元以及第二实际航行控制单元,其中,The autonomous control device for a sailboat according to claim 7, wherein the control module comprises a first actual navigation control unit and a second actual navigation control unit, wherein
    所述第一实际航行控制单元用于通过舵的偏转控制帆船的实际航向;The first actual navigation control unit is configured to control the actual heading of the sailboat by the deflection of the rudder;
    所述第二实际航行控制单元用于通过控制舵角使帆船的实际航向达到或者跟踪期望航向。The second actual navigation control unit is configured to achieve or track the desired heading of the sailboat by controlling the rudder angle.
  11. 根据权利要求7或10所述的帆船自主控制装置,其特征在于,所述控制模块还包括风帆调整角控制单元,用于根据所述相对风的风向信息,控制风帆调整角;The autonomous control device for a sailboat according to claim 7 or 10, wherein the control module further comprises a sail adjustment angle control unit, configured to control the sail adjustment angle according to the wind direction information of the relative wind;
    所述控制模块还包括姿态角度获取单元以及求救信号处理单元,其中,The control module further includes a posture angle acquiring unit and a help signal processing unit, wherein
    所述姿态角度获取单元用于获取帆船的姿态角度,其中,所述姿态角度包括航向角、俯仰角和横滚角;The attitude angle acquiring unit is configured to acquire a posture angle of the sailboat, wherein the posture angle includes a heading angle, a pitch angle, and a roll angle;
    所述求救信号处理单元用于当所述俯仰角超过第一预设危险值时或者当所述横滚角超过第二预设危险值时,发出帆船倾翻的求救信号,并结束航行。 The distress signal processing unit is configured to issue a salvage distress signal when the pitch angle exceeds the first preset hazard value or when the roll angle exceeds the second preset hazard value, and end the navigation.
  12. 一种帆船,包括船体、风帆、舵、驱动装置和推进装置,其特征在于,所述帆船还包括如权利要求7~11任一项所述的帆船自主控制装置。 A sailboat comprising a hull, a sail, a rudder, a drive and a propulsion device, characterized in that the sailboat further comprises a sailboat autonomous control device according to any one of claims 7-11.
PCT/CN2014/095108 2014-09-11 2014-12-26 Autonomous control method and device of sailboat and sailboat WO2016037444A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410462433.9A CN104267736B (en) 2014-09-11 2014-09-11 Autonomous control method and device of sailing ship and sailing ship
CN201410462433.9 2014-09-11

Publications (1)

Publication Number Publication Date
WO2016037444A1 true WO2016037444A1 (en) 2016-03-17

Family

ID=52159264

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/095108 WO2016037444A1 (en) 2014-09-11 2014-12-26 Autonomous control method and device of sailboat and sailboat

Country Status (2)

Country Link
CN (1) CN104267736B (en)
WO (1) WO2016037444A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108241074A (en) * 2016-12-26 2018-07-03 北京金风科创风电设备有限公司 The computational methods and device of wind power generating set true wind direction
CN113036871A (en) * 2021-03-23 2021-06-25 中国海洋大学 Unmanned sailing boat energy management system
EP3747758A4 (en) * 2018-01-29 2021-11-03 Mitsui O.S.K. Lines, Ltd. Ship-steering control device
CN114566075A (en) * 2022-03-04 2022-05-31 苏州百胜动力机器股份有限公司 Sailing boat driving auxiliary teaching and navigation system based on embedded system
CN115180085A (en) * 2022-07-13 2022-10-14 东翼长启科技(重庆)有限公司 Method for estimating navigational speed of unmanned sailing boat
CN117270391A (en) * 2023-09-25 2023-12-22 大连海事大学 Self-adaptive trigger control method of rotary drum sail navigation aid ship for cage inspection
CN117270391B (en) * 2023-09-25 2024-04-30 大连海事大学 Self-adaptive trigger control method of rotary drum sail navigation aid ship for cage inspection

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159296A (en) * 2015-09-09 2015-12-16 广州睿航电子科技有限公司 Unmanned ship anti-wave cruise control method and system
JP6830452B2 (en) * 2016-02-05 2021-02-17 株式会社日立産機システム Position detector and control device
CN110023716A (en) * 2017-05-25 2019-07-16 深圳市大疆创新科技有限公司 Method and apparatus for controlling unmanned vehicle
CN107085399B (en) * 2017-05-27 2024-02-13 上海海事大学 Automatic control device for main sail and maximum ship speed tracking and self-learning control method
CN107525509B (en) * 2017-07-26 2020-12-04 上海海事大学 Open water area sailing ship path planning method based on genetic algorithm
CN107422736B (en) * 2017-08-03 2020-03-13 大连海事大学 Unmanned ship autonomous return control method
CN109426253A (en) * 2017-08-30 2019-03-05 武汉理工大学 A kind of control method and system for determining region sail unmanned boat at a distance
CN108860454B (en) * 2018-07-11 2020-09-25 哈尔滨工程大学 All-weather long-voyage unmanned sailing ship design method
CN108939488B (en) * 2018-08-31 2020-03-31 东南大学 Sailing boat auxiliary training path planning method based on augmented reality
CN109613928B (en) * 2018-11-20 2023-06-02 上海工程技术大学 Composite control system and method for multi-vector propeller combined aerostat
CN109541657A (en) * 2018-12-13 2019-03-29 集美大学 A kind of the intelligence communication navigation system and method for unmanned ships and light boats
CN109460041A (en) * 2018-12-28 2019-03-12 珠海市汉图达科技有限公司 A kind of unmanned boat auto-pilot control system and method
CN110514868A (en) * 2019-08-24 2019-11-29 大连理工大学 A kind of ship true wind measuring device
CN110510073A (en) * 2019-09-04 2019-11-29 中山大学 A kind of self-adaptation control method and system of unmanned sailing boat
CN111324128A (en) * 2020-03-17 2020-06-23 广东电网有限责任公司 Navigation method and system for river-crossing overhead line obstacle avoidance ship
CN111538340B (en) * 2020-06-02 2022-07-15 哈尔滨工程大学 Autonomous navigation control method for power buoy with sail
CN112036099B (en) * 2020-09-15 2022-09-27 大连海事大学 Method for determining minimum turning radius based on attack angle of sail of sailing boat
CN113408097B (en) * 2020-09-15 2022-11-04 大连海事大学 Method for determining maximum sailing speed based on unmanned sailing boat sail attack angle
CN112591037B (en) * 2020-12-09 2021-10-26 大连海事大学 Wind wing attack angle optimization control method and system considering ship stability and energy efficiency
CN113759924B (en) * 2021-09-14 2024-01-16 浙江杰芯科技有限公司 Nonlinear control method and device for unmanned control system
CN115291615B (en) * 2022-10-10 2023-02-28 中国海洋大学 Self-adaptive vortex tracking observation system and control method and device thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2290118A1 (en) * 1998-11-24 2000-05-24 Fuji Jukogyo Kabushiki Kaisha Automatic guidance system for flight vehicle having parafoil and navigation guidance apparatus for the system
US20080135688A1 (en) * 2006-12-05 2008-06-12 Airbus France Automatic take-off method and device for an airplane
CN101201627A (en) * 2007-12-25 2008-06-18 北京航空航天大学 Method for self-correcting course of depopulated vehicle based on magnetic course sensor
CN101893892A (en) * 2010-07-02 2010-11-24 北京航空航天大学 Control method for automatic parachute landing recovery of unmanned aerial vehicle
US8299956B1 (en) * 2010-04-21 2012-10-30 Lockheed Martin Corporation Method of maneuvering a moving platform with on-board obstruction

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201296376Y (en) * 2008-11-02 2009-08-26 迟辰斐 Automatic direction-adjusting type wind-drive sailboat
SI2184224T1 (en) * 2008-11-11 2012-02-29 Harken Italy Spa Apparatus and method for automatically adjusting the sail surface exposed to the wind
CN201897712U (en) * 2010-10-29 2011-07-13 大连海事大学 Automatic control system for sailing boat sail
CN202421899U (en) * 2011-12-19 2012-09-05 大连海事大学 Intelligent sailboat automatic control system
CN103863540B (en) * 2014-03-31 2016-09-28 中安消技术有限公司 A kind of sail controlling organization, control method and sailing boat

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2290118A1 (en) * 1998-11-24 2000-05-24 Fuji Jukogyo Kabushiki Kaisha Automatic guidance system for flight vehicle having parafoil and navigation guidance apparatus for the system
US20080135688A1 (en) * 2006-12-05 2008-06-12 Airbus France Automatic take-off method and device for an airplane
CN101201627A (en) * 2007-12-25 2008-06-18 北京航空航天大学 Method for self-correcting course of depopulated vehicle based on magnetic course sensor
US8299956B1 (en) * 2010-04-21 2012-10-30 Lockheed Martin Corporation Method of maneuvering a moving platform with on-board obstruction
CN101893892A (en) * 2010-07-02 2010-11-24 北京航空航天大学 Control method for automatic parachute landing recovery of unmanned aerial vehicle

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108241074A (en) * 2016-12-26 2018-07-03 北京金风科创风电设备有限公司 The computational methods and device of wind power generating set true wind direction
EP3747758A4 (en) * 2018-01-29 2021-11-03 Mitsui O.S.K. Lines, Ltd. Ship-steering control device
CN113036871A (en) * 2021-03-23 2021-06-25 中国海洋大学 Unmanned sailing boat energy management system
CN113036871B (en) * 2021-03-23 2022-10-18 中国海洋大学 Unmanned sailing boat energy management system
CN114566075A (en) * 2022-03-04 2022-05-31 苏州百胜动力机器股份有限公司 Sailing boat driving auxiliary teaching and navigation system based on embedded system
CN115180085A (en) * 2022-07-13 2022-10-14 东翼长启科技(重庆)有限公司 Method for estimating navigational speed of unmanned sailing boat
CN117270391A (en) * 2023-09-25 2023-12-22 大连海事大学 Self-adaptive trigger control method of rotary drum sail navigation aid ship for cage inspection
CN117270391B (en) * 2023-09-25 2024-04-30 大连海事大学 Self-adaptive trigger control method of rotary drum sail navigation aid ship for cage inspection

Also Published As

Publication number Publication date
CN104267736A (en) 2015-01-07
CN104267736B (en) 2017-05-17

Similar Documents

Publication Publication Date Title
WO2016037444A1 (en) Autonomous control method and device of sailboat and sailboat
US20210080260A1 (en) Imaging for navigation systems and methods
Schiaretti et al. Survey on autonomous surface vessels: Part II-categorization of 60 prototypes and future applications
US9003986B2 (en) Autonomous sailing vessel
Silva et al. Rigid wing sailboats: A state of the art survey
EA029408B1 (en) Autonomous sailboat for oceanographic monitoring
Rynne et al. Development and preliminary experimental validation of a wind-and solar-powered autonomous surface vehicle
US9139272B2 (en) Internally actuated autonomous sailing buoy
CN108860454B (en) All-weather long-voyage unmanned sailing ship design method
Saoud et al. Routing and course control of an autonomous sailboat
JP2021181301A (en) Automatic guidance method for vessel, automatic guidance program for vessel, automatic guidance system for vessel, and vessel
Petres et al. Modeling and reactive navigation of an autonomous sailboat
CN107878669B (en) The wisdom water surface monitors trimaran
EP3747758A1 (en) Ship-steering control device
CN108549372A (en) unmanned boat control method and control device
Zhou et al. Dynamic modeling and motion control of a novel conceptual multimodal underwater vehicle for autonomous sampling
Sun et al. Tacking control of an autonomous sailboat based on force polar diagram
WO2018056079A1 (en) Underwater travelling body and method for controlling orientation of underwater travelling body
Jing et al. Path planning and navigation of oceanic autonomous sailboats and vessels: A survey
Pandey et al. Study on manoeuverability and control of an autonomous Wave Adaptive Modular Vessel (WAM-V) for ocean observation
Briere Iboat: An autonomous robot for long-term offshore operation
Abrougui et al. Backstepping control of an autonomous catamaran sailboat
Stelzer Autonomous sailboat navigation
Augenstein et al. Using a controlled sail and tail to steer an autonomous sailboat
CN214335556U (en) Immersed tube carrying and mounting integrated ship docking control system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14901651

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 14/08/2017)

122 Ep: pct application non-entry in european phase

Ref document number: 14901651

Country of ref document: EP

Kind code of ref document: A1