CN111158243B - Satellite attitude self-adaptive control method, device, controller and medium - Google Patents
Satellite attitude self-adaptive control method, device, controller and medium Download PDFInfo
- Publication number
- CN111158243B CN111158243B CN202010267186.2A CN202010267186A CN111158243B CN 111158243 B CN111158243 B CN 111158243B CN 202010267186 A CN202010267186 A CN 202010267186A CN 111158243 B CN111158243 B CN 111158243B
- Authority
- CN
- China
- Prior art keywords
- satellite
- controller
- attitude
- satellite attitude
- parameter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/04—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
- G05B13/042—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
The invention relates to a satellite attitude self-adaptive control method, a device, a controller and a medium, wherein the method comprises the steps of obtaining the parameters of a satellite attitude controller, the moment borne by a satellite and the actual attitude of the satellite at the current moment; determining a preset objective function value based on a preset virtual reference model, the satellite attitude controller parameters at the current moment, the moment borne by the satellite and the actual attitude of the satellite; and updating the satellite attitude controller parameters based on the objective function values and a preset objective function threshold value. The method does not depend on an accurate mathematical model of the satellite attitude, does not need repeated test experiments, obtains the appropriate dynamic satellite attitude controller parameters under the complex environment according to the specific control requirements, improves the robustness, stability, control accuracy and quick response capability of the satellite attitude control, and further improves the communication quality of the satellite.
Description
Technical Field
The invention relates to the technical field of spacecraft control, in particular to a satellite attitude self-adaptive control method, a satellite attitude self-adaptive control device, a satellite attitude self-adaptive controller and a satellite attitude self-adaptive medium.
Background
The satellite attitude control usually plays a crucial role in the communication quality of the satellites, and not only needs to ensure the stability of the ground orientation of each satellite, but also needs to keep the relative attitude among each satellite within a certain range. In the prior art, a proportional-integral-derivative (PID) control is usually adopted to control the satellite attitude, and specifically, parameters of a PID controller are determined according to an accurate mathematical model of the satellite attitude or repeated test experiments, where the parameters of the PID controller include a proportional parameter and a differential parameter.
However, the existing satellite attitude control technology has at least the following disadvantages:
(1) the flexible structure, the combined structure and the rotation of the antenna in the in-orbit service in the satellite often enable the parameters of the satellite attitude model to change in a large range, and the parameters of the traditional PID controller are mostly constant values, so that the controller cannot adapt to the change of the parameters of the satellite attitude model, the robustness of satellite attitude control is reduced, and the satellite communication quality is influenced.
(2) When the satellite is in orbit, the satellite is generally interfered by various environmental moments, and the attitude control of the satellite is required, for example, the attitude accuracy of a low-orbit communication satellite is controlled within 0.1 degrees. Due to the characteristics of strong nonlinearity, time variation, strong coupling and the like of the satellite attitude, an accurate mathematical model is difficult to obtain, and the setting of PID controller parameters (which means that controller parameters are determined by adjustment) is influenced, so that the satellite attitude has poor stability and low control precision, and the communication quality is influenced.
(3) Tuning of traditional PID controller parameters is typically based on a large amount of test experimental data. The normal operation of the satellite in orbit can be influenced in the test experiment process, and the satellite is generally required to transmit a large amount of experimental data back to the ground station for calculation, and then the calculated or manually adjusted parameter result of the PID controller is transmitted back to the satellite, so that the satellite attitude control system has poor quick response capability.
Disclosure of Invention
The invention aims to solve the technical problem of providing a satellite attitude self-adaptive control method, a satellite attitude self-adaptive control device, a satellite attitude self-adaptive controller and a satellite attitude self-adaptive medium.
In order to solve the above technical problem, according to an aspect of the present invention, there is provided a satellite attitude adaptive control method, including:
acquiring parameters of a satellite attitude controller at the current moment, moment borne by a satellite and actual attitude of the satellite;
determining a preset objective function value based on a preset virtual reference model, the satellite attitude controller parameters at the current moment, the moment borne by the satellite and the actual attitude of the satellite;
and updating the satellite attitude controller parameters based on the objective function values and a preset objective function threshold value.
Further, the method also comprises the following steps:
constructing the virtual reference model M(s), wherein the virtual reference model is used for representing the target corresponding relation between the actual attitude of the satellite and the expected attitude of the satellite, and the transfer function of the virtual reference model is as follows:
wherein the content of the first and second substances,、andare all the parameters of the model, and are,representing a delay parameter, m and n are positive integers,,is a natural constant and s is a complex variable.
Further, the satellite attitude controller is a PID controller, and the determining of the preset objective function value based on the preset virtual reference model and the satellite attitude controller parameter, the moment received by the satellite, and the actual attitude of the satellite at the current time includes:
by usingThe moment of force borne by the satellite is represented,which represents the actual attitude of the satellite(s),which represents the desired attitude of the satellite,proportional parameters of the satellite attitude controller;the integral parameter of the satellite attitude controller is obtained;for the differential parameters of the satellite attitude controller, the objective function is defined as:
Wherein the content of the first and second substances,the number of samples is represented by the number of samples,a time variable is represented by a time variable,;、、are all intermediate variables;the transfer function of the satellite attitude controller is obtained by performing Laplace transform on a mathematical expression of a traditional satellite attitude controller in a time domain, s is a complex variable of the transfer function of the satellite attitude controller, L (∙) represents the Laplace transform, L-1(∙) representing an inverse laplacian transform; var (∙) represents the variance.
Further, the updating the satellite attitude controller parameter based on the objective function value and a preset objective function threshold includes:
judging whether the current time is smaller than a preset target function threshold value or not, if so, setting the satellite attitude controller parameter at the current time as a satellite attitude controller parameter, and returning to the step of acquiring the satellite attitude controller parameter, the moment borne by the satellite and the actual attitude of the satellite at the current time;
otherwise, updating the parameters of the satellite attitude controller based on the following formula, and returning to the step of determining the preset objective function value based on the preset virtual reference model, the parameters of the satellite attitude controller at the current moment, the moment borne by the satellite and the actual attitude of the satellite,
wherein the content of the first and second substances,the representation is defined as;represents the update rate of the satellite attitude controller parameters, 0<<1;、、Respectively representing the proportional parameters K of the objective function to the satellite attitude controllerPIntegral parameter KIAnd a differential parameter KDThe first partial derivative of (a).
According to another aspect of the present invention, there is provided a satellite attitude adaptive control apparatus including:
the parameter acquisition module is configured to acquire the parameters of the satellite attitude controller, the moment borne by the satellite and the actual attitude of the satellite at the current moment;
the objective function value determining module is configured to determine a preset objective function value based on a preset virtual reference model, the satellite attitude controller parameter at the current moment, the moment borne by the satellite and the actual attitude of the satellite;
a controller parameter update module configured to update the satellite attitude controller parameter based on the objective function value and a preset objective function threshold.
Further, the virtual reference model building module is configured to:
constructing the virtual reference model M(s), wherein the virtual reference model is used for representing the target corresponding relation between the actual attitude of the satellite and the expected attitude of the satellite, and the transfer function of the virtual reference model is as follows:
wherein the content of the first and second substances,、andare all the parameters of the model, and are,representing a delay parameter, m and n are positive integers,,is a natural constant and s is a complex variable.
Further, the objective function value determining module is specifically configured to:
the satellite attitude controller is a PID controller and adoptsThe moment of force borne by the satellite is represented,which represents the actual attitude of the satellite(s),which represents the desired attitude of the satellite,proportional parameters of the satellite attitude controller;the integral parameter of the satellite attitude controller is obtained;as a differential parameter of the satellite attitude controller,
Wherein the content of the first and second substances,the number of samples is represented by the number of samples,a time variable is represented by a time variable,;、、are all intermediate variables;the transfer function of the satellite attitude controller is obtained by performing Laplace transform on a mathematical expression of a traditional satellite attitude controller in a time domain, s is a complex variable of the transfer function of the satellite attitude controller, L (∙) represents the Laplace transform, L-1(∙) representing an inverse laplacian transform; var (∙) represents the variance.
Further, the controller parameter updating module is specifically configured to:
judging whether the current time is smaller than a preset target function threshold value or not, if so, setting the satellite attitude controller parameter at the current time as a satellite attitude controller parameter, and returning the satellite attitude controller parameter to the parameter acquisition module;
otherwise, updating the parameters of the satellite attitude controller based on the following formula and returning to the objective function value determining module,
wherein the content of the first and second substances,the representation is defined as;represents the update rate of the satellite attitude controller parameters, 0<<1;、、Respectively representing the proportional parameters K of the objective function to the satellite attitude controllerPIntegral parameter KIAnd a differential parameter KDThe first partial derivative of (a).
According to yet another aspect of the invention, a controller is provided comprising a memory and a processor, the memory storing a computer program enabling the implementation of the steps of the method when the program is executed by the processor.
According to yet another aspect of the invention, a computer-readable storage medium is provided for storing a computer program, which when executed by a computer or processor, performs the steps of the method.
Compared with the prior art, the invention has obvious advantages and beneficial effects. By means of the technical scheme, the satellite attitude self-adaptive control method, the satellite attitude self-adaptive control device, the satellite attitude self-adaptive controller and the satellite attitude self-adaptive medium can achieve considerable technical progress and practicability, have industrial wide utilization value and at least have the following advantages:
the method can adjust the parameters of the satellite attitude controller in real time according to various states of the satellite attitude so as to adapt to the change of the parameters of the satellite attitude model, thereby improving the robustness of better satellite attitude control. The invention also avoids adopting an accurate mathematical model of the satellite attitude, can realize the self-adaptive setting of the satellite attitude controller by only acquiring a plurality of groups of real-time input and output data (the moment borne by the satellite and the actual attitude of the satellite), avoids the satellite attitude from carrying out repeated test experiments for many times, and improves the stability and the control precision of the satellite attitude control. In addition, the method does not need to transmit the acquired data back to the ground station for calculation or manual setting, but obtains the optimized satellite attitude controller parameters by utilizing the on-board computer for real-time calculation, thereby ensuring the quick response capability of the control system.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical means of the present invention more clearly understood, the present invention may be implemented in accordance with the content of the description, and in order to make the above and other objects, features, and advantages of the present invention more clearly understood, the following preferred embodiments are described in detail with reference to the accompanying drawings.
Drawings
FIG. 1 is an architecture diagram of a prior art satellite attitude control using PID;
fig. 2 is an architecture diagram of a satellite attitude adaptive control method according to an embodiment of the present invention;
fig. 3 is a flowchart of a satellite attitude adaptive control method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a satellite attitude adaptive control apparatus according to an embodiment of the present invention.
[ notation ] to show
1: the parameter obtaining module 2: objective function value determining module
3: controller parameter updating module
Detailed Description
To further illustrate the technical means and effects of the present invention for achieving the predetermined objects, the following detailed description will be given with reference to the accompanying drawings and preferred embodiments of a satellite attitude adaptive control method, device, controller and medium according to the present invention.
The prior art adopts an architecture diagram of controlling the satellite attitude by using a PID (proportion integration differentiation) as shown in figure 1, and is a closed-loop control system block diagram formed by a PID controller, wherein the closed-loop control system is a type of control system, and means that part or all of the output quantity of the control system is fed back to the input end of the system through a certain method and device, then the feedback information is compared with the original input information, and the compared result is applied to the system for control, so that the system is prevented from deviating from a preset target. Specifically, in fig. 1, y (t) is the control system output, representing the actual attitude of the satellite; u (t) is the input of the satellite attitude model and represents the moment borne by the satellite; r (t) is a control system input representing a desired attitude of the satellite; e (t) = r (t) -y (t) is a control system deviation, representing an attitude deviation; t represents a time variable.
The PID controller characterizes the functional relationship between the attitude deviation e (t) and the moment u (t), and the typical expression is as follows:
wherein the content of the first and second substances,proportional parameters of the PID controller;is an integral parameter of the PID controller;is a differential parameter of a PID controller;is the integral of the attitude deviation e (t) over time t;is the first derivative of the attitude deviation e (t) with respect to time t. Laplace transform is carried out on the formula to obtain an expression of a transfer function C(s) corresponding to the PID controller as
Where s is a complex variable of the transfer function, i.e., a complex field variable.
The key to using PID control is to find the appropriate controller parameter, i.e., the proportional parameterIntegral parameterAnd differential parametersThe actual attitude of the satellite while in-orbit service is maintained near the desired attitude.
As described above, since the parameters of the conventional PID controller are constant values and the setting of the parameters needs to be established on the basis of an accurate mathematical model of the satellite attitude and a large amount of test experimental data, the conventional method cannot obtain appropriate PID controller parameters, which affects the robustness, stability, control accuracy and fast response capability of the in-orbit satellite attitude.
Based on this, the embodiment of the present invention provides a satellite attitude adaptive control technology based on FRIT (virtual Reference iterative tuning) data driving, where FRIT is a control method based on data driving, and uses a set of input and output data of a closed-loop control system to iteratively tune a satellite attitude controller parameter, so as to implement adaptive tuning of the satellite attitude controller parameter. The corresponding satellite attitude closed-loop control architecture diagram is shown in fig. 2, where p(s) is the controlled object, i.e. the satellite attitude, c(s) is the satellite attitude controller, and the satellite attitude controller parameters may include the proportional parametersIntegral parameterAnd differential parameters. y (t) represents the actual attitude of the satellite; u (t) denotes a satelliteA force moment; r (t) represents the desired attitude of the satellite; e (t) = r (t) -y (t) represents a posture deviation; t is a time variable; s is a complex variable. Specifically, an embodiment of the present invention provides a satellite attitude adaptive control method, as shown in fig. 3, including the following steps:
s1, acquiring the parameters of a satellite attitude controller, the moment borne by the satellite and the actual attitude of the satellite at the current moment;
step S2, determining a preset objective function value based on a preset virtual reference model, the satellite attitude controller parameters at the current moment, the moment borne by the satellite and the actual attitude of the satellite;
and step S3, updating the satellite attitude controller parameters based on the objective function value and a preset objective function threshold value.
The method of the embodiment of the invention does not depend on an accurate mathematical model of the satellite attitude, does not need repeated test experiments, obtains the appropriate dynamic satellite attitude controller parameters in a complex environment according to the specific control requirements, improves the robustness, stability, control precision and quick response capability of the satellite attitude control, and further improves the communication quality of the satellite.
As an example, the solution does not need an accurate model of the satellite attitude, but needs to define a virtual reference model m (S) in advance, the method further includes step S10 of constructing the virtual reference model m (S), the virtual reference model is used for representing the target correspondence between the satellite actual attitude and the satellite desired attitude, and the transfer function of the virtual reference model is as follows:
wherein the content of the first and second substances,、andare all the parameters of the model, and are,representing a delay parameter, m and n are positive integers,,is a natural constant and s is a complex variable.
It should be noted that formula (2) is only an example of the transfer function of the virtual reference model m(s), the transfer function of the virtual reference model m(s) is not limited to the expression of formula (2), and other expressions representing the target corresponding relationship between the actual attitude of the satellite and the desired attitude of the satellite may also be suitable for this.
According to the embodiment of the invention, an accurate satellite attitude model does not need to be mastered, but a virtual reference model can be predefined according to requirements and experiences, and the parameters of the self-adaptive controller are set according to input and output data (the moment borne by the satellite and the actual attitude) acquired in real time, so that the stability and the control accuracy of the satellite attitude are improved.
As an example, the satellite attitude controller is a PID controller, and the step S2 includes:
by usingThe moment of force borne by the satellite is represented,which represents the actual attitude of the satellite(s),which represents the desired attitude of the satellite,proportional parameters of the satellite attitude controller;the integral parameter of the satellite attitude controller is obtained;as a differential parameter of the satellite attitude controller,
Wherein the content of the first and second substances,the number of samples is represented by the number of samples,a time variable is represented by a time variable,;、、are intermediate variables, L (∙) denotes the Laplace transform, L-1(∙) representing an inverse laplacian transform; var (∙) represents variance;is a transfer function of the satellite attitude controller, is obtained by Laplace transform of a mathematical expression of the traditional satellite attitude controller on a time domain, s is a complex variable of the transfer function of the satellite attitude controller, and when the satellite attitude controller is a PID controller, can be known by a formula (1),。
it should be noted that the satellite attitude controller is not limited to the PID controller, but may also be a variant of the PID controller, such as a PD controller, and when the satellite attitude controller is a PD controller, only the corresponding satellite attitude controller parameter in the formula for calculating the objective function needs to be replaced, for example, when the satellite attitude controller is a PD controller, the PD controller is adoptedThe moment of force borne by the satellite is represented,which represents the actual attitude of the satellite(s),representing the desired attitude of the satellite with the satellite attitude controller parameters of,Represents a proportional parameter of the satellite attitude controller,a differential parameter representing the attitude controller of the satellite,
Wherein the content of the first and second substances,the number of samples is represented by the number of samples,a time variable is represented by a time variable,;、、、are intermediate variables, L (∙) denotes the Laplace transform, L-1(∙) representing an inverse laplacian transform; var (∙) represents the variance,the transfer function of the satellite attitude controller is obtained by performing Laplace transform on a mathematical expression of a traditional satellite attitude controller in a time domain, s is a complex variable of the transfer function of the satellite attitude controller, and when the satellite attitude controller is a PD controller, the transfer function can be obtained by the following processExpression:
the PD controller characterizes a functional relationship between the attitude deviation e (t) and the moment u (t), which is typically expressed as:
wherein the content of the first and second substances,proportional parameters of the PD controller;is a differential parameter of the PD controller;is the first derivative of the attitude deviation e (t) with respect to time t. The above formula is enteredThe expression of the transfer function C(s) corresponding to the PD controller obtained by line Laplace transformation is
Where s is a complex variable of the transfer function, i.e., a complex field variable.
As an example, the step S3 includes:
step S31, judging whether the current time is smaller than a preset target function threshold value, if so, setting the satellite attitude controller parameter of the current time as the satellite attitude controller parameter, returning to execute the step S1, and otherwise, executing the step S32;
from the loop of step S31 back to step S1, the satellite attitude controller parameters that minimize the objective function under the current acquired data (the moment received by the satellite and the actual attitude of the satellite), i.e., the optimal satellite attitude controller parameters, can be determined.
Step S32, updating the satellite attitude controller parameters based on the following formula, and returning to execute step S2,
when the satellite attitude controller is a PID controller, the corresponding update formula is as follows:
wherein the content of the first and second substances,the representation is defined as;representing satellite attitude controller parameter update rate,0<<1;、、Respectively representing the proportional parameters K of the objective function to the satellite attitude controllerPIntegral parameter KIAnd a differential parameter KDThe first partial derivative of (a).
When the satellite attitude controller is a PD controller, the corresponding update formula is:
wherein the content of the first and second substances,the representation is defined as;represents the update rate of the satellite attitude controller parameters, 0<<1;、Respectively representing the proportional parameters K of the objective function to the satellite attitude controllerPAnd a differential parameter KDThe first partial derivative of (a).
And returning to the loop of the step S2 from the step S32, and further iteratively searching the satellite attitude controller parameter which minimizes the objective function based on the result obtained in the step S32, so that the optimality of the obtained satellite attitude controller parameter is further ensured, and the optimality ensures the robustness, stability, control precision and quick response capability of the satellite attitude.
The method disclosed by the embodiment of the invention has the core that the parameters of the satellite attitude controller are optimized in real time, so that the objective function is minimum (the function is a multivariable function related to the parameters of the satellite attitude controller), and the actual attitude y (t) of the satellite tends to be the expected attitude r (t) of the satellite according to the parameters of the satellite attitude controller under the condition.
According to the embodiment of the invention, the test experiment is not required to be repeated for many times, but only one group or a plurality of groups of moments borne by the satellite and the actual attitude of the satellite are required to be acquired, and the parameter self-adaptive setting of the satellite attitude controller is carried out on the satellite-borne computer according to a specific algorithm. Therefore, data transmission between the satellite and the ground station can be avoided, and the quick response capability of the satellite attitude is improved. In addition, the embodiment of the invention takes the collected moment and actual attitude data of the satellite as basic samples, optimizes the objective function by adopting a machine learning algorithm, and updates the parameters of the satellite attitude controller in real time. The dynamic satellite attitude controller parameters can adapt to the change of the satellite attitude model parameters, and the robustness of the control system is improved.
The embodiment of the invention also provides a satellite attitude self-adaptive control device, which comprises a parameter acquisition module 1, an objective function value determination module 2 and a controller parameter updating module 3, wherein the parameter acquisition module 1 is configured to acquire a satellite attitude controller parameter, a satellite borne moment and a satellite actual attitude at the current moment; the objective function value determining module 2 is configured to determine a preset objective function value based on a preset virtual reference model, the satellite attitude controller parameter at the current moment, the moment borne by the satellite and the actual attitude of the satellite; a controller parameter updating module 3 configured to update the satellite attitude controller parameter based on the objective function value and a preset objective function threshold. The device provided by the embodiment of the invention does not depend on an accurate mathematical model of the satellite attitude, does not need repeated test experiments, obtains appropriate dynamic satellite attitude controller parameters in a complex environment according to specific control requirements, improves the robustness, stability, control precision and quick response capability of satellite attitude control, and further improves the communication quality of the satellite.
As an example, the apparatus further comprises a virtual reference model building module configured to: constructing the virtual reference model M(s), wherein the virtual reference model is used for representing the target corresponding relation between the actual attitude of the satellite and the expected attitude of the satellite, and the transfer function of the virtual reference model is as follows:
wherein the content of the first and second substances,、andare all the parameters of the model, and are,representing a delay parameter, m and n are positive integers,,is a natural constant and s is a complex variable.
It should be noted that formula (2) is only an example of the transfer function of the virtual reference model m(s), the transfer function of the virtual reference model m(s) is not limited to the expression of formula (2), and other expressions representing the target corresponding relationship between the actual attitude of the satellite and the desired attitude of the satellite may also be suitable for this.
According to the embodiment of the invention, an accurate satellite attitude model does not need to be mastered, but a virtual reference model can be predefined according to requirements and experiences, and the parameters of the self-adaptive controller are set according to input and output data (the moment borne by the satellite and the actual attitude) acquired in real time, so that the stability and the control accuracy of the satellite attitude are improved.
As an example, the objective function value determining module 2 is specifically configured to:
by usingThe moment of force borne by the satellite is represented,which represents the actual attitude of the satellite(s),which represents the desired attitude of the satellite,proportional parameters of the satellite attitude controller;the integral parameter of the satellite attitude controller is obtained;as a differential parameter of the satellite attitude controller,
Wherein the content of the first and second substances,the number of samples is represented by the number of samples,a time variable is represented by a time variable,;、、are intermediate variables, L (∙) denotes the Laplace transform, L-1(∙) representing an inverse laplacian transform; var (∙) represents variance;the transfer function of the satellite attitude controller is obtained by performing Laplace transform on a mathematical expression of the traditional satellite attitude controller in a time domain, s is a complex variable of the transfer function of the satellite attitude controller, and the satelliteWhen the attitude controller is a PID controller, the formula (1) shows that,。
it should be noted that the satellite attitude controller is not limited to the PID controller, but may also be a variant of the PID controller, such as a PD controller, and when the satellite attitude controller is a PD controller, only the corresponding satellite attitude controller parameter in the formula for calculating the objective function needs to be replaced, for example, when the satellite attitude controller is a PD controller, the PD controller is adoptedThe moment of force borne by the satellite is represented,which represents the actual attitude of the satellite(s),representing the desired attitude of the satellite with the satellite attitude controller parameters of,Represents a proportional parameter of the satellite attitude controller,a differential parameter representing the attitude controller of the satellite,
Wherein the content of the first and second substances,the number of samples is represented by the number of samples,a time variable is represented by a time variable,;、、、are all intermediate variables;is a transfer function of the satellite attitude controller, is obtained by Laplace transform of a mathematical expression of the traditional satellite attitude controller on a time domain, and s is satelliteThe complex variable of the transfer function of the satellite attitude controller can be known from the formula (3), when the satellite attitude controller is a PD controller,l (∙) denotes Laplace transform, L-1(∙) representing an inverse laplacian transform; var (∙) represents the variance.
As an example, the controller parameter updating module 3 is specifically configured to:
and judging whether the current time is less than a preset target function threshold value, if so, setting the satellite attitude controller parameter at the current time as the satellite attitude controller parameter, returning to the parameter acquisition module 1, and returning to the cycle of the parameter acquisition module 1 from the controller parameter updating module 3, so that the satellite attitude controller parameter which minimizes the target function under the current acquired data (the moment borne by the satellite and the actual attitude of the satellite), namely the optimal satellite attitude controller parameter, can be determined.
Otherwise, the parameters of the satellite attitude controller are updated based on the following formula and returned to the objective function value determining module 2,
when the satellite attitude controller is a PID controller, the corresponding update formula is as follows:
wherein the content of the first and second substances,the representation is defined as;representing the update speed of the satellite attitude controller parametersRate, 0<<1;、、Respectively representing the proportional parameters K of the objective function to the satellite attitude controllerPIntegral parameter KIAnd a differential parameter KDThe first partial derivative of (a).
When the satellite attitude controller is a PD controller, the corresponding update formula is:
wherein the content of the first and second substances,the representation is defined as;represents the update rate of the satellite attitude controller parameters, 0<<1;、Respectively representing the proportional parameters K of the objective function to the satellite attitude controllerPAnd a differential parameter KDThe first partial derivative of (a).
And the loop of the objective function value determining module 2 is returned from the controller parameter updating module 3, the satellite attitude controller parameter which enables the objective function to be minimum is further searched in an iterative mode, the optimality of the obtained satellite attitude controller parameter is further ensured, and the robustness, the stability, the control precision and the quick response capability of the satellite attitude are ensured by the optimality.
The device of the embodiment of the invention has the core that the parameters of the satellite attitude controller are optimized in real time, so that the objective function is minimum (the function is a multivariable function related to the parameters of the satellite attitude controller), and the parameters of the satellite attitude controller under the condition make the actual attitude y (t) of the satellite tend to the expected attitude r (t) of the satellite.
The embodiment of the invention also provides a controller, which comprises a memory and a processor, wherein the memory stores a computer program, and the program can realize the steps of the satellite attitude self-adaptive control method when being executed by the processor.
Embodiments of the present invention also provide a computer-readable storage medium for storing a computer program, which when executed by a computer or a processor implements the steps of the satellite attitude adaptive control method.
The embodiment of the invention is suitable for controlling the satellite attitude of low-orbit satellites, high-orbit satellites and the like, does not need to repeatedly carry out test experiments, only needs to acquire the moment borne by one group or a plurality of groups of satellites and the actual attitude of the satellites, and carries out self-adaptive setting of the satellite attitude controller parameters on the satellite-borne computer according to a specific algorithm. Therefore, data transmission between the satellite and the ground station can be avoided, and the quick response capability of the satellite attitude is improved. In addition, the embodiment of the invention takes the collected moment and actual attitude data of the satellite as basic samples, optimizes the objective function by adopting a machine learning algorithm, and updates the parameters of the satellite attitude controller in real time. The dynamic satellite attitude controller parameters can adapt to the change of the satellite attitude model parameters, and the robustness of the control system is improved.
Although the present invention has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (6)
1. A satellite attitude adaptive control method is characterized by comprising the following steps:
acquiring parameters of a satellite attitude controller at the current moment, moment borne by a satellite and actual attitude of the satellite;
determining a preset objective function value based on a preset virtual reference model, the satellite attitude controller parameters at the current moment, the moment borne by the satellite and the actual attitude of the satellite;
updating the satellite attitude controller parameters based on the objective function values and a preset objective function threshold;
the method further comprises the following steps:
constructing the virtual reference model M(s), wherein the virtual reference model is used for representing the target corresponding relation between the actual attitude of the satellite and the expected attitude of the satellite, and the transfer function of the virtual reference model is as follows:
wherein the content of the first and second substances,、andare all the parameters of the model, and are,representing a delay parameter, m and n are positive integers,,is a natural constant, s is a complex variable;
the satellite attitude controller is a PID controller, and the preset objective function value is determined based on a preset virtual reference model, the satellite attitude controller parameters at the current moment, the moment borne by the satellite and the actual attitude of the satellite, and the method comprises the following steps:
by usingThe moment of force borne by the satellite is represented,which represents the actual attitude of the satellite(s),which represents the desired attitude of the satellite,proportional parameters of the satellite attitude controller;the integral parameter of the satellite attitude controller is obtained;as a differential parameter of the satellite attitude controller,
Wherein the content of the first and second substances,the number of samples is represented by the number of samples,a time variable is represented by a time variable,;、、are intermediate variables, L (∙) denotes the Laplace transform, L-1(∙) representing an inverse laplacian transform; var (∙) represents variance;
the transfer function of the satellite attitude controller is obtained by performing Laplace transform on a mathematical expression of a traditional satellite attitude controller in a time domain, s is a complex variable of the transfer function of the satellite attitude controller, and when the satellite attitude controller is a PID (proportion integration differentiation) controller, the PID controller represents a functional relation between attitude deviation e (t) and moment u (t), and the expression mode is as follows:
wherein the content of the first and second substances,is the integral of the attitude deviation e (t) over time t;for the first derivative of the attitude deviation e (t) with respect to time t, willPerforming Laplace transform to obtain an expression of a transfer function C(s) corresponding to the PID controller as
Alternatively, the first and second electrodes may be,
the satellite attitude controller is a PD controller, and the preset objective function value is determined based on a preset virtual reference model, the satellite attitude controller parameters at the current moment, the moment borne by the satellite and the actual attitude of the satellite, and the method comprises the following steps:
by usingThe moment of force borne by the satellite is represented,which represents the actual attitude of the satellite(s),representing the desired attitude of the satellite with the satellite attitude controller parameters of,Represents a proportional parameter of the satellite attitude controller,a differential parameter representing the attitude controller of the satellite,
Wherein the content of the first and second substances,the number of samples is represented by the number of samples,a time variable is represented by a time variable,;、、are intermediate variables, L (∙) denotes the Laplace transform, L-1(∙) representing an inverse laplacian transform; var (∙) represents variance;
the transfer function of the satellite attitude controller is obtained by performing Laplace transform on a mathematical expression of a traditional satellite attitude controller in a time domain, s is a complex variable of the transfer function of the satellite attitude controller, and when the satellite attitude controller is a PD controller, the PD controller represents a functional relation between attitude deviation e (t) and moment u (t), and the expression mode is as follows:
wherein the content of the first and second substances,for the first derivative of the attitude deviation e (t) with respect to time t, willPerforming Laplace transform to obtain an expression of a transfer function C(s) corresponding to the PD controller as
2. The adaptive control method for satellite attitude according to claim 1,
updating the satellite attitude controller parameters based on the objective function values and a preset objective function threshold, comprising:
judging whether the current time is smaller than a preset target function threshold value or not, if so, setting the satellite attitude controller parameter at the current time as a satellite attitude controller parameter, and returning to the step of acquiring the satellite attitude controller parameter, the moment borne by the satellite and the actual attitude of the satellite at the current time;
otherwise, updating the parameters of the satellite attitude controller based on the following formula, and returning to the step of determining the preset objective function value based on the preset virtual reference model, the parameters of the satellite attitude controller at the current moment, the moment borne by the satellite and the actual attitude of the satellite,
when the satellite attitude controller is a PID controller, the corresponding controller parameter updating formula is as follows:
wherein the content of the first and second substances,the representation is defined as;represents the update rate of the satellite attitude controller parameters, 0<<1;、、Respectively representing the proportional parameters K of the objective function to the satellite attitude controllerPIntegral parameter KIAnd a differential parameter KDThe first partial derivative of (a);
alternatively, the first and second electrodes may be,
when the satellite attitude controller is a PD controller, the corresponding controller parameter updating formula is as follows:
wherein the content of the first and second substances,the representation is defined as;represents the update rate of the satellite attitude controller parameters, 0<<1;、Respectively representing the proportional parameters K of the objective function to the satellite attitude controllerPAnd a differential parameter KDThe first partial derivative of (a).
3. A satellite attitude adaptive control apparatus, comprising:
the parameter acquisition module is configured to acquire the parameters of the satellite attitude controller, the moment borne by the satellite and the actual attitude of the satellite at the current moment;
the objective function value determining module is configured to determine a preset objective function value based on a preset virtual reference model, the satellite attitude controller parameter at the current moment, the moment borne by the satellite and the actual attitude of the satellite;
a controller parameter update module configured to update the satellite attitude controller parameter based on the objective function value and a preset objective function threshold;
the apparatus further comprises a virtual reference model building module configured to:
constructing the virtual reference model M(s), wherein the virtual reference model is used for representing the target corresponding relation between the actual attitude of the satellite and the expected attitude of the satellite, and the transfer function of the virtual reference model is as follows:
wherein the content of the first and second substances,、andare all the parameters of the model, and are,representing a delay parameter, m and n are positive integers,,is a natural constant, s is a complex variable;
the satellite attitude controller is a PID controller, and the objective function value determination module is specifically configured to:
by usingThe moment of force borne by the satellite is represented,which represents the actual attitude of the satellite(s),which represents the desired attitude of the satellite,proportional parameters of the satellite attitude controller;the integral parameter of the satellite attitude controller is obtained;as a differential parameter of the satellite attitude controller,
Wherein the content of the first and second substances,the number of samples is represented by the number of samples,a time variable is represented by a time variable,;、、are intermediate variables, L (∙) denotes the Laplace transform, L-1(∙) representing an inverse laplacian transform; var (∙) represents variance;
the transfer function of the satellite attitude controller is obtained by performing Laplace transform on a mathematical expression of a traditional satellite attitude controller in a time domain, s is a complex variable of the transfer function of the satellite attitude controller, and when the satellite attitude controller is a PID (proportion integration differentiation) controller, the PID controller represents a functional relation between attitude deviation e (t) and moment u (t), and the expression mode is as follows:
wherein the content of the first and second substances,is the integral of the attitude deviation e (t) over time t;for the first derivative of the attitude deviation e (t) with respect to time t, willPerforming Laplace transform to obtain an expression of a transfer function C(s) corresponding to the PID controller as
Alternatively, the first and second electrodes may be,
the satellite attitude controller is a PD controller, and the objective function value determination module is specifically configured to:
by usingThe moment of force borne by the satellite is represented,which represents the actual attitude of the satellite(s),representing the desired attitude of the satellite with the satellite attitude controller parameters of,Represents a proportional parameter of the satellite attitude controller,a differential parameter representing the attitude controller of the satellite,
Wherein the content of the first and second substances,the number of samples is represented by the number of samples,a time variable is represented by a time variable,;、、are intermediate variables, L (∙) denotes the Laplace transform, L-1(∙) representing an inverse laplacian transform; var (∙) represents variance;
the transfer function of the satellite attitude controller is obtained by performing Laplace transform on a mathematical expression of the traditional satellite attitude controller in a time domain, and s is the transfer function of the satellite attitude controllerWhen the satellite attitude controller is a PD controller, the PD controller represents a functional relationship between the attitude deviation e (t) and the moment u (t), and the expression manner is:
wherein the content of the first and second substances,for the first derivative of the attitude deviation e (t) with respect to time t, willPerforming Laplace transform to obtain an expression of a transfer function C(s) corresponding to the PD controller as
4. The satellite attitude adaptive control apparatus according to claim 3, wherein the controller parameter update module is specifically configured to:
judging whether the current time is smaller than a preset target function threshold value or not, if so, setting the satellite attitude controller parameter at the current time as a satellite attitude controller parameter, and returning the satellite attitude controller parameter to the parameter acquisition module;
otherwise, updating the parameters of the satellite attitude controller based on the following formula and returning to the objective function value determining module,
when the satellite attitude controller is a PID controller, the corresponding controller parameter updating formula is as follows:
wherein the content of the first and second substances,the representation is defined as;represents the update rate of the satellite attitude controller parameters, 0<<1;、、Respectively representing the proportional parameters K of the objective function to the satellite attitude controllerPIntegral parameter KIAnd a differential parameter KDThe first partial derivative of (a);
alternatively, the first and second electrodes may be,
when the satellite attitude controller is a PD controller, the corresponding controller parameter updating formula is as follows:
wherein the content of the first and second substances,the representation is defined as;represents the update rate of the satellite attitude controller parameters, 0<<1;、Respectively representing the proportional parameters K of the objective function to the satellite attitude controllerPAnd a differential parameter KDThe first partial derivative of (a).
5. A controller comprising a memory and a processor, wherein: the memory stores a computer program enabling to carry out the steps of the method of any one of claims 1 to 2 when executed by the processor.
6. A computer-readable storage medium storing a computer program, characterized in that: the program when executed by a computer or processor implements the steps of the method of any one of claims 1 to 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010267186.2A CN111158243B (en) | 2020-04-08 | 2020-04-08 | Satellite attitude self-adaptive control method, device, controller and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010267186.2A CN111158243B (en) | 2020-04-08 | 2020-04-08 | Satellite attitude self-adaptive control method, device, controller and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111158243A CN111158243A (en) | 2020-05-15 |
CN111158243B true CN111158243B (en) | 2020-07-24 |
Family
ID=70567794
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010267186.2A Active CN111158243B (en) | 2020-04-08 | 2020-04-08 | Satellite attitude self-adaptive control method, device, controller and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111158243B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115145300B (en) * | 2022-08-24 | 2024-05-03 | 航天科工火箭技术有限公司 | Carrier rocket attitude control method and related equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106557090B (en) * | 2016-11-08 | 2019-06-28 | 上海宇航系统工程研究所 | A kind of spacecraft attitude combination control method of magnetic coil combination momenttum wheel |
CN106774373B (en) * | 2017-01-12 | 2019-11-05 | 哈尔滨工业大学 | A kind of quadrotor drone finite time Attitude tracking control method |
CN108563131B (en) * | 2018-07-12 | 2021-06-15 | 南京航空航天大学 | Self-adaptive compensation method for out-of-control fault of actuator of satellite attitude control system |
-
2020
- 2020-04-08 CN CN202010267186.2A patent/CN111158243B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111158243A (en) | 2020-05-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108445748B (en) | Adaptive spacecraft attitude tracking control method based on event trigger mechanism | |
Zhou | Decentralized adaptive control for large-scale time-delay systems with dead-zone input | |
Wang et al. | Consensus tracking for nonlinear multi-agent systems with unknown disturbance by using model free adaptive iterative learning control | |
CN109270946B (en) | Attitude control method of flexible spacecraft, electronic device and readable storage medium | |
US11521119B2 (en) | Machine learning device, control device, and machine learning method | |
Yu et al. | Trajectory switching control of robotic manipulators based on RBF neural networks | |
CN111158243B (en) | Satellite attitude self-adaptive control method, device, controller and medium | |
Li et al. | Adaptive neural networks-based fixed-time fault-tolerant consensus tracking for uncertain multiple Euler–Lagrange systems | |
Lai et al. | Model-free optimal control of discrete-time systems with additive and multiplicative noises | |
CN117093033A (en) | Resistance heating furnace temperature control system for optimizing PID parameters based on particle swarm optimization | |
CN110209122B (en) | Control method, device, medium and equipment of multi-axis motion platform | |
CN115179295A (en) | Robust dichotomy consistency tracking control method for multi-Euler-Lagrange system | |
Zheng et al. | Quantized adaptive tracking control for nonlinear systems with actuator backlash compensation | |
CN110673619A (en) | Flight attitude control method and device, unmanned aerial vehicle and storage medium | |
Rizvi et al. | Experience replay–based output feedback Q‐learning scheme for optimal output tracking control of discrete‐time linear systems | |
Wang et al. | Survey of transient performance control | |
Shi et al. | Novel two-dimensional off-policy Q-learning method for output feedback optimal tracking control of batch process with unknown dynamics | |
Tanemura et al. | Closed-loop data-driven estimation on passivity property | |
CN113741183B (en) | Industrial robot self-adaptive admittance control method based on damping ratio model | |
CN112731801B (en) | Symmetric dead zone nonlinear self-adaptive dynamic surface output feedback control method | |
Wang et al. | Predictor-based optimal robust guaranteed cost control for uncertain nonlinear systems with completely tracking errors constraint | |
CN105467836A (en) | Multi-model adaptive mixed control method and system of ship motion system | |
CN114488786A (en) | A3C and event trigger-based networked servo system control method | |
CN112346342B (en) | Single-network self-adaptive evaluation design method of non-affine dynamic system | |
CN115917444A (en) | Control support device, control device, and control support method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | "change of name, title or address" | ||
CP03 | "change of name, title or address" |
Address after: 905-1, 8 / F, No.8, Haidian North 2nd Street, Haidian District, Beijing 100080 Patentee after: Beijing Ultimate Frontier Deep Space Technology Co., Ltd Address before: Room 905, SOHO building, Zhongguancun, No.8, Haidian North 2nd Street, Haidian District, Beijing 100080 Patentee before: Beijing frontier exploration deep space technology Co.,Ltd. |