Compensation method and device for signals
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INSPUR SUZHOU INTELLIGENT TECH CO LTD
- Filing Date
- 2023-09-27
- Publication Date
- 2026-08-07
AI Technical Summary
[0003]本申请实施例提供了一种信号的补偿方法及装置,以至少解决相关技术中对接收到的信号流的优化效率较低的问题
[0031]通过本申请,在接收到多路PCIE信号流后,通过对多路PCIE信号所具有的目标信号属性的目标属性值进行调节,从而使得得到的多路参考信号流所具有的目标信号属性的参考属性值之间的差值小于目标值,进而保证了多路参考信号流的目标信号属性的一致性,降低了使用信号补偿器对隔离参考信号流进行补偿的补偿压力,进而在使用信号补偿器对没路参考信号流进行补偿时,根据每路参考信号流中当前时刻之前的N个参考信号对每路所述参考信号流中当前时刻的目标信号进行补偿,实现根据当前时刻之前的参考信号对当前时刻的目标信号进行补偿,进一步的避免了信号流中的码间干扰问题,因此,可以解决相关技术中对接收到的信号流的优化效率较低问题,达到提高对接收到的信号流的优化效率的技术效果。
Smart Images

Figure CN117319148B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computers, and more specifically, to a signal compensation method and apparatus. Background Technology
[0002] In current PCIe links, whether it's a direct CPU-to-PCIe device connection, a CPU-RETIMER-PCIe DEIVCE method, or a PCIe connection via SWITCH, a common problem is CE (Confirmation Error) reporting. Currently, to address this CE error issue, the common PCIe SERDES method is employed. Internally at the PCIe link receiver, the received PCIe signal is processed by a unified hardware ATT, VGA, and CTLE (Continuous Time Linear Equalizer). After further processing by a full-speed DFE (Data Deser + CDR), it is sent to the data link layer for data processing. In this method, CTLE, VGA, and ATT are all purely hardware-based, and the DFE uses a full-speed DFE (Full-rate “direct” decision feedback equalizer). After PCIe signals are processed by ATT and VGA, their amplitude and DC bias voltage are stabilized within a PCIe specification acceptable range. Then, each PCIe signal is processed using pure hardware CTLE, reducing low-frequency signals in that signal to compensate for the attenuation difference between high and low frequencies, thus achieving channel compensation. However, due to inconsistencies in the PCIe link and between the transmitter and receiver of each PCIe device, signal consistency between channels cannot be guaranteed. This forces the received PCIe signals to undergo uniform hardware processing, placing the entire burden on the DFE. Consequently, under this processing pressure, the DFE's optimization performance for ISI (Inter-Symbol Interference) is extremely poor. Summary of the Invention
[0003] This application provides a signal compensation method and apparatus to at least solve the problem of low optimization efficiency of received signal streams in related technologies.
[0004] According to one embodiment of this application, a signal compensation method is provided, comprising: receiving multiple PCIe signal streams;
[0005] The target attribute values of the target signal attributes of the multiple PCIE signal streams are adjusted to obtain multiple reference signal streams. The target signal attribute is the signal attribute used to determine the compensation parameters used in the signal compensation stage among the signal attributes of the PCIE signal streams. The difference between the reference attribute values of the target signal attributes of the multiple reference signal streams is less than the target value.
[0006] Each of the reference signal streams is compensated using a signal compensator to obtain multiple target signal streams output by the signal compensator. The signal compensator is used to compensate the target signal at the current time in each of the reference signal streams based on N reference signals prior to the current time in each of the reference signal streams. The target compensation parameter used by the signal compensator is determined based on the reference attribute values of the multiple reference signal streams, where N is an integer greater than or equal to 2.
[0007] Optionally, adjusting the target attribute values of the target signal attributes of the multiple PCIe signal streams includes:
[0008] A target adjustment parameter for each of the multiple PCIe signal streams is determined based on the target attribute values of the multiple PCIe signal streams, wherein the target adjustment parameter is used to indicate the adjustment direction and adjustment value of the target attribute value;
[0009] The reference signal stream is obtained by adjusting each PCIe signal stream according to the adjustment parameters of each PCIe signal stream.
[0010] Optionally, determining the target adjustment parameter for each PCIe signal stream based on the target attribute values of the multiple PCIe signal streams includes:
[0011] Calculate a target difference value between the signal amplitudes of the multiple PCIe signal streams, wherein the target attribute value includes the signal amplitude;
[0012] The target adjustment parameter corresponding to the target difference value is determined from the difference values and adjustment parameters that have a corresponding relationship.
[0013] Optionally, adjusting each PCIe signal stream according to the target adjustment parameter of each PCIe signal stream to obtain the reference signal stream includes:
[0014] The target AC gain corresponding to the target adjustment parameter value is determined from the corresponding adjustment parameter values and AC gain;
[0015] Obtain the target capacitance value corresponding to the target AC gain;
[0016] The capacitor of the initial continuous-time linear equalizer is set to the target capacitor value to obtain the target continuous-time linear equalizer;
[0017] The PCIE signal stream is adjusted using the target continuous-time linear equalizer to obtain the reference signal stream.
[0018] Optionally, the step of using a signal compensator to compensate each of the reference signal streams to obtain multiple target signal streams output by the signal compensator includes:
[0019] The N reference signals and the target signal are input into the target front feedback equalizer to obtain the target signal stream output by the target front feedback equalizer. The target front feedback equalizer is used to compensate the target signal according to the influence of the N reference signals on the target signal. The signal compensator includes the target front feedback equalizer.
[0020] Optionally, inputting the N reference signals and the target signal into the target pre-feedback equalizer includes:
[0021] The N reference signals and the target signal are input into the corresponding reference front feedback equalizers in the N+1 stage reference front feedback equalizers according to the timing sequence, wherein the target front feedback equalizer includes N+1 stages of the reference front feedback equalizers connected in parallel.
[0022] Optionally, before inputting the N reference signals and the target signal into the corresponding reference pre-feedback equalizers in the N+1 level reference pre-feedback equalizers according to the timing sequence, the method further includes:
[0023] The target sampling latch threshold corresponding to the target baud rate of the current PCIE signal stream is determined from the corresponding baud rates and sampling latch thresholds, wherein the current PCIE signal stream is the PCIE signal stream corresponding to the reference signal stream to be compensated.
[0024] Set the sampling latch threshold of the reference front feedback equalizer to the target sampling latch threshold.
[0025] According to another embodiment of this application, a signal compensation device is provided, comprising:
[0026] The receiving module is used to receive multiple PCIe signal streams;
[0027] An adjustment module is used to adjust the target attribute values of the target signal attributes of the multiple PCIE signal streams to obtain multiple reference signal streams. The target signal attribute is a signal attribute among the signal attributes of the PCIE signal streams used to determine the compensation parameters used in the signal compensation stage. The difference between the reference attribute values of the target signal attributes of the multiple reference signal streams is less than the target value.
[0028] The compensation module is used to compensate each of the reference signal streams using a signal compensator to obtain multiple target signal streams output by the signal compensator. The signal compensator is used to compensate the target signal in each of the reference signal streams at the current time based on N reference signals prior to the current time in each of the reference signal streams. The target compensation parameters used by the signal compensator are determined based on the reference attribute values of the multiple reference signal streams, where N is an integer greater than or equal to 2.
[0029] According to yet another embodiment of this application, a computer-readable storage medium is also provided, wherein a computer program is stored therein, and the computer program is configured to perform the steps in any of the above method embodiments when it is run.
[0030] According to yet another embodiment of this application, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0031] This application addresses the issue of low optimization efficiency for received PCIe signal streams by adjusting the target attribute values of the target signal attributes of the multiple PCIe signals. This ensures that the difference between the reference attribute values of the target signal attributes of the multiple reference signal streams is less than the target value, thereby guaranteeing the consistency of the target signal attributes of the multiple reference signal streams. This reduces the compensation pressure of using a signal compensator to compensate isolated reference signal streams. Furthermore, when using a signal compensator to compensate for each reference signal stream, the target signal of each reference signal stream at the current moment is compensated based on N reference signals prior to the current moment. This achieves compensation based on reference signals prior to the current moment for the target signal at the current moment, further avoiding inter-symbol interference in the signal stream. Therefore, this application solves the problem of low optimization efficiency for received signal streams in related technologies, achieving the technical effect of improving the optimization efficiency of received signal streams. Attached Figure Description
[0032] Figure 1 This is a hardware structure block diagram of a mobile terminal for a signal compensation method according to an embodiment of this application.
[0033] Figure 2 This is a flowchart of a signal compensation method according to an embodiment of this application;
[0034] Figure 3 This is an optional signal flow adjustment schematic diagram according to an embodiment of this application;
[0035] Figure 4 This is an optional continuous-time linear equalizer structure topology diagram according to an embodiment of this application;
[0036] Figure 5 This is an optional signal flow comparison diagram according to an embodiment of this application;
[0037] Figure 6 This is an optional reference front feedback equalizer topology diagram according to an embodiment of this application;
[0038] Figure 7 This is a structural block diagram of a signal compensation device according to an embodiment of this application. Detailed Implementation
[0039] The embodiments of this application will be described in detail below with reference to the accompanying drawings and examples.
[0040] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0041] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for a signal compensation method according to an embodiment of this application. For example... Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing signals are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0042] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the signal compensation method in this embodiment. The processor 102 executes various functional applications and signal processing by running the computer program stored in the memory 104, thus implementing the above-described method. The memory 104 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0043] The transmission device 106 is used to receive or transmit signals via a network. Specific examples of the network described above may include a wireless network provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.
[0044] Figure 2 This is a flowchart of a signal compensation method according to an embodiment of this application, such as... Figure 2 As shown, the process includes the following steps:
[0045] Step S202: Receive multiple PCIe signal streams;
[0046] Step S204: Adjust the target attribute values of the target signal attributes of the multiple PCIE signal streams to obtain multiple reference signal streams. The target signal attribute is the signal attribute used to determine the compensation parameters used in the signal compensation stage among the signal attributes of the PCIE signal streams. The difference between the reference attribute values of the target signal attributes of the multiple reference signal streams is less than the target value.
[0047] Step S206: Use a signal compensator to compensate each of the reference signal streams to obtain multiple target signal streams output by the signal compensator. The signal compensator is used to compensate the target signal in each of the reference signal streams at the current time based on N reference signals before the current time in each of the reference signal streams. The target compensation parameter used by the signal compensator is determined based on the reference attribute values of the multiple reference signal streams, where N is an integer greater than or equal to 2.
[0048] Through the above steps, after receiving multiple PCIe signal streams, the target attribute values of the target signal attributes of the multiple PCIe signals are adjusted so that the difference between the reference attribute values of the target signal attributes of the multiple reference signal streams is less than the target value. This ensures the consistency of the target signal attributes of the multiple reference signal streams, reduces the compensation pressure of using a signal compensator to compensate isolated reference signal streams, and further avoids inter-symbol interference problems in the signal streams by compensating the target signal of each reference signal stream at the current time based on N reference signals before the current time in each reference signal stream. Therefore, it can solve the problem of low optimization efficiency of received signal streams in related technologies and achieve the technical effect of improving the optimization efficiency of received signal streams.
[0049] In the embodiment provided in step S202 above, the multi-channel PCIe signal stream is a signal stream acquired through multiple channels.
[0050] In the embodiment provided in step S204 above, the target signal attribute may be, but is not limited to, an attribute used to characterize the signal flow in the time domain and / or frequency domain. The target signal attribute may include, but is not limited to, amplitude, frequency band, peak value, spectral density, phase, waveform shape, etc. For example, the adjusted multi-reference signal flow may be, but is not limited to, having a difference in frequency band and amplitude that is less than the target value. This solution does not limit this.
[0051] Optionally, in the embodiments of this application, the method of adjusting the target attribute values of the target signal attributes of the multiple PCIe signal streams may include, but is not limited to, determining the signal attenuation parameter of each PCIe signal stream based on the target attribute value of each PCIe signal stream, and attenuating the low-frequency and high-frequency components of the corresponding signal streams according to the screening parameter.
[0052] Optionally, in this embodiment, the signal compensation stage is used to perform signal compensation on the signals in each signal stream, thereby avoiding inter-symbol interference between signals.
[0053] Optionally, in the embodiments of this application, the compensation parameter may be, but is not limited to, a parameter used to characterize the signal compensator device model. The compensation parameter may be determined based on the attribute value of the target signal attribute of the adjusted reference signal stream. For example, the number of levels of the signal equalizer included in the signal compensator. The signal compensator is configured to include multiple levels of signal equalizers, which are connected in parallel. Each level of signal equalizer is used to process a reference signal located before the current time, thereby determining the influence of the reference signal at that level on the signal value of the signal at the current time. After adjusting the target attribute value of the target signal attribute of the PCIE signal stream, the attribute values of the target signal attributes of the obtained multiple reference signal streams are kept consistent (e.g., adjusted to the reference attribute value). Then, the compensation parameter (e.g., the number of levels of the signal equalizer) corresponding to the reference attribute value can be determined from the attribute values and compensation parameters that have a corresponding relationship. In this embodiment, the number of levels of the signal equalizer included in the signal compensator is adjusted according to the attribute values of the adjusted reference signal stream. This ensures the compensation effect of the signal compensator in compensating the signal, while also ensuring the compensation efficiency of the signal compensator in compensating the reference signal stream, and avoids the impact of introducing too much redundant reference signal on the operating time of the signal compensator.
[0054] Optionally, in the embodiments of this application, the compensation parameters can be the operating parameters used to characterize the signal compensator when performing signal compensation, and may include, but are not limited to, gain values, tap coefficients, etc. This solution does not limit this.
[0055] In the embodiment provided in step S206 above, the signal compensator may be, but is not limited to, a pre-feedback equalizer or a decision feedback equalizer, or it may be a compensator obtained by modifying the topology of a pre-feedback equalizer or a decision feedback equalizer according to the compensation requirements, such as the number of equalizer levels included in the pre-feedback equalizer and the decision feedback equalizer. This solution does not limit this.
[0056] Optionally, in this embodiment of the application, the signal compensator is used to predict the influence value of the N reference signals on the target signal at the current time based on the signal values of the N reference signals, and then perform signal compensation on the target signal according to the influence value. In specific operation, the influence weight of each reference signal can be determined according to the difference between the signal values of each reference signal and the adjacent signals, and the reference signals can be weighted and summed according to the influence weight to obtain the signal compensation value of the target signal.
[0057] As an optional embodiment, adjusting the target attribute values of the target signal attributes of the multiple PCIe signal streams includes:
[0058] A target adjustment parameter for each of the multiple PCIe signal streams is determined based on the target attribute values, wherein the adjustment parameter is used to indicate the adjustment direction and adjustment value of the target attribute value;
[0059] Each PCIe signal stream is adjusted according to the target adjustment parameters of each PCIe signal stream to obtain a reference signal stream.
[0060] Optionally, in the embodiments of this application, the method for determining the adjustment parameters may include, but is not limited to, predicting the reference attribute values corresponding to multiple PCIe signals based on the differences between the target attribute values of multiple PCIe signal streams, and then determining the adjustment parameters based on the differences between the target attribute values and the reference attribute values of each PCIe signal stream.
[0061] In the above embodiments, the adjustment parameters of each PCIe signal stream are determined based on the differences in the target attribute values of multiple PCIe signals. Then, the adjustment parameters are used to adjust each signal stream, thereby achieving adjustment of each signal stream according to the differences between multiple signal streams, which improves the consistency between the adjusted multiple signal streams.
[0062] As an optional embodiment, determining the target adjustment parameter for each PCIe signal stream based on the target attribute values of the multiple PCIe signal streams includes:
[0063] Calculate a target difference value between the signal amplitudes of the multiple PCIe signal streams, wherein the target attribute value includes the signal amplitude;
[0064] The target adjustment parameter corresponding to the target difference value is determined from the difference values and adjustment parameters that have a corresponding relationship.
[0065] Optionally, in this embodiment of the application, a target continuous-time linear equalizer can be set for each PCIE signal stream. The target continuous-time linear equalizer performs signal compensation on the signal of the current signal stream according to the equalization parameter value, thereby ensuring the consistency of the reference signal stream after adjustment of multiple PCIE signal streams. Figure 3 This is an optional signal flow adjustment schematic diagram according to an embodiment of this application, such as... Figure 3 As shown, there are multiple PCIE signal streams such as PCIE LANE0, PCIE LANE1, and PCIE LANE2. A corresponding target continuous-time linear equalizer (CTLE) is set for each signal stream. When CTLE0, CTLE1, and CTLE2 are processed, there is a weighting process between CTLEs to ensure that the frequency band and amplitude of the signal after passing through the CTLE remain consistent.
[0066] Through the above steps, the equalization parameter value is determined based on the difference in signal amplitude between multiple PCIe signal streams. Then, for each PCIe signal, a target continuous-time linear equalizer is used to adjust the signal stream based on the equalization parameter value. This achieves signal compensation for each signal based on the amplitude difference of multiple signals, avoiding the signal amplitude inconsistency between channels caused by performing signal compensation for each signal stream individually through a continuous-time linear equalizer in related technologies.
[0067] As an optional embodiment, adjusting each PCIe signal stream according to the target adjustment parameter of each PCIe signal stream to obtain the reference signal stream includes:
[0068] The target AC gain corresponding to the target adjustment parameter value is determined from the corresponding adjustment parameter values and AC gain;
[0069] Obtain the target capacitance value corresponding to the target AC gain;
[0070] The capacitor of the initial continuous-time linear equalizer is set to the target capacitor value to obtain the target continuous-time linear equalizer;
[0071] The PCIE signal stream is adjusted using the target continuous-time linear equalizer to obtain the reference signal stream.
[0072] Optionally, in this embodiment, the target continuous-time linear equalizer is used to adjust the attenuation of the low-frequency and high-frequency components of different signals in the current PCIE signal stream according to the equalization parameter value, thereby adjusting the amplitude of the signal stream.
[0073] Optionally, in this embodiment, the continuous-time linear equalizer is essentially a high-pass filter that compensates for high-frequency loss in the signal by reducing low-frequency components. Figure 4 This is an optional continuous-time linear equalizer structure topology diagram according to an embodiment of this application, such as... Figure 4 As shown, VIN is the PCIe input signal, and after CTLE processing, the output is VOUT. The transfer function of this continuous-time linear equalizer is as follows:
[0074]
[0075] The DC gain is as follows:
[0076] The AC gain is as follows:
[0077] CTLE allows for targeted settings for different input signals by configuring the parameters of R1, R2, C1, and C2, thereby modifying the attenuation of the low-frequency and high-frequency components of different signals.
[0078] As an optional embodiment, the step of using a signal compensator to compensate each of the reference signal streams to obtain multiple target signal streams output by the signal compensator includes:
[0079] The N reference signals and the target signal are input into the target front feedback equalizer to obtain the target signal stream output by the target front feedback equalizer. The target front feedback equalizer is used to compensate the target signal according to the influence of the N reference signals on the target signal. The signal compensator includes the target front feedback equalizer.
[0080] Optionally, in this embodiment, the number of reference signals can be determined based on the attribute values of the target attributes of the multiple adjusted reference signal streams. That is, when compensating for signals in signal streams with different attribute values, the number of reference signals used may also be different. For example, under certain attribute value characteristics, it is necessary to use 5 reference signals before the current time to determine the compensation value of the signal at the current time. Under another attribute value characteristic, it may be necessary to use 8 reference signals before the current time to determine the compensation value of the signal at the current time. Therefore, the number of target signals (i.e., N) corresponding to the attribute values of the target attributes of the multiple adjusted reference signal streams can be determined from the number of signals and attribute values that have a corresponding relationship.
[0081] Through the above, by using a target pre-feedback equalizer to process the reference signal and the target signal, compensation for the target signal can be achieved based on the influence of multiple reference signals on the current target signal, thereby improving the accuracy of target signal compensation.
[0082] As an optional embodiment, inputting the N reference signals and the target signal into the target pre-feedback equalizer includes:
[0083] The N reference signals and the target signal are input into the corresponding reference front feedback equalizers in the N+1 stage reference front feedback equalizers according to the timing sequence, wherein the target front feedback equalizer includes N+1 stages of the reference front feedback equalizers connected in parallel.
[0084] Optionally, in this embodiment, the core function of the pre-feedback equalizer is to use analog circuits to set and modify the sampling latch threshold at the input baud rate, thereby processing the signal transmitted by CTLE and reducing the impact of ISI on signal recognition. Figure 5This is an optional signal flow comparison diagram according to an embodiment of this application, such as... Figure 5 As shown, for a received signal stream "0 1 1 1 1 1 0 1 0", the left side is the signal stream before processing by the target pre-feedback equalizer, and the right side is the signal stream after processing by the target pre-feedback equalizer. Without DFE processing, because the pre-feedback data is a long input string of 1s, when the data string abruptly changes to 0, the voltage cannot drop in time, leading to misidentification as data 1 and thus causing an error.
[0085] By following the steps above, and by setting up N+1 parallel reference pre-feedback equalizers in the Mubai pre-feedback equalizer, each reference pre-feedback equalizer processes the first-level signal, thereby determining the influence of each level of reference signal on the value of the target signal, thus improving the accuracy of the compensated target signal value.
[0086] As an optional embodiment, before inputting the N reference signals and the target signal into the corresponding reference pre-feedback equalizers in the N+1 level reference pre-feedback equalizers according to the timing sequence, the method further includes:
[0087] The target sampling latch threshold corresponding to the target baud rate of the current PCIE signal stream is determined from the corresponding baud rates and sampling latch thresholds, wherein the current PCIE signal stream is the PCIE signal stream corresponding to the reference signal stream to be compensated.
[0088] Set the sampling latch threshold of the reference front feedback equalizer to the target sampling latch threshold.
[0089] Optionally, in this embodiment, the target pre-feedback equalizer sets corresponding reference pre-feedback equalizers for the reference signal and the target signal, such as H1, H2, H3, etc. for the previous input data. Through the influence of parameters such as H1 and H2, the signal values at the current moment are modified accordingly. For example, in the current case, if the first five data points are all 1, then H1, H2, H3, H4, and H5 will all have an increasing effect on the threshold of the current data, ensuring that the currently sampled data can be accurately sampled within the threshold range. Figure 6 This is an optional reference front feedback equalizer topology diagram according to an embodiment of this application, such as... Figure 6 The Vin shown represents the previous input data, while +H1 and -H1 are preset fixed values. The feedforward equalizer controls two latches and an adder. Whether +H1 or -H1 takes effect depends on whether the previous input data is 0 or 1. Finally, the final output is selected by the final decision selector. The above is a single-stage feedforward equalizer. If designed for an n-stage signal, n of the above equalizers are connected in parallel to implement the function of the feedforward equalizer.
[0090] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0091] This embodiment also provides a signal compensation device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, hardware implementations, or a combination of software and hardware, are also possible and contemplated.
[0092] Figure 7 This is a structural block diagram of a signal compensation device according to an embodiment of this application, such as... Figure 7 As shown, the device includes a receiving module for receiving multiple PCIe signal streams;
[0093] An adjustment module is used to adjust the target attribute values of the target signal attributes of the multiple PCIE signal streams to obtain multiple reference signal streams. The target signal attribute is a signal attribute among the signal attributes of the PCIE signal streams used to determine the compensation parameters used in the signal compensation stage. The difference between the reference attribute values of the target signal attributes of the multiple reference signal streams is less than the target value.
[0094] The compensation module is used to compensate each of the reference signal streams using a signal compensator to obtain multiple target signal streams output by the signal compensator. The signal compensator is used to compensate the target signal in each of the reference signal streams at the current time based on N reference signals prior to the current time in each of the reference signal streams. The target compensation parameters used by the signal compensator are determined based on the reference attribute values of the multiple reference signal streams, where N is an integer greater than or equal to 2.
[0095] Based on the above, after receiving multiple PCIe signal streams, the target attribute values of the target signal attributes of the multiple PCIe signals are adjusted so that the difference between the reference attribute values of the target signal attributes of the multiple reference signal streams is less than the target value. This ensures the consistency of the target signal attributes of the multiple reference signal streams, reduces the compensation pressure of using a signal compensator to compensate isolated reference signal streams, and further avoids inter-symbol interference problems in the signal streams by compensating the target signal of each reference signal stream at the current time based on N reference signals before the current time in each reference signal stream. Therefore, it can solve the problem of low optimization efficiency of received signal streams in related technologies and achieve the technical effect of improving the optimization efficiency of received signal streams.
[0096] Optionally, the adjustment module includes: a determining unit, configured to determine an adjustment parameter for each of the multiple PCIe signal streams based on the target attribute value of the multiple PCIe signal streams, wherein the target adjustment parameter is used to indicate the adjustment direction and adjustment value of the target attribute value;
[0097] An adjustment unit is configured to adjust each of the PCIE signal streams according to the target adjustment parameters of each PCIE signal stream to obtain the reference signal stream.
[0098] Optionally, the determining unit is used for:
[0099] Calculate a target difference value between the signal amplitudes of the multiple PCIe signal streams, wherein the target attribute value includes the signal amplitude;
[0100] The target adjustment parameter corresponding to the target difference value is determined from the difference values and adjustment parameters that have a corresponding relationship.
[0101] Optionally, the adjustment unit is used for:
[0102] The target AC gain corresponding to the target adjustment parameter value is determined from the corresponding adjustment parameter values and AC gain;
[0103] Obtain the target capacitance value corresponding to the target AC gain;
[0104] The capacitor of the initial continuous-time linear equalizer is set to the target capacitor value to obtain the target continuous-time linear equalizer;
[0105] The PCIE signal stream is adjusted using the target continuous-time linear equalizer to obtain the reference signal stream.
[0106] Optionally, the compensation module includes:
[0107] An input unit is used to input N reference signals and the target signal into a target front feedback equalizer to obtain the target signal stream output by the target front feedback equalizer. The target front feedback equalizer is used to compensate the target signal according to the influence of the N reference signals on the target signal. The signal compensator includes the target front feedback equalizer.
[0108] Optionally, the input unit is used for:
[0109] The N reference signals and the target signal are input into the corresponding reference front feedback equalizers in the N+1 stage reference front feedback equalizers according to the timing sequence, wherein the target front feedback equalizer includes N+1 stages of the reference front feedback equalizers connected in parallel.
[0110] Optionally, the device further includes:
[0111] The determining module is configured to determine, before inputting the N reference signals and the target signal into the corresponding reference pre-feedback equalizers in the N+1 level reference pre-feedback equalizers according to the timing sequence, the target sampling latch threshold corresponding to the target baud rate of the current PCIE signal stream from the baud rate and sampling latch threshold with corresponding relationships, wherein the current PCIE signal stream is the PCIE signal stream corresponding to the reference signal stream to be compensated;
[0112] The setting module is used to set the sampling latch threshold of the reference front feedback equalizer to the target sampling latch threshold.
[0113] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0114] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when run.
[0115] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0116] Embodiments of this application also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0117] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0118] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.
[0119] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.
[0120] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.
Claims
1. A signal compensation method, characterized in that, include: Receives multiple PCIe signal streams; The target attribute values of the target signal attributes of the multiple PCIE signal streams are adjusted to obtain multiple reference signal streams. The target signal attribute is the signal attribute used to determine the compensation parameters used in the signal compensation stage among the signal attributes of the PCIE signal streams. The difference between the reference attribute values of the target signal attributes of the multiple reference signal streams is less than the target value. Each of the reference signal streams is compensated using a signal compensator to obtain multiple target signal streams output by the signal compensator. The signal compensator is used to compensate the target signal at the current time in each of the reference signal streams based on N reference signals prior to the current time in each of the reference signal streams. The target compensation parameter used by the signal compensator is determined based on the reference attribute values of the multiple reference signal streams, where N is an integer greater than or equal to 2.
2. The method according to claim 1, characterized in that, The adjustment of the target attribute values of the target signal attributes of the multiple PCIe signal streams includes: A target adjustment parameter for each of the multiple PCIe signal streams is determined based on the target attribute values, wherein the adjustment parameter is used to indicate the adjustment direction and adjustment value of the target attribute value; The reference signal stream is obtained by adjusting each PCIe signal stream according to the target adjustment parameters of each PCIe signal stream.
3. The method according to claim 2, characterized in that, Determining the target adjustment parameter for each PCIe signal stream based on the target attribute values of the multiple PCIe signal streams includes: Calculate a target difference value between the signal amplitudes of the multiple PCIe signal streams, wherein the target attribute value includes the signal amplitude; The target adjustment parameter corresponding to the target difference value is determined from the difference values and adjustment parameters that have a corresponding relationship.
4. The method according to claim 2, characterized in that, The step of adjusting each PCIe signal stream according to the target adjustment parameter of each PCIe signal stream to obtain the reference signal stream includes: The target AC gain corresponding to the target adjustment parameter value is determined from the corresponding adjustment parameter values and AC gain; Obtain the target capacitance value corresponding to the target AC gain; The capacitor of the initial continuous-time linear equalizer is set to the target capacitor value to obtain the target continuous-time linear equalizer; The PCIE signal stream is adjusted using the target continuous-time linear equalizer to obtain the reference signal stream.
5. The method according to claim 1, characterized in that, The step of using a signal compensator to compensate each of the reference signal streams to obtain multiple target signal streams output by the signal compensator includes: The N reference signals and the target signal are input into the target front feedback equalizer to obtain the target signal stream output by the target front feedback equalizer. The target front feedback equalizer is used to compensate the target signal according to the influence of the N reference signals on the target signal. The signal compensator includes the target front feedback equalizer.
6. The method according to claim 5, characterized in that, The step of inputting the N reference signals and the target signal into the target pre-feedback equalizer includes: The N reference signals and the target signal are input into the corresponding reference front feedback equalizers in the N+1 stage reference front feedback equalizers according to the timing sequence, wherein the target front feedback equalizer includes N+1 stages of the reference front feedback equalizers connected in parallel.
7. The method according to claim 6, characterized in that, Before inputting the N reference signals and the target signal into the corresponding reference pre-feedback equalizers in the N+1 level reference pre-feedback equalizers according to the timing sequence, the method further includes: The target sampling latch threshold corresponding to the target baud rate of the current PCIE signal stream is determined from the corresponding baud rates and sampling latch thresholds, wherein the current PCIE signal stream is the PCIE signal stream corresponding to the reference signal stream to be compensated. Set the sampling latch threshold of the reference front feedback equalizer to the target sampling latch threshold.
8. A signal compensation device, characterized in that, include: The receiving module is used to receive multiple PCIe signal streams; An adjustment module is used to adjust the target attribute values of the target signal attributes of the multiple PCIE signal streams to obtain multiple reference signal streams. The target signal attribute is a signal attribute among the signal attributes of the PCIE signal streams used to determine the compensation parameters used in the signal compensation stage. The difference between the reference attribute values of the target signal attributes of the multiple reference signal streams is less than the target value. The compensation module is used to compensate each of the reference signal streams using a signal compensator to obtain multiple target signal streams output by the signal compensator. The signal compensator is used to compensate the target signal in each of the reference signal streams at the current time based on N reference signals prior to the current time in each of the reference signal streams. The target compensation parameters used by the signal compensator are determined based on the reference attribute values of the multiple reference signal streams, where N is an integer greater than or equal to 2.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method described in any one of claims 1 to 7.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method described in any one of claims 1 to 7.
Citation Information
Patent Citations
Method and device of selecting and verifying peripheral component interconnect express (PCIE) link equalization parameter
CN106817258A
Multi-channel synchronous acquisition phase calibration system and method
CN110266421A