CN115237094A - A test device and test equipment - Google Patents

A test device and test equipment Download PDF

Info

Publication number
CN115237094A
CN115237094A CN202210872062.6A CN202210872062A CN115237094A CN 115237094 A CN115237094 A CN 115237094A CN 202210872062 A CN202210872062 A CN 202210872062A CN 115237094 A CN115237094 A CN 115237094A
Authority
CN
China
Prior art keywords
test
circuit
interface
pattern
eye
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210872062.6A
Other languages
Chinese (zh)
Inventor
叶强
罗方文
谭晓
孙睿婷
刘洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XFusion Digital Technologies Co Ltd
Original Assignee
XFusion Digital Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XFusion Digital Technologies Co Ltd filed Critical XFusion Digital Technologies Co Ltd
Priority to CN202210872062.6A priority Critical patent/CN115237094A/en
Publication of CN115237094A publication Critical patent/CN115237094A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0221Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

本申请实施例公开了一种测试装置和测试设备,能够简化测试操作并且能够提高测试效率。具体方案为:提供一种测试装置,该测试装置包括接口电路、测试电路和测试接口,接口电路、测试电路和测试接口耦合。其中,测试接口用于连接待测试装置。测试接口用于接收来自待测试装置的测试信号,测试电路用于根据测试信号确定待测试装置的测试结果,接口电路用于发送测试结果。

Figure 202210872062

The embodiments of the present application disclose a testing device and testing equipment, which can simplify testing operations and improve testing efficiency. The specific scheme is: to provide a test device, the test device includes an interface circuit, a test circuit and a test interface, and the interface circuit, the test circuit and the test interface are coupled. The test interface is used to connect the device to be tested. The test interface is used for receiving the test signal from the device to be tested, the test circuit is used for determining the test result of the device to be tested according to the test signal, and the interface circuit is used for sending the test result.

Figure 202210872062

Description

一种测试装置和测试设备A test device and test equipment

技术领域technical field

本申请实施例涉及电子技术领域,尤其涉及一种测试装置和测试设备。The embodiments of the present application relate to the field of electronic technologies, and in particular, to a testing device and testing equipment.

背景技术Background technique

随着高速信号技术的发展,出现了许多类型的高速信号,例如,高速串行计算机扩展总线(peripheral component interconnect express,PCIE)信号、串行连接小型计算机系统接口(serial attached small computer system interface,SAS)信号、串行高级技术附件(serial advanced technology attachment,SATA)信号等高速信号。随着高速信号的不断发展,高速信号的链路设计的挑战越来越大,高速信号的测试也越来越重要。With the development of high-speed signal technology, many types of high-speed signals have appeared, such as high-speed serial computer expansion bus (peripheral component interconnect express, PCIE) signals, serial attached small computer system interface (serial attached small computer system interface, SAS) ) signal, serial advanced technology attachment (serial advanced technology attachment, SATA) signal and other high-speed signals. With the continuous development of high-speed signals, the challenges of link design of high-speed signals are increasing, and the testing of high-speed signals is becoming more and more important.

例如,在服务器的主板上设置有互相耦合的处理器和高速串行计算机扩展总线插槽,处理器与高速串行计算机扩展总线插槽之间的链路用于传输高速信号,需要对该高速信号进行眼图和误码率的测试。但是,目前的测试方式操作复杂且测试效率低。For example, a processor and a high-speed serial computer expansion bus slot are coupled to each other on the motherboard of the server, and the link between the processor and the high-speed serial computer expansion bus slot is used to transmit high-speed signals. The signal is tested for eye diagram and bit error rate. However, the current testing method is complicated to operate and has low testing efficiency.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种测试装置和测试设备,能够简化测试操作并且能够提高测试效率。Embodiments of the present application provide a testing device and testing equipment, which can simplify testing operations and improve testing efficiency.

为达到上述目的,本申请实施例采用如下技术方案:In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:

本申请实施例第一方面,提供一种测试装置,该测试装置包括:接口电路、测试电路和测试接口,接口电路、测试电路和测试接口耦合。其中,测试接口用于连接待测试装置。其中,测试接口用于接收来自待测试装置的测试信号,测试电路用于根据测试信号确定待测试装置的测试结果,接口电路用于发送测试结果。In a first aspect of the embodiments of the present application, a test device is provided. The test device includes: an interface circuit, a test circuit, and a test interface, and the interface circuit, the test circuit, and the test interface are coupled. The test interface is used to connect the device to be tested. The test interface is used for receiving the test signal from the device to be tested, the test circuit is used for determining the test result of the device to be tested according to the test signal, and the interface circuit is used for sending the test result.

本申请实施例提供的测试装置包括测试电路和测试接口,测试接口用于与待测试装置对接,通过测试接口接收来自待测试装置的测试信号,测试电路用于根据测试信号产生测试结果,该测试装置的结构简单,测试方式简单,相比于采用价格昂贵的示波器或误码仪进行测试以产生测试结果,降低了测试成本。同时,与采用示波器或误码仪进行测试相比,本实施例的测试装置与待测试装置直接连接,不需要通过同轴电缆连接器与示波器或误码仪连接,也不需要多次改变同轴电缆连接器的连接位置,因此能够简化测试操作,能够提高测试效率。The test device provided by the embodiment of the present application includes a test circuit and a test interface, the test interface is used for docking with the device to be tested, and a test signal from the device to be tested is received through the test interface, and the test circuit is used to generate a test result according to the test signal. The structure of the device is simple and the test method is simple, and the test cost is reduced compared with the use of an expensive oscilloscope or a bit error tester for testing to generate test results. At the same time, compared with using an oscilloscope or a bit error tester for testing, the test device in this embodiment is directly connected to the device to be tested, and does not need to be connected to the oscilloscope or the bit error tester through a coaxial cable connector, nor does it need to change the same The connection position of the coaxial cable connector can simplify the test operation and improve the test efficiency.

结合第一方面,在一种可能的实现方式中,上述测试信号为第一测试码型,上述测试结果包括眼图数据和/或眼图测试结论,眼图测试结论用于指示眼图数据是否满足预设眼图测试指标。With reference to the first aspect, in a possible implementation manner, the test signal is a first test pattern, the test result includes eye pattern data and/or an eye pattern test conclusion, and the eye pattern test conclusion is used to indicate whether the eye pattern data is Meet the preset eye diagram test specifications.

本申请实施例提供的测试装置,通过测试接口接收来自待测试装置的测试信号,通过测试电路产生眼图数据和/或眼图测试结论,与采用示波器进行测试相比,本实施例的测试装置与待测试装置直接连接,不需要通过同轴电缆连接器与示波器连接,也不需要多次改变同轴电缆连接器的连接位置,因此能够简化测试操作,能够提高测试效率,而且能够降低测试成本。The test device provided by the embodiment of the present application receives the test signal from the device to be tested through the test interface, and generates eye diagram data and/or eye diagram test conclusion through the test circuit. It is directly connected to the device to be tested, and does not need to be connected to the oscilloscope through the coaxial cable connector, nor does it need to change the connection position of the coaxial cable connector many times, so it can simplify the test operation, improve the test efficiency, and reduce the test cost. .

结合第一方面,在一种可能的实现方式中,当测试结果为眼图数据时,测试电路具体用于根据第一测试码型获取同步时钟信号,根据第一测试码型和同步时钟信号确定多个时钟周期的波形数据,根据多个时钟周期的波形数据确定眼图数据。或者,当测试结果为眼图测试结论时,测试电路还用于根据眼图数据和预设眼图测试指标确定眼图测试结论。In combination with the first aspect, in a possible implementation manner, when the test result is eye diagram data, the test circuit is specifically configured to obtain a synchronization clock signal according to the first test pattern, and determine the synchronization clock signal according to the first test pattern and the synchronization clock signal. Waveform data of multiple clock cycles, and eye diagram data is determined according to waveform data of multiple clock cycles. Alternatively, when the test result is an eye-diagram test conclusion, the test circuit is further configured to determine the eye-diagram test conclusion according to the eye-diagram data and the preset eye-diagram test index.

本申请实施例提供的测试装置,通过测试接口接收来自待测试装置的第一测试码型,通过测试电路产生眼图数据和/或眼图测试结论,与采用示波器进行测试相比,本实施例的测试装置与待测试装置直接连接,不需要通过同轴电缆连接器与示波器连接,也不需要多次改变同轴电缆连接器的连接位置,能够简化测试操作,能够提高测试效率,而且能够降低测试成本。The test device provided by the embodiment of the present application receives the first test pattern from the device to be tested through the test interface, and generates eye diagram data and/or eye diagram test conclusion through the test circuit. The test device is directly connected to the device to be tested, and does not need to be connected to the oscilloscope through the coaxial cable connector, nor does it need to change the connection position of the coaxial cable connector many times, which can simplify the test operation, improve the test efficiency, and reduce the cost of testing.

结合第一方面,在一种可能的实现方式中,上述测试信号为第二测试码型,上述测试结果为误码信息。接口电路还用于接收控制信号,测试电路还用于根据控制信号产生第三测试码型,测试接口还用于向待测试装置发送第三测试码型,第二测试码型为待测试装置根据第三测试码型转换得到。With reference to the first aspect, in a possible implementation manner, the above-mentioned test signal is a second test pattern, and the above-mentioned test result is bit error information. The interface circuit is also used to receive the control signal, the test circuit is also used to generate a third test pattern according to the control signal, the test interface is also used to send the third test pattern to the device to be tested, and the second test pattern is the basis of the device to be tested. The third test pattern is converted and obtained.

本申请实施例提供的测试装置,通过测试接口接收来自待测试装置的第二测试码型,通过测试电路根据第二测试码型和第三测试码型产生误码信息,与采用误码仪进行测试相比,本实施例的测试装置与待测试装置直接连接,不需要通过同轴电缆连接器与误码仪连接,也不需要多次改变同轴电缆连接器的连接位置,能够简化测试操作,能够提高测试效率,而且能够降低测试成本。The test device provided by the embodiment of the present application receives the second test pattern from the device to be tested through the test interface, generates bit error information according to the second test pattern and the third test pattern through the test circuit, and performs the test by using the bit error meter. Compared with the test, the test device of this embodiment is directly connected to the device to be tested, and does not need to be connected to the BERT through the coaxial cable connector, nor does it need to change the connection position of the coaxial cable connector many times, which can simplify the test operation. , can improve the test efficiency, and can reduce the test cost.

结合第一方面,在一种可能的实现方式中,上述测试电路具体用于将第二测试码型和第三测试码型逐位比较,确定第二测试码型的误码的位数,根据误码的位数和第三测试码型的总位数的比值确定误码信息。In combination with the first aspect, in a possible implementation manner, the above-mentioned test circuit is specifically used to compare the second test pattern and the third test pattern bit by bit to determine the number of error bits of the second test pattern, according to The ratio of the number of error bits to the total number of bits of the third test pattern determines error information.

