A data compression method and satellite

By determining the compression ratio according to the type of satellite attitude information and compressing the satellite attitude information, the problem that fixed compression rules in the existing technology cannot adapt to different scenarios is solved, and more efficient data compression and transmission are achieved.

CN118409342BActive Publication Date: 2024-09-27SHANGHAI SATELLITE NETWORK RESEARCH INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410876461.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-09-27
Estimated Expiration
2044-07-02

AI Technical Summary

Technical Problem

The existing technology uses fixed compression rules to compress satellite attitude information, which cannot maximize the compression efficiency and cannot adapt to the compression needs of different scenarios.

Method used

According to different types of satellite attitude information, different compression ratios are used to compress the satellite attitude information. By obtaining multiple sets of satellite attitude information, the first attitude type is determined, and the neural network is used to compress the correspondence between the attitude type and the compression ratio. .

Benefits of technology

It can flexibly change the compression ratio according to different scenarios, perform targeted compression, maximize compression benefits, and improve the efficiency and quality of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118409342B
    Figure CN118409342B
Patent Text Reader

Abstract

The present application provides a data compression method and a satellite. After obtaining multiple sets of satellite attitude information of the satellite at multiple times, the first attitude type of the satellite is determined according to the multiple sets of satellite attitude information, and the multiple sets of satellite attitude information are compressed using the target compression ratio corresponding to the first attitude type. By determining the target compression ratio corresponding to different satellite attitude types and then compressing the satellite attitude information using the determined compression ratio, the compression ratio can be flexibly changed according to different scenes, compression can be performed in a targeted manner, and the compression benefit can be maximized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of satellite engineering technology, and in particular to a data compression method and a satellite. Background Art

[0002] Satellite attitude information can characterize the attitude change process of the satellite during its in-orbit operation. Accurate and reliable attitude information is crucial to the normal operation of the satellite. During the operation of the satellite, the attitude information can be transmitted to the ground after being compressed.

[0003] The current method of compressing telemetry data is to compress the satellite attitude information generated during the satellite's in-orbit operation according to the same compression rules. However, using fixed compression rules regardless of the scenario may result in the inability to maximize the compression benefit. Summary of the invention

[0004] In order to solve the above-mentioned problems in the prior art, the example of the present application provides a data compression method and a satellite, which can compress the satellite attitude information using different compression ratios according to the satellite attitude corresponding to the satellite attitude information.

[0005] In a first aspect, an embodiment of the present application provides a data compression method, which can be applied to a satellite, and the method includes:

[0006] Acquire multiple sets of satellite attitude information of the satellite at multiple times;

[0007] Determining a first attitude type of the satellite according to the multiple sets of satellite attitude information;

[0008] The multiple groups of satellite attitude information are compressed using a target compression ratio corresponding to the first attitude type.

[0009] In a possible implementation, determining the first attitude type of the satellite according to the multiple sets of satellite attitude information includes:

[0010] Determine the deviation between each set of satellite attitude information and set standard attitude information in the multiple sets of satellite attitude information;

[0011] The deviation between each set of satellite attitude information and the standard attitude information is expressed as a state characteristic value to obtain a plurality of state characteristic values;

[0012] Converting the plurality of state feature values ​​into a feature map;

[0013] The feature map is input into a trained neural network to obtain the first posture type output by the neural network.

[0014] In one possible implementation, each set of satellite attitude information includes an attitude angle and an angular velocity; the standard attitude information includes a standard attitude angle and a standard angular velocity; the deviation between each set of satellite attitude information and the standard attitude information includes a deviation between the attitude angle in each set of satellite attitude information and the standard attitude angle, and a deviation between the angular velocity in each set of satellite attitude information and the standard angular velocity.

[0015] In a possible implementation, expressing the deviation between each set of satellite attitude information and the standard attitude information as a state characteristic value includes:

[0016] For each set of satellite attitude information, perform the following operations respectively:

[0017] The state characteristic value corresponding to the satellite attitude information is determined according to the weighted sum of the squares of each deviation component in the multiple deviation components corresponding to the satellite attitude information; the multiple deviation components include the deviation between the attitude angle in the satellite attitude information and the standard attitude angle, including the attitude angle deviation component of the X-axis, the attitude angle deviation component of the Y-axis, and the attitude angle deviation component of the Z-axis; and the deviation between the angular velocity in the satellite attitude information and the standard angular velocity includes the angular velocity deviation component of the X-axis, the angular velocity deviation component of the Y-axis, and the angular velocity deviation component of the Z-axis.

[0018] In a possible implementation, the neural network includes a plurality of pooling layers, each of which is connected to a random dropout layer; the random dropout layer is used to randomly discard output results of the pooling layer connected to the random dropout layer.

[0019] In a possible implementation, the convolution layer included in the neural network is a depth-wise separable convolution layer or a grouped convolution layer; the depth-wise separable convolution layer is used to perform a convolution operation on each input channel separately, and integrate the results of each convolution operation to obtain an output result; the grouped convolution layer is used to group the feature maps, and each group of feature maps is independently convolutionally operated.

[0020] In a possible implementation manner, compressing the multiple groups of satellite attitude information by using the target compression ratio corresponding to the first attitude type includes:

