JPH0351331B2 - - Google Patents
Info
- Publication number
- JPH0351331B2 JPH0351331B2 JP60001818A JP181885A JPH0351331B2 JP H0351331 B2 JPH0351331 B2 JP H0351331B2 JP 60001818 A JP60001818 A JP 60001818A JP 181885 A JP181885 A JP 181885A JP H0351331 B2 JPH0351331 B2 JP H0351331B2
- Authority
- JP
- Japan
- Prior art keywords
- output
- bistable circuit
- supplied
- signal
- input terminal
- 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.)
- Expired - Lifetime
Links
Landscapes
- Pulse Circuits (AREA)
- Manipulation Of Pulses (AREA)
Description
【発明の詳細な説明】
産業上の利用分野
本発明は入力信号のリーデイングエツジならび
にトレイリングエツジに同期したワンシヨツトパ
ルスを発生する同期パルス発生回路に関するもの
である。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a synchronization pulse generation circuit that generates one shot pulses synchronized with the leading edge and trailing edge of an input signal.
従来の技術
従来から種々のデイジタルシステムを構成する
際に、例えば、回転体の回転検出信号を生成する
目的のために、入力信号のリーデイングエツジな
らびにトレイリングエツジに同期したワンシヨツ
トパルスを発生させる必要性がしばしば生じる。BACKGROUND ART Conventionally, when configuring various digital systems, it has been necessary to generate one-shot pulses synchronized with the leading edge and trailing edge of an input signal, for example, for the purpose of generating a rotation detection signal of a rotating body. Sex often occurs.
特公昭57−37252号公報(以後、文献1と略記
する。)には入力信号のエツジに同期したパルス
信号を3個のNANDゲートによつて構成した例
が示されており、第3図にその論理構成図を示
し、第4図に各部の信号波形図を示す。第4図A
は入力端子1に供給される信号波形を示したもの
であり、第4図BはNANDゲート2の出力信号
波形、すなわち出力端子3に現われる信号波形を
示したものであり、第4図CはNANDゲート4
の出力信号波形を示したものであり、第4図Dは
NANDゲート5の出力信号波形を示したもので
ある。 Japanese Patent Publication No. 57-37252 (hereinafter abbreviated as Document 1) shows an example in which a pulse signal synchronized with the edges of an input signal is constructed using three NAND gates, and Fig. A logical configuration diagram thereof is shown, and a signal waveform diagram of each part is shown in FIG. Figure 4A
shows the signal waveform supplied to the input terminal 1, FIG. 4B shows the output signal waveform of the NAND gate 2, that is, the signal waveform appearing at the output terminal 3, and FIG. NAND gate 4
Figure 4D shows the output signal waveform of
It shows the output signal waveform of the NAND gate 5.
発明が解決しようとする問題点
第4図からも明らかなように、出力端子3から
は入力信号のリーデイングエツジに同期して、3
ゲート分の遅延時間に相当するパルス幅を有する
出力信号が得られるが、この出力信号を受け取る
側のブロツクが第3図の回路ブロツクから離れて
いると、配線の浮遊容量などによつて幅の狭いパ
ルスでは消滅してしまう恐れがある。Problems to be Solved by the Invention As is clear from FIG.
An output signal with a pulse width corresponding to the delay time of the gate is obtained, but if the block receiving this output signal is far from the circuit block shown in Figure 3, the width may vary due to stray capacitance of the wiring. There is a risk that it will disappear if the pulse is narrow.
また、第4図Aの入力信号のエツジの近傍にチ
ヤタリングが発生すると出力信号にもの影響が現
われて問題が多かつた。 Furthermore, when chattering occurs near the edges of the input signal in FIG. 4A, the output signal is affected, causing many problems.
さらには、出力信号のパルス幅を任意に設定で
きるようにするには、第3図の回路にカウンタ回
路を組み合わせることになるが、その場合、同じ
回路を2組用意し、一方の入力信号のリーデイン
グエツジに同期させ、他方を入力信号のトレイリ
ングエツジに同期させることによつて、入力信号
のリーデイングエツジならびにトレイリングエツ
ジに同期したワンシヨツトパルスを発生させよう
とすると回路構成が複雑になるなどの問題があつ
た。 Furthermore, in order to be able to arbitrarily set the pulse width of the output signal, a counter circuit would be combined with the circuit shown in Figure 3. In that case, two sets of the same circuit would be prepared, and one input signal If you try to generate a one-shot pulse that is synchronized with the leading edge and trailing edge of the input signal by synchronizing one with the leading edge and the other with the trailing edge of the input signal, the circuit configuration will become complicated. There was a problem.
問題点を解決するための手段
前記した問題点を解決するために本発明の同期
パルス発生回路は、入力信号のリーデイングエツ
ジにおいてセツトされる第1の双安定回路と、第
1の入力端子に前記入力信号の反転信号が供給さ
れ、第2の入力端子に前記第1の双安定回路の出
力が供給される第1の一致ゲートと、前記第1の
一致ゲートの出力によつてセツトされる第2の双
安定回路と、入力信号のトレイリングエツジにお
いてセツトされる第3の双安定回路と、第1の入
力端子に前記入力信号が供給され、第2の入力端
子に前記第3の双安定回路の出力が供給される第
2の一致ゲートと、前記第2の一致ゲートの出力
によつてセツトされる第4の双安定回路と、クロ
ツク信号をカウントするカウンタと、前記第2の
双安定回路もしくは前記第4の双安定回路がセツ
トされたときに前記カウンタにカウント動作を行
なわせしめる第1のコントロール手段と、前記カ
ウンタのカウント値が所定の値になつたときに前
記第1、第2、第3、第4の双安定回路をリセツ
トする第2のコントロール手段を具備し、前記第
2の双安定回路と前記第4の双安定回路から前記
入力信号のリーデイングエツジならびにトレイリ
ングエツジに同期した出力信号を取り出したこと
を特徴とするものである。Means for Solving the Problems In order to solve the above-mentioned problems, the synchronous pulse generation circuit of the present invention includes a first bistable circuit set at the leading edge of the input signal, and a first bistable circuit connected to the first input terminal. a first coincidence gate, which is supplied with an inverted signal of the input signal and whose second input terminal is supplied with the output of the first bistable circuit; and a first coincidence gate, which is set by the output of the first coincidence gate. a third bistable circuit that is set at the trailing edge of the input signal; a first input terminal of which the input signal is supplied; a second coincidence gate supplied with the output of the circuit, a fourth bistable circuit set by the output of said second coincidence gate, a counter for counting clock signals, and said second bistable circuit. a first control means for causing the counter to perform a counting operation when the circuit or the fourth bistable circuit is set; and a first control means for causing the counter to perform a counting operation when the fourth bistable circuit is set; , a second control means for resetting the third and fourth bistable circuits, and synchronizing the second bistable circuit and the fourth bistable circuit with the leading edge and trailing edge of the input signal. This is characterized by extracting the output signal.
作 用
本発明では前記した構成によつて、出力信号の
パルス幅はクロツク信号の周波数によつて任意に
設定でき、しかも、入力信号のリーデイングエツ
ジならびにトレイリングエツジに同期した出力信
号が作成される。Effects According to the present invention, the pulse width of the output signal can be arbitrarily set according to the frequency of the clock signal, and an output signal synchronized with the leading edge and trailing edge of the input signal can be created by the above-described configuration. .
実施例
以下、本発明の実施例について図面を参照しな
がら説明する。Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例における同期パルス
発生回路の論理構成図を示したものであり、1は
入力信号が供給される入力端子であり、3は同期
パルス出力される出力端子であり、6は出力信号
のパルス幅を決定するためのクロツク信号が供給
されるクロツク端子である。 FIG. 1 shows a logical configuration diagram of a synchronization pulse generation circuit in an embodiment of the present invention, where 1 is an input terminal to which an input signal is supplied, and 3 is an output terminal from which a synchronization pulse is output. , 6 is a clock terminal to which a clock signal for determining the pulse width of the output signal is supplied.
第1図に示した同期パルス発生回路は、大別す
ると、出力パルス幅を設定するための、クロツク
パルスをカウントする、ANDゲート24、
NANDゲート26およびカウンタ50から成る
カウント手段と、入力信号のリーデイングエツジ
に同期して前記カウント手段を作動させる、イン
バータ12、双安定回路10,20および
NANDゲード14から成る第1のゲート手段と、
入力信号のトレイリングエツジに同期して前記カ
ウント手段を作動させる、双安定回路30,40
およびNANDゲート21から成る第2のゲート
手段の3つのブロツクからなる。 The synchronous pulse generation circuit shown in FIG. 1 can be roughly divided into an AND gate 24 that counts clock pulses to set the output pulse width;
A counting means consisting of a NAND gate 26 and a counter 50, an inverter 12, bistable circuits 10, 20 and
first gate means consisting of a NAND gate 14;
bistable circuits 30, 40 that operate the counting means in synchronization with the trailing edge of the input signal;
and a second gate means consisting of a NAND gate 21.
動作の概略を述べると、入力信号のリーデイン
グエツジが到来すると、これに応動して前記第1
のゲート手段が、前記カウント手段を作動させる
とともに出力信号を“1”に移行せしめる。前記
カウント手段は所定時間経過後に前記第1のゲー
ト手段の動作を停止させる。 To summarize the operation, when the leading edge of the input signal arrives, the first
The gate means activates the counting means and causes the output signal to go to "1". The counting means stops the operation of the first gate means after a predetermined time has elapsed.
また、入力信号のトレイリングエツジが到来す
ると、これに応動して前記第2のゲート手段が、
前記カウント手段を作動させるとともに出力信号
を“1”に移行せしめる。前記カウント手段は所
定時間経過後に前記第2のゲート手段の動作を停
止させる。 Further, when a trailing edge of the input signal arrives, the second gate means responds to the arrival of a trailing edge of the input signal.
The counting means is activated and the output signal is shifted to "1". The counting means stops the operation of the second gate means after a predetermined period of time has elapsed.
以下に第1図に示す同期パルス発生回路の詳細
な説明を行う。 A detailed explanation of the synchronization pulse generation circuit shown in FIG. 1 will be given below.
第1図において、NANDゲート7とNANDゲ
ート8のそれぞれの一方の入力端子と出力端子が
クロスカツプリング接続されて第1の双安定回路
10が構成され、前記第1の双安定回路10は入
力端子1に供給される入力信号のリーデイングエ
ツジにおいてセツトされる。NANDゲート9と
NANDゲート11のそれぞれの一方の入力端子
と出力端子がクロスカツプリング接続されて第2
の双安定回路20が構成され、第1の入力端子に
インバータ12とANDゲート13を介して前記
入力信号が供給され、第2の入力端子に前記第1
の双安定回路10の出力が供給されるNANDゲ
ート14の出力によつて前記第2の双安定回路2
0がセツトされる。 In FIG. 1, a first bistable circuit 10 is configured by cross-coupling the input terminal and output terminal of each of NAND gates 7 and 8, and the first bistable circuit 10 has an input terminal. Set at the leading edge of the input signal applied to terminal 1. NAND gate 9 and
One input terminal and output terminal of each of the NAND gates 11 are cross-coupled connected to the second
A bistable circuit 20 is configured, the input signal is supplied to a first input terminal via an inverter 12 and an AND gate 13, and the first input signal is supplied to a second input terminal.
The output of the NAND gate 14, to which the output of the bistable circuit 10 is supplied,
0 is set.
また、NANDゲート15とNANDゲート16
のそれぞれの一方の入力端子と出力端子がクロス
カツプリング接続されて第3の双安定回路30が
構成され、前記第3の双安定回路30は入力端子
1に供給される入力信号のトレイリングエツジに
おいてセツトされる。NANDゲート17と
NANDゲート18のそれぞれの一方の入力端子
と出力端子がクロスカツプリング接続されて第4
の双安定回路40が構成され、第1の入力端子に
ANDゲート19を介して前記入力信号が供給さ
れ、第2の入力端子に前記第3の双安定回路30
の出力が供給されるNANDゲート21の出力に
よつて前記第4の双安定回路40がセツトされ
る。 Also, NAND gate 15 and NAND gate 16
A third bistable circuit 30 is configured by cross-coupling one input terminal and output terminal of each of It is set in . NAND gate 17 and
One input terminal and output terminal of each of the NAND gates 18 are connected in a cross-coupling manner to form a fourth gate.
A bistable circuit 40 is configured, and the first input terminal is
The input signal is supplied via the AND gate 19, and the second input terminal of the third bistable circuit 30 is supplied with the input signal.
The fourth bistable circuit 40 is set by the output of the NAND gate 21 to which the output of the NAND gate 21 is supplied.
一方、Tフリツプフロツプ22とTフリツプフ
ロツプ23によつて2ビツトのカウンタ50が構
成され、前記カウンタ50はクロツク端子6に供
給されるクロツク信号をカウントする。また、前
記第2の双安定回路20もしくは前記第4の双安
定回路40がセツトされたときにANDゲート2
4による前記カウンタ50のリセツトを解除する
ように構成され、前記ANDゲート24の出力は
インバータ25を介して出力端子3にも供給され
ている。 On the other hand, the T flip-flop 22 and the T flip-flop 23 constitute a 2-bit counter 50, which counts the clock signal supplied to the clock terminal 6. Further, when the second bistable circuit 20 or the fourth bistable circuit 40 is set, the AND gate 2
The output of the AND gate 24 is also supplied to the output terminal 3 via an inverter 25.
さらに、NANDゲート26の第1、第2の入
力端子に前記Tフリツプフロツプ22,23の出
力が供給され、前記NANDゲート26の出力は
リセツト信号として前記第1の双安定回路10な
らびに前記第3の双安定回路30に供給されてい
る。 Further, the outputs of the T flip-flops 22 and 23 are supplied to the first and second input terminals of the NAND gate 26, and the output of the NAND gate 26 is used as a reset signal to the first bistable circuit 10 and the third input terminal. It is supplied to a bistable circuit 30.
なお、前記ANDゲート13の第2の入力端子
には前記第4の双安定回路40の出力が供給され
るとともに前記ANDゲート19の第2の入力端
子には前記第2の双安定回路20の出力が供給され
ている。また、前記第2、第4の双安定回路2
0,40の出力はNANDゲート27の第1、第
2の入力端子に供給され、前記NANDゲート2
7の出力はリセツト信号として前記第2、第4の
双安定回路20,40に供給されているが、この
NANDゲート27は回路の初期化のために設け
られたもので、通常の動作には寄与しない。 Note that the second input terminal of the AND gate 13 is supplied with the output of the fourth bistable circuit 40, and the second input terminal of the AND gate 19 is supplied with the output of the second bistable circuit 20. Output is supplied. Further, the second and fourth bistable circuits 2
The outputs of 0 and 40 are supplied to the first and second input terminals of the NAND gate 27.
The output of 7 is supplied to the second and fourth bistable circuits 20 and 40 as a reset signal.
The NAND gate 27 is provided for initializing the circuit and does not contribute to normal operation.
以上のように構成された同期パルス発生回路に
ついて、第1図および第2図を用いてその動作を
説明する。第2図は第1図の各部の信号波形を示
したもので、第2図Aはクロツク端子6に供給さ
れる信号波形を示したものであり、第2図Bは入
力端子1に供給される信号波形を示したものであ
り、第2図CはANDゲート19の出力信号波形
を示したものであり、第2図DはNANDゲート
15の出力信号波形を示したものであり、第2図
EはNANDゲート16の出力信号波形を示した
ものであり、同様に第2図F,G,H,I,J,
K,L,M,NはそれぞれNANDゲート21,
17,18、ANDゲート13、NANDゲート
7,8,14,9,11の出力信号波形を示した
ものである。また、第2図OはANDゲート24
の出力信号波形を示したものであり、第2図P,
QはそれぞれTフリツプフロツプ22,23の出
力信号波形を示したものであり、第2図Rは
NANDゲート26の出力信号波形を示したもの
であり、第2図Sはインバータ25の出力信号波
形を示したものである。 The operation of the synchronizing pulse generating circuit configured as described above will be explained with reference to FIGS. 1 and 2. Figure 2 shows the signal waveforms of each part in Figure 1, Figure 2A shows the signal waveforms supplied to the clock terminal 6, and Figure 2B shows the signal waveforms supplied to the input terminal 1. 2C shows the output signal waveform of the AND gate 19, and FIG. 2D shows the output signal waveform of the NAND gate 15. Figure E shows the output signal waveform of the NAND gate 16, and similarly Figure 2 F, G, H, I, J,
K, L, M, and N are NAND gates 21,
17, 18, AND gate 13, and NAND gates 7, 8, 14, 9, and 11 output signal waveforms are shown. Also, O in Figure 2 is an AND gate 24
Figure 2 shows the output signal waveform of P,
Q indicates the output signal waveforms of the T flip-flops 22 and 23, respectively, and R in FIG.
This shows the output signal waveform of the NAND gate 26, and FIG. 2S shows the output signal waveform of the inverter 25.
あらかじめ第3の双安定回路30と第4の双安
定回路40がリセツトされているもとで、第2図
の時刻t1において入力信号のリーデイングエツジ
が到来すると、それ以前にNANDゲート11の
出力レベル“1”に移行しているのでANDゲー
ト19の出力レベルが“1”に移行し、続いて、
NANDゲート21の出力レベルが“0”に移行
し、それによつて第4の双安定回路40がセツト
されて、NANDゲート17の出力レベルは“1”
に移行し、NANDゲート18の出力レベルは
“0”に移行する。なお、このときANDゲート1
3の出力レベルが“0”に移行するので第1の双
安定回路10の出力状態も反転する。 With the third bistable circuit 30 and the fourth bistable circuit 40 reset in advance, when the leading edge of the input signal arrives at time t1 in FIG. 2, the output of the NAND gate 11 is Since the level has shifted to "1", the output level of the AND gate 19 has shifted to "1", and then,
The output level of the NAND gate 21 shifts to "0", thereby setting the fourth bistable circuit 40, and the output level of the NAND gate 17 shifts to "1".
The output level of the NAND gate 18 shifts to "0". In addition, at this time, AND gate 1
Since the output level of the first bistable circuit 10 shifts to "0", the output state of the first bistable circuit 10 is also inverted.
NANDゲート18の出力レベルが“0”に移
行するとANDゲート24の出力レベルが“0”
に移行してカウンタ50のリセツトが解除される
ので、カウンタ50はクロツク信号のカウント動
作が可能な状態になる。 When the output level of the NAND gate 18 shifts to “0”, the output level of the AND gate 24 changes to “0”
Then, the reset of the counter 50 is released, so that the counter 50 becomes ready for counting the clock signal.
時刻t2においてクロツク信号のリーデイングエ
ツジが到来すると、Tフリツプフロツプ22の出
力レベルが“1“に移行するが、他のゲートの出
力レベルの変化はない。 When the leading edge of the clock signal arrives at time t2 , the output level of the T flip-flop 22 shifts to "1", but the output levels of the other gates do not change.
時刻t3におけるクロツク信号のリーデイングエ
ツジの到来によつてTフリツプフロツプ23の出
力レベルが“1”に移行し、時刻t4におけるクロ
ツク信号のリーデイングエツジの到来によつてT
フリツプフロツプ22の出力レベルが“1”に移
行すると、NANDゲート26の出力レベルが
“0”に移行し、その結果、第3の双安定回路3
0がリセツトされてNANDゲート15の出力レ
ベルが“0”に移行し、NANDゲート16の出
力レベルは“1”に移行する。前記NANDゲー
ト15の出力レベルの“0”への移行によつて
NANDゲート21の出力レベルが“1”に移行
するとともに第4の双安定回路40がリセツトさ
れ、その結果、前記ANDゲート24の出力レベ
ルは“1”に戻つてカウンタ50がリセツトされ
る。 With the arrival of the leading edge of the clock signal at time t3 , the output level of the T flip-flop 23 shifts to "1", and with the arrival of the leading edge of the clock signal at time t4 , the output level of T flip-flop 23 shifts to "1".
When the output level of the flip-flop 22 shifts to "1", the output level of the NAND gate 26 shifts to "0", and as a result, the third bistable circuit 3
0 is reset, the output level of the NAND gate 15 shifts to "0", and the output level of the NAND gate 16 shifts to "1". By shifting the output level of the NAND gate 15 to "0"
As the output level of the NAND gate 21 shifts to "1", the fourth bistable circuit 40 is reset, and as a result, the output level of the AND gate 24 returns to "1" and the counter 50 is reset.
時刻t5において入力信号のトレイリングエツジ
が到来すると、それ以前にNANDゲート18の
出力レベルが“1”に移行しているのでANDゲ
ート13の出力レベルが“1”に移行し、続い
て、NANDゲート14の出力レベルが“0”に
移行し、それによつて第2の双安定回路20がセ
ツトされて、NANDゲート9の出力レベルは
“1”に移行し、NANDゲート11の出力レベル
は“0”に移行する。なお、このときANDゲー
ト19の出力レベルが“0”に移行するので第3
の双安定回路30の出力状態も反転する。 When the trailing edge of the input signal arrives at time t5 , since the output level of the NAND gate 18 has shifted to "1" before then, the output level of the AND gate 13 shifts to "1", and then, The output level of the NAND gate 14 shifts to "0", thereby setting the second bistable circuit 20, the output level of the NAND gate 9 shifts to "1", and the output level of the NAND gate 11 shifts to "1". Shifts to “0”. Note that at this time, the output level of the AND gate 19 shifts to "0", so the third
The output state of the bistable circuit 30 is also reversed.
NANDゲート11の出力レベルが“0”に移
行するとANDゲート24の出力レベルが“0”
に移行してカウンタ50のリセツトが再び解除さ
れるので、カウンタ50はクロツク信号のカウン
ト動作が可能な状態になる。 When the output level of the NAND gate 11 shifts to “0”, the output level of the AND gate 24 changes to “0”
Then, the reset of the counter 50 is released again, so that the counter 50 is in a state in which it can count the clock signal.
時刻t6におけるクロツク信号のリーデイングエ
ツジの到来によつてTフリツプフロツプ22の出
力レベルが“1”に移行し、時刻t7におけるクロ
ツク信号のリーデイングエツジの到来によつてT
フリツプフロツプ23の出力レベルが“1”に移
行し、時刻t8におけるクロツク信号のリーデイン
グエツジの到来によつて前記Tフリツプフロツプ
22の出力レベルが再び“1”に移行すると、
NANDゲート26が出力レベルが“0”に移行
して第1の双安定回路10がリセツトされて
NANDゲート7の出力レベルが“0”に、
NANDゲート8の出力レベルは“1”に移行す
る。前記NANDゲート7の出力レベルの“0”
への移行によつてNANDゲート14の出力レベ
ルが“1”に移行するとともに第2の双安定回路
20がリセツトされ、その結果、前記ANDゲー
ト24の出力レベルは“1”に戻つてカウンタ5
0がリセツトされる。 With the arrival of the leading edge of the clock signal at time t6 , the output level of the T flip-flop 22 shifts to "1", and with the arrival of the leading edge of the clock signal at time t7 , the output level of T flip-flop 22 shifts to "1".
When the output level of the flip-flop 23 shifts to "1" and the output level of the T flip-flop 22 shifts to "1" again due to the arrival of the leading edge of the clock signal at time t8 ,
The output level of the NAND gate 26 shifts to "0" and the first bistable circuit 10 is reset.
The output level of NAND gate 7 becomes “0”,
The output level of the NAND gate 8 shifts to "1". The output level of the NAND gate 7 is “0”
As a result, the output level of the NAND gate 14 shifts to "1" and the second bistable circuit 20 is reset. As a result, the output level of the AND gate 24 returns to "1" and the counter 5
0 is reset.
このようにして、第1図の出力端子3からは第
2図Sに示したような、入力信号のリーデイング
エツジとトレイリングエツジに同期し、パルス幅
がクロツク信号の2〜3周期分に等しい出力信号
が得られる。また、出力信号のパルス幅はカウン
タ50のビツト数を増加させたり、クロツク信号
の周波数を変更できることによつて任意に設定す
ることができる。 In this way, the output terminal 3 in FIG. 1 is synchronized with the leading edge and trailing edge of the input signal as shown in FIG. 2 S, and the pulse width is equal to 2 to 3 periods of the clock signal. An output signal is obtained. Further, the pulse width of the output signal can be arbitrarily set by increasing the number of bits of the counter 50 or by changing the frequency of the clock signal.
ところで、第1図の回路では入力信号にチヤタ
リングが含まれていてもこれを吸収する機能を有
している。この模様を説明すると、例えば第2図
の時刻t1から時刻t4までの間にチヤタリングが発
生して、入力端子1に供給される入力信号のレベ
ルが一時的に“0”に移行したとしても、それ以
前にNANDゲート18の出力レベルが“0”に
移行しているので、ANDゲート13の出力レベ
ルは変化せず、第4の双安定回路40がセツトさ
れている期間中に第2の双安定回路20がセツト
されて動作が異常になることはない。 By the way, the circuit shown in FIG. 1 has a function of absorbing chattering even if the input signal contains chattering. To explain this pattern, suppose, for example, that chattering occurs between time t 1 and time t 4 in Figure 2, and the level of the input signal supplied to input terminal 1 temporarily shifts to "0". However, since the output level of the NAND gate 18 has shifted to "0" before that, the output level of the AND gate 13 does not change, and the second The bistable circuit 20 will not be set and the operation will not become abnormal.
第1図のANDゲート13とANDゲート19は
このように入力信号のチヤタリングを吸収する目
的で付加したものであるが、入力信号にチヤタリ
ングが発生する恐れがない場合には、これまでの
説明からもわかるように、NANDゲート18の
出力をANDゲート13の入力端子に供給する手
段と、NANDゲート11の出力をANDゲート1
9の入力端子に供給する手段のいずれもが不要と
なる。したがつて、その場合には、ANDゲート
13とANDゲート19を削除し、インバータ1
2の出力を直接にNANDゲート7およびNAND
ゲート14の入力端子に供給するとともに、入力
端子1に供給される入力信号を直後にNANDゲ
ート15およびNANDゲート21の入力端子に
供給すればよい。 The AND gate 13 and AND gate 19 in Fig. 1 are added for the purpose of absorbing input signal chattering, but if there is no risk of chattering occurring in the input signal, from the previous explanation, As can be seen, there is a means for supplying the output of the NAND gate 18 to the input terminal of the AND gate 13, and a means for supplying the output of the NAND gate 11 to the input terminal of the AND gate 1.
None of the means for supplying input terminals 9 are required. Therefore, in that case, AND gate 13 and AND gate 19 are deleted and inverter 1 is replaced.
2 output directly to NAND gate 7 and NAND
In addition to supplying the input signal to the input terminal of the gate 14, the input signal supplied to the input terminal 1 may be supplied to the input terminals of the NAND gate 15 and the NAND gate 21 immediately after.
なお、第1図に示した本発明の実施例ではいず
れもNANDゲートとANDゲートを用いて回路を
構成しているが、これらは他の一致ゲートに置き
換えることも可能である。例えば、第1図の
NANDゲートをすべてNORゲートに変更し、
ANDゲートにすべてORゲートに変更したとして
も、第2図に示した信号波形の極性が反転するだ
けで、回路としては正常に動作する。 In the embodiments of the present invention shown in FIG. 1, the circuits are constructed using NAND gates and AND gates, but these may be replaced with other matching gates. For example, in Figure 1
Change all NAND gates to NOR gates,
Even if all AND gates are changed to OR gates, the circuit will operate normally, just by reversing the polarity of the signal waveform shown in Figure 2.
発明の効果
以上に示したように、本発明の同期パルス発生
回路は、入力信号のリーデイングエツジにおいて
セツトされる第1の双安定回路10と、第1の入
力端子に、インバータ12ならびにANDゲート
13を介して、前記入力信号の反転信号が供給さ
れ、第2の入力端子に前記第1の双安定回路の出
力が供給される第1の一致ゲート(NANDゲー
ト14)と、前記第1の一致ゲートの出力によつ
てセツトされる第2の双安定回路20と、入力信
号のトレイリングエツジにおいてセツトされる第
3の双安定回路30と、第1の入力端子に前記入
力信号が供給され、第2の入力端子に前記第3の
双安定回路の出力が供給される第2の一致ゲート
(NANDゲート21)と、前記第2の一致ゲート
の出力によつてセツトされる第4の双安定回路4
0と、クロツク信号をカウンするカウンタ50
と、前記第2の双安定回路もしくは前記第4の双
安定回路がセツトされたときに前記カウンタにカ
ウント動作を行なわせしめる第1のコントロール
手段(第1図に示した実施例では、一方の入力端
子に第2の双安定回路の出力が供給され、他方の
入力端子に第4の双安定回路の出力が供給される
ANDゲート24の出力をリセツト信号としてカ
ウンタに供給することによつて第1のコントロー
ル手段を構成している。)と、前記カウンタのカ
ウント値が所定の値になつたときに前記第1、第
2、第3、第4の双安定回路をリセツトする第2
のコントロール手段(第1図に示した実施例で
は、入力端子にカウンタ50を構成するフリツプ
フロツプ22,23の出力が供給されるNAND
ゲート26の出力を、リセツト信号として第1お
よび第3の双安定回路に供給することによつて第
2のコントロール手段を構成している。)を具備
し、前記第2の双安定回路と前記第4の双安定回
路から前記入力信号のリーデイングエツジならび
にトレイリングエツジに同期した出力信号を取り
出したことを特徴とするものであり、比較的簡単
な回路構成で、入力信号のリーデイングエツジな
らびにトレイリングエツジに同期し、そのパルス
幅が任意に設定可能な出力信号を得ることがで
き、大なる効果を奏する。Effects of the Invention As described above, the synchronous pulse generation circuit of the present invention includes a first bistable circuit 10 set at the leading edge of an input signal, an inverter 12 and an AND gate 13 connected to the first input terminal. a first coincidence gate (NAND gate 14), to which an inverted signal of the input signal is supplied and whose second input terminal is supplied with the output of the first bistable circuit; a second bistable circuit 20 that is set by the output of the gate, a third bistable circuit 30 that is set at the trailing edge of the input signal, and a first input terminal of which the input signal is supplied; a second matching gate (NAND gate 21) whose second input terminal is supplied with the output of the third bistable circuit; and a fourth bistable circuit set by the output of the second matching gate. circuit 4
0 and a counter 50 that counts the clock signal.
and a first control means for causing the counter to perform a counting operation when the second bistable circuit or the fourth bistable circuit is set (in the embodiment shown in FIG. The output of the second bistable circuit is supplied to the terminal, and the output of the fourth bistable circuit is supplied to the other input terminal.
A first control means is constructed by supplying the output of the AND gate 24 to the counter as a reset signal. ), and a second circuit that resets the first, second, third, and fourth bistable circuits when the count value of the counter reaches a predetermined value.
control means (in the embodiment shown in FIG. 1, a NAND circuit whose input terminals are supplied with the outputs of flip-flops 22 and 23 constituting the counter 50)
A second control means is constructed by supplying the output of the gate 26 as a reset signal to the first and third bistable circuits. ), and is characterized in that an output signal synchronized with the leading edge and trailing edge of the input signal is taken out from the second bistable circuit and the fourth bistable circuit, and is relatively simple. With a simple circuit configuration, it is possible to obtain an output signal that is synchronized with the leading edge and trailing edge of the input signal and whose pulse width can be arbitrarily set, which is highly effective.
また、前記第2の双安定回路がセツトされてい
るときには前記第2の一致ゲートへの入力信号の
供給を阻止し、前記第4の双安定回路がセツトさ
れているときには前記第1の一致ゲートへの入力
信号の供給を阻止する第3のコントロール手段
(第1図では、一方の入力端子に入力信号の反転
信号が供給され、他方の入力端子に前記第4の双
安定回路の出力が供給されるANDゲート13と、
一方の入力端子に前記入力信号が供給され、他方
の入力端子に前記第2の双安定回路の出力が供給
されるANDゲート19によつて第3のコントロ
ール手段を構成している。)を備えることにより、
入力信号がチヤタリングを含んでいる場合にもこ
れを吸収することができ、大なる効果を奏する。 Further, when the second bistable circuit is set, supply of the input signal to the second coincidence gate is blocked, and when the fourth bistable circuit is set, the input signal is blocked from being supplied to the first coincidence gate. a third control means (in FIG. 1, one input terminal is supplied with an inverted signal of the input signal, and the other input terminal is supplied with the output of the fourth bistable circuit); AND gate 13,
A third control means is constituted by an AND gate 19 whose one input terminal is supplied with the input signal and whose other input terminal is supplied with the output of the second bistable circuit. ) By providing
Even if the input signal includes chattering, it can be absorbed, resulting in a great effect.
第1図は本発明の一実施例における同期パルス
発生回路の論理構成図、第2図は第1図の回路の
動作を説明するための信号波形図、第3図は従来
例を示す論理構成図、第4図は第3図の回路の動
作を説明するための信号波形図である。
1……入力端子、3……出力端子、6……クロ
ツク端子、13,19……ANDゲート、14,
21……NANDゲート、10,20,30,4
0……双安定回路。
FIG. 1 is a logical configuration diagram of a synchronous pulse generation circuit according to an embodiment of the present invention, FIG. 2 is a signal waveform diagram for explaining the operation of the circuit in FIG. 1, and FIG. 3 is a logical configuration diagram showing a conventional example. 4 are signal waveform diagrams for explaining the operation of the circuit shown in FIG. 3. 1...Input terminal, 3...Output terminal, 6...Clock terminal, 13, 19...AND gate, 14,
21...NAND gate, 10, 20, 30, 4
0... Bistable circuit.
Claims (1)
トされる第1の双安定回路と、第1の入力端子に
前記入力信号に反転信号が供給され、第2の入力
端子に前記第1の双安定回路の出力が供給される
第1の一致ゲートと、前記第1の一致ゲートの出
力によつてセツトされる第2の双安定回路と、入
力信号とトレイリングエツジにおいてセツトされ
る第3の双安定回路と、第1の入力端子に前記入
力信号が供給され、第2の入力端子に前記第3の
双安定回路の出力が供給される第2の一致ゲート
と、前記第2の一致ゲートの出力によつてセツト
される第4の双安定回路と、クロツク信号をカウ
ントするカウンタと、前記第2の双安定回路もし
くは前記第4の双安定回路がセツトされたときに
前記カウンタにカウント動作を行なわせしめる第
1のコントロール手段と、前記カウンタのカウン
ト値が所定の値になつたときに前記第1、第2、
第3、第4の双安定回路をリセツトする第2のコ
ントロール手段を具備し、前記第2の双安定回路
と前記第4の双安定回路から前記入力信号のリー
デイングエツジならびにトレイリングエツジに同
期した出力信号を取り出したことを特徴とする同
期パルス発生回路。 2 一方の入力端子に第2の双安定回路の出力が
供給され、他方の入力端子に第4の双安定回路の
出力が供給される第3の一致ゲートの出力をリセ
ツト信号としてカウンタに供給することによつて
第1のコントロール手段を構成し、入力端子に前
記カウンタを構成する複数のフリツプフロツプの
出力が供給される第5の一致ゲートの出力を、リ
セツト信号として第1および第3の双安定回路に
供給することによつて第2のコントロール手段を
構成したことを特徴とする特許請求の範囲第1項
記載の同期パルス発生回路。 3 入力信号のリーデイングエツジにおいてセツ
トされる第1の双安定回路と、第1の入力端子に
前記入力信号の反転信号が供給され、第2の入力
端子に前記第1の双安定回路の出力が供給される
第1の一致ゲートと、前記第1の一致ゲートの出
力によつてセツトされる第2の双安定回路と、入
力信号のトレイリングエツジにおいてセツトされ
る第3の双安定回路と、第1の入力端子に前記入
力信号が供給され、第2の入力端子に前記第3の
双安定回路の出力が供給される第2の一致ゲート
と、前記第2の一致ゲートの出力によつてセツト
される第4の双安定回路と、クロツク信号をカウ
ントするカウンタと、前記第2の双安定回路もし
くは前記第4の双安定回路がセツトされたときに
前記カウンタにカウント動作をおこなわせしめる
第1のコントロール手段と、前記カウンタのカウ
ント値が所定の値になつたときに前記第1、第
2、第3、第4の双安定回路をリセツトする第2
のコントロール手段と、前記第2の双安定回路が
セツトされているときに前記第2の一致ゲートへ
の入力信号の供給を阻止し、前記第4の双安定回
路がセツトされているときには前記第1の一致ゲ
ートへの入力信号の供給を阻止する第3のコント
ロール手段を具備し、前記第2の双安定回路と前
記第4の双安定回路から前記入力信号のリーデイ
ングエツジならびにトレイリングエツジに同期し
た出力信号を取り出したことを特徴とする同期パ
ルス発生回路。 4 一方の入力端子に第2の双安定回路の出力が
供給され、他方の入力端子に第4の双安定回路の
出力が供給される第3の一致ゲートの出力をリセ
ツト信号としてカウンタに供給することによつて
第1のコントロール手段を構成し、入力端子に前
記カウンタを構成する複数のフリツプフロツプの
出力が供給される第5の一致ゲートの出力を、リ
セツト信号として第1および第3の双安定回路に
供給することによつて第2のコントロール手段を
構成し、一方の入力端子に入力信号の反転信号が
供給され、他方の入力端子に前記第4の双安定回
路の出力が供給される第6の一致ゲートと、一方
の入力端子に前記入力信号が供給され、他方の入
力端子に前記第2の双安定回路の出力が供給され
る第7の一致ゲートによつて第3のコントロール
手段を構成したことを特徴とする特許請求の範囲
第3項記載の同期パルス発生回路。[Claims] 1. A first bistable circuit that is set at the leading edge of an input signal, a first input terminal of which is supplied with an inverted signal of the input signal, and a second input terminal of which the first bistable circuit is set. a first coincidence gate supplied with the output of the bistable circuit; a second bistable circuit set by the output of said first coincidence gate; and a third bistable circuit set at the input signal and at the trailing edge. a second coincidence gate whose first input terminal is supplied with said input signal and whose second input terminal is supplied with the output of said third bistable circuit; and said second coincidence gate. a fourth bistable circuit that is set by the output of the gate; a counter that counts the clock signal; and a counter that counts the clock signal when the second bistable circuit or the fourth bistable circuit is set. a first control means for causing the operation to be performed; and a control means for controlling the first, second, and
a second control means for resetting the third and fourth bistable circuits, the second bistable circuit and the fourth bistable circuit being synchronized with the leading edge and the trailing edge of the input signal; A synchronous pulse generation circuit characterized by extracting an output signal. 2 The output of the third coincidence gate, whose one input terminal is supplied with the output of the second bistable circuit and whose other input terminal is supplied with the output of the fourth bistable circuit, is supplied to the counter as a reset signal. The output of the fifth coincidence gate, which constitutes the first control means and whose input terminals are supplied with the outputs of a plurality of flip-flops constituting the counter, is used as a reset signal to control the first and third bistables. 2. The synchronizing pulse generating circuit according to claim 1, wherein the second control means is configured by supplying the synchronizing pulse to the circuit. 3 a first bistable circuit that is set at the leading edge of an input signal; a first input terminal is supplied with an inverted signal of the input signal; and a second input terminal is supplied with an output of the first bistable circuit; a first coincidence gate provided, a second bistable circuit set by the output of the first coincidence gate, and a third bistable circuit set at the trailing edge of the input signal; a second coincidence gate, whose first input terminal is supplied with the input signal and whose second input terminal is supplied with the output of the third bistable circuit; and the output of the second coincidence gate. a fourth bistable circuit that is set; a counter that counts clock signals; and a first bistable circuit that causes the counter to perform a counting operation when the second bistable circuit or the fourth bistable circuit is set. and a second control means for resetting the first, second, third and fourth bistable circuits when the count value of the counter reaches a predetermined value.
control means for blocking the supply of an input signal to the second coincidence gate when the second bistable circuit is set, and controlling the input signal to the second coincidence gate when the fourth bistable circuit is set; third control means for inhibiting the supply of an input signal to the coincidence gate of said second bistable circuit and said fourth bistable circuit to synchronize the leading edge and the trailing edge of said input signal; A synchronous pulse generation circuit is characterized in that it extracts an output signal. 4 The output of the third coincidence gate, whose one input terminal is supplied with the output of the second bistable circuit and whose other input terminal is supplied with the output of the fourth bistable circuit, is supplied to the counter as a reset signal. The output of the fifth coincidence gate, which constitutes the first control means and whose input terminals are supplied with the outputs of a plurality of flip-flops constituting the counter, is used as a reset signal to control the first and third bistables. A second control means is configured by supplying the second control means to the circuit, one input terminal being supplied with an inverted signal of the input signal, and the other input terminal being supplied with the output of the fourth bistable circuit. 6 and a seventh coincidence gate, one input terminal of which is supplied with the input signal and the other input terminal of which is supplied with the output of the second bistable circuit. A synchronous pulse generation circuit according to claim 3, characterized in that the synchronization pulse generation circuit is constructed as follows.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60001818A JPS61161013A (en) | 1985-01-08 | 1985-01-08 | Synchronous pulse generation circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60001818A JPS61161013A (en) | 1985-01-08 | 1985-01-08 | Synchronous pulse generation circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61161013A JPS61161013A (en) | 1986-07-21 |
| JPH0351331B2 true JPH0351331B2 (en) | 1991-08-06 |
Family
ID=11512142
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60001818A Granted JPS61161013A (en) | 1985-01-08 | 1985-01-08 | Synchronous pulse generation circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61161013A (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5410212B2 (en) * | 1973-08-22 | 1979-05-02 | ||
| JPS5325346A (en) * | 1976-08-20 | 1978-03-09 | Matsushita Electric Ind Co Ltd | Digital delay circuit |
| JPS57201319A (en) * | 1981-06-04 | 1982-12-09 | Matsushita Electric Ind Co Ltd | Synchronizing pulse generating circuit |
-
1985
- 1985-01-08 JP JP60001818A patent/JPS61161013A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61161013A (en) | 1986-07-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101374916B1 (en) | Pulse counter with clock edge recovery | |
| US4412342A (en) | Clock synchronization system | |
| US4366394A (en) | Divide by three clock divider with symmetrical output | |
| US4870299A (en) | Dynamic switching circuit for multiple asynchronous clock sources | |
| US5233638A (en) | Timer input control circuit and counter control circuit | |
| US5315183A (en) | Synchronous phase detector circuit | |
| JPH0351331B2 (en) | ||
| JP3019422B2 (en) | Phase comparator | |
| JPH0219650B2 (en) | ||
| JPS61140221A (en) | Timing generating circuit | |
| JPS6329301Y2 (en) | ||
| JPH035946Y2 (en) | ||
| JPS6260310A (en) | Synchronizing signal generating system | |
| JPS6128426Y2 (en) | ||
| JP2564105Y2 (en) | Pulse generator | |
| JPH0113656B2 (en) | ||
| JP3031206B2 (en) | Divider circuit | |
| JPH0158895B2 (en) | ||
| JP2564300B2 (en) | Dynamics type flip flop | |
| JPS6398213A (en) | Power-on reset circuit | |
| JPH0318773B2 (en) | ||
| JPH0222912A (en) | Flip flop circuit | |
| JPH0233211B2 (en) | PARUSUKEISUSOCHI | |
| JPH0251298B2 (en) | ||
| JPH03218119A (en) | Counter circuit |