JPS61218226A - Pulse signal counter - Google Patents

Pulse signal counter

Info

Publication number
JPS61218226A
JPS61218226A JP60059082A JP5908285A JPS61218226A JP S61218226 A JPS61218226 A JP S61218226A JP 60059082 A JP60059082 A JP 60059082A JP 5908285 A JP5908285 A JP 5908285A JP S61218226 A JPS61218226 A JP S61218226A
Authority
JP
Japan
Prior art keywords
pulse
time
counter
count
signal
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
JP60059082A
Other languages
Japanese (ja)
Inventor
Masashi Matsumura
正志 松村
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60059082A priority Critical patent/JPS61218226A/en
Publication of JPS61218226A publication Critical patent/JPS61218226A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To measure a sudden pulse data quantity by extracting number of times of overflows stored in a storage section and a count at the fine count. CONSTITUTION:When a pulse data increasing suddenly is inputted to a counter 1, an event pulse signal is outputted to a time counter 3 synchronously with an inputted fault signal by a control section 4, which controls the operation of a time counter 3 so as to allow the counter 3 to count a clock number having a prescribed period and stores the result to an address 5-2 of a storage section 5. The clock number counted in this way represents the measurement of the time among event pulses, that is, the time between fault signals. The fault signal times stored in the address 5-2 of the storage section 5 are summed, the result is made equal to the period time of the reset pulse signal, the number of times of overflows and the count at the final count stored in an address 5-1 corresponding to the summed time are extracted to measure the data quantity increasing suddenly at the reset time.

Description

【発明の詳細な説明】 〔概要〕 パルス信号の計数を行うパルス信号計数装置であって、
一定周期内のカウント数をデータとするリセットタイプ
のカウンタがオーバフローした場合、データ量が分から
なくなってしまうのでパルスデータをカウントする代わ
りにオーバフローした時間を計測し、その計測時間より
オーバフローしたパルスデータ量を統計的に計測可能と
している。
[Detailed Description of the Invention] [Summary] A pulse signal counting device for counting pulse signals, comprising:
If a reset type counter that uses the number of counts within a certain period as data overflows, the amount of data will be lost, so instead of counting the pulse data, measure the overflow time and calculate the amount of pulse data that has overflowed from that measurement time. can be measured statistically.

〔産業上の利用分野〕[Industrial application field]

本発明はパルス信号を計数するパルス信号計数装置であ
って、さらに詳しく言えば、突発的に増加してオーバフ
ローしたパルス信号の計数ができるパルス信号計数装置
に関するものである。
The present invention relates to a pulse signal counting device that counts pulse signals, and more specifically, to a pulse signal counting device that can count pulse signals that suddenly increase and overflow.

通信、情報処理等の分野ではパルス信号の信号量をカウ
ントするためパルス信号計数装置が用いられており、そ
の一つとしてリセットタイプのカウンタがある。このリ
セットタイプのカウンタでパルス信号をカウントする場
合は、一定周期内のカウント数をデータとするが、突発
的にパルス信号量が増加すると、カウント数がオーバフ
ローしてデータ量が分からなくなってしまう。
2. Description of the Related Art In fields such as communications and information processing, pulse signal counting devices are used to count the amount of pulse signals, one of which is a reset type counter. When counting pulse signals with this reset type counter, the count number within a fixed period is used as data, but if the amount of pulse signals suddenly increases, the count number overflows and the amount of data becomes unknown.

そこで、突発的にパルス信号量が増加してカウント数が
オーバフローしても正確にパルス信号量を計測すること
ができるパルス信号計数装置が要望されていた。
Therefore, there has been a need for a pulse signal counting device that can accurately measure the amount of pulse signals even if the amount of pulse signals suddenly increases and the count overflows.

〔従来の技術〕[Conventional technology]

パルス信号量の計測は、従来は第3図のプロ。 Conventionally, the pulse signal amount was measured using the professional method shown in Figure 3.

り図に示すパルス信号計数装置が用いられている。The pulse signal counting device shown in the figure is used.

図において、リセットタイプのパルスカウンタ1は入力
されるパルス信号数をカウントし、リセット制御部2よ
り一定周期で出力されるリセット信号によりリセットし
、リセット前のカウント量を計数値として出力する。
In the figure, a reset type pulse counter 1 counts the number of input pulse signals, is reset by a reset signal outputted at regular intervals from a reset control section 2, and outputs the count amount before reset as a count value.

その動作を第4図の従来の計数装置のタイムチャートを
参照してさらに詳しく説明する。
The operation will be explained in more detail with reference to the time chart of the conventional counting device shown in FIG.

