Signal eye pattern parameter obtaining method and device, medium and equipment

By collecting and processing signal waveform data, recovering the clock signal and converting it into a single column matrix, the problem of excessive calculation time and memory consumption of signal eye diagram parameters in the prior art is solved, and more efficient signal eye diagram parameters extraction is achieved.

CN119848454AActive Publication Date: 2025-04-18成都玖锦科技有限公司
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411900872.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-04-18
Estimated Expiration
2044-12-23

AI Technical Summary

Technical Problem

In the prior art, the calculation time and memory consumption of signal eye diagram parameters extraction are too large, making it difficult to effectively process large amounts of signal data.

Method used

By collecting waveform data of signal rate, recovering the clock signal, dividing the original signal and drawing the eye diagram, converting it into an eye diagram matrix, and then converting it into a single-column matrix, and using the data parameters of the single-column matrix to obtain the eye diagram parameters.

Benefits of technology

It reduces the pressure of data analysis, reduces the computing time and memory consumption, and improves the efficiency of signal eye diagram parameter extraction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119848454A_ABST
    Figure CN119848454A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a signal eye pattern parameter obtaining method and device, a medium and equipment, relates to the technical field of digital signal processing, and aims to solve the problem that in the prior art, the calculation time and memory consumption of eye pattern parameter extraction are too large. According to the method, firstly, the waveform data which is long enough is collected for clock recovery and eye diagram drawing, secondly, the drawn eye diagram and information contained in the drawn eye diagram are converted into the matrix, analysis is carried out in a matrix form subsequently, the pressure of data analysis is reduced, the consumption of operation time is reduced, and the efficiency is improved. Then, the eye pattern matrix is converted into the single-row matrix through the symbol width obtained by recovering the clock signal and the number of symbols needing to be drawn, conversion between the matrixes is simpler and more convenient, the operand is greatly reduced through matrix segmentation, a large amount of memory does not need to be occupied, and the signal eye pattern parameter extraction effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of digital signal processing, and in particular to a method, device, medium and equipment for obtaining signal eye diagram parameters. Background Art

[0002] The eye diagram is the result of an oscilloscope stacking and displaying various scanned code types in a persistent manner. The shape of the superimposed diagram looks very similar to an eye, hence the name eye diagram. Since the eye diagram contains rich information and can observe the effects of crosstalk and noise between codes, it can estimate the quality of the system. Therefore, eye diagram analysis is the core of signal integrity analysis of high-speed interconnection systems.

[0003] However, the current algorithms for extracting eye diagram parameters are relatively complex. For example, the extraction method based on the K-Means clustering algorithm requires multiple clustering operations on the data. Each clustering requires calculating the distance between the cluster center and the data point. These complex calculation processes will take up a lot of memory and computing resources, and the operating equipment needs to invest more computing power. In addition, when faced with the processing and analysis of a large amount of signal data, the processing and storage of intermediate data will further consume memory, and the computing time and memory consumption are too large. Summary of the invention

[0004] The main purpose of the present application is to provide a method, device, medium and equipment for obtaining signal eye diagram parameters, aiming to solve the problem of excessive calculation time and memory consumption in eye diagram parameter extraction in the prior art.

[0005] To achieve the above objectives, the technical solutions adopted in the embodiments of the present application are as follows:

[0006] In a first aspect, an embodiment of the present application provides a method for obtaining signal eye diagram parameters, which is applied to a non-return-to-zero coded signal, comprising the following steps:

[0007] Acquire waveform data of the original signal according to the signal rate, and recover the clock signal from the waveform data;

[0008] Based on the clock signal, split the original signal and draw the eye diagram;

[0009] The eye diagram is converted into an eye diagram matrix, and the eye diagram matrix is ​​converted into a single-column matrix according to the symbol width obtained by recovering the clock signal, the number of symbols to be drawn, and the eye diagram matrix;

[0010] Eye diagram parameters are obtained according to the data parameters of the single-column matrix and / or the eye diagram matrix; wherein the data parameters include the first mean and the first standard deviation of the first half of the data of the single-column matrix, and the second mean and the second standard deviation of the second half of the data of the single-column matrix.

[0011] In a possible implementation of the first aspect, the eye diagram is converted into an eye diagram matrix, and the eye diagram matrix is ​​converted into a single-column matrix according to the symbol width obtained by recovering the clock signal, the number of symbols to be drawn, and the eye diagram matrix, including:

