JPH0325378A - Signal measuring instrument - Google Patents

Signal measuring instrument

Info

Publication number
JPH0325378A
JPH0325378A JP16028689A JP16028689A JPH0325378A JP H0325378 A JPH0325378 A JP H0325378A JP 16028689 A JP16028689 A JP 16028689A JP 16028689 A JP16028689 A JP 16028689A JP H0325378 A JPH0325378 A JP H0325378A
Authority
JP
Japan
Prior art keywords
signal
counter
width
time
counting
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
JP16028689A
Other languages
Japanese (ja)
Inventor
Hiroshi Shirakawa
洋 白川
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP16028689A priority Critical patent/JPH0325378A/en
Publication of JPH0325378A publication Critical patent/JPH0325378A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Unknown Time Intervals (AREA)

Abstract

PURPOSE:To accurately find a signal width mean value by measuring a burst signal by using a one-shot counter whose operation time width is determined by a counting time at the time of reference clock counting and performing arithmetic processing. CONSTITUTION:An input signal 101 is a burst signal which consists of 1 or >=2 pulses and is generated intermittently. A retriggerable one-shot counter 1 operates with a start signal 107 from a microcomputer 3, its operation time width is determined by the counting operation time when the reference clock signal from a clock oscillator 4 is counted by a set number, and the counter is triggered with a pulse of the burst signal. A microcomputer 3 divides the counted value of the time width counter 2 when the pulse generation frequency of the counter 1 reaches an expected value by the expected frequency and subtracts the operation time width tw from the counter 1 to accurately find the signal width mean value tx.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は1のパルス又は2以上のパルス群により構威さ
れるバースト信号の時間幅を′Alll定する信号幅測
定装置に関する。
Detailed Description of the Invention [Object of the Invention] (Industrial Application Field) The present invention provides a signal width measuring device for determining the time width of a burst signal composed of one pulse or a group of two or more pulses. Regarding.

(従来の技術) 従来、所定の動作時間幅を持つ再トリガ可能なワンショ
ット回路に被測定信号を入力してこのワンショット回路
を動作させ、被測定信号の入力177点からこのワンシ
ョット回路の動作終了時点までの時間をカウントし、こ
の時間から上記動作時間幅を減じることにより被測定信
号の信号幅を求める信号幅測定装置がある。
(Prior Art) Conventionally, a signal under test is input to a retriggerable one-shot circuit having a predetermined operating time width, the one-shot circuit is operated, and the one-shot circuit is operated from 177 input points of the signal under test. There is a signal width measuring device that calculates the signal width of the signal under test by counting the time until the end of the operation and subtracting the operation time width from this time.

この装置によれば、被測定信号が断続的に発生するよう
なものであっても、そのパルス群の人力開始時点ならび
に入力終了時点を捕えることができるため、その信号幅
の測定値を容易に得ることができる。
According to this device, even if the signal to be measured is generated intermittently, it is possible to capture the start point of manual input and the end point of input of the pulse group, making it easy to measure the signal width. Obtainable.

ところで、このような単独の測定値の他に、多数の測定
値の平均値を得る場合、上記の装置によっても、複数の
測定値を得、これを平均することで平均値を得ることが
できるが、そのためには当然のこどながら複数回の測定
が必要になる。この場合において、被測定信号が短時間
に頻繁に発生するものであれば良いが、その発生回数が
少ないほど平均値算出用となる必要数の測定値を得るの
に長時間がかかることになり、測定作業者はその必要数
の測定値が得られるまで測定作業に拘束されるようにな
る。
By the way, in addition to such a single measurement value, when obtaining the average value of a large number of measurement values, the above-mentioned device can also be used to obtain the average value by obtaining multiple measurement values and averaging them. However, this naturally requires multiple measurements. In this case, it is fine as long as the signal under test occurs frequently in a short period of time, but the fewer times the signal occurs, the longer it will take to obtain the required number of measured values for calculating the average value. , the measurement worker is bound to the measurement task until the required number of measured values is obtained.

そこで、その一連の作業をマイクロコンビュー夕により
自動的に行うことも考えられるが、この場合、マイクロ
コンピュータは、測定のスタート、測定終了のチェック
、データの読取り、その加算等の処理を毎回の測定で行
わなければならず、負担が大きくなるという問題がある
Therefore, it is conceivable to automatically perform this series of operations using a microcomputer, but in this case, the microcomputer would perform processes such as starting measurement, checking the end of measurement, reading data, and adding the data each time. This has to be done by measurement, which poses a problem of increasing burden.

