223
1 INTRODUCTION
For safety of navigation, the ships are obliged to
comply with the International Regulations for
Preventing Collisions at Sea (COLREG). However,
these Rules refer only to two ships and under the
conditionsofgoodvisibility.
In the situation of a restricted visibility the
Regulations only specify recommendations of a
general nature and are not ab
le to consider all the
necessary conditions which determine the passing
course[1,2,3,4,6,7].
Consequently,theactualprocessofashippassing
other ships very often occurs in conditions of
uncertainty and conflict accompanied by an
inadequatecooperationoftheshipswithinCOLREG
Rules.
It is, therefore, reasonab
le to investigate the
methodsofashipsafetyhandlingusingprinciplesof
the theory based on optimal control and differential
games[5,11,12,14,16,26,27].
2 CONTROLPROCESS
Theprocessofhandlingashipasamultidimensional
dynamicobjectdependsboth on theaccuracy of the
details concerning the current navigational situation
obtained from the Automa
tic Radar Plotting Aids
ARPA anticollision system and on the form of the
processmodelusedforthecontrolsynthesis[15,20].
The ARPA system ensures monitoring of atleast
20j encountered ships, determining their movement
parameters (speed V
j, course ψj) and elements of
approaching to own ship moving with speed V and
course ψ to satisfy
jj
DCPAD
min,
‐ Distance of
theClosestPointofApproach,and
jj
TCPA
T
min,
‐ Time to the Closest Point of Approa
ch and also
assesstheriskofcollisionr
j(Fig.1).
Analysis of Methods of Determining the Safe Ship
Trajectory
J
.Lisowski
GdyniaMaritimeUniversity,Gdynia,Poland
ABSTRACT: The paper describes six methods of optimal and game theory andartificial neural network for
synthesisofsafecontrolincollisionsituationsatsea.Theapplicationofoptimalandgamecontrolalgorithmsto
determinetheownshipsafetrajectoryduringthepassingofotherencounteredshipsingoodandrestricted
visibilit
yatseaispresented. Thecomparisonofthesafeshipcontrolincollisionsituation:multistepmatrix
noncooperativeandcooperativegames,multistagepositional noncooperative and cooperative games have
been introduced. The considerations have been illustrated with examples of computer simulation of the
algorit
hmstodeterminesafeofownshiptrajectoriesinanavigationalsituationduringpassingofeightmet
ships.
http://www.transnav.eu
the International Journal
on Marine Navigation
and Safety of Sea Transportation
Volume 10
Number 2
June 2016
DOI:10.12716/1001.10.02.05
224
Figure1.Thesituationofownshippassingeight
encounteredshipsatsea.
The model of the process consists both of the
kinematicsandthedynamicsoftheship’smovement,
the disturbances, the strategies of the encountered
ships and the quality control index of the own ship
[10,24].
The diversity of possible models directly affects
the synthesis of the ship’s control algorithms which
are
afterwards affected by the ship’s control device,
directlylinkedtotheARPAsystemandconsequently
determines the effects of safe and optimal control
[3,28].
3 COMPUTERPROGRAMSFORDETERMINING
THESAFEOWNSHIPTRAJECTORY
3.1 ComputerprogramSTATOPTofstaticoptimization
Goalcontrolfunctionhasform:


mjLtxLI
k
UUu
m
j
j
...,,2,1,)(
min
00
1
,000
(1)
L refers to the continuous function of the
manoeuvring goal of the own ship, describing the
distance of the ship at the initial moment t
0 to the
nearestturningpointT
ionthereferencerouteofthe
voyageandd
iisthefinaldeviationsafetrajectoryof
thereferencetrajectory(Fig.1).
3.2 ComputerprogramDYNOPTofdynamic
optimizationwithneuralstateconstraints
Determination of the optimal control of the ship in
termsofanadoptedindexofthecontrolqualitymay
be performed by applying Bellmanʹs principle of
optimization. The constraints for the state variables
andthecontrolvaluesgeneratetheneuralconstraints
procedureinthecomputerprogram[17,23].
The optimal time for the ship to go through k
stagesisasfollows:

1, 2 2, 2
1
,
min , 3,4,...,
kk
kkk
uu
tttkK



(2)
3.3 ComputerprogramMATGAM_Cofmultistep
cooperativematrixgame
ThematrixgameR
)],([
0
ssr
jj
includesthevalue
a collision risk r
j with regard to the determined
strategies s
0 of the own ship and those sj of the jth
encounteredship[8,13,18,19,21,22].
Thevalueoftheriskofthecollisionrjisdefinedas
thereferenceofthecurrentsituationoftheapproach
described by the parameters
min,j
D
and
min,j
T
, to
the assumed assessment of the situation defined as
safeanddeterminedbythesafedistanceofapproach
D
s and the safe time Ts which are necessary to
execute a manoeuvring to avoide collision with
consideration actual distance D
j between own ship
andjthencounteredship[25,29].
Asaresultcontrolgoalfunctionhasform:
0
0
min min
j
j
ss
I
r
(3)
3.4 ComputerprogramMATGAM_NCofmultistep
noncooperativematrixgame
Goal function (3) for noncooperative matrix game
hastheform:
0
0
min max
j
j
s
s
I
r
(4)
3.5 ComputerprogramPOSGAM_Cofmultistage
cooperativepositionalgame
The optimal control of the own ship
0
()ut
is
determinedfromthecondition:

0, 0,
00 0,
1
00
()
()
1,2,...,
min min min
m
jj j jj
j
j
k
uU u U u
uU U
I
Lx t L
jm








(5)
Thevalueofcontroliscalculatedateachdiscrete
stageoftheship’smovementbyapplyingtheSimplex
method to solve the problem of the triple linear
programming, assuming the relationship (5) as the
goalfunctionandthecontrolconstraints.
3.6 ComputerprogramPOSGAM_NCofmultistage
noncooperative
positionalgame
Goalfunction(5)fornoncooperativepositionalgame
hastheform:
225

0, 0,
00 0,
1
00
()
()
1,2,...,
max
min min
m
jjj
jj
j
j
k
uUu
uU
uU U
I
Lx t L
jm








(6)
4 COMPUTERSIMULATION
Computersimulationofsixprogramswascarriedout
in Matlab/Simulink software on an example of the
real navigational situation of passing m=8
encountered ships in good visibility D
s=0,5 nm and
restrictedvisibilityD
s=2,0nm(nauticalmiles)(Figures
213).
Figure2. Computer simulation of static optimization
STATOPT program determining of the safe own ship
trajectoryinsituationofpassingeightencounteredshipsin
goodvisibilityatsea,D
s=0,5nm,di=0,72nm(nauticalmile).
Figure4. Computer simulation of dynamic optimization
DYNOPT program determining of the safe own ship
trajectoryinsituationofpassingeightencounteredshipsin
goodvisibilityatsea,D
s=0,5nm,di=0nm(nauticalmile).
Figure3. Computer simulation ofSTATOPT program
determiningofthesafe own ship trajectory insituationof
passing eight encountered ships in restricted visibility at
sea,D
s=2,0nm,di=2,35nm(nauticalmile).
Figure5. Computer simulation of dynamic optimization
DYNOPT program determining of the safe own ship
trajectoryinsituationofpassingeightencounteredshipsin
restricted visibility at sea, D
s=2,0 nm, di=5,0 nm (nautical
mile).
226
Figure6. Computer simulation of multistep cooperative
matrixgameMATGAM_Cprogramdeterminingofthesafe
own ship trajectory in situation of passing eight
encounteredships ingoodvisibilityatsea,D
s=0,5nm,di=7,2
nm(nauticalmile).
Figure8.Computer simulationof multistepnon
cooperative matrix game MATGAM_NC program
determiningofthesafe own ship trajectory insituationof
passing eight encountered ships in good visibility at sea,
D
s=0,5nm,di=8,8nm(nauticalmile).
Figure7. Computer simulation of multistep cooperative
matrixgameMATGAM_Cprogramdeterminingofthesafe
own ship trajectory in situation of passing eight
encounteredships inrestrictedvisibilityatsea,D
s=2,0nm,
d
i=7,8nm(nauticalmile).
Figure9.Computer simulationof multistepnon
cooperative matrix game MATGAM_NC program
determiningofthesafe own ship trajectory insituationof
passing eight encountered ships in restricted visibility at
sea,D
s=2,0nm,di=9,2nm(nauticalmile).
227
Figure10. Computer simulation of multistage cooperative
positional game POSGAM_C program determining of the
safe own ship trajectory in situation of passing eight
encountered ships in good visibility at sea, D
s=0,5 nm,
d
i=1,14nm(nauticalmile).
Figure12. Computer simulation of multistage non
cooperative positional game POSGAM_NC program
determiningofthesafe own ship trajectory insituationof
passing eight encountered ships in good visibility at sea,
D
s=0,5nm,di=5,68nm(nauticalmile).
Figure11. Computer simulation of multistage cooperative
positional game POSGAM_C program determining of the
safe own ship trajectory in situation of passing eight
encounteredships inrestrictedvisibilityatsea,D
s=2,0nm,
d
i=2,40nm(nauticalmile).
Figure13. Computer simulation of multistage non
cooperative positional game POSGAM_NC program
determiningofthesafe own ship trajectory insituationof
passing eight encountered ships in restricted visibility at
sea,D
s=2,0nm,di=10,57nm(nauticalmile).
5 CONCLUSIONS
Thesynthesisofanoptimalandgamecontrolonthe
models of: static, dynamic with neural network,
multistep matrix game and multistage positional
game makes it possible to determine the safe game
trajectory of the own ship in situations when she
passesagreaterjnumberof
theencounteredobjects.
The trajectory has been described as a certain
sequenceofmanoeuvreswiththecourseandspeed.
The computer programs designed in the Matlab
alsotakesintoconsiderationthefollowing:COLREG
228
Rules,advancetimeforamanoeuvrecalculatedwith
regard to the ship’s dynamic features and the
assessmentofthefinaldeviationbetweentherealand
referencetrajectories.
Theessentialinfluencetoformofsafeandoptimal
trajectory and value of deviation between real and
reference trajectories has a degree of
cooperation
betweenownandencounteredships.
The computer programs provides a formal
modeloftheactualdecisionmakingprocessleading
ship navigator and can be used with the system of
computeraided navigator when deciding to
manoeuverincaseofcollisionatsea.
REFERENCES
[1]Bi, X.Y. & Liu, X.J. 2015. Research on double collision
avoidance mechanism of ships at sea. TransNav‐The
International Journal on Marine Navigation and Safety
ofSeaTransportation1(9):1316.
[2]Bist, D.S. 2000. Safety and security at sea. OxfordNew
Delhi:ButterHeinemann.
[3]Bole,A.,Dineley,B.
&Wall,A.2006.RadarandARPA
manual.AmsterdamTokyo:Elsevier.
[4]Burmeister, H.C., Bruhn, W.C. & Walther, L. 2015.
Interaction of harsh weather operation and collision
avoidance in autonomous navigation. TransNav‐The
International Journal on Marine Navigation and Safety
ofSeaTransportation1(9):3140.
[5]Clarke, D. 2003.
The foundations of steering and
manoeuvering, Proc. of the IFAC Conference on
ManoeuveringandControlMarineCrafts,Girona:1025.
[6]Cockcroft, A.N. & Lameijer, J.N.F. 2006. The collision
avoidancerules.AmsterdamTokyo:Elsevier.
[7]Demirel, E. & Bayer, D. 2015. Further Studies On The
COLREGs (Collision Regulations). TransNav‐The
International
Journal on Marine Navigation and Safety
ofSeaTransportation1(9):1723.
[8]Engwerda, J.C. 2005. LQ dynamic optimization and
differentialgames.WestSussex:JohnWiley&Sons.
[9]Fletcher, R. 1987. Practical methods of optimization.
NewYork:JohnWileyandSons.
[10]Fossen, T.I. 2011. Marine craft hydrodynamics and
motioncontrol.Trondheim:Wiley.
[11]Gluver, H. & Olsen, D. 1998. Ship collision analysis.
RotterdamBrookfield:A.A.Balkema.
[12]Hornauer, S., Hahn, A., Blaich, M. & Reuter, J. 2015.
Trajectory planning with negotiation for maritime
collision avoidance. TransNav‐The International
Journal on Marine Navigation and Safety of Sea
Transportation3(9):335
342.
[13]Isaacs, R. 1965. Differential games. New York: John
Wiley&Sons.
[14]Kim, D., Hi rayama, K. & Okimoto T. 2015. Ship
collision avoidance by distributed tabu search.
TransNav‐The International Journal on Marine
NavigationandSafetyofSeaTransportation1(9):2329.
[15]Kouemou, G. 2009. Radar technology.
Chapter 4 by
LisowskiJ.:Sensitivityofsafegameshipcontrolonbase
informationfromARPAradar,Croatia:Intech,p.6186.
[16]Lazarowska, A. 2015. Shipʹs trajectory planning for
collision avoidance at sea based on ant colony
optimization.JournalofNavigation2(68):291307.
[17]Luus, R. (2000).
Iterativedynamicprogramming. Boca
Raton:CRCPress.
[18]MestertonGibbons,M.2001.Anintroductiontogame
theoreticmodeling.Providence:AmericanMathematical
Society.
[19]Millington,I.&Funge,J.2009.Artificialintelligencefor
games.AmsterdamTokyo:Elsevier.
[20]Modarres, M. 2006. Risk analysis in engineering. Boca
Raton:Taylor&FrancisGroup.
[21]Nisan,N.,Roughgarden,T.,Tardos,E.&Vazirani,V.V.
2007. Algorithmic game theory. New York: Cambridge
UniversityPress.
[22]Osborne, M.J. 2004. An introduction to game theory.
NewYork:OxfordUniversityPress.
[23]Pantoja,J.F.A.1988.Differentialdynamicprogramming
andNewton’smethod.International Journalof Control
5(47):15391553.
[24]Perez,
T.2005.Shipmotioncontrol.London:Springer.
[25]Straffin, P.D. 2001. Game theory and strategy.
Warszawa:Scholar(inpolish).
[26]Szłapczyńska,J.2015.Dataacquisitioninamanoeuver
autonegotiation system. TransNav‐The International
Journal on Marine Navigation and Safety of Sea
Transportation3(9):343348.
[27]Szł
apczyński, 2014. Evolutionary sets of safe ship
trajectories with speed reduction manoeuvres within
traffic separation schemes. Polish Maritime Research
1(81):2027.
[28]Tomera, M. 2014. Dynamic positioning system for a
ship on harbor manoeuvring with different observers,
experimentalresults.PolishMaritimeResearch3(83):13
24.
[29]Wells, D. 2013.
Games and mathematics. Cambridge:
CambridgeUniversityPress.