Claims
- 1. A method in a multiple processor data processing system to synchronize counters incremented by local clocks for a plurality of nodes, the method comprising:designating a master node from the plurality of nodes, wherein remaining nodes are designated as slave nodes; determining a phase difference between a phase associated with a counter incremented by a clock signal of a slave node to a phase associated with a counter incremented by a local clock signal of the master node; detecting a change in direction of the phase difference between the phase associated with the slave node and the phase associated with the master node; and adjusting the clock frequency of the slave node by a first amount in a first stage in a multiple stage frequency synthesizer and by a second amount in a second stage of the multiple stage frequency synthesizer to cause the phase difference between the phase associated with the slave node and the phase associated with the master node to switch direction.
- 2. The method of claim 1, wherein any node from the plurality of nodes may be designated the master node.
- 3. The method of claim 1, wherein the phases are compared at a specified time interval.
- 4. The method of claim 3, wherein a shorter specified time interval for comparison results in a smaller deviation in phase difference.
- 5. The method of claim 4, wherein the phase difference is measured by a difference in counter value at the master node and the counter value at the slave node.
- 6. An apparatus in a multiple processor data processing system to synchronize counters incremented by local clocks for a plurality of nodes, the apparatus comprising:a frequency synthesizer connected to a system clock at each node from the plurality of nodes, wherein the frequency synthesizer includes a plurality if stages and wherein at least two stages within the plurality of stages include a variable frequency divider and wherein the frequency synthesizer makes small incremental adjustments in output frequency; and a comparator, wherein the comparator determines a change in direction of a phase difference between the phase associated with a slave node and the phase associated with a master node.
- 7. The apparatus of claim 6, wherein the frequency synthesizer at each node contains variable frequency dividers that are used to adjust the frequency output by adjusting constants of division in the frequency dividers.
- 8. The apparatus of claim 6, wherein any node from the plurality of nodes may be designated the master node.
- 9. The apparatus of claim 6, wherein the phases of the counters are compared at a specified time interval.
- 10. The apparatus of claim 9, wherein a shorter specified time interval for comparison results in a smaller deviation in phase difference.
- 11. The apparatus of claim 10, wherein the phase difference is measure by a difference in the counter value at the master node and the counter value at the slave node.
- 12. The apparatus of 11, wherein a change in direction of the phase difference between the phase associated with the counter at the slave node and the phase associated with the counter at the master node causes the frequency synthesizer output of the slave node to shift so that the phase difference changes direction.
CROSS-REFERENCE TO RELATED APPLICATIONS
The present invention is related to the following applications entitled “AN APPARATUS AND METHOD FOR HIGH RESOLUTION FREQUENCY ADJUSTMENT IN A MULTISTAGE FREQUENCY SYNTHESIZER”, U.S. application Ser. No. 09/631,718, now issued as U.S. Pat. No. 6,566,921; “AN APPARATUS AND METHOD FOR DYNAMIC FREQUENCY ADJUSTMENT IN A FREQUENCY SYNTHESIZER”, U.S. application Ser. No. 09/631,720, now issued as U.S. Pat. No. 6,522,207; which are incorporated herein by reference.
US Referenced Citations (16)
Foreign Referenced Citations (6)
Number |
Date |
Country |
64-041343 |
Feb 1989 |
JP |
02094709 |
Apr 1990 |
JP |
04-024861 |
Jan 1992 |
JP |
08-018446 |
Jan 1996 |
JP |
11-055232 |
Feb 1999 |
JP |
11-225136 |
Aug 1999 |
JP |
Non-Patent Literature Citations (2)
Entry |
Wolaver, Dan H., Phase-Locked Loop Circuit Design, 1991, p. 248-249.* |
Dynamic Behavior of a Phase-Locked Loop Using D-Type Phase Detector and Nonlinear Voltage-Controlled Oscillator; Boerstler, David W.; Mar. 21,1981. |