通常は、第4図Aの八1に示すように、常に一定量のパ
ルス信号がパルスカウンタ1に入力される。
Normally, a constant amount of pulse signals are always input to the pulse counter 1, as shown at 81 in FIG. 4A.

パルスカウンタ1は、第411Bに示すように入力され
るパルス信号をカライトし、リセット制御部2より所定
の周期t1で出力されるリセット信号によりリセットさ
れ、周期tl内のカウンタ量B1を出力する。
The pulse counter 1 selects the input pulse signal as shown in 411B, is reset by a reset signal output from the reset control section 2 at a predetermined period t1, and outputs a counter amount B1 within the period t1.

第4図への42−1に示すように、パルス信号が突発的
に増加した場合、パルスカウンタ1はカウント容量a1
をオーバフローした時点で再び0がらカウントし、第4
図Cに示すようにリセット信号が入力される期間中に何
回がオーバフローして0からのカウントを繰返す。この
場合、リセット信号が入力された時点のカウンタ量はC
図の○印のカウント量となり、リセット信号の周期内の
実際のパルスデータはわからない。
As shown at 42-1 in FIG. 4, when the pulse signal suddenly increases, the pulse counter 1 has a counting capacity a1.
When it overflows, the count starts again from 0, and the fourth
As shown in FIG. C, how many times does the reset signal overflow during the period in which the reset signal is input, and the count is repeated from 0? In this case, the counter amount at the time the reset signal is input is C
The count amount is indicated by the circle mark in the figure, and the actual pulse data within the period of the reset signal is unknown.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

この従来のパルス信号計測装置では、突発的に増加した
パルス信号が入力した場合、パルスカウンタの計数容量
をオーバすると、上述したようにデータ量が分からなく
なってしまうといった問題があった。
This conventional pulse signal measuring device has a problem in that when a suddenly increased pulse signal is input and the counting capacity of the pulse counter is exceeded, the amount of data becomes unknown as described above.

本発明はこのような点にかんがみて創作されたもので、
簡単な構成で突発的に入力されるパルス信号のデータ量
をカウントすることができるパルス信号計数装置を提供
することを目的としている。
The present invention was created in view of these points.
It is an object of the present invention to provide a pulse signal counting device that can count the data amount of pulse signals that are suddenly input with a simple configuration.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明のパルス信号計数装置のブロック図を示
す。第1図においてlは入力されるパルス信号を計数し
、計数がオーバフローした時に異常信号を出力するパル
スカウンタ、6は一定周期のクロック信号を発生するク
ロック信号発生部、3はクロック信号発生部6より出力
されるクロック信号を計数するタイムカウンタ、5はパ
ルスカウンタ1およびタイムカウンタ3より出力される
計数値を5−1および5−2のアドレスに格納する記憶
部、4はパルスカウンタ1ヘリセツト信号を出力すると
ともに、パルスカウンタ1より出力される異常信号に同
期してイベントパルスを発生し、タイムカウンタ3にク
ロック信号の計数を行なわしめる制御部を示し、本発明
はこれらの構成要素を有している。
FIG. 1 shows a block diagram of a pulse signal counting device of the present invention. In FIG. 1, l is a pulse counter that counts input pulse signals and outputs an abnormal signal when the count overflows, 6 is a clock signal generator that generates a clock signal with a constant period, and 3 is a clock signal generator 6. 5 is a storage unit that stores the count values output from pulse counter 1 and time counter 3 in addresses 5-1 and 5-2; 4 is a pulse counter 1 reset signal; A control unit is shown which outputs an event pulse in synchronization with the abnormal signal output from the pulse counter 1, and causes the time counter 3 to count the clock signal, and the present invention has these components. ing.

〔作用〕[Effect]

通常状態で入力されるパルスデータの計測は、制御部4
より出力されるリセット信号により、パルスカウンタ1
はリセットされ、リセット時のカウントデータよりパル
スデータを知ることができる。
Measurement of pulse data input in the normal state is performed by the control unit 4.
The reset signal output from the pulse counter 1
is reset, and the pulse data can be known from the count data at the time of reset.

突発的に増加するパルスデータがパルスカウンタ1に入
力すると、パルスカウンタ1の計数容量をオーバし、容
量がオーバした時点でパルスカウンタ1は、0からカウ
ントしなおし、リセット期間中何回かOからのカウント
を繰返し、その回数を記憶部5のアドレス5−1に格納
する。
When pulse data that suddenly increases is input to pulse counter 1, it exceeds the counting capacity of pulse counter 1, and when the capacity is exceeded, pulse counter 1 starts counting from 0 again, and starts counting from 0 several times during the reset period. The count is repeated and the number of times is stored in the address 5-1 of the storage section 5.