[0021] Determining a target compression ratio corresponding to the first posture type according to a pre-stored correspondence relationship between a plurality of posture types and a plurality of compression ratios;

[0022] The multiple groups of satellite attitude information are compressed using the target compression ratio.

[0023] In a possible implementation, the multiple posture types include: a fast-changing posture type, a slow-changing posture type, and a stable posture type;

[0024] The fast-changing posture type corresponds to a first compression ratio; the slow-changing posture type corresponds to a second compression ratio; and the smooth posture type corresponds to a third compression ratio.

[0025] In a possible implementation manner, the first compression ratio is smaller than the second compression ratio; and the second compression ratio is smaller than the third compression ratio.

[0026] In a possible implementation manner, after compressing the multiple groups of satellite attitude information using the target compression ratio corresponding to the first attitude type, the method further includes:

[0027] If the first attitude type is a specified type, taking the Nth group of satellite attitude information in the multiple groups of satellite attitude information as a starting point, selecting satellite attitude information having the same number as the multiple groups of satellite attitude information; wherein N is a set value;

[0028] Determine a first attitude type of the satellite according to the satellite attitude information having the same number as the multiple groups of satellite attitude information.

[0029] In a possible implementation manner, after compressing the multiple groups of satellite attitude information using the target compression ratio corresponding to the first attitude type, the method further includes:

[0030] Send the compressed multiple sets of satellite attitude information to the ground station.

[0031] In a second aspect, an embodiment of the present application provides a data compression device, the device comprising:

[0032] An acquisition unit, used to acquire multiple sets of satellite attitude information of the satellite at multiple times;

[0033] A determination unit, configured to determine a first attitude type of the satellite according to the multiple sets of satellite attitude information;

[0034] A compression unit is used to compress the multiple groups of satellite attitude information using a target compression ratio corresponding to the first attitude type.

[0035] In a third aspect, an embodiment of the present application provides a satellite, including a memory and a processor, wherein the memory stores a computer program running on the processor, and when the computer program is executed by the processor, the above-mentioned data compression method can be implemented.

[0036] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the above-mentioned data compression method can be implemented.

[0037] The present application provides a data compression method and a satellite. After obtaining multiple sets of satellite attitude information of the satellite at multiple times, the first attitude type of the satellite is determined according to the multiple sets of satellite attitude information, and the multiple sets of satellite attitude information are compressed using the target compression ratio corresponding to the first attitude type. By determining the target compression ratio corresponding to different satellite attitude types and then compressing the satellite attitude information using the determined compression ratio, the compression ratio can be flexibly changed according to different scenes, compression can be performed in a targeted manner, and the compression benefit can be maximized. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0039] Figure 1 An application scenario diagram of a data compression method provided in an embodiment of the present application;

[0040] Figure 2 A flowchart of a method for executing data compression provided in an embodiment of the present application;

[0041] Figure 3 A schematic diagram of satellite attitude angle values ​​provided in an embodiment of the present application;

[0042] Figure 4 A schematic diagram of the value of a satellite angular velocity provided in an embodiment of the present application;

[0043] Figure 5 A schematic diagram of multiple state characteristic values ​​determined according to a satellite attitude angle and a satellite angular velocity provided in an embodiment of the present application;

[0044] Figure 6 A schematic diagram of the correspondence between a Gram angle and a field diagram and a satellite attitude type provided in an embodiment of the present application;

[0045] Figure 7 A schematic diagram of generating a data set provided in an embodiment of the present application;

[0046] Figure 8 A specific flow chart of a data compression method performed by a satellite provided in an embodiment of the present application;

[0047] Fig. 9 A structural block diagram of a data compression device provided in an embodiment of the present application;

[0048] Fig.10 A structural block diagram of a satellite provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0050] It should be noted that the terms "including" and "having" and their variations involved in the documents of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0051] The terms "first" and "second" in this document are used for descriptive purposes only and should not be understood as explicitly or implicitly indicating relative importance or implicitly indicating the number of technical features indicated. Therefore, features defined as "first" and "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.

[0052] The word “exemplary” is used hereinafter to mean “serving as an example, example, or illustration.” Any embodiment described as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0053] The present application is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0054] Figure 1 A diagram showing an application scenario of a data compression method provided by an embodiment of the present application is shown in FIG. Figure 1 As shown,

[0055] The application scenario includes: a satellite 101 and a ground station (102a, 102b), and the satellite 101 and the ground station (102a, 102b) can exchange information through a wireless communication network. The ground station (102a, 102b) can also be called a ground base station (102a, 102b). The following description is based on the ground station.

[0056] Exemplarily, the satellite 101 can access the network through cellular mobile communication technology to communicate with the ground station (102a, 102b), wherein the cellular mobile communication technology, for example, includes the fifth generation mobile communication (5th Generation Mobile Networks, 5G) technology.

[0057] The embodiment of the present application does not impose any restriction on the number of communication devices involved in the above application scenario. For example, there may be multiple ground stations, or no ground station, or other network / communication devices may be included, such as Figure 1 As shown, only the satellite 101 and the ground station (102a, 102b) are taken as an example for description; in addition, a data compression device 103 is deployed on the satellite 101, and a data decompression device, namely, a data decompression device 104a and a data decompression device 104b, is deployed on the ground station (102a, 102b).