(発明が解決しようとする課題) このように、従来の信号幅l1111定装置にあっては
、平均値を求める場合、そのための多数のサンプル値を
得るために複数回の測定を行なわなければならないがた
め5作業時間が嵩み、また、その作業を行うマイクロコ
ンピュータには大きな負担を課すこととなっていた; そこで、本発明の発明者は、そのサンプル値を複数得る
のではなく、測定複数回分のデータを累積した後に、そ
の回数で平均を取ることを考えている。ただし、ワンシ
ョット回路の動作時間幅の精度が低いと、その動作時間
幅の丈際値と演算部でのプリセット値との間に誤差が生
じ、したがってデータの累積に伴ってその誤差も累積さ
れることとなるため、この点に難しさがある。
(Problem to be Solved by the Invention) As described above, in the conventional signal width l1111 determination device, when determining the average value, it is necessary to perform multiple measurements in order to obtain a large number of sample values. Therefore, the inventor of the present invention decided to measure multiple values instead of obtaining multiple sample values. I'm thinking of accumulating the data for each time and then taking the average over that number of times. However, if the accuracy of the one-shot circuit's operating time width is low, an error will occur between the edge value of the operating time width and the preset value in the calculation section, and this error will accumulate as data accumulates. There is a difficulty in this point, because

本発明は、この点に鑑みてなされたもので、その目的と
するところは、複数回のΔ)I定を要することなくバー
スト信号の信号幅の平均値を正確に求めることができる
信号幅測定装置を提供することにある。
The present invention has been made in view of this point, and its purpose is to measure a signal width by which the average value of the signal width of a burst signal can be accurately determined without requiring multiple Δ)I determinations. The goal is to provide equipment.

〔発明の構成〕[Structure of the invention]

(課題を解決するための手段) 本発明の信号幅測定装置は、ワンショットパルスが発生
される毎にその発生期間だけカウント動作してそのカウ
ント値を累積し、そのhウント値がワンショットパルス
の発生回数にして予定回数分に到達したとき時間カウン
ト手段のカウント値を読取りこれに平均値演算を施して
信号幅の平均値を求めるようにするとともに、ワンショ
ットパルス発生手段の動作時間幅を基準クロックカウン
ト時のカウント動作時間により決定するようにしたもの
である。
(Means for Solving the Problems) The signal width measuring device of the present invention performs a counting operation for a period of time each time a one-shot pulse is generated, accumulates the count value, and calculates the h-count value of the one-shot pulse. When the number of occurrences reaches the scheduled number of times, the count value of the time counting means is read and the average value is calculated to obtain the average value of the signal width, and the operating time width of the one-shot pulse generation means is This is determined based on the counting operation time when counting the reference clock.

(作 用) 本発明によれば、ワンショットパルス発生手段の動作時
間幅は基準クロックカウント時のカウント動作時間によ
り決定されるので、高粘度に設定が可能で、データ累積
による誤差の累積を防止することができ、信号幅平均値
を正確に求めることができる。
(Function) According to the present invention, since the operating time width of the one-shot pulse generating means is determined by the counting operation time during reference clock counting, it is possible to set a high viscosity and prevent the accumulation of errors due to data accumulation. It is possible to accurately determine the signal width average value.

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

第1図において、101は入力信号であり、ここでは、
この入力信号101として第2図(A)に示すように、
それぞれ複数のパルスにより形成されるバースト信号b
が生ずるものを対象とする。
In FIG. 1, 101 is an input signal, and here,
As shown in FIG. 2(A) as this input signal 101,
Burst signal b each formed by a plurality of pulses
Targets those that occur.

txは各バースト信号bの信号幅であり、本文施例の装
置は、このバースト信号b,b,・・・の信号幅txの
平均値を求めようというものである。
tx is the signal width of each burst signal b, and the apparatus of this embodiment is intended to find the average value of the signal width tx of the burst signals b, b, . . . .

3はマイクロコンピュータであり、当該・ド均1直の算
出、その測定値の個数、filll定スタート信号の発
生等の機能を有し、手段31〜35はそれらの機能に夫
々対応するものである。
Reference numeral 3 denotes a microcomputer, which has functions such as calculating the per-day average, the number of measured values, and generating a fill constant start signal, and means 31 to 35 correspond to these functions, respectively. .

