System and method for automatically testing eye pattern of Ethernet physical layer chip

The automated testing system for Ethernet physical layer chips addresses inefficiencies in customized testing by using a test host and Python-based modules to configure and analyze chip eye diagrams, enhancing test efficiency and problem identification.

CN119064753APending Publication Date: 2024-12-03MOTORCOMM (SHANGHAI) ELECTRONIC TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411015399.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Customized testing methods for chip eye diagrams are time-consuming, labor-intensive, and lack automation, making them inefficient for complex chip functions.

Method used

A system and method using a test host with a control module, oscilloscope, and Python-based modules to automate the testing of Ethernet physical layer chip eye diagrams, generating summary reports with key feature calculations.

Benefits of technology

Automated testing significantly improves efficiency by configuring test items, controlling devices, and generating summary reports, facilitating quick identification of potential chip issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119064753A_ABST
    Figure CN119064753A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of chip testing, in particular to a system and a method for automatically testing an Ethernet physical layer chip eye pattern. The system comprises a test device used for receiving a control instruction, testing a chip according to the control instruction and outputting test data; the test host is connected with the test device, and the test host comprises a control module which is connected with the test device and is used for configuring an eye pattern test item, configuring parameters of the test device according to the eye pattern test item and generating a control instruction for controlling the test device to execute the eye pattern test item; and the automatic report generation module receives the test data and is used for forming a summary report combining the test data with the eye pattern. According to the invention, the test host configures the eye pattern test item to output the control instruction, and the test device is controlled to automatically complete the test of the eye pattern and generate the summary report, so that the small-batch test of the chip can be completed, and the test efficiency is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of chip testing, and in particular to a system and method for automatically testing an eye diagram of an Ethernet physical layer chip. Background Art

[0002] As chip functions become more and more complex, small-batch tests of key electrical parameters such as chip eye diagrams are required before chips are officially mass-produced to discover potential problems with the chips and ensure chip quality to the greatest extent. Chips have a variety of functions, and building a temporary test system requires separate design for each chip function. This customized testing method is time-consuming, labor-intensive, inefficient, and has a low degree of automation, and can no longer meet demand. Summary of the invention

[0003] The purpose of the present invention is to provide a system for automatically testing the eye diagram of an Ethernet physical layer chip to solve the above technical problems;

[0004] The present invention also aims to provide a method for automatically testing the eye diagram of an Ethernet physical layer chip to solve the above technical problems.

[0005] The technical problem solved by the present invention can be achieved by adopting the following technical solutions:

[0006] A system for automatically testing the eye diagram of an Ethernet physical layer chip, comprising:

[0007] A testing device, used for receiving a control instruction and testing the chip according to the control instruction, and outputting test data;

[0008] A test host connected to the test device, the test host comprising:

[0009] A control module, connected to the test device, configured to configure an eye diagram test item, configure parameters of the test device according to the eye diagram test item, and generate the control instruction for controlling the test device to execute the eye diagram test item;

[0010] The automatic report generation module receives the test data and is used to form a summary report combining the test data with the eye diagram.

[0011] Preferably, the test device is an oscilloscope, the test host and the oscilloscope are connected to the same network, the test host runs the control module adapted to the application program interface provided by the oscilloscope based on Python, and the oscilloscope outputs a test report including the test data.

[0012] Preferably, the parameters of the test device configured by the control module at least include the test channel of the oscilloscope, the test content, the template of the eye diagram and the format of the test report.

[0013] Preferably, the test host further comprises a temperature control module running based on Python, which is connected to a temperature control platform for controlling the external temperature of the chip.

[0014] Preferably, the test host also includes a control power supply module running based on Python, which is connected to a test power supply for providing test power supply. The chip is arranged at a test interface of a test board, the test power supply is connected to the test board, and the control power supply module is used to control the current value and voltage value of the test power supply.

[0015] Preferably, the automatic report generation module is constructed based on Python, and the automatic report generation module is used to aggregate the test reports of multiple chips to form the summary report.

[0016] Preferably, it also includes a problem marking module, which is connected to the automatic report generation module and is used to receive the summary report and calculate and mark the chips with problems based on the eye diagram graphics of the summary report.

