Downsampling method and device for low voltage differential signal, electronic device and storage medium
By delaying and combining the original low-voltage differential signal and performing metastable analysis, the target combination of low-voltage differential signal is determined, which solves the problem of frequent metastable phenomena in high-speed LVDS channels, and improves the signal reliability and downsampling effect.
Patent Information
- Application Number
- CN202510113470.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2045-01-24
AI Technical Summary
In high-speed LVDS channels, the prior art is difficult to ensure real-time accurate sampling, resulting in frequent metastable phenomena and large number of bit errors. Especially when multiple terminal devices with different speeds share a 10G LVDS channel in the Gpon system, dynamic rate adjustment is difficult to adapt, resulting in high bit error rates.
By delaying the original low-voltage differential signal, a delayed low-voltage differential signal is formed, and multiple combined low-voltage differential signals are formed based on the original and delayed signals. These signals are metastable to determine the target combined low-voltage differential signal. The probability of metastable phenomenon of this signal is not the maximum, thereby reducing the probability of metastable state occurrence and improving the reliability of the signal.
Through this method, the probability of metastable phenomenon occurring to a certain extent can be reduced, and the reliability of the target combination low-voltage differential signal can be improved, thereby ensuring the reliability of the downsampling process and improving the problem of low-voltage differential signal downsampling in the prior art.
Smart Images

Figure CN119603107B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of signal downsampling, and in particular to a downsampling method and device for a low voltage differential signal, an electronic device, and a storage medium. Background Art
[0002] With the rapid development of communication technology, the data transmission rate in communication equipment is increasing day by day, from the traditional 1Gbps (Gbps, Gigabits per second) to tens of Gbps or even hundreds of Gbps. Low Voltage Differential Signaling (LVDS) technology has been widely used in the interconnection between chips on the internal circuit boards of communication equipment due to its significant advantages such as low power consumption, low bit error rate, low electromagnetic interference (EMI) and low crosstalk. However, with the continuous increase in data transmission rate, the downsampling problem of high-speed LVDS channels has become more and more complex and critical. Among them, the receiving end usually first passes through the clock recovery circuit to recover the clock carried by the data on the same line, and then generates a sampling clock based on it. Then, the phase relationship between the clock edge and the data edge is adjusted so that the edge of the sampling clock is aligned with the middle of the sampled data to avoid metastable state, thereby ensuring correct sampling. Then, it is converted into parallel data through a serial-to-parallel conversion circuit.
[0003] However, in the GPON (a high-speed, passive fiber optic access technology) system, sometimes multiple terminal devices with different rates need to run simultaneously on a high-speed LVDS. For example, an OLT (optical line terminal) connects multiple 1G ports and multiple 2.5G ports through a 10G LVDS channel, and shares the 10G channel through time division multiplexing. At this time, the dynamic rate adjustment circuit controlled by software at the receiving end cannot adapt to the need for such rapid rate switching. It can only use the local reference clock to generate a 10G clock through a high-quality phase-locked loop, and use an ultra-high-speed clock to collect ultra-high-speed serial data. However, this cannot ensure real-time and accurate sampling, and metastable states lead to a large number of bit errors. Figure 1 , 10g clock, sampling serial data at a rate of 1.25g. Under normal circumstances, such a high rate and such a high clock will cause a high probability of metastable data anomalies. Originally, 8 bits of 1 become 01111110 or 001111110 and other strange data after sampling. In addition, after these data are converted into parallel data and come out of the receiving port of the serial / parallel converter, their bit sequence will be misplaced and the timing will be wrong. Each reset and restart may result in different results. Figure 1For example, after sampling, the parallel data coming out of the serial / parallel converter may be 8'b00000111, 8'b11101000, 8'b00111110, etc., which are more difficult to identify and distinguish. How to choose and ensure accurate downsampling of the data has become a problem. Faced with the trend of high-speed data transmission from 1g to 100g of LVDS, solving the reliability problem of downsampling has become a difficult problem that must be overcome. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a method and device for downsampling a low voltage differential signal, an electronic device and a storage medium, so as to improve the problem of low reliability of downsampling of a low voltage differential signal existing in the prior art.
[0005] To achieve the above objectives, this application adopts the following technical solutions:
[0006] A downsampling method for a low voltage differential signal, comprising:
[0007] Delaying the original low voltage differential signal to form a delayed low voltage differential signal corresponding to the original low voltage differential signal, and forming a plurality of combined low voltage differential signals based on the original low voltage differential signal and the delayed low voltage differential signal;
[0008] Performing metastable analysis on the multiple combined low-voltage differential signals, and determining a target combined low-voltage differential signal from the multiple combined low-voltage differential signals based on the obtained signal metastable analysis results, wherein the target combined low-voltage differential signal is a combined low-voltage differential signal whose probability of occurrence of a metastable phenomenon is not a maximum value among the multiple combined low-voltage differential signals;
[0009] The down-sampling processing result corresponding to the target combined low-voltage differential signal is determined as the down-sampled low-voltage differential signal corresponding to the target combined low-voltage differential signal.
[0010] In a preferred embodiment of the present application, in the above-mentioned method for downsampling the low voltage differential signal, the step of performing metastable analysis on the multiple combined low voltage differential signals, and determining a target combined low voltage differential signal from the multiple combined low voltage differential signals based on the obtained signal metastable analysis results, includes:
[0011] For each of the multiple combined low-voltage differential signals, at least one data extraction operation is performed on a signal frame of multiple bits included in the combined low-voltage differential signal to form at least one extracted low-voltage differential signal corresponding to the combined low-voltage differential signal, wherein the data extraction operation refers to extracting a signal frame of a second number of bits in the combined low-voltage differential signal according to a signal frame of a first number of bits, the first number is greater than the second number, and each of the extracted low-voltage differential signals includes a plurality of segment low-voltage differential signals, and each of the segment low-voltage differential signals includes a signal frame of the second number of bits;
[0012] A metastable analysis is performed on at least one extracted low-voltage differential signal corresponding to each of the multiple combined low-voltage differential signals, and a target combined low-voltage differential signal is determined from the multiple combined low-voltage differential signals based on the obtained signal metastable analysis result.
[0013] In a preferred selection of the present application, in the above-mentioned method for downsampling a low voltage differential signal, for each of the multiple combined low voltage differential signals, performing at least one data extraction operation on a signal frame of multiple bits included in the combined low voltage differential signal to form at least one step of extracting a low voltage differential signal corresponding to the combined low voltage differential signal, includes:
[0014] For each of the multiple combined low voltage differential signals, perform a first data extraction operation on a signal frame of multiple bits included in the combined low voltage differential signal to form a first extracted low voltage differential signal corresponding to the combined low voltage differential signal;
[0015] For each of the multiple combined low-voltage differential signals, a second data extraction operation is performed on a signal frame of multiple bits included in the combined low-voltage differential signal to form a second extracted low-voltage differential signal corresponding to the combined low-voltage differential signal, wherein a first quantity corresponding to the first data extraction operation is equal to a first quantity corresponding to the second data extraction operation, and a second quantity corresponding to the first data extraction operation is greater than a second quantity corresponding to the second data extraction operation.
[0016] In a preferred selection of the present application, in the above-mentioned method for downsampling the low voltage differential signal, the step of performing metastable analysis on at least one extracted low voltage differential signal corresponding to each combined low voltage differential signal in the multiple combined low voltage differential signals, and determining a target combined low voltage differential signal in the multiple combined low voltage differential signals based on the obtained signal metastable analysis result, includes:
[0017] For each segment low-voltage differential signal in the extracted low-voltage differential signal, a comparison analysis is performed on a second number of signal frames of bits included in the segment low-voltage differential signal to determine whether each signal frame of the second number of signal frames belongs to high-low alternating conversion and the same timing sequence between every two bits of the signal frames is high or low, and when it belongs to high-low alternating conversion and the same timing sequence is high or low, the selection mark corresponding to the segment low-voltage differential signal is configured as a first parameter, otherwise, the selection mark corresponding to the segment low-voltage differential signal is configured as a second parameter, wherein the first parameter is different from the second parameter;
[0018] For each of the extracted low-voltage differential signals, the extracted low-voltage differential signal includes a plurality of selection marks corresponding to the plurality of segment low-voltage differential signals, and the plurality of selection marks corresponding to the extracted low-voltage differential signal are sorted to form a selection mark sequence corresponding to the extracted low-voltage differential signal, and the selection mark sequence is statistically analyzed to obtain a statistical analysis value corresponding to the extracted low-voltage differential signal, wherein the rule of the statistical analysis is that in the selection mark sequence, after each occurrence of a first parameter, the statistical analysis value is increased once, and after each occurrence of a second parameter, the statistical analysis value is cleared once;
[0019] A metastable analysis is performed based on a statistical analysis value corresponding to each extracted low-voltage differential signal corresponding to each combined low-voltage differential signal in the multiple combined low-voltage differential signals, and based on the obtained signal metastable analysis result, a target combined low-voltage differential signal is determined from the multiple combined low-voltage differential signals.
[0020] In a preferred selection of the present application, in the above-mentioned downsampling method of the low voltage differential signal, the step of performing metastable analysis on the statistical analysis value corresponding to each extracted low voltage differential signal corresponding to each combined low voltage differential signal in the multiple combined low voltage differential signals, and determining the target combined low voltage differential signal from the multiple combined low voltage differential signals based on the obtained signal metastable analysis result, includes:
[0021] Respectively compare the statistical analysis value corresponding to each extracted low-voltage differential signal corresponding to each combined low-voltage differential signal in the multiple combined low-voltage differential signals with a predetermined statistical threshold to obtain a size comparison result corresponding to each extracted low-voltage differential signal, wherein the size comparison result is used as the signal metastable analysis result;
[0022] The corresponding size comparison result belongs to the extracted low-voltage differential signal whose statistical analysis value is greater than the statistical threshold, and is determined to be the target extracted low-voltage differential signal. Based on the target extracted low-voltage differential signal, a target combined low-voltage differential signal is determined among the multiple combined low-voltage differential signals.
[0023] In a preferred selection of the present application, in the above-mentioned downsampling method of the low voltage differential signal, the step of determining the target extracted low voltage differential signal as the extracted low voltage differential signal whose corresponding size comparison result belongs to the statistical analysis value greater than the statistical threshold, and determining the target combined low voltage differential signal from the multiple combined low voltage differential signals based on the target extracted low voltage differential signal includes:
[0024] In the first type of extracted low voltage differential signal set, determining whether there is a corresponding extracted low voltage differential signal whose size comparison result belongs to a statistical analysis value greater than a statistical threshold;
[0025] If there is an extracted low voltage differential signal whose corresponding size comparison result belongs to a statistical analysis value greater than a statistical threshold in the first category of the extracted low voltage differential signal set, the extracted low voltage differential signal is determined as a target extracted low voltage differential signal, and based on the target extracted low voltage differential signal, a target combined low voltage differential signal is determined from the multiple combined low voltage differential signals;
[0026] If there is no corresponding extracted low-voltage differential signal whose size comparison result belongs to a statistical analysis value greater than the statistical threshold in the first category of extracted low-voltage differential signal set, then in the second category of extracted low-voltage differential signal set, determine whether there is a corresponding extracted low-voltage differential signal whose size comparison result belongs to a statistical analysis value greater than the statistical threshold, wherein the second number corresponding to the extracted low-voltage differential signal in the first category of extracted low-voltage differential signal set is greater than the second number corresponding to the extracted low-voltage differential signal in the second category of extracted low-voltage differential signal set, and in the same category of extracted low-voltage differential signal sets, the second number corresponding to each extracted low-voltage differential signal is the same;
[0027] If there is an extracted low-voltage differential signal in the second category of extracted low-voltage differential signal set whose corresponding size comparison result belongs to an extracted low-voltage differential signal whose statistical analysis value is greater than the statistical threshold, then the extracted low-voltage differential signal is determined as the target extracted low-voltage differential signal, and based on the target extracted low-voltage differential signal, the target combined low-voltage differential signal is determined among the multiple combined low-voltage differential signals.
[0028] In a preferred embodiment of the present application, in the above-mentioned method for downsampling the low voltage differential signal, the steps of delaying the original low voltage differential signal to form a delayed low voltage differential signal corresponding to the original low voltage differential signal, and forming a plurality of combined low voltage differential signals based on the original low voltage differential signal and the delayed low voltage differential signal include:
[0029] The original low voltage differential signal is used as a combined low voltage differential signal, and the original low voltage differential signal is delayed to form a delayed low voltage differential signal corresponding to the original low voltage differential signal;
[0030] A signal frame of bits of the first part is extracted from the original low-voltage differential signal, and a signal frame of bits of the second part is extracted from the delayed low-voltage differential signal, and the two are combined to form a corresponding combined low-voltage differential signal, wherein the sum of the number of bits of the signal frame of bits of the first part and the number of bits of the signal frame of bits of the second part is equal to the number of bits of the signal frame in the original low-voltage differential signal, and when the steps of extracting the signal frame of bits of the first part from the original low-voltage differential signal and extracting the signal frame of bits of the second part from the delayed low-voltage differential signal to form a corresponding combined low-voltage differential signal are performed multiple times, the number of bits of the signal frame of bits of the first part corresponding to any two times is different, and the number of bits of the signal frame of bits of the second part corresponding to any two times is different.
[0031] The present application also provides a down-sampling device for a low voltage differential signal, comprising:
[0032] A signal combination module, used for delaying an original low voltage differential signal to form a delayed low voltage differential signal corresponding to the original low voltage differential signal, and forming a plurality of combined low voltage differential signals based on the original low voltage differential signal and the delayed low voltage differential signal;
[0033] A signal determination module, configured to perform a metastable analysis on the plurality of combined low-voltage differential signals, and determine a target combined low-voltage differential signal from the plurality of combined low-voltage differential signals based on the obtained signal metastable analysis results, wherein the target combined low-voltage differential signal is a combined low-voltage differential signal for which the probability of occurrence of a metastable phenomenon is not a maximum value among the plurality of combined low-voltage differential signals;
[0034] The signal downsampling module is used to determine the downsampling processing result corresponding to the target combined low voltage differential signal as the downsampled low voltage differential signal corresponding to the target combined low voltage differential signal.
[0035] Based on the above, the present application also provides an electronic device, including:
[0036] Memory for storing computer programs;
[0037] The processor connected to the memory is used to execute the computer program stored in the memory to implement the above-mentioned low voltage differential signal down-sampling method.
[0038] On the basis of the above, the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is run, each step of the above-mentioned low voltage differential signal downsampling method is executed.
[0039] The present application provides a method and device for downsampling a low-voltage differential signal, an electronic device, and a storage medium. First, an original low-voltage differential signal is delayed to form a delayed low-voltage differential signal corresponding to the original low-voltage differential signal, and a plurality of combined low-voltage differential signals are formed based on the original low-voltage differential signal and the delayed low-voltage differential signal; secondly, a metastable state analysis is performed on the plurality of combined low-voltage differential signals, and a target combined low-voltage differential signal is determined from the plurality of combined low-voltage differential signals based on the obtained signal metastable state analysis results; and then, a downsampling processing result corresponding to the target combined low-voltage differential signal is determined as a downsampled low-voltage differential signal corresponding to the target combined low-voltage differential signal. Based on the above content, since the original low-voltage differential signal will be delayed and combined, multiple combined low-voltage differential signals can be formed, and the multiple combined low-voltage differential signals will also be subjected to metastable analysis, so that the target combined low-voltage differential signal can be determined based on the signal metastable analysis result, and the target combined low-voltage differential signal is a combined low-voltage differential signal in which the probability of occurrence of the metastable phenomenon is not the maximum value among the multiple combined low-voltage differential signals, that is, the probability of occurrence of the metastable phenomenon can be reduced to a certain extent, so that the reliability of the target combined low-voltage differential signal is higher, thereby ensuring the reliability of the downsampled low-voltage differential signal obtained by downsampling based on the target combined low-voltage differential signal, thereby improving the problem of low reliability of downsampling of the low-voltage differential signal existing in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings.
[0041] Figure 1 The schematic diagram is for sampling serial data at a rate of 1.25g based on a 10g clock.
[0042] Figure 2 A schematic diagram of an electronic device provided in an embodiment of the present application.
[0043] Figure 3 A schematic flow chart of a method for downsampling a low voltage differential signal provided in an embodiment of the present application.
[0044] Figure 4 A block diagram of a down-sampling device for a low voltage differential signal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0046] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0047] like Figure 2 As shown, an embodiment of the present application provides an electronic device, wherein the electronic device may include a memory, a processor, and a down-sampling device for a low voltage differential signal.
[0048] In detail, the memory and the processor are electrically connected directly or indirectly to achieve data transmission or interaction. For example, the memory and the processor can be electrically connected through one or more communication buses or signal lines. The low-voltage differential signal downsampling device includes at least one software function module stored in the memory in the form of software or firmware. The processor is used to execute an executable computer program stored in the memory, for example, the software function module and computer program included in the low-voltage differential signal downsampling device, so as to implement the low-voltage differential signal downsampling method provided in the embodiment of the present application.
[0049] Optionally, the memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc.
[0050] Furthermore, the processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), a system on chip (SoC), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0051] Understandably, Figure 2 The structure shown is for illustration only, and the electronic device may also include Figure 2 More or fewer components as shown, or with Figure 2 The different configurations shown, for example, may also include a communication unit for exchanging information with other devices.
[0052] Combination Figure 3 The embodiment of the present application also provides a method for downsampling a low voltage differential signal applicable to the above electronic device. The method steps defined in the process related to the method for downsampling a low voltage differential signal can be implemented by the electronic device.
[0053] The following will Figure 3 The specific process shown is explained in detail.
[0054] Step S110, delaying the original low voltage differential signal to form a delayed low voltage differential signal corresponding to the original low voltage differential signal, and forming a plurality of combined low voltage differential signals based on the original low voltage differential signal and the delayed low voltage differential signal.
[0055] In an embodiment of the present application, the electronic device may delay the original low voltage differential signal to form a delayed low voltage differential signal corresponding to the original low voltage differential signal, and form multiple combined low voltage differential signals based on the original low voltage differential signal and the delayed low voltage differential signal. The multiple combined low voltage differential signals may refer to two or more combined low voltage differential signals.
[0056] Step S120 , performing metastable analysis on the plurality of combined low voltage differential signals, and determining a target combined low voltage differential signal from the plurality of combined low voltage differential signals based on the obtained signal metastable analysis results.
[0057] In an embodiment of the present application, after obtaining the multiple combined low-voltage differential signals, the electronic device can perform metastable analysis on the multiple combined low-voltage differential signals to obtain corresponding signal metastable analysis results, and based on the obtained signal metastable analysis results, determine a target combined low-voltage differential signal from the multiple combined low-voltage differential signals. The target combined low-voltage differential signal is a combined low-voltage differential signal whose probability of occurrence of the metastable phenomenon is not the maximum value among the multiple combined low-voltage differential signals, that is, a combined low-voltage differential signal whose probability of occurrence of the metastable phenomenon is not the highest is selected as the target combined low-voltage differential signal.
[0058] Step S130 , determining the down-sampling processing result corresponding to the target combined low voltage differential signal as the down-sampled low voltage differential signal corresponding to the target combined low voltage differential signal.
[0059] In an embodiment of the present application, after obtaining the target combined low-voltage differential signal, the electronic device can determine the downsampling processing result corresponding to the target combined low-voltage differential signal as the downsampled low-voltage differential signal corresponding to the target combined low-voltage differential signal. Exemplarily, the specific method of downsampling processing can be determined according to the formation method of the original low-voltage differential signal. For example, when the original low-voltage differential signal belongs to a signal formed by 8 times oversampling, the target combined low-voltage differential signal can be downsampled 8 times to output the downsampled low-voltage differential signal corresponding to the target combined low-voltage differential signal. Wherein, the downsampling processing can be performed after determining the target combined low-voltage differential signal, or it can be performed by first downsampling each combined low-voltage differential signal to obtain the corresponding downsampling processing result, and then, after determining the target combined low-voltage differential signal, the downsampling processing result corresponding to the target combined low-voltage differential signal is determined as the downsampled low-voltage differential signal corresponding to the target combined low-voltage differential signal. For example, each of the combined low-voltage differential signals may include a 64-bit signal frame (i.e., the bit width of the combined low-voltage differential signal is 0-63, a total of 64 bits. In this way, a 1-bit signal frame can be extracted from each 8-bit signal frame, such as extracting the 3rd bit, 11th bit, 19th bit, 27th bit, 35th bit, 43rd bit, 51st bit, and 59th bit signal frames respectively. The obtained downsampled low-voltage differential signal can be {datax
[59] , datax
[51] , datax
[43] , datax
[35] , datax
[27] , datax
[19] , datax
[11] , datax[3]}, where x is 1-8, indicating that there are a total of 8 combined low-voltage differential signals).
[0060] Based on the above content, since the original low-voltage differential signal will be delayed and combined, multiple combined low-voltage differential signals can be formed, and the multiple combined low-voltage differential signals will also be subjected to metastable analysis, so that the target combined low-voltage differential signal can be determined based on the signal metastable analysis result, and the target combined low-voltage differential signal is a combined low-voltage differential signal in which the probability of occurrence of the metastable phenomenon is not the maximum value among the multiple combined low-voltage differential signals, that is, the probability of occurrence of the metastable phenomenon can be reduced to a certain extent, so that the reliability of the target combined low-voltage differential signal is higher, thereby ensuring the reliability of the downsampled low-voltage differential signal obtained by downsampling based on the target combined low-voltage differential signal, thereby improving the problem of low reliability of downsampling of the low-voltage differential signal existing in the prior art.
[0061] First, it should be noted that the specific method of delay processing and signal combination is not limited and can be selected according to actual needs.
[0062] For example, in an alternative implementation, in order to ensure that the formed multiple combined low voltage differential signals can fully reflect the actual signal situation, such as metastable data just appearing at the edge of the bit data, so as to facilitate subsequent screening to determine whether the metastable state can be avoided, the above step S110 may further include the following specific implementation content:
[0063] First, the original low voltage differential signal can be used as a combined low voltage differential signal, and the original low voltage differential signal can be delayed to form a delayed low voltage differential signal corresponding to the original low voltage differential signal; illustratively, the original low voltage differential signal can be 1.25g LVDS data output from a 10g LVDS channel 8 times oversampled data, such as 64-bit datai[63:0], and then, the original low voltage differential signal can be delayed by one beat through RXCLK (Receive Clock) to form a corresponding delayed low voltage differential signal, such as datai1[63:0];
[0064] Secondly, a signal frame of the bits of the first part can be extracted from the original low-voltage differential signal, and a signal frame of the bits of the second part can be extracted from the delayed low-voltage differential signal, and the signal frames can be combined to form a corresponding combined low-voltage differential signal, wherein the sum of the number of bits of the signal frame of the bits of the first part and the number of bits of the signal frame of the bits of the second part is equal to the number of bits of the signal frame in the original low-voltage differential signal (such as 64 bits), and when the steps of extracting the signal frame of the bits of the first part from the original low-voltage differential signal and extracting the signal frame of the bits of the second part from the delayed low-voltage differential signal to form a corresponding combined low-voltage differential signal are performed multiple times, the number of bits of the signal frame of the bits of the first part corresponding to any two times is different, and the number of bits of the signal frame of the bits of the second part corresponding to any two times is different; illustratively, 8 combined low-voltage differential signals can be obtained, which can be:
[0065] data1 = datai; that is, the original low voltage differential signal is taken as a combined low voltage differential signal;
[0066] data2 = {datai1[62:0], datai
[63] }; that is, combining the signal frame of the 0th to 62th bits in the delayed low voltage differential signal with the signal frame of the 63rd bit of the original low voltage differential signal;
[0067] data3= {datai1[61:0], datai[63:62]}; that is, combining the signal frame of the 0th to 61th bits in the delayed low voltage differential signal with the signal frame of the 62nd to 63rd bits in the original low voltage differential signal;
[0068] data4= {datai1[60:0], datai[63:61]}; that is, the signal frame of the 0th to 60th bits in the delayed low voltage differential signal is combined with the signal frame of the 61st to 63rd bits of the original low voltage differential signal;
[0069] data5= {datai1[59:0], datai[63:60]}; that is, the signal frame of the 0th to 59th bits in the delayed low voltage differential signal is combined with the signal frame of the 60th to 63rd bits of the original low voltage differential signal;
[0070] data6= {datai1[58:0], datai[63:59]}; that is, combining the signal frame of the 0th to 58th bits in the delayed low voltage differential signal with the signal frame of the 59th to 63rd bits in the original low voltage differential signal;
[0071] data7= {datai1[57:0], datai[63:58]}; that is, combining the signal frame of the 0th to 57th bits in the delayed low voltage differential signal with the signal frame of the 58th to 63rd bits in the original low voltage differential signal;
[0072] data8= {datai1[56:0], datai[63:57]}; that is, the signal frame of the 0th to 56th bits in the delayed low voltage differential signal is combined with the signal frame of the 57th to 63rd bits of the original low voltage differential signal.
[0073] First, it should be noted that the specific method of delay processing and signal combination is not limited and can be selected according to actual needs.
[0074] For example, in an alternative implementation, the specific method of determining the target combined low voltage differential signal is not limited and can be selected according to actual needs.
[0075] For example, in an alternative implementation, in order to ensure that the reliability of the determined target combined low voltage differential signal is higher, the above-mentioned step S120 may further include step S121 and step S122, and the specific content of each step is described as follows.
[0076] Step S121, for each of the multiple combined low voltage differential signals, perform at least one data extraction operation on a signal frame of multiple bits included in the combined low voltage differential signal to form at least one extracted low voltage differential signal corresponding to the combined low voltage differential signal.
[0077] In an embodiment of the present application, for each of the multiple combined low-voltage differential signals, at least one data extraction operation can be performed on the signal frames of multiple bits included in the combined low-voltage differential signal to form at least one extracted low-voltage differential signal corresponding to the combined low-voltage differential signal. As mentioned above, for 8 combined low-voltage differential signals, each combined low-voltage differential signal corresponds to at least one extracted low-voltage differential signal. The data extraction operation refers to extracting a second number of bit signal frames from the combined low-voltage differential signal according to each first number of bit signal frames, the first number is greater than the second number, and each of the extracted low-voltage differential signals includes multiple segment low-voltage differential signals, each of the segment low-voltage differential signals includes a second number of bit signal frames, that is, the second number of bit signal frames obtained by one extraction can be used as a segment low-voltage differential signal.
[0078] Step S122, performing metastable analysis on at least one extracted low-voltage differential signal corresponding to each of the multiple combined low-voltage differential signals, and determining a target combined low-voltage differential signal from the multiple combined low-voltage differential signals based on the obtained signal metastable analysis result.
[0079] In an embodiment of the present application, after obtaining the extracted low-voltage differential signal, a metastable analysis can be performed based on at least one extracted low-voltage differential signal corresponding to each of the multiple combined low-voltage differential signals, and based on the obtained signal metastable analysis result, a target combined low-voltage differential signal can be determined from the multiple combined low-voltage differential signals. For example, a combined low-voltage differential signal with a minimum probability of occurrence of a metastable phenomenon can be screened out, that is, the metastable data happens to appear at the edge of the bit data to avoid the metastable state.
[0080] It can be understood that, in the above step S121, the specific manner of performing at least one data extraction operation is not limited and can be selected according to actual needs. For example, in an alternative implementation, in order to improve the reliability of the metastable state analysis based on the extracted low voltage differential signal, the above step S121 can further include the following specific implementation contents:
[0081] First, for each of the multiple combined low-voltage differential signals, a first data extraction operation may be performed on a signal frame of multiple bits included in the combined low-voltage differential signal to form a first extracted low-voltage differential signal corresponding to the combined low-voltage differential signal. Thus, for the above-mentioned 8 combined low-voltage differential signals, 8 extracted low-voltage differential signals may be obtained.
[0082] Secondly, for each of the multiple combined low-voltage differential signals, a second data extraction operation can be performed on a signal frame of multiple bits included in the combined low-voltage differential signal to form a second extracted low-voltage differential signal corresponding to the combined low-voltage differential signal, wherein a first quantity corresponding to the first data extraction operation is equal to a first quantity corresponding to the second data extraction operation, and a second quantity corresponding to the first data extraction operation is greater than a second quantity corresponding to the second data extraction operation; illustratively, in the first data extraction operation, it can be that in the combined low-voltage In the differential signal (0~63 bits), 7 bits are extracted from every 8 bits (which can be the first 7 bits or the last 7 bits) to obtain an extracted low-voltage differential signal, that is, the first number is equal to 8, and the second number is equal to 7. In this way, each of the fragmented low-voltage differential signals is 7 bits; in the second data extraction operation, 6 bits (which can be the middle 6 bits) are extracted from every 8 bits in the combined low-voltage differential signal (0~63 bits) to obtain an extracted low-voltage differential signal, that is, the first number is equal to 8, and the second number is equal to 6. In this way, each of the fragmented low-voltage differential signals is 6 bits.
[0083] It is understandable that, in other implementations, the above step S121 may further include the following specific implementation contents:
[0084] For each of the multiple combined low-voltage differential signals, a third data extraction operation can be performed on a signal frame of multiple bits included in the combined low-voltage differential signal to form a third extracted low-voltage differential signal corresponding to the combined low-voltage differential signal, wherein a first quantity corresponding to the third data extraction operation is equal to a first quantity corresponding to the second data extraction operation, and a second quantity corresponding to the third data extraction operation is less than a second quantity corresponding to the second data extraction operation; exemplarily, in the third data extraction operation, 4 bits (which can be the middle 4 bits) are extracted for every 8 bits in the combined low-voltage differential signal (0~63 bits) to obtain an extracted low-voltage differential signal, that is, the first quantity is equal to 8, and the second quantity is equal to 4, so that each of the segmented low-voltage differential signals is 4 bits.
[0085] It should be noted that the above three data extraction operations can be performed in parallel or in sequence to reduce the consumption of computing resources. For example, the first data extraction operation can be performed first, and then, based on the corresponding extracted low-voltage differential signal, analysis is performed. If the target combined low-voltage differential signal can be determined, the other two data extraction operations will not be performed. If the target combined low-voltage differential signal cannot be determined, the second data extraction operation will be performed, and then, based on the corresponding extracted low-voltage differential signal, analysis is performed. If the target combined low-voltage differential signal can be determined, the third data extraction operation will not be performed. If the target combined low-voltage differential signal cannot be determined, the third data extraction operation will be performed, and then, analysis is performed based on the corresponding extracted low-voltage differential signal.
[0086] It can be understood that, in the above-mentioned step S122, the specific method of determining the target combined low-voltage differential signal is not limited and can be selected according to actual needs. For example, in an alternative embodiment, in order to ensure that the metastable data appears exactly at the edge of the bit data to avoid the metastable state, the above-mentioned step S122 can further include step S122a, step S122b and step S122c, and the specific content of each step is described as follows.
[0087] Step S122a, for each segment low-voltage differential signal in the extracted low-voltage differential signal, a comparative analysis is performed on the signal frames of a second number of bits included in the segment low-voltage differential signal to determine whether the signal frame of each bit in the second number of bits belongs to alternating high-low conversion and the same timing between every two bits of the signal frames is high or low, and if it belongs to alternating high-low conversion and the same timing is high or low, the selection mark corresponding to the segment low-voltage differential signal is configured as the first parameter, otherwise, the selection mark corresponding to the segment low-voltage differential signal is configured as the second parameter.
[0088] In an embodiment of the present application, for each segment low-voltage differential signal in the extracted low-voltage differential signal, a signal frame of a second number of bits included in the segment low-voltage differential signal can be compared and analyzed to determine whether each bit of the signal frame of the second number of bits belongs to high-low alternation and the same timing between every two bits of the signal frame is high or low, and when it belongs to high-low alternation and the same timing is high or low, the selection mark corresponding to the segment low-voltage differential signal is configured as a first parameter, otherwise, the selection mark corresponding to the segment low-voltage differential signal is configured as a second parameter. The first parameter is different from the second parameter. For example, in bits 0 to 63, 7 bits are extracted for every 8 bits to see whether they are high or low at the same time and change alternately, that is, whether these 7 bits are all 01010101 or 10101010. If they are all, the corresponding selection mark sel7x (x is 1 to 8, indicating a segment low-voltage differential signal) is set to 1 (i.e., the first parameter), otherwise, the corresponding selection mark sel7x is set to 0 (i.e., the second parameter). For another example, among bits 0 to 63, 6 bits are extracted for every 8 bits to see whether they are high or low at the same time and change alternately, that is, whether these 6 bits all belong to 01010101 or 10101010. If they all belong to, the corresponding selection mark sel6x (x is 1 to 8, indicating a segmented low-voltage differential signal) is set to 1 (i.e., the first parameter), otherwise, the corresponding selection mark sel76x is set to 0 (i.e., the second parameter). For another example, among bits 0 to 63, 4 bits are extracted for every 8 bits to see whether they are high or low at the same time and change alternately, that is, whether these 4 bits all belong to 01010101 or 10101010. If they all belong to, the corresponding selection mark sel4x (x is 1 to 8, indicating a segmented low-voltage differential signal) is set to 1 (i.e., the first parameter), otherwise, the corresponding selection mark sel4x is set to 0 (i.e., the second parameter).
[0089] Step S122b, for each of the extracted low-voltage differential signals, sort the multiple selection marks corresponding to the multiple segment low-voltage differential signals of the extracted low-voltage differential signal to form a selection mark sequence corresponding to the extracted low-voltage differential signal, and perform statistical analysis on the selection mark sequence to obtain a statistical analysis value corresponding to the extracted low-voltage differential signal.
[0090] In an embodiment of the present application, after the corresponding selection mark is determined, for each of the extracted low-voltage differential signals, the extracted low-voltage differential signal includes multiple selection marks corresponding to multiple fragment low-voltage differential signals, and the selection mark sequence corresponding to the extracted low-voltage differential signal (such as sel71-sel718, or, sel61-sel768, or sel41-sel748) is sorted, and the selection mark sequence is statistically analyzed to obtain the statistical analysis value corresponding to the extracted low-voltage differential signal. The rule of statistical analysis is that in the selection mark sequence, after each occurrence of the first parameter, the statistical analysis value is increased (such as adding 1), and after each occurrence of the second parameter, the statistical analysis value is cleared.
[0091] Step S122c, performing metastable analysis based on the statistical analysis value corresponding to each extracted low-voltage differential signal corresponding to each combined low-voltage differential signal in the multiple combined low-voltage differential signals, and based on the obtained signal metastable analysis result, determining the target combined low-voltage differential signal in the multiple combined low-voltage differential signals.
[0092] In the embodiment of the present application, after obtaining the corresponding statistical analysis value, a metastable analysis can be performed based on the statistical analysis value corresponding to each extracted low-voltage differential signal corresponding to each combined low-voltage differential signal in the multiple combined low-voltage differential signals to obtain the corresponding signal metastable analysis result, and based on the obtained signal metastable analysis result, a target combined low-voltage differential signal is determined in the multiple combined low-voltage differential signals. The higher the statistical analysis value, the higher the probability that the metastable data appears exactly at the edge of the bit data.
[0093] It can be understood that, in the above-mentioned step S122c, the specific method of performing metastable analysis and determining the target combined low-voltage differential signal is not limited and can be selected according to actual needs. For example, in an alternative embodiment, in order to reliably perform metastable analysis and determine the target combined low-voltage differential signal, the above-mentioned step S122c can further include step c1 and step c2, and the specific content of each step is described as follows.
[0094] Step c1, respectively comparing the statistical analysis value corresponding to each extracted low voltage differential signal corresponding to each combined low voltage differential signal in the plurality of combined low voltage differential signals with a predetermined statistical threshold to obtain a comparison result corresponding to each extracted low voltage differential signal.
[0095] In the embodiment of the present application, the statistical analysis value corresponding to each extracted low-voltage differential signal corresponding to each combined low-voltage differential signal in the multiple combined low-voltage differential signals can be compared with a predetermined statistical threshold to obtain a size comparison result corresponding to each extracted low-voltage differential signal, such as determining whether the statistical analysis value is greater than the statistical threshold (such as 5, 6, 7, 8, etc.). The size comparison result is used as the signal metastable analysis result.
[0096] Step c2, determining the extracted low-voltage differential signal whose corresponding size comparison result belongs to a statistical analysis value greater than a statistical threshold as a target extracted low-voltage differential signal, and based on the target extracted low-voltage differential signal, determining the target combined low-voltage differential signal among the multiple combined low-voltage differential signals.
[0097] In an embodiment of the present application, after obtaining the corresponding size comparison result, the corresponding size comparison result can be determined as an extracted low-voltage differential signal whose statistical analysis value is greater than a statistical threshold, and based on the target extracted low-voltage differential signal, a target combined low-voltage differential signal can be determined among the multiple combined low-voltage differential signals. For example, the combined low-voltage differential signal corresponding to the target extracted low-voltage differential signal can be used as the target combined low-voltage differential signal.
[0098] It can be understood that, in the above step c2, the specific method of determining the target combined low voltage differential signal is not limited and can be selected according to actual needs. For example, in an alternative implementation, in order to efficiently determine the target combined low voltage differential signal, the above step c2 can further include the following specific implementation contents:
[0099] First, it can be determined whether there is a corresponding extracted low voltage differential signal whose size comparison result belongs to a statistical analysis value greater than a statistical threshold in a first type of extracted low voltage differential signal set (a set of extracted low voltage differential signals formed by the plurality of combined low voltage differential signals respectively through the first data extraction operation);
[0100] Secondly, if there is an extracted low-voltage differential signal whose corresponding size comparison result belongs to a statistical analysis value greater than a statistical threshold in the first category of the extracted low-voltage differential signal set, the extracted low-voltage differential signal is determined as a target extracted low-voltage differential signal, and based on the target extracted low-voltage differential signal, a target combined low-voltage differential signal is determined from the multiple combined low-voltage differential signals;
[0101] Then, if there is no corresponding extracted low-voltage differential signal whose size comparison result belongs to a statistical analysis value greater than the statistical threshold in the first category of extracted low-voltage differential signal set, then in the second category of extracted low-voltage differential signal set (a set of extracted low-voltage differential signals formed by the multiple combined low-voltage differential signals respectively through the second data extraction operation), determine whether there is a corresponding extracted low-voltage differential signal whose size comparison result belongs to a statistical analysis value greater than the statistical threshold, wherein the second number corresponding to the extracted low-voltage differential signals in the first category of extracted low-voltage differential signal set is greater than the second number corresponding to the extracted low-voltage differential signals in the second category of extracted low-voltage differential signal set, and in the same category of extracted low-voltage differential signal sets, the second numbers corresponding to each extracted low-voltage differential signal are the same;
[0102] Further, if there is an extracted low-voltage differential signal whose corresponding size comparison result belongs to a statistical analysis value greater than a statistical threshold in the second category of extracted low-voltage differential signal set, the extracted low-voltage differential signal is determined as a target extracted low-voltage differential signal, and based on the target extracted low-voltage differential signal, a target combined low-voltage differential signal is determined in the multiple combined low-voltage differential signals; in addition, in other embodiments, if there is no corresponding size comparison result in the second category of extracted low-voltage differential signal set that belongs to an extracted low-voltage differential signal whose statistical analysis value is greater than the statistical threshold, then in the third category of extracted low-voltage differential signal set (the multiple combined low-voltage differential signals are respectively formed by the third data extraction operation to extract low-voltage differential signals) A method for extracting low-voltage differential signals of the first type and the second type, comprising: determining whether there is an extracted low-voltage differential signal whose corresponding size comparison result belongs to a statistical analysis value greater than a statistical threshold in a set of extracted low-voltage differential signals of the second type, wherein the second number corresponding to the extracted low-voltage differential signals in the second type of extracted low-voltage differential signal set is greater than the second number corresponding to the extracted low-voltage differential signals in the third type of extracted low-voltage differential signal set; finally, if there is an extracted low-voltage differential signal whose corresponding size comparison result belongs to a statistical analysis value greater than a statistical threshold in the third type of extracted low-voltage differential signal set, the extracted low-voltage differential signal is determined as a target extracted low-voltage differential signal, and based on the target extracted low-voltage differential signal, a target combined low-voltage differential signal is determined among the multiple combined low-voltage differential signals.
[0103] It should be noted that for a combined low-voltage differential signal, if the extracted low-voltage differential signal with a large number of bits satisfies the above corresponding conditions (such as the statistical analysis value is greater than the statistical threshold), the extracted low-voltage differential signal with a small number of bits also satisfies the above corresponding conditions. For example, the extracted low-voltage differential signal corresponding to the first data extraction operation (extracting 7 bits for every 8 bits) satisfies the above corresponding conditions, and the extracted low-voltage differential signal corresponding to the second data extraction operation (extracting 6 bits for every 8 bits) satisfies the above corresponding conditions. Similarly, the extracted low-voltage differential signal corresponding to the third data extraction operation (extracting 4 bits for every 8 bits) satisfies the above corresponding conditions. Based on this, only when the target extracted low-voltage differential signal cannot be determined based on the extracted low-voltage differential signal corresponding to the first data extraction operation, the target extracted low-voltage differential signal is determined based on the extracted low-voltage differential signal corresponding to the second data extraction operation. Only when the target extracted low voltage differential signal cannot be determined based on the extracted low voltage differential signal corresponding to the second data extraction operation, the target extracted low voltage differential signal is determined based on the extracted low voltage differential signal corresponding to the third data extraction operation.
[0104] For example, three groups of selection mark signals (corresponding to three data extraction operations) can be configured, each group of 8 bits (corresponding to 8 combined low-voltage differential signals), namely sel_bit7[7:0], sel_bit6[7:0], and sel_bit4[7:0]. In this way, if the size comparison result corresponding to a certain extracted low-voltage differential signal belongs to a statistical analysis value greater than the statistical threshold, the corresponding mark signal can be configured to 1, otherwise, it can be configured to 0. Based on this, we can first determine whether a certain bit in sel_bit7[7:0] is high (1). If a certain bit is high, the corresponding extracted low-voltage differential signal is determined as the target extracted low-voltage differential signal. If all bits of sel_bit7[7:0] are low (0), then determine whether a certain bit in sel_bit6[7:0] is high (1). If a certain bit is high, the corresponding extracted low-voltage differential signal is determined as the target extracted low-voltage differential signal. If all bits of sel_bit6[7:0] are low (0), then determine whether a certain bit in sel_bit4[7:0] is high (1). If a certain bit is high, the corresponding extracted low-voltage differential signal is determined as the target extracted low-voltage differential signal.
[0105] It should be noted that the above processing is for a signal frame. After completing the above processing in a signal frame to obtain the target extracted low-voltage differential signal, the next signal frame can be processed accordingly in the same way to obtain the corresponding target extracted low-voltage differential signal.
[0106] Combination Figure 4The embodiment of the present application also provides a down-sampling device for low voltage differential signals applicable to the above electronic device. The down-sampling device for low voltage differential signals may include a signal combination module, a signal determination module and a signal down-sampling module.
[0107] In detail, the signal combination module can be used to delay the original low-voltage differential signal to form a delayed low-voltage differential signal corresponding to the original low-voltage differential signal, and form a plurality of combined low-voltage differential signals based on the original low-voltage differential signal and the delayed low-voltage differential signal. Figure 3 As shown in step S110, the relevant contents of the signal combination module can refer to the above description of step S110.
[0108] In detail, the signal determination module can be used to perform metastable analysis on the multiple combined low-voltage differential signals, and based on the obtained signal metastable analysis results, determine a target combined low-voltage differential signal from the multiple combined low-voltage differential signals, wherein the target combined low-voltage differential signal is a combined low-voltage differential signal whose probability of occurrence of metastable phenomena is not the maximum value among the multiple combined low-voltage differential signals. In an embodiment of the present application, the signal determination module can be used to perform Figure 3 As shown in step S120, the relevant contents of the signal determination module can refer to the above description of step S120.
[0109] In detail, the signal downsampling module can be used to determine the downsampling processing result corresponding to the target combined low voltage differential signal as the downsampled low voltage differential signal corresponding to the target combined low voltage differential signal. Figure 3 As shown in step S130, the relevant contents of the signal downsampling module can refer to the above description of step S130.
[0110] In an embodiment of the present application, corresponding to the above-mentioned method for downsampling a low-voltage differential signal applied to the electronic device, a computer-readable storage medium is also provided, in which a computer program is stored, and when the computer program is run, each step of the method for downsampling a low-voltage differential signal is executed. Among them, each step executed when the aforementioned computer program is run will not be described one by one here, and reference can be made to the above explanation of the method for downsampling a low-voltage differential signal.
[0111] In summary, the low-voltage differential signal downsampling method and device, electronic device and storage medium provided by the present application firstly delay the original low-voltage differential signal to form a delayed low-voltage differential signal corresponding to the original low-voltage differential signal, and form multiple combined low-voltage differential signals based on the original low-voltage differential signal and the delayed low-voltage differential signal; secondly, metastable analysis is performed on the multiple combined low-voltage differential signals, and based on the obtained signal metastable analysis results, a target combined low-voltage differential signal is determined from the multiple combined low-voltage differential signals; then, the downsampling processing result corresponding to the target combined low-voltage differential signal is determined as the corresponding downsampled low-voltage differential signal. Based on the above content, since the original low-voltage differential signal will be delayed and combined, multiple combined low-voltage differential signals can be formed, and the multiple combined low-voltage differential signals will also be subjected to metastable analysis, so that the target combined low-voltage differential signal can be determined based on the signal metastable analysis result, and the target combined low-voltage differential signal is a combined low-voltage differential signal in which the probability of occurrence of the metastable phenomenon is not the maximum value among the multiple combined low-voltage differential signals, that is, the probability of occurrence of the metastable phenomenon can be reduced to a certain extent, so that the reliability of the target combined low-voltage differential signal is higher, thereby ensuring the reliability of the downsampled low-voltage differential signal obtained by downsampling based on the target combined low-voltage differential signal, thereby improving the problem of low reliability of downsampling of the low-voltage differential signal existing in the prior art.
[0112] In several embodiments provided in the embodiments of the present application, it should be understood that the disclosed device and method can also be implemented in other ways. The device and method embodiments described above are merely schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the device, method and computer program product according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0113] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0114] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, electronic device, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code. It should be noted that in this article, the term "include", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, article or device. Without more constraints, an element defined by the phrase "comprising a..." does not exclude the existence of other identical elements in the process, method, article or apparatus comprising the element.
[0115] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for downsampling a low voltage differential signal, characterized in that: include: Delaying the original low voltage differential signal to form a delayed low voltage differential signal corresponding to the original low voltage differential signal, and forming a plurality of combined low voltage differential signals based on the original low voltage differential signal and the delayed low voltage differential signal; Performing metastable analysis on the multiple combined low-voltage differential signals, and determining a target combined low-voltage differential signal from the multiple combined low-voltage differential signals based on the obtained signal metastable analysis results, wherein the target combined low-voltage differential signal is a combined low-voltage differential signal whose probability of occurrence of a metastable phenomenon is not a maximum value among the multiple combined low-voltage differential signals; The down-sampling processing result corresponding to the target combined low-voltage differential signal is determined as the down-sampled low-voltage differential signal corresponding to the target combined low-voltage differential signal.
2. The downsampling method of low voltage differential signal according to claim 1, characterized in that: The step of performing metastable analysis on the multiple combined low voltage differential signals and determining a target combined low voltage differential signal from the multiple combined low voltage differential signals based on the obtained signal metastable analysis results includes: For each of the multiple combined low-voltage differential signals, at least one data extraction operation is performed on a signal frame of multiple bits included in the combined low-voltage differential signal to form at least one extracted low-voltage differential signal corresponding to the combined low-voltage differential signal, wherein the data extraction operation refers to extracting a signal frame of a second number of bits in the combined low-voltage differential signal according to a signal frame of a first number of bits, the first number is greater than the second number, and each of the extracted low-voltage differential signals includes a plurality of segment low-voltage differential signals, and each of the segment low-voltage differential signals includes a signal frame of the second number of bits; A metastable analysis is performed on at least one extracted low-voltage differential signal corresponding to each of the multiple combined low-voltage differential signals, and a target combined low-voltage differential signal is determined from the multiple combined low-voltage differential signals based on the obtained signal metastable analysis result.
3. The down-sampling method of low voltage differential signal according to claim 2, characterized in that: The step of performing at least one data extraction operation on a signal frame of multiple bits included in the combined low voltage differential signal for each of the multiple combined low voltage differential signals to form at least one extracted low voltage differential signal corresponding to the combined low voltage differential signal comprises: For each of the multiple combined low voltage differential signals, perform a first data extraction operation on a signal frame of multiple bits included in the combined low voltage differential signal to form a first extracted low voltage differential signal corresponding to the combined low voltage differential signal; For each of the multiple combined low-voltage differential signals, a second data extraction operation is performed on a signal frame of multiple bits included in the combined low-voltage differential signal to form a second extracted low-voltage differential signal corresponding to the combined low-voltage differential signal, wherein a first quantity corresponding to the first data extraction operation is equal to a first quantity corresponding to the second data extraction operation, and a second quantity corresponding to the first data extraction operation is greater than a second quantity corresponding to the second data extraction operation.
4. The down-sampling method of low voltage differential signal according to claim 2, characterized in that: The step of performing metastable analysis on at least one extracted low voltage differential signal corresponding to each of the multiple combined low voltage differential signals, and determining a target combined low voltage differential signal from the multiple combined low voltage differential signals based on the obtained signal metastable analysis result, comprises: For each segment low-voltage differential signal in the extracted low-voltage differential signal, a comparison analysis is performed on a second number of signal frames of bits included in the segment low-voltage differential signal to determine whether each signal frame of the second number of signal frames belongs to high-low alternating conversion and the same timing sequence between every two bits of the signal frames is high or low, and when it belongs to high-low alternating conversion and the same timing sequence is high or low, the selection mark corresponding to the segment low-voltage differential signal is configured as a first parameter, otherwise, the selection mark corresponding to the segment low-voltage differential signal is configured as a second parameter, wherein the first parameter is different from the second parameter; For each of the extracted low-voltage differential signals, the extracted low-voltage differential signal includes a plurality of selection marks corresponding to the plurality of segment low-voltage differential signals, and the plurality of selection marks corresponding to the extracted low-voltage differential signal are sorted to form a selection mark sequence corresponding to the extracted low-voltage differential signal, and the selection mark sequence is statistically analyzed to obtain a statistical analysis value corresponding to the extracted low-voltage differential signal, wherein the rule of the statistical analysis is that in the selection mark sequence, after each occurrence of a first parameter, the statistical analysis value is increased once, and after each occurrence of a second parameter, the statistical analysis value is cleared once; A metastable analysis is performed based on a statistical analysis value corresponding to each extracted low-voltage differential signal corresponding to each combined low-voltage differential signal in the multiple combined low-voltage differential signals, and based on the obtained signal metastable analysis result, a target combined low-voltage differential signal is determined from the multiple combined low-voltage differential signals.
5. The down-sampling method of low voltage differential signal according to claim 4, characterized in that: The step of performing metastable analysis based on the statistical analysis value corresponding to each extracted low voltage differential signal corresponding to each combined low voltage differential signal in the multiple combined low voltage differential signals, and determining a target combined low voltage differential signal from the multiple combined low voltage differential signals based on the obtained signal metastable analysis result, comprises: Respectively compare the statistical analysis value corresponding to each extracted low-voltage differential signal corresponding to each combined low-voltage differential signal in the multiple combined low-voltage differential signals with a predetermined statistical threshold to obtain a size comparison result corresponding to each extracted low-voltage differential signal, wherein the size comparison result is used as the signal metastable analysis result; The corresponding size comparison result belongs to the extracted low-voltage differential signal whose statistical analysis value is greater than the statistical threshold, and is determined to be the target extracted low-voltage differential signal. Based on the target extracted low-voltage differential signal, a target combined low-voltage differential signal is determined among the multiple combined low-voltage differential signals.
6. The down-sampling method of low voltage differential signal according to claim 5, characterized in that: The step of determining the extracted low voltage differential signal whose corresponding size comparison result belongs to a statistical analysis value greater than a statistical threshold as a target extracted low voltage differential signal, and determining the target combined low voltage differential signal from the multiple combined low voltage differential signals based on the target extracted low voltage differential signal, comprises: In the first type of extracted low voltage differential signal set, determining whether there is a corresponding extracted low voltage differential signal whose size comparison result belongs to a statistical analysis value greater than a statistical threshold; If there is an extracted low voltage differential signal whose corresponding size comparison result belongs to a statistical analysis value greater than a statistical threshold in the first category of the extracted low voltage differential signal set, the extracted low voltage differential signal is determined as a target extracted low voltage differential signal, and based on the target extracted low voltage differential signal, a target combined low voltage differential signal is determined from the multiple combined low voltage differential signals; If there is no corresponding extracted low-voltage differential signal whose size comparison result belongs to a statistical analysis value greater than the statistical threshold in the first category of extracted low-voltage differential signal set, then in the second category of extracted low-voltage differential signal set, determine whether there is a corresponding extracted low-voltage differential signal whose size comparison result belongs to a statistical analysis value greater than the statistical threshold, wherein the second number corresponding to the extracted low-voltage differential signal in the first category of extracted low-voltage differential signal set is greater than the second number corresponding to the extracted low-voltage differential signal in the second category of extracted low-voltage differential signal set, and in the same category of extracted low-voltage differential signal sets, the second number corresponding to each extracted low-voltage differential signal is the same; If there is an extracted low-voltage differential signal in the second category of extracted low-voltage differential signal set whose corresponding size comparison result belongs to an extracted low-voltage differential signal whose statistical analysis value is greater than the statistical threshold, then the extracted low-voltage differential signal is determined as the target extracted low-voltage differential signal, and based on the target extracted low-voltage differential signal, the target combined low-voltage differential signal is determined among the multiple combined low-voltage differential signals.
7. The method for downsampling a low voltage differential signal according to any one of claims 1 to 6, characterized in that: The step of delaying the original low voltage differential signal to form a delayed low voltage differential signal corresponding to the original low voltage differential signal, and forming a plurality of combined low voltage differential signals based on the original low voltage differential signal and the delayed low voltage differential signal comprises: The original low voltage differential signal is used as a combined low voltage differential signal, and the original low voltage differential signal is delayed to form a delayed low voltage differential signal corresponding to the original low voltage differential signal; A signal frame of bits of the first part is extracted from the original low-voltage differential signal, and a signal frame of bits of the second part is extracted from the delayed low-voltage differential signal, and the two are combined to form a corresponding combined low-voltage differential signal, wherein the sum of the number of bits of the signal frame of bits of the first part and the number of bits of the signal frame of bits of the second part is equal to the number of bits of the signal frame in the original low-voltage differential signal, and when the steps of extracting the signal frame of bits of the first part from the original low-voltage differential signal and extracting the signal frame of bits of the second part from the delayed low-voltage differential signal to form a corresponding combined low-voltage differential signal are performed multiple times, the number of bits of the signal frame of bits of the first part corresponding to any two times is different, and the number of bits of the signal frame of bits of the second part corresponding to any two times is different.
8. A down-sampling device for a low voltage differential signal, characterized in that: include: A signal combination module, used for delaying an original low voltage differential signal to form a delayed low voltage differential signal corresponding to the original low voltage differential signal, and forming a plurality of combined low voltage differential signals based on the original low voltage differential signal and the delayed low voltage differential signal; A signal determination module, configured to perform a metastable analysis on the plurality of combined low-voltage differential signals, and determine a target combined low-voltage differential signal from the plurality of combined low-voltage differential signals based on the obtained signal metastable analysis results, wherein the target combined low-voltage differential signal is a combined low-voltage differential signal for which the probability of occurrence of a metastable phenomenon is not a maximum value among the plurality of combined low-voltage differential signals; The signal downsampling module is used to determine the downsampling processing result corresponding to the target combined low voltage differential signal as the downsampled low voltage differential signal corresponding to the target combined low voltage differential signal.
9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor connected to the memory is used to execute a computer program stored in the memory to implement the low voltage differential signal downsampling method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is run, the method for downsampling a low voltage differential signal according to any one of claims 1 to 7 is executed.
Citation Information
Patent Citations
Data window search method and circuit
CN106850179A
Low-voltage differential signaling receiving interface and low-voltage differential signaling receiving method
CN106959934A