A time-optimal spacecraft attitude control method under pointing constraints
By establishing a spacecraft attitude model and a constraint transcription method, the attitude pointing constraints of the spacecraft are converted into a finite-dimensional parameter optimization problem. Combined with the control parameterization method, the time optimal control of the spacecraft under pointing constraints during the attitude reorientation process is solved. problem, achieving fast and efficient attitude maneuvers.
Patent Information
- Application Number
- CN202311652713.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-05
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-12-05
AI Technical Summary
The spacecraft needs to meet pointing constraints during the attitude reorientation process, especially to avoid pointing directly at bright celestial bodies to protect the photosensitive sensors, while maintaining the pointing of the communication antenna to the earth or satellites, resulting in limited attitude maneuvering speed, making it difficult to achieve rapid and time-optimal maneuvering. Excellent posture control.
A rigid spacecraft attitude model is established, and the infinite-dimensional attitude pointing constraint optimization problem is converted into a finite-dimensional parameter optimization problem through the attitude constraint transcription method. Combined with the control parameterization method, the time-optimal spacecraft attitude control problem is converted into a tractable problem. The nonlinear planning problem is solved using MATLAB's fmincon function and gradient information to obtain the optimal maneuver time and control sequence.
It achieves rapid attitude maneuvering and time-optimal control of the spacecraft while satisfying attitude constraints, avoids the problem of solving infinite-dimensional problems in traditional methods, and significantly improves the attitude reorientation efficiency of the spacecraft.
Smart Images