9はアンドゲート、8はインバータである。アンドゲー
ト9はゲート信号110が“H”のときのみ入力信号1
01を通過させるもので、102はこのアンドゲート9
の出力信号である。インバータ8はこのアンドゲート9
の出力を反転させるもんで、103はその出力信号であ
る。この構成において、ゲート信号110が“L“のと
きには、信号102は“L“、信号103は“H”とな
る。
9 is an AND gate, and 8 is an inverter. The AND gate 9 inputs the input signal 1 only when the gate signal 110 is “H”.
01 is passed through, and 102 is this AND gate 9
is the output signal of Inverter 8 is this AND gate 9
103 is its output signal. In this configuration, when the gate signal 110 is "L", the signal 102 is "L" and the signal 103 is "H".

そして、ゲート信号110が′H“となったときには、
信号102が立上がらないままであれば、ゲートが開く
前と状態は変わらず、信号102が立上がると信号10
3は“L゜になり、信号102が立下がると信号103
が立上がる。よって、ゲート信号110が″H′″にな
ると、まず信号102が立上がり、その後に信号103
が立上がる、という順番になる。
Then, when the gate signal 110 becomes 'H',
If the signal 102 does not rise, the state remains unchanged from before the gate opens, and when the signal 102 rises, the signal 10
3 becomes "L°", and when the signal 102 falls, the signal 103
stands up. Therefore, when the gate signal 110 becomes "H", the signal 102 rises first, and then the signal 103 rises.
stand up, and so on.

4はクロック発振器であり、被測定信号102であるバ
ースト信号のパルス繰返し周波数よりも十分に高い周波
数の高精度基準クロック信号50を発生する。
A clock oscillator 4 generates a high-precision reference clock signal 50 having a frequency sufficiently higher than the pulse repetition frequency of the burst signal that is the signal under test 102 .

1はワンシッットカウンタ、12はフリップフロップ、
7はオアゲートである。
1 is a one-sit counter, 12 is a flip-flop,
7 is the or gate.

ワンショットカウンタ1は、信号103の立上がり(す
なわち、入力信号101の立下がり)によりトリガされ
て、基準クロック信号のクロックパルスを設定数だけカ
ウントするもので、そのカウント動作時間内は″L#を
出力し、カウント動作時間外は′H#を出力する。この
カウント値で設定されるカウント時間は信号103のパ
ルス間隔より長く設定されるものである。よって、この
ワンショットカウンタ1は、バースト信号bの最初のパ
ルスの立下がりBlによりトリガされてからは2番目、
3番目のパルスの立下がりB2,B3によりその出力信
号104が立上がる前に再トリガされるため、3番目の
パルスの立下がりB3によるトリガ後、時間tw経過ロ
2fまでその出力信号を“L゜に保持するようになって
いる。
The one-shot counter 1 is triggered by the rising edge of the signal 103 (that is, the falling edge of the input signal 101) and counts a set number of clock pulses of the reference clock signal. The one-shot counter 1 outputs 'H#' outside the counting operation time.The count time set by this count value is set longer than the pulse interval of the signal 103.Therefore, this one-shot counter 1 The second after being triggered by the falling edge Bl of the first pulse of b,
Since the output signal 104 is retriggered before it rises due to the falling edges B2 and B3 of the third pulse, the output signal remains "L" until the time tw elapses after the triggering due to the falling edge B3 of the third pulse. It is designed to be held at ゜.

フリップフロップ12は、そのデータ人力端子が電源電
圧Vccにより“H”に保持され、同クロック入力端子
には信号102が入力され、同リセット入力端子には信
号104が反転入力されている。このフリップフロツプ
12は信号104が“H”のときに信号102の立上が
りによりオンとなり、その出力が″L”になるとともに
、信号104の立下がりによりリセットされる。よって
、このフリップフロップ12はバースト信号102の最
初のパルスの立上がりRによりその出力が″L#になり
、ワンショットカウンタ1の出力1言号104の立下が
りによりリセットされてその出力が“H“になる。
The data terminal of the flip-flop 12 is held at "H" by the power supply voltage Vcc, the signal 102 is input to the clock input terminal, and the inverted signal 104 is input to the reset input terminal. This flip-flop 12 is turned on by the rise of the signal 102 when the signal 104 is "H", its output becomes "L", and is reset by the fall of the signal 104. Therefore, the output of this flip-flop 12 becomes "L#" at the rising edge R of the first pulse of the burst signal 102, and is reset by the falling edge of the output 1 word 104 of the one-shot counter 1, and its output becomes "H". become.

