Threshold-based sync-mark detection is a commonly used scheme in read channel systems. Detection is performed based on a Euclidean distance between a read-back signal and target sync-mark values. A threshold is set for sync-mark detection based on an anticipated distinction between a sync-mark and a preamble. Performance of sync-mark detection is determined by the sync-mark pattern and threshold, and is calculated based on analytical models or synthetic waveforms. It is important for the performance of a system to find a good sync-mark pattern and threshold for a particular read channel. However, theoretically optimal sync-mark patterns and thresholds may not correspond to real hard drives.
Consequently, it would be advantageous if an apparatus existed that is suitable for dynamically adjusting the sync-mark threshold base on real data.
Accordingly, the present invention is directed to a novel method and apparatus for dynamically adjusting the sync-mark threshold base on real data.
At least one embodiment of the present invention includes a processor to automatically adjust a threshold level for finding sync-marks. The processor determines all possible sync-mark patterns for a particular pattern length and analyzes each pattern with reference to real world data. The pattern with the largest distance gap is used. The threshold level is then adjusted dynamically to produce the lowest possible failure rate for the given pattern.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention claimed. The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate an embodiment of the invention and together with the general description, serve to explain the principles.
The numerous advantages of the present invention may be better understood by those skilled in the art by reference to the accompanying figures in which:
Reference will now be made in detail to the subject matter disclosed, which is illustrated in the accompanying drawings. The scope of the invention is limited only by the claims; numerous alternatives, modifications and equivalents are encompassed. For the purpose of clarity, technical material that is known in the technical fields related to the embodiments has not been described in detail to avoid unnecessarily obscuring the description.
Referring to
During read operations, a sync-mark 102 is detected based on a threshold difference between a sync-mark pattern and a read-back signal. The threshold difference is defined by a Euclidean distance:
In this equation, x is a pre-processed read-back digital signal sequence and {circumflex over (x)}sm is an ideal pre-processed digital signal sequence corresponding to the sync-mark 102 pattern. Ideal pre-processed digital signal sequences are calculated by convolving a corresponding data pattern with characteristics of the estimated read channel. In at least one embodiment, the data pattern is a non-return-to-zero pattern common in digital communication. A sync-mark 102 is found when the distance D is less than some defined threshold.
For each read event, sync-mark 102 detection starts from the preamble 100 and proceeds until the sync-mark 102 is detected. In a quarter-rate system where the sync-mark 102 has a length Lsm, there are N=Lsm/4+1 possible data patterns to compare with the sync-mark 102. Such a system has N possible Euclidean distances. For example, where a sync-mark 102 is defined to have sixteen bits, there are five possible Euclidean distances for a particular read channel and noise model.
In one exemplary embodiment of the present invention, where the distribution of possible Euclidean distances is roughly Gaussian, a sync-mark 102 detection failure rate is estimated by the gap between the average sync-mark 102 distance
Sync-mark 102 detection failure occurs when a false sync-mark is identified in a location other than the true sync-mark 102 location, such as in the preamble 100 (early detection) or no sync-mark 102 is detected before or at the actual sync-mark 102 location (miss detection). The detection threshold adjusts the balance between the two failure modes. A large distance gap
In real hard disk drives, the theoretically ideal sync-mark pattern with maximum Euclidean distance gap and optimal threshold may not provide good performance because real read channels are nonlinear and data-dependent, which can be statistically different from the models, and the read channel varies from drive to drive depending on media conditions.
Referring to
When a processing element determines 202 that a sync-mark is detected 200, the Euclidean distance of the detected sync-mark is recorded 204. Distance values are maintained in a buffer; in at least one embodiment the buffer is of size N according to the bit-length of the sync-mark, which can keep track of the previous N distances. The N values stored in the buffer correspond to the instantaneous distances between the N possible signal sequences and the target sync-mark sequence: D2T, . . . ,
In at least one embodiment of the present invention, a minimum gap between the detected distance and the sync-mark detection threshold is used to quantify the quality of a detection event. If the gap is smaller than the minimum gap, the Euclidean distance will not be recorded even if a sync-mark is detected 200.
In at least one embodiment of the present invention, the Euclidean distances are used for offline processing 212 to produce more precise sync-mark pattern selection and threshold adjustment.
Based on the instantaneous Euclidean distance in the buffer, a processor computes 206 an average Euclidean distances for preamble signals
i
[n]=(1−α)
where α∈[0,1] is a small value depending on a channel variation parameter.
In at least one embodiment of the present invention, an updated sync-mark is selected 208 based on the average Euclidean distances for preamble signals
2T
[n]−
sm
[n]
The
For any given sync-mark pattern, a threshold is determined 210 according to the average distances for preamble signals
D
th
[n]=β
2T
[n]+(1−β)
where β∈[0,1] is a system parameter. The system parameter β adjusts the balance between miss detection rate and early detection rate. Because values of preamble signals
A processor executing methods according to embodiments of the present invention searches for a sync-mark pattern with the largest distance gap for a particular hard disk drive according to certain sync-mark parameters. The processor also adjusts the detection threshold in real time.
In another embodiment of the present invention, an offline processor is used for slower offline processing 212. The offline processor receives the instantaneous Euclidean distances from the distance buffer as they are recorded 204, or at some later time. In at least one embodiment, a sync-mark failure rate is computed for any given threshold based on the real Euclidean distance statistics. By analyzing all sync-mark patterns and thresholds within certain criteria, the sync-mark pattern and threshold that achieves the smallest failure rate can be selected.
Referring to
In at least one embodiment of the present invention, the processor 300 detects a sync-mark based on a threshold difference between an initial sync-mark pattern and a read-back signal. The threshold difference is defined by a Euclidean distance:
In this equation, x is a pre-processed read-back analog signal sequence and {circumflex over (x)}sm is an ideal pre-processed analog signal sequence corresponding to the sync-mark pattern. Ideal pre-processed analog signal sequences are calculated by convolving a corresponding data pattern with characteristics of the estimated read channel. In at least one embodiment, the data pattern is a non-return-to-zero pattern common in digital communication. The processor 300 detects a sync-mark when the distance D is less than some defined threshold.
For each read event, the processor 300 begins sync-mark detection in the data stream by reading a preamble and proceeding until the sync-mark is detected. In a quarter-rate system where the sync-mark has a length Lsm, there are
possible data patterns to compare with the sync-mark pattern. Such a system has N possible Euclidean distances. For example, where a sync-mark is defined to have sixteen bits, there are five possible Euclidean distances for a particular read channel and noise model.
In one exemplary embodiment of the present invention, where the distribution of possible Euclidean distances is roughly Gaussian, a sync-mark detection failure rate is estimated by the gap between the average sync-mark distance
When the processor 300 determines that a sync-mark is detected, the Euclidean distance of the detected sync-mark is recorded in the memory 302. The values stored in the memory 302 correspond to the instantaneous distances between the possible signal sequences and the target sync-mark sequence: D2T, . . . ,
In at least one embodiment of the present invention, the processor 300 uses a minimum gap between the detected distance and the sync-mark detection threshold to quantify the quality of a detection event. If the gap is smaller than the minimum gap, the processor 300 does not record the Euclidean distance even if a sync-mark is detected 200.
Based on the instantaneous Euclidean distance in the memory 302, the processor 300 computes an average Euclidean distances for preamble signals
i
[n]=(1−α)
where α∈[0,1] is a small value depending on a channel variation parameter.
In at least one embodiment of the present invention, the processor 300 selects an updated sync-mark based on the average Euclidean distances for preamble signals
2T
[n]−
sm
[n]
The processor 300 compares the G value with the current distance gap. If the new sync-mark pattern has a larger G than the current sync-mark pattern, the processor 300 updates the sync-mark pattern field and the distance gap field. Finally, the processor 300 stores the sync-mark pattern with the maximum distance gap and uses that sync-mark pattern for future sync-mark detection. In one embodiment of the present invention, all valid sync-mark patterns defined by the sync-mark length Lsm are processed and the one with the largest distance gap for the actual hard disk drive is selected.
For any given sync-mark pattern, the processor 300 determines a threshold according to the average distances for preamble signals
D
th
[n]=β
2T
[n]+(1−β)
where β∈[0,1] is a system parameter. The system parameter β adjusts the balance between miss detection rate and early detection rate. Because values of preamble signals
It is believed that the present invention and many of its attendant advantages will be understood by the foregoing description of embodiments of the present invention, and it will be apparent that various changes may be made in the form, construction, and arrangement of the components thereof without departing from the scope and spirit of the invention or without sacrificing all of its material advantages. The form herein before described being merely an explanatory embodiment thereof, it is the intention of the following claims to encompass and include such changes.
The present application claims the benefit under 35 U.S.C. §119(e) of U.S. Provisional Application Ser. No. 61/804515, filed Mar. 22, 2013, which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
61804515 | Mar 2013 | US |