Bias Removal in PRBS Based Channel Estimation

Information

  • Patent Application
  • 20180351667
  • Publication Number
    20180351667
  • Date Filed
    August 08, 2018
    6 years ago
  • Date Published
    December 06, 2018
    6 years ago
Abstract
A system includes a pseudorandom binary sequence (PRBS) generator configured to generate a first PRBS and a second PRBS and an exclusive-OR logic configured to exclusive-OR the first PRBS and the second PRBS to compute a third PRBS. The system also includes an adder, a correlator and a corrector. The adder adds the third PRBS to input data to compute summed data for transmission of the summed data across the channel. The correlator computes the exclusive-OR of the first PRBS and the second PRBS to reproduce the third PRBS and correlates output data from the channel to the reproduced third PRBS to compute a channel gain error and a channel memory error. The corrector extracts the input data from the output data from the channel using the computed channel gain and memory errors.
Description
BACKGROUND

Many systems involve sending data from a source to a destination through a channel. The channel may introduce gain error and memory error to the data being transmitted thereby resulting in a degradation of the signal-to-noise ratio. The accurate recovery of the source input data to the channel at the output of the channel can be difficult.


SUMMARY

In an embodiment, a system includes a pseudorandom binary sequence (PRBS) generator configured to generate a first PRBS and a second PRBS and an exclusive-OR logic configured to exclusive-OR the first PRBS and the second PRBS to compute a third PRBS. The system also includes an adder, a correlator and a corrector. The adder adds the third PRBS to input data to compute summed data for transmission of the summed data across the channel. The correlator computes the exclusive-OR of the first PRBS and the second PRBS to reproduce the third PRBS and correlates output data from the channel to the reproduced third PRBS to compute a channel gain error and a channel memory error. The corrector extracts the input data from the output data from the channel using the computed channel gain and memory errors.


In another embodiment, a system includes a PRBS generator configured to generate a first PRBS and a second PRBS. The system also includes a logic circuit coupled to the PRBS generator. The logic circuit is configured to generate a third PRBS from first PRBS and the second PRBS. The system includes a channel configured to receive input data combined with the third PRBS and to output channel output data. A correlator is included that is coupled to the PRBS generator and is configured to receive the first PRBS and the second PRBS, reproduce the third PRBS using the received first PRBS and the received second PRBS, and correlate the output data from the channel to the reproduced third PRBS to compute a channel gain error and a channel memory error. A corrector is coupled to the correlator and is configured to estimate the input data from the output data from the channel using the computed channel gain and memory errors.


In yet another embodiment, a method includes generating a first PRBS, generating a second PRBS, and generating a third PRBS using the first PRBS and the second PRBS. The method further includes injecting the third PRBS into a channel along with input data, providing the first and second PRBS to a correlator, reproducing, by the correlator, the third PRBS using the provided first PRBS and the provided second PRBS, correlating the output data from the channel to the reproduced third PRBS to compute a channel gain error and a channel memory error, and correcting the output data from the channel using the computed channel gain error and memory error to estimate the input data.





BRIEF DESCRIPTION OF THE DRAWINGS

For a detailed description of various examples, reference will now be made to the accompanying drawings in which:



FIG. 1 shows a system in accordance with various examples; and



FIG. 2 shows a method in accordance with various examples.





DETAILED DESCRIPTION

As noted above, channels can introduce gain and memory error. Such errors may cause a degradation to the signal-to-noise ratio (SNR). Various techniques can be employed to estimate the gain error and the memory error of the channel to thereby counteract the SNR degrading effects. Such techniques involve the use of pseudorandom binary sequences (PRBS). A PRBS may refer to a binary sequence that, while generated with a deterministic algorithm, is difficult to predict and exhibits statistical behavior similar to a truly-random sequence. A PRBS pattern can be added to the input data at the input of the channel, and the channel's output signal is then correlated with the same PRBS pattern to estimate the channel's gain and memory. Once the channel's gain and memory errors are estimated, such errors can be removed from the output signal of the channel. Unfortunately, in some systems, the PRBS values may couple through unwanted paths into the channel. It can be very difficult to ensure that PRBS is not added through undesired pathways into the channel.


