A signal quality assessment method, apparatus, device and medium
By establishing a communication connection between the signal quality assessment circuit and the 3D chip die, signal stability monitoring, channel margin and jitter calculation are performed, solving the problem of external noise influence in traditional methods and realizing rapid assessment of the internal signal quality of the 3D chip.
Patent Information
- Application Number
- CN202310686072.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-09
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2043-06-09
AI Technical Summary
Existing technologies are insufficient for quickly and effectively assessing the transmission signal quality of internal dies in 3D packaged chips, especially due to the significant impact of factors such as noise, crosstalk, and interconnect trace attenuation. Traditional methods also increase the influence of external noise and cannot connect all interfaces.
The signal quality evaluation circuit establishes a communication connection with the first and second dies, monitors the signal stability, performs channel margin analysis, jitter calculation and bit error calculation, and evaluates the signal quality using peak-to-peak detection, zero-crossing detection and XOR processing.
It can quickly and effectively evaluate the internal signal quality of 3D chips, avoid the influence of external noise, and accurately evaluate noise performance, jitter performance and bit error rate performance, providing key support for 3D chip design.
Smart Images

Figure CN116662137B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a signal quality assessment method, apparatus, device, and medium. Background Technology
[0002] In high-performance computing processors, high-performance AI computing, and IoT / wireless edge computing systems, as computing power demands continue to increase, 3D chips are gradually becoming the main implementation form of SoC (System on Chip). For details, please refer to... Figure 1 As shown, this effectively reduces transmission delay, transmission distance, and transmission line spacing in the link. However, while 3D chips bring high integration and high performance, they also enable the internalization and miniaturization of individual die interfaces, posing challenges to the evaluation of die transmission signal quality. Simultaneously, with the continuous increase in transmission rates, signal integrity issues become more prominent, especially factors such as noise, crosstalk, and interconnect trace attenuation, which severely affect the amplitude, edge performance, and bit error rate of the transmitted signal.
[0003] See Figure 2 As shown, traditional signal quality assessment methods involve fixing a pre-packaged chip onto a test board, connecting it to equipment such as an oscilloscope and bit error rate tester via SMP cables (Sub-Miniature version P, i.e., small RF coaxial cable) and SMP-SMA cables (Sub-Miniature version A, i.e., ultra-small coaxial cable), an MB board (Mainboard), and an ISI (Intersymbol interference) board. Currently, eye diagrams are typically used to visually measure the quality of the transmitted signal. Figure 3 As shown in the diagram, when performing performance testing on 3D packaged chip systems, SMP cables can only connect to some interfaces extending from the Interposer (i.e., the packaging substrate) in the 3D package, and cannot connect to other micro interfaces, especially the interfaces in Die0 to Die3 that are not connected to the organic substrate. Furthermore, SMP cables, ISI boards, and SMP-SMA cables increase the transmission distance between the interfaces extending from the Interposer and the instrument, also increasing the probability of external noise affecting the transmitted signal, reducing the eye diagram's opening (i.e., eye height and eye width), and thus deteriorating the quality of the transmitted signal.
[0004] In summary, how to quickly and effectively evaluate the performance of the transmitted signals of the internal die in a 3D packaged chip is a problem that needs to be solved. Summary of the Invention
[0005] In view of this, the purpose of this invention is to provide a signal quality evaluation method, apparatus, device, and medium that can quickly and effectively evaluate the performance of transmitted signals on the internal die of a 3D packaged chip. The specific solution is as follows:
[0006] In a first aspect, this application discloses a signal quality assessment method applied to a signal quality assessment circuit, wherein the signal quality assessment circuit establishes communication connections with a first die and a second die, and the establishment of communication connections between the first die and the second die includes:
[0007] When the second die receives the signal sent by the first die, it monitors whether the received signal is in a stable state. If it is in a stable state, it outputs the first pulse signal.
[0008] Triggered by the first pulse signal, the received signal is subjected to channel margin analysis and jitter calculation respectively, and the corresponding channel margin analysis value and jitter value are obtained under the condition of satisfying the preset amplitude threshold condition and the preset jitter threshold condition, and the corresponding second pulse signal and third pulse signal are output respectively.
[0009] Under the triggering of the first pulse signal, the second pulse signal and the third pulse signal, the received signal is subjected to bit error rate calculation to obtain the bit error rate.
[0010] Optionally, the signal quality assessment method further includes:
[0011] When the transmit valid bit of the first die is valid, a signal is transmitted from the first die to the second die.
[0012] When the receive valid bit of the second die is valid, the signal sent by the first die is received through the second die.
[0013] Optionally, the step of performing channel margin analysis and jitter calculation on the received signal under the trigger of the first pulse signal, and obtaining the corresponding channel margin analysis value and jitter value under the condition of satisfying the preset amplitude threshold condition and the preset jitter threshold condition, and outputting the corresponding second pulse signal and third pulse signal respectively, includes:
[0014] Under the triggering of the received valid bit and the first pulse signal, the peak-to-peak detection circuit is used to determine whether the noise amplitude and signal amplitude in the received signal meet the preset amplitude threshold condition;
[0015] If the preset amplitude threshold condition is met, a second pulse signal is output, and a channel margin analysis value is obtained based on the noise amplitude and the signal amplitude.
[0016] Under the triggering of the received valid bit and the first pulse signal, the maximum and minimum time values of the zero-crossing point of the received signal are determined by the zero-crossing point detection technology and the maximum and minimum value update technology, and the time difference between the maximum and minimum time values is determined to obtain the jitter value;
[0017] Determine whether the jitter value meets the preset jitter threshold condition. If it does, output the third pulse signal.
[0018] Optionally, determining the maximum and minimum time values of the zero-crossing point of the received signal using zero-crossing detection and extremum update techniques includes:
[0019] The initial time value of the zero-crossing point of the rising edge of the received signal is detected by zero-crossing detection technology, and an edge counting process is performed to obtain a count value; wherein, the initial time value includes an initial maximum value and an initial minimum value, and the initial maximum value is equal to the initial minimum value;
[0020] The initial time value is periodically shifted based on the count value to obtain the shifted time value, and the shifted time value is compared with the initial time value to obtain a comparison result.
[0021] The initial time value is updated based on the comparison result, and the updated maximum and minimum time values are obtained after the number of periodic shifts meets the count value.
[0022] Optionally, updating the initial time value based on the comparison result includes:
[0023] If the comparison result is that the shifted time value is greater than the initial time value, then the initial maximum value is updated using the shifted time value;
[0024] If the comparison result is that the shifted time value is less than the initial time value, then the initial minimum value is updated using the shifted time value.
[0025] Optionally, the step of calculating the bit error rate of the received signal under the triggering of the first pulse signal, the second pulse signal, and the third pulse signal includes:
[0026] Under the triggering of the valid transmission bit, the first pulse signal, the second pulse signal, and the third pulse signal, the transmission signal and the reception signal of the first die are XORed to obtain the number of error signals that have occurred.
[0027] The bit error rate is determined based on the number of erroneous signals and the total number of signals.
[0028] Optionally, the signal quality assessment method further includes:
[0029] When the second pulse signal is at a high level, the channel margin analysis value is displayed;
[0030] The jitter value is displayed when the third pulse signal is at a high level;
[0031] The bit error rate is displayed when the first pulse signal, the second pulse signal, and the third pulse signal are all at a high level.
[0032] Secondly, this application discloses a signal quality evaluation device applied to a signal quality evaluation circuit, wherein the signal quality evaluation circuit establishes communication connections with a first die and a second die, and the establishment of communication connections between the first die and the second die includes:
[0033] The signal stability detection module is used to monitor whether the received signal is in a stable state when the second die receives the signal sent by the first die. If it is in a stable state, it outputs a first pulse signal.
[0034] The signal calculation module is used to perform channel margin analysis and jitter calculation on the received signal under the trigger of the first pulse signal, and obtain the corresponding channel margin analysis value and jitter value when the preset amplitude threshold condition and preset jitter threshold condition are met, and output the corresponding second pulse signal and third pulse signal respectively.
[0035] The bit error rate calculation module is used to perform bit error rate calculation on the received signal under the triggering of the first pulse signal, the second pulse signal and the third pulse signal, so as to obtain the bit error rate.
[0036] Thirdly, this application discloses an electronic device, comprising:
[0037] Memory, used to store computer programs;
[0038] A processor for executing the computer program to implement the steps of the aforementioned disclosed signal quality assessment method.
[0039] Fourthly, this application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the steps of the aforementioned disclosed signal quality assessment method.
[0040] As can be seen, the signal quality evaluation circuit of this application establishes communication connections with the first die and the second die respectively. When the second die receives a signal sent by the first die, the signal quality evaluation circuit monitors whether the received signal is in a stable state. If it is in a stable state, it outputs a first pulse signal. Triggered by the first pulse signal, the circuit performs channel margin analysis and jitter calculation on the received signal, and obtains the corresponding channel margin analysis value and jitter value when preset amplitude threshold conditions and preset jitter threshold conditions are met, and outputs corresponding second and third pulse signals respectively. Triggered by the first pulse signal, the second pulse signal, and the third pulse signal, the circuit performs bit error rate calculation on the received signal to obtain the bit error rate. Therefore, in this application, the first and second dies in the 3D chip are interconnected with the signal quality evaluation circuit. After interconnection, the second die acquires the signal transmitted by the first die, while the signal quality evaluation circuit monitors whether the received signal is stable. If stable, it outputs a first pulse signal. Triggered by the first pulse signal, the signal quality evaluation circuit performs channel margin analysis and jitter calculation on the received signal. Under the condition of satisfying preset amplitude threshold and preset jitter threshold, it obtains the corresponding channel margin analysis value and jitter value, and outputs the corresponding second and third pulse signals respectively. Finally, triggered by the first, second, and third pulse signals, the signal quality evaluation circuit performs bit error rate calculation on the received signal to obtain the bit error rate. The signal quality evaluation circuit in the above scheme not only eliminates the need for external connection lines to instruments such as oscilloscopes in traditional evaluation methods, but also avoids the influence of external environments such as noise on the transmitted signal. Furthermore, it quickly and effectively evaluates noise performance, jitter performance, and bit error rate performance, playing a crucial role in 3D chip design. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0042] Figure 1 This is a schematic diagram of a 3D chip disclosed in this application;
[0043] Figure 2 This is a schematic diagram of a traditional signal quality assessment method disclosed in this application;
[0044] Figure 3 This is a specific eye diagram disclosed in this application;
[0045] Figure 4 This is a flowchart of a signal quality assessment method disclosed in this application;
[0046] Figure 5 This application discloses a signal quality assessment circuit block diagram;
[0047] Figure 6 This is a flowchart of a specific signal quality assessment method disclosed in this application;
[0048] Figure 7 This is a circuit diagram of a COM computing unit disclosed in this application;
[0049] Figure 8 This is a circuit diagram of a jitter calculation unit disclosed in this application;
[0050] Figure 9 This is a schematic diagram of jitter calculation of a jitter calculation unit disclosed in this application;
[0051] Figure 10 This is a specific error calculation diagram disclosed in this application;
[0052] Figure 11 This is a circuit diagram of a bit error calculation unit disclosed in this application;
[0053] Figure 12 This is a schematic diagram of the structure of a signal quality assessment device disclosed in this application;
[0054] Figure 13 This is a structural diagram of an electronic device disclosed in this application. Detailed Implementation
[0055] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0056] Currently, traditional signal quality assessment methods involve fixing the packaged chip onto a test board and connecting it to equipment such as oscilloscopes and bit error rate testers via SMP cables, SMP-SMA cables, MB boards, and ISI boards. Eye diagrams are typically used to visually measure the quality of the transmitted signal. However, when performing performance testing on 3D packaged chip systems, SMP cables can only connect to some interfaces exposed from the interposer within the 3D package, and cannot connect to other micro-interfaces, especially those in Die 0 to Die 3 that are not connected to the organic substrate. Furthermore, SMP cables, ISI boards, and SMP-SMA cables increase the transmission distance between the exposed interfaces and the instruments, increase the probability of external noise affecting the transmitted signal, and reduce the eye diagram opening (i.e., eye height and eye width), thus deteriorating the transmitted signal quality. Therefore, this application discloses a signal quality assessment method, apparatus, device, and medium that can quickly and effectively assess the performance of the transmitted signals of the internal dies within a 3D packaged chip.
[0057] See Figure 4 As shown in the figure, this application discloses a signal quality assessment method applied to a signal quality assessment circuit. The signal quality assessment circuit establishes communication connections with a first die and a second die, respectively. The first die and the second die establish a communication connection. The method includes:
[0058] Step S11: When the second die receives the signal sent by the first die, monitor whether the received signal is in a stable state. If it is in a stable state, output the first pulse signal.
[0059] In this embodiment, it is assumed that the first die (Die1) and the second die (Die2) in the 3D chip are the dies to be evaluated. First, the first die and the second die are interconnected with the signal quality evaluation circuit. For a detailed schematic diagram of the interconnection, please refer to [link to schematic diagram]. Figure 5 As shown, the signal quality assessment circuit specifically includes a signal stability monitoring unit, a COM calculation unit, a jitter calculation unit, a bit error rate calculation unit, and a display unit. After interconnection, the second die acquires the signal transmitted by the first die. The signal stability monitoring unit in the signal quality assessment circuit monitors whether the received signal is stable and outputs a first pulse signal SP if the signal is stable. Conversely, if the received signal is unstable, no pulse signal SP is output.
[0060] In a specific embodiment, the method further includes: when the transmit valid bit of the first die is valid, transmitting a signal to the second die through the first die; and when the receive valid bit of the second die is valid, receiving the signal transmitted by the first die through the second die. It is understood that, see [link to previous embodiment]. Figure 5As shown, for the first and second dies to be evaluated, when the transmit valid bit (Tvalid) of the first die is valid, the first die transmits a signal to the second die; when the receive valid bit (Rvalid) of the second die is valid, the second die receives the signal transmitted by the first die. Furthermore, the signal stability monitoring unit determines whether the received signal is stable when the receive valid bit Rvalid is valid.
[0061] Step S12: Under the trigger of the first pulse signal, channel margin analysis and jitter calculation are performed on the received signal respectively, and the corresponding channel margin analysis value and jitter value are obtained when the preset amplitude threshold condition and preset jitter threshold condition are met, and the corresponding second pulse signal and third pulse signal are output respectively.
[0062] In this embodiment, triggered by the first pulse signal SP, the COM (Channel Operating Margin) calculation unit and the jitter detection unit in the signal quality evaluation circuit simultaneously perform channel margin analysis calculation and jitter calculation on the received signal, and obtain the corresponding channel margin analysis value and jitter value when the preset amplitude threshold condition and preset jitter threshold condition are met, and output the corresponding second pulse signal CM and third pulse signal JK respectively.
[0063] Step S13: Under the triggering of the first pulse signal, the second pulse signal and the third pulse signal, the received signal is subjected to bit error calculation to obtain the bit error rate.
[0064] In this embodiment, under the combined triggering of the first pulse signal SP, the second pulse signal CM, and the third pulse signal JK, the bit error calculation unit in the signal quality evaluation circuit performs bit error calculation on the received signal to obtain the bit error rate.
[0065] Furthermore, the signal quality assessment circuit also includes a display unit, specifically comprising: displaying the channel margin analysis value when the second pulse signal is high; displaying the jitter value when the third pulse signal is high; and displaying the bit error rate when the first, second, and third pulse signals are all high. It can be understood that the display unit is used to display the channel margin analysis value (i.e., COM value), jitter value, and bit error rate. If the pulse signal CM remains low, the display unit does not display the COM value; similarly, if the pulse signal JK remains low, the display unit does not display the jitter value. The display unit only displays the bit error rate when pulse signals SP, CM, and JK are all valid simultaneously.
[0066] As can be seen, the signal quality evaluation circuit of this application establishes communication connections with the first die and the second die respectively. When the second die receives a signal sent by the first die, the signal quality evaluation circuit monitors whether the received signal is in a stable state. If it is in a stable state, it outputs a first pulse signal. Triggered by the first pulse signal, the circuit performs channel margin analysis and jitter calculation on the received signal, and obtains the corresponding channel margin analysis value and jitter value when preset amplitude threshold conditions and preset jitter threshold conditions are met, and outputs corresponding second and third pulse signals respectively. Triggered by the first pulse signal, the second pulse signal, and the third pulse signal, the circuit performs bit error rate calculation on the received signal to obtain the bit error rate. Therefore, in this application, the first and second dies in the 3D chip are interconnected with the signal quality evaluation circuit. After interconnection, the second die acquires the signal transmitted by the first die, while the signal quality evaluation circuit monitors whether the received signal is stable. If stable, it outputs a first pulse signal. Triggered by the first pulse signal, the signal quality evaluation circuit performs channel margin analysis and jitter calculation on the received signal. Under the condition of satisfying preset amplitude threshold and preset jitter threshold, it obtains the corresponding channel margin analysis value and jitter value, and outputs the corresponding second and third pulse signals respectively. Finally, triggered by the first, second, and third pulse signals, the signal quality evaluation circuit performs bit error rate calculation on the received signal to obtain the bit error rate. The signal quality evaluation circuit in the above scheme not only eliminates the need for external connection lines to instruments such as oscilloscopes in traditional evaluation methods, but also avoids the influence of external environments such as noise on the transmitted signal. Furthermore, it quickly and effectively evaluates noise performance, jitter performance, and bit error rate performance, playing a crucial role in 3D chip design.
[0067] See Figure 6 As shown, this application discloses a specific signal quality assessment method. Compared to the previous embodiment, this embodiment further explains and optimizes the technical solution. Specifically, it includes:
[0068] Step S21: When the second die receives the signal sent by the first die, monitor whether the received signal is in a stable state. If it is in a stable state, output the first pulse signal.
[0069] Step S22: Under the triggering of the received valid bit and the first pulse signal, the peak-to-peak detection circuit is used to determine whether the noise amplitude and signal amplitude in the received signal meet the preset amplitude threshold condition.
[0070] In this embodiment, triggered by the received valid bit and the first pulse signal, the signal quality assessment circuit activates the COM calculation unit. The peak-to-peak detection circuit determines whether the noise amplitude and signal amplitude in the received signal meet a preset amplitude threshold condition; that is, the received noise amplitude and useful signal amplitude are directly compared with the amplitude threshold corresponding to the set COMpre threshold.
[0071] Step S23: If the preset amplitude threshold condition is met, output the second pulse signal and obtain the channel margin analysis value based on the noise amplitude and the signal amplitude.
[0072] In this embodiment, if the preset amplitude threshold condition is met, the second pulse signal CM is output, and ratio calculation is enabled, i.e., the channel margin analysis value (COM value) is obtained based on the noise amplitude and signal amplitude. Conversely, if the second pulse signal CM is not output, ratio calculation is disabled, and the COM value is not calculated. See details in [link to documentation]. Figure 7 As shown, it should be noted that the COM calculation unit consists of a subtractor, a peak-to-peak value detector, an amplitude thresholder, and a divider. The subtractor subtracts the transmitted signal Tdata from the received signal Rdata, outputting a noise signal Tn. The amplitude thresholder converts the set COM threshold COMpre into the corresponding amplitude threshold, i.e., the signal amplitude and noise amplitude. The peak-to-peak value detection circuit is a dual-differential comparator controlled by the input signal, used to compare the noise amplitude and signal amplitude in the received signal with the set COM threshold COMpre, determining whether the amplitude threshold requirement is met, and outputting a pulse signal CM to control the ratio calculation switch. The divider is used to calculate the COM value, where the formula for calculating the COM value is as follows:
[0073]
[0074] In the formula, A noise It is the noise amplitude, A signal It is the signal amplitude.
[0075] Step S24: Under the triggering of the received valid bit and the first pulse signal, the maximum and minimum time values of the zero-crossing point of the received signal are determined using zero-crossing detection technology and maximum / minimum value update technology, and the time difference between the maximum and minimum time values is determined to obtain the jitter value.
[0076] In this embodiment, while calculating the COM value, the signal quality evaluation circuit also performs jitter calculation on the received signal under the triggering of the received valid bit Rvalid and the first pulse signal SP. Specifically, it uses zero-crossing detection technology and extreme value update technology to determine the maximum and minimum time values of the zero-crossing point of the received signal, and determines the time difference between the maximum and minimum time values to obtain the jitter value.
[0077] The method described above for determining the maximum and minimum time values of the zero-crossing point of the received signal using zero-crossing detection and maximum / minimum value update techniques includes: detecting the initial time value of the zero-crossing point of the rising edge of the received signal using zero-crossing detection techniques, and performing edge counting processing to obtain a count value; wherein the initial time value includes an initial maximum value and an initial minimum value, and the initial maximum value is equal to the initial minimum value; performing periodic shift processing on the initial time value based on the count value to obtain a shifted time value, and comparing the shifted time value with the initial time value to obtain a comparison result; updating the initial time value based on the comparison result, and obtaining the updated maximum and minimum time values after the number of periodic shifts meets the count value. Further, updating the initial time value based on the comparison result includes: if the comparison result shows that the shifted time value is greater than the initial time value, then updating the initial maximum value using the shifted time value; if the comparison result shows that the shifted time value is less than the initial time value, then updating the initial minimum value using the shifted time value.
[0078] See details Figure 8 As shown, the jitter calculation unit includes a zero-crossing detection unit, an edge counter, a period shifter, an extremum update unit, and an extremum difference unit. The zero-crossing detection unit detects the zero-crossing time of the rising edge of the signal. The edge counter records the number of edges triggered by the rising edge and outputs n. The period shifter updates the detected zero-crossing time t. n After n cycles of shifting, i.e., t n -nT. The extreme value update unit continuously updates the maximum and minimum time values at the zero-crossing points so that the subsequent extreme value difference unit can calculate the difference between the two to obtain the jitter value, and compare it with the set jitter threshold to output the third pulse signal JK.
[0079] Understandably, see Figure 9As shown, within one clock cycle, the zero-crossing detection technology is used to detect the initial time value of the rising edge zero-crossing point of the received signal. The initial time value includes an initial maximum value and an initial minimum value, and the initial maximum value is equal to the initial minimum value, both being t0. Starting from the second clock cycle, the zero-crossing detection technology is used to detect the second time point t1, and counting is performed. After periodic shift processing, the time point becomes t1-T, where T is the clock cycle. A comparison is made with the extreme values: if t1-T >= t0, the maximum value is updated to t1-T; if t1-T < t0, the minimum value is updated to t1-T; if t1-T = t0, the extreme values are not updated and remain t0. After multiple cycles, the extreme values generally tend to stabilize, and the maximum value and the minimum value are obtained. Assume that the updated maximum value and minimum value are t2 and t1, and the extreme value difference unit calculates the time difference between the two, that is, t2-t1, to obtain the jitter value.
[0080] Step S25: Determine whether the jitter value satisfies a preset jitter threshold condition, and if it is satisfied, output a third pulse signal.
[0081] In this embodiment, the jitter value is compared with a set jitter threshold Jpre. If the condition is satisfied, the third pulse signal JK is output; otherwise, no pulse signal is output.
[0082] Step S26: Under the triggering of a transmit valid bit, the first pulse signal, the second pulse signal and the third pulse signal, perform XOR processing on the transmit signal of the first bare die and the received signal to obtain the number of error signals that have errors, and determine a bit error rate based on the number of error signals and the total number of signals.
[0083] In this embodiment, under the joint triggering of the transmit valid bit Tvalid and the pulse signals SP, CM, and JK, the error calculation unit starts to perform XOR processing on the received signal and the transmit signal. If the transmit signal and the received signal are different at a certain moment, the XOR result is 1; if the transmit signal and the received signal are the same at a certain moment, the XOR result is 0. Under the joint triggering of the transmit valid bit Tvalid and the pulse signals SP, CM, and JK, the counter starts to count the high level of the XOR-processed signal to obtain the number of error signals that have errors, that is, the number of erroneous signals, for subsequent ratio calculation to obtain the Bit Error Rate (BER). Figure 10 This is a specific schematic diagram of error calculation disclosed in the present application. It should be noted that, see Figure 11As shown, the bit error rate (BER) calculation unit includes a two-input XOR gate, a four-input AND gate, a counter, and a ratio calculation unit. The two-input AND gate is used to compare the difference between the transmitted and received signals. The four-input AND gate controls the counter to count the differences in the output under the triggering of all pulse signals Tvalid, SP, CM, and JK, for subsequent calculation by the ratio calculation unit to calculate the BER. The formula for calculating the BER is as follows:
[0084]
[0085] In the formula, N error N is the number of error signals. all It is the total number of signals.
[0086] For a more detailed description of the process of step S21, please refer to the relevant content disclosed in the foregoing embodiments, which will not be repeated here.
[0087] As can be seen, in the signal quality evaluation circuit of this application embodiment, the COM calculation unit obtains the noise amplitude and signal amplitude through peak-to-peak detection technology to evaluate the noise tolerance threshold in signal transmission; the jitter calculation unit uses zero-crossing technology and extreme value update technology to calculate the time difference between the maximum and minimum time values of the zero-crossing point to evaluate the jitter tolerance threshold in signal transmission; the bit error rate calculation unit counts the pulse signals after the transmitted and received signals are ANDed to evaluate the number of errors that occur in signal transmission. That is, this application implements the COM calculation unit, jitter calculation unit, and bit error rate calculation unit using peak-to-peak detection technology, zero-crossing technology, and pulse counting technology respectively, thereby quickly and effectively evaluating noise performance, jitter performance, and bit error rate performance.
[0088] See Figure 12 As shown in the figure, this application discloses a signal quality evaluation device applied to a signal quality evaluation circuit. The signal quality evaluation circuit establishes communication connections with a first die and a second die, respectively. The first die and the second die establish communication connections. The device includes:
[0089] The signal stability detection module 11 is used to monitor whether the received signal is in a stable state when the second die receives the signal sent by the first die; if it is in a stable state, it outputs a first pulse signal.
[0090] The signal calculation module 12 is used to perform channel margin analysis calculation and jitter calculation on the received signal under the trigger of the first pulse signal, and obtain the corresponding channel margin analysis value and jitter value when the preset amplitude threshold condition and preset jitter threshold condition are met, and output the corresponding second pulse signal and third pulse signal respectively.
[0091] The bit error rate calculation module 13 is used to perform bit error rate calculation on the received signal under the triggering of the first pulse signal, the second pulse signal and the third pulse signal to obtain the bit error rate.
[0092] As can be seen, the signal quality evaluation circuit of this application establishes communication connections with the first die and the second die respectively. When the second die receives a signal sent by the first die, the signal quality evaluation circuit monitors whether the received signal is in a stable state. If it is in a stable state, it outputs a first pulse signal. Triggered by the first pulse signal, the circuit performs channel margin analysis and jitter calculation on the received signal, and obtains the corresponding channel margin analysis value and jitter value when preset amplitude threshold conditions and preset jitter threshold conditions are met, and outputs corresponding second and third pulse signals respectively. Triggered by the first pulse signal, the second pulse signal, and the third pulse signal, the circuit performs bit error rate calculation on the received signal to obtain the bit error rate. Therefore, in this application, the first and second dies in the 3D chip are interconnected with the signal quality evaluation circuit. After interconnection, the second die acquires the signal transmitted by the first die, while the signal quality evaluation circuit monitors whether the received signal is stable. If stable, it outputs a first pulse signal. Triggered by the first pulse signal, the signal quality evaluation circuit performs channel margin analysis and jitter calculation on the received signal. Under the condition of satisfying preset amplitude threshold and preset jitter threshold, it obtains the corresponding channel margin analysis value and jitter value, and outputs the corresponding second and third pulse signals respectively. Finally, triggered by the first, second, and third pulse signals, the signal quality evaluation circuit performs bit error rate calculation on the received signal to obtain the bit error rate. The signal quality evaluation circuit in the above scheme not only eliminates the need for external connection lines to instruments such as oscilloscopes in traditional evaluation methods, but also avoids the influence of external environments such as noise on the transmitted signal. Furthermore, it quickly and effectively evaluates noise performance, jitter performance, and bit error rate performance, playing a crucial role in 3D chip design.
[0093] In some specific embodiments, the signal quality assessment device may specifically include:
[0094] A signal transmitting unit is used to transmit a signal from the first die to the second die when the transmit valid bit of the first die is valid;
[0095] The signal receiving unit is configured to receive the signal transmitted by the first die through the second die when the receive valid bit of the second die is valid.
[0096] In some specific embodiments, the signal calculation module 12 may specifically include:
[0097] An amplitude threshold determination unit is used to determine, under the triggering of the received valid bit and the first pulse signal, whether the noise amplitude and signal amplitude in the received signal meet the preset amplitude threshold condition using a peak-to-peak detection circuit.
[0098] The second pulse signal output unit is used to output a second pulse signal if the preset amplitude threshold condition is met, and to obtain a channel margin analysis value based on the noise amplitude and the signal amplitude.
[0099] The jitter value acquisition unit is used to determine the maximum and minimum time values of the zero-crossing point of the received signal using zero-crossing detection technology and maximum / minimum value update technology under the triggering of the received valid bit and the first pulse signal, and to determine the time difference between the maximum and minimum time values to obtain the jitter value.
[0100] The third pulse signal output unit is used to determine whether the jitter value meets the preset jitter threshold condition. If it does, the third pulse signal is output.
[0101] In some specific embodiments, the jitter value acquisition unit may specifically include:
[0102] An initial time value detection unit is used to detect the initial time value of the zero-crossing point of the rising edge of the received signal using zero-crossing detection technology, and to perform edge counting processing to obtain a count value; wherein, the initial time value includes an initial maximum value and an initial minimum value, and the initial maximum value is equal to the initial minimum value;
[0103] A periodic shift unit is used to perform periodic shift processing on the initial time value based on the count value to obtain a shifted time value, and compare the shifted time value with the initial time value to obtain a comparison result;
[0104] The time update unit is used to update the initial time value based on the comparison result, and to obtain the updated maximum and minimum time values after the number of periodic shifts meets the count value.
[0105] In some specific embodiments, the time update unit may specifically include:
[0106] The maximum value update unit is used to update the initial maximum value using the shifted time value if the comparison result is that the shifted time value is greater than the initial time value.
[0107] The minimum value update unit is used to update the initial minimum value using the shifted time value if the comparison result is that the shifted time value is less than the initial time value.
[0108] In some specific embodiments, the bit error calculation module 13 may specifically include:
[0109] An XOR processing unit is configured to perform XOR processing on the transmit signal and the receive signal of the first die under the triggering of the transmit valid bit, the first pulse signal, the second pulse signal and the third pulse signal, so as to obtain the number of error signals that have occurred.
[0110] The bit error rate determination unit is used to determine the bit error rate based on the number of erroneous signals and the total number of signals.
[0111] In some specific embodiments, the signal quality assessment device may further include:
[0112] The first display unit is used to display the channel margin analysis value when the second pulse signal is at a high level;
[0113] The second display unit is used to display the jitter value when the third pulse signal is at a high level;
[0114] The third display unit is used to display the bit error rate when the first pulse signal, the second pulse signal, and the third pulse signal are all at a high level.
[0115] Figure 13 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Specifically, it may include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 stores a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the signal quality assessment method performed by the electronic device disclosed in any of the foregoing embodiments.
[0116] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 25 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.
[0117] The processor 21 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 21 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 21 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0118] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or optical disk, etc. The resources stored on it include operating system 221, computer program 222 and data 223, etc., and the storage method can be temporary storage or permanent storage.
[0119] The operating system 221 manages and controls the various hardware devices and computer programs 222 on the electronic device 20 to enable the processor 21 to perform calculations and processing on the massive amounts of data 223 in the memory 22. The operating system 221 can be Windows, Unix, Linux, etc. The computer program 222, in addition to including a computer program capable of performing the signal quality assessment method executed by the electronic device 20 as disclosed in any of the foregoing embodiments, may further include computer programs capable of performing other specific tasks. The data 223 may include data received by the electronic device from external devices, as well as data collected by its own input / output interface 25.
[0120] Furthermore, embodiments of this application also disclose a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, it implements the method steps performed during the signal quality assessment process disclosed in any of the foregoing embodiments.
[0121] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.
[0122] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0123] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0124] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0125] The above provides a detailed description of the signal quality assessment method, apparatus, device, and storage medium provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A signal quality assessment method, characterized in that, Applied to a signal quality evaluation circuit, the signal quality evaluation circuit establishes communication connections with a first die and a second die, respectively. The establishment of communication connections between the first die and the second die includes: When the second die receives the signal sent by the first die, it monitors whether the received signal is in a stable state. If it is in a stable state, it outputs the first pulse signal. Triggered by the first pulse signal, the received signal is subjected to channel margin analysis and jitter calculation respectively, and the corresponding channel margin analysis value and jitter value are obtained under the condition of satisfying the preset amplitude threshold condition and the preset jitter threshold condition, and the corresponding second pulse signal and third pulse signal are output respectively. Under the triggering of the first pulse signal, the second pulse signal and the third pulse signal, the received signal is subjected to bit error rate calculation to obtain the bit error rate.
2. The signal quality assessment method according to claim 1, characterized in that, Also includes: When the transmit valid bit of the first die is valid, a signal is transmitted from the first die to the second die. When the receive valid bit of the second die is valid, the signal sent by the first die is received through the second die.
3. The signal quality assessment method according to claim 2, characterized in that, The step of performing channel margin analysis and jitter calculation on the received signal under the trigger of the first pulse signal, and obtaining the corresponding channel margin analysis value and jitter value under the condition of satisfying the preset amplitude threshold condition and the preset jitter threshold condition, and outputting the corresponding second pulse signal and third pulse signal respectively, includes: Under the triggering of the received valid bit and the first pulse signal, the peak-to-peak detection circuit is used to determine whether the noise amplitude and signal amplitude in the received signal meet the preset amplitude threshold condition; If the preset amplitude threshold condition is met, a second pulse signal is output, and a channel margin analysis value is obtained based on the noise amplitude and the signal amplitude. Under the triggering of the received valid bit and the first pulse signal, the maximum and minimum time values of the zero-crossing point of the received signal are determined by the zero-crossing point detection technology and the maximum and minimum value update technology, and the time difference between the maximum and minimum time values is determined to obtain the jitter value; Determine whether the jitter value meets the preset jitter threshold condition. If it does, output the third pulse signal.
4. The signal quality assessment method according to claim 3, characterized in that, The determination of the maximum and minimum time values of the zero-crossing point of the received signal using zero-crossing detection and extremum update techniques includes: The initial time value of the zero-crossing point of the rising edge of the received signal is detected by zero-crossing detection technology, and an edge counting process is performed to obtain a count value; wherein, the initial time value includes an initial maximum value and an initial minimum value, and the initial maximum value is equal to the initial minimum value; The initial time value is periodically shifted based on the count value to obtain the shifted time value, and the shifted time value is compared with the initial time value to obtain a comparison result. The initial time value is updated based on the comparison result, and the updated maximum and minimum time values are obtained after the number of periodic shifts meets the count value.
5. The signal quality assessment method according to claim 4, characterized in that, The step of updating the initial time value based on the comparison result includes: If the comparison result is that the shifted time value is greater than the initial time value, then the initial maximum value is updated using the shifted time value; If the comparison result is that the shifted time value is less than the initial time value, then the initial minimum value is updated using the shifted time value.
6. The signal quality assessment method according to claim 2, characterized in that, The step of calculating the bit error rate of the received signal under the triggering of the first pulse signal, the second pulse signal, and the third pulse signal includes: Under the triggering of the valid transmission bit, the first pulse signal, the second pulse signal, and the third pulse signal, the transmission signal and the reception signal of the first die are XORed to obtain the number of error signals that have occurred. The bit error rate is determined based on the number of erroneous signals and the total number of signals.
7. The signal quality assessment method according to any one of claims 1 to 6, characterized in that, Also includes: When the second pulse signal is at a high level, the channel margin analysis value is displayed; The jitter value is displayed when the third pulse signal is at a high level; The bit error rate is displayed when the first pulse signal, the second pulse signal, and the third pulse signal are all at a high level.
8. A signal quality assessment device, characterized in that, Applied to a signal quality evaluation circuit, the signal quality evaluation circuit establishes communication connections with a first die and a second die, respectively. The establishment of communication connections between the first die and the second die includes: The signal stability detection module is used to monitor whether the received signal is in a stable state when the second die receives the signal sent by the first die. If it is in a stable state, it outputs a first pulse signal. The signal calculation module is used to perform channel margin analysis and jitter calculation on the received signal under the trigger of the first pulse signal, and obtain the corresponding channel margin analysis value and jitter value when the preset amplitude threshold condition and preset jitter threshold condition are met, and output the corresponding second pulse signal and third pulse signal respectively. The bit error rate calculation module is used to perform bit error rate calculation on the received signal under the triggering of the first pulse signal, the second pulse signal and the third pulse signal, so as to obtain the bit error rate.
9. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the signal quality assessment method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, Used to store a computer program; wherein, when the computer program is executed by a processor, it implements the steps of the signal quality assessment method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Clock jitter measurement method, clock jitter measurement circuit and semiconductor device
CN109387776A
Built-in eye scan for adc-based receiver
CN109863412A