Figure CN118062260B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of spacecraft control technology, and in particular to a time-optimal spacecraft attitude control method under pointing constraints. Background Art
[0002] With the increasing frequency of space activities, space missions are constantly developing towards diversification, unmanned autonomy, etc. These tasks require spacecraft to have high attitude control capabilities. The attitude redirection mission of a spacecraft requires the spacecraft to maneuver from the current attitude to the desired attitude and meet the corresponding attitude constraints. Since spacecraft usually carry photosensitive sensors (such as cameras), they are not allowed to point directly at bright objects, such as the sun. In order to maintain communication, the antenna on the spacecraft must point as much as possible to the object of communication, such as a ground station on the earth or a nearby satellite. This constraint is called an attitude constraint. How to design a rapid maneuver of the spacecraft attitude while satisfying the control quantity constraint, that is, to achieve the spacecraft attitude maneuver as quickly as possible under the maximum capability limit is a challenge. Summary of the invention
[0003] The purpose of the present invention is to provide a time-optimal spacecraft attitude control method under pointing constraints.
[0004] To achieve the above object, the present invention is implemented according to the following technical solutions:
[0005] The present invention comprises the following steps:
[0006] S1: Establish attitude model of rigid spacecraft;
[0007] S2: Establishing attitude constraints: including attitude forbidden areas and attitude mandatory areas, wherein the attitude forbidden areas are used to prevent the optical sensor from being directly exposed to certain celestial bodies, and the attitude mandatory areas are used to make the communication antenna point to the communication object as much as possible;
[0008] S3: Establish the time-optimal spacecraft attitude control problem P1 under attitude pointing constraints;
[0009] S4: Based on the control parameterization method, the infinite-dimensional control quantity optimization problem in the time-optimal spacecraft attitude control problem P1 is converted into a finite-dimensional parameter optimization problem P2;
[0010] S5: Constraint processing based on constraint transcription method: the finite-dimensional parameter optimization problem P2 is converted into a tractable optimization problem P3 with finite-dimensional constraints and finite-dimensional parameters;
[0011] S6: Obtain the gradient information of the objective function in the optimization problem P3, use MATLAB's fmincon function and the gradient information to solve the nonlinear programming problem, and obtain the optimal maneuvering time and optimal control sequence of the spacecraft.
[0012] The beneficial effects of the present invention are:
[0013] The present invention is a time-optimal spacecraft attitude control method under pointing constraints. Compared with the prior art, the present invention is a time-optimal attitude control scheme for the spacecraft attitude redirection problem under pointing constraints, which can achieve rapid attitude maneuvers of the spacecraft while satisfying the attitude constraints. In addition, based on the constraint transcription method, the optimization problem of infinite-dimensional spacecraft attitude pointing constraints is converted into a parameter optimization problem of finite-dimensional constraints. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 is the optimal control sequence diagram obtained by the present invention;
[0015] Figure 2 It is the posture trajectory diagram obtained by the present invention. DETAILED DESCRIPTION
[0016] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. The illustrative embodiments and descriptions of the present invention are used to explain the present invention but are not intended to limit the present invention.
[0017] The overall idea of the present invention is as follows: 1) To realize the rapid maneuver of the spacecraft under attitude constraints, a time-optimal spacecraft attitude control model is established; 2) Based on the constraint transcription method, the optimization problem of the infinite-dimensional spacecraft attitude pointing constraint is converted into a parameter optimization problem of finite-dimensional constraints. 3) Based on the control parameterization method, the problem is converted into a solvable nonlinear programming problem.
[0018] The present invention specifically comprises the following steps:
[0019] Build a rigid spacecraft attitude model:
[0020] First, establish the attitude model of the rigid spacecraft:
[0021]
[0022] where q = [q0 q1 q2 q3] T ∈Q represents the attitude quaternion, represents the attitude angular velocity, is the control input, represents the spacecraft moment of inertia matrix, q v =[q1 q2 q3] T .
[0023] Create a pose constraint:
[0024] 1) Attitude prohibited area: prevents the optical sensor from being directly exposed to certain celestial bodies, such as stars. We use x1j Indicates the unit vector of the satellite center pointing to the celestial body. y1 indicates the unit vector of the optical sensor in the body coordinate system.
[0025] The mathematical expression is
[0026]
[0027] in
[0028] Attitude forced area: The communication antenna points to the communication object such as the earth as much as possible. We use x2 to represent the unit vector of the satellite center pointing to the communication object. y2 represents the unit vector of the communication antenna in the body coordinate system.
[0029] The mathematical expression is
[0030]
[0031] in
[0032] These two posture constraints can be expressed as the following convex constraints
[0033]
[0034] in M2 is defined in the same way as M 1j resemblance.
[0035] Establish the time-optimal spacecraft attitude control problem under attitude pointing constraints:
[0036] Time-optimal objective function:
[0037]
[0038] Where T refers to the optimal time for spacecraft attitude maneuvering.
[0039] Spacecraft terminal target constraints:
[0040]
[0041] where q d is the desired attitude quaternion specifying the constant.
[0042] Kinematic and dynamic constraints:
[0043]
[0044] Spacecraft attitude constraints:
[0045] q T M 1j q<0,j=1,...,n (0.8)
[0046] q T M2q>0 (0.9)
[0047] Spacecraft control quantity constraints:
[0048] |u i |≤u m ,i=1,...,3 (0.10)
[0049] Establish the time-optimal spacecraft attitude control problem P1:
[0050]
[0051] Where q0 refers to the initial attitude quaternion.
[0052] Control parameterization:
[0053] Based on the control parameterization method, the infinite-dimensional control quantity optimization problem in the optimization problem P1 is transformed into a finite-dimensional parameter optimization problem.
[0054] First, the scaling method is used to transform the variable time domain t∈[0,T] into the fixed time domain s∈[0,1],
[0055]
[0056] So constraints C5 and C6 can be converted to
[0057]
[0058]
[0059] Next, the control parameterization method is used to divide the continuous control quantity u(s) into K intervals at the time scale s∈[0,1], thereby generating K+1 nodes {s0,s1,s2,...,s K}, where s0 = 0, s K =1. The parameterized control quantity can be expressed as
[0060]
[0061] where μ i =[μ i,1 ,μ i,2 ,...,μ i,K ] T is the control parameter to be optimized,
[0062]
[0063] Therefore, the infinite-dimensional control quantity optimization problem P1 can be transformed into a finite-dimensional parameter optimization problem P2
[0064]
[0065] Constraint processing based on constraint transcription method:
[0066] Since the optimization problem P2 contains continuous state inequality constraints S7 and S8, this poses a great challenge to the problem solution. Therefore, the present invention adopts the transcription method to process the posture constraints S7 and S8.
[0067]
[0068]
[0069] where g j =-q T M 1j q>0,g n+1 =q T M2q>0,γ,ε>0.
[0070] The terminal constraints S3 and S4 can be transformed into:
[0071]
[0072] Problem P2 is transformed into a tractable optimization problem P3 with finite-dimensional constraints and finite-dimensional parameters:
[0073]
[0074] Time-optimal attitude control gradient:
[0075] The optimization problem P3 is a standard optimal parameter selection problem, in order to transform it into a general computable nonlinear programming problem.
[0076] 1) First, we need to obtain the gradient of the objective function in the optimization problem P3, that is:
[0077]
[0078] in
[0079] Φ0=T(0.21)
[0080] H0 is the Hamiltonian function, satisfying:
[0081]
[0082] The Lagrange multiplier λ0 satisfies:
[0083]
[0084] 2) Get the gradients of terminal constraints D3, D4 and attitude constraint D7
[0085]
[0086] in
[0087]
[0088] q k and q kd are vectors q and q respectively d The kth element of l is the lth element of the vector ω; H j is a Hamiltonian function that satisfies
[0089]
[0090] Lagrange multiplier λ j satisfy:
[0091]
[0092] Example:
[0093] Consider the spacecraft time optimal attitude maneuver scenario under pointing constraints: the initial attitude and terminal attitude are set to q(0) = [0.3822, 0.1390, 0.2001, 0.8914] T and q(T)=[0.6150,-0.1998,-0.2600,0.7171] T The initial angular velocity and terminal angular velocity satisfy ω(0)=[0 0 0] T and ω(T) = [0 0 0] T . The spacecraft control quantity constraints must be met during the spacecraft attitude maneuver |u i |≤u m ,i=1,2,3,u m =3, and the pointing constraints (1.2) and (1.3), where
[0094]
[0095] In order to achieve the time-optimal attitude maneuver under the pointing constraint and the control amount constraint, it is necessary to establish the time-optimal attitude maneuver optimization problem under the pointing constraint and the control amount constraint. The time-optimal control model includes: objective function, dynamic equation and inequality constraint. Considering the time optimality, first establish the following time optimal objective function:
[0096]
[0097] Where T refers to the optimal time for spacecraft attitude maneuvering.
[0098] Spacecraft terminal target constraints:
[0099]
[0100] where q d is the desired attitude quaternion specifying the constant.
[0101] Kinematic and dynamic constraints:
[0102]
[0103] Spacecraft attitude constraints:
[0104] q T M 11 q<0 (0.31)
[0105] q T M2q>0 (0.32)
[0106] Spacecraft control quantity constraints:
[0107] |u i |<u m ,i=1,...,3 (0.33)
[0108] Combining the time-optimal objective function (0.28), the spacecraft attitude dynamic equation (0.30), the attitude pointing constraints (0.31) and (0.32), and the control quantity constraint (0.33), the time-optimal spacecraft attitude control problem P1 is established:
[0109]
[0110] Where q0 refers to the initial attitude quaternion.
[0111] P1 is an optimization problem with infinite-dimensional control variables, which is difficult to solve. Therefore, we introduce the control parameterization method. Based on the control parameterization method, the infinite-dimensional control variable optimization problem in the optimization problem P1 is converted into a finite-dimensional parameter optimization problem.
[0112] First, the scaling method is used to transform the variable time domain t∈[0,T] into the fixed time domain s∈[0,1],
[0113]
[0114] So constraints C5 and C6 can be converted to
[0115]
[0116]
[0117] Next, the control parameterization method is used to divide the continuous control quantity u(s) into K intervals at the time scale s∈[0,1], thereby generating K+1 nodes {s0,s1,s2,...,s K}, where s0 = 0, s K =1. The parameterized control quantity can be expressed as
[0118]
[0119] where μ i =[μ i,1 ,μ i,2 ,...,μ i,K ] T is the control parameter to be optimized,
[0120]
[0121] Therefore, the infinite-dimensional control quantity optimization problem P1 can be transformed into a finite-dimensional parameter optimization problem P2
[0122]
[0123] By observing equation (0.40), the optimization problem P2 contains continuous state inequality constraints S7 and S8, which brings great challenges to the problem solution. Therefore, we introduce the constraint transcription method to deal with the posture constraints S7 and S8
[0124]
[0125] where g j =-q T M 1j q>0,g n+1 =q T M2q>0,γ,ε>0.
[0126] Similarly, terminal constraints S3 and S4 can be converted to
[0127]
[0128] According to the optimization problem P2 and the conversion constraints (0.41) and (0.42), we transform the optimization problem P2 into a tractable optimization problem P3 with finite-dimensional constraints and finite-dimensional parameters:
[0129]
[0130] The optimization problem P3 is a standard optimal parameter selection problem, which needs to be converted into a general computable nonlinear programming problem.
[0131] 1) First, we need to obtain the gradient of the objective function in the optimization problem P3, that is,
[0132]
[0133] in
[0134] Φ0=T (0.45)
[0135] H0 is the Hamiltonian function, satisfying
[0136]
[0137] The Lagrange multiplier λ0 satisfies:
[0138]
[0139] 2) Get the gradients of terminal constraints D3, D4 and attitude constraint D7
[0140]
[0141] in:
[0142]
[0143] q k and q kd are vectors q and q respectively d The kth element of l is the lth element of the vector ω; H j is a Hamiltonian function that satisfies
[0144]
[0145] Lagrange multiplier λ j satisfy:
[0146]
[0147] By using MATLAB's fmincon function and gradient information (0.48) to solve the nonlinear programming problem (0.43), we can obtain the optimal maneuvering time T = 5.538s and the optimal control sequence u of the spacecraft. Substituting the obtained optimal control sequence into the spacecraft dynamics equation (0.30), we can obtain Figure 2 By observing Figure 1 , the optimal control sequence obtained by solving the optimization problem P3 satisfies the control quantity constraint. In addition, by observing Figure 2 , the attitude trajectory curves of the spacecraft all satisfy the attitude pointing constraints.
[0148] In summary, the present invention takes into account attitude constraints and input constraints, as well as time-optimal characteristics in the design of the control law, which well meets the requirements of time-optimal aerospace attitude maneuvering tasks under pointing constraints.
[0149] The technical solution of the present invention is not limited to the above-mentioned specific embodiments. All technical variations made according to the technical solution of the present invention fall within the protection scope of the present invention.
Claims
1. A time-optimal spacecraft attitude control method under pointing constraints, characterized in that: The following steps are involved: S1: Establish the attitude model of the rigid spacecraft: in Represents the attitude quaternion, Q: = {q|q∈R 4 ,||q||=1},ω=[ω1 ω2 ω3]∈R 3 Represents the angular velocity of the attitude, u=[u1 u2 u3]∈R 3 is the control input, J∈R 3×3 represents the spacecraft moment of inertia matrix, S2: Establishing attitude constraints: including attitude forbidden areas and attitude mandatory areas, wherein the attitude forbidden areas are used to prevent the optical sensor from being directly exposed to certain celestial bodies, and the attitude mandatory areas are used to make the communication antenna point to the communication object as much as possible; Attitude prohibited area: Use x 1j represents the unit vector of the satellite center pointing to the celestial body, and y1 represents the unit vector of the optical sensor in the body coordinate system; The mathematical expression is: in In the attitude enforcement area, x2 represents the unit vector of the satellite center pointing to the communication object; y2 represents the unit vector of the communication antenna in the body coordinate system; the mathematical expression is: in These two posture constraints can be expressed as the following convex constraints: in M2 is defined in the same way as M 1j resemblance; S3: Establish the time-optimal spacecraft attitude control problem P1 under attitude pointing constraints; Time-optimal objective function: Where T refers to the optimal time for spacecraft attitude maneuvers; Spacecraft terminal target constraints: q(T)=q d ω(T)=0 where q d is the desired attitude quaternion of the specified constant; Kinematic and dynamic constraints: Spacecraft attitude constraints: Spacecraft control quantity constraints: |in i |≤u m ,i=1,...,3 Establish the time-optimal spacecraft attitude control problem P1 under attitude pointing constraints: stC1:q(0)=q0 C2:ω(0)=0 C3:q(T)=q d C4:ω(T)=0 C9:|u i |≤u m ,i=1,...,3 Where q0 refers to the initial attitude quaternion; S4: Based on the control parameterization method, the infinite-dimensional control quantity optimization problem in the time-optimal spacecraft attitude control problem P1 under attitude pointing constraints is converted into a finite-dimensional parameter optimization problem P2; First, the scaling method is used to transform the variable time domain t∈[0,T] into the fixed time domain s∈[0,1], Constraints C5 and C6 can be converted to: The control parameterization method is used to divide the continuous control variable u(s) into K intervals at the time scale s∈[0,1], thereby generating K+1 nodes {s0,s1,s2,...,s K }, where s0 = 0, s K =1; the parameterized control quantity can be expressed as: in is the control parameter to be optimized, stS1:q(0)=q0 S2:ω(0)=0 S3:q(1)=q d S4:ω(1)=0 S9:|in i |≤u m ,i=1,...,3 S5: Constraint processing based on constraint transcription method: the finite-dimensional parameter optimization problem P2 is converted into a tractable optimization problem P3 with finite-dimensional constraints and finite-dimensional parameters; Using transcription method to handle posture constraints S7 and S8 among them c,e>0 The terminal constraints S3 and S4 can be transformed into: D3:G j =q k -q dk =0,j=n+1+k,k=1,…,4 D4:G j =ω k =0,j=n+5+l,l=1,…,3 Problem P2 is transformed into a tractable optimization problem P3 with finite-dimensional constraints and finite-dimensional parameters: stD1:q(0)=q0 D2:ω(0)=0 D3:G j =q k -q dk =0,j=n+1+k,k=1,…,4 D4:G j =ω k =0,j=n+5+l,l=1,…,3 D8:|u i |≤u m ,i=1,...,3 S6: Obtain the gradient information of the objective function in the tractable optimization problem P3 with finite-dimensional constraints and finite-dimensional parameters, that is, in Φ0=T H0 is the Hamiltonian function, satisfying The Lagrange multiplier λ0 satisfies Get the gradients of terminal constraints D3, D4 and attitude constraint D7: in q k and q kd are vectors q and q respectively d The kth element of l is the lth element of the vector ω; H j is a Hamiltonian function that satisfies Lagrange multiplier λ j satisfy The nonlinear programming problem is solved using MATLAB's fmincon function and gradient information to obtain the optimal maneuvering time and optimal control sequence of the spacecraft.