また、パルスカウンタ1は容量がオーバした時点で異常
信号を制御部4に出力する。制御部4は入力される異常
信号に同期してイベントパルス信号を発生しタイムカウ
ンタ3に出力する。タイムカウンタ3は、イベントパル
ス信号の制御により異常信号の発生期間中、クロック信
号発生部6より出力される所定の周期を持ったクロック
の数をカウントする。このカウント数は、記憶部5のア
ドレス5−2に格納する。このクロックのカウント数は
異常信号間の時間を計測することとなる。
Further, the pulse counter 1 outputs an abnormality signal to the control unit 4 when the capacity is exceeded. The control unit 4 generates an event pulse signal in synchronization with the input abnormal signal and outputs it to the time counter 3. The time counter 3 counts the number of clocks having a predetermined cycle outputted from the clock signal generating section 6 during the period in which the abnormal signal is generated under the control of the event pulse signal. This count number is stored at address 5-2 of storage section 5. The count number of this clock measures the time between abnormal signals.

記憶部5の5−2に格納された異常信号時間をリセット
信号の周期時間と等しい時間に集計し、その集計時間内
のアドレス5−1に格納されたオーバ回数および最終カ
ウント回のカウント数を取出し、リセット信号時間内で
の突発的なパルスデータ量を知るようにしている。
The abnormal signal times stored in 5-2 of the storage unit 5 are totaled in a time equal to the cycle time of the reset signal, and the number of overflows and the final count stored in address 5-1 within the total time are calculated. The sudden amount of pulse data within the takeout and reset signal time is known.

〔実施例〕〔Example〕

第2図は本発明のパルス計数装置のタイムチャートであ
って、同図を参照して第1図の動作を説明する。 第2
図AのA2−1に示すように、突発的に増加するパルス
データが例えば4ビ7トのパルスカウンタ1に入力され
ると、第2図Bに示すように、計数容量は255個とな
り、256個以上はオーバフローして計数が不可能とな
り、256個目を再びOとしてカウントを行ない、リセ
ット信号が入力されるまで上記のカウントを何回か繰返
し行ない、このデータは順次記憶部5の5−1のアドレ
スに格納される。
FIG. 2 is a time chart of the pulse counting device of the present invention, and the operation of FIG. 1 will be explained with reference to the same figure. Second
As shown in A2-1 of Figure A, when pulse data that suddenly increases is input to, for example, a 4-bit, 7-bit pulse counter 1, the counting capacity becomes 255 pieces, as shown in Figure 2B. If the number is 256 or more, it will overflow and counting will become impossible, so the 256th number will be counted again as O, and the above counting will be repeated several times until a reset signal is input. -1 address.

一方、パルスカウンタ1はオーバフローした時点つまり
、256個目ごとに第2図Cに示す異常信号を制御部4
に出力する。制御部4は入力される異常信号に同期して
イベントパルス信号ヲタイムカウンタ3に出力し、タイ
ムカウンタ3の動作を制御して第2図りのようにイベン
トパルス信号間の所定の周期を持ったクロック数をカウ
ントせしめ、記憶部5の5−2のアドレスに格納する。
On the other hand, when the pulse counter 1 overflows, that is, every 256th pulse, the abnormal signal shown in FIG.
Output to. The control unit 4 outputs an event pulse signal to the time counter 3 in synchronization with the input abnormal signal, controls the operation of the time counter 3, and maintains a predetermined period between event pulse signals as shown in the second figure. The number of clocks is counted and stored at address 5-2 in the storage section 5.

このカウントしたクロック数はイベントパルス間の時間
、つまり異常信号間の時間を計測することとなる。
This counted number of clocks measures the time between event pulses, that is, the time between abnormal signals.

記憶部5の5−2のアドレスに格納された異常信号時間
を集計してリセットパルス信号の周期時間と等しくし、
その集計時間に対応したアドレス5−1に格納されてい
るオーバフローした回数と最終カウント回のカウント量
を取出してリセット時間における突発的に増加するデー
タ量を計測する。
The abnormal signal time stored in the address 5-2 of the storage unit 5 is totaled to be equal to the period time of the reset pulse signal,
The number of overflows and the count amount of the final count stored in the address 5-1 corresponding to the total time are taken out to measure the amount of data that suddenly increases during the reset time.

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

以上述べてきたように、本発明によれば、極めて簡易な
回路構成で、突発的に増加して入力されるパルスデータ
を計測することができ、実用的には極めて有用である。
As described above, according to the present invention, pulse data that is suddenly increased and input can be measured with an extremely simple circuit configuration, and is extremely useful in practice.

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

第1図は本発明のパルス信号計数装置のブロック図、 第2図は本発明のパルス信号計数装置のタイムチャート
、 第3図は従来のパルス信号計数装置のブロック図、 第4図は従来のパルス信号計数装置のタイムチャートで
ある 図において、 1はパルスカウンタ、2はリセット制御部、3はタイム
カウンタ、4は制御部、5は記憶部、5−1および5−
2は記憶部のアドレス、6はクロック信号発生部である
。 心り朱めハOルス信う1↑1太髭シフ°Dv7図第3図 従し/fルズ侶号シ纏炎gc1−タブムチτ−ト第4r
flJ
Fig. 1 is a block diagram of a pulse signal counting device of the present invention, Fig. 2 is a time chart of a pulse signal counting device of the present invention, Fig. 3 is a block diagram of a conventional pulse signal counting device, and Fig. 4 is a block diagram of a conventional pulse signal counting device. In the figure which is a time chart of the pulse signal counting device, 1 is a pulse counter, 2 is a reset control section, 3 is a time counter, 4 is a control section, 5 is a storage section, 5-1 and 5-
2 is an address of a storage section, and 6 is a clock signal generation section. Be careful, I believe in you.
flJ

Claims (1)

【特許請求の範囲】[Claims] 入力されるパルス信号を計数し、かつ計数動作の異常信
号を出力するパルスカウンタ(1)と、一定周期のクロ
ック信号を発生するクロック信号発生部(6)と、前記
クロック信号を計数するタイムカウンタ(3)と、前記
両カウンタ(1、3)の出力計数値を記憶する記憶部(
5)と、前記異常信号によって前記タイムカウンタ(3
)の計数動作を制御する制御部(4)とより構成されて
成るパルス信号計数装置。
A pulse counter (1) that counts input pulse signals and outputs an abnormal signal of counting operation, a clock signal generator (6) that generates a clock signal with a constant period, and a time counter that counts the clock signal. (3) and a storage unit (
5) and the time counter (3) by the abnormal signal.
1. A pulse signal counting device comprising: a control section (4) for controlling the counting operation of the pulse signal counting device (4);
JP60059082A 1985-03-22 1985-03-22 Pulse signal counter Pending JPS61218226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60059082A JPS61218226A (en) 1985-03-22 1985-03-22 Pulse signal counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60059082A JPS61218226A (en) 1985-03-22 1985-03-22 Pulse signal counter

Publications (1)

Publication Number Publication Date
JPS61218226A true JPS61218226A (en) 1986-09-27

Family

ID=13103066

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60059082A Pending JPS61218226A (en) 1985-03-22 1985-03-22 Pulse signal counter

Country Status (1)

Country Link
JP (1) JPS61218226A (en)

Similar Documents

Publication Publication Date Title
KR940001561B1 (en) Storage of data in compressed form
JPS61218226A (en) Pulse signal counter
US4248316A (en) Error detecting apparatus for a scale having a digital display
US3474235A (en) Pulse percent indicator
JP2961199B2 (en) Pulse train input processor
JPS5815159A (en) Digital speed detecting system
JP2925443B2 (en) Electronic measuring instrument
JPS59210378A (en) Frequency measuring instrument
KR910009668B1 (en) Apparatus for measuring bit error rate in digital communication system
JPS5822463A (en) Computer load measuring instrument
JP2663482B2 (en) Measurement circuit
SU966660A1 (en) Device for measuring short pulse duration
JPS5741709A (en) Operation monitor device
SU1315994A1 (en) Device for simulating human operator activities in ergatic systems
SU805060A1 (en) Device for registration of dynamic deformation
SU1173333A1 (en) Digital extremum indicator
SU1365358A1 (en) Device for monitoring "m out of n" code
SU526909A1 (en) Device for modeling Markov processes
SU419921A1 (en) FREQUENCY-PULSE FUNCTIONAL CONVERTER
JPS56162161A (en) Input and output load measuring device
JPS6457189A (en) Method for counting discrete pulse
SU960843A1 (en) Entropy determination device
SU655984A1 (en) Low frequency digital meter
SU1725190A1 (en) Voltage controller
SU1221661A1 (en) Device for simulating human operator activity