JPH06244728A - Trigger synchronizing circuit for waveform generator - Google Patents

Trigger synchronizing circuit for waveform generator

Info

Publication number
JPH06244728A
JPH06244728A JP5027978A JP2797893A JPH06244728A JP H06244728 A JPH06244728 A JP H06244728A JP 5027978 A JP5027978 A JP 5027978A JP 2797893 A JP2797893 A JP 2797893A JP H06244728 A JPH06244728 A JP H06244728A
Authority
JP
Japan
Prior art keywords
sampling clock
output
clock
memory
time
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.)
Granted
Application number
JP5027978A
Other languages
Japanese (ja)
Other versions
JP3201437B2 (en
Inventor
Taketoshi Ikegami
武敏 池上
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP02797893A priority Critical patent/JP3201437B2/en
Publication of JPH06244728A publication Critical patent/JPH06244728A/en
Application granted granted Critical
Publication of JP3201437B2 publication Critical patent/JP3201437B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To evade a jitter generation due to an asynchronous error between a second sampling clock and an outside trigger by arbitrarily changing the phase of a first sampling clock which generates a digital direct synthesizer. CONSTITUTION:Before the outside trigger is inputted, the output of a delay circuit 21 is low, a flip flop 22 is not set, and the inversion output is high as it is. Then, the first sampling clock is inhibited from passing by a gate 24, and the second sampling clock is made low as it is. After the outside trigger is inputted, a time from the rising of the outside trigger to the rising of the first sampling clock appearing afterward is measured by using a time interval counter 10, and the time difference is digitized, and stored in a memory 11. Afterwards, phase shift amounts corresponding to the time difference are outputted, and stored through adders 14 and 15 and a latch 16 in a memory 11, and an output waveform is phase-shifted.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、デジタル・アナログ変
換器(以下DA変換器という)とデジタル回路を備えた
ファンクション・ジェネレータに使用されるトリガ同期
化回路に関する。詳しくは、外部トリガ入力と内部クロ
ックとの非同期により生じる出力ジッタを防止するため
の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a trigger synchronizing circuit used in a function generator having a digital / analog converter (hereinafter referred to as a DA converter) and a digital circuit. More specifically, the present invention relates to an improvement for preventing output jitter caused by asynchronism between an external trigger input and an internal clock.

【0002】[0002]

【従来の技術】従来よりデジタル回路やDA変換器を使
用したファンクション・ジェネレータはよく知られてい
る。図3はこの種のファンクション・ジェネレータの一
例を示す要部構成図である。図において、1は基準クロ
ックを発生する基準クロック発生器であり、時間精度を
高めるために、通常水晶発振器あるいは基準水晶発振器
にPLL(Pase Locked Loop)等により周波数ロックを
かけた電圧制御発振器等が用いられる。2はクロック・
コントローラであり、前記基準クロックと非同期で入力
される外部トリガ信号または制御・演算回路7からのス
タート信号(CPUスタート)の到来に応じてゲートを
開き、サンプリング・クロックとして基準クロックを出
力するように制御している。
2. Description of the Related Art Conventionally, function generators using digital circuits and DA converters are well known. FIG. 3 is a main part configuration diagram showing an example of this type of function generator. In the figure, reference numeral 1 is a reference clock generator that generates a reference clock, and in order to improve time accuracy, a normal crystal oscillator or a voltage controlled oscillator in which a reference crystal oscillator is frequency-locked by a PLL (Pase Locked Loop) or the like is used. Used. 2 is the clock
A controller, which opens a gate in response to the arrival of an external trigger signal input asynchronously with the reference clock or a start signal (CPU start) from the control / arithmetic circuit 7 and outputs the reference clock as a sampling clock. Have control.

【0003】3はアドレス・ジェネレータであり、アダ
ーとラッチで構成され、クロック・コントローラ2から
のサンプリング・クロックが入力されるごとに所定の値
の累積加算値を出力する。この出力はメモリ4に対する
アドレスとして用いられる。メモリ4には正弦波や三角
波等の時系列データがアドレス順に記憶されていて、ア
ドレス指定により読み出された波形データはデジタル・
アナログ変換器(以下DA変換器という)5に入力され
る。
An address generator 3 is composed of an adder and a latch, and outputs a cumulative addition value of a predetermined value each time the sampling clock from the clock controller 2 is input. This output is used as an address for the memory 4. The memory 4 stores time-series data such as sine waves and triangle waves in the order of addresses, and the waveform data read by addressing is digital.
It is input to an analog converter (hereinafter referred to as a DA converter) 5.

【0004】DA変換器4はサンプリング・クロックが
与えられるごとに入力のデジタル信号をアナログ信号に
変換して出力する。6はDA変換器5の出力信号を適宜
増幅して出力する増幅器である。なお、ここでの増幅器
6はローパスフィルタをも含むものである。
The DA converter 4 converts an input digital signal into an analog signal and outputs it every time a sampling clock is applied. An amplifier 6 appropriately amplifies the output signal of the DA converter 5 and outputs it. The amplifier 6 here also includes a low-pass filter.

【0005】アドレス・ジェネレータ3、メモリ4、D
A変換器5、増幅器6のローパスフィルタ6aから成る
部分は、デジタル・ダイレクト・シンセサイザ(DD
S)と呼ばれ、図4に示すような構成である。アドレス
・ジェネレータ(位相演算器とも呼ぶ)は加算器31と
ラッチ32から構成され、基準クロックごとに積算され
たアドレスを発生する。メモリ4では正弦波データテー
ブルによりアドレス(位相データ)を振幅データに変換
する。正弦波データは1周期あるいは複数周期分用意さ
れ、アドレスは必要に応じてエンドレスに循環すること
もできるようになっている。メモリ4から出力される振
幅データはDA変換器5で基準クロックごとにアナログ
電圧に変換され、ローパスフィルタ6aで高周波成分が
除去される。このようにして、位相演算器に与えるデー
タNに関連した周波数の正弦波信号が得られ、データN
の変化によって正弦波出力信号の周波数が変化する。そ
の様子を図5に示す。同図(a),(b)で分かるよう
にNの値が2倍になると出力の周波数も2倍に変化す
る。
Address generator 3, memory 4, D
A part of the A converter 5 and the low pass filter 6a of the amplifier 6 is a digital direct synthesizer (DD).
S), which has a configuration as shown in FIG. The address generator (also called a phase calculator) is composed of an adder 31 and a latch 32, and generates an integrated address for each reference clock. In the memory 4, the address (phase data) is converted into amplitude data by the sine wave data table. The sine wave data is prepared for one cycle or a plurality of cycles, and the address can be circulated endlessly if necessary. The amplitude data output from the memory 4 is converted into an analog voltage for each reference clock by the DA converter 5, and the high frequency component is removed by the low pass filter 6a. In this way, a sine wave signal having a frequency related to the data N given to the phase calculator is obtained, and the data N
Changes the frequency of the sine wave output signal. This is shown in FIG. As can be seen from FIGS. 7A and 7B, when the value of N doubles, the output frequency also doubles.

