JP2004153376A - Numerically controlled oscillator - Google Patents

Numerically controlled oscillator Download PDF

Info

Publication number
JP2004153376A
JP2004153376A JP2002313898A JP2002313898A JP2004153376A JP 2004153376 A JP2004153376 A JP 2004153376A JP 2002313898 A JP2002313898 A JP 2002313898A JP 2002313898 A JP2002313898 A JP 2002313898A JP 2004153376 A JP2004153376 A JP 2004153376A
Authority
JP
Japan
Prior art keywords
frequency
address
rom
value
setting device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002313898A
Other languages
Japanese (ja)
Inventor
Takaaki Konishi
孝明 小西
Yoshikazu Hayashi
芳和 林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002313898A priority Critical patent/JP2004153376A/en
Publication of JP2004153376A publication Critical patent/JP2004153376A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a numerically controlled oscillator capable of generating a cosine wave with a high frequency resolution and also downsizing a circuit scale. <P>SOLUTION: In the case of generating a cosine wave with a low frequency, points when amplitude values of the cosine wave are changed are used for comparison values of a comparator, data resulting from summating all of comparison results (values of 0 or 1) are used for address numbers of a ROM 3, and the amplitude values of the cosine wave wherein the same value is consecutively caused are stored to the same address to the utmost. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は放送機器または双方向受信機などに使用する変調装置の信号発生器に関するものである。
【0002】
【従来の技術】
従来の数値制御発信器の原理について、図9を用いて説明する。
【0003】
図9にはサンプリング周波数163.84MHzのデータで1Hzの信号を表現した例を示す。163.84MHzで1Hzの信号を表現するためには、単純に163840000個のデータで表現する必要がある。1Hzの信号はx=0,1,2,3,・・・に対するy=y0,y1,y2,y3・・・の値をROMから出力して、1周期を163840000個のデータで表現する。2Hzの信号はx=0,2,4,8,・・・に対するy=y0,y2,y4,y6,・・・の値をROMから出力して、1周期を81920000個のデータで表現する。
【0004】
従来の先行技術としては、(特許文献1)、(特許文献2)などが知られている。(特許文献1)は、余弦波の振幅値が小さい位相の領域では該領域におけるアドレス値を集約してこれを所定のアドレス値に変換することにより、ROMの容量削減を行っている。(特許文献2)は位相0〜2πの正弦波を0〜π/2の正弦波のみのROMのデータを変換して表現し、ROMを1/4に削減している。
【0005】
【特許文献1】
特開平6−252646号公報
【特許文献2】
特開2000−68745号公報
【0006】
【発明が解決しようとする課題】
従来のような数値制御発振器であって、米国のDOSISのアップストリーム規格(変調周波数5〜42MHz、1Hzステップでのオフセット周波数設定)を満足するためには1Hzの周波数分解能をもつ余弦波をデジタルデータ表現する必要がある。また42MHzの信号をデジタルデータで表現するためには42×2倍より大きい周波数でサンプリングされたデジタルデータでなければならない。
【0007】
例えば、サンプリング周波数を163.84MHzとし、1Hzステップで周波数を変化させるためには、1Hzの信号を163840000個のデータで表現できなければならない。つまり、163840000のアドレスをもつROMに1Hzの信号の振幅値を格納する必要がある。例えば振幅値12ビットデータで表した場合には163840000×12=1966080000ビットの容量のROMが必要になり、(特許文献1)、(特許文献2)に記載されている発明を使用したとしても大幅なROM容量削減は不可能であるという問題点を有していた。
【0008】
本発明は上記従来の問題点を解決するもので、高い周波数分解能をもつ余弦波を発生することができ、且つ回路規模を小さくすることもできる数値制御発振器を提供することを目的とする。
【0009】
【課題を解決するための手段】
(1)第1の発明
第1の発明に係る数値制御発振器は、周波数を設定する周波数設定器と、前記周波数設定器で設定された周波数に応じて、ROMのアドレス値を設定するアドレス設定器と、前記アドレス設定器で設定されたアドレスに応じて、前記周波数設定器で設定された周波数の正弦波または余弦波をnビットの数値で表現するためのROMと、
前記アドレス設定器は、前記周波数設定器で設定した周波数fのステップ幅でカウントアップするカウンタと、カウンタの値により0または1の値を出力するm個の比較器と、前記m個の比較器の出力値をすべて加算する加算器からなり、前記比較器に使用するm=2個の比較値は、前記周波数設定器で設定する最低周波数である周波数分解能A=sin(X)のAの値が変化するときのXの値(C1、C2、・・・、Cm)で設定され、且つ前記加算器の出力はROMのアドレス番号に相当することを特徴とし、
第1の発明に係る数値制御発振器であっては、大幅にROMの容量を削減することを可能にする。
【0010】
(2)第2の発明
第2の発明に係る数値制御発振器は、第1の発明に係る数値制御発振器であって、発振周波数を設定する周波数設定器と、前記周波数設定器で設定された周波数に応じて、ROMのアドレス値を設定するアドレス設定器と、前記周波数設定器で設定する最低周波数である周波数分解能A=sin(X)=aX+b−α(X)となるα(X)の値を格納するためのROMと、
前記アドレス設定器は、前記周波数設定器で設定した周波数fのステップ幅でカウントアップするカウンタと、カウンタの値により0または1の値を出力するp個の比較器と、前記p個の比較器の出力値をすべて加算する加算器からなり、前記比較器に使用するp個の比較値は、α(X)の値が変化するときのXの値(D1、D2、・・・、Dp)で設定され、且つ前記加算器の出力はROMのアドレス番号に相当することを特徴とし、
第2の発明に係る数値制御発振器であっては、大幅にROMの容量を削減することを可能にする。
【0011】
(3)第3の発明
第3の発明に係る数値制御発振器は、第2の発明に係る数値制御発振器であって、
前記A=aX+b−α(X)のXを計算するための乗算器の入力ビット数qが最小で、且つ前記ROMのアドレス数pが最小となることを特徴とし、
第3の発明に係る数値制御発振器であっては、大幅にROMの容量を削減することを可能にする。
【0012】
【発明の実施の形態】
以下、本発明による受信装置について図面を参照しながら説明する。
【0013】
(実施の形態1)
本発明の実施の形態1の数値制御発振器は図1に示す構成である。
【0014】
1は周波数設定器、2はアドレス設定器、3はROMであり、図2に示すように使用するデータのサンプリング周波数=163.84MHz、227=134217728個のデータで最小周波数(周波数分解能)の1周期を表現でき、振幅値を12ビット(−2047から+2047の値)で余弦波を表現できる場合を考える。ここで周波数分解能は163.84×10/227=1.22Hzとなり、1.22Hz単位で設定したい周波数を変化することができる。周波数設定器1ではアドレス設定器2に入力する値faを設定したい周波数fとサンプリング周波数163.84MHzから(数1)により計算する。ここでfaは整数値である。
【0015】
【数1】

