hwang2002
hwang2002
Collision avoidance remains the most important concern for ships at sea. Despite the
electronic equipment now fitted on ships to support the mariner, expert experience is still
essential when a ship is in danger of colliding with the others. To include these experts’
experiences to resolve the problems of collision, we have designed a fuzzy collision-avoidance
expert system that includes a knowledge base to store facts and rules, an inference engine to
simulate experts’ decisions and a fuzzy interface device. Either a quartermaster or an
autopilot system can then implement the avoidance action proposed in the research. To
perform the task of collision-avoidance effectively, a robust autopilot system using the state
space H_ control methodology has been designed to steer a ship safely for various conditions
at sea in performing course keeping, course-changing and route-tracking more robustly. The
integration of fuzzy collision-avoidance and H_autopilot systems is then proposed in this
paper.
KEY WORDS
1. Collision avoidance. 2. Autopilots. 3. Automation.
under the worst exogenous input, while it keeps the closed loop system stable and
ensuring a certain degree of accuracy in tracking target trajectories. This paper is
organized as follows : Section 2 illustrates the development of ship collision-
avoidance, ship and obstacle safety domains, traffic separation schemes and avoid
actions. Section 3 describes the applications of fuzzy theory and basic configuration
of fuzzy logic. Section 4 proposes the design process of an H_ autopilot, including the
theorem for obtaining the state space solution of H_ optimal control. Section 5
presents the computer simulation results for the proposed integrated system, which
is a combination of fuzzy collision-avoidance system and the H_ autopilot system, to
demonstrate the feasibility of the proposed integrated system. Finally, a summary
and main conclusion of this study are described in Section 6.
λi l (a D C P Ai)=j(b T C P Ai)=
i l 1, 2, 3, ….n,
where :
λi is the appraisal index,
a, b are weightings,
i is the number of target ships.
When λi reaches a preset threshold value, collision-avoidance action must be taken.
Statistic analysis of experimental data is explored by Holmes as an alternative method
to appraise the danger of ship collision. Shimizu uses the method of fuzzy reasoning
and fuzzy control to establish a model for determining the time needed for taking
collision-avoidance action. This research uses basic fuzzy theory to design a fuzzy
collision-avoidance system, which is an effective one. In recent years, because of the
increase of international trade, the current commodities and the flat-top building for
oil exploration have made traffic more complex at the sea. In order to resolve the
increased danger of collision, researchers have begun to use the concepts of ‘ Ship and
Obstacle Safety Domain Theory. ’ The definition of a ship domain proposed by
Goodwin is : ‘ The surrounding affective waters that the navigator of a ship wants to
keep clear of other ships or fixed objects. ’ Basically the shape or the size of a ship
safety domain is affected by the following factors :
(a) Physical factors : the size of ships, traffic density and relative speed, etc.,
(b) Environment factors : weather, visibility, etc., and
(c) Psychology factors : navigator’s work record, etc.
As to the size of a ship safety domain, researchers in many countries have different
results, but they have the same viewpoint, that is ‘ encounters by ships travelling in
different directions have different safety domains because of the difference of their
sizes, speeds, relative positions and directions. ’ The safety domain defined by
Goodwin (1975) can be divided into three sectors :
The radius of each sector in Dover Strait and North Sea is listed in Table 1.
Because this ship safety domain is not continuous, it will increase the complexity
in computer simulation. Thus, Davis et al. (1982) improves upon Goodwin’s safety
domain to make the domain boundary continuous. Then, the Japanese scholar Fuji
(Toyoda and Fuji, 1971) completed an experiment on ship domains for large, middle
and small ships, and he realized that a ship’s safety domain has connection with its
length and that the domain is not symmetric. The starboard sector is the largest one,
the port sector is the next and the astern sector is the smallest one. However, the size
of the astern sector increases as a ship increases in length. Thus, considering a
conservative ship safety domain, a circle with radius eight times the ship’s length is
used to describe a ship’s safety domain in this research. If other ships enter the ship’s
safety domain, the proposed fuzzy collision-avoidance system will provide advice to
avoid possible collision.
In recent years, there has been a considerable increase in the number of structures
used for offshore oil exploitation. Thus, an obstacle safety domain should also be
built to avoid collision. The obstacle’s size and shape, the depth of surrounding water
and the draft of the ship determine the safety domain size of an obstacle. For
simulation convenience, we select a circle with radius 1:2 times the obstacle’s length
radius as our obstacle’s safety domain.
The first traffic separation schemes in the world were introduced in the Dover Strait
in 1967. A traffic separation scheme is mainly composed of a separation line, a
separation zone and a course borderline. For various types of terrain, the separation
lines and separation zones can be designed as follows :
(a) Use natural obstacles and geographic features to separate ships travelling in
opposite directions.
(b) Utilize the inshore traffic zone to separate the ships travelling in opposite
directions.
(c) Construct a fan-shaped zone for a port to separate the course lane.
(d) Construct a ring-shaped separation zone close to conjunction points.
The width of a course lane in open waters is set to be about 5-3-5, i.e., both sides
of a course fairway have a width of 5 miles respectively and a width of 3 miles is used
as the centre separation zone, and can be up to 20-10-20 (Gung, 1990).
According to the COLREGS, when a ship encounters others at sea, the burden or
the privilege ship can be identified by the strategy listed in Table 2 (Leo, 1979).
Table 2. The adopted strategy of the privilege ship and the burden ship.
Privilege ship G G
Burden ship G G G
In any potential collision situation, the navigator faces two questions ; do I face a
collision of collision? If so, should I take avoiding actions and what actions should
be taken while considering all vessels in the vicinity? When an encounter involves a
risk of collision (i.e., the DCPA is less than the radius of the ship’s safety domain),
the actions should be taken to avoid the collision. In Figure 1, ship A is the burden
NO. 1 INTEGRATED DESIGN OF FUZZY COLLISION AVOIDANCE 121
ship and ship B is the privileged one. If both ships keep their current course and speed,
ship B will pass the CPA with a relative speed VBA. Since the DCPA in this case is less
than the distance needed for safety, the navigator of ship A must take action and he
has two choices ; he can either turn right to obtain sufficient DCPA before passing the
CPA or, he can change speed. At a slower speed VAh , the encounter situation is as
shown in Figure 2 and will be safe in the sense that the DCPA is greater than or equal
to the safety distance. For the cases of crossing traffic lanes in a TSS, other regulations
should be followed ; this is explained in references Gung (1990) and Leo (1979). To
offer proper advice to avoid collision between ships, the collision-avoidance system is
designed based on Fuzzy set theory and is described in the next section.
IF x is A and y is B THEN z is C
< < <
IF x is A and y is B THEN z is C
= = =
…
IF x is An and y is Bn THEN z is Cn
Where x, y and z are linguistic variables representing the process state variable and
control variable, respectively? An, Bn and Cn are the linguistic values of the linguistic
variables x, y and z in the universe of discourse U, V, and W. In what follows, we
consider some useful properties of the FLC inference engine (Lee, 1990 ; Wan and Ho,
1992 and Klir and Folger, 1988).
Theorem 1
n
(Ah, Bh) @ U Ri µCh(z) l ( µAh(x), µBh( y)) @ max( µR (x, y, z), … , µR (x, y, z))
i=< x, y, z < n
l sup maxomin[( µAh(x), µBh(y)), µR (x, y, z)], … , min[( µAh(x), µBh(y)), µR (x, y, z)]q
x, y x, y, z < n
l maxo[( µAh(x), µBh( y)) @ µR (x, y, z)], … ,[( µAh(x), µBh(y)) @ µR (x, y, z)]q
x, y, z < n
n n
l U C hi l U (Ah, Bh) @ Ri
i=< i=<
124 C H E N G -N E N G H W A N G A N D O T H E R S VOL. 55
Theorem 2
For the intersection operation of fuzzy sets, the minimum and the product
methods are formulated as follows :
If µA ×B l µA F µB then
i i i i
(Ah, Bh) @ (Ai and Bi Ci) l [Ah @ (Ai) Ci] E [Bh @ (Bi Ci)]
If µA ×B l µA iµB then
i i i i
(Ah, Bh) @ (Ai and Bi Ci) l [Ah @ (Ai Ci)]i[Bh @ (Bi Ci)]
The above two formulae imply that we need to make a combination of the
membership function operation and the logic operation. Because Ai and BiCi is not
easily operated, we partition it into two parts and evaluate them separately.
Theorem 3
If the inputs are fuzzy singletons, namely, Ah l x , Bh l y , based on the minimum
; ;
operation and the product operation rules, we have the following four different
operations.
αFi
F µC (z)
i
αF : µ (z) αF l µA (x ) F µB ( y )
i Ci where : i i ; i ;
αi F µC (z)
:
αi l µA (x ) : µB ( y )
:
i i ; i ;
α:i : µC (z)
i
The above theorems explain the process of fuzzy inference. Figure 4 gives a graphic
interpretation of Theorem 3 in terms of minimum operation rule, while Figure 5
offers a graphic interpretation of Theorem 3 in terms of product operation rule.
Basically, de-fuzzification is a mapping from a space of fuzzy control actions
defined over an output universe of discourse into a space of non-fuzzy control actions.
It is employed because a crisp control action is required in many practical
NO. 1 INTEGRATED DESIGN OF FUZZY COLLISION AVOIDANCE 125
n
µ (z )z
i=< C i i
zCOA l .
n
µC(zi)
i= <
The notation n in the above equation is the number of quantitative levels of the
output.
(b) The Mean of Maximum Method (MOM). The MOM strategy generates a
control action that represents the mean value of all local control actions whose
126 C H E N G -N E N G H W A N G A N D O T H E R S VOL. 55
membership functions reach the maximum. In the case of a discrete universe, the
control action may be expressed as :
m z
zMOM l i
i = <m
In the above equation, zi is the support value. At this value, the membership
function reaches the maximum value µC(zi), and m is the number of the support
values. Figure 6 shows a graphic interpretation of the various defuzzification
strategies mentioned above.
These fuzzy approach skills are now applied to design a ship collision-avoidance
system, which is composed of five fuzzy-controlled modules : the detecting obstacle or
NO. 1 INTEGRATED DESIGN OF FUZZY COLLISION AVOIDANCE 127
ship near-far module, the keeping away from the static obstacle module, the avoiding
encountering ship module, the tracking target-course module and the ship speed-
control module. The fuzzy rules of each of the control modules are derived from
human being’s intuitive methods of adopting collision-avoidance actions and how
they apply the above fuzzy theorems and operation processes.
When one ship encounters obstacles or other ships, its radar will detect whether
they are in left front, right front or directly in front of the ship. The data obtained
from radar are then the inputs of the detecting obstacle or ship near-far module. The
output of this module is the nearness degree of the found objects, which is used to
determine each of the weights of the keeping away from static obstacle module, the
avoiding encountering ship module, the tracking target-course module and the speed-
control module. If one of the obstacles or target ships detected by radar is closer to
the ship, it will have a larger weight. When the value is greater than a preset threshold
for any of these modules, which is decided by the ship safety domain and the fuzzy
rules mentioned before, the module would then be initiated to take action to avoid
a possible collision. The design process of fuzzy collision-avoidance is illustrated in
Figure 7.
When own ship is in the danger of colliding with obstacles or encountering ships,
the fuzzy collision-avoidance system proposed above will advise a proper avoidance
action to resolve the risk. The avoidance action can then be implemented by either a
quartermaster or an autopilot system. The objective of H_ control problem is to
obtain an H_ optimal control law such that the transfer function between the
exogenous input and the controlled output is minimum while keeping the closed-loop
system stable. In the next section, we will design an autopilot with H_ theory to
ensure that the ship can avoid collision while keeping a good performance even under
the worst exogenous input. The avoidance action advised by the fuzzy collision-
avoidance system can be implemented by H_ autopilot system. In other words, the
integration of fuzzy collision-avoidance and H_ autopilot systems will be proposed
below.
a good performance of the closed-loop system even in the worst situation. H_ norm
in the frequency domain is defined as :
xc S(t) l ASxS(t)jBSu(t)jGSd(t)
(10)
y(t) l CSxS(t)
It can easily be transformed into a standard form as shown in (2) by the formulation
methods mentioned in Hwang (1993). The above theorems can then be applied to
obtain an optimal controller for the proposed autopilot.
Based on the above strategy, the system block diagram of the proposed H_
autopilot system is designed and shown in Figure 8. By integrating the proposed fuzzy
collision-avoidance and H_ autopilot systems, the avoidance action advised by fuzzy
collision-avoidance system can then be implemented by H_ autopilot system.
xc S(t) l ASxS(t)jBSu(t)jGS(t)DS(t)
yS(t) l CSxS(t)
where :
A
k0.2019*10−< k0.1199*10= 0
C
A
0.1415*10;
C
Bs l k0n9786*10−>
B
0 D
A C
Cs l B
0 0 1 D (12)
A
7.6703*10−?sin 4t
C
0
Gs l 0 1.1069*10−@sin 6t
B
0 0 D
The state vector xs l [v r φ]T represents the sway velocity, the yaw angle velocity
and the yaw angle of the ship, respectively. The control input u(t) denotes the rudder
angle of the ship. Disturbance DS(t) contains the sidelong force and yaw moment
130 C H E N G -N E N G H W A N G A N D O T H E R S VOL. 55
induced by sea waves. In simulation, the disturbance is chosen as a unit step input.
The dynamic equation of the rudder can be expressed as :
δ 1
l ,
δC 1jτs
where δ is the output rudder angle, δC is the input rudder signal of the steering system,
and τ is the time constant of the system. Therefore, the plant, which includes the ship’s
model and the steering system, can be rearranged as :
A C A C
A C AS BS A C A C 0
xc S(t) xS(t) GS(t)
l 1 j DS(t)j 1 δC(t)
δc (t) 0 k δ(t) 0
B D
B
τ D
B D B D
B
τ D (12)
A C
xS(t)
y(t) l [CS 0]
B
δ(t) D
To study the course tracking performance of the ship, the servo compensator and
the weighting function are chosen as (AC, BC, CC) l (k0n001, 850, 1) and (A , B , C )
> > >
l (k0n001, 0n22,1), respectively. To ensure good disturbance-rejection capability for
all kinds of exogenous inputs, other than pure white Gaussian signals, the proposed
H_ autopilot formulation is used in this example. It is assumed that the positions, the
NO. 1 INTEGRATED DESIGN OF FUZZY COLLISION AVOIDANCE 131
heading angles and the speeds of own ship and the encountering ships can be obtained
from the on-line outputs of a Radar, a Loran-C, a GPS, a Doppler Log, an
electromagnetic log or an automatic radar plotting apparatus (ARPA). When a ship
navigates at sea, there are numerous encountering cases, fifty of which are discussed
in detail by Imazu. To demonstrate the feasibility of the proposed integrated system,
three typical and complex encountering cases among these fifty situations are
explored. They represent the encountering cases of avoiding obstacles, crossing a
single lane and crossing double lanes, which are shown in Figures 9, 11, and 13
respectively. They are denoted as the case 1, the case 2 and the case 3 in these figures.
For the encountering obstacles, the computer simulation results reveal that the
proposed fuzzy collision-avoidance system advises a dotted-line ship path as shown
in Figure 9. Figure 10 gives the relative distance between the ship and obstacles, which
clearly indicates that the system can effectively avoid a possible collision with these
obstacles. The path advised by the proposed fuzzy collision-avoidance system is then
executed by the H_ auto-pilot, which achieves a perfect route-tracking as shown in
Figure 15 under the surrounding disturbances while the details of the path tracking
errors are given in Figure 16.
The encountering case shown in Figure 11 shows how the fuzzy collision-avoidance
system instructs the ship 1 to avoid the collision with the ships 2 and 3 in crossing a
single lane. The relative position between the encountering ships shown in Figure 12
132 C H E N G -N E N G H W A N G A N D O T H E R S VOL. 55
Figure 11. Suggested path to avoid collision in the case of crossing a single alley (case 2).
Figure 13. Suggested path to avoid collision in the case of crossing double alleys (case 3).
NO. 1 INTEGRATED DESIGN OF FUZZY COLLISION AVOIDANCE 133
indicates that the avoidance action is successful. By applying the H_ autopilot to the
system, Figure 17 shows that an excellent tracking result can be achieved even under
a persistent disturbance mentioned before. The tracking errors of the suggested path
are small and are shown in Figure 18.
Figure 14. Relative position between the encountering ships for case 3.
In Figure 13, ship 1 meets four ships and two obstacles when it intends to cross the
double lanes. The navigating path suggested by the fuzzy collision-avoidance system
is shown in Figure 13, which demonstrates its feasibility of the fuzzy collision-
NO. 1 INTEGRATED DESIGN OF FUZZY COLLISION AVOIDANCE 135
avoidance system in Figure 14. The path advised by the proposed fuzzy collision-
avoidance system is then executed by the H_ autopilot, which can still achieve a good
route-tracking precision as shown in Figure 19 even under various surrounding
disturbances. The details of the path tracking errors are given in Figure 20.
ACKNOWLEDGEMENT
The National Science Council, R.O.C., under Grant NSC 85-2611-E-006-024, supported this
work. The authors would like to extend their gratitude to NSC for the support.
136 C H E N G -N E N G H W A N G A N D O T H E R S VOL. 55
REFERENCES
Amerongen, J. V. (1980). An adaptive auto-pilot for track keeping. Ship Operation Automation III,
pp. 105–114.
Buckley, J. W. Siler, and Tucker, D. (1986). A fuzzy expert system. Fuzzy Sets and Systems, Vol. 20,
pp. 1–16.
Chen, S. T. (1994). The H_ control design for linear time-varying system and it’s applications on ships.
Thesis Published at National Cheng Kung University, Tainan, Taiwan, R.O.C.
Davis, P. V., Dove, M. J. and Stockel, C. T. (1982). A computer simulation of multi-ship encounter. This
Journal, Vol. 35, No. 2, pp. 347–352.
Gasos, J., Carcia, M. C. and Garcia, R. (1991). Fuzzy strategies for the navigation of autonomous mobile
robots. Proc. I.F.E.S., pp. 1024–1034.
Goodwin, E. M. (1975). A statistical study of ship domains. This Journal, Vol. 28, No. 3, pp. 328–341.
Gung, W. S. (1990). The research of safety coursing and collision avoidance between ships in traffic
separation schemes under the situations of crossing and overtaking. Thesis published at National Taiwan
Marine University, Taiwan.
Hwang, C. N. (1993). Formulation of H and H_ optimal control problems – a variational approach.
=
Journal of the Chinese Institute of Engineers, Vol. 16, No. 6.
Iwasaki, H. and Hara, K. (1987). A fuzzy reasoning model to decide the collision avoidance action. Journal
of the Japanese Institute of Navigation, Vol. 75, No. 2, pp. 121–129.
Jingsong, Z., Wang, F. and Wu, Z. L. (1992). The development of ship collision avoidance automation.
This Journal, Vol. 45, No. 1, pp. 107–113.
Katebi, M. R. and Byrne, J. C. (1988). LQG adaptive ship auto-pilot. Trans. Inst. MC Vol. 10, No. 4, pp.
187–197.
Kearon, J. (1977). Computer program for collision avoidance and track keeping. Proc. Conference on
Mathematics Aspects of Marine Traffic, pp. 229–242.
King, P. J. and Monolanj, E. H. (1977). The application of fuzzy control system to industrial processes.
Automatic, Vol. 13, No. 3, pp. 235–242.
Klir, J. and Folger, T. A. (1988). Fuzzy sets, uncertainty and information. Prentice-Hall.
Kosko, B. (1992). Neural networks and fuzzy systems. Prentice-Hall.
Lee, C. (1990). Fuzzy logic in control systems. Fuzzy Logic Controller, Part II and IEEE Trans. Systems,
I Man. And Cybernetics, Vol. 20, No. 2, pp. 404–433.
Leo, G. P. (1979). The International Regulations for Preventing Collision at Sea in 1972. Hi Wug Publishing
Company.
Lin, S. C. and Pun, C. P. (1994). Analysis of fuzzy theory. The Third Wave Culture, Inc.
Lin, T. S. (1996). The use and applications of Matlab. Lu Lin Publishing Company.
Maeda, M., Maeda, Y. and Murakami, S. (1991). Fuzzy drive control of an autonomous mobile robot.
Fuzzy and Systems, Vol. 39, pp. 195–204.
Mamdani, H. (1974). Applications of fuzzy algorithms for simple dynamic plant. Proc. IEE, Vol. 121, No.
12, pp. 1585–1588.
Nagai, Y. and Enomoto, N. (1988). Fuzzy control of a mobile robot for obstacle avoidance. J. Inf. Sci.,
Vol. 45, No. 2, pp. 231–248.
Patrick, M. (1996). Graphics and GUIs with MATLAB. CRC Press, Inc.
Sugeno, C. (1985). An introductory survey of fuzzy control. Inform. SCI., Vol. 36, pp. 59–83.
Tanscheit and Scharf, E. M. (1988). Experiments with the use of a rule-based self-organizing controller for
robotics applications. Fuzzy Sets and Systems, Vol. 26, pp. 195–241.
Toyoda, S. and Fuji, Y. (1971). Marine traffic engineering. This Journal, Vol. 24, No. 1, pp. 24–30.
Uan, P. C. (1989). The implications of fuzzy control in industries. The Centre of Chinese Productivity.
Wan, C. H. and Ho, G. S. (1992). Fuzzy engineering. Cheng Wa Technology Library, Inc.
Witt, N. A. J., Sutton, R. and Miller, K. M. (1994). Recent technological advances in the control and
guidance of ships. This Journal, Vol. 47, No. 2, pp. 236–241.
Yang, S. T. and Yei, F. P. (1991). Post modern control and design. O Ya Publishing Company.
Zadeh, L. A. (1965). Fuzzy sets. Information and Control, Vol. 8, pp. 338–353.