<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Study of Long-term Route Planning for Autonomous Sailboat</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Mingshu Du</string-name>
          <email>dms1415@163.com Chunxiao Hou Seastel Marine System (Shanghai) Co. Ltd. Shanghai, China houchunxiao@seastel.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mengqi Kang</string-name>
          <email>kangmengqi@seastel.com</email>
          <email>kangmengqi@seastel.com Jinsong Xu Shanghai Jiao Tong University Shanghai, China jinsong@sjtu.edu.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Seastel Marine System (Shanghai) Co. Ltd.</institution>
          ,
          <addr-line>Shanghai</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Shanghai Jiao Tong University</institution>
          ,
          <addr-line>Shanghai</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2018</year>
      </pub-date>
      <fpage>79</fpage>
      <lpage>86</lpage>
      <abstract>
        <p>The multi-dimensional dynamic programming method is applied to the long-term route planning of an autonomous sailboat from Shanghai to Qingdao. The sailed voyage length out of the current position is adopted to be the third-dimensional state variable. The short-term route planning between the neighboring waypoints is defined as the control variable. A group of optimal routes with minimum voyage time can be obtained corresponding to different voyage length. The result shows that by adding the state variable dimension, more optional routes are kept in the final results, which is valuable for better decision support.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Since only a few variables can be considered in the planning process of A* algorithm, it is difficult to handle
complex environmental factors and constraints. United States Naval Academy selected Northern Route and
Southern Route as two feasible plans for “Spirit of Annapolis” transatlantic navigation based on the pilot charts,
and then compared the strengths and weaknesses of the two routes according to hurricanes, currents, sea ice,
wind fields, and seaports
        <xref ref-type="bibr" rid="ref2">(Gibbons-Neff, 2011)</xref>
        . The factors considered in that planning process are far more
than those of the conventional A* algorithm. If planning algorithms are used to assist decision-making in route
planning, more diverse planning results should be provided. Strathclyde University in the United Kingdom
adopted three-dimensional dynamic programming (3DDP) in the route planning of motor ships. By defining
position and sailing time as state variables, heading and sailing speed as decision variables, a group of minimum
fuel consumption paths with different sailing time was planned for further consideration
        <xref ref-type="bibr" rid="ref7">(Shao, 2013)</xref>
        .
In this paper, 3DDP was applied for long-term route planning of an unmanned sailboat from Shanghai to
Qingdao. The current position and the sailed voyage length are defined as state variables. The short-distance
route planning between the neighbor waypoints is defined as the control variable. For different total lengths, a
group of routes with minimum voyage time is obtained as decision assistance. The final long-term solution can
be chosen from those planned routes by combining more factors.
2
2.1
      </p>
    </sec>
    <sec id="sec-2">
      <title>Sailboat Model and Sailing Sea Area</title>
      <sec id="sec-2-1">
        <title>Sailboat Model and Polar Diagram of sailboat Speed</title>
        <p>
          The total length of the sailboat model is 1.5m. Based on the existing hull design scheme
          <xref ref-type="bibr" rid="ref9">(Wang, 2015)</xref>
          , two rigid
wing sails are equipped and the airfoil profile is NACA0012. The overall appearance of the sailboat is shown
in Figure 1. Static VPP algorithm is used to obtain the polar diagram of sailboat speed
          <xref ref-type="bibr" rid="ref5">(Oossanen, 1993)</xref>
          .
The curves shown in Figure 2 respectively represent the maximum speed of different heading angles when wind
direction is 0 degree and wind speed is Vwind. The VPP results are not only rapidity indicator but the basis for
estimating sailing time in long-term route planning.
In long-term route planning for sailboat, the sailing area is discretized into a grid system to specify the spatial
layout of stages and states. As described in Figure 3, the great circle route which represents the shortest course
from Shanghai to Qingdao on the surface of the earth is divided into (N − 1) stages equally, and M points are
created perpendicularly away from the great circle with a unit spacing of X. Thus, the grid is described as
(i, k). For example, the departure is ((M + 1)/2, 1), and the destination is ((M + 1)/2, N ). In this paper, the
parameters are N =31 and M =31.
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Dynamic Programming for sailboat route planning</title>
      <p>
        Dynamic programming is an effective method to solve multi-stage decision problems. By establishing the recursive
relationship between two neighboring stages, the optimal decision at each stage can be obtained. The optimal
decision at each stage establishes the optimal decision sequence for the entire process
        <xref ref-type="bibr" rid="ref8">(Teng, 2011)</xref>
        . There are two
kinds of solutions in dynamic programming. Backward dynamic programming is recursive from the destination
to the starting stage, and forward dynamic programming is recursive from the starting point to the destination.
The recursive relationship of forward dynamic programming is described as
        <xref ref-type="bibr" rid="ref7">(Shao, 2013)</xref>
        :
      </p>
      <p>J ∗(→−X(k), k) =</p>
      <p>k
min {X αq(→−X(q), →−U(q − 1), q)}
→−U(q−1),q=2,···,k q=2
=</p>
      <p>min {αk(→−X(k), →−U(k − 1), k) + J ∗(→−X(k − 1), k − 1)}
→−U(k−1)</p>
      <p>J ∗(→−X(1), 1) = 0
k = 2, 3, · · · , N
where k is the stage variable. →−X(q) is the state variable of stage k. →−U(q − 1) is the control variable which can
make the sailboat transfer from state →−X(q − 1) at the stage (q − 1) to state →−X(q) at stage q. αq(→−X(q), →−U(q − 1), q)
q=2 αq(→−X(q), →−U(q − 1), q) is the objective function at the current
is the cost function from stage (q − 1) to q. Pk
stage k. The control sequence →−U(q − 1) corresponding to the minimum objective function J ∗(→−X(k), k) is the
best decision sequence.</p>
      <p>The recursive relationship between J ∗(→−X(k), k) and J ∗(→−X(k − 1), k − 1) in the equation above reflects the
multi-stage thinking of dynamic programming. From the minimum of J ∗(→−X(k − 1), k − 1) at stage (k − 1)
and all cost function αk(→−X(k), →−U(k − 1), k), the optimal control variable →−U(k − 1) and the minimum objective
function J ∗(→−X(k), k) at stage k can be obtained. One dimensional or multi-dimensional programming can be
used depending on the dimension of the state variable →−X(q).</p>
      <p>In this research, the stage variable is k = 1, 2, 3, · · · , 31. k=1 is in Shanghai and k=31 is in the destination
Qingdao. In the state variable X(i, j, k), (i, k) represents the grid point shown in Figure3, and j is a state
variable of the route length Li,k from the departure to the current waypoint (i, k). The route length Li,k is
equally devided into 30 groups labelled with the state variable j by using the following rounding equation:
j =</p>
      <p>Li,k − Lk,min
(Lk,max − Lk,min)/30
+ 1
where Lk,min is the minimum route length of the great circle route from the departure to the current stage k, and
Lk,max is the double value of Lk,min. After division of the route length by stete variable j, all the routing scheme
from the departure to the current waypoint are divided into 30 groups and from each group one optimal route
plan can be obtained. Obviously, the additional dimension of the state variable j provides more alternatives for
decision support. The scheme is illustrated in Figure 4.
The control variable U (i,, j,, k − 1) which makes the sailboat transfer from the state variable X(i,, j,, k − 1) at
stage (k −1) to the state variable X(i, j, k) at stage k is actually the short-term routing scheme from the waypoint
(i,, k − 1) to (i, k). In this paper, the straight path scheme with the maximum speed is used for downwind and
beamwind sailing, and the tacking scheme with the maximum speed is used for sailing against wind.
The cost function t(X(i, j, k), U (i,, j,, k − 1), k) is the sailing time from waypoint (i,, k − 1) to (i, k) under the
control variable U (i,, j,, k − 1). The maximum speed when sailing downwind or beamwind is obtained according
to polar diagram of sailboat speed and wind field. When sailing against wind the maximum speed is defined as
CtackΔuπ/4 where Ctack is the cost coefficient of tacking and uπ/4 is the maximum speed when wind direction
is π/4. Thus, the dynamic recurrence relation of the long-term route planning of the sailboat is expressed as
below, and the detailed process of dynamic planning is shown in Figure 5.</p>
      <p>Jp∗(X(i, p, k), k) = U(i,,j,m,ki−n1),j=p{t(X(i, j, k), →−U(i,, j,, k − 1), k) + Jj∗(→−X(i,, j,, k − 1), k − 1)}
p = 1, 2, · · · , 30
i = 1, 2, · · · , 31</p>
      <p>J1∗(X(16, 1, 1), 1) = 0
4
4.1</p>
    </sec>
    <sec id="sec-4">
      <title>Long-term Route Planning Results</title>
      <p>Steady Uniform Wind Field
3DDP was adopted in the route planning from Shanghai to Qingdao. The wind speed was 6m/s steadily and
the wind direction was north, south, west and east respectively. As shown in Figure 6, a group of routes with
the shortest time was obtained in different route length. In the cases of south, east and west wind, the total
length of the route is positively correlated with the minimum voyage time. The route with the shortest length
and sailing time is almost a straight line between the starting point and the destination. The minimum voyage
time for those three cases is about 100 hours. With the total length increasing, the route with the minimum
voyage time gradually moves away from the coastline. Obviously, by adding the total length of the route as a
planning variable, the planning result provides more selections and plays a better role in decision support.
In the case of north wind, the minimum voyage time is about 160 hours with a total route length of 750km,
which is significantly longer than that of other three cases. The total length of the route is positively correlated
with the minimum voyage time when the route length is over 750km. However, when the route length is less
than 750km, the minimum voyage time increases significantly with the decreasing of route length. The short
route less than 750km restricts the tacking operation to a smaller upwind angle which causes slower speed and
longer sailing time.
4.2</p>
      <sec id="sec-4-1">
        <title>Steady non-uniform Wind Field</title>
        <p>As shown in Figure 7, the instantaneous wind field on May 20th, 2017 was adopted according to National Centers
for Environmental Prediction. The maximum wind speed is about 10m/s. A group of alternative routes with
minimum voyage time in different voyage length from Shanghai to Qingdao was obtained by using 3DDP method.
The simulation result in Figure 8 is similar to that of steady north wind. The minimum voyage time is 150h
corresponding to a total voyage length of 750km. But the route is close to the coastline and is risky of collision.
Thus, the final sailing route could be selected from the other alternatives.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Conclusions</title>
      <p>In this research, 3DDP is adopted to long-term route planning for an autonomous sailboat. Apart from the
current position of the sailboat, the sailed voyage length is defined as the third state variable. Without that
variable, only one optimal path is obtained from all the path schemes. However, in 3DDP method, all path
schemes from the departure to the current point are divided into up to 30 groups according to the total length
of the route. Each group can generate a planning result with minimum voyage time. 3DDP provides more
alternatives for decision support.</p>
      <p>When the sailboat sails downwind or beamwind, the total length of the route is positively correlated with the
minimum voyage time. The route with the shortest length and sailing time is almost a straight path between
the departure and the destination.</p>
      <p>When the sailboat sails against wind, if the total length of the route is less than a certain critical value, the
minimum sailing time will increase significantly with the total length of the route decreasing restricted by tacking
operation.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>Cruz</surname>
            ,
            <given-names>N.A.</given-names>
          </string-name>
          (
          <year>2008</year>
          ).
          <article-title>Autonomous Sailboats: an Emerging Technology for Ocean Sampling and Surveillance</article-title>
          . Oceans. IEEE,
          <year>2008</year>
          :
          <fpage>1</fpage>
          -
          <lpage>6</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Gibbons-Neff</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          (
          <year>2011</year>
          ).
          <article-title>Route Planning for a Micro-transat Voyage</article-title>
          .
          <source>Robotic Sailing</source>
          ,
          <year>2011</year>
          :
          <fpage>183</fpage>
          -
          <lpage>194</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Kang</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2016</year>
          ).
          <article-title>Study on Route Planning for Autonomous Sailboat</article-title>
          . Shanghai: Shanghai Jiao Tong University,
          <year>2016</year>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Langbein</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          (
          <year>2011</year>
          ).
          <article-title>A Rule-Based Approach to Long-Term Routing for Autonomous Sailboats</article-title>
          .
          <source>Robotic Sailing</source>
          . Springer Berlin Heidelberg,
          <year>2011</year>
          :
          <fpage>195</fpage>
          -
          <lpage>204</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>Oossanen</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          (
          <year>1993</year>
          ).
          <article-title>Predicting the Speed of Sailing Yachts</article-title>
          .
          <source>Discussion. Author's Closure. Transactions-society of Naval Architects and Marine Engineers</source>
          ,
          <year>1993</year>
          ,
          <volume>101</volume>
          :
          <fpage>337</fpage>
          -
          <lpage>397</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>Rynne</surname>
            ,
            <given-names>P.F.</given-names>
          </string-name>
          (
          <year>2009</year>
          ).
          <article-title>Unmanned Autonomous Sailing: Current Status and Future Role in Sustained Ocean Observations</article-title>
          .
          <source>Marine Technology Society Journal</source>
          ,
          <year>2009</year>
          ,
          <volume>43</volume>
          (
          <issue>1</issue>
          ):
          <fpage>21</fpage>
          -
          <lpage>30</lpage>
          .C
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <surname>SHAO</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          <article-title>Development of an Intelligent Tool for Energy Efficient</article-title>
          and
          <article-title>Low Environment Impact Shipping</article-title>
          . University of Strathclyde, Glasgow,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <surname>Teng</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          (
          <year>2011</year>
          ).
          <article-title>Principle and Appliance of Dynamic Route Planning</article-title>
          . Chengdu: Southwest Jiao Tong University Press,
          <year>2011</year>
          :
          <fpage>1</fpage>
          -
          <lpage>16</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>Q.</given-names>
          </string-name>
          (
          <year>2015</year>
          ).
          <article-title>Autonomous Sailboat Track Following Control</article-title>
          .
          <source>Proceedings of the 8th International Robotic Sailing Conference</source>
          ,
          <year>2015</year>
          :
          <fpage>125</fpage>
          -
          <lpage>136</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>