A high-speed interface self-loop test device and test method based on FMC standard
Through the high-speed interface self-loop testing device based on the FMC standard, self-loop testing is performed using dial switches and clock generators, the problem of high-speed link testing in the modular data acquisition system is solved, and rapid fault location and interface testing are realized, which is improved. Design and debugging efficiency.
Patent Information
- Application Number
- CN201911178245.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-11-27
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2039-11-27
AI Technical Summary
In highly integrated circuits and FPGA applications, high-speed link testing of modular data acquisition systems is difficult to achieve rapid fault location and effective testing across FMC connector interfaces, resulting in inefficient design and debugging.
Design a high-speed interface self-loop testing device based on the FMC standard, including an FMC connector, a dial switch, a clock generator and a power module. The dial switch controls the on-off between the input and the output, and uses the reference clock and test data. Perform self-loop testing to determine whether the interface is working normally.
It realizes rapid fault location of carrier board links during the R&D and debugging stage and self-loop testing of all interfaces during the mass production stage, improves testing efficiency and accuracy, and is suitable for high-speed interfaces of modular data acquisition systems based on FMC standards. link.
Smart Images

Figure CN110912623B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a high-speed interface self-loop test device and a test method based on the FMC standard. Background Art
[0002] With the rapid development of highly integrated circuits and FPGA applications, modular architecture design of test systems has become a trend. FMC (FPGA Mezzanine Card) is an interconnection interface specifically defined for FPGA and is widely used in the design and implementation of modular data acquisition systems. On the one hand, the reusability and reconfiguration between FMC modules lay the foundation for the realization of multi-functional data acquisition systems. On the other hand, the high-speed multi-pin characteristics of the FMC interface help to improve the system's performance indicators such as sampling rate and bandwidth. Therefore, the design of data acquisition systems based on the FMC modular architecture has gradually become a research hotspot in recent years.
[0003] By connecting the interface of the FPGA on the carrier board to the FMC connector, a modular daughter card design based on the FMC standard can be performed. Different data acquisition systems and functions can be realized through the daughter card. If iterative design or replacement of the external interface module is required, it is only necessary to replace the FMC daughter card without redesigning the board and re-commissioning it. On the one hand, it greatly realizes the reconfigurability, scalability and reusability of the board, and on the other hand, it greatly shortens the design and production cycle, realizing rapid research and development and iteration of products.
[0004] The design and implementation of the modular data acquisition system increases the flexibility of the system. On the other hand, the data acquisition interface link needs to connect the external interface on the daughter card across the FMC connector from the carrier board. High-speed links usually have high requirements for PCB routing. Therefore, this brings challenges to the high-speed acquisition link with a single link rate of up to 10G. Therefore, how to quickly locate faults in the R&D and debugging stage and how to perform interface testing on the carrier board across the FMC connector in the mass production stage are urgent issues that need to be solved. Summary of the invention
[0005] The purpose of the present invention is to provide a high-speed interface self-loop test device and test method based on the FMC standard. In the research and development and debugging stage, the carrier board and the daughter card are separated, and the self-loop test can be performed on the carrier board interface alone; in the mass production stage, all high-speed interfaces of the carrier board across the FMC connector can be self-loop tested.
[0006] In order to solve the above technical problems, the technical solution of the present invention is as follows: a high-speed interface self-loop test device based on the FMC standard comprises a first FMC connector, a dip switch, a clock generator and a power module; one end of the dip switch is connected to the input interface of the first FMC connector, and the other end is connected to the output interface of the first FMC connector, and the input interface and the output interface constitute an FMC interface; the dip switch is used to control the on-off between the input and output of the same link of the first FMC connector to perform a self-loop test; the clock generator is connected to the clock signal end of the first FMC connector to provide a reference clock to the first FMC connector; the input end of the power module is connected to the power output end of the first FMC connector, and the output end of the power module is connected to the power end of the clock generator to provide a working voltage to the clock generator.
[0007] According to the above solution, a DIP switch is provided between the input interface and the output interface of all links of the first FMC connector.
[0008] According to the above scheme, the clock generator is used to generate a reference clock of 156.25 MHz.
[0009] According to the above scheme, the power module is used to convert the 12V voltage supplied by the tested carrier board into 2.5V; the power module adopts the NCP1575 low voltage step-down controller for voltage conversion.
[0010] According to the above solution, the first FMC connector is an HPC connector.
[0011] A high-speed interface self-loop test method based on the FMC standard, using the high-speed interface self-loop test device based on the FMC standard, the test method steps include:
[0012] S1: Connect the self-loop test device to the carrier board under test;
[0013] S2: The board under test is powered on and running;
[0014] S3: Check whether the FPGA on the tested carrier board receives the reference clock sent by the self-loop test device. If the reference clock is received, execute step S4;
[0015] S4: Turn the DIP switch to the connection end, and the link is connected;
[0016] S5: The FPGA on the tested board sends test data to each sending interface at the same time, and the FPGA on the tested board receives the test data from each receiving interface and verifies whether the received data is consistent with the sent data;
[0017] S6: Turn the DIP switch to the disconnect end, and the link is disconnected;
[0018] S7: The FPGA on the tested board sends test data to each sending interface at the same time, and the FPGA on the tested board receives the test data from each receiving interface at the same time, and checks whether the data can be received;
[0019] S8: Compare the test results of S5 and S7. If the received data in step S5 is consistent with the sent data and no data can be received in step S7, it is determined that the carrier interface is normal; otherwise, it is determined that the carrier interface is faulty.
[0020] The present invention has the following beneficial effects:
[0021] The FMC interface of the first FMC connector of the present invention comprises an input interface and an output interface, a dial switch is arranged between the input interface and the output interface of a single link, and the FMC interface is correspondingly connected to the carrier interface of the carrier board under test; by generating test data by an FPGA on the carrier board under test and outputting it through a sending interface, the FPGA is led to the input interface and the output interface of the first FMC connector by a self-loop test device, the input interface and the output interface are connected through a dial switch, the test data sent by the sending interface is looped back to the receiving interface of the FPGA on the carrier board under test, and then the FPGA verifies whether the received data is consistent with the sent data to determine whether the corresponding sending interface or receiving interface works normally; the present invention realizes that the carrier board link can be self-loop tested separately in the research and development debugging stage to quickly locate the fault and the carrier board can be self-loop tested across all interface links of the FMC connector in the mass production stage. The present invention can be applied to the self-loop test of the high-speed interface link of the modular data acquisition system based on the FMC standard, and can be extended to the self-loop test of any high-speed and low-speed interface link based on the FPGA and the FMC connector. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a schematic diagram of the overall structure of an embodiment of a testing device of the present invention;
[0023] Figure 2 This is a schematic diagram of an embodiment of the test device of the present invention performing a self-loop test on all high-speed interfaces of a carrier board separately;
[0024] Figure 3 A schematic diagram of a test device according to an embodiment of the present invention performing a self-loop test on all high-speed interfaces across an FMC connector of a carrier board;
[0025] Figure 4 A circuit schematic diagram of a power supply module in an embodiment of a testing device of the present invention;
[0026] Figure 5 The figure is a flow chart of an embodiment of the testing method of the present invention.
[0027] Figure numerals: 1. first FMC connector; 101. FMC interface; 101a. output interface; 101b. input interface; 2. dip switch; 3. clock generator; 4. power module; 5. FPGA; 501. carrier board interface; 501a. transmission interface; 501b. reception interface; 6. second FMC connector. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0029] Please refer to Figures 1 to 4 The present invention is a high-speed interface self-loop test device based on the FMC standard, which includes a first FMC connector 1, a dip switch 2, a clock generator 3 and a power module 4; one end of the dip switch 2 is connected to the input interface 101b of the first FMC connector 1, and the other end is connected to the output interface 101a of the first FMC connector 1, and the input interface 101b and the output interface 101a constitute the FMC interface 101; the dip switch 2 is used to control the on-off between the input and output of the same link of the first FMC connector 1 so as to perform a self-loop test;
[0030] The clock generator 3 is connected to the clock signal end of the first FMC connector 1 for providing a reference clock to the first FMC connector 1; the input end of the power module 4 is connected to the power output end of the first FMC connector 1, and the output end of the power module 4 is connected to the power end of the clock generator 3 for providing an operating voltage to the clock generator 3.
[0031] In this embodiment, the first FMC connector 1 is an HPC connector; the FMC connector is a high-density, high-speed connector designed by Samtec Corporation of the United States to be used as a standard interface to the FPGA 5 on the carrier card, supporting a signal transmission rate of up to 10 Gb / s.
[0032] A dip switch 2 is provided between the input interface 101b and the output interface 101a of all links of the first FMC connector 1; the clock generator 3 is used to generate a reference clock of 156.25MHz, and supplies it to the FPGA5 of the tested carrier board through the first FMC connector 1; the power module 4 is used to convert the 12V voltage supplied by the tested carrier board into 2.5V; the power module 4 uses the NCP1575 low voltage step-down controller for voltage conversion. For the specific voltage conversion principle of the power module 4, please refer to Figure 4 The circuit shown.
[0033] The first implementation method:
[0034] During the development and debugging phase of the test device of the present invention, the carrier board and the daughter card are isolated, and a self-loop test is performed on the carrier board interface 501 link alone. The connection relationship diagram of the test device of the present invention and the carrier board is shown in FIG. Figure 2 FPGA5G is connected to the first FMC connector 1 to provide the first FMC connector 1 with a 12V power supply voltage; the clock signal end of the first FMC connector 1 outputs a clock signal to FPGA5, and the carrier interface 501 used for FPGA5 can send test data or receive test data at the same time; the sending interface 501a of FPGA5 is correspondingly connected to the output interface 101a of the first FMC connector 1, and the receiving interface 501b of FPGA5 is correspondingly connected to the input interface 101b of the first FMC connector 1; during the development and debugging stage of the test device of the present invention, the carrier link interface can be separately A self-loop test is performed by generating test data on the FPGA5 on the tested board and outputting it through the sending interface 501a. The self-loop test device leads the FPGA5 to the input interface 101b and the output interface 101a of the first FMC connector 1. The input interface 101b and the output interface 101a are connected through the DIP switch 2. The test data sent by the sending interface 501a is looped back to the receiving interface 501b of the FPGA5 on the tested board. Then, the FPGA5 verifies whether the received data is consistent with the sent data to determine whether the corresponding sending interface 501a or the receiving interface 501b is working properly.
[0035] The second implementation method:
[0036] In the mass production stage, the test device of the present invention has a second FMC connector 6 in the carrier board for connecting with the daughter card. If it is necessary to iterate the design or replace the external interface module, it is only necessary to replace the FMC daughter card without redesigning the carrier board. Therefore, in the mass production stage, when the self-loop test is performed on all the carrier board interface 501 links across the second FMC connector 6 of the carrier board, the connection relationship diagram of the test device of the present invention and the second FMC connector 6 of the carrier board is shown in FIG. Figure 3, its connection mode is basically the same as that of the first embodiment, except that a second FMC connector 6 is provided between the first FMC connector 1 and the FPGA5, the second FMC connector 6 corresponds to each interface of the first FMC connector 1, and the second FMC connector 6 corresponds to each interface of the FPGA5; in this embodiment, by generating test data on the FPGA5 on the tested board, outputting it across the second FMC connector 6 via the sending interface 501a, the FPGA5 is led to the input interface 101b and the output interface 101a of the first FMC connector 1 by the self-loop test device, the input interface 101b and the output interface 101a are connected via the DIP switch 2, the test data sent by the sending interface 501a is looped back to the receiving interface 501b of the FPGA5 on the tested board, and then the FPGA5 verifies whether the received data is consistent with the sent data, so as to determine whether the corresponding sending interface 501a or the receiving interface 501b works normally.
[0037] See also Figure 5 The present invention adopts a test method of a high-speed interface self-loop test device based on the FMC standard, and the specific steps are:
[0038] S1: Connect the self-loop test device to the board under test. For specific connection relationship and data flow, refer to Figure 2 or Figure 3 ;
[0039] S2: The board under test is powered on and running;
[0040] S3: Check whether the FPGA5 on the carrier board under test receives the 156.25 MHz reference clock sent by the self-loop test device. If the reference clock is received, execute step S4;
[0041] S4: Turn the DIP switch 2 to the connection end, and the link is connected;
[0042] S5: The FPGA5 on the tested carrier board sends test data to each sending interface 501a at the same time, and the FPGA5 on the tested carrier board receives the test data from each receiving interface 501b, and verifies whether the received data is consistent with the sent data;
[0043] S6: Turn the DIP switch 2 to the disconnect end, and the link is disconnected;
[0044] S7: The FPGA5 on the tested carrier board sends test data to each sending interface 501a at the same time, and the FPGA5 on the tested carrier board receives the test data from each receiving interface 501b at the same time, and checks whether the data can be received;
[0045] S8: Compare the test results of S5 and S7. If the received data in step S5 is consistent with the sent data and no data can be received in step S7, it is determined that the carrier interface 501 is normal; otherwise, it is determined that the carrier interface 501 is faulty.
[0046] The above contents are further detailed descriptions of the present invention in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A high-speed interface self-loop test device based on the FMC standard, characterized by: It comprises a first FMC connector (1), a dip switch (2), a clock generator (3) and a power supply module (4); One end of the dip switch (2) is connected to the input interface (101b) of the first FMC connector (1), and the other end is connected to the output interface (101a) of the first FMC connector (1), and the input interface (101b) and the output interface (101a) constitute an FMC interface (101); the dip switch (2) is used to control the on / off between the input and output of the same link of the first FMC connector (1) so as to perform a self-loop test; The clock generator (3) is connected to the clock signal terminal of the first FMC connector (1) and is used to provide a reference clock to the first FMC connector (1); The input end of the power module (4) is connected to the power output end of the first FMC connector (1), and the output end of the power module (4) is connected to the power end of the clock generator (3) for providing an operating voltage to the clock generator (3).
2. The high-speed interface self-loop test device based on the FMC standard according to claim 1, characterized in that: A dip switch (2) is provided between the input interface (101b) and the output interface (101a) of all links of the first FMC connector (1).
3. The high-speed interface self-loop test device based on the FMC standard according to claim 1, characterized in that: The clock generator (3) is used to generate a reference clock of 156.25 MHz.
4. The high-speed interface self-loop test device based on the FMC standard according to claim 1, characterized in that: The power supply module (4) is used to convert the 12V voltage supplied by the tested carrier board into 2.5V; the power supply module (4) uses an NCP1575 low-voltage step-down controller to perform voltage conversion.
5. The high-speed interface self-loop test device based on the FMC standard according to claim 1, characterized in that: The first FMC connector (1) is a HPC connector.
6. A high-speed interface self-loop test method based on the FMC standard, characterized in that: Using the high-speed interface self-loop test device based on the FMC standard according to any one of claims 1 to 5, the test method steps include: S1: Connect the self-loop test device to the carrier board under test; S2: The board under test is powered on and running; S3: whether the FPGA (5) on the tested carrier board receives the reference clock sent by the self-loop test device, and if the reference clock is received, execute step S4; S4: Turn the DIP switch (2) to the connection end, and the link is connected; S5: the FPGA (5) on the tested carrier board simultaneously sends test data to each sending interface (501a), the FPGA (5) on the tested carrier board receives the test data from each receiving interface (501b), and checks whether the received data is consistent with the sent data; S6: Turn the DIP switch (2) to the disconnect position to disconnect the link. S7: the FPGA (5) on the tested carrier board simultaneously sends test data to each sending interface (501a), and the FPGA (5) on the tested carrier board simultaneously receives the test data from each receiving interface (501b), and checks whether the data can be received; S8: Compare the test results of S5 and S7. If the received data in step S5 is consistent with the sent data and no data can be received in step S7, it is determined that the carrier interface (501) is normal; otherwise, it is determined that the carrier interface (501) is faulty.
