CN108476181A - Differential signal compensation method and device - Google Patents

Differential signal compensation method and device Download PDF

Info

Publication number
CN108476181A
CN108476181A CN201680078074.4A CN201680078074A CN108476181A CN 108476181 A CN108476181 A CN 108476181A CN 201680078074 A CN201680078074 A CN 201680078074A CN 108476181 A CN108476181 A CN 108476181A
Authority
CN
China
Prior art keywords
differential
signal
differential signal
time delay
frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201680078074.4A
Other languages
Chinese (zh)
Other versions
CN108476181B (en
Inventor
张森
陈铭
薛青松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN108476181A publication Critical patent/CN108476181A/en
Application granted granted Critical
Publication of CN108476181B publication Critical patent/CN108476181B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The embodiment of the present application provides a kind of differential signal compensation method and device, is related to signal transmission technology field, this method includes:For every difference transmission lines in two difference transmission lines, the attenuation coefficient of the signal amplitude for the single-path testing differential signal that the differential transmission line pair is transmitted in the difference transmission lines is obtained;Obtain the Differential time delay factor;The Differential time delay factor is that two-way tests time delay of the differential signal in arriving signal receiving terminal;It is compensated according to the Differential time delay factor and each attenuation coefficient, the differential signal received to the signal receiving end.Solve the problems, such as that the two paths of differential signals in signal receiving end in the prior art can existence time delay;The differential signal that existence time in signal receiving end can be postponed by having reached compensates, and then avoids the effect of time delay.

Description

Differential signal compensation method and device Technical Field
The embodiment of the invention relates to the technical field of signal transmission, in particular to a differential signal compensation method and device.
Background
The differential transmission means that signals with the same amplitude and opposite phases are transmitted on two differential transmission lines, and the signal receiving end outputs the difference value of the signals on the two differential transmission lines.
Ideally, the differential signals on the two differential transmission lines are transmitted to the signal receiving end at the same time, but in the actual transmission process, due to reasons such as the length inconsistency of the two differential transmission lines, a certain time delay exists when the two differential signals are transmitted to the signal receiving end, that is, a certain time delay exists between the two differential signals received by the signal receiving end.
Disclosure of Invention
In order to solve the problem that two paths of differential signals received by a signal receiving end have certain time delay in the prior art, the embodiment of the invention provides a differential signal compensation method and a differential signal compensation device. The technical scheme is as follows:
in a first aspect, a differential signal compensation method is provided, and the differential signal compensation method is used in a signal receiving end, and the method may include:
the differential signal comprises two paths, and each path of differential signal is transmitted in one differential transmission line. For each differential transmission line in the two differential transmission lines, obtaining the attenuation coefficient of the signal amplitude of the single-channel test differential signal transmitted in the differential transmission line by the differential transmission line; the attenuation coefficient refers to the ratio of the amplitude of the single-path test differential signal received by the signal receiving end to the amplitude of the single-path test differential signal sent by the signal sending end;
acquiring a differential time delay factor; the differential time delay factor is the time delay of the two paths of test differential signals when the test differential signals reach the signal receiving end;
and compensating the differential signals received by the signal receiving end according to the differential time delay factors and each attenuation coefficient.
Compensating the received differential signals according to the obtained attenuation coefficient and the obtained differential time delay factor by obtaining the attenuation coefficient and the differential time delay factor of the signal amplitude of the single-channel test differential signals of each differential transmission line pair; the problem that two paths of differential signals in a signal receiving end in the prior art have time delay is solved; the effect of compensating the differential signal with time delay in the signal receiving end and further avoiding the time delay is achieved.
In a first possible implementation manner of the first aspect, before the signal receiving end obtains the attenuation coefficient, the signal receiving end may further calculate the attenuation coefficient. The specific calculation method is as follows:
for each differential transmission line, acquiring the amplitude of a test differential signal received by a signal receiving end when a signal sending end sends a single-path test differential signal in the differential transmission line independently;
calculating the attenuation coefficient of the signal amplitude of the test differential signal in the differential transmission line according to the amplitude of the test differential signal sent by the signal sending end and the amplitude of the test differential signal received by the signal receiving end;
and storing the calculated attenuation coefficient.
In a second possible implementation manner of the first aspect, before the signal receiving end obtains the differential time delay factor, the signal receiving end may further calculate the differential time delay factor. The specific calculation method is as follows:
acquiring an output value of a test differential signal received by a signal receiving terminal after the test differential signal with a preset frequency is sent to the signal receiving terminal;
calculating a differential time delay factor according to the preset frequency, the output amplitude value of the test differential signal corresponding to the preset frequency and each attenuation coefficient;
the calculated differential time delay factor is stored.
With reference to the second possible implementation manner, in a third possible implementation manner, the step of calculating the differential time delay factor by the signal receiving end may include:
differential time delay factor t0N is an integer;
if the preset frequencies are at least two, calculating the numerical value of the differential time delay factor according to the at least two preset frequencies and the output amplitude value of the test differential signal corresponding to each preset frequency;
if one preset frequency exists, calculating the numerical value of the differential time delay factor according to the preset frequency, the output amplitude value of the test differential signal corresponding to the preset frequency and the preset range of the differential time delay factor;
wherein, A and B are attenuation coefficients of signal amplitude of single-path test differential signals transmitted by two differential transmission line pairs, F is amplitude of transmitted single-path differential signals, and omega isdFor testing the frequency of the differential signal, YoutTo test the output amplitude value of a differential signal.
With reference to any one of the foregoing possible implementation manners, in a fourth possible implementation manner, the step of compensating the received differential signal by the signal receiving end may include the following two possible implementation manners:
the first method comprises the following steps: and compensating the time delay of the received differential signals according to the differential time delay factor and each attenuation coefficient.
And the second method comprises the following steps: and compensating the transmission loss and the time delay of the received differential signals according to the differential time delay factor and each attenuation coefficient.
Assuming that the transmitted differential signal includes a plurality of frequency components, the fourier transform value of the differential signal received by the signal receiving end can be expressed as
In the first compensation method, the signal receiving end calculates a fourier transform value of the compensated differential signal according to the differential time delay factor, each attenuation coefficient, and the received differential signal, where the fourier transform value is:
F(ωs) Is a single frequency signal omega with amplitude 1sIs the initial phase of the signal.
And performing inverse Fourier transform on the Fourier transform value to obtain a compensated differential signal, wherein the compensated differential signal is as follows:
wherein, ω issFor the frequency of the differential signal, a and B are attenuation coefficients of signal amplitude of the single-channel test differential signal transmitted by the two differential transmission line pairs, where it is assumed that the attenuation coefficients do not vary with the frequency of the differential signal, and are fourier transform, t, of the output value of the differential signal received by the signal receiving end0For the differential time delay factor, the frequency of the differential signal transmitted by the signal transmitting end is omegasThe amplitude of (d).
In the second compensation mode described above,
calculating a Fourier transform value of the compensated differential signal according to the differential time delay factor, each attenuation coefficient and the received differential signal, wherein the Fourier transform value is as follows:
performing inverse Fourier transform on the Fourier transform value to obtain a compensated differential signal, wherein the compensated differential signal is as follows:
wherein, ω issThe frequency of the differential signal, A and B are attenuation coefficients of signal amplitude of the single-channel test differential signal transmitted by the two differential transmission line pairs, and the attenuation coefficients are Fourier transform of an output value of the differential signal received by a signal receiving end, t0For the differential time delay factor, the frequency of the differential signal transmitted by the signal transmitting end is omegasD is the larger of a and B.
In the two compensation methods, as can be seen from the calculation expressions, when the compensation factor approaches 0, the fourier transform value of the compensated output value of the differential signal approaches infinity, that is, the amplitude of the differential signal approaches infinity. Therefore, before compensation, the signal receiving end may further perform the following steps:
for each frequency point in the differential signal, detecting whether a compensation factor corresponding to the frequency point is smaller than a preset threshold value or not, wherein the compensation factor is
And if the difference value is smaller than the preset threshold value, correcting the output value of the compensated differential signal at the frequency point.
The step of correcting the output value of the compensated differential signal at the frequency point may include the following three possible implementation manners:
the first method comprises the following steps: the compensation factor for correcting the frequency point is the average value of the compensation factors of the left and right adjacent frequency points, and the frequency point is assumed to be omegakAnd the corrected compensation factor at the frequency point is a step of calculating a fourier transform value of the compensated differential signal according to the differential time delay factor, each attenuation coefficient and the output value of the received differential signal. Wherein, ω isk-1Is omegakFrequency, omega, of adjacent left-hand frequency pointsk+1Is omegakThe frequency of the adjacent right frequency point.
And the second method comprises the following steps:
increasing or decreasing the sampling rate of the signal receiving end by a preset value, and resampling the differential signal according to the adjusted sampling rate; a step of calculating a fourier transform value of the compensated differential signal based on the differential time delay factor, each attenuation coefficient, and the output value of the received differential signal is performed.
And the third is that: and filtering the frequency points when the compensation factor is a preset threshold value through a filter.
By correcting the output value of the differential signal of which the compensation factor is smaller than the preset threshold value, the problem that the output value of the compensated differential signal has larger error because the amplitude of the output value of the compensated differential signal tends to be infinite is solved.
In a second aspect, there is provided a differential signal compensation apparatus, comprising: a processor and a receiver coupled to the processor; the processor is configured to execute instructions, and the processor implements the differential signal compensation method according to the first aspect by executing the instructions.
In a third aspect, a differential signal compensation apparatus is provided, which includes at least one unit for implementing the differential signal compensation method provided in the first aspect.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a differential signal compensation apparatus according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an application scenario to which an embodiment of the present invention relates;
fig. 3 is a flowchart of a differential signal compensation transmission method according to an embodiment of the present invention;
fig. 4A is a flowchart of a differential signal compensation transmitting method according to another embodiment of the present invention;
FIG. 4B shows a diagram of Ya with t in a differential signal compensation method according to another embodiment of the present invention0A graph of variation of (d);
fig. 5A is a flowchart of a differential signal compensation transmitting method according to still another embodiment of the present invention;
FIG. 5B is a graph comparing the output value of the compensated differential signal with the output value before compensation and the ideal condition in the differential signal compensation method according to still another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a differential signal compensation apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a differential signal compensation apparatus according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1, a schematic structural diagram of a differential signal compensation apparatus according to an exemplary embodiment of the invention is shown. The differential signal compensation means may be implemented as all or part of the signal receiving terminal. The signal receiving end includes: a processor 120, a transmitter 140 coupled to the processor 120, and a receiver 160 coupled to the processor 120. Those skilled in the art will appreciate that the signal receiving end configuration shown in fig. 1 does not constitute a limitation of the signal receiving end, and may include more or less components than those shown, or some components in combination, or a different arrangement of components. For example, the signal receiving end further includes a memory 180, a power supply, and the like. Wherein:
the processor 120 is a control center of the signal receiving terminal, connects various parts of the entire signal receiving terminal by using various interfaces and lines, and performs various functions of the signal receiving terminal and processes data by operating or executing software programs and/or modules stored in the memory 180 and calling data stored in the memory 180, thereby integrally controlling the signal receiving terminal. Optionally, processor 120 may include one or more processing cores;
memory 180 may be used for software programs and modules. The processor 120 executes various functional applications and data processing by executing software programs and modules stored in the memory 180. The memory 180 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system 181, an acquisition module 182, a compensation module 183, and at least one application 184 and the like required for other functions; the storage data area may store data created according to the use of the signal receiving terminal, and the like. Further, the memory 180 may be implemented by any type of volatile or non-volatile storage device or combination thereof.
The transmitter 140 is used to transmit the differential signal to other devices.
The receiver 160 is used for receiving the differential signal transmitted by the signal transmitting end.
The differential signal compensation method provided by the embodiments of the present invention can be used in a signal receiving end of a differential signal. For example, as illustrated in fig. 2, a coherent receiver is provided, in which signal light is adjusted to an appropriate Optical power after passing through a Variable Optical Attenuator 110 (VOA), the signal light and local oscillator light are respectively split into two orthogonal Polarization states by a Polarization Beam Splitter (PBS) 120 and are respectively input to two mixers 130 for mixing, and output Optical signals are respectively received by four pairs of balanced receivers 140. The output of the balanced receiver 140 is connected to a Trans-Impedance Amplifier 150 (TIA) to convert the voltage Signal into a differential Signal, which is then differentially transmitted to an Analog-to-Digital Converter 160 (ADC) for Signal sampling, and the final sampling result is sent to a Digital Signal processing circuit 170 (DSP) for Signal processing. The differential signal compensation method in various embodiments of the present invention may be used in the ADC160 or the DSP 170.
Referring to fig. 3, a flowchart of a differential signal compensation method according to an embodiment of the present invention is shown, and as shown in fig. 3, the differential signal compensation method may include:
step 301, for each of the two differential transmission lines, obtaining an attenuation coefficient of the differential transmission line with respect to a signal amplitude of the single-channel test differential signal transmitted in the differential transmission line.
Step 302, obtaining a differential time delay factor; the differential time delay factor is the time delay of the two paths of test differential signals when the two paths of test differential signals reach the signal receiving end.
Step 303, compensating the differential signal received by the signal receiving end according to the differential time delay factor and each attenuation coefficient.
In summary, in the differential signal compensation method provided in this embodiment, the attenuation coefficient and the differential time delay factor of the signal amplitude of the single-channel test differential signal of each differential transmission line pair are obtained, and the output value of the received differential signal is compensated according to the obtained attenuation coefficient and the obtained differential time delay factor; the problem that two paths of differential signals in a signal receiving end in the prior art have time delay is solved; the effect of compensating the differential signal with time delay in the signal receiving end and further avoiding the time delay is achieved.
In addition, the differential signal compensation method provided by the embodiment is used in a signal receiving end, so the method does not need to change the original hardware design of the system, the application scene is flexible, and compared with a scheme of compensating by adding a hardware circuit, the hardware cost of the system is also reduced.
In addition, in this embodiment, no matter whether the attenuation coefficients of the signal amplitudes of the two paths of differential signals in the differential transmission line are consistent, the time delay compensation of the received differential signals can be realized, and the application range is wide.
In the above embodiment, step 303 may include the following two compensation methods:
the first method comprises the following steps: and compensating the time delay of the received differential signals according to the differential time delay factor and each attenuation coefficient.
And the second method comprises the following steps: and compensating the transmission loss and the time delay of the received differential signals according to the differential time delay factor and each attenuation coefficient.
For the above case, the following will be separately described in different embodiments.
Referring to fig. 4A, a flowchart of a differential signal compensation method according to another embodiment of the present invention is shown, in which a signal receiving end compensates a received differential signal by the first compensation method. As shown in fig. 4A, the differential signal compensation method may include:
step 401, for each of the two differential transmission lines, obtaining an attenuation coefficient of the differential transmission line with respect to a signal amplitude of a single-channel test differential signal transmitted in the differential transmission line.
The differential signals may include P-path signals and N-path signals, which are transmitted in the two differential transmission lines, respectively.
In practical implementation, each differential transmission line may be provided with an enable end, and the enable end may control whether the signal sending end transmits the differential signal in the corresponding differential transmission line. And when the enabling end controls the signal sending end to only transmit the P-path signals in the differential transmission line, after the signal sending end sends the P-path test differential signals, the signal receiving end can correspondingly receive the P-path test differential signals, and then the amplitude of the received P-path test differential signals is obtained. Then, the signal receiving end may detect the amplitude of the P-channel test differential signal sent by the signal sending end, and further calculate an attenuation coefficient of the signal amplitude of the differential signal of the differential transmission line pair according to the detected amplitude of the P-channel test differential signal sent by the signal sending end and the amplitude of the received P-channel test differential signal. Specifically, the signal receiving end may calculate a ratio of the amplitude of the received P-channel test differential signal to the amplitude of the P-channel test differential signal sent by the signal sending end, and use the calculated ratio as an attenuation coefficient of the differential signal of the differential transmission line pair. Similarly, the signal receiving end may calculate the attenuation coefficient of the differential transmission line pair corresponding to the N-channel signal by using a similar method. After calculating the attenuation coefficients of the signal amplitudes of the differential signals of the two differential transmission line pairs, the signal receiving end may store the calculated two attenuation coefficients.
Thereafter, when the signal receiving end needs, the signal receiving end can directly read the two stored attenuation coefficients.
It should be noted that, in this embodiment, the attenuation coefficient of the differential signal transmitted by each differential transmission line pair is kept unchanged.
Step 402, obtaining a differential time delay factor; the differential time delay factor is the time delay of the two paths of test differential signals when the two paths of test differential signals reach the signal receiving end.
The differential time delay factor is a factor calculated by the signal receiving end according to the two attenuation coefficients and the amplitude value of the received test differential signal.
The signal transmitting end can simultaneously transmit the P-path test differential signal and the N-path test differential signal with preset frequency in the two differential transmission lines, so that the signal receiving end can correspondingly receive the two paths of test differential signals transmitted by the signal transmitting end. And the signal receiving end calculates the differential time delay factor according to the preset frequency and the amplitude value of the test differential signal corresponding to the received preset frequency.
Specifically, the output value of the test differential signal received by the signal receiving terminal is:
according to the above formula, the differential time delay factor t can be known from the parallelogram rule0Comprises the following steps:
n is an integer.
Wherein, A and B are attenuation coefficients of signal amplitude of single-channel test differential signals transmitted by two differential transmission line pairs, omegadFor testing the frequency of the differential signal, YoutThe amplitude value is the output amplitude value of the test differential signal received by the signal receiving end, and the amplitude value F is the amplitude of the test differential signal sent by the signal sending end and is the initial phase of the test differential signal.
From the above expression, ωdThe larger, t0The smaller the period of time. Meanwhile, since t is included in the above formula0And n two variables. Therefore:
in a possible implementation manner, there are at least two preset frequencies, and at this time, the signal receiving end may calculate the value of the differential time delay factor according to the at least two preset frequencies and the output value of the test differential signal corresponding to each preset frequency.
In addition, let t0The expression is a differential detection factor Ya, then t0It can also be expressed as:
please refer to fig. 4B, which shows two predetermined frequencies w1=17GHz,w2Ya with t at a sampling frequency of 70GHz0The change curve of (2). As can be seen from FIG. 4B, the higher the frequency of the test differential signal, the Ya follows t0The more sensitive is the change in (i.e. t) calculated0The higher the accuracy, but the smaller the period of the curve at that time, i.e. the calculated t0The smaller the dynamic range of (c); the lower the frequency of the opposite test differential signal, the calculated t0The lower the accuracy of (c), but the larger the dynamic range. So as to ensure the calculated t0The at least two preset frequencies include at least a larger frequency and a smaller frequency, such as 17GHz and 1GHz, as mentioned above.
In another possible implementation manner, t may be preset in the signal receiving end0The preset frequency can be only one in the range of the values to which the device belongs. The signal receiving end can first output the differential signal according to the preset frequency and the output value of the differential signal corresponding to the preset frequencyCalculating to obtain t0In relation to n, then according to a preset t0The range of values to which it belongs uniquely identifies a value.
At calculation to obtain t0Then, the signal receiving end can store the t obtained by calculation0
Thereafter, when the signal receiving end needs to use t0Then, the signal receiving end can read the stored t0
Step 403, compensating the time delay of the received differential signal according to the differential time delay factor and each attenuation coefficient.
Optionally, this step may include:
first, a fourier transform value of the compensated differential signal is calculated based on the differential time delay factor, each attenuation coefficient, and the received differential signal.
Specifically, after the output value of the differential signal is compensated for the time delay, the compensated differential signal is:
the fourier transform values obtained after fourier transform are:
the fourier transform is the initial phase.
The output value of the differential signal before compensation is:
the Fourier transform values are:
the fourier transform value of the compensated differential signal is derived from the formula (2) and the formula (4) as follows:
wherein, ω issFor the frequency of the differential signal, A and B are the attenuation coefficients of the signal amplitude, F (omega), of a single-channel test differential signal transmitted by two differential transmission line pairss) Is a single frequency signal omega with amplitude 1sIs the Fourier transform of the output value of the differential signal received by the signal receiving end, t0For the differential time delay factor, the frequency of the differential signal transmitted by the signal transmitting end is omegasThe amplitude of (d).
Secondly, performing inverse Fourier transform on the Fourier transform value of the compensated differential signal to obtain a compensated differential signal.
In summary, in the differential signal compensation method provided in this embodiment, the attenuation coefficient and the differential time delay factor of the signal amplitude of the single-channel test differential signal of each differential transmission line pair are obtained, and the output value of the received differential signal is compensated according to the obtained attenuation coefficient and the obtained differential time delay factor; the problem that two paths of differential signals in a signal receiving end in the prior art have time delay is solved; the effect of compensating the differential signal with time delay in the signal receiving end and further avoiding the time delay is achieved.
In addition, the differential signal compensation method provided by the embodiment is used in a signal receiving end, so the method does not need to change the original hardware design of the system, the application scene is flexible, and compared with a scheme of compensating by adding a hardware circuit, the hardware cost of the system is also reduced.
In addition, in this embodiment, no matter whether the attenuation coefficients of the signal amplitudes of the two paths of differential signals in the differential transmission line are consistent, the time delay compensation of the received differential signals can be realized, and the application range is wide.
Referring to fig. 5A, a flowchart of a differential signal compensation method according to another embodiment of the present invention is shown, in which a signal receiving end compensates a received differential signal by the second compensation method. As shown in fig. 5A, the differential signal compensation method may include:
step 501, for each of two differential transmission lines, obtaining an attenuation coefficient of a differential transmission line to a signal amplitude of a single-channel test differential signal transmitted in the differential transmission line.
Step 502, obtaining a differential time delay factor; the differential time delay factor is the time delay of the two paths of test differential signals when the two paths of test differential signals reach the signal receiving end.
Step 501 and step 502 are similar to step 401 and step 402 in the above embodiment, and this embodiment is not described herein again.
Step 503, compensating the transmission loss and the time delay of the received differential signal according to the differential time delay factor and each attenuation coefficient.
First, a fourier transform value of the compensated differential signal is calculated based on the differential time delay factor, each attenuation coefficient, and the received differential signal.
Specifically, after the differential signal is compensated for transmission loss and time delay, the output value of the compensated differential signal is:
the fourier transform values obtained after fourier transform are:
the output value of the differential signal before compensation is formula (3) mentioned in the above embodiment, and the fourier transform value thereof is formula (4). The fourier transform value of the output value of the compensated differential signal is derived from equation (7) and equation (4) as:
wherein, ω issThe frequency of the differential signal, A and B are attenuation coefficients of signal amplitude of the single-channel test differential signal transmitted by the two differential transmission line pairs, and the attenuation coefficients are Fourier transform of an output value of the differential signal received by a signal receiving end, t0For the differential time delay factor, the frequency of the differential signal transmitted by the signal transmitting end is omegasThe amplitude of (d). In addition, in this embodiment, in order to compensate the signal amplitude of the output value of the differential signal and further improve the accuracy of the compensated output value, D in this embodiment takes a value with a larger value among a and B.
Secondly, performing inverse Fourier transform on the Fourier transform value to obtain a compensated differential signal.
After a Pseudo Random code Sequence (PRBS) of a signal sending end passes through a root raised cosine filter with a roll-off coefficient of 0.2, the Pseudo Random Binary Sequence (PRBS) is differentially transmitted to a signal receiving end, the sampling frequency of the signal receiving end is 2 times of the PRBS signal frequency, t is t0For 3 sampling periods, please refer to fig. 5B, which shows an ideal output value of the differential signal, and a comparison graph before and after compensation, wherein it can be seen that the compensated output value substantially matches the ideal value, and the compensation effect is better.
In summary, in the differential signal compensation method provided in this embodiment, the attenuation coefficient and the differential time delay factor of the signal amplitude of the single-channel test differential signal of each differential transmission line pair are obtained, and the output value of the received differential signal is compensated according to the obtained attenuation coefficient and the obtained differential time delay factor; the problem that two paths of differential signals in a signal receiving end in the prior art have time delay is solved; the effect of compensating the differential signal with time delay in the signal receiving end and further avoiding the time delay is achieved.
In addition, the differential signal compensation method provided by the embodiment is used in a signal receiving end, so the method does not need to change the original hardware design of the system, the application scene is flexible, and compared with a scheme of compensating by adding a hardware circuit, the hardware cost of the system is also reduced.
In addition, in this embodiment, no matter whether the attenuation coefficients of the signal amplitudes of the two paths of differential signals in the differential transmission line are consistent, the time delay compensation of the received differential signals can be realized, and the application range is wide.
Meanwhile, in the embodiment, the time delay of the output value of the differential signal is compensated, and meanwhile, the transmission loss in the transmission process is compensated, so that the accuracy of the compensated output value of the differential signal is improved.
It should be added that, in the above two embodiments, before the signal receiving end compensates the received differential signal, the signal receiving end may further perform the following steps:
firstly, for each frequency point in the differential signal, detecting whether a compensation factor corresponding to the frequency point is smaller than a preset threshold value, wherein the compensation factor is
As can be seen from the formulas (5) and (8) in the above two embodiments, when the compensation factor approaches 0, the fourier transform value of the output value of the compensated differential signal tends to infinity, that is, the amplitude of the compensated differential signal tends to infinity. Therefore, in order to avoid the problem, before the signal receiving end performs compensation, the signal receiving end may detect whether the compensation factor at the frequency point is smaller than a preset threshold. Wherein the preset threshold value is a value tending to 0, such as 0.01.
In addition, because the differential signal may include multiple frequencies, for each frequency point, the signal receiving end may detect whether the compensation factor at the frequency point is smaller than a preset threshold.
And secondly, if the output value of the compensated differential signal at the frequency point is smaller than a preset threshold value, the output value of the compensated differential signal at the frequency point is corrected.
If the detection result is smaller than the preset threshold, in order to avoid the problem that the amplitude of the output value of the compensated differential signal tends to be infinite, the signal receiving end may correct the output value of the compensated differential signal corresponding to the frequency point.
Specifically, the step may include the following three implementation manners:
the first method comprises the following steps: and correcting the compensation factor of the frequency point to be the average value of the compensation factors of the left and right adjacent frequency points, wherein the corrected compensation factor is the step of calculating the Fourier transform value of the compensated differential signal according to the differential time delay factor, each attenuation coefficient and the output value of the received differential signal according to the corrected compensation factor of the frequency point.
Wherein, ω iskFor compensating the frequency, omega, of the differential signal when the factor is less than a predetermined thresholdk-1Is omegakFrequency, omega, of adjacent left-hand frequency pointsk+1Is omegakThe frequency of the adjacent right frequency point.
When the compensation factor at a certain frequency point is smaller than a preset threshold, in order to avoid the problem that the amplitude of the output value of the compensated differential signal tends to be infinite, the signal receiving end may take the average value of the compensation factors corresponding to the left frequency point and the right frequency point, and use the average value as the corrected compensation factor. And, thereafter, the signal receiving end can substitute the corrected compensation factor into the formula (5) and the formula (8) to calculate the fourier transform value of the compensated differential signal at the frequency point.
And the second method comprises the following steps:
and increasing or decreasing the sampling rate of the signal receiving end by a preset value, resampling the differential signal according to the adjusted sampling rate, and calculating the Fourier transform value of the compensated differential signal according to the differential time delay factor, each attenuation coefficient and the output value of the received differential signal.
When the compensation factor at a certain frequency point is smaller than a preset threshold, in order to avoid the problem that the signal amplitude of the output value of the compensated differential signal tends to be infinite, the signal receiving end increases or decreases the currently used sampling rate by a preset value, and further avoids the frequency point of which the compensation factor is smaller than the preset threshold. Optionally, the signal receiving end may increase or decrease the sampling rate of the analog domain by a preset value, for example, in conjunction with fig. 2, the signal receiving end increases or decreases the sampling rate of the ADC by the preset value. Alternatively, the signal receiving end may increase or decrease the sampling rate of the digital domain by a preset value, for example, in conjunction with fig. 2, the signal receiving end increases or decreases the sampling rate at the DSP by the preset value. The present embodiment does not limit the adjustment method for adjusting the sampling rate of the signal receiving end.
After the above processing, the signal receiving end may calculate output values of the compensated differential signal at each frequency point according to (5) and equation (8).
And the third is that:
and filtering the frequency points when the compensation factor is a preset threshold value through a filter.
In a third possible implementation manner, when the compensation factor at a certain frequency point detected by the signal receiving end is smaller than the preset threshold, the signal receiving end may also directly filter the frequency point through a filter.
It should be added that, this embodiment is only illustrated by performing modification through the three possible implementation manners, and optionally, the signal receiving end may also perform modification through other modification manners, for example, after the fourier transform value of the compensated differential signal is obtained through calculation, the data length of the selected fourier transform value is adjusted, and then the frequency point at which the compensation factor is smaller than the preset threshold value may also be avoided, which is not limited in this embodiment.
By correcting the output value of the differential signal of which the compensation factor is smaller than the preset threshold value, the problem that the output value of the compensated differential signal has larger error because the amplitude of the output value of the compensated differential signal tends to be infinite is solved.
It should be added that, the differential signal compensation method provided by the above embodiment can be implemented by the processor in the differential signal compensation device shown in fig. 1 calling the respective modules stored in the memory.
Referring to fig. 6, a schematic structural diagram of a differential signal compensation apparatus according to an embodiment of the invention is shown. As shown in fig. 6, the differential signal compensating apparatus may include: an acquisition unit 610 and a compensation unit 620.
An obtaining unit 610, configured to obtain, for each of two differential transmission lines, an attenuation coefficient of a signal amplitude of a single-channel test differential signal transmitted by the differential transmission line in the differential transmission line by the differential transmission line;
the obtaining unit 610 is further configured to obtain a differential time delay factor; the differential time delay factor is the time delay of the two paths of test differential signals when the test differential signals reach the signal receiving end;
a compensating unit 620, configured to compensate the differential signal received by the signal receiving end according to the differential time delay factor obtained by the obtaining unit 610 and each obtained attenuation coefficient.
In summary, the differential signal compensation apparatus provided in this embodiment compensates the output value of the received differential signal according to the obtained attenuation coefficient and the obtained differential time delay factor by obtaining the attenuation coefficient and the differential time delay factor of the signal amplitude of the single-channel test differential signal of each differential transmission line pair; the problem that two paths of differential signals in a signal receiving end in the prior art have time delay is solved; the effect of compensating the differential signal with time delay in the signal receiving end and further avoiding the time delay is achieved.
In addition, the differential signal compensation method provided by the embodiment is used in a signal receiving end, so the method does not need to change the original hardware design of the system, the application scene is flexible, and compared with a scheme of compensating by adding a hardware circuit, the hardware cost of the system is also reduced.
In addition, in this embodiment, no matter whether the attenuation coefficients of the signal amplitudes of the two paths of differential signals in the differential transmission line are consistent, the time delay compensation of the received differential signals can be realized, and the application range is wide.
Meanwhile, in the embodiment, the time delay of the output value of the differential signal is compensated, and meanwhile, the transmission loss in the transmission process is compensated, so that the accuracy of the compensated output value of the differential signal is improved.
Referring to fig. 7, a schematic structural diagram of a differential signal compensation apparatus according to another embodiment of the invention is shown. As shown in fig. 7, the differential signal compensating apparatus may include: an acquisition unit 710 and a compensation unit 720.
An obtaining unit 710, configured to obtain, for each of two differential transmission lines, an attenuation coefficient of a signal amplitude of a single-channel test differential signal transmitted in the differential transmission line by the differential transmission line;
the obtaining unit 710 is further configured to obtain a differential time delay factor; the differential time delay factor is the time delay of the two paths of test differential signals when the test differential signals reach the signal receiving end;
a compensating unit 720, configured to compensate the differential signal received by the signal receiving end according to the differential time delay factor obtained by the obtaining unit 710 and each obtained attenuation coefficient.
Optionally, the apparatus further comprises:
the obtaining unit 710 is further configured to, for each differential transmission line, obtain an amplitude of the test differential signal received by the signal receiving terminal when the signal sending terminal sends the single-channel test differential signal in the differential transmission line separately;
a first calculating unit 730, configured to calculate an attenuation coefficient of a signal amplitude of the test differential signal in the differential transmission line according to the amplitude of the test differential signal sent by the signal sending end and the amplitude of the test differential signal received by the signal receiving end;
a first storage unit 740, configured to store the attenuation coefficient calculated by the first calculation unit 730.
Optionally, the apparatus further comprises:
the obtaining unit 710 is configured to obtain an output value of the test differential signal received by the signal receiving terminal after the test differential signal with a preset frequency is sent to the signal receiving terminal;
a second calculating unit 750, configured to calculate the differential time delay factor according to the preset frequency, an output value of the test differential signal corresponding to the preset frequency, and each attenuation coefficient;
a second storage unit 760, configured to store the differential time delay factor calculated by the second calculation unit 750.
Optionally, the second calculating unit 750 is further configured to:
the differential time delay factor t0N is an integer;
if the preset frequencies are at least two, calculating the numerical value of the differential time delay factor according to the at least two preset frequencies and the output value of the test differential signal corresponding to each preset frequency;
if one preset frequency exists, calculating the numerical value of the differential time delay factor according to the preset frequency, the output value of the test differential signal corresponding to the preset frequency and the preset range of the differential time delay factor;
wherein, A and B are attenuation coefficients of signal amplitude of single-path test differential signals transmitted by two differential transmission line pairs, F is amplitude of transmitted single-path differential signals, and omega isdFor the frequency, Y, of the test differential signaloutIs the output amplitude value of the test differential signal.
Optionally, the compensation unit 720 is further configured to:
compensating the time delay of the received differential signal according to the differential time delay factor and each attenuation coefficient;
alternatively, the first and second electrodes may be,
and compensating the transmission loss and the time delay of the received differential signal according to the differential time delay factor and each attenuation coefficient.
Optionally, the compensation unit 720 is further configured to:
calculating a Fourier transform value of the compensated differential signal according to the differential time delay factor, each attenuation coefficient and the received differential signal, wherein the Fourier transform value is as follows:
performing inverse fourier transform on the fourier transform value to obtain the compensated differential signal, where the compensated differential signal is:
wherein, ω issThe frequency of the differential signal is shown, A and B are attenuation coefficients of signal amplitude of a single-channel test differential signal transmitted by two differential transmission line pairs, and the attenuation coefficients are Fourier transform of the differential signal received by a signal receiving end0For the differential time delay factor, the frequency component of the differential signal sent by the signal sending end is omegasThe signal amplitude of (a).
Optionally, the compensation unit 720 is further configured to:
calculating a Fourier transform value of the compensated differential signal according to the differential time delay factor, each attenuation coefficient and the received differential signal, wherein the Fourier transform value is as follows:
performing inverse fourier transform on the fourier transform value to obtain the compensated differential signal, where the compensated differential signal is:
wherein, ω issThe frequency of the differential signal is shown, A and B are attenuation coefficients of signal amplitude of a single-channel test differential signal transmitted by two differential transmission line pairs, and the attenuation coefficients are Fourier transform of the differential signal received by a signal receiving end0For the differential time delay factor, the frequency of the differential signal sent by the signal sending end is omegasD is the larger of a and B.
Optionally, the apparatus further comprises: a correction unit 770, the correction unit 770 being configured to:
for each frequency point in the differential signals, detecting whether a compensation factor corresponding to the frequency point is smaller than a preset threshold value or not, wherein the compensation factor is
And if the difference value is smaller than the preset threshold value, correcting the output value of the compensated differential signal at the frequency point.
Optionally, the correcting unit 770 is further configured to:
correcting the compensation factor at the frequency point to be an average value of the compensation factors at the left and right adjacent frequency points, wherein the corrected compensation factor at the frequency point is a step of calculating a fourier transform value of the compensated differential signal according to the differential time delay factor, each attenuation coefficient and the received differential signal, and according to the corrected compensation factor at the frequency point; wherein, ω iskFor the frequency, ω, of the differential signal when the compensation factor is less than said preset thresholdk-1Is omegakFrequency, omega, of adjacent left-hand frequency pointsk+1Is omegakThe frequency of the adjacent right frequency point;
alternatively, the first and second electrodes may be,
increasing or decreasing the sampling rate of the signal receiving end by a preset value, resampling the differential signal according to the adjusted sampling rate, and performing the step of calculating the compensated fourier transform value of the differential signal according to the differential time delay factor, each attenuation coefficient and the received differential signal;
alternatively, the first and second electrodes may be,
and filtering the frequency point when the compensation factor is the preset threshold value through a filter.
In summary, the differential signal compensation apparatus provided in this embodiment compensates the output value of the received differential signal according to the obtained attenuation coefficient and the obtained differential time delay factor by obtaining the attenuation coefficient and the differential time delay factor of the signal amplitude of the single-channel test differential signal of each differential transmission line pair; the problem that two paths of differential signals in a signal receiving end in the prior art have time delay is solved; the effect of compensating the differential signal with time delay in the signal receiving end and further avoiding the time delay is achieved.
In addition, the differential signal compensation method provided by the embodiment is used in a signal receiving end, so the method does not need to change the original hardware design of the system, the application scene is flexible, and compared with a scheme of compensating by adding a hardware circuit, the hardware cost of the system is also reduced.
In addition, in this embodiment, no matter whether the attenuation coefficients of the signal amplitudes of the two paths of differential signals in the differential transmission line are consistent, the time delay compensation of the received differential signals can be realized, and the application range is wide.
Meanwhile, in the embodiment, the time delay of the output value of the differential signal is compensated, and meanwhile, the transmission loss in the transmission process is compensated, so that the accuracy of the compensated output value of the differential signal is improved.
By correcting the output value of the differential signal of which the compensation factor is smaller than the preset threshold value, the problem that the output value of the compensated differential signal has larger error because the amplitude of the output value of the compensated differential signal tends to be infinite is solved.
It should be understood that, as used herein, the singular forms "a," "an," "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (27)

  1. A method of differential signal compensation, the method comprising:
    for each differential transmission line in the two differential transmission lines, obtaining the attenuation coefficient of the signal amplitude of the single-channel test differential signal transmitted in the differential transmission line by the differential transmission line;
    acquiring a differential time delay factor; the differential time delay factor is the time delay of the two paths of test differential signals when the test differential signals reach the signal receiving end;
    and compensating the differential signals received by the signal receiving end according to the differential time delay factors and each attenuation coefficient.
  2. The method of claim 1, further comprising:
    for each differential transmission line, acquiring the amplitude of the test differential signal received by the signal receiving end when the signal transmitting end independently transmits the single-path test differential signal in the differential transmission line;
    calculating the attenuation coefficient of the signal amplitude of the test differential signal in the differential transmission line according to the amplitude of the test differential signal sent by the signal sending end and the amplitude of the test differential signal received by the signal receiving end;
    and storing the calculated attenuation coefficient.
  3. The method of claim 1, further comprising:
    acquiring an output value of the test differential signal received by the signal receiving terminal after the test differential signal with a preset frequency is sent to the signal receiving terminal;
    calculating the differential time delay factor according to the preset frequency, the output value of the test differential signal corresponding to the preset frequency and each attenuation coefficient;
    and storing the calculated differential time delay factor.
  4. The method according to claim 3, wherein the calculating the differential time delay factor according to the preset frequency, the output value of the test differential signal corresponding to the preset frequency, and each attenuation coefficient comprises:
    the differential time delay factor t0N is an integer;
    if the preset frequencies are at least two, calculating the numerical value of the differential time delay factor according to the at least two preset frequencies and the output value of the test differential signal corresponding to each preset frequency;
    if one preset frequency exists, calculating the numerical value of the differential time delay factor according to the preset frequency, the output value of the test differential signal corresponding to the preset frequency and the preset range of the differential time delay factor;
    wherein, A and B are attenuation coefficients of signal amplitude of single-path test differential signals transmitted by two differential transmission line pairs, F is amplitude of transmitted single-path differential signals, and omega isdFor the frequency, Y, of the test differential signaloutIs the output amplitude value of the test differential signal.
  5. The method according to any one of claims 1 to 4, wherein the compensating the differential signal received by the signal receiving end according to the differential time delay factor and each attenuation coefficient comprises:
    compensating the time delay of the received differential signal according to the differential time delay factor and each attenuation coefficient;
    alternatively, the first and second electrodes may be,
    and compensating the transmission loss and the time delay of the received differential signal according to the differential time delay factor and each attenuation coefficient.
  6. The method of claim 5, wherein the compensating the received differential signal for the time delay based on the differential time delay factor and each of the attenuation coefficients comprises:
    calculating a Fourier transform value of the compensated differential signal according to the differential time delay factor, each attenuation coefficient and the received differential signal, wherein the Fourier transform value is as follows:
    performing inverse fourier transform on the fourier transform value to obtain the compensated differential signal, where the compensated differential signal is:
    wherein, ω issThe frequency of the differential signal is shown, A and B are attenuation coefficients of signal amplitude of a single-channel test differential signal transmitted by two differential transmission line pairs, and the attenuation coefficients are Fourier transform of the differential signal received by a signal receiving end0For the differential time delay factor, the frequency component of the differential signal sent by the signal sending end is omegasThe signal amplitude of (a).
  7. The method of claim 5, wherein the compensating the received differential signal for transmission loss and time delay according to the differential time delay factor and each attenuation coefficient comprises:
    calculating a Fourier transform value of the compensated differential signal according to the differential time delay factor, each attenuation coefficient and the received differential signal, wherein the Fourier transform value is as follows:
    performing inverse fourier transform on the fourier transform value to obtain the compensated differential signal, where the compensated differential signal is:
    wherein, ω issFor the frequency of the differential signal, A and B are two differential transmission linesThe attenuation coefficient of the signal amplitude of the transmitted single-path test differential signal is the Fourier transform, t, of the differential signal received by the signal receiving end0For the differential time delay factor, the frequency of the differential signal sent by the signal sending end is omegasD is the larger of a and B.
  8. The method of claim 6 or 7, wherein before calculating the compensated Fourier transform value of the differential signal from the differential time delay factor, each of the attenuation coefficients, and the received differential signal, the method further comprises:
    for each frequency point in the differential signals, detecting whether a compensation factor corresponding to the frequency point is smaller than a preset threshold value or not, wherein the compensation factor is
    And if the difference value is smaller than the preset threshold value, correcting the output value of the compensated differential signal at the frequency point.
  9. The method according to claim 8, wherein the modifying the compensated output value of the differential signal at the frequency point comprises:
    correcting the compensation factor at the frequency point to be an average value of the compensation factors at the left and right adjacent frequency points, wherein the corrected compensation factor at the frequency point is a step of calculating a fourier transform value of the compensated differential signal according to the differential time delay factor, each attenuation coefficient and the received differential signal, and according to the corrected compensation factor at the frequency point; wherein, ω iskFor the frequency, ω, of the differential signal when the compensation factor is less than said preset thresholdk-1Is omegakFrequency, omega, of adjacent left-hand frequency pointsk+1Is omegakThe frequency of the adjacent right frequency point;
    alternatively, the first and second electrodes may be,
    increasing or decreasing the sampling rate of the signal receiving end by a preset value, resampling the differential signal according to the adjusted sampling rate, and performing the step of calculating the compensated fourier transform value of the differential signal according to the differential time delay factor, each attenuation coefficient and the received differential signal;
    alternatively, the first and second electrodes may be,
    and filtering the frequency point when the compensation factor is the preset threshold value through a filter.
  10. An apparatus for compensating a differential signal, the apparatus comprising: a receiver and a processor;
    the receiver is used for acquiring the attenuation coefficient of the differential transmission line to the signal amplitude of the single-channel test differential signal transmitted in the differential transmission line for each of the two differential transmission lines;
    the receiver is further configured to obtain a differential time delay factor; the differential time delay factor is the time delay of the two paths of test differential signals when the test differential signals reach the signal receiving end;
    the processor is further configured to compensate the differential signal received by the signal receiving end according to the differential time delay factor obtained by the obtaining unit and each obtained attenuation coefficient.
  11. The apparatus of claim 10,
    the receiver is further configured to, for each differential transmission line, obtain an amplitude of the test differential signal received by the signal receiving terminal when the signal sending terminal sends the single-path test differential signal in the differential transmission line alone;
    the processor is further configured to calculate an attenuation coefficient of the signal amplitude of the test differential signal in the differential transmission line according to the amplitude of the test differential signal sent by the signal sending end and the amplitude of the test differential signal received by the signal receiving end;
    the apparatus further comprises a memory:
    the processor is further configured to store the calculated attenuation coefficient in the memory.
  12. The apparatus of claim 10,
    the receiver is further configured to obtain an output value of the test differential signal received by the signal receiving terminal after the test differential signal with a preset frequency is sent to the signal receiving terminal;
    the processor is further configured to calculate the differential time delay factor according to the preset frequency, the output value of the test differential signal corresponding to the preset frequency, and each attenuation coefficient;
    the apparatus further comprises a memory:
    the processor is further configured to store the calculated differential time delay factor in the memory.
  13. The apparatus of claim 12, wherein the processor is further configured to:
    the differential time delay factor t0N is an integer;
    if the preset frequencies are at least two, calculating the numerical value of the differential time delay factor according to the at least two preset frequencies and the output value of the test differential signal corresponding to each preset frequency;
    if one preset frequency exists, calculating the numerical value of the differential time delay factor according to the preset frequency, the output value of the test differential signal corresponding to the preset frequency and the preset range of the differential time delay factor;
    wherein, A and B are attenuation coefficients of signal amplitude of single-path test differential signals transmitted by two differential transmission line pairs, F is amplitude of transmitted single-path differential signals, and omega isdFor the frequency, Y, of the test differential signaloutIs the output amplitude value of the test differential signal.
  14. The apparatus of any of claims 10 to 13, wherein the processor is further configured to:
    compensating the time delay of the received differential signal according to the differential time delay factor and each attenuation coefficient;
    alternatively, the first and second electrodes may be,
    and compensating the transmission loss and the time delay of the received differential signal according to the differential time delay factor and each attenuation coefficient.
  15. The apparatus of claim 14, wherein the processor is further configured to:
    calculating a Fourier transform value of the compensated differential signal according to the differential time delay factor, each attenuation coefficient and the received differential signal, wherein the Fourier transform value is as follows:
    performing inverse fourier transform on the fourier transform value to obtain the compensated differential signal, where the compensated differential signal is:
    wherein, ω issThe frequency of the differential signal is shown, A and B are attenuation coefficients of signal amplitude of a single-channel test differential signal transmitted by two differential transmission line pairs, and the attenuation coefficients are Fourier transform of the differential signal received by a signal receiving end0For the differential time delay factor, the frequency component of the differential signal sent by the signal sending end is omegasThe signal amplitude of (a).
  16. The apparatus of claim 14, wherein the processor is further configured to:
    calculating a Fourier transform value of the compensated differential signal according to the differential time delay factor, each attenuation coefficient and the received differential signal, wherein the Fourier transform value is as follows:
    performing inverse fourier transform on the fourier transform value to obtain the compensated differential signal, where the compensated differential signal is:
    wherein, ω issAttenuation system for signal amplitude of single-channel test differential signal transmitted by two differential transmission line pairsNumber, which is the Fourier transform of the differential signal received by the signal receiving end, t0For the differential time delay factor, the frequency of the differential signal sent by the signal sending end is omegasD is the larger of a and B.
  17. The apparatus of claim 15 or 16, wherein the processor is further configured to:
    for each frequency point in the differential signals, detecting whether a compensation factor corresponding to the frequency point is smaller than a preset threshold value or not, wherein the compensation factor is
    And if the difference value is smaller than the preset threshold value, correcting the output value of the compensated differential signal at the frequency point.
  18. The apparatus of claim 17, wherein the processor is further configured to:
    correcting the compensation factor at the frequency point to be an average value of the compensation factors at the left and right adjacent frequency points, wherein the corrected compensation factor at the frequency point is a step of calculating a fourier transform value of the compensated differential signal according to the differential time delay factor, each attenuation coefficient and the received differential signal, and according to the corrected compensation factor at the frequency point; wherein, ω iskFor the frequency, ω, of the differential signal when the compensation factor is less than said preset thresholdk-1Is omegakFrequency, omega, of adjacent left-hand frequency pointsk+1Is omegakThe frequency of the adjacent right frequency point;
    alternatively, the first and second electrodes may be,
    increasing or decreasing the sampling rate of the signal receiving end by a preset value, resampling the differential signal according to the adjusted sampling rate, and performing the step of calculating the compensated fourier transform value of the differential signal according to the differential time delay factor, each attenuation coefficient and the received differential signal;
    alternatively, the first and second electrodes may be,
    and filtering the frequency point when the compensation factor is the preset threshold value through a filter.
  19. An apparatus for compensating a differential signal, the apparatus comprising:
    the device comprises an obtaining unit, a judging unit and a judging unit, wherein the obtaining unit is used for obtaining the attenuation coefficient of the differential transmission line to the signal amplitude of the single-channel test differential signal transmitted in the differential transmission line;
    the acquiring unit is further used for acquiring a differential time delay factor; the differential time delay factor is the time delay of the two paths of test differential signals when the test differential signals reach the signal receiving end;
    and the compensation unit is used for compensating the differential signals received by the signal receiving end according to the differential time delay factors acquired by the acquisition unit and each acquired attenuation coefficient.
  20. The apparatus of claim 19, further comprising:
    the obtaining unit is further configured to obtain, for each differential transmission line, an amplitude of the test differential signal received by the signal receiving terminal when the signal sending terminal sends the single-path test differential signal in the differential transmission line alone;
    the first calculating unit is configured to calculate an attenuation coefficient of a signal amplitude of the test differential signal in the differential transmission line according to the amplitude of the test differential signal sent by the signal sending end and the amplitude of the test differential signal received by the signal receiving end;
    and the first storage unit is used for storing the attenuation coefficient calculated by the first calculation unit.
  21. The apparatus of claim 19, further comprising:
    the acquiring unit is configured to acquire an output value of the test differential signal received by the signal receiving terminal after the test differential signal with a preset frequency is sent to the signal receiving terminal;
    the second calculating unit is used for calculating the differential time delay factor according to the preset frequency, the output value of the test differential signal corresponding to the preset frequency and each attenuation coefficient;
    and the second storage unit is used for storing the differential time delay factor calculated by the second calculation unit.
  22. The apparatus of claim 21, wherein the second computing unit is further configured to:
    the differential time delay factor t0N is an integer;
    if the preset frequencies are at least two, calculating the numerical value of the differential time delay factor according to the at least two preset frequencies and the output value of the test differential signal corresponding to each preset frequency;
    if one preset frequency exists, calculating the numerical value of the differential time delay factor according to the preset frequency, the output value of the test differential signal corresponding to the preset frequency and the preset range of the differential time delay factor;
    wherein, A and B are attenuation coefficients of signal amplitude of single-path test differential signals transmitted by two differential transmission line pairs, F is amplitude of transmitted single-path differential signals, and omega isdFor the frequency, Y, of the test differential signaloutIs the output amplitude value of the test differential signal.
  23. The apparatus of any one of claims 19 to 22, wherein the compensation unit is further configured to:
    compensating the time delay of the received differential signal according to the differential time delay factor and each attenuation coefficient;
    alternatively, the first and second electrodes may be,
    and compensating the transmission loss and the time delay of the received differential signal according to the differential time delay factor and each attenuation coefficient.
  24. The apparatus of claim 23, wherein the compensation unit is further configured to:
    calculating a Fourier transform value of the compensated differential signal according to the differential time delay factor, each attenuation coefficient and the received differential signal, wherein the Fourier transform value is as follows:
    performing inverse fourier transform on the fourier transform value to obtain the compensated differential signal, where the compensated differential signal is:
    wherein, ω issThe frequency of the differential signal is shown, A and B are attenuation coefficients of signal amplitude of a single-channel test differential signal transmitted by two differential transmission line pairs, and the attenuation coefficients are Fourier transform of the differential signal received by a signal receiving end0For the differential time delay factor, the frequency component of the differential signal sent by the signal sending end is omegasThe signal amplitude of (a).
  25. The apparatus of claim 23, wherein the compensation unit is further configured to:
    calculating a Fourier transform value of the compensated differential signal according to the differential time delay factor, each attenuation coefficient and the received differential signal, wherein the Fourier transform value is as follows:
    performing inverse fourier transform on the fourier transform value to obtain the compensated differential signal, where the compensated differential signal is:
    wherein, ω issThe frequency of the differential signal is shown, A and B are attenuation coefficients of signal amplitude of a single-channel test differential signal transmitted by two differential transmission line pairs, and the attenuation coefficients are Fourier transform of the differential signal received by a signal receiving end0For the differential time delay factor, the frequency of the differential signal sent by the signal sending end is omegasD is the larger of a and B.
  26. The apparatus of claim 24 or 25, further comprising: a correction unit configured to:
    for each frequency point in the differential signals, detecting whether a compensation factor corresponding to the frequency point is smaller than a preset threshold value or not, wherein the compensation factor is
    And if the difference value is smaller than the preset threshold value, correcting the output value of the compensated differential signal at the frequency point.
  27. The apparatus of claim 26, wherein the modification unit is further configured to:
    correcting the compensation factor at the frequency point to be an average value of the compensation factors at the left and right adjacent frequency points, wherein the corrected compensation factor at the frequency point is a step of calculating a fourier transform value of the compensated differential signal according to the differential time delay factor, each attenuation coefficient and the received differential signal, and according to the corrected compensation factor at the frequency point; wherein, ω iskFor the frequency, ω, of the differential signal when the compensation factor is less than said preset thresholdk-1Is omegakFrequency, omega, of adjacent left-hand frequency pointsk+1Is omegakThe frequency of the adjacent right frequency point;
    alternatively, the first and second electrodes may be,
    increasing or decreasing the sampling rate of the signal receiving end by a preset value, resampling the differential signal according to the adjusted sampling rate, and performing the step of calculating the compensated fourier transform value of the differential signal according to the differential time delay factor, each attenuation coefficient and the received differential signal;
    alternatively, the first and second electrodes may be,
    and filtering the frequency point when the compensation factor is the preset threshold value through a filter.