オアゲート7にはフリップフロツプ12並びにワンショ
ットカウンタ1の出力信号111,104が反転入力さ
れ、このオアゲート7によりそれらの論理和が取られる
ようになっている。よって、このオアゲート7は、信号
111.104が“L゛である間、つまり、入力信号1
01の立上がりからワンショットカウンタ1の出力信号
104の立上がりまでの間、即ち、tx+tvの期間だ
け“H”を出力する。
The output signals 111 and 104 of the flip-flop 12 and the one-shot counter 1 are inverted and input to the OR gate 7, and the OR gate 7 calculates the logical sum of these signals. Therefore, this OR gate 7 operates while the signals 111 and 104 are "L", that is, the input signal 1
It outputs "H" only during the period from the rise of 01 to the rise of the output signal 104 of the one-shot counter 1, that is, during the period of tx+tv.

13はフリップフロップであり、そのデータ人力端子は
電圧Vccにより“H”に保持され、同クロック入力端
子にはワンショットカウンタ1の出力が入力され、同リ
セット入力端子にはスタート信号107が反転入力され
ている。このフリップフロップ13は、スタート信号1
07が立上がってからのワンショットカウンタ1の最初
の立上がりによりその出力信号105が“H“となる。
13 is a flip-flop, the data input terminal of which is held at "H" by the voltage Vcc, the output of the one-shot counter 1 is input to the clock input terminal, and the start signal 107 is inverted to the reset input terminal. has been done. This flip-flop 13 receives the start signal 1
When the one-shot counter 1 rises for the first time after 07 rises, its output signal 105 becomes "H".

ここで、スタート信号107は、マイクロコンピュータ
3のifll+定モード発生手段32及び測定モード保
持手段33により発生されるものである。
Here, the start signal 107 is generated by the ifll+constant mode generating means 32 and the measurement mode holding means 33 of the microcomputer 3.

測定モード発生手段32は測定作業者が図示1一ないコ
ンソールを通じて指令を出すと測定モード信号を生成す
るものである。測定モード保tjf千段33はこの測定
モード信号をラッチし,、その出力を立上げるもので、
この測定モード保持千段33の出力がスタート信号10
7とされるものである。
The measurement mode generating means 32 generates a measurement mode signal when a measurement operator issues a command through a console (not shown). The measurement mode holding tjf stage 33 latches this measurement mode signal and raises its output.
The output of this measurement mode holding stage 33 is the start signal 10.
7.

10はオアゲート7の出力信号をゲートするためのアン
ドゲートであり、このオアゲート7の出力信号とフリッ
プフロップ13の出力信号105とは、このアンドゲー
ト10により論理槓が取られる。このアンドゲート10
は、フリツブフロツブl3の出力信号105が“H″の
ときにオアゲート7の出力を通過させ、バースト信号b
の発生期間(信号幅tx)の途中でスタート信号107
が立上がった場合のオアゲート7の“H“出力通過を阻
止する。
Reference numeral 10 denotes an AND gate for gating the output signal of the OR gate 7, and the output signal of the OR gate 7 and the output signal 105 of the flip-flop 13 are logically connected by the AND gate 10. This and gate 10
When the output signal 105 of the flipflop l3 is "H", the output of the OR gate 7 is passed through, and the burst signal b
The start signal 107 is generated in the middle of the generation period (signal width tx).
This prevents the "H" output of the OR gate 7 from passing when the voltage rises.

11はクロック発振器4からのクロツク信号50をゲー
トするためのアンドゲートであり、クロック信号50と
アンドゲート10の出力信号106とはこのアンドゲー
ト11で論理積が取られ、信号106が“H1のときの
み、即ち、tx+twの期間だけクロック信号50がこ
のアンドゲート10を通過するようになっている。
Reference numeral 11 denotes an AND gate for gating the clock signal 50 from the clock oscillator 4. The clock signal 50 and the output signal 106 of the AND gate 10 are ANDed by the AND gate 11, and the signal 106 becomes "H1". The clock signal 50 passes through the AND gate 10 only during the period tx+tw.