【0006】このようにDDSは基準クロックごとに積
算されるデータNを変えることによって出力波形の周波
数を変えることができ、さらに加算器31のビット数を
多くするだけで分解能を簡単に高くすることができる。
As described above, in the DDS, the frequency of the output waveform can be changed by changing the data N accumulated for each reference clock, and the resolution can be easily increased only by increasing the number of bits of the adder 31. You can

【0007】クロック・コントローラ2はシリアル接続
された3個のD形フリップフロップ2a,2b,2c
と、インバータ2dおよびゲート2eから構成されてい
る。初段のフリップフロップ2aは、制御・演算回路7
からのストップ信号によりリセットされていて、スイッ
チ8経由でクロック入力端に受ける外部トリガ信号また
は制御・演算回路7からのスタート信号(図6の
(b))を受け、その立ち上がりでセットされる(出力
QがHIGHになる)。なお、スイッチ8の駆動は制御
・演算回路7により行われる。
The clock controller 2 comprises three D-type flip-flops 2a, 2b and 2c connected in series.
And an inverter 2d and a gate 2e. The first-stage flip-flop 2a includes a control / arithmetic circuit 7
It is reset by the stop signal from the control signal from the external trigger signal received at the clock input terminal via the switch 8 or the start signal ((b) in FIG. 6) from the control / arithmetic circuit 7 and is set at the rising edge ( Output Q goes HIGH). The switch 8 is driven by the control / arithmetic circuit 7.

【0008】D入力として前段のフリップフロップのQ
出力を受ける2段目および3段目のフリップフロップ2
b,2cは、クロック入力端に基準クロックを受けてい
る。このため、3段目のフリップフロップ2cの反転出
力は図6の(c)に示すように、トリガ入力時点以降の
2回目のクロックの立ち上がりで、LOWに反転する。
これによりゲート2eが開き、インバータ2d経由の基
準クロックが通過し、図6の(d)に示すようなサンプ
リング・クロックが発生する。このサンプリング・クロ
ックはアドレス・ジェネレータ3およびDA変換器5に
入力され、図6の(e)に示すようなアナログ波形がD
A変換器より出力される。このアナログ信号は増幅器6
を経由して適宜に増幅されると共に滑らかな信号に整形
される。
The Q of the flip-flop of the preceding stage is used as the D input.
Second-stage and third-stage flip-flops 2 that receive the output
b and 2c receive the reference clock at their clock input ends. Therefore, the inverted output of the third-stage flip-flop 2c is inverted to LOW at the second rise of the clock after the trigger input, as shown in (c) of FIG.
As a result, the gate 2e is opened, the reference clock via the inverter 2d passes, and the sampling clock as shown in FIG. 6D is generated. This sampling clock is input to the address generator 3 and the DA converter 5, and the analog waveform as shown in FIG.
It is output from the A converter. This analog signal is the amplifier 6
The signal is amplified appropriately via and is shaped into a smooth signal.

