1. INTRODUCTION
In recent years, research into linear feedback control has been richly developed and matured. To compensate the nonlinearity existing in the real plant, nonlinear control provides a unified approach for control design such as the Backstepping method, exact feedback linearisation, etc (Krstic et al., Reference Krstic, Kanellakopoulos and Kokotovic1995). The value of these strategies is verified by the fact that many papers in the field are published. However, few works about nonlinear feedback control are apparent through searching the Web of Knowledge. In ship motion control, a small rudder amplitude and slow rudder ratio mean energy saving and abrasion reduction in the steering motor during manoeuvring. In heavy sea states, steering at large rudder angles can bring about increased rolling amplitudes, causing dangerous navigation situations (Johansen and Fossen, Reference Johansen and Fossen2013). Therefore, the initial rudder angle and the steering frequency are required to be as small as possible when the control algorithm of autopilot for ships is designed (Aarsaether and Moan, Reference Aarsaether and Moan2010).
Course keeping control for ships can be taken as a benchmark problem in the study of ship motion control (Fossen, Reference Fossen2011). It is used as a test bed to demonstrate the control effect when a new control algorithm is developed. In Du et al. (Reference Du, Guo, Yu and Zhao2007), an adaptive course controller for time-varying parametrically uncertain nonlinear ships with completely unknown time-varying bounded control coefficients was developed and the design method did not require any a priori knowledge of the sign of the unknown time-varying control coefficient. Unlike the existing works (Bian et al., Reference Bian, Wang, Zhang and Xia2009; Ho et al., Reference Ho, Hsieh and Chou2010), the heading autopilot in Velasco et al. (Reference Velasco, Herrero, Lopez and Moyano2013) was investigated based on an autonomous In-Scale Fast Ferry. The physical control system was implanted by a PC using WiFi communications, and the results are very valuable for course-keeping autopilot design. Satpati et al. (Reference Satpati, Bandyopadhyay, Koley and Ojha2008) presented the design of a robust course controller for a cargo ship interacting with an uncertain environment using Particle Swarm Optimisation (PSO) -enabled automated Quantitative Feedback Theory (QFT). The plant dynamics were described as a second order Nomoto model with structure parametric variation. Simulation experiments showed the validity of the algorithm. A ship course-keeping control scheme of Robust Least Squares Support Vector Machine (RLSSVM) was proposed in Liu et al. (Reference Liu, Song and Li2010), which made full use of the nonlinear mapping ability, self-learning adaptability and parallel information processing of the least squares support vector machine. Combined with the H2/H∞ robust control method, simulation results showed that the control system possessed good adaptive ability with regard to sea condition variations. All of the above research used linear feedback control, including the works on other control tasks, for example ship collision avoidance (Szlapczynski, Reference Szlapczynski2011) and fault-tolerant control (Bong, Reference Bong2015).
A conventional closed-loop system is a linear feedback control scheme; the input signal led to the controller is proportional to the control error. As a result, for smaller control error, the control action produced by the controller may be not enough, on the other hand, for larger control error, the control action may be too strong to eliminate the error (Thomas et al., Reference Thomas, Sebastian and Knut2013). Motivated by this argument, a nonlinear feedback control scheme is considered in this research, for example, a cubic function of the error is applied to the controller for a test. However, the control effect is not as much improved as expected in the simulation for an actual ship. When a cubic nonlinear feedback is replaced with a sine function, satisfactory results appear: the control action is obviously reduced while the control quality is kept almost the same as before. In this paper, theoretical analysis and simulation experiments for course keeping manoeuvring of ships using nonlinear feedback control are developed.
2. CONTROL PROBLEM AND NONLINEAR FEEDBACK TECHNIQUE
Consider a course keeping problem for ships, the controlled plant G is taken as the nominal Nomoto model when the controller K is designed using the first order closed loop gain shaping algorithm without considering the nonlinear feedback (Zhang and Wang, Reference Zhang and Wang2010; Aarsaether and Moan, Reference Aarsaether and Moan2010). A robust controller for a standard feedback system is solved below under the following three predetermined conditions: the bandwidth frequency of the closed system being 1/T 1 (1/T 1 should be the crossover frequency in the strict sense, and is approximately regarded as bandwidth frequency for the sake of easy analysis), the largest singular value being unity, and the high frequency asymptote slope being −20 dB/dec. The frequency spectrum of the closed-loop system is made equal to the frequency spectrum of a first-order inertial system with the largest singular value approximately one (Zhang and Wang, Reference Zhang and Wang2010), i.e.
The course keeping controller is then solved as
The ship model being a standard Nomoto model is expressed in Equation (2) where ψ is the heading angle, δ is the rudder angle, K 0 and T 0 are the manoeuvrability indices of the ship.
To eliminate the steady state error using the closed loop gain shaping algorithm, a minor constant ε (0·01) is added into the denominator of the Nomoto model. Then, Equation (3) is obtained
Actually, ε can derive the integral effect for the designed controller and it also reproduces the effect of uncertain constant disturbance upon the closed-loop system. When ε is too small, the control law may be with the static error or the long setting time. When ε is too large, the system output tracks the reference signal with the overshooting dynamics. Therefore one should trade off the two terms by selecting the parameter ε properly.
Thus, substitute Equation (3) into Equation (1), according to closed loop gain shaping algorithm, a linear Proportional-Integral-Differential (PID) controller is obtained
In actual application, we discover that the settling time is relatively long for ships with large time constants such as oil tankers etc. The dynamic performance of course keeping control systems for ships can be improved greatly when a positive constant ρ is added to the proportional part of the control law, Equation (4). Finally, the actual controller is presented in Equation (5). The corresponding theoretical analysis and simulation test are given in reference Zhang (Reference Zhang and Zhang2012).
A nonlinear feedback system driven by a sine function is shown in Figure 1. Contrary to the standard feedback configuration, sin (ω 1(r − y)) where ω 1 is the design parameter substituted for (r − y). Note that the block diagram of sin (ω 1(r − y)) shown in Figure 1 does not conform to its standard graphical representation. How to find a stable K with fine control performance in δ = K(r − y) is the main work in the previous research no matter whether K is linear or nonlinear, but in this section the main work is how to test the better control performance of the nonlinear feedback control in the form of δ = K sin (ω 1(r − y)) under the same controller K.
The effects of nonlinear feedback on the dynamic and static performance are analysed by using sin (ω 1(r − y)) ≈ ω 1(r − y) when the error is small. The demonstration process is presented in Zhang (Reference Zhang2011). In some situations, this assumption may not be tenable when the error is large. The effects of nonlinear feedback driven by sine function to the closed system can be analysed by Taylor series expansion:
Let the error e = r − y, Equation (6) is simplified up to the third order, then
According to Hu (Reference Hu2007), if the error input e of Equation (7) is Asin ω 0t, then the output of the nonlinear system in Equation (7) can be approximated by its first order harmonic element, and the equivalent frequency characteristics is the describing function of the nonlinear system.
Let the output of Equation (7) be f(t) under the sine input Asin ω 0t, then its output can be expressed as Equation (8) using its first order harmonic element of the Fourier series (Ciaurri et al., Reference Ciaurri, Perez, Reyes and Varona2010).
where A 0 is the DC component, A 1, B 1 are the first order harmonic components, and
Under the action of sine input signal e in Equation (7), the complex ratio of its first order harmonic element in the steady state output to its input signal is referred to the describing function which is expressed as N(A).
Equation (7) is an odd function, thus A 0 = 0. When e = Asin ω 0t
Equation (9) is also an odd function of t, so A 1 = 0. Because of the semi-cyclic symmetry property of f(t), then
In the light of the physical meaning of frequency characteristics, the system in Figure 1 is equivalent to the system shown in Figure 2. Effects of the nonlinear feedback driven by sine function can be analysed as follows.
2.1. Effect on the steady state of the closed loop system
Let the reference input be a step signal, its amplitude is r, the steady state error to the step input is obtained directly by the final value theorem as given below:
Therefore the nonlinear feedback driven by sine function has no extra effect to the steady state of the system.
2.2. Effect on the dynamic performance of the closed loop system
Based on the block diagram of the nonlinear feedback system shown in Figure 2, the transfer function from the input r (i.e. the setting course ψ r) to the output y of the system (i.e. the heading angle ψ) can be obtained as Equation (11).
For the ship course keeping problem, wave action is a high frequency disturbance whose frequency spectrum lies in the range of 0·3~1·25 rad/s. Generally 1/T 1 < 0·3 rad/s is taken in Equation (10) to shy away from the wave frequency spectrum. Suppose the range of course changing is between 0~2π rad, then 0 < N(A) ≤ ω 1. The Loop Shaping algorithm of H ∞ robust control theory is a type of open-loop gain shaping method (Zhang, Reference Zhang2012). Its key point lies in finding a controller K to make the gains $\underline \sigma (GK)$ and $\bar \sigma (GK)$ of the open-loop transfer matrix GK satisfy robust performance in the low frequency zone and robust stability in the high frequency zone, i.e. high gain in the low frequency zone and low gain in the high frequency zone. The loop shaping algorithm implements the closed-loop performance of the system through selecting weighting functions to shape the open-loop frequency characteristic curve, and obtains an acceptable performance/robustness trade-off. According to the loop shaping theory, if Equation (11) is compared to the closed loop transfer function GK/(1 + GK) of a standard feedback system, the introduction of N(A) has less effect on the dynamic performance of the system because of the high gain of GK in the low frequency zone and 0 < N(A) ≤ 1. Thus the proper trade-off between the stabilising performance and robustness can be obtained by selecting the corresponding parameter setting appropriately.
2.3. Effect on the output of the closed loop system
The transfer function from the input r to the output δ of the controller (i.e. the rudder angle) is
According to Hu (Reference Hu2007), K has the first order large gain, GK has the second order large gain. Similar analysis as for Equation (11) can proceed showing that the introduction of N(A) (i.e. the parameter ω 1) can bring about the benefit of reducing the output of the controller. In addition, the sine function can bring the maximum and minimum values of the error input of the controller within ±1. A similar processing technique can be seen in fuzzy control, neural network and optimising Genetic Algorithms (GA). Certainly, the precondition is to ensure the input of the nonlinear function ω 1e ∈ [−π/2, π/2] to acquire the preferable effect.
3. NUMERICAL EXAMPLES AND DISCUSSIONS
Taking the Yulong training ship of the Dalian Maritime University as an example, the corresponding ship particulars are: Length between perpendiculars L = 126 m, Beam B = 20·8 m, displacement $\nabla = 14278.1{\rm } {{\rm m}^3}$, draught D = 8·0 m, block coefficient C b = 0·681, distance from centre of gravity to the origin of x coordinate axis (i.e. the geometric centre) x G = −3·38 m, ship speed U 0 = 15 kn, rudder area A δ = 18·8 m2. The manoeuvrability indices of the Nomoto model can be calculated from the above parameters (Zhang, Reference Zhang2012): K 0 = 0·48 s−1, T 0 = 216·58 s. In this simulation, the linear Nomoto model is employed to derive the control law. The parameter settings ρ = 2, T 1 = 0·3 s are employed, which makes the effective working bandwidth frequency of the course keeping controller 1/3 rad/s to avoid overlapping with the wave disturbance range. The nonlinear feedback parameter is selected as ω 1 = 0·25. While the nonlinear mathematical model Equations (13) of ship dynamics are considered as the plant to illustrate the effectiveness of the proposed control scheme, which can reflect conditions similar to the real motion of the ship (Fossen, Reference Fossen2011).
Where the rudder servo system is also considered in the simulation, the steering engine is modelled as a system with single hydraulic circuit analogue control variable (Zhang, Reference Zhang2012), the maximum rudder ratio is ± 5°/s and the saturation rudder angle is ± 35°. u, v, r, ψ, x 0, y 0, n, δ denote linear and angular velocities, heading, positions, propeller rotational speed, rudder angle (expressed in rad) respectively; m and I zz are the ship's mass and mass moment of inertia, respectively. m x, m y, J zz are added mass and added moment of inertia. X H, Y H,N H, X P, Y P, N P, X R, Y R, N R are hydrodynamic forces and moments acting on hull, propeller and rudder, respectively. For more details about the mathematical model, please refer to the references (Jia and Yang, Reference Jia and Yang1999; Fossen, Reference Fossen2011).
When the ship navigates at sea, the sway motion and heading deviation are caused mainly by marine environmental disturbances. In the simulation, one considers sea wind and irregular wind-generated waves. These are simulated by fusing the physical-based mathematical model. The wind speed (Beaufort No.7) V wind = 14·25 m/s, wind direction ψ wind = 85°. The Joint North Sea Wave Project (JONSWAP) spectrum is adapted to produce the corresponding wind-related waves, which has been defined as an International Towing Tank Conference (ITTC) standard.
The simulation diagram implemented in Simulink is shown in Figure 3, the setting course is 50°. To provide quantification, three popular performance specifications, Equation (14) are employed to evaluate the corresponding algorithm. That is Mean Absolute Error (MAE), Mean Control Input (MCI) and the Total Variation (TV) of the control. MAE is used to measure the performance of the system response, and MCI and TV measure properties of energy consumption and smoothness. As to the nominal plant, the simulation results are presented in Figure 4. It is noted that the control effect of the nonlinear feedback driven by sine function is almost the same as that in the standard feedback (with the same maximum overshoot and settling time) while the initial maximum rudder angle is reduced to 24·02° from the original 34·96° with the drop of 31.2%. There is a 41.4% drop in the average rudder angle which is decreased on average to 0·0826° from 0·1409°. In order to illustrate the robust performance of the proposed algorithm, the perturbed plant is considered with the speed variation −50%. The corresponding response dynamics become worse than that of the nominal system. Figure 5 presents the simulation result for the perturbed condition. It is clear to note that saturation is generated in the initial stage using the standard feedback scheme but not under the nonlinear feedback scheme. The other performance indices of the nonlinear feedback scheme are still superior to that of the standard one. In Figures 4(b) and 5(b), the subfigure is a local zoom of the plot, which is to show the control dynamics clearly.
Table 1 gives a quantitative comparison of the simulation results, and this verifies the effectiveness of the nonlinear feedback algorithm. The performance specifications of MAE and MCI are approximated, the smoothness index of the control input is obviously lower than that of the standard feedback method. Under the circumstance of heavy sea state, steering with large rudder angles can increase the amplitude of roll and thus increase the probability of cargo damage and decrease the comfort index of seafarers as well as the safety coefficient of the ship. Therefore reducing the amplitude of rudder angle means that the ship will navigate more safely in addition to being more energy efficient.
In addition, Figure 6 gives the comparisons of the modulating functions N(e) = e, N(e) = ω 1e and N(e) = sin (ω 1e). As shown in Figure 6, it can be concluded that: the control performance of the nonlinear feedback N(e) = sin (ω 1e) is equivalent to that of the linear feedback with an extra constant gain ω 1 when the error e = r − y is small; the performance of the nonlinear feedback is superior to that of the linear feedback with an extra constant gain ω 1 when the error e is medium; the nonlinear feedback technique cannot work effectively when the error e is too large. It is a very important conclusion that the improvement of control performance is at the cost of the reduction of the system robustness for both schemes by further simulation experiments.
4. CONCLUSION
In this paper a novel idea is presented, that the control error between the reference input and the output is modulated by a sine function and then is fed back to the controller instead of the original direct error, the former is essentially the so-called nonlinear feedback. Nonlinear feedback control can achieve the same control effect with minor control action under the unchanged control law. Taking ship Yulong as an example, simulation results are given using the nonlinear feedback controller driven by the sine function of course error when the set course is 50° under the wind scale of Beaufort No.7. The rise time is 128 s, the maximum initial rudder angle is reduced to 24·02° from 34·96°with 31·2% drop, the average rudder angle is decreased to 0·0826° from 0·1409° with 41·4% drop, while the control effect is almost the same as that in the linear feedback control. The algorithm has the advantages of energy saving and safety in navigation. The same conclusion can be drawn when the nonlinear feedback is used in some other examples. Hence the algorithm has some universality. However, prudent use needs to be made of the nonlinear feedback technique when the set value is too large.
ACKNOWLEDGMENT
This work was supported by the National Natural Science Foundation of China (Grant No.51109020) and the Fundamental Research Funds for the Central University (Grant No.2011QN093 and 3132014302).The authors would like to thank Jia Xinle for his insightful remarks on this note, and the anonymous reviewers for their valuable comments to improve the quality of this paper.