本申请实施例提供的测试装置,通过测试接口接收来自待测试装置的第二测试码型,通过测试电路根据第二测试码型和第三测试码型产生误码信息,与采用误码仪进行测试相比,本实施例的测试装置与待测试装置直接连接,不需要通过同轴电缆连接器与误码仪连接,也不需要多次改变同轴电缆连接器的连接位置,能够简化测试操作,能够提高测试效率,而且能够降低测试成本。The test device provided by the embodiment of the present application receives the second test pattern from the device to be tested through the test interface, generates bit error information according to the second test pattern and the third test pattern through the test circuit, and performs the test by using the bit error meter. Compared with the test, the test device of this embodiment is directly connected to the device to be tested, and does not need to be connected to the BERT through the coaxial cable connector, nor does it need to change the connection position of the coaxial cable connector many times, which can simplify the test operation. , can improve the test efficiency, and can reduce the test cost.

结合第一方面,在一种可能的实现方式中,测试电路包括测试芯片,测试芯片的一端与测试接口耦合,测试芯片的另一端与接口电路耦合。With reference to the first aspect, in a possible implementation manner, the test circuit includes a test chip, one end of the test chip is coupled to the test interface, and the other end of the test chip is coupled to the interface circuit.

本申请实施例提供的测试装置,通过测试芯片根据测试信号产生测试结果,而不需要采用价格昂贵的示波器和误码仪以产生测试结果,因此能够降低测试成本。同时,与采用示波器或误码仪进行测试相比,本实施例的测试装置与待测试装置直接连接,不需要通过同轴电缆连接器与示波器或误码仪连接,也不需要多次改变同轴电缆连接器的连接位置,能够简化测试操作,能够提高测试效率。In the test device provided by the embodiments of the present application, the test chip generates test results according to the test signal, and does not need to use an expensive oscilloscope and a bit error tester to generate the test results, so the test cost can be reduced. At the same time, compared with using an oscilloscope or a bit error tester for testing, the test device in this embodiment is directly connected to the device to be tested, and does not need to be connected to the oscilloscope or the bit error tester through a coaxial cable connector, nor does it need to change the same The connection position of the axial cable connector can simplify the test operation and improve the test efficiency.

结合第一方面,在一种可能的实现方式中,上述测试芯片包括高速时钟数据恢复芯片、信号驱动器芯片或选择芯片。With reference to the first aspect, in a possible implementation manner, the above-mentioned test chip includes a high-speed clock data recovery chip, a signal driver chip or a selection chip.

结合第一方面,在一种可能的实现方式中,测试电路还包括时钟电路和复位电路,时钟电路和复位电路分别与测试芯片耦合。With reference to the first aspect, in a possible implementation manner, the test circuit further includes a clock circuit and a reset circuit, and the clock circuit and the reset circuit are respectively coupled to the test chip.

本申请实施例提供的测试装置,通过时钟电路为测试芯片提供时钟,通过复位电路在待测试装置中每一个通道测试完成时使测试芯片恢复初始状态,从而测试装置可以完成对待测试装置中所有通道的测试,而不需要采用价格昂贵的示波器和误码仪以产生测试结果,因此能够降低测试成本。同时,与采用示波器或误码仪进行测试相比,本实施例的测试装置与待测试装置直接连接,不需要通过同轴电缆连接器与示波器或误码仪连接,也不需要多次改变同轴电缆连接器的连接位置,能够简化测试操作,能够提高测试效率。In the test device provided by the embodiment of the present application, the clock circuit is used to provide a clock for the test chip, and the reset circuit restores the test chip to the initial state when the test of each channel in the device to be tested is completed, so that the test device can complete all channels in the device to be tested. test without the need for expensive oscilloscopes and bit error meters to generate test results, thus reducing test costs. At the same time, compared with using an oscilloscope or a bit error tester for testing, the test device in this embodiment is directly connected to the device to be tested, and does not need to be connected to the oscilloscope or the bit error tester through a coaxial cable connector, nor does it need to change the same The connection position of the axial cable connector can simplify the test operation and improve the test efficiency.

结合第一方面,在一种可能的实现方式中,测试装置还包括电源电路,该电源电路的输入端与测试接口耦合,电源电路的输出端与接口电路和测试电路耦合。With reference to the first aspect, in a possible implementation manner, the test device further includes a power supply circuit, an input end of the power supply circuit is coupled to the test interface, and an output end of the power supply circuit is coupled to the interface circuit and the test circuit.

本申请实施例提供的测试装置,通过电源电路对测试接口接收的供电电压进行处理,因此能够为接口电路和测试电路提供稳定的供电电压。The test device provided by the embodiment of the present application processes the power supply voltage received by the test interface through the power supply circuit, so that a stable power supply voltage can be provided for the interface circuit and the test circuit.

结合第一方面,在一种可能的实现方式中,上述测试接口包括高速串行计算机扩展总线接口、串行连接小型计算机系统接口、串行高级技术附件接口、卡机电接口、非易失性内存标准接口或开放核心协议接口。In combination with the first aspect, in a possible implementation, the above-mentioned test interface includes a high-speed serial computer expansion bus interface, a serial connection to a small computer system interface, a serial advanced technology accessory interface, a card electromechanical interface, and a non-volatile memory. Standard interface or open core protocol interface.

本申请实施例提供的测试装置,通过根据待测试装置中插槽的类型设置不同类型的测试接口,因此能够支持测试装置对高速串行计算机扩展总线信号、串行连接小型计算机系统接口信号、串行高级技术附件信号、通用串行总线信号等高速信号进行测试。The test device provided by the embodiment of the present application can support the test device to expand the bus signal of the high-speed serial computer, serially connect the interface signal of the small computer system, serial High-speed signals such as advanced technology accessory signals and universal serial bus signals are tested.

结合第一方面,在一种可能的实现方式中,上述接口电路包括以太网接口电路、串行通信接口电路、通用串行总线接口电路或无线接口电路。With reference to the first aspect, in a possible implementation manner, the above-mentioned interface circuit includes an Ethernet interface circuit, a serial communication interface circuit, a universal serial bus interface circuit, or a wireless interface circuit.

本申请实施例提供的测试装置,通过将接口电路设置为多个类型的接口电路,从而可以支持不同类型的控制装置,例如该控制装置可以为个人计算机、平板电脑、手机等。The test device provided by the embodiment of the present application can support different types of control devices by setting the interface circuit into multiple types of interface circuits. For example, the control device can be a personal computer, a tablet computer, a mobile phone, and the like.

本申请实施例第二方面,提供一种测试设备,该测试设备用于测试待测试装置,该测试设备包括控制装置和测试装置,控制装置的一端与测试装置耦合,控制装置的另一端用于连接待测试装置,所述测试装置的结构为如第一方面或第一方面的任一种可能的实现方式所述的测试装置的结构。其中,控制装置用于向待测试装置发送控制信号,测试装置用于接收待测试装置根据控制信号发送的测试信号,根据测试信号确定待测试装置的测试结果。控制装置还用于接收测试结果。In a second aspect of the embodiments of the present application, a test equipment is provided. The test equipment is used to test a device to be tested. The test equipment includes a control device and a test device. One end of the control device is coupled to the test device, and the other end of the control device is used for The device to be tested is connected, and the structure of the test device is the structure of the test device described in the first aspect or any possible implementation manner of the first aspect. The control device is used to send a control signal to the device to be tested, and the test device is used to receive the test signal sent by the device to be tested according to the control signal, and to determine the test result of the device to be tested according to the test signal. The control device is also used to receive test results.

本申请中第二方面的描述,可以参考第一方面的详细描述;并且,第二方面的有益效果,可以参考第一方面的有益效果分析,此处不再赘述。For the description of the second aspect in this application, reference may be made to the detailed description of the first aspect; and, for the beneficial effects of the second aspect, reference may be made to the analysis of the beneficial effects of the first aspect, which will not be repeated here.

附图说明Description of drawings

图1为一种测试夹具的结构示意图;Fig. 1 is the structural representation of a kind of test fixture;

图2为一种眼图曲线示意图;FIG. 2 is a schematic diagram of an eye diagram curve;

图3为一种眼图测试电路的结构示意图;3 is a schematic structural diagram of an eye-diagram test circuit;

图4为一种误码测试电路的结构示意图;4 is a schematic structural diagram of a bit error test circuit;

图5为本申请实施例提供的一种测试装置应用场景的示意图;5 is a schematic diagram of an application scenario of a test device provided by an embodiment of the present application;

图6为本申请实施例提供的另一种测试装置应用场景的示意图;FIG. 6 is a schematic diagram of another test device application scenario provided by an embodiment of the present application;

图7为本申请实施例提供的一种测试装置的结构示意图;7 is a schematic structural diagram of a testing device provided by an embodiment of the present application;

图8为本申请实施例提供的一种测试设备应用场景的示意图;FIG. 8 is a schematic diagram of an application scenario of a test equipment provided by an embodiment of the present application;

图9为本申请实施例提供的一种测试设备的结构示意图。FIG. 9 is a schematic structural diagram of a testing device provided by an embodiment of the present application.

具体实施方式Detailed ways

下文将详细论述各实施例的制作和使用。但应了解,本申请提供的许多适用发明概念可实施在多种具体环境中。所论述的具体实施例仅仅说明用以实施和使用本说明和本技术的具体方式,而不限制本申请的范围。The making and using of the various embodiments are discussed in detail below. It should be appreciated, however, that many of the applicable inventive concepts provided herein can be embodied in a wide variety of specific contexts. The specific embodiments discussed are merely illustrative of specific ways to make and use the description and the technology, and do not limit the scope of the application.

除非另有定义,否则本文所用的所有科技术语都具有与本领域普通技术人员公知的含义相同的含义。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art.

各电路或其它组件可描述为或称为“用于”执行一项或多项任务。在这种情况下,“用于”用来通过指示电路/组件包括在操作期间执行一项或多项任务的结构(例如电路系统)来暗指结构。因此,即使当指定的电路/组件当前不可操作(例如未打开)时,该电路/组件也可以称为用于执行该任务。与“用于”措辞一起使用的电路/组件包括硬件,例如执行操作的电路等。Various circuits or other components may be described or referred to as "for" performing one or more tasks. In this context, "for" is used to connote structure by indicating that the circuit/component includes structure (eg, circuitry) that performs one or more tasks during operation. Thus, the specified circuit/component may be said to be used to perform the task even when the specified circuit/component is not currently operational (eg, not turned on). Circuits/components used with the phrase "for" include hardware, such as circuits that perform operations, and the like.

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。在本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,a和b,a和c,b和c或a、b和c,其中a、b和c可以是单个,也可以是多个。另外,在本申请的实施例中,“第一”、“第二”等字样并不对数量和次序进行限定。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. In this application, "at least one" means one or more, and "plurality" means two or more. "And/or", which describes the association relationship of the associated objects, indicates that there can be three kinds of relationships, for example, A and/or B, which can indicate: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A, B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship. "At least one item(s) below" or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (a) of a, b or c may represent: a, b, c, a and b, a and c, b and c or a, b and c, where a, b and c can be It can be single or multiple. In addition, in the embodiments of the present application, words such as "first" and "second" do not limit the quantity and order.