【0009】[0009]

【発明が解決しようとする課題】しかしながらこのよう
なファンクション・ジェネレータにおいては、外部トリ
ガ入力は通常基準クロックとは同期しておらず、トリガ
入力後にアナログ波形が出始めるまでの時間にはばらつ
きがある。このばらつきは最大1クロック分であるが、
これに起因して±1/2クロック分のジッタ(出力波形
の時間軸方向の波形移動)が生じることになる。
However, in such a function generator, the external trigger input is not normally synchronized with the reference clock, and the time until the analog waveform starts to appear after the trigger input varies. . This variation is one clock maximum,
Due to this, a jitter of ± ½ clock (waveform movement of the output waveform in the time axis direction) occurs.

【0010】本発明の目的は、このような点に鑑みてな
されたもので、DDSにより発生する第1のサンプリン
グ・クロックと外部トリガとの位相差を測定し、DDS
で強制的に出力波形の位相を変化させて前記位相差相当
量だけ位相のずれた第1のサンプリング・クロックを発
生させるようにして、外部トリガに同期し、ジッタを発
生させない第2のサンプリング・クロックを得ることの
できるトリガ同期化回路を実現しようとするものであ
る。
The object of the present invention has been made in view of the above point, and the phase difference between the first sampling clock generated by the DDS and the external trigger is measured, and the DDS is measured.
To forcibly change the phase of the output waveform to generate the first sampling clock whose phase is shifted by the amount corresponding to the phase difference, and to synchronize with the external trigger to prevent the second sampling It is intended to realize a trigger synchronization circuit that can obtain a clock.

【0011】[0011]

【課題を解決するための手段】このような目的を達成す
るために本発明では、正弦波を発生するデジタル・ダイ
レクト・シンセサイザと、このデジタル・ダイレクト・
シンセサイザの出力の正負に対応した矩形波信号である
第1のサンプリング・クロックを得る比較器と、外部ト
リガの入力時点からその後の第1のサンプリング・クロ
ックの最初の立ち上がりまでの時間差を計測しデジタル
化して出力するタイムインターバル・カウンタと、時間
差に応じた位相シフト量のテーブルを持ち、前記時間差
に対応する位相シフト量を出力する第1のメモリと、所
定の期間のみオンとなるスイッチと、外部トリガを所定
の時間遅延して出力する遅延回路と、この遅延回路の出
力と前記第1のサンプリング・クロックを受け、第1の
サンプリング・クロックの周期が安定化した後その第1
のサンプリング・クロックに同期した第2のサンプリン
グ・クロックを出力する第2のサンプリング・クロック
発生回路を具備したことを特徴とする。
In order to achieve such an object, the present invention provides a digital direct synthesizer for generating a sine wave and the digital direct synthesizer.
The comparator that obtains the first sampling clock, which is a square wave signal corresponding to the positive and negative of the output of the synthesizer, and the digital difference by measuring the time difference from the input of the external trigger to the first rising edge of the first sampling clock after that. A first memory having a time interval counter for converting and outputting the phase shift amount, a table of the phase shift amount corresponding to the time difference, and outputting the phase shift amount corresponding to the time difference; a switch that is turned on only for a predetermined period; A delay circuit for delaying and outputting a trigger for a predetermined time; and an output of the delay circuit and the first sampling clock, after the period of the first sampling clock is stabilized, the first
And a second sampling clock generating circuit for outputting a second sampling clock synchronized with the sampling clock.

【0012】[0012]

