Abstract

An adaptive attitude controller is designed based on Barrier Lyapunov Function (BLF) to meet the state constraints caused by side window detection. Firstly, the attitude controller is designed based on the BLF, but the stabilization function is complex and its time derivative will cause “differential explosion”. Therefore, Finite-time-convergent Differentiator (FD) is used to estimate the first derivative of the stabilization function. If the tracking error is outside the BLF's convergence domain, BLF controller cannot guarantee the error global convergence. Sliding mode controller (SMC) is used to make the system's error converge to set domain, and then the BLF controller could be used to ensure that the output constraint is not violated. Uncertainties and unknown time-varying disturbances usually make the control precision worse and Nonlinear Disturbance Observer (NDO) is designed for estimation and compensation uncertainties and disturbances. The pseudo rate modulator (PSR) is used to shape the continuous control command to pulse or on-off signals to meet the requirements of the thruster. Numerical simulations show that the proposed method can achieve state constraints, pseudo-linear operation, and high accuracy.

1. Introduction

With the development of small-size propulsion systems, accurate sensors, and precision guidance systems, the kinetic kill vehicle (KKV) is now becoming both technically and economically feasible [13]. In order to satisfy the requirements of intercepting hypersonic targets in near space, KKV is generally flying at a high speed and equipped with infrared imaging seeker. However, when KKV is flying in near space with high speed, strong aerodynamic heating will seriously affect the seeker detection accuracy. To solve this problem, the seeker is usually mounted on the KKV’s lateral side to avoid heat-intensive areas in front of the body. The installation and detection method of configuring the seeker on the lateral side of the missile is defined as side window detection [4, 5].

Side window detection will inevitably affect the field of view of seeker and in order to ensure that the target is always located in the field of view, the elevation angle and the azimuth angle in body-LOS coordinate should be maintained in and , and the system overshoot is within this range [6]. In the terminal guidance, the control system is a fast variable relative to the guidance system, so we mainly rely on the control system to ensure that the target is always in the field of view of the seeker. It is necessary to constrain the steady-state performance and dynamic performance of the attitude control system to the set domain. The above problem can be attributed to the stabilization of the nonlinear system with output constraints.

The current methods of controller design, such as sliding mode control [79], backstepping control [10, 11], and dynamic surface control [12, 13], are usually unable to design the dynamic performance of the controller. Control design for the constrained nonlinear system is commonly carried out using a two-step approach. After a closed-loop system design has been determined, often without explicitly considering state constraints, the dynamic behavior is investigated most often by simulation studies. Control design is usually based on mathematical models, which are subject to uncertainties and unknown time-varying disturbances. Therefore, any control design approach should systematically account for both state constraints and uncertainty.

Constraint-handling methods based on set invariance [14], model predictive control [15], override control [16, 17], and reference governors [18] are well established. However, these methods are essentially based on numerical calculations, and the calculations are more complicated.

More recently, the use of BLF has been proposed to realize the output and state constraints for strict feedback and output feedback nonlinear system. Ngo [19] constructs an arctangent and logarithmic barrier function as the control Lyapunov function for the Brunovsky standard system and realizes state constraints. The work in [20] presented control designs for strict feedback nonlinear systems with a constant output constraint and [21, 22] further extend the results to strict feedback nonlinear systems with time-varying output constraint. Tee [23] rigorously proved that the backstepping controller designed with symmetric BLF or asymmetric BLF can ensure the system output is bounded for a strict feedback nonlinear system. But this method requires the system to be in a small convergence domain and the output to be continuously differentiable, and this is usually not satisfied in the actual system. Tee [24] then proposed an improved method. If the initial state of the system is outside the convergence domain, it is necessary to reselect the BLF to make the system converge to the set domain. This method can guarantee the system converges to the set domain, but the initial state is difficult to obtain and system cannot realize the adaptive control. In addition, BLF-based control has been applied to practical systems, such as electrostatic oscillators [25], flexible crane system [26], and diesel engines [27].