需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in this application, words such as "exemplary" or "for example" are used to represent examples, illustrations or illustrations. Any embodiment or design described in this application as "exemplary" or "such as" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.

在介绍本申请实施例之前,首先对本申请涉及的背景技术进行介绍说明。Before introducing the embodiments of the present application, the background technology involved in the present application is first introduced and explained.

随着高速信号的不断发展,高速信号的链路设计的挑战越来越大,高速信号的测试也越来越重要。目前,一般通过示波器、误码仪和测试夹具,对高速信号进行相应的测试,比如,眼图测试和误码测试等。With the continuous development of high-speed signals, the challenges of link design of high-speed signals are increasing, and the testing of high-speed signals is becoming more and more important. At present, high-speed signals are generally tested by oscilloscope, bit error tester and test fixture, such as eye diagram test and bit error test.

其中,测试夹具用于在测量仪器(示波器或误码仪)无法与待测试装置直接耦合时,提供测试接口,以完成高速信号的测试。Among them, the test fixture is used to provide a test interface when the measuring instrument (oscilloscope or bit error tester) cannot be directly coupled with the device to be tested, so as to complete the test of the high-speed signal.

例如,如图1所示为一种测试夹具100,该测试夹具100包括多个测试接口110和高速串行计算机扩展总线接口120。其中,高速串行计算机扩展总线接口120也可以称为金手指,高速串行计算机扩展总线接口120用于与待测试装置中的高速串行计算机扩展总线插槽耦合,该多个测试接口110与高速串行计算机扩展总线插槽中的多个通道对应,用于为示波器或误码仪提供测试接口。For example, as shown in FIG. 1 , a test fixture 100 includes a plurality of test interfaces 110 and a high-speed serial computer expansion bus interface 120 . The high-speed serial computer expansion bus interface 120 may also be called a golden finger, and the high-speed serial computer expansion bus interface 120 is used for coupling with the high-speed serial computer expansion bus slot in the device to be tested. The multiple test interfaces 110 are connected to Multiple channels in the high-speed serial computer expansion bus slot correspond to provide a test interface for an oscilloscope or BERT.

具体的,眼图测试电路可以包括示波器和测试夹具,示波器可以通过测试夹具接收来自待测试装置的高速信号生成如图2所示的眼图,该眼图可以用于分析高速信号的占空比、噪声和抖动情况。误码测试电路可以包括误码仪和测试夹具,误码仪可以通过测试夹具向待测试装置发送或接收来自待测试装置的高速信号,根据发送和接收的高速信号的误差,可以得到误码率。为了进行稳定的、可重复性的测试,一般采用测试码型作为高速信号进行上述眼图测试或误码测试。Specifically, the eye diagram test circuit may include an oscilloscope and a test fixture. The oscilloscope may receive a high-speed signal from the device to be tested through the test fixture to generate an eye diagram as shown in Figure 2, which can be used to analyze the duty cycle of the high-speed signal. , noise and jitter conditions. The bit error test circuit can include a bit error tester and a test fixture. The bit error tester can send or receive high-speed signals from the device to be tested through the test fixture. According to the error of the transmitted and received high-speed signals, the bit error rate can be obtained. . In order to perform stable and repeatable testing, the test pattern is generally used as a high-speed signal to perform the above-mentioned eye diagram test or bit error test.

例如,如图3所示为一种眼图测试电路300的结构图,该眼图测试电路300包括主板310、测试夹具320、示波器330和个人计算机(personal computer,PC)340。其中,主板310为待测试装置,主板310上设置有互相耦合的处理器311和高速串行计算机扩展总线插槽312,测试夹具320包括多个测试接口321和高速串行计算机扩展总线接口322。个人计算机340可以通过网线与主板310中的处理器311耦合,个人计算机340还可以通过网线与示波器330耦合,示波器330通过同轴电缆连接器350(或称为SMP连接器)与测试夹具320中的一个测试接口321耦合,高速串行计算机扩展总线接口322与高速串行计算机扩展总线插槽312耦合。个人计算机340用于产生控制信号,处理器311根据该控制信号产生测试码型,示波器330通过同轴电缆连接器350接收测试码型,根据该测试码型生成眼图,从而个人计算机340可以根据眼图分析高速信号的占空比、噪声和抖动情况,确定处理器311与示波器330之间发送(transport x,TX)链路的质量。For example, as shown in FIG. 3 , a structural diagram of an eye-diagram test circuit 300 includes a main board 310 , a test fixture 320 , an oscilloscope 330 and a personal computer (PC) 340 . The mainboard 310 is the device to be tested. The mainboard 310 is provided with a mutually coupled processor 311 and a high-speed serial computer expansion bus slot 312 . The test fixture 320 includes multiple test interfaces 321 and high-speed serial computer expansion bus interfaces 322 . The personal computer 340 can be coupled with the processor 311 in the main board 310 through a network cable, the personal computer 340 can also be coupled with the oscilloscope 330 through a network cable, and the oscilloscope 330 can be connected to the test fixture 320 through a coaxial cable connector 350 (or SMP connector). A test interface 321 of the high-speed serial computer expansion bus interface 322 is coupled with the high-speed serial computer expansion bus slot 312. The personal computer 340 is used to generate a control signal, the processor 311 generates a test pattern according to the control signal, the oscilloscope 330 receives the test pattern through the coaxial cable connector 350, and generates an eye diagram according to the test pattern, so that the personal computer 340 can The eye diagram analyzes the duty cycle, noise and jitter of the high-speed signal, and determines the quality of the transmit (transport x, TX) link between the processor 311 and the oscilloscope 330 .

再例如,将上述图3中的示波器330替换为误码仪360,构建如图4所示的误码测试电路400的结构图。其中,个人计算机340可以与误码仪360耦合,误码仪360通过同轴电缆连接器350和同轴电缆连接器370分别与测试夹具320中的2个测试接口321耦合。个人计算机340用于产生控制信号,误码仪360用于根据该控制信号产生第一测试码型,该第一测试码型通过同轴电缆连接器350传输至处理器311,处理器311根据该第一测试码型产生第二测试码型,该第二测试码型通过同轴电缆连接器370传输至误码仪360,误码仪360根据上述第一测试码型和第二测试码型确定误码仪360与处理器311之间环路传输高速信号时的误码率,个人计算机340可以根据该误码率判断误码仪360与处理器311之间接收(receive x,RX)链路的质量。For another example, the oscilloscope 330 in the above-mentioned FIG. 3 is replaced with the bit error meter 360 to construct the structure diagram of the bit error test circuit 400 as shown in FIG. 4 . The personal computer 340 can be coupled with the bit error tester 360, and the bit error tester 360 is coupled to the two test interfaces 321 in the test fixture 320 through the coaxial cable connector 350 and the coaxial cable connector 370, respectively. The personal computer 340 is used to generate a control signal, and the bit error detector 360 is used to generate a first test pattern according to the control signal, and the first test pattern is transmitted to the processor 311 through the coaxial cable connector 350, and the processor 311 according to the The first test pattern generates a second test pattern, and the second test pattern is transmitted to the bit error tester 360 through the coaxial cable connector 370, and the bit error tester 360 determines according to the first test pattern and the second test pattern. The bit error rate between the BER 360 and the processor 311 when the high-speed signal is transmitted in a loop, the personal computer 340 can judge the receive (RX, RX) link between the BER 360 and the processor 311 according to the bit error rate the quality of.

但是,由于处理器311和高速串行计算机扩展总线插槽312之间的链路包括多个通道,而示波器330和误码仪360的通道数量有限,需要通过改变同轴电缆连接器的连接位置,从而连接测试夹具320中的不同测试接口321,以完成上述多个通道的眼图测试或误码测试,操作比较复杂,测试效率较低。而且,根据上述图3和图4可以理解的,眼图测试与误码测试需要构建不同的测试电路,当需要同时对处理器311和高速串行计算机扩展总线插槽312之间的多个通道进行眼图测试和误码测试时,需要改变测试电路的结构,操作比较复杂,测试效率低,对测试操作人员的技能要求较高。同时,用于高速信号测试的示波器330、误码仪360和测试夹具320的价格昂贵,测试成本较高。However, since the link between the processor 311 and the high-speed serial computer expansion bus slot 312 includes multiple channels, while the number of channels of the oscilloscope 330 and the BERT 360 is limited, it is necessary to change the connection position of the coaxial cable connector , so as to connect different test interfaces 321 in the test fixture 320 to complete the eye diagram test or bit error test of the above-mentioned multiple channels, which is complicated in operation and low in test efficiency. Moreover, it can be understood from the above-mentioned FIG. 3 and FIG. 4 that different test circuits need to be constructed for the eye diagram test and the bit error test. When multiple channels between the processor 311 and the high-speed serial computer expansion bus slot 312 are required to When performing eye diagram test and bit error test, the structure of the test circuit needs to be changed, the operation is complicated, the test efficiency is low, and the skills of test operators are high. At the same time, the oscilloscope 330, the bit error tester 360 and the test fixture 320 used for high-speed signal testing are expensive and the testing cost is high.

综上,上述图3或图4所示的测试电路在对高速信号进行测试时,操作比较复杂,测试效率较低,对测试人员的技能要求较高,并且测试成本较高。因此本申请实施例提供一种测试装置,能够提高测试的测试效率,并且操作方便。To sum up, when the test circuit shown in FIG. 3 or FIG. 4 is used to test high-speed signals, the operation is relatively complicated, the test efficiency is low, the skill requirements of testers are high, and the test cost is high. Therefore, the embodiment of the present application provides a test device, which can improve the test efficiency of the test and is convenient to operate.

图5为本申请实施例提供的一种测试装置500应用场景的示意图,该测试装置500用于对待测试装置600中的信号进行测试,该测试装置500可以包括接口电路510、测试电路520和测试接口530,接口电路510、测试电路520和测试接口530耦合。FIG. 5 is a schematic diagram of an application scenario of a test device 500 provided by an embodiment of the application. The test device 500 is used to test signals in the device to be tested 600. The test device 500 may include an interface circuit 510, a test circuit 520 and a test The interface 530, the interface circuit 510, the test circuit 520 and the test interface 530 are coupled.