【作用】DDSから基本クロックに同期した正弦波が出
力され比較器を通すことにより第1のサンプリング・ク
ロックを発生させる。外部トリガが入力されると、その
時点から、その後の第1のサンプリング・クロックの最
初の立ち上がりまでの時間差をタイムインターバル・カ
ウンタで計測し、その位相差に応じた(逆比例する)位
相シフト量を第1のメモリより得る。DDSはこの位相
シフト量に見合った分出力正弦波を位相シフトする。こ
れにより第1のサンプリング・クロックも位相シフトさ
れる。第2のサンプリング・クロック発生回路では遅延
回路経由の外部トリガ信号入力以降において前記位相シ
フトされた第1のサンプリング・クロックに同期した第
2のサンプリング・クロックを発生する。これにより、
DDSは基本クロックに同期して正弦波を出力するが、
第2のサンプリング・クロック発生回路からは、外部ト
リガに同期し正弦波の周期と同じ周期の第2のサンプリ
ング・クロックを得ることができる。
The sine wave synchronized with the basic clock is output from the DDS and passed through the comparator to generate the first sampling clock. When an external trigger is input, the time interval counter measures the time difference from that point to the first rising edge of the first sampling clock thereafter, and the phase shift amount according to the phase difference (inversely proportional) From the first memory. The DDS phase shifts the output sine wave by an amount commensurate with this phase shift amount. This also phase shifts the first sampling clock. The second sampling clock generation circuit generates a second sampling clock synchronized with the phase-shifted first sampling clock after the external trigger signal is input via the delay circuit. This allows
DDS outputs a sine wave in synchronization with the basic clock,
From the second sampling clock generation circuit, it is possible to obtain a second sampling clock having the same period as the sine wave period in synchronization with the external trigger.

【0013】[0013]

【実施例】以下図面を用いて本発明を詳しく説明する。
図1は本発明に係る波形発生器のトリガ同期化回路の一
実施例を示す要部構成図である。本発明は図3の従来例
におけるクロック・コントローラ2の部分に相当するも
のであり、DDSを用いてトリガに同期した第1のサン
プリング・クロックを作成し、この第1のサンプリング
・クロックに基づき第2のサンプリング・クロックを出
力するものである。この第2のサンプリング・クロック
は波形発生器の波形メモリ(図示しない)から波形デー
タを読み出すためのサンプリング・クロックとして利用
される。
The present invention will be described in detail below with reference to the drawings.
FIG. 1 is a main part configuration diagram showing an embodiment of a trigger synchronization circuit of a waveform generator according to the present invention. The present invention corresponds to the part of the clock controller 2 in the conventional example of FIG. 3, in which a first sampling clock synchronized with a trigger is created by using DDS, and a first sampling clock is generated based on the first sampling clock. It outputs two sampling clocks. This second sampling clock is used as a sampling clock for reading the waveform data from the waveform memory (not shown) of the waveform generator.

【0014】図において、10はタイムインターバル・
カウンタであり、外部トリガ入力時点から、それ以後の
第1のサンプリング・クロックの最初の立ち上がりまで
の時間を高精度に計測するものである。このタイムイン
ターバル・カウンタは、例えばその時間差をアナログ的
に計測し、得られた計測値をデジタル化して出力するよ
うに構成されたものである。
In the figure, 10 is a time interval
The counter is a counter that measures the time from the input of the external trigger to the first rising of the first sampling clock thereafter with high accuracy. This time interval counter is configured to, for example, measure the time difference in an analog manner, digitize the obtained measured value, and output it.

【0015】11はメモリであり、時間差に応じた位相
シフト量のテーブルを持ち、タイムインターバル・カウ
ンタ10の出力(時間差)をアドレスとして受けると、
そのアドレスの内容である位相シフト量を出力する。1
2は外部トリガが入力された時だけオンになるスイッ
チ、14はスイッチ12の出力と第1のラッチ13の出
力とを加算する第1の加算器である。ラッチ13にはサ
ンプリング・クロックの周波数に関連する値Nが設定さ
れている。
Reference numeral 11 denotes a memory, which has a table of phase shift amounts according to time differences, and which receives an output (time difference) of the time interval counter 10 as an address,
The phase shift amount which is the content of the address is output. 1
Reference numeral 2 is a switch that is turned on only when an external trigger is input, and 14 is a first adder that adds the output of the switch 12 and the output of the first latch 13. A value N related to the frequency of the sampling clock is set in the latch 13.

【0016】第2の加算器15、第2のラッチ16、第
2のメモリ17、DA変換器18およびローパスフィル
タ19から成るDDS部分は、従来例で説明したDDS
部と同等であるので更なる説明は省略する。ただ第2の
メモリ17の波形データはサンプリング・クロックを得
るためのものであり、ここでは正弦波データが記憶され
ている。20はローパスフィルタ19の出力波形を0レ
ベルと比較する比較器であり、ローパスフィルタ19の
出力波形の正負に対応した矩形波信号、すなわちローパ
スフィルタの出力が0より大きい場合はHIGH、小さ
い場合はLOWの信号(以下この信号を第1のサンプリ
ング・クロックという)を出力する。
The DDS portion consisting of the second adder 15, the second latch 16, the second memory 17, the DA converter 18, and the low-pass filter 19 is the DDS described in the conventional example.
Since it is the same as the part, a further description will be omitted. However, the waveform data of the second memory 17 is for obtaining the sampling clock, and the sine wave data is stored here. Reference numeral 20 is a comparator for comparing the output waveform of the low-pass filter 19 with 0 level, and is a rectangular wave signal corresponding to the positive or negative of the output waveform of the low-pass filter 19, that is, HIGH when the output of the low-pass filter is greater than 0, and when it is smaller. A LOW signal (hereinafter, this signal is referred to as a first sampling clock) is output.

