Digital sine/cosine wave generator
AssigneeSeagate Technology LLC
InventorsTony Chun-Hung Huang, Hai Thanh Ho
Life of this patent
Estimating the term…
Abstract
A digital sine/cosine wave generator generates discrete values representative of either a sine wave or a cosine wave. The digital sine/cosine wave generator generates sine and/or cosine waves by implementing a difference equation of the form y(n)=b*y(n−2)−y(n−1). One of the initial conditions of the difference equation is selected from a series of values generated by a coefficient generator. The frequency of the sine and/or cosine wave generated by the sine/cosine wave generator is dependent on, and may be selected according to, which of the series of values generated by a coefficient generator is chosen as an initial condition of the difference equation.
Claims19
A digital sine/cosine generator comprising:
- a coefficient generation module generating a series of values;
- a sine/cosine wave generation module receiving one of the values from the series of values and receiving an initial value indicative of a starting point of a periodic waveform, wherein the sine/cosine wave generation module employs the initial value and the value from the series of values to generate a sequence of values representative of a periodic waveform.
A computer-readable media having computer executable modules comprising:
- a coefficient generation module generating a first series of N consecutive values characterized by the equation B(N)=sin(2πNFT), wherein F is the base frequency of the function and T is the period between consecutive values;
- a discrete periodic waveform generation module utilizing a difference equation to generate a sequence of consecutive values representative of discrete periodic waveform, wherein the discrete periodic waveform generation module utilizes a predetermined value as a first initial condition for the difference equation and one of the values of the first series of N consecutive values as a second initial condition for the difference equation, such that frequency of the waveform generated by the discrete periodic waveform generation module has a frequency of N*F.
A method of generating, using a discrete difference equation, a sequence of values representative of a periodic waveform comprising steps of:
- (a) selecting a first value representative of a first initial condition of the difference equation;
- (b) generating a second value representative of a second initial condition of the difference equation;
- (c) calculating the sequence of values of the periodic waveform with the discrete difference equation using the first and the second values as initial conditions in the difference equation.
A digital sine/cosine wave generator comprising:
- a coefficient generator generating a series of values;
- and
- a sine/cosine generation means for receiving one of the series of values and for generating a sequence of values representative of either a sine wave or a cosine wave using the one of the series of values as an initial condition of a difference equation.
Dependencies are inferred from the claim text.