2は時間カウンタである。この時間カウンタ2はフリッ
プフロップ13の出力信号105が立上がってからバー
スト信号bが入力される度にtx+tvの期間をカウン
ト動作し、そのjx+tWの期間に相当するカウント値
を累積するもので、アンドゲート11によりゲートされ
たクロック信号50をカウントすることによりこれを行
う。
2 is a time counter. This time counter 2 counts the period tx+tv every time the burst signal b is input after the output signal 105 of the flip-flop 13 rises, and accumulates the count value corresponding to the period jx+tW. This is done by counting the clock signal 50 gated by gate 11.

5は回数カウンタであり、アンドゲート10の出力の立
上がりをカウントすることにより、all定動作制御信
号105が立上がってからのバースト信号bの入力回数
をカウントするもので、そのカウント値は時間幅カウン
タ2のカウント動作回数に相当し、そのカウント値が設
定値に達するとキャリー信号108を“H”にする。
5 is a number counter, which counts the number of times the burst signal b is input after the all constant operation control signal 105 rises by counting the rise of the output of the AND gate 10, and the count value is determined by the time width. This corresponds to the number of counting operations of the counter 2, and when the count value reaches a set value, the carry signal 108 is set to "H".

この回数カウンタ5への回数設定はマイクロコンビュー
タ3の回数設定千段31により行われるものである。
This number setting to the number counter 5 is performed by the number setting stage 31 of the microcomputer 3.

14は測定終了時制御用のフリップフロップであり、そ
のデータ入力端子には回数カウンタ5のキャリー信号1
08が入力され、同クロック入力端子にはワンショット
カウンタ1の出力信号104が入力され、リセット端子
にはスタート信号107が入力されている。このフリッ
プフロップ14は回数カウンタ14からのキャリー信号
108が″H゜になってからの信号104(ワンシッッ
トカウンタ1の出力)の最初の立上がりでオンとなり、
その出力信号109を“H”とし、出力信号110を“
L゜にするものである。出力信号110はゲート信号と
してアンドゲート9に与えられ、出力信号109は測定
動作の終了通知としてマイクロコンピュータ3に与えら
れる。
14 is a flip-flop for control at the end of measurement, and its data input terminal receives the carry signal 1 of the number counter 5.
08 is input, the output signal 104 of the one-shot counter 1 is input to the clock input terminal, and the start signal 107 is input to the reset terminal. This flip-flop 14 turns on at the first rise of the signal 104 (output of the one-shit counter 1) after the carry signal 108 from the number counter 14 becomes "H".
The output signal 109 is set to "H", and the output signal 110 is set to "H".
It is set to L°. The output signal 110 is given to the AND gate 9 as a gate signal, and the output signal 109 is given to the microcomputer 3 as a notification of completion of the measurement operation.

このマイクロコンピュータ3の終了確認手段34はフリ
ップフロップ14の出力信号109の立上がりを受けて
測定モード保持手段33をリセットするとともに、算出
手段35に演算命令を発する。
The end confirmation means 34 of the microcomputer 3 resets the measurement mode holding means 33 in response to the rise of the output signal 109 of the flip-flop 14, and also issues an operation command to the calculation means 35.

