Background of the Invention
1. Field of the Invention
The present invention relates to interface circuits for receiving high data rate signals from long lengths of cable, and in particular, interface circuits for receiving high data rate, baseband, binary encoded data signals from long lengths of cable.
2. Description of the Related Art
Recovering data which has been transmitted over a long length of cable at high rates requires that such data be equalized in order to compensate for the loss and phase dispersion of the cable. Further, in those applications where the cable length may vary, such equalization must be based upon a complementary transfer function which is capable of adapting accordingly since the transfer function of the cable varies with the length of the cable. This equalizing is generally done using three functions: a filter function; a dc restoration and slicing function; and an adaptation control, or servo, function.
The filter function is performed using a complementary (with respect to the complex cable loss characteristic) filter which synthesizes the inverse of the transfer function of the cable. Since the bit error rate (BER) is directly related to jitter, an important performance metric for an equalizer is jitter within the output waveform. The extent to which the equalizer is able to match the inverse of the complex cable loss characteristic determines the extent to which inter-symbol interference induced jitter is eliminated.
Conventional equalizers use gm/C types of continuous time filters or finite impulse response (FIR) filters. However, these types of filter structures tend to be complex and have difficulty maintaining the required balance among the desired operating characteristics, such as output jitter, compensation for process and temperature variations, and optimization of the signal-to-noise ratio (SNR).
As for the dc restoration and slicing function, referring to FIG. 1, it is well known that ac coupling a digital data stream with variations in pattern density creates baseline wander. For example, if the waveform labelled `A` is presented to the input of the RC ac coupling network, then the waveform labelled `B` results. If the waveform has finite rise times, then the baseline wander will cause jitter in the output. The output jitter arises because a comparator connected to `B` will slice the data at different amplitude points along the waveform edges, and the finite rise and fall times of such edges translate the amplitude slicing variations to timing variations.
Referring to FIG. 2, one conventional technique for eliminating baseline wander is to use a quantized feedback circuit as shown. The simple architecture of such a circuit provides positive feedback around the comparator so that very little charging current flows through the ac coupling capacitor. In other words, the comparator provides its own dc restoration.
Referring to FIG. 3, there is, however, a start-up problem associated with the use of quantized feedback. For example, if the comparator starts out in a state opposite that of the input state, then the output may never transition between states at all because the ac coupled input never crosses the comparator threshold. This situation is aggravated by sparse patterns of the type as shown in FIG. 3.
As for the adaptation control, or servo, function, conventional adaptive equalizers use a peak detection technique in which a control voltage is produced which is proportional to the pulse height of the equalized data signal. However, such a peak detection servo is sensitive to amplitude errors in the incoming data signal.
Summary of the Invention
In accordance with the present invention, an adaptive cable equalizer is provided with a simple equalizing filter architecture, wherein a single control structure controls the adaptation of the filter for compensating for cable length while simultaneously compensating for process and temperature variations, and optimizes the SNR at any cable length by controlling biasing current sources. Further, this adaptive cable equalizer uses a two-stage quantized feedback architecture which eliminates start-up problems and optimizes output levels to obtain optimal dc restoration while simultaneously allowing for independent optimization of the output levels of the recovered data in accordance with other requirements as desired. Further still, a servo section compares the edges of the output signals from the filter and comparator to generate an adaptive control signal.
An adaptive cable equalizer in accordance with one embodiment of the present invention incorporates an analog adaptive equalizing filter for accurately synthesizing the inverse transfer function of cables ranging in length from zero meters to lengths which attenuate the signal by 40 decibels (dB) at 200 megahertz (MHz). (This corresponds to approximately 300 meters of Belden 8281 cable or 120 meters of CAT5 UTP cable.) Data rates up to and beyond 400 megabits per second (Mbps) are supported and the adaptive behavior automatically compensates for different cable lengths as well as process variations (with respect to the process(es) used for fabricating the equalizer in a monolithic form) and temperature variations. In one embodiment, measured peak-to-peak jitter in the recovered data after equalizing data transmitted through 200 meters of Belden 8281 cable at 270 Mbps was less than 200 picoseconds (ps) peak-to-peak.
These and other features and advantages of the present invention will be understood upon consideration of the following detailed description of the invention and the accompanying drawings.
Brief Description of the Drawings
FIG. 1 illustrates exemplary input and output data signal waveforms for a conventional ac coupling circuit.
FIG. 2 illustrates exemplary input and output data signal waveforms for a conventional quantized feedback circuit.
FIG. 3 illustrates exemplary input and output data signal waveforms for the conventional quantized feedback circuit of FIG. 2 when experiencing start-up problems.
FIG. 4 is a functional block diagram of an adaptive filter structure for synthesizing an inverse filter for an adaptive cable equalizer.
FIG. 5 is a graph representing the transfer functions of three high pass filters as used in an adaptive cable equalizer in accordance with one embodiment of the present invention.
FIG. 6 is a graph of an inverse magnitude response for 150 meters of Belden 8281 cable.
FIG. 7 is a graph of an exemplary low-band synthesis of the inverse cable response.
FIG. 8 is a graph of an exemplary low-band and mid-band synthesis of the inverse cable response.
FIG. 9 is a graph of an exemplary low-band, mid-band and high-band synthesis of the inverse cable response.
FIG. 10 is a graph of the optimum weights derived for one adaptive filter section in an adaptive cable equalizer in accordance with one embodiment of the present invention for cable lengths ranging from zero to 150 meters (Belden 8281).
FIG. 11 is a graph of three weights after being normalized to their respective values at a cable length of 150 meters.
FIG. 12 is a functional block diagram of an inverse filter for an adaptive cable equalizer in accordance with one embodiment of the present invention.
FIG. 13 is a graph of the three weights after being normalized to their respective values at a cable length of 150 meters with the optimum weight .alpha. for the single weight structure superimposed.
FIG. 14 is a schematic diagram of adaptive filter circuitry for a fully differential implementation of an adaptive cable equalizer in accordance with one embodiment of the present invention.
FIG. 15 is a schematic diagram of the adaptive filter circuitry of FIG. 14 with the unity gain signal path highlighted.
FIG. 16 is a schematic diagram of the adaptive filter circuitry of FIG. 14 with the weighted filter signal path highlighted.
FIG. 17 is a schematic diagram of the adaptive filter circuitry of FIG. 14 with the four quadrant multiplier highlighted.
FIG. 18 is a schematic diagram of the adaptive filter circuitry of FIG. 14 with the biasing current sources highlighted.
FIG. 19 is a schematic diagram of a two-stage quantized feedback architecture for an adaptive cable equalizer in accordance with one embodiment of the present invention.
FIG. 20 is a schematic diagram of a full differential implementation of a two-stage quantized feedback comparator for use in an adaptive cable equalizer in accordance with one embodiment of the present invention.
FIG. 21 is a functional block diagram of a servo block for use in an adaptive cable equalizer in accordance with one embodiment of the present invention.
FIG. 22 is a functional block diagram of a full adaptive equalizer in accordance with one embodiment of the present invention.
FIG. 23 is a graph of measured output jitter versus cable length at a data rate of 270 Mbps for an adaptive cable equalizer in accordance with one embodiment of the present invention.
Detailed Description of the Invention
Referring to FIG. 4, in accordance with one embodiment of the present invention, an inverse filter for a cable equalizer provides programmable frequency boost to synthesize the inverse cable response. A unity gain signal path is summed with several weighted high pass filter signal paths. At zero cable length, all of the weights W.sub.i are set to zero and only the unity gain path is active. At increasing cable lengths, the outputs of the high pass filters h.sub.i (s) are weighted in some optimum fashion to provide the necessary frequency boost.
The equation approximating the cable loss characteristic is
where k is a constant set by the cable, l is the cable length, and f is frequency. This equation yields the familiar cable attenuation result: the attenuation in dB is proportional to the square-root of the frequency. The slope of the attenuation curve derived from this equation is -1.15A dB per decade, where A is the cable attenuation at a point on the curve. Thus, at the point where the cable attenuation is 40 dB, the slope of the response is -46 dB per decade. In one embodiment of the present invention, the equalizing filter employs a cascade of two identical filters, each approximating [C(f)].sup.-1/2. Each stage has a maximum response slope of +20 dB per decade. Consequently, the cascade of two stages begins to depart from the inverse cable attenuation characteristic at the point where the cable attenuation is 40 dB.
The architecture for a single equalizing filter stage as shown in FIG. 4 is capable of adaptively synthesizing [C(f)].sup.-1/2. Each h.sub.i (s) block is a high pass filter, with a zero at the origin and a pole at p.sub.i. The p.sub.i singularities are spaced uniformly on a log frequency axis. In a sense, the equalizing filter stage is a set of high pass basis functions which may be weighted and summed to construct an arbitrary filter response. Adapting the filter to varying cable lengths can be accomplished by adjusting the W.sub.i weights. In order to simplify the adaptation of the filter each W.sub.i weight is fixed for the optimum response at the maximum cable length and a single weight is applied to the entire filter section. The value of such a single weight, .alpha., ranges from zero to unity as the total cable length ranges from zero to a maximum. This approach results in slightly less than optimum filter performance at intermediate cable lengths, but still yields excellent performance with a simple topology.
Referring to FIG. 5, three high pass filters are used, the corner frequencies of which are spaced on a log frequency axis as shown. In the discussion that follows these will be referred to as the low-band [h.sub.1 (s)], mid-band [h.sub.2 (s)] and high-band [h.sub.3 (s)] filters.
Referring to FIG. 6, with an inverse magnitude response for 150 meters of Belden 8281 cable being as shown, then with the weight W.sub.1 for the low-band filter [h.sub.1 (s)] set at 0.2 and the remaining weights W.sub.2, W.sub.3 set at zero, the low frequency response of the cable is approximated as shown in FIG. 7. Adding 0.62 times (W.sub.2) the mid-band filter [h.sub.2 (s)] improves the synthesis out to the mid frequency range as shown in FIG. 8. Adding 12.1 times (W.sub.3) the high-band filter [h.sub.3 (s)] provides a good approximation to the inverse response out to about 200 MHz as shown in FIG. 9.
The maximum response slope achievable with this architecture (FIG. 4) is 20 dB per decade. Synthesizing the inverse response of up to 300 meters of cable, which is the objective, e.g. for Belden 8281 cable, requires a maximum response slope of 40 dB per decade at about 200 MHz. Thus, using two identical cascaded filter sections, each synthesizing the inverse response for a maximum of 150 meters of cable length, will produce an equalizer capable of compensating for up to 300 meters of cable. It should be understood that further filter sections could be used to synthesize the inverse response for even longer lengths of cable.
The optimum weights W.sub.i are those which provide minimum jitter in the recovered output data. Not accounting for noise induced jitter effects, the more accurately the equalizer synthesizes the inverse cable response, the lower the jitter. Optimum weights W.sub.i for the high pass filters h.sub.i (s) are those weights W.sub.i which minimize the error in the inverse response in some fashion. In practice, it is generally best to minimize the mean square error on a log frequency scale (as opposed to a linear frequency scale). The derivation of the optimum weights W.sub.i may be performed using well known techniques (e.g. linear algebra) to minimize the inverse response error.
Referring to FIG. 10, the optimum weights derived for one adaptive filter section for cable lengths ranging from zero to 150 meters are as shown. The first weight W.sub.1 is that for the low-band filter h.sub.1 (s), the second weight W.sub.2 is that for the mid-band filter h.sub.2 (s) and the third weight W.sub.3 is that for the high-band filter h.sub.3 (s).
Referring to FIG. 11, the plot shown results if the three weights W.sub.1, W.sub.2, W.sub.3 are normalized to their respective values at a cable length of 150 meters. The vertical axis now ranges from a value of zero at zero cable length, to a value of one at 150 meters.
Referring to FIG. 12, if the normalized weights (FIG. 11) followed identical trajectories, then independent weighting of the filters h.sub.i (s) would not be necessary and the architecture as shown could be used instead. As shown, each filter h.sub.i (s) is weighted with a fixed weight which is the optimum weight for 150 meters of cable (W.sub.1 =0.21, W.sub.2 =0.62 and W.sub.3 =12.1, per the discussion above) and the outputs are summed. A single weight, alpha (.alpha.), is then applied. This weight a ranges from a value of zero, for zero cable length, to a value of one, for a cable length of 150 meters. This single programmable weight structure results in a much simpler overall circuit topology than would result from one using the three independent weights.
Referring to FIG. 13, the optimum weight a (which minimizes the mean square response error) for the single weight structure is shown superimposed on the optimum normalized weights previously derived. The single weight .alpha. tends to track the high-band filter weight W.sub.3 with a bias towards the low-band W.sub.1 and mid-band W.sub.2 weights. While such filter weighting is somewhat suboptimum at medium cable lengths, simulations have shown that this results in only a small increase in jitter at medium cable lengths relative to that resulting from the use of optimum weights W.sub.i. Hence, the simplification in circuit topology which results from this architecture warrants such a slight increase in jitter at moderate cable lengths.
Referring to FIG. 14, the adaptive filter circuitry for a fully differential implementation is as shown. The differential input phases IN+ and IN- are applied at the bases of transistors Q1/Q2 and Q11/Q12, respectively, and the differential output phases OUT- and OUT+ are taken off the emitters of buffer transistors Q14 and Q17, respectively.
Referring to FIG. 15, the unity gain signal path in the circuit of FIG. 14 is highlighted. It is a cascoded, degenerated differential pair (composed of transistors Q1, Q12, Q15 and Q16, and resistors R0 and 2R0).
Referring to FIG. 16, the weighted filter signal path in the circuit of FIG. 14 is highlighted. Three high-pass filters are implemented here (composed of transistors Q4, Q5, Q8, Q9, Q15 and Q16, resistors R0, R1, R2 and R3, and capacitors C1, C2 and C3). The high pass corner frequencies are set by the RC products of the resistors R.sub.n and capacitor C.sub.n in the three highlighted parallel branches. The fixed weights W.sub.i for the three high pass filters h.sub.i (s) are set by the resistance ratios of the collector resistor R0 to the resistors R1, R2, R3 in the three highlighted parallel branches.
Referring to FIG. 17, the transistors highlighted form a four quadrant multiplier (composed of transistors Q3-Q10 and current sources I2-I5) for the programmable weighting of the high pass signal path. The highlighted current sources I2-I5 control the weighting coefficients W.sub.i. The noise within the adaptive filter is dominated by the shot noise in the this multiplier.
Referring to FIG. 18, at short cable lengths the biasing current sources highlighted I1, I6, I10, I11 must be held to a relatively high value to support the fast edge rates that are associated with short cables. However, at short cable lengths the incident signal levels are large and noise is not a serious problem. As the cable length increases, the edge rates of the signals become slower due to the longer cable lengths. Therefore, the biasing currents I1, I6, I10, I11 may be decreased to reduce the additive noise. In this particular embodiment, the highlighted current sources I1, I6, I10, I11 are modulated in tandem with the filter weight control to optimize the SNR at any cable length.
The high pass singularities P.sub.1, P.sub.2, P.sub.3, set by the aforementioned RC products, are subject to variation because of the absolute tolerances of the resistors R1, R2, R3 and capacitors C1, C2, C3 that set the high pass corners. In practice, the RC products may vary +/-20% over process variations (e.g. variations in those processes which affect all of these elements similarly, such as when the equalizer is fabricated as a monolithic device). For example, it can be shown that a shift in the location of the pole frequencies by a factor of 1/a corresponds to a shift in cable length by the square root of a. Therefore, the same adaptive control that adapts for cable length variations also adapts for process and temperature variations, i.e. as long as the singularities track one another over process and temperature, which is typically the case, the adaptive loop automatically compensates for the variations.
Referring to FIG. 19, in accordance with one embodiment of the present invention, a two-stage quantized feedback architecture as shown circumvents the aforementioned start-up problem associated with simple quantized feedback architectures. Because there is no positive feedback around the first comparator, which is ac coupled and has self-biasing inputs, it is guaranteed to transition between states even during sparse patterns. While the first comparator may experiences baseline wander, its primary purpose is to provide an estimate of the dc coupled digital waveform, from which the dc content of the waveform may be extracted. The dc content in the waveform from the first comparator is summed with the ac coupled waveform to provide a dc restored signal for the second comparator. The dc content is relatively unaffected by jitter, so jitter at the output of the first comparator is unimportant. The second comparator slices the dc restored data. Also, even if the first comparator begins operation in the wrong state and produces the start-up transient as shown, this system, unlike the conventional system of FIG. 3, rapidly moves to the proper operating condition.
Referring to FIG. 20, a full differential implementation of a two-stage quantized feedback comparator for use in the equalizer is as shown. As discussed above, the first comparator provides an estimate of the dc coupled waveform, from which the dc content is extracted and summed with the ac coupled waveform to produce a dc restored waveform. The dc restored waveform is sliced by the second comparator.
Referring to FIG. 21, in accordance with one embodiment of the present invention, a servo block for comparing the edges of the signals at the comparator input and output in order to develop the control signal .alpha. for the equalizing filter is as shown. Two high pass filters, one in each signal path, effectively aperture the waveform edges. The outputs of the high pass filters are full wave rectified and then subtracted from one another. The result is integrated and fed back to the equalizing filter to complete the adaptive loop. Hence, whereas the equalizing filter and quantized feedback comparator establish the signal path, the servo establishes the control signal for adapting the equalizing filter to varying cable lengths. When properly equalized, the waveform at the comparator input (equalizing filter output) should "look like" the waveform at the comparator output. (It should be understood that the "comparator output" can be the output of either the first comparator, i.e. the dc coupled data estimate, or the second comparator, i.e. the sliced data. While the former may have more jitter than the latter, any such additional jitter makes no material difference since it is the characteristics of the signal edges which are of concern, not the relative timing between them.)
Referring to FIG. 22, in accordance with the foregoing discussion, the full adaptive equalizer can be represented as shown. One embodiment of the equalizer has been fabricated in a 0.8 um/14 GHz BiCMOS process. The device consumes 58 mA of current and is powered by a single 5 Volt supply. A data sheet by the assignee, National Semiconductor Corporation, describing such device forms Appendix A and is incorporated herein by reference.
Referring to FIG. 23, a plot is provided of the measured output jitter versus cable length at a data rate of 270 Mbps. In this case, peak-to-peak jitter is interpreted to mean six times the measured root mean square (RMS) jitter. At 200 meters the peak-to-peak jitter is less than 0.05 unit intervals and at 300 meters the peak-to-peak jitter is less than 0.1 unit intervals. Further improvements in inter-symbol interference induced jitter are possible by adding more filter singularities p.sub.i and by imposing more optimum control on the weighting of such singularities.
Various other modifications and alterations in the structure and method of operation of this invention will be apparent to those skilled in the art without departing from the scope and spirit of the invention. Although the invention has been described in connection with specific preferred embodiments, it should be understood that the invention as claimed should not be unduly limited to such specific embodiments. It is intended that the following claims define the scope of the present invention and that structures and methods within the scope of these claims and their equivalents be covered thereby.