[0017] A method for automatically testing the eye diagram of an Ethernet physical layer chip, applied to the system for automatically testing the eye diagram of an Ethernet physical layer chip, comprising:

[0018] Step S1, initializing and adjusting the chip;

[0019] Step S2, configuring eye diagram test items through the control module, and configuring parameters of the test device according to the eye diagram test items;

[0020] Step S3, the control module outputs a control instruction, the test device starts to run to test the chip, and outputs the test data after the test is completed;

[0021] Step S4: the automatic report generation module receives the test data and generates the summary report combining the test data with the eye diagram.

[0022] Preferably, step S1 comprises:

[0023] Step S11, placing the chip in a test interface of a test board;

[0024] Step S12, controlling the power supply module to adjust the test voltage of the chip to a preset voltage value;

[0025] Step S12: the temperature control module controls the temperature control station to adjust the external temperature of the chip to a preset temperature value.

[0026] Preferably, in step S2, the test device is an oscilloscope, and the method of configuring the parameters of the test device in step S2 includes:

[0027] Step S21, restoring the settings of the oscilloscope to a default state;

[0028] Step S22, setting the channel parameters and operation functions of the oscilloscope;

[0029] Step S23, setting the test horizontal and vertical lines and depth of the oscilloscope.

[0030] The beneficial effects of the present invention are as follows: due to the adoption of the above technical scheme, the present invention configures the eye diagram test item output control instructions through the test host, automatically completes the eye diagram test by controlling the test device, and generates a summary report, thereby completing small batch testing of chips, greatly improving the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is an architecture diagram of a system for automatically testing eye diagrams of Ethernet physical layer chips in an embodiment of the present invention;

[0032] Figure 2 A schematic diagram of the steps of a method for automatically testing an Ethernet physical layer chip eye diagram in an embodiment of the present invention;

[0033] Figure 3 This is a schematic diagram of step S1 in an embodiment of the present invention;

[0034] Figure 4 This is a schematic diagram of the method steps for setting an oscilloscope in step S2 in an embodiment of the present invention. DETAILED DESCRIPTION

[0035] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0036] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0037] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but they are not intended to limit the present invention.

[0038] A system for automatically testing the eye diagram of Ethernet physical layer chips, such as Figure 1 As shown, including

[0039] The test device 2 is used to receive a control instruction and test the chip according to the control instruction, and output test data;

[0040] The test host 1 is connected to the test device 2. The test host 1 includes:

[0041] The control module 11 is connected to the test device 2 and is used to configure the eye diagram test items, configure the parameters of the test device 2 according to the eye diagram test items, and generate control instructions for controlling the test device 2 to execute the eye diagram test items;

[0042] The automatic report generation module 12 receives the test data and is used to form a summary report combining the test data with the eye diagram.

[0043] Specifically, the present invention provides a system for automatically testing the eye diagram of an Ethernet physical layer (phy) chip, wherein the test host 1 can be a PC, which is controlled by a script in the PC to complete the eye diagram measurement of the chip. The present invention uses a control module 11 to control the test device 2 to automatically complete the eye diagram test, and analyzes the report of the test device 2 to generate a summary report, thereby completing small batch testing of the chip, greatly improving the test efficiency.

[0044] Specifically, an eye diagram refers to a graphical display method commonly used in electrical signal analysis, which is used to evaluate and analyze the quality and stability of signals in digital communication systems. The eye diagram displays overlapping images of multiple data bits in one cycle and is represented by vertical and horizontal coordinate axes.

[0045] Since the eye diagram is an image composed of many periodically repeated digital signals, the signals in each cycle overlap to form an "eye" shape, hence the name eye diagram. It is mainly used to show the relationship between clock and data signals in data transmission, as well as the impact of noise and distortion on signals. The eye diagram image in the summary report of the present invention contains at least the following features:

[0046] Eye Height: It is used to measure the distance between the peak and valley of the test data, reflecting the amplitude range of the signal.

[0047] Eye Width: It is used to indicate the distinguishability of data bits within the valid time window of the test data.

[0048] Eye Diagram Mask Margin indicates the safety margin where the test data should be kept.

[0049] In a preferred embodiment, the test device 2 is an oscilloscope, the test host 1 and the oscilloscope are connected to the same network, the test host 1 runs a control module 11 based on Python that is compatible with the application program interface provided by the oscilloscope, and the oscilloscope outputs a test report including test data.