この算出手段35は終了確認手段34からの演算命令に
応答して時間幅カウンタ2のカウント値を読取り、バー
スト信号bの信号幅(Xの平均値を算出するものである
The calculation means 35 reads the count value of the time width counter 2 in response to the calculation command from the completion confirmation means 34, and calculates the average value of the signal width (X) of the burst signal b.

ここで、その信号幅tXの平均値をAv  (tx)、
時間幅カウンタ2からのカウント値に当たる信号幅tX
の累積値をΣ(tx)、回数設定手段31からの設定値
をnとしたとき、算出手段35は、次式で表される計算
を行うものである。
Here, the average value of the signal width tX is Av (tx),
Signal width tX corresponding to the count value from time width counter 2
When the cumulative value of is Σ(tx) and the setting value from the number of times setting means 31 is n, the calculation means 35 performs calculation expressed by the following equation.

すなわち、 Av(tx)−(Σ(tx )/n)− twである。That is, Av(tx)-(Σ(tx)/n)-tw.

算出手段35は、この計算により求めた直をモ二夕やプ
リンタ等の出力装置に供給してその表示を行わせたり、
あるいは、求めた平均値が所期の値であるか否かを判定
する手段に供給し、その判定を行わせるようになってい
る。
The calculating means 35 supplies the value obtained by this calculation to an output device such as a monitor or a printer to display it,
Alternatively, the average value obtained is supplied to a means for determining whether or not it is a desired value, and is caused to make the determination.

次に、上記のように構成された本実施例装置の作用につ
いて説明する。
Next, the operation of the apparatus of this embodiment configured as described above will be explained.

まず、初期状態であってスタート信号107が“L”の
ときには、フリップフロップ14にリセットがかけられ
ており、このフリッププロップ14はオフ状態にあり、
その出力信号110は“H”となっている。そのため、
アンドゲート9は開いており、入力信号101はアンド
ゲート9を通過してフリップフロップ12並びにワンシ
ョットカウンタ1に供給されていることεなる。よって
、第2図(A).  (B),  (C)に示すように
、フリップフロップ12及びワンショットカウンタ1は
バースト信号bに応答し、オアゲート7からはそれらの
反転信号の論理和出力が発生されている。
First, when the start signal 107 is "L" in the initial state, the flip-flop 14 is reset, and the flip-flop 14 is in the off state.
The output signal 110 is "H". Therefore,
The AND gate 9 is open, and the input signal 101 passes through the AND gate 9 and is supplied to the flip-flop 12 and the one-shot counter 1. Therefore, Fig. 2(A). As shown in (B) and (C), the flip-flop 12 and the one-shot counter 1 respond to the burst signal b, and the OR gate 7 generates an OR output of their inverted signals.

よって、フリップフロツプ13にもワンショットカウン
タ1の出力信号104の立上がりが作用しているが、ス
タート信号107は“L”であり、ターンオンが禁止さ
れているため、その出力′L”のままでとなる。そのた
め、アンドゲート10は閉じており、アンドゲート11
も開かれず、時間カウンタ2にクロック信号50が供給
されないため、この時間カウンタ2はカウント動作を行
わない。
Therefore, the rise of the output signal 104 of the one-shot counter 1 also acts on the flip-flop 13, but since the start signal 107 is "L" and turn-on is prohibited, its output must remain at 'L'. Therefore, AND gate 10 is closed and AND gate 11 is closed.
is not opened and the clock signal 50 is not supplied to the time counter 2, so the time counter 2 does not perform a counting operation.

そして、スタート信号107が“H゜になると、時間カ
ウンタ2並びに回数カウンタ5が初期化されるとともに
フリップフロップ13のリセットが解除され、この解除
後、第2図(C).CD).(E)に示すようにワンシ
ョットカウンタ1の出力信号104の最初の立上がりに
応答してオンとなる。
Then, when the start signal 107 becomes "H", the time counter 2 and the number counter 5 are initialized, and the reset of the flip-flop 13 is released. ), it turns on in response to the first rise of the output signal 104 of the one-shot counter 1.

これにより、第2図(F)に示すようにオアゲート7の
出力信号106がアンドゲート10の出力として現れ、
これが“H”であるix+tvの期間だけアンドゲート
11が開かれて時間カウンタ2にクロック信号50が供
給されるとともに、同信号106の立上がりが回数カウ
ンタ5によりカウントされるようになる。この時間カウ
ンタ2並びに回数カウンタ5の動作がバースト信号bの
入力毎に行われ、時間カウンタ2にあってはtx+tw
がバースト信号bの入力回数分だけ累積され、回数カウ
ンタ5にあってはその入力回数がカウントされて行くこ
ととなる。
As a result, the output signal 106 of the OR gate 7 appears as the output of the AND gate 10, as shown in FIG. 2(F).
The AND gate 11 is opened only during the period ix+tv when this is "H", and the clock signal 50 is supplied to the time counter 2, and the rise of the signal 106 is counted by the number counter 5. The operation of the time counter 2 and the number of times counter 5 is performed every time the burst signal b is input, and in the time counter 2, tx+tw
is accumulated by the number of inputs of the burst signal b, and the number of inputs is counted by the number counter 5.

そして、この回数カウンタ5においてそのカウント値が
設定値に達しキャリー信号108が“H”になると、ワ
ンシッットカウンタ1の出力信号104の立上がりを待
って、即ちその回の時間カウンタ2のカウント動作終了
を待ってフリップフロップ14がオンとなる。すると、
マイクロコンピュータ3の終了確認手段34が測定の終
了を知り、測定モード保持手段33をリセットしてスタ
ート信号107を立下げると共に、算出手段35に演算
命令を出すため、この算出手段35によって上記のよう
に平均lAv(tx)が算出されることとなる。
When the count value of the number counter 5 reaches the set value and the carry signal 108 becomes "H", the count value of the time counter 2 for that time waits for the output signal 104 of the one-sit counter 1 to rise, and the count value of the time counter 2 for that time is counted. After waiting for the end of the operation, the flip-flop 14 is turned on. Then,
The end confirmation means 34 of the microcomputer 3 knows the end of the measurement, resets the measurement mode holding means 33, lowers the start signal 107, and issues an operation command to the calculation means 35. The average lAv(tx) will be calculated.

以上のように、マイクロコンピュータ3がスタ−ト信号
107を1回立上げると、平均呟算出用のデータがその
外部の回路により自動的に集められ、マイクロコンピュ
ータ3はその終了時に発せられる終了通知に応答して所
定の演算を行い平均値を求めれば良いので、一つのバー
スト信号bについての測定値を得る度にマイクロコンピ
ュータ3がスタート信号の立上げ、測定終了の確認、デ
ータの読取り、データの累積演算等の処理を行う必要が
なく、マイクロコンピュータ3の負担が大きく軽減され
ると共に、スタート信号107の立上げから、測定動作
終了時までの空時間をH効に使用することができる。
As described above, when the microcomputer 3 raises the start signal 107 once, the data for calculating the average value is automatically collected by the external circuit, and the microcomputer 3 issues a termination notification at the end of the process. It is only necessary to perform a predetermined calculation in response to the average value, so that every time a measurement value is obtained for one burst signal b, the microcomputer 3 raises the start signal, confirms the completion of measurement, reads the data, and calculates the average value. There is no need to perform processing such as cumulative calculations, and the burden on the microcomputer 3 is greatly reduced, and the idle time from the rise of the start signal 107 until the end of the measurement operation can be used effectively.

本実施例によれば、ワンショットカウンタ1の動作時間
幅tvlは基準クロック信号50のカウント動作時間に
より決定されるので、高精度に設定が可能であり、デー
タ累積による豐差の累積を防止することができ、信号幅
平均値を正確に求めることができる。
According to this embodiment, the operating time width tvl of the one-shot counter 1 is determined by the counting operation time of the reference clock signal 50, so it can be set with high precision, and the accumulation of differences due to data accumulation is prevented. It is possible to accurately determine the signal width average value.

なお、上記の説明では平均値を求める場合について述べ
ているが、本実施例の装置は回数設定手段31の設定数
を“1“にすれば、算出千段35においては上記の演算
が行われるものの平均値ではなくーバースト信号bの信
号幅測定値を得ることもできる。
Although the above explanation describes the case of calculating the average value, in the apparatus of this embodiment, if the number set in the number setting means 31 is set to "1", the above calculation is performed in the calculation stage 35. It is also possible to obtain a signal width measurement of the burst signal b rather than its average value.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、 ワンショットパルス発生手段の動作時間幅は基準クロッ
クカウント時のカウン1・動作時間により次定されるの
で、高精度に設定が可能で、データ累積による誤差の累
積を防止することができ、信号幅平均値を複数回の測定
を要することなく正確に求めることができる。
As explained above, according to the present invention, the operating time width of the one-shot pulse generating means is determined by the count 1 and the operating time when counting the reference clock, so it can be set with high precision and errors due to data accumulation can be avoided. can be prevented from accumulating, and the signal width average value can be accurately determined without requiring multiple measurements.

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

第1図は本発明の一実施例に係る信号幅aPI定装置の
ブロック図、第2図はその動作タイミングチャート図で
ある。 1・・・ワンショットカウンタ、2・・・時間カウンタ
、3・・・マイクロコンピュータ、31・・・回数設定
手段、32・・・測定モード発生手段、33・・・測定
モード保持手段、34・・・終了確認手段、35・・・
平均値算出手段、4・・・基準クロック発振器、5・・
・回数カウンタ、11・・・時間カウンタ2に対する基
準クロックゲート用のアンドゲート、13・・・測定動
作開始タイミング制御用のフリップフロップ、14・・
・測定動作終了時制御用のフリップフロップ、b・・・
バースト信号、R・・・立上がり、81〜B3・・・立
下がり、tX・・・信号幅、tv・・・ワンショットカ
ウンタ1の動作時間幅。
FIG. 1 is a block diagram of a signal width aPI determining device according to an embodiment of the present invention, and FIG. 2 is an operation timing chart thereof. DESCRIPTION OF SYMBOLS 1... One shot counter, 2... Time counter, 3... Microcomputer, 31... Number of times setting means, 32... Measurement mode generation means, 33... Measurement mode holding means, 34. ...Completion confirmation means, 35...
Average value calculation means, 4... Reference clock oscillator, 5...
・Number of times counter, 11...AND gate for reference clock gate for time counter 2, 13...Flip-flop for measuring start timing control, 14...
・Flip-flop for control at the end of measurement operation, b...
Burst signal, R...rise, 81-B3...fall, tX...signal width, tv...operation time width of one-shot counter 1.

