Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0775307B2 - Narrow pulse width detection circuit - Google Patents
[go: Go Back, main page]

JPH0775307B2 - Narrow pulse width detection circuit - Google Patents

Narrow pulse width detection circuit

Info

Publication number
JPH0775307B2
JPH0775307B2 JP63054275A JP5427588A JPH0775307B2 JP H0775307 B2 JPH0775307 B2 JP H0775307B2 JP 63054275 A JP63054275 A JP 63054275A JP 5427588 A JP5427588 A JP 5427588A JP H0775307 B2 JPH0775307 B2 JP H0775307B2
Authority
JP
Japan
Prior art keywords
type flip
flop
input signal
pulse
output
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
Application number
JP63054275A
Other languages
Japanese (ja)
Other versions
JPH01227969A (en
Inventor
修作 島田
学 渋谷
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 JP63054275A priority Critical patent/JPH0775307B2/en
Publication of JPH01227969A publication Critical patent/JPH01227969A/en
Publication of JPH0775307B2 publication Critical patent/JPH0775307B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、狭パルス幅検出回路に関するものであり、詳
しくは、デジタルオシロスコープのグリッチトリガに好
適な回路に関するものである。
Description: TECHNICAL FIELD The present invention relates to a narrow pulse width detection circuit, and more particularly to a circuit suitable for a glitch trigger of a digital oscilloscope.

(従来の技術) デジタル回路では、タイミングミスや雑音のために生じ
る不必要な幅の狭いパルスに従って誤動作することがあ
る。すなわち、デジタル回路の誤動作の原因究明などに
あたっては、このような幅の狭いパルスを検出すること
が必要になる。
(Prior Art) A digital circuit may malfunction according to an unnecessary narrow pulse generated due to a timing error or noise. That is, it is necessary to detect such a narrow pulse in order to investigate the cause of malfunction of the digital circuit.

第3図は、従来のこのような狭パルス幅検出回路の一例
を示す構成説明図である。第3図(A)において、パル
ス入力信号INは直接ワンショットマルチバイブレータ1
に入力されるとともに、インバータ2を介してD形フリ
ップフロップ3のクロック端子に入力される。また、ワ
ンショットマルチバイブレータ1の出力QはD形フリッ
プフロップ3のデータ端子Dに入力される。
FIG. 3 is a configuration explanatory view showing an example of such a conventional narrow pulse width detection circuit. In FIG. 3 (A), the pulse input signal IN is a direct one-shot multivibrator 1
Is input to the clock terminal of the D-type flip-flop 3 via the inverter 2. The output Q of the one-shot multivibrator 1 is input to the data terminal D of the D-type flip-flop 3.

(B)は、このような回路の動作を示すタイミングチャ
ートである。ワンショットマルチバイブレータ1はパル
ス入力信号INの立ち上がりに同期して一定幅Twのパルス
を出力する。パルス入力INがこのパルス幅Twよりも広い
ではD形フリップフロップ3の出力OUTはLレベルの
ままであるが、Twよりも狭いではD形フリップフロッ
プ3はワンショットマルチバイブレータ2の出力Qをラ
ッチし、その出力OUTはHレベルに変化する。これによ
り、所定幅Twより狭いパルスのみを検出できる。
FIG. 3B is a timing chart showing the operation of such a circuit. The one-shot multivibrator 1 outputs a pulse having a constant width Tw in synchronization with the rising edge of the pulse input signal IN. If the pulse input IN is wider than this pulse width Tw, the output OUT of the D-type flip-flop 3 remains L level, but if it is narrower than Tw, the D-type flip-flop 3 latches the output Q of the one-shot multivibrator 2. Then, its output OUT changes to H level. As a result, only pulses narrower than the predetermined width Tw can be detected.

第4図は従来の他の回路例図である。(A)において、
4は発振器であり、パルス入力信号INがHレベルの時の
み所定の周期のパルスを出力する。この発振器4の出力
はダウンカウンタ5のクロック端子に入力されカウント
ダウンされる。一方、パルス入力信号INの反転信号はダ
ウンカウンタ5のロード端子Lに入力され、パルス入力
信号の立ち上がりにより設定値がセットされる。ダウン
カウンタ5がダウンカウントされてその出力がゼロにな
ると、ターミナルカウント信号TCがLレベルになる。こ
のTCはD形フリップフロップ6により検出される。
FIG. 4 is another conventional circuit diagram. In (A),
Reference numeral 4 is an oscillator which outputs a pulse having a predetermined cycle only when the pulse input signal IN is at H level. The output of the oscillator 4 is input to the clock terminal of the down counter 5 and counted down. On the other hand, the inverted signal of the pulse input signal IN is input to the load terminal L of the down counter 5, and the set value is set at the rising edge of the pulse input signal. When the down counter 5 is down-counted and its output becomes zero, the terminal count signal TC becomes L level. This TC is detected by the D flip-flop 6.

(B)のタイミングチャートに示すように、パルス入力
信号のパルス幅が広い時はのようにTCがLレベルにな
ってD形フリップフロップ6の出力OUTはLレベルにな
るが、パルス入力信号のパルス幅が狭い時はのように
TCがLレベルにならずにD形フリップフロップ6の出力
OUTはHレベルになる。これにより、幅の狭いパルスの
み検出できる。
As shown in the timing chart of (B), when the pulse width of the pulse input signal is wide, TC becomes L level and the output OUT of the D-type flip-flop 6 becomes L level. Like when the pulse width is narrow
Output of D-type flip-flop 6 without TC becoming L level
OUT goes high. As a result, only narrow pulses can be detected.

(発明が解決しようとする問題点) しかし、前者の構成によれば、ワンショットマルチバイ
ブレータ1の出力パルス幅TwはコンデンサCおよび抵抗
Rの値によって変化するので温度,湿度あるいは経年変
化のためにTwがばらつき、正確に検出できないという欠
点がある。また、Twを変更するためにはコンデンサCお
よび抵抗Rの値を変えなければならない。
(Problems to be Solved by the Invention) However, according to the former configuration, the output pulse width Tw of the one-shot multivibrator 1 changes depending on the values of the capacitor C and the resistance R, so that the temperature, the humidity, or the secular change may occur. There is a drawback that Tw varies and cannot be accurately detected. Further, in order to change Tw, it is necessary to change the values of the capacitor C and the resistor R.

一方、後者の構成によれば、ダウンカウンタ5に入力す
る設定値を変えることにより検出できるパルス幅を変え
ることはできるが、正確に測定するためには発振器4の
出力OSCの周波数を高くしなければならず、製作調整が
困難になるという欠点がある。
On the other hand, according to the latter configuration, the pulse width that can be detected can be changed by changing the set value input to the down counter 5, but the frequency of the output OSC of the oscillator 4 must be increased for accurate measurement. However, there is a drawback that manufacturing adjustment becomes difficult.

本発明は、これらの点に着目したものであり、その目的
は、比較的簡単な構成で正確に狭いパルス幅のパルスを
検出できる狭パルス幅検出回路を提供することにある。
The present invention focuses on these points, and an object thereof is to provide a narrow pulse width detection circuit capable of accurately detecting a pulse having a narrow pulse width with a relatively simple configuration.

(問題点を解決するための手段) 本発明は、 パルス入力信号が加えられる遅延素子と、 クロック端子にパルス入力信号が前記遅延素子を介して
加えられる第1のD形フリップフロップと、クロック端
子にパルス入力信号が直接加えられる第2のD形フリッ
プフロップと、これらD形フリップフロップの非反転出
力信号が加えられる排他的オアゲートとで構成され、第
1のD形フリップフロップの反転出力信号は第2のD形
フリップフロップのデータ端子に加えられて第2のD形
フリップフロップの非反転出力信号は第1のD形フリッ
プフロップのデータ端子に加えられ、前記パルス入力信
号の前端と前記遅延素子の出力信号の前端の時間幅に等
しい比較時間信号を出力する比較時間発生部と、 前記パルス入力信号およびこの比較時間発生部の出力信
号が入力され前記パルス入力信号の後端で前記比較時間
発生部の出力を検出するパルス検出部、 とを具備したことを特徴とする。
(Means for Solving Problems) The present invention relates to a delay element to which a pulse input signal is applied, a first D-type flip-flop to which a pulse input signal is applied to a clock terminal via the delay element, and a clock terminal. A second D-type flip-flop to which the pulse input signal is directly applied, and an exclusive OR gate to which the non-inverted output signals of these D-type flip-flops are added, and the inverted output signal of the first D-type flip-flop is The non-inverted output signal of the second D-type flip-flop applied to the data terminal of the second D-type flip-flop is applied to the data terminal of the first D-type flip-flop, the front end of the pulse input signal and the delay. A comparison time generation unit for outputting a comparison time signal equal to the time width of the front end of the output signal of the element, the pulse input signal and the comparison time generation unit And a pulse detector for detecting the output of the comparison time generator at the rear end of the pulse input signal.

(実施例) 以下、図面を用いて本発明の実施例を詳細に説明する。(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例を示す構成説明図である。第
1図において、10は遅延素子であり、パルス入力信号IN
が加えられる。この遅延素子10は、外部から与えられる
データにより遅延時間を変えることができる。11は比較
時間発生部であり、2個のD形フリップフロップ111,11
2と排他的オアゲート113とで構成されている。D形フリ
ップフロップ111のクロック端子には遅延素子10の出力
信号が加えられ、データ端子DにはD形フリップフロッ
プ112の非反転出力Qが加えられ、非反転出力Qは排他
的オアゲート113の一方の入力端子に加えられ、反転出
力Q′はD形フリップフロップ112のデータ端子Dに加
えられている。D形フリップフロップ112のクロック端
子にはパルス入力信号INが直接加えられ、非反転出力Q
は排他的オアゲート113の他方の入力端子にも加えられ
ている。12は狭パルス検出部であり、D形フリップフロ
ップ121,遅延素子122およびインバータ123とで構成され
ている。D形フリップフロップ121のデータ端子Dには
排他的オアゲート113の出力信号が加えられ、非反転出
力Qは出力信号OUTとして取り出される。パルス入力信
号INは遅延素子122に加えられ、この遅延素子122の出力
信号はインバータ123で反転されてD形フリップフロッ
プ121のクロック端子に加えられている。
FIG. 1 is a structural explanatory view showing an embodiment of the present invention. In FIG. 1, 10 is a delay element, which is a pulse input signal IN
Is added. The delay element 10 can change the delay time according to the data given from the outside. Reference numeral 11 is a comparison time generation unit, which is two D-type flip-flops 111 and 11
2 and an exclusive OR gate 113. The output signal of the delay element 10 is applied to the clock terminal of the D-type flip-flop 111, the non-inverting output Q of the D-type flip-flop 112 is applied to the data terminal D, and the non-inverting output Q is one of the exclusive OR gates 113. And the inverted output Q'is applied to the data terminal D of the D-type flip-flop 112. The pulse input signal IN is directly applied to the clock terminal of the D flip-flop 112, and the non-inverted output Q
Is also applied to the other input terminal of exclusive OR gate 113. Reference numeral 12 is a narrow pulse detection unit, which is composed of a D-type flip-flop 121, a delay element 122, and an inverter 123. The output signal of the exclusive OR gate 113 is applied to the data terminal D of the D flip-flop 121, and the non-inverted output Q is taken out as the output signal OUT. The pulse input signal IN is applied to the delay element 122, and the output signal of the delay element 122 is inverted by the inverter 123 and applied to the clock terminal of the D-type flip-flop 121.

このように構成された回路の動作を第2図のタイミング
チャートを用いて説明する。
The operation of the circuit thus configured will be described with reference to the timing chart of FIG.

初期状態では、各D形フリップフロップ111,112および1
21はリセットされていて、Q出力はLレベルになってい
るものとする。時刻でパルス入力信号INが立ち上がる
と、このパルス入力信号INはD形フリップフロップ112
のクロック端子に直接加えられる。一方、パルス入力信
号INはD形フリップフロップ111のクロック端子には遅
延素子10により時間Tdだけ遅延された時刻に加えられ
る。また、D形フリップフロップ112のQ出力はD形フ
リップフロップ111のデータ端子Dに加えられ、D形フ
リップフロップ111のQ′出力はD形フリップフロップ1
12のデータ端子Dに加えられる。これにより、D形フリ
ップフロップ112はパルス入力信号INの立ち上がりでト
リガされてそのQ出力は反転し、D形フリップフロップ
111はD形フリップフロップ112のQ出力反転後の遅延素
子10の出力信号DLの立ち上がりによりトリガされてその
Q出力は反転する。以後、このような動作を繰り返す。
排他的オアゲート113には、これらD形フリップフロッ
プ111,112のQ出力が加えられている。これにより、排
他的オアゲート113からパルス入力信号INに同期した比
較時間信号FTが出力されることになる。このようにして
排他的オアゲート113から出力される比較時間信号FTの
パルス幅は遅延素子10に設定された遅延時間Tdと等し
く、前述のように任意に変えることができる。
In the initial state, each D-type flip-flop 111, 112 and 1
It is assumed that 21 has been reset and the Q output is at L level. When the pulse input signal IN rises at the time, this pulse input signal IN becomes D-type flip-flop 112.
It is directly applied to the clock terminal of. On the other hand, the pulse input signal IN is added to the clock terminal of the D flip-flop 111 at the time delayed by the time Td by the delay element 10. Further, the Q output of the D-type flip-flop 112 is applied to the data terminal D of the D-type flip-flop 111, and the Q ′ output of the D-type flip-flop 111 is the D-type flip-flop 1.
Twelve data terminals D are added. As a result, the D-type flip-flop 112 is triggered by the rising edge of the pulse input signal IN, its Q output is inverted, and the D-type flip-flop 112 is inverted.
111 is triggered by the rising of the output signal DL of the delay element 10 after the Q output of the D-type flip-flop 112 is inverted, and its Q output is inverted. After that, such an operation is repeated.
The Q outputs of these D-type flip-flops 111 and 112 are added to the exclusive OR gate 113. As a result, the exclusive OR gate 113 outputs the comparison time signal FT synchronized with the pulse input signal IN. In this way, the pulse width of the comparison time signal FT output from the exclusive OR gate 113 is equal to the delay time Td set in the delay element 10, and can be arbitrarily changed as described above.

一方、パルス入力信号INは、遅延素子122により比較時
間発生部11を構成するD形フリップフロップ111,112お
よび排他的オアゲート113の遅延分が補償された後(第
2図では遅延分は零としている)、インバータ123を介
してD形フリップフロップ121のクロック端子にクロッ
ク入力EGとして加えられる。従って、D形フリップフロ
ップ121は、時刻におけるパルス入力信号INの立ち下
がりに同期して比較時間信号FTをサンプリングする。こ
こで、時刻から時刻にわたるパルス入力信号INのパ
ルス幅T1は遅延素子10に設定された遅延時間Tdより長い
ので、D形フリップフロップ121のQ出力はLレベルの
ままであり、出力OUTはLレベルに保たれる。これに対
し、時刻から時刻に示すようにパルス入力信号INの
パルス幅T2が遅延素子10に設定された遅延時間Tdより短
くなると、比較時間信号FTは時刻から時刻に示すよ
うにパルス入力信号INのパルス幅T2よりも長い時間Hレ
ベルになり、D形フリップフロップ121は時刻におけ
るクロック入力EGの立ち上がりでHレベルの比較時間信
号FTをサンプリングする。これにより、Q出力は反転し
てHレベルになって出力OUTもHレベルになり、パルス
入力信号INのパルス幅が遅延素子10の設定遅延時間Tdよ
り短いもののみを検出することができる。そして、遅延
素子は一般に分布定数素子であることから周囲温度の影
響を受けにくく、検出するパルス幅の上限が安定になる
という効果もある。
On the other hand, the pulse input signal IN is compensated for the delay amount of the D-type flip-flops 111 and 112 and the exclusive OR gate 113 which form the comparison time generation unit 11 by the delay element 122 (the delay amount is zero in FIG. 2). , And is applied as a clock input EG to the clock terminal of the D-type flip-flop 121 via the inverter 123. Therefore, the D flip-flop 121 samples the comparison time signal FT in synchronization with the fall of the pulse input signal IN at time. Here, since the pulse width T 1 of the pulse input signal IN from time to time is longer than the delay time Td set in the delay element 10, the Q output of the D-type flip-flop 121 remains L level and the output OUT is It is kept at L level. On the other hand, when the pulse width T 2 of the pulse input signal IN becomes shorter than the delay time Td set in the delay element 10 as shown from time to time, the comparison time signal FT becomes the pulse input signal as shown from time to time. The H level becomes longer than the pulse width T 2 of IN, and the D-type flip-flop 121 samples the H level comparison time signal FT at the rising edge of the clock input EG at time. As a result, the Q output is inverted to the H level, the output OUT also becomes the H level, and only the pulse width of the pulse input signal IN that is shorter than the set delay time Td of the delay element 10 can be detected. Further, since the delay element is generally a distributed constant element, it is less susceptible to the influence of ambient temperature, and there is an effect that the upper limit of the detected pulse width becomes stable.

なお、上記実施例では遅延素子10として遅延時間が可変
のものを用いたが、検出する上限パルス幅が固定である
場合には遅延時間が固定のものを用いてもよい。
Although the delay element 10 having a variable delay time is used in the above embodiment, a fixed delay time may be used when the upper limit pulse width to be detected is fixed.

また、上記実施例ではパルス入力信号INの正極性パルス
に着目したが、負極性パルスに着目したい場合にはパル
ス入力信号INをインバータを介して入力すればよい。
Further, in the above-mentioned embodiment, the positive pulse of the pulse input signal IN is focused, but when the negative pulse is desired, the pulse input signal IN may be input through the inverter.

(発明の効果) 以上説明したように、本発明によれば、比較的簡単な構
成で正確に狭いパルス幅のパルスを検出できる狭パルス
幅検出回路が実現でき、実用上の効果は大きい。
(Effect of the Invention) As described above, according to the present invention, it is possible to realize a narrow pulse width detection circuit capable of accurately detecting a pulse having a narrow pulse width with a relatively simple configuration, and the practical effect is great.

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

第1図は本発明の一実施例を示す構成説明図、第2図は
第1図の動作を説明するためのタイミングチャート、第
3図および第4図は従来の狭パルス幅検出回路の説明図
である。 10,122……遅延素子、11……比較時間発生部、111,112,
121……D形フリップフロップ、113……排他的オアゲー
ト、12……狭パルス検出部、123……インバータ。
FIG. 1 is a structural explanatory view showing an embodiment of the present invention, FIG. 2 is a timing chart for explaining the operation of FIG. 1, and FIGS. 3 and 4 are explanations of a conventional narrow pulse width detection circuit. It is a figure. 10,122 …… Delay element, 11 …… Comparison time generator, 111,112,
121 ... D flip-flop, 113 ... exclusive OR gate, 12 ... narrow pulse detector, 123 ... inverter.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】パルス入力信号が加えられる遅延素子と、 クロック端子にパルス入力信号が前記遅延素子を介して
加えられる第1のD形フリップフロップと、クロック端
子にパルス入力信号が直接加えられる第2のD形フリッ
プフロップと、これらD形フリップフロップの非反転出
力信号が加えられる排他的オアゲートとで構成され、第
1のD形フリップフロップの反転出力信号は第2のD形
フリップフロップのデータ端子に加えられて第2のD形
フリップフロップの非反転出力信号は第1のD形フリッ
プフロップのデータ端子に加えられ、前記パルス入力信
号の前端と前記遅延素子の出力信号の前端の時間幅に等
しい比較時間信号を出力する比較時間発生部と、 前記パルス入力信号およびこの比較時間発生部の出力信
号が入力され前記パルス入力信号の後端で前記比較時間
発生部の出力を検出するパルス検出部、 とを具備したことを特徴とする狭パルス幅検出回路。
1. A delay element to which a pulse input signal is applied, a first D-type flip-flop to which a pulse input signal is applied to a clock terminal through the delay element, and a pulse input signal which is directly applied to a clock terminal. 2 D-type flip-flops and an exclusive OR gate to which the non-inverted output signals of these D-type flip-flops are added. The inverted output signal of the first D-type flip-flop is the data of the second D-type flip-flop. The non-inverted output signal of the second D-type flip-flop applied to the terminal is applied to the data terminal of the first D-type flip-flop, and the time width between the front end of the pulse input signal and the front end of the output signal of the delay element is applied. A comparison time generation unit for outputting a comparison time signal equal to the pulse input signal and an output signal of the comparison time generation unit, Pulse detecting unit for detecting an output of the comparison time generating unit at the rear end of the input signal, the narrow pulse width detection circuit, characterized by comprising the city.
JP63054275A 1988-03-08 1988-03-08 Narrow pulse width detection circuit Expired - Lifetime JPH0775307B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63054275A JPH0775307B2 (en) 1988-03-08 1988-03-08 Narrow pulse width detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63054275A JPH0775307B2 (en) 1988-03-08 1988-03-08 Narrow pulse width detection circuit

Publications (2)

Publication Number Publication Date
JPH01227969A JPH01227969A (en) 1989-09-12
JPH0775307B2 true JPH0775307B2 (en) 1995-08-09

Family

ID=12966021

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63054275A Expired - Lifetime JPH0775307B2 (en) 1988-03-08 1988-03-08 Narrow pulse width detection circuit

Country Status (1)

Country Link
JP (1) JPH0775307B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS542046A (en) * 1977-06-07 1979-01-09 Fujitsu Ltd Logic circuit
JPS57152725A (en) * 1981-03-17 1982-09-21 Honda Motor Co Ltd Discriminating circuit for signal pulse width

Also Published As

Publication number Publication date
JPH01227969A (en) 1989-09-12

Similar Documents

Publication Publication Date Title
US5097490A (en) Apparatus and method for improving the resolution with which a test signal is counted
JPH07280857A (en) Pulse width measurement circuit
JP3349943B2 (en) Semiconductor device
JPH0775307B2 (en) Narrow pulse width detection circuit
KR950006468A (en) Periodic measuring device
CN113063992B (en) Timing circuit and timing method for measuring time difference between two paths of pulse signals
JP2622845B2 (en) Delay time measurement circuit
RU2054681C1 (en) Pulse repetition frequency meter
JP2775822B2 (en) Inverter on-delay circuit
JP2936800B2 (en) Signal generator
JPS62280656A (en) Pulse generator
JPS5838750B2 (en) Period comparison circuit
JPH0119545B2 (en)
Räisänen-Ruotsalainen et al. Integrated time-to-digital converters based on interpolation
JPS6233394Y2 (en)
JPH01109267A (en) Narrow pulse width detecting circuit
JP2523890B2 (en) Pulse phase measurement device
JPH03109096U (en)
KR940009816B1 (en) Pulse width detecting method
JP2599759B2 (en) Flip-flop test method
JPH05119168A (en) Synchronous jitter amount measuring device
JPH0455274B2 (en)
JP2006229607A (en) Semiconductor device and oscillation frequency correction method
JPH03235527A (en) A/d converter
JP2622853B2 (en) Doubler circuit