The disclosed embodiments address these issues by sending different PRBS into the channel from what is generated by the PRBS generator and sent to a correlator. First and second PRBS values are generated and the first and second PRBS values are uncorrelated to each other. The first and second uncorrelated PRBS values are then exclusive-OR'd to produce a third PRBS value that is uncorrelated to either of the input PRBS values. The resulting third PRBS value is sent into the channel along with the input data. The first and second PRBS values are provided to the correlator which also performs the exclusive-OR operation on the first and second PRBS values to produce the third PRBS value. The correlator correlates the output of the channel with the third PRBS value and the first and the second PRBS values to correct for the effects of channel gain, channel memory, and any coupling of PRBS values into the channel through pathways other than the input of the channel at which the input data is inserted.



FIG. 1 shows an example of a system 100 (e.g., a communication system) in which input data, x(n), is transmitted across a communication channel 110 and corrected based on the principles described herein. The channel may be implemented as part of any type of electronic system such as an analog-to-digital converter (ADC). The channel 110 may comprise a plurality of conductors (e.g., wires, traces on a circuit board or die, etc.), drivers, receivers, amplifiers, residue stages, and the like. The system also includes a PRBS generator 102, exclusive-OR logic 104, an adder 106, a correlator 120, and a corrector 130. These components can be formed from discrete circuit components in some embodiments, or implemented in a controller executing program instructions such as firmware.


The PRBS generator 102 generates PRBS values p1(n) and p2(n). The PRBS values p1(n) may form a first PRBS, and the PRBS values p2(n) may form a second PRBS. The PRBS generator 102 may comprise, for example, one or more linear feedback shift registers (e.g., a Fibonacci linear feedback shift register, a Galois linear feedback shift register, etc.). A linear feedback shift register, as used herein, may refer to a shift register whose input bit is a linear function of its previous state.


In some embodiments, the PRBS generator 102 generates a sequence of random values and some of the values are selected to be p1(n) and other values (e.g., every other value) selected to be p2(n) such that p1(n) and p2(n) are uncorrelated. For example, p1(n) may be a delayed version of p2(n), or vice versa. A property of a PRBS generator is that the PRBS sequence is uncorrelated to its delayed version so that the correlation between p1(n) and p1(n−M) is zero where M is an integer greater than 0. The values of p1(n) and p2(n) are provided to the exclusive-OR logic 104 which computes the exclusive-OR operation on the p1(n) and p2(n) values thereby generating third PRBS values p3(n). The values of p3(n) are uncorrelated to the p1(n) and p2n). The p3(n) values are added by adder 106 to the input data x(n) and injected into the channel 110 as shown.