在一种可能的实施例中,如图5所示,该测试装置500可以包括依次耦合的接口电路510、测试电路520和测试接口530。在其他实施例中,接口电路510、测试电路520和测试接口530之间还可以两两之间耦合。In a possible embodiment, as shown in FIG. 5 , the test device 500 may include an interface circuit 510 , a test circuit 520 and a test interface 530 coupled in sequence. In other embodiments, the interface circuit 510 , the test circuit 520 and the test interface 530 may also be coupled in pairs.

需要说明的是,上述图5中测试装置500的结构为示例性说明,其并不对本申请实施例构成限定。It should be noted that the structure of the testing device 500 in FIG. 5 above is illustrative, and does not constitute a limitation to the embodiments of the present application.

其中,测试接口530用于接收来自待测试装置600的测试信号。测试电路520用于根据该测试信号确定待测试装置600的测试结果。接口电路510用于发送测试结果。The test interface 530 is used for receiving test signals from the device under test 600 . The test circuit 520 is used to determine the test result of the device under test 600 according to the test signal. The interface circuit 510 is used for sending test results.

可选的,待测试装置600可以包括服务器或存储设备,本申请实施例对于待测试装置600的具体类型并不限定。例如,该待测试装置600可以为固态硬盘。Optionally, the device to be tested 600 may include a server or a storage device, and the embodiment of the present application does not limit the specific type of the device to be tested 600 . For example, the device to be tested 600 may be a solid state drive.

本申请实施例提供的测试装置500的结构简单,包括测试电路520和测试接口530,测试接口530用于与待测试装置600对接,通过测试接口530接收来自待测试装置600的测试信号,测试电路520用于根据测试信号产生测试结果,该测试装置500的结构简单,测试方式简单,相比于采用价格昂贵的示波器和误码仪进行测试以产生测试结果,降低了测试成本,提高了测试的效率。同时,与采用示波器或误码仪进行测试相比,本实施例的测试装置与待测试装置直接连接,不需要通过同轴电缆连接器与示波器或误码仪连接,也不需要多次改变同轴电缆连接器的连接位置,因此能够简化测试操作,能够提高测试效率。The test device 500 provided by the embodiment of the present application has a simple structure, including a test circuit 520 and a test interface 530. The test interface 530 is used for docking with the device to be tested 600, and receives a test signal from the device to be tested 600 through the test interface 530. The test circuit 520 is used to generate test results according to the test signal. The test device 500 has a simple structure and a simple test method. Compared with using an expensive oscilloscope and a bit error tester for testing to generate test results, the test cost is reduced and the test accuracy is improved. efficiency. At the same time, compared with using an oscilloscope or a bit error tester for testing, the test device in this embodiment is directly connected to the device to be tested, and does not need to be connected to the oscilloscope or the bit error tester through a coaxial cable connector, nor does it need to change the same The connection position of the coaxial cable connector can simplify the test operation and improve the test efficiency.

可选的,本申请实施例提供的测试装置500可以用于高速信号测试,或者,可以用于低速信号测试,本申请实施例对于测试装置500具体用高速信号测试还是低速信号测试并不限定,下述实施例以测试装置500用于高速信号测试为例进行示例性说明。Optionally, the test device 500 provided in the embodiment of the present application may be used for high-speed signal testing, or may be used for low-speed signal testing. The embodiment of the present application does not limit whether the test device 500 specifically uses high-speed signal testing or low-speed signal testing. The following embodiments take the test device 500 for high-speed signal testing as an example for illustrative description.

示例性的,当测试装置500用于高速信号测试时,上述待测试装置600可以包括互相耦合的插槽610和处理器620,插槽610与测试接口530耦合,测试装置500用于对插槽610和处理器620之间的链路进行高速信号测试。其中,插槽610为高速信号插槽。Exemplarily, when the test device 500 is used for high-speed signal testing, the above-mentioned device to be tested 600 may include a socket 610 and a processor 620 coupled to each other, the socket 610 is coupled to the test interface 530, and the test device 500 is used for testing the socket. The link between 610 and processor 620 is tested for high speed signals. The slot 610 is a high-speed signal slot.

可选的,上述测试信号可以为测试码型,采用测试码型能够进行稳定的、可重复性的测试,该测试码型可以包括以下的一种:伪随机二进制序列(pseudo-random binarysequence,PRBS)31、PRBS7、PRBS9、PRBS11、PRBS15、PRBS20和PRBS23。Optionally, the above-mentioned test signal may be a test pattern, and a stable and repeatable test can be performed by using the test pattern, and the test pattern may include one of the following: a pseudo-random binary sequence (PRBS) )31, PRBS7, PRBS9, PRBS11, PRBS15, PRBS20 and PRBS23.

可选的,本申请实施例提供的测试装置500可以用于眼图测试,生成眼图和/或眼图测试结论以确定处理器620与测试电路520之间发送链路的质量是否合格。或者,测试装置500可以用于误码测试,确定误码率以判断处理器620与测试电路520之间接收链路的质量是否合格。Optionally, the test apparatus 500 provided in this embodiment of the present application may be used for eye diagram testing to generate an eye diagram and/or an eye diagram test conclusion to determine whether the quality of the transmission link between the processor 620 and the test circuit 520 is qualified. Alternatively, the testing apparatus 500 can be used for bit error testing, and the bit error rate is determined to determine whether the quality of the receiving link between the processor 620 and the testing circuit 520 is qualified.

在一种可能的实施例中,如图5所示,当测试装置500用于眼图测试时,上述测试信号可以为第一测试码型,上述测试结果包括眼图数据(或者可以称为电子眼图)和/或眼图测试结论,眼图测试结论用于指示眼图数据是否满足预设眼图测试指标。In a possible embodiment, as shown in FIG. 5 , when the test device 500 is used for eye diagram testing, the above-mentioned test signal may be a first test pattern, and the above-mentioned test result includes eye diagram data (or may be referred to as an electronic eye) Figure) and/or the eye-diagram test conclusion, the eye-diagram test conclusion is used to indicate whether the eye-diagram data meets the preset eye-diagram test index.

可选的,当测试结果为眼图数据时,测试电路520具体用于根据第一测试码型获取同步时钟信号,根据第一测试码型和同步时钟信号确定多个时钟周期的波形数据,根据多个时钟周期的波形数据确定眼图数据。当测试结果为眼图测试结论时,测试电路520还用于根据眼图数据和预设眼图测试指标确定眼图测试结论。Optionally, when the test result is eye diagram data, the test circuit 520 is specifically configured to obtain the synchronization clock signal according to the first test pattern, determine waveform data of multiple clock cycles according to the first test pattern and the synchronization clock signal, and determine the waveform data of multiple clock cycles according to the first test pattern and the synchronization clock signal. The waveform data for multiple clock cycles determines the eye diagram data. When the test result is the eye-diagram test conclusion, the test circuit 520 is further configured to determine the eye-diagram test conclusion according to the eye-diagram data and the preset eye-diagram test index.

可以理解的,当测试结果为眼图数据时,控制装置700可以接收测试装置500发送的眼图数据,对该眼图数据进行分析处理以生成眼图测试结论,并显示眼图测试结论。当测试结果为眼图测试结论时,控制装置700可以接收该眼图测试结论,不需要经过分析处理,可以直接显示眼图测试结论。It can be understood that when the test result is eye pattern data, the control device 700 can receive the eye pattern data sent by the testing device 500, analyze and process the eye pattern data to generate an eye pattern test conclusion, and display the eye pattern test conclusion. When the test result is the eye-diagram test conclusion, the control device 700 can receive the eye-diagram test conclusion without analyzing and processing, and can directly display the eye-diagram test conclusion.

示例的,插槽610和处理器620之间的链路可以包括多个通道,插槽610和测试接口530可以包括相同数量的多个通道。当测试结果为眼图数据时,待测试装置600中的处理器620可以接收第一控制信号,根据该第一控制信号产生第一测试码型,并通过插槽610的多个通道中的任一个通道发送上述第一测试码型。测试电路520可以通过测试接口530中对应的通道接收第一测试码型,根据该第一测试码型确定眼图数据,并通过接口电路510发送该眼图数据。可以理解的,处理器620通过多次接收不同的控制信号,产生相应的测试码型,可以完成插槽610和测试接口530之间所有通道的眼图测试。For example, the link between socket 610 and processor 620 may include multiple channels, and socket 610 and test interface 530 may include the same number of multiple channels. When the test result is eye pattern data, the processor 620 in the device under test 600 may receive the first control signal, generate the first test pattern according to the first control signal, and pass any of the multiple channels of the slot 610 through the first test pattern. One channel transmits the above-mentioned first test pattern. The test circuit 520 may receive the first test pattern through the corresponding channel in the test interface 530 , determine the eye pattern data according to the first test pattern, and send the eye pattern data through the interface circuit 510 . It can be understood that the processor 620 generates corresponding test patterns by receiving different control signals multiple times, so as to complete the eye pattern test of all channels between the socket 610 and the test interface 530 .

当测试结果为眼图测试结论时,测试电路520中可以存储有预设眼图测试指标,测试电路520可以根据上述眼图数据和预设眼图测试指标确定眼图测试结论,并通过接口电路510发送上述眼图数据和/或眼图测试结论。When the test result is an eye-diagram test conclusion, the test circuit 520 may store a preset eye-diagram test index, and the test circuit 520 can determine the eye-diagram test conclusion according to the above-mentioned eye-diagram data and the preset eye-diagram test index, and pass the interface circuit 510 transmits the above eye diagram data and/or eye diagram test conclusion.

可以理解的,本申请实施例提供的测试装置500在进行眼图测试时,通过测试接口530接收处理器620产生的测试信号,该测试接口530包括和插槽610相对应的多个通道。因此在进行眼图测试的过程中,处理器620通过不同通道发送的测试码型,测试电路520均可通过测试接口530中对应的通道接收到,从而能够完成插槽610和处理器620之间所有通道的眼图测试,而不需要多次改变同轴电缆连接器的连接位置,因此操作简单,能够提高测试效率,同时不需要采用价格昂贵的示波器330和测试夹具320,能够降低成本。It can be understood that when the test device 500 provided in this embodiment of the present application performs the eye diagram test, the test signal generated by the processor 620 is received through the test interface 530 , and the test interface 530 includes multiple channels corresponding to the slot 610 . Therefore, in the process of performing the eye diagram test, the test patterns sent by the processor 620 through different channels can be received by the test circuit 520 through the corresponding channels in the test interface 530, so that the connection between the socket 610 and the processor 620 can be completed. The eye diagram test of all channels does not need to change the connection position of the coaxial cable connector many times, so the operation is simple, the test efficiency can be improved, and the expensive oscilloscope 330 and the test fixture 320 are not required, which can reduce the cost.

在另一种可能的实施例中,如图6所示,当测试装置500用于误码测试时,上述测试信号为第二测试码型,上述测试结果为误码信息(或称为误码率),接口电路510还用于接收第二控制信号,测试电路520用于根据该第二控制信号产生第三测试码型,测试接口530还用于向待测试装置600发送第三测试码型,第二测试码型是待测试装置600根据接收到的第三测试码型发送的。In another possible embodiment, as shown in FIG. 6 , when the test device 500 is used for bit error testing, the above-mentioned test signal is the second test pattern, and the above-mentioned test result is bit error information (or called bit error code). rate), the interface circuit 510 is further configured to receive the second control signal, the test circuit 520 is configured to generate a third test pattern according to the second control signal, and the test interface 530 is further configured to send the third test pattern to the device under test 600 , the second test pattern is sent by the device under test 600 according to the received third test pattern.

当测试结果为误码信息时,测试电路520具体用于将第二测试码型和第三测试码型逐位比较,确定第二测试码型的误码的位数,根据误码的位数和第三测试码型的总位数的比值确定误码信息,从而判断处理器620与测试电路520之间接收链路的质量是否合格。When the test result is bit error information, the test circuit 520 is specifically configured to compare the second test pattern and the third test pattern bit by bit to determine the number of bits of the error in the second test pattern, and according to the number of bits of the error and the ratio of the total number of bits of the third test pattern to determine the bit error information, thereby judging whether the quality of the receiving link between the processor 620 and the test circuit 520 is qualified.

示例的,插槽610和处理器620之间的链路可以包括多个通道,插槽610和测试接口530可以包括相同数量的多个通道,测试装置500中的测试电路520可以接收第二控制信号,根据该第二控制信号产生第三测试码型,并通过测试接口530中的任一个通道发送该第三测试码型。待测试装置600中的处理器620可以通过插槽610中对应的通道接收第三测试码型,根据第三测试码型产生第二测试码型,并通过插槽610中的另一个通道发送该第二测试码型。测试电路520可以通过测试接口530中相对应的通道接收该第二测试码型,将第二测试码型和第三测试码型逐位比较,确定第二测试码型的误码的位数,根据误码的位数和第三测试码型的总位数的比值确定误码信息,并通过接口电路510发送该误码信息。测试电路520通过多次接收不同的控制信号,产生相应的测试码型,可以完成插槽610和测试接口530之间所有通道的误码测试。For example, the link between the socket 610 and the processor 620 may include multiple channels, the socket 610 and the test interface 530 may include multiple channels of the same number, and the test circuit 520 in the test device 500 may receive the second control signal, generate a third test pattern according to the second control signal, and send the third test pattern through any channel in the test interface 530 . The processor 620 in the device under test 600 can receive the third test pattern through the corresponding channel in the slot 610 , generate the second test pattern according to the third test pattern, and send the third test pattern through another channel in the slot 610 . The second test pattern. The test circuit 520 can receive the second test pattern through the corresponding channel in the test interface 530, compare the second test pattern and the third test pattern bit by bit, and determine the number of error bits of the second test pattern, The bit error information is determined according to the ratio of the number of error bits to the total number of bits of the third test pattern, and the bit error information is sent through the interface circuit 510 . The test circuit 520 generates corresponding test patterns by receiving different control signals multiple times, so as to complete the bit error test of all channels between the slot 610 and the test interface 530 .

可以理解的,本申请实施例提供的测试装置500在进行误码测试时,测试电路520通过测试接口530发送第三测试码型,通过测试接口530接收处理器620产生的第二测试码型,其中测试接口530包括和插槽610相对应的多个通道。因此在进行误码测试的过程中,测试电路520可以通过测试接口530中的不同通道向处理器620发送测试码型,或者接收处理器620产生的测试码型,从而能够完成插槽610和处理器620之间所有通道的误码测试,而不需要多次改变同轴电缆连接器的连接位置,因此操作简单,能够提高测试效率,同时不需要采用价格昂贵的误码仪360和测试夹具320,能够降低成本。It can be understood that when the test device 500 provided in the embodiment of the present application performs the bit error test, the test circuit 520 sends the third test pattern through the test interface 530, and receives the second test pattern generated by the processor 620 through the test interface 530, The test interface 530 includes a plurality of channels corresponding to the slot 610 . Therefore, in the process of performing the bit error test, the test circuit 520 can send the test pattern to the processor 620 through different channels in the test interface 530, or receive the test pattern generated by the processor 620, so as to complete the slot 610 and the processing Bit error test of all channels between the 620 devices without changing the connection position of the coaxial cable connector for many times, so the operation is simple, the test efficiency can be improved, and the expensive BER 360 and test fixture 320 are not required , can reduce costs.

可选的,如图5和图6所示,上述第一控制信号和第二控制信号可以由控制装置700产生。该控制装置700还可以用于接收上述眼图数据和/或眼图测试结论,生成并显示眼图和/或眼图测试结论,或者,用于接收上述误码数据显示误码率。该控制装置可以为电子设备,比如个人计算机、平板电脑、手机等。Optionally, as shown in FIG. 5 and FIG. 6 , the above-mentioned first control signal and second control signal may be generated by the control device 700 . The control device 700 may also be configured to receive the above eye diagram data and/or eye diagram test conclusion, generate and display the eye diagram and/or eye diagram test conclusion, or be configured to receive the above bit error data and display the bit error rate. The control device may be an electronic device, such as a personal computer, a tablet computer, a mobile phone, and the like.

示例性的,当测试装置500用于对待测试装置600中的高速信号进行眼图测试时,上述控制装置700可以与待测试装置600中的处理器620和接口电路510耦合,该控制装置700可以用于产生上述第一控制信号,还可以用于接收上述眼图数据生成并显示眼图,进一步的,控制装置700中可以存储有预设眼图测试指标,控制装置700可以根据眼图和预设眼图测试指标确定眼图测试结论;或者,控制装置700可以用于接收上述眼图测试结论并显示眼图测试结论;或者,控制装置700可以用于接收上述眼图数据和眼图测试结论,生成并显示眼图和眼图测试结论。当测试装置500用于对待测试装置600中的高速信号进行误码测试时,上述控制装置700可以与测试装置500的接口电路510耦合,该控制装置700可以用于产生上述第二控制信号,还可以用于接收上述误码信息显示误码率。Exemplarily, when the test device 500 is used to perform eye-diagram testing on the high-speed signal in the device under test 600, the above-mentioned control device 700 may be coupled with the processor 620 and the interface circuit 510 in the device under test 600, and the control device 700 may It is used to generate the above-mentioned first control signal, and can also be used to receive the above-mentioned eye diagram data to generate and display the eye diagram. Further, the control device 700 may store preset eye diagram test indicators, and the control device 700 The eye diagram test index is set to determine the eye diagram test conclusion; alternatively, the control device 700 may be configured to receive the above eye diagram test conclusion and display the eye diagram test conclusion; or, the control device 700 may be configured to receive the above eye diagram data and the eye diagram test conclusion , generate and display eye diagrams and eye diagram test conclusions. When the test device 500 is used to perform bit error testing on the high-speed signal in the device to be tested 600, the control device 700 can be coupled with the interface circuit 510 of the test device 500, the control device 700 can be used to generate the second control signal, and also It can be used to receive the above bit error information to display the bit error rate.

可选的,控制装置700可以包括控制软件,该控制软件用于启动、暂停、停止测试、收集、分析测试数据、输出测试报告,例如,该控制软件可以用于产生上述第一控制信号和第二控制信号等控制信号。具体的。测试操作人员可以通过点击控制软件中的虚拟按键,选择需要进行的测试,例如,操作人员可以选择眼图测试,或者,可以选择误码测试,以控制测试装置500和待测试装置600执行相应的指令,以完成眼图测试或误码测试等测试内容,接收测试装置500发送的测试结果,对该测试结果进行分析生成测试报告,从而完成对待测试装置600的测试。进一步的,测试人员还可以根据控制软件生成的测试报告,进行参数拉偏和参数优化,从而提高测试效率。Optionally, the control device 700 may include control software, which is used to start, pause, stop testing, collect, analyze test data, and output test reports. For example, the control software may be used to generate the above-mentioned first control signal and the first control signal. Two control signals and other control signals. specific. The test operator can select the test to be performed by clicking the virtual button in the control software. For example, the operator can select the eye diagram test, or can select the bit error test to control the test device 500 and the device to be tested 600 to execute the corresponding test. instruction to complete the test content such as eye diagram test or bit error test, receive the test result sent by the test device 500, analyze the test result to generate a test report, and complete the test of the device to be tested 600. Further, the tester can also perform parameter deflection and parameter optimization according to the test report generated by the control software, thereby improving the test efficiency.

可选的,上述接口电路510可以为以太网接口电路、串行通信接口电路、通用串行总线(universal serial bus,USB)接口电路或无线接口电路,本申请实施例对于接口电路510的具体类型并不限定。Optionally, the above-mentioned interface circuit 510 may be an Ethernet interface circuit, a serial communication interface circuit, a universal serial bus (universal serial bus, USB) interface circuit or a wireless interface circuit. Not limited.

可以理解的,当接口电路510为无线接口电路时,接口电路510和控制装置700无线不需要通过有线连接,与有线连接相比,控制装置700和测试装置500的位置不受线缆的限制更灵活,控制装置700与测试装置500之间通信的建立更方便。It can be understood that when the interface circuit 510 is a wireless interface circuit, the interface circuit 510 and the control device 700 do not need to be wirelessly connected through a wired connection. Compared with the wired connection, the positions of the control device 700 and the testing device 500 are not limited by cables. It is flexible, and the establishment of communication between the control device 700 and the testing device 500 is more convenient.

示例的,当接口电路510为以太网接口电路时,接口电路510可以包括以太网接口和以太网接口芯片;当接口电路510为串行通信接口电路时,接口电路510可以包括串行通信接口和串行通信接口芯片;当接口电路510为通用串行总线接口电路时,接口电路510可以包括通用串行总线接口和通用串行总线接口芯片;当接口电路为无线接口电路时,接口电路510可以包括无线芯片。Exemplarily, when the interface circuit 510 is an Ethernet interface circuit, the interface circuit 510 may include an Ethernet interface and an Ethernet interface chip; when the interface circuit 510 is a serial communication interface circuit, the interface circuit 510 may include a serial communication interface and an Ethernet interface chip. serial communication interface chip; when the interface circuit 510 is a universal serial bus interface circuit, the interface circuit 510 may include a universal serial bus interface and a universal serial bus interface chip; when the interface circuit is a wireless interface circuit, the interface circuit 510 may Including wireless chip.