CN201680078074.4A 2016-04-14 2016-04-14 Differential signal compensation method and device Active CN108476181B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/079302 WO2017177422A1 (en) 2016-04-14 2016-04-14 Differential signal compensation method and apparatus

Publications (2)

Publication Number Publication Date
CN108476181A true CN108476181A (en) 2018-08-31
CN108476181B CN108476181B (en) 2020-08-25

Family

ID=60041321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201680078074.4A Active CN108476181B (en) 2016-04-14 2016-04-14 Differential signal compensation method and device

Country Status (2)

Country Link
CN (1) CN108476181B (en)
WO (1) WO2017177422A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112448901A (en) * 2019-08-29 2021-03-05 华为技术有限公司 Channel compensation method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113572714B (en) * 2021-06-29 2022-09-30 紫光展锐(重庆)科技有限公司 Signal compensation method, device, equipment, storage medium, chip and module equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060221944A1 (en) * 2005-03-30 2006-10-05 Intel Corporation Differential delay compensation
CN101179297A (en) * 2006-11-09 2008-05-14 索尼株式会社 Data receiving device
US7529329B2 (en) * 2004-08-10 2009-05-05 Applied Micro Circuits Corporation Circuit for adaptive sampling edge position control and a method therefor
CN101425988A (en) * 2007-10-31 2009-05-06 华为技术有限公司 Method and system for eliminating differential transmission time delay difference
CN105094014A (en) * 2015-07-30 2015-11-25 中国科学院电子学研究所 High-speed parallel D/A clock synchronization apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7529329B2 (en) * 2004-08-10 2009-05-05 Applied Micro Circuits Corporation Circuit for adaptive sampling edge position control and a method therefor
US20060221944A1 (en) * 2005-03-30 2006-10-05 Intel Corporation Differential delay compensation
CN101179297A (en) * 2006-11-09 2008-05-14 索尼株式会社 Data receiving device
CN101425988A (en) * 2007-10-31 2009-05-06 华为技术有限公司 Method and system for eliminating differential transmission time delay difference
CN105094014A (en) * 2015-07-30 2015-11-25 中国科学院电子学研究所 High-speed parallel D/A clock synchronization apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112448901A (en) * 2019-08-29 2021-03-05 华为技术有限公司 Channel compensation method and device
CN112448901B (en) * 2019-08-29 2022-04-05 华为技术有限公司 Channel compensation method and device