[0058] Among them, the data compression device 103 deployed on the satellite 101, wherein the data compression device 103 can be used to execute the data compression method provided in the embodiment of the present application, that is, after obtaining multiple groups of satellite attitude information of the satellite at multiple times, determine the first attitude type of the satellite according to the multiple groups of satellite attitude information, and use the target compression ratio corresponding to the first attitude type to compress the multiple groups of satellite attitude information.

[0059] The data decompression device (104a, 104b) deployed on the ground station (102a, 102b) is used to receive the compressed data from the data compression device 103, and decode and decompress the compressed data to obtain corresponding telemetry data; wherein the compressed data includes: video stream data after video compression encoding and / or single frame image data after image compression encoding.

[0060] It should be noted that single-frame image data is the information contained in a single-frame image. Therefore, in the embodiments of the present application, single-frame image data and single-frame image refer to the same thing and there is no need to distinguish them.

[0061] Exemplarily, assuming that the compressed data is video stream data after video compression encoding, the video stream data after video compression encoding can be decoded and decompressed to obtain corresponding telemetry data; similarly, assuming that the compressed data is single-frame image data after image compression encoding, the single-frame image data after image compression encoding can be decoded and decompressed to obtain corresponding telemetry data.

[0062] It should also be noted that in the above application scenario, the satellite 101 may be absent, that is, the telemetry data compression device 103 can be widely used in various spacecraft that require data compression, such as communication, navigation, remote sensing satellites and constellations.

[0063] The data compression method provided by the exemplary embodiment of the present application is described below in combination with the above-mentioned application scenarios and with reference to the accompanying drawings. It should be noted that the above-mentioned application scenarios are only shown to facilitate understanding of the spirit and principles of the present application, and the implementation methods of the present application are not limited in this regard.

[0064] Figure 2 A flowchart of a method for executing data compression provided by an embodiment of the present application is shown. Figure 2 As shown, the data compression method may include the following steps:

[0065] Step S201, obtaining multiple sets of satellite attitude information of the satellite at multiple times.

[0066] In a possible embodiment, the satellite usually includes various sensors that can measure the direction, angle or position of the satellite relative to reference objects such as the earth, the sun, and stars. For example, the satellite may include a gyroscope, which can calculate the angle and direction changes of the satellite by integrating the measurement values, and can also measure the angular velocity and angular acceleration of the satellite; the satellite may also include a solar sensor, which can detect the position and direction of the sun to determine the satellite's attitude relative to the sun; it may also include sensors such as earth magnetic field sensors and inertial measurement units.

[0067] In a possible embodiment, the satellite attitude information may include an attitude angle describing the orientation of the satellite in three-dimensional space, an angular velocity describing the rotation speed of the satellite around each axis, an angular acceleration describing the rate of change of the satellite angular velocity, and other values ​​that can describe the satellite attitude. Such attitude information is essential for the satellite's operation, communication, navigation, earth observation, and other tasks. Specifically, the satellite can obtain the satellite attitude information through various sensors included on the satellite.

[0068] It should be noted that the satellite does not acquire satellite attitude information all the time, but has a fixed sampling frequency. In general, the satellite attitude control system that can control the attitude of the satellite is limited by factors such as the output capacity of the actuator on the satellite and the satellite inertia characteristics. The satellite control system does not frequently send attitude change signals to the actuator on the satellite, and the frequency of the satellite control system sending attitude change signals to the actuator on the satellite is also different for different satellite models. Therefore, in this application, it is recommended to set the sampling frequency to a value that is one order of magnitude higher than the frequency at which the satellite attitude control system sends attitude change signals to the actuator on the satellite. For example, if the frequency of the satellite attitude control system is 0.016~0.4Hz, the sampling frequency for acquiring satellite attitude information can be set to 4Hz, that is, the satellite attitude information is acquired every 0.25 seconds. In this application, the sampling frequency for acquiring satellite attitude information is not limited, and can be 5Hz or 3Hz or other values. The following description will be based on the example of setting the sampling frequency for acquiring satellite attitude information to 4Hz.

[0069] Step S202: determining a first attitude type of the satellite according to multiple sets of satellite attitude information.

[0070] In a possible embodiment, the deviation between the attitude angle in each group of satellite attitudes and the standard attitude angle, and the deviation between the angular velocity in each group of satellite attitude information and the standard angular velocity can be determined first in multiple groups of satellite attitude information, and then multiple characteristic values ​​are used to respectively characterize the deviation between the attitude angle in each group of satellite attitudes and the standard attitude angle, and the deviation between the angular velocity in each group of satellite attitude information and the standard angular velocity. Since the attitude angle characterizes the orientation of the satellite in three-dimensional space, the attitude angle can include the attitude angles of the X-axis, Y-axis, and Z-axis respectively; similarly, the angular velocity also includes the angular velocities of the X-axis, Y-axis, and Z-axis respectively.

