JPS639869A - Time width measuring circuit - Google Patents

Time width measuring circuit

Info

Publication number
JPS639869A
JPS639869A JP15475686A JP15475686A JPS639869A JP S639869 A JPS639869 A JP S639869A JP 15475686 A JP15475686 A JP 15475686A JP 15475686 A JP15475686 A JP 15475686A JP S639869 A JPS639869 A JP S639869A
Authority
JP
Japan
Prior art keywords
circuit
output
pulse
time
shot circuit
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
JP15475686A
Other languages
Japanese (ja)
Inventor
Mitsuru Nakae
中江 満
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP15475686A priority Critical patent/JPS639869A/en
Publication of JPS639869A publication Critical patent/JPS639869A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To permit automatic instrumentation with real-time for pulse generating duration of undefined pulse width and pulse separation and to display said pulse immediately by connecting the output of two one shot circuits to a logical operation circuit and counting clock pulse. CONSTITUTION:A one shot circuit 1 capable of retrigger which is triggered by the pulse to be measured and a one shot circuit 2 which has the same output pulse width as that of the circuit 1 and is triggered by the building-up output in the circuit 1 are provided. The clock pulse is countered by a counter 4 through a gate 3 which is opened by AND of the output of the circuit 1 and inversion output of the circuit 2. The duration of high level output (b) in the circuit 1 is additional time of generating duration time T of pulse to be measured and output pulse width (tw) of the circuit 2. The duration of a signal (d) which is AND of the output of the circuit 1 and NOT output of the circuit 2, is equal to the time T which is the difference obtained by subtraction of time (tw) from the time width of output (b) in the circuit 1. The gate 3 is opened by this signal (d) so that the clock pulse counting value is expressed numerically for the time T.

Description

【発明の詳細な説明】 イ 産業上の利用分骨 本発明はスイッチ特性の一つである、切替わり時間、チ
ャタリング時間、バウンシング時間等を自動的に測定す
る場合等に用いられる不安定パルス発生期間計測回路に
関する。
[Detailed Description of the Invention] A. Industrial Application The present invention is a method for generating unstable pulses used when automatically measuring switching time, chattering time, bouncing time, etc., which are one of the switch characteristics. This relates to a period measurement circuit.

口 従来の技術 スイッチを開閉した際、チャタリングとかバウンシング
〔接点の反跳)等によって不規則なパルスが発生し、回
路誤動作の原因となるので、場合ボー によってはスイッチ開閉の際は一定期間回路ガスイッチ
の開閉に対して応答しないようにする必要がある。この
場合不応答期間は長く設定しておけば回路動作の確実性
は得られるが、動作速度が遅くなる。従ってスイッチ動
作におけるチャタリング等の起っている期間はスイッチ
の一つの重要な特性であり、回路設計上からも、スイッ
チの製造における品質管理上からも、上記期間の測定の
必要性は高い。
When a conventional technology switch is opened or closed, irregular pulses are generated due to chattering or bouncing (rebound of the contact), which can cause circuit malfunction. It is necessary to avoid responding to opening/closing. In this case, if the non-response period is set long, reliability of circuit operation can be obtained, but the operation speed becomes slower. Therefore, the period during which chattering or the like occurs during switch operation is one of the important characteristics of the switch, and it is highly necessary to measure the period from the standpoint of circuit design and quality control in switch manufacturing.

従来上述したスイッチ動作時のチャタリング等の不安定
パルスの発生期間を計測する方法としては、ストレージ
オシロスコープ等で波形を観測する方法が用いられてい
た。
Conventionally, a method of observing the waveform with a storage oscilloscope or the like has been used to measure the period during which unstable pulses such as chattering occur during switch operation.

ハ 発明が解決しようとする問題点 上述したストレージオシロスコープを用いル方法ではブ
ラウン管上の波形を目視観察してスイッチ開閉時の不安
定期間の長さをスケールで計測するので、−回の測定に
時間がか\す、工場における製品検査等には不向きであ
る。
C. Problems to be Solved by the Invention In the method using the storage oscilloscope described above, the waveform on the cathode ray tube is visually observed and the length of the unstable period when the switch is opened/closed is measured on a scale. However, it is not suitable for product inspection in factories.

従って本発明はスイッチのチャタリングのような非同期
的に発生するパルス幅、パルス間隔が不特 定のパルスの発生Y続時間をリアルタイムで自動計測し
直ちに表示できる装置を提供しようとするものである。
Therefore, an object of the present invention is to provide an apparatus that can automatically measure in real time the duration of the occurrence of asynchronously occurring pulses with unspecified pulse widths and pulse intervals, such as switch chattering, and immediately display the same.

二 問題点解決のための手段 第1図に示すように発生持続時間を測定すべき被検パル
スによってトリガされ、適宜時間幅のパルスを出力する
再トリガ可能な第1のワンショット回路1と、このワン
ショット回路の出力パルスの立上りによってトリガされ
、同ワンショット回路の出力パルスと同幅のパルスを出
力する第2のワンショット回路2と、上記第1のワンシ
ョット回路の出力と第2のワンショット回路の出力の不
定との論理積によって開(ゲート3を介して入力される
クロックパルスを計数するカウンタ4によって、被検パ
ルスの発生持続時間を計測するようにした。
2. Means for Solving Problems As shown in FIG. 1, a re-triggerable first one-shot circuit 1 which is triggered by a test pulse whose generation duration is to be measured and outputs a pulse with an appropriate time width; A second one-shot circuit 2 is triggered by the rising edge of the output pulse of this one-shot circuit and outputs a pulse having the same width as the output pulse of the one-shot circuit, and a second one-shot circuit 2 is connected to the output of the first one-shot circuit and the second one-shot circuit. A counter 4 that counts clock pulses inputted through a gate 3 measures the duration of generation of the pulse to be tested.

ホ 作用 スイッチのチャタリングによって発生する不規則パルス
はパルス幅及び周期が不定とは云っても、実際土酸る上
限があって、それは経験的に知ることができる。第1図
におけるワンショット回路1゜2の出力パルスの幅はこ
の周期及びパJpス幅何れの上限よりも幾分長(設定し
ておく。第2図aは被測定パルスを示す。第2図すは第
1のワンショット回路の出力で、最初の被測定パルスに
よってトリガされ、出力パルス幅が終らないうちに次の
被測定パルスが来るので、結局用1のワンショット回路
の出力はハイレベルが続いて被測定パルスの最後のもの
よりワンショット回路の出力パルスの時間幅twだけお
(れて、ローレベルに復帰する。即ち第1のワンショッ
ト回路のハイレベル出力の継続時間は被測定パルスの発
生持続時間Tにワンショット回路の出力パルス幅twを
付加した時間になっている。第2図Cは第2のワンショ
ット回路の出力を示し、第2図dは第1のワンショット
回路の出力と第2のワンショット回路り否定との論理積
を示し、この信号の継続時間は第1のワンショット回路
の出力の時間幅からtwを引いたものになっており、こ
れは被測定パルスの発生持続時間Tに他ならない。第1
因のゲート3はこ(7)第2図dの信号で開(ので、そ
の間のクロックパルス計数値はTを数値化したものにな
っている。
Although the irregular pulses generated by the chattering of the operating switch have an indefinite pulse width and period, there is actually a certain upper limit, which can be known empirically. The width of the output pulse of the one-shot circuit 1゜2 in Fig. 1 is set to be somewhat longer than the upper limit of both this period and the pulse width. Fig. 2 a shows the pulse to be measured. The figure shows the output of the first one-shot circuit. It is triggered by the first pulse to be measured, and the next pulse to be measured comes before the output pulse width ends, so the output of the first one-shot circuit ends up being high. The level continues to be delayed by the time width tw of the output pulse of the one-shot circuit compared to the last one of the pulses to be measured, and then returns to the low level. That is, the duration of the high-level output of the first one-shot circuit is The output pulse width tw of the one-shot circuit is added to the generation duration T of the measurement pulse. Fig. 2C shows the output of the second one-shot circuit, and Fig. 2d shows the output of the first one-shot circuit. It shows the AND of the output of the shot circuit and the negation of the second one-shot circuit, and the duration of this signal is the time width of the output of the first one-shot circuit minus tw, which is This is nothing but the generation duration T of the pulse to be measured.
The gate 3 (7) is opened by the signal shown in FIG.

へ 実施例 第3図に本発明の一実施例を示す。スイッチの検査では
スイッチ08時とOFF時の両方について検査する必要
がある。第4図は被測定信号の波形の一例で、aはスイ
ッチ08時、bはスイッチOFF時を示す。曲順の説明
は原理だけの説明なのでスイッチ08時の測定に則した
説明になっている。スイッチOFF時を考えると、第1
図の第1のワンショット回路の出力はスイッチOFF後
の最初のパルスで立上るので、第4図のP点で立上り、
Δtの時間幅が計測されないことになる。
Embodiment FIG. 3 shows an embodiment of the present invention. When inspecting the switch, it is necessary to inspect both the switch 08 and OFF states. FIG. 4 shows an example of the waveform of the signal to be measured, in which a shows the state when the switch is 08 and b shows the state when the switch is off. Since the explanation of the song order is only an explanation of the principle, the explanation is based on the measurement when the switch is 08. Considering the time when the switch is OFF, the first
The output of the first one-shot circuit in the figure rises at the first pulse after the switch is turned off, so it rises at point P in Figure 4,
The time width of Δt will not be measured.

第3図の実施例では、スイッチのON時OFF時何れも
測定できるようにするため、第1のワンショット回路を
被検信号の立上りでトリガされるワンショット回路IA
と、被検信号の立下りでトリガされるワンショット回路
IBの2個用い、両者のQ出力をオア回路5を介して第
2のワンショット回路2に入力するようにした。また第
2のワンショット回路のQ出力の否定信号の代りにQ出
力を用い、アンド回路6によりオア回路5の出力と第2
ワンショット回路2のQ出力の論理積を得てゲート3を
開くようにした。7はグロックパルス発振回路で、その
出力パルスがゲート3を介してカウンタ4に入力され計
数される。カウンタ4の計数データは制御回路10から
の出力指令指号Eによって表示装置8に出力され表示装
置8によって表示されると共にディジタルコンパレータ
9において検査規準値と比較され、良否判別信号が出力
される。またカウンタ4は制御回路10からのリセット
信号Rによってリセットされ、次の測定に備えられる。
In the embodiment shown in FIG. 3, in order to be able to measure both the ON and OFF states of the switch, the first one-shot circuit is a one-shot circuit IA that is triggered by the rising edge of the signal under test.
and one-shot circuit IB which is triggered by the falling edge of the signal under test are used, and the Q outputs of both are inputted to the second one-shot circuit 2 via the OR circuit 5. Also, the Q output is used instead of the negative signal of the Q output of the second one-shot circuit, and the AND circuit 6 combines the output of the OR circuit 5 with the second one-shot circuit.
The gate 3 is opened by obtaining the logical product of the Q outputs of the one-shot circuit 2. 7 is a Glock pulse oscillation circuit, the output pulses of which are input to a counter 4 via a gate 3 and counted. The count data of the counter 4 is output to and displayed on the display device 8 by the output command command E from the control circuit 10, and is also compared with the inspection standard value in the digital comparator 9, and a pass/fail determination signal is output. Further, the counter 4 is reset by a reset signal R from the control circuit 10, and is prepared for the next measurement.

ワンショット回路IA、オア回路5.ワンショット回路
2の系統の動作は作用の項で述べた所と同じである。ワ
ンショット回路IB、 オア回路5゜ワンショット回路
2の系統も動作の基本は同じである。第4図Cがこの系
統の動作を説明するもので、ワンショット回路IBは被
検パルスの立下りでトリガされるので、IBのQ出力は
第4図すで被検スイッチ出力信号の最初の立下りで立上
り、ワンショット回路IAの系統に現われるΔtの誤差
が解消される。またIBの系統はスィッチ08時第4図
aで最後のトリガは1点で行われ、LAの最後のトリガ
が3点で行われるため、IAのQ出力の方がIBのQ出
力より長く、時間計測はIA、IBの両Q出力のうち長
い方に基いて行われるから、IBがスイッチON時の測
定の邪魔にはならない。同様にしてIAもスイッチOF
F時の測定の邪魔にはならない。
One-shot circuit IA, OR circuit5. The operation of the one-shot circuit 2 system is the same as described in the section of operation. The basic operation of the one-shot circuit IB and OR circuit 5° one-shot circuit 2 systems is the same. Figure 4C explains the operation of this system.Since the one-shot circuit IB is triggered by the falling edge of the test pulse, the Q output of IB is already at the beginning of the test switch output signal. It rises at the falling edge, and the error of Δt appearing in the one-shot circuit IA system is eliminated. In addition, in the IB system, the last trigger is performed at one point at switch 08 (Figure 4a), and the last trigger of LA is performed at three points, so the Q output of IA is longer than the Q output of IB, Since time measurement is performed based on the longer Q output of both IA and IB, IB does not interfere with measurement when the switch is ON. Similarly, IA is also switched off.
It does not interfere with measurement at F.

ト 効果 上述説明はスイッチ試験用として行われたが、本発明は
不規則非同期のパルスの発生持続時間の測定一般に適用
できるものである。
G. Effects Although the above explanation was made for switch testing, the present invention is applicable to general measurement of the duration of generation of irregular asynchronous pulses.

本発明によれば、パルス波形をオシロスコープで画かせ
てスケールで時間を測るのと異り、全く自動的にパルス
発生の持続時間が測られ、しかも、パルス発生の終るの
と略同時(twの遅れがあるだけ)に測定結果が得られ
るので、検査や測定が能率的に行われ、オシロスコープ
により画かれた波形から時間を求めるより高精度の測定
ができる。
According to the present invention, unlike drawing a pulse waveform with an oscilloscope and measuring time with a scale, the duration of pulse generation is measured completely automatically, and moreover, it is possible to measure the duration of pulse generation almost at the same time as the end of pulse generation (tw. Since measurement results are obtained quickly (with a slight delay), inspections and measurements can be carried out efficiently, and measurements can be made with higher precision than when determining time from a waveform drawn by an oscilloscope.

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

第1図は本発明の原理を示す回路図、第2図は原理説明
のためのタイムチャート、第3図は本発明の一実施例の
回路図、第4図は同実施例の動作説明のためのタイムチ
ャートである。 1、IA、IB・・・第1のワンショット回路、2・・
・第2のワンショット回路、4・・・カウンタ。 代理人 弁理士  縣     浩  分用1図 第2図 第3図 ! 第4図 スイ・ノチON
Fig. 1 is a circuit diagram showing the principle of the present invention, Fig. 2 is a time chart for explaining the principle, Fig. 3 is a circuit diagram of an embodiment of the invention, and Fig. 4 is an explanation of the operation of the embodiment. This is a time chart for 1, IA, IB...first one-shot circuit, 2...
- Second one-shot circuit, 4... counter. Agent Hiroshi Agata, Patent Attorney Figure 1, Figure 2, Figure 3! Figure 4 Sui Nochi ON

Claims (1)

【特許請求の範囲】[Claims] 被測定パルスによつてトリガされる再トリガ可能な第1
のワンショット回路と、このワンショット回路と同じ出
力パルス幅を有し、上記第1のワンショット回路の出力
の立上りによりトリガされる第2のワンショット回路と
、第1のワンショット回路の出力と第2のワンショット
回路の反転出力との論理積により開かれるゲートを介し
てクロックパルスを計数するカウンタとよりなる時間幅
測定回路。
a retriggerable first trigger triggered by the pulse to be measured;
a one-shot circuit, a second one-shot circuit that has the same output pulse width as this one-shot circuit and is triggered by the rising edge of the output of the first one-shot circuit, and an output of the first one-shot circuit. and the inverted output of the second one-shot circuit.
JP15475686A 1986-06-30 1986-06-30 Time width measuring circuit Pending JPS639869A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15475686A JPS639869A (en) 1986-06-30 1986-06-30 Time width measuring circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15475686A JPS639869A (en) 1986-06-30 1986-06-30 Time width measuring circuit

Publications (1)

Publication Number Publication Date
JPS639869A true JPS639869A (en) 1988-01-16

Family

ID=15591216

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15475686A Pending JPS639869A (en) 1986-06-30 1986-06-30 Time width measuring circuit

Country Status (1)

Country Link
JP (1) JPS639869A (en)

Similar Documents

Publication Publication Date Title
JP4669197B2 (en) ATE timing measurement apparatus and method
US5122694A (en) Method and electrical circuit for eliminating time jitter caused by metastable conditions in asynchronous logic circuits
US4495621A (en) Glitch detecting and measuring apparatus
KR20040068971A (en) High accuracy method for determining the frequency of a pulse input signal over a wide frequency range
US3354700A (en) Apparatus for measuring thickness of materials by sound-wave reflection
JPS639869A (en) Time width measuring circuit
US4799023A (en) Circuits and apparatus which enable elimination of setup time and hold time testing errors
US4236067A (en) Automatic sweep circuit
JPS61201173A (en) Instrument for measuring characteristics of magnetic disk
JPH0390866A (en) Measurement timing generating device for electron beam tester
SU1087902A1 (en) Stroboscopic meter of nanosecond pulse parameters
SU761934A1 (en) Phase shift digital meter
JPS6236264B2 (en)
JPS5883433A (en) Logical level detector
JPS5824220Y2 (en) glitch detector
JPS6279374A (en) Inspecting device for insulator thin film
PL151626B1 (en) System for identificationof dynamic properties of inertial objects
US7379837B1 (en) Method and system for testing integrated circuits
SU917144A1 (en) Logic probe
RU2047865C1 (en) Digital device for real-time measurement of radio signal parameters
JPH0325376A (en) Signal width measuring instrument
JPH0392777A (en) Clock evaluator
JPS61117470A (en) Testing device
JPS6330769A (en) Logic analyzer
JPS59203971A (en) Inspecting device of lsi