Thruster thrust curve correction method and system based on state detection

By analyzing thruster working parameters in real time and using machine learning models to automatically identify abnormal states and dynamically adjust working parameters, the problem of traditional thruster thrust measurement errors and insufficient correction accuracy is solved, and the measurement accuracy and control accuracy of the spacecraft power system are improved.

CN118484746BActive Publication Date: 2024-09-27BEIJING YIDONG AEROSPACE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Traditional propeller thrust measurement methods have problems such as large measurement errors and inability to monitor in real time, making it difficult to meet the high-precision on-orbit thrust measurement requirements of spacecraft. The accuracy and robustness of existing thrust curve correction methods need to be improved.

Method used

By obtaining the real-time working parameters of the thruster and performing time-frequency domain analysis, the pre-trained state classification model and reinforcement learning model are used to automatically identify abnormal states, calculate the thrust deviation value, generate a thrust correction sequence, and dynamically adjust the working parameters to correct the thrust curve.

Benefits of technology

It realizes real-time monitoring and identification of the working status of the thruster, improves the accuracy and adaptability of thrust curve correction, enhances the stability and reliability of the thruster, and ensures that the thruster outputs the expected thrust and specific impulse under standard working conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118484746B
    Figure CN118484746B
Patent Text Reader

Abstract

The present invention provides a thrust curve correction method and system for a propeller based on state detection, which relates to the technical field of state detection, and comprises the following steps: obtaining real-time working parameters of a propeller and performing preprocessing to obtain a fusion state feature matrix, inputting the fusion state feature matrix into a pre-trained propeller state classification model for state recognition; constructing a propeller working characteristic prediction model, using the thruster fusion state feature matrix at the current moment and the historical moment as the model input, obtaining an actual thrust curve and an actual specific impulse curve, calculating a thrust deviation value and a specific impulse deviation value, and generating a thrust correction sequence and a specific impulse correction sequence; inputting the thrust correction sequence and the specific impulse correction sequence into a pre-trained reinforcement learning model to obtain a dynamic adjustment amount of the propeller working parameters, superimposing the dynamic adjustment amount of the working parameters with the current working parameters of the propeller to obtain the corrected working parameters, and sending them to the propeller actuator for thrust curve correction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a state detection technology, and in particular to a method and system for correcting a thrust curve of a propeller based on state detection. Background Art

[0002] The thruster is the power source of the spacecraft, and thrust is a key parameter for evaluating the performance of the thruster. Accurately measuring thrust is crucial to ensuring the success of the spacecraft's mission. Traditional thrust measurement mainly relies on ground test benches, accelerometers or other indirect methods. These methods have defects such as large measurement errors and the inability to monitor in real time, and it is difficult to meet the needs of high-precision on-orbit thrust measurement of spacecraft.

[0003] Various sensors are widely used on modern spacecraft to detect the working state parameters of the thruster, such as pressure, temperature, flow rate, etc. Using these state parameters, combined with the propellant characteristics, the thruster internal flow field model, etc., it is possible to indirectly calculate a more accurate thrust value. Due to changes in factors such as propellant residue and environmental conditions, the thruster thrust will drift over time. The thrust curve needs to be corrected in real time to improve the accuracy of navigation and guidance. However, the current thrust curve correction method mainly relies on ground test data, or uses a simple linear correction model, and the accuracy and robustness need to be improved. Summary of the invention

[0004] The embodiments of the present invention provide a method and system for correcting a thrust curve of a propeller based on state detection, which can solve the problems in the prior art.

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

[0006] A method for correcting a thrust curve of a propeller based on state detection is provided, comprising:

[0007] The real-time working parameters of the thruster are obtained and preprocessed to obtain a smooth state parameter sequence, and the smoothed state parameter sequence is analyzed in the time-frequency domain to obtain a fused state feature matrix. The fused state feature matrix is ​​input into a pre-trained thruster state classification model for state recognition to obtain the working state of the thruster at the current moment;

[0008] If the working state of the thruster at the current moment is an abnormal state, the ideal thrust curve and the ideal specific impulse curve under the standard working condition of the thruster are obtained, and a thruster working characteristic prediction model is constructed. The thruster fusion state characteristic matrix at the current moment and the historical moment is used as the model input to obtain the actual thrust curve and the actual specific impulse curve. The obtained actual thrust curve and the actual specific impulse curve are compared with the ideal thrust curve and the ideal specific impulse curve under the standard working condition, respectively, and the thrust deviation value and the specific impulse deviation value are calculated to generate the thrust correction sequence and the specific impulse correction sequence;

[0009] The thrust correction sequence and the specific impulse correction sequence are input into the pre-trained reinforcement learning model to obtain the dynamic adjustment amount of the thruster working parameters. The dynamic adjustment amount of the working parameters is superimposed on the current working parameters of the thruster to obtain the corrected working parameters, which are then sent to the thruster actuator for thrust curve correction.

[0010] In an optional embodiment,

[0011] The fusion state feature matrix is ​​input into the pre-trained thruster state classification model for state recognition, and the thruster's current working state is obtained, including:

[0012] The thruster state classification model includes multiple base classifiers, introduces training sample weight coefficients, uses an adaptive update algorithm to dynamically adjust sample weights, and combines the trained base classifiers to obtain a comprehensive enhanced classifier.

[0013] Obtain the real-time working status training samples of the thruster, use the cross-validation method to obtain the predicted probability value of the comprehensive enhanced classifier on the training samples, use the predicted probability value as the input feature of the meta-learner, use the real label of the training sample as the output target of the meta-learner, and construct the meta-learner training data set;