[0071] That is to say, a state characteristic value can be used to indicate whether the attitude angles of the X-axis, Y-axis and Z-axis and the angular velocities of the X-axis, Y-axis and Z-axis in a set of satellite attitude information deviate from their corresponding standard values. If any one or more of the six values ​​deviate from the corresponding standard values, the state characteristic value can reflect the deviation. Among them, the standard attitude is the optimal operating attitude of the satellite in orbit, and the satellite can achieve the highest operating efficiency under the optimal operating attitude; the standard attitude angle is the attitude angle of the X-axis, Y-axis and Z-axis of the satellite under the optimal operating attitude; the standard angular velocity is the angular velocity of the X-axis, Y-axis and Z-axis of the satellite under the optimal operating attitude.

[0072] Specifically, the satellite attitude generalized energy function V(x) can be selected as the determination function of the state eigenvalue, and the expression of V(x) is as follows:

[0073]

[0074] Among them, E x 、E y 、E z They respectively represent the dimensionless satellite X-axis attitude angle, which is the ratio of the actually measured X-axis attitude angle to the X-axis standard attitude angle index; the dimensionless satellite Y-axis attitude angle, which is the ratio of the actually measured Y-axis attitude angle to the Y-axis standard attitude angle index; the dimensionless satellite Z-axis attitude angle, which is the ratio of the actually measured Z-axis attitude angle to the Z-axis standard attitude angle index; They represent the dimensionless satellite three-axis deviation attitude angular velocity, which is the ratio between the actual measured angular velocity and the standard angular velocity; It represents the motion state coefficient. The motion state coefficient can be selected as the product of the proportional coefficient of the satellite's moment of inertia and the proportional coefficient of the criticality of the mission. That is to say, the easier it is to change, the smaller the corresponding motion state coefficient will be. In addition, the sum of the motion state coefficients meets the following conditions: .

[0075] When the satellite attitude gradually converges with the participation of the control system, it is also through E x 、E y 、E z , The convergence of oscillation is reflected in the convergence characteristics of the energy function, which is also reflected in the state eigenvalue; the failure and performance degradation of the control system, external environmental interference, and movable components on the satellite will also affect the satellite attitude E. x 、E y 、E z The different state fluctuations of the angular velocity are reflected in the oscillation, deviation and divergence characteristics of the energy function curve. It should be noted that the method of determining the state characteristic value V(x) in this application is not limited to the method of determining the state characteristic value V(x) by E x 、E y 、E z , The state characteristic value can also be determined directly based on the attitude angle and angular velocity, or it can be determined based on other different values ​​included in the satellite attitude information, which is not limited in this application.

[0076] For example, Figure 3 A schematic diagram of satellite attitude angle values ​​provided in an embodiment of the present application is shown. Figure 3 As shown, the horizontal axis is time, and the vertical axis is the value that the attitude angle can take. Figure 3 In , all the values ​​taken according to the frequency are connected; Figure 4 A schematic diagram of the value of a satellite angular velocity provided in an embodiment of the present application is shown, such as Figure 4As shown, the horizontal axis is time, and the vertical axis is the value that the satellite angular velocity can take. Figure 4 In , all the values ​​taken according to the frequency are connected; Figure 5 This embodiment of the present application provides a method according to Figure 3 and Figure 4 A schematic diagram of multiple state characteristic values ​​determined, such as Figure 5 As shown, the horizontal axis is time, and the vertical axis is the value that the state characteristic value can take. Figure 5 In , all state eigenvalues ​​are connected.

[0077] In a possible embodiment, a feature map corresponding to a plurality of state feature values ​​may be determined, wherein the plurality of state feature values ​​are one-dimensional time series signals, and the feature map is a two-dimensional image signal. After obtaining the plurality of state feature values, the one-dimensional time series signal may be converted into a two-dimensional image signal using algorithms such as a Gramian Angular Difference Field (GADF), a Gramian Angular Summation Field (GASF), a Markov Transition Field (MTF), and a Recurrence Plot (RP), that is, the plurality of state feature values ​​may be converted into corresponding feature maps.

[0078] For example, the process of using GASF to convert multiple state eigenvalues ​​into corresponding feature maps is roughly as follows: The Gram matrix is ​​a matrix composed of the inner products of the eigenvectors of a one-dimensional signal at each moment. For a one-dimensional time series signal, it can be regarded as the relationship between time and amplitude. By calculating the inner product between the eigenvectors at each moment, a matrix representing the frequency information of the signal can be obtained. This matrix is ​​usually called the Gram matrix. After obtaining the Gram matrix corresponding to multiple state eigenvalues, the values ​​of the Gram matrix can be used as pixel intensities and then rearranged into a rectangular image.

[0079] In a possible embodiment, the feature map can be input into the trained neural network to obtain the first attitude type corresponding to the feature map. Among them, the attitude type of the satellite can include seven types: Category 1 "attitude flip state" mainly includes two situations: the satellite detaches from the rocket to adjust the attitude and the attitude flip under the condition of a satellite attitude control system failure; Category 2 "attitude maneuvering state", mainly exists in the process of satellite attitude adjustment; Category 3 "attitude stable state", refers to the attitude angle and angular velocity are in a stable state, and will hardly change for a period of time, but not all zero or close to zero; Category 4 "attitude jitter state", the satellite may have a fault or be subject to sudden disturbances from the satellite body and the space environment, and attitude jitter occurs; Category 5 "attitude fluctuation state", which may be a fault or continuous disturbance from the satellite body and the space environment; Category 6 "attitude offset state", the satellite attitude has a large pointing deviation, and in severe cases, there may be a risk of loss of control; Category 7 "satellite attitude failure state", the satellite fails, resulting in the inability to obtain satellite attitude data and accurate attitude classification. Figure 6 A schematic diagram showing the correspondence between a Gram angle and a field diagram and a satellite attitude type provided in an embodiment of the present application is shown, such as Figure 6 As shown, there is a number corresponding to each Gram angle and field diagram, and the numbers 0 to 6 correspond to the satellite attitude types 1 to 7 respectively.

