Next Article in Journal
Method of Desulfurization Process Selection Based on Improved Fuzzy Comprehensive Evaluation: A Case Study of Papermaking Desulfurization in China
Next Article in Special Issue
Fine-Tuning Meta-Heuristic Algorithm for Global Optimization
Previous Article in Journal
Making the Most of Parameter Estimation: Terpolymerization Troubleshooting Tips
Previous Article in Special Issue
PEM Fuel Cell Voltage Neural Control Based on Hydrogen Pressure Regulation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Bilinear Model Predictive Method-Based Motion Control System of an Underactuated Ship with an Uncertain Model in the Disturbance

Faculty of Electrical-Electronic Engineering, Vietnam Maritime University, Haiphong 181810, Vietnam
*
Author to whom correspondence should be addressed.
Processes 2019, 7(7), 445; https://doi.org/10.3390/pr7070445
Submission received: 18 June 2019 / Revised: 9 July 2019 / Accepted: 10 July 2019 / Published: 12 July 2019
(This article belongs to the Special Issue Optimization for Control, Observation and Safety)

Abstract

:
Ship transportation plays an increasingly important role in and accounts for a large proportion of cargo transport. Therefore, it is necessary to improve the quality of the trajectory control system of the ship for improving the transport efficiency and ensuring maritime safety. This paper deals with the advanced control system for the three-degrees-of-freedom model of the underactuated ship in the condition of uncertain disturbance. Based on the three-degrees-of-freedom model of the underactuated ship, the authors built a bilinear model of the ship by linearizing each nonlinear model section. Then, the authors used the state estimator to compensate for uncertain components and random disturbances in the model. Finally, the authors built the output-feedback predictive controller based on the channel-separation principle combined with direct observation of the continuous model for controlling the motion of the underactuated ship in the case of uncertain disturbance and the bound control signals. The result is that the movement quality of the underactuated ship is very good in the context of uncertain disturbance and bound control signals.

1. Introduction

Maritime transport plays a particularly important role in international trade because about 80% of imports and exports are transported through the sea. Maritime transport is a large market because of its essential advantages, such as its wide transport range, large carrying capacity, low shipping cost, etc. Therefore, it is necessary to conduct research for improving the trajectory control system of the ship in order to improve the transport efficiency and ensure maritime safety. However, controlling the ship movement with a high-quality is a challenge for scientists because the ship is a complex object, with large nonlinearity and unknown structures, and works in dynamic environments with complex noise.
The dynamic model of a ship is an uncertain nonlinear model, and the model parameters depend on the control states. The equation used to describe ship motion is a high-order differential equation. Considering the kinetic properties, ships have the following characteristics: The oscillation and the time constant are large, and the stabilization margin is small [1]. Therefore, controlling the ship motion is always a challenge for scientists, especially controlling the underactuated ship that has fewer control signals than the state variables to be controlled [2]. Studies on ship control with the model of a lack of actuators have been presented in the literature [3,4,5,6,7].
A ship is a large nonlinear object, so the use of simplified or linear control models does not give us the expected results. In recent years, the development of electronic and informatics technology has allowed us to apply modern control theory for ship motion, such as adaptive control, backstepping, sliding mode control, model predictive control, etc. The research [8] uses the backstepping technique to control an underactuated ship following the set trajectory. However, this research assumes that the ship only moves along a straight trajectory and the speed is constant and positive, and the uncertainties in the kinematic model and the disturbance are not considered. The research [9] has provided a trajectory ship controller based on the Lyapunov function and backstepping technique on the condition that the control signals are not bound. Additionally, the research [10] has proposed a control method based on linear algebra, where the controller is designed based on linearizing the nonlinear model of the control object. However, this research does not address the problem of disturbance and uncertainties in the dynamic model of the ship.
Therefore, difficult problems when designing the ship motion controller are as follows: the state variables cannot be measured, and the coefficients in the model matrices are changed, depending on the control states, so it is difficult to accurately determine the coefficients in the model matrices. For simplicity, some previous research has ignored many factors, leading to models of the ship that are very different to the actual situation.
In order to solve the problems caused by uncertain parameters and disturbance, the research [11,12] has used the neural network to update and estimate the uncertain components in the model. In the study [13], the author used the coordinate transformation method to overcome the third-order uncertain component in the derivative of the Lyapunov function caused by the centrifugal and Coriolis forces. To update the uncertain parameters and the time-varying parameters of the inertial mass matrix of the model, the study [14] proposed a motion controller of the self-driver ship using the unscented Kalman filter to compensate for the hidden noise in the model. The work [15] estimated the uncertain components based on the finite-time disturbance observer. The works [16,17] proposed the nonlinear disturbance observer based on the kinetic model to estimate the disturbance that is compensated for the controller.
Another problem faced when designing the trajectory controllers of ship motion is that the studies often ignore the limit of control signals. In fact, the angle of the steer is always limited from 35 degrees left to 35 degrees right. The research [18] also addressed this problem when designing the nonlinear model predictive controller for a ship following a set trajectory.
The review of previous studies shows that it is very complicated to design the trajectory control system of ships in the condition of uncertain disturbance. There are some works that have studied this topic in an attempt to solve these problems, but each work has only solved a specific problem in the case of assumptions to simplify the object. There is no research that has simultaneously solved all the problems, such as designing the advanced trajectory controller, eliminating the disturbance in the system, control in the case of the object lacking the actuator, and the limit of control signals.
To solve all of the above limitations, this study will perform the following tasks. It will compensate for the disturbance components in the object model and the disturbance components from the environment by the state observers based on the continuous object model and the difference between the object model and the reference model. Additionally, it will design the trajectory controller of the underactuated ship based on the model predictive controller (MPC) combined with segment-linearization techniques of the nonlinear object in the time-axial.

2. The Model of the Ship

2.1. The Motion of the Ship

Considering the ship motion on the sea surface, the motion of the ship is described as Figure 1. It is characterized by the following motion components: the straight slide motion (u), horizontal slide motion (v), and rotary motion (r). This ignores the following motion components: the roll rotary motion (p = 0), pitch rotary motion (q = 0), and yaw rotary motion (ω = 0).
To describe the ship motion in the three-degrees-of-freedom space, we can employ the speed vector υ _ = [ u v r ] T and the position vector η _ = [ x y ψ ] T .
Here, u ,   v ,   r denote the straight slide speed, the horizontal slide motion speed, and the rotation speed, respectively.

2.2. The Equations of Ship Motion

The equations of ship motion in the three-degree freedom space are as follows [19]:
{ η ˙ _ = J ( η _ ) υ _ M υ ˙ _ + C ( υ _ ) υ _ + D ( υ _ ) υ _ + g ( η ) _ = τ _ + τ _ w
where:
  • M denotes the inertial matrix;
  • C ( υ _ ) denotes the centrifugal and Coriolis forces;
  • D ( υ _ ) denotes the hydrodynamic damping matrix;
  • J ( η _ ) denotes the orthogonal matrix;
  • g(η) represents the gravity forces;
  • τ _ is the vector of control torques, including the propeller force and the rudder force;
  • τ _ w represents disturbances from the environment.
In the mathematical model (1), if the control force includes all of the components τ _ = [ τ u τ v τ r ] T , then the ship is called a fully-actuated ship. This model of a ship has many actuators, such as the main propeller for creating the straight-slide force, the horizontal propeller on both sides for creating the horizontal slide force, and the rudder for controlling the ship direction. This model often appears in types of ship such as the serving-ship, the special-task ship, and the ship for researching marine dynamic stability control.
If the control force τ _ = [ τ u 0 τ r ] T means that there is no horizontal slide force, then the ship is called an underactuated ship. This ship only has two actuators, such as the main propeller for creating the straight-slide force and the rudder for controlling the ship direction. This model often appears in types of ship such as cargo ships and container ships with a long transport journey.
The motion equations of an underactuated ship in the three-degree-freedom space are as follows [2]:
{ η ˙ _ = J ( η _ ) υ _ M υ ˙ _ + C ( υ _ ) υ _ + D ( υ _ ) υ _ + g ( η ) _ = τ _ + τ _ w τ _ = [ τ u 0 τ r ] T
It is very difficult to fully define the coefficients of M ,   C ( υ _ ) , D ( υ _ ) . These coefficients can be determined by driving the ship at different speeds in different directions and measuring the response signals. However, we still have to assume that the high-order nonlinear components are zero. Moreover, the coefficients in the above matrices also depend on other factors, such as the cargo weight on the ship and the waters in which the ships move.
In order for the model equations to fully express the dynamics of the underactuated ship in the space of three-degrees-of-freedom, this research proposes merging all of the components that are difficult to identify, uncertain components, and the environmental disturbance into the undefined vector Δ _ ( η _ , υ _ ) .
{ η ˙ _ = J ( η _ ) υ _ M υ ˙ _ + C ( υ _ ) υ _ + D ( υ _ ) υ _ + g ( η ) _ = F τ _ + Δ _ ( η _ , υ _ )
where:
  • F denotes the force distribution matrix, F = [ 1 0 0 0 0 1 ] ;
  • Δ _ ( η _ , υ _ ) is the force and torque vector that is synthesized from the uncertainty components of the ship model and disturbance from the external environment.
The matrices in Equation (3) are as follows:
M = [ m 11 0 0 0 m 22 0 0 0 m 33 ] ,   C ( υ _ ) = [ 0 0 m 22 v 0 0 m 11 u m 22 v m 11 u 0 ]
D ( υ _ ) = [ d 11 0 0 0 d 22 0 0 0 d 33 ] ,   J ( η _ ) = [ cos ψ sin ψ 0 sin ψ cos ψ 0 0 0 1 ]
To solve the uncertainty component Δ _ ( η _ , υ _ ) in Equation (3), this research will propose the estimator and compensate for the uncertainty component in the controller.

3. Building the Control System

3.1. The Diagram of the Control System

The targets of this study are to build the output-feedback MPC according to the separation principle and combine a state-feedback MPC and a state observer to control an underactuated ship in case the model contains an uncertain component Δ _ ( η _ , υ _ ) . The mission includes building the MPC controller based on a bilinear model of the ship combined with the direct state observer that is built from a continuous model of the ship, and building the estimator of uncertain components to estimate and compensate for the uncertain components in the model. The proposed control system structure is described in Figure 2.
In the figure, d _ ( x _ , t ) is an uncertain component that arises in the model, d _ ( x _ , t ) is the uncertain component which is estimated from the estimator, ω _ k is the set trajectory, u _ ( t ) is the control signal, and y _ ( t ) is the output signal. MPC-O denotes the output-feedback MPC controller. ZOH denotes the zero-order hold component.

3.2. The Bilinear Model of the Underactuated Ship in the Three-Freedom Space

Considering Equation (2), x _ 1 = η _ ,   x _ 2 = υ _ ,   u _ = τ _ , and x _ = col ( x _ 1 , x _ 2 ) . We thus have the following:
( η ˙ _ υ ˙ _ ) = ( 0 3 × 3 J ( η _ ) G ( η _ ) M 1 [ C ( υ _ ) + D ( υ _ ) ] ) ( η _ υ _ ) + ( 0 3 × 2 M 1 F ) τ _
Then,
A ( x _ ) = ( 0 3 × 3 J ( x _ 1 ) G ( x _ 1 ) M 1 [ C ( x _ 2 ) + D ( x _ 2 ) ] ) B = ( 0 3 × 2 M 1 F ) ,   C = ( I 3   ,   0 3 × 3 )
Equation (4) is transformed into the following equation:
{ x ˙ _ = A ( x _ ) x _ + B u _ y _ = η _ = ( I 3   ,   0 3 × 3 ) x _ = C x _
Equation (6) is the bilinear model of the underactuated ship in the three-freedom space.
Since the MPC controller is discrete, Equation (6) must be discrete with the sample time T a . Performing the approximate equation x ˙ _ ( t ) [ x ( ( k + 1 ) T a ) x ( k T a ) ] / T a , Equation (6) is transformed into the following equation:
{ x _ k + 1 = [ I 6 + T a A ( x _ k ) ] x _ k + T a B u _ k y _ k = C x _ k
Linearizing each segment k of the model (6) along the time-axis with the assumption of a small amount of time, model (7) is approximated by the linear time-invariant model as follows [20]:
k : { z _ k + 1 = A ¯ k z _ k + B ¯ Δ u _ k y _ k = C ¯ z _ k
where
z _ k = col ( x _ k , u _ k 1 ) R 8 ,   Δ u _ k = u _ k u _ k 1 R 2 C ¯ = ( C   ,   0 3 × 2 ) R 3 × 8
A ¯ k = ( I 6 + T a A ( x _ k ) T a B 0 2 × 6 I 2 ) R 8 × 8 ,   B ¯ = ( T a B I 2 ) R 8 × 2

3.3. Building the Direct State Observer Based on the Continuous Model

Since the state variables in model (6) cannot be measured, the authors propose the direct observer from the continuous model (2) or (6) based on the measured output signal y _ ( t ) = η _ ( t ) = [ x y ψ ] T . Here, x , y , ψ denote the x-axis coordinate, y-axis coordinate, and the direction of the ship, respectively. These values can be measured by the Global Position System (GPS) and the compass on board.
The observer’s task is to identify the state vector of the continuous model (2) or (6) x _ = col ( η _ , υ _ ) . In the status vector x _ ( t ) = col ( η _ ( t ) ,   υ _ ( t ) ) , the component η _ ( t ) = y _ ( t ) has been measured, so we only need to define the second component υ _ ( t ) .
From Equation (2), we have η ˙ _ = J ( η _ ) υ _ , with the orthogonal matrix J ( η _ ) shown as follows:
J ( η _ ) = [ cos ψ sin ψ 0 sin ψ cos ψ 0 0 0 1 ]
Therefore, we can determine the state component as follows: υ _ ( t ) = J ( η _ ) 1 η ˙ _ = J ( y _ ) 1 y ˙ _ .
To determine the derivative value y ˙ _ ( t ) of the output signal y _ ( t ) , we can use the first-order inertia derivative stage D T ( s ) = s 1 + T s , where T > 0 is tiny. The input is y _ ( t ) and the output is y _ ( t ) , so we have the following: y _ + T y ˙ _ = y ˙ _ . Since T 0 , the output y _ ( t ) is defined as follows: y _ y ˙ _ = J ( η _ ) υ _ .
Finally, we can obtain the observed signal as follows:
υ _ ( t ) = J ( η _ ) 1 η ˙ _ = J ( y _ ) 1 y ˙ _ J ( y _ ) 1 y _

3.4. Building the Estimator to Compensate for the Uncertainty Component in the Model

The incorrect model of a ship containing an uncertainty component (3) can be rewritten as follows:
{ x ˙ _ = A ( x _ ) x _ + B [ u _ + d _ ( x _ , t ) ] y _ = C x _
The matrixes of the model A ( x _ ) , B , C are inferred from the original model (3). Compared with the exact model in Equation (6), the model Equation (11) has an uncertain component d _ ( x _ , t ) , which is smooth. The article will identify this uncertain component.
The identification value is named d _ ( x _ , t ) d _ ( x _ , t ) , with the tiny error d _ ( x _ , t ) d _ ( x _ , t ) δ e . After compensating for d _ ( x _ , t ) in the input for the uncertainty model (11), this model is equivalent to the correct model (6).
The research will propose an approximate estimation method for d _ ( x _ , t ) d _ ( x _ , t ) based on the discontinuous model. This method is reasonable because the ships are not a fast-changing system, and in a control cycle, the uncertain components seem constant. This means that d _ ( x _ , t ) is a constant uncertain function in each cycle.
Equation (3) can be re-written according to the discontinuous form at the time (k) by linearizing each segment according to the time-axis. In the present control cycle, the uncertain component of the input d _ has been compensated for by d _ k 1 , which is defined in the previous control cycle. We have the model at period k as follows:
υ _ k = A ( υ _ k 1 ) υ _ k 1 + B [ u _ k 1 + d _ d _ k 1 ]
where
A ( υ _ k ) = I 3 T a M 1 [ C ( υ _ k ) + D ( υ _ k ) ] R 3 × 3 ,   B = T a M 1 F R 3 × 2 ,   u _ k = τ _ k = τ _ ( k T a )
The exact reference model at the time of k is
ν _ k = A ( ν _ k 1 ) ν _ k 1 + B ( u _ k 1 d _ k 1 )
where u _ k 1 is the input. The error of two models is e _ k = υ _ k ν _ k . This error completely depends on the uncertain component, so we can determine d _ k d _ from e _ k . Then, d _ k is used to compensate for the uncertain component in the next control loop (k + 1).
From (13) and (14), we have
e _ k = A ( υ _ k 1 ) υ _ k 1 + B [ u _ k 1 + d _ k ] A ( ν _ k 1 ) ν _ k 1 B u _ k 1 = A ( υ _ k 1 ) υ _ k 1 A ( ν _ k 1 ) ν _ k 1 + B d _
Therefore, if the matrix B has a rank of 2, then
d _ d _ k = ( B T B ) 1 B T [ e _ k A ( υ _ k 1 ) υ _ k 1 + A ( ν _ k 1 ) ν _ k 1 ]
Equation (15) is used for approximating d _ k d _ from e _ k = υ _ k ν _ k ,   υ _ k 1 , and ν _ k 1 .
υ _ k ,   υ _ k 1 can be measured or observed from the system. ν _ k 1 ,   ν _ k are defined by Equation (14). After defining d _ k , we can compensate for the input of the system at time k + 1 as Figure 3.

3.5. Building the MPC Controller with Output-Feedback Based on the Separation Principle

The separation principle-based output-feedback MPC controller is the combination of the state feedback MPC controller and the state observer directly from the continuous model. Unlike the conventional controller of linear MPC or nonlinear MPC, the proposed MPC controller is a linear controller used for a nonlinear object based on the linearization of each nonlinear model section. Along the time axis, the object includes countless linear models (8).
Based on the linear approximation model of each segment k ( k = 0 , 1 ,   ) and the predictive control principle, we can obtain the future outputs y _ k for the entire forecasting window (N) as follows [21]:
y _ k = ( y _ k + 1 y _ k + 2 y _ k + N ) = ( C ¯ B ¯ 0 3 × 2 0 3 × 2 C ¯ A ¯ k B ¯ C ¯ B ¯ 0 3 × 2 C ¯ A ¯ k N 1 B C ¯ A ¯ k N 2 B ¯ C ¯ B ¯ ) ( Δ u _ k Δ u _ k + 1 Δ u _ k + N 1 ) + ( C ¯ A ¯ k C ¯ A ¯ k 2 C ¯ A ¯ k N ) z _ k = H k p _ + b _ k
H k = ( C ¯ B ¯ 0 3 × 2 0 3 × 2 C ¯ A ¯ k B ¯ C ¯ B ¯ 0 3 × 2 C ¯ A ¯ k N 1 B C ¯ A ¯ k N 2 B ¯ C ¯ B ¯ ) , p _ = ( Δ u _ k Δ u _ k + 1 Δ u _ k + N 1 ) ,   b _ k = ( C ¯ A ¯ k C ¯ A ¯ k 2 C ¯ A ¯ k N ) z _ k
where p _ is the vector of future input signals that need to be defined.
After having obtained the future output signals y _ k + i ( i = 1 , 2 ,     , N ) in the current forecasting window that depend on the future input signals Δ u _ k + j ( j = 0 , 1 ,     , N 1 ) through Equation (8), we must define the future input signals so that the output signals follow the set signals { η _ k } .
Setting the target function is the sum of the squared deviation of the errors in the current forecasting window. In order to improve the response speed, this study proposed a technique to adjust the set signal [22]. The set-signal after adjustment is as follows: r _ k = ( η _ k + 1 K e _ k η _ k + N K e _ k ) .
Here, η _ k = η _ ( k T a ) , e _ k = y _ k / η _ k is the error at the previous time and K is the calibration parameter of the set signal ( 0 < K < 1 ).
The objective function is set as follows:
J k / ( p _ ) = p _ T ( H k T Q k H k + R k ) p _ + 2 ( b _ k r _ k ) T Q k H k p _   p _   min
The solution is as follows:
p _ * = arg min p _ P J k / ( p _ )
P is bound because of the mandatory requirements for the steer-angle α that is as follows:
35 0 α + 35 0
P = Δ U N
Δ U = { Δ u _ R 2   | b _ 1 ( x _ k ) b _ 1 ( x _ k 1 ) Δ u _ b _ 2 ( x _ k ) b _ 2 ( x _ k 1 ) }
The common methods employed to find the optimal solution with bound conditions are the sequential quadratic programming (SQP) method, interior-point method, or evolutionary methods for optimal control, such as genetic algorithms (GA) and the particle swarm optimization (PSO) method. This research will use the GA method [23] to find the optimal solution of Equation (18).
The genetic algorithm (GA) is based on two basic rules of natural adaptations that hybridize ‘good’ elements p _ i ,   p _ j together to get better elements and transform the ‘bad’ elements p _ k . The ‘bad’ and ‘good’ valuations of these elements are evaluated through their objective function J i = J ( p _ i ) .
Firstly, N elements p _ i ,   i = 1 , 2 ,     , N are randomly chosen in the constraint set p. Then, the values J i = J ( p _ i ) will be calculated respectively. Elements with δ i δ c are ‘good’, and elements with δ k δ m are ‘bad’.
Here,
δ i = | J i | / k = 1 N | J k | ; 0 < δ c < δ m < 1 are optional.
Next, a good pair of elements is hybridized to form new pairs, and bad elements are mutated. Therefore, a new generation formed from the old generation contains better elements. This process, with two calculations of the hybrid and mutant, is repeated many times until the end condition is satisfied. When the end condition of the algorithm is satisfied, the element p _ i of the current generation with the smallest J i is chosen as the solution.
Currently, the GA has been installed into the command ga (⋅) in MATLAB, and we can use this command to build the proposed MPC controller. The parameters, such as the number of generations, the population size, and the type of selection, will automatically be defined. The syntax detail of the command is as follows:
[ x , fval ] = ga ( FUN , NVARS , A , B , AE , BE , OPTIONS )
where FUN is the objective function; NVARS is the number of variables of the objective function; and A, B, AE, and BE are the boundary conditions.
In this research, the authors execute the command as follows:
The objective function:
F U N = f = J k / ( p _ ) = p _ T ( H k T Q k H k + R k ) p _ + 2 ( b _ k r _ k ) T Q k H k p _
The number of the variables: N V A R S = 2 .
The boundary conditions: 2 u 1 2 , 3 u 2 3 .
Finally, the details of the command are as follows:
[ x , fval ] = ga ( f , 2 , [   ] , [   ] , [ 2 ;   2 ] , [ 3 ; 3 ] , [   ] , [   ] )
After defining the solution p _ * of (18), we get the control signal u _ k for controlling the ship motion (3) in the present cycle, as follows:
u _ k = u _ k 1 ( I 2   ,   0 2 × 2 ( N 1 ) ) p _ *
where u _ k is the control signal during one sampling period T a .
The control algorithm is as follows:
  • Step 1: Initialing and setting the forecasting window width N 2 , the sample period T a , and the calibration parameter of the set signal 0 < K < 1 . Calculating B , C according to (5), B ¯ , C ¯ according to (8), and B according to (13). Setting k = 1 , d _ 0 = 0 ;
  • Step 2: Setting the two positive symmetric matrices Q k R 3 N × 3 N ,   R k R 2 N × 2 N ;
  • Step 3: Measuring η _ k and estimating υ _ k . Calculating A ¯ k according to (8) and A ( υ _ k 1 ) according to (13). Determining H k , b _ k , r _ k according to (17);
  • Step 4: Determining ν _ k according to (12) and d _ k according to (15) for the next cycle;
  • Step 5: Determining the optimal solution p _ * according to (18);
  • Step 6: Calculating u _ k from p _ * according to (12);
  • Step 7: Using u _ k d _ k 1 for controlling the continuous model (3), which is also the object (4) and (6);
  • Step 8: Setting k : = k + 1 . If it needs to update G, go back to the step (2); otherwise, set Q k + 1 = Q k , R k + 1 = R k and go back to step (3).
The observer is considered a continuous-time model and the control input is calculated by using the discrete-time model. Therefore, in the proposed controller algorithm, after observing the state of the continuous model, we have to make the observed signal of the continuous model discrete with the sample time Ta and then feed it into the controller. This is shown in step 3, where, after measuring η _ k and estimating υ _ k , we calculate A ¯ k according to (8).

4. The Results and Discussion

To verify the quality of the proposed control system, the authors have run the system on Matlab software (R2014b, MathWorks Inc., Natick, MA, USA). The control object is an underactuated ship with three degrees-of-freedom. The specifications of the ship given by Do K. D and J. Pan in the document [2], with the length of 32 m, the weight of 118 × 103 kg, the minimum radius of curvature of 150 m, and other parameters, are shown in Table 1.
The set trajectory is a straight and circular one, and the details are as follows: The ship moves straight for a period of 300 s with a distance of 1200 m, and the ship then moves in a circle with a radius of 200 m for a period of 325 s. The uncertain signals are assumed according to the document [5] as follows:
d 1 = 0.05 sin ( 0.1 t ) 0.01 , d 2 = 0.2 sin ( 0.2 t ) + 0.4 cos ( 0.3 t )
The simulation results are shown in Figure 4, Figure 5, Figure 6 and Figure 7. Figure 4a shows the ability of the ship to follow the set trajectory, with the error shown in Figure 4b. Figure 5a shows the actual direction error. The errors obtained from the observer are shown in Figure 5b. The qualities of estimating the uncertain components d1 and d2 are shown in Figure 6a,b, respectively.
During the control process, the control signals of the straight slip force and the torque force are bound in the defined range, and they are shown as Figure 7a,b. The shapes of the control signals in Figure 7 are feasible because the control signal depends on the disturbance if the disturbance becomes large and the control becomes large. The simulation time of 800 s is long, so the number of times the control signal is changed in the simulation time is small. This number conforms to the Maritime regulation on the number of signal changes of the steering angle.
The quality of the control system has been evaluated based on the following factors: The error of trajectory, the actual direction error, the errors obtained from the observer, and the error of the estimator. The results show that these errors are very small, so the quality of the control system is very good.
Although the control object has undefined components and the control signals are bound within limits, the quality of the entire control system is still very good: The response trajectory is very close to the set trajectory, and the error of the trajectory and the error of direction are very small. In addition, the quality of the observer depends on the receding horizon of the controller and the time needed to calculate the differential stage by the direct observer.
The estimator performed the mission well, compensating for the uncertain signals d 1 , d 2 in the system. The difference between the estimated signal and the uncertainty signal is very small. The estimation error also depends on the receding horizon of the controller and the estimated value at the initial time.
In addition, the quality of the entire control system depends on the forecasting window N and the two positive symmetric matrices Q k R 3 N × 3 N ,   R k R 2 N × 2 N . In fact, we can choose matrixes Q k ,   R k that match the control target.

5. Conclusions

This article was successful in building the MPC control system with the output-feedback based on the separation principle, and building the direct observer based on the continuous model in order to control the trajectory of the underactuated ship. The controller was built based on the optimal control combined with the linearizing technique of each nonlinear model section. Disturbances from the environment and uncertainty components in the model were estimated and compensated for by the estimator. The simulation results show that although the control object has undefined components and the control signals are bound, the quality of the entire control system is still very good. The response values follow the set values, with tiny error. The success of this research is the basis for the authors to apply it to actual ships in further studies.

Author Contributions

H.-Q.N. proposed the initial idea. A.-D.T., H.-Q.N., and T.-T.N. developed the research, analyzed the results, and wrote the article together. T.-T.N. edited and finalized the article.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Fossen, T.I. Marine Control System-Guidance, Navigation and Control of Ships, Rigs and Underwater Vehicles; Marine Cybernetics: Trondheim, Norway, 2002. [Google Scholar]
  2. Do, K.D.; Pan, J. Control of Ships and Underwater Vehicles: Design for Underactuated and Nonlinear Marine Systems; Springer: London, UK, 2009. [Google Scholar]
  3. Ashrafiuon, H.; Kenneth, R.M.; Lucas, C.M.; Reza, A.S. Sliding-mode tracking control of surface vessels. IEEE Trans. Ind. Electron. 2008, 55, 4004–4012. [Google Scholar] [CrossRef]
  4. Do, K.D.; Pan, J.; Jiang, Z.P. Robust Adaptive Control of Underactuated Ships on a Linear Course with Comfort. Ocean Eng. 2003, 30, 2201–2225. [Google Scholar] [CrossRef]
  5. Chwa, D. Global Tracking Control of Underactuated Ships with Input and Velocity Constraints Using Dynamic Surface Control Method. IEEE Trans. Control Syst. Technol. 2010, 19, 1357–1370. [Google Scholar]
  6. Do, K.D.; Jiang, Z.P.; Pan, J. Robust adaptive path following of underactuated ships. Automatica 2004, 40, 929–944. [Google Scholar] [CrossRef]
  7. Liu, Y.; Bu, R.; Gao, X. Ship Trajectory Tracking Control System Design Based on Sliding Mode Control Algorithm. Polish Marit. Res. 2018, 25, 26–34. [Google Scholar] [CrossRef] [Green Version]
  8. Do, K.D.; Jiang, Z.P.; Pan, J. Underactuated Ship Global Tracking Under Relaxed Conditions. IEEE Trans. Autom. Control 2002, 47, 1529–1536. [Google Scholar] [CrossRef]
  9. Godhavn, J.M. Nonlinear tracking of underactuated surface vessels. In Proceedings of the 35th IEEE Conference on Decision and Control, Kobe, Japan, 13 December 1996; pp. 975–980. [Google Scholar]
  10. Serrano, M.E.; Gustavo, J.E.; Vicente, M.; Oscar, A.O.; Mario, J. Tracking trajectory of underactuated surface vessels: a numerical method approach. Control Eng. Appl. Inform. 2013, 15, 15–25. [Google Scholar]
  11. Dai, S.L.; He, S.; Wang, M.; Yuan, C. Adaptive neural control of underactuated surface vessels with prescribed performance guarantees. IEEE Trans. Neural Netw. Learn. Syst. 2018. [Google Scholar] [CrossRef] [PubMed]
  12. Liu, C.; Zou, Z.; Yin, J. Trajectory tracking of underactuated surface vessels based on neural network and hierarchical sliding mode. J. Mar. Sci. Technol. 2015, 20, 322–330. [Google Scholar] [CrossRef]
  13. Ngongi, W.E.; Du, J. Controller Design for Tracking Control of an Under-Actuated Surface Ship. Int. J. Comput. Theory Eng. 2015, 7, 469. [Google Scholar] [CrossRef]
  14. Peng, Y.; Han, J.; Song, Q. Tracking control of underactuated surface ships: Using unscented Kalman filter to estimate the uncertain parameters. In Proceedings of the 2007 International Conference on Mechatronics and Automation, Harbin, China, 5–8 August 2007; pp. 1884–1889. [Google Scholar]
  15. Wang, N.; Sun, Z.; Yin, G.; Sun, S.F.; Sharma, S. Finite-time observer based guidance and control of underactuated surface vehicles with unknown sideslip angles and disturbances. IEEE Access 2018, 6, 14059–14070. [Google Scholar] [CrossRef]
  16. Lin, X.; Jiang, H.; Nie, J.; Jiao, Y. Adaptive-sliding-mode trajectory tracking control for underactuated surface vessels based on NDO. In Proceedings of the 2018 International Conference on Mechatronics and Automation, Changchun, China, 5–8 August 2018; pp. 1043–1049. [Google Scholar]
  17. Liu, Z. Ship adaptive course keeping control with nonlinear disturbance observer. IEEE Access 2017, 5, 17567–17575. [Google Scholar] [CrossRef]
  18. Abdelaal, M.; Franzle, M.; Hahn, A. Nonlinear model predictive control for tracking of underactuated vessels under input constraints. In Proceedings of the European Modelling Symposium (EMS), Madrid, Spain, 6–8 October 2015; pp. 13–318. [Google Scholar]
  19. Fossen, T.I. Guidance and Control of Ocean Vehicles; John Wiley Sons Inc.: Chichester, UK, 1994. [Google Scholar]
  20. Phuoc, N.D.; Le, T.T. Constrained output tracking control for time-varying bilinear systems via RHC with infinite prediction horizon. J. Comput. Sci. Cybern. 2015, 31, 97–106. [Google Scholar] [CrossRef]
  21. Camacho, B. Model Predictive Control; Springer: London, UK, 2004. [Google Scholar]
  22. Moore, K.L. Iterative Learning Control for Deterministic Systems; Springer: London, UK, 1993. [Google Scholar]
  23. Liu, J. Intelligent Control Design and MATLAB Simulation; Springer: Singapore, 2018. [Google Scholar]
Figure 1. The motion components of the ship.
Figure 1. The motion components of the ship.
Processes 07 00445 g001
Figure 2. The model predictive controller (MPC) control system structure of the underactuated ship with the uncertain component.
Figure 2. The model predictive controller (MPC) control system structure of the underactuated ship with the uncertain component.
Processes 07 00445 g002
Figure 3. Compensating for the uncertain component for the incorrect model.
Figure 3. Compensating for the uncertain component for the incorrect model.
Processes 07 00445 g003
Figure 4. The ability of the control system to follow the set trajectory: (a) The response trajectory; (b) the error of the trajectory.
Figure 4. The ability of the control system to follow the set trajectory: (a) The response trajectory; (b) the error of the trajectory.
Processes 07 00445 g004
Figure 5. The simulation results of the observer: (a) The actual direction error; (b) the errors obtained from the observer.
Figure 5. The simulation results of the observer: (a) The actual direction error; (b) the errors obtained from the observer.
Processes 07 00445 g005
Figure 6. The results of estimating the uncertain components: (a) d 1 = 0.05 sin ( 0.1 t ) 0.01 ; (b) d 2 = 0.2 sin ( 0.2 t ) + 0.4 cos ( 0.3 t ) .
Figure 6. The results of estimating the uncertain components: (a) d 1 = 0.05 sin ( 0.1 t ) 0.01 ; (b) d 2 = 0.2 sin ( 0.2 t ) + 0.4 cos ( 0.3 t ) .
Processes 07 00445 g006
Figure 7. The control signals: (a) The straight slip force; (b) the torque force.
Figure 7. The control signals: (a) The straight slip force; (b) the torque force.
Processes 07 00445 g007
Table 1. The parameters of the ship.
Table 1. The parameters of the ship.
τ u m a x τ r max m 11 m 22 m 33 d 11 d 22 d 33
UnitNN.MKgKgKgm2Kgs−1Kgs−1Kgm2s−1
Value5,2.1098,5.108120.103177,9.103636.105215.102177.103802.104

Share and Cite

MDPI and ACS Style

Nguyen, H.-Q.; Tran, A.-D.; Nguyen, T.-T. The Bilinear Model Predictive Method-Based Motion Control System of an Underactuated Ship with an Uncertain Model in the Disturbance. Processes 2019, 7, 445. https://doi.org/10.3390/pr7070445

AMA Style

Nguyen H-Q, Tran A-D, Nguyen T-T. The Bilinear Model Predictive Method-Based Motion Control System of an Underactuated Ship with an Uncertain Model in the Disturbance. Processes. 2019; 7(7):445. https://doi.org/10.3390/pr7070445

Chicago/Turabian Style

Nguyen, Huu-Quyen, Anh-Dung Tran, and Trong-Thang Nguyen. 2019. "The Bilinear Model Predictive Method-Based Motion Control System of an Underactuated Ship with an Uncertain Model in the Disturbance" Processes 7, no. 7: 445. https://doi.org/10.3390/pr7070445

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