例如,当接口电路510包括以太网接口和以太网接口芯片时,该以太网接口可以为水晶头45(registered jack 45,RJ-45)接口或水晶头11(registered jack 11,RJ-11)接口,以太网接口芯片可以为物理层(physical layer,PHY)芯片。当接口电路510包括串行通信接口和串行通信芯片时,该串行通信接口芯片可以为美国电子工业联盟232(recommended standard232,RS232)串口芯片,其中串行通信接口可以简称为串口。当接口电路510包括通用串行总线接口和通用串行总线接口芯片时,该通用串行总线接口可以为USB2.0接口或USB3.0接口,通用串行总线接口芯片可以为USB2.0接口芯片或者可以为USB3.0接口芯片。当接口电路510包括无线接口芯片时,该无线接口芯片可以为蓝牙(bluetooth)芯片、无线保真(wireless fidelity,WIFi)芯片或紫蜂(Zigbee)芯片。图5和图6中以接口电路510为串行通信接口电路,该串行通信接口电路包括串口511和RS232串口芯片512为例进行实例性说明。For example, when the interface circuit 510 includes an Ethernet interface and an Ethernet interface chip, the Ethernet interface can be a crystal jack 45 (registered jack 45, RJ-45) interface or a crystal jack 11 (registered jack 11, RJ-11) interface , the Ethernet interface chip may be a physical layer (physical layer, PHY) chip. When the interface circuit 510 includes a serial communication interface and a serial communication chip, the serial communication interface chip may be a 232 (recommended standard 232, RS232) serial chip of the Electronic Industries Alliance, wherein the serial communication interface may be referred to as a serial port for short. When the interface circuit 510 includes a universal serial bus interface and a universal serial bus interface chip, the universal serial bus interface can be a USB2.0 interface or a USB3.0 interface, and the universal serial bus interface chip can be a USB2.0 interface chip Or it can be a USB3.0 interface chip. When the interface circuit 510 includes a wireless interface chip, the wireless interface chip may be a Bluetooth (bluetooth) chip, a wireless fidelity (wireless fidelity, WIFi) chip or a Zigbee (Zigbee) chip. In FIGS. 5 and 6 , the interface circuit 510 is a serial communication interface circuit, and the serial communication interface circuit includes a serial port 511 and an RS232 serial port chip 512 as an example for illustration.

可选的,如图5和图6所示,上述测试电路520可以包括测试芯片521,测试芯片521的一端与接口电路510耦合,测试芯片521的另一端与测试接口530耦合,该测试芯片521用于根据测试信号确定待测试装置600的测试结果。Optionally, as shown in FIG. 5 and FIG. 6 , the above-mentioned test circuit 520 may include a test chip 521, one end of the test chip 521 is coupled to the interface circuit 510, and the other end of the test chip 521 is coupled to the test interface 530, and the test chip 521 It is used to determine the test result of the device under test 600 according to the test signal.

可选的,上述测试芯片521包括以下的一种:高速时钟数据恢复(clock and datarecovery,CDR)芯片、信号驱动器(retimer)芯片和选择(switch)芯片,本申请实施例对于测试芯片521的具体类型并不限定。Optionally, the above-mentioned test chip 521 includes one of the following: a high-speed clock and data recovery (clock and data recovery, CDR) chip, a signal driver (retimer) chip, and a selection (switch) chip. Type is not limited.

可选的,如图5和图6所示,上述测试电路520还可以包括时钟电路522和复位电路523,时钟电路522和复位电路523分别与测试芯片521耦合。时钟电路522用于为测试芯片521提供时钟,复位电路523用于在待测试装置中每一个通道测试完成时使测试芯片521恢复初始状态,从而测试装置500可以完成对待测试装置600中所有通道的测试。Optionally, as shown in FIG. 5 and FIG. 6 , the above-mentioned test circuit 520 may further include a clock circuit 522 and a reset circuit 523 , and the clock circuit 522 and the reset circuit 523 are respectively coupled to the test chip 521 . The clock circuit 522 is used to provide a clock for the test chip 521, and the reset circuit 523 is used to restore the test chip 521 to the initial state when the test of each channel in the device to be tested is completed, so that the test device 500 can complete all channels in the device to be tested 600. test.

可选的,上述测试接口530(或称为金手指)与待测试装置600中插槽610的类型有关,可以根据插槽610的类型将测试接口530设计为不同类型的接口。测试接口530可以包括以下的一种:高速串行计算机扩展总线接口、串行连接小型计算机系统接口、串行高级技术附件接口、卡机电(card electromechanical,CEM)接口、非易失性内存标准(non-volatilememory express,NVME)接口和开放核心协议(open core protocol,OCP)接口。从而能够支持测试装置500对高速串行计算机扩展总线信号、串行连接小型计算机系统接口信号、串行高级技术附件信号、通用串行总线信号等高速信号进行测试。Optionally, the above-mentioned test interface 530 (or referred to as a golden finger) is related to the type of the slot 610 in the device under test 600 , and the test interface 530 can be designed as different types of interfaces according to the type of the slot 610 . The test interface 530 may include one of the following: a high-speed serial computer expansion bus interface, a serial connection small computer system interface, a serial advanced technology accessory interface, a card electromechanical (CEM) interface, a non-volatile memory standard ( non-volatile memory express, NVME) interface and open core protocol (open core protocol, OCP) interface. Therefore, the test device 500 can be supported to test high-speed signals such as high-speed serial computer expansion bus signals, serial connection small computer system interface signals, serial advanced technology accessory signals, and universal serial bus signals.

示例性的,当插槽610为高速串行计算机扩展总线插槽时,上述测试接口530可以为高速串行计算机扩展总线接口。Exemplarily, when the slot 610 is a high-speed serial computer expansion bus slot, the above-mentioned test interface 530 may be a high-speed serial computer expansion bus interface.

可选的,当测试接口530为高速串行计算机扩展总线接口时,该高速串行计算机扩展总线接口可以包括16个通道、8个通道、4个通道或1个通道,或者,可以包括更多个通道,本申请实施例对于该高速串行计算机扩展总线接口包括通道的具体数量并不限定。Optionally, when the test interface 530 is a high-speed serial computer expansion bus interface, the high-speed serial computer expansion bus interface may include 16 channels, 8 channels, 4 channels or 1 channel, or may include more The embodiment of the present application does not limit the specific number of channels included in the high-speed serial computer expansion bus interface.

可选的,本申请实施例提供的测试装置500可以根据测试接口的类型设置为不同的形态,从而能够更方便的用于测试待测试装置600,该测试装置500的形态可以包括以下的一种:高速串行计算机扩展总线板卡、接口和开放核心协议板卡、2.5寸硬盘、3.5寸硬盘或U盘等。Optionally, the test device 500 provided in the embodiment of the present application can be set to different forms according to the type of the test interface, so that it can be more conveniently used to test the device to be tested 600, and the form of the test device 500 may include one of the following: : High-speed serial computer expansion bus board, interface and open core protocol board, 2.5-inch hard disk, 3.5-inch hard disk or U disk, etc.

本申请实施例提供的测试装置500,通过测试接口530接收待测试装置600发送的测试信号,或者,通过测试接口530接收待测试装置600发送的测试信号,该测试接口530包括和待测试装置600中的插槽610相对应的多个通道,因此在测试的过程中,不需要多次改变测试电路的结构,测试电路520能够接收到多个通道中任一个通道发送的测试信号,根据该测试信号能够确定待测试装置600的测试结果。因此,在测试的过程中操作简单,能够提高测试效率,同时,不需要采用价格昂贵的示波器330、误码仪360和测试夹具320,能够降低成本。The test device 500 provided in the embodiment of the present application receives the test signal sent by the device to be tested 600 through the test interface 530 , or receives the test signal sent by the device to be tested 600 through the test interface 530 , the test interface 530 includes and the device to be tested 600 There are multiple channels corresponding to the slot 610 in the test circuit, so in the process of testing, it is not necessary to change the structure of the test circuit many times, and the test circuit 520 can receive the test signal sent by any one of the multiple channels. The signal can determine the test result of the device under test 600 . Therefore, the operation during the test is simple, the test efficiency can be improved, and at the same time, the expensive oscilloscope 330, the bit error tester 360 and the test fixture 320 are not required, which can reduce the cost.

在一种可能的实施例中,如图7所示,上述测试装置500还可以包括电源电路540,该电源电路540的输入端与测试接口530耦合,电源电路540的输出端与接口电路510和测试接口530耦合。In a possible embodiment, as shown in FIG. 7 , the above-mentioned test device 500 may further include a power supply circuit 540, the input end of the power supply circuit 540 is coupled with the test interface 530, and the output end of the power supply circuit 540 is connected with the interface circuit 510 and the interface circuit 510 and the test interface 530. Test interface 530 is coupled.

需要说明的是,上述图7中测试装置500的结构为示例性说明,其并不对本申请实施例构成限定。It should be noted that, the structure of the testing device 500 in FIG. 7 above is illustrative, and does not limit the embodiments of the present application.

该电源电路540用于为接口电路510和测试电路520供电。The power supply circuit 540 is used to supply power to the interface circuit 510 and the test circuit 520 .

具体的,电源电路540用于接收来自测试接口530的供电电压,在该供电电压与接口电路510和测试电路520所需的供电电压不同时,可以对接收到的供电电压进行电压变换,以产生接口电路510和测试电路520所需的供电电压。Specifically, the power supply circuit 540 is used to receive the power supply voltage from the test interface 530. When the power supply voltage is different from the power supply voltage required by the interface circuit 510 and the test circuit 520, the received power supply voltage can be voltage transformed to generate The supply voltage required by the interface circuit 510 and the test circuit 520 .

可选的,接口电路510和测试电路520所需的供电电压可以相同,或者所需的供电电压可以不同,本申请实施例对此并不限定,下述实施例以接口电路510和测试电路520所需的供电电压为不同的供电电压为例进行示例性说明。Optionally, the power supply voltages required by the interface circuit 510 and the test circuit 520 may be the same, or the required power supply voltages may be different, which is not limited in this embodiment of the present application. The following embodiments use the interface circuit 510 and the test circuit 520 The required power supply voltages are different power supply voltages as an example for illustration.

例如,结合图7,当接口电路510和测试电路520所需的供电电压为不同的供电电压不同时,电源电路540的第一输出端与接口电路510中的RS232串口芯片耦合,电源电路540的第二输出端与测试芯片521耦合。以电源电路540通过测试接口530接收待测试装置600提供的12V供电电压,接口电路510中的RS232串口芯片需要1.8V供电电压,测试芯片521需要3.3V供电电压为例,电源电路540根据该12V供电电压,可以产生接口电路510中的RS232串口芯片所需的1.8V供电电压,还可以产生测试芯片521所需的3.3V供电电压。For example, referring to FIG. 7 , when the power supply voltages required by the interface circuit 510 and the test circuit 520 are different, the first output end of the power supply circuit 540 is coupled to the RS232 serial port chip in the interface circuit 510, and the power supply circuit 540 The second output terminal is coupled to the test chip 521 . Taking the power supply circuit 540 receiving the 12V power supply voltage provided by the device under test 600 through the test interface 530, the RS232 serial port chip in the interface circuit 510 needs a 1.8V power supply voltage, and the test chip 521 needs a 3.3V power supply voltage as an example, the power supply circuit 540 according to the 12V power supply voltage The power supply voltage can generate the 1.8V power supply voltage required by the RS232 serial port chip in the interface circuit 510 and the 3.3V power supply voltage required by the test chip 521 .

