A spaceborne DSP on-orbit single event upset effect test system and method
Through the design of the on-orbit single particle flip effect test system, combined with static and dynamic testing, the problem that existing technology cannot effectively test the on-orbit single particle flip effect of DSP has been solved, accurate monitoring and reinforcement measures for DSP have been achieved, and testing has been improved. accuracy and effectiveness.
Patent Information
- Application Number
- CN202110956535.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-19
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-08-19
AI Technical Summary
The existing technology cannot effectively test the on-orbit single particle flipping effect of the digital signal processor (DSP) in the aerospace computer, and the ground accelerator simulation test cannot truly reflect the actual environment, resulting in a large difference between the test results and the actual situation.
Design a spaceborne DSP on-orbit single particle flip effect test system, including a monitoring module and a module under test. It realizes static and dynamic testing by monitoring FPGA, PROM, RS422 receiver and RS422 driver, and monitors and sends single particle flip monitoring results in real time. , using asynchronous RS422 communication mode to communicate with the particle radiation effect FPGA, and performing static and dynamic tests cyclically.
It realizes real-time monitoring and testing of single particle flipping conditions of DSP in static and dynamic modes, provides more targeted anti-single particle reinforcement measures, and improves the accuracy and effectiveness of testing.
Smart Images

Figure CN113804996B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of reliability testing of aerospace devices, and in particular to an on-orbit single-particle upset effect testing system and method for a spaceborne DSP. Background Art
[0002] Space computers play a critical role in the modern aerospace field. Their working state is data-intensive and takes a long time to calculate, so the computing platform is required to have strong data processing capabilities. Digital signal processors (DSPs) have relatively low energy costs and strong data computing capabilities, making them the most suitable platform for space computers. However, there are destructive space radiation effects in the working environment of space computers. DSPs are susceptible to single-particle flips, which lead to errors in data flow and control flow, affecting the normal operation of space computers and even endangering the safety and life of space computers.
[0003] In order to avoid errors caused by space particle radiation in DSP, we first need to understand the effects of single particle flips on DSP in space radiation environment, and then take targeted measures to reduce such errors. Therefore, it is necessary to design a single particle effect test system and method for DSP. At present, most test systems are only suitable for ground accelerator simulation tests. The high-energy particles used in ground accelerators have a limited range, and more energy is lost on the top layer of the chip, and it is impossible to deposit enough energy in the deeper sensitive area. Therefore, ground accelerator simulation tests cannot truly reflect the actual single particle flip effect of the device on orbit, and its test results will be greatly different from the actual on-orbit situation. Summary of the invention
[0004] The purpose of the present invention is to overcome the defects of the prior art and propose a system and method for testing the single-particle upset effect of a satellite-borne DSP on-orbit.
[0005] In order to achieve the above-mentioned object, the present invention proposes an on-orbit single particle upset effect test system for a satellite-borne DSP, which is used to monitor the single particle upset of the tested satellite-borne DSP on-orbit in real time, and send the monitoring result to the particle radiation effect FPGA, which is sent by the particle radiation effect FPGA to the satellite service platform and then transmitted to the ground. The test system comprises: a monitoring module and a module under test; wherein,
[0006] The monitoring module is used to control the module under test to perform a single particle upset effect test, and to obtain a single particle upset monitoring result of the module under test; and is used to send the single particle upset monitoring result to the particle radiation effect FPGA according to the instruction received from the particle radiation effect FPGA; the single particle upset effect test includes a static test and a dynamic test performed cyclically;
[0007] The module under test is used to perform static test and dynamic test on the satellite-borne DSP cycle under test under the control of the monitoring module.
[0008] As an improvement of the above system, the monitoring module includes a monitoring FPGA, a PROM, an RS422 receiver and an RS422 driver; wherein,
[0009] The monitoring FPGA is used to configure the onboard DSP under test to the HPI loading mode during static testing, perform static single-particle upset monitoring on the onboard DSP under test through the HPI interface, and record the monitoring results; to configure the onboard DSP under test to the 16-bit wide ROM loading mode during dynamic testing, and read the autonomous monitoring results of the single-particle upset of the onboard DSP under test through the HPI interface; to parse and execute the instructions sent by the particle radiation effect FPGA, and to compose the monitoring results into a remote sensing data packet and send it to the particle radiation effect FPGA;
[0010] The PROM is used as a configuration chip of the FPGA to store the program code of the FPGA;
[0011] The RS422 receiver is used to convert the instruction sent by the particle radiation effect FPGA from a differential signal to a single-ended signal, and provide it to the monitoring FPGA;
[0012] The RS422 driver is used to convert the remote sensing data packet sent by the monitoring FPGA from a single-ended signal into a differential signal and output it to the particle radiation effect FPGA.
[0013] As an improvement of the above system, the instructions sent by the particle radiation effect FPGA include instructions for modifying the test interval and instructions for obtaining remote sensing data;
[0014] The instruction to modify the test interval is used to set the duration of the static test or the dynamic test in hours;
[0015] The remote sensing data acquisition instruction specifically includes: a 2-byte packet header identifier, a 2-byte time interval, and a 1-byte check bit.
[0016] As an improvement of the above system, the length of the remote sensing data packet is a fixed number of bytes, specifically including: a 2-byte header identifier, a 1-byte packet length, a 2-byte packet sequence number, a 2-byte TIC count, a 1-byte test mode, a 2-byte time interval for different test modes, a 1-byte receiving instruction code, a 1-byte receiving instruction correct count, a 1-byte receiving instruction error count, a DSP register flip bit number, a DSP memory flip bit number, a DSP memory flip address and a 1-byte check bit; wherein the test mode represents a static test mode or a dynamic test mode respectively; the receiving instruction code includes an instruction for modifying the time interval and an instruction for obtaining remote sensing data; the check bit is the cumulative sum of all data in the remote sensing data packet except the check bit, added byte by byte.
[0017] As an improvement of the above system, the module under test includes a satellite-borne DSP, an MRAM0 memory and an MRAM1 memory; wherein,
[0018] During static testing, the onboard DSP under test provides all address spaces for access by the monitoring FPGA through its own HPI interface, and the all address spaces include its own registers and memories. During dynamic testing, the onboard DSP under test autonomously loads and runs programs from an external memory, monitors its own registers and memories in real time, records the monitoring results and caches them in the MRAM0 memory for reading by the monitoring FPGA.
[0019] The MRAM0 memory is used to provide a program running space for the onboard DSP under test and is also used to cache monitoring results;
[0020] The MRAM1 memory is used to provide program code storage space for the satellite-borne DSP under test. When the satellite-borne DSP under test is configured as a 16-bit wide ROM loading mode, the program is automatically loaded from the MRAM1 memory for execution after the satellite-borne DSP under test exits reset.
[0021] As an improvement of the above system, the monitoring module communicates with the module under test in real time through the HPI interface; the monitoring module communicates with the particle radiation effect FPGA using asynchronous RS422 communication, and the communication baud rate is 115200bps, including 1bit start bit, 8bit data bit and 1bit stop bit. When multiple bytes are transmitted, the high byte is transmitted first, and the low bit in the byte is transmitted first; the particle radiation effect FPGA communicates with the satellite service platform through the CAN bus.
[0022] A method for testing the single event upset effect of a satellite-borne DSP on-orbit is implemented based on the above system and specifically includes:
[0023] Step 1) Monitor the FPGA to control the onboard DSP under test to enter the reset state, configure the onboard DSP under test to the HPI loading mode by setting the DSP startup mode pin BM[4:0] to "00111", and then let the DSP exit the reset and enter the static test mode;
[0024] Step 2) monitoring FPGA to write preset values to all registers and memories of DSP through HPI interface;
[0025] Step 3) Monitor the FPGA to read all registers and memories of the DSP through the HPI interface every second, compare the read register value or memory value with the preset value, if the two are inconsistent, it indicates that a single particle upset has occurred, and the number of bits that have flipped is recorded; if the memory is flipped, the address where the flip occurred must also be recorded, and the preset value is written back to the register or memory address;
[0026] Step 4) After the monitoring FPGA has completed the traversal reading and comparison, the recorded bit number and the memory address are packaged according to the format of the remote sensing data. When receiving the remote sensing data acquisition instruction from the particle radiation effect FPGA, the remote sensing data packet is sent to the particle radiation effect FPGA through the asynchronous RS422 bus;
[0027] Step 5) After the static test mode running time ends, the monitoring FPGA controls the DSP to enter the reset state. The monitoring FPGA configures the onboard DSP under test to the 16-bit wide ROM loading mode by setting the DSP startup mode pin BM[4:0] to "10101", and then allows the DSP to exit reset. The DSP autonomously loads the running program from MRAM1 and enters the dynamic test mode;
[0028] Step 6) The onboard DSP under test writes preset values to its registers and memory;
[0029] Step 7) The onboard DSP under test performs a traversal reading operation on its registers and memories every second, and compares the read data with the preset value. If the two are inconsistent, it indicates that a single-particle upset has occurred, and the number of bits that have been upset is recorded; if the memory is upset, the address where the upset occurred must also be recorded, and the preset value is written back to the register or memory address;
[0030] Step 8) After the onboard DSP under test completes the reading and comparison of all registers and memories, the recorded bit number and memory address are packaged and cached in the MRAM0 memory according to the format of remote sensing data;
[0031] Step 9) After the monitoring FPGA receives the remote sensing data acquisition instruction from the particle radiation effect FPGA, it reads the remote sensing data packet cached in the MRAM0 register by the DSP through the HPI interface and sends it to the particle radiation effect FPGA;
[0032] Step 10) After the dynamic test mode running time ends, go to step 1)
[0033] Compared with the prior art, the advantages of the present invention are:
[0034] The single-particle upset effect testing method of the present invention adopts a combination of static testing and dynamic testing to test the actual on-orbit single-particle upset effect of DSP, which can simultaneously understand the single-particle upset situations of DSP in static and dynamic modes, and is helpful to take effective anti-single-particle reinforcement measures for DSP in a more targeted manner. At the same time, it also has important reference significance for the anti-single-particle reinforcement design of other similar CPUs. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a block diagram of the composition of the on-orbit single event upset effect test system of the space-borne DSP of the present invention;
[0036] Figure 2 It is a cyclic test flow chart of the on-orbit single-event upset effect test method of the space-borne DSP of the present invention;
[0037] Figure 3 It is a static test flow chart of the on-orbit single event upset effect test method of the space-borne DSP of the present invention;
[0038] Figure 4 The invention discloses a dynamic test flow chart of the on-orbit single-particle upset effect test method of a satellite-borne DSP. DETAILED DESCRIPTION
[0039] The test system consists of a monitoring module and a module under test. The monitoring module consists of a monitoring FPGA and its peripheral circuits, and an RS422 communication interface circuit; the module under test consists of a DSP chip under test and its peripheral circuits. The monitoring module and the module under test communicate in real time through the HPI interface. The monitoring module uses an asynchronous RS422 communication method to send the single-particle upset monitoring results of the DSP chip to the particle radiation effect FPGA, which is then sent to the satellite service platform through the CAN bus and then transmitted to the ground.
[0040] The single-particle upset effect test method includes: using two test modes to cyclically monitor the single-particle upset of the DSP chip under test. The two test modes are a static test mode and a dynamic test mode. In the static test mode, the monitoring FPGA configures the DSP to the HPI loading mode, and the monitoring FPGA performs static single-particle upset monitoring on the DSP chip under test through the HPI interface. In the dynamic test mode, the monitoring FPGA configures the DSP to the 16-bit wide ROM loading mode, and the DSP chip loads and runs the program from the external MRAM memory to autonomously monitor its own single-particle upset, and the monitoring FPGA reads the self-monitoring results of the DSP through the HPI interface.
[0041] The monitoring FPGA controls the DSP chip under test to automatically switch between the static test mode and the dynamic test mode. That is, after one test mode runs for a period of time, it automatically switches to another test mode and repeats the process.
[0042] The technical solution of the present invention is described in detail below with reference to the accompanying drawings and embodiments.
[0043] Example 1
[0044] like Figure 1 As shown, Embodiment 1 of the present invention provides an on-orbit single-particle upset effect test system for a satellite-borne DSP.
[0045] The test system consists of a monitoring module and a module under test. The monitoring module includes a monitoring FPGA, a PROM, an RS422 receiver, and an RS422 driver. The monitoring FPGA is used to control the DSP under test to perform static or dynamic tests, and to package the test results in the format of scientific data and send them to the particle radiation effect FPGA, while parsing and executing the instructions sent by the particle radiation effect FPGA. The PROM is used as the configuration chip of the FPGA to store the program code of the FPGA. The RS422 receiver converts the input differential signal into a single-ended signal and provides it to the monitoring FPGA. The RS422 driver converts the single-ended signal of the scientific data sent by the monitoring FPGA into a differential signal output. The module under test consists of the DSP under test, MRAM0, and MRAM1. As the object under test, the DSP under test is equivalent to an external memory of the monitoring FPGA in the static test mode. The monitoring FPGA can access the entire address space of the DSP under test, including all registers and memories, through the HPI interface of the DSP. In the dynamic test mode, the DSP under test autonomously loads and runs the program from the external memory, monitors its own registers and memories in real time, records the monitoring results, and waits for the monitoring FPGA to take them away. MRAM0 is used as the program running space of the DSP under test and also as the cache area for self-monitoring results. MRAM1 is used as the program code storage space of the DSP under test. When the DSP under test is configured as 16-bit wide ROM loading mode, the program will be automatically loaded from MRAM1 after the DSP under test exits reset.
[0046] After the monitoring FPGA is powered on, the FPGA program code is loaded from the PROM and run. First, the variable initialization is completed, and then the DSP under test is controlled to enter the static test mode, and the single-particle flip situation of the DSP under test is monitored in real time. After the static test mode running time ends, the DSP under test is controlled to enter the dynamic test mode, and the DSP under test monitors its own single-particle flip situation autonomously, and the monitoring FPGA directly obtains the self-monitoring results of the DSP under test. After the dynamic test mode time ends, it automatically switches to the static test mode and cycles. The workflow of automatic cycling between the two test modes is as follows Figure 2 shown.
[0047] After the monitoring FPGA is initialized, the DSP under test is first put into static test mode. The flowchart of the static test mode is as follows: Figure 3As shown. The monitoring FPGA first controls the Reset signal to a low level to put the DSP into a reset state. Then the DSP is set to the HPI loading mode, that is, the monitoring FPGA sets the DSP startup mode pin BM[4:0] to "00111". Then the DSP is allowed to exit reset. When the DSP exits reset, it will detect the status of the startup mode pin BM[4:0]. Since BM[4:0] is "00111", after the DSP exits reset, it will hand over the control to the master monitoring FPGA of the HPI interface. The monitoring FPGA can access all address spaces of the DSP through the HPI interface, including all registers and memories.
[0048] The monitoring FPGA writes preset values to the registers and memories of the DSP through the HPI interface. After all address spaces are written, the values of the registers and memories are read one by one every second, and the read values are compared with the preset values. If they are completely consistent, continue to read the next one until all registers and memories are compared. If they are inconsistent, it is considered that a single particle flip has occurred in the register or memory, and the number of inconsistent bits is counted, added to the last statistical value, and the preset value is written back to the register or memory, and then the next one is read. If the memory is flipped, the memory address where the flip occurred must also be recorded.
[0049] The data memory address space range of the DSP under test is 0x80000000-0x8000FFFF, a total of 64K bytes. The program memory address space range is 0x00000000-0x0000FFFF, also 64K bytes. Although the address of the DSP under test is represented by 4 bytes, since the address space range of the data area / program area is only 64K bytes, only the lower 2 bytes are needed to reflect the address of the data area / program area. Therefore, the address of the data area / program area flip recorded in the scientific data packet is 2 bytes, which is the lower 2 bytes of the address of the data area / program area of the DSP under test. The data area and program area can record 5 addresses respectively. When the memory flip address exceeds 5, the recorded address will be cyclically overwritten.
[0050] After the static test mode runs for a certain period of time, the monitoring FPGA controls the DSP under test to enter the dynamic test mode. The flow chart of the dynamic test mode is as follows: Figure 4As shown. The monitoring FPGA first controls the Reset signal to a low level to put the DSP under test into a reset state. Then the DSP under test is set to a 16-bit wide ROM loading mode, that is, the monitoring FPGA sets the startup mode pin BM[4:0] of the DSP under test to "10101". Then the DSP under test is allowed to exit reset. When the DSP under test exits reset, it will detect the state of the startup mode pin BM[4:0]. Since BM[4:0] is "10101", the DSP under test automatically loads the program from the memory in the external CE1 chip select space after exiting reset. Since MRAM has the characteristic of anti-single-particle upset immunity, MRAM is selected as the CE1 chip select space memory of the DSP under test to store the program code of the DSP under test. The purpose of running the program code is to allow the DSP under test to autonomously monitor its own single-particle upset.
[0051] After the DSP under test loads the program from the external MRAM and runs, the workflow is similar to that of the static test mode, except that the monitoring and statistics of single-particle flips are completed independently by the DSP under test. The DSP under test writes preset values to its own registers and memories. After all registers and memories are written, the values of the registers and memories are read one by one every second, and the read values are compared with the preset values. If they are completely consistent, continue to read the next one until all registers and memories are compared. If they are inconsistent, it is considered that a single-particle flip has occurred in the register or memory, and the number of inconsistent bits is counted, added to the last statistical value, and the preset value is written back to the register or memory, and then the next one is read. If the memory is flipped, the memory address where the flip occurs must also be recorded. Five data area and program area addresses can be recorded separately, each address occupies 2 bytes. The recording method of the address is consistent with the static test mode, and the lower 2 bytes of the DSP address are also taken. Similarly, after the address of the memory flip exceeds 5, these 5 recorded addresses will be cyclically overwritten.
[0052] The remote sensing data packet generated by the monitoring FPGA is 41 bytes long. It includes the header identifier, the number of bits for DSP register and memory flipping, DSP memory flipping address and checksum, etc. The checksum occupies 1 byte, which is the cumulative sum of all the previous data in bytes. The format of the remote sensing data packet is shown in Table 1.
[0053] Table 1 Remote sensing data packet format
[0054]
[0055]
[0056] The length of the remote sensing data packet instruction received by the monitoring FPGA is 2 bytes, and the instruction code content is 0xEB77. The length of the instruction received to modify the time interval of different test modes is 5 bytes, and the instruction code format is shown in Table 2.
[0057] Table 2 Get remote sensing data packet instructions
[0058]
[0059] The monitoring FPGA sends the remote sensing data packet through the asynchronous RS422 bus. The RS422 communication baud rate is 115200bps, including 1 start bit, 8 data bits and 1 stop bit. When transmitting multiple bytes, the high byte is transmitted first, and the low bit in the byte is transmitted first.
[0060] Example 2
[0061] Based on the test system of embodiment 1, embodiment 2 of the present invention proposes a test method.
[0062] Test process such as Figure 2 As shown, Figure 3 , Figure 4 They are respectively the static test and dynamic test flow charts. The test process specifically includes:
[0063] Step 101) The monitoring FPGA controls the DSP to enter the reset state and configures the DSP to the HPI loading mode, that is, the monitoring FPGA sets the DSP startup mode pin BM[4:0] to "00111", and then allows the DSP to exit the reset state and enter the static test mode;
[0064] Step 102) monitoring FPGA to write preset values to all registers and memories of DSP through HPI interface;
[0065] Step 103) The monitoring FPGA reads all registers and memories of the DSP through the HPI interface every second, and compares the read register value or memory value with the preset value. If the two are inconsistent, it indicates that a single particle upset has occurred. At this time, the number of bits that have been upset is recorded. If the memory is upset, the address where the upset occurred must also be recorded. The preset value is written back to the register or memory address.
[0066] Step 104) After the traversal reading and comparison is completed, the recorded bit number and the memory address are packaged according to the format of the remote sensing data. After the monitoring FPGA receives the remote sensing data acquisition instruction from the particle radiation effect FPGA, it sends the remote sensing data packet to the particle radiation effect FPGA through the asynchronous RS422 bus.
[0067] Step 105) After the static test mode running time ends, the monitoring FPGA controls the DSP to enter the reset state and configures the DSP to the 16-bit wide ROM loading mode, that is, the monitoring FPGA sets the DSP startup mode pin BM[4:0] to "10101", and then allows the DSP to exit reset. The DSP autonomously loads the running program from the external MRAM and enters the dynamic test mode.
[0068] Step 106) DSP writes preset values to its registers and memory;
[0069] Step 107) DSP performs traversal reading operation on its register and memory every second. Similar to step 103), DSP compares the read data with the preset value. If the two are inconsistent, it indicates that a single-particle upset has occurred. At this time, the number of bits that have been upset is recorded. If the memory is upset, the address where the upset occurred must also be recorded. The preset value is written back to the register or memory address.
[0070] Step 108) After the DSP completes the reading and comparison of all registers and memories, it caches the recorded bit number and memory address in the external MRAM memory.
[0071] Step 109) After receiving the remote sensing data acquisition instruction from the particle radiation effect FPGA, the monitoring FPGA reads the self-monitoring result cached in the external MRAM by the DSP through the HPI interface and sends it to the particle radiation effect FPGA.
[0072] Step 110) After the dynamic test mode ends, it automatically switches to the static test mode and repeats the process in a cycle.
[0073] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention is described in detail with reference to the embodiments, it should be understood by those skilled in the art that any modification or equivalent replacement of the technical solutions of the present invention does not depart from the spirit and scope of the technical solutions of the present invention and should be included in the scope of the claims of the present invention.
Claims
1. A satellite DSP on-orbit single-particle upset effect test system, used for real-time monitoring of the single-particle upset of the satellite DSP under test on-orbit, and sending the monitoring results to the particle radiation effect FPGA, which is sent by the particle radiation effect FPGA to the satellite service platform and then transmitted to the ground, characterized in that: The test system comprises: a monitoring module and a tested module; wherein, The monitoring module is used to control the module under test to perform a single particle upset effect test, and to obtain a single particle upset monitoring result of the module under test; and is used to send the single particle upset monitoring result to the particle radiation effect FPGA according to the instruction received from the particle radiation effect FPGA; the single particle upset effect test includes a static test and a dynamic test performed cyclically; The module under test is used to perform static and dynamic tests on the onboard DSP cycle under test under the control of the monitoring module; The monitoring module includes a monitoring FPGA, a PROM, an RS422 receiver and an RS422 driver; wherein, The monitoring FPGA is used to configure the onboard DSP under test to the HPI loading mode during static testing, perform static single-particle upset monitoring on the onboard DSP under test through the HPI interface, and record the monitoring results; to configure the onboard DSP under test to the 16-bit wide ROM loading mode during dynamic testing, and read the autonomous monitoring results of the single-particle upset of the onboard DSP under test through the HPI interface; to parse and execute the instructions sent by the particle radiation effect FPGA, and to compose the monitoring results into a remote sensing data packet and send it to the particle radiation effect FPGA; The PROM is used as a configuration chip of the FPGA to store the program code of the FPGA; The RS422 receiver is used to convert the instruction sent by the particle radiation effect FPGA from a differential signal to a single-ended signal, and provide it to the monitoring FPGA; The RS422 driver is used to convert the remote sensing data packet sent by the monitoring FPGA from a single-ended signal to a differential signal and output it to the particle radiation effect FPGA; The module under test includes a satellite-borne DSP, an MRAM0 memory and an MRAM1 memory; wherein, During static testing, the onboard DSP under test provides all address spaces for access by the monitoring FPGA through its own HPI interface, and the all address spaces include its own registers and memories. During dynamic testing, the onboard DSP under test autonomously loads and runs programs from an external memory, monitors its own registers and memories in real time, records the monitoring results and caches them in the MRAM0 memory for reading by the monitoring FPGA. The MRAM0 memory is used to provide a program running space for the onboard DSP under test and is also used to cache monitoring results; The MRAM1 memory is used to provide program code storage space for the satellite-borne DSP under test. When the satellite-borne DSP under test is configured as a 16-bit wide ROM loading mode, the program is automatically loaded from the MRAM1 memory for execution after the satellite-borne DSP under test exits reset.
2. The on-orbit single event upset effect test system for a satellite-borne DSP according to claim 1, characterized in that: The instructions sent by the particle radiation effect FPGA include instructions for modifying the test interval and instructions for obtaining remote sensing data; The instruction to modify the test interval is used to set the duration of the static test or the dynamic test in hours; The remote sensing data acquisition instruction specifically includes: a 2-byte packet header identifier, a 2-byte time interval, and a 1-byte check bit.
3. The on-orbit single event upset effect test system of the satellite-borne DSP according to claim 2, characterized in that: The remote sensing data packet length is a fixed number of bytes, specifically including: a 2-byte header identifier, a 1-byte packet length, a 2-byte packet sequence number, a 2-byte TIC count, a 1-byte test mode, a 2-byte time interval between different test modes, a 1-byte receiving instruction code, a 1-byte receiving instruction correct count, a 1-byte receiving instruction error count, a DSP register flip bit number, a DSP memory flip bit number, a DSP memory flip address and a 1-byte check bit; wherein the test mode represents a static test mode or a dynamic test mode; the receiving instruction code includes an instruction for modifying the time interval and an instruction for obtaining remote sensing data; and the check bit is the cumulative sum of all data in the remote sensing data packet except the check bit, which is accumulated by bytes.
4. The on-orbit single event upset effect test system of the space-borne DSP according to claim 3 is characterized in that: The monitoring module communicates with the module under test in real time through the HPI interface; the monitoring module communicates with the particle radiation effect FPGA using an asynchronous RS422 communication method, and the communication baud rate is 115200bps, including 1bit start bit, 8bit data bits and 1bit stop bit. When multiple bytes are transmitted, the high byte is transmitted first, and the low bit in the byte is transmitted first; the particle radiation effect FPGA communicates with the satellite service platform through the CAN bus.
5. A method for testing single-event upset effects of a space-borne DSP on-orbit, based on the system implementation of claim 4, specifically comprising: Step 1) Monitor the FPGA to control the onboard DSP under test to enter the reset state, configure the onboard DSP under test to the HPI loading mode by setting the DSP startup mode pin BM[4:0] to "00111", and then let the DSP exit the reset and enter the static test mode; Step 2) monitoring FPGA to write preset values to all registers and memories of DSP through HPI interface; Step 3) Monitor the FPGA to read all registers and memories of the DSP through the HPI interface every second, compare the read register value or memory value with the preset value, if the two are inconsistent, it indicates that a single particle upset has occurred, and the number of bits that have flipped is recorded; if the memory is flipped, the address where the flip occurred must also be recorded, and the preset value is written back to the register or memory address; Step 4) After the monitoring FPGA has completed the traversal reading and comparison, the recorded bit number and the memory address are packaged according to the format of the remote sensing data. When receiving the remote sensing data acquisition instruction from the particle radiation effect FPGA, the remote sensing data packet is sent to the particle radiation effect FPGA through the asynchronous RS422 bus; Step 5) After the static test mode running time ends, the monitoring FPGA controls the DSP to enter the reset state. The monitoring FPGA configures the onboard DSP under test to the 16-bit wide ROM loading mode by setting the DSP startup mode pin BM[4:0] to "10101", and then allows the DSP to exit reset. The DSP autonomously loads the running program from MRAM1 and enters the dynamic test mode; Step 6) The onboard DSP under test writes preset values to its registers and memory; Step 7) The onboard DSP under test performs a traversal reading operation on its registers and memories every second, and compares the read data with the preset value. If the two are inconsistent, it indicates that a single-particle upset has occurred, and the number of bits that have been upset is recorded; if the memory is upset, the address where the upset occurred must also be recorded, and the preset value is written back to the register or memory address; Step 8) After the onboard DSP under test completes the reading and comparison of all registers and memories, the recorded bit number and memory address are packaged and cached in the MRAM0 memory according to the format of remote sensing data; Step 9) After the monitoring FPGA receives the remote sensing data acquisition instruction from the particle radiation effect FPGA, it reads the remote sensing data packet cached in the MRAM0 register by the DSP through the HPI interface and sends it to the particle radiation effect FPGA; Step 10) After the dynamic test mode running time ends, go to step 1).
