JPH03274915A - Function generator - Google Patents
Function generatorInfo
- Publication number
- JPH03274915A JPH03274915A JP7650290A JP7650290A JPH03274915A JP H03274915 A JPH03274915 A JP H03274915A JP 7650290 A JP7650290 A JP 7650290A JP 7650290 A JP7650290 A JP 7650290A JP H03274915 A JPH03274915 A JP H03274915A
- Authority
- JP
- Japan
- Prior art keywords
- waveform
- output
- address
- frequency
- digital
- 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
Links
- 230000006870 function Effects 0.000 claims description 7
- 238000006243 chemical reaction Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 8
- 230000008571 general function Effects 0.000 description 2
- NPOJQCVWMSKXDN-UHFFFAOYSA-N Dacthal Chemical compound COC(=O)C1=C(Cl)C(Cl)=C(C(=O)OC)C(Cl)=C1Cl NPOJQCVWMSKXDN-UHFFFAOYSA-N 0.000 description 1
- 239000008186 active pharmaceutical agent Substances 0.000 description 1
Landscapes
- Analogue/Digital Conversion (AREA)
Abstract
Description
【発明の詳細な説明】
〈産業上の利用分野〉
本発明は、デジタル方式のファンクション・ジェネレー
タに関し、詳しくはジッタを少なくするための改良に関
する。DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a digital function generator, and more particularly to an improvement for reducing jitter.
〈従来の技術〉
デジタル方式のファンクション・ジェネレータとは、予
め波形メモリに格納された波形データを順次読み出すと
同時にアナログ変換することにより、アナログ波形とし
て出力するようにしたものである。第4図に従来の一般
的なファンクション・ジェネレータの構成の一例を示す
。波形メモリ2の波形データ(例えば第5図の(a)に
示すような波形データ)を読み出す際のアドレスは加算
器1より与える。加算器1は、一方の入力が周波数値(
読み出す際のアドレスのインクリメント量を指定する値
であり、第5図の(b)および(c)に示すように、低
い周波数で出力する場合は小さいインクリメント量、高
い周波数で出力の場合には大きいインクリメント量とな
る)であり、他方の入力は加算器1自身の出力である。<Prior Art> A digital function generator outputs an analog waveform by sequentially reading out waveform data stored in a waveform memory in advance and converting the data into analog data at the same time. FIG. 4 shows an example of the configuration of a conventional general function generator. The adder 1 provides an address for reading out waveform data from the waveform memory 2 (for example, waveform data as shown in FIG. 5(a)). Adder 1 has one input as a frequency value (
This is a value that specifies the increment amount of the address when reading.As shown in Figure 5 (b) and (c), the increment amount is small when outputting at a low frequency, and large when outputting at a high frequency. The other input is the output of the adder 1 itself.
加算動作はマスタークロック発生器5からのクロックが
入力されるごとに行なわれ、したがって、波形メモリ2
には、初期値が0で、クロックが与えられるごとに周波
数値が加算された値のアドレスが与えられる。波形メモ
リ2にマスタークロック発生器5からのクロックが入力
されると(読み出し信号として入力される)、指定され
たアドレスの内容(波形データ)が読み出される。読み
出された波形データはデジタル・アナログ変換器(以下
DACという)3でアナログ変換される。DAC3はマ
スタークロック発生器5からのクロック入力により動作
する。The addition operation is performed every time the clock from the master clock generator 5 is input, and therefore the waveform memory 2
The initial value is 0, and each time a clock is applied, a frequency value is added to the address. When the clock from the master clock generator 5 is input to the waveform memory 2 (input as a read signal), the contents (waveform data) of the designated address are read. The read waveform data is converted into analog by a digital-to-analog converter (hereinafter referred to as DAC) 3. The DAC 3 operates by clock input from the master clock generator 5.
波形データを順次読み出しアナログ変換した信号はロー
パスフィルタ4で高調波成分が除去され、滑らかな波形
に整形されて送出される。A signal obtained by sequentially reading waveform data and converting it into an analog signal has harmonic components removed by a low-pass filter 4, is shaped into a smooth waveform, and is sent out.
このようにして、波形メモリ2に格納された波形データ
から所望の周波数のアナログ信号を出力することができ
る。In this way, an analog signal of a desired frequency can be output from the waveform data stored in the waveform memory 2.
〈発明が解決しようとする課題〉
しかしながら、このようなファンクション・ジェネレー
タでは次のような問題があった。波形メモリ2から波形
データを読み出す際、通常周期ごとに波形メモリ2中の
異なった点(アドレス)を通る(波形メモリのアドレス
が循環的に変ってゆく際、2回目以降が1回目のアドレ
スと同一にならない)ことになり、その分がジッタ(周
波数ジッタ)となって現われる。この場合のジッタの大
きさは最大でマスタークロックの1周期分である。<Problems to be Solved by the Invention> However, such a function generator has the following problems. When reading waveform data from the waveform memory 2, it normally passes through different points (addresses) in the waveform memory 2 every cycle (when the address of the waveform memory changes cyclically, the second and subsequent times are the same as the first address). Therefore, this amount appears as jitter (frequency jitter). The magnitude of jitter in this case is at most one period of the master clock.
本発明は、このような点に鑑みてなされたもので、その
目的は、マスタークロックの周波数を可変とすることに
よりジッタの少ないファンクション・ジェネレータを実
現することにある。The present invention has been made in view of these points, and its purpose is to realize a function generator with less jitter by making the frequency of the master clock variable.
く課題を解決するための手段〉
このような目的を達成するための本発明は、マスターク
ロックを発生するマスタークロック発生器(5)と、
前記マスタークロックが入力されるごとに、発生すべき
クロックの周波数に関連した周波数値ずつインクリメン
トされた値を出力する加算器(1)と、
正弦波の波形データが格納され、前記加算器から与えら
れるアドレスの波形データが読み出される第1の波形メ
モリ(2)と、
この第1の波形メモリ(2)の出力をアナログ変換する
第1のデジタル・アナログ変換器(3)と、
この第1のデジタル・アナログ変換器(3)の出力から
高調波成分を除去する第1のローパスフィルタ(4)と
、
この第1のローパスフィルタ(4)の出力を0レベルと
比較し、その大小に応じて2値信号となる矩形波状のク
ロックを発生するコンパレータ(6)と、
このコンパレータ(6)の出力を、設定された分周比で
分周するアドレス発生器(7)と、出力する波形データ
が格納され、前記アドレス発生器(7)の出力がアドレ
スとして与えられると、そのアドレスの波形データが読
み出される第2の波形メモリ(8)と、
この第2の波形メモリ(8)の出力をアナログ変換する
第2のデジタル・アナログ変換器(9)と、
この第2のデジタル・アナログ変換器(9)の出力の高
調波成分を除去する第2のローパスフィルタ(10)と
、
を具備したことを特徴とする。Means for Solving the Problems> The present invention to achieve such objects comprises: a master clock generator (5) that generates a master clock; an adder (1) that outputs a value incremented by a frequency value related to the frequency of the adder (1); and a first waveform memory (1) in which waveform data of a sine wave is stored and from which waveform data at an address given from the adder is read out. 2), a first digital-to-analog converter (3) that converts the output of this first waveform memory (2) into analog, and a harmonic component from the output of this first digital-to-analog converter (3). A comparator (4) that compares the output of the first low-pass filter (4) with the 0 level and generates a rectangular waveform clock that becomes a binary signal depending on the magnitude 6), an address generator (7) that divides the output of this comparator (6) at a set frequency division ratio, and the output waveform data is stored, and the output of the address generator (7) is used as an address. a second waveform memory (8) from which the waveform data at that address is read; and a second digital-to-analog converter (9) which converts the output of the second waveform memory (8) into analog. , and a second low-pass filter (10) that removes harmonic components of the output of the second digital-to-analog converter (9).
く作用〉
本発明では、DDS部で周波数スパンの2倍のスパンに
わたって周波数可変のクロックを発生し、このクロック
をアドレス発生器(7)で適宜分周してアドレスを得る
。このアドレスにより波形メモリ(8)をアクセスし、
波形データを読み出す。Effects> In the present invention, the DDS unit generates a variable frequency clock over twice the frequency span, and the address generator (7) divides this clock appropriately to obtain an address. Access the waveform memory (8) using this address,
Read the waveform data.
読み出した波形データはデジタル・アナログ変換器(9
)でアナログ化し、続いてローパスフィルタ(10)で
その高調波成分を除去する。The read waveform data is transferred to a digital-to-analog converter (9
), and then the harmonic components are removed using a low-pass filter (10).
このようにして得られる出力波形は、すべての周波数範
囲にわたって各周期ごとに波形メモリ(8)の同一のア
ドレスポイントから読み出された波形となり、これによ
りジッタが最小の波形となる。The output waveform thus obtained is a waveform read from the same address point of the waveform memory (8) every cycle over the entire frequency range, resulting in a waveform with minimal jitter.
〈実施例〉 以下図面を参照して本発明の詳細な説明する。<Example> The present invention will be described in detail below with reference to the drawings.
第1図は本発明に係るファンクション・ジェネレータの
一実施例を示す構成図である。図において、加算器1、
第1の波形メモリ2(クロック用の波形メモリ)、第1
のDAC3、第1のローパスフィルタ4およびクロック
用マスタークロック発生器5までの部分は、第八図の従
来例の構成と同様である。ただし、この場合波形メモリ
2には正弦波の波形データが記憶されている。FIG. 1 is a block diagram showing an embodiment of a function generator according to the present invention. In the figure, adder 1,
First waveform memory 2 (waveform memory for clock), first
The components up to the DAC 3, first low-pass filter 4, and clock master clock generator 5 are the same as the configuration of the conventional example shown in FIG. However, in this case, the waveform memory 2 stores sine wave waveform data.
6はコンパレータで、ローパスフィルタ4の出力を0レ
ベルと比較し、それより大きいときはHIGHレベル、
小さいときはLOWレベルの信号を出力する。したがっ
て、コンパレータ6からは加算器1に与える周波数値に
関連した周波数の矩形波が出力される。この矩形波は後
段回路へのクロックとして与えられる。6 is a comparator that compares the output of the low-pass filter 4 with the 0 level, and when it is larger than that, the output goes to HIGH level;
When it is small, a LOW level signal is output. Therefore, the comparator 6 outputs a rectangular wave having a frequency related to the frequency value given to the adder 1. This rectangular wave is given as a clock to the subsequent circuit.
7は第2の波形メモリ8に与えるアドレスを発生するア
ドレス発生器であり、外部より与えられる分周比に従っ
て前記コンパレータ6の出力クロック数を分周して波形
メモリ8へのアドレスを得る。波形メモリ8には出力す
る波形のデータが予め格納される。9は第2のDACで
あり、波形メモリ8から読み出された波形データをDA
変換する。10は第2のローパスフィルタであり、第2
のDAC9の出力の高調波成分を除去するためのもので
ある。Reference numeral 7 denotes an address generator that generates an address to be given to the second waveform memory 8, and obtains an address to the waveform memory 8 by dividing the number of clocks output from the comparator 6 according to a frequency division ratio given from the outside. Waveform data to be output is stored in advance in the waveform memory 8. 9 is a second DAC, which converts the waveform data read from the waveform memory 8 into a DA.
Convert. 10 is a second low-pass filter;
This is for removing harmonic components of the output of the DAC 9.
第2図はアドレス発生器7の具体例の詳細構成図である
。このアドレス発生器はバイナリ−カウンタ71で構成
されたもので、クロック(コンパレータ6の出力)を入
力する桁位置を、スイッチ72により分周比の値に応じ
て切り換えるようにしたものである。FIG. 2 is a detailed configuration diagram of a specific example of the address generator 7. As shown in FIG. This address generator is composed of a binary counter 71, and the digit position to which the clock (output of the comparator 6) is input is switched by a switch 72 according to the value of the frequency division ratio.
このような構成における動作を説明する。加算器1、第
1の波形メモリ2、第1のDAC3、第1のローパスフ
ィルタ4、マスタークロック発生器5(固定周波数のク
ロックを発生する)およびコンパレータ6からなる部分
は、いわゆるダイレクト・デジタル・シンセサイザ(D
DS)と呼ばれる部分である。ここで発生するクロック
の周波数は、クロック周波数スパンの2倍のスパンがあ
れば十分である。このことによって、後段の第2のロー
パスフィルタ10のカットオフ周波数が固定であっても
高調波成分を十分にカットすることができ、高品質(低
ジツタ)のクロックを得ることができる。The operation in such a configuration will be explained. The section consisting of the adder 1, first waveform memory 2, first DAC 3, first low-pass filter 4, master clock generator 5 (generates a fixed frequency clock), and comparator 6 is a so-called direct digital Synthesizer (D
This is the part called DS). It is sufficient for the frequency of the clock generated here to have a span twice the clock frequency span. As a result, even if the cutoff frequency of the second low-pass filter 10 at the subsequent stage is fixed, harmonic components can be sufficiently cut, and a high-quality (low jitter) clock can be obtained.
コンパレータ6より得られるクロックによりアドレス発
生器7、第2の波形メモリ8、第2のDAC9を動作さ
せる。アドレス発生器7においては、このクロックと分
周比の組合せにより広い範囲の周波数を決定することが
できる。第1表はその一例を示すものである。なお、こ
の場合は第2の波形メモリ8のサイズを256ポイント
とした。The address generator 7, the second waveform memory 8, and the second DAC 9 are operated by the clock obtained from the comparator 6. In the address generator 7, a wide range of frequencies can be determined by the combination of this clock and the frequency division ratio. Table 1 shows an example. In this case, the size of the second waveform memory 8 was set to 256 points.
第3図は第1表の関係を三角波を例にとって示した図で
ある。図から明らかなように、周波数が高い場合には、
第2の波形メモリ8中のデータを読み飛ばし、低い場合
にはより細かくデータを読み込むこと従来の場合と同様
であるが、毎周期ごとに波形メモリ8から読み出す場所
(アドレス)は一定であり、ずれていかないことが分か
る。したがって、それによるジッダの発生はない。FIG. 3 is a diagram illustrating the relationships in Table 1 using a triangular wave as an example. As is clear from the figure, when the frequency is high,
Skip the data in the second waveform memory 8 and read more detailed data if it is low. This is the same as in the conventional case, but the location (address) read from the waveform memory 8 every cycle is constant. You can see that it doesn't shift. Therefore, there will be no occurrence of Jeddah.
なお、分周比の間の周波数の連続的な設定は、DDS部
分で行なうことができることも明かである。Note that it is also clear that continuous setting of frequencies between frequency division ratios can be performed in the DDS section.
第1表
〈発明の効果〉
以上詳細に説明したように、本発明によれば、発生する
波形はすべての周波数範囲にわたって各周期ごとに同一
の点を発生することになり、これによりジッダ最小の波
形発生が可能となる0Table 1 <Effects of the Invention> As explained in detail above, according to the present invention, the generated waveform generates the same point in each cycle over the entire frequency range, thereby minimizing the jitter. 0 that enables waveform generation
第1図は本発明に係るファンクション・ジェネレータの
一実施例を示す構成図、
第2図はアドレス発生器の具体的構成図、第3図は三角
波発生の場合における読み出しポイント例を示す図、
第4図は従来の一般的なファンクション・ジェネレータ
の一例を示す構成図、
第5図は第4図における波形メモリのアドレスとデータ
との関係を示す図である。
1・・・加算器 2・・・第1の波形メモリ
3・・・第1のDAC
4・・・第1のローパスフィルタ
5・・・クロック用マスタークロック発生器6・・・コ
ンパレータ 7・・・アドレス発生器8・・・第2
の波形メモリ
9・・・第2のDAC
10・・・第2のローパスフィルタ
71・・・バイナリ−カウンタ
72・・・スイッチFIG. 1 is a block diagram showing an embodiment of a function generator according to the present invention, FIG. 2 is a specific block diagram of an address generator, and FIG. 3 is a diagram showing an example of readout points in the case of triangular wave generation. FIG. 4 is a block diagram showing an example of a conventional general function generator, and FIG. 5 is a diagram showing the relationship between addresses and data of the waveform memory in FIG. 4. 1... Adder 2... First waveform memory 3... First DAC 4... First low-pass filter 5... Clock master clock generator 6... Comparator 7...・Address generator 8...second
Waveform memory 9...Second DAC 10...Second low-pass filter 71...Binary counter 72...Switch
Claims (1)
5)と、 前記マスタークロックが入力されるごとに、発生すべき
クロックの周波数に関連した周波数値ずつインクリメン
トされた値を出力する加算器(1)と、 正弦波の波形データが格納され、前記加算器から与えら
れるアドレスの波形データが読み出される第1の波形メ
モリ(2)と、 この第1の波形メモリ(2)の出力をアナログ変換する
第1のデジタル・アナログ変換器(3)と、 この第1のデジタル・アナログ変換器(3)の出力から
高調波成分を除去する第1のローパスフィルタ(4)と
、 この第1のローパスフィルタ(4)の出力を0レベルと
比較し、その大小に応じて2値信号となる矩形波状のク
ロックを発生するコンパレータ(6)と、 このコンパレータ(6)の出力を、設定された分周比で
分周するアドレス発生器(7)と、出力する波形データ
が格納され、前記アドレス発生器(7)の出力がアドレ
スとして与えられると、そのアドレスの波形データが読
み出される第2の波形メモリ(8)と、 この第2の波形メモリ(8)の出力をアナログ変換する
第2のデジタル・アナログ変換器(9)と、 この第2のデジタル・アナログ変換器(9)の出力の高
調波成分を除去する第2のローパスフィルタ(10)と
、 を具備し、第2のローパスフィルタ(10)より得られ
る出力の周波数ジッタを小さくするようにしたことを特
徴とするファンクション・ジェネレータ。[Claims] A master clock generator (
5); an adder (1) that outputs a value incremented by a frequency value related to the frequency of the clock to be generated each time the master clock is input; and an adder (1) in which sine wave waveform data is stored; a first waveform memory (2) from which waveform data at an address given from the adder is read; a first digital-to-analog converter (3) that converts the output of the first waveform memory (2) into analog; A first low-pass filter (4) removes harmonic components from the output of this first digital-to-analog converter (3), and the output of this first low-pass filter (4) is compared with the 0 level. A comparator (6) that generates a rectangular waveform clock that becomes a binary signal depending on the magnitude, an address generator (7) that divides the output of this comparator (6) at a set frequency division ratio, and an output a second waveform memory (8) in which waveform data is stored, and when the output of the address generator (7) is given as an address, the waveform data at that address is read out; a second digital-analog converter (9) that converts the output of the second digital-analog converter (9) into analog; a second low-pass filter (10) that removes harmonic components of the output of the second digital-analog converter (9); A function generator characterized in that the frequency jitter of the output obtained from the second low-pass filter (10) is reduced.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7650290A JPH03274915A (en) | 1990-03-26 | 1990-03-26 | Function generator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7650290A JPH03274915A (en) | 1990-03-26 | 1990-03-26 | Function generator |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03274915A true JPH03274915A (en) | 1991-12-05 |
Family
ID=13607010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP7650290A Pending JPH03274915A (en) | 1990-03-26 | 1990-03-26 | Function generator |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03274915A (en) |
-
1990
- 1990-03-26 JP JP7650290A patent/JPH03274915A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5598440A (en) | DDS driven DDS synthesizer for generating sinewave waveforms with reduced spurious signal levels | |
US5931891A (en) | Digital frequency synthesizer | |
JP4405620B2 (en) | Digital signal generator | |
JPH04229703A (en) | Method for generating phase correlation waveform | |
US6700945B2 (en) | Phase lock loop circuit | |
JP2836526B2 (en) | Frequency synthesizer | |
JPH03274915A (en) | Function generator | |
JPH0779210B2 (en) | Digital signal synthesizer and calibration signal generator | |
JPH07264063A (en) | Frequency synthesizer | |
JP3536426B2 (en) | Waveform generator | |
JP2891602B2 (en) | Digital synthesizer | |
JP3292553B2 (en) | Digital phase shifter | |
JP7334206B2 (en) | direct digital synthesizer | |
JPH07231225A (en) | Optional waveform generator | |
JPS61245775A (en) | Horizontal address generating circuit of digital special effect device | |
JPH07225630A (en) | Optional waveform generator with sequence function | |
JP3474126B2 (en) | Function Generator | |
JP2561394Y2 (en) | Digital synthesizer | |
JP3523369B2 (en) | Direct digital synthesizer | |
JPH05341871A (en) | Function generator | |
JPS63245058A (en) | Signal tone generator | |
JPH05160640A (en) | Direct digital synthesizer | |
JPH0239795B2 (en) | ||
JP2715211B2 (en) | Partial-integral superposition type reference frequency generation method for phase locked loop, and reference frequency generation circuit thereof | |
US6518801B1 (en) | Alias suppression method for 1-bit precision direct digital synthesizer |