本申请实施例提供的测试装置500,通过电源电路540对测试接口530接收的供电电压进行处理,因此能够为接口电路510和测试电路520提供稳定的供电电压。The test device 500 provided by the embodiment of the present application processes the power supply voltage received by the test interface 530 through the power supply circuit 540 , so that a stable power supply voltage can be provided for the interface circuit 510 and the test circuit 520 .

在其他实施例中,电源电路540可以与接口电路510耦合,接口电路510可以接收来自控制装置700的供电电压,在该供电电压与接口电路510和测试电路520所需的供电电压不同时,可以对接收到的供电电压进行电压变换,以产生接口电路510和测试电路520所需的供电电压。In other embodiments, the power supply circuit 540 may be coupled with the interface circuit 510, and the interface circuit 510 may receive a supply voltage from the control device 700, and when the supply voltage is different from the supply voltage required by the interface circuit 510 and the test circuit 520, it may Voltage conversion is performed on the received power supply voltage to generate the power supply voltage required by the interface circuit 510 and the test circuit 520 .

在其他实施例中,电源电路540可以只给接口电路510提供稳定的供电电压,或者,电源电路540可以只给测试电路520提供稳定的供电电压。基于此,如图8所示,本申请实施例还提供一种测试设备800,该测试设备800用于测试待测试装置900,该测试设备800包括互相耦合的控制装置810和测试装置820。其中,控制装置810和测试装置820分别与待测试装置900耦合。该测试装置820的结构可以如图5、图6和图7所示的测试装置500的结构。In other embodiments, the power supply circuit 540 may only provide a stable power supply voltage to the interface circuit 510 , or the power supply circuit 540 may only provide a stable power supply voltage to the test circuit 520 . Based on this, as shown in FIG. 8 , an embodiment of the present application further provides a test device 800 for testing the device to be tested 900 , and the test device 800 includes a control device 810 and a test device 820 that are coupled to each other. The control device 810 and the testing device 820 are respectively coupled to the device to be tested 900 . The structure of the test device 820 may be the structure of the test device 500 shown in FIG. 5 , FIG. 6 and FIG. 7 .

需要说明的是,上述图8中测试设备800的结构为示例性说明,其并不对本申请实施例构成限定。It should be noted that, the structure of the testing device 800 in FIG. 8 above is illustrative, and does not limit the embodiments of the present application.

上述控制装置810用于发送控制信号,待测试装置900用于根据控制信号发送测试信号,测试装置820用于根据测试信号确定待测试装置900的测试结果,控制装置810还用于接收测试结果。The above-mentioned control device 810 is used for sending control signals, the device under test 900 is used for sending test signals according to the control signals, the testing device 820 is used for determining the test result of the device under test 900 according to the test signal, and the control device 810 is also used for receiving the test results.

可选的,本申请实施例提供的测试设备800可以用于高速信号测试,或者,可以用于低速信号测试,本申请实施例对于测试设备800具体用高速信号测试还是低速信号测试并不限定。Optionally, the test device 800 provided in this embodiment of the present application may be used for high-speed signal testing, or may be used for low-speed signal testing. This embodiment of the present application does not limit whether the test device 800 specifically uses high-speed signal testing or low-speed signal testing.

可选的,本申请实施例提供的测试设备800可以用于眼图测试,生成眼图和/或眼图测试结论以确定待测试装置900发送链路的质量,上述测试结果为眼图和/或眼图测试结论;或者,可以用于误码测试,确定误码信息(误码率)以判断待测试装置900接收链路的质量,上述测试结果为误码信息。Optionally, the test equipment 800 provided in this embodiment of the present application may be used for eye diagram testing, to generate an eye diagram and/or an eye diagram test conclusion to determine the quality of the transmission link of the device under test 900, and the above test results are an eye diagram and/or an eye diagram test result. Or eye diagram test conclusion; or, it can be used for bit error test to determine bit error information (bit error rate) to judge the quality of the link received by the device under test 900, and the above test result is bit error information.

可选的,控制装置810可以包括控制软件,该控制软件用于启动、暂停、停止测试、收集、分析测试数据、输出测试报告,例如,该控制软件可以用于产生上述第一控制信号和第二控制信号等控制信号。具体的。测试操作人员可以通过点击控制软件中的虚拟按键,选择需要进行的测试,例如,操作人员可以选择眼图测试,或者,可以选择误码测试,以控制测试装置820和待测试装置900执行相应的指令,以完成眼图测试或误码测试等测试内容,接收测试装置820发送的测试结果,对该测试结果进行分析生成测试报告,从而完成对待测试装置900的测试。进一步的,测试人员还可以根据控制软件生成的测试报告,进行参数拉偏和参数优化,从而提高测试效率。Optionally, the control device 810 may include control software, which is used to start, pause, stop the test, collect, analyze test data, and output the test report. For example, the control software may be used to generate the above-mentioned first control signal and the first control signal. Two control signals and other control signals. specific. The test operator can select the test to be performed by clicking the virtual button in the control software. For example, the operator can select the eye diagram test, or can select the bit error test to control the test device 820 and the device to be tested 900 to perform the corresponding test. order to complete the test content such as eye diagram test or bit error test, receive the test result sent by the test device 820 , analyze the test result to generate a test report, and complete the test of the device to be tested 900 . Further, the tester can also perform parameter deflection and parameter optimization according to the test report generated by the control software, thereby improving the test efficiency.

示例性的,控制装置810可以根据上述眼图和/或眼图测试结论,以及误码率,调整预加重,提高待测试装置900传输高速信号的质量。其中预加重是指在发送高速信号时,对高速信号的高频分量进行补偿的信号处理方式,通过调整预加重,能够补偿高速信号在传输过程中的损耗,能够提高高速信号的质量。Exemplarily, the control device 810 may adjust the pre-emphasis according to the above eye diagram and/or the eye diagram test conclusion and the bit error rate, so as to improve the quality of the high-speed signal transmitted by the device under test 900 . The pre-emphasis refers to a signal processing method that compensates the high-frequency components of the high-speed signal when sending the high-speed signal. By adjusting the pre-emphasis, the loss of the high-speed signal in the transmission process can be compensated, and the quality of the high-speed signal can be improved.

可选的,上述控制装置810为电子设备。比如,该电子设备可以为个人计算机、平板电脑、手机等。Optionally, the above-mentioned control device 810 is an electronic device. For example, the electronic device may be a personal computer, a tablet computer, a mobile phone, and the like.

可选的,上述待测试装置900可以包括主板910,该主板910上可以设置有处理器911和插槽912。Optionally, the above-mentioned device to be tested 900 may include a mainboard 910 , and the mainboard 910 may be provided with a processor 911 and a slot 912 .

上述测试装置820包括测试接口821,该测试接口821用于与待测试装置900中的插槽912耦合。The above-mentioned test device 820 includes a test interface 821 for coupling with the slot 912 in the device to be tested 900 .

可选的,该测试接口821可以包括以下的一种:高速串行计算机扩展总线接口、串行连接小型计算机系统接口、串行高级技术附件接口、卡机电接口、非易失性内存标准接口和开放核心协议接口。从而能够支持测试设备900对高速串行计算机扩展总线信号、串行连接小型计算机系统接口信号、串行高级技术附件信号、通用串行总线信号等高速信号进行测试。Optionally, the test interface 821 may include one of the following: a high-speed serial computer expansion bus interface, a serial connection to a small computer system interface, a serial advanced technology accessory interface, a card electromechanical interface, a non-volatile memory standard interface, and Open core protocol interface. Therefore, the test equipment 900 can be supported to test high-speed signals such as high-speed serial computer expansion bus signals, serial connection small computer system interface signals, serial advanced technology accessory signals, and universal serial bus signals.

可选的,上述测试信号为测试码型,采用测试码型能够进行稳定的、可重复性的测试,该测试码型可以包括以下的一种:PRBS31、PRBS7、PRBS9、PRBS11、PRBS15、PRBS20和PRBS23。Optionally, the above-mentioned test signal is a test pattern, and a stable and repeatable test can be performed by using the test pattern, and the test pattern may include one of the following: PRBS31, PRBS7, PRBS9, PRBS11, PRBS15, PRBS20 and PRBS23.

在一种可能的实施例中,如图9所示,上述控制装置810可以集成设置在测试装置820中,测试设备800还可以包括人机交互界面830,该人机交互界面830与控制装置810耦合,测试操作人员可以通过点击人机交互界面830中的虚拟按键,以控制测试设备对待测试装置900进行测试,该人机交互界面830还可以用于显示测试结果。In a possible embodiment, as shown in FIG. 9 , the above-mentioned control device 810 may be integrated in the test device 820 , and the test device 800 may further include a human-computer interaction interface 830 , which is connected to the control device 810 . Coupling, the test operator can control the test equipment to test the device to be tested 900 by clicking the virtual button in the human-computer interaction interface 830, and the human-computer interaction interface 830 can also be used to display the test results.

本申请实施例提供的测试设备800,通过测试装置820根据测试信号确定待测试装置900的测试结果,该测试装置820通过测试接口821和插槽912与待测试装置900耦合,测试接口821包括和插槽912相对应的多个通道,因此在测试的过程中,不需要多次改变测试电路的结构,测试装置820能够接收到待测试装置900中的测试信号,根据该测试信号能够确定测试结果,控制装置810根据该测试结果可以显示测试结果眼图和/眼图测试结论,或者,显示误码率,从而能够确定待测试装置900发送链路和接收链路的质量。与现有技术相比,在测试的过程中,不需要多次改变同轴电缆连接器的连接位置,因此操作简单,能够提高测试效率,同时,不需要采用价格昂贵的示波器330、误码仪360和测试夹具320,能够降低成本。需要说明的是,上述装置实施例关于测试装置500的相关描述均可对应援引到该测试设备800的实施例中,本申请实施例在此不再赘述。In the test equipment 800 provided in this embodiment of the present application, the test result of the device to be tested 900 is determined by the test device 820 according to the test signal. The test device 820 is coupled to the device to be tested 900 through the test interface 821 and the slot 912. There are multiple channels corresponding to the slot 912. Therefore, in the process of testing, it is not necessary to change the structure of the test circuit many times. The test device 820 can receive the test signal in the device to be tested 900, and the test result can be determined according to the test signal. , the control device 810 can display the test result eye diagram and/or the eye diagram test conclusion according to the test result, or display the bit error rate, so that the quality of the transmission link and the reception link of the device under test 900 can be determined. Compared with the prior art, in the process of testing, it is not necessary to change the connection position of the coaxial cable connector many times, so the operation is simple, and the testing efficiency can be improved. 360 and test fixture 320, which can reduce the cost. It should be noted that, the relevant descriptions of the testing apparatus 500 in the above apparatus embodiments can be correspondingly cited in the embodiments of the testing apparatus 800 , and details are not described herein again in this embodiment of the present application.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this, and any changes or substitutions within the technical scope disclosed in the present application should be covered within the protection scope of the present application. . Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (10)