[0080] It should be noted that the neural network is not trained on the satellite, but offline on the ground. When training the neural network offline on the ground, it is impossible to obtain multiple sets of satellite attitude information at multiple times from the satellite's sensors. However, the data required for training can be obtained from the satellite attitude information saved during the previous operation of the satellite. In the following description, the data required for training obtained from the satellite attitude information saved during the previous operation is called offline data. Similar to the above steps, during the training process of the neural network, multiple state feature values ​​can be used to represent the deviation between each group of satellite attitudes and the standard attitude in the offline data, and then the multiple state feature values ​​can be converted into corresponding feature maps using algorithms such as GADF, GASF, MTF or RP. Finally, the feature maps can be classified and labeled using expert experience. Similarly, the attitude fusion feature curves can be divided into 7 categories according to features such as category 1 "attitude flip state", category 2 "attitude maneuvering state", category 3 "attitude stable state", category 4 "attitude jitter state", category 5 "attitude fluctuation state", category 6 "attitude offset state", and category 7 "satellite attitude fault state", and the corresponding feature images can be saved in the corresponding category folders, and the data can be divided into training set and test set according to the ratio of 98:2 or 8:2.

[0081] Among them, since offline data is not necessarily sufficient, the data set can be generated by data sliding. Figure 7 A schematic diagram of generating a data set provided in an embodiment of the present application is shown, such as Figure 7 As shown, in order to ensure that each segmented data contains enough features and considering the size of the neural network, the length of the data segment can be comprehensively considered. If the sampling frequency of the satellite attitude information is 4Hz, the data of every 0.25 seconds can be selected as the starting point, and the data of 125 seconds backward can be used as the original feature data point corresponding to a single feature image. It should be noted that in some cases, the end of the offline data set can also be used as the starting point, and the data of 125 seconds from the back to the front can be used as the original feature data point corresponding to a single feature image, and the selection of the sampling data frequency and time should be combined with the frequency characteristics of the satellite attitude change. In addition to the above examples, the data of every 0.5 seconds can be selected as the starting point, or the data of every 0.75 seconds can be selected as the starting point, and the data of 100 seconds backward can be selected as the original feature data point corresponding to a single feature image, or the data of 150 seconds backward can be selected as the original feature data point corresponding to a single feature image. This application does not limit this.

[0082] After the preparation of the data set is completed, the data set can be input into a convolutional neural network (CNN) to achieve rapid classification of different satellite attitudes. CNN has the characteristics of weight sharing, local connection and multi-level structure, which can realize feature extraction of nonlinear data. It is particularly suitable for detecting attitude signals with strong nonlinear characteristics. Using CNN as a detector for multi-classification of attitude data, its adaptability and accuracy can be significantly improved. In this application, the training process of the neural network uses cross entropy as the loss function, and the selection of optimizers includes but is not limited to SGD (gradient descent), Adagrad, Adam and other methods. The appropriate optimizer can be selected according to the actual task needs.

[0083] Unlike common CNNs, the neural network in the present application may include multiple convolutional layers, multiple average pooling layers, maximum pooling layers, and multiple matrix multiplication layers, wherein the multiple convolutional layers and the multiple pooling layers may add up to 9 layers. In this way, a certain depth can be added to the traditional CNN model, which can reduce the rate of descent of the gradient of the neural network of the present application and ensure the accuracy of the neural network. However, the present application does not limit the total number of multiple convolutional layers and multiple pooling layers, and the number may be more than 9 layers, or less than 9 layers, which is not limited in the present application.

[0084] In addition, in order to speed up the training time of the neural network in this application and avoid overfitting, a random inactivation Dropout layer can be added after each pooling layer, and the hyperparameters in the Dropout layer are used as the discard probability to randomly discard the data passing through the neural network of this application. Although this may cause the convergence speed of the neural network to slow down, it can reduce the dependency between the neurons in the neural network and reduce the probability of noise and outliers in the neural network training data. Since the data redundancy near the input end is high and the data redundancy near the output end is low, the value of the hyperparameter from the first Dropout layer to the last Dropout layer should be gradually decreasing. A hyperparameter combination of 0.6, 0.3, and 0.1 can be used. After improvement, the classification accuracy of the neural network can reach 98.9% after multiple trainings. It should be noted that this application does not limit the specific values ​​of the hyperparameters in the Dropout layer.

[0085] Therefore, during the training process, the feature map can be input into the convolution layer in the neural network, and the feature map is extracted through multiple convolution layers to obtain a convolution feature map; the convolution feature map is then input into the average pooling layer in the neural network, and the convolution feature map is divided into regions through multiple average pooling layers to determine the average eigenvalue of each region to obtain an average feature map, wherein the convolution layer is connected to the average pooling layer, and the average pooling layer can continue to be connected to the convolution layer until the neural network no longer contains other average pooling layers and convolution layers, and then the average feature map is input into the maximum pooling layer in the neural network, and the average feature map is divided into regions through the maximum pooling layer to determine the maximum eigenvalue of each region to obtain a maximum feature map, wherein each pooling layer is connected to a random deactivation layer, which can be used to randomly discard the output results of the pooling layer connected to the random deactivation layer, and finally, the maximum feature map can be input into multiple matrix multiplication layers in the neural network, and each feature in the maximum feature map is multiplied by a weight through multiple matrix multiplication layers to determine the first posture type corresponding to the feature map. By setting multiple convolutional layers, the lower-level convolutional layers usually learn some simple features, such as edges and textures, while the higher-level convolutional layers can learn more complex and abstract features, such as the parts and the whole of an object; setting multiple average pooling layers makes the neural network robust to a certain degree of position changes in the input data, so it can better handle translation and local changes.

[0086] In a possible embodiment, after the neural network is trained, the neural network can be lightweighted. Since the neural network model of the present application has many model parameters formed during offline training on the ground, with the number of parameters reaching millions, it cannot be applied in real time when deployed on an in-orbit satellite. Therefore, the convolutional neural network trained on the ground can be lightweighted as follows:

[0087] Before training the neural network, ordinary convolution calculations can be replaced with lightweight convolution methods such as deep separable convolution and grouped convolution to reduce the amount of convolution calculations in the convolutional neural network. The deep separable convolution layer is used to perform convolution operations on each input channel separately, and the results of each convolution operation are integrated to obtain the output result; the grouped convolution layer is used to group feature maps, and each group of feature maps is independently convolved. In addition, there are a large number of redundant parameters close to 0 in the weights of the convolutional network. Removing these parameters will sparse the network and reduce the parameters of the model; after the model is trained, the local structured pruning method can be used to search for redundant convolution kernels in the network and cut off the weights of this part.

[0088] After the training of the neural network is completed by the above method, the first attitude type of the satellite can be determined through steps S201 and S202, and then step S203 can be executed.

[0089] Step S203: compressing the multiple groups of satellite attitude information using the target compression ratio corresponding to the first attitude type.

[0090] In a possible embodiment, if the first attitude type is category 1 "attitude flip state", category 2 "attitude maneuvering state", category 6 "attitude offset state", and category 7 "satellite attitude failure state", the corresponding satellite attitude information reflects the state of rapid change of satellite attitude, which is of high importance. A low compression ratio (compression ratio close to 0%) and high-fidelity data compression method is adopted, including but not limited to Huffman coding, png image construction compression method and other lossless or extremely low loss compression coding methods, which are not limited in this application; if the first attitude type is category 4 "attitude jitter state" and category 5 "attitude fluctuation state", it means that the satellite attitude data changes in a long period or at a fixed interval, and the importance is relatively high. A data compression method with a lower compression ratio (compression ratio below 50%) can be adopted, including but not limited to downsampling and image construction compression method based on JPEG, etc.; if the first attitude type is category 3 "attitude stable state", the satellite attitude data is relatively stable and of low importance. A high compression ratio data compression method is adopted, or a higher sparse sampling is performed before the data compression process.

[0091] In a possible embodiment, during the operation of the satellite, a fixed number of sets of satellite attitude information may also be selected to determine the first attitude type of the satellite. For example, 500 sets of satellite attitude information may be selected to determine the first attitude type of the satellite, and then the characteristic images corresponding to the selected 500 sets of satellite attitude information may be analyzed. If the first attitude type corresponding to the characteristic image is category 3 "attitude stable state", the next set of satellite attitude information may be determined according to the set sliding window, and the characteristic image corresponding to the set of satellite attitude information may be analyzed. For example, when the sliding window is set to 100, if the first attitude type corresponding to the feature image corresponding to data 1 to data 500 in the satellite attitude information is category 3 "attitude stability state", the compression ratio corresponding to the first attitude type corresponding to the feature image corresponding to data 1 to data 500 can be compressed, and then transmitted to the ground, and the feature image corresponding to data 101 to data 600 can be analyzed and compressed; if the first attitude type corresponding to the feature image corresponding to data 2 to data 501 is not category 3 "attitude stability state", data 2 to data 501 can be compressed according to the compression ratio corresponding to the first attitude type corresponding to the feature image corresponding to data 2 to data 501 and sent to the ground station, and then skip these data that have been transmitted, and analyze the feature image corresponding to data 502 to data 1002. It should be noted that the value of the sliding window can also be 50 or 80, etc., which is not limited in this application. By selecting satellite attitude information through the sliding window, waiting for the generation of satellite attitude information can be avoided, and satellite attitude changes can be discovered more quickly, thereby adjusting the compression ratio to compress the satellite attitude information.

[0092] The embodiment of the present application provides a data compression method and a satellite. After acquiring multiple sets of satellite attitude information of the satellite at multiple times, the first attitude type of the satellite is determined according to the multiple sets of satellite attitude information, and the multiple sets of satellite attitude information are compressed using the target compression ratio corresponding to the first attitude type. By determining the target compression ratio corresponding to different satellite attitude types and then compressing the satellite attitude information using the determined compression ratio, it is possible to flexibly change the compression ratio according to different scenarios, perform compression in a targeted manner, and maximize the compression benefit.

[0093] In a specific embodiment, the process of a data compression method performed by a satellite can be as follows: Figure 8 As shown, the following steps are included:

[0094] Step S801, obtaining multiple sets of satellite attitude information of the satellite at multiple times.

[0095] Step S802: determining the deviation between each set of satellite attitude information and the set standard attitude information in the multiple sets of satellite attitude information.

[0096] Step S803: Express the deviation between each set of satellite attitude information and the standard attitude information as a state characteristic value to obtain multiple state characteristic values.

[0097] Step S804: convert multiple state feature values ​​into a feature graph.

[0098] Step S805, inputting the feature map into the trained neural network to obtain the first posture type output by the neural network.

[0099] Step S806: compressing the multiple groups of satellite attitude information using the target compression ratio corresponding to the first attitude type.

[0100] Based on the same inventive concept, the present application also provides a data compression device in an embodiment, such as Fig. 9 As shown, the data compression device 900 may include:

[0101] An acquisition unit 901 is used to acquire multiple sets of satellite attitude information of a satellite at multiple times;

[0102] A determining unit 902 is used to determine a first attitude type of the satellite according to the multiple sets of satellite attitude information;

[0103] The compression unit 903 is used to compress the multiple groups of satellite attitude information using the target compression ratio corresponding to the first attitude type.

[0104] In a possible implementation, the determination unit 902 is specifically configured to determine a deviation between each set of satellite attitude information and set standard attitude information in the multiple sets of satellite attitude information;

[0105] The deviation between each set of satellite attitude information and the standard attitude information is expressed as a state characteristic value to obtain a plurality of state characteristic values;

[0106] Converting the plurality of state feature values ​​into a feature map;

[0107] The feature map is input into a trained neural network to obtain the first posture type output by the neural network.

[0108] In a possible implementation, the determining unit 902 is specifically configured to perform the following operations for each set of satellite attitude information:

[0109] The state characteristic value corresponding to the satellite attitude information is determined according to the weighted sum of the squares of each deviation component in the multiple deviation components corresponding to the satellite attitude information; the multiple deviation components include the deviation between the attitude angle in the satellite attitude information and the standard attitude angle, including the attitude angle deviation component of the X-axis, the attitude angle deviation component of the Y-axis, and the attitude angle deviation component of the Z-axis; and the deviation between the angular velocity in the satellite attitude information and the standard angular velocity includes the angular velocity deviation component of the X-axis, the angular velocity deviation component of the Y-axis, and the angular velocity deviation component of the Z-axis.

[0110] In a possible implementation, the compression unit 903 is specifically configured to determine the target compression ratio corresponding to the first posture type according to a pre-stored correspondence relationship between multiple posture types and multiple compression ratios;

[0111] The multiple groups of satellite attitude information are compressed using the target compression ratio.

[0112] In a possible implementation, the compression unit 903 is further configured to, after compressing the multiple groups of satellite attitude information at the target compression ratio corresponding to the first attitude type, if the first attitude type is a specified type, take the Nth group of satellite attitude information in the multiple groups of satellite attitude information as a starting point, and select the same number of satellite attitude information as the multiple groups of satellite attitude information; N is a set value;

[0113] Determine a first attitude type of the satellite according to the satellite attitude information having the same number as the multiple groups of satellite attitude information.

[0114] In a possible implementation, the compression unit 903 is further configured to send the compressed multiple sets of satellite attitude information to a ground station.

[0115] Based on the same inventive concept, the present application embodiment provides a satellite 1000, which can implement the motor automatic calibration method discussed above, please refer to Fig.10 The satellite 1000 includes a memory 1001, a processor 1002 and a bus 1003.

[0116] The memory 1001 is used to store computer programs executed by the processor 1002. The memory 1001 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and programs required for running the instant messaging function, etc.; the data storage area may store various instant messaging information and operation instruction sets, etc.

[0117] The memory 1001 may be a volatile memory, such as a random-access memory (RAM); the memory 1001 may also be a non-volatile memory, such as a read-only memory, a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), or the memory 1001 is any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 1001 may be a combination of the above memories.

[0118] The processor 1002 may include one or more central processing units (CPU) or a digital processing unit, etc. The processor 1002 is configured to implement the resource checking method in the above embodiment when calling the computer program stored in the memory 1001 .

[0119] The specific connection medium between the memory 1001 and the processor 1002 is not limited in the embodiment of the present application. Fig.10 In the embodiment, the memory 1001 and the processor 1002 are connected via a bus 1003. The bus 1003 is connected to the processor 1002 via a bus 1003. Fig.10 The connections between other components are shown in bold lines, and are not intended to be limiting. Bus 1003 can be divided into address bus, data bus, control bus, etc. For ease of representation, Fig.10 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0120] Based on the same inventive concept, the embodiment of the present application provides a computer-readable storage medium, and the computer program product includes: computer program code, when the computer program code is run on a computer, the computer executes any of the data compression methods discussed above. Since the principle of solving the problem by the above-mentioned computer-readable storage medium is similar to that of the data compression method, the implementation of the above-mentioned computer-readable storage medium can refer to the implementation of the method, and the repeated parts will not be repeated.

[0121] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0122] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0123] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0124] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0125] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A data compression method, characterized in that: Applied to a satellite, the method comprises: Acquire multiple sets of satellite attitude information of the satellite at multiple times; Determine the deviation between each set of satellite attitude information and set standard attitude information in the multiple sets of satellite attitude information; The deviation between each set of satellite attitude information and the standard attitude information is expressed as a state characteristic value to obtain a plurality of state characteristic values; Converting the plurality of state feature values ​​into a feature map; Inputting the feature map into a trained neural network to obtain a first posture type output by the neural network; The multiple groups of satellite attitude information are compressed using a target compression ratio corresponding to the first attitude type.

2. The method according to claim 1, characterized in that Each set of satellite attitude information includes an attitude angle and an angular velocity; the standard attitude information includes a standard attitude angle and a standard angular velocity; the deviation between each set of satellite attitude information and the standard attitude information includes a deviation between the attitude angle in each set of satellite attitude information and the standard attitude angle, and a deviation between the angular velocity in each set of satellite attitude information and the standard angular velocity.

3. The method according to claim 2, characterized in that The step of expressing the deviation between each set of satellite attitude information and the standard attitude information as a state characteristic value comprises: For each set of satellite attitude information, perform the following operations respectively: The state characteristic value corresponding to the satellite attitude information is determined according to the weighted sum of the squares of each deviation component in the multiple deviation components corresponding to the satellite attitude information; the multiple deviation components include the deviation between the attitude angle in the satellite attitude information and the standard attitude angle, including the attitude angle deviation component of the X-axis, the attitude angle deviation component of the Y-axis, and the attitude angle deviation component of the Z-axis; and the deviation between the angular velocity in the satellite attitude information and the standard angular velocity includes the angular velocity deviation component of the X-axis, the angular velocity deviation component of the Y-axis, and the angular velocity deviation component of the Z-axis.

4. The method according to claim 1, characterized in that: The neural network includes multiple pooling layers, each of which is connected to a random dropout layer; the random dropout layer is used to randomly discard the output results of the pooling layer connected to the random dropout layer.

5. The method according to claim 1, characterized in that The convolution layer included in the neural network is a depth-wise separable convolution layer or a grouped convolution layer; the depth-wise separable convolution layer is used to perform a convolution operation on each input channel separately, and integrate the results of each convolution operation to obtain an output result; the grouped convolution layer is used to group the feature maps, and each group of feature maps is independently convolutionally operated.

6. The method according to claim 1, characterized in that The compressing the plurality of groups of satellite attitude information by using the target compression ratio corresponding to the first attitude type includes: Determining a target compression ratio corresponding to the first posture type according to a pre-stored correspondence relationship between a plurality of posture types and a plurality of compression ratios; The multiple groups of satellite attitude information are compressed using the target compression ratio.

7. The method according to claim 6, characterized in that The multiple posture types include: a fast-changing posture type, a slow-changing posture type and a stable posture type; The fast-changing posture type corresponds to a first compression ratio; the slow-changing posture type corresponds to a second compression ratio; and the smooth posture type corresponds to a third compression ratio.

8. The method according to claim 7, characterized in that The first compression ratio is smaller than the second compression ratio; the second compression ratio is smaller than the third compression ratio.

9. The method according to claim 1, characterized in that: After compressing the multiple groups of satellite attitude information using the target compression ratio corresponding to the first attitude type, the method further includes: If the first attitude type is a specified type, taking the Nth group of satellite attitude information in the multiple groups of satellite attitude information as a starting point, selecting satellite attitude information having the same number as the multiple groups of satellite attitude information; wherein N is a set value; Determine a first attitude type of the satellite according to the satellite attitude information having the same number as the multiple groups of satellite attitude information.

10. The method according to claim 1, characterized in that After compressing the multiple groups of satellite attitude information using the target compression ratio corresponding to the first attitude type, the method further includes: Send the compressed multiple sets of satellite attitude information to the ground station.

11. A data compression device, characterized in that: The device comprises: An acquisition unit, used to acquire multiple sets of satellite attitude information of the satellite at multiple times; A determination unit, determining a deviation between each set of satellite attitude information and set standard attitude information in the multiple sets of satellite attitude information; The deviation between each set of satellite attitude information and the standard attitude information is expressed as a state characteristic value to obtain a plurality of state characteristic values; Converting the plurality of state feature values ​​into a feature map; Inputting the feature map into a trained neural network to obtain a first posture type output by the neural network; A compression unit is used to compress the multiple groups of satellite attitude information using a target compression ratio corresponding to the first attitude type.

12. A satellite, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program running on the processor, and when the computer program is executed by the processor, the method according to any one of claims 1 to 10 is implemented.

13. A computer program product, characterized in that The computer program product comprises: a computer program code, and when the computer program code is executed on a computer, the computer is enabled to execute the method as claimed in any one of claims 1 to 10.

14. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.