Phase locked loop using a counter and a microcontroller to produce VCXO control signals
First Claim
Patent Images
1. A clock system, comprising:
- first clock means for generating a first derived clock signal that is frequency locked to a reference clock signal; and
second clock means for generating a second derived clock signal that is frequency locked to the reference clock signal;
wherein each of the first and second clock means comprise;
a voltage controlled oscillator for generating the respective derived clock signal;
a counter, connected to the oscillator for receiving the respective derived clock signal and the reference clock signal, and for counting a number of pulses of the reference clock signal occurring over a predetermined number of clock periods of the respective derived clock signal; and
controller means, connected to the counter and to the oscillator such that the counter, the controller means and the oscillator are connected in a feedback arrangement, for comparing the counted number of pulses of the reference clock signal with an ideal count value, and for generating a control voltage in proportion to a difference obtained therefrom, and wherein the control voltage is applied to the oscillator such that the frequency of the respective derived clock signal varies in a direction which more closely approximates the frequency of the reference clock signal.
1 Assignment
0 Petitions
Accused Products
Abstract
A digitally controlled phase locked loop generates a derived clock signal that is frequency locked to a reference clock signal. The apparatus is comprised of a microcontroller, counter, digital to analog converter (DAC) and a voltage controlled crystal oscillator (VCXO) connected in a feedback loop arrangement. A frequency output derived from the VCXO periodically samples an incoming reference signal. The sampled count value is compared to an ideal count value associated with the same sampling time period. A microcontroller and software-based algorithm perform the phase comparison and loop filter operations of the phase locked loop (PLL).
108 Citations
14 Claims
-
1. A clock system, comprising:
-
first clock means for generating a first derived clock signal that is frequency locked to a reference clock signal; and second clock means for generating a second derived clock signal that is frequency locked to the reference clock signal; wherein each of the first and second clock means comprise; a voltage controlled oscillator for generating the respective derived clock signal; a counter, connected to the oscillator for receiving the respective derived clock signal and the reference clock signal, and for counting a number of pulses of the reference clock signal occurring over a predetermined number of clock periods of the respective derived clock signal; and controller means, connected to the counter and to the oscillator such that the counter, the controller means and the oscillator are connected in a feedback arrangement, for comparing the counted number of pulses of the reference clock signal with an ideal count value, and for generating a control voltage in proportion to a difference obtained therefrom, and wherein the control voltage is applied to the oscillator such that the frequency of the respective derived clock signal varies in a direction which more closely approximates the frequency of the reference clock signal. - View Dependent Claims (2, 3, 4)
-
-
5. A clock system, comprising:
-
first clock circuit means for generating a first derived clock signal that is frequency locked to a reference clock signal; and second clock circuit means for generating a second derived clock signal that is frequency locked to the reference clock signal; wherein each of the first and second clock circuit means comprise; an oscillator for generating the respective derived clock signal, the respective derived clock signal having a frequency dependent on a control voltage applied to the oscillator; a counter, connected to the oscillator, for receiving the respective derived clock signal and the reference clock signal, and for counting a number of pulses of the reference clock signal occurring over a sample period, said sample period defined as a predetermined number of clock periods of the respective derived clock signal; controller means, connected to the counter and to the oscillator such that the counter, the controller means and the oscillator are connected in a feedback arrangement, for comparing the counted number of pulses of the reference clock signal with an ideal count value corresponding to an ideal frequency, for accumulating the differences obtained therefrom over a predetermined number of sample periods and for generating the control voltage that is proportional to the accumulated difference, wherein the control voltage is applied to the oscillator such that the frequency of the respective derived clock signal varies in a direction which more closely approximates the frequency of the reference clock signal; and phase align means, connected between the oscillator and the counter to receive the respective derived clock signal, and further connected to receive the other derived clock signal, for comparing the phases of the first and second derived clock signals, producing a control signal in relation to the difference obtained therefrom, and for shifting the phase of the first or second derived clock signal in response to the control signal such that the phase difference between the first and second derived clock signals approaches 0°
. - View Dependent Claims (6, 12, 13)
-
-
7. A clock system, comprising:
-
a first clock adapted to generate a first derived clock signal that is frequency locked to a reference clock signal; and a second clock adapted to generate a second derived clock signal that is frequency locked to the reference clock signal; wherein each of the first and second clocks comprise; a voltage controlled oscillator which outputs the respective derived clock signal, wherein the respective derived clock signal has a frequency dependent on a control voltage applied to the oscillator; a counter, connected to receive the respective derived clock signal and the reference clock signal, said counter adapted to count a number of pulses of the reference clock signal occurring over a sample period, wherein said sample period is defined as a predetermined number of clock periods of the respective derived clock signal; a controller, connected to the counter and to the oscillator such that the counter, the controller and the oscillator are connected in a feedback arrangement; and a phase aligner, connected between the oscillator and the counter to receive the respective derived clock signal, and further connected to receive the other derived clock signal; wherein said controller further includes; comparator means for comparing the counted number of pulses of the reference clock signal with an ideal count value corresponding to an ideal frequency; accumulator means for accumulating the differences obtained therefrom over a predetermined number of sample periods; and means for generating the control voltage, wherein said control voltage is proportional to the accumulated differences, and wherein the control voltage is applied to the oscillator such that the frequency of the respective derived clock signal varies in a direction which more closely approximates the frequency of the reference clock signal; wherein said phase aligner further includes; phase comparator means for comparing the phases of the first and second derived clock signals and for producing a control signal in relation to the difference obtained therefrom; and phase shift means for shifting the phase of the first or second derived clock signal in response to the control signal such that the phase difference between the first and second derived clock signals approaches 0°
.
-
-
8. An apparatus for frequency locking a derived clock signal to a reference clock signal, comprising:
-
a voltage controlled oscillator for generating the derived clock signal; a counter, connected to receive the derived and reference clock signals, the counter adapted to count a number of pulses of the reference clock signal occurring over a predetermined number of dock periods of the derived clock signal; and controller means, connected to the counter and to the oscillator such that the counter, the controller means and the oscillator are connected in a feedback arrangement, for comparing the counted number of pulses of the reference clock signal with an ideal count value, and for generating a control signal in proportion to a difference obtained therefrom, wherein the control signal is applied to the oscillator such that the frequency of the derived clock signal varies in a direction which more closely approximates the frequency of the reference clock signal; the controller means further including means for capturing an initial measurement of the error between the reference clock signal and the derived clock signal and making an initial adjustment to the control signal and calibrating one or more loop gain coefficients to be used in subsequent updates of the control signal. - View Dependent Claims (9, 10, 14)
-
-
11. An apparatus for frequency locking a derived dock signal to a reference clock signal, comprising:
-
a voltage controlled oscillator for generating the derived clock signal; a counter, connected to receive the derived and reference clock signals, the counter adapted to count a number of pulses of the reference clock signal occurring over a predetermined number of clock periods of the derived clock signal; and controller means, connected to the counter and to the oscillator such that the counter, the controller means and the oscillator are connected in a feedback arrangement, for comparing the counted number of pulses of the reference clock signal with an ideal count value, and for generating a control signal in proportion to a difference obtained therefrom, wherein the control signal is applied to the oscillator such that the frequency of the derived clock signal varies in a direction which more closely approximates the frequency of the reference clock signal; the controller means further including means for capturing an initial measurement of the error between the reference clock signal and the derived clock signal and making an initial adjustment to the control signal and calibrating one or more loop gain coefficients to be used in subsequent updates of the control signal; and the controller means further including means for controlling the control signal to cause the signal to dither the difference between the counted number of pulses and ideal count value.
-
Specification