Electric thruster trajectory tracking control method and system based on artificial intelligence

Through artificial intelligence technology, combined with deep learning and reinforcement learning, the electric thruster dynamic model and the physical model are integrated, and the control strategy is optimized to solve the problem of insufficient accuracy and robustness in the electric thruster trajectory tracking control, and achieve high precision and Flexible trajectory tracking control.

CN118466227BActive Publication Date: 2024-09-13BEIJING YIDONG AEROSPACE TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410940212.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-09-13
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

Existing electric thruster trajectory tracking control methods are difficult to meet the requirements for high-precision tracking control, and their robustness to time-varying parameters and external disturbances is insufficient, making it difficult to guarantee control accuracy and robustness.

Method used

Using methods based on artificial intelligence, a data-driven electric thruster dynamics model is constructed through deep learning algorithms and integrated with the physical model, an adaptive reinforcement learning module is introduced, the reward function and objective function are designed, the control strategy is optimized, and a comprehensive control sequence is formed to drive Electric thrusters operate.

Benefits of technology

It improves the accuracy and robustness of electric thruster trajectory tracking control, enhances the controller's intelligent optimization and independent decision-making capabilities, and can adaptively respond to changes in dynamic characteristics and external disturbances to ensure continuous optimization of control performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118466227B
    Figure CN118466227B
Patent Text Reader

Abstract

The present invention provides an electric thruster trajectory tracking control method and system based on artificial intelligence, which relates to the field of artificial intelligence technology, including acquiring real-time operation data collected by electric thruster sensors, constructing a data-driven electric thruster dynamics model, fusing it with a pre-constructed physical model, obtaining an electric thruster trajectory prediction model, setting an objective function according to trajectory tracking errors and control inputs, introducing a soft constraint mechanism, solving the optimal control problem, and obtaining an initial optimal control sequence; constructing an adaptive reinforcement learning module, designing a reward function, and obtaining an optimal control strategy adjustment amount through a strategy iteration algorithm; in each control cycle, combining the obtained initial optimal control sequence with the optimal control strategy adjustment amount learned by the reinforcement learning module to obtain a comprehensive control sequence, and using the first element of the comprehensive control sequence as the actual control instruction at the current moment to drive the electric thruster to operate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to artificial intelligence technology, and in particular to an electric thruster trajectory tracking control method and system based on artificial intelligence. Background Art

[0002] Electric thrusters use electricity as a power source, and use electromagnetic fields to accelerate and discharge plasma to generate thrust. They have the advantages of high specific impulse and flexible adjustment, and are widely used in satellite attitude and orbit control. However, electric thrusters have low thrust, and their dynamic models are complex and highly nonlinear, which leads to challenges such as large model uncertainty and difficulty in ensuring control accuracy in their trajectory tracking control.

[0003] Traditional electric thruster control methods mainly include PID control, sliding mode control, robust control, etc. PID control has a simple structure and is easy to implement, but it is difficult to meet the requirements of high-precision tracking control; sliding mode control has strong robustness to parameter perturbations and external disturbances, but there is a problem of jitter; robust control can handle a certain degree of modeling errors, but the control performance is affected by conservatism. The above methods all rely on the prior knowledge of the electric thruster dynamics model, and it is difficult to adapt to the changes in model uncertainty caused by the time-varying electric thruster parameters and external disturbances.

[0004] Therefore, it is urgent to develop a new electric thruster trajectory tracking control method that integrates artificial intelligence technology and adaptive model predictive control methods, which can improve control accuracy and robustness while further enhancing the intelligent optimization and autonomous decision-making capabilities of the controller. This is of great significance for aerospace missions such as high-precision attitude and orbit control, on-orbit service and maintenance, and space target tracking. Summary of the invention

[0005] The embodiments of the present invention provide an electric thruster trajectory tracking control method and system based on artificial intelligence, which can solve the problems in the prior art.

[0006] According to a first aspect of the embodiments of the present invention,

[0007] Provided is an electric thruster trajectory tracking control method based on artificial intelligence, comprising:

[0008] Acquire the real-time operation data collected by the electric thruster sensor, build a data-driven electric thruster dynamics model through the deep learning algorithm, fuse the obtained electric thruster dynamics model with the pre-built physical model to obtain the electric thruster trajectory prediction model, and based on the electric thruster trajectory prediction model, set the objective function according to the trajectory tracking error and control input, introduce the soft constraint mechanism, solve the optimal control problem, and obtain an initial optimal control sequence;

[0009] Construct an adaptive reinforcement learning module with trajectory tracking error, electric thruster state variables and model error statistical characteristics as state input and the adjustment amount of dynamic optimal control sequence as action output, design reward function, and obtain the optimal control strategy adjustment amount through policy iteration algorithm;

[0010] In each control cycle, the initial optimal control sequence is combined with the optimal control strategy adjustment amount learned by the reinforcement learning module to obtain a comprehensive control sequence. The first element of the comprehensive control sequence is used as the actual control instruction at the current moment to drive the electric thruster to operate.

[0011] In an optional embodiment,

[0012] Based on the electric thruster trajectory prediction model, the objective function is set according to the trajectory tracking error and control input, and the soft constraint mechanism is introduced to solve the optimal control problem. An initial optimal control sequence is obtained, including:

[0013] The state variables and control inputs are used as inputs of the electric thruster trajectory prediction model to calculate the state prediction values, and the state prediction sequence is output through the electric thruster trajectory prediction model according to the state prediction values ​​and control inputs at different times;

[0014] Obtain reference trajectory sequences at different times, and obtain trajectory tracking error sequences based on the reference trajectory sequences and the state prediction sequences;