【0017】22はD形のフリップフロップであり、そ
のD入力端には遅延回路21経由の外部トリガが加えら
れ、クロック入力端には比較器20の出力すなわち第1
のサンプリング・クロックが入力される。遅延回路21
は所定の時間tdだけ外部トリガを遅延させるものであ
る。24はゲートであり、フリップフロップ22の反転
出力とインバータ23経由の第1のサンプリング・クロ
ックを受け、反転出力がLOWの時のみ第1のサンプリ
ング・クロックを通過させる。このゲートの出力が第2
のサンプリング・クロックである。なお、フリップフロ
ップ22、インバータ23、ゲート24から成る部分
は、遅延回路の出力と前記第1のサンプリング・クロッ
クを受け、第1のサンプリング・クロックの周期が安定
化した後その第1のサンプリング・クロックに同期した
第2のサンプリング・クロックを出力するものであり、
ここでは第2のサンプリング・クロック発生回路と呼
ぶ。
Reference numeral 22 is a D-type flip-flop, the D input terminal of which is supplied with an external trigger via the delay circuit 21, and the clock input terminal of which is the output of the comparator 20, that is, the first.
The sampling clock of is input. Delay circuit 21
Is to delay the external trigger by a predetermined time td. Reference numeral 24 denotes a gate, which receives the inverted output of the flip-flop 22 and the first sampling clock via the inverter 23, and passes the first sampling clock only when the inverted output is LOW. The output of this gate is the second
Sampling clock of. The portion composed of the flip-flop 22, the inverter 23, and the gate 24 receives the output of the delay circuit and the first sampling clock, and after the period of the first sampling clock is stabilized, the first sampling It outputs a second sampling clock synchronized with the clock,
Here, it is referred to as a second sampling clock generating circuit.

【0018】このような構成における動作を図2を参照
して次に説明する。なお、図2では説明を簡略化するた
めに正弦波の周期は基本クロックの4クロック分である
場合を例にとってある。 (1) 外部トリガ入力前 通常の状態ではスイッチ12はオフとなっていて第2の
加算器15の一方の入力には第1の加算器14経由のラ
ッチ13の設定値Nが入力されていて、第2のラッチ1
6の出力端からは基準クロック(図2の(a))の入力
ごとにNずつ増加するアドレスが得られる。そしてこの
アドレスで第2のメモリ17がアクセスされ、当該アド
レスの内容(正弦波の波形データ)が読み出される。こ
の波形データはDA変換器18でアナログ化され、さら
にローパスフィルタ19を通して滑らかな波形(正弦
波)に整形されて出力される(図2の(d))。比較器
20はこの正弦波信号を0レベルと比較し正弦波信号と
同じ周期の矩形波信号(第1のサンプリング・クロッ
ク:図2の(c))を出力する。
The operation of such a configuration will be described below with reference to FIG. Note that, in FIG. 2, for simplification of description, the case where the period of the sine wave is four clocks of the basic clock is taken as an example. (1) Before external trigger input In a normal state, the switch 12 is off, and the set value N of the latch 13 via the first adder 14 is input to one input of the second adder 15. , The second latch 1
From the output terminal of 6, an address increasing by N is obtained for each input of the reference clock ((a) of FIG. 2). Then, the second memory 17 is accessed at this address, and the content of the address (waveform data of sine wave) is read. This waveform data is analogized by the DA converter 18, further shaped into a smooth waveform (sine wave) through the low-pass filter 19 and output ((d) of FIG. 2). The comparator 20 compares the sine wave signal with 0 level and outputs a rectangular wave signal (first sampling clock: (c) in FIG. 2) having the same period as the sine wave signal.

【0019】このようにして一定周期の第1のサンプリ
ング・クロックが発生するが、外部トリガ入力前におい
ては遅延回路21の出力もLOWであり、このためフリ
ップフロップ22もセットされず、その反転出力はHI
GHの状態が維持されたままである。そのため第1のサ
ンプリング・クロックはゲート24において通過禁止と
なっていて、第2のサンプリング・クロックはLOWの
状態に保持されている。
In this way, the first sampling clock having a constant cycle is generated, but the output of the delay circuit 21 is LOW before the input of the external trigger, so that the flip-flop 22 is not set and its inverted output is obtained. Is HI
The state of GH is still maintained. Therefore, the first sampling clock is prohibited at the gate 24, and the second sampling clock is held in the LOW state.