[0014] The meta-learner is trained according to the meta-learner training data set, and the model parameters are optimized by minimizing the cross entropy loss function to obtain a trained meta-learner.

[0015] The predicted probability values ​​of each comprehensive enhanced classifier are input into the trained meta-learner to obtain the working state recognition result of the thruster.

[0016] In an optional embodiment,

[0017] Introducing training sample weight coefficients and using adaptive update algorithms to dynamically adjust sample weights include:

[0018] Initialize the weight distribution of the training samples to a uniform distribution, train a base classifier based on the current sample weight distribution, and calculate its classification error rate on the training set;

[0019] The weight coefficient of the base classifier is calculated according to the classification error rate, and the weight distribution of the training samples is updated. The iteratively updated base classifiers are combined to obtain the final strong classifier.

[0020] Among them, the calculation formula for updating the weight distribution of training samples is as follows:

[0021] ;

[0022] in, w t+1,i represents the updated sample weight,w t,i is the weight of the i-th sample in the t-th iteration, e t represents the classification error rate, y i is the true label of the sample, h t (xi) is the base classifier h t For sample x i The predicted label, Z t is the normalization factor.

[0023] In an optional embodiment,

[0024] Compare with the ideal thrust curve and specific impulse curve under standard working conditions respectively, calculate the thrust deviation value and specific impulse deviation value, and generate the thrust correction sequence and specific impulse correction sequence including:

[0025] Based on the dynamic time warping algorithm, the actual thrust curve and the actual specific impulse curve are aligned with the ideal thrust curve and the ideal specific impulse curve under standard working conditions respectively;

[0026] The parameter selection problem of the dynamic time warping algorithm is modeled as a Markov decision process. The reinforcement learning algorithm is used to obtain the Q-value function of the state-action pair. The Q-value function is updated through the update rule to obtain the optimal parameter selection strategy.

[0027] For the given actual thrust curve and actual specific impulse curve and the acquired ideal thrust curve, the updated Q value function is used to select the action with the largest Q value to obtain the optimal state time warping algorithm parameter configuration. The sequence is adaptively aligned using the optimal dynamic time warping algorithm parameter configuration.

[0028] The thrust deviation value and the specific impulse deviation value are calculated by comparing the actual thrust curve and the actual specific impulse curve after alignment with the ideal thrust curve and the ideal specific impulse curve under standard working conditions respectively;

[0029] A performance index function is introduced, and the parameters of the controller are adaptively adjusted according to the changes in the working state of the thruster to obtain an optimized controller. Based on the thrust deviation value and the specific impulse deviation value, the thrust correction sequence and the specific impulse correction sequence are generated using the optimized controller.

[0030] In an optional embodiment,

[0031] The performance index function is introduced, and the parameters of the controller are adaptively adjusted according to the changes in the working state of the thruster. The optimized controller includes:

[0032] The performance index function includes thrust deviation and specific impulse deviation. The controller parameters are optimized by gradient descent method. The calculation formula is as follows:

[0033] ;

[0034] Among them, θ k+1 represents the optimized controller parameters, θ represents the controller parameter vector, k represents the number of optimization iterations, η represents the learning rate, T represents the total number of time steps, △F t represents the thrust deviation, α represents the weight coefficient of the thrust deviation, represents the partial derivative of thrust deviation with respect to controller parameters, △I sp,t represents the specific impulse deviation, β represents the weight coefficient of the specific impulse deviation, represents the partial derivative of the specific impulse deviation with respect to the controller parameters.

[0035] In an optional embodiment,

[0036] The thrust correction sequence and the specific impulse correction sequence are input into the pre-trained reinforcement learning model to obtain the dynamic adjustment amount of the thruster working parameters. The dynamic adjustment amount of the working parameters is superimposed on the current working parameters of the thruster to obtain the corrected working parameters, which are then sent to the thruster actuator for thrust curve correction, including:

[0037] The policy gradient reinforcement learning model is introduced to establish the mapping relationship between the thrust correction sequence, the specific impulse correction sequence and the thruster operating parameter adjustment amount;

[0038] The policy gradient algorithm is used to train the reinforcement learning model, obtain the policy function parameters and update them to obtain the trained policy function;

[0039] Obtaining the current thrust working state, inputting the current thrust working state into the trained strategy function, and generating the adjustment amount of the working parameters, wherein the current thrust working state includes the thrust correction value, the specific impulse correction value and the thruster working parameters at the current moment;

[0040] The working parameter adjustment amount is superimposed on the current working parameter to obtain the corrected working parameter, and the corrected working parameter is sent to the thruster actuator to correct the thrust curve.

[0041] In an optional embodiment,

[0042] The policy gradient algorithm is used to train the reinforcement learning model, obtain the policy function parameters and update them. The trained policy function includes:

[0043] Define the state space, action space and reward function, where the state space includes the thrust correction value, the specific impulse correction value and the current thruster operating parameters, the action space includes the fuel supply pressure adjustment, the combustion chamber pressure adjustment, the oxidizer flow adjustment and the fuel flow adjustment, and the reward function is used to evaluate the thrust curve correction effect after taking a specific action;

[0044] A policy gradient algorithm is used to learn a parameterized policy function that represents the probability of selecting an action in the current state, wherein the policy function is parameterized by a deep neural network to obtain a probability distribution;

[0045] A training dataset for the reinforcement learning model is constructed, and multiple thrust curve trajectories are sampled from the training dataset. The cumulative reward of each thrust curve trajectory is calculated, and the Monte Carlo estimation of the policy gradient is calculated based on the cumulative reward of each thrust curve trajectory. The policy function parameters are updated using the gradient ascent method to obtain the trained policy function.

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

[0047] A thrust curve correction system for a propeller based on state detection is provided, comprising:

[0048] The first unit is used to obtain the real-time working parameters of the propeller and perform preprocessing to obtain a smooth state parameter sequence, perform time-frequency domain analysis on the smoothed state parameter sequence to obtain a fused state feature matrix, input the fused state feature matrix into a pre-trained propeller state classification model for state recognition, and obtain the working state of the propeller at the current moment;

[0049] The second unit is used for obtaining the thrust ideal curve and specific impulse ideal curve under the standard working condition of the thruster if the working state of the thruster at the current moment is an abnormal state, building a thruster working characteristic prediction model, taking the thruster fusion state characteristic matrix at the current moment and the historical moment as the model input, obtaining the actual thrust curve and the actual specific impulse curve, comparing the obtained actual thrust curve and the actual specific impulse curve with the thrust ideal curve and the specific impulse ideal curve under the standard working condition, respectively, calculating the thrust deviation value and the specific impulse deviation value, and generating the thrust correction sequence and the specific impulse correction sequence;

[0050] The third unit is used to input the thrust correction sequence and the specific impulse correction sequence into the pre-trained reinforcement learning model to obtain the dynamic adjustment amount of the thruster working parameters, superimpose the dynamic adjustment amount of the working parameters with the current working parameters of the thruster to obtain the corrected working parameters, and send them to the thruster actuator for thrust curve correction.

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

[0052] An electronic device is provided, comprising:

[0053] processor;

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

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

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

[0057] 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.

[0058] In this embodiment, by obtaining the real-time working state parameters of the thruster and combining the internal flow field model of the thruster, etc., a relatively accurate thrust and specific impulse value can be calculated in real time. By analyzing the fusion state characteristics obtained by time-frequency domain analysis and using the machine learning state classification model, the abnormal working state of the thruster can be automatically identified. By using the reinforcement learning model, the optimal dynamic adjustment amount of the working parameters can be intelligently calculated according to the current state, thrust deviation, etc., so as to automatically correct the thrust and specific impulse curves, thereby improving the accuracy and adaptability of the correction. Through autonomous learning based on real-time state, it can automatically adapt to changes in propellant residue, environment, etc., has strong adaptability and robustness, can realize real-time monitoring and identification of the working state of the thruster, prediction and correction of abnormal state, and dynamic adjustment of the working parameters of the thruster, thereby improving the stability, reliability and work efficiency of the thruster, and ensuring that the thruster outputs the expected thrust and specific impulse under standard working conditions, which can greatly improve the measurement accuracy and control accuracy of the spacecraft power system, and is of great significance to ensuring the safe and reliable operation of the spacecraft. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 It is a flow chart of a method for correcting a thrust curve of a propeller based on state detection according to an embodiment of the present invention;

[0060] Figure 2 It is a structural schematic diagram of a thruster thrust curve correction system based on state detection according to an embodiment of the present invention. DETAILED DESCRIPTION

[0061] 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.

[0062] 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.

[0063] Figure 1 FIG. 1 is a flow chart of a method for correcting a thrust curve of a propeller based on state detection according to an embodiment of the present invention. Figure 1 As shown, the method includes:

[0064] S101. Acquire the real-time working parameters of the propeller and perform preprocessing to obtain a smooth state parameter sequence, perform time-frequency domain analysis on the smoothed state parameter sequence to obtain a fusion state feature matrix, input the fusion state feature matrix into a pre-trained propeller state classification model for state recognition, and obtain the working state of the propeller at the current moment;

[0065] Among them, the correction of the thrust curve is based on the results of the thruster status detection. Through real-time monitoring of the thruster, key parameters reflecting the working status of the thruster can be obtained, such as thrust, combustion chamber pressure, oxidant and fuel flow, etc. When abnormal changes in these parameters are detected, it indicates that the thruster performance has shifted and the thrust curve needs to be corrected.

[0066] By establishing a mathematical model between the thrust of the propeller and the state parameters, the thrust is expressed as a function of the state parameters. Then, the Kalman filter algorithm is used to estimate and filter the state parameters, thereby obtaining a more accurate and smooth parameter curve.

[0067] Optionally, the frequency domain features of the state parameters can be extracted by short-time Fourier transform, and the instantaneous frequency and amplitude features of the state parameters can be extracted by empirical mode decomposition to obtain a fused state feature matrix of multi-domain fusion.

[0068] In an optional embodiment,

[0069] The fusion state feature matrix is ​​input into the pre-trained thruster state classification model for state recognition, and the thruster's current working state is obtained, including:

[0070] The thruster state classification model includes multiple base classifiers, introduces training sample weight coefficients, uses an adaptive update algorithm to dynamically adjust sample weights, and combines the trained base classifiers to obtain a comprehensive enhanced classifier.

[0071] Obtain the real-time working status training samples of the thruster, use the cross-validation method to obtain the predicted probability value of the comprehensive enhanced classifier on the training samples, use the predicted probability value as the input feature of the meta-learner, use the real label of the training sample as the output target of the meta-learner, and construct the meta-learner training data set;

[0072] The meta-learner is trained according to the meta-learner training data set, and the model parameters are optimized by minimizing the cross entropy loss function to obtain a trained meta-learner.

[0073] The predicted probability values ​​of each comprehensive enhanced classifier are input into the trained meta-learner to obtain the working state recognition result of the thruster.

[0074] Exemplarily, firstly, multiple weak classifiers are iteratively trained, and sample weights are adjusted according to the performance of the classifiers, and finally multiple weak classifiers are linearly combined to form a strong classifier.

[0075] Specifically, the weight distribution of the training samples is initialized to be uniformly distributed, a base classifier is trained based on the current sample weight distribution, its classification error rate on the training set is calculated, and the weight coefficient of the base classifier is calculated.

[0076] The weight distribution of the training samples is updated based on the classification error rate and the weight coefficient of the base classifier. The above updating process is repeated to obtain multiple base classifiers. The multiple base classifiers are combined according to the weight coefficients to obtain the final strong classifier.

[0077] Obtain the real-time working status training samples of the thruster, use the cross-validation method to obtain the predicted probability value of the above-trained base classifier on the training samples, use the predicted probability value as the input feature of the meta-learner, use the real label of the training sample as the output target of the meta-learner, and construct the meta-learner training data set;

[0078] Optionally, a Logistic regression model is selected as a meta-learner, the Logistic regression model is trained using the above meta-learner training data set, and the model parameters are optimized by minimizing the cross entropy loss function to obtain a trained Logistic regression meta-learner;

[0079] For the newly collected thruster working status test samples, they are input into the above-mentioned trained base classifiers to obtain the predicted probability values ​​of each base classifier, and then the predicted probability values ​​are input into the above-mentioned trained Logistic regression meta-learner, and the final state recognition results of the test samples are obtained through the integrated prediction of the meta-learner.

[0080] In an optional embodiment,

[0081] Introducing training sample weight coefficients and using adaptive update algorithms to dynamically adjust sample weights include:

[0082] Initialize the weight distribution of the training samples to a uniform distribution, train a base classifier based on the current sample weight distribution, and calculate its classification error rate on the training set;

[0083] The weight coefficient of the base classifier is calculated according to the classification error rate, and the weight distribution of the training samples is updated. The iteratively updated base classifiers are combined to obtain the final strong classifier.

[0084] Among them, the calculation formula for updating the weight distribution of training samples is as follows:

[0085] ;

[0086] in, w t+1,i represents the updated sample weight, w t,i is the weight of the i-th sample in the t-th iteration, e t represents the classification error rate, y i is the true label of the sample, h t (xi) is the base classifier h t For sample x i The predicted label, Z t is the normalization factor.

[0087] In this embodiment, the weights of samples that are difficult to classify can be continuously enhanced during the training process through the adaptive update algorithm, so that the base classifier pays more attention to these samples and improves its ability to correctly classify. At the same time, the adaptive update algorithm also dynamically adjusts the weights of the base classifiers so that the classifiers with better performance play a leading role in the final integration, while the influence of the classifiers with poorer performance is weakened. This adaptive training strategy can effectively improve the robustness and generalization ability of the base classifiers. By introducing the integration strategy of meta-learning, reliable state estimation results are provided for propeller health monitoring and intelligent control, which effectively enhances the robustness of the base classifiers and the generalization ability of the integrated system, and lays a solid foundation for realizing high-precision and highly adaptive propeller working state recognition.

[0088] S102. If the working state of the thruster at the current moment is an abnormal state, the thrust ideal curve and the specific impulse ideal curve under the standard working condition of the thruster are obtained, and a thruster working characteristic prediction model is constructed. The thruster fusion state characteristic matrix at the current moment and the historical moment is used as the model input to obtain the actual thrust curve and the actual specific impulse curve. The obtained actual thrust curve and the actual specific impulse curve are compared with the thrust ideal curve and the specific impulse ideal curve under the standard working condition, respectively, and the thrust deviation value and the specific impulse deviation value are calculated to generate the thrust correction sequence and the specific impulse correction sequence;

[0089] Among them, in order to accurately predict the actual working characteristics of the thruster under abnormal conditions, a long short-term memory neural network (LSTM) can be used to build a thruster working characteristics prediction model. LSTM is a deep learning model suitable for processing time series data. By introducing gating mechanisms and internal memory units, it can effectively capture long-distance dependencies in time series.

[0090] First, the ideal thrust curve and specific impulse curve under the standard working condition of the propeller are obtained as the training target of the working characteristic prediction model. Then, the thruster fusion state feature matrix at the historical moment and the current moment is used as the input of the model to construct the input feature sequence. The LSTM model learns the mapping relationship between state features and ideal working characteristics through iterative training.

[0091] Among them, the gating unit of the LSTM model includes an input gate, a forget gate, and an output gate, which respectively control the writing of new information, the forgetting of historical information, and the output of the current state. The memory unit is used to store and update long-term and short-term state information. Through the synergy of the gating unit and the memory unit, the LSTM model can adaptively learn and store key state features and dynamically adjust the prediction results based on the current input and historical information.

[0092] By cascading and stacking multiple LSTM units, a deep LSTM network is formed, which enhances the model's ability to learn complex time series patterns.

[0093] Using the trained LSTM working characteristic prediction model, the thruster fusion state feature matrix at the current moment and historical moment is input into the model to obtain the predicted actual thrust curve and actual specific impulse curve.

[0094] In an optional embodiment,

[0095] Compare with the ideal thrust curve and specific impulse curve under standard working conditions respectively, calculate the thrust deviation value and specific impulse deviation value, and generate the thrust correction sequence and specific impulse correction sequence including:

[0096] Based on the dynamic time warping algorithm, the actual thrust curve and the actual specific impulse curve are aligned with the ideal thrust curve and the ideal specific impulse curve under standard working conditions respectively;

[0097] The parameter selection problem of the dynamic time warping algorithm is modeled as a Markov decision process. The reinforcement learning algorithm is used to obtain the Q-value function of the state-action pair. The Q-value function is updated through the update rule to obtain the optimal parameter selection strategy.

[0098] For the given actual thrust curve and actual specific impulse curve and the acquired ideal thrust curve, the updated Q value function is used to select the action with the largest Q value to obtain the optimal state time warping algorithm parameter configuration. The sequence is adaptively aligned using the optimal dynamic time warping algorithm parameter configuration.

[0099] The thrust deviation value and the specific impulse deviation value are calculated by comparing the actual thrust curve and the actual specific impulse curve after alignment with the ideal thrust curve and the ideal specific impulse curve under standard working conditions respectively;

[0100] A performance index function is introduced, and the parameters of the controller are adaptively adjusted according to the changes in the working state of the thruster to obtain an optimized controller. Based on the thrust deviation value and the specific impulse deviation value, the thrust correction sequence and the specific impulse correction sequence are generated using the optimized controller.

[0101] Among them, Dynamic Time Warping (DTW) is an algorithm widely used in time series alignment and similarity measurement.

[0102] Exemplarily, the parameter selection problem of the DTW algorithm is modeled as a Markov decision process (MDP), defining a state space, an action space, and a reward function.

[0103] Among them, the state space represents the parameter configuration of the DTW algorithm, including the regularization window size, distance metric function, etc. The regularization window size determines the constraints of the alignment path, and the distance metric function determines the calculation method of the similarity between sequences.

[0104] The action space represents the adjustment strategy for the DTW algorithm parameters, including increasing / decreasing the regularized window size, switching the distance metric function, etc. Each time an action is executed, the parameter configuration is modified and a new state is generated.

[0105] The reward function represents the performance evaluation of sequence alignment using the current parameter configuration. The reward function can be designed by comprehensively considering factors such as the cumulative distance after alignment, the complexity of the alignment path, and the convergence speed. The goal of the reward function is to minimize the cumulative distance, alignment complexity, and convergence time to achieve the best alignment effect.

[0106] The Q-learning algorithm is used for reinforcement learning. By continuously interacting with the environment, the state-action value function is learned to represent the long-term cumulative reward expectation of taking an action in the current state. The Q-learning update rule is used to update the Q-value function of the current state-action pair based on the immediate reward and the maximum Q value of the next state.

[0107] In the training phase, the Q-value function is initialized and the following steps are repeated until the termination condition is reached: based on the current state, an action is selected using the epsilon-greedy strategy, the selected action is executed, and the state is transferred to the new state;

[0108] Calculate the immediate reward, use the Q-learning update rule to update the Q-value function, and repeat the above process until the termination condition is reached.

[0109] In the test phase, for a given sequence pair, the learned Q-value function is directly used to select the action with the largest Q-value to obtain the optimal parameter configuration, which is then used for DTW alignment.

[0110] Optionally, in order to further improve the efficiency and stability of reinforcement learning, the following optimization strategies can be adopted, such as Experience Replay. Specifically, the transfer samples of each step are stored in the experience pool. When updating the Q-value function, a batch of samples are randomly selected from the experience pool for batch update to break the correlation between samples and improve the stability of learning.

[0111] In order to compensate for the thrust and specific impulse deviations caused by abnormal conditions, it is necessary to generate corresponding control parameter correction sequences to adjust and optimize the working state of the thruster in real time. By adopting an adaptive proportional-integral-differential control algorithm, the thrust correction sequence and specific impulse correction sequence are adaptively generated according to the size and change trend of the deviation value.

[0112] Specifically, the thrust deviation value at a certain moment is calculated, the thrust correction value at the moment is calculated according to the adaptive control algorithm, and the thrust correction value is added to the thrust correction sequence. Similarly, a specific impulse correction sequence can be generated.

[0113] In an optional embodiment,

[0114] The performance index function is introduced, and the parameters of the controller are adaptively adjusted according to the changes in the working state of the thruster. The optimized controller includes:

[0115] The performance index function includes thrust deviation and specific impulse deviation. The controller parameters are optimized by gradient descent method. The calculation formula is as follows:

[0116] ;

[0117] Among them, θ k+1 represents the optimized controller parameters, θ represents the controller parameter vector, k represents the number of optimization iterations, η represents the learning rate, T represents the total number of time steps, △F t represents the thrust deviation, α represents the weight coefficient of the thrust deviation, represents the partial derivative of thrust deviation with respect to controller parameters, △I sp,t represents the specific impulse deviation, β represents the weight coefficient of the specific impulse deviation, represents the partial derivative of the specific impulse deviation with respect to the controller parameters.

[0118] Exemplarily, a performance index function is defined, such as a weighted sum of the absolute values ​​of the deviations, to reflect the quality of the control performance. In each control cycle, an optimization algorithm (such as a gradient descent method) is used to search online for the optimal controller parameter combination based on the current state and the performance index function. The optimized controller parameters are updated to the controller to generate a modified control sequence. The above steps are repeated to achieve adaptive adjustment of the controller parameters and continuously improve the control performance.

[0119] In this embodiment, by calculating the thrust deviation value and specific impulse deviation value at each moment, the influence of abnormal state on the working characteristics of the propeller can be quantitatively evaluated, providing a basis for the subsequent generation of control parameter correction sequence. The generated thrust correction sequence and specific impulse correction sequence reflect the deviation change trend of the working characteristics of the propeller under abnormal state, which can be input into the propeller control system as a control instruction to realize dynamic adjustment and optimization control of thrust and specific impulse. Through the working characteristic prediction model and deviation analysis, combined with PID control, adaptive control, intelligent control and other technologies, online compensation and optimization control of the propeller performance under abnormal state can be realized, ensuring the stability and reliability of the propeller under complex working conditions. Through real-time perception, prediction and feedback control of the propeller state, the working stability, reliability and control accuracy of the propeller system can be effectively improved, providing key technical support for the intelligent and autonomous management of aerospace engines.

[0120] S103. Input the thrust correction sequence and the specific impulse correction sequence into the pre-trained reinforcement learning model to obtain the dynamic adjustment amount of the thruster operating parameters, superimpose the dynamic adjustment amount of the operating parameters with the current operating parameters of the thruster to obtain the corrected operating parameters, and send them to the thruster actuator for thrust curve correction.

[0121] In an optional embodiment,

[0122] The thrust correction sequence and the specific impulse correction sequence are input into the pre-trained reinforcement learning model to obtain the dynamic adjustment amount of the thruster working parameters. The dynamic adjustment amount of the working parameters is superimposed on the current working parameters of the thruster to obtain the corrected working parameters, which are then sent to the thruster actuator for thrust curve correction, including:

[0123] The policy gradient reinforcement learning model is introduced to establish the mapping relationship between the thrust correction sequence, the specific impulse correction sequence and the thruster operating parameter adjustment amount;

[0124] The policy gradient algorithm is used to train the reinforcement learning model, obtain the policy function parameters and update them to obtain the trained policy function;

[0125] Obtaining the current thrust working state, inputting the current thrust working state into the trained strategy function, and generating the adjustment amount of the working parameters, wherein the current thrust working state includes the thrust correction value, the specific impulse correction value and the thruster working parameters at the current moment;

[0126] The working parameter adjustment amount is superimposed on the current working parameter to obtain the corrected working parameter, and the corrected working parameter is sent to the thruster actuator to correct the thrust curve.

[0127] In an optional embodiment,

[0128] The policy gradient algorithm is used to train the reinforcement learning model, obtain the policy function parameters and update them. The trained policy function includes:

[0129] Define the state space, action space and reward function, where the state space includes the thrust correction value, the specific impulse correction value and the current thruster operating parameters, the action space includes the fuel supply pressure adjustment, the combustion chamber pressure adjustment, the oxidizer flow adjustment and the fuel flow adjustment, and the reward function is used to evaluate the thrust curve correction effect after taking a specific action;

[0130] A policy gradient algorithm is used to learn a parameterized policy function that represents the probability of selecting an action in the current state, wherein the policy function is parameterized by a deep neural network to obtain a probability distribution;

[0131] A training dataset for the reinforcement learning model is constructed, and multiple thrust curve trajectories are sampled from the training dataset. The cumulative reward of each thrust curve trajectory is calculated, and the Monte Carlo estimation of the policy gradient is calculated based on the cumulative reward of each thrust curve trajectory. The policy function parameters are updated using the gradient ascent method to obtain the trained policy function.

[0132] Exemplarily, the problem of dynamic adjustment of propeller working parameters is modeled as a reinforcement learning task. The state space, action space and reward function are defined. The state space represents the current working state of the propeller, including the thrust correction value, the specific impulse correction value and the propeller working parameters at the current moment.

[0133] The action space represents the adjustment amount of the thruster operating parameters, including the fuel supply pressure adjustment amount, the combustion chamber pressure adjustment amount, the oxidizer flow rate adjustment amount and the fuel flow rate adjustment amount.

[0134] The reward function represents the evaluation of the thrust curve correction effect after taking a specific action in the current state. The design goal of the reward function is to make the corrected thrust curve and specific impulse curve as close to the ideal curve as possible.

[0135] The policy gradient algorithm is used to learn a parameterized policy function, which represents the probability distribution of selecting actions in the current state. The policy function can be parameterized using a deep neural network.

[0136] The training data set of the reinforcement learning model is constructed using the thrust correction sequence, specific impulse correction sequence, and thruster operating parameter sequence. Multiple thrust curve trajectories are sampled from the training data set, and each trajectory contains a series of states, actions, and rewards. For each sampled trajectory, its cumulative reward is calculated as an indicator to evaluate the quality of the trajectory.

[0137] Based on the sampling trajectory and cumulative rewards, the Monte Carlo estimate of the policy gradient is calculated to indicate the update direction of the policy function parameters. The policy function parameters are updated using the gradient ascent method, and the policy function is continuously optimized to enable it to generate a better action sequence. After multiple rounds of iterative training, the final policy function is obtained, which is used to generate the dynamic adjustment of the thruster working parameters in real time.

[0138] In the actual working process of the thruster, the thrust correction value, specific impulse correction value and thruster working parameters at the current moment are obtained in real time to form the current thrust working state. The current thrust working state is input into the trained strategy function, and the strategy function generates the corresponding working parameter adjustment according to the current state. The generated working parameter adjustment includes the fuel supply pressure adjustment, the combustion chamber pressure adjustment, the oxidizer flow adjustment and the fuel flow adjustment.

[0139] The working parameter adjustment amount generated by the strategy function is superimposed on the current thruster working parameters to obtain the corrected working parameters. The corrected working parameters include the corrected fuel supply pressure, combustion chamber pressure, oxidant flow rate and fuel flow rate.

[0140] The corrected working parameters are sent to the thruster actuator to adjust the actual working parameters of the thruster. The thruster actuator corrects the thrust curve in real time based on the corrected working parameters received, making it as close to the ideal thrust curve as possible. The above process is repeated until the thrust curve correction is completed and the predetermined correction accuracy requirements are met.

[0141] In this embodiment, by introducing the policy gradient reinforcement learning model, the mapping relationship between the thrust correction sequence, the specific impulse correction sequence and the thruster working parameter adjustment amount is established, the adaptive dynamic adjustment of the working parameters is realized, and the accuracy and real-time performance of the thrust curve correction are improved. By adopting the policy gradient algorithm to train the reinforcement learning model, the optimal working parameter adjustment strategy is learned by continuously optimizing the policy function, so that the generated working parameter adjustment amount can realize the accurate correction of the thrust curve to the greatest extent. In the actual working process of the thruster, by obtaining the current thrust working state in real time and inputting it into the trained policy function, the real-time working parameter dynamic adjustment amount is generated, the real-time closed-loop correction of the thrust curve is realized, and the stability and reliability of the thruster operation are improved. The working parameter adjustment amount is superimposed on the current working parameter to obtain the corrected working parameter, and it is sent to the thruster actuator, so that the thrust curve is accurately controlled and optimized, and the working performance and efficiency of the thruster are improved.

[0142] Figure 2 FIG. 1 is a schematic diagram of the structure of a thrust curve correction system for a propeller based on state detection according to an embodiment of the present invention. Figure 2 As shown, the system comprises:

[0143] The first unit is used to obtain the real-time working parameters of the propeller and perform preprocessing to obtain a smooth state parameter sequence, perform time-frequency domain analysis on the smoothed state parameter sequence to obtain a fused state feature matrix, input the fused state feature matrix into a pre-trained propeller state classification model for state recognition, and obtain the working state of the propeller at the current moment;

[0144] The second unit is used for obtaining the thrust ideal curve and specific impulse ideal curve under the standard working condition of the thruster if the working state of the thruster at the current moment is an abnormal state, building a thruster working characteristic prediction model, taking the thruster fusion state characteristic matrix at the current moment and the historical moment as the model input, obtaining the actual thrust curve and the actual specific impulse curve, comparing the obtained actual thrust curve and the actual specific impulse curve with the thrust ideal curve and the specific impulse ideal curve under the standard working condition, respectively, calculating the thrust deviation value and the specific impulse deviation value, and generating the thrust correction sequence and the specific impulse correction sequence;

[0145] The third unit is used to input the thrust correction sequence and the specific impulse correction sequence into the pre-trained reinforcement learning model to obtain the dynamic adjustment amount of the thruster working parameters, superimpose the dynamic adjustment amount of the working parameters with the current working parameters of the thruster to obtain the corrected working parameters, and send them to the thruster actuator for thrust curve correction.

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

[0147] An electronic device is provided, comprising:

[0148] processor;

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

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

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

[0152] 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.

[0153] 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.

[0154] 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. A method for correcting thrust curve of propeller based on state detection, It is characterized in that include: The real-time working parameters of the thruster are obtained and preprocessed to obtain a smooth state parameter sequence, and the smoothed state parameter sequence is analyzed in the time-frequency domain to obtain a fused state feature matrix. The fused state feature matrix is ​​input into a pre-trained thruster state classification model for state recognition to obtain the working state of the thruster at the current moment; If the working state of the thruster at the current moment is an abnormal state, the ideal thrust curve and the ideal specific impulse curve under the standard working condition of the thruster are obtained, and a thruster working characteristic prediction model is constructed. The thruster fusion state characteristic matrix at the current moment and the historical moment is used as the model input to obtain the actual thrust curve and the actual specific impulse curve. The obtained actual thrust curve and the actual specific impulse curve are compared with the ideal thrust curve and the ideal specific impulse curve under the standard working condition, respectively, and the thrust deviation value and the specific impulse deviation value are calculated to generate the thrust correction sequence and the specific impulse correction sequence; The thrust correction sequence and the specific impulse correction sequence are input into the pre-trained reinforcement learning model to obtain the dynamic adjustment amount of the thruster working parameters. The dynamic adjustment amount of the working parameters is superimposed on the current working parameters of the thruster to obtain the corrected working parameters, which are then sent to the thruster actuator for thrust curve correction. The fusion state feature matrix is ​​input into the pre-trained thruster state classification model for state recognition, and the thruster's current working state is obtained, including: The thruster state classification model includes multiple base classifiers, introduces training sample weight coefficients, uses an adaptive update algorithm to dynamically adjust sample weights, and combines the trained base classifiers to obtain a comprehensive enhanced classifier. Obtain the real-time working status training samples of the thruster, use the cross-validation method to obtain the predicted probability value of the comprehensive enhanced classifier on the training samples, use the predicted probability value as the input feature of the meta-learner, use the real label of the training sample as the output target of the meta-learner, and construct the meta-learner training data set; The meta-learner is trained according to the meta-learner training data set, and the model parameters are optimized by minimizing the cross entropy loss function to obtain a trained meta-learner. The predicted probability values ​​of each comprehensive enhanced classifier are input into the trained meta-learner to obtain the working state recognition result of the thruster.

2. The method according to claim 1, It is characterized in that Introducing training sample weight coefficients and using adaptive update algorithms to dynamically adjust sample weights include: Initialize the weight distribution of the training samples to a uniform distribution, train a base classifier based on the current sample weight distribution, and calculate its classification error rate on the training set; The weight coefficient of the base classifier is calculated according to the classification error rate, and the weight distribution of the training samples is updated. The iteratively updated base classifiers are combined to obtain the final strong classifier. Among them, the calculation formula for updating the weight distribution of training samples is as follows: ; in, w t+1,i represents the updated sample weight, w t,i is the weight of the i-th sample in the t-th iteration, e t represents the classification error rate, y i is the true label of the sample, h t (xi) is the base classifier h t For sample x i The predicted label, Z t is the normalization factor.

3. The method according to claim 1, It is characterized in that The obtained actual thrust curve and actual specific impulse curve are compared with the ideal thrust curve and ideal specific impulse curve under standard working conditions, respectively, and the thrust deviation value and specific impulse deviation value are calculated. The thrust correction sequence and specific impulse correction sequence are generated, including: Based on the dynamic time warping algorithm, the actual thrust curve and the actual specific impulse curve are aligned with the ideal thrust curve and the ideal specific impulse curve under standard working conditions respectively; The parameter selection problem of the dynamic time warping algorithm is modeled as a Markov decision process. The reinforcement learning algorithm is used to obtain the Q-value function of the state-action pair. The Q-value function is updated through the update rule to obtain the optimal parameter selection strategy. For the given actual thrust curve and actual specific impulse curve and the acquired ideal thrust curve, the updated Q value function is used to select the action with the largest Q value to obtain the optimal state time warping algorithm parameter configuration. The sequence is adaptively aligned using the optimal dynamic time warping algorithm parameter configuration. The thrust deviation value and the specific impulse deviation value are calculated by comparing the actual thrust curve and the actual specific impulse curve after alignment with the ideal thrust curve and the ideal specific impulse curve under standard working conditions respectively; A performance index function is introduced, and the parameters of the controller are adaptively adjusted according to the changes in the working state of the thruster to obtain an optimized controller. Based on the thrust deviation value and the specific impulse deviation value, the thrust correction sequence and the specific impulse correction sequence are generated using the optimized controller.

4. The method according to claim 3, It is characterized in that The performance index function is introduced, and the parameters of the controller are adaptively adjusted according to the changes in the working state of the thruster. The optimized controller includes: The performance index function includes thrust deviation and specific impulse deviation. The controller parameters are optimized by gradient descent method. The calculation formula is as follows: ; Among them, θ k+1 represents the optimized controller parameters, θ represents the controller parameter vector, k represents the number of optimization iterations, η represents the learning rate, T represents the total number of time steps, △F t represents the thrust deviation, α represents the weight coefficient of the thrust deviation, represents the partial derivative of thrust deviation with respect to controller parameters, △I sp,t represents the specific impulse deviation, β represents the weight coefficient of the specific impulse deviation, represents the partial derivative of the specific impulse deviation with respect to the controller parameters.

5. The method according to claim 1, It is characterized in that The thrust correction sequence and the specific impulse correction sequence are input into the pre-trained reinforcement learning model to obtain the dynamic adjustment amount of the thruster working parameters. The dynamic adjustment amount of the working parameters is superimposed on the current working parameters of the thruster to obtain the corrected working parameters, which are then sent to the thruster actuator for thrust curve correction, including: The policy gradient reinforcement learning model is introduced to establish the mapping relationship between the thrust correction sequence, the specific impulse correction sequence and the thruster operating parameter adjustment amount; The policy gradient algorithm is used to train the reinforcement learning model, obtain the policy function parameters and update them to obtain the trained policy function; Obtaining the current thrust working state, inputting the current thrust working state into the trained strategy function, and generating the adjustment amount of the working parameters, wherein the current thrust working state includes the thrust correction value, the specific impulse correction value and the thruster working parameters at the current moment; The working parameter adjustment amount is superimposed on the current working parameter to obtain the corrected working parameter, and the corrected working parameter is sent to the thruster actuator to correct the thrust curve.

6. The method according to claim 5, It is characterized in that The policy gradient algorithm is used to train the reinforcement learning model, obtain the policy function parameters and update them. The trained policy function includes: Define the state space, action space and reward function, where the state space includes the thrust correction value, the specific impulse correction value and the current thruster operating parameters, the action space includes the fuel supply pressure adjustment, the combustion chamber pressure adjustment, the oxidizer flow adjustment and the fuel flow adjustment, and the reward function is used to evaluate the thrust curve correction effect after taking a specific action; A policy gradient algorithm is used to learn a parameterized policy function that represents the probability of selecting an action in the current state, wherein the policy function is parameterized by a deep neural network to obtain a probability distribution; A training dataset for the reinforcement learning model is constructed, and multiple thrust curve trajectories are sampled from the training dataset. The cumulative reward of each thrust curve trajectory is calculated, and the Monte Carlo estimation of the policy gradient is calculated based on the cumulative reward of each thrust curve trajectory. The policy function parameters are updated using the gradient ascent method to obtain the trained policy function.

7. A thrust curve correction system for a propeller based on state detection, used to implement the method described in any one of claims 1 to 6. It is characterized in that include: The first unit is used to obtain the real-time working parameters of the propeller and perform preprocessing to obtain a smooth state parameter sequence, perform time-frequency domain analysis on the smoothed state parameter sequence to obtain a fused state feature matrix, input the fused state feature matrix into a pre-trained propeller state classification model for state recognition, and obtain the working state of the propeller at the current moment; The second unit is used for obtaining the thrust ideal curve and specific impulse ideal curve under the standard working condition of the thruster if the working state of the thruster at the current moment is an abnormal state, building a thruster working characteristic prediction model, taking the thruster fusion state characteristic matrix at the current moment and the historical moment as the model input, obtaining the actual thrust curve and the actual specific impulse curve, comparing the obtained actual thrust curve and the actual specific impulse curve with the thrust ideal curve and the specific impulse ideal curve under the standard working condition, respectively, calculating the thrust deviation value and the specific impulse deviation value, and generating the thrust correction sequence and the specific impulse correction sequence; The third unit is used to input the thrust correction sequence and the specific impulse correction sequence into the pre-trained reinforcement learning model to obtain the dynamic adjustment amount of the thruster working parameters, superimpose the dynamic adjustment amount of the working parameters with the current working parameters of the thruster to obtain the corrected working parameters, and send them to the thruster actuator for thrust curve correction.

8. An electronic device, It is 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, It is 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.