[0015] Slack variables are introduced to obtain soft constraints of state variables. An objective function is constructed according to trajectory tracking error, control input and soft constraints. The objective function is minimized through an adaptive optimization algorithm to obtain an initial optimal control sequence.

[0016] In an optional embodiment,

[0017] The objective function is calculated as follows:

[0018] ;

[0019] Among them, J represents the objective function, N represents the number of prediction time steps, and Q i represents the state variable error weighting matrix, y k+i represents the predicted value of the state variable at time k+i, r k+i represents the reference value of the state variable at time k+i, u k+i represents the control input at time k+i, R i represents the control input weighting matrix, ρ i represents the penalty factor at time k+i, ε k+i represents the slack variable at time k+i.

[0020] In an optional embodiment,

[0021] An adaptive reinforcement learning module is constructed with trajectory tracking error, electric thruster state variables and model error statistical characteristics as state input and the adjustment amount of dynamic optimal control sequence as action output. The reward function is designed and the optimal control strategy adjustment amount is obtained through the policy iteration algorithm, including:

[0022] The electric thruster control problem is modeled as a partially observable Markov decision process, a meta-reinforcement learning model is constructed, and a model-independent meta-reinforcement learning algorithm is used to optimize the policy function to obtain the first control strategy.

[0023] The electric thruster trajectory tracking control is divided into multiple spatiotemporal scales, and a meta-reinforcement learning module is constructed at each scale to optimize the first control strategy of the corresponding scale. By designing reward functions and state characteristics, the coupling relationship between modules of different scales is established, and the hierarchical strategy is collaboratively optimized by maximizing the global reward function.

[0024] According to the pre-built electric thruster physical model, the prior distribution of the first control strategy is obtained, and the prior distribution is used as the initial strategy of the meta-reinforcement learning model. The physical structure of the electric thruster is introduced into the meta-strategy network of the meta-reinforcement learning model. The optimal control strategy that integrates prior knowledge and data-driven is obtained through the gradient descent algorithm.

[0025] In an optional embodiment,

[0026] The electric thruster trajectory tracking control is divided into multiple spatiotemporal scales, and a meta-reinforcement learning module is constructed at each scale to optimize the first control strategy of the corresponding scale. By designing the reward function and state characteristics, the coupling relationship between modules of different scales is established. The collaborative optimization of hierarchical strategies is performed by maximizing the global reward function, including:

[0027] The meta-RL module at each scale is regarded as an agent. The communication topology between agents is modeled through graph neural networks. Agents exchange state information and strategy information through message passing mechanisms, and hierarchical strategies are collaboratively optimized by maximizing the global reward function.

[0028] Among them, the agent's policy network parameter update formula is as follows:

[0029] ;

[0030] in, represents the updated policy network parameters of agent t, α represents the learning rate, and θ t represents the initial policy network update parameters of agent t, J t (θ t ) represents the objective function of the policy network update, β represents the synchronization coefficient, Mt represents the set of neighbor nodes of agent t, j represents the jth agent, θ j represents the policy network parameters of the jth agent.

[0031] In an optional embodiment,

[0032] In each control cycle, the initial optimal control sequence is combined with the optimal control strategy adjustment amount learned by the reinforcement learning module to obtain a comprehensive control sequence. The first element of the comprehensive control sequence is used as the actual control instruction at the current moment to drive the electric thruster to operate, including:

[0033] At the beginning of each control cycle, the model predictive control algorithm is used, based on the electric thruster dynamics model, with the current state as the initial condition, to obtain the initial optimal control sequence by solving the optimal control problem within a preset period;

[0034] Using the policy network obtained by meta-reinforcement learning, taking the current state as input, calculating the current policy adjustment amount, combining the initial optimal control sequence with the current policy adjustment amount, and obtaining a comprehensive control sequence;

[0035] The first element of the comprehensive control sequence is used as the control instruction at the current moment to drive the electric thruster to operate and obtain the actual control quantity at the current moment. The current state of the electric thruster is updated according to the actual control quantity, and the updated current state is used as the initial state of the next control cycle. The above steps are repeated until the entire trajectory tracking task is completed.

[0036] In an optional embodiment,

[0037] At the beginning of each control cycle, the model predictive control algorithm is used, based on the electric thruster dynamics model, with the current state as the initial condition, to solve the optimal control problem within the preset period, and the initial optimal control sequence is obtained, including:

[0038] Obtain the output measurement value of the electric thruster at the current moment, and use the recursive least squares algorithm to identify the parameters of the electric thruster dynamics model online;

[0039] The estimated values ​​of the model parameters obtained by identification and the output measurement values ​​at the current moment are input into the Kalman filter to calculate the optimal estimation results of the state variables of the electric thruster;

[0040] An adaptive model controller is constructed, the optimal estimation result is used as the initial state of the adaptive model predictive controller, the objective function and constraint conditions are constructed, the adaptive model predictive control optimization problem is solved, and an initial optimal control sequence is obtained.

[0041] The second aspect of the present invention,

[0042] Provided is an electric thruster trajectory tracking control system based on artificial intelligence, comprising:

[0043] The first unit is used to obtain real-time operation data collected by the electric thruster sensor, build a data-driven electric thruster dynamics model through a deep learning algorithm, fuse the obtained electric thruster dynamics model with the pre-built physical model to obtain an electric thruster trajectory prediction model, and based on the electric thruster trajectory prediction model, set the objective function according to the trajectory tracking error and control input, introduce a soft constraint mechanism, solve the optimal control problem, and obtain an initial optimal control sequence;

[0044] The second unit is used to construct an adaptive reinforcement learning module with trajectory tracking error, electric thruster state variables and model error statistical characteristics as state input and the adjustment amount of dynamic optimal control sequence as action output, design reward function, and obtain the optimal control strategy adjustment amount through policy iteration algorithm;

