An aircraft approach method, device and medium based on improved model predictive control

By improving the model predictive control method and sliding mode attitude control force, the problems of high computational load and high fuel consumption during aircraft approach were solved, and efficient and precise aircraft approach control was achieved.

CN123137350APending Publication Date: 2026-11-20BEIHANG UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611321011.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-28
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing aircraft approach methods are computationally intensive and fuel-intensive when dealing with nonlinear characteristics and complex dynamic environments, making it difficult to meet real-time control requirements. Furthermore, the lack of an end-to-end closed-loop feedback mechanism leads to inaccurate approach.

Method used

An improved model predictive control method is adopted, which combines heuristic algorithms to generate predictive trajectory sequences. The control phase is switched by distance judgment, and the optimal velocity pulse increment and sliding mode attitude control force are used to achieve precise control of the aircraft.

Benefits of technology

It improves the accuracy and success rate of aircraft approach, supports real-time processing of dynamic disturbances and fuel optimization, and ensures efficient and accurate approach results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123137350A_ABST
    Figure CN123137350A_ABST
Patent Text Reader

Abstract

The application discloses an aircraft approaching method and device based on improved model predictive control and a medium, relates to the field of aircraft control, and comprises the following steps: generating a predicted trajectory sequence of a second aircraft by using a heuristic algorithm based on the position of the second aircraft; calculating the distance between the two aircrafts based on the positions of the two aircrafts; judging based on the distance and a switching distance, and solving by using an improved model predictive control algorithm based on the judgment result, the predicted trajectory sequence, the position of the second aircraft, the position and attitude quaternion and angular velocity of a first aircraft, so as to obtain optimal control data; updating the motion information of the first aircraft by using the state evolution equation of the first aircraft based on the optimal control data, so as to obtain the updated motion information of the first aircraft; and approaching the second aircraft based on the updated motion information of the first aircraft. The application improves the accuracy and success rate of approaching the second aircraft.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of aircraft control technology, and in particular to an aircraft approach method, device and medium based on improved model predictive control. Background Technology

[0002] As a core support for missions such as autonomous navigation and on-orbit servicing, relative motion control technology for aircraft has demonstrated extremely high application value in many scenarios, including the encounter and approach of two aircraft. This technology senses the status information of both aircraft in real time and generates control commands based on specific control strategies, enabling the first aircraft to accurately approach the second aircraft and minimize the relative distance between them.

[0003] Due to the significant nonlinear characteristics of aircraft motion and the diverse maneuvering strategies of secondary aircraft, coupled with the complex and ever-changing external dynamic environment, most planning methods rely on simplifying assumptions, often resulting in high computational complexity, high risk, and high fuel consumption, making them difficult to meet the needs of practical engineering applications. In some cases, classical guidance laws or theoretical frameworks, such as the proportional-derivative (PD) method and methods based on differential control theory, are mainly used to solve these problems. The PPD method generates real-time orientation commands through numerical calculations, but ignores complex constraint effects, such as acceleration limiting and fuel consumption, leading to low fidelity of the generated control sequence and an inability to accurately reproduce maneuver responses and disturbance effects in dynamic environments. Methods based on differential control theory provide a formalized equilibrium strategy framework, but their computational complexity is too high in the high-dimensional space under complex dynamics, failing to meet the requirements of real-time aircraft control. Meanwhile, other frameworks are mostly open-loop or simplified designs, separating the prediction and control modules, lacking end-to-end closed-loop feedback mechanisms, and struggling to capture uncertainties in real-world systems such as target heuristic departure, attitude tracking delays, and actuator saturation. This not only made it impossible to make real-time adjustments, but also caused a significant deviation between the optimization results and the actual maneuver test, ultimately making it impossible to accurately approach the second aircraft. Summary of the Invention

[0004] The purpose of this application is to provide an aircraft approach method, device, and medium based on improved model predictive control, which can improve the accuracy and success rate of approaching a second aircraft.

[0005] To achieve the above objectives, this application provides the following solution.

