JPS6031686A - Frequency counter - Google Patents

Frequency counter

Info

Publication number
JPS6031686A
JPS6031686A JP13890283A JP13890283A JPS6031686A JP S6031686 A JPS6031686 A JP S6031686A JP 13890283 A JP13890283 A JP 13890283A JP 13890283 A JP13890283 A JP 13890283A JP S6031686 A JPS6031686 A JP S6031686A
Authority
JP
Japan
Prior art keywords
signal
logic
gate signal
gate
input pulse
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
JP13890283A
Other languages
Japanese (ja)
Inventor
Takashi Fujisawa
藤沢 峻
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP13890283A priority Critical patent/JPS6031686A/en
Publication of JPS6031686A publication Critical patent/JPS6031686A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measuring Frequencies, Analyzing Spectra (AREA)

Abstract

PURPOSE:To attain detection of generation of erroneous counts, by providing a detection circuit which detects and compares polarity of input pulse synchronizing with rise and fall of gate signals. CONSTITUTION:Gate signal 7 is converted into the 1st clock signal 16 through a monostable multivibrator 11a. Then, an FF13a becomes at a rise timing of the signal 16 such that when an input pulse string 6 is logic ''1'', logic ''1'' is obtained, and when it is logic ''0'', logic ''0'' is obtained. This condition is retained until a reset signal 18 arrives. Output of the FF13a becomes the 1st discrimination signal 19. In addition, a signal 7, whose polarity of logic ''1'' and ''0'' is inverted through an inverter 12, turns into an inverted gate signal 15 and into the 2nd clock signal 17 through a monostable multivibrator 11b. Next, an FF13a operates at a rise timing of a signal 17 such that the input pulse string is logic ''1'', logic ''1'' is obtained, and when it is logic ''0'', logic ''0'' is obtained. This condition is retained until the signal 18 arrives. Output of the FF13b a becomes the 2nd discrimination signal 20. An AND circuit 14 compares a signal 19 with 20 and sends a signal of logic ''1'' as a detected signal 21 only when both the signals are logic ''1''.

Description

【発明の詳細な説明】 この発明はパルス列を単位時間毎に計数することによっ
て、パルス列の周波数を計数する周波数カウンタの改良
に関するもので、誤計数の発生を検出できるようにした
ことを特徴とする周波数カウンタを提供するものである
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an improvement in a frequency counter that counts the frequency of a pulse train by counting the pulse train every unit time, and is characterized by being able to detect the occurrence of erroneous counting. It provides a frequency counter.

まず第1図によって従来の周波数カウンタについて簡単
に説明する。
First, a conventional frequency counter will be briefly explained with reference to FIG.

第1図において(1)はゲート回路、(2)はゲート信
号発生器、(3)は加算カウンタ、(4)はラッチ回路
、(5)は表示器、(6)は入力パルス列、(7)はゲ
ート信号。
In Figure 1, (1) is a gate circuit, (2) is a gate signal generator, (3) is an addition counter, (4) is a latch circuit, (5) is a display, (6) is an input pulse train, and (7) is a latch circuit. ) is the gate signal.

(8)は出力パルス列、(9)はリセット信号、ααは
ラッチ信号である。
(8) is an output pulse train, (9) is a reset signal, and αα is a latch signal.

この周波数カウンタにおいては、入力パルス列(6)は
ゲート回路(1)においてゲート信号発生器(2)の発
生するゲート信号(7)と比較され、ゲート信号(7)
が論理1である間だけゲート回路(1)を通過する。ゲ
ート回路(1)の出力パルス列(8)は加算カウンタ(
3)で計数され、計数値はラッチ信号αeが発生する毎
にラッチ回路(4)に記憶され、同時に表示器(5)に
表示される。ついで加算カウンタ(3)の計数値は1」
セット信号(9)の発生(二よって消去され1次(ニゲ
ート回路(1)から出される出力パルス列(8)の計数
C二備える。
In this frequency counter, an input pulse train (6) is compared in a gate circuit (1) with a gate signal (7) generated by a gate signal generator (2), and the gate signal (7) is
passes through the gate circuit (1) only while the signal is at logic 1. The output pulse train (8) of the gate circuit (1) is processed by the addition counter (
3), and the counted value is stored in the latch circuit (4) every time the latch signal αe is generated, and simultaneously displayed on the display (5). Next, the count value of the addition counter (3) is 1.
Generation of the set signal (9) (2) and the count C2 of the output pulse train (8) output from the primary (nigate circuit (1)) are provided.

このようにして上記従来の周波数カウンタはゲート信号
(7)のくり返し周期毎にゲート信号(7)のzZ、)
レス幅の時間だけ入力パルス列(6)を計数するので。
In this way, the conventional frequency counter described above calculates the zZ, ) of the gate signal (7) every repetition period of the gate signal (7).
Because the input pulse train (6) is counted for the time equal to the response width.