[0045] The third unit is used to combine the initial optimal control sequence obtained with the optimal control strategy adjustment amount learned by the reinforcement learning module in each control cycle to obtain a comprehensive control sequence, and use the first element of the comprehensive control sequence as the actual control instruction at the current moment to drive the electric thruster to operate.

[0046] According to a third aspect of the embodiments of the present invention,

[0047] An electronic device is provided, comprising:

[0048] processor;

[0049] a memory for storing processor-executable instructions;

[0050] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.

[0051] A fourth aspect of the embodiments of the present invention is:

[0052] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.

[0053] In this embodiment, the dynamic characteristics are extracted from the electric propulsion machine operation data by a deep learning algorithm, a data-driven electric propulsion machine dynamic model is constructed, and it is integrated with the physical model to obtain a more accurate and comprehensive description of the electric propulsion machine dynamics, improve the accuracy of the trajectory prediction model, and provide reliable prior knowledge for model predictive control. An adaptive reinforcement learning module is introduced to autonomously learn and adjust the optimal control strategy according to information such as trajectory tracking error, electric propulsion machine state variables and model error statistical characteristics, so that the control system can adaptively optimize the control decision according to the changes in the dynamic characteristics of the electric propulsion machine, and improve the robustness and adaptability of the control system. The optimal control strategy adjustment amount is continuously learned and updated by the reinforcement learning module, and dynamically combined with the initial optimal control sequence obtained by the model predictive control to form a comprehensive control sequence, so as to realize the online self-optimization of the controller parameters, so that the control system can autonomously adjust the control strategy according to the actual operating state and performance indicators, and ensure the continuous optimization of the control effect. The soft constraint mechanism is introduced to handle various physical constraints and performance requirements, and the feasibility and effectiveness of solving the optimal control problem are improved. At the same time, the control strategy is continuously optimized by the adaptive reinforcement learning module, so that the control system can cope with various uncertainties and disturbances in actual engineering, and ensure the robustness and reliability of the control performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 It is a flow chart of an electric thruster trajectory tracking control method based on artificial intelligence according to an embodiment of the present invention;

[0055] Figure 2 It is a schematic diagram of the structure of an electric thruster trajectory tracking control system based on artificial intelligence according to an embodiment of the present invention. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0057] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0058] Figure 1 FIG. 1 is a flow chart of an electric thruster trajectory tracking control method based on artificial intelligence according to an embodiment of the present invention. Figure 1 As shown, the method includes:

[0059] S101. Acquire real-time operation data collected by electric thruster sensors, build a data-driven electric thruster dynamics model through a deep learning algorithm, fuse the obtained electric thruster dynamics model with a pre-built physical model to obtain an electric thruster trajectory prediction model, set an objective function based on the electric thruster trajectory prediction model according to the trajectory tracking error and control input, introduce a soft constraint mechanism, solve the optimal control problem, and obtain an initial optimal control sequence;

[0060] Among them, the physical model of the electric thruster is based on the physical mechanism of the electric thruster, taking into account factors such as thruster structural parameters, electromagnetic field distribution, and particle motion characteristics. By using model reduction technology, a simplified control-oriented physical model is obtained while maintaining key dynamic characteristics, which can be used for real-time trajectory optimization solutions.

[0061] In order to further improve the accuracy and adaptability of the model, it is also necessary to learn the electric thruster dynamics model from a data-driven perspective. Using the real-time operating data collected by the electric thruster sensor, such as thrust, specific impulse, discharge voltage, discharge current, magnetic field strength, etc., a data-driven electric thruster dynamics model is constructed through deep learning algorithms such as long short-term memory network (LSTM). The LSTM network can effectively process time series data and has the ability to learn long-term dependencies, which is suitable for modeling the dynamic characteristics of electric thrusters.

[0062] Based on LSTM dynamic modeling, attention mechanism and transfer learning technology are introduced to improve the model's adaptability to time-varying working conditions and task switching. The attention mechanism can adaptively adjust the model's focus and highlight the role of key influencing factors. Transfer learning technology can use existing knowledge of similar tasks to accelerate the model's training process and achieve rapid adaptation to new working modes.

[0063] Finally, the data-driven model is integrated with the physical model to form an electric thruster trajectory prediction model. This model can take into account both the explanatory power of the physical mechanism and the accuracy of data-driven, and achieve high-confidence prediction of the electric thruster trajectory. Model fusion can adopt weighted averaging, Bayesian fusion and other methods, and the weights can be adaptively adjusted according to the prediction errors of the physical model and the data-driven model.

[0064] In an optional embodiment,

[0065] Based on the electric thruster trajectory prediction model, the objective function is set according to the trajectory tracking error and control input, and the soft constraint mechanism is introduced to solve the optimal control problem. An initial optimal control sequence is obtained, including:

[0066] The state variables and control inputs are used as inputs of the electric thruster trajectory prediction model to calculate the state prediction values, and the state prediction sequence is output through the electric thruster trajectory prediction model according to the state prediction values ​​and control inputs at different times;

[0067] Obtain reference trajectory sequences at different times, and obtain trajectory tracking error sequences based on the reference trajectory sequences and the state prediction sequences;

[0068] Slack variables are introduced to obtain soft constraints of state variables. An objective function is constructed according to trajectory tracking error, control input and soft constraints. The objective function is minimized through an adaptive optimization algorithm to obtain an initial optimal control sequence.

[0069] In an optional embodiment,

[0070] The objective function is calculated as follows:

[0071] ;

[0072] Among them, J represents the objective function, N represents the number of prediction time steps, and Q i represents the state variable error weighting matrix, y k+i represents the predicted value of the state variable at time k+i, r k+i represents the reference value of the state variable at time k+i, u k+i represents the control input at time k+i, R i represents the control input weighting matrix, ρ i represents the penalty factor at time k+i, ε k+i represents the slack variable at time k+i.

