Helicopter control method and device based on time-varying state constraint and hysteresis nonlinearity
Through the adaptive control method based on the Lagrangian mechanical model, the time-varying obstacle Lyapunov function and adaptive controller are constructed, and the problem of multiple inputs, multiple outputs and hysteresis in small unmanned helicopter systems is solved, and the system is improved The stability and security of the system ensures time-varying state constraints and robustness.
Patent Information
- Application Number
- CN202410988005.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-12
AI Technical Summary
Due to the nonlinear characteristics and hysteresis of multiple inputs and multiple outputs, small unmanned helicopter systems have complex control design, and the system stability and safety are difficult to guarantee. Ignoring time-varying state constraints may lead to performance degradation or system instability.
Adaptive control method based on Lagrangian mechanical model is adopted to construct time-varying barrier Lyapunov function and adaptive controller, combined with radial basis function neural network, estimate unknown functions and configure virtual controllers to ensure that state variables are in time The boundary remains within the variable constraints to deal with the nonlinear effects of hysteresis.
It improves the stability and security of the helicopter system in actual applications, ensures output variable tracking and robustness, complies with time-varying state constraints, and enhances the performance of the system in dynamic environments.
Smart Images

Figure CN118938984A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of flight system control, and in particular to a helicopter control method and device based on time-varying state constraints and hysteresis nonlinearity. Background Art
[0002] With the rapid development of aerospace and drone technology, and the growing demand for small, flexible and cost-effective drones, small unmanned helicopters are increasingly used in military, commercial and civilian fields. Compared with traditional fixed-wing manned aircraft, small unmanned helicopters have obvious advantages. They are able to take off and land vertically and can operate quickly in confined spaces, which enhances operational flexibility. In addition, these helicopters excel in low-altitude flight, complex maneuvers and hovering, making them ideal for surveillance, search and rescue missions.
[0003] However, the nonlinear characteristics of small unmanned helicopter systems with multiple inputs and multiple outputs, including complex dynamic modeling and coupling effects, make the design of robust control extremely complicated. In practical applications, helicopter control systems face time-varying state constraints due to the limitations of mechanical structure and safety regulations. If these constraints are ignored when designing the control scheme, the performance of the system may be significantly reduced, or even cause system instability.
[0004] In addition, the helicopter system also needs to deal with the major challenge of hysteresis. Excessive hysteresis effect will not only affect the stability of the system, but may also cause serious damage to the system. Therefore, how to effectively solve these problems has become the key to ensuring the stability and safety of the helicopter system. Summary of the invention
[0005] The main purpose of the embodiments of the present invention is to propose a helicopter control method and device based on time-varying state constraints and hysteresis nonlinearity, which can improve the stability and safety of the helicopter system in practical applications.
[0006] To achieve the above object, an embodiment of the present invention provides a helicopter control method based on time-varying state constraints and hysteresis nonlinearity, comprising the following steps:
[0007] According to the Lagrangian mechanics model, the nonlinear dynamic equation of the helicopter control system is constructed, and the two-degree-of-freedom helicopter system equation is obtained;
[0008] According to the two-degree-of-freedom helicopter system equation, the time-varying barrier Lyapunov function is constructed in combination with the backstepping method, and an adaptive controller of the helicopter control system is obtained;
[0009] constructing an adaptive rate according to the adaptive controller;
[0010] updating the constructed time-varying barrier Lyapunov function according to the adaptive rate;
[0011] According to the time-varying barrier Lyapunov function, the stability of the helicopter control system is evaluated, and the helicopter control system is numerically simulated to generate evaluation verification results;
[0012] The target helicopter is controlled by the helicopter control system according to the evaluation verification result that the target condition is achieved.
[0013] In some embodiments, after the step of constructing the nonlinear dynamic equation of the helicopter control system according to the Lagrangian mechanics model to obtain the two-degree-of-freedom helicopter system equation, the following steps are included:
[0014] According to the smooth continuous nonlinear function vector and the control input information of the helicopter control system, the expression of the two-degree-of-freedom helicopter system equation is updated to obtain the nonlinear dynamic equation based on the two-degree-of-freedom helicopter system;
[0015] The hysteresis nonlinear model of Backlash-like is selected to obtain the hysteresis nonlinear model;
[0016] According to the hysteresis nonlinear model, the nonlinear dynamic equations based on the two-degree-of-freedom helicopter system are updated, and a radial basis function neural network is used to estimate the unknown functions of the helicopter control system, and then the angle error, the expected trajectory and the virtual controller are configured.
[0017] In some embodiments, in the step of constructing a time-varying barrier Lyapunov function based on the two-degree-of-freedom helicopter system equation in combination with the backstepping method to obtain an adaptive controller for the helicopter control system,
[0018] The expression of the time-varying barrier Lyapunov function is:
[0019]
[0020] Among them, V1 and V2 are the designed time-varying barrier Lyapunov functions, and represents the state constraint variable, e1 is the tracking error, and e2 is the error variable;
[0021] The expression of the adaptive controller is:
[0022]
[0023] in, η2 is the control gain matrix, is the time-varying gain parameter, Used to approximate the optimal weight, k is the maximum value of the hysteresis slope with an upper bound; ζ is a suitable positive integer; ξ represents the virtual controller.
[0024] In some embodiments, in the step of constructing an adaptive rate according to the adaptive controller,
[0025] The expression of the adaptation rate is:
[0026]
[0027] in, Approximately W i * , represents the gain matrix, and δ i >0 is a small parameter. The network weight error is defined as S i (Z) represents the basis function variable.
[0028] In some embodiments, the stability of the helicopter control system is evaluated according to the time-varying barrier Lyapunov function, specifically:
[0029] According to the time-varying barrier Lyapunov function, the adaptive rate and Young's inequality, verify the semi-global boundedness of the time-varying barrier Lyapunov function;
[0030] Among them, the expression of the semi-global boundedness is:
[0031]
[0032] in, λ min (Υ i ) is the minimum eigenvalue; η 1i and η 2i is the time-varying gain parameter.
[0033] In some embodiments, the numerical simulation of the helicopter control system is specifically performed as follows:
[0034] The helicopter control system is numerically simulated using the software Matlab to verify the effect of helicopter control and obtain analysis results.
[0035] Another aspect of the embodiment of the present invention further provides a helicopter control device based on time-varying state constraints and hysteresis nonlinearity, comprising:
[0036] The first module is used to construct the nonlinear dynamic equations of the helicopter control system based on the Lagrangian mechanics model and obtain the two-degree-of-freedom helicopter system equations;
[0037] The second module is used to construct a time-varying obstacle Lyapunov function based on the two-degree-of-freedom helicopter system equation in combination with the backstepping method to obtain an adaptive controller for the helicopter control system;
[0038] A third module is used to construct an adaptive rate according to the adaptive controller;
[0039] A fourth module is used to update the constructed time-varying barrier Lyapunov function according to the adaptive rate;
[0040] A fifth module is used to evaluate the stability of the helicopter control system according to the time-varying barrier Lyapunov function, and to perform numerical simulation on the helicopter control system to generate evaluation verification results;
[0041] The sixth module is used to control the target helicopter through the helicopter control system according to the evaluation verification result of reaching the target condition.
[0042] Another aspect of an embodiment of the present invention further provides an electronic device, including a processor and a memory;
[0043] The memory is used to store programs;
[0044] The processor executes the program to implement the method described above.
[0045] Another aspect of the embodiments of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a program, and the program is executed by a processor to implement the method described above.
[0046] Another aspect of an embodiment of the present invention further provides a computer program product, including a computer program, and when the computer program is executed by a processor, the method described above is implemented.
[0047] The embodiments of the present invention include at least the following beneficial effects: the present invention provides a helicopter control method and device based on time-varying state constraints and hysteresis nonlinearity, the scheme constructs the nonlinear dynamic equation of the helicopter control system according to the Lagrangian mechanics model, and obtains the two-degree-of-freedom helicopter system equation; according to the two-degree-of-freedom helicopter system equation, the time-varying obstacle Lyapunov function is constructed in combination with the backstepping method to obtain an adaptive controller of the helicopter control system; according to the adaptive controller, an adaptive rate is constructed; according to the adaptive rate, the constructed time-varying obstacle Lyapunov function is updated; according to the time-varying obstacle Lyapunov function, the stability of the helicopter control system is evaluated, and the helicopter control system is numerically simulated to generate an evaluation verification result; according to the evaluation verification result that meets the target condition, the target helicopter is controlled by the helicopter control system. The present invention can improve the stability and safety of the helicopter system in practical applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 It is a flowchart of the overall steps provided by an embodiment of the present invention, firstly, a nonlinear model of a 2-DOF helicopter is established, then a controller and an adaptive rate of the system are constructed, then based on the nonlinear model of the 2-DOF helicopter, a Lyapunov function is constructed, the stability of the system is verified, and finally, the effectiveness of the proposed algorithm is verified by simulation;
[0049] Figure 2 A schematic diagram of a 2-DOF helicopter model provided by an embodiment of the present invention;
[0050] Figure 3 An angle tracking trajectory diagram of the pitch angle provided by an embodiment of the present invention;
[0051] Figure 4 An angle tracking trajectory diagram of the yaw angle provided by an embodiment of the present invention;
[0052] Figure 5 An angle tracking error diagram provided by an embodiment of the present invention;
[0053] Figure 6 An angular velocity tracking trajectory diagram of the pitch angle provided by an embodiment of the present invention;
[0054] Figure 7 An angular velocity tracking trajectory diagram of the yaw angle provided by an embodiment of the present invention;
[0055] Figure 8 An angular velocity tracking error diagram provided by an embodiment of the present invention;
[0056] Fig. 9 A schematic diagram of control input information provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present invention. They are only examples of devices and methods consistent with some aspects of the embodiments of the present invention as detailed in the attached claims.
[0058] It is understood that the terms "first", "second", etc. used in the present invention may be used herein to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of the present invention, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0059] The terms "at least one", "multiple", "each", "any", etc. used in the present invention, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.
[0060] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.
[0061] The embodiments of the present invention provide a helicopter control method and device based on time-varying state constraints and hysteresis nonlinearity, and relate to the technical field of flight system control.
[0062] like Figure 1 As shown, an embodiment of the present invention provides a helicopter control method based on time-varying state constraints and hysteresis nonlinearity, and the method may include the following steps:
[0063] According to the Lagrangian mechanics model, the nonlinear dynamic equation of the helicopter control system is constructed, and the two-degree-of-freedom helicopter system equation is obtained;
[0064] According to the two-degree-of-freedom helicopter system equation, the time-varying barrier Lyapunov function is constructed in combination with the backstepping method, and an adaptive controller of the helicopter control system is obtained;
[0065] constructing an adaptive rate according to the adaptive controller;
[0066] updating the constructed time-varying barrier Lyapunov function according to the adaptive rate;
[0067] According to the time-varying barrier Lyapunov function, the stability of the helicopter control system is evaluated, and the helicopter control system is numerically simulated to generate evaluation verification results;
[0068] The target helicopter is controlled by the helicopter control system according to the evaluation verification result that the target condition is achieved.
[0069] In some embodiments, after the step of constructing the nonlinear dynamic equation of the helicopter control system according to the Lagrangian mechanics model to obtain the two-degree-of-freedom helicopter system equation, the following steps are included:
[0070] According to the smooth continuous nonlinear function vector and the control input information of the helicopter control system, the expression of the two-degree-of-freedom helicopter system equation is updated to obtain the nonlinear dynamic equation based on the two-degree-of-freedom helicopter system;
[0071] The hysteresis nonlinear model of Backlash-like is selected to obtain the hysteresis nonlinear model;
[0072] According to the hysteresis nonlinear model, the nonlinear dynamic equations based on the two-degree-of-freedom helicopter system are updated, and a radial basis function neural network is used to estimate the unknown functions of the helicopter control system, and then the angle error, the expected trajectory and the virtual controller are configured.
[0073] In some embodiments, in the step of constructing a time-varying barrier Lyapunov function based on the two-degree-of-freedom helicopter system equation in combination with the backstepping method to obtain an adaptive controller for the helicopter control system,
[0074] The expression of the time-varying barrier Lyapunov function is:
[0075]
[0076] Among them, V1 and V2 are the designed time-varying barrier Lyapunov functions, and represents the state constraint variable, e1 is the tracking error, and e2 is the error variable;
[0077] The expression of the adaptive controller is:
[0078]
[0079] in, η2 is the control gain matrix, is the time-varying gain parameter, The weight k used to approximate the optimal value is the maximum value of the hysteresis slope with an upper bound; ζ is a suitable positive integer; ξ represents the virtual controller.
[0080] In some embodiments, in the step of constructing an adaptive rate according to the adaptive controller,
[0081] The expression of the adaptation rate is:
[0082]
[0083] in, Approximately W i * , represents the gain matrix, and δ i >0 is a small parameter. The network weight error is defined as S i (Z) represents the basis function variable.
[0084] In some embodiments, the stability of the helicopter control system is evaluated according to the time-varying barrier Lyapunov function, specifically:
[0085] According to the time-varying barrier Lyapunov function, the adaptive rate and Young's inequality, verify the semi-global boundedness of the time-varying barrier Lyapunov function;
[0086] Among them, the expression of the semi-global boundedness is:
[0087]
[0088] in, λ min (Υ i ) is the minimum eigenvalue; η 1i and η 2i is the time-varying gain parameter.
[0089] In some embodiments, the numerical simulation of the helicopter control system is specifically performed as follows:
[0090] The helicopter control system is numerically simulated using the software Matlab to verify the effect of helicopter control and obtain analysis results.
[0091] The following describes the specific implementation process of the method of the present invention in detail by taking the implementation process in a specific application scenario as an example:
[0092] In order to solve the related technical problems of the prior art, the present invention provides an adaptive neural network control method for a two-degree-of-freedom helicopter system based on time-varying state constraints and hysteresis nonlinearity. In this scheme, a time-varying barrier Lyapunov function is constructed in the process of designing a controller using the backstepping method to ensure that all state variables remain bounded within the time-varying constraints. The adaptive controller combines the radial basis function neural network and the bounded estimation method to cope with the influence of hysteresis nonlinearity. The system stability analysis confirms the boundedness of the signal in the closed-loop system and complies with the time-varying state constraints. The controller based on the backstepping method not only ensures the tracking of the output variables, but also enhances the robustness of the system in a dynamic environment. Numerical simulation comparison verifies the effectiveness and practical potential of this method.
[0093] Specifically, the implementation process of the present invention includes the following steps:
[0094] Step 1: According to the Lagrangian mechanics model, the nonlinear dynamic equation of the system is as follows:
[0095]
[0096] Among them, α, and β, Respectively represent pitch angle, pitch angular velocity, pitch angular acceleration, yaw angle, yaw angular velocity and yaw angular acceleration, V d and V y Respectively represent the input voltage of the front motor and the rear motor, J d and J y represents the moment of inertia around the pitch and yaw axes, P d and P y Represent the viscous friction coefficients of these axes, K dd ,K dy ,K yd and K yy They represent the thrust torque constants of the pitch and yaw axes, m represents the mass, l d is the position of the center of mass, and g represents the acceleration due to gravity.
[0097] refer to Figure 2 , Figure 2 A schematic diagram of a 2-DOF helicopter model provided in an embodiment of the present invention, wherein α and β represent the pitch angle and yaw angle, respectively. The thrust applied to the pitch axis and the yaw axis is represented by F p and F y In addition, m g represents the force pulling the helicopter nose downward, with the center of mass acting along the length of the helicopter fuselage at a distance l from the pitch axis d .
[0098] After the nonlinear dynamic equation is constructed, the embodiment of the present invention may further include the following steps (1)-(4):
[0099] (1) Based on the nonlinear dynamic equation of the two-degree-of-freedom helicopter system, the system can be expressed as follows
[0100]
[0101] y=z1 (3)
[0102] where z = [z1, z2] T , z1=[α,β] T , ΔM(z) and ΔN(z) represent unknown smooth continuous nonlinear function vectors, and ψ(u) = [V d ,V y ]T Represents the control input of the system. The expressions of M(z) and N(z) are as follows:
[0103]
[0104] (2) In order to solve the input hysteresis problem of the system, the embodiment of the present invention selects the Backlash-like hysteresis nonlinear model to obtain the following hysteresis nonlinear model:
[0105] ψ i (u i )=c vi u i +g i (u i ),i=1,2 (6)
[0106]
[0107] Here, ψ 0i and u 0i Represents ψ i and u i The initial value of . Which is bounded and satisfies is an unknown positive constant. And ψ(u) can be expressed accordingly as:
[0108] ψ(u)=C v u+G(u) (8)
[0109] Among them C v =diag{c v1 ,c v2}, G(u) = [g1(u1), g2(u2)] T , g i (u i ) is bounded, G(u) is also bounded and satisfies ||G(u)||≤G * ,
[0110] (3) Based on the above analysis, by combining equations (3), (6) and (8), we can get
[0111]
[0112] y=z1 (9)
[0113] Where u = N T (z)μ, μ is an ideal input. The purpose of this design is to prevent the potential problem that the inverse matrix of the control gain coefficient G(x) does not exist in the control system. L(z,u)=-ζI 2x2 μ+ΔM(z)+ΔN(z)(Cv u+G(u))+N(z)G(u) is the unknown term of the system.
[0114] At the same time, the embodiment of the present invention uses a radial basis function neural network to estimate the unknown function L(z,u) of the system
[0115]
[0116] Here, W i *T The optimal weight of the neural network, S i (Z) represents the basis function vector, is the input vector of the neural network, and Represents the minimum approximation error.
[0117] (4) Set the angle error to e1 = z1 - z d , e2=z2-ξ, where z d is the desired trajectory and ξ is the virtual controller.
[0118] Step 2: Based on step 1, the two-degree-of-freedom helicopter system equation is obtained, and the time-varying obstacle Lyapunov function is constructed by combining the backstepping method. The controller expression of the system is as follows
[0119]
[0120] in
[0121] Step 3: According to the adaptive controller, the adaptive rate can be constructed
[0122]
[0123] in, Approximately W i * , represents the gain matrix, and δ i >0 is a small parameter. The network weight error is defined as
[0124] Step 4: Constructing the time-varying barrier Lyapunov function
[0125]
[0126] is the radial basis neural network weight error.
[0127] Step 5: Based on step 4, verify the stability of the system, mainly verify the semi-global boundedness of V
[0128]
[0129] By substituting the adaptive rate into the derivation, the embodiment of the present invention obtains the following formula:
[0130]
[0131] According to Young's inequality
[0132]
[0133] By combining equations (14)-(17), we can derive
[0134]
[0135] We can get:
[0136]
[0137] in,
[0138] λ min (γ i ) is the minimum eigenvalue; η 1i and η 2i is the control gain matrix.
[0139] Step 6: Use Matlab software to perform numerical simulation on the two-degree-of-freedom helicopter system to verify the effect of the proposed control algorithm and provide analysis.
[0140] refer to Figure 3 , Figure 3 The angle tracking trajectory diagram of the pitch angle provided in the embodiment of the present invention shows the actual trajectory and the expected trajectory of the pitch angle α. kb11 and kb12 represent time-varying state constraints respectively. It can be seen from the figure that the pitch angle tracking effect is good.
[0141] refer to Figure 4 , Figure 4 The angle tracking trajectory diagram of the yaw angle provided in an embodiment of the present invention shows the actual trajectory and the expected trajectory of the yaw angle β. kb21 and kb22 represent time-varying state constraints respectively. It can be seen from the figure that the yaw angle tracking effect is good.
[0142] refer to Figure 5 , Figure 5 The angle tracking error diagram provided by the embodiment of the present invention shows the tracking errors of the pitch angle and the yaw angle respectively. 11 and e 12 ,The tracking error diagram also shows the good control effect of the proposed ,algorithm.
[0143] refer to Figure 6 , Figure 6 The angular velocity tracking trajectory diagram of the pitch angle provided by the embodiment of the present invention shows the pitch angular velocity Actual trajectory and expected trajectory. kb11 and kb12 represent time-varying state constraints. It can be seen from the figure that the pitch angular velocity tracking effect is good.
[0144] refer to Figure 7 , Figure 7 The angular velocity tracking trajectory diagram of the yaw angle provided by the embodiment of the present invention shows the yaw angular velocity Actual trajectory and expected trajectory. kb21 and kb22 represent time-varying state constraints. It can be seen from the figure that the pitch angular velocity tracking effect is good.
[0145] refer to Figure 8 , Figure 8 Angular velocity tracking error diagram provided by an embodiment of the present invention, showing the tracking errors of pitch angular velocity and yaw angular velocity e respectively 21 and e 22 ,The tracking error diagram also shows the good control effect of the proposed ,algorithm.
[0146] refer to Fig. 9 , Fig. 9 A schematic diagram of control input information provided by an embodiment of the present invention, wherein u1 and u2 represent inputs of a pitch angle and a yaw angle, respectively.
[0147] In summary, when designing the control system of a small unmanned helicopter, the embodiments of the present invention must take into account its inherent nonlinear characteristics, the complexity of multi-input and multi-output, as well as the dynamic and coupling effects, which make the design of robust control strategies extremely difficult. At the same time, in practical applications, due to the constraints of mechanical structure and safety regulations, the control system of the helicopter must also deal with the constraints of time-varying states. Ignoring these constraints may seriously weaken the system performance or cause instability. In addition, the helicopter system must also overcome the challenges brought by the hysteresis phenomenon. If this effect is not properly controlled, it may undermine the stability of the system and even cause damage to the system. Therefore, effectively responding to these challenges is crucial to maintaining the stability and safety of the helicopter system.
[0148] In view of the above difficulties, the present invention is committed to developing a comprehensive control strategy to deal with the problems of nonlinearity, input hysteresis and time-varying state constraints in a two-degree-of-freedom helicopter system. Specifically, an adaptive neural network control method for a two-degree-of-freedom helicopter system based on time-varying state constraints and hysteresis nonlinearity is proposed. The solution is to construct a time-varying barrier Lyapunov function in the process of designing the controller using the backstepping method to ensure that all state variables remain bounded within the time-varying constraints. The adaptive controller combines the radial basis function neural network and the bounded estimation method to deal with the influence of hysteresis nonlinearity. The system stability analysis confirms the boundedness of the signal in the closed-loop system and complies with the time-varying state constraints. The controller based on the backstepping method not only ensures the tracking of the output variables, but also enhances the robustness of the system in a dynamic environment, thereby ensuring the stability and safety of the helicopter system in practical applications.
[0149] Another aspect of the embodiment of the present invention further provides a helicopter control device based on time-varying state constraints and hysteresis nonlinearity, comprising:
[0150] The first module is used to construct the nonlinear dynamic equations of the helicopter control system based on the Lagrangian mechanics model and obtain the two-degree-of-freedom helicopter system equations;
[0151] The second module is used to construct a time-varying obstacle Lyapunov function based on the two-degree-of-freedom helicopter system equation in combination with the backstepping method to obtain an adaptive controller for the helicopter control system;
[0152] A third module is used to construct an adaptive rate according to the adaptive controller;
[0153] A fourth module is used to update the constructed time-varying barrier Lyapunov function according to the adaptive rate;
[0154] A fifth module is used to evaluate the stability of the helicopter control system according to the time-varying barrier Lyapunov function, and to perform numerical simulation on the helicopter control system to generate evaluation verification results;
[0155] The sixth module is used to control the target helicopter through the helicopter control system according to the evaluation verification result of reaching the target condition.
[0156] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0157] The embodiment of the present invention further provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned helicopter control method based on time-varying state constraints and hysteresis nonlinearity when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a vehicle-mounted computer, etc.
[0158] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0159] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the helicopter control method based on time-varying state constraints and hysteresis nonlinearity is implemented.
[0160] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0161] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0162] The embodiments described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. Those skilled in the art can appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems.
[0163] Those skilled in the art will appreciate that the technical solutions shown in the figures do not limit the embodiments of the present invention and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0164] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0165] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0166] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0167] It should be understood that in the present invention, "at least one (item)" refers to one or more, and "plurality" refers to two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can represent: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0168] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0169] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0170] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0171] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store programs.
[0172] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the embodiments of the present invention is not limited thereby. Any modification, equivalent substitution and improvement made by those skilled in the art without departing from the scope and essence of the embodiments of the present invention shall be within the scope of the rights of the embodiments of the present invention.
Claims
1. A helicopter control method based on time-varying state constraints and hysteresis nonlinearity, characterized in that: The following steps are involved: According to the Lagrangian mechanics model, the nonlinear dynamic equation of the helicopter control system is constructed, and the two-degree-of-freedom helicopter system equation is obtained; According to the two-degree-of-freedom helicopter system equation, the time-varying barrier Lyapunov function is constructed in combination with the backstepping method, and an adaptive controller of the helicopter control system is obtained; constructing an adaptive rate according to the adaptive controller; updating the constructed time-varying barrier Lyapunov function according to the adaptive rate; According to the time-varying barrier Lyapunov function, the stability of the helicopter control system is evaluated, and the helicopter control system is numerically simulated to generate evaluation verification results; The target helicopter is controlled by the helicopter control system according to the evaluation verification result that the target condition is achieved.
2. A helicopter control method based on time-varying state constraints and hysteresis nonlinearity according to claim 1, characterized in that: After the step of constructing the nonlinear dynamic equation of the helicopter control system according to the Lagrangian mechanics model to obtain the two-degree-of-freedom helicopter system equation, the following steps are included: According to the smooth continuous nonlinear function vector and the control input information of the helicopter control system, the expression of the two-degree-of-freedom helicopter system equation is updated to obtain the nonlinear dynamic equation based on the two-degree-of-freedom helicopter system; The hysteresis nonlinear model of Backlash-like is selected to obtain the hysteresis nonlinear model; According to the hysteresis nonlinear model, the nonlinear dynamic equations based on the two-degree-of-freedom helicopter system are updated, and a radial basis function neural network is used to estimate the unknown functions of the helicopter control system, and then the angle error, the expected trajectory and the virtual controller are configured.
3. A helicopter control method based on time-varying state constraints and hysteresis nonlinearity according to claim 1, characterized in that: In the step of constructing a time-varying barrier Lyapunov function based on the two-degree-of-freedom helicopter system equation and combining the backstepping method to obtain an adaptive controller for the helicopter control system, The expression of the time-varying barrier Lyapunov function is: Among them, V1 and V2 are the designed time-varying barrier Lyapunov functions, and represents the state constraint variable, e1 is the tracking error, and e2 is the error variable; The expression of the adaptive controller is: in, η2 is the control gain matrix, is the time-varying gain parameter, Used to approximate the optimal weight; k is the maximum value with an upper bound on the slope of the hysteresis phenomenon; ζ is a suitable positive integer; ξ represents a virtual controller.
4. A helicopter control method based on time-varying state constraints and hysteresis nonlinearity according to claim 3, characterized in that: In the step of constructing an adaptive rate according to the adaptive controller, The expression of the adaptation rate is: in, Approximately represents the gain matrix, and δ i >0 is a small parameter; the network weight error is defined as represents the state constraint variable; S i (Z) represents the basis function variable.
5. A helicopter control method based on time-varying state constraints and hysteresis nonlinearity according to claim 4, characterized in that: The stability of the helicopter control system is evaluated according to the time-varying barrier Lyapunov function, specifically: According to the time-varying barrier Lyapunov function, the adaptive rate and Young's inequality, verify the semi-global boundedness of the time-varying barrier Lyapunov function; Among them, the expression of the semi-global boundedness is: in, λ min (Υ i ) is the minimum eigenvalue; η 1i and η 2i is the time-varying gain parameter.
6. A helicopter control method based on time-varying state constraints and hysteresis nonlinearity according to claim 1, characterized in that: The numerical simulation of the helicopter control system is specifically as follows: The helicopter control system is numerically simulated using the software Matlab to verify the effect of helicopter control and obtain analysis results.
7. A helicopter control device based on time-varying state constraints and hysteresis nonlinearity, characterized in that: include: The first module is used to construct the nonlinear dynamic equations of the helicopter control system based on the Lagrangian mechanics model and obtain the two-degree-of-freedom helicopter system equations; The second module is used to construct a time-varying obstacle Lyapunov function based on the two-degree-of-freedom helicopter system equation in combination with the backstepping method to obtain an adaptive controller for the helicopter control system; A third module is used to construct an adaptive rate according to the adaptive controller; A fourth module is used to update the constructed time-varying barrier Lyapunov function according to the adaptive rate; A fifth module is used to evaluate the stability of the helicopter control system according to the time-varying barrier Lyapunov function, and to perform numerical simulation on the helicopter control system to generate evaluation verification results; The sixth module is used to control the target helicopter through the helicopter control system according to the evaluation verification result of reaching the target condition.
8. An electronic device, characterized in that: including a processor and a memory; The memory is used to store programs; The processor executes the program to implement the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The storage medium stores a program, and the program is executed by a processor to implement the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