Also Published As

Publication number Publication date
CN108476181B (en) 2020-08-25
WO2017177422A1 (en) 2017-10-19

Similar Documents

Publication Publication Date Title
US10447523B2 (en) IQ mismatch correction module
CN111133692B (en) Image distortion correction in a wireless terminal
US11012201B2 (en) Wideband quadrature error detection and correction
US11099065B2 (en) Method and system for balancing optical receiver
WO2014145350A1 (en) Quadrature error detection and correction
EP2830227B1 (en) Wideband quadrature error detection and correction
US8537728B2 (en) Communication apparatus with echo cancellation and method thereof
CN108476181B (en) Differential signal compensation method and device
CN109729032B (en) Method and device for correcting frequency offset estimation value and computer readable storage medium
US8305113B1 (en) Intra-pair skew cancellation technique for differential signaling
US9036733B2 (en) Method of reducing signal imbalance in wireless communication system
JP5904804B2 (en) Calibration system for calibration path of phased array antenna
US10551470B2 (en) Calibration apparatus, calibration system and method for calibrating at least one of the signal generator and a signal analyzer
US10924320B2 (en) IQ mismatch correction module
WO2008028056A2 (en) Automated interferometric noise measurement
KR101957290B1 (en) Cross-eye jamming system
TWI355811B (en) Apparatus with tunable filter and related adjustin
WO2016062033A1 (en) Frequency compensation processing method and device
CN109495421B (en) In-phase component and quadrature component mismatch compensation device and method
US11196496B2 (en) Frequency selective system
CN113572714B (en) Signal compensation method, device, equipment, storage medium, chip and module equipment
WO2023249509A1 (en) Method for polarization control and related device
EP4068637A1 (en) Baseline drift elimination apparatus and receiver
CN118214384A (en) Circuit for correcting amplitude imbalance and phase imbalance
CN118041464A (en) Radio frequency signal correction device, method and radio frequency transmitting device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant