A spacecraft telemetry data processing method
By generating telemetry parameters and packet lists, updating frame counts based on time signals, processing and loading data into telemetry packets, the problem of insufficient realism in existing telemetry data simulation systems is solved. This achieves unified management of parameter data and rapid editing of simulation tasks, ensuring the authenticity and accuracy of simulation data.
Patent Information
- Application Number
- CN202310157912.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-23
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2043-02-23
AI Technical Summary
Existing spacecraft telemetry data simulation systems lack realism, as they use fixed codes to replace actual data for telemetry parameters, resulting in significant discrepancies between simulated and actual telemetry data.
The system generates telemetry parameters and packet lists by initializing parameter configuration items, divides them into fixed and sub-packet lists, updates the telemetry frame count according to the time signal, processes and loads parameter data into the corresponding telemetry packets, assembles telemetry transmission frames, and ensures the authenticity of parameter data and the ability to quickly edit simulation tasks.
It enables unified management of parameter data, ensures the authenticity of simulation data, supports rapid editing of simulation tasks, avoids the loss and duplication of telemetry data, and improves the accuracy of simulation data.
Smart Images

Figure CN116070306B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of spaceflight testing, and particularly relates to a spacecraft telemetry data processing method. BACKGROUND
[0002] Spacecraft telemetry data simulation is to simulate various types of telemetry data (such as real-time pressure measurement, delayed telemetry, etc.) and various telemetry parameters (such as temperature parameters, energy parameters, pressure parameters, etc.) according to the structure form of spacecraft telemetry data, for further detecting the correctness of telemetry system data processing when the measurement and control system is debugged. Most of the existing simple simulation systems mostly focus on the simulation of telemetry format, and fixed codes are used to replace telemetry parameters, which greatly differs from the actual spacecraft telemetry data, and lacks the authenticity of simulation data. SUMMARY
[0003] The technical problem to be solved by the present application is to provide a spacecraft telemetry data processing method to ensure the authenticity of simulation data.
[0004] To solve the above technical problems, the object of the present application is achieved by the following technical solutions: a spacecraft telemetry data processing method, comprising the following steps: initializing parameter configuration items: generating a telemetry parameter list and a telemetry packet list according to the parameter configuration items, dividing the telemetry parameter list into a fixed telemetry parameter list and a packeted telemetry parameter list, dividing the telemetry packet list into a fixed telemetry packet list and a packeted telemetry packet list, and assigning specific data of parameter data to the corresponding list according to the corresponding parameter configuration items; waiting for a signal: waiting for a time signal at a task time; updating telemetry frame count: adding one to the telemetry frame count and updating the record; processing fixed telemetry packets: calculating the remainder of the updated telemetry frame count divided by the frame cycle value of each parameter data in the fixed telemetry parameter list, obtaining parameter data with a frame cycle remainder equal to the obtained remainder as matching parameter data, processing the specific data of the matching parameter data according to the parameter simulation method of the matching parameter data, and loading the specific data of the processed matching parameter data into the corresponding fixed telemetry packet according to the serialization information of the matching parameter data; processing packeted telemetry packets: calculating the current time according to the frame period of each parameter data in the updated telemetry frame count and the packeted telemetry packet list, obtaining parameter data in the packeted telemetry parameter list that can be evenly divided by the current time as required parameter data, processing the specific data of the required parameter data according to the parameter simulation method of the required parameter data, and loading the specific data of the processed required parameter data into the corresponding packeted telemetry packet according to the serialization information of the required parameter data; assembling a telemetry transmission frame: screening the fixed telemetry packet and filling the screened fixed telemetry packet into the fixed telemetry buffer area of the telemetry transmission frame, traversing the packeted telemetry packet list, filling the packeted telemetry packet with a new packet state into the packeted telemetry buffer area of the telemetry transmission frame in turn, updating the state of the packeted telemetry packet filled into the packeted telemetry buffer area to an old packet, and recording the serial number of the packeted telemetry packet filled each time.
[0005] The beneficial technical effects of the present application are that the spacecraft telemetry data processing method of the present application generates corresponding lists according to parameter configuration items related to telemetry processing by initialization, realizes unified management of parameter configuration items and their corresponding parameter data, can modify corresponding parameter data for simulation task editing for different spacecraft tasks, ensures the authenticity of simulation data by ensuring that parameter data is not fixed code, and realizes the function of quickly editing simulation tasks. BRIEF DESCRIPTION OF DRAWINGS
[0006] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments description. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort on the basis of these drawings.
[0007] Figure 1 The flowchart of the spacecraft telemetry data processing method provided by the embodiment of the present application is shown in the figure.
[0008] Figure 2 The sub-flowchart of the spacecraft telemetry data processing method provided by the embodiment of the present application is shown in the figure.
[0009] Figure 3 The specific flowchart of the sub-flow of the spacecraft telemetry data processing method provided by the embodiment of the present application is shown in the figure.
[0010] Figure 4 The flowchart of the spacecraft telemetry data processing method provided by another embodiment of the present application is shown in the figure. DETAILED DESCRIPTION
[0011] The technical solutions in the embodiments of the present application will be described clearly and completely in the following with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without any creative effort belong to the protection scope of the present application.
[0012] Please refer to Figure 1 , Figure 1 The flowchart of the spacecraft telemetry data processing method provided by the embodiment of the present application is shown in the figure. The spacecraft telemetry data processing method includes steps S11-S16.
[0013] Step S11, initialize parameter configuration item: generate a telemetry parameter list and a telemetry packet list according to the parameter configuration item, divide the telemetry parameter list into a fixed telemetry parameter list and a packet telemetry parameter list, divide the telemetry packet list into a fixed telemetry packet list and a packet telemetry packet list, and distribute the specific data of parameter data into the corresponding list according to the corresponding parameter configuration item.
[0014] The parameter data includes parameter configuration items and specific data, a telemetry parameter list and a telemetry packet list are generated according to the parameter configuration items, the list contains corresponding parameter configuration items, the specific data is respectively placed into the corresponding telemetry parameter list and the telemetry packet list according to the parameter configuration items for management, thereby providing a quick search, acquisition and editing function for the corresponding simulation task, and the corresponding simulation can be performed by only modifying the specific data of the corresponding parameter data in the parameter configuration items of the list according to different spacecraft task requirements. The parameter configuration items include a telemetry frame configuration file, a telemetry packet initial value configuration file and a telemetry parameter identifier configuration file. The telemetry frame configuration file includes related description information of task attributes and telemetry frame attributes, the task attributes include a task name, a task code and a task identifier, the telemetry frame attributes include a telemetry frame length, a frame period, a telemetry frame count maximum value, a packet domain length, a real-time frame identifier, a combined frame word and a frame synchronization word, and the telemetry frame configuration file can provide a rule for assembling a telemetry frame. The telemetry packet initial value includes a fixed telemetry initial value and a packet telemetry initial value, the fixed telemetry is used for filling a fixed telemetry parameter each time to ensure that the corresponding telemetry parameter will not be lost, and the packet telemetry initial value includes a packet identifier, a packet length and a packet period to provide basic elements for assembling a telemetry frame. The telemetry parameter identifier includes a telemetry parameter name, serialization information and a parameter simulation method, the telemetry parameter name includes a parameter code, a task code to which the parameter belongs, a Chinese explanation and a parameter unit, the serialization information refers to information followed in serialization arrangement, the serialization information includes a frame mark, a byte position, a bit position within a byte, a bit number, a data type, a byte sequence, a frame cycle, a frame cycle remainder, a packet identifier and a simulation condition, and the parameter simulation method includes a simulation method, a calculation formula, an initialization value and a hierarchical value. The table item of the telemetry parameter list includes a parameter serial number and a parameter attribute of the parameter configuration item corresponding to the parameter serial number. The telemetry parameter list can be divided into a fixed telemetry parameter list and a packet telemetry parameter list according to the frame mark of the telemetry parameter identifier configuration file of the parameter configuration item. The table item of the telemetry packet list includes a packet identifier and a byte size of the packet identifier obtained through the telemetry packet initial value, and the telemetry packet list can be divided into a fixed telemetry packet list and a packet telemetry packet list according to the telemetry packet initial value.
[0015] In step S12, a time signal is waited for. The time point is a task time, i.e., a time signal provided by the service software. The processing operation of the telemetry data is triggered according to the time signal provided by the service software. The processing is performed once for each time signal, and a telemetry transmission frame is generated. Each time signal corresponds to a time point. In step S12, it is determined whether the time point corresponding to the time signal is the task time (i.e., whether the time point corresponding to the time signal is the sending time of the service software). If yes, step S13 is performed. If no, the next time signal is waited for.
[0016] Step S13, updating the telemetry frame count: add one to the telemetry frame count and update the record.
[0017] Step S14, processing fixed telemetry packets: calculate the remainder of the updated telemetry frame count divided by the frame cycle of each parameter data in the fixed telemetry parameter list, obtain parameter data with the same remainder as the obtained remainder as matching parameter data, process the specific data of the matching parameter data according to the parameter simulation method of the matching parameter data, and load the processed specific data of the matching parameter data into the corresponding fixed telemetry packet according to the serialization information of the matching parameter data.
[0018] Step S15, processing sub-packet telemetry packets: calculate the current time according to the updated telemetry frame count and the frame period of each parameter data in the sub-packet telemetry packet list, obtain parameter data in the sub-packet telemetry parameter list that can be evenly divided by the current time as required parameter data, process the specific data of the required parameter data according to the parameter simulation method of the required parameter data, and load the processed specific data of the required parameter data into the corresponding sub-packet telemetry packet according to the serialization information of the required parameter data. Wherein, the current time is obtained by multiplying the updated telemetry frame count and the frame period.
[0019] Step S16, assembling telemetry transmission frames: screening the fixed telemetry packets and filling the screened fixed telemetry packets into the fixed telemetry buffer area of the telemetry transmission frame, traversing the sub-packet telemetry packet list, filling the sub-packet telemetry packets with the state of new packets into the sub-packet telemetry buffer area of the telemetry transmission frame in turn, updating the state of the sub-packet telemetry packets filled into the sub-packet telemetry buffer area to old packets, and recording the serial number of the filled sub-packet telemetry packets. Wherein, new packet means a telemetry packet to be assembled and filled, and old packet means a telemetry packet that has been assembled and filled. By updating the state of the telemetry packet, repeated filling of the same telemetry packet in the assembly process of the telemetry transmission frame can be avoided. The state can be updated by updating the packet state flag of the telemetry packet each time a new telemetry packet is generated. Once the telemetry packet is loaded into the telemetry transmission frame, the state flag of the telemetry packet is updated to "old packet". By recording the serial number of the filled sub-packet telemetry packets, the starting position of the sub-packet telemetry packets in assembling the next frame of telemetry transmission frame can be determined, ensuring the continuity of the telemetry parameters and avoiding repeated filling of the telemetry packets. Assembling the telemetry transmission frame is based on the telemetry frame configuration file to assemble the fixed telemetry area and the sub-packet telemetry area. Since the length of the telemetry transmission frame is fixed, the remaining data can be stored in the remaining data buffer area, avoiding the problem of incomplete data and data loss.
[0020] The telemetry processing can include cyclic parameter processing, one-parameter processing, reset parameter processing, uniform time correction, centralized time correction processing, on-board time processing, etc. The spacecraft telemetry data processing method of the application can generate a corresponding list according to a parameter configuration item related to the telemetry processing through initialization, realize unified management of the parameter configuration item and corresponding parameter data, and modify the corresponding parameter data for simulation task editing according to different spacecraft tasks, so that the parameter data is not fixed code, which can ensure the authenticity of the simulation data and realize the function of quickly editing the simulation task.
[0021] In combination Figure 2 , the step S16 can specifically include:
[0022] Step S161, filling the fixed telemetry buffer area: filtering the fixed telemetry packet corresponding to the current data frame according to the updated telemetry frame count and the remainder of the fixed telemetry group number, and filling the filtered fixed telemetry packet into the fixed telemetry buffer area. The fixed telemetry group number is known information in the configuration file, and the number of data participating in the fixed telemetry processing can be determined according to the fixed telemetry group number. The fixed telemetry group number determines the number of fixed telemetry buffer areas participating in the telemetry data processing. The remaining data refers to the data remaining in the telemetry transmission frame during the loading process of the single packet telemetry packet, and the remaining data buffer area is used to store the remaining data so that the remaining data in the remaining data buffer area can be preferentially loaded next time. The fixed telemetry packet is filled first to ensure that important telemetry parameter data will not be lost. The fixed telemetry buffer area is used to fill the fixed telemetry parameter data. The remainder of the updated telemetry frame count and the fixed telemetry group number refers to the remainder obtained by dividing the updated telemetry frame count by the fixed telemetry group number. The filtering of the fixed telemetry packet corresponding to the current data frame refers to searching for the fixed telemetry packet corresponding to the sequence number as the remainder in the fixed telemetry packet list as the sequence number.
[0023] Step S162, filling the packet telemetry buffer area: traversing the packet telemetry packet list, filling the packet telemetry packet with a new packet state into the packet telemetry buffer area, and updating the state of the packet telemetry packet filled into the packet telemetry buffer area to an old packet.
[0024] Step S163, judging the data space of the telemetry transmission frame: judging whether the data length of the next packet telemetry packet with a new packet state is greater than the remaining data length space of the telemetry transmission frame.
[0025] Step S164, continue to fill the sub-packet telemetry buffer and fill the remaining data into the remaining data buffer: if the data length of the next state as a new packet sub-packet telemetry packet is greater than the remaining data length space of the telemetry transmission frame, record the sequence number of the current sub-packet telemetry packet, fill the next state as a new packet sub-packet telemetry packet into the sub-packet telemetry buffer of the telemetry transmission frame according to the remaining data length space of the telemetry transmission frame, fill the remaining data of the next state as a new packet sub-packet telemetry packet exceeding the data length space into the remaining data buffer, and update the state of the sub-packet telemetry packet filled into the sub-packet telemetry buffer to be an old packet.
[0026] Specifically, the step S163 further includes:
[0027] If the data length of the next state as a new packet sub-packet telemetry packet is not greater than the remaining data length space of the telemetry transmission frame, return to execute step S162.
[0028] In combination Figure 3 Specifically, the step S162 further includes:
[0029] Step S161.1, judge whether the remaining data buffer stores remaining data;
[0030] Step S161.2, when the remaining data buffer of the telemetry transmission frame stores remaining data, fill the remaining data stored in the remaining data buffer into the sub-packet telemetry buffer first, obtain the sequence number of the sub-packet telemetry packet corresponding to the remaining data, determine the next sub-packet telemetry packet according to the obtained sequence number of the sub-packet telemetry packet corresponding to the remaining data, and execute step S162.
[0031] Preferably, the step S161.1 further includes:
[0032] When the remaining data buffer of the telemetry transmission frame does not store remaining data, execute step S162.
[0033] In combination Figure 4 Specifically, the step S16 further includes:
[0034] Step S17, encrypt and check data: scramble the telemetry data of the assembled telemetry transmission frame, and perform error checking on the telemetry data. Wherein, the telemetry data is scrambled to ensure the confidentiality of the data, and the telemetry data is error checked to improve the accuracy of the telemetry data. The data receiving party needs to descramble the telemetry data line before performing data checking, and the scrambling code and checking method of the data receiving and transmitting parties need to be consistent.
[0035] To sum up, the spacecraft telemetry data processing method of the present application realizes unified management of parameter configuration items and corresponding parameter data by initializing to generate corresponding lists according to parameter configuration items related to telemetry processing, and can modify corresponding parameter data for simulation task editing according to different spacecraft tasks, so that the parameter data is not fixed code, so as to ensure the authenticity of simulation data and realize the function of quickly editing simulation tasks.
[0036] The above merely describes specific embodiments of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of various equivalent modifications or replacements within the technical range disclosed by the present application, and these modifications or replacements shall be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A spacecraft telemetry data processing method, characterized by, The method comprises the following steps: initializing a parameter configuration item, generating a telemetry parameter list and a telemetry package list according to the parameter configuration item, dividing the telemetry parameter list into a fixed telemetry parameter list and a split telemetry parameter list, dividing the telemetry package list into a fixed telemetry package list and a split telemetry package list, and distributing specific data of parameter data into corresponding lists according to the corresponding parameter configuration item; waiting for a signal: waiting for a time signal of a task time; updating a telemetry frame count: adding one to the telemetry frame count and updating the record; processing a fixed telemetry package: calculating a remainder obtained by dividing the updated telemetry frame count by a frame cycle value of each parameter data in the fixed telemetry parameter list, obtaining parameter data with a frame cycle remainder equal to the obtained remainder as matching parameter data, processing specific data of the matching parameter data according to a parameter simulation method of the matching parameter data, and loading the processed specific data of the matching parameter data into a corresponding fixed telemetry package according to serialization information of the matching parameter data; processing a split telemetry package: calculating a current time according to a frame cycle of each parameter data in the split telemetry package list, obtaining parameter data with a package cycle that can divide the current time as required parameter data, processing specific data of the required parameter data according to a parameter simulation method of the required parameter data, and loading the processed specific data of the required parameter data into a corresponding split telemetry package according to serialization information of the required parameter data; assembling a telemetry transmission frame: screening the fixed telemetry package and filling the screened fixed telemetry package into a fixed telemetry buffer area of a telemetry transmission frame, traversing a split telemetry package list, filling split telemetry packages with a new package state into the split telemetry buffer area of the telemetry transmission frame in sequence, updating the split telemetry packages filled into the split telemetry buffer area to an old package state, and recording a serial number of each filled split telemetry package.
2. The spacecraft telemetry data processing method of claim 1, wherein, The step of assembling the telemetry transmission frame specifically comprises: filling the fixed telemetry buffer area: screening a fixed telemetry package corresponding to a current data frame according to a remainder of the updated telemetry frame count and a fixed telemetry group number, and filling the screened fixed telemetry package into the fixed telemetry buffer area; filling the split telemetry buffer area: traversing the split telemetry package list, filling split telemetry packages with a new package state into the split telemetry buffer area, and updating the split telemetry packages filled into the split telemetry buffer area to an old package state; judging a data space of the telemetry transmission frame: judging whether a data length of a split telemetry package with a next new package state is greater than a remaining data length space of the telemetry transmission frame; Continuously filling the sub-packet telemetry buffer and filling the residual data buffer with residual data: if the data length of the next sub-packet telemetry packet with a new state is greater than the residual data length space of the telemetry transmission frame, recording the serial number of the current sub-packet telemetry packet, filling the next sub-packet telemetry packet with a new state into the sub-packet telemetry buffer of the telemetry transmission frame according to the residual data length space of the telemetry transmission frame, filling the residual data of the next sub-packet telemetry packet with a new state exceeding the data length space into the residual data buffer, and updating the state of the sub-packet telemetry packet filled into the sub-packet telemetry buffer to be an old packet.
3. The spacecraft telemetry data processing method of claim 2, wherein, The step of judging the data space of the telemetry transmission frame further comprises: if the data length of the next sub-packet telemetry packet with a new state is not greater than the residual data length space of the telemetry transmission frame, returning to execute the step of filling the sub-packet telemetry buffer.
4. The spacecraft telemetry data processing method of claim 3, wherein, The step of filling the sub-packet telemetry buffer further comprises: judging whether the residual data buffer stores residual data; when the residual data buffer of the telemetry transmission frame stores residual data, filling the residual data stored in the residual data buffer into the sub-packet telemetry buffer first, obtaining the serial number of the sub-packet telemetry packet corresponding to the residual data, determining the next sub-packet telemetry packet according to the obtained serial number of the sub-packet telemetry packet corresponding to the residual data, and executing the step of filling the sub-packet telemetry buffer.
5. The spacecraft telemetry data processing method of claim 4, wherein, The step of judging whether the residual data buffer stores residual data further comprises: when the residual data buffer of the telemetry transmission frame does not store residual data, executing the step of filling the sub-packet telemetry buffer.
6. The spacecraft telemetry data processing method of claim 1, wherein, The step of assembling the telemetry transmission frame further comprises: encrypting and checking data: scrambling the telemetry data of the assembled telemetry transmission frame, and performing error checking on the telemetry data. The step of assembling the telemetry transmission frame further comprises: encrypting and checking data: scrambling the telemetry data of the assembled telemetry transmission frame, and performing error checking on the telemetry data.
Citation Information
Patent Citations
Telemetry data processing method
CN102323941A
Modular configurable telemetry parameter analyzing and processing system
CN103957134A