1.一种测试装置,其特征在于,所述测试装置包括:接口电路、测试电路和测试接口,所述接口电路、所述测试电路和所述测试接口耦合,其中:1. A test device, characterized in that the test device comprises: an interface circuit, a test circuit and a test interface, wherein the interface circuit, the test circuit and the test interface are coupled, wherein: 所述测试接口,用于连接待测试装置;The test interface is used to connect the device to be tested; 所述测试接口,用于接收来自所述待测试装置的测试信号;the test interface for receiving a test signal from the device to be tested; 所述测试电路,用于根据所述测试信号确定所述待测试装置的测试结果;the test circuit, configured to determine the test result of the device to be tested according to the test signal; 所述接口电路,用于发送所述测试结果。The interface circuit is used for sending the test result. 2.根据权利要求1所述的测试装置,其特征在于,所述测试信号为第一测试码型,所述测试结果包括眼图数据和/或眼图测试结论,所述眼图测试结论用于指示所述眼图数据是否满足预设眼图测试指标。2. test device according to claim 1, is characterized in that, described test signal is the first test pattern, and described test result comprises eye pattern data and/or eye pattern test conclusion, and described eye pattern test conclusion uses for indicating whether the eye pattern data meets the predetermined eye pattern test index. 3.根据权利要求2所述的测试装置,其特征在于,当所述测试结果为所述眼图数据时,所述测试电路具体用于根据所述第一测试码型获取同步时钟信号,根据所述第一测试码型和所述同步时钟信号确定多个时钟周期的波形数据,根据所述多个时钟周期的波形数据确定所述眼图数据;3. The test device according to claim 2, wherein when the test result is the eye diagram data, the test circuit is specifically configured to obtain a synchronous clock signal according to the first test pattern, and according to The first test pattern and the synchronization clock signal determine waveform data of multiple clock cycles, and determine the eye diagram data according to the waveform data of the multiple clock cycles; 或者,当所述测试结果为所述眼图测试结论时,所述测试电路还用于根据所述眼图数据和所述预设眼图测试指标确定所述眼图测试结论。Alternatively, when the test result is the eye-diagram test conclusion, the test circuit is further configured to determine the eye-diagram test conclusion according to the eye-diagram data and the preset eye-diagram test index. 4.根据权利要求1所述的测试装置,其特征在于,所述测试信号为第二测试码型,所述测试结果为误码信息;4. test device according to claim 1, is characterized in that, described test signal is the second test pattern, and described test result is bit error information; 所述接口电路,还用于接收控制信号;The interface circuit is also used for receiving a control signal; 所述测试电路,还用于根据所述控制信号产生第三测试码型;The test circuit is further configured to generate a third test pattern according to the control signal; 所述测试接口,还用于向所述待测试装置发送所述第三测试码型,所述第二测试码型为所述待测试装置根据所述第三测试码型转换得到。The test interface is further configured to send the third test pattern to the device under test, and the second test pattern is obtained by the device under test converted according to the third test pattern. 5.根据权利要求4所述的测试装置,其特征在于,所述测试电路具体用于将所述第二测试码型和所述第三测试码型逐位比较,确定所述第二测试码型的误码的位数,根据所述误码的位数和所述第三测试码型的总位数的比值确定所述误码信息。5. The test device according to claim 4, wherein the test circuit is specifically configured to compare the second test pattern and the third test pattern bit by bit to determine the second test pattern The number of error bits of the pattern is determined, and the error information is determined according to the ratio of the number of error bits to the total number of bits of the third test pattern. 6.根据权利要求1-5中任一项所述的测试装置,其特征在于,所述测试电路包括测试芯片,所述测试芯片的一端与所述测试接口耦合,所述测试芯片的另一端与所述接口电路耦合。6 . The test device according to claim 1 , wherein the test circuit comprises a test chip, one end of the test chip is coupled to the test interface, and the other end of the test chip is coupled to the test interface. 7 . coupled to the interface circuit. 7.根据权利要求6所述的测试装置,其特征在于,所述测试芯片包括高速时钟数据恢复芯片、信号驱动器芯片或选择芯片。7. The test device according to claim 6, wherein the test chip comprises a high-speed clock data recovery chip, a signal driver chip or a selection chip. 8.根据权利要求6或7所述的测试装置,其特征在于,所述测试电路还包括时钟电路和复位电路,所述时钟电路和所述复位电路分别与所述测试芯片耦合。8 . The test device according to claim 6 , wherein the test circuit further comprises a clock circuit and a reset circuit, and the clock circuit and the reset circuit are respectively coupled to the test chip. 9 . 9.根据权利要求1-8中任一项所述的测试装置,其特征在于,所述测试装置还包括电源电路;9. The test device according to any one of claims 1-8, wherein the test device further comprises a power supply circuit; 所述电源电路的输入端与所述测试接口耦合,所述电源电路的输出端与所述接口电路和所述测试电路耦合。The input end of the power supply circuit is coupled to the test interface, and the output end of the power supply circuit is coupled to the interface circuit and the test circuit. 10.一种测试设备,其特征在于,所述测试设备用于测试待测试装置,所述测试设备包括互相耦合的控制装置和测试装置,所述测试装置为如权利要求1-9中任一项所述的测试装置;10. A test equipment, characterized in that the test equipment is used to test a device to be tested, the test equipment comprises a control device and a test device coupled to each other, and the test device is any one of claims 1-9 The test device described in item; 所述控制装置,用于向所述待测试装置发送控制信号;the control device, configured to send a control signal to the device to be tested; 所述测试装置,用于接收所述待测试装置根据控制信号发送的测试信号,根据所述测试信号确定所述待测试装置的测试结果;The test device is configured to receive a test signal sent by the device to be tested according to the control signal, and to determine the test result of the device to be tested according to the test signal; 所述控制装置,还用于接收所述测试结果。The control device is further configured to receive the test result.
CN202210872062.6A 2022-07-19 2022-07-19 A test device and test equipment Pending CN115237094A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210872062.6A CN115237094A (en) 2022-07-19 2022-07-19 A test device and test equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210872062.6A CN115237094A (en) 2022-07-19 2022-07-19 A test device and test equipment

Publications (1)

Publication Number Publication Date
CN115237094A true CN115237094A (en) 2022-10-25

Family

ID=83674610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210872062.6A Pending CN115237094A (en) 2022-07-19 2022-07-19 A test device and test equipment

Country Status (1)

Country Link
CN (1) CN115237094A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117667800A (en) * 2023-12-06 2024-03-08 中科可控信息产业有限公司 Signal test fixture and signal test system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858609A (en) * 2005-08-02 2006-11-08 华为技术有限公司 Cable component test system and device
US20080192814A1 (en) * 2007-02-09 2008-08-14 Dft Microsystems, Inc. System and Method for Physical-Layer Testing of High-Speed Serial Links in their Mission Environments
CN106059723A (en) * 2016-08-03 2016-10-26 索尔思光电(成都)有限公司 Signal source, error code tester, signal generation method and error code test method
CN113708834A (en) * 2021-08-24 2021-11-26 铎铎电子科技(杭州)有限公司 Error code testing device
CN114530185A (en) * 2022-01-18 2022-05-24 深圳市晶存科技有限公司 Eye pattern testing method, system, equipment and medium
CN114614890A (en) * 2022-03-11 2022-06-10 上海大学 A code error tester and code error test system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858609A (en) * 2005-08-02 2006-11-08 华为技术有限公司 Cable component test system and device
US20080192814A1 (en) * 2007-02-09 2008-08-14 Dft Microsystems, Inc. System and Method for Physical-Layer Testing of High-Speed Serial Links in their Mission Environments
CN106059723A (en) * 2016-08-03 2016-10-26 索尔思光电(成都)有限公司 Signal source, error code tester, signal generation method and error code test method
CN113708834A (en) * 2021-08-24 2021-11-26 铎铎电子科技(杭州)有限公司 Error code testing device
CN114530185A (en) * 2022-01-18 2022-05-24 深圳市晶存科技有限公司 Eye pattern testing method, system, equipment and medium
CN114614890A (en) * 2022-03-11 2022-06-10 上海大学 A code error tester and code error test system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴柏昆,等: "基于STM32高速误码测试仪设计与实现", 仪表技术与传感器, no. 09, 15 September 2015 (2015-09-15), pages 31 - 34 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117667800A (en) * 2023-12-06 2024-03-08 中科可控信息产业有限公司 Signal test fixture and signal test system

Similar Documents

Publication Publication Date Title
US11193973B2 (en) Device, system and method to support communication of test, debug or trace information with an external input/output interface
US7231560B2 (en) Apparatus and method for testing motherboard having PCI express devices
CN109885434B (en) An integrated test system and method for FPGA high-speed SerDes interface
EP3213215B1 (en) Embedded universal serial bus (usb) debug (eud) for multi-interfaced debugging in electronic systems
CN103248537B (en) FC-AE-1553 based mixed avionics system tester
US11940483B2 (en) Systems, methods and devices for high-speed input/output margin testing
CN110515788B (en) Testing device for data interface
CN101882108A (en) Embedded software automatic test system and method thereof
CN114614890A (en) A code error tester and code error test system
CN203014839U (en) 10 G error detector based on high-speed transceiver chip
CN103036740B (en) To the method for testing of network terminal gigabit ethernet interface signal in a kind of EPON system
US20050097403A1 (en) USB interface and testing method thereof
CN108494533B (en) A portable long-distance multi-channel communication device bit error rate testing device and method
CN115237094A (en) A test device and test equipment
CN211062033U (en) Test adapter and test equipment
CN116324438A (en) Test and measurement instrument accessory with reconfigurable processing assembly
CN113938191B (en) Method and device for parameter testing of optical module
CN217739894U (en) Novel support USB 4's Type-C interface test device
US20230104150A1 (en) Error detection device and error detection method
TW202007997A (en) Semiconductor integrated circuit test system and semiconductor integrated circuit test device thereof
CN115904849A (en) PCIE link signal test method, system, computer equipment and medium
CN114935716A (en) ATE-based FPGA embedded SERDES test system and method
CN104753613A (en) Serial port communication testing device and testing method
CN112905400A (en) Signal testing device and signal testing method
CN220340682U (en) System and equipment for serial port debugging by using peripheral function interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination