JPH07106954A - Pulse generating device - Google Patents
Pulse generating deviceInfo
- Publication number
- JPH07106954A JPH07106954A JP26843993A JP26843993A JPH07106954A JP H07106954 A JPH07106954 A JP H07106954A JP 26843993 A JP26843993 A JP 26843993A JP 26843993 A JP26843993 A JP 26843993A JP H07106954 A JPH07106954 A JP H07106954A
- Authority
- JP
- Japan
- Prior art keywords
- output
- circuit
- shift
- clock
- pulse
- 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
Landscapes
- Pulse Circuits (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は、クロックパルスの周
期よりも高い分解能を持つパルス発生装置についてのも
のである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pulse generator having a resolution higher than the clock pulse period.
【0002】[0002]
【従来の技術】つぎに、従来のパルス発生装置の構成を
図6に示す。この装置は、プリセッタブルカウンタ1、
検出回路2、積算回路3、プログラマブル遅延回路4よ
り構成されている。つぎに、図6の動作を図7のタイム
チャートを参照して説明する。図7に示すように、クロ
ックパルス周期より細かな分解能で出力パルスの周期を
設定することができる。このような技術は、特公昭63
−9686号公報にも開示されている。2. Description of the Related Art Next, a configuration of a conventional pulse generator is shown in FIG. This device has a presettable counter 1,
It is composed of a detection circuit 2, an integration circuit 3, and a programmable delay circuit 4. Next, the operation of FIG. 6 will be described with reference to the time chart of FIG. As shown in FIG. 7, the cycle of the output pulse can be set with a resolution finer than the clock pulse cycle. Such a technique is disclosed in Japanese Patent Publication Sho 63
It is also disclosed in Japanese Patent No. 9686.
【0003】[0003]
【発明が解決しようとする課題】図6の構成のパルス発
生装置において、出力パルスの周期のタイミング確度を
上げるには、基本となるクロックパルスの周期を短くす
ればよいが、クロックパルスの最小周期はプリセッタブ
ルカウンタの動作限界における周波数に制限されるとい
う問題がある。In the pulse generator having the configuration shown in FIG. 6, the basic clock pulse cycle may be shortened in order to improve the timing accuracy of the output pulse cycle, but the minimum clock pulse cycle is required. Has a problem of being limited to the frequency at the operating limit of the presettable counter.
【0004】この発明は、プリセッタブルカウンタの動
作限界の周波数の制限を受けずに、クロックパルス周期
より細かな分解能で出力パルスの周期を設定するパルス
発生装置を提供することを目的とする。An object of the present invention is to provide a pulse generator which sets the cycle of an output pulse with a resolution finer than the clock pulse cycle without being restricted by the frequency of the operation limit of the presettable counter.
【0005】[0005]
【課題を解決するための手段】この目的を達成するた
め、この発明は、データ入力端子12によりデータを設
定し、入力端子11からのクロックパルスによりシフト
動作を行うシフト回路5と、データ入力端子14により
データを設定し、シフト回路5の出力によりダウンカウ
ントするプリセッタブルカウンタ1と、シフト回路5の
出力とプリセッタブルカウンタ1の出力を入力とし、各
出力が特定値になるとパルスを出力し、シフト回路5と
プリセッタブルカウンタ1に入力させる検出回路2と、
データ入力端子15にデータを入力し、検出回路2の出
力に同期してデータを積算し、積算値を出力するととも
に積算結果による桁上げ信号をシフト回路5に出力し
て、シフト回路5のシフト動作を中断させる積算回路3
と、検出回路2の出力を入力し、積算回路3の積算出力
3Aに対応して遅延させるプログラマブル遅延回路4を
備え、クロックパルスから、端数つき倍数の出力を取り
出す。In order to achieve this object, the present invention provides a shift circuit 5 for setting data by a data input terminal 12 and performing a shift operation by a clock pulse from the input terminal 11, and a data input terminal. The data is set by 14, and the presettable counter 1 that counts down by the output of the shift circuit 5 and the output of the shift circuit 5 and the output of the presettable counter 1 are input, and a pulse is output when each output reaches a specific value, A shift circuit 5 and a detection circuit 2 for inputting to the presettable counter 1,
Data is input to the data input terminal 15, the data is integrated in synchronization with the output of the detection circuit 2, the integrated value is output, and a carry signal based on the integration result is output to the shift circuit 5 to shift the shift circuit 5. Integration circuit 3 that suspends operation
And a programmable delay circuit 4 for inputting the output of the detection circuit 2 and delaying the output in accordance with the integrated output 3A of the integrating circuit 3, and taking out a fractional multiple output from the clock pulse.
【0006】[0006]
【作用】この発明のパルス発生装置は、プリセッタブル
カウンタが第1のデータ入力端子からのクロックパルス
をカウントし、この出力が所定値になったことを検出回
路が検出すると、積算回路がデータの積算値及び桁上げ
を出力する。この積算値に対応する時間だけ遅延させて
プログラマブル遅延回路がクロックパルスに対して端数
付き倍数の周波数のパルスを発生する。シフト回路は、
クロックパルスに基づいてシフト動作を繰り返し、プリ
セッタブルカウンタに出力する。これをプリセッタブル
カウンタがカウントすることにより、プリセッタブルカ
ウンタに入力するクロックパルスの周波数は下げられ
る。シフト回路は、積算回路からの桁上げ信号を受け
て、シフト動作を所定時間休む。In the pulse generator of the present invention, the presettable counter counts the clock pulses from the first data input terminal, and when the detection circuit detects that the output has reached the predetermined value, the integrating circuit outputs the data. Output the integrated value and carry. The programmable delay circuit delays the time corresponding to this integrated value and generates a pulse having a frequency with a fractional multiple with respect to the clock pulse. The shift circuit is
The shift operation is repeated based on the clock pulse and output to the presettable counter. When the presettable counter counts this, the frequency of the clock pulse input to the presettable counter is lowered. The shift circuit receives the carry signal from the integrating circuit and rests the shift operation for a predetermined time.
【0007】[0007]
【実施例】つぎに、この発明の実施例の構成を図1に示
す。図1の5はシフト回路であり、他は、図6と同様で
ある。プリセッタブルカウンタ1はシフト回路5の出力
信号を計数する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Next, FIG. 1 shows the configuration of an embodiment of the present invention. Reference numeral 5 in FIG. 1 denotes a shift circuit, and the other components are the same as those in FIG. The presettable counter 1 counts the output signal of the shift circuit 5.
【0008】シフト回路5は、検出回路2の検出信号2
Aを受けてデータ入力端子12からの設定データがセッ
トされ、入力端子11からのクロックパルスによりシフ
ト動作を行う。また、積算回路3の桁上げ信号3Bを受
けて、桁上げがあったときにシフト動作を1クロック休
む動作をする。The shift circuit 5 detects the detection signal 2 of the detection circuit 2.
Upon receiving A, the setting data from the data input terminal 12 is set, and the shift operation is performed by the clock pulse from the input terminal 11. When the carry signal 3B from the integrating circuit 3 is received, the shift operation is stopped by one clock when a carry occurs.
【0009】プリセッタブルカウンタ1は、検出回路2
の検出信号2Aを受けてデータ入力端子14からの設定
データがセットされ、シフト回路5のシフト出力5Aを
受けてクロックをダウンカウントする。入力端子13
は、プリセッタブルカウンタ1のデータセットタイミン
グであり、入力端子11の信号と同じものである。The presettable counter 1 includes a detection circuit 2
The setting data from the data input terminal 14 is set in response to the detection signal 2A, and the clock is down-counted in response to the shift output 5A from the shift circuit 5. Input terminal 13
Is the data set timing of the presettable counter 1 and is the same as the signal at the input terminal 11.
【0010】検出回路2は、シフト回路5の出力5Bと
プリセッタブルカウンタ1の出力1Aを受けて、各出力
が特定値になったことを検出したら、検出信号2Aを出
力する。When the detection circuit 2 receives the output 5B of the shift circuit 5 and the output 1A of the presettable counter 1 and detects that each output has reached a specific value, it outputs a detection signal 2A.
【0011】積算回路3は、検出回路2の検出信号2A
に同期して、データ入力端子15に入力されたデータを
積算して、積算値を信号3A、桁上げを信号3Bとして
出力する。The integrating circuit 3 has a detection signal 2A from the detection circuit 2.
In synchronization with the above, the data input to the data input terminal 15 are integrated, and the integrated value is output as a signal 3A and the carry is output as a signal 3B.
【0012】プログラマブル遅延回路4は、検出回路2
の検出信号2Aを、積算回路3の積算出力3Aに対応し
た時間だけ遅延させて、出力端子16から検出信号2A
を出力する。なお、図1で、データ入力端子12・14
・15からの信号は複数の入力端子を持つ。また、出力
信号1A・5Bは、回路の組み方により信号本数は任意
にとることができる。The programmable delay circuit 4 includes a detection circuit 2
Detection signal 2A from the output terminal 16 is delayed by a time corresponding to the integrated output 3A of the integrating circuit 3.
Is output. In FIG. 1, the data input terminals 12 and 14
・ The signal from 15 has multiple input terminals. The output signals 1A and 5B can take any number of signals depending on how the circuit is assembled.
【0013】次に、シフト回路5の構成例を図2に示
す。図2で、検出回路2からの検出信号2Aは、シフト
レジスタ6へデータ入力端子12で受けたデータをロー
ドするためのロード信号LDとして使用され、シフトレ
ジスタ6に初期値を与える。この初期値は、通常バイナ
リコードをデコードしたかたちで入力端子12から入力
される。ここでは、バイナリコードが2ビットの例を示
している。例えばバイナリコード「11」(10進数で
は3)は、 D3,D2,D1,D0 = 1,0,0,0 がシフトレジスタ6へ入力される。Next, a configuration example of the shift circuit 5 is shown in FIG. In FIG. 2, the detection signal 2A from the detection circuit 2 is used as a load signal LD for loading the data received at the data input terminal 12 to the shift register 6, and gives the shift register 6 an initial value. This initial value is normally input from the input terminal 12 in the form of decoding a binary code. Here, an example in which the binary code is 2 bits is shown. For example, the binary code “11” (3 in decimal) is input to the shift register 6 as D3, D2, D1, D0 = 1,0,0,0.
【0014】この実施例の回路においては、シフトレジ
スタ6のデータ入力はD2,D1,D0,D3の順に並
べられており、この順序がそのままシフトレジスタ出力
Q2,Q1,Q0,Q3の順に対応している。このた
め、シフト回路5のシフト出力5Aが「1」に立ち上が
った時点を、次のプリセッタブルカウンタ1がダウンカ
ウントするタイミングとすることができる。また、シフ
ト出力5Aはシフトレジスタ6のシリアル入力SIへフ
ィードバックされており、シフトクロック5Cにより繰
り返してQ2から順次Q1,Q0,Q3へと「1」をシ
フトしていく。In the circuit of this embodiment, the data inputs of the shift register 6 are arranged in the order of D2, D1, D0, D3, and this order directly corresponds to the order of the shift register outputs Q2, Q1, Q0, Q3. ing. Therefore, the time when the shift output 5A of the shift circuit 5 rises to "1" can be the timing when the next presettable counter 1 down-counts. Further, the shift output 5A is fed back to the serial input SI of the shift register 6 and repeatedly shifts "1" from Q2 to Q1, Q0, Q3 by the shift clock 5C.
【0015】シフトクロック5Cは、シフトレジスタ6
のシフト用クロックである。すなわち、シフトクロック
5Cはフリップフロップ7において、積算回路3の桁上
げ出力3Bを入力端子11のクロック信号CKでラッチ
し、このときの出力と入力端子11のクロックとの論理
和をORゲート8にて出力したものである。したがっ
て、シフトクロック5Cは、桁上げ出力3Bが「0」の
とき、入力端子11のクロックCKと同じ信号となる一
方、桁上げ出力3Bが「1」のとき、入力端子11のク
ロックCKをORゲート8でクロックの1周期の間
「1」のままとする。これによって、桁上げ出力3Bが
「1」のとき、シフトレジスタ6のシフト動作を1回止
めることができる。The shift clock 5C is used in the shift register 6
Is a shift clock. That is, the shift clock 5C latches the carry output 3B of the integrating circuit 3 with the clock signal CK of the input terminal 11 in the flip-flop 7, and ORs the output at this time and the clock of the input terminal 11 to the OR gate 8. Is output. Therefore, the shift clock 5C is the same signal as the clock CK of the input terminal 11 when the carry output 3B is "0", while the clock CK of the input terminal 11 is ORed when the carry output 3B is "1". The gate 8 remains "1" for one cycle of the clock. As a result, when the carry output 3B is "1", the shift operation of the shift register 6 can be stopped once.
【0016】この発明の実施例では、Q1をシフト回路
5の出力として検出回路2へ出力している。これは検出
回路2で、シフト回路5がシフト状態「0」(Q0=
「1」の状態を示す)の1クロック前のタイミングで検
出信号2Aを出せるようにしたものである。In the embodiment of the present invention, Q1 is output to the detection circuit 2 as the output of the shift circuit 5. This is the detection circuit 2, and the shift circuit 5 has the shift state "0" (Q0 =
The detection signal 2A can be output at a timing one clock before (indicating the state of "1").
【0017】次に、プリセッタブルカウンタ1の実施例
の構成を図3に示す。図3で、フリップフロップ10の
信号1Bは、データ入力端子14のデータをダウンカウ
ンタ9へロードするためのロードクロックLCKであ
る。データ入力端子14は、通常バイナリコードでデー
タを入力する。この発明の実施例では、4ビットのバイ
ナリコードのデータを扱っている。ロードクロック1B
は、検出回路2の検出信号2Aを入力端子13のクロッ
ク信号でラッチしたものである。すなわち、入力端子1
3のクロック信号を入力端子11のクロック信号と同じ
ものとすることにより、シフト回路5のシフト出力5A
とロードクロック1Bとの同期がとれるようにしてい
る。Next, the configuration of an embodiment of the presettable counter 1 is shown in FIG. In FIG. 3, the signal 1B of the flip-flop 10 is the load clock LCK for loading the data of the data input terminal 14 into the down counter 9. The data input terminal 14 normally inputs data in binary code. The embodiment of the present invention handles 4-bit binary code data. Road clock 1B
Is the detection signal 2A of the detection circuit 2 latched by the clock signal of the input terminal 13. That is, the input terminal 1
3 by making the clock signal of 3 the same as the clock signal of the input terminal 11, the shift output 5A of the shift circuit 5
And the load clock 1B are synchronized with each other.
【0018】ロードクロック1Bでロードされたデータ
は、シフト出力5Aが入力されることにより、ダウンカ
ウントされる。ダウンカウンタ9の状態を表す出力Q
0,Q1,Q2,Q3は、プリセッタブルカウンタ1の
出力1Aとして、検出回路2へ入力される。検出回路2
はこの出力1Aが「0」の状態でかつ、シフト回路5の
出力5Bが「1」の状態のとき、検出信号2Aを出力す
る。The data loaded by the load clock 1B is down-counted by inputting the shift output 5A. Output Q showing the state of the down counter 9
0, Q1, Q2, Q3 are input to the detection circuit 2 as outputs 1A of the presettable counter 1. Detection circuit 2
Outputs the detection signal 2A when the output 1A is "0" and the output 5B of the shift circuit 5 is "1".
【0019】次に、図1の動作例を図4のタイムチャー
トに示す。図4において、クロック信号は、入力端子1
1と入力端子13に入力される信号を表す。実施例では
クロック周期を10nsとしている。データ入力値は、
出力端子16へ出力すべきパルスの周期をクロック信号
周期(10ns)で正規化した値を示している。このデ
ータ入力値は、データ入力端子12・14・15に夫々
対応したデータに分けて入力される。この例では、デー
タ入力値をバイナリ表現した場合の1の位と10の位を
デコードした値を入力端子12へ入力し、100の位以
上をバイナリデータで入力端子14に入力し、小数点以
下の値をデータ入力端子15へ入力する。図4ではデー
タ入力値「6」と「10」(10進表現)が順次入力さ
れた場合を示しており各入力端子に入力されるデータを
下記に示す。Next, the operation example of FIG. 1 is shown in the time chart of FIG. In FIG. 4, the clock signal is the input terminal 1
1 and the signal input to the input terminal 13. In the embodiment, the clock cycle is 10 ns. The data input value is
A value obtained by normalizing the cycle of the pulse to be output to the output terminal 16 by the clock signal cycle (10 ns) is shown. This data input value is divided into data corresponding to the data input terminals 12, 14 and 15 and input. In this example, when the data input value is expressed in binary, a value obtained by decoding the 1s digit and the 10s digit is input to the input terminal 12, the 100th digit or more is input to the input terminal 14 as binary data, and the digit below the decimal point is input. The value is input to the data input terminal 15. FIG. 4 shows the case where the data input values “6” and “10” (decimal notation) are sequentially input, and the data input to each input terminal is shown below.
【0020】 データ入力値 (6) (10) データ入力端子14 1000(4) 0100(8) データ入力端子12 1000(2) 1000(2) データ入力端子15 0(0) 0(0) かっこ内の数字はデータを重みずけして10進で表記し
たものであり、1000等の表記は図2・図3の各デー
タ入力端子の信号を図の左から順番に論理値で表記した
ものである。Data input value (6) (10) Data input terminal 14 1000 (4) 0100 (8) Data input terminal 12 1000 (2) 1000 (2) Data input terminal 15 0 (0) 0 (0) In parentheses The numbers in FIG. 3 are notation of weighted data and expressed in decimal, and the notation of 1000 or the like is the signal of each data input terminal in FIGS. 2 and 3 expressed in logical value in order from the left side of the drawing. .
【0021】図4のプリセッタブルカウンタ1の状態、
シフト回路5の状態、積算回路3の状態は、各回路の計
数状態を10進数で表記したものである。The state of the presettable counter 1 of FIG.
The state of the shift circuit 5 and the state of the integrating circuit 3 are the decimal states of the counting state of each circuit.
【0022】図4で、プリセッタブルカウンタ1の状態
が「0」で、シフト回路5の状態が「1」のとき、検出
回路2は検出信号2Aに「1」を送出する。検出信号2
Aはプログラマブル遅延回路4で積算回路3の積算出力
3Aに対応した遅延時間0nsだけ遅延して、出力端子
16を通して第1回目のパルスとして出力される。ま
た、検出信号2Aはシフト回路5、プリセッタブルカウ
ンタ1、積算回路3にそれぞれ入力され、シフト回路
5、プリセッタブルカウンタ1ではデータ入力値のロー
ド動作が行われ、積算回路3では積算動作が行われる。
このとき、プリセッタブルカウンタ1では、ロードクロ
ック1Bによりデータがロードされる。In FIG. 4, when the state of the presettable counter 1 is "0" and the state of the shift circuit 5 is "1", the detection circuit 2 sends "1" to the detection signal 2A. Detection signal 2
A is delayed by the programmable delay circuit 4 by a delay time 0 ns corresponding to the integrated output 3A of the integrating circuit 3 and is output as the first pulse through the output terminal 16. The detection signal 2A is input to the shift circuit 5, the presettable counter 1, and the integrating circuit 3, respectively, and the shift circuit 5 and the presettable counter 1 perform the loading operation of the data input value, and the integrating circuit 3 performs the integrating operation. Be seen.
At this time, in the presettable counter 1, data is loaded by the load clock 1B.
【0023】この結果、プリセッタブルカウンタ1の状
態は「1」、シフト回路5の状態は「2」、積算回路3
の状態は「0」となる。次に、シフト回路5はシフト動
作をして、シフト回路5の状態は「2」、「1」、
「0」、「3」と移り変ってゆく。シフト回路5の状態
が「3」となったとき、シフト出力5Aは「1」とな
る。As a result, the state of the presettable counter 1 is "1", the state of the shift circuit 5 is "2", and the integrating circuit 3
Is 0. Next, the shift circuit 5 performs a shift operation, and the states of the shift circuit 5 are “2”, “1”,
It changes from "0" to "3". When the state of the shift circuit 5 becomes "3", the shift output 5A becomes "1".
【0024】プリセッタブルカウンタ1はシフト出力5
Aによりダウンカウント動作を行い、プリセッタブルカ
ウンタ1の状態は「1」から「0」に変わる。次にシフ
ト回路5は続いてシフト動作を行い、シフト回路5の状
態は「2」、「1」と変化する。このとき再びプリセッ
タブルカウンタ1の状態が「0」で、シフト回路5の状
態が「1」となり、検出回路2は検出信号2Aを出力す
る。The presettable counter 1 has a shift output 5
The down-count operation is performed by A, and the state of the presettable counter 1 changes from "1" to "0". Next, the shift circuit 5 subsequently performs the shift operation, and the state of the shift circuit 5 changes to "2" and "1". At this time, the state of the presettable counter 1 is "0" again, the state of the shift circuit 5 is "1", and the detection circuit 2 outputs the detection signal 2A.
【0025】検出信号2Aは、プログラマブル遅延回路
4で先と同様にして遅延し出力端子16を通して第2回
目のパルスとして出力される。従って、先の第1回目の
パルスと第2回目のパルスの間隔は60nsとなりデー
タ入力値に従った値となる。以下同様にデータ入力値
「10」(10進数表記)が加えられて、次に100n
sの間隔でパルスを発生する。このようにしてプリセッ
タブルカウンタ1は、シフト回路5のシフト出力5Aの
発生するときのみカウントすれば良く、カウント周波数
を下げることができる。The detection signal 2A is delayed by the programmable delay circuit 4 in the same manner as above, and is output as the second pulse through the output terminal 16. Therefore, the interval between the first pulse and the second pulse is 60 ns, which is a value according to the data input value. Similarly, the data input value “10” (decimal notation) is added, and then 100n
Generate pulses at intervals of s. In this way, the presettable counter 1 needs to count only when the shift output 5A of the shift circuit 5 is generated, and the count frequency can be lowered.
【0026】次にこの発明の実施例のパルス発生装置の
他の動作例を図5のタイムチャートにより説明する。こ
の動作例では、データ入力値が小数点以下の数値を含む
場合を示している。Next, another operation example of the pulse generator according to the embodiment of the present invention will be described with reference to the time chart of FIG. In this operation example, the case where the data input value includes a value below the decimal point is shown.
【0027】図5においては、まずデータ入力値として
「10.25」が入力されている。検出信号2Aによ
り、プリセッタブルカウンタ1にはデータ入力値の
「8」に対応する10進数表記の「2」がロードされ、
シフト回路5にはデータ入力値の「2」に対応する10
進数表記の「2」がロードされる。積算回路3にはデー
タ入力値の「0.25」に対応する値が積算される。こ
のとき、積算出力3Aは、次回の検出信号2Aを遅延さ
せるために、プログラマブル遅延回路4で使われる。In FIG. 5, first, "10.25" is input as the data input value. By the detection signal 2A, the presettable counter 1 is loaded with the decimal notation "2" corresponding to the data input value "8",
The shift circuit 5 has 10 corresponding to the data input value “2”.
"2" in decimal notation is loaded. The integrating circuit 3 integrates the value corresponding to the data input value "0.25". At this time, the integrated output 3A is used by the programmable delay circuit 4 to delay the next detection signal 2A.
【0028】従って、この例では、1回目の検出信号2
Aはプログラマブル遅延回路4で遅延時間0nsだけ遅
延して出力端子16を通して出力される。次にクロック
信号を受けてシフト回路5が動作し、シフト出力5Aに
よりプリセッタブルカウンタ1がダウンカウントする。
シフト回路5の状態が「1」でプリセッタブルカウンタ
1の状態が「0」となったとき、検出回路2が2回目の
検出信号2Aを出力する。この検出信号2Aはプログラ
マブル遅延回路4で2.5ns遅延して出力端子16へ
出力される。従って、出力端子16での1回目の出力パ
ルスと2回目の出力パルスの間隔は102.5nsとな
る。Therefore, in this example, the first detection signal 2
A is delayed by the programmable delay circuit 4 by a delay time of 0 ns and is output through the output terminal 16. Next, the shift circuit 5 operates in response to the clock signal, and the presettable counter 1 counts down by the shift output 5A.
When the state of the shift circuit 5 is "1" and the state of the presettable counter 1 is "0", the detection circuit 2 outputs the second detection signal 2A. The detection signal 2A is delayed by 2.5 ns in the programmable delay circuit 4 and output to the output terminal 16. Therefore, the interval between the first output pulse and the second output pulse at the output terminal 16 is 102.5 ns.
【0029】次に検出信号2Aにより、2回目のデータ
入力値2.5が入力されて、シフト回路5の状態は
「2」、プリセッタブルカウンタ1状態は「0」、積算
回路3状態は「0.75」となる。クロック信号により
続いてシフト回路5が動作し、シフト状態が「1」でカ
ウンタ状態が「0」のとき、3回目の検出信号2Aが出
力される。この検出信号2Aは、プログラマブル遅延回
路4にて積算回路の出力値「0.75」に相当する7.
5nsだけ遅延して第3回目のパルスとして出力端子1
6へ出力される。従って、第2回目と第3回目の出力端
子16のパルス間隔は25nsとなる。Next, the detection signal 2A inputs the second data input value 2.5, the state of the shift circuit 5 is "2", the state of the presettable counter 1 is "0", and the state of the integrating circuit 3 is "2". 0.75 ". The shift circuit 5 is subsequently operated by the clock signal, and when the shift state is "1" and the counter state is "0", the third detection signal 2A is output. This detection signal 2A corresponds to the output value "0.75" of the integrating circuit in the programmable delay circuit 7.
Output terminal 1 as the third pulse with a delay of 5 ns
6 is output. Therefore, the pulse interval of the second and third output terminals 16 is 25 ns.
【0030】次に第3回目の検出信号2Aにより、第3
回目のデータ入力値「8.75」が入力されて、シフト
回路5の状態は「0」、プリセッタブルカウンタ1の状
態は「2」、積算回路3の状態は桁上げと積算値「0.
5」となる。このとき、積算回路3の出力3Bに桁上げ
出力が出力され、シフト回路5のシフトクロック5C
は、2個のクロックが1つにつながり、シフトクロック
が1個無くなったのと同じ状態となる。このため、シフ
ト回路5は1クロック分遅れて動作し、データ入力値
「8」に対して「9」が入力されたのと等価な状態にな
る。従って、第4回目の検出信号2Aはクロック信号1
個分遅れ、かつプログラマブル遅延回路4で0.5ns
遅延する。この結果、出力端子16での第3回目のパル
スと第4回目のパルスの間隔は次式のように、 90ns − 7.5ns + 0.5ns = 87.5ns となり、データ入力値に対応した値となる。なお、上記
のクロック信号より小さな分解能でパルスを発生する場
合には、特公昭63−9686号と同様に行えばよい。Next, by the third detection signal 2A, the third
The data input value "8.75" of the second time is input, the state of the shift circuit 5 is "0", the state of the presettable counter 1 is "2", and the state of the integrating circuit 3 is carry and the integrated value "0.
5 ”. At this time, a carry output is output to the output 3B of the integration circuit 3, and the shift clock 5C of the shift circuit 5 is output.
Is in the same state as when two clocks are connected to one and one shift clock is lost. Therefore, the shift circuit 5 operates with a delay of one clock, and is in a state equivalent to "9" being input for the data input value "8". Therefore, the fourth detection signal 2A is the clock signal 1
Delayed by an amount of 0.5 ns with programmable delay circuit 4
Be delayed. As a result, the interval between the third pulse and the fourth pulse at the output terminal 16 is 90 ns − 7.5 ns + 0.5 ns = 87.5 ns, which is the value corresponding to the data input value. Becomes When a pulse is generated with a resolution smaller than that of the above clock signal, it may be performed in the same manner as in JP-B-63-9686.
【0031】[0031]
【発明の効果】この発明によれば、プリセッタブルカウ
ンタの動作周波数を基本となるクロック周波数より下げ
ることができるので、複雑なカウンタ回路を高い周波数
で動作させる必要はなく、適正な周波数を細かな分解能
で設定することができる。According to the present invention, since the operating frequency of the presettable counter can be made lower than the basic clock frequency, it is not necessary to operate a complicated counter circuit at a high frequency, and a proper frequency can be set finely. It can be set by resolution.
【図1】この発明によるパルス発生装置の構成図であ
る。FIG. 1 is a block diagram of a pulse generator according to the present invention.
【図2】シフト回路の回路図である。FIG. 2 is a circuit diagram of a shift circuit.
【図3】プリセッタブルカウンタの回路図である。FIG. 3 is a circuit diagram of a presettable counter.
【図4】パルス発生装置の各部のタイムチャートであ
る。FIG. 4 is a time chart of each part of the pulse generator.
【図5】他の動作例を示すタイムチャートである。FIG. 5 is a time chart showing another operation example.
【図6】従来のパルス発生装置の構成図である。FIG. 6 is a block diagram of a conventional pulse generator.
【図7】従来のパルス発生装置の各部のタイムチャート
である。FIG. 7 is a time chart of each part of a conventional pulse generator.
1 プリセッタブルカウンタ 1A カウント出力信号 1B ロードクロック信号 2 検出回路 2A 検出出力信号 3 積算回路 3A 積算出力信号 3B 桁上げ出力信号 4 プログラマブル遅延回路 5 シフト回路 5A・5B シフト回路出力信号 5C シフトクロック信号 11・13 クロック入力端子 12・14・15 データ入力端子 16 出力端子 1 presettable counter 1A count output signal 1B load clock signal 2 detection circuit 2A detection output signal 3 integrating circuit 3A integrating output signal 3B carry output signal 4 programmable delay circuit 5 shift circuit 5A / 5B shift circuit output signal 5C shift clock signal 11・ 13 clock input terminal 12 ・ 14 ・ 15 data input terminal 16 output terminal
Claims (1)
を設定し、入力端子(11)からのクロックパルスによりシ
フト動作を行うシフト回路(5) と、 第2のデータ入力端子(14)によりデータを設定し、シフ
ト回路(5) の出力によりダウンカウントするプリセッタ
ブルカウンタ(1) と、 シフト回路(5) の出力とプリセッタブルカウンタ(1) の
出力を入力とし、各出力が特定値になるとパルスを出力
し、シフト回路(5) とプリセッタブルカウンタ(1) に入
力させる検出回路(2) と、 第3のデータ入力端子(15)にデータを入力し、検出回路
(2) の出力に同期してデータを積算し、積算値を出力す
るとともに積算結果による桁上げ信号をシフト回路(5)
に出力して、シフト回路(5) のシフト動作を中断させる
積算回路(3) と、 検出回路(2) の出力を入力し、積算回路(3) の積算出力
(3A)に対応して遅延させるプログラマブル遅延回路(4)
を備え、 前記クロックパルスから、端数つき倍数の出力を取り出
すことを特徴とするパルス発生器。1. A shift circuit (5) for setting data by a first data input terminal (12) and performing a shift operation by a clock pulse from the input terminal (11), and a second data input terminal (14). Data is set by the output of the shift circuit (5), and the output of the shift circuit (5) and the output of the presettable counter (1) are input, and each output is a specific value. When it becomes, a pulse is output and the detection circuit (2) that inputs to the shift circuit (5) and the presettable counter (1) and the data to the third data input terminal (15)
The data is integrated in synchronization with the output of (2), the integrated value is output, and the carry signal based on the integrated result is shifted (5).
Output to the integrating circuit (3) that interrupts the shift operation of the shift circuit (5) and the output of the detecting circuit (2).
Programmable delay circuit that delays (3A) (4)
A pulse generator, comprising: a fractional multiple output from the clock pulse.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP26843993A JPH07106954A (en) | 1993-09-30 | 1993-09-30 | Pulse generating device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP26843993A JPH07106954A (en) | 1993-09-30 | 1993-09-30 | Pulse generating device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07106954A true JPH07106954A (en) | 1995-04-21 |
Family
ID=17458519
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP26843993A Pending JPH07106954A (en) | 1993-09-30 | 1993-09-30 | Pulse generating device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07106954A (en) |
-
1993
- 1993-09-30 JP JP26843993A patent/JPH07106954A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH04336308A (en) | Single-chip microcomputer | |
| CA1267731A (en) | Serial digital signal processing circuitry | |
| US4160154A (en) | High speed multiple event timer | |
| US5854755A (en) | Clock frequency multiplication device | |
| JPH07106954A (en) | Pulse generating device | |
| AU654769B2 (en) | Trigger signal generating circuit | |
| JPH1198007A (en) | Frequency divider | |
| JPH0479545B2 (en) | ||
| JP2757714B2 (en) | Frame pulse generation circuit | |
| JPH0683066B2 (en) | Counter circuit | |
| KR0153112B1 (en) | Counter enable to program | |
| JP4515159B2 (en) | Timing variable device | |
| JP2719071B2 (en) | Timing control signal generation circuit | |
| JP2563238B2 (en) | Counter circuit | |
| JPH04287514A (en) | pulse width modulation circuit | |
| JPH05183427A (en) | Counter circuit | |
| JPH0547128B2 (en) | ||
| JPH04117727A (en) | Counter circuit | |
| JPH06224748A (en) | Variable frequency divider circuit | |
| JPH048015A (en) | Counter circuit | |
| JPH05122198A (en) | Error rate alarm circuit with hysteresis | |
| KR20030083071A (en) | Programmable counter circuit | |
| JPH02305022A (en) | Frequency divider circuit | |
| JPH0611104B2 (en) | Pulse width modulator | |
| JPH06132786A (en) | Pulse output circuit |