As noted above, the channel may have a gain and memory error for the input data designated as αg and αm, respectively. The p1(n) and p2(n) values may be inserted into the channel at 107 via an undesirable pathway (i.e., a pathway other than through the adder 106 to the input of the channel. The output of the channel is designated as y(n) and is given by:






y(n)=αg[p3(n)+x(n)]+αm[p3(n−1)+x(n−1)]+βg* TF1*[p1(n)+p2(n)]+βm*TF2*[p1(n−1)+p2(n−1)]  (Eq. 1)


where p3(n−1), p1(n−1), and p2(n−1) represent the immediately previous values of p3, p1, and p2, respectively, and TF1 and TF2 are scaling factors. The first term in Eq. 1 is αg[p3(n) and x(n)] and represents the output of the channel from the combination of the current input x(n) and the current PRBS value p3(n). The second term in Eq. 1 is αm[p3(n−1) and x(n−1)] and represents the output of the channel from the combination of the previous x and p3 values, that is, x(n−1) and p3(n−1). The third term in Eq. 1 is βg*TF1*[p1(n) and p2(n)] and represents the output of the channel from the combination of the current p1 and p2 values through the unintended pathway 107. βg*TF1 is assumed in this equation to be the same for p1(n) as p2(n), but it can be different. If different, p1(n) and p2(n) should be correlated the output data to calculate their respective coefficients. This is true as well for βm*TF2. The fourth term in Eq. 1 is βm*TF2*[p1(n−1) and p2(n−1)] and represents the output of the channel from the combination of the previous p1 and p2 values through the unintended pathway 107. While Eq. 1 only references one previous sample (n−1), the equation is applicable for other previous samples (n−2), (n−3), etc.


Referring still to FIG. 1, the p1(n) and p2(n) values are provided to the correlator 120 as well as to the exclusive-OR logic 104. The channel output y(n) also is provided to the correlator 120. Collectively the correlator 120 and the corrector 130 operate to determine the input values x(n) from the channel output y(n). In Eq. 1 above, y(n) is known as well as p1(n), p1(n−1), p2(n), and p2(n−1). The values p3(n) and p3(n−1) are computed by the correlator 120 based on p1(n), p1(n−1), p2(n), and p2(n−1), and thus known. P3(n) is the result of exclusive-OR'ing p1(n) and p2(n), and p3(n−1) is the result of exclusive-OR'ing p1(n−1) and p2(n−1). Thus, to calculate x(n) from y(n) given Eq. 1, the values of αg, αm, βg*TF1, and βm*TF2 may need to be computed.


In some embodiments, the correlator 120 correlates y(n) with p3(n) to compute ag. The value of p3(n) is included in only one term in Eq. (1) (i.e., αg*p3(n)). All other terms in Eq. (1) do not include p3(n) and thus, other than the term αg*p3(n), y(n) is otherwise uncorrelated with p3(n). Thus, correlating y(n) with p3(n) will result in the determination of αg. Similarly, the value of p3(n−1) is included in only one term in Eq. (1) (i.e., αm*p3(n−1)). All other terms in Eq. (1) do not include p3(n−1) and thus other than the term αm*p3(n−1), y(n) is otherwise uncorrelated with p3(n−1). Thus, correlating y(n) with p3(n−1) will result in the determination of αm. The term βg*TF1 is similarly calculated by correlating y(n) with p1(n) (or p2(n)) to compute βg*TF1. The term βm*TF2 can be calculated by correlating y(n) with p1(n−1) (or p2(n−1)). In some embodiments, the correlator performs these correlations and computes the values of αg, αm, βg*TF1, and βm*TF2. The values of αg, αm, βg*TF1, and βm*TF2 then may be provided to the corrector as shown in FIG. 1.


The corrector 130 then corrects the channel output y(n) as:






y′(n)=y(n)−βg*TF1*[p1(n)+p2(n)]−βm*TF2*[p1(n−1)+p2(n−1)]−αg*p3(n)−αm*p3(n−1)   (Eq. 2)






y″(n)=y′(n)/αg=x(n)+(αm/αg)*x(n−1)   (Eq. 3)






y″′(n)=y″(n)−(αm/αg)*y″(n−1)=x(n)+(αm/αg)2*x(n−2)   (Eq. 4)


where y″′(n) is the corrected channel output. The term y′(n) may be referred to herein as the first intermediate corrected value, and the term y″(n) may be referred to as the second intermediate corrected value. The x(n−2) coefficient may be small enough due to it being squared that, in some embodiments, this last term in Eq. (4) can be ignored (αm/αg)2*x(n−2). The corrected channel output y″′(n) represents an estimate of the input data x(n). That is, the input data has been recalculated by correcting the channel output y(n) for gain and memory errors caused by the channel.



FIG. 2 shows a flow chart depicting an example of a method in accordance with various embodiments. The operations may be performed in the order shown, or in a different order. Further, the operations may be performed sequentially, or two or more of the operations may be performed concurrently.


At 200, the method includes generating PRBS data p1(n) and p2(n). This operation may be performed using, for example, a linear feedback shift register as explained above. The p1(n) stream is generally uncorrelated to the p2(n) stream. At 202, the method includes computing the exclusive-OR of p1(n) and p2(n) to generate p3(n). Because p1(n) and p2(n) are uncorrelated, p(3) also is uncorrelated to either p1(n) or p2(n).


At 204, the method includes adding p3(n) to the input data x(n) and injecting the result into the channel. The initially computed values of p1(n) and p2(n) are also transmitted to the correlator 120 (operation 206). At 208, the correlator exclusive-OR's the received p1(n) with the received p2(n) to compute p3(n), which was injected into the channel along with the input data x(n). The correlator 120 then computes a series of correlations. At 210, the correlator 120 correlates the output of the channel, y(n), with p3(n) to compute αg. At 212, the correlator 120 correlates y(n) with p3(n−1) to compute αm. At 214, the correlator 120 correlates y(n) with p1(n) (or p2(n) to compute βg*TF1. At 216, the correlator 120 correlates y(n) with p1(n−1) (or p2(n−1) to compute βm*TF2.


The values of αg, αm, βg*TF1, and βm*TF2 then may be communicated from the correlator 120 to the corrector 130 and, at 218, the corrector generates the corrected output value y″′(n) as y″(n)−(αm/αg)*y″(n−1)=x(n) +(αm/αg)2*×(n−2) (i.e., Eq. (4) above). Finally, the transmitted data x(n) can then be extracted from the corrected output y″′(n).


Certain terms are used throughout the following description and claims to refer to particular system components. As one skilled in the art will appreciate, different companies may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following discussion and in the claims, the terms “including” and “comprising” are used in an open-ended fashion, and thus should be interpreted to mean “including, but not limited to . . . .” Also, the term “couple” or “couples” is intended to mean either an indirect or direct wired or wireless connection. Thus, if a first device couples to a second device, that connection may be through a direct connection or through an indirect connection via other devices and connections.


The above discussion is meant to be illustrative of the principles and various embodiments of the present invention. Numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to embrace all such variations and modifications.

Claims
  • 1. A system, comprising: a correlator configured to receive a first pseudorandom binary sequence (PRBS) and a second PRBS from a PRBS generator, compute at least one of an exclusive-OR or an exclusive-NOR of the received first PRBS and the received second PRBS to reproduce the third PRBS, and correlate output data from a channel to the reproduced third PRBS to compute at least one of a channel gain error and a channel memory error; anda corrector coupled to the correlator and configured to estimate input data to the channel from the output data from the channel using the computed error.
  • 2. The system of claim 1, wherein: the correlator is configured to correlate the output data from the channel to a current (n) first PRBS or a current (n) second PRBS received from the PRBS generator to compute a second value and correlate the output data from the channel to an (n−1) first PRBS or an (n−1) second PRBS received from the PRBS generator to compute a third value; andthe corrector uses the second value and the third value to estimate the input data.
  • 3. The system of claim 1, wherein the correlator is configured to correlate the output data from the channel to the reproduced third PRBS by: correlation of the output data to a current (n) reproduced third PRBS value to compute the channel gain error; andcorrelation of the output data to an (n−1) reproduced third PRBS value to compute the memory error.
  • 4. The system of claim 1, wherein: the correlator is configured to correlate the output data from the channel to a current (n) first PRBS or a current (n) second PRBS from the PRBS generator to compute a first value, correlate the output data from the channel to an (n−1) first PRBS or an (n−1) second PRBS from the PRBS generator to compute a second value, correlate the output data to a current (n) reproduced third PRBS value to compute the channel gain error, and correlate the output data to an (n−1) reproduced third PRBS value to compute the memory error; andthe corrector is configured to estimate the input data through subtraction of a first factor that includes the first value multiplied by a sum of the current (n) first and second PRBS and through subtraction of a second factor that includes the second value multiplied by a sum of the (n−1) first PRBS and the (n−1) second PRBS.
  • 5. The system of claim 4, wherein the corrector is configured to estimate the input data to the channel through further subtraction of a third factor that includes the gain error multiplied by the current (n) reproduced third PRBS value and by subtraction of a fourth factor that includes the memory error multiplied by the (n−1) reproduced third PRBS value to produce a first intermediate corrected value.
  • 6. The system of claim 5, wherein the corrector is configured to estimate the input data through division of the first intermediate corrected value by the gain error to produce a second intermediate corrected value, and subtraction of the second intermediate corrected value by a ratio of the memory error to the gain error multiplied by a (n−1) second intermediate corrected value.
  • 7. A system, comprising: a pseudorandom binary sequence (PRBS) generator configured to generate a first PRBS and a second PRBS;at least one of an exclusive-OR logic and an exclusive-NOR logic coupled to the PRBS generator and configured to generate a third PRBS as a respective exclusive-OR or exclusive-NOR of the first PRBS and the second PRBS; andan adder configured to add the third PRBS to input data to compute summed data for transmission of the summed data across a channel.
  • 8. A system, comprising: a pseudorandom binary sequence (PRBS) generator configured to generate a first PRBS and a second PRBS;at least one of an exclusive-OR logic and an exclusive-NOR logic coupled to the PRBS generator and configured to generate a third PRBS as a respective exclusive-OR or exclusive-NOR of the first PRBS and the second PRBS;an adder configured to add the third PRBS to input data to compute summed data for transmission of the summed data across the channel;a correlator coupled to the PRBS generator and configured to receive the first PRBS and the second PRBS, compute at least one of an exclusive-OR or an exclusive-NOR of the received first PRBS and the received second PRBS to reproduce the third PRBS, and correlate output data from the channel to the reproduced third PRBS to compute at least one of a channel gain error and a channel memory error; anda corrector coupled to the correlator and configured to estimate the input data from the output data from the channel using the computed error.
  • 9. The system of claim 8, wherein: the correlator is configured to correlate the output data from the channel to a current (n) first PRBS or a current (n) second PRBS received from the PRBS generator to compute a second value and correlate the output data from the channel to an (n−1) first PRBS or an (n−1) second PRBS received from the PRBS generator to compute a third value; andthe corrector uses the second value and the third value to estimate the input data.
  • 10. The system of claim 8, wherein the correlator is configured to correlate the output data from the channel to the reproduced third PRBS by: correlation of the output data to a current (n) reproduced third PRBS value to compute the channel gain error; andcorrelation of the output data to an (n−1) reproduced third PRBS value to compute the memory error.
  • 11. The system of claim 8, wherein: the correlator is configured to correlate the output data from the channel to a current (n) first PRBS or a current (n) second PRBS received from the PRBS generator to compute a first value, correlate the output data from the channel to an (n−1) first PRBS or an (n−1) second PRBS received from the PRBS generator to compute a second value, correlate the output data to a current (n) reproduced third PRBS value to compute the channel gain error, and correlate the output data to an (n−1) reproduced third PRBS value to compute the memory error; andthe corrector is configured to estimate the input data through subtraction of a first factor that includes the first value multiplied by a sum of the current (n) first and second PRBS and through subtraction of a second factor that includes the second value multiplied by a sum of the (n−1) first PRBS and the (n−1) second PRBS.
  • 12. The system of claim 11, wherein the corrector is configured to estimate the input data through further subtraction of a third factor that includes the gain error multiplied by the current (n) reproduced third PRBS value and by subtraction of a fourth factor that includes the memory error multiplied by the (n−1) reproduced third PRBS value to produce a first intermediate corrected value.
  • 13. The system of claim 12, wherein the corrector is configured to estimate the input data through division of the first intermediate corrected value by the gain error to produce a second intermediate corrected value, and subtraction of the second intermediate corrected value by a ratio of the memory error to the gain error multiplied by a (n−1) second intermediate corrected value.
  • 14. The system of claim 8, wherein the PRBS generator includes a linear feedback shift register.
CROSS-REFERENCE TO RELATED APPLICATION(S)

This continuation application claims priority to U.S. patent application Ser. No. 15/395,783, filed Dec. 30, 2016, which is incorporated herein in its entirety.

Continuations (1)
Number Date Country
Parent 15395783 Dec 2016 US
Child 16058007 US