Next Article in Journal
Improved Baited Remote Underwater Video (BRUV) for 24 h Real-Time Monitoring of Pelagic and Demersal Marine Species from the Epipelagic Zone
Previous Article in Journal
Development of a Radially Coupled Wireless Charging System for Torpedo-Shaped Autonomous Underwater Vehicles
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Fuzzy Controller Design Approach for a Ship’s Dynamic Path Based on AIS Data with the Takagi–Sugeno Fuzzy Observer Model

Department of Marine Engineering, National Taiwan Ocean University, Keelung 202, Taiwan
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2023, 11(6), 1181; https://doi.org/10.3390/jmse11061181
Submission received: 10 May 2023 / Revised: 28 May 2023 / Accepted: 30 May 2023 / Published: 5 June 2023

Abstract

:
A fuzzy controller design approach is developed in this research for the control problem of a ship’s dynamic path based on automatic identification system (AIS) data. Over the past few decades, the equipment of AISs has been widely applied and mandated on ships. Based on the advantages of AIS data, various valuable applications have been proposed to improve safety problems. However, most of the applications depend on the precise control of the ship’s dynamic behavior. Because of this reason, a fuzzy controller design approach is proposed based on the Takagi–Sugeno fuzzy observer model in this research. Firstly, the ship’s dynamic behavior based on the discrete-time AIS data is estimated and represented by the mathematical model of the fuzzy observer. Based on the fuzzy observer model, a fuzzy controller design approach subject to variance constraint is developed to solve the problem of stochastic disturbance in estimation and control. In accordance with the different application aspects, this approach can not only be applied to improve the estimation performance of the fuzzy observer, but it can also be provided as a controller design scheme for the ship’s dynamic path using AISs data. Finally, simulation results of a group of real AIS data from Kaohsiung Port and the assumed Keelung Port AIS data are applied to verify the effectiveness of the designed fuzzy controller.

1. Introduction

Owing to the features of real-time transmission [1], publicly accessible databases [2], and providing rich information [3], automatic identification systems (AISs) are currently widely utilized in the maritime industry. AIS data are broadcast from ship to ship or from a ship to a terrestrial based station via very high frequency (VHF) radio waves, which have the limitation of coverage distance. However, benefiting from the progress of space technology, AIS data can be transmitted from a wider range. This contributes to the higher applicability of AIS data and reaching a new milestone in maritime digitalization [4]. As is well known, AIS data consist of abundant information mainly including three parts: that is, static information, dynamic information, and voyage-related information [5]. Among them, dynamic information delivers data such as a ship’s position, its speed over ground (SOG), course over ground (COG), rate of turn, and navigation status, which are important for navigating ships and thus are focused on in this research. Because ships can exchange information with each other in almost real time, AIS data have been extensively considered in the development of various fields. In [6,7,8], AIS data were applied to the analysis and management of shipping traffic. The problems caused by ships such as pollution, the transfer of alien species, and impacts on sea creatures can be efficiently solved. Expanding to the offshore area, the spatial planning problem of fishing ground has been improved based on historical AIS data [3,9,10]. Moreover, for the tourism industry, AIS data have been applied to estimate whale watching efforts [11]. Therefore, it can be seen that AIS data can play an important role in all sorts of maritime problems, especially in the era of increasing attention toward environmental issues nowadays.
Despite the valuable results obtained in the above research, navigation safety is always the most crucial and life-critical issue of humans in the maritime industry. It is worth mentioning that the development of AIS data was originally focused on collision avoidance between ships [3,4,11]. Up to now, it is mandatory for AIS equipment to be installed on cargo ships over 300 gross tonnage (GT) on international voyages, over 500 GT even if not on international voyages, and all passenger ships irrespective of size [12,13,14]. Based on the application of AIS data, the collision avoidance issue has been widely investigated, and the related design method is flourishing [15,16]. However, no matter the development of a more efficient navigation or collision avoidance method, they both rely on precise control of the ship’s dynamic behavior. In the existing papers, there are just a few researchers discussing the control problem based on AIS data. In [17], a tracking controller was proposed for ships in shallow or confined waterways. In [18,19], model predictive controllers were proposed for the collision avoidance problem. In [20], a fuzzy adaptive proportional–integral–derivative control method was proposed. Nevertheless, the controller design approach has not been developed or mentioned in detail. This reason motivates this research to develop a fuzzy controller design approach directly based on AIS data.
When a ship is navigating the ocean, the dynamic behavior of the ship will consist of non-linearities of the complex working environment. This will also make the controller difficult to design to obtain precise control performance. Moreover, the information obtained from AISs is a group of discrete-time data. This means that there is no mathematical model established to describe the ship’s dynamic behavior with AIS data. In [21], a Takagi–Sugeno (T-S)-fuzzy-model-based observer was proposed by the authors to provide a good choice to construct a mathematical model for AIS data and transfer the non-linear design problem into a linear problem. It is worth noting that if the mathematical model can be obtained, the controller design approach can also be developed conveniently with AIS data. However, the dynamic behavior of ships will also suffer from disturbances such as ocean winds, waves, and currents, which are often unpredictable [22,23]. In [12], the researchers also developed an analysis method of wind and current in ports and waterways with AIS data. It is obvious that the purpose of precise control will become more difficult to achieve when the dynamic behavior of ships is affected by a disturbance. In the limited region of inland waterways, imprecise control may make collisions occur more easily. Additionally, there are also some disturbance factors in AIS data such as incorrect data and communication faults [12,24,25]. The disturbance will also result in a deviation in the estimation results obtained for AIS data in [21]. Based on the T-S fuzzy model, the control problem of the non-linear ship dynamic system with external disturbance was efficiently solved [26,27,28]. From the simulation results, it can be seen that the effect of a disturbance can be suppressed. Extending the results of [26,27,28], the T-S-fuzzy-model-based observer and controller design approach is proposed in this research to simultaneously estimate and control a ship’s dynamic path directly based on AIS data.
In this research, a novel fuzzy controller design approach is proposed for AIS data to estimate and control the ship’s dynamic path. Referring to the estimation method in [21], the fuzzy observer can be designed to estimate the ship’s dynamic behavior based on AIS data. On top of that, the constructed T-S-fuzzy-model-based observer can also provide a mathematical model for the description of information of the discrete-time AIS data. Benefitting from the feature, the fuzzy controller is also able to be conveniently designed for the control problem based on AIS data. The effect of stochastic behavior is also considered in the fuzzy model to describe the unpredictable external disturbances, such as ocean waves, winds, and current, or error data. It is worth noting that although AIS data can transmit the nearly real-time dynamic information of ships, the current disturbance information cannot be known in the data. Moreover, the effect of these disturbances is not exactly the same for each ship in different places. In [29], the researchers discussed the control problem of the ship’s dynamic behavior based on AIS data and the external disturbance is considered. However, the disturbance was only considered for the constant way and speed of ocean waves. In addition, the non-linear mathematical model for control problems was constructed in three orders. For the complex environment of the ocean, the simple disturbance may not be enough to describe the effect of the mentioned factors. To improve the control performance in the dynamic positioning problem of ships, observer-based controller design methods have been proposed and the more complex disturbances have been considered [30,31,32]. In terms of the root mean square, a so-called covariance control theory has also been proposed for the analysis and to suppress stochastic behaviors [33,34]. Over the past few decades, many researchers have extended the covariance control method to efficiently solve the control problem of the ship’s dynamic behavior with complex disturbances based on the T-S fuzzy model [26,27,28]. Therefore, based on the T-S-fuzzy-model-based observer for AIS data, a fuzzy controller design approach is proposed in this research by combining it with the covariance control theory to suppress the effect of stochastic disturbances in the estimation problem. Based on the above statements, the novelty and contributions are concluded as follows.
(1)
Based on the T-S fuzzy model, the observer and controller design problems for a non-linear ship dynamic path based on AIS data are efficiently transferred into the linear problem.
(2)
Extending the results of [21], the fuzzy controller design approach subject to variance constraint is proposed based on the T-S fuzzy observer, which estimates the ship dynamic path of AIS data well.
(3)
The fuzzy controller design approach in this research can not only be applied as a supplementary to improve the estimation performance of the fuzzy observer under the effect of stochastic disturbance, but it can also be provided as a control scheme for the ship’s dynamic path based on AIS data with the proper settings.
This research is presented with the following organization. In Section 2, a five-order fuzzy observer is constructed based on the T-S fuzzy model to represent the non-linear ship dynamic behavior based on the AIS data with stochastic disturbance. In addition, the covariance matrix and variance constraint are stated for the state of error system. In Section 3, the observer gain is designed for the estimation purpose of AIS data. Based on the fuzzy observer, a fuzzy controller design approach subject to variance constraint is provided for the ship’s dynamic behavior with disturbed AIS data, and the stability analysis is implemented by Lyapunov theory. In Section 4, the simulation results are obtained for the AIS data from Kaohsiung Port and extended to the assumed data based on Keelung Port to verify the effectiveness of the design approach in this research. Finally, some conclusions are given in Section 5.

2. Fuzzy Observer Design for Non-Linear Ship Dynamic Path Based on AIS Data

To design the observer for AIS data, it is necessary for the mathematical equation of the dynamic system to be established first. Due to the complex working environment, the non-linear system is considered for the more precise description of the ship’s dynamic behavior. According to the research [21,35], the non-linear system based on AIS data can be presented as follows:
{ N ˙ ( t ) = V ( t ) cos ( C ( t ) ) E ˙ ( t ) = V ( t ) sin ( C ( t ) ) V ˙ ( t ) = α ( t ) C ˙ ( t ) = β ( t )
where N ( t ) and E ( t ) are the ship’s north and east positions, respectively, V ( t ) is SOG, C ( t ) is COG, and α ( t ) and β ( t ) are the linear acceleration and course rate which are provided as the inputs of dynamic systems, respectively. In [21,35], these inputs are obtained by the following dynamic equations:
{ α ˙ ( t ) = 1 t α ( s a t ( α c ) α ( t ) ) β ˙ ( t ) = 1 t β ( s a t ( β c ) β ( t ) )
where s a t ( · ) is the saturation function, t a and t b are the time constants, and α c and β c are obtained from AIS data measurement. The details of the non-linear system (1)–(2) are not going to be provided in this paper; they can be seen in [21,35]. To develop the controller design approach, the non-linear ship dynamic systems (1)–(2) can be further transferred into the following five-order system:
{ x ˙ 1 ( t ) = x 4 ( t ) sin ( x 3 ( t ) ) + x 5 ( t ) cos ( x 3 ( t ) ) x ˙ 2 ( t ) = x 4 ( t ) cos ( x 3 ( t ) ) x 5 ( t ) sin ( x 3 ( t ) ) x ˙ 3 ( t ) = u 1 ( t ) + d 1 w ( t ) x ˙ 4 ( t ) = u 2 ( t ) + d 2 w ( t ) x ˙ 5 ( t ) = u 3 ( t ) + d 3 w ( t )
where x 1 ( t ) and x 2 ( t ) denote the N ( t ) and E ( t ) , respectively, x 3 ( t ) is the yaw angle of ships, x 4 ( t ) and x 5 ( t ) are the surge motion and sway motion of ships, respectively, w ( t ) is the external disturbance which is considered as zero-mean Gaussian white noise with the density W = 1 , and d 1 , d 2 , d 3 are the magnitudes of the disturbance effect. To present the relationship of the non-linear system (1)–(3) more clearly, the schematic diagram related to all states is given with a ship in Figure 1.
Referring to the research [2,12,16,29], the relationship of the yaw angle and COG can be presented as follows:
x 3 ( t ) = C ( t ) η ( t )
where η ( t ) is the so-called sideslip angle which possesses the following relationship with the surge and sway motions:
η ( t ) = tan 1 ( x 5 ( t ) x 4 ( t ) )
Remark 1
(Non-linear Ship Dynamic Behavior). In the non-linear system (1), the inputs of ship’s dynamic behavior are provided by (2) with AIS data measurement. That is, the non-linear system (1) does not consist of the control input. In addition, in the transferred non-linear system (3), the control inputs are given as  u 1 ( t ) to u 3 ( t ) . Notice that the control problem of this research is purely discussed for the dynamic path of ships such that only the position and speed are considered as system states. As long as the acceleration is controlled, the position and speed of ships can be adjusted to the desired states. Moreover, the control force applied on ships also can be transferred into the acceleration according to the ship parameters. It is concluded that the controller design approach proposed in this research for AIS data can be applied to any other ships via substituting the various kinds of parameters into the method.
In order to propose the fuzzy controller design approach, it is necessary for the T-S-fuzzy-model-based observer to be established first. Based on the T-S fuzzy model, the observer and controller design problem can be efficiently transferred into the linear problem [36,37,38]. Thus, the efficient T-S fuzzy modelling method in [21,39] was adopted to construct the model for the non-linear system (3). Defining the state vector x ( t ) = [ x 1 ( t ) x 2 ( t ) x 3 ( t ) x 4 ( t ) x 5 ( t ) ] T , the following nine operating points are selected for the model in this research:
x o p 1 = [ 0 0 0 ° 0 0 ] T ,   x o p 2 = [ 0 0 22.5 ° 0 0 ] T ,   x o p 3 = [ 0 0 22.5 ° 0 0 ] T , x o p 4 = [ 0 0 45 ° 0 0 ] T ,   x o p 5 = [ 0 0 45 ° 0 0 ] T ,   x o p 6 = [ 0 0 67.5 ° 0 0 ] T , x o p 7 = [ 0 0 67.5 ° 0 0 ] T ,   x o p 8 = [ 0 0 90 ° 0 0 ] T ,   x o p 9 = [ 0 0 90 ° 0 0 ] T .
According to the operating points (5), the membership function is designed in Figure 2. Moreover, the corresponding nine-rule T-S fuzzy model can be obtained via calculation of the linearization method in [39]. The details of the calculation process can be referred to in the research [21,39].
Model   Rule   i :   If   x 3 ( t )   is   M i 3 ,   then   x ˙ ( t ) = A i x ( t ) + B i u ( t ) + D i w ( t )
where u ( t ) = [ u 1 ( t ) u 2 ( t ) u 3 ( t ) ] T is the inputs vector, A i , B i , and D i are the constant matrices with the dimensions 5 × 5 , 5 × 3 , and 5 × 1 , respectively. Note that the membership function in Figure 2 is represented as M i 3 in model (6). That is, M 1 3 is rule 1, M 2 3 is rule 2, and so on. To save space in this section, the model matrices A i , B i , and D i for each rule are presented in Appendix A.
Extending the results in [21], the following fuzzy observer was designed based on the T-S fuzzy model (6).
Observer Rule i:
If   x 3 ( t )   is   M i 3 ,   then   x ^ ˙ ( t ) = A i x ^ ( t ) + B i u ( t ) + L ( x ( t ) x ^ ( t ) )
where x ^ ( t ) = [ x ^ 1 ( t ) x ^ 2 ( t ) x ^ 3 ( t ) x ^ 4 ( t ) x ^ 5 ( t ) ] T is the observed state vector, L = d i a g { L 1 , L 2 , L 3 , L 4 , L 5 } is the observer gain and d i a g { · } represents the diagonal matrix with the element · . Via the defuzzification process, the following overall fuzzy model and fuzzy observer are obtained from (6) and (7), respectively:
Overall Fuzzy Model:
x ˙ ( t ) = i = 1 9 M i 3 ( x 3 ( t ) ) { A i x ( t ) + B i u ( t ) + D i w ( t ) }
Overall Fuzzy Observer:
x ^ ˙ ( t ) = i = 1 9 M i 3 ( x 3 ( t ) ) { A i x ^ ( t ) + B i u ( t ) + L ( x ( t ) x ^ ( t ) ) }
where M i 3 ( x 3 ( t ) ) = M i 3 ( x 3 ( t ) ) / i = 1 9 M i 3 ( x 3 ( t ) ) which has the properties M i 3 ( x 3 ( t ) ) 0 and i = 1 9 M i 3 ( x 3 ( t ) ) = 1 , M i 3 ( x 3 ( t ) ) represents the membership grade of x 3 ( t ) corresponding to Figure 2.
Subtracting fuzzy observer (9) from the model (8), one can obtain the following error dynamic system:
Error   System :   e ˙ ( t ) = i = 1 9 M i 3 ( x 3 ( t ) ) { ( A i L ) e ( t ) + D i w ( t ) }
where e ( t ) = x ( t ) x ^ ( t ) is the error vector. Referring to the results obtained in [21,35], the estimation purpose of ship dynamic behavior with AIS data can be achieved if the values of L 1 , L 2 , L 3 , L 4 , and L 5 in matrix L are all selected with positive values. Similarly, the error dynamic behavior of the system (10) is expected to converge to zero such that the estimation is completed if all the eigenvalues of the matrix A i L are located on the left-half plane.
However, it can be seen that the error system (10) still consists of stochastic disturbance w ( t ) . This will result in unprecise estimation results, and the design method in [21] will become invalid. Additionally, the designed fuzzy observer (9) cannot be applied for the expression of AIS data. It is worth noting that not only is a fuzzy controller design approach provided for solving the control problem of the dynamic path with AIS data, the estimation results can also be improved even when the dynamic behavior of ships is affected by stochastic disturbances.
To solve the problem of stochastic behavior, the covariance control theory [33,34] is applied in this research. Extending the results in [26,27,28], the error covariance matrix is constructed in the following definition to represent the energy of the state error e ( t ) of the fuzzy observers (7) and (9). Moreover, the variance constraint can also be designed for each covariance matrix in terms of root mean square.
Definition 1.
For the state error  e ( t )  affected by the stochastic disturbance  w ( t )  of each subsystem in the error system (10), the following covariance matrix is applied to represent the state error energy:
Ξ i = lim t   E ( e ( t ) e Τ ( t ) )
where  Ξ i = Ξ i T > 0  and   E ( · )  denote the expectation of  · . Based on the covariance matrix (11), the individual variance constraint is also designed to deal with the problem of disturbed error energy as follows:
[ Ξ i ] < δ 2
where  = 1 , 2 , , 5 ,  δ  denotes the individual root mean squared constraint and  [ · ]  denotes the  -th diagonal element of the matrix  · .
By establishing the error covariance matrix (11) and satisfying the individual variance constraint (12), the energy of state error  e ( t ) can be efficiently analyzed and suppressed under the effect of stochastic disturbance w ( t ) .
In the next section, for the ship’s dynamic behavior based on AIS data, a fuzzy controller design approach is provided based on the fuzzy observer to achieve the control purpose and to improve the estimation performance.

3. Fuzzy Controller Design Approach for Ship’s Dynamic Path Based on AIS Data

In this section, a fuzzy controller subject to the individual variance constraint δ with (12) is designed to suppress the disturbed state error energy of the ship’s dynamic behavior. In addition, Lyapunov theory is applied to develop the stability analysis method for the closed-loop fuzzy model.
Firstly, extending the fuzzy observer gain design method in [21], the observer gains L 1 , L 2 , L 3 , L 4 , and L 5 in L can be designed. Note that the stochastic disturbance is assumed as w ( t ) = 0 to apply the design method in [21]. Before developing the fuzzy controller design approach, a remark is given as follows for this assumption of the observer gain design.
Remark 2
(Observer Gains Designed without Considering the Disturbance). From the results obtained by [21], the designed observer gains can perceptibly achieve good, estimated performance. It comes with the territory that the fuzzy observer gains also can be designed for the disturbed dynamic behavior of the system (9) by the design algorithm in [21] until the objective estimated performance is obtained. However, the observer gains design method of [21] did not directly consider the factor of disturbance. In addition, the method was developed basically depending on the simulation results.
That is, if the fuzzy observer gains are designed via the algorithm in [21] to simultaneously estimate the ship’s dynamic behavior based on AIS data and solve the problem of disturbances, the gains will become improperly big. Although the expected estimation results can be achieved by the fuzzy observer, the value of gains is not cost effective. Because of this reason, the fuzzy controller design approach directly against the effect of stochastic disturbances is proposed in this research.
After the fuzzy observer gains are obtained via the algorithm in [21], the fuzzy controller design approach was developed for AIS data as follows. Via the so-called Parallel Distributed Compensation (PDC) method, the following fuzzy controller can be designed with the same premise part of the fuzzy observer (7).
Controller   Rule   i :   If   x 3 ( t )   is   M i 3 ,   then   u ˜ ( t ) = F i ( x ( t ) x ^ ( t ) )
where F i is the control gains to be designed. Similar to the fuzzy model and observers (6)–(9), the following overall fuzzy controller can be obtained via defuzzification:
u ˜ ( t ) = i = 1 9 M i 3 ( x 3 ( t ) ) { F i ( x ( t ) x ^ ( t ) ) }
Note that the input signal u ( t ) is obtained from the dynamic equation of (2) with the measurement of AIS data in [21,35]. Either for system (1) or system (3), the function of the inputs is to adjust the speed and position of ships. Therefore, the input u ( t ) can also be provided by the controllers of the ships, which is applied as the different input in [21,35] for the ship dynamic system (1) or (3). Thus, the fuzzy control input can be substituted into the fuzzy observer (9) for the control problem of ship dynamics as follows:
Overall Fuzzy Observer:
x ^ ˙ ( t ) = i = 1 9 M i 3 ( x 3 ( t ) ) { A i x ^ ( t ) + B i u ( t ) + L ( x ( t ) x ^ ( t ) ) + B i u ˜ ( t ) }
In the fuzzy observer (15), the design of fuzzy control input can also be seen as the supplementary of original inputs to achieve the required adjustment of the ship’s dynamic behavior. Subtracting the fuzzy model (8) from the fuzzy observer (15) and substituting the fuzzy controller (14) into the system, one can obtain the following error dynamic system:
Error System:
e ˙ ( t ) = j = 1 9 i = 1 9 M i 3 ( x 3 ( t ) ) M j 3 ( x 3 ( t ) ) { ( A i L B i F j ) e ( t ) + D i w ( t ) }
Remark 3
(Fuzzy Controller Design for AIS Data). Via applying the error feedback fuzzy controllers (13)–(14), the error system (16) can be obtained to better estimate the ship dynamic’s behavior with AIS data under the effect of stochastic disturbance  w ( t ) . It is worth noting that if the fuzzy controller is designed in the form of state feedback,  u ˜ ( t ) = F i x ^ ( t ) , and the objective ship dynamic behavior based on the AIS represented by (3) and (8) is properly designed as  x ( t ) = 0 , the control problem of the fuzzy observer can be obtained as follows:
Overall Fuzzy Observer:
x ^ ˙ ( t ) = i = 1 9 M i 3 ( x 3 ( t ) ) { ( A i L + B i F j ) x ^ ( t ) + D i w ( t ) }
Obviously, the control problem of the fuzzy observer becomes the general control problem for the ships whose dynamic behavior is necessary to be controlled to the destination. In this paper, the fuzzy controller (14) was first designed for the purpose of estimating the ship’s dynamic behavior with stochastic disturbances.
To develop the fuzzy controller subject to individual state variance constraint δ , the following Lyapunov stability condition with the covariance matrix (11) was constructed for the error system (16):
Lemma 1
[26,27,28]. The error system (16) is stable in the mean square if there exist positive definite matrices  Ξ i  subject to the variance constraint by (12) such that the following conditions are satisfied:
( A i L + B i F i ) Ξ i + Ξ i ( A i L + B i F i ) T + D i W D i T = 0
( A i L + B i F j + A j L + B j F i 2 ) Ξ i + Ξ i ( A i L + B i F j + A j L + B j F i 2 ) T < 0
where  W = 1  is the density of stochastic behaviors mentioned in (3). Under sufficient conditions, the equality of condition (18) is not able to be solved by the convex optimization algorithm of linear matrix inequality (LMI). Moreover, the covariance matrices  Ξ i , which may be different from each other for all rules, makes it difficult to be analyzed in the design approach. Due to the problems, the stability criteria of error system (17) are proposed in the following theorem based on Lyapunov theory and the individual variance constraint  δ :
Theorem 1.
If there exists a common positive definite matrix  Ξ ¯  and the matrices  K j  such that the following sufficient conditions are all satisfied, then the closed-loop error system (17) is said to be stable in the mean square. In addition, the estimation purpose of ship dynamic behavior based on AIS data can be achieved with the stochastic disturbance  w ( t ) :
( A i Ξ ¯ L Ξ ¯ + B i K i ) + ( A i Ξ ¯ L Ξ ¯ + B i K i ) T + D i W D i T < 0
( A i Ξ ¯ L Ξ ¯ + B i K j + A j Ξ ¯ L Ξ ¯ + B j K i 2 ) + ( A i Ξ ¯ L Ξ ¯ + B i K j + A j Ξ ¯ L Ξ ¯ + B j K i 2 ) T < 0
Ξ ¯ d i a g ( δ 1 2 , , δ 5 2 ) < 0
where  K j = F j Ξ ¯ .
Proof 1.
Subtracting (18) from (20), one can obtain the following inequality:
( A i L + B i F i ) ( Ξ ¯ Ξ i ) + ( Ξ ¯ Ξ i ) ( A i L + B i F i ) T < 0
According to the stability criteria of Theorem 1, if the conditions (20)–(21) are satisfied by the fuzzy controller (14), the closed-loop matrix ( A i L + B i F i ) becomes stable and negative definite. Consequently, the fact Ξ ¯ Ξ i > 0 is also obtained by the inequality (23). Based on the statement of individual variance constraint (12), the following relationship is obtained by satisfying the condition (22).
[ Ξ i ] < [ Ξ ¯ ] δ 2
Via the application of Ξ ¯ , which is called the upper bound covariance matrix, in the design method of Theorem 1, all the covariance matrices Ξ i of state error e ( t ) in each fuzzy subsystem can satisfy the variance constraint δ 2 by (24). In addition, the equality of condition (18) is efficiently substituted by the inequality condition (20) such that the LMI tool in various programs can be conveniently applied to solve the control problem of Theorem 1. □
Via the fuzzy controller of (13)–(14) designed by Theorem 1, the better estimation performance of ship dynamic behavior based on disturbed AIS data can be obtained based on the fuzzy observer (15). In the next section, a group of real AIS data from Kaohsiung Port and the assumed AIS data from Keelung Port are selected for the simulation to verify the effectiveness of Theorem 1.

4. Simulations of Ship’s Dynamic Path Based on AIS Data via Fuzzy Controller Design Approach

In this section, two examples of simulations are presented to demonstrate the effectiveness of the fuzzy controller design approach in Section 3. To implement the simulations, a group of real AIS data from Kaohsiung Port and the assumed AIS data around Keelung Port were selected. Firstly, the simulation based on the AIS data of Kaohsiung Port is given in Example 1 as follows.

4.1. Example 1 (Simulation of Real AIS Data from Kaohsiung Port)

Once the ships had navigated into Kaohsiung Port, a group of historical AIS data was selected for the simulation in this example. From the AIS data, the longitude and latitude data are first presented in the following table.
Based on the longitude and latitude AIS data in Table 1, the following figure is provided to further present the ship positions of each received time for the estimation and control problems by using Google Maps. Note that the index from 1 to 17 in Figure 3 sequentially denotes the received time in Table 1.
In this research, TWD97 data were applied to represent the longitude and latitude data obtained from the AIS in the region around Taiwan [40], which is different from the design method in [21,35]. Via the projection method for TWD97 data [40], the AIS data in Table 2 can be obtained from the data in Table 1. Additionally, the COG and SOG data obtained by the AIS are also presented in Table 2.
Referring to [2,12,16,29], four AIS data in Table 2 for non-linear dynamic systems (1)–(2) can be transferred into five AIS data for systems (3)–(4) in Table 3 to develop the fuzzy controller (14) for the estimation and control problems.
Before applying the fuzzy controller design approach for (14), the fuzzy observer gains can be designed for (9) via the gain design algorithm proposed in [21]. Without considering the effect of stochastic disturbance, w ( t ) = 0 , five gains in matrix L can be obtained as follows:
L 1 = 40 ,   L 2 = 200 ,   L 3 = 0.1 ,   L 4 = 0.1   and   L 5 = 0.05 .
Similar to the research [21], the first-order hold method is applied to transfer the discrete-time AIS data into the continuous-time data for the simulation. To present the simulation results, the state initial conditions of fuzzy observer (9) are given as follows:
x ( 0 ) = [ 2500 180 50 6.6 0 ] T
Applying fuzzy observer (9) and gains (25), the estimation results of ship dynamic behavior based on the AIS data with and without stochastic disturbances are presented in Figure 4, Figure 5, Figure 6, Figure 7, Figure 8 and Figure 9.
From Figure 4, Figure 5, Figure 6, Figure 7, Figure 8 and Figure 9, one can see that via the gain design algorithm in [21], fuzzy observer (9) can provide good estimation performance when the ship dynamic behavior based on AIS data is not affected by the disturbance. However, the responses denoted by the green dash–dot line indicate that the estimation results will become terrible if the ship’s dynamic behavior is disturbed.
In this simulation, the situation of stochastic disturbances is selected as follows:
D 1 ~ 9 = [ 0 0 0.2 0.1 0.2 ] T   and   W = 1
In Figure 9, the estimation result of the ship dynamic path is presented based on the problem stated in Figure 2. Obviously, the ship trajectory cannot be precisely estimated because of the stochastic disturbance. This will lead to inaccurate results no matter the analysis or management method of ship traffic. It is worth noting that the effect of stochastic disturbance is very small in Figure 5 because of the large observer gain designed by the algorithm in [21] to achieve the required estimation performance. In addition, the large gain is due to the significant variety in the east position of AIS data presented in Figure 3. However, if the gain of all states is designed to simultaneously achieve the purpose of estimation and solve the disturbance problem, all the gains will become very big which is not proper for designing the fuzzy observer.
Because of this reason, the fuzzy controller design approach proposed in this research can not only provide a control method for the ship dynamic path based on AIS data, but it can also be applied to improve the estimation results even when affected by stochastic disturbance.
Based on extended fuzzy observer (15), gains (25), and the individual variance constraints designed as:
δ 1 2 = 0.1 ,   δ 2 2 = 0.5 ,   δ 3 2 = 0.2 ,   δ 4 2 = 0.03 ,   δ 5 2 = 0.01 ,
the control gain of all rules of fuzzy controller (14) is obtained as follows by solving the sufficient conditions (20)–(22) in Theorem 1.
Fuzzy Control Gains in Example 1:
F 1 = [ 0.0039 0.0146 3.1149 0.1564 0.9713 0.2849 0.2666 0.0232 21.9362 0.4988 0.0156 0.6736 0.0488 0.1720 69.3264 ] , F 2 = [ 0.0036 0.0151 3.1149 0.1564 0.9713 0.1469 3.4226 0.0232 21.9380 0.4843 0.2181 0.8961 0.0488 0.1748 69.3274 ] , F 3 = [ 0.0042 0.0134 3.1149 0.1564 0.9713 0.1466 3.5224 0.0232 21.9382 0.5160 0.2277 0.8945 0.0488 0.1687 69.3275 ] , F 4 = [ 0.0033 0.0150 3.1149 0.1564 0.9713 0.2463 6.3669 0.0232 21.9433 0.4709 0.4070 1.5281 0.0488 0.1773 69.3303 ] , F 5 = [ 0.0043 0.0119 3.1149 0.1564 0.9713 0.2469 6.4657 0.0233 21.9436 0.5294 0.4167 1.5251 0.0488 0.1662 69.3304 ] , F 6 = [ 0.0030 0.0144 3.1149 0.1564 0.9713 0.8349 8.3346 0.0232 21.9513 0.4618 0.5331 2.4734 0.0488 0.1791 69.3346 ] , F 7 = [ 0.0043 0.0102 3.1149 0.1564 0.9713 0.8357 8.4320 0.0233 21.9516 0.5383 0.5431 2.4696 0.0488 0.1645 69.3347 ] , F 8 = [ 0.0028 0.0133 3.1149 0.1564 0.9713 1.4660 9.0260 0.0232 21.9598 0.4585 0.5773 3.4864 0.0488 0.1797 69.3392 ] , F 9 = [ 0.0042 0.0088 3.1149 0.1564 0.9713 1.4668 9.1220 0.0233 21.9602 0.5414 0.5876 3.4823 0.0488 0.1639 69.3393 ] .
Substituting in the gains (25) and (29) and applying fuzzy observer (15) with PDC-based fuzzy controller (14), the improved estimation results of the Kaohsiung AIS data in Table 3 are presented in Figure 10, Figure 11, Figure 12, Figure 13, Figure 14 and Figure 15.
Obviously, the estimation performance can be obtained well via the fuzzy controller designed in this research in Figure 10, Figure 11, Figure 12, Figure 13, Figure 14 and Figure 15. In addition, the effect of stochastic disturbances is efficiently suppressed by the application of individual variance constraint. It is also worth noting that the estimation performances for yaw angle, surge, and sway motion in Figure 12, Figure 13 and Figure 14 are obtained even better than the original results of the fuzzy observer without considering the disturbance in Figure 6, Figure 7 and Figure 8.
To verify the fuzzy controller design approach, the variance values of the estimated error of each state are presented as follows according to Figure 10, Figure 11, Figure 12, Figure 13 and Figure 14.
var ( e 1 ( t ) ) = 0.01 ,   var ( e 2 ( t ) ) = 0.0074 ,   var ( e 3 ( t ) ) = 0.1630 , var ( e 4 ( t ) ) = 3.7699 × 10 4 ,   var ( e 5 ( t ) ) = 9.4558 × 10 5 .
Comparing the results of (30) with the variance constraints (28), one can see that all the variance values of estimated error satisfy the given constraints. Via designing the proper variance constraint in the design approach of Theorem 1, the effect of stochastic disturbance can be effectively suppressed such that more precise estimation results of ship dynamics are obtained.
It can be concluded from the simulation of Example 1 that the fuzzy controller design approach proposed in this research can solve the estimation problem of the ship’s dynamic path based on AIS data with the disturbance factors. Moreover, the original estimation performance of the fuzzy observer designed via the algorithm in [21] can also be improved whether the stochastic disturbances are affecting it or not. When a ship is navigating the ocean in different regions, the ship’s dynamic behavior will be affected by various kinds or magnitudes of disturbance. However, the estimation problem can also be solved by properly adjusting the variance constraint for the estimated error energy of AIS data in the fuzzy controller design approach proposed in this research.
In the next example, the assumed AIS data around Keelung Port, which have a larger variety, were selected to demonstrate the effectiveness of the proposed design approach.

4.2. Example 2 (Simulation of The Assumed AIS Data from Keelung Port)

To make the estimation problem more difficult, the assumed longitude and latitude AIS data of ships around Keelung Port which has the larger variety are selected. The ship positions are presented in the following figure to clearly state the estimation problem.
According to the problem in Figure 16, the five AIS data are presented in the following table, which has been transferred via the projection method for TWD97 [40].
Then, the following observer gains can be designed for the fuzzy observer (9) via the algorithm in [21], which the discrete-time AIS data also constructed into continuous time by first-order hold:
L 1 = 100 ,   L 2 = 150 ,   L 3 = 0.1 ,   L 4 = 0.3   and   L 5 = 0.4
From the values of (31), one can see that the gains are almost bigger than the gains of (25) because the variety of all states of objective AIS data in Example 2 is much larger.
Considering the situation of stochastic disturbances as:
D 1 ~ 9 = [ 0 0 0.5 0.1 0.1 ] T and   W = 1 ,
and selecting the variance constraint for estimated error of each state as:
δ 1 2 = 0.1 ,   δ 2 2 = 0.4 ,   δ 3 2 = 0.3 ,   δ 4 2 = 0.05 ,   δ 5 2 = 0.05 ,
the following gains can be obtained by the design approach in Theorem 1.
Fuzzy Control Gains in Example 2:
F 1 = [ 0.0051 0.0068 5.8128 0.2636 0.2729 0.5601 0.1059 0.0353 40.1328 0.0400 0.0667 0.7014 0.0337 0.0371 41.6715 ] , F 2 = [ 0.0034 0.0084 5.8128 0.2636 0.2730 0.3806 1.3348 0.0353 40.1337 0.0450 0.8503 0.4444 0.0337 0.0329 41.6726 ] , F 3 = [ 0.0065 0.0039 5.8128 0.2636 0.2729 0.3809 1.3697 0.0353 40.1338 0.0340 0.8742 0.4442 0.0337 0.0421 41.6726 ] , F 4 = [ 0.0012 0.0090 5.8128 0.2636 0.2730 0.1305 2.4811 0.0353 40.1364 0.0497 1.5813 0.2877 0.0337 0.0289 41.6755 ] , F 5 = [ 0.0070 0.0006 5.8128 0.2636 0.2729 0.1299 2.5162 0.0353 40.1366 0.0293 1.6051 0.2882 0.0337 0.0460 41.6756 ] , F 6 = [ 0.0010 0.0083 5.8128 0.2636 0.2730 0.8952 3.2469 0.0353 40.1405 0.0528 2.0698 1.3835 0.0337 0.0263 41.6800 ] , F 7 = [ 0.0066 0.0026 5.8128 0.2636 0.2729 0.8945 3.2824 0.0353 40.1407 0.0262 2.0934 1.3842 0.0337 0.0486 41.6801 ] , F 8 = [ 0.0027 0.0067 5.8128 0.2636 0.2729 1.7149 3.5157 0.0353 40.1449 0.0540 2.2414 2.5583 0.0337 0.0253 41.6847 ] , F 9 = [ 0.0055 0.0052 5.8128 0.2636 0.2729 1.7142 3.5515 0.0353 40.1451 0.0252 2.2649 2.5590 0.0337 0.0495 41.6849 ] .
Applying fuzzy observer (15) with fuzzy controller (14) according to the gains (31) and (34), the estimation results of Keelung port AIS data are presented in Figure 17, Figure 18, Figure 19, Figure 20, Figure 21 and Figure 22 with the initial condition x ( 0 ) = [ 2770 290 30 5.5 0 ] T .
From the results in Figure 17, Figure 18, Figure 19, Figure 20 and Figure 21, one can see that the estimation problem is well solved via the T-S-model-based fuzzy observer with the application of the PDC-based fuzzy controller. Even if the ship’s dynamic behavior is affected by the stochastic disturbance and the assumed AIS data around Keelung Port are selected to be more divergent, the fuzzy controller design approach proposed in this research can also provide a sufficient ability in improving the estimation results. Based on the results in Figure 17, Figure 18, Figure 19, Figure 20 and Figure 21, the variance values of the estimated error of each state are presented as follows:
var ( e 1 ( t ) ) = 0.0294 ,   var ( e 2 ( t ) ) = 0.2903 ,   var ( e 3 ( t ) ) = 0.1881 , var ( e 4 ( t ) ) = 0066 ,   var ( e 5 ( t ) ) = 7.8930 × 10 5 .
Comparing the results (35) with the variance constraints (33), it is obvious that the variance values of each state are all satisfying the required constraint individually. Via giving the variance constraint in the design approach of Theorem 1, the effect of stochastic disturbances, which is considered different from Example 1, can also be suppressed. To demonstrate the contribution of the proposed design method to the estimation problem of the ship dynamic path based on AIS data, the simulation results compared with [21] are presented in the next example.

4.3. Example 3 (Comparison Results Based on the Assumed AIS Data of Keelung Port)

Extending the results obtained in Example 2, the comparison results in this example are provided with the same AIS data as Figure 16 and Table 4 from Keelung Port. According to the statement in Remark 2, one can know that the observer gain may be improperly big when the approach in [21] is directly applied to solve the estimation problem under the effect of stochastic disturbance. However, the fuzzy controller design approach proposed in this research can not only provide a controller design scheme for the ship dynamic path based on AIS data, but it can also be utilized to improve the estimation performance in accordance with the disturbance. Because of this reason, the conditions of stochastic disturbance are selected for the simulation as follows.
D 1 ~ 9 = [ 0 0 1 1 1 ] T   and   W = 5 ,
Note that the magnitude of stochastic disturbance effect (36) is considered in a much bigger case than (32) in Example 2 to verify the effectiveness of the proposed fuzzy controller approach. Then, the following variance constraint is selected to achieve the required estimation performance for each state:
δ 1 2 = 1 ,   δ 2 2 = 1 ,   δ 3 2 = 0.4 ,   δ 4 2 = 0.3 ,   δ 5 2 = 0.5 ,
From the value of the variance constraints in (17), it can be seen that the first two constraints are selected in the relatively bigger values because the disturbance only directly influences the yaw angle, surge motion, and sway motion. Based on the given variance constraints (37), the following control gains are obtained by solving the sufficient conditions (20)–(22):
Fuzzy Control Gains in Example 3:
F 1 = [ 0.0077 0.0056 12.2619 7.3595 3.3627 0.0089 0.0042 6.5633 13.1843 3.6000 0.0058 0.0059 6.6039 7.6181 6.5236 ] , F 2 = [ 0.0101 0.0050 12.2619 7.3595 3.3628 0.0113 0.0034 6.5633 13.1842 3.6000 0.0087 0.0055 6.6040 7.6181 6.5237 ] , F 3 = [ 0.0054 0.0070 12.2619 7.3595 3.3628 0.0068 0.0059 6.5633 13.1843 3.6000 0.0029 0.0074 6.6039 7.6182 6.5237 ] , F 4 = [ 0.0129 0.0051 12.2619 7.3595 3.3628 0.0143 0.0032 6.5633 13.1842 3.6000 0.0120 0.0058 6.6041 7.6181 6.5238 ] , F 5 = [ 0.0042 0.0087 12.2619 7.3595 3.3628 0.0058 0.0078 6.5633 13.1843 3.6001 0.0012 0.0093 6.6040 7.6182 6.5239 ] , F 6 = [ 0.0154 0.0059 12.2619 7.3595 3.3629 0.0172 0.0038 6.5633 13.1842 3.6001 0.0148 0.0069 6.6042 7.6183 6.5240 ] , F 7 = [ 0.0041 0.0106 12.2619 7.3595 3.3629 0.0061 0.0099 6.5633 13.1843 3.6001 0.0007 0.0115 6.6041 7.6183 6.5240 ] , F 8 = [ 0.0172 0.0072 12.2619 7.3596 3.3630 0.0193 0.0050 6.5633 13.1843 3.6002 0.0166 0.0085 6.6043 7.6184 6.5241 ] , F 9 = [ 0.0049 0.0123 12.2619 7.3596 3.3629 0.0073 0.0115 6.5633 13.1843 3.6002 0.0014 0.0135 6.6042 7.6183 6.5241 ] .
Moreover, the observer gain is obtained via directly applying the algorithm proposed in [21] to solve the disturbance problem in the estimation problem:
L 1 = 100 ,   L 2 = 150 ,   L 3 = 14 ,   L 4 = 15   and   L 5 = 13 .
Applying the fuzzy observer (15) with the gains (38) and applying the fuzzy observer (9) with the adjusted observer gains (39), the comparison results of Figure 23, Figure 24, Figure 25, Figure 26 and Figure 27 are presented based on the AIS data in Figure 9 and Table 4 as follows.
From the results of Figure 25, Figure 26 and Figure 27, it is obvious that the proposed fuzzy controller design approach can improve the estimation performance compared with the design method in [21]. It is worth noting that the value of the observer gains is designed to be a bigger value than the control gains (38) if the algorithm proposed in [21] is only applied. To clearly present this contribution, the matrix related to the control effort of the rule 1 subsystem in the error system (16) is obtained, for example, to compare with the gains (39).
L o + B 1 F 1 = [ 100 0 0 0 0 0 150 0 0 0 0.0077 0.0056 12.2619 7.3595 3.3627 0.0089 0.0042 6.5633 13.1843 3.6000 0.0058 0.0059 6.6039 7.6183 6.5236 ] , And   L = L o + L ˜ = [ 100 0 0 0 0 0 150 0 0 0 0 0 14 0 0 0 0 0 15 0 0 0 0 0 13 ] .
In the gain matrices (40), the matrix L o denotes the original observer gain matrix with the gains (31), which is designed without considering the effect of stochastic disturbance. In addition, the matrix L ˜ denotes the adjusted observer gain via the gain design algorithm in [21]. Alternately, the proposed fuzzy controller design approach was applied in this research to complement the estimation performance with disturbance. From the gain values in (40), it is not difficult to see that the magnitude of the gain designed by the proposed method is smaller than that designed by the method in [21]. On top of that, the better estimation performance in Figure 25, Figure 26 and Figure 27 can even be obtained by the proposed design method. And the effect of stochastic disturbance is very inconspicuous in Figure 23 and Figure 24 because of the original gains in (31) are designed in the relatively larger values to achieve the required estimating performance for the north position and east position. To further verify the contribution of the design method in this research, the following variance values are presented according to Figure 23, Figure 24, Figure 25, Figure 26 and Figure 27:
Proposed Design Method:
var ( e 1 ) = 0.0028 ,   var ( e 2 ) = 0.0272 ,   var ( e 3 ) = 0.0342 , var ( e 4 ) = 0.0086 ,   var ( e 5 ) = 0.00271 .
Design Method in [21]:
var ( e 1 ) = 0.0028 ,   var ( e 2 ) = 0.0272 ,   var ( e 3 ) = 0.0414 , var ( e 4 ) = 0.0228 ,   var ( e 5 ) = 0.00290
where var ( · ) denotes the variance value of · .
Via comparing the values of (41) and (42), one can see that the estimation error of yaw angle, surge motion, and sway motion all achieve lower variance values. This also means that the proposed fuzzy controller design approach can guarantee more precise estimation performance. Additionally, the lower gains were also designed by the proposed design approach such that the cost of estimation in practical applications can be efficiently saved. Therefore, the effectiveness of the proposed fuzzy controller design approach was demonstrated for estimating the dynamic ship path based on AIS data.
According to the estimation results of the simulation in the three examples, it can be said that the fuzzy controller design approach in this research can provide a good choice to improve the estimation performance no matter with or without stochastic disturbances. Moreover, the design approach in this research can also be further extended to the general control problem of the ship dynamic path based on AIS data according to the setting in Remark 3.

5. Conclusions

Based on the T-S fuzzy model, a novel fuzzy controller design approach is provided for the control of the ship dynamic path based on AIS data. Via the T-S fuzzy modelling method, the non-linear ship dynamic system can be efficiently represented via many linear fuzzy subsystems. Because of this feature, either the observer or controller design problem is converted into the linear problem. Developing the observer and controller directly with non-linear systems is often confronted by difficult challenges. Additionally, the designed observer and controller may be less cost effective. Based on the constructed T-S fuzzy model, the fuzzy observer was first developed via the gain design algorithm in [21]. If the fuzzy observer is estimating the ship’s dynamic behavior well, it can also be provided as a mathematical model to describe the objective discrete-time AIS data. However, unpredictable disturbances such as ocean currents, winds, and waves will severely affect the ship’s dynamic behavior. In addition, these disturbances will be various in different regions. From the simulation results of Example 1, one can see that the estimation performance of ship’s dynamic behavior for real Kaohsiung AIS data becomes very imprecise and worse when stochastic disturbances exist. Therefore, a PDC-based fuzzy controller design approach is provided in this research based on the constructed fuzzy observer. From Remark 3, it is worth noting that the fuzzy controller design approach can not only improve the estimation performance with stochastic disturbances, but it can also provide a controller design approach for ship dynamic behavior based on AIS data. From the simulations of this research, the designed fuzzy controller is verified to efficiently improve the estimation performance for ship dynamic behavior and also the navigating path regardless of whether it is affected by stochastic disturbances or not. In the existing research, there are hardly any papers discussing the control problem and controller design approach based on AIS data. However, various applications in the maritime field all depend on the precise control of ship dynamic behavior. Thus, this reason motivates this research to develop a fuzzy controller design approach by extending the application of the T-S-fuzzy-model-based observer.

Author Contributions

Conceptualization, Y.-H.L., C.-L.P. and W.-J.C.; methodology, Y.-H.L. and W.-J.C.; software, Y.-H.L.; validation, W.-J.C.; investigation, Y.-H.L., C.-L.P. and W.-J.C.; writing—original draft preparation, Y.-H.L. and W.-J.C.; writing—review and editing, Y.-H.L., C.-L.P. and W.-J.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Science and Technology Council of the Republic of China under Contract MOST 111-2221-E-019-075.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

This work was supported by the National Science and Technology Council of the Republic of China under Contract MOST 111-2221-E-019-075.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations and Nomenclature

In this research, the abbreviations which are frequently applied are presented as follows. AISs denotes automatic identification systems. T-S denotes Takagi–Sugeno. SOG denotes speed over ground. COG denotes course over ground. LMI denotes linear matrix inequality. PDC denotes parallel distributed compensation. Moreover, the nomenclature of symbols is presented as follows: s a t ( · ) denotes the saturation of · ; tan 1 ( · ) denotes the arctangent of · ; m × n denotes the real matrix with the dimension m × n ; d i a g { · } denotes the diagonal matrix with the element · ; E ( · ) denotes the expectation of · ; var ( · ) denotes the variance value of · ; and [ · ] denotes the -th diagonal element of matrix · .

Appendix A

The model matrices of each fuzzy subsystem of the T-S fuzzy model (6) are presented as follows:
A 1 = [ 0 0 0 1 0.0349 0 0 0 0.0349 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] ,   A 2 = [ 0 0 0 0.9239 0.3827 0 0 0 0.3827 0.9239 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] , A 3 = [ 0 0 0 0.9239 0.3827 0 0 0 0.3827 0.9239 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] ,   A 4 = [ 0 0 0 0.7071 0.7071 0 0 0 0.7071 0.7071 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] , A 5 = [ 0 0 0 0.7071 0.7071 0 0 0 0.7071 0.7071 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] ,   A 6 = [ 0 0 0 0.3827 0.9239 0 0 0 0.9239 0.3827 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] , A 7 = [ 0 0 0 0.3827 0.9239 0 0 0 0.9239 0.3827 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] ,   A 8 = [ 0 0 0 0.0349 0.1 0 0 0 1 0.0349 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] , A 9 = [ 0 0 0 0.0349 1 0 0 0 1 0.0349 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] ,   B 1 ~ 9 = [ 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 ] ,   D i = [ 0 0 d 1 d 2 d 3 ] .

References

  1. Tsou, M.C.; Hsueh, C.K. The study of ship collision avoidance route planning by ant colony algorithm. J. Mar. Sci. Technol. 2010, 18, 16. [Google Scholar] [CrossRef]
  2. Tu, E.; Zhang, G.; Rachmawati, L.; Rajabally, E.; Huang, G.B. Exploiting AIS data for intelligent maritime navigation: A comprehensive survey from data to methodology. IEEE Trans. Intell. Transp. Syst. 2017, 19, 1559–1582. [Google Scholar] [CrossRef]
  3. James, M.; Mendo, T.; Jones, E.L.; Orr, K.; McKnight, A.; Thompson, J. AIS data to inform small scale fisheries management and marine spatial planning. Mar. Policy 2018, 91, 113–121. [Google Scholar] [CrossRef] [Green Version]
  4. Yang, D.; Wu, L.; Wang, S.; Jia, H.; Li, K.X. How big data enriches maritime research—A critical review of Automatic Identification System (AIS) data applications. Transp. Rev. 2019, 39, 755–773. [Google Scholar] [CrossRef]
  5. International Maritime Organization. Available online: https://www.imo.org/en/OurWork/Safety/Pages/AIS.aspx (accessed on 9 May 2023).
  6. Campana, I.; Angeletti, D.; Crosti, R.; Luperini, C.; Ruvolo, A.; Alessandrini, A.; Arcangeli, A. Seasonal characterisation of maritime traffic and the relationship with cetacean presence in the Western Mediterranean Sea. Mar. Pollut. Bull. 2017, 115, 282–291. [Google Scholar] [CrossRef] [PubMed]
  7. Wu, L.; Xu, Y.; Wang, Q.; Wang, F.; Xu, Z. Mapping global shipping density from AIS data. J. Navig. 2017, 701, 67–81. [Google Scholar] [CrossRef]
  8. Kao, S.L.; Chung, W.H.; Chen, C.W. AIS-based scenario simulation for the control and improvement of ship emissions in ports. J. Mar. Sci. Eng. 2022, 10, 129. [Google Scholar] [CrossRef]
  9. Russo, E.; Monti, M.A.; Mangano, M.C.; Raffaeta, A.; Sara, G.; Silvestri, C.; Pranovi, F. Temporal and spatial patterns of trawl fishing activities in the Adriatic Sea (Central Mediterranean Sea, GSA17). Ocean Coast. Manag. 2020, 192, 105231. [Google Scholar] [CrossRef]
  10. Natale, F.; Gibin, M.; Alessandrini, A.; Vespe, M.; Paulrud, A. Mapping fishing effort through AIS data. PLoS ONE 2015, 10, e0130746. [Google Scholar] [CrossRef] [Green Version]
  11. Almunia, J.; Delponti, P.; Rosa, F. Using automatic identification system (AIS) data to estimate whale watching effort. Front. Mar. Sci. 2021, 8, 635568. [Google Scholar] [CrossRef]
  12. Zhou, Y.; Daamen, W.; Vellinga, T.; Hoogendoorn, S.P. Impacts of wind and current on ship behavior in ports and waterways: A quantitative analysis based on AIS data. Ocean Eng. 2020, 213, 107774. [Google Scholar] [CrossRef]
  13. Rong, H.; Teixeira, A.P.; Soares, C.G. Ship trajectory uncertainty prediction based on a Gaussian Process model. Ocean Eng. 2019, 182, 499–511. [Google Scholar] [CrossRef]
  14. Mazzarella, F.; Arguedas, V.F.; Vespe, M. Knowledge-based vessel position prediction using historical AIS data. In Proceedings of the Sensor Data Fusion: Trends, Solutions, Applications (SDF), Bonn, Germany, 6–8 October 2015. [Google Scholar]
  15. Park, J.; Jeong, J.; Park, Y. Ship trajectory prediction based on bi-LSTM using spectral-clustered AIS data. J. Mar. Sci. Eng. 2021, 9, 1037. [Google Scholar] [CrossRef]
  16. Eriksen, B.O.H.; Breivik, M.; Wilthil, E.F.; Flåten, A.L.; Brekke, E.F. The branching-course model predictive control algorithm for maritime collision avoidance. J. Field Robot. 2019, 36, 1222–1249. [Google Scholar] [CrossRef] [Green Version]
  17. Chen, C.; Verwilligen, J.; Mansuy, M.; Eloot, K.; Lataire, E.; Delefortrie, G. Tracking controller for ship manoeuvring in a shallow or confined fairway: Design, comparison and application. Appl. Ocean Res. 2021, 115, 102823. [Google Scholar] [CrossRef]
  18. Papadimitrakis, M.; Stogiannos, M.; Sarimveis, H.; Alexandridis, A. Multi-ship control and collision avoidance using MPC and RBF-based trajectory predictions. Sensors 2021, 21, 6959. [Google Scholar] [CrossRef]
  19. Helling, S.; Meurer, T. Dual collision detection in model predictive control including culling techniques. IEEE Trans. Control Syst. Technol. 2023; Early Access. [Google Scholar]
  20. Zhang, K.; Huang, L.; Liu, X.; Chen, J.; Zhao, X.; Huang, W.; He, Y. A novel decision support methodology for autonomous collision avoidance based on deduction of manoeuvring process. J. Mar. Sci. Eng. 2022, 10, 765. [Google Scholar] [CrossRef]
  21. Pen, C.L.; Chang, W.J.; Lin, Y.H. Development of fuzzy observer gain design algorithm for ship path estimation based on AIS data. Processes 2022, 10, 33. [Google Scholar] [CrossRef]
  22. Deng, F.; Yang, H.L.; Wang, L.J.; Yang, W.M. UKF based nonlinear offset-free model predictive control for ship dynamic positioning under stochastic disturbances. Int. J. Control Autom. Syst. 2019, 17, 3079–3090. [Google Scholar] [CrossRef]
  23. Do, K.D. Global robust adaptive path-tracking control of underactuated ships under stochastic disturbances. Ocean Eng. 2016, 111, 267–278. [Google Scholar] [CrossRef]
  24. Zhou, Y.; Daamen, W.; Vellinga, T.; Hoogendoorn, S.P. AIS data analysis for the impacts of wind and current on ship behavior in straight waterways. In Proceedings of the International Congress of the International Maritime Association of the Mediterranean, Lisbon, Portugal, 9–11 October 2017. [Google Scholar]
  25. Shu, Y.; Daamen, W.; Ligteringen, H.; Hoogendoorn, S.P. Influence of external conditions and vessel encounters on vessel behavior in ports and waterways using Automatic Identification System data. Ocean Eng. 2017, 131, 1–14. [Google Scholar] [CrossRef] [Green Version]
  26. Chang, W.J.; Shih, Y.J. Fuzzy control of multiplicative noised nonlinear systems subject to actuator saturation and H performance constraints. Neurocomputing 2015, 148, 512–520. [Google Scholar] [CrossRef]
  27. Chang, W.J.; Qiao, H.Y.; Ku, C.C. Sliding mode fuzzy control for nonlinear stochastic systems subject to pole assignment and variance constraint. Inf. Sci. 2018, 432, 133–145. [Google Scholar] [CrossRef]
  28. Chang, W.J.; Lin, Y.H.; Du, J.; Chang, C.M. Fuzzy control with pole assignment and variance constraints for continuous-time perturbed Takagi-Sugeno fuzzy models: Application to ship steering systems. Int. J. Control Autom. Syst. 2019, 17, 2677–2692. [Google Scholar] [CrossRef]
  29. Xu, H.; Rong, H.; Soares, C.G. Use of AIS data for guidance and control of path-following autonomous vessels. Ocean Eng. 2019, 194, 106635. [Google Scholar] [CrossRef]
  30. Ye, J.; Roy, S.; Godjevac, M.; Baldi, S. Observer-based robust control for dynamic positioning of large-scale heavy lift vessels. IFAC-PapersOnLine 2019, 52, 138–143. [Google Scholar] [CrossRef]
  31. Ye, J.; Roy, S.; Godjevac, M.; Baldi, S. A switching control perspective on the offshore construction scenario of heavy-lift vessels. IEEE Trans. Control Syst. Technol. 2020, 29, 470–477. [Google Scholar] [CrossRef]
  32. Ye, J.; Roy, S.; Godjevac, M.; Reppa, V.; Baldi, S. Robustifying dynamic positioning of crane vessels for heavy lifting operation. IEEE/CAA J. Autom. Sin. 2021, 8, 753–765. [Google Scholar] [CrossRef]
  33. Hotz, A.; Skelton, R.E. Covariance control theory. Int. J. Control 1987, 46, 13–32. [Google Scholar] [CrossRef]
  34. Collins, E.; Skelton, R. A theory of state covariance assignment for discrete systems. IEEE Trans. Autom. Control 1987, 32, 35–41. [Google Scholar] [CrossRef]
  35. Fossen, S.; Fossen, T.I. eXogenous Kalman filter (XKF) for visualization and motion prediction of ships using live automatic identification system (AIS) data. Model. Identif. Control 2018, 39, 233. [Google Scholar] [CrossRef] [Green Version]
  36. Chang, W.J.; Su, C.L.; Varadarajan, V. Fuzzy controller design for nonlinear singular systems with external noises subject to passivity constraints. Asian J. Control 2021, 23, 1195–1211. [Google Scholar] [CrossRef]
  37. Ku, C.C.; Chang, W.J.; Tsai, M.H.; Lee, Y.C. Observer-based proportional derivative fuzzy control for singular Takagi-Sugeno fuzzy systems. Inf. Sci. 2021, 570, 815–830. [Google Scholar] [CrossRef]
  38. Chang, W.J.; Lian, K.Y.; Su, C.L.; Tsai, M.H. Multi-constrained fuzzy control for perturbed T–S fuzzy singular systems by proportional-plus-derivative state feedback method. Int. J. Fuzzy Syst. 2021, 23, 1972–1985. [Google Scholar] [CrossRef]
  39. Zheng, F.; Wang, Q.G.; Lee, T.H.; Huang, X. Robust PI controller design for nonlinear systems via fuzzy modeling approach. IEEE Trans. Syst. Man Cybern. Part A Syst. Hum. 2001, 31, 666–675. [Google Scholar] [CrossRef]
  40. You, R.J.; Ko, C.H. Optimal scale factor on the central meridian for a 2° TM map projection in TWD97. J. Chin. Inst. Eng. 2014, 37, 103–109. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of the non-linear ship dynamic system.
Figure 1. Schematic diagram of the non-linear ship dynamic system.
Jmse 11 01181 g001
Figure 2. Membership function of the non-linear ship dynamic system.
Figure 2. Membership function of the non-linear ship dynamic system.
Jmse 11 01181 g002
Figure 3. Ship positions of Kaohsiung AIS data on a map.
Figure 3. Ship positions of Kaohsiung AIS data on a map.
Jmse 11 01181 g003
Figure 4. Estimation results of north position with and without stochastic disturbance.
Figure 4. Estimation results of north position with and without stochastic disturbance.
Jmse 11 01181 g004
Figure 5. Estimation results of east position with and without stochastic disturbance.
Figure 5. Estimation results of east position with and without stochastic disturbance.
Jmse 11 01181 g005
Figure 6. Estimation results of yaw angle with and without stochastic disturbance.
Figure 6. Estimation results of yaw angle with and without stochastic disturbance.
Jmse 11 01181 g006
Figure 7. Estimation results of surge motion with and without stochastic disturbance.
Figure 7. Estimation results of surge motion with and without stochastic disturbance.
Jmse 11 01181 g007
Figure 8. Estimation results of sway motion with and without stochastic disturbance.
Figure 8. Estimation results of sway motion with and without stochastic disturbance.
Jmse 11 01181 g008
Figure 9. Estimation results of ship trajectory with and without stochastic disturbance.
Figure 9. Estimation results of ship trajectory with and without stochastic disturbance.
Jmse 11 01181 g009
Figure 10. Estimation results of north position with the designed fuzzy controller.
Figure 10. Estimation results of north position with the designed fuzzy controller.
Jmse 11 01181 g010
Figure 11. Estimation results of east position with the designed fuzzy controller.
Figure 11. Estimation results of east position with the designed fuzzy controller.
Jmse 11 01181 g011
Figure 12. Estimation results of yaw angle with the designed fuzzy controller.
Figure 12. Estimation results of yaw angle with the designed fuzzy controller.
Jmse 11 01181 g012
Figure 13. Estimation results of surge motion with the designed fuzzy controller.
Figure 13. Estimation results of surge motion with the designed fuzzy controller.
Jmse 11 01181 g013
Figure 14. Estimation results of sway motion with the designed fuzzy controller.
Figure 14. Estimation results of sway motion with the designed fuzzy controller.
Jmse 11 01181 g014
Figure 15. Estimation results of ship trajectory with the designed fuzzy controller.
Figure 15. Estimation results of ship trajectory with the designed fuzzy controller.
Jmse 11 01181 g015
Figure 16. Ship positions of Keelung AIS data on a map.
Figure 16. Ship positions of Keelung AIS data on a map.
Jmse 11 01181 g016
Figure 17. Estimation results of north position in Example 2.
Figure 17. Estimation results of north position in Example 2.
Jmse 11 01181 g017
Figure 18. Estimation results of east position in Example 2.
Figure 18. Estimation results of east position in Example 2.
Jmse 11 01181 g018
Figure 19. Estimation results of yaw angle in Example 2.
Figure 19. Estimation results of yaw angle in Example 2.
Jmse 11 01181 g019
Figure 20. Estimation results of surge motion in Example 2.
Figure 20. Estimation results of surge motion in Example 2.
Jmse 11 01181 g020
Figure 21. Estimation results of sway motion in Example 2.
Figure 21. Estimation results of sway motion in Example 2.
Jmse 11 01181 g021
Figure 22. Estimation results of ship trajectory in Example 2.
Figure 22. Estimation results of ship trajectory in Example 2.
Jmse 11 01181 g022
Figure 23. Simulation results compared with [21] in the estimation of north position.
Figure 23. Simulation results compared with [21] in the estimation of north position.
Jmse 11 01181 g023
Figure 24. Simulation results compared with [21] in the estimation of east position.
Figure 24. Simulation results compared with [21] in the estimation of east position.
Jmse 11 01181 g024
Figure 25. Simulation results compared with [21] in the estimation of yaw angle.
Figure 25. Simulation results compared with [21] in the estimation of yaw angle.
Jmse 11 01181 g025
Figure 26. Simulation results compared with [21] in the estimation of surge motion.
Figure 26. Simulation results compared with [21] in the estimation of surge motion.
Jmse 11 01181 g026
Figure 27. Simulation results compared with [21] in the estimation of sway motion.
Figure 27. Simulation results compared with [21] in the estimation of sway motion.
Jmse 11 01181 g027
Table 1. Objective longitude and latitude data of AIS data from Kaohsiung Port.
Table 1. Objective longitude and latitude data of AIS data from Kaohsiung Port.
System StatesAIS Data
Received Time (T)0108250321470608710830968
Longitude120.2624120.2655120.2700120.2731120.2778120.2832120.2870120.2915120.2667
Latitude22.539322.540322.541822.542822.544322.545922.547022.548022.5487
Received Time (T)10701190130013991559166918181919
Longitude120.3003120.3047120.3084120.3116120.3162120.3190120.3207120.3211
Latitude22.549522.550322.551022.551522.552222.552422.552522.5525
Table 2. Objective AIS data from Kaohsiung Port.
Table 2. Objective AIS data from Kaohsiung Port.
System StatesAIS Data
Received Time (T)0108250321470608710
N ( T ) 2493.45392493.56742493.72942493.83752494.00182494.18242494.2954
E ( T ) 174.1395174.4593174.9126175.2338175.7206176.2724176.6648
V ( T ) 5.75.96.77.27.687.9
C ( T ) 70.670.270.77170.371.373.4
Received Time (T)83096810701190130013991559
N ( T ) 2494.40262494.49882494.56982494.65032494.72492494.78402494.8571
E ( T ) 177.1291177.6609178.04423178.4899178.8737179.1966179.6757
V ( T ) 7.77.67.67.36.96.45.8
C ( T ) 77.779.478.379.178.879.881.7
Received Time (T)166918181919
N ( T ) 2494.88552494.88992494.8933
E ( T ) 179.9610180.1297180.1740
V ( T ) 4.71.30.7
C ( T ) 849378.5
Table 3. Transferred AIS data for the fuzzy controller design approach.
Table 3. Transferred AIS data for the fuzzy controller design approach.
System StatesAIS Data
Received Time (T)0108250321470608710
x 1 ( T ) 2493.45392493.56742493.72942493.83752494.00182494.18242494.2954
x 2 ( T ) 174.1395174.4593174.9126175.2338175.7206176.2724176.6648
x 3 ( T ) 65656868697172
x 4 ( T ) 5.67285.87576.69267.19017.59807.99997.8965
x 5 ( T ) 0.55620.53470.31560.37680.17240.04190.2344
Received Time (T)83096810701190130013991559
x 1 ( T ) 2494.40262494.49882494.56982494.65032494.72492494.78402494.8571
x 2 ( T ) 177.1291177.6609178.04423178.4899178.8737179.1966179.6757
x 3 ( T ) 78797979808083
x 4 ( T ) 7.69997.59987.59947.36.89856.45.7985
x 5 ( T ) −0.04030.0531−0.09280.0127−0.1445−0.0223−0.1316
Received Time (T)166918181919
x 1 ( T ) 2494.88552494.88992494.8933
x 2 ( T ) 179.9610180.1297180.1740
x 3 ( T ) 86100105
x 4 ( T ) 4.69711.29030.6265
x 5 ( T ) −0.1640−0.1584−0.3123
Table 4. AIS data for the simulation in Example 2.
Table 4. AIS data for the simulation in Example 2.
System StatesAIS Data
Received Time (T)0100200300400500600
x 1 ( T ) 2780.60202781.07382781.61222781.92542783.20492784.78262787.4117
x 2 ( T ) 324.9119325.0545325.7128326.12523226.0747325.4743324.1944
x 3 ( T ) 14.843.2402.5−12.722.654.3
x 4 ( T ) 1.32.19961.49993.09393.58994.99967.2375
x 5 ( T ) 0.00910.04220.0131−0.1947−0.2699−0.06110.9528
Received Time (T)7008009001000120014001600
x 1 ( T ) 2789.29662787.47132785.41692788.48922793.34742797.90242803.5826
x 2 ( T ) 328.9753332.2304329.2699326.2700322.6456316.0415306.7520
x 3 ( T ) 95.1200.7−60.4−40−48.2−53.4260.1
x 4 ( T ) 4.25294.74565.34588.29998.46779.098911.8353
x 5 ( T ) 1.75292.57671.29330.0435−0.74080.1429−3.3490
Received Time (T)180020002100
x 1 ( T ) 2797.65642790.59172785.5364
x 2 ( T ) 294.0186289.5446290.5283
x 3 ( T ) 229.2192.5160.8
x 4 ( T ) 8.33745.44802.7145
x 5 ( T ) −1.0237−1.6760−1.2773
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Pen, C.-L.; Chang, W.-J.; Lin, Y.-H. Fuzzy Controller Design Approach for a Ship’s Dynamic Path Based on AIS Data with the Takagi–Sugeno Fuzzy Observer Model. J. Mar. Sci. Eng. 2023, 11, 1181. https://doi.org/10.3390/jmse11061181

AMA Style

Pen C-L, Chang W-J, Lin Y-H. Fuzzy Controller Design Approach for a Ship’s Dynamic Path Based on AIS Data with the Takagi–Sugeno Fuzzy Observer Model. Journal of Marine Science and Engineering. 2023; 11(6):1181. https://doi.org/10.3390/jmse11061181

Chicago/Turabian Style

Pen, Chin-Lin, Wen-Jer Chang, and Yann-Horng Lin. 2023. "Fuzzy Controller Design Approach for a Ship’s Dynamic Path Based on AIS Data with the Takagi–Sugeno Fuzzy Observer Model" Journal of Marine Science and Engineering 11, no. 6: 1181. https://doi.org/10.3390/jmse11061181

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop