JPS627736B2 - - Google Patents

Info

Publication number
JPS627736B2
JPS627736B2 JP16279579A JP16279579A JPS627736B2 JP S627736 B2 JPS627736 B2 JP S627736B2 JP 16279579 A JP16279579 A JP 16279579A JP 16279579 A JP16279579 A JP 16279579A JP S627736 B2 JPS627736 B2 JP S627736B2
Authority
JP
Japan
Prior art keywords
counter
gate
circuit
input
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.)
Expired
Application number
JP16279579A
Other languages
Japanese (ja)
Other versions
JPS5686534A (en
Inventor
Yoshinobu Ueda
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.)
Osaki Electric Co Ltd
Original Assignee
Osaki Electric Co 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 Osaki Electric Co Ltd filed Critical Osaki Electric Co Ltd
Priority to JP16279579A priority Critical patent/JPS5686534A/en
Publication of JPS5686534A publication Critical patent/JPS5686534A/en
Publication of JPS627736B2 publication Critical patent/JPS627736B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K23/00Pulse counters comprising counting chains; Frequency dividers comprising counting chains
    • H03K23/64Pulse counters comprising counting chains; Frequency dividers comprising counting chains with a base or radix other than a power of two
    • H03K23/66Pulse counters comprising counting chains; Frequency dividers comprising counting chains with a base or radix other than a power of two with a variable counting base, e.g. by presetting or by adding or suppressing pulses
    • H03K23/667Pulse counters comprising counting chains; Frequency dividers comprising counting chains with a base or radix other than a power of two with a variable counting base, e.g. by presetting or by adding or suppressing pulses by switching the base during a counting cycle

Landscapes

  • Manipulation Of Pulses (AREA)
  • Pulse Circuits (AREA)

Description

【発明の詳細な説明】 本発明は一定時間内に入力するパルスを計数す
ると共に、計数値の最小値を常に保持するパルス
計数装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a pulse counting device that counts pulses input within a certain period of time and always maintains the minimum value of the counted value.

被測定量をデジタル的に計量する技術が進歩し
ているが、これに伴つて、一定時間毎の計数値の
うち最小値を常に保持するものが要望されてい
る。
Techniques for digitally measuring quantities to be measured are progressing, and along with this, there is a demand for something that can always hold the minimum value among the counted values at regular intervals.

本発明の目的は、デジタル的に最小値を常に保
持するパルス計数装置を提供することである。
The object of the invention is to provide a pulse counting device that digitally always maintains a minimum value.

以下図面によつて本発明の一実施例を説明す
る。入力端子1はパルスが入力する端子で、入力
したパルスは入力回路2でノイズと区別され、波
形整形され、増幅されて、第1パルス入力ゲート
回路3、第2パルス入力ゲート回路4を経て第1
カウンタ5、第2カウンタ6で計数される。第1
ゲート制御回路7及び第2ゲート制御回路8とし
てはRSフリツプフロツプが一例として用いら
れ、ゲート開成信号の入力によつて次のゲート閉
成信号の入力まで第1パルス入力ゲート回路3、
第2パルス入力ゲート回路4を開通させる。主制
御回路9は第1ゲート制御回路7及び第2ゲート
制御回路8を制御すると共に、第1カウンタ5及
び第2カウンタ6のリセツトを直接及び第1カウ
ンタ選択ゲート回路10又は第2カウンタ選択ゲ
ート回路11を経て制御するものである。。比較
回路12は第1カウンタ5と第2カウンタ6の計
数値を常時比較し、第2カウンタ6の計数値が第
1カウンタ5の計数値より小さい間ハイレベルの
信号Pc1を出力しつづけ、第2カウンタ6の計数
値が第1カウンタ5の計数値以上になつた間ハイ
レベルの信号Pc2を出力しつづける。第1遅延回
路13と第2遅延回路14は第1カウンタ選択ゲ
ート回路11と第2カウンタ選択ゲート12を通
つたカウンタリセツト信号P4を多少遅延させるこ
とによりゲート開成信号に変換させるものであ
る。15,16,17,18はオアゲート、19
は基準時間信号発生回路、20は外部リセツト入
力端子である。
An embodiment of the present invention will be described below with reference to the drawings. Input terminal 1 is a terminal into which pulses are input, and the input pulses are distinguished from noise in input circuit 2, waveform-shaped, amplified, and then passed through first pulse input gate circuit 3 and second pulse input gate circuit 4 to the second pulse input gate circuit 4. 1
It is counted by a counter 5 and a second counter 6. 1st
An RS flip-flop is used as an example of the gate control circuit 7 and the second gate control circuit 8, and the first pulse input gate circuit 3, by the input of the gate open signal, until the input of the next gate close signal.
The second pulse input gate circuit 4 is opened. The main control circuit 9 controls the first gate control circuit 7 and the second gate control circuit 8, and also resets the first counter 5 and the second counter 6 directly and the first counter selection gate circuit 10 or the second counter selection gate. It is controlled via the circuit 11. . The comparator circuit 12 constantly compares the count values of the first counter 5 and the second counter 6, and continues to output a high-level signal P c1 while the count value of the second counter 6 is smaller than the count value of the first counter 5. While the count value of the second counter 6 exceeds the count value of the first counter 5, the high level signal P c2 continues to be output. The first delay circuit 13 and the second delay circuit 14 convert the counter reset signal P4 that has passed through the first counter selection gate circuit 11 and the second counter selection gate 12 into a gate open signal by slightly delaying it. 15, 16, 17, 18 are or gate, 19
2 is a reference time signal generation circuit, and 20 is an external reset input terminal.

外部リセツト信号P0が外部リセツト入力端子2
0から主制御回路9に入力すると、主制御回路9
は一定間隔でゲート閉成信号P1を出力する。1発
目のゲート閉成信号P1によつて第1ゲート制御回
路7及び第2ゲート制御回路8はリセツトされ、
したがつて出力端子Qからの出力はローレベルと
なり、第1パルス入力ゲート回路3及び第2パル
ス入力ゲート回路4は閉成される。1発目のゲー
ト閉成信号P1に引き続いて主制御回路9はカウン
タリセツト信号P2を出力し、オアゲート17,1
8を経て第1カウンタ5及び第2カウンタ6のリ
セツト入力端子Rに送り、これらをリセツトさせ
る。引き続いて主制御回路9はゲート開成信号P3
をオアゲート15,16を経て第1ゲート制御回
路7及び第2ゲート制御回路8のセツト入力端子
Sに送り、これらをセツトし、第1パルス入力ゲ
ート回路3及び第2パルス入力ゲート回路4を開
通させる。この開通によつて第1カウンタ5及び
第2カウンタ6はパルスを計数しはじめる。一定
時間tが経過すると、主制御回路9は2発目のゲ
ート閉成信号P1を出力し、第1ゲート制御回路7
及び第2ゲート制御回路8をリセツトし、第1パ
ルス入力ゲート回路3及び第2パルス入力ゲート
回路4を閉じる。2発目のゲート閉成信号P1に引
き続いて、主制御回路9はカウンタリセツト信号
P4を第1カウンタ選択ゲート回路10及び第2カ
ウンタ選択ゲート回路11に送る。この時、第1
カウンタ5と第2カウンタ6の計数値は等しいの
で、比較回路12はハイレベルの信号Pc2を出力
することによつて第2カウンタ選択ゲート回路1
1を開通させている。第1カウンタ選択ゲート回
路10は信号Pc1が入力していないので、閉じて
いる。したがつてカウンタリセツト信号P4は第2
カウンタ選択ゲート回路11のみを通り、オアゲ
ート18を経て第2カウンタ6をリセツトさせ
る。これにより第1カウンタ5の計数値は最小値
として残る。第2カウンタ選択ゲート回路11を
通つたカウンタリセツト信号P4は第2遅延回路1
4によつて遅延されてゲート開成信号P5となり、
第2ゲート制御回路8に送られ、これをセツト
し、第2パルス入力ゲート回路4を開く。したが
つて2回目の一定時間tにおいては、第2カウン
タ6のみがパルスを計数する。3発目のゲート閉
成信号P1によつて第2パルス入力ゲート回路4が
閉じ、引き続いてカウンタリセツト信号P4が第1
カウンタ選択ゲート回路10及び第2カウンタ選
択ゲート回路11に送られる。第2カウンタ6の
計数値が第1カウンタ5の最小値以上の場合に
は、比較回路12はハイレベルの信号Pc2により
第2カウンタ選択ゲート回路11を開通させるの
で、カウンタリセツト信号P4により第2カウンタ
6は再びリセツトされ、3回目の一定時間tも第
2カウンタ6のみがパルスを計数する。反対に、
第2カウンタ6の計数値が第1カウンタ5の最小
値より小さい場合には、比較回路12はハイレベ
ルの信号Pc1により第1カウンタ選択ゲート回路
10を開通させ、第1カウンタ5をリセツトさ
せ、第2カウンタ6の計数値を新しい最小値とし
て残す。
External reset signal P0 is external reset input terminal 2
0 to the main control circuit 9, the main control circuit 9
outputs a gate closing signal P1 at regular intervals. The first gate control circuit 7 and the second gate control circuit 8 are reset by the first gate closing signal P1 ,
Therefore, the output from the output terminal Q becomes a low level, and the first pulse input gate circuit 3 and the second pulse input gate circuit 4 are closed. Following the first gate closing signal P1 , the main control circuit 9 outputs a counter reset signal P2 , and the OR gates 17,1
8 to the reset input terminals R of the first counter 5 and second counter 6 to reset them. Subsequently, the main control circuit 9 outputs the gate opening signal P3.
is sent to the set input terminal S of the first gate control circuit 7 and the second gate control circuit 8 via the OR gates 15 and 16 to set these and open the first pulse input gate circuit 3 and the second pulse input gate circuit 4. let With this opening, the first counter 5 and the second counter 6 start counting pulses. After a certain period of time t has elapsed, the main control circuit 9 outputs the second gate closing signal P1 , and the first gate control circuit 7
Then, the second gate control circuit 8 is reset, and the first pulse input gate circuit 3 and the second pulse input gate circuit 4 are closed. Following the second gate closing signal P1 , the main control circuit 9 issues a counter reset signal.
P4 is sent to the first counter selection gate circuit 10 and the second counter selection gate circuit 11. At this time, the first
Since the count values of the counter 5 and the second counter 6 are equal, the comparison circuit 12 outputs the high-level signal P c2 to the second counter selection gate circuit 1.
1 has been opened. The first counter selection gate circuit 10 is closed because the signal P c1 is not input thereto. Therefore, the counter reset signal P4 is the second
It passes only through the counter selection gate circuit 11, passes through the OR gate 18, and resets the second counter 6. As a result, the count value of the first counter 5 remains as the minimum value. The counter reset signal P4 passed through the second counter selection gate circuit 11 is transferred to the second delay circuit 1.
4 and becomes the gate opening signal P5 ,
The signal is sent to the second gate control circuit 8, which is set and the second pulse input gate circuit 4 is opened. Therefore, during the second fixed time t, only the second counter 6 counts pulses. The second pulse input gate circuit 4 is closed by the third gate closing signal P1 , and subsequently the counter reset signal P4 is applied to the first pulse input gate circuit 4.
The signal is sent to the counter selection gate circuit 10 and the second counter selection gate circuit 11. When the count value of the second counter 6 is greater than or equal to the minimum value of the first counter 5, the comparator circuit 12 opens the second counter selection gate circuit 11 by the high level signal P c2 , so the counter reset signal P4 opens the second counter selection gate circuit 11. The second counter 6 is reset again, and only the second counter 6 counts pulses for the third fixed time t. Conversely,
When the count value of the second counter 6 is smaller than the minimum value of the first counter 5, the comparator circuit 12 opens the first counter selection gate circuit 10 with a high-level signal Pc1 and resets the first counter 5. , the count value of the second counter 6 is left as the new minimum value.

なお主制御回路9が出力する信号P1〜P4のタイ
ミングは基準時間信号発生回路19から入力する
基準時間信号によつて測られる。比較回路12は
カウンタリセツト信号P4と同期してパルス状の信
号Pc1又はPc2を出力するものでもよい。
Note that the timing of the signals P 1 to P 4 output by the main control circuit 9 is measured by the reference time signal input from the reference time signal generation circuit 19. The comparison circuit 12 may output a pulse-like signal P c1 or P c2 in synchronization with the counter reset signal P 4 .

本発明においては、第1カウンタと第2カウン
タのうち、一方のカウンタが最小値を保持し、他
方のカウンタのみが入力するパルスを計数し、該
計数値を最小値と比較して、小さい方の値を最小
値として残すようにしたから、いずれか一方のカ
ウンタに常に最小値を保持させることができる。
In the present invention, one of the first counter and the second counter holds the minimum value, only the other counter counts input pulses, and compares the counted value with the minimum value, whichever is smaller. Since the value of is left as the minimum value, one of the counters can always hold the minimum value.

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

第1図は本発明の一実施例を示すブロツク図、
第2図はそのタイムチヤートである。 1……入力端子、3……第1パルス入力ゲート
回路、4……第2パルス入力ゲート回路、5……
第1カウンタ、6……第2カウンタ、7……第1
ゲート制御回路、8……第2ゲート制御回路、9
……主制御回路、10……第1カウンタ選択ゲー
ト回路、11……第2カウンタ選択ゲート回路、
12……比較回路、13……第1遅延回路、14
……第2遅延回路。
FIG. 1 is a block diagram showing one embodiment of the present invention;
Figure 2 is the time chart. 1... Input terminal, 3... First pulse input gate circuit, 4... Second pulse input gate circuit, 5...
1st counter, 6...2nd counter, 7...1st counter
Gate control circuit, 8... Second gate control circuit, 9
...Main control circuit, 10...First counter selection gate circuit, 11...Second counter selection gate circuit,
12... Comparison circuit, 13... First delay circuit, 14
...Second delay circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 パルスが入力する入力端子と、パルスの第1
カウンタと第2カウンタへの入力を開閉する第1
パルス入力ゲート回路及び第2パルス入力ゲート
回路と、第1パルス入力ゲート回路を通るパルス
を計数する第1カウンタと、第2パルス入力ゲー
ト回路を通るパルスを計数する第2カウンタと、
ゲート開成信号の入力により次のゲート閉成信号
の入力まで第1パルス入力ゲート回路を開通させ
る第1ゲート制御回路と、ゲート開成信号の入力
により次のゲート閉成信号の入力まで第2パルス
入力ゲート回路を開通させる第2ゲート制御回路
と、第1カウンタと第2カウンタの計数値を比較
し、第2カウンタの計数値が第1カウンタの計数
値より小さい時に第1カウンタ選択ゲート回路を
開通させ、第2カウンタの計数値が第1カウンタ
の計数値以上になつた時に第2カウンタ選択ゲー
ト回路を開通させる比較回路と、外部リセツト信
号の入力によつて一定間隔で第1ゲート制御回路
及び第2ゲート制御回路にゲート閉成信号を送
り、1発目のゲート閉成信号に引き続いて第1カ
ウンタ及び第2カウンタにカウンタリセツト信号
を送り、更に引き続いて第1ゲート制御回路及び
第2ゲート制御回路にゲート開成信号を送り、2
発目以降のゲート閉成信号を送る毎に、それに引
き続いて第1カウンタ選択ゲート回路及び第2カ
ウンタ選択ゲート回路にカウンタリセツト信号を
送る主制御回路と、主制御回路から入力するカウ
ンタリセツト信号を開通時に第1カウンタに送る
と共に、第1遅延回路に送る第1カウンタ選択ゲ
ート回路と、主制御回路から入力するカウンタリ
セツト信号を開通時に第2カウンタに送ると共
に、第2遅延回路に送る第2カウンタ選択ゲート
回路と、第1カウンタ選択ゲート回路から入力す
るカウンタリセツト信号を遅延することによりゲ
ート開成信号に変換して第1ゲート制御回路に送
る第1遅延回路と、第2カウンタ選択ゲート回路
から入力するカウンタリセツト信号を遅延するこ
とによりゲート開成信号に変換して第2ゲート制
御回路に送る第2遅延回路とを備えたパルス計数
装置。
1 The input terminal where the pulse is input and the first
The first opens and closes the input to the counter and the second counter.
a pulse input gate circuit, a second pulse input gate circuit, a first counter that counts pulses passing through the first pulse input gate circuit, and a second counter that counts pulses that pass through the second pulse input gate circuit;
A first gate control circuit that opens a first pulse input gate circuit when a gate open signal is input until the next gate close signal is input, and a second pulse input gate circuit that opens the first pulse input gate circuit until the next gate close signal is input when the gate open signal is input. A second gate control circuit opens the gate circuit, compares the count values of the first counter and the second counter, and opens the first counter selection gate circuit when the count value of the second counter is smaller than the count value of the first counter. a comparator circuit that opens the second counter selection gate circuit when the count value of the second counter exceeds the count value of the first counter; and a comparison circuit that opens the second counter selection gate circuit when the count value of the second counter exceeds the count value of the first counter; A gate close signal is sent to the second gate control circuit, and following the first gate close signal, a counter reset signal is sent to the first and second counters, and then a counter reset signal is sent to the first and second gate control circuits. Send a gate open signal to the control circuit,
A main control circuit that sends a counter reset signal to the first counter selection gate circuit and a second counter selection gate circuit every time a gate close signal is sent after the gate is issued, and a counter reset signal that is input from the main control circuit. A first counter selection gate circuit that sends a counter reset signal input from the main control circuit to the first counter and the first delay circuit when the circuit is opened, and a second counter selection gate circuit that sends the counter reset signal input from the main control circuit to the second counter and the second delay circuit when the circuit is opened. a counter selection gate circuit, a first delay circuit that delays a counter reset signal inputted from the first counter selection gate circuit, converts it into a gate open signal and sends it to the first gate control circuit, and a second counter selection gate circuit. A second delay circuit that delays an input counter reset signal to convert it into a gate open signal and sends it to a second gate control circuit.
JP16279579A 1979-12-17 1979-12-17 Pulse counter Granted JPS5686534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16279579A JPS5686534A (en) 1979-12-17 1979-12-17 Pulse counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16279579A JPS5686534A (en) 1979-12-17 1979-12-17 Pulse counter

Publications (2)

Publication Number Publication Date
JPS5686534A JPS5686534A (en) 1981-07-14
JPS627736B2 true JPS627736B2 (en) 1987-02-19

Family

ID=15761347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16279579A Granted JPS5686534A (en) 1979-12-17 1979-12-17 Pulse counter

Country Status (1)

Country Link
JP (1) JPS5686534A (en)

Also Published As

Publication number Publication date
JPS5686534A (en) 1981-07-14

Similar Documents

Publication Publication Date Title
JPH0528796B2 (en)
US3909716A (en) Digital frequency meter
JPS627736B2 (en)
JP2637204B2 (en) Random pulse counter
GB1213341A (en) Method and apparatus for measuring a time interval
JPS627735B2 (en)
GB1262671A (en) Sweep oscillator
SU1034162A1 (en) Device for shaping pulse train
US3936757A (en) Automatic gate control system
SU1765892A1 (en) Recirculation code-to-number converter of single pulses
GB1498700A (en) Time correction circuits for electronic timepieces
SU1721584A1 (en) Device for measuring transient time
SU855521A1 (en) Device for tolerance frequency control
SU1187259A1 (en) Device for converting pulse train to rectangular pulse
KR900008089B1 (en) Automatic time recording circuit and method
SU847219A1 (en) Device for measuring average frequency of running signals
JPS5778685A (en) Magnetic picture recording and reproducing device
SU1215040A1 (en) Apparatus for measuring medium frequency of pulse repetition
SU1228227A1 (en) Pulse train generator with programmed control
JPH0213484B2 (en)
JPS5832542B2 (en) Paging receiver signal detection method
RU1800593C (en) Pulse burst generator
SU1256182A1 (en) Pulse repetition frequency multiplier
SU917172A1 (en) Digital meter of time intervals
SU817998A1 (en) Pulse duration discriminator