A method for online real-time drawing of an eye diagram, a storage medium and an electronic device
By adding a sampling circuit to the existing business path and performing phase bias scanning and equalization processing, the problem of not being able to draw eye diagrams online in real time in the existing technology is solved, realizing eye diagram drawing without affecting business, and improving the accuracy of eye diagrams and system performance evaluation.
Patent Information
- Application Number
- CN202510693153.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-27
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies cannot achieve online real-time eye diagram drawing at multiple signal output terminals, and interrupting business data will affect the operation of system services.
A sampling circuit is added to the existing business path. The sampling data is obtained by phase bias scanning and combined with the business data for equalization processing. This process is repeated multiple times to obtain multi-phase equalization processing results for drawing eye diagrams.
It enables real-time online eye diagram drawing without affecting the original business process, eliminating inter-symbol interference and improving the accuracy of eye diagram drawing and system performance evaluation capabilities.
Smart Images

Figure CN123176302A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of signal acquisition and analysis technology for electronic circuits, and more specifically, to a method, storage medium, and electronic device for online real-time eye diagram drawing. Background Technology
[0002] In existing technologies, eye diagram plotting typically involves phase scanning within one symbol cycle of the transmitted symbol. Specifically, an oscilloscope is connected to the service data output to acquire the filtered service data for observation of its characteristics. The oscilloscope's scan cycle is then adjusted to synchronize its horizontal scan cycle with the received symbol cycle. After this setting, the oscilloscope scans at the same rhythm as the signal symbol cycle, ensuring that each scan corresponds to a complete symbol of the signal. Utilizing the oscilloscope's persistence, over time, the waveforms of each scanned symbol are superimposed to form an eye diagram. Because of potential inter-symbol interference and noise during signal transmission, the waveforms of different symbols will differ; the superposition of these waveforms creates an eye-like pattern.
[0003] Existing eye diagram drawing solutions can only draw eye diagrams for a single business data output, and business data acquisition must be stopped when eye diagram drawing is required. Therefore, existing eye diagram drawing solutions cannot achieve online real-time eye diagram drawing at multiple signal outputs, which affects the operation of the system. Summary of the Invention
[0004] The technical problem this application aims to solve is that existing eye diagram drawing schemes cannot achieve online real-time eye diagram drawing for multiple signal output terminals. Interrupting service data during eye diagram drawing would affect service operation. Therefore, this application proposes a method, storage medium, and electronic device for online real-time eye diagram drawing.
[0005] Firstly, the technical solution of this application provides a method for online real-time eye diagram drawing, including:
[0006] Step 1: Add a sampling circuit to the existing business path;
[0007] Step 2: Perform a phase-biased scan on the sampling circuit according to the set number of beats to obtain the sampling data;
[0008] Step 3: Combine the sampled data and business data and perform equalization processing to obtain the equalization processing result;
[0009] Step 4: Repeat steps 2 and 3 to obtain the multi-shot equalization processing result, and draw an eye diagram based on the multi-shot equalization processing result.
[0010] Preferably, in some of the methods for online real-time eye diagram drawing, the phase offset includes N, and each phase offset is: P = PIcode / N; where PIcode represents the scanning phase step size corresponding to one symbol period signal, and N is the number of scanning phase point steps corresponding to one symbol period signal.
[0011] Preferably, in some of the online real-time eye diagram drawing methods, step two includes: changing the phase bias of the sampling circuit every K frames, where the value of K is determined based on the frequency offset and the parallelism of the service data output.
[0012] Preferably, in the online real-time eye diagram drawing method described in some schemes, in step two, the value of K is determined as follows: K = 1 / (f ppm × pal), where f ppm represents the frequency offset and pal represents the parallelism of business data output.
[0013] Preferably, in the online real-time eye diagram drawing method described in some solutions, in step two, the sampling circuit synchronously acquires signals with the original service path.
[0014] Preferably, in the method for online real-time eye diagram drawing described in some solutions, step three includes:
[0015] The equalization process is a single-frequency fractional-interval equalization method.
[0016] Secondly, the technical solution of this application provides a system for online real-time eye diagram drawing, comprising:
[0017] The sampling point path construction module adds a sampling circuit to the existing business path;
[0018] The bias scanning module performs a phase bias scan on the sampling circuit according to a set number of steps to obtain sampling data;
[0019] The equalization processing module combines the sampled data and business data and performs equalization processing to obtain the equalization processing result.
[0020] The eye diagram drawing module obtains the multi-shot equalization processing results from the equalization processing module and draws the eye diagram based on the multi-shot equalization processing results.
[0021] Thirdly, the present application provides a computer-readable storage medium storing program information, wherein a computer reads the program information and executes the steps of the online real-time eye diagram drawing method described in any one of the first aspects.
[0022] Fourthly, this application provides a computer program product, including a computer program / instructions, characterized in that, when the computer program / instructions are executed by a processor, they implement the steps of the online real-time eye diagram drawing method described in any one of the first aspects.
[0023] Fifthly, this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the online real-time eye diagram drawing method as described in any of the first aspects.
[0024] The technical solution provided in this application has the following technical effects compared with the prior art:
[0025] This application provides a method, storage medium, and electronic device for online real-time eye diagram drawing. The method involves adding a sampling circuit to the existing service path, thus ensuring uninterrupted operation of the original service. The sampling circuit is subjected to phase offset scanning according to a set number of cycles to obtain sampled data. This sampled data is then combined with service data and equalized to obtain an equalization result. Therefore, the sampled data for each cycle is equalized based on the service data, eliminating inter-symbol interference caused by the sampling circuit itself. Multiple phase offset scans are repeated to obtain multi-cycle equalization results, which are then used to draw an eye diagram. This solution allows for the combination and equalization of phase offset scanning results obtained from the newly added sampling circuit with service data without affecting the original system service process. The multi-cycle equalization results are used to draw an eye diagram, which is then used to evaluate signal quality and system performance. Attached Figure Description
[0026] Figure 1 This is a flowchart of a method for online real-time eye diagram generation according to an embodiment of this application;
[0027] Figure 2 This is a schematic diagram illustrating the parallel relationship between sampling data acquisition and regular business data acquisition in the online real-time eye diagram drawing method according to one embodiment of this application;
[0028] Figure 3 This is a schematic diagram of the eye diagram drawing results obtained using the scheme of this application;
[0029] Figure 4 This is a diagram comparing the eye diagram results obtained by overlaying sampled data and business data without equalization processing and after equalization processing.
[0030] Figure 5 This is a schematic diagram comparing the actual eye diagram of the channel and the eye diagram obtained by the scheme in this application when the system output signal exhibits eye deviation.
[0031] Figure 6 This is a schematic diagram comparing the actual eye diagram of the channel when the system output signal exhibits eye width and the eye diagram drawing results obtained from the scheme in this application.
[0032] Figure 7 This is a structural block diagram of a system for online real-time eye diagram generation according to an embodiment of this application;
[0033] Figure 8 This is a schematic diagram of the hardware connections of an electronic device that performs the online real-time eye diagram drawing method according to an embodiment of this application. Detailed Implementation
[0034] The specific embodiments of this application will be further described below with reference to the accompanying drawings.
[0035] It is readily understood that, based on the technical solution of this application, various structural and implementation methods can be interchanged by those skilled in the art without altering the essential spirit of this application. Therefore, the following detailed embodiments and accompanying drawings are merely illustrative examples of the technical solution of this application and should not be considered as the entirety of this application or as limitations or restrictions on the technical solution of the application.
[0036] This embodiment provides a method for online real-time eye diagram drawing, applied to a computer system, such as... Figure 1 As shown, the method includes the following steps:
[0037] Step 1: Add a sampling circuit to the existing business path.
[0038] Combination Figure 2 As shown, this solution adds a sampling channel without affecting the original business data collection. The significance of this step is to ensure that the normal operation of the business path is not affected.
[0039] Step 2: Perform a phase offset scan on the sampling circuit according to the set number of beats to obtain the sampling data.
[0040] like Figure 2 As shown, the newly added sampling circuit scans the system's output signal in parallel with ADC1, ADC2, ADC3, ADC4... which acquire data from other services. However, the newly added sampling circuit increases the phase offset compared to the sampling paths of other service data. The significance of this step is to achieve different phase sampling within a UI range.
[0041] Step 3: Combine the sampled data and service data and perform equalization processing to obtain the equalization result. The significance of this step is to complete data equalization under different channel conditions, so that the eye diagram can open.
[0042] Step 4: Repeat steps 2 and 3 to obtain the multi-step equalization processing results, and draw an eye diagram based on these results. As shown in the figure, the equalization processing results for M steps were obtained. The eye diagram drawing results are as follows. Figure 3 As shown, Figure 3 In the eye diagram, the horizontal axis represents the number of beats, and the vertical axis represents the signal level.
[0043] In the above schemes, Figure 2 The parameter 'a' shown is a set parameter, which can be determined based on the application scenario and experience during implementation. In this scheme, 'a' can be set to 0.3. UI represents the symbol period. Offset represents the phase offset. By adjusting the size of the offset, the phase offset of the sampling data corresponding to different beats is adjusted, thereby enabling the sampling data to correspond to multiple phases of the output signal.
[0044] The solution provided in this application adds a sampling circuit to the existing service path, thus ensuring that the original service path can continue without interruption. The sampling circuit is phase-biased and scanned according to a set number of cycles to obtain sampled data. This sampled data is then combined with the service data and equalized to obtain the equalization result. Therefore, the sampled data for each cycle is equalized based on the service data, eliminating inter-symbol interference caused by the sampling circuit itself. Multiple phase-bias scans are repeated to obtain multi-cycle equalization results, which are then used to draw an eye diagram. This solution, without affecting the original service process, combines the phase-bias scan results obtained from the added sampling circuit with the service data for equalization. The multi-cycle equalization results are used to draw an eye diagram, which is then used to evaluate signal quality and system performance.
[0045] Preferably, in the above scheme, in step two: the phase offset includes N, and each phase offset is: P = PIcode / N; where PIcode represents the scanning phase step size corresponding to one symbol period signal, and N is the number of scanning phase point steps corresponding to one symbol period signal. For example, in a specific application, within one symbol period, the phase is quantized using 7 bits, and the corresponding scanning phase step size range PIcode is 0-127, then N = 128. In this case, the phase quantization accuracy corresponding to each PIcode is 1 / 128. In this scheme, the number of phase points of the output signal scanned by the sampled data can be adjusted by adjusting PIcode, thereby adjusting the number of sampled phases within one symbol period.
[0046] In the above scheme, a further preferred embodiment includes step two, which involves changing the phase offset of the sampling circuit every K cycles. The value of K is determined based on the frequency offset and the parallelism of the service data output. That is, to improve the accuracy of the sampled data and reduce the amount of data processing, the same phase of the output signal can be sampled during continuous or discontinuous multi-cycle sampling. For example, if K = 100, the same phase offset can be used within every 100 cycles: the first 100 cycles are sampled at the 0 phase point, the 101st to 200th cycles at the 1 / 128 phase point, the 201st to 300th cycles at the 2 / 128 phase point, and so on, until the eye diagram is fully drawn. In specific implementation, the value of K is related to the frequency offset, which refers to the frequency deviation between the sampling data rate and the local clock. Preferably, the value of K is determined as follows: K = 1 / (f ppm × pal), where f ppm represents the frequency offset (ppm represents parts per million), and pal represents the parallelism of the service data output, which is expressed as the number of service data channels.
[0047] Combination Figure 2 As shown, in specific implementation, in step two: the sampling circuit synchronously acquires signals with the original service path. For example... Figure 2 As shown, for data acquisition, the newly added sampling circuit is similar to the service path, such as acquiring data at 0.3 of the symbol period. However, the sampling circuit has a set phase offset, and the offset changes with the accumulation of the sampling period.
[0048] In some schemes, in step S300, the third step, the equalization processing is a single-frequency fractional-interval equalization method. In this step, the newly added sampled data and the original service data are combined to perform FFE equalization and an eye diagram is drawn, thus completing the signal equalization under different channel conditions and enabling the drawn eye diagram to open. Figure 4 In the comparison, the eye diagrams before and after FFE are shown. The left diagram shows that the eye diagram cannot be opened before FFE due to the influence of intersymbol interference, while the right diagram shows that the eye diagram opens after FFE.
[0049] Verification has shown that the online real-time eye diagram drawing method provided in this application provides eye diagrams with high accuracy. For example... Figure 5 As shown, the left figure represents the actual eye diagram in the channel, and the right figure is the eye diagram obtained using this scheme. The trends of the upper, middle, and lower eyes obtained by this scheme are compared with the actual eye diagram in the channel. Figure 1 To. Figure 6 The diagram shows a comparison between the actual eye diagram in the channel and the eye diagram obtained by this scheme when the eyes are slanted. The left diagram shows the actual eye diagram in the channel, and the right diagram shows the eye diagram obtained using this scheme. The trends of the upper, middle, and lower eyes obtained by this scheme are compared with those of the actual eye diagram obtained in the channel. Figure 1To. Figure 7 The diagram shows a comparison between the actual eye diagram of the channel under strict width conditions and the eye diagram obtained by this scheme. The left diagram shows the actual eye diagram in the channel, and the right diagram shows the eye diagram obtained using this scheme. The trends of the upper, middle, and lower eyes obtained by this scheme are compared with those of the actual eye diagram obtained in the channel. Figure 1 Therefore, for various different situations, the eye diagrams drawn by the solution in this application are consistent with the actual eye diagrams, and the solution in this application does not require interruption of the original business path and can obtain the eye diagram drawing results online in real time.
[0050] This application also provides a system for online real-time eye diagram drawing, such as... Figure 7 As shown, it includes:
[0051] The sampling point path construction module 71 adds a sampling circuit to the original business path;
[0052] The bias scanning module 72 performs a phase bias scan on the sampling circuit according to a set number of steps to obtain sampling data;
[0053] The equalization processing module 73 combines the sampled data and the service data and performs equalization processing to obtain the equalization processing result.
[0054] The eye diagram drawing module 74 obtains the multi-shot equalization processing result obtained by the equalization processing module, and draws the eye diagram based on the multi-shot equalization processing result.
[0055] The above devices can generate eye diagrams of a single-sample system in real time without interrupting the original service path. The eye diagrams obtained have been verified to be highly accurate and can be used to evaluate signal quality and system performance.
[0056] Preferably, in the bias scanning module 72, the phase bias includes N phase biases, each phase bias being: P = PIcode / N; where PIcode represents the scanning phase step size corresponding to one symbol period signal, and N is the number of scanning phase point steps corresponding to one symbol period signal. By adjusting PIcode, the number of phase points of the output signal scanned by the sampled data is adjusted, thereby adjusting the number of sampled phases within one symbol range.
[0057] Preferably, in the bias scanning module 72, the phase bias of the sampling circuit is changed every K cycles, and the value of K is determined based on the frequency offset and the parallelism of the service data output. That is, in order to improve the accuracy of the sampled data while reducing the amount of data processing, the same phase of the output signal can be sampled in both continuous and discontinuous multi-cycle scanning.
[0058] Preferably, in the bias scanning module 72, the value of K is determined as follows: K = 1 / (fppm × pal), where fppm represents the frequency offset and pal represents the parallelism of the service data output. The sampling circuit performs signal acquisition synchronously with the original service path.
[0059] Preferably, in the equalization processing module 73, the equalization processing is a single-frequency fractional-interval equalization method. By combining the newly added sampled data and the original service data and performing FFE equalization, signal equalization under different channel conditions can be completed, allowing the drawn eye diagram to open.
[0060] This application also provides a computer-readable storage medium storing program information. After reading the program information, the computer executes the steps of the online real-time eye diagram drawing method described in any of the above embodiments.
[0061] This application also provides a computer program product, characterized in that it includes a computer program / instruction, wherein when the computer program / instruction is executed by a processor, it implements the steps of the online real-time eye diagram drawing method described in any of the above embodiments.
[0062] This application also provides an electronic device, such as... Figure 8As shown, the electronic device includes at least one processor 81 and at least one memory 82. The at least one memory 82 stores program information. After reading the program information, the at least one processor 81 executes the online real-time eye diagram drawing method described in any of the above embodiments. The device may further include an input device 83 and an output device 84. The processor 81, memory 82, input device 83, and output device 84 can be communicatively connected. The memory 82, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The processor 81 executes various functional applications and data processing by running the non-volatile software programs, instructions, and modules stored in the memory 82, thereby implementing the online real-time eye diagram drawing method provided in any of the above embodiments. The memory 82 may include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a function; the data storage area may store data created using the online real-time eye diagram drawing method, etc. Furthermore, memory 82 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 82 may optionally include memory remotely located relative to processor 81, which can be connected via a network to means of performing a three-dimensional matching method for inflated lung models and collapsed lung images. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof. Input device 83 may receive user clicks and generate signal inputs related to user settings and function control of the online real-time eye diagram drawing method. Output device 84 may include a display device such as a display screen. When the one or more modules are stored in memory 82 and are run by the one or more processors 81, the online real-time eye diagram drawing method in any of the above method embodiments is executed.
[0063] As needed, the above technical solutions can be combined to achieve the best technical effect.
[0064] The above are merely the principles and preferred embodiments of this application. It should be noted that, for those skilled in the art, several other modifications can be made based on the principles of this application, and these modifications should also be considered within the scope of protection of this application.
Claims
1. A method for online real-time eye diagram drawing, characterized in that, include: Step 1: Add a sampling circuit to the existing business path; Step 2: Perform a phase-biased scan on the sampling circuit according to the set number of beats to obtain the sampling data; Step 3: Combine the sampled data and business data and perform equalization processing to obtain the equalization processing result; Step 4: Repeat steps 2 and 3 to obtain the multi-shot equalization processing result, and draw an eye diagram based on the multi-shot equalization processing result.
2. The method for online real-time eye diagram drawing according to claim 1, characterized in that, In step two: The phase offset includes N, and each phase offset is: P = PIcode / N; where PIcode represents the scanning phase step size corresponding to one symbol period signal, and N is the number of scanning phase point steps corresponding to one symbol period signal.
3. The method for online real-time eye diagram drawing according to claim 2, characterized in that, Step two includes: The phase offset of the sampling circuit is changed every K frames, and the value of K is determined based on the frequency offset and the parallelism of the service data output.
4. The method for online real-time eye diagram drawing according to claim 3, characterized in that, In step two: The value of K is determined as follows: K = 1 / (f ppm × pal), where f ppm represents the frequency offset and pal represents the parallelism of business data output.
5. The method for online real-time eye diagram drawing according to claim 3, characterized in that, In step two: The sampling circuit acquires signals synchronously with the original service path.
6. The method for online real-time eye diagram drawing according to any one of claims 1-5, characterized in that, In step three: The equalization process is a single-frequency fractional-interval equalization method.
7. A system for online real-time eye diagram generation, characterized in that, include: The sampling point path construction module adds a sampling circuit to the existing business path; The bias scanning module performs a phase bias scan on the sampling circuit according to a set number of steps to obtain sampling data; The equalization processing module combines the sampled data and business data and performs equalization processing to obtain the equalization processing result. The eye diagram drawing module obtains the multi-shot equalization processing results from the equalization processing module and draws the eye diagram based on the multi-shot equalization processing results.
8. A computer-readable storage medium, characterized in that, The storage medium stores program information, and after the computer reads the program information, it executes the steps of the online real-time eye diagram drawing method according to any one of claims 1-6.
9. A computer program product, characterized in that, The method includes a computer program / instruction, characterized in that, when executed by a processor, the computer program / instruction implements the steps of the online real-time eye diagram drawing method according to any one of claims 1-6.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the steps of the online real-time eye diagram drawing method according to any one of claims 1-6.
