The present invention relates to clock compensation, and more particularly to compensating a local clock of a device that receives data from a host for frequency offset when transmitting data from the device to the host.
A host and a device typically transmit and receive data to and from each other. For example in a personal computer environment, a disk drive controller (host) is often connected to a disk drive (device). The host is typically implemented using a relatively accurate host clock generator. The accuracy is often required to meet the specifications of a host processor and/or other host components.
The host and the device may be connected using a Serial Advanced Technology Attachment (SATA) standard, although other protocols may be used. The SATA standard is a simplified standard for transferring data in a packet switching network between a host and a device. SATA typically employs balanced voltage (differential) amplifiers and two pairs of wires to connect transmitters and receivers of the host and the device in a manner similar to 100BASE-TX Ethernet. The SATA standard is disclosed in “Serial ATA: High Speed Serialized AT Attachment”, Serial ATA Organization, Revision 1.0, 29 Aug. 2001, and its Supplements and Errata, which are hereby incorporated by reference.
To reduce costs, the device may be implemented using a less accurate clock. For example, the device may include a resonator, which may be crystal or ceramic based. The resonator generates a reference clock for a frequency synthesizer of a phase-locked loop (PLL), which generates a higher-frequency clock. Ceramic resonators are cheaper than crystal resonators but not as accurate. The resonator can be an individual component. Alternately, the resonator can be implemented inside a clock chip (such as crystal voltage controlled oscillator (VCO)).
When the device is implemented using lower accuracy clock generators, the transmitted data from the device to the host may not meet data transmission standards, such as SATA or other standards. As a result, the device must be implemented with a more expensive local clock generator with improved accuracy, which increases the cost of the device.
A device according to the present invention communicates with a host and includes a transmitter, a receiver and a clock generator that generates a local clock frequency. A clock recovery circuit communicates with the receiver and recovers a host clock frequency from data received from the host by the receiver. A frequency offset circuit communicates with the clock recovery circuit and the clock generator and generates a frequency offset based on the clock frequency and the recovered host clock frequency. A frequency compensator compensates a frequency of the transmitter using the frequency offset.
In other features, the frequency compensator includes a low pass filter that communicates with the frequency offset circuit. The frequency compensator includes an accumulator that communicates with the low pass filter and that generates a phase offset. The frequency compensator includes an interpolator that receives a local phase from the clock generator and the phase offset from the accumulator. The interpolator outputs a compensated clock signal to the transmitter.
In yet other features, the clock generator includes a phase-locked loop circuit that includes a reference frequency generator, a phase detector that communicates with the reference frequency generator, a low pass filter that communicates with the phase detector, and a voltage controlled oscillator that communicates with the low pass filter. The reference frequency generator includes at least one of a crystal resonator and a ceramic resonator.
In still other features, a 1/N divider has an input that communicates with the voltage controlled oscillator and an output that communicates with the phase detector. A 1/M divider has an input that communicates with the reference frequency generator and an output that communicates with the phase detector. N and M are adjusted to create a spread spectrum modulation signal for spread spectrum operation. An interpolator communicates with an output of the voltage controlled oscillator and an input of the 1/N divider for smoothing.
In still other features, a summer has a first input that communicates with an output of the low pass filter and an output that communicates with an input of the accumulator. A frequency modulation generator communicates with a second input of the summer and selectively generates a spread spectrum modulation signal when spread spectrum operation is enabled and a constant signal when spread spectrum operation is disabled.
In other features, the host and the device communicate using a serial ATA standard. The host can be a disk controller and the device can be a disk drive.
Further areas of applicability of the present invention will become apparent from the detailed description provided hereinafter. It should be understood that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
The present invention will become more fully understood from the detailed description and the accompanying drawings, wherein:
The following description of the preferred embodiment(s) is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses. For purposes of clarity, the same reference numbers will be used in the drawings to identify similar elements.
Referring now to
Referring now to
Referring now to
The accumulator 68 generates a phase offset poffset, which is input to an interpolator 72. The interpolator 72 also receives plocal from the PLL 64. The interpolator 72 generates a compensated clock signal based on poffset and plocal. An output of the interpolator 72 communicates with the transmitter 24, which transmits the device data 28.
Referring now to
When the spread spectrum control (SSC) is enabled, the output of the filter 66 is summed with the spread spectrum modulation signal to generate the phase offset poffset, which is input to the interpolator 72. When spread spectrum control is disabled, the output of the filter 66 is summed with a constant output of the frequency modulation generator 84 to generate the phase offset poffset, which is input to the interpolator 72.
Referring now to
An output of the summer 108 communicates with a delay element 112, which has an output connected to a second input of the summer 106 and a second input of the summer 108. The delay elements can be registers. An output of the summer 106 is connected to an accumulator 110 including a summer 114 and a delay element 118. The output of the summer 106 is connected to a first input of the summer 114. An output of the summer 114 is connected to the delay element 118, which has an output connected to a second input of the summer 114 and to a first input of an interpolator 122.
In an exemplary implementation, the interpolator 122 operates using 128-phases at 375 MHz, although higher or lower phases and/or frequencies can be used. A second input of the interpolator 122 is connected to an output of the PLL 64. An output of the interpolator 122 is input to the clock data recovery circuit 100. The clock data recovery and frequency offset calculator 60 outputs the frequency offset foffset, which is input to the LPF 66. An output of the LPF 66 is connected to the summer 86.
An output of the frequency modulation generator 84 is connected to a second input of the summer 86. An output of the summer 86 is connected to a first input of a summer 152 in the accumulator 68. An output of the summer 152 is connected to a delay element 156, which has an output that is connected to the interpolator 72 and to a second input of the summer 152. The interpolator 72 operates using 128-phases at 750 MHz, although higher or lower phases and/or frequencies can be used.
Referring now to
Referring now to
Referring now to
In
Those skilled in the art can now appreciate from the foregoing description that the broad teachings of the present invention can be implemented in a variety of forms. Therefore, while this invention has been described in connection with particular examples thereof, the true scope of the invention should not be so limited since other modifications will become apparent to the skilled practitioner upon a study of the drawings, the specification and the following claims.
This application is a continuation of U.S. patent application Ser. No. 10/267,177 filed on Oct. 9, 2002. The disclosure of the above application is incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
4456965 | Graber et al. | Jun 1984 | A |
4747047 | Coogan et al. | May 1988 | A |
5210855 | Bartol | May 1993 | A |
5220275 | Holmqvist | Jun 1993 | A |
5222062 | Sharma et al. | Jun 1993 | A |
5274665 | Schilling | Dec 1993 | A |
5331646 | Krueger et al. | Jul 1994 | A |
5446767 | Nakagawa et al. | Aug 1995 | A |
5471152 | Gheewala et al. | Nov 1995 | A |
5471585 | Barakat et al. | Nov 1995 | A |
5553230 | Petersen et al. | Sep 1996 | A |
5564114 | Popat et al. | Oct 1996 | A |
5661765 | Ishizu | Aug 1997 | A |
5748645 | Hunter et al. | May 1998 | A |
5783960 | Lackey | Jul 1998 | A |
5787112 | Murai | Jul 1998 | A |
5787485 | Fitzgerald et al. | Jul 1998 | A |
5802318 | Murray et al. | Sep 1998 | A |
5812754 | Lui et al. | Sep 1998 | A |
5826048 | Dempsey et al. | Oct 1998 | A |
5828854 | Wade | Oct 1998 | A |
5848278 | Sakai | Dec 1998 | A |
5854941 | Ballard et al. | Dec 1998 | A |
5886901 | Magoshi | Mar 1999 | A |
5894560 | Carmichael et al. | Apr 1999 | A |
5909451 | Lach et al. | Jun 1999 | A |
6009275 | DeKoning et al. | Dec 1999 | A |
6021462 | Minow et al. | Feb 2000 | A |
6038267 | Oura et al. | Mar 2000 | A |
6057863 | Olarig | May 2000 | A |
6059836 | Liguori | May 2000 | A |
6073188 | Fleming | Jun 2000 | A |
6092169 | Murthy et al. | Jul 2000 | A |
6106568 | Beausang et al. | Aug 2000 | A |
6178215 | Zhang et al. | Jan 2001 | B1 |
6223238 | Meyer et al. | Apr 2001 | B1 |
6237052 | Stolowitz | May 2001 | B1 |
6314145 | VanDriest | Nov 2001 | B1 |
6330687 | Griffith et al. | Dec 2001 | B1 |
6363439 | Battles et al. | Mar 2002 | B1 |
6367033 | Jibbe | Apr 2002 | B1 |
6378039 | Obara et al. | Apr 2002 | B1 |
6442722 | Nadeau-Dosic | Aug 2002 | B1 |
6447340 | Wu | Sep 2002 | B1 |
6484294 | Kiyoshige et al. | Nov 2002 | B1 |
6496900 | McDonald et al. | Dec 2002 | B1 |
6549981 | McDonald et al. | Apr 2003 | B2 |
6557065 | Peleg et al. | Apr 2003 | B1 |
6564271 | Micalizzi, Jr. et al. | May 2003 | B2 |
6578126 | MacLellan et al. | Jun 2003 | B1 |
6614842 | Chou et al. | Sep 2003 | B1 |
6662076 | Conboy et al. | Dec 2003 | B1 |
6678768 | Craft | Jan 2004 | B1 |
6687775 | Basset | Feb 2004 | B1 |
6697867 | Chong, Jr. | Feb 2004 | B1 |
6704300 | Chen et al. | Mar 2004 | B1 |
6791779 | Singh et al. | Sep 2004 | B1 |
6792494 | Bennett et al. | Sep 2004 | B2 |
6813688 | Wu et al. | Nov 2004 | B2 |
6845420 | Resnick | Jan 2005 | B2 |
6854045 | Ooi et al. | Feb 2005 | B2 |
6898655 | Sutardja | May 2005 | B1 |
6908330 | Garrett et al. | Jun 2005 | B2 |
6915380 | Tanaka et al. | Jul 2005 | B2 |
6917992 | Grimsrud et al. | Jul 2005 | B2 |
6922738 | Drescher et al. | Jul 2005 | B2 |
6928509 | Surugucchi | Aug 2005 | B2 |
6961813 | Grieff et al. | Nov 2005 | B2 |
6978337 | Chang | Dec 2005 | B1 |
7089345 | Lynn | Aug 2006 | B1 |
20020159311 | Coffey et al. | Oct 2002 | A1 |
20020186706 | Chren et al. | Dec 2002 | A1 |
20030005231 | Ooi et al. | Jan 2003 | A1 |
20030035504 | Wong et al. | Feb 2003 | A1 |
20030074515 | Resnick | Apr 2003 | A1 |
20030135577 | Weber et al. | Jul 2003 | A1 |
20030145264 | Siegel et al. | Jul 2003 | A1 |
20030167367 | Kaushik et al. | Sep 2003 | A1 |
20030236952 | Grieff et al. | Dec 2003 | A1 |
20040015637 | Yau | Jan 2004 | A1 |
20040024950 | Surugucchi | Feb 2004 | A1 |
20040044802 | Chiang et al. | Mar 2004 | A1 |
20040068591 | Workman et al. | Apr 2004 | A1 |
20040081179 | Gregorcyk | Apr 2004 | A1 |
20040083323 | Rabinovitz et al. | Apr 2004 | A1 |
20040083324 | Rabinovitz et al. | Apr 2004 | A1 |
20040088441 | Chiang et al. | May 2004 | A1 |
20040100944 | Richmond et al. | May 2004 | A1 |
20040113662 | Grimsrud | Jun 2004 | A1 |
20040117522 | Loffink et al. | Jun 2004 | A1 |
20040120353 | Kim et al. | Jun 2004 | A1 |
20040198104 | Hadba et al. | Oct 2004 | A1 |
20040199515 | Penny et al. | Oct 2004 | A1 |
20040203295 | Hadba et al. | Oct 2004 | A1 |
20040205288 | Ghaffari et al. | Oct 2004 | A1 |
20040252716 | Nemazie | Dec 2004 | A1 |
20040264284 | Priborsky et al. | Dec 2004 | A1 |
20050005216 | Chameshlu et al. | Jan 2005 | A1 |
20050015655 | Clayton et al. | Jan 2005 | A1 |
20050024083 | Kitzmura et al. | Feb 2005 | A1 |
20050027894 | Ayyavu et al. | Feb 2005 | A1 |
20050055501 | Guha et al. | Mar 2005 | A1 |
20050144490 | Igari | Jun 2005 | A1 |
20050204078 | Steinmetz et al. | Sep 2005 | A1 |
20050246475 | Ervin | Nov 2005 | A1 |
20050251588 | Hoch et al. | Nov 2005 | A1 |
20080310330 | Agazzi et al. | Dec 2008 | A1 |
Number | Date | Country |
---|---|---|
0876016 | Nov 1998 | EP |
2 408 624 | Mar 2004 | GB |
Entry |
---|
Serial ATA II; Extensions to Serial ATA, 1.0, Revision 1.0, Oct. 16, 2002, APT Technologies, Inc., Dell Computer Corporation, Intel Corporation, Maxtor Corporation, Seagate Technology. |
RAID Anatomy 101; Alan Benway; Oct. 2000; 7 pages. |
Taking a Ride on the Bus; Alan Benway; Apr. 2000; 5 pages. |
Serial ATA Next Generation Storage Interface; Mark Kymin; Jun. 9, 2005; pp. 1-6. |
SATA PHY Interface Specification (SAPIS) Draft—Rev 0.90; Intel Corporation; Feb. 8, 2002; pp. 1-12. |
SATA Technology; www.sata-or.org; Dec. 15, 2004; 8 pages. |
SATA v PATA; Sanjeeb Nanda, Computer Technology Review; Nov. 2002; p. 18. |
SATA (FAQs); Seagate Technology LLC; 2005; 3 pages. |
Serial ATA: High Speed Serialized AT Attachment; Revision 1.0a; Jan. 7, 2003; APT Technologies, Inc., Dell Computer Corporation, Intel Corporation, Maxtor Corporation, Seagate Technology; 311 pages. |
Serial ATA-to-Ultra ATA Adapter; SIIG, Inc.; 2 pages. |
Tempo Bridge G5 Serial ATA Interface to Parallel ATA Drive Adapter; Sonnet Technologies, Inc., Revised 2005; 3 pages. |
Serial ATA in Servers and Networked Storage; 2002; 12 pages. |
Serial ATA II: Port Multiplier, Revision 1.0, Mar. 25, 2003, APT Technologies, Inc., Dell Computer Corporation, Intel Corporation, Maxtor Corporation, Seagate Technology; 34 pages. |
Serial ATA II Workgroup; Serial ATA II Specification Port Selector, Proposed Draft; Revision 1.0RC, Jun. 23, 2003; 21 pages. |
Information Technology—AT Attachment with Packet Interface—6 (ATA/ATAPI-6), Working Draft, T13 1410D, Revision 3; Peter T. McLean; Oct. 30, 2001; 496 pages. |
Serial ATA II: Port Selector, Revision 1.0, Jul. 28, 2003; Dell Computer Corporation, Intel Corporation, Maxtor Corporation, Seagate Technology, Vitesse Semiconductor Corporation; 20 pages. |
“Serial ATA: High Speed Serialized AT Attachment”, Serial ATA Organization, Revision 1.0, Aug. 29, 2001. |
Supplements to “Serial ATA: High Speed Serialized AT Attachment”, Serial ATA Organization, Revision 1.0, Aug. 29, 2001. |
Errata to “Serial ATA: High Speed Serialized AT Attachment”, Serial ATA Organization, Revision 1.0, Aug. 29, 2001. |
Spread Spectrum Scene; http://sss-mag.com/ss.html#tutorial; Mar. 27, 2007; pp. 1-6. |
For U.S. Appl. No. 10/267,177, filed Oct. 9, 2002, Office Action dated Dec. 13, 2006. |
For U.S. Appl. No. 10/267,177, filed Oct. 9, 2002, Office Action dated Jul. 10, 2006. |
For U.S. Appl. No. 10/267,177, filed Oct. 9, 2002, Office Action dated Feb. 8, 2006. |
Authoritative Dictionary; pp. 123-124. |
Serial ATA-to-Ultra ATA Adapter; SIIG, Inc., 2005; 2 pages. |
Serial ATA-to-Ultra ATA Adapter; SIIG, Inc.; 2005; 2 pages. |
Number | Date | Country | |
---|---|---|---|
20070297553 A1 | Dec 2007 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10267177 | Oct 2002 | US |
Child | 11895974 | US |