JPH03200074A - Detection circuit for narrow pulse width - Google Patents

Detection circuit for narrow pulse width

Info

Publication number
JPH03200074A
JPH03200074A JP34412289A JP34412289A JPH03200074A JP H03200074 A JPH03200074 A JP H03200074A JP 34412289 A JP34412289 A JP 34412289A JP 34412289 A JP34412289 A JP 34412289A JP H03200074 A JPH03200074 A JP H03200074A
Authority
JP
Japan
Prior art keywords
input signal
signal
time
edge
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP34412289A
Other languages
Japanese (ja)
Inventor
Manabu Shibuya
学 渋谷
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 JP34412289A priority Critical patent/JPH03200074A/en
Publication of JPH03200074A publication Critical patent/JPH03200074A/en
Pending legal-status Critical Current

Links

Landscapes

  • Pulse Circuits (AREA)

Abstract

PURPOSE:To prevent a malfunction caused by the pulse having reverse polarity of extremely narrow width and to accurately decide a comparison time by using a delay line which is hardly affected by environments. CONSTITUTION:By a variable delay element 20 capable of setting a delay time (comparison time) from outside data, the input signal is delayed for a specified time and outputted. The signal becoming LOW level at the rise edge of input signal and HIGH level at the fall is generated by an edge detecting part 21, and when the input signal falls down from the rise within the comparison time, the HIGH level state is kept during the input signal rises after the finish of comparison time. The state of edge detecting signal at the time after the comparison time is elapsed from the rise edge of input signal is latched by a narrow pulse detecting part 22. Since the edge detecting signal is in the HIGH state when the pulse having the width narrower than the comparison time exists, the output OUT is also in the HIGH state.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、任意の設定時間より福の狭いパルス(狭パル
スという)を検出する回路、いわゆる狭パルス幅検出回
路に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a circuit for detecting a pulse narrower than an arbitrary set time (referred to as a narrow pulse), a so-called narrow pulse width detection circuit.

〈従来の技術〉 遅延素子を用いた狭パルス幅検出回路については本願出
願人による特願昭63 54275号「狭パルス幅検出
回路」に詳しく記載されている。
<Prior Art> A narrow pulse width detection circuit using a delay element is described in detail in Japanese Patent Application No. 1983-54275 ``Narrow Pulse Width Detection Circuit'' by the applicant of the present invention.

この狭パルス幅検出回路を簡単に説明すれば次の通りで
ある。第5図はその構成図、第6図は動作説明のための
タイムチャートである。可変遅延素子10に遅延時間設
定用のデータDATAを与えて必要な時間(この時間を
比較時間という)だけ入力信号INを遅延する。比較時
間発生部11は、入力信号INの立ち上がりから前記遅
延された入力信号の立ち上がりまでの間HIGHレベル
となる信号FTを生成する。狭パルス検出部12は残音
遅延補償用の遅延素子を通った入力信号の立ち上がりエ
ツジで前記信号FTをラッチする。
A brief explanation of this narrow pulse width detection circuit is as follows. FIG. 5 is a configuration diagram thereof, and FIG. 6 is a time chart for explaining the operation. Delay time setting data DATA is given to the variable delay element 10 to delay the input signal IN by a necessary time (this time is referred to as comparison time). The comparison time generating section 11 generates a signal FT that is at a HIGH level from the rise of the input signal IN to the rise of the delayed input signal. The narrow pulse detection section 12 latches the signal FT at the rising edge of the input signal that has passed through the delay element for after-sound delay compensation.

このような構成で、入力信号INの立ち上がりから比較
時間T(jの間に入力信号が立ち上がった時には出力(
侠パルス検出部12のラッチ121の出力)OUTがH
IGHレベルになる。すなわち、比較時間よりら幅の狭
いパルスが入力したときにはその立ち上がりのタイミン
グで出力信号OUTがHIGHになるものである。
With this configuration, when the input signal rises during the comparison time T (j) from the rise of the input signal IN, the output (
Output of latch 121 of chivalry pulse detector 12) OUT is H
Becomes IGH level. That is, when a pulse whose width is narrower than the comparison time is input, the output signal OUT becomes HIGH at the timing of its rise.

〈発明が解決しようとする課題〉 しかしながら、このような従来の回路では、以下に説明
するように、逆極性(負極性)の極めて幅の狭いパルス
が入って来たときには、誤動作する場合がある。
<Problem to be solved by the invention> However, as explained below, such conventional circuits may malfunction when extremely narrow pulses of opposite polarity (negative polarity) are input. .

第7図はその場合の様子を示すタイムチャートである。FIG. 7 is a time chart showing the situation in that case.

この回路は前記信号FTとEGの残留遅延を可変遅延素
子112によって補償しているか、この補償を極めて精
度よく行わないと図中の点線で示すような誤動作を起し
てしまう。この補償は、温度変化による各素子の遅延の
ばらつきなどを含めて考慮する必要があり、極めて困難
である。
In this circuit, the residual delay of the signals FT and EG is compensated for by the variable delay element 112, or if this compensation is not performed extremely accurately, a malfunction as shown by the dotted line in the figure will occur. This compensation is extremely difficult, as it is necessary to take into account variations in delay of each element due to temperature changes.

本発明の目的は、このような点に鑑みてなされたもので
、従来例において述べたような誤動作を起さず、かつ遅
延素子を使用することによって高精度に狭パルスを検出
することのできる狭パルス幅検出回路を提供することに
ある。
The object of the present invention has been made in view of the above points, and is capable of detecting narrow pulses with high precision by using a delay element without causing the malfunctions described in the conventional example. An object of the present invention is to provide a narrow pulse width detection circuit.

く課題を解決するための手段〉 このような目的を達成するために、本発明では、外部デ
ータにより設定された所定の時間(’I’d)だけ入力
信号(IN)を遅延して出力する遅延素子(20)と、 前記入力信号(IN)の立ち上かりエツジでLOWレベ
ルとなり、立ち下がりエツジでHIGHレベルになる信
号を生成するものであり、入力信号(IN)が前記遅延
素子(20)で遅延される間にその入力信号が立ち下が
る場合には遅延素子(20)から入力信号が送出された
後再び入力信号(IN)が立ち上がるまでの間は出力信
号をHTGHレベル状態に保持するように構成されたエ
ツジ検出部(21)と、 このエツジ検出部(21)の出力信号の状態を前記可変
遅延素子(20)を経由した入力信号(IN)の立ち上
がりでラッチする狭パルス検出部(22) を具備したことを特徴とする。
Means for Solving the Problem> In order to achieve such an object, the present invention delays the input signal (IN) by a predetermined time ('I'd) set by external data and outputs the delayed signal. The delay element (20) generates a signal that becomes LOW level at the rising edge of the input signal (IN) and becomes HIGH level at the falling edge, and the input signal (IN) is connected to the delay element (20). ), the output signal is held at the HTGH level until the input signal (IN) rises again after the input signal is sent out from the delay element (20). an edge detection section (21) configured as follows; and a narrow pulse detection section that latches the state of the output signal of the edge detection section (21) at the rising edge of the input signal (IN) via the variable delay element (20). (22) It is characterized by having the following.

〈作用〉 エツジ検出部(21)では、入力信号(IN)の立ち上
かりエツジでLOWレベルとなり、立ち下がりエツジで
HIGHレベルになる信号を生成するか、入力信号(I
N)が遅延素子(20)で遅延される間にその入力信号
が立ち下がる場合には遅延素子(20)から入力信号が
送出された後再び入力信号(IN)が立ち上がるまでの
間は出力信号をHIGHレベル状態に保持するようにし
て、逆極性の極めて狭いパルス幅の入力信号の出力への
影響を防止した。
<Function> The edge detection section (21) generates a signal that becomes LOW level at the rising edge of the input signal (IN) and becomes HIGH level at the falling edge, or
If the input signal falls while the input signal (N) is delayed by the delay element (20), the output signal remains until the input signal (IN) rises again after the input signal is sent from the delay element (20). is maintained at a HIGH level state to prevent an input signal having an extremely narrow pulse width of opposite polarity from affecting the output.

〈実施例〉 以下図面を参照して本発明の詳細な説明する。<Example> The present invention will be described in detail below with reference to the drawings.

第1図は本発明に係る狭パルス幅検出回路の原理構成図
である。図において、20は外部データにより遅延時間
(比較時間)の設定ができる可変遅延素子であり、入力
信号を、設定された所定の時間だけ遅延して出力する。
FIG. 1 is a diagram showing the principle configuration of a narrow pulse width detection circuit according to the present invention. In the figure, numeral 20 is a variable delay element whose delay time (comparison time) can be set using external data, and outputs the input signal after delaying it by a predetermined set time.

21はエツジ検出部であり、入力信号の立ち上がりエツ
ジでLOWレベル、立ち下がりエツジでHIGHレベル
になる信号を生成するが、可変遅延素子1の出力に基づ
き、入力信号がその立ち上がりから比較時間以内に立ち
下がる場合には比較時間終了後に入力信号が立ち上がる
までの間HI GHfl:態を保持する。
Reference numeral 21 denotes an edge detection unit, which generates a signal that goes to LOW level at the rising edge of the input signal and goes to HIGH level at the falling edge. When falling, the HIGHfl: state is maintained until the input signal rises after the end of the comparison time.

22は狭パルス検出部であり、エツジ検出部21の出力
と可変遅延素子20の出力を受け、入力信号の立ち上が
りエツジから比較時間経過後におけるエツジ検出信号の
状態をラッチするものである。なお、比較時間の間に立
ち上がりエツジがあった場合すなわち比較時間よりも幅
の狭いパルスがあった場合には、エツジ検出信号はHI
GHになっているので、出力OUTもHIGHである。
A narrow pulse detection section 22 receives the output of the edge detection section 21 and the output of the variable delay element 20, and latches the state of the edge detection signal after a comparison time has elapsed from the rising edge of the input signal. Note that if there is a rising edge during the comparison time, that is, if there is a pulse whose width is narrower than the comparison time, the edge detection signal becomes HI.
Since it is GH, the output OUT is also HIGH.

第2図に各部の詳細な構成を示す、エツジ検出部21に
おいて、211,212,213はそれぞれエツジトリ
ガ型のフリップフロッグ(D−FF)であり、第1のD
−FF211のタロツク入力端には入力ハック723の
非反転出力が入力され、第2のD−FF212のクロッ
ク入力端には入力へ/ファ23の反転出力が入力され、
第3のD−FF213のタロツク入力端には遅延素子2
0を介した入力バッファ23の非反転出力が入力されて
いる。
In the edge detection section 21 whose detailed configuration is shown in FIG.
- The non-inverted output of the input hack 723 is input to the tarlock input terminal of the -FF 211, and the inverted output of the input filter 23 is input to the clock input terminal of the second D-FF 212.
There is a delay element 2 at the tarock input terminal of the third D-FF 213.
The non-inverted output of the input buffer 23 via 0 is input.

また、第1のD−FF211のD入力端には第2のD−
FF212の反転出力Qが入力され、第2のD−FF2
12には第1のD−FF211の非反転出力Qか入力さ
れている。
In addition, a second D-FF is connected to the D input terminal of the first D-FF 211.
The inverted output Q of FF212 is input, and the second D-FF2
12, the non-inverted output Q of the first D-FF 211 is input.

更に、第3のD−FF213のD入力端には第1のD−
FF211の非反転出力Qが入力されている。
Furthermore, the first D-FF is connected to the D input terminal of the third D-FF 213.
The non-inverted output Q of the FF 211 is input.

なお、3つのD−FFはクリア信号により共通にリセッ
トされるようになっている。
Note that the three D-FFs are commonly reset by a clear signal.

214はエクスクル−シブ・ノア・ゲートであり、第1
および第2のD−FFの出力の排他的論理和を求め、そ
れを反転した論理12号EDを出力する。
214 is the Exclusive Noah Gate, the first
The exclusive OR of the outputs of the second D-FF and the second D-FF is obtained, and logic No. 12 ED, which is the inverted result, is output.

狭パルス検出部22としてはD−FFが使用され、その
タロツク入力端には遅延素子20の出方が入力され、ま
たD入力端にはエクスクル−シブ・ノア・ゲート214
の出力が入力されている。
A D-FF is used as the narrow pulse detection section 22, and the output of the delay element 20 is input to its tarock input terminal, and an exclusive NOR gate 214 is input to its D input terminal.
The output of is input.

このような構成における動作を第3図のタイムチャート
を参照して次に説明する。初期状態では各D−FF21
1,212,213はリセットされている。可変遅延素
子2oは、入力信号INを比較時間Tdだけ遅延させた
遅延信号DLを作る。
The operation in such a configuration will be explained next with reference to the time chart of FIG. In the initial state, each D-FF21
1, 212, and 213 have been reset. The variable delay element 2o generates a delayed signal DL by delaying the input signal IN by the comparison time Td.

エツジ検出部21の動作は次の通りである。入力信号I
Nと遅延信号DLが与えられるが、DFF211の出力
Qは入力信号INの立上がりのときにその状態が反転す
るく第3図に示す■、■、■の時点)。なお、立ち上が
りがらTdの間に次の立ち上がりが来たときは、出力Q
の状態は反転しない(■)。
The operation of the edge detection section 21 is as follows. Input signal I
The state of the output Q of the DFF 211 is reversed at the rising edge of the input signal IN (at times ①, ②, and ② shown in FIG. 3). Note that when the next rising edge occurs between the rising edge and Td, the output Q
The state of is not reversed (■).

D−FF213には、I)−FF211のこのようなQ
出力信号を入力信号INの立ち下がりでランチする。そ
して、エクスクル−シブ・ノア・ゲ−l−21,4では
、I)−FF211と213の出力のエクスクル−シダ
・オアをとり、それを反転して出力する。これにより第
3図の(f>に示すようなエツジ検出信号EDを得るこ
とができる。
D-FF213 has such Q of I)-FF211.
The output signal is launched at the falling edge of the input signal IN. Then, in the exclusive Noah game 1-21, 4, the exclusive OR of the outputs of the I)-FFs 211 and 213 is taken, and it is inverted and output. As a result, an edge detection signal ED as shown in (f> in FIG. 3) can be obtained.

このED信号は、第3図の時点■、■、■に示ずように
入力信号INの立ち上がりでLOWになり、時点■、■
に示すように立ち下がりでHIGトIになる。たたし、
立ち上がりからTdの間に立ち下がりかあった場合には
、比較時間Tdの経過後入力信号INの立ち上がり(第
3図の時点■)まではHIGHレベルを保持する。すな
わち、Tdの間にもう一度入力信号INの立ち上がりが
あってもエツジ検出信号EDはLOWにはならない。
This ED signal becomes LOW at the rising edge of the input signal IN as shown at time points ■, ■, and ■ in FIG.
As shown in the figure, it becomes HIG to I at the falling edge. Tatashi,
If there is a fall between the rise and Td, the HIGH level is maintained until the rise of the input signal IN after the comparison time Td has elapsed (time point ■ in FIG. 3). That is, even if the input signal IN rises again during Td, the edge detection signal ED does not become LOW.

遅延信号DLの立ち上がりでエツジ検出信号EDがHI
 G Hであれば、入力信号INの立ち上がりから比較
時間Tdの間にINの立ち上がりがあったことになる。
The edge detection signal ED becomes HI at the rise of the delay signal DL.
If it is GH, this means that IN has risen during the comparison time Td from the rise of input signal IN.

すなわち、比較時間Tdよりも狭い幅のパルスが来たこ
とになる。
In other words, a pulse with a width narrower than the comparison time Td has arrived.

したがって、エツジ検出信号EDを遅延信号DLの立ち
上がりでランチする信号OUTは、次のようになる。第
3図の時点■での入力信号INの立ち上がりからTdの
間には、立ち下かりがないので、時点■の遅延信号DL
の立ち上がりでエツジ検出信号EDはLOWレベルであ
る。すなわち、■の時点では出力OUTはLOWレベル
のままである。しかしながら、時点■の入力信号INの
立ち上がりからTd時間が経過する間に入力信号INの
立ち下がりかあった場合(時点■)には、エツジ検出信
号EDがHIGHレベルとなり、その後の遅延時間DL
の立ち上がりの時点■ではエツジ検出信号EDはHIG
Hレベルが維持されているため、時点■での出力OUT
はHIGHレベルになる。これにより狭パルスが検出さ
れる。
Therefore, the signal OUT that launches the edge detection signal ED at the rising edge of the delay signal DL is as follows. Since there is no falling edge between the rising edge of the input signal IN at time point ■ in FIG. 3 and Td, the delayed signal DL at time point ■
At the rising edge of , the edge detection signal ED is at LOW level. That is, at the time point (3), the output OUT remains at the LOW level. However, if the input signal IN falls during the elapse of time Td from the rise of the input signal IN at time point ■ (time point ■), the edge detection signal ED becomes HIGH level, and the subsequent delay time DL
At the rising edge ■, the edge detection signal ED is HIG.
Since the H level is maintained, the output at point ■ is OUT.
becomes HIGH level. This allows narrow pulses to be detected.

第4図に逆極性の極めて幅の狭いパルスが入力した場合
のタイムチャートを示す。D−FF213の出力Qは入
力信号INの幅の狭いパルス入力の時点では反転せず、
したかってLOWレベルが持続する。そしてその後の遅
延信号DLの立ち上がりの時点ではエツジ検出信号ED
がLOWレベルとなっていて、そのため入力信号INに
幅の狭いパルスがあっても出力OUTはLOWレベルの
ままとなっている。
FIG. 4 shows a time chart when an extremely narrow pulse of opposite polarity is input. The output Q of the D-FF213 is not inverted at the time of inputting the narrow pulse of the input signal IN;
Therefore, the LOW level continues. Then, at the subsequent rise of the delay signal DL, the edge detection signal ED
is at a LOW level, so even if there is a narrow pulse in the input signal IN, the output OUT remains at a LOW level.

このように逆極性の幅の狭いパルスの入力に対しては誤
動作の起こらないパルス検出回路を実現することができ
る。
In this way, it is possible to realize a pulse detection circuit that does not malfunction when a narrow pulse of opposite polarity is input.

〈発明の効果〉 以上詳細に説明したように、本発明によれば、従来例の
回路で起きたような逆極性の極めて幅の狭いパルスによ
る誤動作は起こらず、また、環境の影響を受けにくい遅
延線を使用することによって高精度に比較時間を決定で
きるという利点を損なわないという効果がある。
<Effects of the Invention> As explained in detail above, according to the present invention, malfunctions caused by extremely narrow pulses of opposite polarity, which occur in conventional circuits, do not occur, and the circuit is not easily affected by the environment. This has the effect of not impairing the advantage that the comparison time can be determined with high precision by using the delay line.

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

第1図は本発明に係る狭パルス幅検出回路の原理構成図
、第2図は各部の詳細な構成を示す実施例構成図、第3
図および第4図は動作を説明するためのタイムチャート
、第5図は従来の狭パルス幅検出回路の一例を示す構成
図、第6図および第7図は第5図の回路の動作を説明す
るためのタイムチャートである。 20・・・可変遅延素子、21・・・エツジ検出部、2
2・・・狭パルス検出部、23・・・入力バッファ、2
11.212,213・・・D型フリップフロップ、2
14・・・エクスクル−シブ・ノア・ゲート。
FIG. 1 is a basic configuration diagram of a narrow pulse width detection circuit according to the present invention, FIG. 2 is an embodiment configuration diagram showing the detailed configuration of each part, and FIG.
5 and 4 are time charts for explaining the operation, FIG. 5 is a configuration diagram showing an example of a conventional narrow pulse width detection circuit, and FIGS. 6 and 7 are for explaining the operation of the circuit in FIG. 5. This is a time chart for 20... Variable delay element, 21... Edge detection section, 2
2... Narrow pulse detection section, 23... Input buffer, 2
11.212,213...D type flip-flop, 2
14...Exclusive Noah Gate.

Claims (1)

【特許請求の範囲】 外部データにより設定された所定の時間(Td)だけ入
力信号(IN)を遅延して出力する遅延素子(20)と
、 前記入力信号(IN)の立ち上がりエッジでLOWレベ
ルとなり、立ち下がりエッジでHIGHレベルになる信
号を生成するものであり、入力信号(IN)が前記遅延
素子(20)で遅延される間にその入力信号が立ち下が
る場合には遅延素子(20)から入力信号が送出された
後再び入力信号(IN)が立ち上がるまでの間は出力信
号をHIGHレベル状態に保持するように構成されたエ
ッジ検出部(21)と、 このエッジ検出部(21)の出力信号の状態を前記可変
遅延素子(20)を経由した入力信号(IN)の立ち上
がりでラッチする狭パルス検出部(22) を具備し、狭パルス検出部(22)の出力により前記遅
延時間幅より短い幅の狭パルス入力を検出することがで
きるようにしたことを特徴とする狭パルス幅検出回路。
[Claims] A delay element (20) that delays an input signal (IN) by a predetermined time (Td) set by external data and outputs the delayed signal; , which generates a signal that becomes HIGH level at the falling edge, and if the input signal (IN) falls while being delayed by the delay element (20), the input signal is output from the delay element (20). An edge detection section (21) configured to hold the output signal at a HIGH level state until the input signal (IN) rises again after the input signal is sent out; and the output of this edge detection section (21). It is equipped with a narrow pulse detection section (22) that latches the signal state at the rising edge of the input signal (IN) via the variable delay element (20), and the output of the narrow pulse detection section (22) is used to detect the signal state from the delay time width. A narrow pulse width detection circuit is characterized in that it is capable of detecting a short narrow pulse input.
JP34412289A 1989-12-28 1989-12-28 Detection circuit for narrow pulse width Pending JPH03200074A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34412289A JPH03200074A (en) 1989-12-28 1989-12-28 Detection circuit for narrow pulse width

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34412289A JPH03200074A (en) 1989-12-28 1989-12-28 Detection circuit for narrow pulse width

Publications (1)

Publication Number Publication Date
JPH03200074A true JPH03200074A (en) 1991-09-02

Family

ID=18366807

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34412289A Pending JPH03200074A (en) 1989-12-28 1989-12-28 Detection circuit for narrow pulse width

Country Status (1)

Country Link
JP (1) JPH03200074A (en)

Similar Documents

Publication Publication Date Title
US5233617A (en) Asynchronous latch circuit and register
JP2653250B2 (en) Unstable state avoidance circuit and method of avoiding unstable state
US5754070A (en) Metastableproof flip-flop
JP3080341B2 (en) Data match detection circuit
JP3506917B2 (en) Phase comparator
JPH10145197A (en) Input signal read circuit
US5744992A (en) Digital phase shifter
US4928290A (en) Circuit for stable synchronization of asynchronous data
JPH0342810B2 (en)
JPH03200074A (en) Detection circuit for narrow pulse width
KR960016809B1 (en) Trigger signal generating circuit with trigger masking function
JPH0133052B2 (en)
JP4122128B2 (en) Edge detection circuit
JP2666429B2 (en) Differentiator circuit
JP2638337B2 (en) Error counter circuit
JP3666352B2 (en) Frequency divider circuit
JP2819973B2 (en) Noise removal circuit
JPS6359212A (en) Latch circuit
JPH0434790A (en) Fifo type memory
JP2002026704A (en) Clock fault detector and its method
KR930004087B1 (en) Digital Signal Transition Detection Circuit
KR930005653B1 (en) Clock variable circuit
JP2564812B2 (en) Counting circuit
JPH04307372A (en) Edge detection circuit device
JPH02199915A (en) Spike noise eliminating circuit for semiconductor integrated circuit