#### Abstract

Lateral and longitudinal channels are two closely related channels whose control stability influences flight performance of small-scale unmanned helicopters directly. This paper presents a robust control approach for lateral and longitudinal channels in the presence of parameter uncertainties and exogenous disturbances. The proposed control approach is performed by two steps. First, by performing system identification in frequency domain, system model of lateral and longitudinal channels can be accurately identified. Then, a robust state feedback controller is designed to stabilize the helicopter in lateral and longitudinal channels simultaneously under extraneous disturbances situation. The proposed approach takes advantages that it reduces order of the controller by preestimating some parameters (like flapping angles) without sacrificing control accuracy. Numerical results show the reliability and effectiveness of the proposed method.

#### 1. Introduction

Recently, research on unmanned small-scale helicopters has gained great attention in various fields such as military, industry, and aerial mapping. A striking feature of such unmanned helicopters is the fact that they need to perform different tasks, such as hovering, flying forward, and circular flying, under various complicated situations. Thus, it is necessary to design a robust controller which can stabilize the helicopter in different directions [1–3].

Recently, research on control methods of unmanned helicopters under exogenous disturbances (e.g., wind gust) has received great attention [4–7]. Such kind of classical methods includes PID based control methods [8, 9], model predictive control method [10, 11], and nonlinear feedforward controller [12–14]. PID control is one of the most classical control approaches whose performance closely depended on the accuracy of the model. In practice, models of control system change with variation of flight conditions. Thus, performance of PID control based methods may be greatly influenced when helicopters perform some difficult movements.

Model predictive control methods are advanced control strategies based on predictions of linear convolution models. Therefore, the model predictive control (MPC) is not a specific control strategy but it is a wide class of optimal control based algorithms that use an explicit process model to predict the behavior of a linear plant. Nonlinear controller can be viewed as ideal, gain-scheduled controller designed at every point on the trajectory. It usually combines with feedback and feedforward technologies to attenuate disturbance of exogenous disturbances.

In this paper, to keep the stability and performance of autonomous helicopter in the presence of parameter uncertainties and exogenous disturbances, a two-step robust control approach based on frequency domain model identification and improved controller is proposed.

First, we built a simple model for lateral and longitudinal dynamics of a helicopter. Based on the proposed model, a frequency domain method, Comprehensive Identification from Frequency Responses (CIFER) [15, 16], is used to identify the system model. By performing model identification in frequency domain, the proposed method obtained robustness against parameter uncertainties and exogenous disturbances.

Based on the identification and modeling of the helicopter, we then designed state feedback controller to stabilize the helicopter under disturbances situation. A key problem for designing the state feedback control is the fact that the flapping angles are undetectable, which results in the fact that the order of controller is too high to achieve in practice. To overcome this problem, we have estimated the flapping angles by simplifying the speed derivatives in hovering condition beforehand. By this way, order of the controller can be greatly simplified. Thus, the proposed method can efficiently be implemented in practice.

This paper is organized as follows. In Section 2, the lateral and longitudinal channels of a small-scale helicopter are presented and the parameters of the physical structure and model of the helicopter are either identified or estimated in a reliable range. In Section 3, a robust state feedback control is introduced and designed. In Section 4, the efficiency of the controller designed above is evaluated by analyzing and comparing the results of simulation and real flight. At last, the conclusion lies in Section 5.

#### 2. Identification of Lateral and Longitudinal Models

##### 2.1. Lateral and Longitudinal Fuselage Dynamic Model

Considering the hovering flight condition and the Newton-Euler equations [17], the system model for lateral and longitudinal channels can be simplified and linearized as follows:where the constant is the acceleration of gravity; the vectors , , and and , , and are the fuselage velocities and angular rates in the body coordinate system, respectively; and are the roll and pitch attitude angles; , , , , , and represent the speed derivatives; the variables and are the longitudinal and lateral main rotor flapping angles; and are the flapping spring-derivatives; and , , and are the constant values under the trim condition.

Moreover, the main rotor dynamics of such small-scale helicopters can be modeled aswhere is the rotor time constant. and are the longitudinal cyclic and lateral cyclic inputs, respectively.

Based on (1) and (5), we can find that lateral and longitudinal channels are coupled, which increases the difficulty of identification [18, 19]. The main state and control variables for lateral and longitudinal models can be represented by

Under hovering condition, we can get the matrix of dynamic structure in which the procedure is applied to obtain the system parameters. The linearized matrix is illustrated:

##### 2.2. Flight Tests and Collection of Time-History Data

The first step in system identification is the collection of a well-suited time-history database. The final quality of the identification results mainly depends on the executed flight tests of the helicopter. The recommended input for frequency domain identification is a frequency sweep which provides a frequency range of interest for good identification.

The maneuver in flight tests being used for identification of frequency responses is a frequency sweep. It is the maneuver that can be performed by either a pilot or automated sweeps. In this paper, all the frequency sweeps are generated automatically, but the pilot still can add his control to the helicopter in case of emergency. The pilot provided a trim record of at least 3 s before starting the maneuver, and it started with a low frequency sinusoidal shape input with a frequency which would slowly increase. Like [20], the whole process of the maneuver was typically 80–120 seconds. Figures 1 and 2 show the collection of I/O data of lateral and longitudinal channels, respectively.

##### 2.3. Identification and Estimation of Parameters of Dynamic Model

Around the state of hovering, both the lateral and longitudinal channels transfer functions between the actuator inputs and the angular rates can be approximately presented as

Note that the transfer function (9) mainly contains two parts: one for actuator dynamics and the other for helicopter dynamics. Thus, transfer function of the actuator can be given as [21]

Generally, it is difficult to identify the speed damping derivatives ( and ), because and only have significant effect at low frequency when the frequency response precision is usually weak. However, in the actual experiments, we find that these parameters can be estimated as follows:

Hence, by performing a Laplace transform, we can derive the equations and calculate the coefficients and :

The basic parameters in (9), (10), and (13) can be identified by using the transfer function modeling, while others in the state-space model identification can be identified by CIFER. The results are shown in Table 1.

The state and the input matrices and of the linearized model are given as follows:

For verifying the state-space model, it is conducted with flight data not used in any identification process and the fit ratio indicates the output variation is given as [22]where the variables , , and represent the real data, predicted data, and the mean of the real data, respectively. The fit ratio indicates how effectively the model predicts the actual output data. Figures 3 and 4 illustrate the comparisons between the actual flight data and the lateral and longitudinal model output data. In Figures 3 and 4, it can be found that both fit ratios are more than 70%, which implies that the model is highly reliable.

#### 3. Robust State Feedback Control

##### 3.1. The Preliminaries of State Feedback Control

After the system identification and the modeling, the main goal in developing a controller is to ensure that it can stabilize the helicopter in a real environment with uncertainties like uncertain dynamics and extraneous disturbances. It is undeniable that methodology could not only meet the basic control demands but also minimize the influence of disturbances to the helicopter.

Like the methods mentioned in [22, 23], instead of designing a state feedback controller, traditional approach is to use an output feedback controller for the helicopter due to the fact that flapping angles and cannot be detected. However, the order of such output feedback controller is too high and the structure is complicated, which makes it difficult to use in a real application. To overcome this problem, we use a simple way to estimate the values of the flapping angles, neglecting the speed derivatives (in hovering condition); the equations of flapping dynamics can be simplified as

Thus, from (16), we can approximately derive the flapping angle as following transfer function:where is a very small time constant and both angular rates and are detectable. With these equations, it is feasible to design state feedback controller for the lateral and longitudinal channels.

##### 3.2. The Algorithm of Controller

The dynamic system can be described in a state-space form as follows:

If the system satisfies the condition,

Then the close-loop transfer function from to can be described as

The formulation of control problem is to find an internally stabilizing controller to ensure the infinity norm of the closed-loop transfer function is less than a given constant . It is called the standard control problem, and can be obtained through binary search algorithm iteration [22]. A state feedback controller which meets the requirement is given aswhere variable is a positive solution of the following algebraic Riccati equations [24]: is a sufficiently small constant. And the controller can be given as

Using the algorithm mentioned above, we select , and we can calculate matrix which is given as follows:

#### 4. Numerical Results

##### 4.1. Performance Evaluation Using Simulated Data

In this section, numerical experiments are carried out to evaluate the performance of the proposed method using simulated and real data sets.

In order to observe how well the controller can perform for speed tracking, a square wave is used as a tracking command. Figures 5 and 6 show the simulation results revealing the performance of speed tracking in these two channels. In Figures 5 and 6, the proposed method costs less than 1 s to track the speed parameter with a very small overshoot, which means that the responses of the speed tracking based on the proposed method are fast and accurate. Moreover, the performance of angles and angle rates on roll and pitch channels can also be seen in Figures 7 and 8, respectively. In Figure 7, the changes in roll rate and roll angle last less than 1 s in a single control period. The results in Figure 8 show that the proposed method can also control the changes of pitch rate and pitch angles less than 1 s. Thus, the proposed controller can stabilize the attitudes of the helicopter in less than 1 s which demonstrates effectiveness and stability of the controller.

##### 4.2. Performance Evaluation Using Flight Tests

After showing the performance of the controller by analyzing the simulation results, it is necessary for us to evaluate performance of the proposed method in real flight tests under the condition of hovering. Figures 9 and 10 show the actual output (including velocities and attitudes) of lateral and longitudinal channels. In Figures 9 and 10, we can find that the pitch angles change little, while the roll angels change a little more, which implies that the proposed controller can stabilize the helicopter in a real application effectively. Moreover, after careful observation, we found that the roll angle is not equivalent to zero in Figure 9. This is mainly due to the fact that, under the hovering condition, the main rotor needs to tilt with a small angle to offset the force coming from tail rotor.

#### 5. Conclusion

This paper first addressed the system identification and the linearized modeling of lateral and longitudinal dynamics of small-scale helicopter. To identify the system of helicopter in a frequency domain method, we used a frequency sweep signal to excite the helicopter around the frequency range of interest. Then, the parameters of the model could be derived based on the data from the flight tests, and a verification was conducted to indicate reliability of identification and modeling.

With model of these two channels, state feedback controller was designed not only to simply stabilize the helicopter in these two directions but also to diminish the extraneous disturbances. The advantage of the state feedback controller is statical and easy to fulfil in actual flight.

Finally, both of the simulation results and the actual flight tests demonstrated a good performance. The other problem that we should discuss next is mainly about how to design a controller for helicopters under the condition of high speed flying.

#### Conflict of Interests

The author declares that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

This work was supported in part by the Scientific Research Foundation of Guangxi Education Department under Grant nos. KY2015ZD143, KY2015ZD140, and KY2015ZD144, Natural Science Foundation of Guangxi under Grant no. 2014GXNSFAA118310, Key laboratory Breeding Base of the Robot and Welding Technology, National Natural Science Foundation of China under Grant no. 61361006, and Key Laboratory Foundation of Guangxi of Unmanned Aerial Vehicle (UAV) Remote Sensing under Grant no. WRJ2015ZR02.