[go: up one dir, main page]

CN114756047B - Method and device for controlling movement of spacecraft - Google Patents

Method and device for controlling movement of spacecraft Download PDF

Info

Publication number
CN114756047B
CN114756047B CN202210664147.5A CN202210664147A CN114756047B CN 114756047 B CN114756047 B CN 114756047B CN 202210664147 A CN202210664147 A CN 202210664147A CN 114756047 B CN114756047 B CN 114756047B
Authority
CN
China
Prior art keywords
control force
spacecraft
determining
servo mechanism
coordinate
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
Application number
CN202210664147.5A
Other languages
Chinese (zh)
Other versions
CN114756047A (en
Inventor
吴考
布向伟
李曦
于继超
张弛
郭文正
蔡敬坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongfang Space Jiangsu Aerospace Power Co ltd
Dongfang Space Technology Shandong Co Ltd
Orienspace Hainan Technology Co Ltd
Orienspace Technology Beijing Co Ltd
Original Assignee
Dongfang Space Technology Shandong Co Ltd
Orienspace Technology Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Dongfang Space Technology Shandong Co Ltd, Orienspace Technology Beijing Co Ltd filed Critical Dongfang Space Technology Shandong Co Ltd
Priority to CN202210664147.5A priority Critical patent/CN114756047B/en
Publication of CN114756047A publication Critical patent/CN114756047A/en
Application granted granted Critical
Publication of CN114756047B publication Critical patent/CN114756047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/08Control of attitude, i.e. control of roll, pitch, or yaw
    • G05D1/0808Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for aircraft
    • G05D1/0816Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for aircraft to ensure stability
    • G05D1/0833Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for aircraft to ensure stability using limited authority control

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (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 discloses a method and a device for controlling the movement of a spacecraft. The invention comprises the following steps: collecting a first control force, a second control force and engine thrust of a spacecraft in real time; acquiring control force for controlling the spacecraft and engine thrust of the spacecraft in real time; and determining the elongation of the servo mechanism by a quaternion algorithm according to the control force and the thrust of the engine, wherein the servo mechanism is used for controlling the motion angle of the spacecraft and is connected with the engine of the spacecraft. The invention solves the technical problems of a large amount of calculation data and complicated process caused by calculating the motion attitude of the spacecraft through the Euler angle in the related technology.

Description

Method and device for controlling movement of spacecraft
Technical Field
The invention relates to the field of spacecrafts, in particular to a method and a device for controlling the movement of a spacecraft, a computer readable storage medium and a processor.
Background
In the related technology, at present, decoupling calculation is generally performed by using an euler angle in motion decoupling calculation of a single jet thrust vector control servo mechanism of an engine of a spacecraft, the euler angle is a virtual concept for describing space rotation of an object, the object actually rotates only once in space, but for convenience of description, the euler angle enables the final rotation effect to be equivalent to orthogonal rotation which is performed in sequence around each axis of a coordinate system fixedly connected with a rotating body, and the orthogonal rotation is the euler angle. This results in a large amount of calculation of euler angles and a complicated calculation method. The recovery of the aerospace engine is a great trend in the future, which requires that the motion attitude of the spacecraft is very large, and if the motion attitude of the spacecraft is continuously calculated by using the Euler angle, a large amount of calculation data can be caused, and the process is complicated.
In view of the above problems in the related art, no effective solution has been proposed.
Disclosure of Invention
The invention mainly aims to provide a method, a device, a computer readable storage medium and a processor for controlling the motion of a spacecraft, so as to solve the technical problems of large amount of calculation data and complicated process caused by calculation of the motion attitude of the spacecraft through an Euler angle in the related technology.
To achieve the above object, according to one aspect of the present invention, there is provided a method of controlling motion of a spacecraft. The invention comprises the following steps: acquiring a first control force, a second control force and engine thrust of the spacecraft in real time; acquiring control force for controlling the spacecraft and engine thrust of the spacecraft in real time; determining the elongation of a servo mechanism by a quaternion algorithm according to the control force and the thrust of the engine, wherein the servo mechanism is used for controlling the motion angle of the spacecraft and is connected with the engine of the spacecraft; and controlling the servo mechanism to drive the spray pipe to perform vector motion according to the elongation of the servo mechanism, wherein the servo mechanism is connected with the spray pipe.
Further, acquiring the control force for controlling the spacecraft in real time comprises: acquiring a first control force and a second control force of the spacecraft in real time, wherein the first control force is the control force of the spacecraft in the pitching direction, and the second control force is the control force of the spacecraft in the yawing direction; and calculating the control force according to the first control force and the second control force.
Further, calculating a control force according to the first control force and the second control force includes: respectively presetting the first control force and the second control force to obtain a normalized first control force and a normalized second control force; calculating the control force through a first formula according to the first control force and the second control force after the preset processing, wherein the first formula is as follows:
Figure 821001DEST_PATH_IMAGE001
,F c to control the force, F y Is a first control force, F z Is the second control force.
Further, before determining the elongation of the servo mechanism by a quaternion algorithm according to the control force and the thrust of the engine, the method further comprises: calculating a swing angle of the spacecraft in the actual motion process according to the thrust and the control force of the engine; determining a preset coordinate system, determining a first control force, a second control force and a rotating shaft coordinate equation among the control forces according to the preset coordinate system, and presetting the equation; and determining a quaternion expression corresponding to the rotation behavior of the spacecraft according to the swing angle and the normalized rotating shaft coordinate equation.
Further, determining the elongation of the servo mechanism by a quaternion algorithm according to the control force and the thrust of the engine comprises the following steps: determining the initial length of a servo mechanism and the target length of the servo mechanism after swinging in a preset coordinate system; calculating the absolute value of the difference between the initial length and the target length; and determining the absolute value of the difference as the elongation.
Further, in a preset coordinate system, determining an initial length of the servo mechanism and a target length of the servo mechanism after swinging and swinging an angle, comprising: determining the coordinate of a lower fulcrum of the servo mechanism as a first coordinate; under the condition that a preset coordinate system is adopted and the state of the servo mechanism is an initial state, determining the coordinate of an upper fulcrum of the servo mechanism as a second coordinate; under a preset coordinate system and after the spacecraft swings at a swing angle, determining the coordinate of the upper fulcrum as a third coordinate; calculating a first difference absolute value between the second coordinate and the first coordinate, and determining the first difference absolute value as the initial length of the servo mechanism; and calculating a second absolute difference value between the third coordinate and the first coordinate, and determining the second absolute difference value as the target length of the servo mechanism.
To achieve the above object, according to another aspect of the present invention, there is provided an apparatus for controlling motion of a spacecraft. The device comprises: the first acquisition unit is used for acquiring a first control force, a second control force and engine thrust of the spacecraft in real time; the first acquisition unit is used for acquiring control force for controlling the spacecraft and engine thrust of the spacecraft in real time; the first determining unit is used for determining the elongation of the servo mechanism through a quaternion algorithm according to the control force and the thrust of the engine, wherein the servo mechanism is used for controlling the motion angle of the spacecraft and is connected with the engine of the spacecraft; and the first control unit is used for controlling the servo mechanism to drive the spray pipe to perform vector motion according to the elongation of the servo mechanism, wherein the servo mechanism is connected with the spray pipe.
Further, the first acquisition unit includes: the spacecraft control system comprises an acquisition subunit, a control unit and a control unit, wherein the acquisition subunit is used for acquiring a first control force and a second control force of a spacecraft in real time, the first control force is the control force of the spacecraft in the pitching direction, and the second control force is the control force of the spacecraft in the yawing direction; the first calculating subunit is used for calculating the control force according to the first control force and the second control force.
To achieve the above object, according to another aspect of the present application, there is provided a computer-readable storage medium including a stored program, wherein the program performs a method of controlling a motion of a spacecraft of any one of the above.
In order to achieve the above object, according to another aspect of the present application, there is provided a processor for executing a program, wherein the program performs a method of controlling the motion of a spacecraft as described in any one of the above.
The invention adopts the following steps: collecting a first control force, a second control force and engine thrust of a spacecraft in real time; acquiring control force for controlling the spacecraft and engine thrust of the spacecraft in real time; determining the elongation of a servo mechanism by a quaternion algorithm according to the control force and the thrust of the engine, wherein the servo mechanism is used for controlling the motion angle of the spacecraft and is connected with the engine of the spacecraft; according to the elongation of the servo mechanism, the servo mechanism is controlled to drive the spray pipe to carry out vector motion, wherein the servo mechanism is connected with the spray pipe, the technical problems that a large amount of calculation data are caused and the process is complicated due to the fact that the motion attitude of the spacecraft is calculated through the Euler angle in the related technology are solved, and the technical effect of accurately calculating the motion attitude of the spacecraft is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart of a method of controlling the motion of a spacecraft in accordance with an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a dual-push vector controlled servo mechanism in a preset coordinate system according to the present application;
FIG. 3 is a schematic coordinate diagram of spacecraft engine control force provided herein;
fig. 4 is a schematic diagram of an apparatus for controlling a method of spacecraft motion according to an embodiment of the present invention.
Wherein the following reference numerals are included:
10: a first servo mechanism; 20: a second servo mechanism; 401: a first acquisition unit; 402: a first determination unit; 403: a first control unit.
Detailed Description
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged as appropriate in order to facilitate the embodiments of the invention described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an embodiment of the invention, a method of controlling the motion of a spacecraft is provided.
Fig. 1 is a flowchart of a method for controlling the motion of a spacecraft, according to an embodiment of the invention. As shown in fig. 1, the present invention comprises the steps of:
and S101, acquiring control force for controlling the spacecraft and engine thrust of the spacecraft in real time.
Step S102, determining the elongation of a servo mechanism by a quaternion algorithm according to the control force and the thrust of an engine, wherein the servo mechanism is used for controlling the motion angle of the spacecraft and is connected with the engine of the spacecraft;
and step S103, controlling the servo mechanism to drive the spray pipe to perform vector motion according to the elongation of the servo mechanism, wherein the servo mechanism is connected with the spray pipe.
According to the method for controlling the operation of the spacecraft, the control force and the engine thrust of the spacecraft are obtained, and the elongation of the servo mechanism is determined.
Specifically, as shown in fig. 2, fig. 2 is a schematic structural diagram of a servo mechanism controlled by a dual-thrust vector under a preset coordinate system, where a spacecraft in the diagram includes a first servo mechanism 10 and a second servo mechanism 20, it should be noted that a spacecraft including two servo mechanisms is one of embodiments provided in the present application, and a spacecraft including one servo mechanism and a spacecraft including multiple servo mechanisms are optional embodiments of the present application, and details of the present application are not repeated here.
The control requirement of the spacecraft such as the rocket, the missile and the like on the motion attitude is more and more accurate, the space motion calculation requirement of the thrust vector control servo mechanism is also improved, compared with the Euler angle, the quaternion is a simpler mode for describing rotation, and the quaternion is essentially rotated around a certain rotation axis, so that the rotation can be described by adopting the rotation angle and the axis vector, the calculation is simple, the problems of large calculation amount and complex process of the Euler angle are solved, and when the spacecraft engine is recycled in the future, the spacecraft can act at a large angle, at the moment, the calculation process can be greatly simplified by adopting the quaternion, and at the moment, the quaternion calculation method of the servo mechanism is conveniently butted with the quaternion calculation method of the motion state of the spacecraft, and the problem of converting the Euler angle into the quaternion does not exist.
According to the method for controlling the spacecraft to move, provided by the embodiment of the invention, the first control force, the second control force and the engine thrust of the spacecraft are acquired in real time; acquiring control force for controlling the spacecraft and engine thrust of the spacecraft in real time; the elongation of the servo mechanism is determined by a quaternion calculation method according to the control force and the thrust of the engine, wherein the servo mechanism is used for controlling the motion angle of the spacecraft and is connected with the engine of the spacecraft, so that the technical problems that in the related technology, the motion attitude of the spacecraft is calculated through the Euler angle, a large amount of calculation data is caused, and the process is complicated are solved, and the technical effect of accurately calculating the motion attitude of the spacecraft is achieved.
In an alternative embodiment, obtaining control forces for controlling the spacecraft in real time comprises: acquiring a first control force and a second control force of the spacecraft in real time, wherein the first control force is the control force of the spacecraft in the pitching direction, and the second control force is the control force of the spacecraft in the yawing direction; and calculating the control force according to the first control force and the second control force.
In an alternative embodiment, calculating the control force based on the first control force and the second control force comprises: respectively presetting the first control force and the second control force to obtain a normalized first control force and a normalized second control force; calculating the control force through a first formula according to the first control force and the second control force after the preset processing, wherein the first formula is as follows:
Figure 555608DEST_PATH_IMAGE002
, F c to control the force, F y Is a first control force, F z Is the second control force.
In the above, the equation for representing the motion of the servo mechanism by using the quaternion method is essentially that a certain rotating shaft is assumed, and spatial description is performed by using a rotating angle and an axial vector. The control force (the resultant force of the force in the pitching direction and the force in the yawing direction) required by the swinging angle of the spacecraft is converted into the movement amount of the two servo mechanisms, and the actual swinging angle of the rocket is converted into an included angle between the control force and the thrust of the engine.
As shown in fig. 3, fig. 3 is a schematic coordinate diagram of the control force of the spacecraft engine, and the control force in the pitch direction acquired by the sensor is F y Acquiring a control force F in the yaw direction through a sensor z The resultant force (control force) of the two is F c The engine thrust is P. The axis of rotation being F c The coordinate axis and the X axis are based on the S axis determined by the right-hand rule.
The pitching force and the yawing force are subjected to normalized processing and then:
Figure 522427DEST_PATH_IMAGE003
Figure 621970DEST_PATH_IMAGE004
wherein, P y And P z Is a component of P, F y ,F z Is according to P y And P z And calculating the specification. In rocket applications, F y ,F z Calculated by the control subsystem.
As described above, the predetermined coordinate system determined by the right-hand rule is shown in FIG. 3, in which the four fingers of the right hand are defined by a coordinate axis F along the circular arc direction c Towards the other coordinate axis P, the direction of the thumb of the right hand is the direction of the S axis.
In an alternative embodiment, before determining the amount of servo extension by quaternion calculations based on the control force and the engine thrust, the method further comprises: calculating a swing angle of the spacecraft in the actual motion process according to the thrust and the control force of the engine; determining a preset coordinate system, determining a first control force, a second control force and a rotating shaft coordinate equation among the control forces according to the preset coordinate system, and presetting the equation; and determining a quaternion expression corresponding to the rotation behavior of the spacecraft according to the swing angle and the normalized rotating shaft coordinate equation.
In the above, the synthetic tilt angle of the rocket in the actual motion process is:
Figure 697242DEST_PATH_IMAGE005
determining a coordinate equation of the rotating shaft according to a right-hand rule, and simultaneously carrying out standardization treatment:
Figure 32278DEST_PATH_IMAGE006
wherein F is c To control the force, F y Is a first control force, F z Is the second control force.
According to the derivation, after the rocket swings for a certain angle, the expression of the quaternion is as follows:
Figure 447078DEST_PATH_IMAGE007
wherein q is a quaternion,
Figure 638894DEST_PATH_IMAGE008
is the resultant tilt angle of the rocket in actual motion.
In an alternative embodiment, determining the servo extension by quaternion calculations based on the control force and the engine thrust comprises: determining the initial length of a servo mechanism and the target length of the servo mechanism after swinging in a preset coordinate system; calculating the absolute value of the difference between the initial length and the target length; and determining the absolute value of the difference as the elongation.
In an alternative embodiment, determining the initial length of the servo mechanism and the target length of the servo mechanism after swinging the swing angle in the preset coordinate system comprises: determining the coordinate of a lower fulcrum of the servo mechanism as a first coordinate; under the condition that a preset coordinate system is adopted and the state of the servo mechanism is an initial state, determining the coordinate of an upper fulcrum of the servo mechanism as a second coordinate; under a preset coordinate system and after the spacecraft swings at a swing angle, determining the coordinate of the upper fulcrum as a third coordinate; calculating a first difference absolute value between the second coordinate and the first coordinate, and determining the first difference absolute value as the initial length of the servo mechanism; and calculating a second absolute difference value between the third coordinate and the first coordinate, and determining the second absolute difference value as the target length of the servo mechanism.
In the above, the coordinate of the lower fulcrum (the point of connection with the engine) of the servo mechanism is assumed to be the first coordinate (X) d ) In the initial state, the coordinate of the upper supporting point is X 0 (second coordinate), after swinging a certain angle, upper supporting point coordinate X 1 (third coordinate).
Therefore, in the initial state of the rocket, the initial length of the servo mechanism is as follows:
Figure 133286DEST_PATH_IMAGE009
the length of the servo mechanism after the rocket swings for a certain angle is as follows:
Figure 22745DEST_PATH_IMAGE010
assume that the quaternion of the upper pivot point in the initial state is expressed as
Figure 88790DEST_PATH_IMAGE011
After the rocket swings for a certain angle, the quaternion of the upper pivot point is expressed as
Figure 671081DEST_PATH_IMAGE012
Wherein
Figure 189787DEST_PATH_IMAGE013
Is the conjugate of q, then
Figure 741991DEST_PATH_IMAGE014
Figure 272330DEST_PATH_IMAGE015
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the invention also provides a device for controlling the spacecraft to move, and it should be noted that the device for controlling the spacecraft to move of the embodiment of the invention can be used for executing the method for controlling the spacecraft to move provided by the embodiment of the invention. The following describes an apparatus of a method for controlling the motion of a spacecraft according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of an apparatus for controlling a method of spacecraft motion according to an embodiment of the invention. As shown in fig. 4, the apparatus includes: a first obtaining unit 401, configured to obtain a control force for controlling a spacecraft and an engine thrust of the spacecraft in real time; a first determining unit 402, configured to determine an elongation of a servo mechanism by a quaternion algorithm according to a control force and an engine thrust, where the servo mechanism is used to control a motion angle of the spacecraft and the servo mechanism is connected to an engine of the spacecraft; and a first control unit 403, configured to control the servo mechanism to drive the nozzle to perform vector motion according to the elongation of the servo mechanism, where the servo mechanism is connected to the nozzle.
In an alternative embodiment, the first obtaining unit includes: the spacecraft control system comprises an acquisition subunit, a control unit and a control unit, wherein the acquisition subunit is used for acquiring a first control force and a second control force of a spacecraft in real time, the first control force is the control force of the spacecraft in the pitching direction, and the second control force is the control force of the spacecraft in the yawing direction; the first calculating subunit is used for calculating the control force according to the first control force and the second control force.
In an alternative embodiment, calculating the control force from the first control force and the second control force comprises: respectively presetting the first control force and the second control force to obtain a normalized first control force and a normalized second control force; calculating the control force through a first formula according to the first control force and the second control force after the preset processing, wherein the first formula is as follows:
Figure 150156DEST_PATH_IMAGE002
,F c to control the force, F y Is a first control force, F z Is the second control force.
In an alternative embodiment, the apparatus further comprises: the computing unit is used for computing a swing angle of the spacecraft in the actual motion process according to the engine thrust and the control force before determining the elongation of the servo mechanism through a quaternion calculation method according to the control force and the engine thrust; the second determining unit is used for determining a preset coordinate system, determining the first control force, the second control force and a rotating shaft coordinate equation among the control forces according to the preset coordinate system, and presetting the equation; and the third determining unit is used for determining a quaternion expression corresponding to the rotation behavior of the spacecraft according to the swing angle and the normalized rotating shaft coordinate equation.
In an alternative embodiment, the first determining unit includes: the first determining subunit is used for determining the initial length of the servo mechanism and the target length of the servo mechanism after swinging in a preset coordinate system; the second calculating subunit is used for calculating the absolute value of the difference between the initial length and the target length; and a second determining subunit, configured to determine the absolute value of the difference as the elongation.
In an alternative embodiment, the first determining subunit includes: the first determining module is used for determining the coordinate of the lower fulcrum of the servo mechanism as a first coordinate; the second determining module is used for determining the coordinate of the upper fulcrum of the servo mechanism as a second coordinate under the condition that the preset coordinate system is in the initial state and the state of the servo mechanism is in the initial state; the third determining module is used for determining the coordinate of the upper fulcrum as a third coordinate after the spacecraft swings at a swing angle under a preset coordinate system; the first calculation module is used for calculating a first difference absolute value between the second coordinate and the first coordinate and determining the first difference absolute value as the initial length of the servo mechanism; and the second calculation module is used for calculating a second difference absolute value between the third coordinate and the first coordinate and determining the second difference absolute value as the target length of the servo mechanism.
According to the method and device for controlling the movement of the spacecraft, provided by the embodiment of the invention, the first acquisition unit is used for acquiring the control force for controlling the spacecraft and the engine thrust of the spacecraft in real time; the first determining unit is used for determining the elongation of the servo mechanism through a quaternion algorithm according to the control force and the thrust of the engine, wherein the servo mechanism is used for controlling the motion angle of the spacecraft and is connected with the engine of the spacecraft; the first control unit is used for controlling the servo mechanism to drive the spray pipe to perform vector motion according to the elongation of the servo mechanism, wherein the servo mechanism is connected with the spray pipe, the technical problems that a large amount of calculation data and a complicated process are caused by the fact that the motion attitude of the spacecraft is calculated through the Euler angle in the related technology are solved, and the technical effect of accurately calculating the motion attitude of the spacecraft is achieved.
The device for controlling the spacecraft motion method comprises a processor and a memory, wherein the first acquisition unit and the like are stored in the memory as program units, and the program units stored in the memory are executed by the processor to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the technical problems that the motion attitude of the spacecraft is calculated through the Euler angle in the related technology, a large amount of calculation data is caused, and the process is complicated are solved by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the invention provides a storage medium having a program stored thereon, which when executed by a processor implements a method of controlling the motion of a spacecraft.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program executes a method for controlling the motion of a spacecraft during running.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps: acquiring a first control force, a second control force and engine thrust of the spacecraft in real time; acquiring control force for controlling the spacecraft and engine thrust of the spacecraft in real time; determining the elongation of a servo mechanism by a quaternion algorithm according to the control force and the thrust of the engine, wherein the servo mechanism is used for controlling the motion angle of the spacecraft and is connected with the engine of the spacecraft; and controlling the servo mechanism to drive the spray pipe to perform vector motion according to the elongation of the servo mechanism, wherein the servo mechanism is connected with the spray pipe.
In an alternative embodiment, acquiring control forces for controlling the spacecraft in real time comprises: acquiring a first control force and a second control force of the spacecraft in real time, wherein the first control force is the control force of the spacecraft in the pitching direction, and the second control force is the control force of the spacecraft in the yawing direction; and calculating the control force according to the first control force and the second control force.
In an alternative embodiment, calculating the control force based on the first control force and the second control force comprises: respectively presetting the first control force and the second control force to obtain a normalized first control force and a normalized second control force; calculating the control force through a first formula according to the first control force and the second control force after the preset processing, wherein the first formula is as follows:
Figure 31524DEST_PATH_IMAGE002
,F c to control the force, F y Is a first control force, F z Is the second control force.
In an alternative embodiment, before determining the amount of servo extension by quaternion calculations based on the control force and the engine thrust, the method further comprises: calculating a swing angle of the spacecraft in the actual motion process according to the thrust and the control force of the engine; determining a preset coordinate system, determining a first control force, a second control force and a rotating shaft coordinate equation among the control forces according to the preset coordinate system, and presetting the equation; and determining a quaternion expression corresponding to the rotation behavior of the spacecraft according to the swing angle and the normalized rotating shaft coordinate equation.
In an alternative embodiment, determining the servo extension by quaternion calculations based on the control force and the engine thrust comprises: determining the initial length of a servo mechanism and the target length of the servo mechanism after swinging in a preset coordinate system; calculating the absolute value of the difference between the initial length and the target length; and determining the absolute value of the difference as the elongation.
In an alternative embodiment, determining the initial length of the servo mechanism and the target length of the servo mechanism after swinging the swing angle in the preset coordinate system comprises: determining the coordinate of a lower fulcrum of the servo mechanism as a first coordinate; under the condition that a preset coordinate system is adopted and the state of the servo mechanism is an initial state, determining the coordinate of an upper fulcrum of the servo mechanism as a second coordinate; under a preset coordinate system and after the spacecraft swings at a swing angle, determining the coordinate of the upper fulcrum as a third coordinate; calculating a first difference absolute value between the second coordinate and the first coordinate, and determining the first difference absolute value as the initial length of the servo mechanism; and calculating a second absolute difference value between the third coordinate and the first coordinate, and determining the second absolute difference value as the target length of the servo mechanism.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The invention also provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: acquiring a first control force, a second control force and engine thrust of the spacecraft in real time; acquiring control force for controlling the spacecraft and engine thrust of the spacecraft in real time; and determining the elongation of the servo mechanism by a quaternion algorithm according to the control force and the thrust of the engine, wherein the servo mechanism is used for controlling the motion angle of the spacecraft and is connected with the engine of the spacecraft.
In an alternative embodiment, obtaining control forces for controlling the spacecraft in real time comprises: acquiring a first control force and a second control force of the spacecraft in real time, wherein the first control force is the control force of the spacecraft in the pitching direction, and the second control force is the control force of the spacecraft in the yawing direction; and calculating the control force according to the first control force and the second control force.
In an alternative embodiment, calculating the control force from the first control force and the second control force comprises: respectively presetting the first control force and the second control force to obtain a normalized first control force and a normalized second control force; calculating the control force through a first formula according to the first control force and the second control force after the preset processing, wherein the first formula is as follows:
Figure 652998DEST_PATH_IMAGE002
,F c to control the force, F y Is a first control force, F z Is the second control force.
In an alternative embodiment, before determining the amount of servo extension by quaternion calculations based on the control force and the engine thrust, the method further comprises: calculating a swing angle of the spacecraft in the actual motion process according to the thrust and the control force of the engine; determining a preset coordinate system, determining a first control force, a second control force and a rotating shaft coordinate equation among the control forces according to the preset coordinate system, and presetting the equation; and determining a quaternion expression corresponding to the rotation behavior of the spacecraft according to the swing angle and the normalized rotating shaft coordinate equation.
In an alternative embodiment, determining the servo extension by quaternion calculations based on the control force and the engine thrust comprises: determining the initial length of a servo mechanism and the target length of the servo mechanism after swinging in a preset coordinate system; calculating the absolute value of the difference between the initial length and the target length; and determining the absolute value of the difference as the elongation.
In an alternative embodiment, determining the initial length of the servo mechanism and the target length of the servo mechanism after swinging the swing angle in the preset coordinate system comprises: determining the coordinate of a lower fulcrum of the servo mechanism as a first coordinate; under the condition that a preset coordinate system is adopted and the state of the servo mechanism is an initial state, determining the coordinate of an upper fulcrum of the servo mechanism as a second coordinate; under a preset coordinate system and after the spacecraft swings at a swing angle, determining the coordinate of the upper fulcrum as a third coordinate; calculating a first difference absolute value between the second coordinate and the first coordinate, and determining the first difference absolute value as the initial length of the servo mechanism; and calculating a second absolute difference value between the third coordinate and the first coordinate, and determining the second absolute difference value as the target length of the servo mechanism.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present invention, and are not intended to limit the present invention. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (7)

1. A method of controlling motion of a spacecraft, comprising:
acquiring control force for controlling a spacecraft and engine thrust of the spacecraft in real time;
determining the elongation of a servo mechanism by a quaternion algorithm according to the control force and the engine thrust, wherein the servo mechanism is used for controlling the motion angle of the spacecraft and is connected with an engine of the spacecraft;
controlling the servo mechanism to drive the spray pipe to perform vector motion according to the elongation of the servo mechanism, wherein the servo mechanism is connected with the spray pipe;
the real-time acquisition of the control force for controlling the spacecraft comprises the following steps: acquiring a first control force and a second control force of the spacecraft in real time, wherein the first control force is the control force of the spacecraft in a pitching direction, and the second control force is the control force of the spacecraft in a yawing direction; calculating the control force according to the first control force and the second control force;
before determining the elongation of the servo mechanism by quaternion calculation based on the control force and the engine thrust, the method further includes: calculating a swing angle of the spacecraft in an actual motion process according to the engine thrust and the control force; determining a preset coordinate system, determining the first control force, the second control force and a rotating shaft coordinate equation among the control forces according to the preset coordinate system, and presetting the equations; determining a quaternion expression corresponding to the rotation behavior of the spacecraft according to the swing angle and the normalized rotating shaft coordinate equation;
wherein the synthetic pivot angle of the spacecraft in the actual motion process is
Figure DEST_PATH_IMAGE002
,F C Is the control force, P is the engine thrust;
determining a coordinate equation of the rotating shaft according to a right-hand rule, and carrying out standardized processing on the coordinate equation as follows:
Figure DEST_PATH_IMAGE004
,F C for said control force, F y Is the first control force, F z Is the second control force;
after the spacecraft swings for a preset angle, the quaternion expression corresponding to the rotation behavior of the spacecraft is
Figure DEST_PATH_IMAGE006
Q is a quaternion and θ is the synthetic pivot angle.
2. The method of claim 1, wherein calculating the control force as a function of the first control force and the second control force comprises:
presetting the first control force and the second control force respectively to obtain the normalized first control force and the normalized second control force;
calculating the control force according to the preset first control force and the preset second control force by using a first formula, wherein the first formula is as follows:
F c =(F y ²+F z ²) ½ , F c for said control force, F y Is said first control force, F z Is the second control force.
3. The method of claim 1, wherein determining the servo elongation from the control force and the engine thrust by a quaternion algorithm comprises:
in the preset coordinate system, determining the initial length of the servo mechanism and the target length of the servo mechanism after swinging the swing angle;
calculating an absolute value of a difference between the initial length and the target length;
and determining the absolute value of the difference as the elongation.
4. The method of claim 3, wherein determining the initial length of the servo mechanism and the target length of the servo mechanism after swinging the swing angle in the preset coordinate system comprises:
determining the coordinate of a lower fulcrum of the servo mechanism as a first coordinate;
under the condition that the state of the servo mechanism is in an initial state under the preset coordinate system, determining the coordinate of an upper fulcrum of the servo mechanism as a second coordinate;
determining the coordinate of the upper fulcrum as a third coordinate after the spacecraft swings the swing angle in the preset coordinate system;
calculating a first absolute difference between the second coordinate and the first coordinate, and determining the first absolute difference as the initial length of the servo mechanism;
calculating a second absolute difference between the third coordinate and the first coordinate, and determining the second absolute difference as the target length of the servo mechanism.
5. An apparatus for controlling the motion of a spacecraft, comprising:
the first acquisition unit is used for acquiring control force for controlling the spacecraft and engine thrust of the spacecraft in real time;
a first determining unit, configured to determine an elongation of a servo mechanism by a quaternion algorithm according to the control force and the engine thrust, where the servo mechanism is configured to control a motion angle of the spacecraft and the servo mechanism is connected to an engine of the spacecraft;
the first control unit is used for controlling the servo mechanism to drive the spray pipe to perform vector motion according to the elongation of the servo mechanism, wherein the servo mechanism is connected with the spray pipe;
the first acquisition unit includes: the spacecraft control system comprises an acquisition subunit, a control unit and a control unit, wherein the acquisition subunit is used for acquiring a first control force and a second control force of the spacecraft in real time, the first control force is the control force of the spacecraft in the pitch direction, and the second control force is the control force of the spacecraft in the yaw direction; the first calculating subunit is used for calculating the control force according to the first control force and the second control force;
the device further comprises: the computing unit is used for computing a swing angle of the spacecraft in the actual motion process according to the engine thrust and the control force before determining the elongation of the servo mechanism through a quaternion calculation method according to the control force and the engine thrust; the second determining unit is used for determining a preset coordinate system, determining the first control force, the second control force and a rotating shaft coordinate equation among the control forces according to the preset coordinate system, and presetting the equation; the third determining unit is used for determining a quaternion expression corresponding to the rotation behavior of the spacecraft according to the swing angle and the normalized rotating shaft coordinate equation;
wherein the synthetic pivot angle of the spacecraft in the actual motion process is
Figure DEST_PATH_IMAGE002A
,F C Is the control force, P is the engine thrust;
determining a coordinate equation of the rotating shaft according to a right-hand rule, and carrying out normalized processing on the coordinate equation as follows:
Figure DEST_PATH_IMAGE007
,F C for said control force, F y Is said first control force, F z The second control force;
after the spacecraft swings by a preset angle, the quaternion expression corresponding to the rotation behavior of the spacecraft is
Figure DEST_PATH_IMAGE006A
Q is a quaternion and θ is the synthetic pivot angle.
6. A computer-readable storage medium, comprising a stored program, which when executed controls an apparatus on which the computer-readable storage medium is located to perform a method of controlling the motion of a spacecraft as claimed in any one of claims 1 to 4.
7. A processor for executing a program, wherein the program when executed performs a method of controlling the motion of a spacecraft as claimed in any one of claims 1 to 4.
CN202210664147.5A 2022-06-14 2022-06-14 Method and device for controlling movement of spacecraft Active CN114756047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210664147.5A CN114756047B (en) 2022-06-14 2022-06-14 Method and device for controlling movement of spacecraft

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210664147.5A CN114756047B (en) 2022-06-14 2022-06-14 Method and device for controlling movement of spacecraft

Publications (2)

Publication Number Publication Date
CN114756047A CN114756047A (en) 2022-07-15
CN114756047B true CN114756047B (en) 2022-09-02

Family

ID=82336385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210664147.5A Active CN114756047B (en) 2022-06-14 2022-06-14 Method and device for controlling movement of spacecraft

Country Status (1)

Country Link
CN (1) CN114756047B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN215794534U (en) * 2021-08-12 2022-02-11 东方空间技术(山东)有限公司 Fairing separating device, fairing assembly and carrier rocket

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6454217B1 (en) * 2000-09-28 2002-09-24 Space Systems/Loral, Inc. Method and apparatus for rate integration supplement for attitude referencing with quaternion differencing
CN104581144B (en) * 2015-01-16 2016-08-24 航天东方红卫星有限公司 A kind of spaceborne linear array push is swept camera full filed and is determined method the time of integration
CN105759827B (en) * 2016-03-22 2017-05-03 北京航空航天大学 Spacecraft attitude control system for suppressing unexpected flexible vibration
CN109343550B (en) * 2018-10-15 2020-04-21 北京航空航天大学 An Estimation Method of Spacecraft Angular Velocity Based on Rolling Time Domain Estimation
CN215171264U (en) * 2021-07-05 2021-12-14 东方空间技术(山东)有限公司 Servo system for thrust vector control

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN215794534U (en) * 2021-08-12 2022-02-11 东方空间技术(山东)有限公司 Fairing separating device, fairing assembly and carrier rocket

Also Published As

Publication number Publication date
CN114756047A (en) 2022-07-15

Similar Documents

Publication Publication Date Title
CN113119096B (en) Mechanical arm space position adjusting method and device, mechanical arm and storage medium
US20200326709A1 (en) Method and device for controlling reset of gimbal, gimbal, and unmanned aerial vehicle
CN110068326B (en) Attitude calculation method and apparatus, electronic device, and storage medium
CN103810746A (en) Method and device of rendering 3D (three dimensional) model in any orientation
JP6209581B2 (en) Attitude calculation device, attitude calculation method, portable device, and program
CN114756047B (en) Method and device for controlling movement of spacecraft
CN108534613A (en) Target seeker rolling control method and device
CN119536335A (en) Hover control method, device, equipment and medium for tilt-configuration aircraft
CN118399833B (en) Motor rotation inertia identification method and device
CN109591023B (en) Iterative calculation method of series robot and series robot
CN109976384A (en) A kind of autonomous underwater robot and path follow-up control method, device
CN118859980A (en) A spacecraft formation attitude and orbit control method and device
JP7149247B2 (en) Satellite Attitude Control System Using Eigenvectors, Nonlinear Dynamic Reversal, and Feedforward Control
CN113296509A (en) Autonomous trajectory tracking fusion control method for unmanned surface vessel
CN115202215B (en) Method, device and medium for robust adaptive attitude-orbit tracking control on SE(3)
CN113848958B (en) Limited time fault-tolerant track tracking control method for full-drive anti-unwinding underwater robot based on quaternion
CN115258198A (en) Spacecraft orbit determination method and device, processor and electronic equipment
Zhao et al. The heading control of POD-Driven ship using adaptive integrator backstepping
CN119279781A (en) A method and device for intelligent control of a robotic arm based on flexibility
CN118512232B (en) A fuzzy control method and device for osteotomy of a joint replacement surgery robot
CN119002486A (en) Differential robot control method and related device
CN119217384B (en) Unmanned arm-carrying underwater vehicle track optimization method based on speed operability measurement
CN116859978B (en) Inverse kinematics solving method and device for ankle joint control of biped robot
CN116911213A (en) Flow field non-matching interface correction method, device, equipment and storage medium
Andreichenko et al. A parallel algorithm for the parametric synthesis of a system for the angular stabilization of a rotating elastic beam under the action of longitudinal acceleration

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240221

Address after: 264000 No.1, Haixiang Middle Road, Fengcheng Street, Haiyang City, Yantai City, Shandong Province

Patentee after: Dongfang space technology (Shandong) Co.,Ltd.

Country or region after: China

Patentee after: Dongfang Space (Jiangsu) Aerospace Power Co.,Ltd.

Patentee after: Oriental space technology (Beijing) Co.,Ltd.

Country or region after: China

Patentee after: Orient Space (Hainan) Technology Co.,Ltd.

Address before: 265118 No.1 Haixiang Middle Road, Fengcheng street, Haiyang City, Yantai City, Shandong Province

Patentee before: Dongfang space technology (Shandong) Co.,Ltd.

Country or region before: China

Patentee before: Oriental space technology (Beijing) Co.,Ltd.