Digital phase-quadrature oscillator
AssigneeRadiodetection Limited
InventorJohn M. Royle
Life of this patent
Estimating the term…
Abstract
A digital phase-quadrature oscillator generates a series of sine values representative of a sine wave, and a series of cosine values representative of a cosine wave. In each iteration of the oscillator, a sum of the squares of past sine and cosine values is used as a negative feedback term in synthesizing next sine and cosine values, in order to stabilize the amplitudes of the sine and cosine values.
Claims15
A method of generating quadrature related waves, comprising:
- (a) generating a sine value;
- (b) generating a cosine value;
- (c) generating a magnitude value equal to a sum of the squares of the sine value and the cosine value;
- (d) generating a negative feedback value as a function of the sine wave, the cosine value, and the magnitude value;
- (e) generating a next sine value using the sine value and the negative feedback value, whereby the next sine value represents part of a sine wave;
- (f) repeating steps (a) through (e) to generate a series of values representative of the sine wave;
- generating a first seed from a predetermined sampling frequency value and a desired signal frequency value;
- and
- generating a second seed from the predetermined sampling frequency value and the desired signal frequency value,
- wherein step (d) comprises generating the negative feedback value using the first and second seeds such that the first and second seeds cause the sine wave to have the desired frequency value.
A system of generating quadrature related waves, comprising:
- means for generating a sine value;
- means for generating a cosine value;
- means for generating a magnitude value equal to a sum of the squares of the sine value and the cosine value;
- means for generating a negative feedback value as a function of the sine wave, the cosine value, and the magnitude value;
- means for generating a next sine value using the sine value and the negative feedback value, whereby the next sine value represents part of a sine wave;
- means for generating a series of values representative of the sine wave;
- means for generating a first seed from a predetermined sampling frequency value and a desired signal frequency value;
- and
- means for generating a second seed from the predetermined sampling frequency value and the desired signal frequency value,
- wherein the means for generating a negative feedback value comprises generating the negative feedback value using the first and second seeds such that the first and second seeds cause the sine wave to have the desired frequency value.
A computer program product comprising computer usuable media having computer readable program code means embodied in said media for causing application programs to execute on a computer processor to generate quadrature related waves, said computer readable program code means comprising:
- a first computer readable program code means for causing the processor to generate a sine value;
- a second computer readable program code means for causing the processor to generate a cosine value;
- a third computer readable program code means for causing the processor to generate a magnitude value equal to a sum of the squares of the sine value and the cosine value;
- a fourth computer readable program code means for causing the processor to generate a negative feedback value as a function of the sine value, the cosine value, and the magnitude value, wherein the first computer readable program code means includes computer readable program code means for causing the processor to generate a next sine value using the sine value and the negative feedback value, whereby the next sine value represents part of a sine wave;
- a fifth computer readable program code means for causing the processor to generate a second negative feedback signal as a function of the sine value, the cosine value, and the magnitude, wherein the second computer readable program means includes computer readable program code means for causing the processor to generate next cosine value using the cosine value and the second negative feedback value, whereby the next cosine value represents a cosine wave;
- wherein the first, second third, fourth and fifth computer readable program code means perform their respective functions repeatedly to generate a series of sine values representative of the sine wave and a series of cosine values representative of the cosine wave;
- and
- a sixth computer readable program means for causing the processor to generate a first seed and a second seed from a predetermined sampling frequency and a desired frequency value.
A system for generating quadrature related waves, comprising:
- a first integrator that generates a sine value;
- a second integrator that generates a cosine value;
- a magnitude generator that generates a magnitude value equal to a sum of the squares of the sine value and the cosine value;
- a feedback generator that generates a negative feedback value as a function of the sine value, the cosine value, and the magnitude value, wherein the integrator is adapted to generate a next sine value using the sine value and the negative feedback value, whereby the next sine value represents part of a sine wave;
- a second feedback generator that generates a second negative feedback signal as a function of the sine value, the cosine value, and the magnitude value, wherein the second integrator is adapted to generate a next cosine value using the cosine value and the second negative feedback value, whereby the next cosine value represents part of a cosine wave;
- wherein the first and second integrators, the magnitude generator, the feedback generator and the second feedback generator are adapted to perform their respective functions repeatedly, whereby the first and second integrators respectively generate a series of sine values representative of the sine wave and a series of cosine values representative of the cosine wave;
- a seed generator for generating a first seed and a second seed from a predetermined sampling frequency value and a desired frequency value;
- wherein
- the feedback generator is adapted to generate the negative feedback value using the first and second seed value, and
- the second negative feedback generator is adapted to generate the second negative feedback value using the first and second seed values such that the first and second seed values cause the sine wave and the cosine wave to have a common frequency equal to the desired frequency value.
Dependencies are inferred from the claim text.