Aircraft attitude adjustment method, device and electronic equipment
The particle swarm method is used to optimize the Euler angle vector of the aircraft's attitude rotation, and combined with the attitude rotation angle and the angle of the space target in the payload field of view, the problem of excessive fuel consumption caused by aircraft attitude adjustment in the existing technology is solved, and the on-orbit efficiency is improved. Operational lifetime and coverage time performance of space targets.
Patent Information
- Application Number
- CN202211329810.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-27
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-10-27
AI Technical Summary
In the existing technology, the aircraft requires a large attitude adjustment angle when pointing to a space target, resulting in excessive consumption of working fluid and affecting the aircraft's on-orbit operating life.
The particle swarm method is used to optimize the attitude rotation Euler angle vector of the aircraft. By constructing an objective function combining the attitude rotation angle and the angle of the space target in the payload field of view, the optimization of fuel consumption during attitude adjustment is achieved.
It reduces fuel consumption during aircraft attitude adjustment, improves on-orbit operating life, and achieves continuous coverage time performance for space targets.
Smart Images

Figure CN115675927B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of aerospace technology, and in particular to an aircraft attitude adjustment method, device and electronic equipment. Background Art
[0002] With the continuous growth of space mission requirements, spacecraft payloads are becoming more and more complex. Payloads with rotating mechanisms are increasingly appearing in launched spacecraft, responsible for performing various space missions such as space environment detection.
[0003] In response to the problem of generating requirements for aircraft attitude adjustment, some researchers have proposed a method for determining the aircraft attitude for loads of non-rotating mechanisms. This method first models the load pointing in the aircraft body coordinate system based on the load installation position data, and gives the load pointing vector in the aircraft body system. Then, the direction of the load pointing vector in the aircraft orbital coordinate system is calculated under the condition of no attitude bias. Note that the aircraft orbital system is a moving coordinate system with the origin at the center of mass of the aircraft. In this step, it is necessary to calculate the transformation matrix from the aircraft body system to the orbital coordinate system based on the flight mode of the aircraft under the unbiased attitude. Third, calculate the spatial position vector of the covered space target or space position in the aircraft orbital coordinate system. Finally, define the attitude rotation variable so that in the aircraft orbital coordinate system, the aircraft load pointing vector coincides with the spatial position vector of the covered space target or space position, thereby obtaining the attitude rotation requirement of the aircraft. For the calculation process of the above method, please refer to Figure 2 shown.
[0004] If the above-mentioned method for determining the attitude of an aircraft with a load of a non-rotating mechanism is used for calculating the attitude of an aircraft with a load of a rotating mechanism, it is necessary to use the direction of the center of the load of the rotating mechanism as the direction of the load of the non-rotating mechanism in the existing method. Figure 2 The calculation process obtains the attitude rotation angle to achieve target pointing. However, there are defects in using this existing method to calculate the attitude adjustment requirements of an aircraft with a rotational load.
[0005] The main drawback is that the attitude calculated by the method for determining the attitude of the aircraft for the load of the non-rotating mechanism is completely achieved by adjusting the attitude of the aircraft to point to the space target, which will result in a large attitude adjustment angle. The attitude adjustment of the aircraft requires the consumption of working fluid, which is carried by the aircraft from the ground, is limited and difficult to replenish in orbit. A large attitude adjustment angle will consume a large amount of working fluid, which will have an energy constraint on the aircraft's execution of other space missions. For aircraft that use chemical fuels for attitude adjustment, it will directly affect the aircraft's on-orbit operation life. Summary of the invention
[0006] The present invention provides a method, device and electronic equipment for adjusting the attitude of an aircraft, which are used to solve the defect in the prior art that when an aircraft adjusts its attitude to point to a space target, a large consumption of working fluid is generated, which affects the on-orbit service life of the aircraft.
[0007] The present invention provides an aircraft attitude adjustment method, comprising:
[0008] Constructing an objective function based on the attitude rotation angle of the aircraft and the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft; the attitude rotation angle of the aircraft is calculated based on the rotation Euler angle vector of the aircraft;
[0009] Based on the particle swarm method, an optimization solution search is performed on the objective function to obtain the optimal rotation Euler angle vector of the aircraft;
[0010] The attitude of the aircraft is adjusted based on the optimal rotation Euler angle vector.
[0011] According to a method for adjusting the attitude of an aircraft provided by the present invention, the particle swarm method is used to search for an optimization solution of the objective function to obtain the optimal rotation Euler angle vector of the aircraft, including:
[0012] Initializing each particle in the colony to obtain an initial rotation Euler angle vector and a search vector of each particle; the initial rotation Euler angle vector represents an attitude adjustment parameter of the aircraft;
[0013] Repeat the following steps until the objective function value meets the end condition, and obtain the optimal rotation Euler angle vector corresponding to the objective function value:
[0014] Calculate the objective function value of each particle in the community based on the objective function;
[0015] updating the individual extreme value of each particle based on the objective function value of each particle; updating the global extreme value of the community based on the objective function value of each particle in the community;
[0016] It is determined that the objective function value does not satisfy the termination condition, and the initial rotation Euler angle vector of each particle is updated based on the individual extreme value of each particle and the global extreme value of the colony.
[0017] According to a method for adjusting the attitude of an aircraft provided by the present invention, the objective function is constructed based on the attitude rotation angle of the aircraft and the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft, specifically comprising:
[0018] An objective function is constructed based on the attitude rotation angle of the aircraft, the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft, the weights corresponding to the attitude rotation angle and the angle respectively, and the fuel consumed by the aircraft for adjusting a unit angle.
[0019] According to a method for adjusting the attitude of an aircraft provided by the present invention, the objective function is constructed based on the attitude rotation angle of the aircraft, the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft, the weights corresponding to the attitude rotation angle and the angle, and the fuel consumed by the aircraft for adjusting a unit angle, and is calculated by the following formula:
[0020] O=pf fuel α+(1-p)η;
[0021] Where O represents the objective function value of the objective function, α represents the attitude rotation angle that the aircraft actually needs to complete in space when a set of rotation Euler angle vectors of the aircraft is given; p represents the weight of the attitude rotation angle α; η represents the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft after the attitude adjustment is completed; (1-p) represents the weight of the angle η; f fuel Describes the fuel consumed by the aircraft to adjust the unit angle.
[0022] According to a method for adjusting the attitude of an aircraft provided by the present invention, the initial rotation Euler angle vector of each particle is updated based on the individual extreme value of each particle and the global extreme value of the community, specifically comprising:
[0023] The search vector of each particle is updated based on the individual extreme value of each particle, the global extreme value of the colony, the search vector, the inertia factor, the learning factor, the uniform random number, and the initial rotation Euler angle vector of each particle to obtain an updated search vector of each particle;
[0024] The initial rotation Euler angle vector of each particle is updated based on the updated search vector.
[0025] According to a method for adjusting the attitude of an aircraft provided by the present invention, the search vector of each particle is updated based on the individual extreme value of each particle, the global extreme value of the community, the search vector, the inertia factor, the learning factor, the uniform random number and the initial rotation Euler angle vector of each particle to obtain an updated search vector of each particle, which is calculated by the following formula:
[0026] u ij '=ωu ij +c1r1(p ij -v ij)+c2r2(p gj -v ij ),i=1,2,…,N,j=1,2,3;
[0027] Among them, u ij ' represents the update search vector; u ij represents the search vector; p ij represents the individual extreme value of each particle; p gj represents the global extreme value of the community; c1 and c2 represent learning factors; ω represents inertia factor; γ1 and γ2 represent uniform random numbers in the range of [0, 1]; v ij The initial rotation Euler angle vector of each particle;
[0028] The initial rotation Euler angle vector of each particle is updated based on the updated search vector and calculated by the following formula:
[0029] v ij '=v ij +u ij ',i=1,2,…,N,j=1,2,3;
[0030] Among them, v ij ' represents the updated value of the initial rotation Euler angle vector of each particle; u ij ' represents the update search vector; v ij A vector representing the initial rotation Euler angles of each particle.
[0031] The present invention also provides an aircraft attitude adjustment device, comprising:
[0032] An objective function construction module is used to construct an objective function based on the attitude rotation angle of the aircraft and the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft; the attitude rotation angle of the aircraft is calculated based on the rotation Euler angle vector of the aircraft;
[0033] An optimal rotation Euler angle vector calculation module is used to search for an optimal solution of the objective function based on a particle swarm method to obtain an optimal rotation Euler angle vector of the aircraft;
[0034] The attitude adjustment module is used to adjust the attitude of the aircraft based on the optimal rotation Euler angle vector.
[0035] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, an aircraft attitude adjustment method as described above is implemented.
[0036] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the aircraft attitude adjustment method described in any one of the above is implemented.
[0037] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the aircraft attitude adjustment method as described above is implemented.
[0038] The method, device and electronic device for adjusting the attitude of an aircraft provided by the present invention complete the search for an optimal solution by constructing an objective function based on the attitude rotation angle of the aircraft and the angle between the space target being pointed at and the center of the field of view in the payload field of view of the aircraft, and then using a particle swarm algorithm to search for the rotation Euler angle of the aircraft optimization. Therefore, the embodiment of the present invention performs an attitude adjustment of the aircraft based on the objective function by jointly considering the payload rotation range of the aircraft and the attitude adjustment angle when the aircraft attitude is adjusted, thereby achieving joint optimization of the aircraft attitude fuel consumption and the continuous coverage time performance of the space target. Compared with the existing method, the pointing to the space target is completed entirely through the aircraft attitude adjustment. The optimal rotation Euler angle vector searched for the objective function by the present invention using the particle swarm algorithm is superior to the attitude adjustment angle obtained by the existing method, so that when the embodiment of the present invention performs attitude adjustment on the aircraft to point to the space target, the working fluid consumption is small, thereby improving the on-orbit operation life of the aircraft. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 This is one of the flow charts of the method for adjusting the attitude of an aircraft provided by the present invention;
[0041] Figure 2 It is a flow chart of a method for adjusting the attitude of an aircraft in the prior art;
[0042] Figure 3 A schematic diagram showing the attitude pointing calculation of a payload vehicle with a rotating mechanism;
[0043] Figure 4 This is the second flow chart of the method for adjusting the attitude of an aircraft provided by the present invention;
[0044] Figure 5 This is the third flow chart of the method for adjusting the attitude of an aircraft provided by the present invention;
[0045] Figure 6 It is a structural schematic diagram of the aircraft attitude adjustment device provided by the present invention;
[0046] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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.
[0048] The attitude calculated by the existing non-rotating mechanism load aircraft attitude determination method is to point to the space target completely through the aircraft attitude adjustment, which will produce a large attitude adjustment angle. The aircraft attitude adjustment requires the consumption of working fluid, which is carried by the aircraft from the ground, is limited and difficult to replenish in orbit. A large attitude adjustment angle will cause a large consumption of working fluid, which will have an energy constraint effect on the aircraft's execution of other space missions. For aircraft that use chemical fuels for attitude adjustment, it will directly affect the aircraft's on-orbit operation life.
[0049] In view of this, the embodiments of the present application provide a method, device and electronic equipment for adjusting the attitude of an aircraft, so as to solve the defect in the prior art that when the aircraft adjusts its attitude to point to a space target, a large consumption of working fluid is generated, thereby affecting the on-orbit operation life of the aircraft.
[0050] Combine the following Figure 1 , 4 and 5 describe the aircraft attitude adjustment method of the present invention. Figure 1 The present invention provides an aircraft attitude adjustment method, comprising:
[0051] Step 100, constructing an objective function based on the attitude rotation angle of the aircraft and the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft; the attitude rotation angle of the aircraft is calculated based on the rotation Euler angle vector of the aircraft.
[0052] It should be noted that the aircraft attitude adjustment method of the embodiment of the present application is applied to an aircraft with a payload of a rotating mechanism. The electronic device constructs an objective function based on the attitude rotation angle of the aircraft and the angle between the pointed space target (such as a satellite, space station, etc.) and the center of the field of view of the payload of the aircraft.
[0053] Among them, the attitude rotation angle of the aircraft describes the attitude adjustment angle of the aircraft; the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft describes the degree to which the pointed space target is close to the center of the visible range of the aircraft payload.
[0054] In other embodiments, the attitude of the aircraft can also be described in other ways, such as by rotation matrix, quaternion, etc. However, since there are constraints between the elements contained in the rotation matrix and quaternion, they are not suitable for independent optimization. In this embodiment of the present invention, the rotation Euler angle vector is used to describe the attitude of the aircraft. The rotation Euler angle vector includes three rotation angles, which respectively describe the rotation amplitude around different coordinate axes, and includes 12 rotation orders according to the order of the rotation axes.
[0055] The rotation Euler angle vector used in the present invention uses 3-1-2 as the rotation order (i.e., first rotate around the Z axis, then rotate around the X axis, and finally rotate around the Y axis), and the corresponding angles are expressed as θ and φ. After the attitude rotation is completed, the change relationship between the reference coordinate system, i.e. the orbital coordinate system, and the satellite system is shown in formula (1) and formula (2):
[0056]
[0057]
[0058] Where x0, y0, z0 in formula (1) and formula (2) are the reference coordinate system, that is, the satellite body coordinate system before rotation, and x, y, z are the satellite body coordinate system after rotation. The matrix A 312 It is expressed as shown in formula (3):
[0059]
[0060] According to the above-mentioned rotated Euler angle vector, it is possible to calculate the coordinate value of the space vector before rotation to be converted to the coordinate value after rotation. It is noted that the rotation order of other coordinate axes does not affect the adaptability of the rotated Euler angle vector proposed by the present invention.
[0061] For aircraft with rotating payloads, since the payload pointing can be adjusted within a certain azimuth and pitch range, it is necessary to jointly adjust the payload rotation and the aircraft attitude to achieve the space target pointing. For example, please refer to Figure 3 , Figure 3The figure shows the attitude pointing calculation diagram of a payload spacecraft with a rotating mechanism. There are two spacecrafts running on two satellite orbits, of which the lower one is the pointing spacecraft and the upper one is the pointed spacecraft. For the lower spacecraft, the conical area is the instantaneous coverage range of the payload, and the square area is the field of view that the payload can cover by rotating. It can be seen that since the pointed (or observed) spacecraft is far away from the field of view of the observing spacecraft, target coverage cannot be achieved by simply rotating the payload, and the joint attitude adjustment of the spacecraft and the rotation of the payload are required to achieve target coverage.
[0062] Theoretically, there are countless combinations of load rotation and aircraft attitude adjustment that can meet the space target pointing requirements. However, in the optional combinations of the embodiments of the present application, the following two aspects need to be considered.
[0063] First, the aircraft needs to consume energy to adjust its attitude. Excessive energy consumption directly affects the aircraft's on-orbit mission and even its service life. Therefore, it is necessary to reduce the attitude adjustment angle as much as possible. That is, reduce the aircraft's attitude rotation angle as much as possible.
[0064] Second, since the position of the aircraft in space changes over time, there is relative motion between the aircraft and the pointed space target in space. After the aircraft adjusts its attitude and the rotation of the payload to complete the pointing to the space target, due to the existence of relative motion, the pointed target may drift out of the payload's field of view over time. Frequent drift of the pointed space target out of the aircraft's payload field of view will require frequent adjustments to the aircraft's attitude, and will also lead to excessive consumption of the aircraft's fuel or attitude. Therefore, it is required that after determining the combination of payload rotation and aircraft attitude adjustment, the pointed target should be as close as possible to the center of the rotating payload's field of view, so that the space target can be kept within the rotating field of view of the aircraft's payload for as long as possible, and the target can be pointed to by rotating the payload in azimuth and pitch without the need for frequent attitude adjustments.
[0065] Therefore, the embodiment of the present invention aims at the attitude adjustment problem of the aircraft with a load of a rotating mechanism, with the goal of minimizing the attitude adjustment angle and achieving long-term coverage of the space target. That is, the objective function is constructed based on the attitude rotation angle of the aircraft and the angle between the pointed space target and the center of the field of view of the payload of the aircraft, and then the optimal rotation Euler angle vector for the attitude adjustment of the aircraft is given by searching the optimization solution based on the objective function through the particle swarm method.
[0066] Step 200: searching for an optimal solution of the objective function based on a particle swarm method to obtain an optimal rotation Euler angle vector of the aircraft.
[0067] It should be noted that the particle swarm optimization method (PSO) is a type of swarm intelligence algorithm, which is designed by simulating the predation behavior of bird flocks. The bird flock adjusts its search path through its own experience and communication between the population, and keeps searching until it finds the place with the most food. One of the individuals is a bird in the flock, that is, a particle. The properties of the particle are the particle position vector and the search speed vector. The amount of food corresponding to the location of the particle can be understood as the degree of optimization of the function value at that location. At the beginning, each particle is randomly placed in the entire search range, and then the search speed vector is adjusted according to the historical optimal location searched by the particle itself and the historical optimal location searched by the entire population, so that the optimal location, that is, the optimal solution, is found after multiple searches.
[0068] The particle swarm method is applied to the embodiment of the present invention, and each given set of rotation Euler angle vectors of the aircraft attitude can calculate the target value of the target function according to the definition of the target function. The rotation Euler angle vector of the aircraft attitude rotation corresponds to the position vector of the particle in the particle swarm method. The search velocity vector of the particle determines the position of the particle in the next iteration, that is, a set of rotation Euler angle vectors of a new aircraft attitude of the aircraft in the next iteration.
[0069] Therefore, the embodiment of the present invention aims to minimize the attitude adjustment angle and achieve long-term coverage of space targets based on the particle swarm method. The particle swarm method searches for the optimization solution of the objective function to obtain the optimal rotation Euler angle vector of the aircraft.
[0070] Step 300: Adjust the attitude of the aircraft based on the optimal rotation Euler angle vector.
[0071] Since the objective function is constructed based on the attitude rotation angle of the aircraft and the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft, the particle swarm method obtains the optimal rotation Euler angle vector of the aircraft to jointly optimize the aircraft attitude fuel consumption and the continuous coverage time performance of the space target. That is, the optimal rotation Euler angle vector obtained by the particle swarm method in the embodiment of the present invention is smaller than the attitude adjustment angle obtained by the existing method, so the embodiment of the present invention consumes less working fluid for the aircraft and improves the on-orbit operation life of the aircraft.
[0072] After constructing an objective function based on the attitude rotation angle of the aircraft and the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft, the particle swarm algorithm is used to search for the rotation Euler angle of the aircraft to optimize the aircraft, and the optimization solution search is completed. Therefore, the embodiment of the present invention performs aircraft attitude adjustment based on the objective function by jointly considering the payload rotation range of the aircraft and the attitude adjustment angle when the aircraft attitude is adjusted, thereby achieving joint optimization of the aircraft attitude fuel consumption and the continuous coverage time performance of the space target. Compared with the existing method, the pointing to the space target is completed entirely through the aircraft attitude adjustment. The optimal rotation Euler angle vector searched for the objective function by the present invention using the particle swarm algorithm is better than the attitude adjustment angle obtained by the existing method. Therefore, when the embodiment of the present invention adjusts the attitude of the aircraft to point to the space target, the working fluid consumption is small, thereby improving the on-orbit operation life of the aircraft.
[0073] For other aspects of the embodiments of the present invention, please refer to Figure 4 and Figure 5 Step 200, searching for an optimal solution of the objective function based on a particle swarm method to obtain an optimal rotation Euler angle vector of the aircraft, includes:
[0074] Step 210, initialize each particle in the colony to obtain an initial rotation Euler angle vector and a search vector of each particle; the initial rotation Euler angle vector represents the attitude adjustment parameter of the aircraft.
[0075] In the embodiment of the present invention, the initial rotation Euler angle vector of each particle is a set of rotation Euler angle vectors of the aircraft attitude rotation, which is a three-dimensional variable, so the optimization solution is searched in three-dimensional space. Assume that in the three-dimensional solution space, there are N particles forming a colony, where the i-th particle is represented as a 3D vector, which is expressed by formula (4):
[0076] v i =(v i1 ,v i2 ,v i3 ), i=1,2,…,N; Formula (4)
[0077] The search vector of the i-th particle is also a 3-dimensional vector, which is expressed by formula (5):
[0078] u i =(u i1 ,u i2 ,u i3 ), i=1,2,…,N; Formula (5)
[0079] For each particle in the colony, the embodiment of the present invention can randomly initialize the rotation Euler angle vector to obtain an initial rotation Euler angle vector, and randomly initialize the search vector of the rotation Euler angle.
[0080] The embodiment of the present invention repeatedly performs the following steps 220 to 240 until the objective function value satisfies the end condition, and obtains the optimal rotation Euler angle vector corresponding to the objective function value:
[0081] Step 220: Calculate the objective function value of each particle in the community based on the objective function.
[0082] The electronic device calculates the attitude rotation angle of the aircraft based on the initialization rotation Euler angle vector of each particle in the community, and calculates the objective function value of the objective function based on the attitude rotation angle of the aircraft and the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft.
[0083] Specifically, the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft can be calculated based on the spatial position of the pointed target, the spatial position of the aircraft, the aircraft attitude, the payload installation matrix, and the payload field of view range.
[0084] Step 230: Update the individual extreme value of each particle based on the objective function value of each particle; and update the global extreme value of the community based on the objective function value of each particle in the community.
[0085] Specifically, the set of optimal rotation Euler angle vectors of the aircraft attitude rotation searched by the i-th particle so far, that is, the set of rotation Euler angle vectors that achieve the minimum value of the objective function value, is called the individual extreme value, which is expressed by formula (6):
[0086] P best =(p i1 ,p i2 ,p i3 ),i=1,2,…,N;Formula (6)
[0087] The set of optimal rotation Euler angle vectors of the aircraft attitude rotation searched by the entire particle swarm so far, that is, the set of rotation Euler angle vectors that achieve the minimum value of the objective function value in all search histories of all particles, is called the global extreme value, which is expressed by formula (7):
[0088] g best =(p g1 ,p g2 ,p g3 ); formula (7)
[0089] For each particle in the group, the electronic device updates p for the particle with the minimum objective function value as the optimal value. best ; The electronic device updates g for all particles in the group, taking the minimum value of the objective function as the optimal value. best .
[0090] Step 240: Determine that the objective function value does not satisfy the termination condition, and update the initial rotation Euler angle vector of each particle based on the individual extreme value of each particle and the global extreme value of the community.
[0091] The electronic device determines that the objective function value does not meet the termination condition, and updates the initial rotation Euler angle vector of each particle based on the individual extreme value of each particle and the global extreme value of the community. The termination condition includes that the objective function value is less than a set threshold or reaches an iteration number threshold. The individual extreme value represents the particle's memory of its own historical experience; the global extreme value represents the group historical experience of collaboration and knowledge sharing among particles. The initial rotation Euler angle vector of each particle is updated based on the particle's memory of its own historical experience and the group historical experience of collaboration and knowledge sharing among particles.
[0092] Since multiple particles can simultaneously search for the best solution in each iteration based on the particle swarm method, the particle swarm method has a higher optimization efficiency. Therefore, by searching for the optimal solution of the objective function through the particle swarm method, the optimal rotation Euler angle can be solved with a small number of iterations, thereby improving the calculation efficiency of the optimal rotation Euler angle vector of the aircraft.
[0093] In other aspects of the embodiments of the present invention, step 100, constructing an objective function based on the attitude rotation angle of the aircraft and the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft, specifically includes:
[0094] An objective function is constructed based on the attitude rotation angle of the aircraft, the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft, the weights corresponding to the attitude rotation angle and the angle respectively, and the fuel consumed by the aircraft for adjusting a unit angle.
[0095] The weight corresponding to the attitude rotation angle is used to measure the relative importance of the attitude rotation angle to the optimization objective function. The weight corresponding to the angle is used to measure the relative importance of the degree to which the pointed space target is located in the center of the visible range of the aircraft payload to the optimization objective function.
[0096] Specifically, in one embodiment, the objective function is constructed based on the attitude rotation angle of the aircraft, the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft, the weights corresponding to the attitude rotation angle and the angle, and the fuel consumed by the aircraft for adjusting a unit angle, and is calculated by the following formula (8):
[0097] O=pf fuel α+(1-p)η; Formula (8)
[0098] Where O represents the objective function value of the objective function, α represents the attitude rotation angle that the aircraft actually needs to complete in space when a set of rotation Euler angle vectors of the aircraft is given; p represents the weight of the attitude rotation angle α; η represents the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft after the attitude adjustment is completed; (1-p) represents the weight of the angle η; f fuel Describes the fuel consumed by the aircraft to adjust the unit angle.
[0099] Among them, if p = 1, it means that the optimization goal is to minimize the attitude rotation angle of the aircraft, and the position of the pointed space target in the visible range of the aircraft payload is not considered; if p = 0, it means that the optimization goal is to optimize the position of the pointed space target in the visible range of the aircraft payload, the closer to the center of the visible range, the better, and the influence of the aircraft attitude angle is not considered. If 0 < p < 1, it means that the two factors are considered in compromise.
[0100] By optimizing the weights corresponding to the attitude rotation angle and the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft in the objective function, the applicable scenarios of the present invention can be adjusted. When p=1 or p=0, it can be degenerated into a problem of minimizing the attitude rotation angle of the aircraft, or a problem of minimizing the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft. In actual use, a suitable p value can be set according to the specific scenario to apply to different scenarios.
[0101] It should be noted that the attitude rotation angle α is not necessarily the sum of the rotation Euler angle vectors of the three coordinate axes. The rotation Euler angle vector describes the state of the aircraft after the aircraft completes the rotation. The actual rotation angle of the aircraft is related to the design of the aircraft's attitude adjustment actuator. However, for a set of rotation Euler angle vectors, the attitude rotation angle value that the aircraft actually needs to adjust can always be determined. fuel Describes the fuel or energy consumed by the aircraft to adjust a unit angle. η represents the angle between the pointed space target and the center of the field of view of the aircraft payload after the attitude adjustment is completed, describing the degree to which the pointed space target is close to the center of the visual range of the aircraft payload after the attitude adjustment is completed.
[0102] By constructing an objective function based on the attitude rotation angle of the aircraft and the weighted sum of the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft, the present invention uses a particle swarm algorithm to search for the objective function. The optimal rotation Euler angle vector is better than the attitude adjustment angle obtained by the existing method, thereby achieving joint optimization of the aircraft attitude fuel consumption and the continuous coverage time performance of the space target. Compared with the existing method of pointing to the space target completely through the aircraft attitude adjustment, the embodiment of the present invention consumes less working fluid when adjusting the attitude of the aircraft to point to the space target, thereby improving the on-orbit operation life of the aircraft.
[0103] In other aspects of the embodiments of the present invention, step 240, updating the initial rotation Euler angle vector of each particle based on the individual extreme value of each particle and the global extreme value of the community, specifically includes:
[0104] Step 241, updating the search vector of each particle based on the individual extreme value of each particle, the global extreme value of the community, the search vector, the inertia factor, the learning factor, the uniform random number, and the initial rotation Euler angle vector of each particle to obtain an updated search vector of each particle;
[0105] In one embodiment, the electronic device updates the search vector of each particle based on the individual extreme value of each particle, the global extreme value of the colony, the search vector, the inertia factor, the learning factor, the uniform random number, and the initial rotation Euler angle vector of each particle to obtain an updated search vector of each particle, which is calculated by the following formula (9):
[0106] u ij '=ωu ij +c1r1(p ij -v ij )+c2r2(p gj -v ij ),i=1,2,…,N,j=1,2,3;Formula (9)
[0107] Among them, u ij ' represents the update search vector; u ij represents the search vector; p ij represents the individual extreme value of each particle; p gj represents the global extreme value of the community; c1 and c2 represent learning factors; ω represents inertia factor; γ1 and γ2 represent uniform random numbers in the range of [0, 1]; v ij A vector representing the initial rotation Euler angles of each particle.
[0108] In the search vector u ij In the update formula (Formula (9)), the first part ωu ijThe inertia part reflects the movement habits of the particle, which means that the particle tends to maintain its previous speed. The second part c1γ1(p ij -v ij ) is the cognitive part, which reflects the particle's memory of its own historical experience. The third part c2γ2(p gj -v ij ) is the information part, which reflects the historical experience of the group of collaborative cooperation and knowledge sharing among particles, and represents the tendency of particles to approach the optimal position of the group.
[0109] Step 242: Update the initial rotation Euler angle vector of each particle based on the updated search vector.
[0110] The initial rotation Euler angle vector of each particle is updated based on the updated search vector and is calculated by the following formula (10):
[0111] v ij '=v ij +u ij ',i=1,2,…,N,j=1,2,3;Formula (10)
[0112] Among them, V ij ' represents the updated value of the initial rotation Euler angle vector of each particle; u ij ' represents the update search vector; V ij A vector representing the initial rotation Euler angles of each particle.
[0113] The initial rotation Euler angle vector of each particle is updated based on the inertial part, the particle's memory of its own historical experience, and the group historical experience of collaborative cooperation and knowledge sharing between particles, which is conducive to obtaining a more accurate update value of the rotation Euler angle vector. Therefore, the embodiment of the present invention can complete the solution of the optimal rotation Euler angle vector with a small number of iterations, further improving the calculation efficiency of the optimal rotation Euler angle vector of the aircraft.
[0114] In addition, it should be noted that since the initial rotation Euler angle vector of each particle can be randomly set each time the solution is obtained, different initial values will lead to different final converged solutions. In the embodiment of the present invention, a better optimal rotation Euler angle vector can be obtained for aircraft attitude adjustment by performing secondary optimization in multiple solution results through multiple solutions using the particle swarm method.
[0115] The aircraft attitude adjustment device provided by the present invention is described below. The aircraft attitude adjustment device described below and the aircraft attitude adjustment method described above can be referred to each other.
[0116] Please refer to Figure 6 The present invention also provides an aircraft attitude adjustment device, comprising:
[0117] An objective function construction module 201 is used to construct an objective function based on the attitude rotation angle of the aircraft and the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft; the attitude rotation angle of the aircraft is calculated based on the rotation Euler angle vector of the aircraft;
[0118] The optimal rotation Euler angle vector calculation module 202 is used to search for an optimal solution of the objective function based on a particle swarm method to obtain the optimal rotation Euler angle vector of the aircraft;
[0119] The attitude adjustment module 203 is used to adjust the attitude of the aircraft based on the optimal rotation Euler angle vector.
[0120] In one embodiment, the optimal rotation Euler angle vector calculation module includes:
[0121] An initialization module is used to initialize each particle in the colony to obtain an initial rotation Euler angle vector and a search vector of each particle; the initial rotation Euler angle vector represents the attitude adjustment parameter of the aircraft;
[0122] An optimal rotation Euler angle vector acquisition module is used to determine whether the objective function value satisfies the end condition and obtain the optimal rotation Euler angle vector corresponding to the objective function value;
[0123] An objective function value calculation module, used to calculate the objective function value of each particle in the community based on the objective function;
[0124] An individual extreme value and global extreme value updating module, used to update the individual extreme value of each particle based on the objective function value of each particle; and update the global extreme value of the community based on the objective function value of each particle in the community;
[0125] The rotation Euler angle vector updating module is used to determine that the objective function value does not meet the termination condition, and update the initial rotation Euler angle vector of each particle based on the individual extreme value of each particle and the global extreme value of the colony.
[0126] In one embodiment, the objective function construction module is specifically used to construct the objective function based on the attitude rotation angle of the aircraft, the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft, the weights corresponding to the attitude rotation angle and the angle respectively, and the fuel consumed by the aircraft for unit angle adjustment.
[0127] In one embodiment, the objective function is constructed based on the attitude rotation angle of the aircraft, the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft, the weights corresponding to the attitude rotation angle and the angle, and the fuel consumed by the aircraft for adjusting a unit angle, and is calculated by the following formula:
[0128] O=pf fuel α+(1-p)η;
[0129] Where O represents the objective function value of the objective function, α represents the attitude rotation angle that the aircraft actually needs to complete in space when a set of rotation Euler angle vectors of the aircraft is given; p represents the weight of the attitude rotation angle α; η represents the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft after the attitude adjustment is completed; (1-p) represents the weight of the angle η; f fuel Describes the fuel consumed by the aircraft to adjust the unit angle.
[0130] In one embodiment, the individual extreme value and global extreme value updating module specifically includes:
[0131] An update search vector calculation module is used to update the search vector of each particle based on the individual extreme value of each particle, the global extreme value of the colony, the search vector, the inertia factor, the learning factor, the uniform random number and the initial rotation Euler angle vector of each particle to obtain an updated search vector of each particle;
[0132] The rotation Euler angle vector updating module is used to update the initial rotation Euler angle vector of each particle based on the updated search vector.
[0133] In one embodiment, the search vector of each particle is updated based on the individual extreme value of each particle, the global extreme value of the community, the search vector, the inertia factor, the learning factor, the uniform random number, and the initial rotation Euler angle vector of each particle to obtain an updated search vector for each particle, which is calculated by the following formula:
[0134] u ij '=ωu ij +c1r1(p ij -v ij )+c2r2(p gj -v ij ),i=1,2,…,N,j=1,2,3;
[0135] Among them, u ij ' represents the update search vector; u ij represents the search vector; p ijrepresents the individual extreme value of each particle; p gj represents the global extreme value of the community; c1 and c2 represent learning factors; ω represents inertia factor; γ1 and γ2 represent uniform random numbers in the range of [0, 1]; v ij The initial rotation Euler angle vector of each particle;
[0136] The initial rotation Euler angle vector of each particle is updated based on the updated search vector and calculated by the following formula:
[0137] v ij '=v ij +u ij ',i=1,2,…,N,j=1,2,3;
[0138] Among them, V ij ' represents the updated value of the initial rotation Euler angle vector of each particle; u ij ' represents the update search vector; v ij A vector representing the initial rotation Euler angles of each particle.
[0139] Figure 7 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 7 As shown, the electronic device may include: a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720 and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute the method for adjusting the attitude of the aircraft, the method comprising: constructing an objective function based on the attitude rotation angle of the aircraft and the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft; the attitude rotation angle of the aircraft is calculated based on the rotation Euler angle vector of the aircraft; searching for an optimal solution of the objective function based on the particle swarm method to obtain the optimal rotation Euler angle vector of the aircraft; adjusting the attitude of the aircraft based on the optimal rotation Euler angle vector.
[0140] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0141] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the aircraft attitude adjustment method provided by the above-mentioned methods, which includes: constructing an objective function based on the attitude rotation angle of the aircraft and the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft; the attitude rotation angle of the aircraft is calculated based on the rotation Euler angle vector of the aircraft; searching for an optimization solution of the objective function based on the particle swarm method to obtain the optimal rotation Euler angle vector of the aircraft; and adjusting the attitude of the aircraft based on the optimal rotation Euler angle vector.
[0142] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the aircraft attitude adjustment method provided by the above-mentioned methods, the method comprising: constructing an objective function based on the attitude rotation angle of the aircraft and the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft; the attitude rotation angle of the aircraft is calculated based on the rotation Euler angle vector of the aircraft; searching for an optimization solution of the objective function based on a particle swarm method to obtain the optimal rotation Euler angle vector of the aircraft; and adjusting the attitude of the aircraft based on the optimal rotation Euler angle vector.
[0143] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0144] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0145] 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 make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for adjusting the attitude of an aircraft, characterized in that: include: Constructing an objective function based on the attitude rotation angle of the aircraft and the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft; the attitude rotation angle of the aircraft is calculated based on the rotation Euler angle vector of the aircraft; Based on the particle swarm method, an optimization solution search is performed on the objective function to obtain the optimal rotation Euler angle vector of the aircraft; Adjusting the attitude of the aircraft based on the optimal rotation Euler angle vector; The particle swarm method is used to search for an optimal solution of the objective function to obtain an optimal rotation Euler angle vector of the aircraft, including: Initializing each particle in the colony to obtain an initial rotation Euler angle vector and a search vector of each particle; the initial rotation Euler angle vector represents an attitude adjustment parameter of the aircraft; Repeat the following steps until the objective function value meets the end condition, and obtain the optimal rotation Euler angle vector corresponding to the objective function value: Calculate the objective function value of each particle in the community based on the objective function; updating the individual extreme value of each particle based on the objective function value of each particle; updating the global extreme value of the community based on the objective function value of each particle in the community; It is determined that the objective function value does not satisfy the termination condition, and the initial rotation Euler angle vector of each particle is updated based on the individual extreme value of each particle and the global extreme value of the colony.
2. The method for adjusting the attitude of an aircraft according to claim 1, characterized in that: The constructing of the objective function based on the attitude rotation angle of the aircraft and the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft specifically includes: An objective function is constructed based on the attitude rotation angle of the aircraft, the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft, the weights corresponding to the attitude rotation angle and the angle respectively, and the fuel consumed by the aircraft for adjusting a unit angle.
3. The method for adjusting the attitude of an aircraft according to claim 2, characterized in that: The objective function is constructed based on the attitude rotation angle of the aircraft, the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft, the weights corresponding to the attitude rotation angle and the angle, and the fuel consumed by the aircraft for adjusting a unit angle, and is calculated by the following formula: ; Wherein O represents the objective function value of the objective function, α represents the attitude rotation angle that the aircraft actually needs to complete in space when a set of rotation Euler angle vectors of the aircraft is given; p represents the weight of the attitude rotation angle α; η represents the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft after the attitude adjustment is completed; (1-p) represents the weight of the angle η; f fuel Describes the fuel consumed by the aircraft to adjust the unit angle.
4. The method for adjusting the attitude of an aircraft according to claim 1, characterized in that: The updating of the initial rotation Euler angle vector of each particle based on the individual extreme value of each particle and the global extreme value of the colony specifically includes: The search vector of each particle is updated based on the individual extreme value of each particle, the global extreme value of the colony, the search vector, the inertia factor, the learning factor, the uniform random number, and the initial rotation Euler angle vector of each particle to obtain an updated search vector of each particle; The initial rotation Euler angle vector of each particle is updated based on the updated search vector.
5. The method for adjusting the attitude of an aircraft according to claim 4, characterized in that: The search vector of each particle is updated based on the individual extreme value of each particle, the global extreme value of the colony, the search vector, the inertia factor, the learning factor, the uniform random number and the initial rotation Euler angle vector of each particle to obtain an updated search vector of each particle, which is calculated by the following formula: ; Among them, u ij ' represents the update search vector; u ij represents the search vector; p ij represents the individual extreme value of each particle; p gj represents the global extreme value of the community; c1 and c2 represent learning factors; ω represents inertia factor; γ1 and γ2 represent uniform random numbers in the range of [0, 1]; v ij The initial rotation Euler angle vector of each particle; The initial rotation Euler angle vector of each particle is updated based on the updated search vector and calculated by the following formula: ; Among them, v ij ' represents the updated value of the initial rotation Euler angle vector of each particle; u ij ' represents the update search vector; v ij A vector representing the initial rotation Euler angles of each particle.
6. An aircraft attitude adjustment device, characterized in that: include: An objective function construction module is used to construct an objective function based on the attitude rotation angle of the aircraft and the angle between the pointed space target and the center of the field of view in the payload field of view of the aircraft; the attitude rotation angle of the aircraft is calculated based on the rotation Euler angle vector of the aircraft; An optimal rotation Euler angle vector calculation module is used to search for an optimal solution of the objective function based on a particle swarm method to obtain an optimal rotation Euler angle vector of the aircraft; An attitude adjustment module, used for adjusting the attitude of the aircraft based on the optimal rotation Euler angle vector; The optimal rotation Euler angle vector calculation module is also used to initialize each particle in the community to obtain an initial rotation Euler angle vector and a search vector for each particle; the initial rotation Euler angle vector represents the attitude adjustment parameters of the aircraft; Repeat the following steps until the objective function value meets the end condition, and obtain the optimal rotation Euler angle vector corresponding to the objective function value: calculate the objective function value of each particle in the community based on the objective function; update the individual extreme value of each particle based on the objective function value of each particle; update the global extreme value of the community based on the objective function value of each particle in the community; determine that the objective function value does not meet the end condition, and update the initial rotation Euler angle vector of each particle based on the individual extreme value of each particle and the global extreme value of the community.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the aircraft attitude adjustment method as described in any one of claims 1 to 5 is implemented.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the aircraft attitude adjustment method according to any one of claims 1 to 5 is implemented.
9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the aircraft attitude adjustment method according to any one of claims 1 to 5 is implemented.
