# Patent

## Title
Correcting errors in disk drive read back signals by iterating with the Reed-Solomon decoder

## Abstract

A read channel includes a signal receiver that receives a read back signal and a signal detector to detect symbols in the read back signal. The signal detector includes a first detector that generates raw decisions as a function of the read back signal, a post processor that identifies possible defects in the raw decisions, a selector that independently receives the raw decisions and a list of the possible defects from the first detector and the post processor, respectively, and a decoder that generates final decisions based on the raw decisions and the possible defects identified by the post processor. The decoder performs at least one of Reed-Solomon decoding, Bose Chaudhuri Hocquerghen (BCH) decoding and Hamming Decoding.

## Background
This application is a continuation of U.S. patent application Ser. No. 10/135,422, filed Apr. 29, 2002 now U.S. Pat. No. 6,961,197, which claims priority under 35 U.S.C. § 119(e) to U.S. Provisional Application Nos. 60/344,407, filed Dec. 28, 2001, and 60/352,756, filed Jan. 28, 2002, the entire contents of each of which are incorporated by reference herein.


BACKGROUND
1. Field of the Invention
This invention relates to a detection scheme for input signals of communication system channels.
2. Background Information
Data stored on magnetic media, such as hard disk drives, is typically encoded using error correction code so that errors that occur in storage and read back of the data might be detected and corrected. In conventional systems, the read back signal is typically detected by a Viterbi detector that makes bit-by-bit (hard) decisions of the read back signal. The decisions from the Viterbi usually include errors. A post-processor may be used in an attempt to correct the errors before sending them to the error correction code decoder. However, during post-processing of the Viterbi decisions, the post-processor sometimes makes mis-corrections leading to potentially more errors in the post-processed signal than in the Viterbi detected signal. A decoder applies an error correction routine to the processed signal to retrieve codewords in the signal. If the processed signal contains too many errors, the decoder will decode the sequence to an incorrect codeword, which may result in a retry being initiated. During a retry, the entire process repeats beginning with the Viterbi detector in an attempt to reduce the number of errors generated in the bit decisions so that after post-processing the errors are low enough for the decoder to generate accurate codewords. Each retry is computationally complex and may consume a significant amount of computation time. In addition, during each retry a different set of errors may occur in the Viterbi decisions and post-processed signal resulting in further retries.
SUMMARY OF THE INVENTION
A signal detector to detect symbols in a read back signal. The signal detector includes a first detector to generate raw decisions as a function of the read back signal. A post processor identifies possible defects in the raw decisions. A selector selects a portion of the possible defects and generates modified decisions based upon correcting the portion of the possible defects. At least one signal decoder generates final decisions as a function of the modified and raw decisions. A decision block returns control to the selector in response to detecting excess errors in the final decisions.



BRIEF DESCRIPTION OF THE DRAWINGS
Other objects and advantages of the present invention will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments, in conjunction with the accompanying drawings, wherein like reference numerals have been used to designate like elements, and wherein:
FIG. 1A is a block diagram of one aspect of an error correction system for read signals from a disk drive.
FIG. 1B is a block diagram of one aspect of an error correction system for noisy input signals.
FIG. 2 is a block diagram of another aspect of an error correction system for read back signals.
FIG. 3 is a flow diagram of one aspect of an error correction system for read back signals.
FIG. 4 is a data graph illustrating the performance improvement of one aspect of an error correction system for read back signals.



DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
FIG. 1A shows a disk drive system 10 including a read channel device 11 for detecting a read back signal from a hard disk drive 12. Although, the invention may preferably be employed as part of a disk drive system, any communication system is suitable and in particular communication systems having a noisy communication channel. The read channel device 11 may include a signal receiver 13 to receive and condition the read back signal. A signal detector 14 detects and decodes the conditioned read back signal to generate a codeword. The signal detector 14 may attempt to decode a detected symbol multiple times to obtain a correct codeword. An interface circuit 15 coupled to the signal detector 21 outputs the codeword.
FIG. 1B shows a read channel device 16 for detecting an input signal. The read channel device 16 may include a signal preconditioner 17 to receive the input signal. A signal detector 21 detects and decodes the conditioned input signal to generate a codeword. The signal detector 21 may attempt to decode a detected symbol multiple times to obtain a correct codeword. An interface circuit 22 coupled to the signal detector 21 outputs the codeword. Any form of preconditioner 17 may be employed. One example includes a variable gain amplifier (VGA) 18 coupled to an analog-to-digital converter (ADC) 19 and finite-impulse-response filter (FIR) 20.
FIG. 2 shows a signal detector 30 in accordance with the principles of the invention. The signal detector 30 detects and decodes a read back signal from a hard disk drive (not shown). The signal detector 30 includes a detector 32 to generate raw decisions based on the read back signal. The detector 32 may be any Viterbi-like detector including selectable noise-predictive detectors. A post-processor 34 evaluates the raw decisions to determine whether any possible errors are included within the decisions. The post-processor 34 generates a list 36 of the possible defects. The possible defects may be grouped in any manner in the list 36 such as being categorized as either possible errors or possible erasures, or being listed by likelihood of being an error or erasure. A selector 38 selects one or more of the possible defects from the list 36 and applies a correction technique or marks an erasure to generate modified decisions. A decoder 40 decodes the modified decisions to generate final decisions. The decoder 40 is preferably a single Reed-Solomon decoder, however other decoders such as Bose, Chaudhuri, Hocquerghen (BCH) Code, Hamming Code, and Trellis Code decoders may be used. Also, more than one decoder may operate on modified decisions. For example, the selector 38 may select several groupings of errors/erasures and generate modified decisions corresponding to each grouping. Each of the modified decisions may then be sent to separate decoders for decoding. The final decisions from the decoder 40 are evaluated by an estimator 42 to determine whether the sequence in the read back signal has been decoded to the correct codeword.
FIG. 3 shows a detection scheme for a hard disk drive read back signal. At block 50, channel symbols in a read back signal are detected. Preferably, maximum likelihood decisions are made based on the read back signals to generate raw decisions, block 52. Continuing to block 54, the raw decisions are evaluated for possible defects such as possible errors and possible erasures. At block 56, a list of the possible defects is generated. The list may group the defects in any manner such as by possible errors, possible erasures, and by the likelihood of the possible defect being an actual defect. The length of the list may be fixed or variable including limiting the length to a predetermined quantity of possible defects and including all possible defects that exceed a likelihood threshold. Continuing to block 58, a subset of the possible defects associated with the raw decisions is selected. The subset of possible defects may include possible errors, possible erasures, or a combination of possible errors and erasures. At block 60, the subset of possible defects and corresponding raw decisions are operated on to attempt to correct the possible errors and mark the possible erasures. Continuing to block 62, modified decisions are generated as a function of operating on the subset of possible defects and corresponding raw decisions. At block 64, the modified decisions are decoded to generate final decisions. At decision block 66, the final decisions are evaluated to determine whether the sequence was decoded to a correct codeword. If the decode is successful and the correct codeword is decoded, the final decisions are output. But, if a wrong codeword is decoded, control is transferred to block 58, and another subset of possible defects is selected. The detection scheme may continue to loop through blocks 58 to 66 until a correct codeword is decoded, the loop is executed a predetermined number of times, or until a specified threshold is reached such as computation time. Computation speed is enhanced by not looping back to the detector to eliminate errors by redetecting the sequence within the read back signal. Instead, the detection scheme operates on the originally detected sequence and uses the selector and decoder to correct or mark subsets of the defects to obtain a correct codeword.
As an example of one implementation, the 12 most-likely defects in the raw decisions may be listed and the selector may correct/mark up to 3 defects at a time from the list of 12 defects. In this case, the decoder may need to perform up to 299 decoding attempts, with an average number of decoding attempts of about 150.
FIG. 4 shows a comparison simulation of the sector error rate for a conventional detector 70 versus a detector 72 in accordance with the principles of the invention. For the simulation, it is assumed the decoder employs a Reed-Solomon Code with 10-bit symbols and can correct 3 symbol errors. The simulation is performed with a user bit density (UBD) of 2.747 and 100% additive white Gaussian noise.
A number of embodiments of the invention have been described. The invention may be implemented in any known means including hardware, software, firmware, middleware and combinations thereof. It will be understood that various modifications may be made without departing from the spirit and scope of the invention. Accordingly, other embodiments are within the scope of the following claims.

## Claims

1. A read channel comprising:
a signal receiver for receiving a read back signal; and
a signal detector to detect symbols in the read back signal, comprising:
a first detector to generate raw decisions based on the read back signal;
a post processor to identify possible defects in the raw decisions;
a selector that independently receives the raw decisions and a list of the possible defects from the first detector and the post processor, respectively; and
a decoder that generates a final decision based on the raw decisions and the possible defects identified by the post processor,
wherein said decoder performs at least one of Reed-Solomon decoding, Bose Chaudhuri Hocquerghen (BCH) decoding and Hamming decoding.

2. The read channel of claim 1 wherein said decoder performs Reed-Solomon decoding.

3. The read channel of claim 1 wherein said decoder performs BCH decoding.

4. The read channel of claim 1 wherein said decoder performs Hamming decoding.

5. A read channel for a disk drive system comprising:
signal receiving means for receiving a read back signal; and
signal detecting means for detecting symbols in a read back signal, comprising:
means for detecting to generate raw decisions based on the read back signal;
means for post-processing to identify possible defects in the raw decisions;
means for selecting to independently receive the raw decisions and a list of the possible defects from the means for detecting and the means for post-processing, respectively; and
means for decoding to generate a final decision based on the raw decisions and the possible defects identified by the means for post-processing,
wherein said decoding means performs at least one of Reed-Solomon decoding, Bose Chaudhuri Hocquerghen (BCH) decoding and Hamming decoding.

6. The read channel of claim 5 wherein said decoding means performs Reed-Solomon decoding.

7. The read channel of claim 5 wherein said decoding means performs BCH decoding.

8. The read channel of claim 5 wherein said decoding means performs Hamming decoding.

9. A method for operating a read channel comprising, comprising:
a.) receiving a read back signal;
b.) detecting symbols in the read back signal;
c.) generating raw decisions based on the detected symbols;
d.) post-processing the raw decisions to identify possible defects;
e.) independently receiving the raw decisions and a list of the possible defects at a selector; and
f.) generating a final decision based on the raw decisions and the identified possible defects, wherein said generating includes performing at least one of Reed-Solomon decoding, Bose Chaudhuri Hocquerghen (BCH) decoding and Hamming decoding.

10. The method of claim 9 wherein said generating includes performing Reed-Solomon decoding.

11. The method of claim 9 wherein said generating includes performing BCH decoding.

12. The method of claim 9 wherein said generating includes performing Hamming decoding.

13. A computer program stored on a computer readable medium for operating a read channel, comprising:
a.) receiving a read back signal;
b.) detecting symbols in the read back signal;
c.) generating raw decisions based on the detected symbols;
d.) post-processing the raw decisions to identify possible defects;
e.) independently receiving the raw decisions and a list of the possible defects at a selector; and
f.) generating a final decision based on the raw decisions and the identified possible defects, wherein said generating includes performing at least one of Reed-Solomon decoding, Bose Chaudhuri Hocquerghen (BCH) decoding and Hamming decoding.

14. The computer program of claim 13 wherein said generating includes performing Reed-Solomon decoding.

15. The computer program of claim 13 wherein said generating includes performing BCH decoding.

16. The computer program of claim 13 wherein said generating includes performing Hamming decoding.

17. A read channel for a disk drive, comprising:
means for reading the information and for generating a read back signal;
means for detecting to generate raw decisions based on the read back signal;
means for post-processing to identify possible defects in the raw decisions;
means for selecting to independently receive the raw decisions and a list of the possible defects from the means for detecting and the means for post-processing, respectively; and
means for decoding to generate a final decision based on the raw decisions and the possible defects identified by the means for post-processing,
wherein said means for decoding performs at least one of Reed-Solomon decoding, Bose Chaudhuri Hocquerghen (BCH) decoding and Hamming decoding.

18. The read channel of claim 17 wherein said decoding means performs Reed-Solomon decoding.

19. The read channel of claim 17 wherein said decoding means performs BCH decoding.

20. The read channel of claim 17 wherein said decoding means performs Hamming decoding.

21. A read channel for a disk drive comprising:
a receiver to read the information and generate a read back signal;
a first detector to generate raw decisions based on the read back signal;
a post processor to identify possible defects in the raw decisions;
a selector to independently receive the raw decisions and a list of the possible defects from the first detector and the post processor, respectively; and
a decoder that generates a final decision based on the raw decisions and the possible defects identified by the post processor, wherein said decoder performs at least one of Reed-Solomon decoding, Bose Chaudhuri Hocquerghen (BCH) decoding and Hamming decoding.

22. The read channel of claim 21 wherein said decoder performs Reed-Solomon decoding.

23. The read channel of claim 21 wherein said decoder performs BCH decoding.

24. The read channel of claim 21 wherein said decoder performs Hamming decoding.