[0012] Convert the eye diagram into an eye matrix;

[0013] Calculate the first column boundary and the second column boundary according to the symbol width obtained by recovering the clock signal, the number of symbols to be drawn, and the eye diagram matrix;

[0014] The data between the first column boundary and the second column boundary in each row of the eye diagram matrix are summed, and the summed data are placed in a new matrix to convert the eye diagram matrix into a single-column matrix.

[0015] In a possible implementation manner of the first aspect, obtaining eye diagram parameters according to data parameters of a single-column matrix and / or an eye diagram matrix includes:

[0016] According to the eye diagram matrix, construct the evaluation matrix;

[0017] Based on the index of the minimum value in the evaluation matrix, the crossover point parameters are obtained;

[0018] According to the cross point parameters and the data parameters of the single column matrix, the eye height parameters, the eye width parameters, the jitter parameters and the cross ratio parameters are obtained.

[0019] In a possible implementation manner of the first aspect, constructing an evaluation matrix according to the eye diagram matrix includes:

[0020] The eye diagram matrix is ​​equally divided by taking columns as boundaries to obtain a first eye diagram sub-matrix and a second eye diagram sub-matrix;

[0021] Splitting the first eye pattern sub-matrix and the second eye pattern sub-matrix along the column direction to obtain a first matrix and a second matrix respectively;

[0022] Calculate the mean and standard deviation of the data in the first matrix and the second matrix respectively, and place the calculation results in the first matrix unit and the second matrix unit respectively;

[0023] The first matrix unit and the second matrix unit are normalized respectively and then added to the standard matrix to obtain the evaluation matrix.

[0024] In a possible implementation manner of the first aspect, the data parameters of the single-column matrix and / or the eye diagram matrix, obtaining the eye diagram parameters, includes:

[0025] According to the first mean value, a 1-level parameter is obtained;

[0026] According to the second mean, a 0 level parameter is obtained;

[0027] Obtaining an eye amplitude parameter according to a difference between the first mean and the second mean;

[0028] An extinction ratio parameter is obtained according to the ratio of the first mean value to the second mean value.

[0029] In a possible implementation manner of the first aspect, obtaining eye diagram parameters according to data parameters of a single-column matrix and / or an eye diagram matrix includes:

[0030] A signal-to-noise ratio parameter is obtained according to a ratio of a difference between the first mean and the second mean to a sum of the first standard deviation and the second standard deviation.

[0031] In a possible implementation manner of the first aspect, obtaining eye diagram parameters according to data parameters of a single-column matrix and / or an eye diagram matrix includes:

[0032] According to the data parameters of the single-column matrix, the data mean of the target column in the target row of the eye diagram matrix is ​​obtained;

[0033] A rise time parameter and a fall time parameter are obtained according to the data mean of the target column in the target row of the eye diagram matrix.

[0034] In a second aspect, an embodiment of the present application provides a signal eye diagram parameter obtaining device, which is applied to a non-return-to-zero coded signal, comprising:

[0035] An acquisition module, the acquisition module is used to acquire waveform data of the original signal according to the signal rate, and recover the clock signal from the waveform data;

[0036] A drawing module, which is used to segment the original signal and draw an eye diagram based on the clock signal;

[0037] A conversion module, the conversion module is used to convert the eye diagram into an eye diagram matrix, and convert the eye diagram matrix into a single-column matrix according to the symbol width obtained by recovering the clock signal, the number of symbols to be drawn, and the eye diagram matrix;

[0038] An acquisition module is used to obtain eye diagram parameters according to data parameters of a single-column matrix and / or an eye diagram matrix; wherein the data parameters include a first mean and a first standard deviation of the first half of the data of the single-column matrix, and a second mean and a second standard deviation of the second half of the data of the single-column matrix.

[0039] In a third aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, a signal eye diagram parameter obtaining method as provided in any one of the first aspects above is implemented.

[0040] In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, wherein:

[0041] The memory is used to store computer programs;

[0042] The processor is used to load and execute a computer program so that the electronic device executes the signal eye diagram parameter acquisition method provided in any one of the first aspects above.

[0043] Compared with the prior art, the beneficial effects of this application are:

[0044] The embodiments of the present application propose a method, device, medium and equipment for obtaining signal eye diagram parameters, the method comprising: collecting waveform data of the original signal according to the signal rate, and recovering the clock signal from the waveform data; based on the clock signal, dividing the original signal and drawing the eye diagram; converting the eye diagram into an eye diagram matrix, and converting the eye diagram matrix into a single-column matrix according to the symbol width obtained by recovering the clock signal, the number of symbols to be drawn and the eye diagram matrix; obtaining the eye diagram parameters according to the data parameters of the single-column matrix and / or the eye diagram matrix; wherein the data parameters include the first mean and the first standard deviation of the first half of the data of the single-column matrix, and the second mean and the second standard deviation of the second half of the data of the single-column matrix. The present application first collects waveform data of sufficient length for clock recovery and eye diagram drawing, and then converts the drawn eye diagram together with the information it contains into a matrix, which is subsequently analyzed in matrix form, reducing the pressure of data analysis and the consumption of computing time. Then, the eye diagram matrix is ​​converted into a single-column matrix by recovering the symbol width and the number of symbols to be drawn obtained by the clock signal. The transformation between matrices is simpler, and the amount of calculation is greatly reduced through matrix segmentation. It does not require a large amount of memory, and the effect of signal eye diagram parameter extraction is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic diagram of the structure of an electronic device of a hardware operating environment involved in an embodiment of the present application;

[0046] Figure 2 A schematic diagram of a flow chart of a method for obtaining signal eye diagram parameters provided in an embodiment of the present application;

[0047] Figure 3 A schematic diagram of eye diagram parameters extracted by the signal eye diagram parameter acquisition method provided in an embodiment of the present application;

[0048] Figure 4 A schematic diagram of eye diagram parameters extracted by prior art methods;

[0049] Figure 5 It is a schematic diagram of an eye diagram;

[0050] Figure 6 A schematic diagram of a module of a signal eye diagram parameter acquisition device provided in an embodiment of the present application;

[0051] Markings in the figure: 101 - processor, 102 - communication bus, 103 - network interface, 104 - user interface, 105 - memory. DETAILED DESCRIPTION

[0052] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0053] See attached Figure 1 , attached Figure 1 This is a schematic diagram of the structure of an electronic device of the hardware operating environment involved in the embodiment of the present application. The electronic device may include: a processor 101, such as a central processing unit (CPU), a communication bus 102, a user interface 104, a network interface 103, and a memory 105. Among them, the communication bus 102 is used to realize the connection and communication between these components. The user interface 104 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 104 may also include a standard wired interface and a wireless interface. The network interface 103 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WI-FI) interface). The memory 105 may optionally be a storage device independent of the aforementioned processor 101. The memory 105 may be a high-speed random access memory (RAM) memory, or it may be a stable non-volatile memory (NVM), such as at least one disk storage; the processor 101 may be a general-purpose processor, including a central processing unit, a network processor, etc., or it may be a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.

[0054] Those skilled in the art will appreciate that Figure 1 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0055] As attached Figure 1 As shown, the memory 105 as a storage medium may include an operating system, a network communication module, a user interface module, and a signal eye diagram parameter obtaining device.

[0056] In the attached Figure 1In the electronic device shown, the network interface 103 is mainly used for data communication with a network server; the user interface 104 is mainly used for data interaction with a user; the processor 101 and the memory 105 in the present application can be set in the electronic device, and the electronic device calls the signal eye diagram parameter acquisition device stored in the memory 105 through the processor 101, and executes the signal eye diagram parameter acquisition method provided in the embodiment of the present application.

[0057] See attached Figure 2 Based on the hardware device of the aforementioned embodiment, the embodiment of the present application provides a signal eye diagram parameter acquisition method, which is applied to non-return-to-zero coded signals. Non-return-to-zero coding (NRZ) is a binary signal coding method. In this coding method, digital signals can be directly transmitted using baseband, that is, the electrical pulses of digital signals are directly transmitted in the line; non-return-to-zero coded signals refer to a binary signal, in which 1 and 0 are represented by different electronic significant states, respectively, and the signal level does not return to the zero level within a bit period.

[0058] The method comprises the following steps:

[0059] S10: Acquire waveform data of the original signal according to the signal rate, and recover the clock signal from the waveform data.

[0060] S20: Based on the clock signal, split the original signal and draw the eye diagram.

[0061] In the specific implementation process, different from the afterglow accumulation method of modern digital oscilloscopes to generate eye diagrams, the embodiments of the present application can first use a digital oscilloscope to collect waveform data for a sufficiently long time, the amount of which is determined by the signal rate, and use it for clock recovery and eye diagram drawing; recover the clock signal from the data through clock recovery, such as using a constant clock, a phase-locked loop, etc., and then use the clock as a reference to determine the number of code elements to be drawn, offset and other parameters, and then divide the original signal; finally, align the divided signals and draw them into the same image to complete the production of the eye diagram.