【0020】(2) 外部トリガ入力後 タイムインターバル・カウンタ10では、外部トリガ
(図2の(b))が立ち上がりから、その後に現れる第
1のサンプリング・クロックの立ち上がりまでの時間
(図2のt1)を計測する。時間差t1はデジタル化され、
メモリ11にアドレスとして与えられる。メモリ11は
そのアドレスの内容すなわち時間差t1に対応した位相シ
フト量M(時間差t1とMは逆比例の関係にある)を出力
する。メモリから位相シフト量Mが出力されると、図2
の(e)に示すようにスイッチ12がオンになりMが第
1の加算器14に入力される。第1の加算器では直ちに
他方の入力の設定値Nと加算し、加算値(N+M)を第
2の加算器15に入力する。第2の加算器15では第2
のラッチ16の出力(前回の加算値Ni )と(N+M)
を加算する。そして次の基本クロックパルスで加算値
(Ni +N+M)がラッチ16にラッチされ、その値が
メモリ17に対してアドレスとして入力される。なおス
イッチ12は図2の(e)に示すようにこの時点ですで
にオフとなっている。第2のメモリ17のアドレスが
(Ni +N+M)になると、出力波形は図2の(d)に
示すように位相シフトする(正弦波が不連続となったと
ころ)。
(2) In the time interval counter 10 after the input of the external trigger, the time from the rising edge of the external trigger ((b) in FIG. 2) to the rising edge of the first sampling clock appearing after that (t1 in FIG. 2). ) Is measured. The time difference t1 is digitized,
It is given to the memory 11 as an address. The memory 11 outputs the content of the address, that is, the phase shift amount M corresponding to the time difference t1 (the time difference t1 and M are in inverse proportion to each other). When the phase shift amount M is output from the memory, FIG.
The switch 12 is turned on and M is input to the first adder 14 as shown in FIG. The first adder immediately adds the set value N of the other input and inputs the added value (N + M) to the second adder 15. In the second adder 15, the second
16 latch output (previously added value Ni) and (N + M)
Is added. Then, at the next basic clock pulse, the added value (Ni + N + M) is latched by the latch 16, and the value is input to the memory 17 as an address. The switch 12 is already off at this point as shown in FIG. When the address of the second memory 17 becomes (Ni + N + M), the output waveform is phase-shifted as shown in FIG. 2D (where the sine wave becomes discontinuous).

【0021】その後は基準クロックが入るたびにNずつ
増加するアドレスが第2のメモリ17に与えられ、メモ
リ17からは図2の(d)に示すように位相シフトはし
たが周期は以前と同じ正弦波データが出力される。一方
フリップフロップ22のD入力端には遅延回路21によ
り図2の(f)に示すように時間td(一定の時間)だけ
遅延した外部トリガが加えられる。これによりゲート2
4が開き、インバータ23で反転した第1のサンプリン
グ・クロックがゲートを通過し、第2のサンプリング・
クロックとして出力される(図2の(g))。このよう
にして外部トリガの立ち上がりからTだけ後に第2のサ
ンプリング・クロックを発生させることができる。この
T時間は外部トリガの入力のタイミングにかかわらず常
に一定である。一定であることを示す他の例についての
説明は後述する。
After that, an address which is increased by N each time the reference clock is input is given to the second memory 17, and the memory 17 performs the phase shift as shown in FIG. 2D, but the cycle is the same as before. Sine wave data is output. On the other hand, an external trigger delayed by a time td (constant time) is applied to the D input terminal of the flip-flop 22 by the delay circuit 21 as shown in FIG. This makes gate 2
4 opens, the first sampling clock inverted by the inverter 23 passes through the gate, and the second sampling clock
It is output as a clock ((g) in FIG. 2). In this way, the second sampling clock can be generated after T from the rising edge of the external trigger. This T time is always constant regardless of the external trigger input timing. The description of another example showing the constant will be described later.

【0022】要するに、図2の(c)および(d)から
も明らかなように、時間差t1に見合った位相シフト量M
がメモリ11から出力され、これに起因して第2のメモ
リ17に対して一度だけMだけシフトしたアドレスが与
えられ、その後は従前通りNずつ増加するアドレスとな
ることによって、比較器20から出力される第1のサン
プリング・クロックは途中で一度位相シフトし、その後
基準クロックとは同期しないが外部トリガには同期した
第1のサンプリング・クロックが得られる。
In short, as is clear from FIGS. 2C and 2D, the amount of phase shift M corresponding to the time difference t1.
Is output from the memory 11, and due to this, an address shifted by M only once is given to the second memory 17, and thereafter, the address is increased by N as before, and is output from the comparator 20. The obtained first sampling clock is phase-shifted once on the way, and then the first sampling clock which is not synchronized with the reference clock but is synchronized with the external trigger is obtained.