入カパルスタ旧6)の単位時間当りの/クルレス数、す
なわち周波数を計数することができるものである。
It is possible to count the number of pulses per unit time, that is, the frequency of the input coupler resistor 6).

しカルながら上記従来の周波数カウンタは、計数タイミ
ングをゲート信号(7)で制御するため入力パルス列(
6)のパルス発生タイミングとは同期しておらず、ゲー
ト回路(1)を通過したときに/クルレスが分割される
ことがあり、誤計数を発生するととカ;ありた。
However, the conventional frequency counter described above controls the counting timing with the gate signal (7), so the input pulse train (
It is not synchronized with the pulse generation timing in step 6), and when it passes through the gate circuit (1), the /clueless signal may be divided, resulting in erroneous counting.

すなわち第2図は人カパルス列(6)、ゲート信号(7
)及び出力パルス列(8)の動作を示すタイムチャート
であり、入力パルス列(6)はゲート信号(7)が論理
1である間だけゲート回路(2)を通過するので、入力
パルス列(6)のパルス幅が広い場合には、ゲート信号
(7)の入カパルスタ旧6)のタイミングによ°りては
1つのパルスを2つに分割する現象が現われ、先のゲー
ト信号で選択されたパルスの後半部分が後のゲート信号
でも選択されるため、1つのパルスを2回計数してしま
う欠点があった。
In other words, Figure 2 shows the human coupler train (6) and the gate signal (7).
) and the operation of the output pulse train (8). Since the input pulse train (6) passes through the gate circuit (2) only while the gate signal (7) is logic 1, the input pulse train (6) When the pulse width is wide, depending on the timing of the input pulser 6) of the gate signal (7), a phenomenon occurs in which one pulse is divided into two, and the pulse selected by the previous gate signal is split into two. Since the latter half is also selected by a later gate signal, there is a drawback that one pulse is counted twice.

この発明は上記従来の周波数カウンタの欠点を改善する
ことを目的とし、ゲート信号の立上り及び立下り(二同
期して入力パルスの極性を検出、比較する検出回路を備
え、誤計数の発生を検出できるようにしたものである。
The present invention aims to improve the above-mentioned drawbacks of the conventional frequency counter, and includes a detection circuit that detects and compares the polarity of the input pulse in synchronization with the rising and falling edges of the gate signal, and detects the occurrence of erroneous counting. It has been made possible.

以下この発明の一実施例を図面(二より説明する。An embodiment of the present invention will be described below with reference to the drawings.

第3図はこの発明の一実施例を示すブロック図であり、
 (lla) (Ilb)は単安定マルチバイブレータ
、aりはインバータ、(13a) (13b)はフリッ
プフロップ、 (141はアンド回路、(19は反転ゲ
ート信号、 +161は第1クロツク信号、 <171
は第2クロツク信号、Q81は第2リセツト信号、αω
は第1判別信号、(201は第2判別信号、c!■は検
出出力である。なお(2211ま検出回路であり、2つ
の単安定マルチバイブレータ(lla)(llb)。
FIG. 3 is a block diagram showing an embodiment of the present invention,
(lla) (Ilb) is a monostable multivibrator, a is an inverter, (13a) (13b) is a flip-flop, (141 is an AND circuit, (19 is an inverted gate signal, +161 is a first clock signal, <171
is the second clock signal, Q81 is the second reset signal, αω
is the first discrimination signal, (201 is the second discrimination signal, c! ■ is the detection output. (2211 is the detection circuit, and two monostable multivibrators (lla) (llb).

インバータαり、2つのフリップフロップ(13a) 
(13b)及びアンド回路(141で構成される。
Inverter α, two flip-flops (13a)
(13b) and an AND circuit (141).

第3図において第1図と同一符号は同−又は相当部分を
示し、その動作も同一であるので重複した説明は省略す
る。
In FIG. 3, the same reference numerals as in FIG. 1 indicate the same or corresponding parts, and the operations thereof are also the same, so redundant explanation will be omitted.

又、第4図は検出回路@の各部の動作を示すタイムチャ
ートであって、第4図を参照しなめtら第3図の動作を
説明する。
Further, FIG. 4 is a time chart showing the operation of each part of the detection circuit @, and the operation of FIG. 3 will be explained with reference to FIG.

第2図によって上記従来の周波数カウンタの欠点を説明
したように、入カバ、ルスのpZ)レス幅が広℃・場合
には1つの入力パルスがとなり合う2つの計測ゲートに
またがることがあり、誤計数の原因となっていた。した
がってこの状態を検出すれば誤計数の発生を知ることが
できる。第3図はゲート信号(7)の立上り及び立下り
に同期して入力/クルス列(6)が論理1であったか0
であったかを検出して誤計数の発生を検出するものであ
る。まずゲート信号(7)を単安定アルチバイブレータ
(lla)によツ(成形し9幅の狭いパルスとし、これ
を第1クロツク信号+119とする。つまり第1クロツ
ク信号はゲート信号(7)の立上りのタイミングを示す
/旬しスである。次(=フリップフロップ(Qa)は第
1クロツク信号αυの立上りのタイミングで入力パルス
列(6)が論理1であれば論理1.論理0であれば0に
なり。
As explained above with reference to FIG. 2, the disadvantages of the conventional frequency counter are as follows: When the input pulse and the pZ response width are wide, one input pulse may span two measurement gates next to each other. This was causing erroneous counting. Therefore, by detecting this state, it is possible to know the occurrence of erroneous counting. Figure 3 shows whether the input/crux string (6) is logic 1 or 0 in synchronization with the rise and fall of the gate signal (7).
The system detects the occurrence of erroneous counting by detecting whether or not the number of counts is the same. First, the gate signal (7) is shaped by the monostable altivibrator (lla) into a narrow pulse of 9 width, and this is set as the first clock signal +119. In other words, the first clock signal is the rising edge of the gate signal (7). The next (=flip-flop (Qa) is a logic 1 if the input pulse train (6) is a logic 1 at the rising timing of the first clock signal αυ.If it is a logic 0, it is a logic 0. become.

この状態を第2リセツト信号(181が来るまで保持す
る。このフリップフロップ(13a)の出力が第1判別
信号叫となる。
This state is maintained until the second reset signal (181) arrives.The output of this flip-flop (13a) becomes the first discrimination signal.

一方、ゲート信号(7)はインバータQ2)によって論
理1.0の極性を反転され9反転ゲート信号(151と
なり、さら(:単安定マルチバイブレータ(Ilb)(
=よって幅の狭いパルスに成形され、第2クロツク信号
0′71となる。つまり第2クロツク信号0ηはゲート
信号(7)の立下りのタイミングを示すパルスである。
On the other hand, the gate signal (7) has its logic 1.0 polarity inverted by the inverter Q2) and becomes a 9 inverted gate signal (151), which is further inverted by the monostable multivibrator (Ilb) (
= Therefore, it is shaped into a narrow pulse and becomes the second clock signal 0'71. In other words, the second clock signal 0η is a pulse indicating the falling timing of the gate signal (7).

次(ニフリップフロップ(13b)は第2クロツク信号
(171の立上りのタイミングで入力パルス列(6)が
論理lであれば論理1.論理0であればOになり、この
状態を第2リセツト信号α秒が来るまで保持する。
Next, if the input pulse train (6) is logic 1 at the rising edge of the second clock signal (171), it becomes logic 1. If it is logic 0, it becomes O. Hold until α second comes.

このフリップフロップQ3b)の出力が第2判別信号(
社)となる。
The output of this flip-flop Q3b) is the second discrimination signal (
company).

ア・′ンド回路α→は第1判別信号aωと第2判別信号
(イ)ゼ比較し、共6二輪理lであるときにのみ論理1
の信号を検出出力Qυとして出す。以上の各部の動作は
第4図のタイムチャートに示すとおりである。
A'nd circuit α→ compares the first discrimination signal aω and the second discrimination signal (A), and only when both are 6 two-wheel logic l, the logic is 1.
The signal is output as the detection output Qυ. The operations of each section described above are as shown in the time chart of FIG.

このようにして検出回路(2)はゲート信号(7)の立
上り及び立下りに同期して入力パルス列(6)が論理1
であるか0であるかを判別し、共に論理1であるときに
誤計数が発生したことを示す論理1の出力信号を検出出
力(211として出し、誤計数を検出する。
In this way, the detection circuit (2) detects that the input pulse train (6) is a logic 1 in synchronization with the rise and fall of the gate signal (7).
When both are logic 1, a logic 1 output signal indicating that an erroneous count has occurred is outputted as a detection output (211) to detect an erroneous count.

以上のように、この発明による周波数カウンタでは誤計
数の発生を知ることができる効果がある。
As described above, the frequency counter according to the present invention has the advantage of being able to detect the occurrence of erroneous counts.

なお誤計数の発生は1ゲート毎に高々1パルスであるの
で表示器(5)によって計数値を表示するまでの間に減
算器などを使って補正を行うなど種々の補正方法が考え
られるが、この発明は補正方法にとられれるものでなく
、誤計数の検出に意味がある。
Since the occurrence of miscounting is at most one pulse per gate, various correction methods can be considered, such as using a subtractor or the like to correct the count value before it is displayed on the display (5). This invention is not limited to a correction method, but is meaningful in detecting miscounts.

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

第1図は従来の周波数カウンタの構成を示す図。 第2図は従来の周波数カウンタの動作を説明するための
タイムチャート、第3図はこの発明の周波数カウンタの
一実施例を示すブロック図、第4図はこの発明の周波数
カウンタの動作を説明するためのタイムチャートである
。 図中(1)はゲート回路、(2)はゲート信号発生器。 (3)は加算カウンタ、(4)はランチ回路、(5)は
表示器。 (6)は入力パルス列、(7)はゲート信号、(8)は
出力パルス列、(9)はりセット信号、 flo+はラ
ッチ信号。 (1ta) (nb)は単安定マルチバイブレータ、a
りはインバータ、(13a)(13b)Lt7 !J 
ツブ707プ、 ttaハアンド回路、 、+151は
反転ゲート信号、 (161は第1クロツク信号、0り
は第2クロツク信号、(1(至)は第2リセツト信号、
 +191は第1判別信号、(イ)は第2判別信号、 
(21+は検出出力、@は検出回路である。 なお9図中、同一あるいは相当部分には同一符号を付し
て示しである。 代理人大岩増雄
FIG. 1 is a diagram showing the configuration of a conventional frequency counter. FIG. 2 is a time chart for explaining the operation of a conventional frequency counter, FIG. 3 is a block diagram showing an embodiment of the frequency counter of the present invention, and FIG. 4 is for explaining the operation of the frequency counter of the present invention. This is a time chart for In the figure, (1) is a gate circuit, and (2) is a gate signal generator. (3) is an addition counter, (4) is a launch circuit, and (5) is a display. (6) is an input pulse train, (7) is a gate signal, (8) is an output pulse train, (9) is a beam set signal, and flo+ is a latch signal. (1ta) (nb) is a monostable multivibrator, a
Inverter, (13a) (13b) Lt7! J
Block 707, tta hand and circuit, +151 is the inverted gate signal, (161 is the first clock signal, 0 is the second clock signal, (1 (to) is the second reset signal,
+191 is the first discrimination signal, (a) is the second discrimination signal,
(21+ is the detection output, @ is the detection circuit. In Figure 9, the same or equivalent parts are indicated with the same symbols. Agent Masuo Oiwa

Claims (1)

【特許請求の範囲】[Claims] 一定の(り返し周期で、一定パルス幅のゲート信号を発
生するゲート信号発生器と、ゲート信号で制御し、入力
パルス列をゲート信号のパルス幅の時間だけ通過させる
ゲート回路と、ゲート回路の出力パルス列をゲート徊号
のくり返し周期毎に計数する加算カウンタとを備え、ゲ
ート信号のくり返し毎に入力パルス列のパルス数を計数
する周波数カウンタにおいて、先のゲート信号の立下り
及び後のゲート信号の立上りのタイミングにそれぞれ同
期して入力パルス列が論理1であるか0であるかを判別
し、共に論理1であるとき・に入力パルス列のうち1個
のパルスが前後する2つのゲート信号で2つに分割され
、それぞれが重複して計数されることを検出する検出回
路を備え、誤計数の発生を報知できるようにしたことを
特徴とする周波数カウンタ。
A gate signal generator that generates a gate signal with a constant pulse width at a constant (repetition period), a gate circuit that is controlled by the gate signal and passes an input pulse train for a time equal to the pulse width of the gate signal, and an output of the gate circuit. In a frequency counter that counts the number of pulses of the input pulse train every time the gate signal is repeated, the frequency counter is equipped with an addition counter that counts the pulse train every repetition period of the gate signal, and the frequency counter counts the number of pulses of the input pulse train every time the gate signal is repeated. It determines whether the input pulse train is logical 1 or 0 in synchronization with the timing of each, and when both are logical 1, one pulse of the input pulse train is divided into two by two gate signals that are adjacent to each other. 1. A frequency counter comprising a detection circuit that detects when each of the divided sections is counted redundantly and is capable of notifying the occurrence of erroneous counting.
JP13890283A 1983-07-29 1983-07-29 Frequency counter Pending JPS6031686A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13890283A JPS6031686A (en) 1983-07-29 1983-07-29 Frequency counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13890283A JPS6031686A (en) 1983-07-29 1983-07-29 Frequency counter

Publications (1)

Publication Number Publication Date
JPS6031686A true JPS6031686A (en) 1985-02-18

Family

ID=15232794

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13890283A Pending JPS6031686A (en) 1983-07-29 1983-07-29 Frequency counter

Country Status (1)

Country Link
JP (1) JPS6031686A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02180107A (en) * 1988-12-23 1990-07-13 Taku Nakasaki Packaging device for solid object

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02180107A (en) * 1988-12-23 1990-07-13 Taku Nakasaki Packaging device for solid object

Similar Documents

Publication Publication Date Title
US4628269A (en) Pulse detector for missing or extra pulses
KR950005054B1 (en) Apparatus for detecting odd/even field of tv signal
US3363183A (en) Self-correcting clock for a data transmission system
US4163946A (en) Noise-immune master timing generator
JP2637800B2 (en) Synchronous malfunction detection
JPS6031686A (en) Frequency counter
GB1589449A (en) Methods and apparatus for enhancing resolution in pulse analysis
KR940008492B1 (en) Error action preventing circuit of character producing circuit
JPS6255110B2 (en)
JPH0311977Y2 (en)
JPS6028456B2 (en) synchronizer
JPS63312754A (en) Error generation circuit
JPH0644756B2 (en) Synchronous clock generation circuit
JPS57124928A (en) Edge detection circuit
JP2984802B2 (en) Input signal abnormality detection circuit
JP2605894B2 (en) Trigger signal generator
JPH04100339A (en) Frame clock interruption detection circuit
JPS62214733A (en) Code error detector
JP2606425B2 (en) Fault condition detection circuit
JPS63232652A (en) Frame synchronization protection circuit
JPS60174551A (en) Hdb-3 type bipolar signal error detecting circuit
JPS57173244A (en) Detection system for block synchronizing signal for data transmission
JPS61152140A (en) Data synchronizing circuit
JPS62160834A (en) Ais signal reception circuit
JPS6020659A (en) Error bit generator of digital data