[0062] S30: converting the eye diagram into an eye diagram matrix, and converting the eye diagram matrix into a single-column matrix according to the symbol width obtained by recovering the clock signal, the number of symbols to be drawn, and the eye diagram matrix.

[0063] In the specific implementation process, the existing data processing ideas are changed, and the eye diagram is converted into a matrix form. The eye diagram parameters that need to be extracted are included in the matrix and its related parameters. The symbol width obtained by clock recovery is recorded as UI, and the number of symbols drawn is set to 2, without offset; the eye diagram data can be regarded as an MxN matrix, which is recorded as EYE. In order to further reduce the computing consumption, the eye diagram matrix is ​​converted into a single-column matrix, that is, an Mx1 matrix. Specifically: the eye diagram is converted into an eye diagram matrix, and according to the symbol width obtained by recovering the clock signal, the number of symbols to be drawn, and the eye diagram matrix, the eye diagram matrix is ​​converted into a single-column matrix, including:

[0064] Convert the eye diagram into an eye matrix;

[0065] Calculate the first column boundary and the second column boundary according to the symbol width obtained by recovering the clock signal, the number of symbols to be drawn, and the eye diagram matrix;

[0066] The data between the first column boundary and the second column boundary in each row of the eye diagram matrix are summed, and the summed data are placed in a new matrix to convert the eye diagram matrix into a single-column matrix.

[0067] In the specific implementation process, the boundaries in the column direction are the left and right boundaries. For example, the boundary of the first column is the left boundary, and the boundary of the second column is the right boundary. Calculate right boundary The data in the Lth to Rth columns of each row, that is, the data between the first column boundary and the second column boundary, are summed and put into an Mx1 matrix, which is a single-column matrix.

[0068] S40: Obtain eye diagram parameters according to the data parameters of the single-column matrix and / or the eye diagram matrix; wherein the data parameters include a first mean and a first standard deviation of the first half of the data of the single-column matrix, and a second mean and a second standard deviation of the second half of the data of the single-column matrix.

[0069] In the specific implementation process, the mean L1 and standard deviation L1 of the first 50% of the data in a single column matrix are calculated. std , that is, the first mean and the first standard deviation, calculate the mean L0 and standard deviation L0 of the 50% data after the matrix std , that is, the second mean and the second standard deviation. The parameters that can be extracted from the eye diagram include eye width, eye height, eye amplitude, jitter, signal-to-noise ratio, crossover ratio, extinction ratio, rise time, fall time, 0 level, 1 level, etc.

[0070] Specifically: according to the data parameters of the single-column matrix and / or the eye diagram matrix, the eye diagram parameters are obtained, including:

[0071] According to the eye diagram matrix, construct the evaluation matrix;

[0072] Based on the index of the minimum value in the evaluation matrix, the crossover point parameters are obtained;

[0073] According to the cross point parameters and the data parameters of the single column matrix, the eye height parameters, the eye width parameters, the jitter parameters and the cross ratio parameters are obtained.

[0074] Among them, according to the eye diagram matrix, an evaluation matrix is ​​constructed, including:

[0075] The eye diagram matrix is ​​equally divided by taking columns as boundaries to obtain a first eye diagram sub-matrix and a second eye diagram sub-matrix;

[0076] Splitting the first eye pattern sub-matrix and the second eye pattern sub-matrix along the column direction to obtain a first matrix and a second matrix respectively;

[0077] Calculate the mean and standard deviation of the data in the first matrix and the second matrix respectively, and place the calculation results in the first matrix unit and the second matrix unit respectively;

[0078] The first matrix unit and the second matrix unit are normalized respectively and then added to the standard matrix to obtain the evaluation matrix.

[0079] In the specific implementation process, the eye diagram matrix is ​​divided into two sub-matrices with the N / 2th column as the center. The left matrix is ​​recorded as EYE_L and the right matrix is ​​recorded as EYE_R, namely the first matrix and the second matrix. The two matrices are processed in the same way. Taking the first matrix as an example, the matrix EYE_L is divided into K smaller matrices in the vertical direction, namely the first matrix unit. The amount of calculation is further reduced by matrix segmentation, and the computing time and memory consumption are reduced.

