JPS5945264B2 - counter circuit - Google Patents

counter circuit

Info

Publication number
JPS5945264B2
JPS5945264B2 JP10241077A JP10241077A JPS5945264B2 JP S5945264 B2 JPS5945264 B2 JP S5945264B2 JP 10241077 A JP10241077 A JP 10241077A JP 10241077 A JP10241077 A JP 10241077A JP S5945264 B2 JPS5945264 B2 JP S5945264B2
Authority
JP
Japan
Prior art keywords
signal
level
stage
binary counter
time
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
JP10241077A
Other languages
Japanese (ja)
Other versions
JPS5436174A (en
Inventor
英司 増田
八十二 鈴木
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
Tokyo Shibaura 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP10241077A priority Critical patent/JPS5945264B2/en
Publication of JPS5436174A publication Critical patent/JPS5436174A/en
Publication of JPS5945264B2 publication Critical patent/JPS5945264B2/en
Expired legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K23/00Pulse counters comprising counting chains; Frequency dividers comprising counting chains
    • H03K23/58Gating or clocking signals not applied to all stages, i.e. asynchronous counters

Landscapes

  • Measurement Of Unknown Time Intervals (AREA)
  • Electric Clocks (AREA)

Description

【発明の詳細な説明】 この発明はクロックパルス信号を所定数カウントしその
カウント数に応じた時間を計測するカウンタ回路に関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a counter circuit that counts a predetermined number of clock pulse signals and measures a time corresponding to the counted number.

バイナリカウンタを多段縦続接続したいわゆるリップル
カウンタ回路は、同期式のカウンタ回路に比較して素子
数が少なくて済むといった利点を有している。
A so-called ripple counter circuit in which multiple stages of binary counters are connected in cascade has the advantage that it requires fewer elements than a synchronous counter circuit.

第1図はクロックパルス信号をカウントして、クロック
パルス信号の512倍の時間を計測する従来のカウンタ
回路の一例を示す構成図である。
FIG. 1 is a block diagram showing an example of a conventional counter circuit that counts clock pulse signals and measures a time 512 times as long as the clock pulse signal.

第1図において1〜10は、前段のQ出力信号が後段の
同期信号となる如く順次多段縦続接続されたフリップフ
ロップ(以下F、Fと略称する)である。
In FIG. 1, reference numerals 1 to 10 indicate flip-flops (hereinafter abbreviated as F and F) sequentially connected in multi-stage cascade so that the Q output signal of the previous stage becomes the synchronization signal of the latter stage.

この各F、F1〜10の輩出力信号は各々のD(データ
)入力端に帰還されているっすなわち上記各F、F1〜
10はバイナリカウンタとしての機能を有する。
The output signals of each F, F1-10 are fed back to the D (data) input terminals of each F, F1-10.
10 has a function as a binary counter.

また上記各F、F1〜10のR(IJセット信号)入力
端には、並列的にフリセット信号S2.8が供給される
Further, a preset signal S2.8 is supplied in parallel to the R (IJ set signal) input terminals of each of the F and F1 to F10.

さらにこのプリセット信号S2.8は、一方の出力信号
が他方の入力信号となる如く互いの入力および出力両端
がたすきがけされフリップフロップ接続されたノアゲー
N1,12の一方のノアゲート11に供給される。
Furthermore, this preset signal S2.8 is supplied to one of the NOR gates 11 of the NOR gates N1 and 12, whose input and output ends are crossed and connected as flip-flops so that the output signal of one becomes the input signal of the other.

また他方のノアゲート12には、前記多段縦続接続され
た最後段のF、FloのQ出力信号が供給される。
Further, the other NOR gate 12 is supplied with the Q output signals of F and Flo at the last stage of the multi-stage cascade connection.

前記プリセット信号SP、8はクロックパルス信号S
が結合するアンドゲート13にインバータ14を介し
て供給され、さらにこのアンドゲート13の出力信号は
前記多段縦続接続された初段のF、Flの同期信号とな
る。
The preset signal SP, 8 is a clock pulse signal S.
is supplied via an inverter 14 to an AND gate 13 connected thereto, and the output signal of this AND gate 13 becomes a synchronization signal for F and Fl in the first stage of the multi-stage cascade connection.

そしてプリセット信号S を゛l″レベルから′0”
レベルに変化させることにより、各F−Fl〜10はリ
セットされQ出力信号Q1〜Q1oは1101ルベルに
なる。
Then, the preset signal S is changed from the level ``l'' to ``0''.
By changing the level, each F-Fl-10 is reset and the Q output signals Q1-Q1o become 1101 lvl.

またプリセット信号5p−sが+? 11ルベルから″
101ルベルに変化することにより、アンドゲート13
が開き、アンドゲート13からクロックパルス信号S。
Also, is the preset signal 5p-s +? From 11 Lebel
By changing to 101 rubel, AND gate 13
is opened, and the clock pulse signal S is output from the AND gate 13.

、Pが初段のF−Flに入力する。, P are input to the first stage F-Fl.

そして各F、F1〜10が512発のクロックパルス信
号をカウントすると、最後段のF、FloのQ出力信号
Qtoが“0″から°°1″に反転する。
When each F, F1 to F10 counts 512 clock pulse signals, the Q output signal Qto of the last stage F, Flo is inverted from "0" to "°1".

F、FloのQ出力信号Qtoが反転するとノアゲート
12に”1′ルベルの信号が入力し、ノアゲート11の
出力信号が″′l″レベルとなって所定の時間が計測さ
れたことが検知される。
When the Q output signal Qto of F and Flo is inverted, a signal of "1" level is input to the NOR gate 12, and the output signal of the NOR gate 11 becomes the "'l" level, and it is detected that a predetermined time has been measured. .

ところでリップルカウンタでは、初段のF、Flの同期
信号と最後段のF、Floの同期信号との間に、伝達遅
れ時間が生じることはさけられない。
By the way, in the ripple counter, it is inevitable that a transmission delay time occurs between the synchronization signals of F and Fl at the first stage and the synchronization signals of F and Flo at the last stage.

例えば第1図に示すようにF、FがlO段多段縦続接続
された10ビツトのカウンタ回路の場合、各F、F1〜
10出力信号がQt = Q2 = Q3= Q4 =
Q5 = Q6 = Q? = Qs = Q9 =
”l”レベル、Qlo =nOtyレベル(ただしQ□
〜Q1oは各々F、F 1〜〜10のQ出力信号である
)の後、■クロックパルス信号カウントして直ちにQ
1= Q 2 = Qs = Q4=Q5=Q6=Q7
=Q8=Q9=”O”レベル、Qto−″′1″レベル
になるべきである。
For example, in the case of a 10-bit counter circuit in which F, F are cascaded in 10 stages as shown in FIG.
10 output signals are Qt = Q2 = Q3 = Q4 =
Q5 = Q6 = Q? = Qs = Q9 =
"l" level, Qlo = nOty level (however, Q□
~Q1o are the Q output signals of F and F1~~10, respectively), then count the clock pulse signals and immediately output Q.
1=Q2=Qs=Q4=Q5=Q6=Q7
=Q8=Q9="O" level, Qto-"'1" level should be achieved.

しかし上記伝達遅れ時間により、最後段のF、Floの
Q出力信号QIO力(tlljlレベルになる前に初段
に近いF、Fはすでに次のクロックパルス信号を何発か
カウントしてしまうために、Q 1= Q2 = Q3
= Q4 = Q5 =Qa −Q? = Qs =
Qo = ”O”レベル、Q、 o=== @+ i
77レベルとはならず例えばQr =Q3=Q10−”
l”レベル、Q2 = Q4 = Q5 = Qa =
Q? = Qs = Q9 =”0″レベルとなって
しまう。
However, due to the above transmission delay time, before the Q output signal QIO of the last stage F, Flo reaches the tlljl level, the F, F near the first stage has already counted several times of the next clock pulse signal. Q1=Q2=Q3
= Q4 = Q5 =Qa -Q? = Qs =
Qo = “O” level, Q, o=== @+ i
77 level, for example, Qr = Q3 = Q10-"
l” level, Q2 = Q4 = Q5 = Qa =
Q? = Qs = Q9 = “0” level.

このように従来のカウンタ回路において、クロックパル
ス信号の例えば512倍の時間を計測するために、最後
段のF、FloのQ出力信号Q+oが′0”レベルから
1”レベルに変わる状態を検出していたのでは正確な時
間よりも大きな時間を計測してしまう。
In this way, in the conventional counter circuit, in order to measure the time that is, for example, 512 times the clock pulse signal, the state in which the Q output signal Q+o of the last stage F, Flo changes from the ``0'' level to the 1'' level is detected. If you do so, you will end up measuring a larger amount of time than the correct time.

すなわち、従来のカウンタ回路は正確な時間が計測でき
ないといった欠点がある。
That is, the conventional counter circuit has a drawback that it cannot accurately measure time.

この発明は上記のような事情を考慮してなされたもので
、その目的はりランクパルス信号をカウントして所定の
時間を計測する前に、予め多投縦続接続された複数のバ
イナリカウンタの内部状態が連続反転するときの初段の
バイナリカウンタか゛ら最後のバイナリカウンタまでに
至る遅延時間に応じたクロックパルス信号をカウントし
て複数のバイナリカウンタの初期状態を設定することに
より正確に時間を計測することができるカウンタ回路を
提供することにある。
This invention was made in consideration of the above-mentioned circumstances, and its purpose is to calculate the internal state of a plurality of binary counters that are cascaded with multiple inputs before counting rank pulse signals and measuring a predetermined time. It is possible to accurately measure time by setting the initial state of multiple binary counters by counting clock pulse signals corresponding to the delay time from the first binary counter to the last binary counter when the binary counter is continuously inverted. The purpose of this invention is to provide a counter circuit that can

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

第2図はこの発明のカウンタ回路の一実施例を示す構成
図である。
FIG. 2 is a block diagram showing an embodiment of the counter circuit of the present invention.

ここでは従来と同様にクロックパルス信号の512倍に
相当する時間を計測する場合のカウンタ回路について説
明する。
Here, a counter circuit for measuring a time corresponding to 512 times the clock pulse signal as in the conventional case will be described.

第2図において10′〜1グは、前段のQ出力信号が後
段の同期信号となる如く順次多段縦続接続されたF、F
(フリップフロップ)である。
In Fig. 2, 10' to 1G are F, F, which are successively connected in multi-stage cascade so that the Q output signal of the previous stage becomes the synchronization signal of the latter stage.
(flip-flop).

この各F、F10’〜19′の蚕出力信号金、。The silkworm output signal gold of each of these F, F10' to F19'.

−蚕、9は各々のD(データ)入力端に帰還されている
- Silkworm, 9 is fed back to each D (data) input terminal.

すなわち上記各F、F10’〜19′は、バイナリカウ
ンタとしての機能を有している。
That is, each of the above F and F10' to F19' has a function as a binary counter.

また上記各F、F1σ〜18′のS(セット信号)入力
端には、並列的にプリセット信号5P−8が供給される
Further, a preset signal 5P-8 is supplied in parallel to the S (set signal) input terminals of each of F and F1σ to 18'.

すなわち各F、F1σ〜1gのQ出力信号Q t o
−Q t sは、S入力端に供給されるプリセット信号
5P−8が′l”レベルになった後にすべて′l”レベ
ルとなるものである。
That is, the Q output signal Q to of each F, F1σ to 1g
-Q t s all go to the 'l' level after the preset signal 5P-8 supplied to the S input terminal goes to the 'l' level.

また最後段のF、F19’のS入力端にはオアゲート2
0を介して上記プリセット信号5P−8が供給され、こ
のF、F19’のQ出力信号Q19はプリセット信号S
P、sがnl”レベルになった後にt11$ルベルとな
る。
Also, OR gate 2 is connected to the S input terminal of F and F19' in the last stage.
0 is supplied with the preset signal 5P-8, and the Q output signal Q19 of F and F19' is supplied with the preset signal S
After P and s reach the nl'' level, the level becomes t11$.

またオアゲート20を介して最後段のF、F19’のS
入力端には計測開始信号ssgが供給され、F、Fl9
のQ出力信号Q19はこの計測開始信号SSUが″1”
レベルに立ち上った後に″Inレベルとなるものである
Also, through the OR gate 20, the F of the last stage, the S of F19'
A measurement start signal ssg is supplied to the input terminal, and F, Fl9
Q output signal Q19 of this measurement start signal SSU is "1"
After rising to the "In" level, the "In" level is reached.

前記プリセット信号5P−8はまたインバータ21を介
してアンドゲート22に供給される。
The preset signal 5P-8 is also supplied to an AND gate 22 via an inverter 21.

このアンドゲート22には、前記複数のF、F1σ〜1
9′のうちの最後段のF、F19’のQ出力信号Qt9
が供給されると共に、クロックパルス信号Sc、Pが供
給されている。
This AND gate 22 includes the plurality of F, F1σ~1
Q output signal Qt9 of the last stage F of 9', F19'
is supplied, and clock pulse signals Sc and P are also supplied.

そしてまた上記アンドゲートの出力信号は前記複数のF
、F10’〜19のうちの初段のF、F1σのφ(同期
信号)入力端に同期信号Sφとして供給されるようにな
っている。
Furthermore, the output signal of the AND gate is
, F10' to F19 at the first stage, and is supplied to the φ (synchronizing signal) input terminal of F1σ as a synchronizing signal Sφ.

次に上記のように構成された回路の動作について第3図
に示すタイムチャートを参照して説明する。
Next, the operation of the circuit configured as described above will be explained with reference to the time chart shown in FIG.

先ず第3図に示すように一定周期のクロックパルス信号
5o−Pをアンドゲート22に入力する。
First, as shown in FIG. 3, a clock pulse signal 5o-P of a constant period is input to the AND gate 22.

このときプリセット信号Sp −s、計測開始信号SS
Bは各々第3図に示すように“Inレベル、″″0″0
″レベルものとする。
At this time, the preset signal Sp-s, the measurement start signal SS
B is "In level", ""0"0, respectively, as shown in Figure 3.
″ level.

プリセット信号5P−8が“1″ルベルであるので、各
F、F1σ〜1gはすべてセットされている。
Since the preset signal 5P-8 is "1" level, each F and F1σ to 1g are all set.

すなわち各Q出力信号Q1o−Q19はすべて能動レベ
ル(n11ルベル)となっている。
That is, all Q output signals Q1o-Q19 are at active level (n11 level).

さらにインバータ21の出力信号はこのときf′□nレ
ベルになっているので、アンドゲート22の論理は成立
せずその出力信号はet(Ttレベルになっている。
Furthermore, since the output signal of the inverter 21 is at the f'□n level at this time, the logic of the AND gate 22 is not established and its output signal is at the et(Tt level).

次にプリセット信号5P−8を0”レベルに反転する。Next, the preset signal 5P-8 is inverted to 0'' level.

この後、インバータ21の出力信号は゛l″レベルとな
る。
After this, the output signal of the inverter 21 becomes "1" level.

このときすでにF、F19’のQ出力信号Q19は“1
99レベルなので、アンドゲート22は供給されるクロ
ックパルス信号5o−Pと同位相の同期信号Sφを出力
する。
At this time, the Q output signal Q19 of F and F19' is already "1".
99 level, the AND gate 22 outputs the synchronizing signal Sφ having the same phase as the supplied clock pulse signal 5o-P.

これ以前に前記各F、F10’〜19′の内部状態はす
べて゛°1″レベル、すなわちカウンタとしてフルカウ
ント状態にあるので、アンドゲート22から1見目の同
期信号Sφが初段のF、F1σのφ入力端に入力すれば
各F、F10〜19′の内部状態は連続反転してすべて
″′0°ルベルとなる。
Before this, the internal states of each F, F10' to F19' are all at the "°1" level, that is, the counter is in a full count state, so the first synchronization signal Sφ from the AND gate 22 is sent to the first stage F, F1σ. When inputted to the φ input terminal, the internal states of each F, F10 to F19' are continuously inverted and all become ''0° level.

しかし実際には各F、F10′〜19′において伝達遅
れ時間が存在するので、さらに数発の同期信号Sφが初
段のF、F10’のφ入力端に入力するだけの時間経過
後に始めて最後段のF、F19’のQ出力信号Q19が
“O”レベルに反転する。
However, in reality, there is a propagation delay time in each F, F10' to F19', so the last stage does not start until the time has elapsed for several more synchronizing signals Sφ to be input to the φ input terminals of F and F10' in the first stage. The Q output signal Q19 of F, F19' is inverted to "O" level.

そして上記信号Qtoが”0”ルベルに反転するまでに
初段のF、F1σのφ入力端に入力した同期信号Sφが
例えば4発であれば、第3図に示すように同期信号Sφ
の4発目後の時間にF、F 19’のQ出力信号Q19
は”0”レベルに反転する。
If, for example, there are four synchronizing signals Sφ input to the φ input terminals of F and F1σ in the first stage before the signal Qto is inverted to "0" level, the synchronizing signal Sφ is as shown in FIG.
Q output signal Q19 of F, F19' at the time after the fourth shot of
is inverted to "0" level.

このとき各F、F10′〜19′ニハ、各F、F1o′
〜19′の内部状態が連続反転するときの初段のF、F
10’から最後段のF、F19’までに至る伝達遅れ時
間に応じた数(4発)の同期信号Sφがカウントされて
いる。
At this time, each F, F10' to 19' niha, each F, F1o'
~19' F, F of the first stage when the internal state is continuously inverted
The number of synchronizing signals Sφ corresponding to the transmission delay time from 10' to the last stage F and F19' (four) is counted.

すなわちF、F12’のQ出力信号のみが”l”レベル
となり、他のF、FのQ出力信号はすべて″″0″0″
レベルている。
In other words, only the Q output signals of F and F12' are at "L" level, and all the Q output signals of other F and F are "0".
level.

これにより、各F、F1σ〜19′における伝達遅れ時
間を考慮したカウンタ回路の初期値(この場合は4)が
設定されたことになる。
As a result, the initial value (4 in this case) of the counter circuit is set in consideration of the transmission delay time in each of F and F1σ to F19'.

次に実際にり田ンクパルス信号5o−Pの512倍の時
間を計測する場合は、計測開始信号SsRを第3図に示
すように1”レベルにする。
Next, when actually measuring a time 512 times that of the digital pulse signal 5o-P, the measurement start signal SsR is set to the 1'' level as shown in FIG.

この後、オアゲート20を介して最後段のF、F19’
のS入力端に”l”レベルの計測開始信号SsRが入力
し、F、F19’のQ出力信号Qt9は再び゛l″レベ
ルになる。
After this, through the OR gate 20, the last stage F, F19'
The measurement start signal SsR of "L" level is input to the S input terminal of F, F19', and the Q output signal Qt9 of F, F19' becomes "L" level again.

F、F19’のQ出力信号Q19がl”レベルになった
後、アンドゲート22はクロックパルス信号5O−Pと
同位相の同期信号Sφを出力する。
After the Q output signal Q19 of F, F19' becomes L'' level, the AND gate 22 outputs the synchronization signal Sφ having the same phase as the clock pulse signal 5O-P.

その後、各F、F10’〜19′はアンドゲート22か
ら入力する同期信号Sφを順次カウントし、512から
前記初期値4を差し引いた508発の同期信号Sφをカ
ウントした後に、最後段のF、F19′のQ出力信号Q
19が“0″ルベルに反転することになる。
After that, each F, F10' to F19' sequentially counts the synchronizing signal Sφ input from the AND gate 22, and after counting 508 synchronizing signals Sφ, which is 512 minus the initial value 4, the last stage F, Q output signal Q of F19'
19 will be inverted to "0" level.

いま同期信号Sφが507発カウントされると、F、F
1σ〜18′のQ出力信号はすべて゛°l″レベルとな
る。
Now, when 507 synchronization signals Sφ are counted, F, F
The Q output signals of 1σ to 18' are all at the "°1" level.

また予め最後段のF、F19’のQ出力信号は予め°゛
1″1″レベルているので、このときF、F1σ〜19
′はフルカウト状態になる。
Also, since the Q output signals of F and F19' at the last stage are already at the level of °1''1'', at this time F and F1σ~19
' is in full count state.

次に508発目0同期信号Sφが初段のF、F1σに入
力すると、F、F1σ〜19′の内部状態が連続して反
転する。
Next, when the 508th 0 synchronization signal Sφ is input to the first stage F and F1σ, the internal states of F and F1σ to 19' are successively inverted.

そして初段のF、F1σの状態が反転した後から最後段
のF、F19’の状態が反転するまでの時間は前記伝達
遅れ時間に相当し、これは信号Sφの4発分に相当して
いるので実際に最後段F、F 19’のQ出力信号が゛
0″レベルに反転するとき、初段のF、F1σには合計
で508発目+4発=512発の同期信号Sφが入力す
ることになる。
The time from when the states of F and F1σ in the first stage are reversed until the state of F and F19' in the last stage is reversed corresponds to the transmission delay time, which corresponds to four shots of the signal Sφ. Therefore, when the Q output signals of the last stage F and F19' actually invert to the "0" level, a total of 508th + 4th = 512th synchronization signal Sφ will be input to the first stage F and F1σ. Become.

すなわち、フルカウント状態から次にF、F19’のQ
出力信号Q19が゛0″レベルにされるまでの伝達遅れ
時間は前記設定されたカウンタ回路の初期値によって補
正される。
In other words, from the full count state, the next Q of F, F19'
The transmission delay time until the output signal Q19 is set to the "0" level is corrected by the set initial value of the counter circuit.

したがって計測開始信号SSRが”1″レベルになった
後から、F、F19’のQ出力信号Q19力セ0″レベ
ルに反転量子化誤差を除いて、正確にクロックパルス信
号の512倍の時間となる。
Therefore, after the measurement start signal SSR reaches the "1" level, the Q output signal Q19 of F and F19' reaches the 0" level in exactly 512 times the clock pulse signal, excluding the inversion quantization error. Become.

そしてlクロックパルス信号の時間×512の時間後(
T1後)はアンドゲート22の論理は成立せず、初段の
F、F10′への同期信号Sφの供給が停止される。
Then, after the time of l clock pulse signal x 512 (
After T1), the logic of the AND gate 22 is not established, and the supply of the synchronizing signal Sφ to the first stage F and F10' is stopped.

さらにこのとき、F、F1σ〜19′には期間T0内の
クロックパルス信号に応じた伝達遅れ時間がディジタル
量としてカウントされているので、次の時間計測時にお
いても計測開始信号SsRを入力するだけで再び正確に
クロックパルス信号の512倍の時間を計測することが
できる。
Furthermore, at this time, since the transmission delay time corresponding to the clock pulse signal within the period T0 is counted as a digital quantity in F and F1σ to 19', the measurement start signal SsR is only input when measuring the next time. Then, the time 512 times the clock pulse signal can be accurately measured again.

またさらに各F、F10’〜1gの伝達遅れ時間を予め
知る必要がないので、伝達遅延時間を極力小さくするよ
うに各F、F1σ〜19′を設計する必要がない。
Furthermore, since it is not necessary to know the transmission delay time of each F and F10' to 1g in advance, there is no need to design each F and F1σ to 19' to minimize the transmission delay time.

しかも各F、F10’〜19′の初期状態を設定する期
間と時間を計測する期間とが同一の環境条件であればよ
いので、温度変化および経年変化による伝達遅れ時間に
よる計測時間の誤差はほとんど無視できるほど小さくな
る。
Moreover, since the period for setting the initial state of each F, F10' to F19' and the period for measuring time need only be under the same environmental conditions, there is almost no error in measurement time due to transmission delay time due to temperature changes and aging. becomes negligibly small.

この発明は上記した一実施例に限定されるものではなく
、例えば上記実施例ではF、Fを10段縦続接続してク
ロックパルス信号の512倍の時間を計測する場合につ
いて説明したが、F、Fの数は10段に限らすとも良く
、要するにクロックパルス信号の2の整数ベキ乗の時間
を計測するものであれば良い。
The present invention is not limited to the above-mentioned embodiment. For example, in the above-mentioned embodiment, a case has been described in which F and F are connected in cascade in 10 stages to measure a time 512 times as long as the clock pulse signal. The number of F may be limited to 10 stages, and in short, it is sufficient as long as it measures the time of an integer power of 2 of the clock pulse signal.

以上説明したようにこの発明によれば、所定の時間を計
測する前に、予め多段縦続接続された複数のバイナリカ
ウンタの内部状態が連続反転するときの初段のバイナリ
カウンタから最後段のバイナリカウンタまでに至る遅延
時間に応じたクロックパルス信号をカウントして複数の
バイナリカウンタの初期状態を設定した後、所定の時間
をカウントするようにしたことにより正確に時間を計測
することができるカウンタ回路を提供できる。
As explained above, according to the present invention, before measuring a predetermined time, when the internal states of a plurality of binary counters connected in cascade in advance are continuously inverted, from the first stage binary counter to the last stage binary counter Provided is a counter circuit that can accurately measure time by counting clock pulse signals according to the delay time leading to the delay time and setting the initial state of a plurality of binary counters, and then counting a predetermined time. can.

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

第1図は従来のカウンタ回路の構成図、第2図はこの発
明の一実施例を示す構成図、第3図は上記実施例を説明
するためのタイムチャートである。 10′〜19′・・・・・・フリップフロップ、20・
・・・・・オアゲート、21・・・・・・インバータ、
22・・・・・・アンドゲート。
FIG. 1 is a block diagram of a conventional counter circuit, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIG. 3 is a time chart for explaining the above embodiment. 10'~19'...Flip-flop, 20.
...or gate, 21...inverter,
22...and gate.

Claims (1)

【特許請求の範囲】[Claims] 1 前段の出力信号が後段の同期信号となるように多段
縦続接続されると共にプリセット信号が供給されること
により内部状態が能動状態にされる第1段目ないし第(
、−1)段目のバイナリカウンタと、上記第(n−1)
段目のバイナリカウンタの出力信号が同期信号として供
給され上記プリセット信号もしくは計測開始信号が供給
されることにより内部状態が能動状態にされる第n段目
のバイナリカウンタと、上記プリセット信号および上記
第n段目のバイナリカウンタの出力信号の論理状態に応
じてクロックパルスを同期信号として上記第1段目のバ
イナリカウンタに供給制御するゲート回路とを具備し、
上記第1ないし第n段目のバイナリカウンタの内部状態
が連続的に反転するときの第1段目のバイナリカウンタ
から第n段目のバイナリカウンタまでに至る信号遅延時
間に応じた数のクロックパルスを上記各バイナリカウン
タでカウントすることにより、上記第1ないし第n段目
のバイナリカウンタの初期状態を設定するようにしたこ
とを特徴とするカウンタ回路。
1. The first to first stages are connected in cascade in multiple stages so that the output signal of the previous stage becomes the synchronization signal of the subsequent stage, and the internal state is made active by supplying a preset signal.
, -1)th stage binary counter, and the above (n-1)th stage binary counter.
an nth stage binary counter whose internal state is activated by supplying the output signal of the stage binary counter as a synchronization signal and supplying the preset signal or the measurement start signal; a gate circuit that controls supply of a clock pulse as a synchronization signal to the first stage binary counter according to the logic state of the output signal of the nth stage binary counter;
The number of clock pulses corresponding to the signal delay time from the first stage binary counter to the nth stage binary counter when the internal states of the first to nth stage binary counters are continuously inverted. A counter circuit characterized in that the initial states of the first to n-th stage binary counters are set by counting by each of the binary counters.
JP10241077A 1977-08-26 1977-08-26 counter circuit Expired JPS5945264B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10241077A JPS5945264B2 (en) 1977-08-26 1977-08-26 counter circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10241077A JPS5945264B2 (en) 1977-08-26 1977-08-26 counter circuit

Publications (2)

Publication Number Publication Date
JPS5436174A JPS5436174A (en) 1979-03-16
JPS5945264B2 true JPS5945264B2 (en) 1984-11-05

Family

ID=14326661

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10241077A Expired JPS5945264B2 (en) 1977-08-26 1977-08-26 counter circuit

Country Status (1)

Country Link
JP (1) JPS5945264B2 (en)

Also Published As

Publication number Publication date
JPS5436174A (en) 1979-03-16

Similar Documents

Publication Publication Date Title
US4443887A (en) Frequency-dividing circuit
US3836858A (en) Pulse width setting apparatus
JPH0467811B2 (en)
US4160154A (en) High speed multiple event timer
US3502991A (en) Signal generator with asynchronous start
JPH03136513A (en) Device for converting d-type flip-flop into b-type flip-flop able to sample data by both of front edge and rear edge of clock signal
US3675127A (en) Gated-clock time measurement apparatus including granularity error elimination
JPS5945264B2 (en) counter circuit
US4493095A (en) Counter having a plurality of cascaded flip-flops
US4335596A (en) Device for measuring the operation of a timepiece movement
KR100211230B1 (en) Thermal balance circuit
JPH05333808A (en) Display driving circuit
US4741005A (en) Counter circuit having flip-flops for synchronizing carry signals between stages
US4728816A (en) Error and calibration pulse generator
US3423676A (en) Multi-state digital interpolating apparatus for time interval measurements
US4574385A (en) Clock divider circuit incorporating a J-K flip-flop as the count logic decoding means in the feedback loop
SU930685A1 (en) Counting device
JP2563366B2 (en) Signal cycle measuring device
US4164712A (en) Continuous counting system
JPH01143978A (en) Delay time measuring circuit
US3383498A (en) Digital circuit
FR2308971B1 (en)
US3728629A (en) Automatic time interval ranging circuit for delay interval measurements
US3214693A (en) Time filter
JP2972644B2 (en) Delay time measurement circuit