A load software reconstruction method and system for data stream receiving, storing and playing based on FPGA software
By using FPGA software for data stream reception, storage, and playback, the problems of inconsistent protocol formats and slow speed in traditional satellite payload software reconfiguration are solved, enabling a fast and flexible reconfiguration process that is suitable for on-orbit reconfiguration in multiple scenarios.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-06
- Publication Date
- 2026-03-27
AI Technical Summary
Traditional on-orbit reconfiguration methods for satellite payload software suffer from issues such as inconsistent protocol formats, slow speed, and high requirements for telemetry, tracking, and command (TT&C) storage and interfaces, making them unsuitable for rapid reconfiguration in various scenarios.
A reconstruction method based on FPGA software for data stream reception, storage, and playback is adopted. Data filling and verification are performed through block erasure and page read/write of the NAND interface, enabling rapid reconstruction without requirements on data packet format. Playback control is then performed using FPGA.
It enables rapid reconstruction in multiple scenarios, allows setting the playback packet interval and length, reduces the requirements for measurement and control storage and interfaces, is applicable to various payload protocols, and has a fast reconstruction speed.
Smart Images

Figure CN121029226B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of on-orbit reconstruction of central computer FPGA software and satellite component software, and particularly relates to a payload software reconstruction method based on FPGA software data stream receiving, storage and playback. BACKGROUND
[0002] Traditional satellite payload software on-orbit reconstruction usually has the following two ways: one is that the reconstruction data of high-speed uplink is directly transmitted to the target component by the TT&C machine, which requires a physical interface between the TT&C and the payload to be reconstructed, and the reconstruction data transmitted by the TT&C to the payload needs to conform to the payload reconstruction data packet format. Some payloads require intervals between reconstruction data packets, and in this case, the transmission data format and length often cannot meet the requirements if they are inconsistent with the payload reconstruction data packet format. The other reconstruction method is that the TT&C stores the high-speed uplink reconstruction data, and after the storage is completed, the payload reconstruction data is requested from the TT&C according to the length and format of the payload reconstruction data packet, and is packaged and sent to the target payload. This reconstruction method is slow because the time slice granularity of the satellite is relatively coarse, and the cycle of requesting the payload reconstruction data packet is usually in the order of hundreds of ms, which is not suitable for reconstructing payloads with large reconstruction data packets, and this method requires the TT&C to have storage capability.
[0003] In summary, the above two ways have obvious limitations, and there is an urgent need for a general, stable, non-restrictive payload reconstruction protocol format, low storage and interface requirement for the TT&C, and fast reconstruction speed for multiple scenarios. SUMMARY
[0004] To solve the drawbacks of the traditional reconstruction method, a reconstruction flow of receiving, storing and playing back the reconstruction data stream based on FPGA is designed, which is suitable for multiple scenarios, fast, can set the playback packet interval, playback packet length and total packet number when playing back the reconstruction data packet, has no requirement for the payload reconstruction data packet format, and has no excessive requirement for the storage and interface of the TT&C.
[0005] To achieve the above purpose, the application provides the following technical scheme:
[0006] In a first aspect, the application provides a payload software reconstruction method based on FPGA software data stream receiving, storage and playback, which comprises the following steps:
[0007] Step 1: Ground processing of payload reconstruction data;
[0008] Step 2: receiving, storing and checking of the processed reconstruction data;
[0009] Step 3: reconstruction data playback.
[0010] Further, due to the application of NAND in the design of the application, and the NAND interface is packaged via FPGA, there are the following design constraints:
[0011] NAND can only be erased in blocks;
[0012] The minimum unit of writing data is a page, and the amount of data written per page is 7936 bytes;
[0013] The minimum unit of reading data is a page, and the amount of data read per page is 7936 bytes;
[0014] The reconstructed data from the FPGA to the single machine is a whole package, which meets the package format and satisfies the package interval requirement.
[0015] Further, in order to complete the entire reconstruction process and meet the above constraints, the entire reconstruction process is mainly divided into three steps, and the above step 1 is specifically:
[0016] Determine whether the reconstructed data is original data;
[0017] If yes, process the program data package, including splitting the package and adding a package header and a package tail, to generate a new program file;
[0018] Fill the new program file, including filling 0xAA according to the length of the payload reconstruction data package to ensure that there are the most complete reconstruction data packages in every 7936 bytes, and the remaining data is filled with 0xAA;
[0019] If no, directly fill the program file;
[0020] Calculate the checksum of the filled program file, which is used to compare with the verification result calculated by the FPGA stored on the satellite after the reconstructed data storage is completed;
[0021] Add the satellite-ground protocol header and tail to the filled program file according to the satellite-ground protocol, generate a new betting file, and bet by the measurement and control party.
[0022] Further, the above step 2 is specifically:
[0023] After the measurement and control receives the reconstructed data bet by the ground, remove the satellite-ground protocol header and the verification, and transmit the effective data to the FPGA;
[0024] The FPGA receives the data and stores it in sequence according to the continuity of the NAND block and page address, and performs verification;
[0025] Compare the verification result with the ground calculation result, if consistent, continue to execute, if inconsistent, re-receive and store the reconstructed data and perform verification.
[0026] Further, before receiving the reconstructed data, the NAND space to be received by the reconstructed data needs to be erased and the FPGA needs to be configured.
[0027] Further, the step 3 is specifically as follows:
[0028] The playback configuration includes specifying a playback single machine, setting a playback baud rate, specifying a playback packet length, a playback packet interval and a total number of playback packets.
[0029] The FPGA starts the playback and checks the playback progress by observing the telemetry.
[0030] After the playback is completed, the payload is informed, and the payload performs program verification and restarts the operation.
[0031] Further, during the playback, only the reconstructed data in the whole packet is played back, and the padding data is not played back.
[0032] In the second aspect, the payload software reconstruction method for receiving, storing and playing back the data stream based on the FPGA software can be realized by using computer software, and therefore, the present application further provides a payload software reconstruction system for receiving, storing and playing back the data stream based on the FPGA software.
[0033] In the third aspect, the present application provides a computer readable storage medium, which stores a computer program, and when the computer program is run by a processor, the processor executes the payload software reconstruction method for receiving, storing and playing back the data stream based on the FPGA software.
[0034] In the fourth aspect, the present application provides a computer device, which includes a memory and a processor, and the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the payload software reconstruction method for receiving, storing and playing back the data stream based on the FPGA software.
[0035] The present application has the following beneficial effects:
[0036] This invention provides a payload software reconstruction method based on FPGA software for data stream reception, storage, and playback. Through ground processing of the payload reconstruction data, the reconstructed data includes the reconstructed payload's data packet protocol format and padding to ensure that each page of the NAND flash memory stores the reconstructed data of the largest integer packet, with the remaining space used for padding, facilitating FPGA playback. A satellite-to-ground protocol header for telemetry and control is added, reserving RS check bits for easy uploading by telemetry and control. Furthermore, leveraging the storage characteristics of NAND flash memory, each page stores an integer number of reconstructed protocol packets, with the remaining space used for padding. The FPGA does not perform playback. The reception, storage, and verification of the reconstructed data are performed on-board according to the number of received pages, and the verification results should be consistent with those of the ground-based tool. The reconstructed data playback is achieved by the FPGA using a specified playback serial port, playback baud rate, playback packet interval, number of playback packets, and playback packet length, playing back the reconstructed data packets at a specified baud rate on the specified serial port until the number of playback packets equals the preset number, at which point playback stops. This solves the drawbacks of traditional reconstruction methods, making it suitable for multiple scenarios, fast, and allowing users to set the playback packet interval, playback packet length, and total number of playback packets when replaying reconstructed data packets. It also has no requirements on the payload reconstruction data packet format and does not place too many requirements on the storage and interface of the telemetry and control system for on-orbit reconstruction scenarios.
[0037] Furthermore, before reconstruction, the present invention also needs to constrain the NAND interface packaged by FPGA so that the NAND can be erased by block and read and written by page, while supporting the management of bad blocks, and can directly skip bad blocks when encountering them during read and write.
[0038] Furthermore, the present invention also has the following advantages: (1) The measurement and control does not need to have a large amount of data storage capacity, only the transparent transmission function is required;
[0039] (2) Measurement and control do not require a reconfigurable serial port for each load, saving hardware resources;
[0040] (3) Data can be reconstructed from the FPGA by playing back the payload. The packet interval can be very short or even zero, and the reconstruction process is fast.
[0041] (4) It is compatible with various payload reconfiguration protocols, and the ground only needs to write a small sub-packet tool.
[0042] This invention is applicable to multiple scenarios, offers high speed, and allows for setting the playback packet interval, playback packet length, and total number of playback packets during data packet replay. It has no requirements on the payload reconstruction data packet format and does not impose excessive demands on the storage and interfaces of the telemetry and control system for on-orbit reconstruction scenarios. Attached Figure Description
[0043] In order to more clearly illustrate the technical solutions in the specific embodiments or the prior art of the present application, the drawings needed to be used in the description of the specific embodiments or the prior art will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.
[0044] Figure 1 The flow chart of the payload software reconstruction method based on FPGA software data stream receiving, storing and playing back in the embodiment of the present application;
[0045] Figure 2 The flow chart of the payload reconstruction data ground processing in the embodiment of the present application;
[0046] Figure 3 The flow chart of the receiving, storing and checking of the reconstructed data after processing in the embodiment of the present application;
[0047] Figure 4 The flow chart of the reconstructed data playback in the embodiment of the present application. DETAILED DESCRIPTION
[0048] In the following description, the specific implementation details (such as experimental devices, operation flow, data processing steps and example parameters) of the "payload software reconstruction method based on FPGA software data stream receiving, storing and playing back" provided in the specification are fundamentally intended to be illustratively explained rather than limitatively defined, and are intended to help those skilled in the art to thoroughly understand the principles and implementation of the present application; however, those skilled in the art should clearly understand that these details only represent one of the feasible embodiments, and the core idea of the present application can be realized through other not-yet-exhaustively-described technical means or alternative schemes without departing from the spirit and essence thereof, and the omission of the details of the conventional experimental methods and devices in the specification is to avoid redundant information from interfering with the understanding of the innovative points, which does not mean that these well-known technologies are not needed in the implementation, and the skilled person should be able to supplement and use them based on their professional knowledge.
[0049] The specific embodiments of the present application will be further described in detail below with reference to the drawings. The following embodiments will help those skilled in the art to further understand the present application, but do not limit the present application in any form. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present application, and these changes and improvements are within the scope of protection of the present application.
[0050] Embodiment one, to solve the drawbacks of the traditional reconstruction method, a reconstruction method of receiving, storing and playing back the reconstructed data stream based on FPGA is designed, which can be applied to multiple scenarios, has fast speed, can set the playback packet interval, playback packet length and total number of playback packets when playing back the reconstructed data packet, has no requirement on the payload reconstructed data packet format, and has no excessive requirement on the in-orbit reconstruction scenario of the storage and interface of the measurement and control.
[0051] A reconstruction method of receiving, storing and playing back the reconstructed data stream based on FPGA includes the following steps:
[0052] Step 1: Ground processing of payload reconstruction data;
[0053] Step 2: Receiving, storing and checking of the processed reconstructed data;
[0054] Step 3: Reconstructed data playback.
[0055] In actual application, at least one serial port is set between the measurement and control and the integrated electronics for transmitting the reconstructed data, and the serial port rate can match the rate of the ground high-speed injection. Before the high-speed injection is started, an erase instruction is sent to the NAND storage to erase enough space for storing the reconstructed data, so as to prepare for receiving the payload reconstructed data. The number of erased blocks can match the size of the to-be-injected reconstructed data, and no full erasure is required. After the erasing is completed, an instruction is sent to notify the FPGA to listen to the serial port for the to-be-injected reconstructed data, and the reconstructed data transmitted by the measurement and control is received. After the ground high-speed injection is started, the measurement and control receives the high-speed injection frame, removes the frame header and frame tail of the satellite-ground protocol, and then transmits the data to the FPGA software of the integrated electronics. After the FPGA software of the integrated electronics receives the reconstructed data, the data is stored in the NAND of the integrated electronics. When all the data transmission is completed, an instruction is sent to notify the FPGA that the data reception is completed, and the entire program data is checked and compared with the checksum calculated on the ground. If the results are consistent, it proves that the transmission and storage are correct. If the results are inconsistent, the injection process needs to be re-executed. After verifying the correctness of the program data stored by the FPGA software, the payload can be selected for playback, the serial port baud rate, the playback packet length, the playback packet number and the playback packet interval are set, the FPGA software plays back the reconstructed data to the payload according to the requirements, and the entire reconstruction process is completed.
[0056] Further, since the reconstruction method described in the embodiment applies the NAND, and the NAND interface is packaged via the FPGA, the following design constraints exist:
[0057] 1. The NAND can only be erased in blocks;
[0058] 2. The minimum unit of writing data is a page, and the amount of data written in each page is 7936 bytes;
[0059] 3, the minimum unit of reading data is page, and the data amount of each page is 7936 bytes;
[0060] 4, the reconstruction data of the FPGA playback to the single machine is an integral package, conforms to the package format, and meets the package interval requirement.
[0061] To complete the entire reconstruction process, the above constraints need to be met.
[0062] Embodiment two, combination Figures 2 to 4 This embodiment is a specific description of each step of the reconstruction method of the reconstruction data stream based on FPGA described in embodiment one;
[0063] Step 1: ground processing of the payload reconstruction data;
[0064] Specifically,
[0065] Based on the above four design constraints, it is considered that the data provided by the payload party may be original program data or processed data with a package header and a package tail, so the program data needs to be processed according to the actual situation on the ground. For example, Figure 2 As shown in the following processing flow:
[0066] 1. If the payload party provides original program data, then a small tool is used to package the original program data according to the reconstruction protocol requirements of the payload party and add a package header and a package tail, and a new program file is generated. If the payload party provides processed program data, then this step is skipped;
[0067] 2. Since the reading and writing of NAND are both in the form of pages, each page is 7936 bytes. In order to ensure that the FPGA reads one page and plays back the most integral package data conforming to the format of the payload reconstruction protocol, and to simplify the process, the remaining reconstruction data that does not fill an integral package does not need to be spliced with the program data of the next page, and the following data processing method is adopted: padding the program data, according to the length of the payload reconstruction data package, ensuring that there are the most complete reconstruction data packages in each 7936 bytes, and the remaining data is padded with 0xAA, and a new file is generated. For example, if the payload reconstruction data package is 1024 bytes (including the package header and the package tail), then 768 bytes of 0xAA need to be padded for every 7 reconstruction data packages, so that there are 7 complete reconstruction data packages in each 7936 bytes, and the remaining 768 bytes are padding data;
[0068] 3. A small tool is used to calculate the checksum of the program, and the low four bytes are valid, which is used to compare the calculated checksum result of the reconstruction data stored on the satellite with the calculated checksum result of the reconstruction file stored on the FPGA on the satellite, so as to ensure the correctness of the program;
[0069] 4. Application of widgets to add the new file generated in step 2 according to the satellite-ground protocol header and tail, and then generate a new upper file, and then upload it by the control party.
[0070] Step 2: processing the reception, storage and verification of the reconstructed data;
[0071] As shown in Figure 3 , the processing flow is as follows:
[0072] 1. Erasing the NAND space to be received for the reconstructed data, ensuring that the erased space is not less than the size of the reconstructed data;
[0073] 2. Configuring the FPGA software for uploading, notifying the FPGA to listen to the reconstructed data receiving serial port;
[0074] 3. After the control receives the reconstructed data uploaded by the ground, removing the satellite-ground protocol header and verification, and transmitting the effective data to the FPGA software;
[0075] 4. The FPGA receives the data and stores it in sequence according to the NAND block and page address continuity;
[0076] 5. After the FPGA receives the page address no longer changes, it indicates that the program reception is complete, and notifies the FPGA to verify the program. Because the ground has performed padding processing on the data, the data volume is an integer multiple of the NAND storage page, and the program can be verified according to the page number;
[0077] 6. Compare the verification result with the ground calculation result. If they are consistent, go to step 3. If they are not consistent, re-execute step 2.
[0078] Step 3: Reconstructing data playback.
[0079] As shown in Figure 4 , the processing flow is as follows:
[0080] Because the uploaded program has been padded on the ground, after the FPGA receives the reconstructed data, each page in the NAND stores an integer package of reconstructed data and padding data 0xAA. When the FPGA performs reconstructed data playback, the satellite software notifies the FPGA software of the playback package length, playback package interval, and total playback package number. The FPGA software performs reconstructed data package playback according to the package length and package interval, and the total number of playback packages. Each page of data in the NAND only loads the entire package of reconstructed data for playback, without playback of padding data. Through the ground processing of program data and the playback configuration of FPGA software on the satellite, this reconstruction method has no requirements for the payload reconstruction protocol format and the reconstruction package length, and has higher flexibility. The specific steps are as follows:
[0081] 1. Specify the playback single machine, set the playback baud rate, specify the playback package length, the playback package interval, and the total number of playback packages;
[0082] 2. FPGA starts playback, and the playback progress is observed through telemetry;
[0083] 3. After the playback is completed, the payload is informed, and the payload performs program verification and restart operation.
[0084] Embodiment Three, Combination Figure 1 This embodiment provides a specific implementation for comprehensively explaining the implementation of the entire reconstruction task, as shown in Figure 1 .
[0085] First, design constraints for the NAND interface encapsulated by the FPGA need to be performed, including that the NAND can only be erased in blocks, the minimum unit of writing data is a page, the amount of data written per page is 7936 bytes, the minimum unit of reading data is a page, the amount of data read per page is 7936 bytes, the reconstruction data given by the FPGA to the single machine is an entire package, conforms to the package format, and meets the package interval requirement.
[0086] To complete the entire reconstruction process and meet the above constraint conditions, the entire reconstruction process is mainly divided into three steps, as follows:
[0087] Step 1: Ground processing of payload reconstruction data;
[0088] Specifically:
[0089] Determine whether the reconstruction data is original data;
[0090] If yes, process the program data package, including splitting the package and adding a package header and a package tail, and generating a new program file;
[0091] Fill the new program file, including ensuring that there are the most complete reconstruction data packages in every 7936 bytes according to the length of the payload reconstruction data package, and filling the remaining data with 0xAA;
[0092] If no, directly fill the program file;
[0093] Calculate the checksum of the program file after the filling process, which is used to compare the calculated checksum result of the reconstruction file stored on the satellite with the calculated checksum result of the reconstruction file stored on the satellite after the reconstruction data storage is completed;
[0094] Add the satellite-ground protocol header and tail to the program file after the filling process according to the satellite-ground protocol, generate a new upload file, and upload the file by the TT&C party.
[0095] Step 2: Reception, storage, and verification of the processed reconstruction data;
[0096] Specifically:
[0097] Erasing the NAND space to be received by the reconstructed data and performing the on-FPGA configuration;
[0098] After the telemetry receiving ground station injects the reconstructed data, the star-ground protocol header and the check are removed, and the effective data is transmitted to the FPGA;
[0099] After the FPGA receives the data, it is stored in sequence according to the continuity of the NAND block and the page address, and the check is performed;
[0100] The check result is compared with the ground calculation result, if consistent, continue to execute, if inconsistent, re-perform the receiving and storage of the reconstructed data and the check.
[0101] Step 3: Reconstructing data playback.
[0102] Specifically,
[0103] The playback configuration includes specifying the playback single machine, setting the playback baud rate, specifying the playback packet length, the playback packet interval, and the total number of playback packets;
[0104] The FPGA starts playback and checks the playback progress through telemetry observation;
[0105] After the playback is completed, the payload party is notified, and the payload performs program verification and restart operation.
[0106] It can be seen that the payload software reconstruction method for data stream receiving, storage and playback based on FPGA software provided by the application increases the reconstructed data packet protocol format of the payload to be reconstructed in the reconstructed data through ground processing of the payload reconstructed data, and performs padding processing on the data, so that the maximum integer packet of the reconstructed data is stored in each page of the NAND, and the remaining space is padding data, which facilitates the FPGA to perform playback. At the same time, the star-ground protocol header of the telemetry is increased, and the RS check bit is reserved, which facilitates the telemetry to perform injection. Through the storage characteristics of the NAND, the integer number of reconstructed protocol packets is stored in each page of the NAND, and the remaining space is padding data. The FPGA does not perform playback, the receiving, storage and check effect of the reconstructed data is that the data is checked according to the received page number on the satellite, the check result should be consistent with the check result of the ground tool, and the playback effect of the reconstructed data is that the FPGA plays back the reconstructed data packet according to the specified playback serial port, playback baud rate, playback packet interval, playback packet quantity, playback packet length and other information, and plays back the reconstructed data packet in the specified serial port according to the packet length and packet interval at the specified baud rate until the playback packet quantity is equal to the preset playback packet quantity, and stops playback. Thus, the drawbacks of the traditional reconstruction method can be solved, which is suitable for multiple scenes, fast, and can set the playback packet interval, the playback packet length, and the total number of playback packets when playing back the reconstructed data packet, has no requirement for the payload reconstructed data packet format, and has no excessive requirement for the telemetry storage and interface in the on-orbit reconstruction scene.
[0107] The load software reconstruction method based on FPGA software data stream receiving, storing and playing back according to any one of the above embodiments can be implemented by using computer software, and accordingly, the embodiment provides a load software reconstruction system based on FPGA software data stream receiving, storing and playing back.
[0108] The computer readable storage medium according to the embodiment stores a computer program, and the computer program is run by a processor to execute the load software reconstruction method based on FPGA software data stream receiving, storing and playing back according to any one of the above embodiments.
[0109] The computer device according to the embodiment includes a memory and a processor, and the memory stores a computer program. When the processor runs the computer program stored in the memory, the processor executes the load software reconstruction method based on FPGA software data stream receiving, storing and playing back according to any one of the above embodiments.
[0110] The computer device according to the embodiment includes a memory and a processor, and the memory stores a computer program. When the processor runs the computer program stored in the memory, the processor executes the load software reconstruction method based on FPGA software data stream receiving, storing and playing back according to any one of the above embodiments.
[0111] The memory can include a program storage area and a data storage area. The program storage area can store an operating system and at least one application required by a function. The data storage area can store data created by the processor. In addition, the memory can include a high-speed random access memory and can also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some embodiments, the memory can optionally include a memory remotely arranged relative to the processor, and these remote memories can be connected to the processor through a network. Examples of the network include, but are not limited to, the Internet, an intranet, an extranet, a mobile communication network, and a combination thereof.
[0112] One or more modules are stored in the memory, and when the processor executes, the method steps in the embodiments are executed, so that the inventive purpose of the present application can be achieved by the method and device, process of the present application. The above computer device specific details can be understood by referring to the corresponding description and effects in the embodiments, which will not be described here.
[0113] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above-mentioned embodiment methods. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc. The storage medium can also include a combination of the above-mentioned types of memories.
[0114] In the above description, it should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of the described features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0115] The above description of the technical solutions of the present application provided by several specific embodiments is further described in detail in order to highlight the advantages and benefits of the technical solutions provided by the present application. However, the above-mentioned several specific embodiments are not used as a limitation of the present application, and any reasonable changes and improvements to the present application, reasonable combinations and equivalent replacements of embodiments, etc. based on the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A payload software reconstruction method for data stream reception, storage, and playback based on FPGA software, characterized in that the method... Comprise: Step 1: payload reconstruction data ground processing; Step 1 is specifically: Determine whether the reconstruction data is original data; If yes, process the program data packet, including packeting and adding packet header and packet tail, to generate a new program file; Fill the new program file, including ensuring that there are the most complete reconstruction data packets in every 7936 bytes according to the length of the payload reconstruction data packet, and filling the remaining data with 0xAA; If no, directly fill the program file; Verify and calculate the filled program file, which is used to compare with the verification result calculated by the FPGA on the satellite after the reconstruction data storage is completed; Add the satellite-ground protocol header and tail to the filled program file according to the satellite-ground protocol, and then generate a new upload file, which is uploaded by the measurement and control party; Step 2: receiving, storing and verifying the processed reconstruction data; Step 3: reconstruction data playback; Specifically: Playback configuration, including specifying the playback single machine, setting the playback baud rate, specifying the playback packet length, the playback packet interval, and the total number of playback packets; FPGA starts playback and observes telemetry to check the playback progress; After the playback is completed, the payload party is notified to perform program verification and restart operation.
2. The load software reconstruction method for FPGA software-based data stream receiving, storing and playing back according to claim 1, characterized in that, The NAND interface encapsulated by the FPGA needs to be designed to be constrained, including that the NAND can only be erased in blocks, the minimum unit of writing data is a page, the amount of data written in each page is 7936 bytes, the minimum unit of reading data is a page, the amount of data read in each page is 7936 bytes, and the reconstruction data given by the FPGA to the single machine is an integral packet, which conforms to the packet format and meets the packet interval requirement.
3. The load software reconfiguration method for FPGA software-based data stream receiving, storing and playing back according to claim 1, characterized in that, Step 2 is specifically: After receiving the reconstruction data uploaded by the ground control, the satellite-ground protocol header and verification are removed, and the effective data is transmitted to the FPGA; FPGA receives data and stores it in sequence according to the continuity of the NAND block and page address, and performs verification; Compare the verification result with the ground calculation result, if consistent, continue to execute, if inconsistent, re-receive, store and verify the reconstruction data.
4. The load software reconfiguration method for FPGA software-based data stream receiving, storing and playing back according to claim 3, characterized in that, Before receiving the reconstruction data uploaded by the ground, the NAND space to be received needs to be erased and the FPGA upload configuration needs to be performed.
5. The load software reconfiguration method for FPGA software-based data stream receiving, storing and playing back according to claim 1, characterized in that, Only the integral packet reconstruction data is played back, and the padding data is not played back.
6. A load software reconfiguration system based on FPGA software data stream receiving, storing, playing, characterized in that, The system is implemented based on the payload software reconstruction method of data stream receiving, storing and playing back based on the FPGA software according to any one of claims 1-5.
7. A computer readable storage medium characterized in that, The computer readable storage medium stores a computer program, which is run by the processor to execute the payload software reconstruction method of data stream receiving, storing and playing back based on the FPGA software according to any one of claims 1-5.
8. A computer device, comprising: The device includes a memory and a processor, and the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the payload software reconstruction method of data stream receiving, storing and playing back based on the FPGA software according to any one of claims 1-5.
Citation Information
Patent Citations
Reconfigurable portable acquisition, storage and playback platform
CN117336775A
On-orbit reconstruction method for satellite-borne software supporting interface multiplexing
CN120276746A