[0006] In a first aspect, this application provides an aircraft approach method based on improved model predictive control, comprising: Acquire motion information of two aircraft; the two aircraft include: a first aircraft and a second aircraft; the motion information includes: position, velocity, attitude quaternions and angular velocity; Based on the position of the second aircraft, a heuristic algorithm is used to generate a predicted trajectory sequence for the second aircraft. Calculate the distance between the two aircraft based on their positions; A determination result is obtained based on the distance and the switching distance. Based on the judgment result, the predicted trajectory sequence, the position of the second aircraft and the position, attitude quaternion, and angular velocity of the first aircraft, an improved model predictive control algorithm is used to solve for the optimal control data. The optimal control data includes: the optimal velocity pulse increment sequence or the optimal velocity pulse increment sequence and sliding mode control force. The improved model predictive control algorithm introduces a sliding mode attitude control law on the basis of the model predictive control method. Based on the optimal control data, the motion information of the first aircraft is updated using the state evolution equation of the first aircraft to obtain the updated motion information of the first aircraft. The second aircraft approaches based on the updated motion information of the first aircraft.

[0007] Secondly, this application provides a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-described aircraft approach method based on improved model predictive control.

[0008] Thirdly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described aircraft approach method based on improved model predictive control.

[0009] According to the specific embodiments provided in this application, this application has the following technical effects: This application first generates a predicted trajectory sequence for the second aircraft based on its position using a heuristic algorithm. Then, based on the positions of both aircraft, it calculates the distance between them and makes a judgment based on the distance and switching distance. Next, based on the judgment result, the predicted trajectory sequence, the positions of the second and first aircraft, their attitude quaternions, and angular velocities, an improved model predictive control algorithm is used to solve for the optimal control data. Finally, the motion information of the first aircraft is updated using its state evolution equation, and the approach to the second aircraft is achieved based on this updated motion information. In this process, because the judgment result is used for classification, the optimal control data obtained is either the optimal velocity pulse increment sequence or the optimal velocity pulse increment sequence and sliding mode control force. Furthermore, by improving the model predictive control algorithm and introducing a sliding mode attitude control law, not only is precise control of the first aircraft's position, velocity, and angular velocity achieved, but also precise control of its attitude quaternions is realized, thereby improving the accuracy and success rate of the first aircraft approaching the second aircraft. Attached Figure Description

[0010] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0011] Figure 1 A flowchart illustrating an improved model predictive control-based aircraft approach method provided in this application.

[0012] Figure 2 This is a schematic diagram of the initial stage of the simulation experiment provided in Embodiment 1 of this application.

[0013] Figure 3 This is a schematic diagram of the simulation experiment approach stage provided in Embodiment 1 of this application.

[0014] Figure 4 This is a schematic diagram of the simulation experiment completion stage provided in Embodiment 1 of this application.

[0015] Figure 5 A schematic diagram of the functional modules of an aircraft approach system based on improved model predictive control provided in this application.

[0016] Figure 6 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application.

[0017] Attached reference numerals: Acquisition module-1, Second aircraft prediction module-2, Distance calculation module-3, Judgment module-4, Optimal control module-5, Update module-6, Relative motion control module-7. Detailed Implementation

[0018] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0019] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0020] In one exemplary embodiment, such as Figure 1 As shown, an improved model predictive control-based approach method for aircraft is provided. This method is executed by a computer device, specifically by a terminal or server alone, or by both a terminal and a server. In this embodiment, the method is described using a server as an example, and includes the following steps S1 to S7.

[0021] Step S1: Obtain motion information of both aircraft; the two aircraft include: the first aircraft and the second aircraft; the motion information includes: position, velocity, attitude quaternion and angular velocity.

[0022] Step S2: Based on the position of the second aircraft, a heuristic algorithm is used to generate a predicted trajectory sequence for the second aircraft.