[0080] Calculate the mean and standard deviation of the data in each small matrix, obtain the calculation results under the first matrix and the second matrix respectively, and put the results into the Kx1 matrix K mean and Kx1 matrix K std Create a Kx1 matrix Q, which is a standard matrix, where The matrix K std After normalization, it is added to the matrix Q to construct the evaluation matrix.

[0081] Find the index MinIdx of the minimum value in the evaluation matrix, record MinIdx as Y0, and set K mean [MinIdx] is recorded as X0, and K std [MinIdx] is recorded as X0 std ; Perform the same operation on the matrix EYE_R to obtain Y1, X1, X1 std The calculation of eye diagram parameters includes:

[0082] Eye height parameters: (L1-3*L1 std )-(L0+3*L0std ), Eye Height refers to the size of the blank area on the eye diagram on the vertical axis. It can reflect the noise tolerance of the signal on the transmission line. The larger the eye height, the greater the noise tolerance of the signal and the better the signal quality.

[0083] Eye width parameter: (X1-3*X1 std )-(X0+3*X0 std ), Eye Width refers to the size of the eye diagram on the horizontal axis, which can reflect the total jitter of the signal. The wider the eye width, the smaller the total jitter of the signal and the better the signal quality. On the contrary, the narrower the eye width, the greater the total jitter of the signal and the worse the signal quality.

[0084] Jitter parameter: X0 std , jitter indicates the instability of the signal in the time domain. In the eye diagram, jitter will cause the lines of the eye diagram to become blurred and the eye diagram to open smaller. Therefore, the smaller the jitter, the better the signal quality;

[0085] Crossover ratio parameters: The Eye Cross Ratio refers to the ratio of the amplitude from the cross point to the 0 level to the eye amplitude. In an ideal eye diagram, the cross ratio should be close to 50%, which can optimize the sensitivity of the receiving side. If the cross ratio deviates too much from 50%, it may cause the receiving end to misjudge the signal and increase the bit error rate.

[0086] In one embodiment, the data parameters of a single column matrix and / or an eye diagram matrix, obtaining eye diagram parameters, comprises:

[0087] According to the first mean value, a 1-level parameter is obtained;

[0088] According to the second mean, a 0 level parameter is obtained;

[0089] Obtaining an eye amplitude parameter according to a difference between the first mean and the second mean;

[0090] An extinction ratio parameter is obtained according to the ratio of the first mean value to the second mean value.

[0091] In the specific implementation process, the 0 level parameter is L0, which indicates the voltage level value of logic 0; the 1 level parameter is L1, which indicates the voltage level value of logic 1; the eye amplitude parameter: L1-L0, which indicates the difference between the average distribution of "1" level signal and the average distribution of "0" level signal, and its size reflects the quality of the signal. The larger the eye amplitude, the better the signal quality; the extinction ratio parameter: Defined as the ratio of the statistical average power of the "1" level to the "0" level in the eye diagram, the extinction ratio is an important parameter of the optical communication transmitter. Its size determines the quality of the communication signal. The larger the extinction ratio, the better the logic discrimination rate at the receiver; the smaller the extinction ratio, the more susceptible the signal is to interference and the system bit error rate will increase.

[0092] In one embodiment, obtaining eye diagram parameters according to the data parameters of the single column matrix and / or the eye diagram matrix includes:

[0093] A signal-to-noise ratio parameter is obtained according to a ratio of a difference between the first mean and the second mean to a sum of the first standard deviation and the second standard deviation.

[0094] In the specific implementation process, the signal-to-noise ratio parameters are: The signal-to-noise ratio (SNR) is one of the key parameters for evaluating signal quality. A high SNR indicates that the signal strength is relatively high and is easier to detect and decode than noise. In an eye diagram analyzer, SNR is often used to evaluate the signal quality in the eye diagram.

[0095] In one embodiment, obtaining eye diagram parameters according to the data parameters of the single column matrix and / or the eye diagram matrix includes:

[0096] According to the data parameters of the single-column matrix, the data mean of the target column in the target row of the eye diagram matrix is ​​obtained;

[0097] A rise time parameter and a fall time parameter are obtained according to the data mean of the target column in the target row of the eye diagram matrix.