Figure 2004153376
【0016】
例えばf=1Hzのときfa=0.8192≒1、f=1MHzのときfa=819200となる。
【0017】
アドレス設定器2は図3に示すように加算器4と遅延器5で構成する積分器6と、積分器6の出力値x<Cn(n=0,1,2,・・・,8189)の8190個の比較器7_0,7_1,・・・,7_8189を通し、x<Cnとなる場合に、比較器から1が出力され、そうでない場合には0が出力される。ここでCnの値は(数2)により計算される値Aが変化するxの値を示す。
【0018】
【数2】
Figure 2004153376
【0019】
ここでC1はA=2047から2046に変化するx=472151を示し、C2はA=2046から2045に変化する変化するx=817822を示し、以下同様にC3からCnの値が(数2)より計算される。
【0020】
比較器7_0,7_1,・・・,7_8189からの出力は加算器ですべて加算され、加算器8の出力がROM3のアドレス番号となる。ここでROM3に格納されるデータはアドレス番号0で2047、アドレス番号1で2046、アドレス番号2047で0、アドレス番号2048で−1、アドレス番号4094で−2047、アドレス番号4095で−2046、アドレス番号6142で0アドレス番号6143で1、アドレス番号8189で2047の値が出力される。
【0021】
これにより周波数分解能約1Hzの余弦波を表現するにはROM3のアドレスが8192個ROM3に格納するデータのビット数は12ビットで、ROM3の容量は8190×12ビット=98280ビットで、従来例に比べ大幅に削減できる。
【0022】
また図4に示すような変換回路100を追加すると、領域2、領域3、領域4の波形は領域1の部分のROM3があれば表現できるため、さらにROM3を1/4に削減することも可能である。ここで図4の10、12、14は減算器、17、18は正から負、負から正に符号を反転する符号反転器である。またこの変換回路100を式で表したものが(数3)である。
【0023】
【数3】
Figure 2004153376
【0024】
(実施の形態2)
本発明の実施の形態2の数値制御発振器は図5に示す構成である。
【0025】
1は周波数設定器、2はアドレス設定器、3はROM、20は関数発生器、21は加算器で、周波数設定器11、アドレス設定器22の原理は実施の形態1と同様であるが、大きく異なる点はROM3に格納するデータが実施の形態1では(数2)で計算される2047,2046,・・・,1,0,−1,・・・,−2046,−2047の値であるが実施の形態2では(数4)で計算されるα(x)の値をROM3に格納する。
【0026】
【数4】
Figure 2004153376
【0027】
ここでa×x+bは関数発生器20で、図2の各領域において(数5)で表される。
【0028】
【数5】
Figure 2004153376
【0029】
つまり図6に示すように余弦波Aと2次関数a×x+bの誤差α(x)をROM3に格納し、ROM3に格納するデータのビット数を削減する。
【0030】
実施の形態1と同様、比較器はα(x)の値が変化する数だけ必要であり、(数4)、(数5)で計算されるα(x)が変化する数16384であるため、アドレス設定器2の比較器の数は16384個になる。ここで16384個の比較器x<Cn(n=0,1,2,・・・,16383)の16384個の比較器を通し、x<Cnとなる場合に、比較器から1が出力され、そうでない場合には0が出力される。ここでCnの値は(数4)、(数5)により計算される値α(x)が変化するxの値を示す。
【0031】
この方法では必要なアドレス数は16384個、ROM3に格納するデータのビット数は7ビットで、ROM3の容量は16384×7=114688ビットで従来例に比べ大幅に削減できる。
【0032】
また、実施の形態1と同様、領域1のα(x)をα1(x)とすると(数4)は各領域ごとに(数6)で表され、ROM3に格納する値をα1(x)のみにすることも可能であるため、さらにROM3の容量を1/4に削減することも可能である。
【0033】
【数6】
Figure 2004153376
【0034】
(実施の形態3)
実施の形態3の構成は実施の形態2と同じであるが、実施の形態2の関数発生器の構成が異なる。実施の形態2、3とも関数発生器は(数5)の式で表されるが、実施の形態3では、xの乗算のビット数を減らし、且つα(x)のアドレス数が少なくなるように関数発生器の構成を変えている。図7は実施の形態2の関数発生器、図8は実施の形態3の関数発生器である。実施の形態2の関数発生器では25ビット×25ビットの乗算器であるが、実施の形態3の関数発生器では8ビット×8ビットの乗算器であるため、回路規模を削減することが可能である。実施の形態3のAを式で表した(数7)を見ても、乗算器への入力ビット数を6ビットにできることがわかる(xは25ビット、これを2−19すると6ビット)。ただし実施の形態3のα(x)は実施の形態2のα(x)とは異なる値となる。
【0035】
【数7】
Figure 2004153376
【0036】
この方法では必要なアドレス数は2112個、ROM3に格納するデータのビット数は8ビットで、ROM3の容量は2112×8=16896ビットで従来例に比べ大幅に削減できる。
【0037】
また、実施の形態1と同様、領域1のα(x)をα1(x)とすると(数4)は各領域ごとに(数8)で表され、ROM3に格納する値をα1(x)のみにすることも可能であるため、さらにROM3の容量を1/4に削減することも可能である。
【0038】
【数8】
Figure 2004153376
【0039】
【発明の効果】
以上のように、本発明の数値制御発振器によれば、周波数分解能に相当する周波数の余弦波をデジタルデータで表現するために、余弦波の振幅が変化するごとにROMのアドレスを変化させることで、高い周波数分解能をもつ余弦波を発生することができ、且つ回路規模を小さくすることもできる。
【図面の簡単な説明】
【図1】本発明の実施の形態1における数値制御発振器の構成図
【図2】本発明の実施の形態1における数値制御発振器から出力される余弦波の波形を示す図
【図3】本発明の実施の形態1における数値制御発振器のアドレス設定器2の構成図
【図4】本発明の実施の形態1における数値制御発振器のアドレス設定器2、ROM3の構成図
【図5】本発明の実施の形態2における数値制御発振器の構成図
【図6】本発明の実施の形態1における数値制御発振器から出力される1Hzの余弦波の波形と2次関数の波形を示す図
【図7】本発明の実施の形態2における数値制御発振器の関数発生器の構成図
【図8】本発明の実施の形態3における数値制御発振器の関数発生器の構成図
【図9】従来の数値制御発振器から出力される1Hzの余弦波の波形を示す図
【符号の説明】
1 周波数設定器
2 アドレス設定器
3 ROM
4、8、10、12,14、21、24、29 加算器
5 遅延器
6 積分器
7_0、7_1、7_2、7_8189 比較器
11、13 226(定数)
15 227(定数)
16、19、25、30 選択器
17,18 符号反転器
20 関数発生器
22、27 乗算器
23 ビットシフト(2−39
26 ビットシフト(2−19
28 ビットシフト(2−1
100 変換回路[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a signal generator of a modulation device used for broadcasting equipment or a two-way receiver.
[0002]
[Prior art]
The principle of a conventional numerical control transmitter will be described with reference to FIG.
[0003]
FIG. 9 shows an example in which a 1 Hz signal is represented by data having a sampling frequency of 163.84 MHz. In order to express a signal of 13.8 Hz at 163.84 MHz, it is necessary to simply express 163840000 data. For a 1 Hz signal, the values of y = y0, y1, y2, y3... With respect to x = 0, 1, 2, 3,... Are output from the ROM, and one cycle is represented by 163840000 data. For a 2 Hz signal, the values of y = y0, y2, y4, y6,... For x = 0, 2, 4, 8,... Are output from the ROM, and one cycle is represented by 81920000 data. .
[0004]
As conventional prior arts, (Patent Literature 1) and (Patent Literature 2) are known. In Japanese Patent Application Laid-Open No. H11-163, the capacity of the ROM is reduced by aggregating the address values in a region where the amplitude value of the cosine wave is small and converting the address value into a predetermined address value. (Patent Literature 2) converts a sine wave having a phase of 0 to 2π into data of a ROM having only a sine wave of 0 to π / 2, and reduces the ROM to 4.
[0005]
[Patent Document 1]
JP-A-6-252646 [Patent Document 2]
JP 2000-68745 A
[Problems to be solved by the invention]
In order to satisfy the upstream standard of the US DOSIS (modulation frequency 5 to 42 MHz, offset frequency setting in 1 Hz steps), a cosine wave having a frequency resolution of 1 Hz is converted to digital data by a conventional numerically controlled oscillator. It needs to be expressed. Also, in order to represent a 42 MHz signal as digital data, it must be digital data sampled at a frequency greater than 42 × 2.
[0007]
For example, in order to set the sampling frequency to 163.84 MHz and change the frequency in 1 Hz steps, a 1 Hz signal must be able to be represented by 163840000 data. That is, it is necessary to store the amplitude value of the 1 Hz signal in the ROM having the address of 163840000. For example, if the amplitude value is represented by 12-bit data, a ROM having a capacity of 163840000 × 12 = 1966080000 bits is required, and even if the inventions described in (Patent Document 1) and (Patent Document 2) are used, the ROM is greatly increased. There is a problem that it is impossible to reduce the ROM capacity.
[0008]
An object of the present invention is to solve the above-mentioned conventional problems, and an object of the present invention is to provide a numerically controlled oscillator that can generate a cosine wave having a high frequency resolution and can reduce the circuit scale.
[0009]
[Means for Solving the Problems]
(1) First invention A numerically controlled oscillator according to the first invention is a frequency setting device for setting a frequency, and an address setting device for setting an address value of a ROM according to the frequency set by the frequency setting device. A ROM for expressing a sine wave or a cosine wave having a frequency set by the frequency setting device by an n-bit numerical value according to the address set by the address setting device;
The address setter includes a counter that counts up at a step width of a frequency f set by the frequency setter, m comparators that output a value of 0 or 1 according to the value of the counter, and the m comparators M = 2 n comparison values used in the comparator are the lowest resolutions set by the frequency setting device, that is, A of the frequency resolution A = sin (X). .., Cm when the value changes, and the output of the adder corresponds to the address number of the ROM.
In the numerical control oscillator according to the first invention, the capacity of the ROM can be significantly reduced.
[0010]
(2) Second invention The numerically controlled oscillator according to the second invention is the numerically controlled oscillator according to the first invention, which comprises a frequency setting device for setting an oscillation frequency, and a frequency set by the frequency setting device. And an address setting device for setting the address value of the ROM in accordance with the following formula, and a frequency resolution A = sin (X) = aX 2 + b−α (X) which is the lowest frequency set by the frequency setting device α (X) ROM for storing the value of
The address setter includes a counter that counts up at a step width of a frequency f set by the frequency setter, p comparators that output a value of 0 or 1 according to the value of the counter, and the p comparators , And the p number of comparison values used in the comparator are X values (D1, D2,..., Dp) when the value of α (X) changes. And the output of the adder corresponds to the address number of the ROM,
In the numerical control oscillator according to the second invention, it is possible to greatly reduce the capacity of the ROM.
[0011]
(3) Third invention The numerically controlled oscillator according to the third invention is the numerically controlled oscillator according to the second invention,
Wherein at A = aX 2 + b-α input bits q multiplier for calculating the X 2 of (X) is the smallest, and is characterized in that the address number p of the ROM is minimized,
In the numerical control oscillator according to the third invention, it is possible to greatly reduce the capacity of the ROM.
[0012]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a receiving device according to the present invention will be described with reference to the drawings.
[0013]
(Embodiment 1)
The numerically controlled oscillator according to the first embodiment of the present invention has the configuration shown in FIG.
[0014]
1 is a frequency setting device, 2 is an address setting device, and 3 is a ROM. As shown in FIG. 2, a sampling frequency of data to be used = 163.84 MHz, 2 27 = 134217728 data and a minimum frequency (frequency resolution) Consider a case in which one cycle can be represented and a cosine wave can be represented by an amplitude value of 12 bits (a value from -2047 to +2047). Here frequency resolution may vary the frequency to be set 163.84 × 10 6/2 27 = 1.22Hz next, with 1.22Hz unit. The frequency setter 1 calculates the value fa to be input to the address setter 2 from the frequency f to be set and the sampling frequency 163.84 MHz by (Equation 1). Here, fa is an integer value.
[0015]
(Equation 1)
Figure 2004153376
[0016]
For example, when f = 1 Hz, fa = 0.8192 ≒ 1, and when f = 1 MHz, fa = 819200.
[0017]
As shown in FIG. 3, the address setting unit 2 includes an integrator 6 composed of an adder 4 and a delay unit 5, and an output value x <Cn (n = 0, 1, 2,..., 8189) of the integrator 6. Are passed through the 8190 comparators 7_0, 7_1,..., 7_8189, 1 is output from the comparator when x <Cn, and 0 is output otherwise. Here, the value of Cn indicates the value of x at which the value A calculated by (Equation 2) changes.
[0018]
(Equation 2)
Figure 2004153376
[0019]
Here, C1 indicates x = 472151, which changes from A = 2047 to 2046, C2 indicates x = 817822, which changes from A = 2046 to 2045, and similarly, the value of C3 to Cn becomes from (Equation 2). Is calculated.
[0020]
The outputs from the comparators 7_0, 7_1,..., 7_8189 are all added by an adder, and the output of the adder 8 becomes the address number of the ROM 3. Here, the data stored in the ROM 3 are 2047 for the address number 0, 2046 for the address number 1, 0 for the address number 2047, -1 for the address number 2048, -2047 for the address number 4094, -2046 for the address number 4095, and the address number. At 6142, the value of 0 is output at the address number 6143, and the value of 2047 is output at the address number 8189.
[0021]
In order to express a cosine wave having a frequency resolution of about 1 Hz, the address of ROM3 is 8192, the number of bits of data stored in ROM3 is 12 bits, and the capacity of ROM3 is 8190 × 12 bits = 98280 bits. Can be significantly reduced.
[0022]
When the conversion circuit 100 as shown in FIG. 4 is added, the waveforms of the area 2, the area 3, and the area 4 can be expressed if the ROM 3 of the area 1 is provided, so that the ROM 3 can be further reduced to 1/4. It is. In FIG. 4, reference numerals 10, 12, and 14 denote subtracters, and reference numerals 17 and 18 denote sign inverters for inverting the sign from positive to negative and from negative to positive. The expression of the conversion circuit 100 is shown in (Equation 3).
[0023]
[Equation 3]
Figure 2004153376
[0024]
(Embodiment 2)
The numerically controlled oscillator according to the second embodiment has the configuration shown in FIG.
[0025]
1 is a frequency setter, 2 is an address setter, 3 is a ROM, 20 is a function generator, 21 is an adder, and the principles of the frequency setter 11 and the address setter 22 are the same as those in the first embodiment. The major difference is that the data stored in the ROM 3 is the value of 2047, 2046,..., 1, 0, -1,. However, in the second embodiment, the value of α (x) calculated by (Equation 4) is stored in the ROM 3.
[0026]
(Equation 4)
Figure 2004153376
[0027]
Here, a × x 2 + b is a function generator 20 and is represented by (Equation 5) in each region of FIG.
[0028]
(Equation 5)
Figure 2004153376
[0029]
That is, as shown in FIG. 6, the error α (x) between the cosine wave A and the quadratic function a × x 2 + b is stored in the ROM 3, and the number of bits of data stored in the ROM 3 is reduced.
[0030]
As in the first embodiment, the comparator requires a number of changes in the value of α (x), and α (x) calculated by (Equation 4) and (Equation 5) is the number 16384 in which α (x) changes. , The number of comparators in the address setting unit 2 becomes 16384. Here, 16384 comparators x <Cn (n = 0, 1, 2,..., 16383) pass through 16384 comparators, and when x <Cn, 1 is output from the comparators. Otherwise, 0 is output. Here, the value of Cn indicates the value of x at which the value α (x) calculated by (Equation 4) and (Equation 5) changes.
[0031]
In this method, the number of necessary addresses is 16384, the number of bits of data stored in the ROM 3 is 7 bits, and the capacity of the ROM 3 is 16384 × 7 = 114688 bits, which can be greatly reduced as compared with the conventional example.
[0032]
Further, as in the first embodiment, when α (x) of the area 1 is α1 (x), (Equation 4) is expressed by (Equation 6) for each area, and the value stored in the ROM 3 is α1 (x). It is also possible to reduce the capacity of the ROM 3 to 1 /, since it is possible to reduce the capacity of the ROM 3 to の み.
[0033]
(Equation 6)
Figure 2004153376
[0034]
(Embodiment 3)
Although the configuration of the third embodiment is the same as that of the second embodiment, the configuration of the function generator of the second embodiment is different. Although 2,3 both function generator embodiment is expressed by the equation (5), in the third embodiment, reduce the number of bits multiplication of x 2, and α number address of (x) is reduced Thus, the configuration of the function generator is changed. FIG. 7 shows a function generator according to the second embodiment, and FIG. 8 shows a function generator according to the third embodiment. Although the function generator according to the second embodiment is a 25-bit × 25-bit multiplier, the function generator according to the third embodiment is an 8-bit × 8-bit multiplier, so that the circuit scale can be reduced. It is. It can also be seen from the equation (7) that expresses A of the third embodiment by an equation that the number of input bits to the multiplier can be 6 bits (x is 25 bits, and if this is 2-19, 6 bits). However, α (x) of the third embodiment has a different value from α (x) of the second embodiment.
[0035]
(Equation 7)
Figure 2004153376
[0036]
In this method, the number of necessary addresses is 2112, the number of bits of data stored in the ROM 3 is 8 bits, and the capacity of the ROM 3 is 2112 × 8 = 16896 bits, which can be greatly reduced as compared with the conventional example.
[0037]
Further, as in the first embodiment, when α (x) of the area 1 is α1 (x), (Equation 4) is represented by (Equation 8) for each area, and the value stored in the ROM 3 is α1 (x). It is also possible to reduce the capacity of the ROM 3 to 1 /, since it is possible to reduce the capacity of the ROM 3 to の み.
[0038]
(Equation 8)
Figure 2004153376
[0039]
【The invention's effect】
As described above, according to the numerically controlled oscillator of the present invention, in order to represent a cosine wave having a frequency corresponding to the frequency resolution by digital data, the address of the ROM is changed every time the amplitude of the cosine wave changes. , A cosine wave having a high frequency resolution can be generated, and the circuit scale can be reduced.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a numerically controlled oscillator according to a first embodiment of the present invention; FIG. 2 is a diagram illustrating a waveform of a cosine wave output from the numerically controlled oscillator according to the first embodiment of the present invention; FIG. 4 is a configuration diagram of a numerically controlled oscillator address setter 2 according to the first embodiment of the present invention. FIG. 4 is a configuration diagram of a numerically controlled oscillator address setter 2 and a ROM 3 according to the first embodiment of the present invention. FIG. 6 is a diagram showing a waveform of a cosine wave of 1 Hz and a waveform of a quadratic function output from the numerically controlled oscillator according to the first embodiment of the present invention; FIG. FIG. 8 is a configuration diagram of a function generator of a numerically controlled oscillator according to Embodiment 2 of the present invention. FIG. 8 is a configuration diagram of a function generator of a numerically controlled oscillator according to Embodiment 3 of the present invention. 1Hz cosine wave Shows a waveform [Description of symbols]
1 frequency setting device 2 address setting device 3 ROM
4,8,10,12,14,21,24,29 adder 5 delayer 6 integrator 7_0,7_1,7_2,7_8189 comparator 11, 13 2 26 (constant)
15 2 27 (constant)
16, 19, 25, 30 Selector 17, 18 Sign inverter 20 Function generator 22, 27 Multiplier 23 Bit shift ( 2-39 )
26 bit shift ( 2-19 )
28 bit shift (2 -1 )
100 conversion circuit

Claims (7)

周波数を設定する周波数設定器と、前記周波数設定器で設定された周波数に応じてROMのアドレス値を設定するアドレス設定器と、前記アドレス設定器で設定されたアドレスに応じて前記周波数設定器で設定された周波数の正弦波または余弦波をnビットの数値で表現するためのROMとを備えた数値制御発振器。A frequency setting device for setting a frequency, an address setting device for setting an address value of a ROM according to the frequency set by the frequency setting device, and a frequency setting device according to an address set by the address setting device. A ROM for expressing a sine wave or cosine wave of a set frequency by an n-bit numerical value. 前記アドレス設定器は、前記周波数設定器で設定した周波数fのステップ幅でカウントアップするカウンタと、カウンタの値により0または1の値を出力するm個の比較器と、前記m個の比較器の出力値をすべて加算する加算器からなることを特徴とする請求項1記載の数値制御発振器。The address setting device includes a counter that counts up at a step width of a frequency f set by the frequency setting device, m comparators that output a value of 0 or 1 according to the value of the counter, and the m comparators 2. The numerically controlled oscillator according to claim 1, further comprising an adder for adding all the output values of the numerical control. 前記比較器に使用するm=2個の比較値は、前記周波数設定器で設定する最低周波数である周波数分解能A=cos(X)のAの値が変化するときのXの値(C1、C2、・・・、Cm)で設定され、且つ前記加算器の出力はROMのアドレス番号に相当することを特徴とする請求項2記載の数値制御発振器。The m = 2n comparison values used for the comparator are the X values (C1, C1) when the A value of the frequency resolution A = cos (X), which is the lowest frequency set by the frequency setting device, changes. 3. The numerically controlled oscillator according to claim 2, wherein C2,..., Cm), and the output of said adder corresponds to an address number of a ROM. 周波数を設定する周波数設定器と、前記周波数設定器で設定された周波数に応じてROMのアドレス値を設定するアドレス設定器と、前記周波数設定器で設定する最低周波数である周波数分解能A=cos(X)=aX+b−α(X)となるα(X)の値を格納するためのROMとを備えた数値制御発振器。A frequency setting device for setting a frequency, an address setting device for setting an address value of the ROM according to the frequency set by the frequency setting device, and a frequency resolution A = cos (the lowest frequency set by the frequency setting device) X) = aX 2 + b−α (X). A ROM for storing a value of α (X) that satisfies α (X). 前記アドレス設定器は、前記周波数設定器で設定した周波数fのステップ幅でカウントアップするカウンタと、カウンタの値により0または1の値を出力するp個の比較器と、前記p個の比較器の出力値をすべて加算する加算器からなることを特徴とする請求項4記載の数値制御発振器。The address setting device includes a counter that counts up at a step width of a frequency f set by the frequency setting device, p comparators that output a value of 0 or 1 according to the value of the counter, and the p comparators 5. The numerically controlled oscillator according to claim 4, further comprising an adder for adding all the output values. 前記比較器に使用するp個の比較値は、α(X)の値が変化するときのXの値(D1、D2、・・・、Dp)で設定され、且つ前記加算器の出力はROMのアドレス番号に相当することを特徴とする請求項5記載の数値制御発振器。The p comparison values used in the comparator are set by X values (D1, D2,..., Dp) when the value of α (X) changes, and the output of the adder is a ROM. 6. The numerically controlled oscillator according to claim 5, wherein the number corresponds to the address number of the numerical control. 前記A=aX+b−α(X)のXを計算するための乗算器の入力ビット数qが最小で、且つ前記ROMのアドレス数pが最小となることを特徴とする請求項4記載の数値制御発振器。Wherein A = aX 2 + b-α input bits q multiplier for calculating the X 2 of (X) with minimal, and claim 4, wherein the address number p of the ROM is characterized in that the minimum Numerically controlled oscillator.
JP2002313898A 2002-10-29 2002-10-29 Numerically controlled oscillator Pending JP2004153376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002313898A JP2004153376A (en) 2002-10-29 2002-10-29 Numerically controlled oscillator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002313898A JP2004153376A (en) 2002-10-29 2002-10-29 Numerically controlled oscillator

Publications (1)

Publication Number Publication Date
JP2004153376A true JP2004153376A (en) 2004-05-27

Family

ID=32458369

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002313898A Pending JP2004153376A (en) 2002-10-29 2002-10-29 Numerically controlled oscillator

Country Status (1)

Country Link
JP (1) JP2004153376A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9787297B2 (en) 2012-12-13 2017-10-10 Nec Corporation Signal generator, signal generation method, and numerically controlled oscillator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9787297B2 (en) 2012-12-13 2017-10-10 Nec Corporation Signal generator, signal generation method, and numerically controlled oscillator

Similar Documents

Publication Publication Date Title
JP5487546B2 (en) Angular velocity sensor
JPH06252645A (en) Direct digital frequency synthesizer
US5459680A (en) Method and apparatus for spur-reduced digital sinusoid synthesis
JPH10304001A (en) Modulator and modulation method
KR100973725B1 (en) Device for generating clock using dds
JPWO2010047005A1 (en) Digital PLL circuit and communication apparatus
KR20090065335A (en) Numerically-controlled oscillator and operating method for generating cosine and sine signal using only cosine look-up table
JP4037442B2 (en) Pulse modulator and pulse modulation method
JP2020120214A (en) Clock reproduction circuit
JPH09162729A (en) Digital pll circuit
JP2008148013A (en) Sine wave generation circuit
JPH02292911A (en) Pulse generator
JP2004153376A (en) Numerically controlled oscillator
JPH01103312A (en) Code correlation structure
JP5883705B2 (en) Signal generator
JP2005210436A (en) Carrier frequency detecting method
JP2016197017A (en) Angular velocity sensor
JP2998684B2 (en) Numerically controlled oscillator
JP2003229723A (en) Method and circuit for generating sine wave
JP4277205B2 (en) Jitter generator
JP2004173183A (en) Transformation device for lagrange interpolation sampling rate
JPH05160640A (en) Direct digital synthesizer
JP2010130550A (en) Clock generating apparatus, and jitter reducing method in the same
JP3404999B2 (en) Digital PLL circuit
JP2017167041A (en) Frequency delta sigma modulation signal output device