Many controllers designed with nonlinear control theory are continuous and they cannot be directly applied to the attitude control system of KKV. To solve this problem, many pulse modulators have been proposed to convert continuous control variables into a pulse or on-off signals, such as pulse width modulation (PWM), pulse frequency modulation (PFM), and pulse width pulse frequency modulation (PWPF) [2, 2830]. PWPF modulation method is widely used in aircraft attitude control systems with its good control performance. Reference [2] uses the PWPF modulator to shape the continuous control command to pulse or on-off signals to meet the requirements of the reaction thrusters and the methods to select the appropriate parameters are presented in detail. Reference [28] discusses the performance of PWPF modulators in terms of approximate linear space, fuel consumption, and thruster operating frequency for the attitude control. In [29], the variable dead-zone PWPF modulator was designed, and the stability was proved by using the description function method. The simulation results show the superiority of the algorithm in fuel consumption and control accuracy. Reference [30] proposes a nonlinear objective optimization function for the limitations of PWPF modulator parameters setting. The genetic algorithm is used to optimize the parameters of the PWPF regulator which considers the performance requirements of guidance systems such as linear work area requirements, miss distance, and fuel consumption of PWPF regulators. PWPF can output pulse instructions of different width and the static characteristics are not related to the parameters of the aircraft, but the PWPF modulator has the problem of phase lag which could cause instability of the system.

Motivated by the above discussions, to meet the state constraints caused by side window detection, an attempt is made to exploit Barrier Lyapunov Function to design the attitude controller. To break through the limitation that the initial error has to be in a small domain and the tracking error cannot guarantee global convergence, sliding mode control is used to make the tracking error converge to the set domain if the initial error is not in the set domain. What is more, BLF-based control relies on the accurate model and requires the output continuously differentiable, NDO is designed for estimation and compensation these uncertainties and disturbances, and FD is designed to estimate derivative. The special contributions of this paper are summarized as follows:(1)This paper investigate a BLF for KKV to meet the state constraints and achieve satisfactory dynamic performance and stationary performance compared with the existing work [2, 11].(2)To overcome the shortcoming which requires that the initial error has to be in a small domain, existing in the work [19, 23, 24], sliding mode control is used to make the tracking error converge to the set domain if the initial error is not in the set domain.(3)The PSR modulator is used to transform the continuous control law into the pulse control law. The constant thrust control is realized and the phase lag problem of the PWPF modulator is overcome compared with the existing work [2, 28, 30].

2. Problem Formulation and Preliminaries

2.1. The Mathematical Model of KKV

KKV is small enough to ignore the elastic vibration and study as a rigid body. The nonlinear equations of dynamic and kinematic are formulated as [11]where the rigid body states , , and represent roll angle velocity, yaw angle velocity, and pitch angle velocity, respectively. , , and are the moment of inertia of each axis. , , and are the control torque on the axes which are provided by the thrusters. , , and are the total uncertainties of each channel.

KKV has no rudder and no wing, and attitude adjustment of the KKV is realized only by the attitude control system installed at the rear of the body. KKV attitude is adjusted through 6 thrusters which are shown in Figure 1, with (2#+5#) thrusters controlling the pitch channel, (1#+6#) and (3#+4#) thrusters controlling the yaw channel, and (1#+4#) and (3#+6#) thrusters controlling the roll channel. The attitude control thrusters belong to the direct lateral jet propeller and it can only output the constant thrust.

The thrusts generated by the attitude control thrusters along each axis in the body coordinate are as follows:

Then, we can obtain the control torquewhere is the thrust in a different direction; is the radius of the body; is the distance from the location of the thruster to the center of mass.

In the actual working process, in order to ensure the stability of the work and reduce the impact of thruster work on the system, the attitude control thruster usually works in pairs. Considering that the performance of the thruster is basically similar, (3) can be simplified to the following form:where is the thrust of a single attitude control thruster and , , and determine whether to turn on.

When the attitude control thruster is turned on, the lateral jet flow interferes with the external flow field, forming a complicated flow field with a complicated structure. Jet flow produces a strong boundary layer separation, which causes oblique shock wave, split shock wave, bow shock wave, reattach shock wave, splitting nest, and secondary splitting nest in the flow field, and the expansion wave appears on both sides of the jet. There may be complex physical phenomena such as internal shock waves and Mach disk in the jet stream area. This phenomenon is called lateral jet flow disturbance effect. Typical lateral jet flow and external flow field interference phenomena are shown in Figure 2.

The disturbing flow field is very complex and has the characteristics of distributed parameters. Yet there is no accurate mathematical model to describe it. Almost all the references adopt thrust amplification factor and torque amplification factor to describe the forces and moments generated on the aircraft due to the side spray and the incoming flow interfere with each other. Its definition is as follows:

Among them, is the interference force caused by the jet, is the static thrust on the ground, is the disturbance torque caused by the jet, and is the static moment of the thruster on the ground. The direct control force and torque are

Therefore, considering the jet flow disturbance, the actual torque can be expressed aswhere , , and , respectively, represent the components of each axis in the KKV body coordinate system under consideration of the jet flow disturbances. and are the disturbance moments in the axis and axis.

Define , and , then (1) can be rewritten in a more compact form aswhere

When the KKV adjusts the attitude or orbit, thruster consumes fuel which leads to the change of the moment of inertia and the drift of the center of mass. It is described as follows:where , , and are the initial value of , , and and , , and are the variation of parameters which satisfy the following assumption.

Assumption 1. The disturbance moment satisfies the bounded condition and there is a bounded function to let .

Assumption 2. The distance uncertainty of the attitude control torque satisfies the , where () are the arithmetic number.

Assumption 3. exists and there are the uncertain constants , , and to satisfy Substituting (10) into (8)Then the problem has the following state-space representation:where

From (13), we can know that the mathematical model of KKV attitude system is strict feedback form which includes state constraints and uncertainty.

2.2. Finite-Time-Convergent Differentiator

Without loss of generality, we consider the following uncertain dynamic system:where are the state variables, is a continuous function, and .

Lemma 4 (see [31]). For system (16) where , if system (16) satisfies . For any an arbitrary bounded function and a constant , the solution of the systemsatisfies

Remark 5. averagely converges to the input signal and converges to the generalized derivative of . In (17), is a design parameter.

According to Lemma 4, a simple FD is presented as follows:where is design parameter and there are and which satisfieswhere is the order error of ,  .

2.3. Nonlinear Disturbance Observers

In this section, a new NDO is designed based on FD. Without loss of generality, we consider the following uncertain dynamic system:where and are the state and control input respectively. and are the continuous function. denotes the disturbance.

Theorem 6. The following new NDO is designed for the uncertain system (21):where is the estimated value of and is the estimated value of ; if , then

Proof. There are two main steps in the proof.
Step 1
If , then compared to the first equation of (22) and (23), we can obtain that . Theorem 6 holds obviously.
Step 2
If , when , we can obtainThenCompared to and , is fast variable. According to [31], we obtainIf n=2, then (19) isSubstituting into (27) and combining with (26), Theorem 6 holds obviously.

3. Attitude Controller Design and Realization

Throughout this paper, we denote by the set of nonnegative real numbers, the Euclidean vector norm in , and and the maximum and minimum eigenvalues of , respectively. For illustration purpose, we consider a class of second-order strict feedback systems and outline the control design based on a BLF to ensure that the output constraint is not violated. Consider the systemwhere , and are smooth functions, is the control input, and are the states, with required to satisfy , with being a positive constant.

Assumption 7. The function , is known, and there exists a positive constant such that for . Without loss of generality, we further assume that are all positive for .

Lemma 8. For any positive constants and , let and be open sets. Consider the systemwhere and is piecewise continuous in and locally Lipchitz in , uniform in , on . Suppose that there exist functions and , continuously differentiable and positive definite in their respective domains, such thatwhere and are class functions. Let , and belong to the set . If the inequality holdsthen remains in the open set .

Remark 9. In Lemma 8, we split the state space into and , where is the state to be constrained and is the free states. The constrained state requires the barrier function to prevent it from reaching the limits and , while the free states may involve quadratic functions.

For system (28), we employ backstepping design as follows.

Step 1. Let , where is the desired value, and is a stabilizing function to be designed. Chose the following symmetric BLF candidate:where denotes the natural logarithm of and denotes the constraint on . We require . It can be shown that is positive definite and thus a valid Lyapunov function candidate. The derivative of is given byDesign the stabilizing function aswhere is a constant. Substituting (35) into (34) yieldswhere the coupling term is cancelled in the subsequent step.

Step 2. Since does not need to be constrained, we choose a Lyapunov function candidate by augmenting with a quadratic function:The time derivative of is given byThe control law is designed aswhere is constant and the last term on the right-hand side is to cancel the residual coupling term from the first step. Substituting (39) into (38) yields . From (39), there is a concern of becoming unbounded whenever . However, we have established that, in the closed loop, the error signal never reaches . As a result, the control will not become unbounded because of the presence of terms comprising in the denominator.

According to Lemma 8, we have and the output constraint will never be violated. Provide that the initial conditions satisfy

However, we cannot always guarantee if the initial conditions . Next, SMC is used to make the initial error sliding to the set domain if the initial error is not in the set domain.

Firstly, transform system (28) as follows:where .

Then, the sliding mode surface is selected as follows:

The derivative of is given by

If is reversible, we can obtain the control law

Choose the following Lyapunov function candidate:

Differentiating and combining (42)–(44), we can obtain

The system gradually converges to the desired point.

Combining the SMC and BLF backstepping control, the global convergence output constraint robust control law is designed as follows:where

Controller combining the SMC and BLF backstepping control can guarantee the error global convergence.

From KKV’s mathematical model, we can see that system (13) satisfies the strict feedback form. Next, the method combining the sliding mode control and BLF backstepping control will be applied to design KKV controller with state constraints.

Definewhere . Therefore, the domain of is . Then we can get the stabilizing function :

The BLF controller is designed as

From (50)-(51), we can know that the stabilizing function is complex and the first derivative of will bring about “differential explosion” and affect the efficiency of computer solution. The FD is used to solve this problem. The unknown total disturbance appears in the actual control; [32] points out that the maximum disturbance torque can reach 50 percent of the control torque. Under the condition of such a large disturbance moment, it is difficult to solve this problem only by the robustness of the system. If we do not carry out active control, it will reduce the precision of attitude control and even cause the instability of the system. Therefore, NDO is used to estimate and compensate the unknown disturbance.

Therefore, the first differential value of stabilizing function can be obtained as follows:where are the design parameters and is the estimated value of .

For system (13), the following NDO is designed:where are design parameters.

Transform system (13) to a simple form as follows:where .

Choose the following sliding mode surface:

Then, we can obtain SMC as

Combining the SMC and BLF backstepping controller, the global convergence output constraint robust controller is designed as follows:where

Theorem 10. Consider the closed-loop system consisting of plant (13) with control laws (57), FD (52), and NDO (53). The all the signals involved are uniformly ultimately bounded.

Proof. Proof can be divided into two steps.
Step 1
When , mainly for SMC at work. From (46), we can know the system is stable.
Step 2
When , mainly for BLF backstepping controller at work.
Define the estimation errors of NDO and FD isChoose the following Lyapunov function candidate:Differentiating and combining (59)-(60), we can obtainNote thatSubstituting (61) into (62), the following inequality holds:Therefore these tracking errors and are semiglobally uniformly bounded. By choosing the appropriate design parameters , these errors can be sufficiently small. This completes the proof.

From (57), we can know that the control command is continuous type and cannot meet the pulse thruster requirement. Next, PSR modulator will be introduced to shape the continuous control command to pulse or on-off signals. The structure of the PSR modulator is similar to the PWPF modulator except that the position of the first-order inertial link is different. The PWPF first-order inertial link is located on the forward channel while the PSR modulator is located on the feedback channel. The schematic of the PSR modulator is shown in Figure 3.

When Schmitt trigger input is greater than the start threshold, a fixed value of 1 is output. Modulator input is exponentially decayed to subtract new . The output of the modulator is always 1 before decrease to the shutdown threshold. The output of the modulator is 0 when the trigger input is less than the start-up threshold or after decrease in the shutdown threshold. Similarly, when the input is negative, the modulator outputs 0 or −1 (negative sign means the modulator is reversed).

When the Schmitt trigger is on

When the Schmitt trigger is off

Then we can get the output pulse width

Schmitt trigger off time in one cycle is

Switching frequency is

Minimum pulse width is

The PSR pulse modulator not only has the same advantages which are similar to PWPF, with its static characteristics are also independent of the parameters of the aircraft, the output pulse is related to the error amplitude and error speed. It also provides phase advance performance compared to the PWPF.

4. Simulation Results

In this section, four kinds of simulation are established to verify the performance of the proposed method under the condition of strong disturbance. The control strategy for KKV with side window detection is to adjust the pitch angle and yaw angle to track the desired pitch angle and yaw angle accurately and keep the rolling angle stability to ensure the detecting field of view. The initial parameters and disturbance are listed in Table 1, the simulation parameters perturbation are listed in Table 2, and the simulation paremeters of FD and NDO are listed in Table 3.

Case 1. Verify the performance of the controller based on BLF. Suppose the initial values of the attitude angles are and . We can know that satisfies . Simulation results are shown in Figures 49.
The attitude adjustment is divided into two stages, attitude adjustment stage and attitude keeping. From Figure 4, we can intuitively see that attitude controller based on BLF can make the attitude angles track desired attitude angles fast and accurately. During the attitude adjustment stage, the controller can constrain the attitude angle to the initial setting domain even though there are large interference errors in the three channels. In the attitude keeping stage, we can see that the tracking error of the pitch angle can stay within in most of the time and does not exceed , the yaw angle tracking error does not exceed , and the error of the roll angle does not exceed . But, tracking accuracy of the yaw channel is the lowest and it is because the interference torque of is the largest. It can be seen from the simulation results that controller based on BLF can guarantee the tracking error in setting domain in the whole process and the attitude controller satisfies the requirement of fastness and accuracy.
As is shown in Figure 5, the thruster has a saturated working area and a large pulse in the initial stage of attitude control. When the thruster enters the duty cycle linear work area, the width of the thrust pulse also gradually decreases, which reflects the PSR modulator to adjust the width and frequency on the thrust. The simulation results show that the thruster starting frequency is low, KKV variable thrust attitude control accuracy and controller has a good performance. As showed in Figure 6, NDO has high approximation accuracy to unknown uncertainties and unknown time-varying disturbances and its estimation error is small. Accurate error estimation and compensation greatly improve the accuracy of attitude control.

Case 2. Verify the performance of the controller under strong interference conditions without estimation and compensation of uncertainties and disturbances. Initial values of the attitude angles and simulation settings are the same as Case 1. Simulation results are shown in Figures 1013.
From Figures 1113, we can know that the accuracy of controller obviously gets worse without estimation and compensation of uncertainties and disturbances. Pitch angle tracking error stays within , yaw angle tracking error stays within , and roll angle tracking error stays within . From Figure 10, we can know that the frequency of thruster switch is obviously increased, and it will cause more energy consumption. However, controller based on BLF can still guarantee the tracking error in setting domain in the whole process.

Case 3. Verify the performance of controller combining BLF with SMC and compared with the SMC. Suppose the initial values of the attitude angles are and . We can know that does not satisfy . Simulation results are shown in Figures 1423.
From Figure 14, we can know that when the initial error does not satisfy , the BLF controller cannot guarantee the error global convergence. From Figures 1719 we can know that the controller combining the SMC and BLF can guarantee the error global convergence. This is because when , mainly SMC is at work and it will make converge to , and then BLF controller is at work, and it will ensure the output constraint is not violated. From Figures 2023, we can see that the SMC controller can guarantee a good steady performance, but its dynamic performance cannot be guaranteed. But the controller combining BLF with SMC has a good dynamic and steady performance.

Case 4. Verify the performance of PSR modulator. Compare the PSR modulator with the PWPF modulator. The range of optimal parameters for the PWPF and PSR is shown in Table II in [30]. The simulation parameters are selected as showed in Table 4, and the typical step signal is used as the reference signal. The PWPF and PSR modulator modulation curves are shown in Figure 24.

From Figure 24, we can know that the difference between the PSR modulator and the PWPF modulator is in the initial stage. The PSR modulator is turned on in the initial stage until the error is reduced to the shutdown threshold. However, the PWPF modulator is turned off in the initial stage until the error reaches the start-up threshold. This characteristic causes phase delay for PWPF modulator compared to the PSR modulator and may cause control system instability. At the same time, we clearly see from Figure 20 that the start-up time of the PWPF modulator is significantly longer than the PSR, which will lead to wasting fuel. Therefore, PSR modulator has obvious advantages compared with PWPF modulator.

5. Conclusion

In this paper, KKV attitude controller has been designed combining BLF with SMC to meet the state constraints caused by side window detection, and FD and NDO have been used to solve the problem of “differential explosion” and uncertainties estimation and compensation. Numerical simulations show that the designed controller can achieve attitude angles constraint and guarantee the error global convergence with fast convergence speed, high convergence accuracy and good robustness. NDO can achieve fast, smooth and accurate estimation of uncertainties, and unknown time-varying disturbances. PSR modulator can shape the continuous control command to pulse or on-off signals to meet the requirements of the thruster and achieve pseudo-linear operation. Meanwhile, it solved the PWPF modulator phase delay problem.

Data Availability

The data used to support the findings of this study are available from this paper.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported by the National Nature Science Foundation of China (nos. 61773398 and 61703421)