Spaceborne GNSS occultation and ocean reflection payload data storage system and method
By using the FPGA control module and multiple NAND_FLASH chips for parallel storage in the spaceborne GNSS occultation and ocean reflection payload data storage system, combined with the bad block management and address management modules, the problem of slow read and write speed and bad blocks of the NAND_FLASH chip is solved and the problem is achieved. It provides efficient data storage and management and improves storage efficiency and reliability.
Patent Information
- Application Number
- CN202410798561.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-20
Smart Images

Figure CN118363543B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of satellite-borne GNSS data storage, and in particular relates to a satellite-borne GNSS occultation and ocean reflection payload data storage system and method. Background Art
[0002] The onboard GNSS occultation and ocean reflection payload data storage system is mainly responsible for high-speed storage of the occultation and ocean reflection DDM data and AD data collected by the receiver. For a series of reasons such as security, technology, and confidentiality, the satellite needs to fly over the designated ground receiving station to transmit the satellite data back to the ground, which requires temporary storage of the data collected in the detection area. For small satellites, the storage device is required to have the characteristics of high reliability, low power consumption, small size, large storage capacity, and fast read and write speed. Large-capacity NAND_FLASH is often used as a small onboard payload storage.
[0003] At present, some payloads use FPGA to read and write NAND_FLASH solid-state memory. The main function of occultation and sea reflection receivers is to realize the reproduction of information such as atmosphere, ionization, sea surface wind speed, wave height and sea ice, which requires a higher data acquisition rate. Due to the structure of NAND_FLASH itself, there are the following problems that need to be solved in use:
[0004] 1. The chip has native bad blocks when it leaves the factory, and new bad blocks will be generated during use. It is necessary to detect and record the status of each block and manage the bad blocks well so that these blocks can be skipped when storing data to avoid data loss.
[0005] 2. The erasing of NAND_FLASH chip has a service life. It is necessary to pay attention to load balancing during use. It is necessary to avoid repeated use of the front blocks while leaving the back blocks idle to generate bad blocks. It has a persistence function. In order to ensure that data is not overwritten and storage space is not wasted, it is necessary to quickly and accurately find the last storage location.
[0006] 3. NAND_FLASH chip can meet the data storage needs of general-rate onboard payloads. However, since its data line is only 8 bits wide, the reading and writing speeds are relatively slow. It is difficult to meet the needs of large-scale data storage scenarios for ocean reflection payloads. Summary of the invention
[0007] In view of this, the present invention aims to propose a satellite-borne GNSS occultation and ocean reflection payload data storage system and method to solve at least one problem existing in the above-mentioned prior art, thereby meeting the satellite-borne occultation and ocean reflection payload collection data storage needs.
[0008] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0009] In a first aspect, the present invention provides a satellite-borne GNSS occultation and ocean reflection payload data storage system, including an FPGA control module and a storage system structure, wherein the FPGA control module and the storage system structure are bidirectionally connected in communication;
[0010] The FPGA control module includes a Commend receiving module, an AD data acquisition module, a DDM data generating module, a NAND_FLASH control module, other FPGA logic function modules and a data external sending module. The Commend receiving module, the AD data acquisition module and the DDM data generating module are all communicatively connected with the NAND_FLASH control module. The NAND_FLASH control module is communicatively connected with the storage system structure and the data external sending module respectively. The Commend receiving module, the DDM data generating module and other FPGA logic function modules are communicatively connected with the host computer, and the data external sending module is communicatively connected with the entire satellite.
[0011] Furthermore, the storage system structure includes four NAND_FLASH chips, each of which is communicatively connected to a NAND_FLASH control module, and each NAND_FLASH chip includes four or eight LUNs.
[0012] Further, the NAND_FLASH control module includes a FLASH reset module, a bad block search and update module, an Address management module, a read / write / erase operation module, a received data packaging module and a bus state control module. The FLASH reset module and the bad block search and update module are both communicated with the Commend receiving module, the received data packaging module is respectively communicated with the AD data acquisition module and the DDM data generation module, the FLASH reset module, the Address management module, and the read / write / erase operation module are all communicated with the bus state control module, the bus state control module is respectively communicated with 4 NAND_FLASH chips, the bad block search and update module is communicated with the Address management module, the Address management module and the received data packaging module are both communicated with the read / write / erase operation module, and the read / write / erase operation module is also communicated with the data external sending module.
[0013] In a second aspect, based on the same aspect, the present invention further provides a method for storing satellite-borne GNSS occultation and ocean reflection payload data, comprising the following steps:
[0014] ARM transfers the control instruction to the Commend receiving module of the FPGA control module. After receiving the control instruction, the Commend receiving module is responsible for parsing the control instruction and returning status information;
[0015] The bus state control module selects to transmit the control signal and data of the FLASH reset module or the Address management module or the read / write / erase operation module to the storage system structure according to the parsed control instruction;
[0016] The data read by the read / write / erase operation module in the NAND_FLASH control module is sent to the entire satellite through the data external transmission module.
[0017] Furthermore, the bad block search and update module has the highest priority in the NAND_FLASH control module.
[0018] Furthermore, the implementation process of the bad block search and update module is as follows:
[0019] A1. After the system is powered on, the host computer sends blocks update instructions to the FPGA control module;
[0020] A2. Perform polling and erasing operations according to the update and erase operation logic of the blocks update instruction and the addresses of the blocks to be erased by LUN.
[0021] A3. After erasing each block, send a command to read back the status value, perform an AND operation on the return values of the same block of four pieces, generate the good or bad information of the block and splice it into bytes;
[0022] A4, temporarily storing the block status information in bytes into the FPGA;
[0023] A5. After all blocks are erased, the temporary blocks status information is read from the FPGA according to the read / write / erase operation module and written into the first page of the first block of the first NAND_FLASH, and is stored as the updated bad block table for a long time until the next update.
[0024] Furthermore, the priority of the Address management module is after the priority of the bad block search and update module. It reads the latest bad block table and converts it into an available block address to provide a valid address for the read / write / erase operation module. The implementation steps of the Address management module are:
[0025] B1. Each time after power-on, the Address Management Module first reads the bad block table in the first block through a read operation;
[0026] B2. Generate the block address data to be stored in BRAM and the write signal based on each bit value of the bad block table read back, and synchronously generate the write address of BRAM. At this time, the available block address is stored in the continuous storage address;
[0027] B3. Before each read, write, or address search operation, a request signal must be generated to read the next block address to be operated from the BRAM.
[0028] Furthermore, the read / write / erase operation module is used to receive the address information of the Address management module and the data to be stored of the data packaging module, and to send the read data to the bus state control module or the data external transmission module according to the demand. The implementation process of the read / write / erase operation module is as follows:
[0029] C1. Before writing, use the intermediate address to continuously assign values to the start address and the end address, and check whether the page has been written to narrow the search range and determine the page address position of the last write operation;
[0030] C2. If the page to be written is in the current block, the page address is accumulated. If it is in the next new block, the host computer needs to generate an operation instruction to the Address Management Module to read the available block address and determine the page address value;
[0031] C3, Address management module generates read and write addresses. The read and write addresses are generated by accumulating page addresses. When reading and writing the next block, the block address part needs to be replaced with the available block address read from BRAM as the final read and write address;
[0032] C4, the LUN bit of the available block address of the final read / write address is raised as the switching condition for polling read and write operations. When the last LUN is not written, the LUN address is accumulated and the page address remains unchanged; when the last LUN is written, the page address is accumulated and the LUN address returns to zero;
[0033] C5, address return function passes the start and end addresses of the data to be read from the host computer's operation instructions to the read operation, and outputs them to the NAND_FLASH chip through the bus state control module, or directly outputs them to the data external sending module;
[0034] C6. After data reading is completed, an erase operation is required to store new data.
[0035] Compared with the prior art, the satellite-borne GNSS occultation and ocean reflection payload data storage system and method of the present invention has the following advantages:
[0036] (1) The satellite-borne GNSS occultation and ocean reflection payload data storage system and method described in the present invention designs an efficient satellite-borne GNSS occultation and ocean reflection payload storage system. The storage structure avoids a series of operations such as caching, splitting and splicing data during the program design process, reducing program complexity and FPGA internal resource consumption. The design of the storage structure and strategy can increase the storage efficiency by 16 (or 32) times in total, avoid the loss of stored data due to excessive writing time, and effectively solve the problem of slow reading and writing speed of NAND_FLASH chips.
[0037] (2) The satellite-borne GNSS occultation and ocean reflection payload data storage system and method described in the present invention, the bad block search and update module of the present invention, the module can timely detect the newly generated bad blocks of NAND_FLASH and generate a new bad block table to avoid data loss due to writing bad blocks. The LUN polling erase method can shorten the erase time by 4 (or 8) times, effectively reducing the waiting time before the storage system works.
[0038] (3) The satellite-borne GNSS occultation and ocean reflection payload data storage system and method described in the present invention, the Address management module of the present invention can convert the information value in the bad block table into blocks address, and store the available blocks address in sequence into BRAM, providing a basis for subsequent read, write, address search and other operations, which is the key to ensure the correct reading and writing of data.
[0039] (4) The satellite-borne GNSS occultation and ocean reflection payload data storage system and method described in the present invention, the read / write / erase operation modules of the present invention, and the storage balancing strategy can effectively reduce the generation of NAND_FLASH bad blocks; the address fast search algorithm can quickly find the last read and write location address, reducing the waiting time for continued operation; the start and end address return function can flexibly read the required data, facilitate algorithm analysis and save transfer space; the erasure strategy of erasing each LUN at the same time and avoiding the bad block table improves the erasure efficiency and reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:
[0041] Figure 1 A schematic diagram of the overall system according to an embodiment of the present invention;
[0042] Figure 2 This is a schematic diagram of the implementation process of outputting the read / write / erase operation module to the storage system structure according to an embodiment of the present invention. DETAILED DESCRIPTION
[0043] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0044] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and the like are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", and the like may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.
[0045] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood by specific circumstances.
[0046] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0047] Glossary:
[0048] NAND FLASH chip, LUN: NAND FLASH chip is a non-volatile memory, widely used in electronic devices such as mobile phones, tablets, SSDs, etc. The storage unit of NAND FLASH is divided into blocks, each block contains multiple pages;
[0049] LUN is the logical unit number in NAND FLASH, which is used to identify the logical unit of each NAND FLASH device. A NAND FLASH device may contain multiple LUNs, and each LUN has its own independent address space and addressing method.
[0050] like Figure 1 to Figure 2As shown, the satellite-borne GNSS occultation and ocean reflection payload data storage system mainly includes a storage system structure, a bad block search and update module, an Address management module, and read / write / erase operation modules.
[0051] The storage system structure is a NAND_FLASH storage module. The storage system structure design needs to meet the storage of 32-bit collected AD data under 62M. Micron's 256G capacity NAND_FLASH chip is used as the storage medium. The chip data bit width is 8bit. The program page method is adopted. Each page can write 8192Bbit, and an asynchronous FIFO is used to cache the data to be written. In order to ensure data integrity and reduce the difficulty of later data analysis, factors such as the size of the onboard receiver, the area of the PCB board, the data storage capacity and the power consumption are comprehensively considered. The design uses 4 NAND_FLASH chips for parallel storage, and writes 32-bit data to the same position of 4 flash chips at the same time according to the byte height. Xilinx7 series FPGA is used to control the operation timing of 4 flash chips. Avoid splitting and combining operations during data reading and writing, increase the reading and writing speed by 4 times, and save FPGA internal logic and storage resources. In addition, the program page operation time of the NAND_FLASH chip is 560us. If the pages are written one by one on a single block, the long operation time will cause the loss of high-speed acquisition data, and the algorithm cannot effectively reproduce the data. Since each NAND_FLASH chip includes 4 (or 8) LUNs, each LUN can be controlled individually. By polling the 4 (or 8) LUNs for write operations, it is possible to avoid waiting for programpage time when operating on the same block. FPGA can increase the data read and write speed by 4 (or 8) times by performing independent timing control on each LUN.
[0052] The bad block search and update module is located at the front end of the storage system structure. The NAND_FLASH chip will generate bad blocks during use. It needs to be detected in advance before storing data. These bad blocks are skipped during read and write operations to avoid data loss. The bad blocks are searched by recording the return value of the erase operation. The return status value "0" indicates that the block is a bad block. To ensure the synchronous operation of the four NAND_FLASH chips, as long as one of them has a bad block, the corresponding blocks of the four chips are marked as bad blocks. Since the erase operation time of each block is as long as 7ms, the sequential erase takes about 3.83min, which is a long time. The LUN polling erase method can shorten the bad blocks update time by 4 (or 8) times. A 1-bit status value is used to indicate whether the same block of the four NAND_FLASH chips is a bad block or not. The status value is stored in the FPGA in bytes. When the erase operation is completed, the information stored in the FPGA is written into the first page of the first block of the NAND_FLASH as a bad block table. When the analysis software finds that the data is lost, the module is started to generate a new bad block table for subsequent modules.
[0053] The Address Management Module, i.e., the address management module, after the system is powered on or reset, the FPGA first reads the latest bad block table from NAND_FLASH in bytes, and converts each 1 bit read back into a 15-bit block address. A value of "1" indicates that the block is a good block, and a write enable signal is generated. The corresponding block address must be saved, otherwise the address must be skipped. The block address is generated by address accumulation, and whether the block address is available is determined based on the value of each 1-bit bad block table. The discontinuous available block addresses are sequentially stored in the continuous storage units of the FPGA's BRAM, and the bad blocks are skipped.
[0054] The read / write / erase operation module is a custom module and is the key to improving storage efficiency. Before each operation on NAND_FLASH, the available blocks stored in the BRAM of the FPGA must be read first. Since overuse of certain storage areas will lead to bad blocks, in order to avoid excessive or insufficient use of storage areas, a storage balancing strategy is designed: the next write address will continue to be stored from the next page address where the last write ended. In order to quickly determine the start read and write address values, a fast address search algorithm is designed to reduce the address range by half each time. In the FPGA, it is implemented through a finite state machine to find the middle_page address and determine whether the page has been written by judging whether the byte data read from the page is all "FF". If it has been written, the address is used as the start address; if it has not been written, the address is used as the end address to continue searching. This address search strategy greatly reduces the time complexity from O(page_max) to O(log(page_max)). In order to meet the needs of data analysis, the start and end address input functions are designed, and the required data can be read from the specified address range, saving time and storage space. Reading and writing operations, as well as after reading and writing a block, all require reading the effective block address stored in the BRAM to generate the page address for the next read and write operation. According to the composition of the NAND_FLASH chip address, the LUN bit of the address is taken out as the judgment condition, and a 4 (or 8) LUN polling switching working mode is designed during the program / read page operation to improve the read and write efficiency. The erase operation is designed to only erase data, and the 4 (or 8) LUNs of 4 NAND_FLASH chips are erased at the same time to reduce the waiting time. The erase operation cannot erase the bad block table, otherwise the storage system will not work the next time it is powered on. The erase program is designed to skip the bad block table, and the rest is erased normally.
[0055] A method for a spaceborne GNSS occultation and ocean reflection payload data storage system, comprising:
[0056] The control instructions are passed from ARM to the Commend receiving module of the FPGA control module, which is responsible for parsing the control instructions and returning status information. The bus status control module selects to connect the control signal and data of a certain operation to the external port according to the parsed control instructions. Each sub-module in the NAND_FLASH control module generates different control information to operate the 4 NAND_FLASH chips, and the read data is sent to the entire satellite through the data external sending module.
[0057] Bad block search and update module, which has the highest priority in the NAND_FLASH control module. The specific implementation process is as follows:
[0058] (1) After the system is powered on, the host computer software sends blocks update instructions to the FPGA control module;
[0059] (2) Perform polling erase operations according to the designed update erase operation timing logic and the blocks to be erased by LUN;
[0060] (3) After erasing each block, send a command to read back the status value, perform an AND operation on the return values of the four blocks of the same block, generate the good or bad information of the block and splice it into bytes;
[0061] (4) Temporarily store the block status information in bytes into the FPGA;
[0062] (5) After all blocks are erased, the temporarily stored block status information is read from the FPGA according to the designed sub-functional module and written into the first page of the first block of the first NAND_FLASH, and is stored as the updated bad block table for a long time until the next update.
[0063] Address management module, which is located after the bad block search and update module, reads the latest bad block table and converts it into available block addresses, providing valid addresses for other module operations. The specific implementation steps are as follows:
[0064] (1) Each time power is turned on, the control logic first reads the bad block table in the first block through a read operation;
[0065] (2) Based on the 1-bit value of the bad block table read back, the block address data to be stored in the BRAM and the write signal are generated, and the write address of the BRAM is generated synchronously. At this time, the available block address is stored in the continuous storage address.
[0066] (3) Before each read, write, address search, etc. operation, a request signal must be generated to read the next block address to be operated from the BRAM to avoid operating on bad blocks.
[0067] Read / write / erase operation module, which receives the address information of the Address management module and the data to be stored from the data packaging module, and sends the read data to the two external sending modules according to the requirements. The implementation process is as follows Figure 2 The specific strategies are as follows:
[0068] (1) Before performing a write operation, the address search submodule uses the intermediate address to continuously assign values to the start address and the end address, and verifies whether the page has been written to narrow the search range and determine the page address location of the last write operation.
[0069] (2) If the page to be written is in the current block, the page address can be accumulated. If it is in the next new block, a request signal needs to be generated to the Address Management Module to read the available block address, determine the page address value, and achieve storage balance.
[0070] (3) The read and write addresses generated by the module are generated by adding up the page addresses, without considering the problem of bad blocks. When reading and writing the next block, the block address part needs to be replaced with the available block address read from the BRAM as the final read and write address.
[0071] (4) The LUN bit of the available block address is brought forward as the switching condition for polling read and write operations. When the last LUN is not written, the LUN address is accumulated and the page address remains unchanged; when the last LUN is written, the page address is accumulated and the LUN address returns to zero.
[0072] (5) The address return function transmits the start and end addresses of the data to be read from the host computer to the address generation module, flexibly reads the required data, and outputs it through the external sending port.
[0073] (6) After the data is read, it needs to be erased to store new data. The data erasing operation should avoid the bad block table. Since frequent erasing is required and the operation time is long, the method of erasing all LUNs at the same time is used to improve operation efficiency.
[0074] Advantages of the present invention:
[0075] (1) The present invention designs an efficient satellite-borne GNSS occultation and ocean reflection payload storage system. The storage structure avoids a series of operations such as caching, splitting and splicing data during the program design process, reducing program complexity and the consumption of FPGA internal resources. The design of the storage structure and strategy can increase the storage efficiency by 16 (or 32) times in total, avoid the loss of stored data due to excessive writing time, and effectively solve the problem of slow reading and writing speed of NAND_FLASH chips.
[0076] (2) The bad block search and update module of the present invention can detect the newly generated bad blocks of NAND_FLASH in time and generate a new bad block table to avoid data loss due to writing bad blocks. The LUN polling erase method can shorten the erase time by 4 (or 8) times, effectively reducing the waiting time before the storage system works.
[0077] (3) The Address Management Module of the present invention can convert the information values in the bad block table into blocks addresses and store the available blocks addresses in sequence into BRAM, providing a basis for subsequent operations such as reading, writing, and address searching, and is the key to ensuring the correctness of reading and writing data.
[0078] (4) The read / write / erase operation module of the present invention and the storage balancing strategy can effectively reduce the generation of NAND_FLASH bad blocks; the address fast search algorithm can quickly find the address of the last read and write location, reducing the waiting time for continued operation; the start and end address return function can flexibly read the required data, facilitate algorithm analysis and save transfer space; the erasing strategy of erasing each LUN at the same time and avoiding the bad block table improves the erasure efficiency and reliability.
[0079] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A satellite-borne GNSS occultation and ocean reflection payload data storage system, characterized by: It includes an FPGA control module and a storage system structure, wherein the FPGA control module and the storage system structure are bidirectionally connected in communication; The FPGA control module includes a Commend receiving module, an AD data acquisition module, a DDM data generation module, a NAND_FLASH control module, other FPGA logic function modules and a data external transmission module. The Commend receiving module, the AD data acquisition module and the DDM data generation module are all connected to the NAND_FLASH control module in communication. The NAND_FLASH control module is connected to the storage system structure and the data external transmission module in communication. The Commend receiving module, the DDM data generation module and other FPGA logic function modules are connected to the host computer in communication. The data external transmission module is connected to the entire satellite in communication. The storage system structure includes 4 NAND_FLASH chips, each of which is communicatively connected to a NAND_FLASH control module, and each NAND_FLASH chip includes 4 or 8 LUNs; the NAND_FLASH control module includes a FLASH reset module, a bad block search and update module, an Address management module, a read / write / erase operation module, a received data packaging module and a bus state control module, the FLASH reset module and the bad block search and update module are communicatively connected to a Commend receiving module, the received data packaging module is communicatively connected to an AD data acquisition module and a DDM data generation module respectively, the FLASH reset module, the Address management module, and the read / write / erase operation module are communicatively connected to a bus state control module, the bus state control module is communicatively connected to the 4 NAND_FLASH chips respectively, the bad block search and update module is communicatively connected to an Address management module, the Address management module and the received data packaging module are communicatively connected to a read / write / erase operation module, and the read / write / erase operation module is also communicatively connected to a data external sending module.
2. A method for storing satellite-borne GNSS occultation and ocean reflection payload data in a system, applied to the satellite-borne GNSS occultation and ocean reflection payload data storage system according to claim 1, characterized in that: The following steps are involved: ARM transfers the control instruction to the Commend receiving module of the FPGA control module. After receiving the control instruction, the Commend receiving module is responsible for parsing the control instruction and returning status information; The bus state control module selects to transmit the control signal and data of the FLASH reset module or the Address management module or the read / write / erase operation module to the storage system structure according to the parsed control instruction; The data read by the read / write / erase operation module in the NAND_FLASH control module is sent to the entire satellite through the data external transmission module.
3. The method of the spaceborne GNSS occultation and ocean reflection payload data storage system according to claim 2, characterized in that: The bad block search and update module has the highest priority in the NAND_FLASH control module.
4. The method of the spaceborne GNSS occultation and ocean reflection payload data storage system according to claim 2, characterized in that: The implementation process of the bad block search and update module is as follows: A1. After the system is powered on, the host computer sends blocks update instructions to the FPGA control module; A2. Perform polling and erasing operations according to the update and erase operation logic of the blocks update instruction and the addresses of the blocks to be erased by LUN. A3. After erasing each block, send a command to read back the status value, perform an AND operation on the return values of the same block of four pieces, generate the good or bad information of the block and splice it into bytes; A4, temporarily storing the block status information in bytes into the FPGA; A5. After all blocks are erased, the temporary block status information is read from the FPGA according to the read / write / erase operation module and written into the first page of the first block of the first NAND_FLASH, and is stored as the updated bad block table for a long time until the next update.
5. The method of the spaceborne GNSS occultation and ocean reflection payload data storage system according to claim 2, characterized in that: The priority of the Address management module is after the priority of the bad block search and update module. It reads the latest bad block table and converts it into an available block address to provide an address for the read / write / erase operation module. The implementation steps of the Address management module are as follows: B1. Each time after power-on, the Address Management Module first reads the bad block table in the first block through a read operation; B2. Generate the block address data to be stored in BRAM and the write signal based on each bit value of the bad block table read back, and synchronously generate the write address of BRAM. At this time, the available block address is stored in the continuous storage address; B3. Before each read, write, or address search operation, a request signal must be generated to read the next block address to be operated from the BRAM.
6. The method of the spaceborne GNSS occultation and ocean reflection payload data storage system according to claim 2, characterized in that: The read / write / erase operation module is used to receive the address information of the Address management module and the data to be stored in the data packaging module, and to send the read data to the bus state control module and the data external transmission module according to the requirements. The implementation process of the read / write / erase operation module is as follows: C1. Before writing, use the intermediate address to continuously assign values to the start address and the end address, and check whether the page to be written has been written, narrow the search range, and determine the page address position of the last write operation; C2. If the page to be written is in the current block, the page address is accumulated. If it is in the next new block, the host computer needs to generate an operation instruction to the Address Management Module to read the available block address and determine the page address value; C3, Address management module generates read and write addresses. The read and write addresses are generated by accumulating page addresses. When reading and writing the next block, the block address part needs to be replaced with the available block address read from BRAM as the final read and write address; C4, the LUN bit of the available block address of the final read / write address is raised as the switching condition for polling read and write operations. When the last LUN is not written, the LUN address is accumulated and the page address remains unchanged; when the last LUN is written, the page address is accumulated and the LUN address returns to zero; C5, address return function passes the start and end addresses of the data to be read from the host computer's operation instructions to the read operation, and outputs them to the NAND_FLASH chip through the bus state control module, or directly outputs them to the data external sending module; C6. After data reading is completed, an erase operation is required to store new data.
Citation Information
Patent Citations
Bad block management system for satellite-based NAND FLASH solid memory
CN105005453A
Integrated image processing system used for video moonlet load
CN106231224A
FLASH management system and method suitable for satellite-borne data management
CN106528443A
Zynq-based inter-satellite link test system
CN107196695A
NAND FLASH-based spaceborne permanent storage multi-source data file system
CN108153487A