[0073] Exemplarily, first, the trajectory of the thruster is predicted using the electric thruster trajectory prediction model. Specifically, the prediction start time and prediction end time are set, and the state variables and control inputs are used as inputs of the twin digital model to calculate the state prediction value at the next moment. The state prediction value and control input at the next moment are used as inputs of the thruster trajectory prediction model to continue calculating the state prediction value at the next moment. Repeat the above steps until the state prediction value at the prediction end time is calculated, and the state prediction sequence is output.

[0074] Next, the trajectory tracking error is defined. The reference trajectory sequence from the prediction start time to the prediction end time is obtained, and the reference trajectory sequence is subtracted from the values ​​at the corresponding time of the state prediction sequence to obtain the trajectory tracking error sequence.

[0075] Considering factors such as trajectory tracking accuracy, energy consumption, and thruster health status, the objective function is designed. First, the cost term of trajectory tracking error is established, and the weighted square sum of trajectory tracking error at each moment is calculated. The cost term of control input is established, and the weighted square sum of control input at each moment is calculated. The cost term of soft constraint is established, and slack variables and penalty factors are introduced. The product of the square of slack variables and penalty factors is calculated. The cost term of trajectory tracking error, the cost term of control input, and the cost term of soft constraint are added together to obtain the objective function.

[0076] On the basis of the objective function, soft constraints are introduced. Specifically, given the upper and lower bounds of the state variables, slack variables are introduced to transform the constraints of the state variables into soft constraints. At the same time, given the upper and lower bounds of the control input, hard constraints of the control input are established to limit the value range of the slack variables and make them non-negative.

[0077] So far, the electric thruster trajectory tracking control problem has been described as an adaptive model predictive control problem with soft constraints. The problem is solved using the mobile horizon adaptive optimization algorithm and the optimal control sequence is obtained.

[0078] Specifically, establish the optimization goal, that is, minimize the objective function, establish constraints, including state prediction model, state soft constraints, control input hard constraints and slack variable non-negative constraints, select optimization algorithms, such as sequential quadratic programming, interior point method, etc., input the state measurement value at the current moment and the control input at the top moment, and update the control input sequence and slack variables through iterative optimization algorithm until the convergence conditions are met. Output the optimized control input sequence.

[0079] The first element in the solved control sequence is used as the optimal control input at the current moment and applied to the electric thruster. Then, at the next sampling moment, the above mobile horizon optimization process is repeated according to the newly obtained state measurement value to achieve closed-loop feedback control.

[0080] In this embodiment, by taking the state variables and control input as the input of the electric thruster trajectory prediction model, calculating the state prediction values ​​at different times, and outputting the state prediction sequence, the prediction of the future motion trajectory of the electric thruster is realized, and prior information is provided for trajectory tracking control. By obtaining the reference trajectory sequence and comparing it with the state prediction sequence, the trajectory tracking error sequence is obtained, which is used as an important part of the controller optimization objective function, so that the controller can adjust the control strategy in real time according to the dynamic changes of the trajectory tracking error, minimize the tracking error, and improve the accuracy and dynamic performance of the trajectory tracking control. By introducing the soft constraint mechanism and the adaptive optimization algorithm, the control system can adaptively adjust the control strategy while meeting various physical constraints and performance requirements. By organically integrating the electric thruster trajectory prediction model and the soft constraint optimization, the controller parameters are adaptively optimized while improving the trajectory tracking control accuracy and enhancing the controller constraint processing capability, and the robustness and reliability of the control system are improved, providing a new optimization method for the electric thruster trajectory tracking control.

[0081] S102. Construct an adaptive reinforcement learning module with trajectory tracking error, electric thruster state variables and model error statistical characteristics as state input and the adjustment amount of dynamic optimal control sequence as action output, design a reward function, and obtain the optimal control strategy adjustment amount through a policy iteration algorithm;

[0082] In an optional embodiment,

[0083] An adaptive reinforcement learning module is constructed with trajectory tracking error, electric thruster state variables and model error statistical characteristics as state input and the adjustment amount of dynamic optimal control sequence as action output. The reward function is designed and the optimal control strategy adjustment amount is obtained through the policy iteration algorithm, including:

[0084] The electric thruster control problem is modeled as a partially observable Markov decision process, a meta-reinforcement learning model is constructed, and a model-independent meta-reinforcement learning algorithm is used to optimize the policy function to obtain the first control strategy.

[0085] The electric thruster trajectory tracking control is divided into multiple spatiotemporal scales, and a meta-reinforcement learning module is constructed at each scale to optimize the first control strategy of the corresponding scale. By designing reward functions and state characteristics, the coupling relationship between modules of different scales is established, and the hierarchical strategy is collaboratively optimized by maximizing the global reward function.

[0086] According to the pre-built electric thruster physical model, the prior distribution of the first control strategy is obtained, and the prior distribution is used as the initial strategy of the meta-reinforcement learning model. The physical structure of the electric thruster is introduced into the meta-strategy network of the meta-reinforcement learning model. The optimal control strategy that integrates prior knowledge and data-driven is obtained through the gradient descent algorithm.

[0087] For example, the electric thruster control problem is first modeled as a Markov decision process, and then the state space is constructed, and the trajectory tracking error, electric thruster state variables and model error statistical characteristics are used as state inputs of the reinforcement learning module. Among them, the trajectory tracking error characterizes the control performance, the electric thruster state variables reflect the thruster working state, and the model error statistical characteristics measure the prediction accuracy of the twin model. By integrating these three types of information, the key influencing factors of the electric thruster control process can be fully characterized.