【0023】異なるタイミングで入力された外部トリガ
に対する場合を図2の(h)〜(l)に示す。この場合
は時間差t2に対応した位相シフト量mだけアドレスが一
度変化する。これにより比較器20の入力は図2の
(j)のように負の値に変化し、それに伴って第1のサ
ンプリング・クロックも図2の(i)のように一時期L
OWに変化する。しかし、遅延回路21の出力がLOW
の間はこのような変化が生じてもフリップフロップ22
にはなんら影響しない。その後、上記の場合と同様にし
て第2のサンプリング・クロックは、外部トリガの立ち
上がり時点からT時間経過した時点より発生する。以上
のようにして、DDSからは基本クロックに同期した正
弦波が出力されるが、第2のサンプリング・クロックは
外部トリガに同期した信号となる。
The case of external triggers input at different timings is shown in (h) to (l) of FIG. In this case, the address once changes by the phase shift amount m corresponding to the time difference t2. As a result, the input of the comparator 20 changes to a negative value as shown in (j) of FIG. 2, and accordingly the first sampling clock also has a temporary L level as shown in (i) of FIG.
Change to OW. However, the output of the delay circuit 21 is LOW.
In the meantime, even if such a change occurs, the flip-flop 22
Has no effect on After that, the second sampling clock is generated from the time when T time has elapsed from the rising time of the external trigger in the same manner as in the above case. As described above, the sine wave synchronized with the basic clock is output from the DDS, but the second sampling clock becomes a signal synchronized with the external trigger.

【0024】[0024]

【発明の効果】以上説明したように本発明によれば、D
DSにより発生する第1のサンプリング・クロックの位
相を任意に変化させることができるので、はじめに外部
トリガと第1のサンプリング・クロックの位相差を測定
し、これによりDDSの位相差を設定し、外部トリガと
第2のサンプリング・クロックの同期化を可能とする。
その結果、第2のサンプリング・クロックの外部トリガ
との非同期誤差によるジッタの発生を防止することがで
きる。
As described above, according to the present invention, D
Since the phase of the first sampling clock generated by DS can be arbitrarily changed, the phase difference between the external trigger and the first sampling clock is first measured, and the phase difference of DDS is set by this Allows synchronization of the trigger and the second sampling clock.
As a result, it is possible to prevent the occurrence of jitter due to an asynchronous error of the second sampling clock with the external trigger.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明に係るトリガ同期化回路の一実施例を示
す要部構成図である。
FIG. 1 is a main part configuration diagram showing an embodiment of a trigger synchronization circuit according to the present invention.

【図2】動作を説明するためのタイムチャートである。FIG. 2 is a time chart for explaining the operation.

【図3】ファンクション・ジェネレータの従来例を示す
構成図である。
FIG. 3 is a configuration diagram showing a conventional example of a function generator.

【図4】DDSの構成を示す図である。FIG. 4 is a diagram showing a configuration of a DDS.

【図5】DDSの出力波形の周期を説明するための図で
ある。
FIG. 5 is a diagram for explaining a cycle of a DDS output waveform.

【図6】ファンクション・ジェネレータにおけるクロッ
クコントローラの動作を説明するためのタイムチャート
である。
FIG. 6 is a time chart for explaining the operation of the clock controller in the function generator.

【符号の説明】[Explanation of symbols]

