The invention is related generally to the field of signal processing. In one aspect of the invention, apparatus and methods disclosed herein can be implemented for improving the performance of adaptive equalizers.
Various digital signal processing schemes have been developed over the years to improve detection of data encoded in analog signal streams. In particular, equalizers are provided to process the digital signals which are converted from the analog signals. The equalizers can improve signal to noise ratio and enhance the systems' ability to detect data embedded in the analog signals.
A common problem related to reading data from an analog signal stream arises in reading digital data stored in a physical medium. Typically a transducer is used to detect the data encoded in the storage medium. The transducer generates an analog electrical signal representing the data. The analog signal is then converted to a digital signal through an analog to digital converter. A digital filter, such as an equalizer, is then utilized to remove noise and other signal artifacts before a detector (e.g., Viterbi detector) is used to extract the data encoded in the digital signal. An example of such a design is shown in U.S. Pat. No. 6,249,398 B1, entitled “Class of Fixed Partial Response Targets in a PRML Sampled Data Detection Channel”, issued to Fisher et al., dated Jun. 19, 2001. Since noise can be introduced by both the medium itself and the detection process, the performance of the digital filter can be important in removing the noise and improving the performance of the over all system.
For example, in a data storage tape drive the head/tape interface typically has a significant amount of variation over the population of tapes that a given drive sees over its service life. This variation is a result of multiple factors including, but not limited to, surface roughness, coating thickness, head wear, head parametrics, etc. This variation can manifest itself as uncertainty in both the output amplitude and frequency content. In modern read channel design, this issue is addressed by the inclusion of an adaptive equalizer and automatic gain control (AGC), as the parameters that affect the channel response vary within the length of a single tape. This adaptive equalizer is most often driven using a least mean square (LMS) algorithm that attempts to minimize error in the equalized output.
Traditionally an equalizer having some number of taps is combined with an AGC, with the equalizer serving to adapt the frequency response, and the AGC for adapting the amplitude. However, there is a potential complication with this topology: in the equalizer, if all taps are allowed to update, the gain of the equalizer will affect the gain of the AGC, and vice versa. Therefore, when all the taps in the equalizer are allowed to update, the operation of the equalizer is not independent of the operation of the AGC. This interaction may result in a situation where the gain of one moves high, while the other moves low, resulting in either high noise or saturation in the circuits if the final gain is set low. This has led to the practice of fixing some number of the taps in the equalizer. As a result of fixing one or more of the taps, the equalizer cannot accurately control the gain forcing the gain control action into the AGC. In addition, fixing of a specific number taps would lead to constraints in the possible number of solutions in the equalizer, and therefore degrade the performance of the equalizer.
Another potential complication associated with a traditional LMS adaptive equalizer is that the time position of the response is not fixed. This has the ramification that the response may drift about the equalizer until the main portion of the response hits one of the ends (since this is a digital circuit, the output is bounded by the number bits supported by the circuit), at which point the error from the LMS adaptation increases, constraining the response. Again what is typically done to correct this problem is to fix some number of taps, most often a pair of adjacent taps with a large difference, so that the error increases rapidly if the adaptation tries to diverge from this position. This, of course, has the result of constraining the possible number of solutions in the equalizer, so the filter will likely operate in a somewhat degraded fashion from what otherwise would be possible.
A third complication can arise in the presence of a dropout, where there is no information being provided to the LMS adaptive equalizer. Under this condition, the tap weights will drift, possibly tuning into a response from which it cannot return, forcing a recovery action, which can vary from invoking the error correction code (ECC) to executing a back hitch, resetting the equalizer response, and reading the data again. Furthermore, the adapter can also drift when the input to the LMS term is incoherent (i.e., there is not systematic feedback present).
Therefore, there is a need for an LMS adaptive equalizer with improved system stability and performance. In particular, the ability to prevent drifting of the adaptive filter can be desirable. In addition, it may also be desirable in certain applications to provide an equalizer with built-in AGC capability.
Disclosed herein are signal processing apparatuses and methods for improving the detection of encoded data in an analog signal stream. In one variation, the signal processing apparatus comprises an analog to digital converter and a digital equalizer configured to process the digital signal from the analog to digital converter. The digital equalizer includes a finite input response filter having a response profile modifiable by a series of tap weights, each of the tap weights in the series is determined by varying a tap weight reference by a feedback based on an output of the digital equalizer and an estimate of the output. In one variation, the feedback is provided by a least means square comparator comparing the output of the digital equalizer and the estimate of the output. A maximum likelihood detector is connected to the output of the digital equalizer. The maximum likelihood detector processes signal provided by the digital equalizer and outputs the data. The maximum likelihood detector also generates an estimate of the digital equalizer output, which is fed back to the digital equalizer. In one application, the digital equalizer is configured with a plurality of taps and each of the tap weights are adapted to return to a corresponding tap weight reference when the input to the digital equalizer is absent, or when there is no systematic feedback present for the finite input response filter. The tap weight reference may be provided as a vector with multiple elements, where each of the elements represents a tap weight reference value for a corresponding tap in the digital equalizer. In addition, the digital equalizer may be adapted to provide automatic gain control.
In one example, the digital equalizer comprises a plurality of delay elements, a plurality of multipliers, which are coupled to the delay elements, a summation block connected to the plurality of multipliers, a least means square comparator, which compares the output of the summation block with an estimated output and generates an error signal, and a tap weight engine which receives the error and calculates tap weights. The tap weights are applied to the multipliers. The tap weight engine calculates each of the tap weights in relation to a tap weight reference which is a constant value. The tap weight reference is scaled by a gain term that controls the rate at which the tap weights calculated by the tap weight engine returns to the tap weight reference when an input to the digital equalizer is absent or when there is no systematic feedback present for the finite input response filter. In one variation, the digital filter is implemented on an integrated circuit.
In another aspect, methods of determining tap weights for a least means square adaptive equalizer are disclosed herein. In one variation, the method comprises receiving an analog signal and converting the analog signal to a digital signal. A series of tap weights is calculated based on a least means square calculation, which is offset by a tap weight reference. The digital signal is then modulated by a finite input response filter weighted according to the series of tap weights. A maximum likelihood detector is then used to detect data in the signal that has been processed by the finite input response filter. The maximum likelihood detector also calculates an estimated value of the finite input response filter output, which is utilized in the least means square calculation for determining the series of tap weights. In one variation, the tap weights are adapted such that the finite input response filter also provides automatic gain control.
These and other embodiments, features and advantages of the present invention will become more apparent to those skilled in the art when taken with reference to the following more detailed description of the invention in conjunction with the accompanying drawings that are first briefly described.
The following detailed description should be read with reference to the drawings, in which identical reference numbers refer to like elements throughout the different figures. The drawings, which are not necessarily to scale, depict selective embodiments and are not intended to limit the scope of the invention. The detailed description illustrates by way of example, not by way of limitation, the principles of the invention. This description will clearly enable one skilled in the art to make and use the invention, and describes several embodiments, adaptations, variations, alternatives and uses of the invention, including what is presently believed to be the best mode of carrying out the invention.
Magnetic data storage tape drive is used herein as an example application of the LMS adaptive equalizer, in order to illustrate the various aspects of the invention disclosed herein. In light of the disclosure herein, one of ordinary skill in the art would appreciate that the methods and apparatuses disclosed herein can be implemented in various other apparatus or systems for signal processing and decoding of data embedded in a signal.
It must also be noted that, as used in this specification and the appended claims, the singular forms “a,” “an” and “the” include plural referents unless the context clearly dictates otherwise. Thus, for example, the term “a read head” is intended to mean a single read head or a combination of read heads, “an electrical signal” is intended to mean one or more electrical signals, or a modulation thereof.
Referring to
The digital equalizer 4 is implemented as a finite input response filter (FIR) 10 with LMS feedback, as shown in
The tap weight engine 20 calculates the tap weights according to the following equation:
TWk+1=(1−μleak)·(TWk−μlms·ek·Xk)+μleak·TWR (1)
TW is the tap weight vector. μlms is a least means square gain term. e is an error term defined as a difference between the output of the summation block and the estimated output. X is the vector representing the input values to the digital filter. TWR is the tap weight reference vector. μleak is a gain term for the TWR. μleak controls the rate at which, absent any input to the contrary, the tap weight returns to the reference value defined by TWR. k is a time index. As shown in Equation (1), the tap weight engine calculates each of the tap weights in relation to a tap weight reference, TWR. In this example, TWR is a constant value.
In one variation, μleak is a value much less than one, and additionally it is less than μlms, which implies that in normal operation the action of the root LMS equation as defined by μlms is dominant. However, in situations where the error term reverts to noise, such as in a dropout, the μleak term will take over, returning the system to the reference tap values. This also has the advantage of pinning the tap weights in time, as a significant divergence from the reference values will result in significant error, constraining the taps to be close to their initial positions.
To explain the dynamics of this improved digital equalizer, a useful analogy is that each tap (i.e., TW) has a small spring drawing it back toward its reference (i.e., TWR). If the excitation from the LMS is strong, then it will overcome the spring, but when it is weak the leakage term will dominate, returning the response to the prototype filter response, which is defined by the tap weight reference. This design may have one or more of the following advantages: (1) if the LMS has no input, the tap weight returns to its prototype, therefore for those frequency ranges where no information exists, the prototype response dominates; (2) if the response tries to shift in time, all of the springs will deflect, so the force holding the response in place in time is the number of taps times the individual leakage; (3) gain changes involve all taps, requiring a large change from the prototype response which is resisted by the combination of al the springs, so this would correct the issue of interaction between the LMS and AGC. When the LMS equalizer is architected correctly, it can provide additional AGC function, and a separate AGC may not be needed. The apparatus returns to the prototype response if the SNR becomes poor, such as the input to the digital equalizer is absent (e.g., in a dropout), or when there is no systematic feedback present for the finite input response filter (e.g., the data encoding frequency content does not fully drive the LMS). In a situation where the SNR is low, a traditional system may drift about on noise. The above design forces the tap weights towards the reference tap weights and thereby maintains system stability.
In one application, the tap weight reference is provided in an a priori fashion, where an appropriate equalizer has been determined in the lab, and is applied as a starting point, from which the LMS is allowed to adapt during a calibration process while manufacturing the product. The results of this calibration are then written back into a memory on the product, and used as a starting point (i.e., prototype) for subsequent operation. In one variation, the system is calibrated to determine the starting tap weights. The starting tap weights are then utilized both as the tap weight reference and as the initial tap weights supply to the taps in the equalizer at system initiation. In this variation, the tap weights of the equalizer start at the reference tap weights and then moves about the reference tap weights as the equalizer adapts to the input signal. In another variation, the tap weight reference utilizes a separate set of values from the starting tap weights, which are utilized to initialize the taps in the equalizer.
To define the appropriate starting tap weights and/or tap weight reference, a couple of methodologies can be utilized. In the first example, one would execute a “random walk”, where a search of the tap weights is made, and the quality of operation mapped. Alternatively, a characterization process may be undertaken, where a known data pattern is written, and the input of the equalizer is sampled. These samples are then de-convolved with the original written information, and a transfer function calculated. This channel transfer function may then be de-convolved with the desired detection transfer function (as specified by the Viterbi detector), resulting in the form of the equalizer (i.e. tap weights).
In one variation, the constants (i.e., μleak, μlms, and TWR) in Equation (1) are pre-selected such that the equalizer provides AGC on the input signal in addition to the equalizer functionality. The gains associated with the system as an AGC or as an adaptive equalizer are a function of normal feed-back control theory. One of ordinary skill in the art having the benefit of this disclosure would be able to select the appropriate gains to meet the needs of specific design requirement based on the overall system design. The gains selected can be a function of the noise present (both in magnitude and frequency content), and trade-offs can be made between noise rejection, system stability, and acquisition speed, depending on specific application needs.
It should be noted that an LMS adaptive equalizer can function as an AGC when all taps are allowed to update. Many of the LMS adaptive equalizer in the market has one or more fixed taps and therefore cannot provide AGC, since all taps need to change in order to alter just the gain. By utilizing Equation (1) and allowing all the taps to update, the filter functions as an equalizer and an automatic gain controller. The techniques described herein provide system stability while at the same time allows all taps to be updated, therefore freeing the LMS equalizer to control the gain also. This design may allow the separate AGC, which is conventionally provided after the equalizer for gain control, be removed.
One of ordinary skill in the art having the benefit of this disclosure would appreciate that the LMS adaptive digital equalizer disclosed herein can be implemented in various components or systems which require the extraction of data encoded in an analog signal stream. For example, the digital equalizer can be implemented in a data storage magnetic tape drive 30 as shown in
An example is provided below to illustrate the difference between the present LMS adaptive equalizer as compared to a traditional LMS adaptive equalizer. As discussed earlier in one variation, the improved LMS adaptive equalizer disclosed herein utilizes the following equation to update the tap weights:
TWk+1=(1−μleak)·(TWk−μlms·ek·Xk)+μleak·TWR (1)
The central part of the equation is similar to a traditional LMS adaptive equalizer. The equation further includes two gain terms: μlms for the LMS gain, and μleak as a leakage gain. There is also the tap weight reference vector TWR. In the absence of significant input from the LMS term the equalizer will move toward the reference, TWR.
Note that if the leakage gain, μleak, is set to zero, Equation (1) defaults to a traditional LMS:
TWk+1=(TWk−μlms·ek·Xk) (2)
In Equation (2), TW is a vector of tap weight values; μlms is a gain term that controls the bandwidth of the adaptation; e is the error present in the current sample where error is defined as the difference between the actual sample value and the estimated value; and X is the vector of filter input values from which this error was derived. This equation distributes the error across the taps such that the error is apportioned based on the amplitude present on that tap when that error was calculated. In comparison, Equation (1) maintains this aspect of the LMS, which is to say that it is still based on minimizing the error.
To demonstrate the performance of the improved LMS adaptive equalizer disclosed herein, the equalizer is modeled on a computer. In the first demonstration, μleak is set to zero, so the equalizer function like a traditional LMS equalizer with tap weights defined by Equation (2). For this demonstration, μlms is set to 2−6, and the tap values on the equalizing filter are initialized as:
Note that there are a couple of leading zeros in this vector. This was done so that the filter would have a range to drift into.
In the second demonstration, μleak is set to 2−14 instead of zero. As a result, the tap weights in the equalizer are updated by Equation (1). Note, this number, 2−14, is less than one, and it is also less than μlms, which is set to 2−6. In this demonstration the tap weight reference is set to the same values as the initial tap weights.
The initial tap weight vector and the tap weight reference vector can be the same, such as in this demonstration, but need not be the same. As shown in
Close examination of the plot in
As shown in the above demonstration, the improved LMS equalizer can be adapted to provide both AGC functionality and equalizer functionality. The equalizer first function in AGC mode then shift into an LMS adapter mode. The reason for this mode shift is that during the initial lockup of the channel timing and amplitude errors are frequently present. These errors are a significant source of noise to the LMS. The system will work to a lower signal to noise ratio (SNR) if timing and gain errors are adapted before the attempt is made to adapt the equalizer. Therefore, the adapter moves into a mode to correct the amplitude as the PLL (Phase Lock Loop) is correcting the phase, and the complexities of a varying frequency response are not introduced. Once the amplitude and phase are adapted, the system moves into the LMS adaptation mode, and the equalizer response is adjusted.
In another variation, the LMS adaptation is modified such that the LMS adapted FIR filter can operate as just an AGC. This configuration is represented by the following equation:
TWk+1=TWk·(1−μagc·ek·sign(exp)) (3)
Note that μagc is the gain constant that defines the band width in the AGC mode, and exp is the expected value (e.g., an estimate of the output provided by the maximum likelihood detector). In operation, this equation functions to modulate the gain of the signal. In addition, the error is not distributed across the taps, such that the gain of all the taps is changed by the same amount.
As discussed above, one aspect of this invention includes methods of updating tap weights as illustrated in the processes implemented by the above devices.
This invention has been described and specific examples of the invention have been portrayed. While the invention has been described in terms of particular variations and illustrative figures, those of ordinary skill in the art will recognize that the invention is not limited to the variations or figures described. In addition, where methods and steps described above indicate certain events occurring in certain order, those of ordinary skill in the art will recognize that the ordering of certain steps may be modified and that such modifications are in accordance with the variations of the invention. Additionally, certain of the steps may be performed concurrently in a parallel process when possible, as well as performed sequentially as described above. Therefore, to the extent there are variations of the invention, which are within the spirit of the disclosure or equivalent to the inventions found in the claims, it is the intent that this patent will cover those variations as well. Finally, all publications and patent applications cited in this specification are herein incorporated by reference in their entirety as if each individual publication or patent application were specifically and individually put forth herein.