Claims
- 1. A programmable frequency following device capable of generating an output frequency which is a user-programmable multiple of an input frequency, which comprises:
- a frequency divider for dividing the input frequency by a predetermined divisor;
- a frequency counter for counting the output frequency of the programmable frequency following device, the frequency counter being reset to 0 after reaching a cycle time of the output frequency from the frequency divider;
- a programmable frequency comparator for comparing the output count from the frequency counter with a user-programmable reference value at the time before the frequency counter is reset to 0 in such a manner that if the output count is greater than the reference value, the programmable frequency comparator generates an up-trigger signal; if the output count is less than the reference value, the programmable frequency comparator generates a down-trigger signal;
- if the output count is equal to the reference value, the programmable frequency comparator generates a lock signal;
- an up-down counter which is capable of increasing its count in response to the up-trigger signal from the programmable frequency comparator, decreasing its count in response to the down-trigger signal from the programmable frequency comparator, and locking its count at current value in response to the lock signal from the programmable frequency comparator; and
- a DCO whose output frequency is inversely proportional to the output count from the up-down counter, and whose output frequency serves as the output frequency of the programmable frequency following device.
- 2. The programmable frequency following device of claim 1, wherein the user-programmable reference value is preset through software means.
- 3. The programmable frequency following device of claim 1, wherein the user-programmable reference value is preset through firmware means.
- 4. The programmable frequency following device of claim 1, further comprising:
- a frequency-doubling circuit coupled between the DCO and the frequency counter, for doubling the output frequency from the DCO before being fed to the frequency counter for frequency counting.
- 5. The programmable frequency following device of claim 1, further comprising:
- a ripple-prevention control circuit capable of generating an up.sub.-- safe signal to trigger the counting of the up-down counter in the upward direction in such a manner that the up.sub.-- safe signal is switched to high-voltage logic state only when the programmable frequency comparator issues the up-trigger signal and any neighboring pair of delay paths in the DCO are switched to the same logic state; and the condition of up.sub.-- safe signal being in high-voltage logic state causing the up-down counter to count in the upward direction.
- 6. The programmable frequency following device of claim 1, wherein the programmable frequency comparator outputs a lock signal to lock the up-down counter when the output frequency from the DCO reaches an intended value set by the user-programmable reference value.
- 7. The programmable frequency following device of claim 1, further comprising:
- an up-safe logic circuit capable of generating an up.sub.-- safe signal in such a manner that the up.sub.-- safe signal is switched to high-voltage logic state only when the programmable frequency comparator issues the up-trigger signal and any neighboring pair of delay paths in the DCO are switched to the same logic state; and the condition of the up.sub.-- safe signal being in high-voltage logic state causing the up-down counter to count in the upward direction;
- a selection control circuit capable of generating an up.sub.-- selection signal in such a manner that the up.sub.-- selection signal is switched to high-voltage logic state when the programmable frequency comparator issues an up-trigger signal and any bit of the out-put from the up-down counter is switched to high-voltage logic state; and
- a multiplexer which operates in such a manner that when the up.sub.-- selection signal from the selection control circuit is high-voltage logic state, it selects the output up.sub.-- safe signal from the up-safe logic circuit as clock signal to the up-down counter, and other-wise selects the input frequency as clock signal to the up-down counter.
- 8. The programmable frequency following device of claim 7, further comprising:
- a ripple-prevention control circuit which takes and selects next delay paths in the multiplexer in the DCO ealier than the switching of the output count as the clock signal to the up-down counter from current delay path.
- 9. The programmable frequency following device of claim 1, wherein the DCO is a multi-loop ring oscillator.
- 10. The programmable frequency following device of claim 1, wherein the DCO includes: a primitive ring oscillator; a first delay unit coupled to the primitive ring oscillator; and a second delay unit coupled to the first delay unit.
- 11. A programmable frequency following device capable of generating an output frequency which is a user-programmable multiple of an input frequency, which comprises:
- a frequency divider for dividing the input frequency by a predetermined divisor;
- a frequency counter for counting the output frequency of the programmable frequency following device, the frequency counter being reset to 0 after reaching a cycle time of the output frequency from the frequency divider;
- a preset means for setting a user-programmable reference value;
- a programmable frequency comparator for comparing the output count from the frequency counter with a user-programmable reference value at the time before the frequency counter is reset to 0 in such a manner that if the output count is greater than the reference value, the programmable frequency comparator generates an up-trigger signal; if the output count is less than the reference value, the programmable frequency comparator generates a down-trigger signal; and if the output count is equal to the reference value, the programmable frequency comparator generates a lock signal;
- an up-down counter which is capable of increasing its count in response to the up-trigger signal from the programmable frequency comparator, decreasing its count in response to the down-trigger signal from the programmable frequency comparator, and locking its count at current value in response to the lock signal from the programmable frequency comparator; and
- a DCO whose output frequency is inversely proportional to the output count from the up-down counter, and whose output frequency serves as the output frequency of the programmable frequency following device.
- 12. The programmable frequency following device of claim 11, wherein the preset means is a software preset means.
- 13. The programmable frequency following device of claim 11, wherein the preset means is a firmware preset means.
- 14. The programmable frequency following device of claim 11, further comprising:
- a frequency-doubling circuit coupled between the DCO and the frequency counter, for doubling the output frequency from the DCO before being fed to the frequency counter for frequency counting.
- 15. The programmable frequency following device of claim 11, further comprising:
- a ripple-prevention control circuit capable of generating an up.sub.-- safe signal to trigger the counting of the up-down counter in the upward direction in such a manner that the up.sub.-- safe signal is switched to high-voltage logic state only when the programmable frequency comparator issues the up-trigger signal and any neighboring pair of delay paths in the DCO are switched to the same logic state; and the condition of the up.sub.-- safe signal being in high-voltage logic state causing the up-down counter to count in the upward direction.
- 16. The programmable frequency following device of claim 11, wherein the programmable frequency comparator outputs a lock signal to lock the up-down counter when the output frequency from the DCO reaches an intended value set by the user-programmable reference value.
- 17. The programmable frequency following device of claim 11, further comprising:
- an up-safe logic circuit capable of generating an up.sub.-- safe signal in such a manner that the up.sub.-- safe signal is switched to high-voltage logic state only when the programmable frequency comparator issues the up-trigger signal and any neighboring pair of delay paths in the DCO are switched to the same logic state; and the condition of the up.sub.-- safe signal being in high-voltage logic state causing the up-down counter to count in the upward direction;
- a selection control circuit capable of generating an up.sub.-- selection signal in such a manner that the up.sub.-- selection signal is switched to high-voltage logic state when the programmable frequency comparator issues the up-trigger signal and any bit of the out-put from the up-down counter is switched to high-voltage logic state; and
- a multiplexer which operates in such a manner that when the up.sub.-- selection signal from the selection control circuit is high-voltage logic state, it selects the output up.sub.-- safe signal from the up-safe logic circuit as clock signal to the up-down counter, and other-wise selects the input frequency as clock signal to the up-down counter.
- 18. The programmable frequency following device of claim 17, further comprising:
- a ripple-prevention control circuit which takes and selects next delay paths in the multiplexer in the DCO ealier than the switching of the output count as the clock signal to the up-down counter from current delay path.
- 19. The programmable frequency following device of claim 11, wherein the DCO is a multi-loop ring oscillator.
- 20. The programmable frequency following device of claim 11, wherein the DCO includes:
- a primitive ring oscillator; a first delay unit coupled to the primitive ring oscillator; and a second delay unit coupled to the first delay unit.
Priority Claims (1)
Number |
Date |
Country |
Kind |
87217815 |
Oct 1998 |
TWX |
|
CROSS-REFERENCE TO RELATED APPLICATION
This application claims the priority benefit of Taiwan application Ser. No. 87217815, filed Oct. 28, 1998.
US Referenced Citations (2)
Number |
Name |
Date |
Kind |
4244043 |
Fujita et al. |
Jan 1981 |
|
5202906 |
Saito et al. |
Apr 1993 |
|