A signal test circuit, a signal test method, a device and a medium

By acquiring the communication data under test through signal testing circuit and data extraction circuit, adding disturbance signals and analyzing the maximum disturbance signal, the problem of large signal testing error in the existing technology is solved, and higher accuracy and reliability are achieved.

CN116760753BActive Publication Date: 2026-03-24INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-16
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

Existing signal testing methods suffer from large testing errors, low accuracy, and low reliability during data transmission, especially in PCIe signal testing, where system jitter and differences in transmission protocols between different chips lead to inaccurate test results.

Method used

A signal testing circuit is provided, including a controller and a data extraction circuit. The data extraction circuit acquires the communication data under test and adds a disturbance signal to generate performance index data. The controller analyzes and determines the maximum disturbance signal to judge the performance of the communication link, reducing system disturbance and avoiding the need to use an oscilloscope to convert to standard code.

Benefits of technology

It improves the accuracy and reliability of signal testing, reduces system jitter, lowers testing costs, and enables the judgment of communication link performance based on the maximum disturbance value that the signal can withstand, without the need for quantitative analysis of signal conversion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116760753B_ABST
    Figure CN116760753B_ABST
Patent Text Reader

Abstract

The application relates to the communication field and discloses a signal test circuit and a signal test method, device and medium, which comprise a controller and a data extraction circuit. A first input end of the data extraction circuit is connected with a communication link to be tested to obtain communication data to be tested. A second input end of the data extraction circuit is connected with the controller to obtain a disturbance signal sent by the controller and to generate performance index data according to the disturbance signal and the communication data to be tested. The controller is further connected with an output end of the data extraction circuit to obtain the performance index data and to analyze the performance index data to determine a maximum disturbance signal capable of making the performance index data meet preset conditions, so as to determine the performance of the communication link to be tested. The application obtains the communication data to be tested through the data extraction circuit and analyzes the communication data to be tested added with the disturbance signal through the controller to determine the performance of the communication link to be tested. The tested data does not need to be converted into standard codes, so that the accuracy and reliability of the test result are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of signal processing, and in particular to a signal testing circuit, signal testing method, apparatus, and medium. Background Technology

[0002] With the development of computer technology, server chips need to process increasingly larger amounts of data. Since multiple chips need to collaborate during data processing, data needs to be transferred between them. Therefore, signal integrity testing is required to test the accuracy and security of data transmission between chips to ensure normal data transmission.

[0003] Currently, data signal capture and analysis are primarily achieved using specialized fixtures and high-speed oscilloscopes for integrity testing. Taking the testing process of Peripheral Component Interconnect Express (PCIe) signals as an example... Figure 1 For example, a PCIe signal testing system, such as Figure 1 As shown, the test system includes a bit error rate analyzer, an oscilloscope, and a test fixture. Because the fixture uses multiple load boards, detection boards, and oscilloscopes, it introduces excessive system jitter, resulting in significant testing errors during precise testing. Furthermore, in existing testing solutions, different chips use different transmission protocols, leading to different data stream encoding methods. To ensure the test fixture and oscilloscope are suitable for different testing scenarios, the data stream needs to be converted to a standard code for signal testing. This method prevents the testing process from assessing the effects of crosstalk, further reducing the accuracy and reliability of the test results.

[0004] Therefore, how to provide a more accurate and reliable signal testing circuit to better test transmitted data is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] The purpose of this invention is to provide a signal testing circuit, signal testing method, device, and medium to improve the accuracy and reliability of test results.

[0006] To address this technical problem, the present invention provides a signal testing circuit, comprising:

[0007] Controller and data extraction circuit;

[0008] The first input terminal of the data extraction circuit is connected to the communication link under test to obtain the communication data under test. The second input terminal of the data extraction circuit is connected to the controller to obtain the disturbance signal sent by the controller, and generates performance index data based on the disturbance signal and the communication data under test.

[0009] The controller is also connected to the output of the data extraction circuit to obtain the performance index data, analyze the performance index data to determine the maximum disturbance signal that can make the performance index data meet the preset conditions, and determine the performance of the communication link under test based on the maximum disturbance signal.

[0010] In some embodiments, the data extraction circuit includes an odd-numbered sampling circuit, an even-numbered sampling circuit, and a frequency control circuit;

[0011] The odd-numbered sampling circuit includes an input circuit and a first adder circuit. The first end of the first adder circuit is connected to the communication link to obtain the communication data to be tested, and the second end of the first adder circuit is connected to the controller to obtain the disturbance signal corresponding to the odd-numbered sampling circuit.

[0012] The even-number sampling circuit includes an input circuit and a second adder circuit. The first end of the second adder circuit is connected to the communication link to obtain the communication data to be tested, and the second end of the second adder circuit is connected to the controller to obtain the disturbance signal corresponding to the even-number sampling circuit.

[0013] The input terminal of the frequency control circuit is connected to a clock source to obtain a sampling frequency signal. The output terminal of the frequency control circuit is connected to the third input terminal of the first adder circuit. The output terminal of the frequency control circuit is connected to the third input terminal of the second adder circuit after passing through an inverting circuit.

[0014] The output terminals of both the odd-numbered sampling circuit and the even-numbered sampling circuit are connected to the controller to output the performance index data.

[0015] In some embodiments, the output frequency of the frequency control circuit is half the frequency of the communication data under test.

[0016] To address the aforementioned technical problems, the present invention also provides a signal testing method applied to a signal testing circuit including a controller and a data extraction circuit; wherein, a first input terminal of the data extraction circuit is connected to the communication link under test, a second input terminal of the data extraction circuit is connected to the controller, and the controller is also connected to the output terminal of the data extraction circuit; the signal testing method includes:

[0017] Acquire the performance index data sent by the data extraction circuit; wherein, the performance index data is generated by the data extraction circuit based on the communication data to be tested and the disturbance data;

[0018] The performance index data is analyzed to determine the maximum disturbance signal that can make the performance index data meet the preset conditions.

[0019] The performance of the communication link under test is determined based on the maximum disturbance signal.

[0020] In some embodiments, the analysis of the performance index data includes:

[0021] Obtain the eye diagram and bit error rate of the performance metrics data;

[0022] The performance value of the performance index data is determined based on the eye diagram, the link parameters of the communication link under test, and the bit error rate.

[0023] In some embodiments, before the step of obtaining the performance index data sent by the data extraction circuit, the method further includes:

[0024] Obtain the broadcast message of the communication link under test;

[0025] Parse the broadcast message to obtain the token value;

[0026] Determine the communication management protocol corresponding to the token value;

[0027] According to the communication management protocol, the signal is synchronized with the communication link under test, and a communication connection is established.

[0028] In some embodiments, after determining the performance of the communication link under test based on the maximum disturbance signal, the method further includes:

[0029] Determine whether the maximum disturbance signal is less than a preset disturbance value;

[0030] If the disturbance value is less than the preset disturbance value, the transmitting and receiving ends of the communication link under test will be adjusted.

[0031] To address the aforementioned technical problems, the present invention also provides a signal testing device applied to a signal testing circuit including a controller and a data extraction circuit; wherein, a first input terminal of the data extraction circuit is connected to the communication link under test, a second input terminal of the data extraction circuit is connected to the controller, and the controller is also connected to the output terminal of the data extraction circuit; the signal testing device includes:

[0032] The acquisition module is used to acquire performance index data sent by the data extraction circuit; wherein the performance index data is data generated by the data extraction circuit based on the communication data to be tested and the disturbance data.

[0033] The analysis module is used to analyze the performance index data to determine the maximum disturbance signal that can make the performance index data meet the preset conditions.

[0034] A determination module is used to determine the performance of the communication link under test based on the maximum disturbance signal.

[0035] To address the aforementioned technical problems, the present invention also provides a signal testing device, including a memory for storing computer programs;

[0036] A processor is used to implement the steps of the signal testing method when executing the computer program.

[0037] To address the aforementioned technical problems, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the signal testing method described above.

[0038] This invention provides a signal testing circuit, comprising: a controller and a data extraction circuit; the first input terminal of the data extraction circuit is connected to the communication link under test (DUT) to acquire DUT communication data; the second input terminal of the data extraction circuit is connected to the controller to acquire a disturbance signal sent by the controller, and generates performance index data based on the disturbance signal and DUT communication data. This process eliminates the need for an oscilloscope, reducing introduced system disturbances. The controller is also connected to the output terminal of the data extraction circuit to acquire the performance index data, analyze the performance index data to determine the maximum disturbance signal that allows the performance index data to meet preset conditions, and determine the performance of the DUT communication link based on the maximum disturbance signal. Therefore, the signal testing circuit provided by this invention acquires DUT communication data through the data extraction circuit and processes the DUT communication data with added disturbance signals through the controller to determine the performance of the DUT communication link. Compared to existing testing methods, this reduces introduced system disturbances. Furthermore, since this solution determines the performance of the communication link based on the maximum disturbance value that the signal can withstand, there is no need for quantitative analysis of the signal in the DUT communication link, and therefore no need to convert the DUT data into standard code, thereby improving the accuracy and reliability of the test results.

[0039] In some embodiments, the signal testing method provided by the present invention includes analyzing performance index data by: acquiring the eye diagram and bit error rate of the performance index data; and determining the performance value of the performance index data based on the eye diagram, the link parameters of the communication link under test, and the bit error rate. In a specific implementation, after adding a perturbation signal to the communication data under test, the performance of the data is determined through the eye diagram and the communication link, thereby determining the performance of the communication link under test, so as to take timely measures when the performance is poor.

[0040] In some embodiments, before the step of acquiring the performance index data sent by the data extraction circuit, the signal testing method provided by the present invention further includes: acquiring the broadcast message of the communication link under test; parsing the broadcast message to obtain a token value; determining the communication management protocol corresponding to the token value; and synchronizing the signal with the communication link under test according to the communication management protocol and establishing a communication connection. In this embodiment, by acquiring the token value of the data under test, a corresponding communication management protocol is selected to establish communication, thereby improving the application scope of the signal testing method provided by the present invention.

[0041] In some embodiments, after determining the performance of the communication link under test based on the maximum disturbance signal provided by the present invention, the method further includes: determining whether the maximum disturbance signal is less than a preset disturbance value; if it is less than the preset disturbance value, adjusting the transmitting end and receiving end of the communication link under test. If the maximum disturbance signal that the transmission link can withstand is less than the preset disturbance value, adjusting the communication link under test to optimize it, thereby improving the data transmission capability of the link.

[0042] Furthermore, this invention also provides a signal testing method, apparatus, and medium applied to a signal testing circuit, comprising: a controller and a data extraction circuit; the first input terminal of the data extraction circuit is connected to the communication link under test to acquire the communication data under test; the second input terminal of the data extraction circuit is connected to the controller to acquire the disturbance signal sent by the controller, and generates performance index data based on the disturbance signal and the communication data under test. In this process, no oscilloscope is required, reducing the introduced system disturbance; the controller is also connected to the output terminal of the data extraction circuit to acquire the performance index data, analyze the performance index data to determine the maximum disturbance signal that enables the performance index data to meet preset conditions, and determine the performance of the communication link under test based on the maximum disturbance signal. Therefore, the signal testing circuit provided by this invention acquires the communication data under test through the data extraction circuit and processes the communication data under test with added disturbance signal through the controller to determine the performance of the communication link under test. Compared with existing testing methods, this reduces the introduced system disturbance. Meanwhile, since this scheme judges the performance of the communication link based on the maximum disturbance value that the signal can withstand, there is no need to perform quantitative analysis of the signal in the communication link under test, and there is no need to convert the data under test into standard code, thereby improving the accuracy and reliability of the test results. Attached Figure Description

[0043] To more clearly illustrate the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0044] Figure 1 This is a PCIe signal testing system;

[0045] Figure 2 This is a structural diagram of a signal testing circuit provided in an embodiment of the present invention;

[0046] Figure 3 A structural diagram of a data extraction circuit provided in an embodiment of the present invention.

[0047] Figure 4 A flowchart of a signal testing method provided in an embodiment of the present invention;

[0048] Figure 5 This is a timing diagram for establishing a communication connection provided in an embodiment of the present invention;

[0049] Figure 6 This is a connection diagram of a communication link under test provided in an embodiment of the present invention;

[0050] Figure 7This is a schematic diagram of an eye diagram provided in an embodiment of the present invention;

[0051] Figure 8 This is a PCIe test data graph;

[0052] Figure 9 This is a structural diagram of a signal testing device provided in an embodiment of the present invention;

[0053] Figure 10 This is a structural diagram of another signal testing device provided in an embodiment of the present invention;

[0054] The attached diagram is labeled as follows: 1 is the controller, 2 is the data extraction circuit, 3 is the odd-numbered sampling circuit, 4 is the even-numbered sampling circuit, and 5 is the frequency control circuit. Detailed Implementation

[0055] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present invention.

[0056] The core of this invention is to provide a signal testing circuit, signal testing method, device, and medium to improve the accuracy and reliability of test results, so as to more accurately grasp the performance of the communication link.

[0057] To enable those skilled in the art to better understand the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0058] Due to the centralized and diverse nature of chips, ensuring the security and accuracy of data transmission between chips is crucial for achieving data computation and scheduling. Signal integrity testing has emerged in this context. Signal integrity testing involves measuring and comparing multiple parameters of a signal based on a series of signal quality metrics using measurement equipment. Key issues considered in signal integrity verification include eye diagrams, ringing, crosstalk, ground bounce, skew, signal loss, and noise in the power supply. Simultaneously, the transmission efficiency and loss ratio of signals in cables and PCBs are also important indicators for measuring the quality of physical signal transmission in the server industry. Traditional physical signal measurement, especially for high-speed signals such as PCIe, SAS, and USB, typically requires specialized fixtures from industry associations and high-speed oscilloscopes for signal data capture and analysis. For example, setting up a PCIe BERT test requires specialized fixtures, bit error rate testers, and dedicated cables, while the software requires SIGTest. Setting up a signal integrity testing environment is complex and unfriendly. The entire test environment includes specialized fixtures, oscilloscopes, and peripheral cables, resulting in a long setup period. Furthermore, each setup only allows measurement of one lane. Taking a PCIe SLOT with a bandwidth of x16 as an example, testing a complete x16 SLOT requires setting up the environment 16 times, which is time-consuming and labor-intensive, increasing wear and tear on fixtures and cables, and incurring significant time and equipment costs. Simultaneously, the use of numerous load boards during test environment setup introduces excessive system jitter, especially during precision testing, where measurement errors increase dramatically. While oscilloscopes can reduce introduced system jitter through self-calibration, this sacrifices the computational performance of the oscilloscope's internal DSP chip. Moreover, the data used throughout the testing process is a standard code pattern, not the actual signal transmission data stream. When measuring signals, the impact of crosstalk cannot be accounted for, compromising the accuracy and reliability of the test results. To improve the accuracy of signal testing and reduce testing costs, this invention provides a signal testing circuit, including a controller and a data extraction circuit. The first input terminal of the data extraction circuit is connected to the communication link under test (DUT) to acquire DUT data. The second input terminal of the data extraction circuit is connected to the controller to acquire a disturbance signal sent by the controller. Based on the disturbance signal and the DUT data, performance index data is generated. This process eliminates the need for an oscilloscope, reducing introduced system disturbances. The controller is also connected to the output terminal of the data extraction circuit to acquire the performance index data and analyze it to determine the maximum disturbance signal that enables the performance index data to meet preset conditions. The performance of the DUT communication link is then determined based on the maximum disturbance signal.Therefore, the signal testing circuit provided by this invention acquires the communication data under test through a data extraction circuit and processes the communication data under test with added perturbation signals through a controller to determine the performance of the communication link under test. Compared with existing testing methods, this reduces the perturbation introduced into the system. Furthermore, since this solution judges the performance of the communication link based on the maximum perturbation value that the signal can withstand, there is no need for quantitative analysis of the signal in the communication link under test, and therefore no need to convert the data under test into standard code, thereby improving the accuracy and reliability of the test results.

[0059] Figure 2 A structural diagram of a signal testing circuit provided in an embodiment of the present invention is shown below. Figure 2 As shown, the circuit includes: a controller and a data extraction circuit; the first input terminal of the data extraction circuit is connected to the communication link under test to obtain the communication data under test, and the second input terminal of the data extraction circuit is connected to the controller to obtain the disturbance signal sent by the controller, and generate performance index data based on the disturbance signal and the communication data under test.

[0060] The controller is also connected to the output of the data extraction circuit to obtain performance index data, analyze the performance index data to determine the maximum disturbance signal that can make the performance index data meet the preset conditions, and determine the performance of the communication link under test based on the maximum disturbance signal.

[0061] In practical implementation, the first input terminal of the data extraction circuit is connected to the communication link under test to acquire the communication data. Since different communication links under test use different communication protocols, in order to ensure that the data extraction circuit can obtain complete communication data, the data extraction circuit also needs to first obtain the communication protocol used by the communication link under test and establish a communication connection with the communication link under test.

[0062] The data extraction circuit captures real-time data code streams using a watchdog timer or data slicing method. The captured data is then processed by the internal AIBS equalization circuit module to perform real-time eye diagram or bit error rate calculation.

[0063] This embodiment provides a signal testing circuit, including a controller and a data extraction circuit. The first input terminal of the data extraction circuit is connected to the communication link under test (DUT) to acquire the DUT communication data. The second input terminal of the data extraction circuit is connected to the controller to acquire the disturbance signal sent by the controller. Performance index data is generated based on the disturbance signal and the DUT communication data. This process eliminates the need for an oscilloscope, reducing introduced system disturbances. The controller is also connected to the output terminal of the data extraction circuit to acquire the performance index data and analyze it to determine the maximum disturbance signal that allows the performance index data to meet preset conditions. The performance of the DUT communication link is then determined based on the maximum disturbance signal. Therefore, the signal testing circuit provided by this invention acquires the DUT communication data through the data extraction circuit and processes the DUT communication data with added disturbance signals through the controller to determine the performance of the DUT communication link. Compared to existing testing methods, this reduces introduced system disturbances. Furthermore, since this solution determines the communication link performance based on the maximum disturbance value the signal can withstand, quantitative analysis of the signal in the DUT communication link is unnecessary, and the DUT data does not need to be converted to a standard code, thereby improving the accuracy and reliability of the test results.

[0064] Figure 3 This is a structural diagram of a data extraction circuit provided in an embodiment of the present invention, as shown below. Figure 3 As shown, the data extraction circuit includes an odd-numbered sampling circuit, an even-numbered sampling circuit, and a frequency control circuit.

[0065] The odd-numbered sampling circuit includes an input circuit and a first adder circuit. The first end of the first adder circuit is connected to the communication link to acquire the communication data to be tested, and the second end of the first adder circuit is connected to the controller to acquire the disturbance signal corresponding to the odd-numbered sampling circuit.

[0066] The even-number sampling circuit includes an input circuit and a second adder circuit. The first end of the second adder circuit is connected to the communication link to acquire the communication data to be tested, and the second end of the second adder circuit is connected to the controller to acquire the disturbance signal corresponding to the even-number sampling circuit.

[0067] The input terminal of the frequency control circuit is connected to the clock source to obtain the sampling frequency signal. The output terminal of the frequency control circuit is connected to the third input terminal of the first adder circuit. After passing through the inverting circuit, the output terminal of the frequency control circuit is connected to the third input terminal of the second adder circuit.

[0068] Both the output terminals of the odd-numbered sampling circuit and the even-numbered sampling circuit are connected to the controller to output performance index data. The output frequency of the frequency control circuit is used to adjust the sampling frequency, and its value can be determined according to actual conditions. In this embodiment, the output frequency of the frequency control circuit is half the frequency of the communication data under test.

[0069] Figure 4 A flowchart of a signal testing method provided in an embodiment of the present invention is shown below. Figure 4 As shown, the signal testing method provided by this invention is applied to a signal testing circuit including a controller and a data extraction circuit; wherein, the first input terminal of the data extraction circuit is connected to the communication link under test, the second input terminal of the data extraction circuit is connected to the controller, and the controller is also connected to the output terminal of the data extraction circuit; the signal testing method includes:

[0070] S10: Acquire the performance index data sent by the data extraction circuit; wherein, the performance index data is generated by the data extraction circuit based on the communication data under test and the disturbance data;

[0071] S11: Analyze the performance index data to determine the maximum disturbance signal that can make the performance index data meet the preset conditions;

[0072] S12: Determine the performance of the communication link under test based on the maximum disturbance signal.

[0073] The signal testing method provided by this invention acquires the communication data under test through a data extraction circuit, and then processes the communication data under test with added perturbation signals through a controller to determine the performance of the communication link under test. Compared with existing testing methods, this method reduces the perturbation introduced into the system. Furthermore, since this solution judges the performance of the communication link based on the maximum perturbation value that the signal can withstand, there is no need for quantitative analysis of the signal in the communication link under test, and therefore no need to convert the data under test into standard code, thereby improving the accuracy and reliability of the test results.

[0074] In practice, the analysis of performance index data includes: obtaining the eye diagram and bit error rate of the performance index data; and determining the performance value of the performance index data based on the eye diagram and the link parameters and bit error rate of the communication link under test.

[0075] Understandably, in order to ensure that the data extraction circuit can obtain complete communication data, the data extraction circuit also needs to first obtain the communication protocol used by the communication link under test and establish a communication connection with the communication link under test. Figure 5 The timing diagram for establishing a communication connection provided in the embodiments of the present invention is as follows: Figure 5As shown, in a preferred embodiment, before the step of obtaining the performance index data sent by the data extraction circuit in the above embodiment, the method further includes: obtaining the broadcast message of the communication link under test; parsing the broadcast message to obtain the token value; determining the communication management protocol corresponding to the token value; synchronizing the signal with the communication link under test according to the communication management protocol, and establishing a communication connection.

[0076] In practical implementation, the system can be customized with corresponding IP cores according to specific usage scenarios and establish communication connections based on these IP cores. For example, it can build protocols such as PCIe, SAS, SATA, USB, and Ethernet. When the user connects this system to the link under test via a signal divider, the module automatically receives broadcast messages from the link, automatically parses the message type and characteristics, and obtains a token. After obtaining the token value, the module automatically searches the ROM for a management protocol that matches the token value. Upon obtaining the matching management protocol, it automatically activates the diagnostic program, resynchronizes with the target signal, and establishes a connection.

[0077] Figure 6 A communication link connection diagram under test is provided in an embodiment of the present invention, such as... Figure 6 As shown, the data extraction circuit establishes a physical connection with the communication link under test through a link power divider. When the signal rate transmitted in the communication link under test is high, the power divider in this module can use the MUX Redriver principle to achieve signal noise reduction.

[0078] In addition, users can also manually set the matching link protocol based on the above principles after knowing the protocol type of the target signal, thereby realizing the signal link connection.

[0079] In a preferred embodiment, to improve the stability and security of the data transmission link, when the data transmission link is detected to not meet preset conditions, the transmission link can be adjusted according to the detection results. Based on the above embodiment, after determining the performance of the communication link under test according to the maximum disturbance signal, the method further includes: determining whether the maximum disturbance signal is less than a preset disturbance value; if it is less than the preset disturbance value, then adjusting the transmitting and receiving ends of the communication link under test.

[0080] In practical implementation, considering the complexity of adjusting the physical link, the solution provided in this invention only adjusts the transmitting and receiving chips of the link. Taking a PCIe link as an example, after establishing a connection with the communication link under test, the device can automatically switch the signal transmission parameters of the peer chip, such as TXEQ, and then use the data extraction and parsing module to calculate the eye diagram or bit error rate. After traversing the TXEQ, the magnitude of the eye diagram or bit error rate for each set of TXEQ parameters can be obtained, and then the parameters with better eye diagrams or bit error rates can be selected and applied to the actual link.

[0081] Taking PCIe link optimization as an example: The three-way power divider of the signal black-box testing system is connected to the link under test. After the link under test and the black-box system complete initialization, the protocol auto-negotiation module automatically retrieves the link signal packets and parses them to obtain the signaling. Upon parsing the PCIe protocol, the module automatically loads the PCIe management protocol stored in ROM, activates link training, and completes the link training process, entering the L0 state. After the auto-negotiation module completes link training and enters L0, the data extraction and parsing module, relying on the adaptive built-in equalization circuit, completes the circuit offset deflection, captures relevant eye diagram parameters such as EW, EH, and CTLE, and stores the relevant link parameters, as shown in Table 1.

[0082] Table 1

[0083]

[0084] Figure 7 This is a schematic diagram of an eye diagram provided in an embodiment of the present invention, such as... Figure 7 As shown, the performance of a communication link can be determined based on the shape of the eye diagram. When the performance of the communication link under test does not meet the preset conditions, a programming language can be used to control the communication link to achieve optimization. Taking a PCIe communication link as an example, the optimal communication link is determined by traversing TXEQ through the signal tuning module. Figure 8 This is a PCIe test data graph, where the vertical axis represents the anti-interference capability of the communication link, and the horizontal axis represents the combination of TXEQ. Figure 8 As can be seen from this, the optimal TXEQ with the strongest anti-interference capability is [0, 9].

[0085] In the above embodiments, the signal testing method has been described in detail. The present invention also provides embodiments corresponding to the signal testing device. It should be noted that the present invention describes the embodiments of the device from two perspectives: one based on functional modules, and the other based on hardware.

[0086] Figure 9 This is a structural diagram of a signal testing device provided in an embodiment of the present invention, as shown below. Figure 9 As shown, a signal testing circuit is applied, comprising a controller and a data extraction circuit; wherein, the first input terminal of the data extraction circuit is connected to the communication link under test, the second input terminal of the data extraction circuit is connected to the controller, and the controller is also connected to the output terminal of the data extraction circuit; the signal testing device includes:

[0087] The acquisition module 10 is used to acquire performance index data sent by the data extraction circuit; wherein, the performance index data is data generated by the data extraction circuit based on the communication data under test and the disturbance data;

[0088] Analysis module 11 is used to analyze performance index data to determine the maximum disturbance signal that can make the performance index data meet preset conditions.

[0089] The determination module 12 is used to determine the performance of the communication link under test based on the maximum disturbance signal.

[0090] Since the embodiments of the apparatus and the embodiments of the method correspond to each other, please refer to the description of the embodiments of the method for the embodiments of the apparatus, which will not be repeated here.

[0091] Furthermore, the technical solution provided by this invention also includes a communication establishment module and a communication link under test adjustment module. The communication establishment module is used to acquire the broadcast message of the communication link under test before acquiring the performance index data sent by the data extraction circuit; parse the broadcast message to obtain a token value; determine the communication management protocol corresponding to the token value; synchronize the signal with the communication link under test according to the communication management protocol, and establish a communication connection. The communication link under test adjustment module is used to determine whether the maximum disturbance signal is less than a preset disturbance value after determining the performance of the communication link under test based on the maximum disturbance signal; if it is less than the preset disturbance value, then adjust the transmitting and receiving ends of the communication link under test.

[0092] This invention provides a signal testing device that acquires communication data under test through a data extraction circuit and processes the data with added perturbation signals through a controller to determine the performance of the communication link under test. Compared with existing testing methods, this reduces the perturbation introduced into the system. Furthermore, since this solution judges the performance of the communication link based on the maximum perturbation value that the signal can withstand, there is no need for quantitative analysis of the signal in the communication link under test, and therefore no need to convert the data under test into standard code, thereby improving the accuracy and reliability of the test results.

[0093] Figure 10 A structural diagram of a signal testing device provided in another embodiment of the present invention is shown below. Figure 10 As shown, the signal testing device includes: a memory 20 for storing computer programs;

[0094] The processor 21 is used to execute computer programs to implement the steps of the signal testing method as described in the above embodiments.

[0095] The signal testing device provided in this embodiment may include, but is not limited to, smartphones, tablets, laptops, or desktop computers.

[0096] The processor 21 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 21 may be implemented using at least one of the following hardware forms: Digital Signal Processor (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor, also known as the Central Processing Unit (CPU), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 21 may integrate a Graphics Processing Unit (GPU), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 21 may also include an Artificial Intelligence (AI) processor, which is used to handle computational operations related to machine learning.

[0097] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In this embodiment, the memory 20 is used to store at least the following computer program 201, which, after being loaded and executed by the processor 21, is capable of implementing the relevant steps of the signal testing method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, and the storage method may be temporary or permanent storage. The operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include, but is not limited to, the communication data under test, disturbance signals, etc.

[0098] In some embodiments, the signal testing device may further include a display screen 22, an input / output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.

[0099] Those skilled in the art will understand that Figure 10 The structure shown does not constitute a limitation on the signal testing apparatus and may include more or fewer components than illustrated.

[0100] The signal testing apparatus provided in this embodiment of the invention includes a memory and a processor. When the processor executes a program stored in the memory, it can implement the following method:

[0101] Acquire performance index data sent by the data extraction circuit; wherein, the performance index data is generated by the data extraction circuit based on the communication data under test and the disturbance data;

[0102] Analyze the performance index data to determine the maximum disturbance signal that can make the performance index data meet the preset conditions;

[0103] The performance of the communication link under test is determined based on the maximum disturbance signal.

[0104] This invention provides a signal testing device that acquires communication data under test through a data extraction circuit and processes the data with added perturbation signals through a controller to determine the performance of the communication link under test. Compared with existing testing methods, this reduces the perturbation introduced into the system. Furthermore, since this solution judges the performance of the communication link based on the maximum perturbation value that the signal can withstand, there is no need for quantitative analysis of the signal in the communication link under test, and therefore no need to convert the data under test into standard code, thereby improving the accuracy and reliability of the test results.

[0105] Finally, the present invention also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, performs the steps described in the above method embodiments.

[0106] It is understood that if the methods in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0107] The signal testing circuit, signal testing method, apparatus, and medium provided by the present invention have been described in detail above. The various embodiments in the specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section. It should be noted that those skilled in the art can make several improvements and modifications to the present invention without departing from the principles of the invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.

[0108] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A signal testing circuit, characterized in that, include: Controller and data extraction circuit; The first input terminal of the data extraction circuit is connected to the communication link under test to obtain the communication data under test. The second input terminal of the data extraction circuit is connected to the controller to obtain the disturbance signal sent by the controller, and generates performance index data based on the disturbance signal and the communication data under test. The controller is also connected to the output of the data extraction circuit to obtain the performance index data, analyze the performance index data to determine the maximum disturbance signal that can make the performance index data meet the preset conditions, and determine the performance of the communication link under test based on the maximum disturbance signal.

2. The signal testing circuit according to claim 1, characterized in that, The data extraction circuit includes an odd-numbered sampling circuit, an even-numbered sampling circuit, and a frequency control circuit. The odd-numbered sampling circuit includes an input circuit and a first adder circuit. The first end of the first adder circuit is connected to the communication link to obtain the communication data to be tested, and the second end of the first adder circuit is connected to the controller to obtain the disturbance signal corresponding to the odd-numbered sampling circuit. The even-number sampling circuit includes an input circuit and a second adder circuit. The first end of the second adder circuit is connected to the communication link to obtain the communication data to be tested, and the second end of the second adder circuit is connected to the controller to obtain the disturbance signal corresponding to the even-number sampling circuit. The input terminal of the frequency control circuit is connected to a clock source to obtain a sampling frequency signal. The output terminal of the frequency control circuit is connected to the third input terminal of the first adder circuit. The output terminal of the frequency control circuit is connected to the third input terminal of the second adder circuit after passing through an inverting circuit. The output terminals of both the odd-numbered sampling circuit and the even-numbered sampling circuit are connected to the controller to output the performance index data.

3. The signal testing circuit according to claim 2, characterized in that, The output frequency of the frequency control circuit is half the frequency of the communication data under test.

4. A signal testing method, characterized in that, An application is made to a signal testing circuit comprising a controller and a data extraction circuit; wherein a first input terminal of the data extraction circuit is connected to the communication link under test, a second input terminal of the data extraction circuit is connected to the controller, and the controller is also connected to the output terminal of the data extraction circuit; the signal testing method includes: Acquire the performance index data sent by the data extraction circuit; wherein, the performance index data is generated by the data extraction circuit based on the communication data to be tested and the disturbance data; The performance index data is analyzed to determine the maximum disturbance signal that can make the performance index data meet the preset conditions. The performance of the communication link under test is determined based on the maximum disturbance signal.

5. The signal testing method according to claim 4, characterized in that, The analysis of the performance index data includes: Obtain the eye diagram and bit error rate of the performance metrics data; The performance value of the performance index data is determined based on the eye diagram, the link parameters of the communication link under test, and the bit error rate.

6. The signal testing method according to claim 4, characterized in that, Before the step of obtaining the performance index data sent by the data extraction circuit, the method further includes: Obtain the broadcast message of the communication link under test; Parse the broadcast message to obtain the token value; Determine the communication management protocol corresponding to the token value; According to the communication management protocol, the signal is synchronized with the communication link under test, and a communication connection is established.

7. The signal testing method according to claim 5, characterized in that, After the step of determining the performance of the communication link under test based on the maximum disturbance signal, the method further includes: Determine whether the maximum disturbance signal is less than a preset disturbance value; If the disturbance value is less than the preset disturbance value, the transmitting and receiving ends of the communication link under test will be adjusted.

8. A signal testing device, characterized in that, A signal testing circuit including a controller and a data extraction circuit; wherein, the first input terminal of the data extraction circuit is connected to the communication link under test, the second input terminal of the data extraction circuit is connected to the controller, and the controller is also connected to the output terminal of the data extraction circuit; the signal testing device includes: The acquisition module is used to acquire performance index data sent by the data extraction circuit; wherein the performance index data is data generated by the data extraction circuit based on the communication data to be tested and the disturbance data. The analysis module is used to analyze the performance index data to determine the maximum disturbance signal that can make the performance index data meet the preset conditions. A determination module is used to determine the performance of the communication link under test based on the maximum disturbance signal.

9. A signal testing device, characterized in that, Includes memory used to store computer programs; A processor, configured to implement the steps of the signal testing method as described in any one of claims 4 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the signal testing method as described in any one of claims 4 to 7.

Citation Information

Patent Citations

  • Noise immunity multichannel parameter monitoring system

    CN102809946A

  • Method for improving performance of test system

    CN114915291A