[0023] Specifically, based on the position of the first spacecraft, a heuristic algorithm is used to predict the future position of the second spacecraft. The predicted trajectory sequence at each moment. Specifically, the heuristic algorithm assumes that the second spacecraft adopts a "maximum divergence" strategy, that is, it always accelerates at maximum speed along the direction from the first spacecraft to the second spacecraft. Move away. The algorithm takes the target acceleration as input. The state transition equation for the second aircraft in the prediction time domain [1, The internal recursive numerical calculation ultimately generates the predicted trajectory sequence of the second spacecraft. The state transition equations for the predicted trajectory sequence of the second spacecraft are as follows: .

[0024] .

[0025] .

[0026] in, For the second aircraft Predicted location at any given time; For the second aircraft Predicted location at any given time; For the second aircraft The speed of time; For time step; For the second aircraft Acceleration at any moment; For the second aircraft The speed of time; This is the maximum acceleration of the second aircraft. The gravitational constant of the central celestial body.

[0027] Step S3: Calculate the distance between the two aircraft based on their positions.

[0028] Step S4: Make a judgment based on the distance and switching distance to obtain the judgment result.

[0029] Step S5: Based on the judgment result, predicted trajectory sequence, position of the second aircraft and position, attitude quaternion and angular velocity of the first aircraft, the improved model predictive control algorithm is used to solve for the optimal control data; the optimal control data includes: optimal velocity pulse increment sequence or optimal velocity pulse increment sequence and sliding mode control force; the improved model predictive control algorithm introduces sliding mode attitude control law on the basis of model predictive control (MPC) method.

[0030] As one feasible approach, step S5 specifically includes steps S51 to S52: Step S51: When the determination result is that the distance is greater than the switching distance, the optimal velocity pulse increment sequence is obtained by iterative optimization using the model predictive control method based on the predicted trajectory sequence.

[0031] Specifically, when the determination result is that the distance is greater than the switching distance, it is determined that both aircraft have entered the long-distance approach phase, and only the model predictive control method is used for solving.

[0032] As one feasible approach, step S51 specifically includes steps S511 to S514: Step S511: Construct constraints; constraints include: dynamic constraints and control constraints.

[0033] Specifically, the dynamic constraints are based on the discrete state transition equations of the two-body model, and the formula is as follows: .

[0034] .

[0035] .

[0036] in, For the first aircraft in Predicted location at any given time; For the first aircraft in Predicted location at any given time; For the first aircraft in The speed of time; for The velocity pulse increment at any given moment; For the first aircraft in Gravitational acceleration at any given moment; For the first aircraft in The speed of time.

[0037] The control constraints are: ,in, This represents the maximum value of the velocity pulse increment.

[0038] Step S512: Initialize the Hessian matrix.

[0039] Step S513: Randomly generate an initial velocity pulse increment sequence.

[0040] Step S514: Based on the initial velocity pulse increment sequence, and using dynamic constraints, generate the predicted trajectory sequence of the first aircraft.

[0041] Step S515: Construct a cost function based on the predicted trajectory sequence of the second aircraft and the predicted trajectory sequence of the first aircraft.

[0042] As a feasible approach, the optimization problem is defined within a finite time domain, and the corresponding cost function is constructed. The expression of the cost function is as follows: ; in, The value of the cost function; Total time; For distance error weights; For the first aircraft in Predicted location at any given time; For the second aircraft Predicted location at any given time; To control incremental weights; for The velocity pulse increment at any given moment; As a penalty factor; For velocity pulse penalty terms; This represents the maximum value of the velocity pulse increment. Weights are assigned to tasks to handle complex tasks, such as the need to minimize the relative speed between the two aircraft in a follow-up flight maneuver. Add relative velocity weights to the item.

[0043] Step S516: Under the constraints, with the goal of minimizing the cost function, the initial velocity pulse increment sequence is iteratively optimized using a convex optimization algorithm to obtain the optimal velocity pulse increment sequence.

[0044] As one feasible approach, step S516 specifically includes steps S5161 to S5168: Step S5161: Expand the cost function using the second-order Taylor formula to obtain the expanded cost function.

[0045] Step S5162: Update the Hessian matrix using the BFGS formula to obtain the updated Hessian matrix.

[0046] Step S5163: Construct a quadratic objective function based on the updated Hessian matrix and the expanded cost function.

[0047] Step S5164: Perform first-order linearization on the constraints to obtain first-order linear constraints.

[0048] Step S5165: With the goal of minimizing the value of the quadratic objective function, perform optimization within the first-order linear constraints to obtain the optimal search direction vector.

[0049] Step S5166: Under the constraints, with the goal of minimizing the cost function, a line search method is used to search under the optimal search direction vector to obtain the optimal control step size.

[0050] Step S5167: Based on the optimal search direction vector and the optimal control step size, update the initial velocity pulse increment sequence to obtain the updated velocity pulse increment sequence.

[0051] Step S5168: The optimal velocity pulse increment sequence is obtained when the difference between the cost functions of two adjacent iterations is less than the preset difference or the number of iterations reaches the maximum number of iterations.

[0052] Specifically, in each round of iterative optimization, the velocity pulse increment sequence at the current iteration number... The process involves constructing a quadratic programming (QP) subproblem. Specifically, a second-order Taylor expansion of the cost function is performed, and the Hessian matrix of the Lagrangian function is updated using the BFGS formula to obtain local curvature information of the cost function, thus yielding the quadratic objective function. Simultaneously, the nonlinear dynamic and control constraints are linearized to first-order linear constraints, transforming the original complex nonlinear constraint optimization problem into a series of local quadratic programming subproblems. The solution that minimizes the quadratic objective function within the current linear constraint space is then sought, obtaining the optimal search direction vector for the current iteration step. and in The search proceeds along the direction, and the optimal control step size is determined using a line search method, taking into account the cost function minimization objective and constraints. The final update sequence of velocity pulse increments: The iteration stops when the difference between the cost functions of two adjacent iterations is less than a preset difference or the maximum number of iterations is reached, and the optimal velocity pulse increment sequence at that point is output. .

[0053] Step S52: When the determination result is that the distance is less than or equal to the switching distance, the model predictive control method is used to perform iterative optimization based on the predicted trajectory sequence to obtain the optimal velocity pulse increment sequence; based on the position of the second aircraft and the position, attitude quaternion and angular velocity of the first aircraft, the sliding mode attitude control law is used to calculate the sliding mode control force.

[0054] Specifically, when the determination result is that the distance is less than or equal to the switching distance, it is determined that the two aircraft have entered the close approach phase, and the model predictive control method and sliding mode attitude control law are jointly used to solve the problem.

[0055] As an feasible approach, step S52, based on the position of the second aircraft and the position, attitude quaternions, and angular velocity of the first aircraft, employs a sliding mode attitude control law to calculate the sliding mode control force, specifically including: Based on the positions of the second and first aircraft, calculate the expected attitude quaternion of the first aircraft.

[0056] Based on the attitude quaternion of the first aircraft and the desired attitude quaternion of the first aircraft, the error between the attitude quaternion and the desired attitude quaternion of the first aircraft is calculated.

[0057] The sliding surface is calculated based on the error between the attitude quaternion of the first aircraft and the expected attitude quaternion of the first aircraft.

[0058] The angular acceleration of the first aircraft is determined based on its angular velocity.

[0059] The sliding control force is calculated based on the sliding surface and the angular acceleration of the first aircraft.

[0060] As an implementable approach, the expression for the sliding mode attitude control law is: .

[0061] .

[0062] in, For sliding mode control force; The rotational inertia array for the aircraft; Angular acceleration; This is the gain for the constant-rate approaching law; It is a symbolic function; For exponential reaching law coefficients; It is a sliding surface; Let be the derivative of the error between the attitude quaternion of the first aircraft and the desired attitude quaternion of the first aircraft; This is the gain coefficient of the sliding surface; The error between the attitude quaternion of the first aircraft and the desired attitude quaternion of the first aircraft.

[0063] Specifically, the sliding mode attitude control law ensures that the attitude error converges in a finite time during the approach phase.

[0064] Step S6: Based on the optimal control data, the motion information of the first aircraft is updated using the state evolution equation of the first aircraft to obtain the updated motion information of the first aircraft.

[0065] As an feasible approach, the state evolution equation of the first aircraft is expressed as follows: .

[0066] .

[0067] .

[0068] in, The derivative of the position of the first aircraft; The speed of the first aircraft; The derivative of the velocity of the first aircraft; The gravitational constant of the central celestial body; The location of the first aircraft; This represents the optimal velocity pulse increment at the current moment. The angular acceleration of the first aircraft; It is the inverse matrix of the aircraft's rotational inertia matrix; For sliding mode control force; The angular velocity of the first aircraft; The rotational inertia array for the aircraft; Let be the derivative of the attitude quaternion of the first aircraft; For the attitude quaternion of the first aircraft; This is quaternion multiplication.

[0069] Specifically, the first term in the optimal velocity pulse increment sequence As the translational thrust command of the first aircraft, the sliding mode control force The rotational torque command for the first aircraft is applied to it. The state evolution equation of the first aircraft is numerically solved using a Runge-Kutta 4th order (RK4) integrator to update the position, velocity, attitude quaternions and angular velocity of the first aircraft, ensuring the trajectory fidelity in the environment.

[0070] Step S7: Approach the second aircraft based on the updated motion information of the first aircraft.

[0071] Based on the improved model predictive control-based approach method for aircraft proposed in this application, a specific embodiment is provided for illustration. This embodiment uses a Python programming environment and a two-body dynamics model in the J2000 coordinate system to simulate the relative motion of the two aircraft, verifying the feasibility and effectiveness of the method in a microgravity environment. The total simulation duration is 30,000 s, with a time step Δt = 1 s. The second aircraft adopts a maneuver strategy of applying maximum acceleration in a direction away from the first aircraft, and the first aircraft synchronously simulates this behavior. The initial relative distance between the two aircraft is 80 km, maintaining their respective orbital velocities. Success is determined when the relative distance is less than 10 km and remains so for 20 minutes. The parameters in the Model Predictive Control (MPC) method are set to predict the time domain N = 15, and the maximum velocity pulse increment is... The speed is set to 0.1 m / s, and hyperparameters such as cost weight and penalty coefficient are set accordingly. The state integral uses the RK4 method. The overall control flow includes the following steps: Step 1: Construct a two-body dynamic model in the J2000 coordinate system (μ=398600 km). 3 / s 2 Initialize the position, velocity, and mass parameters of both aircraft. Calculate the initial relative distance. =80km, set switching distance Target threshold Time window In the initial state > Upon entering the long-range approximation phase, only the model predictive control method is activated, outputting the current position and velocity information of both aircraft as input for subsequent prediction and optimization.

[0072] Step 2: Simulate maneuvering behavior based on heuristic algorithms. In this example, it is assumed that the target accelerates at maximum speed each step. Maneuver by applying thrust in the opposite direction to the current relative position. Propagate the target state N steps forward using RK4 integral to generate a predicted trajectory sequence. This step aligns with the integration strategy of the simulation environment, ensuring dynamic consistency.

[0073] Step 3, construct a finite-time quadratic programming problem, with the cost function as: .

[0074] The constraints include: dynamic constraints, and the discrete state transition equations based on the two-body model, the formula of which is: .

[0075] .

[0076] .

[0077] The control constraints are: The optimal velocity pulse increment sequence is output by employing a convex optimization algorithm (such as Sequential Quadratic Programming (SLSQP)). .

[0078] Step 4: Extract the first term from the optimal velocity pulse increment sequence. As the thrust command for the current cycle. If the relative distance... Switching to the near-approach phase, the sliding mode attitude control law is used for solution. The sliding surface is defined. and control torque: Finite-time convergence of attitude errors is achieved through sliding surfaces. With synovial control force These are converted into translational thrust commands and rotational torque commands, respectively, and applied to the first aircraft.

[0079] Step 5: Use the Runge-Kutta 4th order (RK4) integrator to numerically solve the state evolution equation of the first aircraft, update the position, velocity, attitude quaternions and angular velocity of the first aircraft, and ensure the trajectory fidelity under high dynamic conditions.

[0080] Step 6, Progress Time t ← t + ΔtReturn to step 1 to reread the status, prediction, and optimization. If within 20 consecutive minutes... d If the distance is less than 10km, it is considered close to success; otherwise, it continues to run until the timeout. Record all data: optimal speed pulse increment sequence, relative distance curve, fuel consumption, etc.

[0081] like Figures 2-4 As shown, in the simulation experiment of this embodiment, Figure 2 The initial positions and trajectories of the two aircraft (i.e., the first and second aircraft) are shown. Initially at a distance of 80 km, the first aircraft rapidly approaches the second using MPC roll optimization. In the initial phase, the distance between the two aircraft gradually decreases, with the relative distance shrinking from 80 km to approximately 40 km. As the maneuvering process progresses, as... Figure 3 As shown, during the approach phase, the distance further decreases to around 15km, switching to close-range approach. At this point, from a global perspective, both sides have already conducted long-distance maneuvers, and the distance difference within 100km is no longer significant; therefore, the trajectories in the diagram almost overlap. Figure 4 As shown, in the final stage, the distance stabilizes at about 5km. The first aircraft completes the approach mission. From a global perspective, both sides have completed long-distance relative maneuvers, and the difference in distance within 100km is no longer significant. Therefore, the trajectories of the two sides in the figure almost overlap.

[0082] The beneficial effects of the aircraft approach method based on improved model predictive control proposed in this application are mainly reflected in the following aspects: (1) Iterative optimization is performed using model predictive control (MPC). In each control cycle, an optimization problem in the finite time domain is constructed in real time. The predicted trajectory sequence of the second aircraft and the multi-objective cost function are integrated. A constrained optimal velocity pulse increment sequence is generated through a convex optimization algorithm, and only the first term is executed to achieve closed-loop rolling control. This mechanism does not require an offline analytical solution and supports online processing of acceleration limiting, fuel budget, and dynamic disturbances. Compared with the PD method or methods based on differential control framework, it has significantly better real-time performance and accuracy.

[0083] (2) A phased control strategy is adopted, which can adaptively switch between two modes: a long-range approach phase and a short-range approach phase, depending on the distance between the two aircraft. Among them, the strategy of using only model predictive control method for iterative optimization ensures efficient convergence in the long-range phase and ensures rapid approach to the second aircraft. The strategy of using model predictive control method and sliding mode attitude control law for joint control ensures rapid attitude acquisition and zeroing of errors within a finite time in the short-range phase, ensuring rapid convergence of high-dynamic short-range approach and accurate execution of commands. Through the design of phase thresholds and sliding mode surfaces, the problems of insufficient real-time constraint processing, poor closed-loop robustness and difficulty in ensuring attitude tracking accuracy in relative maneuvering technology are solved, realizing seamless connection from global path planning to local precision tracking, and improving the success rate and execution accuracy in complex maneuvering tasks.

[0084] (3) To verify the feasibility of the method, a unified simulation environment was constructed to support real-time adaptive adjustment of various aircraft dynamics models, complex environmental disturbances, and MPC parameters. Tests showed that, through the rolling optimization mechanism and phased strategy switching, this method not only adapts to different mission requirements at near and far distances, but also supports real-time response to acceleration constraints, fuel optimization, and target maneuvering disturbances, ultimately forming a set of efficient autonomous maneuvering control frameworks that can be designed, verified, and deployed, applicable to various types of aircraft.

[0085] Based on the same inventive concept, this application also provides an aircraft approach system based on improved model predictive control. The solution provided by this system is similar to the solution described in the above method. Therefore, the specific limitations of one or more embodiments of the aircraft approach system based on improved model predictive control provided below can be found in the limitations of the aircraft approach method based on improved model predictive control described above, and will not be repeated here.

[0086] In one exemplary embodiment, such as Figure 5 As shown, an aircraft approach system based on improved model predictive control is provided, comprising: Module 1 is used to acquire motion information of both aircraft. The two aircraft include: a first aircraft and a second aircraft. The motion information includes: position, velocity, attitude quaternions and angular velocity.

[0087] The second aircraft prediction module 2 is used to generate a predicted trajectory sequence of the second aircraft based on its position and using a heuristic algorithm.

[0088] Distance calculation module 3 is used to calculate the distance between the two aircraft based on their positions.

[0089] Judgment module 4 is used to make judgments based on distance and switching distance to obtain the judgment result.

[0090] The optimal control module 5 is used to solve for the optimal control data based on the judgment result, the predicted trajectory sequence, the position of the second aircraft and the position, attitude quaternion and angular velocity of the first aircraft using an improved model predictive control algorithm. The optimal control data includes: the optimal velocity pulse increment sequence or the optimal velocity pulse increment sequence and the sliding mode control force. The improved model predictive control algorithm introduces a sliding mode attitude control law on the basis of the model predictive control method.

[0091] The update module 6 is used to update the motion information of the first aircraft based on the optimal control data and the state evolution equation of the first aircraft, so as to obtain the updated motion information of the first aircraft.

[0092] The relative motion control module 7 is used to approach the second aircraft based on the updated motion information of the first aircraft.

[0093] In one exemplary embodiment, a computer device is provided, which may be a server or a terminal, and its internal structure diagram may be as follows. Figure 6 As shown, the computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores motion information of both aircraft. The I / O interfaces are used for information exchange between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When executed by the processor, the computer program implements an aircraft approach method based on improved model predictive control.

[0094] Those skilled in the art will understand that Figure 6 The structures shown are merely block diagrams of some structures related to the present application and do not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than shown in the figures, or combine certain components, or have different component arrangements. In an exemplary embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0095] In one exemplary embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.