[0050] Specifically, the oscilloscope is controlled by connecting the oscilloscope and the test host 1 to the same network, and then writing a Python script according to the application program interface (API) provided by the oscilloscope to control the test oscilloscope to perform the above-mentioned eye diagram test. After the test is completed, a report is generated on the oscilloscope as an HTML file.

[0051] Specifically, the test host 1 of the present invention is mainly composed of a control module 11 and an automatic report generation module 12. The test host 1 adopts a PC, the test device 2 is an oscilloscope, and a python script is run on the PC side. The oscilloscope is controlled by the python script to automatically select the required chip test items and some configurations of the oscilloscope according to the test needs, such as the selection of test channels, the selection of eye diagram test content, the configuration of eye diagram templates, the configuration of the report format content generated by the oscilloscope and the export of the test report, etc. The present invention can further configure the eye diagram test items according to the required chip test items.

[0052] Preferably, since the test host 1 runs based on Python scripts, the eye diagram test items can be flexibly configured according to different test requirements and chip types to meet diverse eye diagram test requirements.

[0053] In a preferred embodiment, the parameters of the test device 2 configured by the control module 11 at least include the test channel of the oscilloscope, the test content, the template of the eye diagram and the format of the test report.

[0054] Specifically, the present invention can configure the parameters of the eye diagram test through the control module 11, such as selecting the test channel, the eye diagram template and the test report format;

[0055] According to the configured eye diagram test items, a control instruction is generated and sent to the oscilloscope to start or end the eye diagram test, and then the test data is obtained from the oscilloscope and the eye diagram image is generated in combination with the eye diagram template.

[0056] More specifically, multiple eye diagram images are integrated into a summary report, including calculation results of features such as eye height and eye width.

[0057] In a preferred embodiment, the test host 1 further includes a temperature control module 13 running based on Python, which is connected to a temperature control station 3 for controlling the external temperature of the chip.

[0058] Specifically, the temperature control module 13 is used to control the temperature of the chip test environment to ensure that the test temperature is stable.

[0059] In a preferred embodiment, the test host 1 also includes a control power supply module running based on Python, which is connected to a test power supply for providing test power. The chip is arranged at a test interface of a test board 4, the test power supply is connected to the test board 4, and the control power supply module is used to control the current value and voltage value of the test power supply.

[0060] Specifically, the Python script is used to control the test power supply to different voltage and current values; the control power module controls the voltage and current stability of the test power supply

[0061] In a preferred embodiment, the automatic report generation module 12 is constructed based on Python, and the automatic report generation module 12 is used to aggregate the test reports of multiple chips to form an aggregate report.

[0062] Specifically, the automatic report generation module 12 is an application written in a python script, which is used to summarize the test reports of the oscilloscope into a total summary report. Preferably, the automatic report generation module 12 can quickly and accurately integrate the test data of multiple chips into a summary report, saving the developer time to analyze and organize the data.

[0063] The present invention utilizes Python scripts to automatically complete the chip eye diagram test, so that the tester only needs to replace different chips without any other additional operations to complete the eye diagram test; and the developer can intuitively analyze the results and find the problems of the chip without opening the test reports one by one, providing a more universal and scalable chip eye diagram test system, which can meet most chip eye diagram test requirements and improve the test efficiency.

[0064] Specifically, the summary report in the present invention is displayed through the user interface of the test host 1, and the test data is intuitively displayed by drawing an eye diagram image, including features such as eye height and eye width.

[0065] In a preferred embodiment, a problem marking module 5 is further included, connected to the automatic report generation module 12, for receiving the summary report and calculating and marking the chips with problems according to the eye diagram graphics of the summary report. Preferably, the present invention can generate eye diagram images and calculate key features (such as eye height, eye width, etc.), helping developers to quickly evaluate and analyze test results and discover potential problems in chips.

[0066] Specifically, a Python script uses the XML file exported by the oscilloscope to generate a summary report from multiple test reports of multiple chips, connect the measurement data with the eye diagram, and mark the problematic chips through calculations, making it easier for developers to analyze the results.