Claims (1)

【特許請求の範囲】 1または2以上のパルスから成り且つ断続的に発生する
バースト信号の信号幅を測定する信号幅測定装置であっ
て、 基準クロック信号を発生する手段と、 該基準クロック信号を設定数だけカウントしたときのカ
ウント動作時間によりその動作時間幅が決定され、前記
バースト信号のパルスでトリガされることによりワンシ
ョットパルスを発生する再トリガ可能なワンショットパ
ルス発生手段と、該ワンショットパルスが発生される毎
にカウント動作してそのカウント値を累積する時間カウ
ント手段と、 該時間カウント手段におけるカウント値が前記ワンショ
ットパルス信号の発生回数にして予定回数分に到達した
とき測定終了信号を発生する終了制御手段と、 該測定終了信号に応答して前記時間カウント手段のカウ
ント値を読取りこれを前記予定回数で割り且つ前記ワン
ショットパルス発生手段からの動作時間幅分を差引いて
前記信号幅の平均値を求める平均値算出手段と、 を備えている信号幅測定装置。
[Claims] A signal width measuring device for measuring the signal width of a burst signal consisting of one or more pulses and occurring intermittently, comprising: means for generating a reference clock signal; and means for generating the reference clock signal. a retriggerable one-shot pulse generating means for generating a one-shot pulse by being triggered by a pulse of the burst signal, the operation time width of which is determined by the counting operation time when counting a set number; a time counting means that performs a counting operation every time a pulse is generated and accumulates the counted value; and a measurement end signal when the counted value of the time counting means reaches the predetermined number of times the one-shot pulse signal is generated. an end control means for generating the measurement end signal; and in response to the measurement end signal, reads the count value of the time counting means, divides it by the scheduled number of times, and subtracts the operating time width from the one shot pulse generating means to obtain the signal. A signal width measuring device comprising: an average value calculation means for determining an average value of widths;
JP16028689A 1989-06-22 1989-06-22 Signal measuring instrument Pending JPH0325378A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16028689A JPH0325378A (en) 1989-06-22 1989-06-22 Signal measuring instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16028689A JPH0325378A (en) 1989-06-22 1989-06-22 Signal measuring instrument

Publications (1)

Publication Number Publication Date
JPH0325378A true JPH0325378A (en) 1991-02-04

Family

ID=15711703

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16028689A Pending JPH0325378A (en) 1989-06-22 1989-06-22 Signal measuring instrument

Country Status (1)

Country Link
JP (1) JPH0325378A (en)

Similar Documents

Publication Publication Date Title
US4908784A (en) Method and apparatus for asynchronous time measurement
JP2009008681A (en) Measuring device for improving performance of standard cell library
US4603292A (en) Frequency and time measurement circuit
US6597205B2 (en) High accuracy method for determining the frequency of a pulse input signal over a wide frequency range
US4168467A (en) Measurement of pulse duration
US5228066A (en) System and method for measuring computer system time intervals
JPH0325378A (en) Signal measuring instrument
US3978322A (en) Measurement system for timer
US4799023A (en) Circuits and apparatus which enable elimination of setup time and hold time testing errors
JPH0325377A (en) Signal width measuring instrument
US4096732A (en) Camera testing methods and apparatus
US8255188B2 (en) Fast low frequency jitter rejection methodology
US4527907A (en) Method and apparatus for measuring the settling time of an analog signal
JPS626544Y2 (en)
JPH03118644A (en) Program execution monitor
JP2746622B2 (en) Sampling oscilloscope
JPH0325376A (en) Signal width measuring instrument
JP3080480B2 (en) Signal delay time measuring device
JPH0673227B2 (en) Magnetic disk characteristics measuring device
JP2663482B2 (en) Measurement circuit
JPH0384479A (en) Measuring device for signal width
JPH0384478A (en) Measuring device for signal width
JPH04138374A (en) Logic analyzer
JPS5951369A (en) Automatic characteristic measuring apparatus
JPS61207195A (en) Motor controller