[0096] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0097] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

[0098] The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, etc., and are not limited to these.

[0099] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0100] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for approaching an aircraft based on improved model predictive control, characterized in that, The aircraft approach method based on improved model predictive control includes: Acquire motion information of two aircraft; the two aircraft include: a first aircraft and a second aircraft; the motion information includes: position, velocity, attitude quaternions and angular velocity; Based on the position of the second aircraft, a heuristic algorithm is used to generate a predicted trajectory sequence for the second aircraft. Calculate the distance between the two aircraft based on their positions; A determination result is obtained based on the distance and the switching distance. Based on the judgment result, the predicted trajectory sequence, the position of the second aircraft and the position, attitude quaternion, and angular velocity of the first aircraft, an improved model predictive control algorithm is used to solve for the optimal control data. The optimal control data includes: the optimal velocity pulse increment sequence or the optimal velocity pulse increment sequence and sliding mode control force. The improved model predictive control algorithm introduces a sliding mode attitude control law on the basis of the model predictive control method. Based on the optimal control data, the motion information of the first aircraft is updated using the state evolution equation of the first aircraft to obtain the updated motion information of the first aircraft. The second aircraft approaches based on the updated motion information of the first aircraft.

2. The aircraft approach method based on improved model predictive control according to claim 1, characterized in that, Based on the determination result, the predicted trajectory sequence, the positions of the second and first aircraft, their attitude quaternions, and angular velocities, an improved model predictive control algorithm is used to solve for the optimal control data, specifically including: When the determination result is that the distance is greater than the switching distance, the model prediction control method is used to perform iterative optimization based on the predicted trajectory sequence to obtain the optimal velocity pulse increment sequence. When the determination result is that the distance is less than or equal to the switching distance, the model predictive control method is used to iteratively optimize the predicted trajectory sequence to obtain the optimal velocity pulse increment sequence; based on the position of the second aircraft and the position, attitude quaternion and angular velocity of the first aircraft, the sliding mode attitude control law is used to calculate the sliding mode control force.

3. The aircraft approach method based on improved model predictive control according to claim 2, characterized in that, Based on the positions of the second and first aircraft, their attitude quaternions, and angular velocities, a sliding mode attitude control law is used to calculate the sliding mode control force, specifically including: Based on the positions of the second and first aircraft, calculate the expected attitude quaternion of the first aircraft. Based on the attitude quaternion of the first aircraft and the expected attitude quaternion of the first aircraft, calculate the error between the attitude quaternion of the first aircraft and the expected attitude quaternion of the first aircraft. The sliding surface is calculated based on the error between the attitude quaternion of the first aircraft and the expected attitude quaternion of the first aircraft. Determine the angular acceleration of the first aircraft based on its angular velocity; The sliding control force is calculated based on the sliding surface and the angular acceleration of the first aircraft.

4. The aircraft approach method based on improved model predictive control according to claim 3, characterized in that, The expression for the sliding mode attitude control law is: ; ; in, For sliding mode control force; The rotational inertia array for the aircraft; Angular acceleration; This is the gain for the constant-rate approaching law; It is a symbolic function; For exponential reaching law coefficients; It is a sliding surface; Let be the derivative of the error between the attitude quaternion of the first aircraft and the desired attitude quaternion of the first aircraft; This is the gain coefficient of the sliding surface; The error between the attitude quaternion of the first aircraft and the desired attitude quaternion of the first aircraft.

5. The aircraft approach method based on improved model predictive control according to claim 2, characterized in that, Based on the predicted trajectory sequence, the model predictive control method is used for iterative optimization to obtain the optimal velocity pulse increment sequence, specifically including: Construct constraints; the constraints include: dynamic constraints and control constraints; Initialize the Hessian matrix; Randomly generate an initial velocity pulse increment sequence; Based on the initial velocity pulse increment sequence and using the dynamic constraints, a predicted trajectory sequence for the first aircraft is generated; A cost function is constructed based on the predicted trajectory sequences of the second and first aircraft. Under the constraints, with the goal of minimizing the cost function, a convex optimization algorithm is used to iteratively optimize the initial velocity pulse increment sequence to obtain the optimal velocity pulse increment sequence.

6. The aircraft approach method based on improved model predictive control according to claim 5, characterized in that, Under the constraints, with the goal of minimizing the cost function, a convex optimization algorithm is used to iteratively optimize the initial velocity pulse increment sequence to obtain the optimal velocity pulse increment sequence, specifically including: The cost function is expanded using the second-order Taylor formula to obtain the expanded cost function; The Hessian matrix is ​​updated using the BFGS formula to obtain the updated Hessian matrix; Based on the updated Hessian matrix and the expanded cost function, a quadratic objective function is constructed. The constraints are linearized to obtain first-order linear constraints. With the goal of minimizing the value of the quadratic objective function, optimization is performed within the first-order linear constraints to obtain the optimal search direction vector; Under the constraints, with the goal of minimizing the cost function, a line search method is used to search under the optimal search direction vector to obtain the optimal control step size. Based on the optimal search direction vector and the optimal control step size, the initial velocity pulse increment sequence is updated to obtain the updated velocity pulse increment sequence. The optimal velocity pulse increment sequence is obtained when the difference between the cost functions of two adjacent iterations is less than the preset difference or the number of iterations reaches the maximum number of iterations.

