The present inventions are related to systems and methods for transferring information, and more particularly to systems and methods for determining problems related to a medium associated with a data transfer.
Various data transfer systems have been developed including storage systems, cellular telephone systems, radio transmission systems. In each of the systems data is transferred from a sender to a receiver via some medium. For example, in a storage system, data is sent from a sender (i.e., a write function) to a receiver (i.e., a read function) via a storage medium. The effectiveness of any transfer is impacted by any defects associated with the transfer medium. As an example, where the media is a storage medium, defects may be caused by a thinning of the medium or where an undesired particle is grown or embedded in the medium. In some cases, data loss caused by defects in the transfer medium can make recovery of data from the transfer medium difficult even for data received from non-defective areas or times.
Various approaches have been developed for identifying defects in the transfer medium. Such approaches provide a general ability to identify defects, but in many cases are inaccurate. In the best case, this inaccuracy limits the effectiveness of any defect identification. In the worst case, inaccurate defect detection may actually hamper the data recovery process. In other cases, information from a downstream process is used to perform the detection process. In such cases, there may be a substantial latency from the onset of a media defect until the media defect is flagged. This latency, if not properly considered, can result in improper attempts at circuit adaptation due to feedback used in existing data detection systems.
Hence, for at least the aforementioned reasons, there exists a need in the art for advanced systems and methods for defect detection.
The present inventions are related to systems and methods for transferring information, and more particularly to systems and methods for determining problems related to a medium associated with a data transfer.
Various embodiments of the present invention provide data detection systems that include an analog input signal derived from a medium, an analog to digital converter, a data detector circuit, and a media defect detector circuit. The analog to digital converter receives the analog input signal and provides a digital sample corresponding to the analog input signal. The data detector circuit is operable to perform a data detection algorithm on the digital sample to provide a detected output, and to provide an adaptive feedback signal that indicates a difference between the digital sample and the detected output and is used to drive an adaptive feedback loop. The media defect detector circuit receives the digital sample, and is operable to determine whether the analog input signal is derived from a defective portion of the medium based in part on the digital sample and to assert a defect output. When the defect output is asserted, the adaptive feedback loop is disabled. In some instances of the aforementioned embodiments, the media defect detector circuit includes a fast envelope calculation circuit that receives the digital sample and provides a fast decay envelope value based on the digital sample, a slow envelope calculation circuit that receives the digital sample and provides a slow decay envelope value based on the digital sample, and a media defect determination circuit. The media defect determination circuit receives the slow decay envelope value and the fast decay envelope value, and calculates a ratio value of the fast decay envelope value to the slow decay envelope value. The defect output is asserted upon determining that the ratio value is greater than a defect threshold value. In some instances of the aforementioned embodiments, the medium is a magnetic storage medium and in other instances of the aforementioned embodiments, the medium is a wireless communication medium.
As used herein, the phrases “fast decay envelope value” and “slow decay envelope value” refer to values that decay from at or about a maximum of an input signal at a defined rate with the slow decay decaying at a rate less than the fast decay rate. As such, the respective decay envelope values represent an envelope around an input signal with different decay rates resulting in different envelopes. In one case, when the decaying value is less than the value of the input signal, the respective decay envelope value is set at or about the value of the input signal.
Other embodiments of the present invention provide media defect detection systems that include a data input derived from a medium, a fast envelope calculation circuit that receives the data input and provides a fast decay envelope value based on the data input, a slow envelope calculation circuit that receives the data input and provides a slow decay envelope value based on the data input, and a media defect detection circuit. The media defect detection circuit receives the slow decay envelope value and the fast decay envelope value, calculates a ratio value of the fast decay envelope value to the slow decay envelope value, and asserts a defect output based at least in part on the comparison of the ratio value to a defect threshold value.
In some instances of the aforementioned embodiments, the defect detection system is part of a data detection system including at least one adaptive feedback loop, and wherein the media defect detection circuit is operable to disable the adaptive operation of the adaptive feedback loop upon assertion of the defect output. In some instances of the aforementioned embodiments, the systems further include a moving average filter that is operable to receive a current data sample and to calculate a moving average value based on the current data sample and one or more preceding data samples, and to subtract the moving average value from the current data sample to yield the data input. In some such instances, the systems further include an analog to digital converter producing the current data sample and the one or more preceding data samples correspond to an analog input received by the analog to digital converter.
Yet other embodiments of the present invention provide methods for detecting a media defect. Such methods include deriving a data input from a medium, calculating a fast decay envelope value using the data input, calculating a slow decay envelope value using the data input, calculating a ratio of the fast decay envelope value to the slow decay envelope value to generate a ratio value, and asserting a defect output based at least in part on a comparison of the ratio value with a defect threshold value. In some instances of the aforementioned embodiments, the methods further include providing a data detection circuit including at least one feedback loop that is disabled when the defect output is asserted. Such disabling may be accomplished by, for example, forcing an error indicator associated with the feedback loop to a value indicating the lack of an error.
In some instances of the aforementioned embodiments, the methods further include deriving another data input from the medium, and calculating another fast decay envelope value and slow decay envelope value using the new data input. A ratio value corresponding to the new fast decay envelope value and slow decay envelope value is calculated, and the defect output is deasserted based at least in part on a comparison of the second ratio value with the defect threshold value. In some such cases, a defined period is awaited after comparison of the new ratio value with the defect threshold value.
This summary provides only a general outline of some embodiments of the invention. Many other objects, features, advantages and other embodiments of the invention will become more fully apparent from the following detailed description, the appended claims and the accompanying drawings.
A further understanding of the various embodiments of the present invention may be realized by reference to the figures which are described in remaining portions of the specification. In the figures, like reference numerals are used throughout several drawings to refer to similar components. In some instances, a sub-label consisting of a lower case letter is associated with a reference numeral to denote one of multiple similar components. When reference is made to a reference numeral without specification to an existing sub-label, it is intended to refer to all such multiple similar components.
a-5b graphically depict an exemplary operation of the media defect detector of
The present inventions are related to systems and methods for transferring information, and more particularly to systems and methods for determining problems related to a medium associated with a data transfer.
Turning to
Data input 105 is provided to an analog to digital converter 150 that converts the continuous analog signal into a series of corresponding digital samples 152. Digital samples 152 are sampled in accordance with a clock signal 154 generated based on the received data by a digital phase lock loop circuit 160. Digital samples 152 are provided to a digital filter 170 that provides a filtered output 172 to a data detector 180. Data detector 180 provides an ideal output 182 that is subtracted from the corresponding digital samples 152 using a summation element 190. The resulting output of summation element 190 is an error signal 184 that is used to drive digital phase lock loop circuit 160, offset circuit 195 and gain calculation circuit 130.
Turning to
Of note, data detection system 100 utilizes three adaptive feedback loops. The first loop includes digital phase lock loop circuit 160 and is operable to adaptively adjust the sampling period used by analog to digital converter 150 to sample data input 105 (i.e., adjusting the phase and/or frequency of clock signal 154). The second loop includes offset circuit 195 that is used to adaptively adjust any DC offset from the received analog input. The third loop includes gain calculation circuit 195 that is used to adaptively adjust the gain used in pre-processing the received analog input signal. When data input 105 includes a media defect region such as that depicted in
Turning to
Data input 305 is provided to an analog to digital converter 350 that converts the continuous analog signal into a series of corresponding digital samples 352. Digital samples 352 are sampled in accordance with a clock signal 354 generated based on the received data by a digital phase lock loop circuit 360. Digital samples 352 are provided to a digital filter 370 that provides a filtered output 372 to a data detector 380. Digital filter 370 may be, for example, a digital finite impulse response filter as are known in the art. Data detector 380 provides an ideal output 382 that is subtracted from the corresponding digital samples 352 using a summation element 390. The resulting output of summation element 390 is an error signal 384 that is used to drive digital phase lock loop circuit 360, offset circuit 395 and gain calculation circuit 330. Data detector 380 may be any data detector circuit known in the art. Thus, as an example, data detector 380 may be a Viterbi algorithm data detector. Based upon the disclosure provided herein one of ordinary skill in the art will appreciate a variety of data detectors that may be utilized in relation to different embodiments of the present invention.
As shown, data detection system 300 utilizes three adaptive feedback loops. The first loop includes digital phase lock loop circuit 360 and is operable to adaptively adjust the sampling period used by analog to digital converter 350 to sample data input 305 (i.e., adjusting the phase and/or frequency of clock signal 354). The second loop includes offset circuit 395 that is used to adaptively adjust any DC offset from the received analog input. The third loop includes gain calculation circuit 395 that is used to adaptively adjust the gain used in pre-processing the received analog input signal.
Digital samples 352 are additionally provided to a media defect detector circuit 397. Media defect detector circuit 352 is operable to detect a potential media defect such as that depicted in
It should be noted that data detection system 300 is provided as an example where media defect detector circuit 397 is used to effectively disable adaptive feedback loops during periods where data is being derived from a defective medium. Thus, it should be noted that media defect detector circuit 397 may be used in relation to other data detection systems having more or fewer adaptive feedback loops and/or different components.
Turning to
The resulting moving average from moving average filter circuit 410 is subtracted from the current value of digital samples 405 using a summation element. This subtraction yields a substantially DC free sample value at the output of summation element 420. An output 422 from summation element 420 is provided in parallel to four separate envelope detector circuits: a fast positive envelope detector circuit 430, a fast negative envelope detector circuit 435, a slow positive envelope detector circuit 440, and a slow negative envelope detector circuit 445. Fast positive envelope detector circuit 430 applies the following algorithm to output 422:
e
+
fast(k+1)=max{xk, e+fast(k)−Δ+fast},
where xk indicates a prior value of output 422, e+fast(k) indicates a prior value of an output 432 of fast positive envelope detector 430, e+fast(k+1) indicates the next value of output 432, and Δ+fast indicates a fast decay rate. Fast negative envelope detector circuit 435 applies the following algorithm to output 422:
e
−
fast(k+1)=min{xk, e−fast(k)+Δ−fast},
where e−fast(k) indicates a prior value of an output 434 of fast negative envelope detector 435, e−fast(k+1) indicates the next value of output 434, and Δ−fast indicates the same fast decay rate of Δ+fast. Slow positive envelope detector circuit 440 applies the following algorithm to output 422:
e
+
slow(k+1)=max{xk, e+slow(k)−Δ+slow},
where e+slow(k) indicates a prior value of an output 436 of slow positive envelope detector 440, e+slow(k+1) indicates the next value of output 436, and Δ+slow indicates a slow decay rate that is less than fast decay rate, Δ+fast. Slow negative envelope detector circuit 445 applies the following algorithm to output 422:
e
−
slow(k+1)=min{xk, e−slow(k)+Δ−slow},
where e−slow(k) indicates a prior value of an output 438 of slow negative envelope detector 445, e−slow(k+1) indicates the next value of output 438, and Δ−slow indicates the same slow decay rate Δ+slow. It should be noted, however, that the decay rates for the slow and positive envelope calculations do not need to be the same.
Outputs 432, 434 are each provided to a fast envelope calculation circuit 450, and outputs 436, 438 are each provided to a slow envelope calculation circuit 455. Fast envelope calculation circuit 450 provides an output 452 described by the following equation:
e
fast(k+1)=e+fast(k+1)−e−fast(k+1).
Similarly, slow envelope calculation circuit 455 provides an output 454 described by the following equation:
e
slow(k+1)=e+slow(k+1)−e−slow(k+1).
Outputs 452, 454 are each provided to a media defect determination circuit 460 that combines the values of the outputs for comparison against a threshold to determine whether a media defect is detected. Media defect determination circuit 460 provides an output 462 defined by the following equation:
Defect Ratio=efast/eslow.
Where the defect ratio is greater than a defined threshold, output 462 is asserted. Output 462 is provided to a media defect signal generation circuit 470 that is operable to control the immediacy of an assertion of a defect output 475 and the duration of the assertion. In some embodiments of the present invention, media defect signal generation circuit 470 includes a re-settable/re-loadable counter that counts the number of periods after the media defect region is cleared. In such cases, defect output 475 may remain asserted until the counter reaches a defined count value.
a graphically depicts an exemplary operation of media defect detector 400 during data retrieval from a non-defective media region. A timing diagram 501 shows output 422 as a cyclical signal with a reasonably consistent amplitude as would be expected when data is being retrieved from a non-defective region of a medium. As shown, the value of e+fast (output 432) changes by an amount (Δ+fast) that is slower than the rate at which output 422 decreases. Output 432 assumes the value of output 422 or of the value degraded by A+fast depending upon whichever is greater in accordance with the following equation:
e
+
fast(k+1)=max{xk, e+fast(k)−Δ+fast}.
The value of e−fast (output 434) changes by an amount (Δ−fast) that is slower than the rate at which output 422 increases. Output 434 assumes the value of output 422 or of the value degraded by Δ−fast depending upon whichever is less in accordance with the following equation:
e
−
fast(k+1)=min{xk, e−fast(k)+Δ−fast}.
The value of e+slow (output 436) changes by an amount (Δ+slow) that is slower than the rate at which output 422 decreases. Output 436 assumes the value of output 422 or of the value degraded by Δ+slow depending upon whichever is greater in accordance with the following equation:
e
+
slow(k+1)=max{xk, e+slow(k)−Δ+slow}.
The value of e−slow (output 438) changes by an amount (Δ−slow) that is slower than the rate at which output 422 increases. Output 438 assumes the value of output 422 or of the value degraded by Δ−slow depending upon whichever is less in accordance with the following equation:
e
−
slow(k+1)=min{xk, e−slow(k)+Δ−slow}.
A timing diagram 502 depicts the values of efast (output 452 shown as solid lines) and eslow (output 454 shown as dashed lines) at different calculation periods (t, t+1, t+2, . . . ). As discussed above, outputs 452, 454 respectively correspond to the following equations:
e
fast(k+1)=e+fast(k+1)−e−fast(k+1), and
e
slow(k+1)=e+slow(k+1)−e−slow(k+1).
Of note, the values of outputs 452, 454 are reasonably constant over the calculation periods, and at all times exceed a defect threshold value 503. Further, the ratio of output 452 to output 454 remains reasonably constant over the depicted period. As the ratio at all times exceeds a defect threshold value 503, a defect is not indicated, and thus defect output 475 remains deasserted. This situation is expected where the received data is not derived from a defective region of the media.
b graphically depicts an exemplary operation of media defect detector 400 during data retrieval during a transition from a non-defective media region to a defective media region. A timing diagram 551 shows output 422 as a cyclical signal with a degrading amplitude representing the transition to a defective region of the media from which the data is derived. As shown, the value of e+fast (output 432) changes by an amount (Δ+fast) that is slower than the rate at which output 422 decreases. Output 432 assumes the value of output 422 or of the value degraded by Δ+fast depending upon whichever is greater. The value of e−fast (output 434) changes by an amount (Δ−fast) that is slower than the rate at which output 422 increases. Output 434 assumes the value of output 422 or of the value degraded by Δ−fast depending upon whichever is greater. The value of e+slow (output 436) changes by an amount (Δ+slow) that is slower than the rate at which output 422 decreases. Output 436 assumes the value of output 422 or of the value degraded by Δ+slow depending upon whichever is greater. The value of e−slow (output 438) changes by an amount (Δ−slow) that is slower than the rate at which output 422 increases. Output 438 assumes the value of output 422 or of the value degraded by Δ−slow depending upon whichever is greater.
A timing diagram 552 depicts the values of efast (output 452 shown as solid lines) and eslow (output 454 shown as dashed lines) at different calculation periods (t, t+1, t+2, . . . ). Of note, the values of outputs 452, 454 continue to decrease as the transition from the non-defective media region to the defective media region occurs. Further, the ratio of output 452 to output 454 declines dramatically between calculation period t+2 and calculation period t+3. Once this ratio falls below a defect threshold value 553, a defect is indicated. At this point, defect output 475 is asserted. It should be noted that in some embodiments of the present invention the threshold must be exceeded for a certain number of consecutive calculation periods before defect output 475 is asserted. Such an approach operates to filter out any spurious noise that is not necessarily indicative of a defective medium. Based on the disclosure provided herein, one of ordinary skill in the art will recognize a variety of filters and/or filtering techniques that may be used in relation to different embodiments of the present invention to assure a more accurate designation of the media defect output.
It should be noted that transition from a defective media region to a non-defective media region is substantially the reverse of that shown in
Turning to
A fast positive envelope calculation is performed (block 625), fast negative envelope calculation is performed (block 630), a slow positive envelope calculation is performed (block 635), and a slow negative envelope calculation is performed (block 640). The results of the aforementioned calculations are then used to determine a defect status of the medium from which the analog input was derived (block 645). The fast and slow calculations use the same algorithm, but use different decay rates (i.e., Δfast, Δslow). This process includes subtracting the result of the fast negative calculation from the result of the fast positive envelope calculation to yield a fast result, and subtracting the result of the slow negative calculation from the result of the slow positive envelope calculation to yield a slow result. In addition, a ratio of the fast result to the slow result is calculated. This ratio is compared with a defect threshold, and where the ratio falls below the defect threshold a defect is indicated (block 650). Otherwise, where the ratio exceeds the defect threshold, a defect is not indicated (block 650). Where a defect is indicated (block 650), a defect output is asserted (block 655). Where the fast result exceeds a defined threshold (block 660) indicating a potential end of the defect region, a hold counter is loaded with a defined start value (block 665) in preparation for maintaining the defect output asserted for a period after the end of a defect region is indicated.
Once a defect region is no longer indicated (block 650), it is determined whether the value in a hold counter is still greater than zero (block 670). Where the hold count is still greater than zero (block 670), the defect output is maintained asserted (block 675), and the hold counter is decremented (block 677). It is then determined whether the fast result is less than the slow result scaled by a factor α (block 685). In this case, α is a value between zero and unity. Once the fast result is less than the scaled slow result (block 685), the threshold used in block 660 is set equal to the current fast result (block 690). Where, on the other hand, the hold counter has decremented to zero (block 670), the defect flag is deasserted (block 680). The deassertion is delayed for the hold count to assure that the defective region has completed. As previously described, while the defect output is asserted, the feedback loops are disabled or put into a coast mode to stop a feedback reaction to spurious information derived from defective regions of a medium.
Turning to
Once read/write head assembly 778 is positioned adjacent the proper data track, magnetic signals representing data on disk platter 778 are sensed by read/write head assembly 776 as disk platter 778 is rotated by spindle motor 772. The sensed magnetic signals are provided as a continuous, minute analog signal representative of the magnetic data on disk platter 778. This minute analog signal is transferred from read/write head assembly 776 to read channel module 764 via preamp 770. Preamp 770 is operable to amplify the minute analog signals accessed from disk platter 778. In addition, preamp 770 is operable to amplify data from read channel module 710 that is destined to be written to disk platter 778. In turn, read channel module 710 decodes (including media defect detection) and digitizes the received analog signal to recreate the information originally written to disk platter 778. This data is provided as read data 703 to a receiving circuit. A write operation is substantially the opposite of the preceding read operation with write data 701 being provided to read channel module 710. This data is then encoded and written to disk platter 778.
Turning to
In conclusion, the invention provides novel systems, devices, methods and arrangements for detecting media defects. While detailed descriptions of one or more embodiments of the invention have been given above, various alternatives, modifications, and equivalents will be apparent to those skilled in the art without varying from the spirit of the invention. For example, one or more embodiments of the present invention may be applied to various data storage systems and digital communication systems, such as, for example, tape recording systems, optical disk drives, wireless systems, and digital subscribe line systems. Therefore, the above description should not be taken as limiting the scope of the invention, which is defined by the appended claims.