Disclosure of Invention
The invention aims to provide a method, a device, equipment and a medium for determining rocket attitude based on telemetering data, which are used for obtaining the rocket attitude and further guaranteeing the execution of subsequent tasks.
To solve the above technical problems, as an aspect of the present invention, there is provided a method for determining a rocket attitude based on telemetry data, comprising the steps of:
acquiring coordinates and speed of a ground-fixed system of the rocket;
constructing a rotation matrix according to the coordinates of the earth-solid system;
converting the speed corresponding to the ground-fixed system coordinate into the speed of the horizontal coordinate system according to the rotation matrix and the speed;
carrying out normalization processing on the speed of the horizontal coordinate system;
and solving the attitude angle of the rocket according to the speed of the horizontal coordinate system after the normalization processing.
According to an exemplary embodiment of the present invention, the method for constructing the rotation matrix according to the earth-fixed system coordinates comprises: according to the conversion relation among the earth-fixed system coordinate, the earth-fixed system and the horizon coordinate system, the longitude coordinate and the latitude coordinate of the horizon coordinate system are solved; and constructing a rotation matrix according to the longitude coordinate and the latitude coordinate.
The horizon coordinate system includes a longitude direction, a latitude direction, and an altitude direction.
According to an example embodiment of the present invention, the rotation matrices include a first rotation matrix and a second rotation matrix;
the first rotation matrix is:
the second rotation matrix is:
where R1 denotes a first rotation matrix, R2 denotes a second rotation matrix, lon denotes a longitude coordinate of the rocket, and lat denotes a latitude coordinate of the rocket.
According to an example embodiment of the present invention, the earth-fixed system coordinates include x-direction coordinates, y-direction coordinates, and z-direction coordinates.
The speeds (i.e., speeds corresponding to the coordinates of the earth-fixed system) include a first earth-fixed speed, a second earth-fixed speed, and a third earth-fixed speed.
The first ground fixing speed corresponds to the speed of the ground fixing system in the x direction;
the second ground speed corresponds to the speed of the ground fastening system in the y direction;
the third ground speed corresponds to the speed of the ground system in the z direction.
According to an example embodiment of the present invention, the speed of the horizon coordinate system comprises a first horizon speed, a second horizon speed, and a third horizon speed.
The first horizon speed corresponds to a speed in a longitude direction;
the second horizon speed corresponds to the speed in the latitude direction;
the third ground speed corresponds to a speed in the height direction.
According to an example embodiment of the present invention, the method for converting the speed corresponding to the earth-fixed system coordinate into the speed of the earth-fixed system coordinate according to the rotation matrix and the speed comprises:
converting the speed corresponding to the coordinates of the earth-solid system into the speed of the horizon coordinate system according to a formula 1;
wherein v is x1 Representing a first horizon speed, v y1 Representing a second horizon speed, v z1 Representing a third horizon speed, v x Representing a first earth velocity, v y Indicating a second ground speed, v z Representing a third groundspeed.
According to an exemplary embodiment of the present invention, the normalization process of the velocity of the horizontal coordinate system uses formula 2:
wherein,
,v
x2 representing the normalized first horizon speed, v
y2 Representing the normalized second horizon speed, v
z2 Representing the normalized third horizon speed.
According to an example embodiment of the invention, the attitude angle comprises a pitch angle and a yaw angle.
According to an exemplary embodiment of the present invention, the method for solving the attitude angle of the rocket according to the normalized speed of the horizon coordinate system adopts formula 3:
wherein att1 represents roll angle, att2 represents pitch angle, and att3 represents yaw angle.
As a second aspect of the invention, there is provided an apparatus for determining rocket attitude based on telemetry data, comprising:
the ground-fixed system coordinate acquisition module is used for acquiring the ground-fixed system coordinate of the rocket;
the speed acquisition module is used for acquiring the speed of the rocket;
the rotation matrix construction module is connected with the earth-fixed system coordinate acquisition module and used for constructing a rotation matrix according to the earth-fixed system coordinate;
the horizon speed conversion module is connected with the speed acquisition module and the rotation matrix construction module and is used for converting the speed corresponding to the coordinates of the ground-fixed system into the speed of the horizon coordinate system according to the rotation matrix and the speed;
the normalization processing module is connected with the horizontal speed conversion module and is used for performing normalization processing on the speed of the horizontal coordinate system;
and the attitude angle solving module is connected with the normalization processing module and is used for solving the attitude angle of the rocket according to the speed of the horizontal coordinate system after normalization processing.
As a third aspect of the present invention, there is provided an electronic apparatus comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for determining rocket attitude based on telemetry data.
As a fourth aspect of the invention, a computer calibration medium is provided, on which a computer program is stored which, when executed by a processor, implements the method for determining rocket attitude based on telemetry data.
The invention has the beneficial effects that:
the attitude angle of the rocket is solved under the condition that only the coordinates and the speed of the ground-fixed system of the rocket can be acquired, the actual data is used for solving, the result of the attitude angle is accurate, and the follow-up task execution is guaranteed.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the subject matter of the present application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the application.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It will be understood that, although the terms first, second, third, etc. may be used herein to describe various components, these components should not be limited by these terms. These terms are used to distinguish one element from another. Thus, a first component discussed below may be termed a second component without departing from the teachings of the present concepts. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
It will be appreciated by those skilled in the art that the drawings are merely schematic representations of exemplary embodiments, and that the blocks or processes shown in the drawings are not necessarily required to practice the present application and are, therefore, not intended to limit the scope of the present application.
According to a first embodiment of the present invention, there is provided an apparatus for determining rocket attitude based on telemetry data, as shown in fig. 1, including a geostationary coordinate acquisition module 1, a velocity acquisition module 2, a rotation matrix construction module 3, a horizon-to-horizon transformation module 4, a normalization processing module 5, and an attitude angle solving module 6.
As shown in fig. 1, the earth-fixed system coordinate acquisition module 1 is connected with the rotation matrix construction module 3, the horizon-to-horizon conversion module 4 is connected with the speed acquisition module 2, the rotation matrix construction module 3 and the normalization processing module 5, and the attitude angle solving module 6 is connected with the normalization processing module 5.
The ground-fixed system coordinate acquisition module 1 is used for acquiring ground-fixed system coordinates of the rocket, including x-direction coordinates, y-direction coordinates and z-direction coordinates of the rocket. The earth fixation system is a coordinate system in three directions of x, y and z, which is established by taking the geocentric as an origin.
The speed acquisition module 2 is used for acquiring the speed of the rocket, and comprises a first ground-fixed speed, a second ground-fixed speed and a third ground-fixed speed.
The first ground speed corresponds to the speed of the ground system in the x direction, the second ground speed corresponds to the speed of the ground system in the y direction, and the third ground speed corresponds to the speed of the ground system in the z direction.
The earth-fixation system coordinate acquisition module 1 and the speed acquisition module 2 are both acquired from telemetry data.
The rotation matrix building module 3 is used for building a rotation matrix according to the earth fixation system coordinates.
The horizon speed conversion module 4 is used for converting the speed corresponding to the earth-fixed system coordinate into the speed of the horizon coordinate system according to the rotation matrix and the speed.
The normalization processing module 5 is used for performing normalization processing on the speed of the horizontal coordinate system.
And the attitude angle solving module 6 is used for solving the attitude angle of the rocket according to the speed of the horizontal coordinate system after the normalization processing.
By the device, maintenance and operators of commercial satellites can directly solve the attitude angle of the rocket through telemetering data to prepare for execution of subsequent tasks.
As a second embodiment of the present invention, there is provided a method for determining rocket attitude based on telemetry data, as shown in FIG. 2, comprising the steps of:
this solution is implemented using the apparatus of the first embodiment.
S1: and acquiring the coordinates and the speed of the ground-fixed system of the rocket.
The earth-solid system coordinate acquisition module 1 and the speed acquisition module 2 acquire corresponding earth-solid system coordinates and speed through telemetry data issued by a satellite carried on a rocket.
The earth fixation system is a coordinate system established by taking the geocenter as an origin, and comprises an x direction, a y direction and a z direction. The coordinates of the earth-fixed system include x-direction coordinates, y-direction coordinates, and z-direction coordinates. The speeds (speeds corresponding to the coordinates of the earth-solid system) include a first earth-solid speed, a second earth-solid speed and a third earth-solid speed. The first ground fixing speed corresponds to the speed of the ground fixing system in the x direction; the second ground speed corresponds to the speed of the ground fastening system in the y direction; the third ground speed corresponds to the speed of the ground system in the z direction.
S2: and constructing a rotation matrix according to the earth fixation system coordinates.
The earth-fixed coordinate system is also called an earth coordinate system and is a coordinate system fixed on the earth and rotating together with the earth. The earth-fixed coordinate system is a coordinate axis established with the earth center (sphere center) as the origin.
The horizon coordinate system is a celestial coordinate system which takes an observer on the ground as the center and takes the horizon circle of the point as a basic plane. The plane passing through the center of the celestial sphere (actually the eyes of the observer) and perpendicular to the plumb line (the line connecting the zenith and the nadir) is called the ground plane of the earth, and the great circle formed by the intersection of the ground plane and the celestial sphere is called the horizon ring. The horizon coordinate system is also called the geodetic coordinate system and is also the wgs84 coordinate system.
The coordinates of the coordinate system of the horizon include longitude coordinates, latitude coordinates, and altitude coordinates. In actual operation, the observation point is set in Shaanxi. The transformation relationship between the earth-fixed system and the horizon is known.
The rotation matrix construction module 3 calculates longitude coordinates lon and latitude coordinates lat of the horizon coordinate system according to the conversion relation among the earth fixed system coordinates, the earth fixed system and the horizon coordinate system, and then constructs a rotation matrix according to the longitude coordinates lon and the latitude coordinates lat, wherein the rotation matrix comprises a first rotation matrix and a second rotation matrix.
The first rotation matrix is:
the second rotation matrix is:
where R1 denotes a first rotation matrix, R2 denotes a second rotation matrix, lon denotes a longitude coordinate of the rocket, and lat denotes a latitude coordinate of the rocket.
S3: and converting the speed corresponding to the ground-fixed system coordinate into the speed of the horizontal coordinate system according to the rotation matrix and the speed.
The coordinates of the rocket are converted from a ground-fixed system to a horizontal coordinate system, and corresponding speeds in three directions of the coordinate system are changed accordingly, so that the speeds need to be converted correspondingly according to the conversion of the coordinate system.
The velocities in the x, y, and z directions corresponding to the earth-fixed system (velocities corresponding to the earth-fixed system coordinates) are the first earth-fixed velocity, the second earth-fixed velocity, and the third earth-fixed velocity, respectively. The speeds of the longitude, the latitude and the altitude corresponding to the horizon coordinate system (the speed of the horizon coordinate system) are respectively a first horizon speed, a second horizon speed and a third horizon speed.
The horizon speed conversion module 4 converts the speed corresponding to the earth-fixed system coordinate into the speed of the horizon coordinate system according to the rotation matrix and the speed, and adopts a formula 1.
wherein v is x1 Representing a first horizon speed, v y1 Representing a second horizon speed, v z1 Represents a third horizon speed, v x Representing a first earth velocity, v y Indicating a second ground speed, v z Representing a third groundspeed.
After conversion, speed matrixes of the horizon coordinate system in three directions are obtained, wherein the speed matrixes comprise a first horizon speed, a second horizon speed and a third horizon speed.
The horizon coordinate system takes an observation point (a station) as an origin, and coordinate axes in the longitude direction, the latitude direction and the height direction are established, wherein the first horizon speed is the speed in the longitude direction, the second horizon speed is the speed in the latitude direction, and the third horizon speed is the speed in the height direction.
S4: and carrying out normalization processing on the speed of the horizontal coordinate system.
The normalization processing module 5 normalizes the speed of the horizon coordinate system by using the formula 2.
wherein,
,v
x2 representing the normalized first horizon speed, v
y2 Representing the normalized second horizon speed, v
z2 Representing the normalized third horizon speed.
S5: and solving the attitude angle of the rocket according to the speed of the horizontal coordinate system after the normalization processing.
The attitude angles include a roll angle, a pitch angle, and a yaw angle.
The method for solving the attitude angle of the rocket by the attitude angle solving module 6 according to the speed of the horizontal coordinate system after the normalization processing adopts a formula 3:
wherein att1 represents roll angle, att2 represents pitch angle, and att3 represents yaw angle.
In equation 3, the roll angle is set to 0 because the roll angle cannot be calculated according to the velocity, and the data required by the commercial satellite operator and the maintenance provider are the pitch angle and the yaw angle, so that only the pitch angle and the yaw angle are required.
Table 1 is a table of attitude angles obtained by the above-described method.
TABLE 1
t represents the time elapsed from the takeoff moment of the rocket, and the unit is second; x represents the coordinate value of the earth-fixed system coordinate in the x direction, and the unit is meter; y represents a coordinate value in the y direction of the earth-fixed system coordinate, and the unit is meter; z represents a coordinate value of the earth-fixed system coordinate in the z direction, and the unit is meter; vx represents a first earth-fixed velocity in meters per second; vy represents a second groundspeed in meters per second; vz represents third earth velocity in meters per second; pitching represents the pitch angle of the rocket, and the unit is degree; yaw represents the yaw angle of the rocket in degrees. As can be seen from Table 1, the attitude angle (pitch angle and yaw angle) of the rocket can be obtained according to the coordinates and the speed of the earth-solid system of the telemetering data, and the data are accurate, so that the execution of subsequent tasks is guaranteed.
According to a third embodiment of the present invention, there is provided an electronic device, as shown in fig. 3, and fig. 3 is a block diagram of an electronic device according to an exemplary embodiment.
An electronic device 800 according to this embodiment of the application is described below with reference to fig. 3. The electronic device 800 shown in fig. 3 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 3, electronic device 800 is in the form of a general purpose computing device. The components of the electronic device 800 may include, but are not limited to: at least one processing unit 810, at least one memory unit 820, a bus 830 that couples various system components including the memory unit 820 and the processing unit 810, a display unit 840, and the like.
Wherein the storage unit stores program code that can be executed by the processing unit 810, such that the processing unit 810 performs the steps according to various exemplary embodiments of the present application described in the present specification. For example, the processing unit 810 may perform the steps as shown in fig. 2.
The memory unit 820 may include readable media in the form of volatile memory units such as a random access memory unit (RAM) 8201 and/or a cache memory unit 8202, and may further include a read only memory unit (ROM) 8203.
The memory unit 820 may also include a program/utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 830 may be any of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 800 may also communicate with one or more external devices 800' (e.g., keyboard, pointing device, bluetooth device, etc.) such that a user can communicate with devices with which the electronic device 800 interacts, and/or any devices (e.g., router, modem, etc.) with which the electronic device 800 can communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 850. Also, the electronic device 800 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 860. The network adapter 860 may communicate with other modules of the electronic device 800 via the bus 830. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware.
Thus, according to a fourth embodiment of the present invention, there is provided a computer readable medium. As shown in fig. 4, the technical solution according to the embodiment of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, or a network device, etc.) to execute the above method according to the embodiment of the present invention.
The software product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The computer-readable medium carries one or more programs which, when executed by a device, cause the computer-readable medium to carry out the functions of the second embodiment.
Those skilled in the art will appreciate that the modules described above may be distributed in the apparatus according to the description of the embodiments, or may be modified accordingly in one or more apparatuses unique from the embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiment of the present invention.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.