[0098] In the specific implementation process, RF is calculated ypct10 =L0+(L1-L0)*0.1,RF ypct90 =L0+(L1-L0)*0.9; According to the definition of IEEE pulse measurement, the rise time is defined as the time from 10% to 90% of the pulse amplitude in a single edge. The position of 10% of the pulse amplitude in the rising edge is recorded as RFypct10, and the position of 90% is recorded as RFypct90. Calculate the left edge Rise xl =X0-UI / 2, calculate the right boundary Rise xr =X0. Calculate the RF in the matrix EYE ypct10 Rise xl ~Rise xr The mean of the data in the column is recorded as RX pct10 , which is the data mean of the target column in the target row, where the RF ypct10 Behavioral Target Line, Rise x1 ~Rise xr The column is the target column. Calculate the RF in the matrix EYE ypct90 Risex1 ~Rise xr The mean of the data in the column is denoted as FX pct90 , where RF ypct90 Behavioral Target Line, Rise x1 ~Rise xr Column as the target column.

[0099] Calculate the left boundary Rise xl =X0, calculate the right boundary Rise xr =X0+UI / 2; calculate the RF in the matrix EYE ypct90 Rise xl ~Rise xr The mean of the data in the column is recorded as RX pct90 ; Calculate the RF in the matrix EYE ypct10 Rise x1 ~Rise xr The mean of the data in the column is denoted as FX pct10 The target row and the target column are similar to those in the above-mentioned embodiment.

[0100] Rise time parameters: RX pct90 -RX pct10 The rise time refers to the time interval required for a pulse signal to rise from a specified lower limit to a specified upper limit. A shorter rise time indicates that the signal has a faster response speed. In the eye diagram, the length of the rise time can reflect the steepness of the rising edge of the signal, which in turn affects the clarity and recognizability of the signal.

[0101] Fall time parameter: FX pct10 -FX pct90 The fall time refers to the time interval that the pulse signal takes to fall from the specified upper limit to the specified lower limit. Similar to the rise time, a shorter fall time indicates that the signal has a faster response speed. In the eye diagram, the length of the fall time can reflect the steepness of the falling edge of the signal, which also affects the clarity and recognizability of the signal.

[0102] In this embodiment, waveform data of sufficient length is first collected for clock recovery and eye diagram drawing, and then the drawn eye diagram and the information contained therein are converted into a matrix, which is subsequently analyzed in matrix form, thereby reducing the pressure of data analysis and the consumption of computing time. Then, the eye diagram matrix is ​​converted into a single-column matrix by recovering the symbol width and the number of symbols to be drawn obtained by the clock signal. The transformation between matrices is simpler, and the amount of calculation is greatly reduced by matrix segmentation. It does not require a large amount of memory, thereby improving the effect of signal eye diagram parameter extraction.

[0103] Reference Figure 3 -Attached Figure 5, compared with the prior art to illustrate the effect of this application:

[0104] The relevant data is obtained by using a calibrated commercial oscilloscope to collect data of sufficient length and then opening the eye diagram function. The generated eye diagram is analyzed using the method of the present application to extract parameters, as shown in the attached figure. Figure 3 As shown, compared with the prior art, the test results are compared in the following table:

[0105] Table 1 - Test results comparison table

[0106]

[0107]

[0108] It can be seen from the above table and the accompanying drawings that, since the present application adopts the method of constructing an evaluation matrix, selecting intersection points by means of an evaluation function can improve the accuracy in extreme cases. The prior art does not use the method of an evaluation function, such as the attached Figure 4 As shown, the selection of the intersection point is wrong, resulting in erroneous eye width data.

[0109] The accuracy of the method of this application can also be verified by comparing with the prior art. Figure 5 The following table compares the eye diagram parameters extracted by the method of the present application with those of the prior art:

[0110] Table 2 - Extraction results comparison table

[0111] type This application method Prior art error 0 level -49.70mV -49.94mV 0.480576% 1 level 50.00mV 49.94mV 0.120144% Eye width 87.11mV 87.86mV 0.853631% High-minded 87.69ps 87.12ps 0.654269% Signal-to-Noise Ratio 24.93 24.92 0.040128% Rise time 36.54ps 36.26ps 0.772200% Fall time 36.40ps 36.26ps 0.386100% Jitter 2.13ps 2.14ps 0.467289%

[0112] It can be seen from the extraction results that the eye diagram parameters calculated by the method of the present application are consistent with the eye diagram parameters calculated by the prior art, the relative error of the data is within 5%, and the extraction results are reliable.

[0113] See attached Figure 6 Based on the same inventive concept as in the above-mentioned embodiment, the embodiment of the present application further provides a signal eye diagram parameter obtaining device, which is applied to a non-return-to-zero coded signal, comprising:

[0114] An acquisition module, the acquisition module is used to acquire waveform data of the original signal according to the signal rate, and recover the clock signal from the waveform data;

[0115] A drawing module, which is used to segment the original signal and draw an eye diagram based on the clock signal;

[0116] A conversion module, the conversion module is used to convert the eye diagram into an eye diagram matrix, and convert the eye diagram matrix into a single-column matrix according to the symbol width obtained by recovering the clock signal, the number of symbols to be drawn, and the eye diagram matrix;

[0117] An acquisition module is used to obtain eye diagram parameters according to data parameters of a single-column matrix and / or an eye diagram matrix; wherein the data parameters include a first mean and a first standard deviation of the first half of the data of the single-column matrix, and a second mean and a second standard deviation of the second half of the data of the single-column matrix.

[0118] Those skilled in the art should understand that the division of the various modules in the embodiment is only a division of logical functions, and can be fully or partially integrated into one or more actual carriers in actual application, and these modules can be implemented entirely in the form of software called by the processing unit, or entirely in the form of hardware, or in the form of a combination of software and hardware. It should be noted that the modules in the signal eye diagram parameter acquisition device in this embodiment correspond one-to-one to the steps in the signal eye diagram parameter acquisition method in the aforementioned embodiment. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned signal eye diagram parameter acquisition method, which will not be repeated here.

[0119] Based on the same inventive concept as in the aforementioned embodiment, an embodiment of the present application further provides a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, a signal eye diagram parameter obtaining method as provided in the embodiment of the present application is implemented.

[0120] Based on the same inventive concept as in the above-mentioned embodiment, an embodiment of the present application further provides an electronic device, including a processor and a memory, wherein:

[0121] The memory is used to store computer programs;

[0122] The processor is used to load and execute a computer program so that the electronic device executes the signal eye diagram parameter acquisition method provided in the embodiment of the present application.

[0123] In some embodiments, the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.

[0124] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0125] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0126] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0127] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0128] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0129] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a multimedia terminal device (which can be a mobile phone, a computer, a television receiver, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0130] In summary, the present application provides a method, device, medium and equipment for obtaining signal eye diagram parameters, the method comprising: collecting waveform data of the original signal according to the signal rate, and recovering the clock signal from the waveform data; based on the clock signal, dividing the original signal and drawing an eye diagram; converting the eye diagram into an eye diagram matrix, and converting the eye diagram matrix into a single-column matrix according to the symbol width obtained by recovering the clock signal, the number of symbols to be drawn and the eye diagram matrix; obtaining eye diagram parameters according to the data parameters of the single-column matrix and / or the eye diagram matrix; wherein the data parameters include a first mean and a first standard deviation of the first half of the data of the single-column matrix, and a second mean and a second standard deviation of the second half of the data of the single-column matrix. The present application first collects waveform data of sufficient length for clock recovery and eye diagram drawing, and then converts the drawn eye diagram together with the information it contains into a matrix, which is subsequently analyzed in matrix form, reducing the pressure of data analysis and the consumption of computing time. Then, the eye diagram matrix is ​​converted into a single-column matrix by recovering the symbol width and the number of symbols to be drawn obtained by the clock signal. The transformation between matrices is simpler, and the amount of calculation is greatly reduced through matrix segmentation. It does not require a large amount of memory, and the effect of signal eye diagram parameter extraction is improved.

[0131] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A method for obtaining signal eye diagram parameters, characterized in that: Applied to non-return-to-zero coded signals, the following steps are included: Acquiring waveform data of the original signal according to the signal rate, and recovering a clock signal from the waveform data; Based on the clock signal, segment the original signal and draw an eye diagram; Converting the eye diagram into an eye diagram matrix, and converting the eye diagram matrix into a single-column matrix according to the symbol width obtained by recovering the clock signal, the number of symbols to be drawn, and the eye diagram matrix; Eye diagram parameters are obtained according to the data parameters of the single-column matrix and / or the eye diagram matrix; wherein the data parameters include a first mean and a first standard deviation of the first half of the data of the single-column matrix, and a second mean and a second standard deviation of the second half of the data of the single-column matrix.

2. The method for obtaining signal eye diagram parameters according to claim 1, characterized in that: The step of converting the eye diagram into an eye diagram matrix, and converting the eye diagram matrix into a single-column matrix according to the symbol width obtained by recovering the clock signal, the number of symbols to be drawn, and the eye diagram matrix, comprises: Converting the eye diagram into an eye diagram matrix; Calculate a first column boundary and a second column boundary according to a symbol width obtained by recovering the clock signal, the number of symbols to be drawn, and the eye diagram matrix; The data between the first column boundary and the second column boundary in each row of data of the eye diagram matrix are summed, and the summed data are placed in a new matrix to convert the eye diagram matrix into a single-column matrix.

3. The method for obtaining signal eye diagram parameters according to claim 1, characterized in that: The step of obtaining eye diagram parameters according to the data parameters of the single-column matrix and / or the eye diagram matrix comprises: According to the eye diagram matrix, construct an evaluation matrix; Obtaining a crossover point parameter based on an index of a minimum value in the evaluation matrix; According to the cross point parameters and the data parameters of the single column matrix, an eye height parameter, an eye width parameter, a jitter parameter and a cross ratio parameter are obtained.

4. The method for obtaining signal eye diagram parameters according to claim 3, characterized in that: The step of constructing an evaluation matrix according to the eye diagram matrix comprises: Divide the eye diagram matrix into equal parts by taking columns as boundaries to obtain a first eye diagram sub-matrix and a second eye diagram sub-matrix; Splitting the first eye pattern sub-matrix and the second eye pattern sub-matrix along a column direction to obtain a first matrix and a second matrix respectively; Calculate the mean and standard deviation of the data in the first matrix and the second matrix respectively, and place the calculation results in the first matrix unit and the second matrix unit respectively; The first matrix unit and the second matrix unit are normalized respectively and then added to the standard matrix to obtain an evaluation matrix.

5. The method for obtaining signal eye diagram parameters according to claim 1, characterized in that: The step of obtaining eye diagram parameters according to the data parameters of the single-column matrix and / or the eye diagram matrix comprises: According to the first mean value, obtaining a level 1 parameter; According to the second mean, obtaining a 0 level parameter; Obtaining an eye amplitude parameter according to a difference between the first mean and the second mean; An extinction ratio parameter is obtained according to a ratio of the first mean value to the second mean value.

6. The method for obtaining signal eye diagram parameters according to claim 1, characterized in that: The step of obtaining eye diagram parameters according to the data parameters of the single-column matrix and / or the eye diagram matrix comprises: A signal-to-noise ratio parameter is obtained according to a ratio of a difference between the first mean and the second mean to a sum of the first standard deviation and the second standard deviation.

7. The method for obtaining signal eye diagram parameters according to claim 1, characterized in that: The step of obtaining eye diagram parameters according to the data parameters of the single-column matrix and / or the eye diagram matrix comprises: According to the data parameters of the single-column matrix, obtaining the data mean of the target column in the target row of the eye diagram matrix; A rise time parameter and a fall time parameter are obtained according to the data mean of the target column in the target row of the eye diagram matrix.

8. A signal eye diagram parameter acquisition device, characterized in that: Applications to NRZ coded signals include: An acquisition module, the acquisition module is used to acquire waveform data of the original signal according to the signal rate, and recover the clock signal from the waveform data; A drawing module, the drawing module is used to segment the original signal and draw an eye diagram based on the clock signal; A conversion module, the conversion module is used to convert the eye diagram into an eye diagram matrix, and convert the eye diagram matrix into a single-column matrix according to the symbol width obtained by recovering the clock signal, the number of symbols to be drawn, and the eye diagram matrix; An acquisition module, wherein the acquisition module is used to obtain eye diagram parameters according to the data parameters of the single-column matrix and / or the eye diagram matrix; wherein the data parameters include a first mean and a first standard deviation of the first half of the data of the single-column matrix, and a second mean and a second standard deviation of the second half of the data of the single-column matrix.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is loaded and executed by a processor, the signal eye diagram parameter obtaining method according to any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: comprising a processor and a memory, wherein: The memory is used to store computer programs; The processor is used to load and execute the computer program so that the electronic device executes the signal eye diagram parameter acquisition method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Eye diagram parameter extraction method based on K-Means clustering algorithm

    CN106228171A

  • Pulse amplitude modulation PAM-N signal optical performance monitoring method and device

    CN107749779A

  • Eye image processing model construction method and device

    CN110598582A

  • Eye pattern analysis method and device

    CN116401524A

  • Data processing circuit and data processing device

    JP2008257844A