1. Introduction
In recent years, the relatively popular underwater unmanned vehicle (UUV) has often been equipped with visible light cameras, infrared cameras, laser ranging modules, and so forth to obtain the water surface images and video information [
1]. Under the high oceanic condition (the oceanic condition greater than or equal to level 4 for the UUV platform involved in this paper), the marine environmental loads such as waves and ocean currents act on the UUV directly [
2], and cause the UUV to generate complex random swaying movements. This swaying movement is coupled to the imaging payloads through the installation base, which seriously affects the imaging quality. The optronic mast is a two-axis inertially stabilized platform (ISP) carrying imaging payloads, which can isolate the disordered disturbance by controlling the rotation of the pitch and azimuth axes, so that the imaging payloads can acquire clear and stable image information.
The optronic mast needs to pass through the sea level to acquire the sea surface image information, so it will be also directly affected by the disturbance torque of waves and ocean currents. In order to meet the pressure and sealing needs of the seawater, the azimuth gimbal adopts an oil-filled mechanical seal structure; this structure not only has large inertia, but also the friction resistance torque changes fiercely during startup and normal work. For the pitch axis, it is mainly subjected to the mass imbalance torque caused by a visible light camera, rate gyro, mechanical limit switch, and so forth. In addition, the time variation of the focal length of imaging payloads also affects the inertia tensor of the system. No IMU and other attitude sensors are installed on the optronic mast, and just the attitude angles of the base can be obtained from the platform, with no more disturbance information, such as the angular rate and angular acceleration of the platform. It can be seen that the optronic mast is a system of nonlinearity, parameter time variation, and strong disturbance. Under the high oceanic condition and big swaying movement of the platform (the swaying amplitude of platform is greater than 5 degrees for the studied optronic mast in this paper), how high performance for the stabilization control of the LOS can be achieved is a challenge.
The PID controller is commonly used in the LOS stable control of the optronic mast, and this control method has the advantages of simple structure, strong operability and wide application. In the Refs. [
3,
4,
5], the fuzzy PID control method was developed to the stable control of ISP. Although this control method can adjust the PID control parameters adaptively, the control performance is easily affected by the external disturbance and system parameter variation. Bingul proposed an intelligent PID with the PD feedforward control method [
6] and achieved a good simulation effect under the influence of ocean currents, external disturbances, and model parameter uncertainty, but it has not been tested in practice. The
robust controller is insensitive to the external disturbance and system parameter variation, which can obtain an ideal control effect. Lee and Martin realized stable control by using the
control method [
7,
8], but the control performance decreases with the increment of the system robustness. Furthermore, Ren carried out theoretical in-depth research on the finite-time
control problem [
9,
10], where the sufficient conditions were given and proven for solving the finite-time
asynchronous control gain. He designed the finite-time asynchronous controller and obtained good simulation results, but there is still a lot of work to be completed for engineering application. The LOS stable control of optronic mast is a chain control structure, where for this control structure, the back-stepping control can stabilize the LOS by linearizing the nonlinearity and step-by-step recursive process [
11]. Thinh used a back-stepping control method to achieve the target tracking of a two-axis gimbal mechanism [
12], and Setoodeh used a back-stepping control method to achieve the stable control of the shipboard camera [
13], but the system parameters variation and disturbance may have a serious impact on the control performance [
14]. Hamed established an uncertain linear ISP model, which highlights the influence of the cable restraint, stribeck friction, coulomb friction and other system disturbances [
15]. In order to overcome the influence of system parameter variation and disturbances, some research has been performed on the model and estimation of the uncertainties of system. Li adopted a two-order Cascade Extended State Observe (CESO) and a reduced-order cascade extended state observer (RCESO), respectively to estimate the coupling torque, nonlinear friction and unmodeled dynamics, and explored a good angular speed tracking control method in double-gimbal control moment gyros [
16,
17]. Burak proposed a method to estimate the unknown disturbances of the system, and designed an integral linear quadratic regulator as the stabilizing controller in a two-axis gimbal system [
18]. Meanwhile, a lot of research has been performed on the adaptive control (AC) to resolve the uncertainties of system. In the Refs. [
19,
20,
21,
22], these AC methods have dealt well with nonlinear disturbance and uncertainties of the system, and achieved good effects in simulations, but not been applied in the practical systems under input saturation constraints. Similar control methods have been proven effective in practical applications [
23,
24,
25], but the control performance depends on the precise dynamic model of the system, which may lead to poor applicability under parameters variation of the system. The neural network has good approximation ability to the disturbance of the nonlinear system with parameters variation [
26,
27]. However, as neural network control needs a lot of time and sample training data to optimize the neural network, it is difficult to obtain comprehensive and sufficient sample data.
Under the high oceanic condition and the large swaying movement of platforms, to achieve high-performance LOS stabilization control with a fast dynamic response and highly stable precision of the optronic mast, motivated by the above methods, a composite control method is proposed based on adaptive RBFNN and SMC in this paper. Based on the system state error, the adaptive RBFNN was constructed and optimized online, and no prior training data were required. The adaptive RBFNN is used to approximate the ideal model of the nonlinear and time variation system, so as to compensate for the uncertainties and coupling disturbance of the system, and avoid excessive switching gain in SMC. For the time-varying hydrodynamic disturbance torque and friction disturbance torque, a saturation function was used to further reduce the system’s chattering problem instead of the sign function. The asymptotic stability of the proposed control method was proved by using the Lyapunov stability theory.
The outline of this paper is organized as follows: in
Section 2, the nonlinear dynamic model of the optronic mast is constructed. In
Section 3, the composite control method proposed is introduced, and the approximation law online and the control law is established. A series of simulations and experiments validate the effectiveness of the proposed control method in
Section 4, followed by the conclusion in
Section 5.
2. The Nonlinear Dynamic Model of the Optronic Mast
As shown in
Figure 1, the optronic mast is a two-axis ISP, which consists of an outer azimuth gimbal and an inner pitch gimbal. The infrared camera mirror, visible light camera, mechanical limit switch, and so forth are mounted on the pitch gimbal. Two fiber optic gyroscopes are mounted on two gimbals respectively to provide the corresponding angular velocity information. Then two encoders are mounted on two gimbals respectively to provide the relative rotation angular displacement of two gimbals. The optronic mast is installed on the base of the UUV, and the base inertial attitude information is provided by the inertial measurement unit of the UUV. Based on the measured information of gyros, encoders and inertial measurement unit, the servo-controller generates corresponding control signals to adjust the LOS of imaging sensors to obtain precise images and videos of the sea surface target.
Three Cartesian coordinate systems are established, as shown in
Figure 1. The base coordinate system
is fixed to the installation base, the azimuth coordinate system
is fixed to the azimuth axis, and the pitch coordinate system
is fixed to the pitch axis,
and
are the corresponding coordinate axes of them. The azimuth coordinate system has only one azimuth angle
rotating around the axis
relative to the base coordinate system, and the pitch coordinate system has only one pitch angle
rotating around the axis
relative to the azimuth coordinate system, the two angle values are measured by the encoders on the gimbals.
is the transformation matrix from the base coordinate system to azimuth coordinate system, and
is the transformation matrix from the azimuth coordinate system to pitch coordinate system.
In inertial space, the attitude angle and angular rate of the installation base are coupled to the azimuth axis and the pitch axis by the structural joint. Let
,
and
represent the inertial space attitude angles of the installation base expressed in the base coordinate, the azimuth axis expressed in the azimuth coordinate, the pitch axis expressed in the pitch coordinate, respectively; similarly, let
,
and
represent the inertial space angular rates of them. Based on the coordinate transformation matrixes, the attitude angles and angular rates of azimuth and pitch axes can be obtained as
where
and
are the relative rotation angles measured by the corresponding encoder,
and
are the corresponding relative angular rates.
can be measured and provided by the inertial measurement unit of UUV,
and
can be measured by the corresponding fiber optical gyro, the subscripts
and
z denote the components expressed in the corresponding coordinate axis of the coordinate systems.
is chosen as the criteria and state variables of the LOS of optronic mast.
By the Newton–Euler theory, the dynamic model of the pitch gimbal can be obtained as the following [
28]:
denotes the inertia torque of the pitch gimbal, and the
denotes the inertia matrix of the pitch gimbal. Assuming that the inertia principal axis of the pitch gimbal is the pitch axis, that is, the inertia products of
are all zeros,
. Therefore, the component on the coordinate axis
of Equation (
7) can be written as:
Similarly, the dynamic model of the azimuth gimbal can be obtained as the following:
denotes the inertia torque of the azimuth gimbal. Considering the coupling effect of the inertia moment of the pitch gimbal on the azimuth gimbal, the inertia moment of the azimuth gimbal should be calculated as the following:
where
denotes the inertia matrix of the azimuth gimbal excluding the pitch gimbal, similar to the pitch gimbal, and the
can be expressed as
. Substituting the Equation (
10) into the Equation (
9), the dynamic model of the azimuth gimbal is given by
Both the pitch axis and azimuth axis are driven directly by the DC torque motors, and the dynamic model of the motor mounted on the pitch axis is given by
where
is the motor total torque,
is the torque sensitivity,
is the current of the motor armature,
is the back electromotive force(EMF),
is the back-EMF coefficient [
29],
is the rotational angular velocity of the motor relative to the azimuth gimbal, and
,
is the input voltage of the motor,
is the armature resistance of the motor,
is the armature inductance of the motor, and the subscript
f denotes the pitch motor. Since the value of
is often very small, it can be ignored, and the
is expressed as
The dynamics of the pitch axis is given by
where
is the output torque of the pitch motor, which is used to drive the pitch axis,
is the friction torque of the pitch axis,
and
are the inertia moment and the friction torque of the pitch motor armature, respectively,
is the angular acceleration of the pitch motor, and
. Substituting the Equation (
13) into the Equation (
14) to obtain
Similarly, the torque acting on the azimuth axis is expressed as
The difference is that the azimuth axis is also subjected to the hydrodynamic disturbance torque
, while the pitch axis is protected from the
by the hood. Substituting the Equations (
15) and (
16) into the Equations (
8) and (
11), respectively, the dynamic models of the optronic mast are expressed as
For simplicity, it can be defined as follows:
Then, the Equations (
17) and (
18) can be simplified as:
3. The Control System of the Optronic Mast
In the practical physical model of the optronic mast, the pitch axis and azimuth axis are not the inertia principal axes, the inertia products in the inertia matrixes
and
of the pitch and azimuth gimbals are not zeros, which makes the system characteristic
have an unknown component
, and the disturbance
have an unknown component
[
30]. Meanwhile, the time variation of the focal length of the imaging payloads will also cause the change of the system inertia moment.
represents the nonlinear and parameters-varying characteristic of the optronic mast and cannot be obtained exactly, thus they need to be estimated by some system parameters.
Let
,
,
and
, then the state-space equation of the optronic mast is expressed as
For the optronic mast system described in Equation (
27), under the high oceanic condition and big swaying movement of UUV, the nonlinear characteristic
and the disturbance
of an optronic mast will change dramatically with time. In this case, the use of the general feedback control method makes it difficult to achieve system stability. For example, with the commonly used PID control method, in order to make the system resist this strong disturbance, the general approach is to increase the PID control parameters, especially to increase the proportional parameter. According to experience, the increase in PID controller parameters will easily lead to control failure. At this time, the SMC controller naturally becomes a better choice, because it is almost unaffected by system parameters variation and external disturbance, and once the input meets some conditions, the system will be stabilized. However, in the absence of an accurate physical model of the system, the SMC needs to increase the switching gain to resist the influence of nonlinearity and parameters variation of the system, and pull the system from any state back to the specified sliding mode surface for stabilization control, which will cause a large amplitude chattering phenomenon. With regard to how to reduce the switching gain, a natural idea is to estimate the uncertainty caused by the nonlinearity and parameters variation of the system online, and effectively compensate for the switching gain in time. Therefore, an adaptive RBFNN can be used to approximate the ideal model of the system by the state errors in the working process, which can effectively reduce the switching gain and chattering amplitude. For the time-varying hydrodynamic disturbance torque and friction disturbance torque, a saturation function can be used to replace the sign switching function, which will further reduce the chattering phenomenon of the system. Based on the above ideas, this paper proposes a composite control method based on adaptive RBFNN and SMC. the block diagram of the proposed control algorithm is shown in
Figure 2:
The and are target attitude angles of the LOS, and the and are intermediate target angular velocities of the LOS. The aim of the control is to obtain the control laws and by the proposed control method, so that the attitude angles and can accurately track the target attitude angles and . The control processes of pitch axis and azimuth axis are basically the same, where for the pitch axis, the design of the proposed control method is described as follows.
Step 1: The sliding mode control law design.
Define the state error as
Define the sliding surface as [
31]
where
is the sliding surface, and
is the parameter which decides the bandwidth of the state error.
Differentiate the Equation (
30) with respect to time, and using
Then the control law
can be designed as
where
is the upper bound of
. The first Lyapunov function is chosen as
Differentiate
with respect to time, and then
According to the LaSalle Invariance Principle, the closed-loop system is asymptotically stable, and the state error approaches zero at an exponential rate. However, with the increment of the system parameter variation and disturbance, and the nonlinear term being unable to be obtained exactly, then the will be a large value, and it will cause a severe chattering problem due to excessive switching gain.
Step 2: The adaptive RBFNN approximation law design.
As shown in
Figure 3, the RBFNN is a three-layer forward neural network, which consists of an input layer, hidden layer and output layer. The input layer consists of
m input elements
, which only plays the role of data input, and the connection weight between the input layer and the hidden layer is 1. The hidden layer has
n radial base neurons
, which make a local response to the input. When the input is near the central range of the basis function, the hidden node will produce a large output, and when it is far away from the central point, the output will decay exponentially.
is the weight coefficient of the output, as many as the hidden nodes, and the final output is the linearly weighted x of the output of the neurons in the hidden layer.
With its universal approximation capabilities, the RBFNN with a limited number of hidden neurons can approximate a nonlinear function with any desired accuracy online. Therefore, the RBFNN can be used to estimate the nonlinear term and disturbance term of the system, then
is expressed as
where
is the input of RBFNN,
is the radial basis function of the hidden layer,
is the weight matrix, and
is the bounded approximation error. In this paper, the Gaussian function is selected as the radial basis function:
where
and
are the center and width of the Gaussian function, and
i is the number of the hidden layers.
Therefore, the control law of the pitch axis can be rewritten as
where
is the estimated weight matrix. Define the error vector of the ideal weight matrix and the estimated weight matrix:
In order to obtain the approximation law, the second Lyapunov function is selected as:
Obviously,
is positive definite. Differentiate
with respect to time, and using
Therefore, the approximation law
can be defined as
where
is the learning rate, and then
Therefore, the closed-loop system will be asymptotically stable by the LaSalle invariance principle.
In order to further reduce the chattering phenomenon caused by the switching action of
, the saturation function
is used to replace the sign function
in the control law Equation (
37) [
32], and the
is expressed as
where
is the selected boundary layer.
With the control law designed by Equation (
37) and the approximation law designed by Equation (
41), the sliding mode surface
is reachable, and the attitude angle of the pitch axis is globally convergent. Therefore, the attitude angle
can track the target attitude angle
effectively.
4. Simulations and Experiments
4.1. Hardware System
The optronic mast is a slender cylinder, 1300 mm in height, maximum 160 mm in diameter, and its total weight is about 41 kg. Two fiber optic gyroscopes mounted on the pitch and azimuth gimbals, respectively were used to measure the inertia angular velocity information, whose zero deviation stability is
, and the data update period is 2 ms. A circular grating generated by RENISHAW was mounted on the pitch gimbal, and used to measure the angular displacement relative to the azimuth gimbal, whose precision is about
mrad. A resolver is mounted on the azimuth gimbal and is used to measure the angular displacement relative to the base, whose precision is about 14.5
. No IMU or other attitude sensor is mounted on the optronic mast, and the LOS stable control is realized by the measured information of the above sensors and the base attitude provided by UUV. In addition, the pitch axis and the azimuth axis are driven directly by two DC torque motors, and the electrical parameters of the two motors are shown in
Table 1.
Furthermore, the inertia moments and of two gimbals are estimated by system parameters, kgm2 and kgm2. The friction torque of the pitch axis and azimuth axis is mainly generated by the preload of angular contact bearings. After the angular contact bearings are preloaded, and are measured as 0.02 Nm, Nm, respectively. In addition, the payloads mounted on the pitch gimbal produce significant mass imbalance torque, and the maximum value of is measured as 0.1 Nm. An oil-filled and water-blocking mechanical seal device is mounted on the azimuth gimbal, whose maximum static friction torque is Nm when starting. For the two DC motors, the maximum static friction torque of the armatures are measured as , , respectively.
4.2. Simulations
Since the stable control performance of the LOS is seriously influenced by the non-ideal attitude perturbations of the UUV generated by ocean environmental loads such as waves and currents, friction torque and mass imbalance torque, a series of disturbances have been simulated to test the effectiveness of the proposed control method.
Based on the voyage data, the swaying motion of the UUV is simple harmonic motion with oscillation, the statistical maximum amplitude is 0.1396 rad and the period is 0.7 rad/s. Therefore, a function is introduced to represent
.
The friction torque, a nonlinear function with a certain bound,
is mainly composed of the angular contact bearing and mass imbalance,
is mainly composed of the angular contact bearing and mechanical seal device, and they are expressed as
The armature friction torque of the two DC motors is constantly changing with its rotation speed, therefore, a cosine function is proposed to represent
, that is,
The wave torque acting on the azimuth gimbal is periodic, and its maximum value under the level 4 sea conditions is calculated by the Morrison formula [
33]. Therefore, a sine function is proposed to represent
, that is,
.
The
and
are mainly caused by the unknown inertial products of the two gimbals and system parameters variation, and they are related to the relative angular displacements of gimbals. Based on the derivation of the previous dynamic model, in simulation, they are represented as
The adaptive RBFNN contains 100 nodes, which are evenly spaced throughout the possible space of pitch and azimuth. The width of the RBFNN is set as 1.0, it can provide sufficient overlap between the radial basis functions. The initial weight matrix of the adaptive RBFNN is set as zero, and the weight matrix can be updated online by the approximation law in Equation (
41). Then the adaptive RBFNN generates the corresponding estimated nonlinear term and disturbance term. Combining the adaptive RBFNN and the SMC, the optronic mast can generate the corresponding control commands for the motors to stabilize the LOS.
To illustrate the performance of the proposed control method, a series of comparisons of the proposed control method, the sliding mode control method and the PID control method have been done. The same parameters have been chosen for the SMC and the proposed control method, and the PID parameters are optimal. At first, the desired attitude angles and the initial attitude angles of the LOS are all set as zeros, then the attitude angles of the LOS resulting from the application of the three control methods are shown in
Figure 4 and
Figure 5, respectively.
In
Figure 4 and
Figure 5, the red solid line, blue solid line and green solid line represent the trajectories of the LOS generated by the proposed control method, sliding mode control method and PID control method, respectively. The statistical results of the three control methods are shown in
Table 2. For the pitch angles of the LOS, the maximum deviation from the desired pitch angle of the proposed control method is
, which is 23.3% of the SMC and 14.7% of the PID respectively. The standard deviation of the proposed control method is
, which is 22.2% of the SMC and 14.9% of the PID, respectively. For the azimuth angle of the LOS, the proposed control method has the best control performance, with the maximum deviation of
and the standard deviation of
from the desired azimuth angle.
Due to the nonlinearity and parameters variation of the system, it is difficult to choose a set of suitable control parameters for the PID control method, the maximum deviation from the desired attitude angles of the pitch and azimuth of the LOS are and respectively, which seriously affect the imaging quality of the imaging payloads. The SMC is insensitive to the parameters variation and composite disturbance, so its control performance is better than that of the PID control method.
Compared with the SMC, the proposed control method using adaptive RBFNN can approximate the ideal model of the nonlinearity and coupling disturbance of the system online, and avoid the large switching gains of the system. In addition, the proposed control method reduces the chattering phenomenon further by using a saturation function replace the sign function. Therefore, the proposed control method has better control performance than the SMC.
Then, the desired LOS attitude angles of the optronic mast are set as a series of angular motion curves, and the initial values are all set as zeros. The comparison of the three control methods is shown in
Figure 6 and
Figure 7.
The settling time of the proposed control method is about . The maximum deviation from the desired pitch angles is , which is 21.2% of the SMC and 0.4% of the PID respectively; The maximum deviation from the desired azimuth angle is , which is 32% of the SMC and 1.0% of the PID, respectively.
Therefore, the proposed control method has a good dynamic response speed, and better stabilization precision than the two other control methods. The proposed control method meets the demands of the real application under high oceanic conditions and large swaying of the platform.
4.3. Experiments
The effectiveness of the proposed control method was tested by the swaying test platform. The swaying test platform installed on the roof with a good view consists of an outer roll gimbal and an inner pitch gimbal, which can simulate the swaying motion of the UUV. The maximum attitude error of the swaying test platform is
, the attitude data update frequency is 100 Hz, and the maximum swaying amplitude is
. The optronic mast was installed on the inner gimbal of the swaying test platform by a flange to test, as shown in
Figure 8.
The amplitudes of pitch and roll of the swaying test platform were all set as
, the swaying period was set as 9 s, and the phase difference of pitch and roll was randomly selected. Before the swaying experiment, the azimuth coordinates of the optronic mast and the swaying test platform were aligned by a reference target on the earth. Then the LOS of the optronic mast was adjusted to aim at a target with azimuth angle
and pitch angle
on the earth, and then the swaying test platform experiment was started. The attitude angles of the swaying test platform represent the swaying angles of the UUV, and is sent to the optronic mast in real time. With the acquired attitude angles, the proposed control method is used to accurately control the servo motors of the azimuth axis and the pitch axis of the optronic mast, so as to isolate the swaying disturbance coupled to the LOS of the optronic mast and keep the LOS steadily pointing at the selected target. Since the optronic mast is a two-axis ISP, it can only realize disturbance isolation in the azimuth and pitch directions, but not in the roll direction, which can cause the image rotation, as shown in
Figure 9.
In the infrared image shown in
Figure 9, the cross-wire is the image center and represents the LOS; the black box is the target wave gate, and the gate center is the target direction. The instantaneous field of view (IFOV) of the infrared camera corresponding to the infrared image is
. In the experiment, the target miss distance (i.e., the number of pixels of the gate center deviating from the cross-wire center) is extracted in real time, and then converted into the attitude angle errors of the LOS with the IFOV, so as to obtain the movement trajectory of the LOS in pitch and azimuth, as shown in
Figure 10 and
Figure 11.
The maximum deviations from the desired attitude angles of the pitch and azimuth are and , respectively; the standard deviations of the pitch and azimuth are and , respectively. The experimental results illustrate the effectiveness of the proposed control method for the LOS stable control under a big swaying movement, and the stabilization precision exceeds the actual demands.
Then, an injection target tracking experiment was introduced, to test the dynamic response characteristic of the proposed control method. First, a target angle trajectory set was preset according to the pitch range
and azimuth range
of the LOS for the optronic mast. Then, the target with pixels of
is marked along the preset trajectory on the blank images with a frame rate of 50Hz. Finally, the target video was injected into the optronic mast system, and the swaying test platform was started. At this time, the LOS of the optronic mast is stable under the swaying movement from the previous test. The image processing unit of the optronic mast continuously captures the injected target and outputs the miss distance of the target in real time. Taking the output miss distance as the target attitude angle, the LOS catches up with the target attitude angle in real time under the proposed control method, so as to achieve target tracking. The tracking results obtained are shown in
Figure 12 and
Figure 13.
During the tracking experiment, the optronic mast realized the fast dynamic response and high stabilization precision control performance by the proposed method. The setting time of the system is about s, and the standard deviations of pitch and azimuth are and respectively.
5. Conclusions
In this paper, a composite control method based on adaptive RBFNN and SMC was proposed. In this control method, the ideal model of a nonlinear and parameters-varying system is locally approximated by the adaptive RBFNN, so that the chattering amplitude is reduced in SMC. In addition, a saturation function instead of the sign-switching function is used to further reduce the chattering phenomenon in SMC. In the LOS stabilization experiment of the swaying test platform, the maximum deviation and the standard deviation from the desired attitude are and , respectively. In the target tracking experiment of the swaying test platform, the maximum response speed of the LOS is 31.8∘/s, the standard deviations of the pitch and azimuth are and respectively, which realize the fast dynamic response and high stabilization precision control performance of the optronic mast. Compared with the previous methods used for the LOS stabilization control of optronic mast, the proposed control method has stronger anti-disturbance, stability and accuracy, and is feasible in engineering.
Although the proposed composite control method has achieved good effects on an example of a optronic mast, the good stable time of the system is achieved by debugging parameters rather than by strict design, so there may be some limitations in the application of this method. Based on this, how to design the composite control in finite time will be a future research direction.