[0088] Construct an action space and use the adjustment amount of the dynamic optimal control sequence as the action output of the reinforcement learning module. Compared with directly outputting the complete control sequence, using the adjustment amount as the optimization variable can reduce the dimension of the action space while ensuring control continuity and improve the efficiency of strategy search.

[0089] Design the reward function. Specifically, consider factors such as trajectory tracking accuracy, energy consumption, and thruster health status. When the tracking error is small, the energy consumption is low, and the thruster works within a safe range, a large positive reward is given; conversely, when there is a large tracking error, excessive energy consumption, or an abnormal thruster condition, a negative penalty is given. At the same time, a decreasing factor and a termination reward are introduced to encourage the agent to reach the optimization goal as soon as possible.

[0090] Since the state variables of electric thrusters are usually difficult to observe directly and need to be inferred indirectly through sensor measurement data, there is uncertainty in the state observation. In order to characterize this uncertainty, a confidence metric is introduced to indicate the credibility of the current state observation. The confidence metric can be calculated based on Bayesian inference or information theory metrics (such as mutual information, KL divergence, etc.), reflecting the difference between the posterior distribution of the state estimate and the true distribution. Using the confidence metric as an additional input to the meta-reinforcement learning model can help the agent adaptively adjust the exploration-exploitation trade-off during the policy optimization process and improve the robustness of the decision.

[0091] The model-independent meta-reinforcement learning algorithm is used to directly optimize the policy function through methods such as gradient descent, without explicitly establishing a state transition probability model. By introducing the importance sampling ratio and truncation mechanism, it is possible to ensure monotonous improvement of the policy while avoiding drastic fluctuations in the policy and improving training stability.

[0092] Based on the meta-reinforcement learning model, a meta-learning mechanism is introduced, and a meta-policy network is designed as the initialization parameters of each task-specific policy network. In the meta-training phase, the meta-policy network parameters are optimized by minimizing the policy loss function on each task. In the meta-testing phase, for new tasks, the learned meta-policy network is quickly adapted to the new task through a small number of gradient descent steps to obtain a dedicated strategy with high sample efficiency and strong generalization ability.

[0093] In order to further improve the performance and robustness of policy optimization, a multi-scale hierarchical reinforcement learning architecture is designed to achieve the coordination of global optimization and local tuning. Specifically, the electric thruster control problem is divided into multiple time scales and spatial scales, such as thruster level, attitude control level, and trajectory planning level. At each scale, an independent meta-reinforcement learning module is constructed to optimize the control strategy of the corresponding scale. The low-level module is responsible for rapid response to local disturbances, and the high-level module is responsible for global optimization and coordination.

[0094] In the process of hierarchical strategy optimization, meta-reinforcement learning modules of different scales are not trained independently, but the coupling relationship between layers is established by designing reasonable reward functions and state features. For example, the state observation and action output of the low-level module are used as the input of the high-level module, and the policy output of the high-level module is used as part of the reward function of the low-level module to guide the low-level strategy to optimize in the direction of global optimization. At the same time, the high-level strategy also needs to adapt to the changes of the low-level strategy to ensure the consistency and optimality of the overall decision.

[0095] By integrating prior knowledge based on physical laws to accelerate and optimize the interpretation of strategy search, the electric thruster is physically modeled using electromagnetic field theory, plasma dynamics equations, etc., to obtain the prior distribution of control strategies. This prior distribution is used as the initial strategy of the meta-reinforcement learning model to guide the strategy search towards a physically feasible solution. By introducing physical structures into the strategy network, the interpretability and robustness of the learning strategy are improved, and ultimately the optimal control strategy that integrates prior knowledge and data-driven is obtained.

[0096] In an optional embodiment,

[0097] The electric thruster trajectory tracking control is divided into multiple spatiotemporal scales, and a meta-reinforcement learning module is constructed at each scale to optimize the first control strategy of the corresponding scale. By designing the reward function and state characteristics, the coupling relationship between modules of different scales is established. The collaborative optimization of hierarchical strategies is performed by maximizing the global reward function, including:

[0098] The meta-RL module at each scale is regarded as an agent. The communication topology between agents is modeled through graph neural networks. Agents exchange state information and strategy information through message passing mechanisms, and hierarchical strategies are collaboratively optimized by maximizing the global reward function.

[0099] Among them, the agent's policy network parameter update formula is as follows:

[0100] ;

[0101] in, represents the updated policy network parameters of agent t, α represents the learning rate, and θt represents the initial policy network update parameters of agent t, J t (θ t ) represents the objective function of the policy network update, β represents the synchronization coefficient, M t represents the set of neighbor nodes of agent t, j represents the jth agent, θ j represents the policy network parameters of the jth agent.

[0102] In this embodiment, by constructing a meta-reinforcement learning model, the electric thruster control problem can be modeled, and the model-independent meta-reinforcement learning algorithm is used to optimize the policy function to obtain the first control strategy. This method can improve the control strategy through learning and optimization, and improve the performance and efficiency of the electric thruster. The electric thruster trajectory tracking control is divided into multiple spatiotemporal scales, and a meta-reinforcement learning module is constructed on each scale to optimize the first control strategy of the corresponding scale. By designing the reward function and state characteristics, the coupling relationship between modules of different scales is established, and the hierarchical strategy is collaboratively optimized by maximizing the global reward function. This method can optimize the control strategy on multiple scales to better adapt to different control requirements and environmental changes. The physical structure of the electric thruster is introduced into the meta-strategy network of the meta-reinforcement learning model, and optimized by the gradient descent algorithm, thereby integrating the prior knowledge and data-driven optimal control strategy. By treating the meta-reinforcement learning module of each scale as an intelligent agent, it is possible to promote information sharing and cooperation between modules of different scales, improve the overall control performance, and thus improve the control performance and effect of the electric thruster.

[0103] S103. In each control cycle, the obtained initial optimal control sequence is combined with the optimal control strategy adjustment amount learned by the reinforcement learning module to obtain a comprehensive control sequence, and the first element of the comprehensive control sequence is used as the actual control instruction at the current moment to drive the electric thruster to operate.

[0104] In an optional embodiment,

[0105] In each control cycle, the initial optimal control sequence is combined with the optimal control strategy adjustment amount learned by the reinforcement learning module to obtain a comprehensive control sequence. The first element of the comprehensive control sequence is used as the actual control instruction at the current moment to drive the electric thruster to operate, including:

[0106] At the beginning of each control cycle, the model predictive control algorithm is used, based on the electric thruster dynamics model, with the current state as the initial condition, to obtain the initial optimal control sequence by solving the optimal control problem within a preset period;

[0107] Using the policy network obtained by meta-reinforcement learning, taking the current state as input, calculating the current policy adjustment amount, combining the initial optimal control sequence with the current policy adjustment amount, and obtaining a comprehensive control sequence;

[0108] The first element of the comprehensive control sequence is used as the control instruction at the current moment to drive the electric thruster to operate and obtain the actual control quantity at the current moment. The current state of the electric thruster is updated according to the actual control quantity, and the updated current state is used as the initial state of the next control cycle. The above steps are repeated until the entire trajectory tracking task is completed.

[0109] For example, at the beginning of each control cycle, the MPC algorithm is used to solve the optimization control problem and obtain the optimal control sequence within a period of time from the current moment. The MPC algorithm is based on the electric propulsion dynamics model. Through rolling optimization, the current state is used as the initial condition at each moment to predict the state trajectory of the system within a period of time in the future, and solve the optimal control problem in a finite time domain to obtain the optimal control sequence.

[0110] In order to overcome the limitations of the MPC algorithm, a reinforcement learning module is introduced to adaptively adjust the control strategy. Specifically, the policy network obtained by meta-reinforcement learning is used to calculate a policy adjustment amount with the current state as input. The policy adjustment amount reflects the empirical knowledge learned based on the real system operation data, which can correct the initial optimal control sequence obtained by the MPC algorithm and improve the adaptive ability of the control strategy.

[0111] The initial optimal control sequence obtained by the MPC algorithm is combined with the strategy adjustment calculated by the reinforcement learning module to obtain a comprehensive control sequence. The comprehensive control sequence incorporates the adaptive adjustment of the reinforcement learning module on the basis of the initial optimal control sequence, which can better cope with modeling errors and external disturbances and improve the robustness of the control system.

[0112] The first element of the integrated control sequence is used as the actual control instruction at the current moment to drive the electric thruster to operate. The electric thruster adjusts the thrust size and direction according to the control instruction to achieve trajectory tracking control.

[0113] After executing the control command at the current moment, the system enters the next control cycle and repeats the above steps until the entire trajectory tracking task is completed. By repeatedly executing the process of "initial optimal control sequence solution-reinforcement learning strategy adjustment-comprehensive control sequence generation-control command execution" in each control cycle, the online optimization and adaptive adjustment of the electric thruster trajectory tracking control can be achieved, and the real-time, robustness and intelligence level of the control system can be improved.

[0114] In an optional embodiment,

[0115] At the beginning of each control cycle, the model predictive control algorithm is used, based on the electric thruster dynamics model, with the current state as the initial condition, to solve the optimal control problem within the preset period, and the initial optimal control sequence is obtained, including:

[0116] Obtain the output measurement value of the electric thruster at the current moment, and use the recursive least squares algorithm to identify the parameters of the electric thruster dynamics model online;

[0117] The estimated values ​​of the model parameters obtained by identification and the output measurement values ​​at the current moment are input into the Kalman filter to calculate the optimal estimation results of the state variables of the electric thruster;

[0118] An adaptive model controller is constructed, the optimal estimation result is used as the initial state of the adaptive model predictive controller, the objective function and constraint conditions are constructed, the adaptive model predictive control optimization problem is solved, and an initial optimal control sequence is obtained.

[0119] Exemplarily, a recursive least squares algorithm is used to perform online identification of unknown parameters in the electric thruster dynamics model. Specifically, first obtain the output measurement value of the electric thruster at the current moment, and use the parameter estimation value at the previous moment to calculate the output prediction value at the current moment. Calculate the parameter estimation error at the current moment, that is, the difference between the actual output and the predicted output, and update the parameter estimation value based on the parameter estimation error. During the update process, it is necessary to calculate the gain matrix and the error covariance matrix, and introduce a forgetting factor to gradually forget the influence of past data. The updated parameter estimation value is used for identification at the next moment, and the above steps are repeated to achieve continuous online identification of parameters.

[0120] The Kalman filter (KF) algorithm is used to estimate the state variables of the electric thruster based on the estimated values ​​of the electric thruster dynamic model parameters obtained by identification. Specifically, the one-step prediction value of the state at the current moment is calculated based on the state estimation value and control input at the previous moment.

[0121] Calculate the one-step prediction error covariance matrix, use the output measurement value at the current moment to calculate the Kalman gain, use the Kalman gain to update the state estimate, and obtain the filter estimate at the current moment.

[0122] Optionally, the filter estimation error covariance matrix is ​​updated, the filter estimation value is used as the initial state estimation at the next moment, and the above steps are repeated to achieve continuous estimation of the state.

[0123] The objective function of the adaptive model predictive control (AMPC) optimization problem is constructed, which includes two parts: tracking error and control increment. The tracking error represents the deviation between the electric thruster output and the reference trajectory in the future prediction time domain, and the control increment represents the change of the control amount applied at adjacent control moments.

[0124] Establish constraints on future control sequences, mainly including control quantity amplitude constraints and control increment amplitude constraints, as well as prediction equations for electric thruster state variables and output variables.

[0125] Taking the current state estimate as the initial condition, the AMPC optimization problem is solved using sequential quadratic programming and other optimization algorithms to obtain the optimal control sequence in the future.

[0126] The first element of the optimal control sequence is taken as the control instruction at the current moment and applied to the electric thruster. According to the actual output of the electric thruster, the weight matrix of the tracking error in the objective function is updated, the lengths of the prediction time domain and the control time domain are adjusted, and the performance of the AMPC controller is adaptively optimized.

[0127] Optionally, the above steps are repeated to realize real-time closed-loop iteration of the AMPC controller and the electric thruster dynamics model parameter identification and state estimation algorithm, and finally realize high-precision trajectory tracking control of the electric thruster.

[0128] In this embodiment, the online parameter identification of the electric thruster dynamic model is realized by the recursive least squares algorithm, and the state variables of the electric thruster are estimated by the Kalman filter algorithm to obtain more accurate model parameters and state information, providing a reliable optimization basis for the AMPC controller, thereby improving the trajectory tracking control accuracy. According to the actual output of the electric thruster, the tracking error weight matrix in the objective function of the AMPC controller is adaptively adjusted, and the length of the prediction time domain and the control time domain are dynamically optimized, so that the controller can autonomously adjust the control strategy according to the dynamic characteristics of the closed-loop system to ensure the continuous optimization of the control performance. By combining model parameter identification, state estimation and adaptive model predictive control, the control system is endowed with the ability to autonomously learn and adapt to the dynamic characteristics of the electric thruster, reflecting the characteristics of intelligent control, realizing the self-optimization of controller parameters and the adaptation of control strategies, with the advantages of high intelligence and strong engineering practicality, providing an effective way for high-performance control of electric thrusters, and having important application value for tasks such as spacecraft attitude and orbit control and on-orbit service.

[0129] Figure 2 FIG. 1 is a schematic diagram of the structure of an electric thruster trajectory tracking control system based on artificial intelligence according to an embodiment of the present invention. Figure 2 As shown, the system comprises:

[0130] The first unit is used to obtain real-time operation data collected by the electric thruster sensor, build a data-driven electric thruster dynamics model through a deep learning algorithm, fuse the obtained electric thruster dynamics model with the pre-built physical model to obtain an electric thruster trajectory prediction model, and based on the electric thruster trajectory prediction model, set the objective function according to the trajectory tracking error and control input, introduce a soft constraint mechanism, solve the optimal control problem, and obtain an initial optimal control sequence;

[0131] The second unit is used to construct an adaptive reinforcement learning module with trajectory tracking error, electric thruster state variables and model error statistical characteristics as state input and the adjustment amount of dynamic optimal control sequence as action output, design reward function, and obtain the optimal control strategy adjustment amount through policy iteration algorithm;

[0132] The third unit is used to combine the initial optimal control sequence obtained with the optimal control strategy adjustment amount learned by the reinforcement learning module in each control cycle to obtain a comprehensive control sequence, and use the first element of the comprehensive control sequence as the actual control instruction at the current moment to drive the electric thruster to operate.

[0133] According to a third aspect of the embodiments of the present invention,

[0134] An electronic device is provided, comprising:

[0135] processor;

[0136] a memory for storing processor-executable instructions;

[0137] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.

[0138] A fourth aspect of the embodiments of the present invention is:

[0139] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.

[0140] The present invention may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.

[0141] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. An electric thruster trajectory tracking control method based on artificial intelligence, characterized in that: include: Acquire the real-time operation data collected by the electric thruster sensor, build a data-driven electric thruster dynamics model through the deep learning algorithm, fuse the obtained electric thruster dynamics model with the pre-built physical model to obtain the electric thruster trajectory prediction model, and based on the electric thruster trajectory prediction model, set the objective function according to the trajectory tracking error and control input, introduce the soft constraint mechanism, solve the optimal control problem, and obtain an initial optimal control sequence; Construct an adaptive reinforcement learning module with trajectory tracking error, electric thruster state variables and model error statistical characteristics as state input and the adjustment amount of dynamic optimal control sequence as action output, design reward function, and obtain the optimal control strategy adjustment amount through policy iteration algorithm; In each control cycle, the initial optimal control sequence is combined with the optimal control strategy adjustment amount learned by the reinforcement learning module to obtain a comprehensive control sequence, and the first element of the comprehensive control sequence is used as the actual control instruction at the current moment to drive the electric thruster to operate; In each control cycle, the initial optimal control sequence is combined with the optimal control strategy adjustment amount learned by the reinforcement learning module to obtain a comprehensive control sequence. The first element of the comprehensive control sequence is used as the actual control instruction at the current moment to drive the electric thruster to operate, including: At the beginning of each control cycle, the model predictive control algorithm is used, based on the electric thruster dynamics model, with the current state as the initial condition, to obtain the initial optimal control sequence by solving the optimal control problem within a preset period; Using the policy network obtained by meta-reinforcement learning, taking the current state as input, calculating the current policy adjustment amount, combining the initial optimal control sequence with the current policy adjustment amount, and obtaining a comprehensive control sequence; The first element of the comprehensive control sequence is used as the control instruction at the current moment to drive the electric thruster to operate and obtain the actual control quantity at the current moment. The current state of the electric thruster is updated according to the actual control quantity, and the updated current state is used as the initial state of the next control cycle. The above steps are repeated until the entire trajectory tracking task is completed.

2. The method according to claim 1, characterized in that Based on the electric thruster trajectory prediction model, the objective function is set according to the trajectory tracking error and control input, and the soft constraint mechanism is introduced to solve the optimal control problem. An initial optimal control sequence is obtained, including: The state variables and control inputs are used as inputs of the electric thruster trajectory prediction model to calculate the state prediction values, and the state prediction sequence is output through the electric thruster trajectory prediction model according to the state prediction values ​​and control inputs at different times; Obtain reference trajectory sequences at different times, and obtain trajectory tracking error sequences based on the reference trajectory sequences and the state prediction sequences; Slack variables are introduced to obtain soft constraints of state variables. An objective function is constructed according to trajectory tracking error, control input and soft constraints. The objective function is minimized through an adaptive optimization algorithm to obtain an initial optimal control sequence.

3. The method according to claim 2, characterized in that The objective function is calculated as follows: ; Among them, J represents the objective function, N represents the number of prediction time steps, and Q i represents the state variable error weighting matrix, y k+i represents the predicted value of the state variable at time k+i, r k+i represents the reference value of the state variable at time k+i, u k+i represents the control input at time k+i, R i represents the control input weighting matrix, ρ i represents the penalty factor at time k+i, ε k+i represents the slack variable at time k+i.

4. The method according to claim 1, characterized in that: An adaptive reinforcement learning module is constructed with trajectory tracking error, electric thruster state variables and model error statistical characteristics as state input and the adjustment amount of dynamic optimal control sequence as action output. The reward function is designed and the optimal control strategy adjustment amount is obtained through the policy iteration algorithm, including: The electric thruster control problem is modeled as a partially observable Markov decision process, a meta-reinforcement learning model is constructed, and a model-independent meta-reinforcement learning algorithm is used to optimize the policy function to obtain the first control strategy. The electric thruster trajectory tracking control is divided into multiple spatiotemporal scales, and a meta-reinforcement learning module is constructed at each scale to optimize the first control strategy of the corresponding scale. By designing reward functions and state characteristics, the coupling relationship between modules of different scales is established, and the hierarchical strategy is collaboratively optimized by maximizing the global reward function. According to the pre-built electric thruster physical model, the prior distribution of the first control strategy is obtained, and the prior distribution is used as the initial strategy of the meta-reinforcement learning model. The physical structure of the electric thruster is introduced into the meta-strategy network of the meta-reinforcement learning model. The optimal control strategy that integrates prior knowledge and data-driven is obtained through the gradient descent algorithm.

5. The method according to claim 4, characterized in that The electric thruster trajectory tracking control is divided into multiple spatiotemporal scales, and a meta-reinforcement learning module is constructed at each scale to optimize the first control strategy of the corresponding scale. By designing the reward function and state characteristics, the coupling relationship between modules of different scales is established. The collaborative optimization of hierarchical strategies is performed by maximizing the global reward function, including: The meta-RL module at each scale is regarded as an agent. The communication topology between agents is modeled through graph neural networks. Agents exchange state information and strategy information through message passing mechanisms, and hierarchical strategies are collaboratively optimized by maximizing the global reward function. Among them, the agent's policy network parameter update formula is as follows: ; in, represents the updated policy network parameters of agent t, α represents the learning rate, and θ t represents the initial policy network update parameters of agent t, J t (θ t ) represents the objective function of the policy network update, β represents the synchronization coefficient, M t represents the set of neighbor nodes of agent t, j represents the jth agent, θ j represents the policy network parameters of the jth agent.

6. The method according to claim 1, characterized in that At the beginning of each control cycle, the model predictive control algorithm is used, based on the electric thruster dynamics model, with the current state as the initial condition, to solve the optimal control problem within the preset period, and the initial optimal control sequence is obtained, including: Obtain the output measurement value of the electric thruster at the current moment, and use the recursive least squares algorithm to identify the parameters of the electric thruster dynamics model online; The estimated values ​​of the model parameters obtained by identification and the output measurement values ​​at the current moment are input into the Kalman filter to calculate the optimal estimation results of the state variables of the electric thruster; An adaptive model controller is constructed, the optimal estimation result is used as the initial state of the adaptive model predictive controller, the objective function and constraint conditions are constructed, the adaptive model predictive control optimization problem is solved, and an initial optimal control sequence is obtained.

7. An electric thruster trajectory tracking control system based on artificial intelligence, used to implement the method described in any one of claims 1 to 6, characterized in that: include: The first unit is used to obtain real-time operation data collected by the electric thruster sensor, build a data-driven electric thruster dynamics model through a deep learning algorithm, fuse the obtained electric thruster dynamics model with the pre-built physical model to obtain an electric thruster trajectory prediction model, and based on the electric thruster trajectory prediction model, set the objective function according to the trajectory tracking error and control input, introduce a soft constraint mechanism, solve the optimal control problem, and obtain an initial optimal control sequence; The second unit is used to construct an adaptive reinforcement learning module with trajectory tracking error, electric thruster state variables and model error statistical characteristics as state input and the adjustment amount of dynamic optimal control sequence as action output, design reward function, and obtain the optimal control strategy adjustment amount through policy iteration algorithm; The third unit is used to combine the initial optimal control sequence obtained with the optimal control strategy adjustment amount learned by the reinforcement learning module in each control cycle to obtain a comprehensive control sequence, and use the first element of the comprehensive control sequence as the actual control instruction at the current moment to drive the electric thruster to operate.

8. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to call the instructions stored in the memory to execute the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • DP ship motion control and thrust distribution cooperative control method fusing particle swarm optimization and neural network prediction control

    CN117311142A

  • Ocean platform dynamic positioning control method

    CN117369286A

  • Self-adaptive trajectory tracking method for model predictive control parameters of autonomous underwater vehicle

    CN118192646A

  • Dual-control scheme for improved missle maneuverability

    US5631830A