10 タイムインターバル・カウンタ 11 第1のメモリ 12 スイッチ 13 第1のラッチ 14 第1の加算器 15 第2の加算器 16 第2のラッチ 17 第2のメモリ 18 DA変換器 19 ローパスフィルタ 20 比較器 21 遅延回路 22 D形フリップフロップ 23 インバータ 24 ゲート 10 time interval counter 11 first memory 12 switch 13 first latch 14 first adder 15 second adder 16 second latch 17 second memory 18 DA converter 19 low-pass filter 20 comparator 21 Delay circuit 22 D-type flip-flop 23 Inverter 24 Gate

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】正弦波を発生するデジタル・ダイレクト・
シンセサイザと、 このデジタル・ダイレクト・シンセサイザの出力の正負
に対応した矩形波信号である第1のサンプリング・クロ
ックを得る比較器と、 外部トリガの入力時点からその後の第1のサンプリング
・クロックの最初の立ち上がりまでの時間差を計測しデ
ジタル化して出力するタイムインターバル・カウンタ
と、 時間差に応じた位相シフト量のテーブルを持ち、前記時
間差に対応する位相シフト量を出力する第1のメモリ
と、 所定の期間のみオンとなるスイッチと、 外部トリガを所定の時間遅延して出力する遅延回路と、 この遅延回路の出力と前記第1のサンプリング・クロッ
クを受け、第1のサンプリング・クロックの周期が安定
化した後その第1のサンプリング・クロックに同期した
第2のサンプリング・クロックを出力する第2のサンプ
リング・クロック発生回路を具備し、前記タイムインタ
ーバル・カウンタで測定した時間差に応じた位相シフト
量を第1のメモリよりスイッチ経由でデジタル・ダイレ
クト・シンセサイザに与えて正弦波の位相シフトを行
い、前記第2のサンプリング・クロックが前記外部トリ
ガに同期するようにしたことを特徴とする波形発生器の
トリガ同期化回路。
1. A digital direct circuit for generating a sine wave.
The synthesizer and the comparator that obtains the first sampling clock, which is a square wave signal corresponding to the positive and negative of the output of this digital direct synthesizer, and the first sampling clock after the input of the external trigger. A time interval counter that measures the time difference until rising and digitizes and outputs it, a first memory that has a table of phase shift amount according to the time difference, and outputs the phase shift amount corresponding to the time difference, and a predetermined period Only a switch that is turned on, a delay circuit that delays and outputs an external trigger for a predetermined time, receives the output of the delay circuit and the first sampling clock, and the cycle of the first sampling clock is stabilized. After that, it outputs a second sampling clock synchronized with the first sampling clock. A second sampling clock generating circuit is provided, and a phase shift amount corresponding to the time difference measured by the time interval counter is given from the first memory to the digital direct synthesizer via a switch to perform a sine wave phase shift. The trigger synchronization circuit of the waveform generator is characterized in that the second sampling clock is synchronized with the external trigger.
JP02797893A 1993-02-17 1993-02-17 Waveform generator trigger synchronization circuit Expired - Fee Related JP3201437B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02797893A JP3201437B2 (en) 1993-02-17 1993-02-17 Waveform generator trigger synchronization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02797893A JP3201437B2 (en) 1993-02-17 1993-02-17 Waveform generator trigger synchronization circuit

Publications (2)

Publication Number Publication Date
JPH06244728A true JPH06244728A (en) 1994-09-02
JP3201437B2 JP3201437B2 (en) 2001-08-20

Family

ID=12235953

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02797893A Expired - Fee Related JP3201437B2 (en) 1993-02-17 1993-02-17 Waveform generator trigger synchronization circuit

Country Status (1)

Country Link
JP (1) JP3201437B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008005296A (en) * 2006-06-23 2008-01-10 Fujitsu Ltd Analog waveform generating device
CN110068717A (en) * 2018-01-24 2019-07-30 安立股份有限公司 Sampling oscilloscope, triggering generation method and the method for sampling

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008005296A (en) * 2006-06-23 2008-01-10 Fujitsu Ltd Analog waveform generating device
CN110068717A (en) * 2018-01-24 2019-07-30 安立股份有限公司 Sampling oscilloscope, triggering generation method and the method for sampling
CN110068717B (en) * 2018-01-24 2021-09-07 安立股份有限公司 Sampling oscilloscope, trigger generation method and sampling method

Also Published As

Publication number Publication date
JP3201437B2 (en) 2001-08-20

Similar Documents

Publication Publication Date Title
US5036230A (en) CMOS clock-phase synthesizer
US11196426B2 (en) Time-to-digital converter stop time control
JP4166756B2 (en) Method and apparatus for generating a clock signal having predetermined clock signal characteristics
US7295139B2 (en) Triggered data generator
Szplet et al. A 45 ps time digitizer with a two-phase clock and dual-edge two-stage interpolation in a field programmable gate array device
US5920211A (en) Fully digital clock synthesizer
JP2002323971A (en) Random number generator
JP3201437B2 (en) Waveform generator trigger synchronization circuit
US7519087B2 (en) Frequency multiply circuit using SMD, with arbitrary multiplication factor
JP4250715B2 (en) Trigger DDS signal generator
KR20120005290A (en) Delay locked loop
KR0146060B1 (en) Clock generator
JPH0879029A (en) Four-phase clock pulse generating circuit
JP2545010B2 (en) Gate device
JP3163244B2 (en) Circuit to convert pulse width to digital value using multi-phase interpolation
JP2628182B2 (en) Test equipment for analog-digital hybrid IC
JP3147129B2 (en) Timing generator
JPH0514213Y2 (en)
JP2912680B2 (en) Digital phase synchronizer
KR940000643Y1 (en) Synchronous pulse making circuit using flip-flop
KR100213584B1 (en) Frequency multiplying circuit and method for pulse signal train
JP2959420B2 (en) Phase comparison circuit
JPH08181541A (en) Digital frequency synthesizer
JPH10261953A (en) Odd number frequency division clock generating circuit
JPH09270781A (en) Digital signal synchronizing circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees