Abstract

Unmanned helicopter for mission inspection has good application value in intelligent coal mining, and attitude control is important. In this paper, membrane computing is introduced to realize attitude optimization control of an unmanned helicopter. First, we give the application scenarios of unmanned helicopters in coal mines. Secondly, we establish a dynamic model of an unmanned helicopter with environmental participation, and the attitude model of the helicopter is deduced based on this model. Further, the cellular membrane system suitable for the attitude model of an unmanned helicopter under the control parameters of environment mapping is constructed, and the cellular membrane controller based on the characteristics and operation rules of the membrane system is designed. The robust performance of the controller is proved theoretically, and by the semiphysical experiments, the performance of trajectory tracking is almost consistent and attitude angle control is less than , in the range of by wind disturbance. Compared with the linear feedback controller in the same experimental environment, the performance of the membrane controller is improved by nearly 0.4026 on average. It shows that the cellular membrane controller constructed has good effectiveness and robustness. This will provide a good application value for membrane computing in the field of accurate coal mining.

1. Introduction

Fully reflecting the integration of information, automation, and intelligence, forming a highly intelligent, unmanned, safe, and efficient coal mining way, and truly realizing the goal of intelligent, automated, and unmanned coal safe, efficient, and accurate mining are important [1]. The deep integration of the sensor network, intelligent control, and communication technology and the combination of coal mining demand and underground complex environment are used to realize the whole process monitoring of a coal mine, do a good job in data collection, processing, and feedback real-time accuracy, solve the nonreal time and uncertainty of traditional coal mining disaster early warning, and truly achieve the goal of accurate coal mine disaster early warning difficult problems [2]. Unmanned helicopters with vertical take-off and landing, flexible flight direction, low speed cruise, and other superior flight characteristics, in the military and civilian areas, have shown a good value in the application. Through unmanned helicopters, real-time monitoring, task inspection, investigation, and rescue of coal mines can be completed, so that accurate warning and risk judgment of coal mining disasters can be improved and the new trend of intelligent and accurate coal mining can be deeply integrated. However, the unmanned helicopter itself has strong coupling and underactuated nonlinear characteristics. In the complex underground environment of the coal mine, how to make the unmanned helicopter complete the inspection task under flight control and further improve the application performance of the unmanned helicopter in the coal mine have important theoretical research significance and application value.

Aiming at the characteristics of the underactuated system of an unmanned helicopter, especially in the aspect of controller design and optimization, domestic and foreign scholars and scientific research institutions have done a lot of theoretical research and practical exploration, and many relevant control theories and methods proposed have been applied and good research results have been obtained. For example, traditional control methods such as PID control [3], control [4], and LQR control [5, 6] have been proposed and applied successively. The authors in [7, 8] used the adaptive method to improve the helicopter attitude control. Oktay et al. [9] proposed a stochastic optimization method to improve the autonomous performance of the helicopter extent. The attitude control and position tracking of an unmanned helicopter by nonlinear control algorithms have been studied in [10, 11]. The authors in [12, 13] used backstepping control theory, neural network [14, 15], and reinforcement learning [16, 17] to design the attitude controller of an unmanned helicopter. The constraint model predictive control through physical modeling was done in [18]. The authors in [1921] achieved good results in improving the helicopter flight performance through power consumption, cost, and other aspects. The above control algorithms and control strategies are concentrated on linear and nonlinear control and intelligent control [22, 23], and both have good performance in terms of control performance and control effect. However, there is still room for improvement in terms of uncertain control stability or external disturbances, especially in the complex environment of the coal mine; in view of the complex dynamic characteristics of the unmanned helicopter, it is necessary to establish an accurate mathematical model suitable for the underground environment, build a controller model suitable for the underground environment of the coal mine, and apply an effective matching algorithm. It is a challenging research topic.

Membrane computing is inspired by the structure and function of biological cells. It is a new branch of natural computing. It abstracts the structure and function of cells into formal processes and fuses each process. Therefore, a new computing mode under membrane computing is generated. Membrane computing was proposed by Păun in 1998, who is the member of the Romanian Academy of Sciences and the European Academy of Sciences [24]. Membrane computing is closely built around the construction of a membrane computing model, which is compared with the standard model. In terms of theoretical research, it analyzes the generality of calculation and compares the calculation efficiency and calculation ability of the model. In the aspect of application research, practical application problems are solved by applying a membrane algorithm [25]. The cellular membrane system model has a clear structure, good hierarchy, and feature distributed and parallel computing. The collection and operation (evolution) rules of the representation objects are flexible, and the membrane algorithm under the system has powerful optimization capabilities; with the universality of Turing machines and the efficiency of computing power, it has its own advantages in the field of optimal control.

In this paper, the optimal control of the helicopter attitude is achieved by better using membrane computing. The main contributions are as follows:(1)The unmanned helicopter is applied to coal mines for mission inspection.(2)Analyzing the complex environment under the coal mines that is used as an application scenario to implement helicopter attitude modeling.(3)Combining the motion characteristics of the helicopter, the cellular membrane system is constructed and the attitude membrane controller is designed. Through theoretical analysis and experimental verification, the feasibility, effectiveness, and stability of the cellular membrane system for helicopter attitude control are proved.(4)Membrane computing has been expanded in theoretical research, and it has provided new ideas for the precise mining engineering practice of coal mines.

The rest of this paper is organized as follows: Section 2 describes the application scenarios of unmanned helicopters in the coal mine. The method and modeling of unmanned helicopter attitude control under membrane computing are described in Section 3, and the stability analysis is given in theory. In Section 4, the feasibility of the membrane controller is verified through an experimental platform, and it was compared with the linear feedback control to further prove the effectiveness and stability of the membrane controller. Finally, in Section 5, conclusion and future work are presented.

2. Application Scenario of an Unmanned Helicopter in Coal Mines

Unmanned helicopter has a wide range of applications and can be applied to agriculture, detection, power inspection, environmental testing, road inspection, and other fields. However, in the coal mines, the application is in infancy. After all, the high level of intelligence required for coal mining is the prerequisite for intelligent coal mining. Robots have played an important role [26]. However, realizing the coal mines’ mission inspection with dust, humidity, and wind, an unmanned helicopter has more advantages than a robot, especially in the aftermath of a coal mine disaster, the search and rescue capabilities of a robot are at least far worse than a helicopter. Therefore, the application of a helicopter in coal mines has good development prospects, and the specific application scenario is shown in Figure 1.

The structure of a coal mine can be divided into a roadway model and a working face model; the working environment of unmanned helicopters engaged in mission inspection is divided into normal and postdisaster environments, and the postdisaster working environment changes randomly. Therefore, the unmanned helicopter’s coal mine inspection process goes through three main stages: underground environment representation, identification, and decision-making. The specific characteristics are as follows:(1)Constructing a contextual representation based on the characteristics of the coal mine system.(2)Based on the perception of the environment by an unmanned helicopter, this paper uses a lidar and depth camera and the depth camera includes inertial sensors.(3)Constructing the behavior model of an unmanned helicopter based on the environment perception of (2).(4)The helicopter’s own decision depends on the mapping of (2) and (3).(5)Controlling own behavior based on the dynamics of unmanned helicopters.

It is that the establishment of a mathematical model of the underground environment of coal mines is the basis for autonomous decision-making of unmanned helicopters. While satisfying the above characteristics, it should also have the following:(l)Real-time scenes of the coal mines.(2)Data (parameters) collection, processing, and analysis.(3)Data (parameters) should have valid characteristic values.(4)Modeling a dependent environment for helicopter behavior decision.(5)The environmental model reflects the accuracy of the unmanned helicopter behavior.

Unmanned helicopters must have their own recognition and perception of the flying environment when flying under the coal mine, whether it is the inspection under normal circumstances or search and rescue after the disaster, and the helicopter itself is relied upon to complete the environmental modeling process, including data collection and processing. The designed membrane algorithm and necessary airborne computers and various sensors such as lidar and depth camera are utilized, and the specific equipment and parameters are shown in Table 1. Therefore, only the unmanned helicopter modeling in line with the coal mine environment can ensure the flight performance and safety of the helicopter and better complete the various mission inspection of the unmanned helicopter.

3. Method and Modeling of Attitude Optimization Control

3.1. Attitude Dynamics Model

Establishing the correct coordinate system and the conversion relationship between the coordinate systems are the premises of characterizing the movement state of the unmanned helicopter. To achieve attitude control of an unmanned helicopter in a nonlinear system, the attitude angle needs to be controlled, that is, three Euler angles (φ, θ, and ψ) relative to the ground coordinate system (O-XEYEZE). To achieve the purpose of controlling the tilt angle and the deflection angle of the unmanned helicopter relative to the ground coordinate system, it is necessary to ensure the correctness of the conversion relationship between the body coordinate system (O-XYZ) and the ground coordinate system, as shown in Figure 2 [27].

Each of the three Euler angle rotates around an axis, that is, the corresponding pitch angle θ, roll angle φ, and yaw angle ψ. In Figure 2, the projection of the rotational angular velocity on the body axis is p, q, and r and the projection of the helicopter velocity on the body axis is u, , and . Marks and represent the coordinate vectors of linear velocity and angular velocity in the ground coordinate system, respectively, and the vectors of in the body coordinate system are represented as [28]where is the OX axis speed, is the axis speed, is the .axis speed, is the OX axis angular velocity, is the axis angular velocity, and is the axis angular velocity.

By rotating the matrix , and stand for trig functions and , . In the ground coordinate system, the position, attitude, and translation motion of the helicopter are inferred; marking the helicopter center of gravity position , the dynamic equations of the helicopter position and speed in the ground coordinate system can be obtained:where is the external force and . Combined with the derivative of the rotation matrix, we can getwhere and is the inertia matrix. To simplify the design strategy and ignore the influence of tail thrust, the helicopter is affected by the main rotor and gravity, and the mechanical vector is

The torque vector generated by the force and rotor moment in formula (7) iswhere is the main rotor position vector and is the tail rotor position vector. From formulas (7) and (8), the helicopter attitude dynamics equation is as follows:where is the reaction moment of the rotor and is the rotor thrust vector.

3.2. Numerical Cell Membrane System Design

The cellular membrane system is a kind of numerical membrane systems with a layered membrane structure and a distributed parallel computing model [29]. Considering the characteristics of unmanned helicopter parameters, the definition degree is .where (1) is the membrane marker set;(2) is the membrane structure with the inclusion degree of ;(3) is a set of variables in the membrane structure region, ;(4) is the initial value of variable ;(5) is a set of rules in the membrane structure area, including the generation rules and distribution rules of values. Rule is defined as

In formula (11), is the generation rule of value, is the number of variables in the allocation rule of participating values in membrane , is the number of variables executed by the generation rule of all values in membrane , is the variable distribution object, is the distribution proportion coefficient of value, and is the distribution rule of the value. When the value generation rule calculates the value of , dividing by the sum of the distribution proportion coefficient of the value, calculates the proportion assigned to variable for a cycle. If there are the same variables in the calculation process in the value allocation process of the membrane, the calculated value of the membrane is not allocated to each variable, and the final value of the variable is the cumulative value of the calculation. If there is a value of the variable in the generation rule, after the implementation of the value of the allocation rule, the value is reset as 0 and then the initial state value is further summed with the allocated value to get a new value.

3.3. Membrane Controller Design

In view of the superior parallel computing ability of membrane computing, considering the four channel and dynamic tracking characteristics of the helicopter, the attitude membrane controller system as shown in Figure 3 is established, which aims to establish the membrane controller for experimental simulation later, interpret the membrane controller and parallel computing of the data, and output the results to the execution unit.

According to formula (12) and the process of building a helicopter dynamics model (3)–(9), considering the structural characteristics of the membrane system and the flexibility of communication rules, the control rate rules are executed in sequence, setting a complete calculation cycle of a membrane controller which needs 4 cycles to complete, and the final calculation results can be obtained through the cycle execution. The construction of an unmanned helicopter attitude membrane controller is shown in Figure 4.

According to formula (5), if is the yaw angle error, the dynamics of the yaw angle error iswhere represents the yaw dynamics and is the yaw rate pseudocontrol; the error dynamics of the corresponding yaw angle iswhere is a positive gain, after the nonlinear term and stability error dynamics are removed and is

According to formula (9), the angular velocity error iswhere is a positive gain diagonal matrix.

Similarly, considering the limitation of an orthogonal vector constraint, the dynamics of the direction error under the pseudocontrol of angular velocity iswhere .

According to the above derivation, the attitude error of the unmanned helicopter represented by the attitude error vector is as follows:

3.4. Robustness Analysis

Theorem 1. Suppose that and expectation belongs to set , then the gain selection is [30]

In formula (17), is the minimum value of the gain matrix. The system attitude error (17) is exponentially stable for the initial condition: . , .

Theorem 2. In the system attitude error (17), given an expected direction vector , when , , the unmanned helicopter does not turn over and the initial state of the vector to the direction and the angular velocity of the reasoning vector is valid.

Suppose that Theorem 1 is consistent with (17), according to Theorem 1, the exponential decay of vector produces inequality:

Thereupon, decays the exponent to 0, and it is bounded:where .

According to Theorem 2, for any , there is , so , that is, .

For , there isand norm is

Through the above series of analysis and proof, the stability of an attitude error is ensured, and the unmanned helicopter will not turn over in the tracking process and boundary conditions under existence constraints.

4. Experimental Verification

4.1. Verification of Attitude Control Performance

To verify the effectiveness of the unmanned helicopter membrane controller designed in this paper in the semiphysical environment, the main hardware parameter information of the experimental platform is shown in Table 1. The software is a membrane system simulator based on the P-Lingua simulation virtual machine, and this software is shown in Figure 3 as a middleware. It can simulate the membrane computer and execute the membrane controller program execution, which facilitates the performance improvement of the membrane simulator and improves computing power of the membrane controller.

The parameters and values of the membrane controller and control gain during the experiment are given in Table 2. The controller gain is adjusted sufficiently according to the requirements of Theorem 1, which further meets the helicopter’s need to quickly obtain the desired vector.

The experiment begins by manually manipulating the helicopter to take-off, and after reaching a steady state, the flight state is switched to an automatic flight state. To obtain clear experimental results, the previous 25 s is selected for the experiment. The trajectory of the position response over time in the inertial coordinate system is shown in Figure 5, and the course of the helicopter channel attitude angle with time is shown in Figure 6.

Figure 5 shows that the membrane controller designed in this paper tends to be stable in about 5 seconds and shows good tracking performance. In Figure 6, the amplitude of the change in the attitude angle with time is controlled in the range, and it shows good attitude control performance without interference after the stability.

4.2. Comparison of Attitude Control Performance

The experiment is conducted under the condition of adding wind disturbance. After the helicopter is stable, the wind speed is 10 m/s and the disturbance is continued for 25 s. The time-varying curve of the attitude angle in the disturbed state with the membrane controller is shown in Figure 7. Linear feedback control performance experiments are performed in the same environment, and the results of helicopter attitude control performance under normal and wind disturbance are shown in Figures 8 and 9. At the same time, the experimental errors of the linear feedback controller and the membrane controller designed in this paper are compared based on the experimental data, as shown in Figure 10.

It can be seen from the attitude curve of Figure 7 that even if the amplitude of the attitude angle approaches , especially after 5 s, it is relatively stable, which indicates that the membrane controller can control the attitude better under external disturbance. Comparing Figure 6 with Figure 8, although linear feedback control can also follow the time to control the attitude, the maximum amplitude approaches ; however, in terms of control performance, the control effect of the membrane controller is obviously higher than that of the linear controller. Similarly, comparing Figure 7 with Figure 9, in the case of wind disturbance, the amplitude of the attitude changes under linear feedback approaching . It is obviously higher than under the membrane controller. Analysis of Figure 10 shows that the attitude control performance of the membrane controller is reduced to approximately 0.4026 in terms of error and root mean square. Through the above comparison and analysis, the control performance of the membrane controller designed in this paper is feasible and has good stability.

5. Conclusion

This paper takes the future direction of intelligent and accurate mining as an opportunity, applies an unmanned helicopter to coal mines, fully considers the scenarios of the coal mine environment, realizes model construction and membrane controller design, and through theoretical and experimental verification, it obtains the following conclusions:(1)It is achievable to construct an unmanned helicopter attitude dynamic model under the complex environment of the coal mines.(2)It is feasible to realize the attitude membrane controller design of an unmanned helicopter by using membrane computing.(3)Building the membrane controller is successful, and the unmanned helicopter shows a good control effect under normal or wind disturbance conditions. Through theoretical analysis and comparison with the experimental results of linear feedback control methods, the membrane computing application is further proved for the effectiveness and stability of attitude control of an unmanned helicopter.

The points of the study in this work will provide a new scientific theoretical reference for membrane calculation in the field of optimal control, and at the same time, provide a practical application case for safe and accurate mining of coal mines. Next, we will try to build different membrane computing models, including membrane algorithm design, compared with other control methods, to further optimize the attitude control of an unmanned helicopter and offer new ideas for path planning.

Data Availability

The experimental data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This paper was supported by the National Natural Science Foundation of China (61772033) and the Key Natural Science Research Project of Anhui Higher Education Institutions (KJ2019A0110).