The present invention relates to a controller for a hard disk drive, and more particularly relates to testing and confirmation of the proper operation of a disk formatter circuit.
Controllers for current disk drives often include a disk formatter circuit that interfaces to read channel circuitry via a non-return to zero (NRZ) bus. More specifically, the disk formatter circuitry performs both data path and control path operations, and typically receives timing information and data so as to control a sequence of read or write operations. The read channel circuitry is responsible for actual reading of data from the physical disk medium, and the writing of data thereto. The read channel circuitry and the disk formatter circuit interface with each other via the NRZ bus, which often has a bit depth of 10 bits.
With increasing performance of the hard disk drive, both in terms of speed of data transfer to and from a host as well as storage capacity and density, there is a corresponding increase on the performance demands of the NRZ bus and the disk formatter circuit. Testing is performed to confirm proper operation. Testing may be performed at manufacture time or at any time before or during deployment of the hard disk drive in actual service. However, these increases in performance also make it more difficult to perform testing accurately, since the test equipment itself might not have performance capabilities that are sufficient to detect and report on disk subsystem failures, or to confirm that these subsystems are performing correctly.
The foregoing situation is addressed through the provision of a disk formatter with a linear feedback shift register (LFSR) accumulator, which accumulates data from the NRZ bus, together with data on disk servo information and sector information. The accumulated data can thereafter be provided to test circuitry, for offline analysis to confirm proper operation of the disk subsystem or to detect failures in the disk subsystem.
In an example embodiment of the invention, a hard disk drive includes a disk controller having a disk formatter that interfaces via an NRZ bus to a read channel for the disk. The disk formatter includes an LFSR accumulator coupled to the NRZ bus. Under control of a test flag that signifies a test mode, the LFSR accumulator accumulates data on the NRZ bus together with data on servo information and sector information. An interface is provided through which information accumulated in the LFSR accumulator is provided to test equipment. The test equipment performs offline analysis of the accumulated information, to confirm proper operation of the disk subsystem, or to detect failures in it.
In further example embodiments, the disk formatter may include an LFSR generator that generates synthetic test data for the disk formatter. Under control of the test flag, the generated synthetic data is used by the disk formatter in lieu of, or in combination with, actual data such as that which might be stored in cache memory of the disk drive controller.
This brief summary has been provided so that the nature of the disclosure may be understood quickly. A more complete understanding can be obtained by reference to the following detailed description and to the attached drawings.
Hard disk drive 10 further includes disk controller 17 which generally includes a processor such as a digital signal processor, a microprocessor, microcontroller, or the like, for executing instructions stored in memory for electrical and mechanical control of the hard disk drive components. Disk controller 17 includes an interface via bus 18 to a host 19. Host 19 might be a personal computer such as a laptop or desktop, or it might be an embedded device such as a handheld PDA or music player. Other examples of host device 19 are given in connection with
Bus 18 might be an EIDE interface bus, an ATA or serial ATA (SATA) interface bus, a fibre channel (FC), or Serial Attached SCSI (SAS) interface, although it will be understood that other buses and interfaces might be used.
Disk formatter 20 further includes an LFSR accumulator 33, which is coupled to NRZ bus 21. Under control of test flag 29, LFSR accumulator 33 accumulates data on NRZ bus 21, together with other data including servo and sector information as discussed below in connection with
Disk formatter 20 further includes LFSR generator 34 for generating synthetic test data. LFSR generator 34 may be implemented as part of DRAM controller 30, if desired. The output of LFSR generator 34 is selected by multiplexer 28 under control of test flag 29, when test flag 29 signifies a test mode. In the test mode, the synthetic data generated by LFSR generator 34 is provided to FIFO 31 under control of DRAM controller 30. This allows the functionality of disk formatter 20 to be tested with simulated data rather than with actual data stored in cache memory 25.
Under control of accumulator controller 38, multiplexer 35 serves 10- and 13-bit information into 32-bit accumulator 39. The information is time-wise accumulated, during a test mode signified during test flag 29, for a pre-designated test period during which LFSR generator 34 generates synthetic test data. After accumulation, 32 bit accumulator 39 provides the accumulated information via interface 40 for offline testing analysis, which confirms proper operation of the disk subsystem, and/or which detects failures in the disk subsystem.
In other implementations, the bit width of accumulator 39 can be changed by expanding to accumulate wider data or by diminishing to accumulate narrower data. In addition, the depth of accumulator 39 can be deepened or made more shallow so as to accumulate longer/more data or shorter/less data.
Interface 40 may be a dedicated interface, in the sense that it is used only for the transmission of accumulated test data to off-line testing circuitry, or it may be an interface shared with other components for other purposes. For example, interface 40 may be implemented in shared fashion with interface 18 to host 19, in which case host 19 may perform the off-line analysis. As another example, the DSP of disk controller 17 might be provided with sufficient computational power to perform the analysis internally of the disk drive, such as in embodiments where the DSP is implemented as a microprocessor or a microprocessor/DSP pair. In such embodiments where there is sufficient computational power in the disk drive itself, interface 40 may be a dedicated interface to the DSP of disk controller 17, in which case the off-line analysis is performed internally of the disk drive, by disk controller 17.
As further shown in
For example, the 13 bit servo information 37 may be split into 10 bits and 3 bits. The 13 bit sector information may also be split into 10 bits and 3 bits. Accumulator controller 38 combines the 3 bits from the servo information 37, the 3 bits from the sector information 36, and 4 bits of 0 as padding. Accumulator controller 38 provides the 32-bit accumulator 39 with the 10 bit servo information, the 10 bit sector information, the combined 3 bit servo and sector information, and the data for sector n. This technique of bit-splitting can also be used to accumulate more information that is related to the sector, for example, the disk track number and servo counting status.
In operation, a test is commenced by setting the test flag 29 to test mode, which thereupon causes LSFR generator 34 to generate synthetic test data. Processing of the synthetic test data by disk channel formatter 32, based on data appearing on NRZ bus 21, is thereafter accumulated into LSFR accumulator 33, during a pre-designated testing period. The accumulated data is thereafter accessed via interface 40 by testing equipment, which performs offline analysis to confirm proper operation of the disk subsystem, and/or to detect failure therein. The testing may be performed at manufacture time, based on which manufactured devices can be accepted or rejected for shipment to end users. In addition, testing can be performed in actual deployment in the field, such as a test at each time that the disk drive is powered up. Such an arrangement allows for on-board testing. In addition, since the test data is accumulated in LFSR accumulator 33, for offline analysis after the pre-designated testing period, testing can be accomplished ordinarily without the need for expensive test equipment that must somehow match the speed and performance increases in the disk controller itself.
Referring now to
HDD 1500 may communicate with a host device (not shown) such as a computer, mobile computing devices such as personal digital assistants, cellular phones, media or MP3 players and the like, and/or other devices via one or more wired or wireless communication links 1508. HDD 1500 may be connected to memory 1509, such as random access memory (RAM), a low latency nonvolatile memory such as flash memory, read only memory (ROM) and/or other suitable electronic data storage.
Referring now to
DVD drive 1510 may communicate with an output device (not shown) such as a computer, television or other device via one or more wired or wireless communication links 1517. DVD 1510 may communicate with mass data storage 1518 that stores data in a nonvolatile manner. Mass data storage 1518 may include a hard disk drive (HDD) such as that shown in
Referring now to
HDTV 1520 may communicate with mass data storage 1527 that stores data in a nonvolatile manner such as optical and/or magnetic storage devices. At least one HDD may have the configuration shown in
Referring now to
The present invention may also be embodied in other control systems 1540 of vehicle 1530. Control system 1540 may likewise receive signals from input sensors 1542 and/or output control signals to one or more output devices 1544. In some implementations, control system 1540 may be part of an anti-lock braking system (ABS), a navigation system, a telematics system, a vehicle telematics system, a lane departure system, an adaptive cruise control system, a vehicle entertainment system such as a stereo, DVD, compact disc and the like. Still other implementations are contemplated.
Powertrain control system 1532 may communicate with mass data storage 1546 that stores data in a nonvolatile manner. Mass data storage 1546 may include optical and/or magnetic storage devices for example hard disk drives HDD and/or DVDs. At least one HDD may have the configuration shown in
Referring now to
Cellular phone 1550 may communicate with mass data storage 1564 that stores data in a nonvolatile manner such as optical and/or magnetic storage devices for example hard disk drives HDD and/or DVDs. At least one HDD may have the configuration shown in
Referring now to
Set top box 1580 may communicate with mass data storage 1590 that stores data in a nonvolatile manner. Mass data storage 1590 may include optical and/or magnetic storage devices for example hard disk drives HDD and/or DVDs. At least one HDD may have the configuration shown in
Referring now to
Media player 1600 may communicate with mass data storage 1610 that stores data such as compressed audio and/or video content in a nonvolatile manner. In some implementations, the compressed audio files include files that are compliant with MP3 format or other suitable compressed audio and/or video formats. The mass data storage may include optical and/or magnetic storage devices for example hard disk drives HDD and/or DVDs. At least one HDD may have the configuration shown in
Referring to
VoIP player 1620 may communicate with mass data storage 1623 that stores data in a nonvolatile manner such as optical and/or magnetic storage devices, for example hard disk drives HDD and/or DVDs. At least one HDD may have the configuration shown in
Example aspects of the present disclosure have been described above with respect to particular illustrative example embodiments. It is understood that the disclosure is not limited to the above-described example embodiments and that various changes and modifications may be made by those skilled in the relevant art without departing from the spirit and scope of the disclosure.
The present disclosure is a continuation of and claims priority to U.S. patent application Ser. No. 13/246,960, filed Sep. 28, 2011, now U.S. Pat. No. 8,270,107, issued Sep. 18, 2012, which is a continuation of and claims priority to U.S. patent application Ser. No. 12/901,823, filed Oct. 11, 2010, now U.S. Pat. No. 8,031,422, issued Oct. 4, 2011, which claims priority to U.S. patent application Ser. No. 12/031,627, filed Feb. 14, 2008, now U.S. Pat. No. 7,813,067, issued Oct. 12, 2010, which claims priority under 35 U.S.C. §119(e) to U.S. Provisional Patent Application No. 60/889,829, filed Feb. 14, 2007, which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
4201908 | Johnson et al. | May 1980 | A |
4229796 | Garrett | Oct 1980 | A |
4348761 | Berger | Sep 1982 | A |
4380029 | Bode | Apr 1983 | A |
4835757 | Abiko | May 1989 | A |
4870643 | Bultman et al. | Sep 1989 | A |
5602857 | Zook et al. | Feb 1997 | A |
5610929 | Yamamoto | Mar 1997 | A |
5631913 | Maeda | May 1997 | A |
6125469 | Zook et al. | Sep 2000 | A |
6128755 | Bello et al. | Oct 2000 | A |
6539518 | Fang et al. | Mar 2003 | B1 |
6751757 | Biskup et al. | Jun 2004 | B2 |
6978370 | Kocher | Dec 2005 | B1 |
7373477 | Takase et al. | May 2008 | B2 |
7392425 | Schoenthal et al. | Jun 2008 | B1 |
7477466 | Yoshida et al. | Jan 2009 | B2 |
8068390 | Al | Nov 2011 | B2 |
8270107 | Hudiono et al. | Sep 2012 | B1 |
20030067699 | Thomson et al. | Apr 2003 | A1 |
20040125868 | Keller et al. | Jul 2004 | A1 |
20050076225 | Talstra et al. | Apr 2005 | A1 |
20070047120 | DeGroat | Mar 2007 | A1 |
20070116280 | Takashima | May 2007 | A1 |
20070168814 | Leininger et al. | Jul 2007 | A1 |
20070192656 | Goessel et al. | Aug 2007 | A1 |
20070263313 | Kitamura et al. | Nov 2007 | A1 |
20080151618 | Sharon et al. | Jun 2008 | A1 |
20080208374 | Grgic et al. | Aug 2008 | A1 |
20080215798 | Sharon et al. | Sep 2008 | A1 |
Number | Date | Country | |
---|---|---|---|
60889829 | Feb 2007 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13246960 | Sep 2011 | US |
Child | 13619510 | US | |
Parent | 12901823 | Oct 2010 | US |
Child | 13246960 | US | |
Parent | 12031627 | Feb 2008 | US |
Child | 12901823 | US |