[0067] Specifically, the present invention develops or integrates an algorithm to automatically analyze key features of the eye diagram, such as eye height, eye width, and eye diagram holding interval, etc., evaluates the quality of the eye diagram according to predefined standards or thresholds, and identifies problematic chips.

[0068] A method for automatically testing an Ethernet physical layer chip eye diagram is applied to a system for automatically testing an Ethernet physical layer chip eye diagram in any embodiment, such as Figure 2 As shown, including

[0069] Step S1, initializing and adjusting the chip;

[0070] Step S2, configuring the eye diagram test items through the control module 11, and configuring the parameters of the test device 2 according to the eye diagram test items;

[0071] Step S3, the control module 11 outputs a control instruction, the test device 2 starts to run to test the chip, and outputs test data after the test is completed;

[0072] Step S4, the automatic report generation module 12 receives the test data and generates a summary report combining the test data with the eye diagram.

[0073] Specifically, the present invention can configure the parameters of the eye diagram test through the control module 11, such as selecting the test channel, the eye diagram template and the test report format;

[0074] According to the configured eye diagram test items, a control instruction is generated and sent to the oscilloscope to start or end the eye diagram test, and then the test data is obtained from the oscilloscope and the eye diagram image is generated in combination with the eye diagram template.

[0075] More specifically, multiple eye diagram images are integrated into a summary report, including calculation results of features such as eye height and eye width.

[0076] In a preferred embodiment, Figure 3 As shown, step S1 includes,

[0077] Step S11, placing the chip in the test interface of the test board 4;

[0078] Step S12, controlling the power supply module to adjust the test voltage of the chip to reach a preset voltage value;

[0079] Step S12, the temperature control module 13 controls the temperature control platform 3 to adjust the external temperature of the chip to a preset temperature value.

[0080] Specifically, the temperature control module 13 is used to control the temperature of the chip test environment to ensure that the test temperature is stable; the power control module controls the voltage and current of the test power supply to be stable.

[0081] In a preferred embodiment, Figure 4 As shown, in step S2, the test device 2 is an oscilloscope, and the method of configuring the parameters of the test device 2 in step S2 includes:

[0082] Step S21, restoring the settings of the oscilloscope to a default state;

[0083] Step S22, setting the channel parameters and operation functions of the oscilloscope;

[0084] Step S23, setting the test horizontal and vertical lines and depth of the oscilloscope.

[0085] Specific embodiment 1, in this embodiment, the chip testing steps include:

[0086] Step 1, run the python script of test host 1;

[0087] Step 2: The tester places the chip to be tested into the test interface of the test board 4 according to the prompt;

[0088] Step 3, start running the test;

[0089] Step 4, the test script controls the power supply and automatically adjusts the voltage;

[0090] Step 5, the test script controls the temperature control station 3 to automatically adjust the temperature of the chip surface;

[0091] Step 6, the test script controls the oscilloscope and automatically selects the test items;

[0092] Step 7, wait for the test to be completed, and let the oscilloscope generate a test report for the chip;

[0093] Step 8, repeat step 2 to step 8 until all chip tests are completed;

[0094] Step 9: The test script automatically generates a summary report.

[0095] Specific embodiment 2, in this embodiment, the chip testing steps include:

[0096] Step 1, set the oscilloscope to default state;

[0097] Step 2: Set the channel parameters and calculation function commands of the oscilloscope.

[0098] Step 3, set the oscilloscope's test horizontal and vertical lines and depth and other configurations, which are used to set the oscilloscope's horizontal and vertical control parameters, such as horizontal buffer record length and vertical gain.

[0099] Step 4, open the control module 11 named DPOJet0;

[0100] Step 5: Delete the original measurement and configuration and prepare to start a new test;

[0101] Step 6: Configure and add chip test items;

[0102] Step 7, further add eye diagram test items;

[0103] Step 8, clear the previously saved test data;

[0104] Step 9, set the template file of the eye diagram;

[0105] Step 10, run the test, start the oscilloscope to execute the test task under the current configuration;

[0106] Step 11, stop testing;

[0107] Step 12, saving the test report containing the test data;

[0108] Step 13, summarize the test data to form a summary report combining the test data with the eye diagram.

[0109] Specifically, in step 13, the test results in the XML file exported by the oscilloscope are extracted through a python script, the XML results are added to Excel, and then the test eye diagram is added to Excel to form a summary report combined with the eye diagram.

[0110] The above description is only a preferred embodiment of the present invention, and does not limit the implementation mode and protection scope of the present invention. For those skilled in the art, it should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the description and illustrations of the present invention should be included in the protection scope of the present invention.

Claims

1. A system for automatically testing the eye diagram of an Ethernet physical layer chip, characterized in that: include, A test device (2), used for receiving a control instruction and testing the chip according to the control instruction, and outputting test data; A test host (1) is connected to the test device (2), and the test host (1) comprises: A control module (11), connected to the test device (2), configured to configure an eye diagram test item, configure parameters of the test device (2) according to the eye diagram test item, and generate the control instruction for controlling the test device (2) to execute the eye diagram test item; An automatic report generation module (12) receives the test data and is used to generate a summary report combining the test data with an eye diagram.

2. The system for automatically testing the eye diagram of an Ethernet physical layer chip according to claim 1, characterized in that: The test device (2) is an oscilloscope, the test host (1) and the oscilloscope are connected to the same network, the test host (1) runs the control module (11) adapted to the application program interface provided by the oscilloscope based on Python, and the oscilloscope outputs a test report including the test data.

3. The system for automatically testing the eye diagram of an Ethernet physical layer chip according to claim 2, characterized in that: The parameters of the test device (2) configured by the control module (11) at least include the test channel of the oscilloscope, the test content, the template of the eye diagram and the format of the test report.

4. The system for automatically testing the eye diagram of an Ethernet physical layer chip according to claim 1, characterized in that: The test host (1) also includes a temperature control module (13) running on Python, which is connected to a temperature control platform (3) for controlling the external temperature of the chip.

5. The system for automatically testing the eye diagram of an Ethernet physical layer chip according to claim 1, characterized in that: The test host (1) also includes a control power supply module running on Python, connected to a test power supply for providing test power supply, the chip is arranged on a test interface of a test board (4), the test power supply is connected to the test board (4), and the control power supply module is used to control the current value and voltage value of the test power supply.

6. The system for automatically testing the eye diagram of an Ethernet physical layer chip according to claim 2, characterized in that: The automatic report generation module (12) is constructed based on Python, and is used to aggregate the test reports of multiple chips to form the aggregate report.

7. The system for automatically testing the eye diagram of an Ethernet physical layer chip according to claim 1, characterized in that: It also includes a problem marking module (5), which is connected to the automatic report generation module (12) and is used to receive the summary report and calculate and mark the chips with problems based on the eye diagram graphics of the summary report.

8. A method for automatically testing the eye diagram of an Ethernet physical layer chip, characterized in that: A system for automatically testing eye diagrams of Ethernet physical layer chips as described in any one of claims 1 to 7, characterized in that it comprises: Step S1, initializing and adjusting the chip; Step S2, configuring eye diagram test items through the control module (11), and configuring parameters of the test device (2) according to the eye diagram test items; Step S3, the control module (11) outputs a control instruction, the test device (2) starts to run to test the chip, and outputs the test data after the test is completed; Step S4, the automatic report generation module (12) receives the test data and generates the summary report combining the test data with the eye diagram.

9. The method for automatically testing the eye diagram of an Ethernet physical layer chip according to claim 8, characterized in that: Step S1 comprises, Step S11, placing the chip in a test interface of a test board (4); Step S12, controlling the power supply module to adjust the test voltage of the chip to a preset voltage value; Step S12, the temperature control module (13) controls the temperature control platform (3) to adjust the external temperature of the chip to a preset temperature value.

10. The method for automatically testing the eye diagram of an Ethernet physical layer chip according to claim 8, characterized in that: In step S2, the test device (2) is an oscilloscope, and the method of configuring the parameters of the test device (2) in step S2 includes: Step S21, restoring the settings of the oscilloscope to a default state; Step S22, setting the channel parameters and operation functions of the oscilloscope; Step S23, setting the test horizontal and vertical lines and depth of the oscilloscope.

Citation Information

Cited By

  • Eye pattern automatic measurement method and system, computer equipment and storage medium

    CN122549319A

  • An eye diagram automatic measurement method, system, computer device and storage medium

    CN122549319B