This invention discloses a
nonlinear control law evolution method based on a large
language model and
control effect evaluation index, including initializing the control law; converting the weights of the control law operators into sampling probabilities; sampling each control law operator according to the probability distribution of the control law operators in the large
language model to generate a control law formula; inputting the set of control law formulas into an
aircraft dynamics simulation model to obtain a
tracking error sequence and determining the evaluation index matrix of the
tracking error sequence; analyzing the relationship between the control law operators and the evaluation index and outputting the update gradient of each control law operator; updating the weights of each control law operator and generating multiple new control law operators, and initializing the weights of the new control law operators; ending the iteration when the number of iterations reaches the maximum limit and outputting the control structure and
control parameters of the control law, otherwise
resampling and iterating; this invention solves the problem that large language models cannot be embedded in the dynamics
simulation environment and evaluate the effect of control laws.