7. The aircraft approach method based on improved model predictive control according to claim 5, characterized in that, The expression for the cost function is: ; in, The value of the cost function; Total time; Distance error weights; For the first aircraft in Predicted location at any given time; For the second aircraft Predicted location at any given time; To control incremental weights; for The velocity pulse increment at any given moment; As a penalty factor; For velocity pulse penalty terms; This represents the maximum value of the velocity pulse increment. Add weights to tasks.

8. The aircraft approach method based on improved model predictive control according to claim 1, characterized in that, The state evolution equation of the first aircraft is expressed as follows: ; ; ; in, The derivative of the position of the first aircraft; The speed of the first aircraft; The derivative of the velocity of the first aircraft; The gravitational constant of the central celestial body; The location of the first aircraft; It is the first optimal velocity pulse increment in the optimal velocity pulse increment sequence; The angular acceleration of the first aircraft; The transpose of the aircraft's rotational inertia matrix; For sliding mode control force; The angular velocity of the first aircraft; The rotational inertia array for the aircraft; Let be the derivative of the attitude quaternion of the first aircraft; For the attitude quaternion of the first aircraft; This is quaternion multiplication.

9. A computer device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the aircraft approach method based on improved model predictive control according to any one of claims 1-8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the aircraft approach method based on improved model predictive control as described in any one of claims 1-8.