All-digital simulation verification system for adjacent space link transceiver FPGA (Field Programmable Gate Array)
Through the full digital simulation verification system, the problem of high cost and low efficiency of FPGA simulation verification in the field of deep space exploration is solved, and fully digital simulation is realized, fault location and bit error rate statistics are simplified, and the coverage and accuracy of verification are improved.
Patent Information
- Application Number
- CN202410965950.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-11-01
AI Technical Summary
In the prior art, the simulation verification of the adjacent space link transceiver FPGA in the field of deep space exploration mainly relies on hardware physical testing or semi-physical simulation, which is high cost and low efficiency, and cannot fully monitor system signals, making it difficult to conduct abnormal tests and fault locations. .
Design a fully digital simulation verification system for the FPGA neighboring spatial link transceiver. By building a peripheral fully digital imitation chip module of FPGA, analog clock, bus, forward/return data, intermediate frequency signals and protocol processing, it realizes fault injection and abnormal positioning, reduce verification costs, improve coverage and accuracy.
It realizes full digital simulation verification, reduces costs, improves verification efficiency and accuracy, can monitor all signals in the system, simplify fault location, fully covers protocol functional points, and close-loop statistics of bit error rates.
Smart Images

Figure CN118890104A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of deep space exploration space data communication, and in particular to a full digital simulation verification system for adjacent space link transceiver FPGA, which is applied to adjacent space link transceivers of high-precision space data communication devices in the field of deep space exploration to improve the reliability and stability of adjacent space link transceiver FPGA design. Background Art
[0002] The adjacent space link transceiver is a space data communication device that realizes the communication tasks between orbiters, landers, rovers and other short-range devices in the field of deep space exploration. As the core part of the adjacent space link transceiver, the adjacent space link transceiver FPGA mainly completes the functions of receiving and transmitting intermediate frequency signals, implementing the adjacent space link protocol, and transmitting forward / return data. Due to the cumbersome adjacent space link protocol and complex baseband processing algorithm, the difficulty of simulation verification is greatly increased.
[0003] At present, the simulation verification of FPGA for adjacent space link transceiver is still basically in the stage of hardware physical testing or semi-physical simulation. These two test methods have high requirements for the test environment and are expensive. In addition, the observable signals are limited and all signals of the entire system cannot be monitored, making it difficult to perform abnormal tests and fault location. For complex adjacent space link protocols and baseband processing algorithms, these two test methods still have problems such as single test scenarios, insufficient accuracy, low efficiency, and insufficient coverage.
[0004] Therefore, the present invention proposes a fully digital simulation verification system for the FPGA of the adjacent space link transceiver. The system establishes an FPGA peripheral fully digital simulated chip module, which does not require the construction of a specific hardware platform, and is simple in fault injection and abnormality location, greatly reducing the cost of simulation verification. In view of the different communication functions existing in the adjacent space link protocol, the system designs corresponding test scenarios to improve the coverage of functional tests. For complex baseband processing algorithms, the system can implement carrier frequency setting, frequency deviation setting, and frequency deviation change rate setting through parameter configuration to simulate the sending and receiving of corresponding intermediate frequency signals, and by comparing the forward / return data sent and received, the specific range of the bit error rate can be statistically calculated. Summary of the invention
[0005] In view of the above problems, the purpose of the present invention is to provide a fully digital simulation verification system for the FPGA of the adjacent space link transceiver. By constructing a fully digital simulated chip module around the FPGA to simulate and verify the entire system, it is possible to inject multiple faults and simulate abnormal states, breaking away from the limitations of hardware test equipment, greatly reducing the verification cost, allowing all internal signals in the system to be observed, and improving the verification efficiency. In addition, for the complicated adjacent space link protocol, the corresponding test scenario is designed to improve the coverage of the functional test; for the complex baseband processing algorithm, the corresponding parameter configuration is designed to allow real-time monitoring of the bit error rate.
[0006] The above-mentioned object of the present invention is achieved through the following technical solutions:
[0007] A fully digital simulation verification system for a neighboring space link transceiver FPGA, comprising: a simulated clock reset module, a simulated 1553B bus module, a simulated forward data generation module, a simulated return data downlink module, a simulated intermediate frequency signal transmission module, a simulated intermediate frequency signal receiving module, a neighboring space link protocol processing module, a forward data downlink module and a return data generation module;
[0008] The simulated clock reset module is used to simulate the crystal oscillator and reset circuit to provide a stable clock signal and reset signal for the adjacent space link transceiver FPGA;
[0009] The 1553B bus simulation module is used to simulate the 1553B bus protocol, send bus remote control instructions and receive bus telemetry data according to the 1553B chip read and write timing, and realize the reading and writing of bus data;
[0010] The simulated forward data generation module is used to simulate the generation of business data and send the data to the FPGA according to the LVDS interface timing to achieve the setting, storage and sending of the forward data;
[0011] The simulated return data transmission module is used to simulate the reception of business data, receive data from FPGA according to the LVDS interface timing, and realize the reception and inspection of return data;
[0012] The simulated intermediate frequency signal sending module is used to simulate the generation of intermediate frequency signals from baseband data, including data framing, coding, modulation and digital up-conversion, and send the generated intermediate frequency signals to the FPGA;
[0013] The simulated intermediate frequency signal receiving module is used to simulate the reception of the intermediate frequency signal transmitted by the FPGA and convert the intermediate frequency signal into baseband data;
[0014] The adjacent space link protocol processing module is used to simulate the transmission and preparation of the adjacent space protocol data of the sending end and the receiving end according to the communication scenario of the adjacent space protocol, and realize the generation, transmission and reception of the adjacent space protocol data frame or management frame;
[0015] The forward data transmission module is used to receive the forward data transmitted by the adjacent space link protocol processing module, and compare and verify it with the data generated in the simulated forward data generation module;
[0016] The return data generation module is used to generate the return data required by the adjacent space link protocol processing module, and compare and verify it with the data received in the simulated return data downlink module.
[0017] Furthermore, the 1553B bus-simulating module is specifically:
[0018] Simulate the 1553B chip to send the bus remote control command:
[0019] The 1553B bus module stores the data of the bus remote control instruction including the packet header, packet length, instruction code and check code into a preset address of the stack according to the 1553B bus protocol. When the 1553B bus module receives the chip selection signal, read signal and address signal sent by the FPGA, the instruction data corresponding to the address is taken out from the stack and sent to the FPGA.
[0020] Simulate the 1553B chip to receive the bus telemetry data:
[0021] When a fixed time is reached, the 1553B bus module receives the chip selection signal, write signal, address signal and data signal sent by the FPGA, and converts the bus telemetry data into real-time telemetry data and stores it in the register corresponding to the corresponding address;
[0022] The 1553B bus simulation module also includes simulation and injection of remote control command faults, including packet header errors, packet length errors, command code errors, and check code errors. The 1553B bus simulation module also includes checking the received bus telemetry data to detect whether there are abnormalities in the packet header, packet length, command code, and check code.
[0023] Furthermore, the simulated forward data generation module is specifically:
[0024] The simulated forward data generation module sets and frames the frame header, frame length, data code, and check code of the forward data according to the requirements, converts it into serial data through the serial-to-parallel conversion function, and outputs the enable signal, clock signal, and data signal to the FPGA according to the LVDS interface protocol;
[0025] The simulated forward data generation module also includes the simulation and injection of forward data faults, and the forward data faults include frame header errors, frame length errors, data code errors, and check code errors.
[0026] Furthermore, the simulated return data transmission module is specifically:
[0027] The simulated return data transmission module receives the enable signal, clock signal and data signal transmitted by the FPGA through the LVDS interface, converts them into return data through serial conversion, and verifies the frame header, frame length, data code and check code of the return data.
[0028] Furthermore, the simulated intermediate frequency signal sending module is specifically:
[0029] The simulated intermediate frequency signal sending module realizes data framing, coding, modulation and digital up-conversion, and finally generates an intermediate frequency signal and sends it to the FPGA;
[0030] When framing, the simulated intermediate frequency signal sending module realizes the simulation and injection of data faults of adjacent link transmission units, including frame header errors, synchronization flag errors, and check code errors;
[0031] During digital up-conversion, the simulated intermediate frequency signal sending module realizes normal or abnormal setting of carrier frequency setting, frequency deviation setting, and frequency deviation change rate through parameter configuration, and tests the receiving range and boundary of the FPGA intermediate frequency signal.
[0032] Furthermore, the simulated intermediate frequency signal receiving module is specifically:
[0033] The simulated intermediate frequency signal receiving module realizes the reception, carrier capture tracking, decoding, frame synchronization, and frame checking of the intermediate frequency signal, and finally obtains a data frame or a management frame;
[0034] The simulated intermediate frequency signal receiving module verifies the frame header, synchronization flag bit and check code of the adjacent link transmission unit.
[0035] Furthermore, the adjacent space link protocol processing module is specifically:
[0036] The adjacent space link protocol processing module realizes the generation, transmission and reception of adjacent space protocol data frames or management frames according to the communication scenario of the adjacent space protocol, wherein, in different communication scenarios, the management frames include frames including link initial parameter frames, reply frames, link parameter change frames, and abnormal retransmission reply frames;
[0037] The communication scenarios include a simplex communication scenario, a duplex communication scenario, a normal data communication scenario, a communication parameter change scenario, and an abnormal data automatic retransmission scenario.
[0038] Furthermore, the simplex communication scenario is specifically:
[0039] The adjacent space link protocol processing module simulates the simplex communication scenario of the adjacent space protocol to implement the sending of transmitter data frames in the simplex scenario transmitter mode and the receiving of transmitter data frames in the simplex scenario receiver mode.
[0040] Furthermore, the duplex communication scenario is specifically:
[0041] The adjacent space link protocol processing module simulates the duplex communication scenario of the adjacent space protocol;
[0042] In the calling party mode of the duplex communication scenario, the sending of the calling party link initial parameter frame and the receiving of the called party reply frame are realized;
[0043] In the called party mode of the duplex communication scenario, receiving the calling party link initial parameter frame and sending the called party reply frame are realized;
[0044] And after the duplex communication scenario, three scenarios thereafter are implemented: the normal data communication scenario, the communication parameter change scenario and the abnormal data automatic retransmission scenario.
[0045] Furthermore, the normal data communication scenario is specifically:
[0046] The adjacent space link protocol processing module simulates the duplex normal data communication scenario;
[0047] When the data state is in the business data initiator mode, the sending of the initiator data frame and the receiving of the responder reply frame are realized;
[0048] When the data state is in the business data responder mode, the initiator receives the data frame and the responder sends the reply frame.
[0049] Furthermore, the communication parameter change scenario is specifically:
[0050] The adjacent space link protocol processing module simulates the duplex communication parameter change scenario;
[0051] In the parameter change initiator mode, the initiator sends the link parameter change frame and receives the responder reply frame under the new communication parameters, and then changes the local parameters of the parameter change initiator to the new parameters;
[0052] In the parameter change responder mode when the change state is in progress, the initiator receives the link parameter change frame, sets the local parameters of the parameter change responder to the new parameters, and then sends the responder reply frame under the new communication parameters;
[0053] When the local parameters of the parameter change initiator and responder are updated, the duplex communication performs normal data communication services under the new communication parameters.
[0054] Furthermore, the abnormal data automatic retransmission scenario is specifically:
[0055] The adjacent space link protocol processing module simulates the duplex abnormal data automatic retransmission scenario;
[0056] In the retransmission state, in the automatic retransmission initiator mode, the abnormal retransmission reply frame is sent and the data frame to be retransmitted is received. When the retransmission is successful, the retransmission flag is set to 0 and a normal reply frame is sent;
[0057] In the retransmission state, in the automatic retransmission responder mode, the reception of abnormal retransmission reply frames is realized, and the retransmission data frame number is set, and then the data frame to be retransmitted is sent and the normal reply frame is received;
[0058] Finally, normal duplex data communication services are carried out under the new frame number sequence.
[0059] Furthermore, the forward data transmission module is specifically:
[0060] The forward data transmission module receives the forward data transmitted by the adjacent space link protocol processing module, compares it with the data generated in the simulated forward data generation module, and counts the bit error rate of the FPGA uplink in different scenarios.
[0061] Furthermore, the return data generation module is specifically:
[0062] The return data generation module generates the return data required by the adjacent space link protocol processing module, compares and verifies it with the data received in the simulated return data downlink module, and counts the bit error rate of the FPGA downlink in different scenarios.
[0063] Compared with the prior art, the present invention has at least one of the following beneficial effects:
[0064] (1) Fully digital: The system is a fully digital simulation and verification platform that does not require specific hardware equipment and has low requirements for the simulation and verification environment, greatly reducing the cost of simulation and verification.
[0065] (2) Easy to locate: The system has a high degree of freedom and versatility, allowing fault simulation injection and setting of abnormal test scenarios in peripheral modules. The simulated waveforms of all signals can be observed in real time, making fault location relatively easy.
[0066] (3) Comprehensive and accurate: The system builds a comprehensive test scenario for the adjacent space link protocol, effectively covering the functional points of the protocol and improving the comprehensiveness of the simulation verification work. By building the generation and transmission modules of the uplink and downlink, the communication system can be closed-loop bit error rate statistics, improving the accuracy of the simulation verification. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 It is a structural schematic diagram of the all-digital simulation verification system for the adjacent space link transceiver FPGA of the present invention;
[0068] Figure 2 It is a processing flow chart of the physical layer of the adjacent space link protocol processing module of the present invention;
[0069] Figure 3 It is a processing flow chart of the data link layer of the adjacent space link protocol processing module of the present invention. DETAILED DESCRIPTION
[0070] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0071] Those skilled in the art will appreciate that, unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the 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.
[0072] The present invention provides a fully digital simulation verification system for a neighboring space link transceiver FPGA, including a simulated clock reset module, a simulated 1553B bus module, a simulated forward data generation module, a simulated return data downlink module, a simulated intermediate frequency signal sending module, a simulated intermediate frequency signal receiving module, a neighboring space link protocol processing module, a forward data downlink module, and a return data generation module, etc., for verifying the correctness and stability of the neighboring space link transceiver FPGA in different communication scenarios. The system can verify the correctness of the intermediate frequency signal transmission function of the neighboring space link transceiver FPGA through the simulation operation results of the simulated forward data generation module and the simulated intermediate frequency signal receiving module. The correctness of the intermediate frequency signal receiving function of the neighboring space link transceiver FPGA can be verified through the simulated intermediate frequency signal sending module and the simulated return data downlink module. The neighboring space link protocol processing module can be used to simulate and verify a variety of communication scenarios such as simplex, duplex, normal, and abnormal. The forward data transmission module and the return data generation module can be used to compare data with the data in the simulated forward data generation module and the simulated return data transmission module, thereby realizing the closed-loop verification of communication data transmission and reception. The simulated 1553B bus module can realize the verification of bus instruction injection, telemetry data reception and other functions. The invention establishes a fully digital integrated verification system by constructing an FPGA peripheral simulation module of a neighboring space link transceiver. The system can establish normal and abnormal communication test scenarios without the need for physical hardware, greatly reducing the simulation cost. At the same time, fault injection is convenient and problem observation is convenient, which can greatly improve the quality and efficiency of verification.
[0073] The following is described by specific examples:
[0074] First embodiment
[0075] like Figure 1 As shown, this embodiment provides a fully digital simulation verification system for the adjacent space link transceiver FPGA, providing a fully digital closed-loop simulation verification environment for the adjacent space link transceiver FPGA. This solution can verify abnormal working conditions that cannot be achieved in ground hardware joint testing, and provide a comprehensive and accurate evaluation and analysis of the adjacent space link protocol of the adjacent space link transceiver FPGA. It includes: a simulated clock reset module 1, a simulated 1553B bus module 2, a simulated forward data generation module 3, a simulated return data transmission module 4, a simulated intermediate frequency signal sending module 4, a simulated intermediate frequency signal receiving module 5, an adjacent space link protocol processing module 7, a forward data transmission module 8 and a return data generation module 9. The system is written in SystemVer il log code and provides a fully digital closed-loop working environment for the adjacent space link transceiver FPGA.
[0076] The simulated clock reset module 1 is used to simulate the crystal oscillator and reset circuit to provide a stable clock signal and reset signal for the adjacent space link transceiver FPGA;
[0077] The 1553B bus simulation module 2 is used to simulate the 1553B bus protocol, send bus remote control instructions and receive bus telemetry data according to the 1553B chip read and write timing, and realize the reading and writing of bus data;
[0078] The simulated forward data generation module 3 is used to simulate the generation of business data and send the data to the FPGA according to the LVDS interface timing to achieve the setting, storage and sending of the forward data;
[0079] The simulated return data transmission module 4 is used to simulate the reception of business data, receive data from FPGA according to the LVDS interface timing, and realize the reception and inspection of return data;
[0080] The simulated intermediate frequency signal sending module 5 is used to simulate the generation of intermediate frequency signals from baseband data, including data framing, encoding, modulation and digital up-conversion, and send the generated intermediate frequency signals to the FPGA;
[0081] The simulated intermediate frequency signal receiving module 6 is used to simulate the reception of the intermediate frequency signal transmitted by the FPGA and convert the intermediate frequency signal into baseband data;
[0082] The adjacent space link protocol processing module 7 is used to simulate the transmission and preparation of the adjacent space protocol data of the sending end and the receiving end according to the communication scenario of the adjacent space protocol, and realize the generation, transmission and reception of the adjacent space protocol data frame or management frame;
[0083] The forward data transmission module 8 is used to receive the forward data transmitted by the adjacent space link protocol processing module, and compare and verify it with the data generated in the simulated forward data generation module;
[0084] The return data generating module 9 is used to generate the return data required by the adjacent space link protocol processing module, and compare and verify it with the data received in the simulated return data downlink module.
[0085] The following is a description of the functions of each module:
[0086] (1) The simulated clock reset module 1 is specifically:
[0087] Used to simulate crystal oscillator and reset circuit to provide stable clock signal and reset signal for adjacent space link transceiver FPGA. Through parameter setting, the frequency of clock signal, the high and low level of reset signal and whether to add abnormal burr to reset signal can be changed.
[0088] (2) The 1553B bus module 2 is specifically:
[0089] Simulate the 1553B chip to send the bus remote control command:
[0090] The simulated 1553B bus module stores the data of the bus remote control instruction including the packet header, packet length, instruction code, and check code into a preset address of the stack according to the 1553B bus protocol. When the simulated 1553B bus module receives the chip select signal, read signal, and address signal sent by the FPGA, the instruction data corresponding to the address is taken out from the stack and sent to the FPGA.
[0091] When the 1553B bus module receives the chip select signal, read signal and address signal sent by the FPGA, the instruction data corresponding to the address is taken out from the stack and sent to the FPGA, specifically: first send a 1553B interrupt to the FPGA. The FPGA responds to the 1553B interrupt in real time, sends the chip select signal, read signal and address signal to the module, and the module takes out the instruction data corresponding to the received address from the stack and returns it to the FPGA, thereby completing the sending of the 1553B bus remote control instruction.
[0092] Simulate the 1553B chip to receive the bus telemetry data:
[0093] When a fixed time is reached, the 1553B bus module receives the chip selection signal, write signal, address signal and data signal sent by the FPGA, and converts the bus telemetry data into real-time telemetry data and stores it in the register corresponding to the corresponding address.
[0094] The simulated 1553B bus module also includes simulation and injection of remote control command faults, and the remote control command faults include packet header errors, packet length errors, instruction code errors, and check code errors. The simulated 1553B bus module also includes verifying the received bus telemetry data to detect whether there are any abnormalities in the packet header, packet length, instruction code, and check code.
[0095] In addition, the module can also realize real-time monitoring of the read and write timing of the FPGA1553B interface.
[0096] (3) The simulated forward data generation module 3 is specifically:
[0097] The simulated forward data generation module sets and frames the frame header, frame length, data code, and check code of the forward data according to the requirements, converts it into serial data through the serial-to-parallel conversion function, and outputs the enable signal, clock signal, and data signal to the FPGA according to the LVDS interface protocol;
[0098] The simulated forward data generation module also includes the simulation and injection of forward data faults, and the forward data faults include frame header errors, frame length errors, data code errors, and check code errors.
[0099] (4) The simulated return data transmission module 4 is specifically:
[0100] The simulated return data transmission module receives the enable signal, clock signal and data signal transmitted by the FPGA through the LVDS interface, converts them into return data through serial conversion, and verifies the frame header, frame length, data code and check code of the return data. In addition, the module can also realize real-time monitoring of the LVDS interface timing.
[0101] (5) The simulated intermediate frequency signal sending module 5 is specifically:
[0102] The simulated intermediate frequency signal sending module realizes the framing, encoding, modulation and digital up-conversion of data, and finally generates an intermediate frequency signal and sends it to the FPGA; wherein the data framing is to add a frame header, a synchronization flag bit and a check code to the data frame or management frame received from the adjacent space link protocol processing module to form an adjacent link transmission unit;
[0103] When framing, the simulated intermediate frequency signal sending module realizes the simulation and injection of data faults of adjacent link transmission units, including frame header errors, synchronization flag errors, and check code errors;
[0104] During digital up-conversion, the frequency of the intermediate frequency signal can be achieved by setting the carrier frequency word, which is determined by the carrier frequency, sampling frequency, and the bit width of the frequency word. By controlling the carrier frequency word, the normal or abnormal setting of the carrier frequency, frequency deviation, and frequency deviation change rate can be achieved, thereby performing performance testing on the receiving range and boundary of the FPGA intermediate frequency signal.
[0105] (6) The simulated intermediate frequency signal receiving module 6 is specifically:
[0106] The simulated intermediate frequency signal receiving module realizes the reception, carrier capture tracking, decoding, frame synchronization, and frame checking of the intermediate frequency signal, and finally obtains a data frame or a management frame;
[0107] The simulated intermediate frequency signal receiving module verifies the frame header, synchronization flag bit and check code of the adjacent link transmission unit.
[0108] (7) The adjacent space link protocol processing module 7 is specifically:
[0109] The adjacent space link protocol processing module realizes the generation, sending and receiving of adjacent space protocol data frames or management frames according to the communication scenario of the adjacent space protocol, thereby ensuring the comprehensiveness and integrity of the adjacent space link protocol verification. In different communication scenarios, the management frames include link initial parameter frames, reply frames, link parameter change frames, and abnormal retransmission reply frames.
[0110] The communication scenarios include a simplex communication scenario, a duplex communication scenario, a normal data communication scenario, a communication parameter change scenario, and an abnormal data automatic retransmission scenario.
[0111] A: The simplex communication scenario is specifically:
[0112] If it is in the transmitter mode of the simplex communication scenario, this module sends the transmitter data frame generated by the return data generation module to the FPGA through the simulated intermediate frequency signal sending module. If it is in the receiver mode of the simplex communication scenario, this module receives the transmitter data frame received by the simulated intermediate frequency signal receiving module to the forward data downlink module.
[0113] B: The duplex communication scenario is specifically:
[0114] If it is in the calling party mode of the duplex communication scenario, the module generates the calling party link initial parameter frame according to the calling party transmitter and receiver parameters, and sends it to the FPGA through the simulated intermediate frequency signal sending module, and then receives the called party reply frame sent by the FPGA. If it is in the called party mode of the duplex communication scenario, the module receives the calling party link initial parameter frame sent by the FPGA, sets its own transmitter and receiver parameters, and then sends the called party reply frame to the FPGA. After the duplex communication scenario, there are three possible communication scenarios: normal data communication scenario, communication parameter change scenario, and abnormal data automatic retransmission scenario.
[0115] C: The normal data communication scenario is specifically:
[0116] If it is in the business data initiator state of a normal data communication scenario, this module sends the initiator data frame generated by the return data generation module to the FPGA through the simulated intermediate frequency signal sending module; then receives the responder reply frame to confirm whether the data frame is received correctly. If it is in the business data responder state of a normal data communication scenario, this module receives the initiator data frame received by the simulated intermediate frequency signal receiving module to the forward data downlink module; then sends the responder reply frame to tell the FPGA whether the data frame is received correctly.
[0117] D: The communication parameter change scenario is as follows:
[0118] If the communication parameter change scenario is in the parameter change initiator state, the module sends the initiator link parameter change frame to the FPGA according to the received new parameters, and then receives the responder reply frame under the new communication parameters sent by the FPGA, and changes the local parameters of the parameter change initiator to the new parameters. If the communication parameter change scenario is in the parameter change responder state, the module receives the initiator link parameter change frame sent by the FPGA, and sets the local parameters of the parameter change responder to the new parameters, and then sends the responder reply frame to the FPGA under the new communication parameters. When the local parameters of the parameter change initiator and responder are updated, the duplex communication will perform normal data communication services under the new communication parameters.
[0119] E: The abnormal data automatic retransmission scenario is as follows:
[0120] If the module is in the state of automatic retransmission initiator in the abnormal data automatic retransmission scenario, the module will send an abnormal retransmission reply frame to the FPGA according to the frame number where the abnormality occurs, and then receive the data frame to be retransmitted sent by the FPGA. Once the reception is successful, the module will set the retransmission flag to 0 and send a normal reply frame to the FPGA. If the module is in the state of automatic retransmission responder in the abnormal data automatic retransmission scenario, the module will receive the abnormal retransmission reply frame sent by the FPGA, locate the error frame number and set the retransmission data frame number, and send the data frame to be retransmitted under the corresponding frame number to the FPGA. If the FPGA successfully receives it, the module continues to receive the normal reply frame sent by the FPGA. Finally, the duplex normal data communication service is carried out under the new frame number sequence.
[0121] In addition, this module can simulate and inject data frame or management frame data failures in different communication scenarios.
[0122] (8) The forward data transmission module 8 is specifically:
[0123] The forward data transmission module receives the forward data transmitted by the adjacent space link protocol processing module, compares it with the data generated in the simulated forward data generation module, and counts the bit error rate of the FPGA uplink in different scenarios.
[0124] (9) The return data generating module 9 is specifically:
[0125] The return data generation module generates the return data required by the adjacent space link protocol processing module, compares and verifies it with the data received in the simulated return data downlink module, and counts the bit error rate of the FPGA downlink in different scenarios.
[0126] Second embodiment
[0127] This embodiment, based on the system of the first embodiment, implements a specific example of a simulation verification method of a neighboring space link transceiver FPGA, and the specific steps are as follows:
[0128] Step 1: Build Figure 1 The shown modules include an imitation clock reset module 1, an imitation 1553B bus module 2, an imitation forward data generation module 3, an imitation return data transmission module 4, an imitation intermediate frequency signal sending module 5, an imitation intermediate frequency signal receiving module 6, an adjacent space link protocol processing module 7, a forward data transmission module 8, and a return data generation module 9.
[0129] Step 2: In the simulated clock reset module 1, according to the actual working clock frequency and reset requirements of the adjacent space link transceiver FPGA, the clock signal and reset signal are set to 100 MHz and a low level with a delay greater than 1 us, respectively.
[0130] Step 3: In the 1553B bus simulation module 2, a bus remote control instruction defined by 1-byte header + 1-byte packet length + 2-byte instruction code + 2-byte check code is constructed, and stored in the preset address of the stack, waiting for the bus remote control instruction to send a signal. In the forward data generation module 3 and the return data generation module 9, a data frame defined by 2-byte header + 1-byte frame length + 100-byte data code + 2-byte check code is constructed respectively, and stored in the stack, waiting for the data frame to send a signal. In the intermediate frequency signal transmission module 5 (such as Figure 2 ), and make relevant settings for data framing coding modulation and digital up-conversion. When framing data, construct an adjacent link transmission unit defined by 3-byte synchronization flag + 5-byte frame header + data frame in the simulated forward data generation module 3 + 2-byte check code. When digital up-conversion is performed, set the intermediate frequency signal frequency to 40M Hz, the frequency deviation fluctuates within the range of ±20K Hz, and the frequency deviation change rate is 200Hz / S. In the simulated intermediate frequency signal receiving module 6 (such as Figure 2 ), and perform the related settings of carrier acquisition tracking and decoding frame synchronization frame check. During the frame synchronization frame check, the 3-byte synchronization flag bit, 5-byte frame header and 2-byte check code of the adjacent link transmission unit are set.
[0131] Step 4: In the adjacent space link protocol processing module 7, select the corresponding test scenario, communication mode and state (such as Figure 3 ), such as: simplex scenario transmitter mode, simplex scenario receiver mode, duplex scenario caller mode, duplex scenario called party mode, service data initiator status, service data responder status, parameter change initiator, parameter change responder, automatic retransmission initiator, automatic retransmission responder.
[0132] Step 5: After the test scenario, communication mode and state are selected, the 1553B bus module 2 sends a remote control command to the adjacent space link transceiver FPGA10 according to the verification requirements, and sets the appropriate channel communication parameters, communication mode and state. At this point, the adjacent space link transceiver FPGA10 and the adjacent space link protocol processing module 7 can perform data communication in the corresponding test scenario, for example: when the adjacent space link transceiver FPGA10 is in the duplex scenario calling party mode, the adjacent space link protocol processing module 7 is in the duplex scenario called party mode. At this time, the adjacent space link transceiver FPGA10 first sends the intermediate frequency signal of the calling party link initial parameter frame to the simulated intermediate frequency signal receiving module 6, and then the simulated intermediate frequency signal receiving module 6 sends the demodulated link initial parameter frame to the adjacent space link protocol processing module 7. When the adjacent space link protocol processing module 7 successfully receives the link initial parameter frame and sets its own link communication parameters, it sends the called party reply frame to the simulated intermediate frequency signal sending module 5, and then the simulated intermediate frequency signal sending module 5 sends the modulated intermediate frequency signal to the adjacent space link transceiver FPGA10. When the adjacent space link transceiver FPGA10 successfully receives the called party's reply frame and confirms that it is correct, normal data communication services can be carried out. Then the test scenario becomes a normal data communication scenario. If the adjacent space link transceiver FPGA10 has data to be sent at this time, it is in the service data initiator state, and the adjacent space link protocol processing module 7 is in the service data responder state. First, the adjacent space link transceiver FPGA10 receives the data frame generated by the simulated forward data generation module 3, modulates it into an intermediate frequency signal and sends it to the simulated intermediate frequency signal receiving module 6, then the simulated intermediate frequency signal receiving module 6 sends the demodulated data frame to the adjacent space link protocol processing module 7, and the adjacent space link protocol processing module 7 successfully receives the data frame and sends the reply frame to the simulated intermediate frequency signal sending module 5, and at the same time, the received forward data is transmitted to the forward data transmission module 8. After that, the simulated intermediate frequency signal sending module 5 modulates the reply frame into an intermediate frequency signal and sends it to the adjacent space link transceiver FPGA10. After the adjacent space link transceiver FPGA10 successfully receives the reply frame, it marks the completion of a normal data communication service.
[0133] Step 6: By comparing the data frame generated by the forward data generation module 3 in step 3 with the data frame received by the forward data downlink module 8 in step 5, the bit error rate of the adjacent space link transceiver FPGA uplink can be counted, thereby providing a reference for the design.
[0134] A computer-readable storage medium stores a computer code. When the computer code is executed, the above method is executed. A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0135] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
[0136] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0137] It should be noted that the above embodiments can be freely combined as needed. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered as the protection scope of the present invention.
Claims
1. A fully digital simulation verification system for adjacent space link transceiver FPGA, characterized in that: include: An imitation clock reset module, an imitation 1553B bus module, an imitation forward data generation module, an imitation return data downlink module, an imitation intermediate frequency signal transmission module, an imitation intermediate frequency signal receiving module, an adjacent space link protocol processing module, a forward data downlink module and a return data generation module; The simulated clock reset module is used to simulate the crystal oscillator and reset circuit to provide a stable clock signal and reset signal for the adjacent space link transceiver FPGA; The 1553B bus simulation module is used to simulate the 1553B bus protocol, send bus remote control instructions and receive bus telemetry data according to the 1553B chip read and write timing, and realize the reading and writing of bus data; The simulated forward data generation module is used to simulate the generation of business data and send the data to the FPGA according to the LVDS interface timing to achieve the setting, storage and sending of the forward data; The simulated return data transmission module is used to simulate the reception of business data, receive data from FPGA according to the LVDS interface timing, and realize the reception and inspection of return data; The simulated intermediate frequency signal sending module is used to simulate the generation of intermediate frequency signals from baseband data, including data framing, coding, modulation and digital up-conversion, and send the generated intermediate frequency signals to the FPGA; The simulated intermediate frequency signal receiving module is used to simulate the reception of the intermediate frequency signal transmitted by the FPGA and convert the intermediate frequency signal into baseband data; The adjacent space link protocol processing module is used to simulate the transmission and preparation of the adjacent space protocol data of the sending end and the receiving end according to the communication scenario of the adjacent space protocol, and realize the generation, transmission and reception of the adjacent space protocol data frame or management frame; The forward data transmission module is used to receive the forward data transmitted by the adjacent space link protocol processing module, and compare and verify it with the data generated in the simulated forward data generation module; The return data generation module is used to generate the return data required by the adjacent space link protocol processing module, and compare and verify it with the data received in the simulated return data downlink module.
2. The all-digital simulation verification system for adjacent space link transceiver FPGA according to claim 1 is characterized in that: The 1553B bus module is specifically: Simulate the 1553B chip to send the bus remote control command: The 1553B bus module stores the data of the bus remote control instruction including the packet header, packet length, instruction code and check code into a preset address of the stack according to the 1553B bus protocol. When the 1553B bus module receives the chip selection signal, read signal and address signal sent by the FPGA, the instruction data corresponding to the address is taken out from the stack and sent to the FPGA. Simulate the 1553B chip to receive the bus telemetry data: When a fixed time is reached, the 1553B bus module receives the chip selection signal, write signal, address signal and data signal sent by the FPGA, and converts the bus telemetry data into real-time telemetry data and stores it in the register corresponding to the corresponding address; The simulated 1553B bus module also includes simulation and injection of remote control command faults, and the remote control command faults include packet header errors, packet length errors, instruction code errors, and check code errors. The simulated 1553B bus module also includes verifying the received bus telemetry data to detect whether there are any abnormalities in the packet header, packet length, instruction code, and check code.
3. The all-digital simulation verification system for adjacent space link transceiver FPGA according to claim 1 is characterized in that: The simulated forward data generation module is specifically: The simulated forward data generation module sets and frames the frame header, frame length, data code, and check code of the forward data according to the requirements, converts it into serial data through the serial-to-parallel conversion function, and outputs the enable signal, clock signal, and data signal to the FPGA according to the LVDS interface protocol; The simulated forward data generation module also includes the simulation and injection of forward data faults, and the forward data faults include frame header errors, frame length errors, data code errors, and check code errors.
4. The all-digital simulation verification system for adjacent space link transceiver FPGA according to claim 1, characterized in that: The simulated return data transmission module is specifically: The simulated return data transmission module receives the enable signal, clock signal and data signal transmitted by the FPGA through the LVDS interface, converts them into return data through serial conversion, and verifies the frame header, frame length, data code and check code of the return data.
5. The all-digital simulation verification system for adjacent space link transceiver FPGA according to claim 1, characterized in that: The simulated intermediate frequency signal sending module is specifically: The simulated intermediate frequency signal sending module realizes data framing, coding, modulation and digital up-conversion, and finally generates an intermediate frequency signal and sends it to the FPGA; When framing, the simulated intermediate frequency signal sending module realizes the simulation and injection of data faults of adjacent link transmission units, including frame header errors, synchronization flag errors, and check code errors; During digital up-conversion, the simulated intermediate frequency signal sending module realizes normal or abnormal setting of carrier frequency setting, frequency deviation setting, and frequency deviation change rate through parameter configuration, and tests the receiving range and boundary of the FPGA intermediate frequency signal.
6. The all-digital simulation verification system for adjacent space link transceiver FPGA according to claim 1, characterized in that: The simulated intermediate frequency signal receiving module is specifically: The simulated intermediate frequency signal receiving module realizes the reception, carrier capture tracking, decoding, frame synchronization, and frame checking of the intermediate frequency signal, and finally obtains a data frame or a management frame; The simulated intermediate frequency signal receiving module verifies the frame header, synchronization flag bit and check code of the adjacent link transmission unit.
7. The all-digital simulation verification system for adjacent space link transceiver FPGA according to claim 1, characterized in that: The adjacent space link protocol processing module is specifically: The adjacent space link protocol processing module realizes the generation, transmission and reception of adjacent space protocol data frames or management frames according to the communication scenario of the adjacent space protocol, wherein, in different communication scenarios, the management frames include frames including link initial parameter frames, reply frames, link parameter change frames, and abnormal retransmission reply frames; The communication scenarios include a simplex communication scenario, a duplex communication scenario, a normal data communication scenario, a communication parameter change scenario, and an abnormal data automatic retransmission scenario.
8. The all-digital simulation verification system for adjacent space link transceiver FPGA according to claim 7, characterized in that: The simplex communication scenario is specifically: The adjacent space link protocol processing module simulates the simplex communication scenario of the adjacent space protocol to implement the sending of transmitter data frames in the simplex scenario transmitter mode and the receiving of transmitter data frames in the simplex scenario receiver mode.
9. The all-digital simulation verification system for adjacent space link transceiver FPGA according to claim 7, characterized in that: The duplex communication scenario is specifically: The adjacent space link protocol processing module simulates the duplex communication scenario of the adjacent space protocol; In the calling party mode of the duplex communication scenario, the sending of the calling party link initial parameter frame and the receiving of the called party reply frame are realized; In the called party mode of the duplex communication scenario, receiving the calling party link initial parameter frame and sending the called party reply frame are realized; And after the duplex communication scenario, three scenarios thereafter are implemented: the normal data communication scenario, the communication parameter change scenario and the abnormal data automatic retransmission scenario.
10. The all-digital simulation verification system for adjacent space link transceiver FPGA according to claim 7, characterized in that: The normal data communication scenario is specifically: The adjacent space link protocol processing module simulates the duplex normal data communication scenario; When the data state is in the business data initiator mode, the sending of the initiator data frame and the receiving of the responder reply frame are realized; When the data state is in the business data responder mode, the initiator receives the data frame and the responder sends the reply frame.
11. The all-digital simulation verification system for adjacent space link transceiver FPGA according to claim 7, characterized in that: The communication parameter change scenario is specifically: The adjacent space link protocol processing module simulates the duplex communication parameter change scenario; In the parameter change initiator mode, the initiator sends the link parameter change frame and receives the responder reply frame under the new communication parameters, and then changes the local parameters of the parameter change initiator to the new parameters; In the parameter change responder mode when the change state is in progress, the initiator receives the link parameter change frame, sets the local parameters of the parameter change responder to the new parameters, and then sends the responder reply frame under the new communication parameters; When the local parameters of the parameter change initiator and responder are updated, the duplex communication performs normal data communication services under the new communication parameters.
12. The all-digital simulation verification system for adjacent space link transceiver FPGA according to claim 7, characterized in that: The abnormal data automatic retransmission scenario is specifically: The adjacent space link protocol processing module simulates the duplex abnormal data automatic retransmission scenario; In the retransmission state, in the automatic retransmission initiator mode, the abnormal retransmission reply frame is sent and the data frame to be retransmitted is received. When the retransmission is successful, the retransmission flag is set to 0 and a normal reply frame is sent; In the retransmission state, in the automatic retransmission responder mode, the reception of abnormal retransmission reply frames is realized, and the retransmission data frame number is set, and then the data frame to be retransmitted is sent and the normal reply frame is received; Finally, normal duplex data communication services are carried out under the new frame number sequence.
13. The all-digital simulation verification system for adjacent space link transceiver FPGA according to claim 1, characterized in that: The forward data transmission module is specifically: The forward data transmission module receives the forward data transmitted by the adjacent space link protocol processing module, compares it with the data generated in the simulated forward data generation module, and counts the bit error rate of the FPGA uplink in different scenarios.
14. The all-digital simulation verification system for adjacent space link transceiver FPGA according to claim 1, characterized in that: The return data generation module is specifically: The return data generation module generates the return data required by the adjacent space link protocol processing module, compares and verifies it with the data received in the simulated return data downlink module, and counts the bit error rate of the FPGA downlink in different scenarios.
