JPH0761003B2 - Timing circuit - Google Patents
Timing circuitInfo
- Publication number
- JPH0761003B2 JPH0761003B2 JP2101387A JP2101387A JPH0761003B2 JP H0761003 B2 JPH0761003 B2 JP H0761003B2 JP 2101387 A JP2101387 A JP 2101387A JP 2101387 A JP2101387 A JP 2101387A JP H0761003 B2 JPH0761003 B2 JP H0761003B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- level
- clock
- output
- circuit
- 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 - Fee Related
Links
Landscapes
- Manipulation Of Pulses (AREA)
Description
【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明はカウンタ回路等の計数手段によりクロック信
号を計数してある時間間隔の測定を行なう計時回路に関
する。DETAILED DESCRIPTION OF THE INVENTION Object of the Invention (Industrial field of application) The present invention relates to a clock circuit that counts clock signals by a counting means such as a counter circuit and measures a certain time interval.
(従来の技術) 第3図は従来の計時回路の回路図である。図において、
11はクロック信号をカウントすることによりd1〜dnのn
ビットの計数信号COを出力するバイナリカウンタであ
る。このバイナリカウンタ11へのクロック信号はアンド
ゲート12から出力される。このアンドゲート12にはマス
タークロック信号MCP及びラッチ回路13から出力される
制御信号CNTが供給されている。上記ラッチ回路13には
計時を開始させるための開始信号SRTと停止させるため
の停止信号STP及び上記マスタークロック信号MCPとが供
給されており、このラッチ回路13は開始信号SRTと停止
信号STPそれぞれをクロック信号MCPの立ち下がりに同期
してラッチすることにより上記制御信号CNTのレベルを
設定している。(Prior Art) FIG. 3 is a circuit diagram of a conventional timing circuit. In the figure,
11 counts the clock signals to determine n from d1 to dn
It is a binary counter that outputs a bit count signal CO. The clock signal to the binary counter 11 is output from the AND gate 12. The AND gate 12 is supplied with the master clock signal MCP and the control signal CNT output from the latch circuit 13. The latch circuit 13 is supplied with a start signal SRT for starting timing, a stop signal STP for stopping and the master clock signal MCP, and the latch circuit 13 outputs a start signal SRT and a stop signal STP, respectively. The level of the control signal CNT is set by latching in synchronization with the falling edge of the clock signal MCP.
このような構成において、開始信号SRTが“1"レベルに
立ち上がった後に、クロック信号MCPの立ち下がりに同
期して制御信号CNTが“1"レベルにされる。これにより
アンドゲート12が開かれてクロック信号MCPがバイナリ
カウンタ11に供給される。バイナリカウンタ11はクロッ
ク信号MCPが立ち下がる毎に順次クロック信号のカンウ
ントを行う。次に停止信号STPが“1"レベルに立ち上が
った後に、クロック信号MCPの立ち下がりに同期して制
御信号CNTが“0"レベルにされる。これによりアンドゲ
ート12が閉じられ、クロック信号MCPのバイナリカウン
タ11への供給が停止される。そして、開始信号SRTが供
給されてから停止信号STPが供給されるまでの時間間隔
がnビットの計数信号COとしてバイナリカウンタ11から
出力される。この後はリセット信号RSがバイナリカウン
タ11に供給されて計数状態がリセットされる。In such a configuration, after the start signal SRT rises to the "1" level, the control signal CNT is set to the "1" level in synchronization with the fall of the clock signal MCP. As a result, the AND gate 12 is opened and the clock signal MCP is supplied to the binary counter 11. The binary counter 11 sequentially counts clock signals every time the clock signal MCP falls. Next, after the stop signal STP rises to the "1" level, the control signal CNT is set to the "0" level in synchronization with the fall of the clock signal MCP. As a result, the AND gate 12 is closed and the supply of the clock signal MCP to the binary counter 11 is stopped. Then, the time interval from the supply of the start signal SRT to the supply of the stop signal STP is output from the binary counter 11 as an n-bit count signal CO. After that, the reset signal RS is supplied to the binary counter 11 to reset the counting state.
ところで、上記バイナリカウンタ11は普通、同期式もし
くは非同期式のT型フリップフロップ回路を多段縦続接
続して構成されている。このため、計数可能なクロック
信号の周波数には上限がある。従って、周波数の高いク
ロック信号の計数により高精度に計時を行なうことは困
難である。このため、バイナリカウンタ11を構成するT
型フリップフロップ回路の動作電流を増やして計数可能
な周波数の上限を引上げることが考えられるが、消費電
流が増加することは問題がある。また、クロック信号の
周波数を上げると、発振器の消費電流が増加し、かつ発
振が不安定いなる可能性もある。By the way, the binary counter 11 is usually constructed by connecting a plurality of synchronous or asynchronous T-type flip-flop circuits in cascade. Therefore, there is an upper limit to the frequency of the clock signal that can be counted. Therefore, it is difficult to perform timekeeping with high accuracy by counting clock signals with high frequencies. Therefore, the T that constitutes the binary counter 11 is
It is conceivable to increase the operating current of the type flip-flop circuit to raise the upper limit of the countable frequency, but there is a problem in that the consumption current increases. Further, if the frequency of the clock signal is increased, the current consumption of the oscillator may increase and the oscillation may become unstable.
(発明が解決しようとする問題点) このように従来の計時回路では、高精度な計時を行なう
にはクロック信号の周波数を上げなければならず、この
結果として消費電流が増加するという欠点がある。(Problems to be Solved by the Invention) As described above, in the conventional timing circuit, the frequency of the clock signal must be raised to perform highly accurate timing, and as a result, the current consumption increases. .
この発明は上記のような事情を考慮してなされたもので
あり、その目的は、クロック信号の周波数を上げずに、
従って消費電流の増加を伴わずに高精度に計時を行なう
ことができる計時回路を提供することにある。The present invention has been made in consideration of the above circumstances, and an object thereof is to increase the frequency of a clock signal without increasing the frequency.
Therefore, it is an object of the present invention to provide a time counting circuit capable of highly accurate time counting without increasing current consumption.
[発明の構成] (問題点を解決するための手段) この発明の計時回路は、計時開始信号及び計時停止信号
をクロック信号の第1のレベルから第2のレベルへの遷
移時に同期してラッチし、計時期間に対応した流さの計
時制御信号を発生する計時制御信号発生手段と、上記計
時制御信号に基づき上記クロック信号を出力制御する出
力制御手段と、上記出力制御手段から出力されるクロッ
ク信号を計数してnビットの計数信号を出力する第1の
計数手段と、上記計時停止信号を上記クロック信号の第
2のレベルから第1のレベルへの遷移時に同期してラッ
チするD型の第1フリップフロップ回路、上記第1のフ
リップフロップ回路の出力を反転する信号反転回路、上
記計時停止信号を上記クロック信号の第1のレベルから
第2のレベルへの遷移時に同期してラッチするD型の第
2のフリップフロップ回路及び上記信号反転回路の出力
と上記第2のフリップフロップ回路の出力との論理和信
号を得る論理回路からなり、上記計時停止信号が上記計
時制御信号発生手段に供給される時点が上記クロック信
号の第2のレベルから第1のレベルへの遷移時よりも前
か後を判定する判定手段と、上記判定手段における判定
出力に応じて、上記第1の計数手段のnビットの計数信
号の最下位ビット信号よりも1ビット下位の計数信号を
出力する第2の計数手段とから構成されている。[Configuration of the Invention] (Means for Solving the Problems) A timing circuit according to the present invention latches a timing start signal and a timing stop signal in synchronization with a transition of a clock signal from a first level to a second level. However, a clock control signal generating means for generating a clock control signal of a flow corresponding to the clock period, an output control means for controlling the output of the clock signal based on the clock control signal, and a clock signal output from the output control means. Counting means for outputting an n-bit counting signal, and a D-type counting means for latching the clock stop signal in synchronization with the transition of the clock signal from the second level to the first level. 1 flip-flop circuit, a signal inverting circuit that inverts the output of the first flip-flop circuit, and a transition of the clock stop signal from the first level to the second level of the clock signal And a logic circuit for obtaining a logical sum signal of the output of the signal inverting circuit and the output of the second flip-flop circuit, which latches in synchronization with Depending on the determination means for determining whether the time point supplied to the clock control signal generation means is before or after the transition time of the clock signal from the second level to the first level, and the determination output by the determination means, The second counting means outputs a counting signal 1 bit lower than the least significant bit signal of the n-bit counting signal of the first counting means.
(作用) この発明の計時回路ではクロック信号を計数する計数手
段で得られるnビットの計数信号に対しもう1ビット計
数信号を付加している。そして、計時停止信号が供給さ
れる時点が上記クロック信号の1周期のちょうど中間の
時点よりも前か後かを判定し、これが前である場合には
上記付加されたビットの計数信号を“1"レベルに設定す
るようにしている。これにより、周波数が従来と同じク
ロック信号を計数する場合でも、計数信号のビット数が
従来よりも増加し、これによりクロック信号の周波数を
上げずに従来よりも高精度に計時を行なうことができ
る。(Operation) In the time counting circuit of the present invention, another 1-bit counting signal is added to the n-bit counting signal obtained by the counting means for counting the clock signal. Then, it is determined whether the time point at which the clock stop signal is supplied is before or after the time point just in the middle of one cycle of the clock signal. If this is before, the count signal of the added bit is set to "1". "I try to set it to a level. As a result, even when a clock signal having the same frequency as that of the conventional case is counted, the number of bits of the count signal is increased as compared with the conventional case, whereby the clock can be clocked with higher accuracy than before without increasing the frequency of the clock signal. .
(実施例) 以下、図面を参照してこの発明の実施例を説明する。Embodiment An embodiment of the present invention will be described below with reference to the drawings.
第1図はこの発明の計時回路の構成を示す回路図であ
る。図において、11はクロック信号をカウントすること
によりd2〜dn+1からなるnビットの計数信号を出力す
るバイナリカウンタである。このバイナリカウンタ11に
はアンドゲート12からカウント用のクロック信号が供給
される。上記アンドゲート12にはマスタークロック信号
MCP及びラッチ回路13から出力される制御信号CNTが供給
されている。上記ラッチ回路13には計時を開始させるた
めの開始信号SRTと、停止させるための停止信号STP及び
上記マスタークロック信号MCPとが供給されており、こ
のラッチ回路13は開始信号SRT及び停止信号STPそれぞれ
をクロック信号MCPの立ち下がりに同期してラッチする
ことにより上記制御信号CNTのレベルを設定している。FIG. 1 is a circuit diagram showing the configuration of the clock circuit of the present invention. In the figure, 11 is a binary counter that outputs an n-bit count signal consisting of d2 to dn + 1 by counting clock signals. A clock signal for counting is supplied from the AND gate 12 to the binary counter 11. The AND gate 12 has a master clock signal
The control signal CNT output from the MCP and latch circuit 13 is supplied. The latch circuit 13 is supplied with a start signal SRT for starting timing, a stop signal STP for stopping and the master clock signal MCP, and the latch circuit 13 has a start signal SRT and a stop signal STP, respectively. Is latched in synchronization with the fall of the clock signal MCP to set the level of the control signal CNT.
14は判定回路である。この判定回路14は上記停止信号ST
Pが“1"レベルに立ち上がるタイミングが、マスターク
ロック信号MCPの1周期の中間である信号MCPが立ち上が
るタイミングよりも前にあるかもしくは後にあるかを判
定するものであり、この判定回路14の判定信号DJはT型
フリップフロップ回路15のトリガ端子(T端子)に供給
される。そして、このフリップフロップ回路15からは、
上記バイナリカウンタ11から出力されるnビットの計数
信号の最下位ビット信号d2よりも1ビット下位の信号d1
がQ端子から出力される。また、このフリップフロップ
回路15及び上記バイナリカウンタ11のリセット端子(R
端子)にはリセット信号RSが供給され、カウント状態が
リセットされるようになっている。14 is a judgment circuit. This determination circuit 14 uses the stop signal ST
This determination circuit 14 determines whether the timing at which P rises to the "1" level is before or after the timing at which the signal MCP, which is the middle of one cycle of the master clock signal MCP, rises. The signal DJ is supplied to the trigger terminal (T terminal) of the T-type flip-flop circuit 15. And from this flip-flop circuit 15,
A signal d1 which is one bit lower than the least significant bit signal d2 of the n-bit count signal output from the binary counter 11.
Is output from the Q terminal. The flip-flop circuit 15 and the reset terminal (R
The reset signal RS is supplied to the (terminal) to reset the count state.
従って、この実施例回路の場合、計数信号COはd1〜d1+
nの(n+1)ビットとなり、従来よりも1ビット増加
したものとなる。Therefore, in the case of the circuit of this embodiment, the counting signal CO is d1 to d1 +
This is (n + 1) bits of n, which is one bit more than the conventional one.
上記判定回路14は図示のように、2個のD型フリップフ
ロップ回路21、22と、2個のインバータ23、24及びノア
ゲート25とから構成されている。そして、上記両フリッ
プフロップ回路21、22の入力データとして上記停止信号
STPが供給され、一方のフリップフロップ回路21には同
期信号として上記マスタークロック信号MCPが上記イン
バータ23を介して供給されており、他方のフリップフロ
ップ回路22にはマスタークロック信号MCPが直接供給さ
れている。そして、フリップフロップ回路21の出力Q1は
上記インバータ24を介して上記ノアゲート25の一方入力
端子に供給され、フリップフロップ回路22の出力Q2は上
記ノアゲート25の他方入力端子に直接供給されている。
そして、上記ノアゲート25の出力が判定信号DJとして上
記フリップフロップ回路15に供給されている。The decision circuit 14 is composed of two D-type flip-flop circuits 21 and 22, two inverters 23 and 24, and a NOR gate 25 as shown in the figure. Then, the stop signal is used as input data of the flip-flop circuits 21 and 22.
STP is supplied, the master clock signal MCP is supplied as a synchronization signal to one flip-flop circuit 21 via the inverter 23, and the master clock signal MCP is directly supplied to the other flip-flop circuit 22. There is. The output Q1 of the flip-flop circuit 21 is supplied to one input terminal of the NOR gate 25 via the inverter 24, and the output Q2 of the flip-flop circuit 22 is directly supplied to the other input terminal of the NOR gate 25.
The output of the NOR gate 25 is supplied to the flip-flop circuit 15 as the determination signal DJ.
次に上記構成でなる計時回路の動作を説明する。まず、
開始信号SRTが“1"レベルに立ち上がると、次にクロッ
ク信号MCPの立ち下がりに同期してラッチ回路13の出力
である制御信号CNTが“1"レベルにされる。これにより
アンドゲート12が開かれてクロック信号MCPがバイナリ
カウンタ11に供給される。この後、バイナリカウンタ11
はクロック信号MCPが立ち下がる毎に順次クロック信号
のカウントを行い、d2〜dn+1からなるnビットの計数
信号を順次増加させていく。次に停止信号STPが“1"レ
ベルに立ち上がると、クロック信号MCPの立ち下がりに
同期して制御信号CNTが“0"レベルにされる。これによ
りアンドゲート12が閉じられ、クロック信号MCPのバイ
ナリカウンタ11への供給が停止される。そして、開始信
号SRTが供給されてから次に停止信号STPが供給されるま
での時間間隔がnビットの計数信号としてバイナリカウ
ンタ11から出力される。このような動作は従来回路の場
合と同様である。Next, the operation of the clock circuit configured as described above will be described. First,
When the start signal SRT rises to the "1" level, the control signal CNT, which is the output of the latch circuit 13, is next set to the "1" level in synchronization with the fall of the clock signal MCP. As a result, the AND gate 12 is opened and the clock signal MCP is supplied to the binary counter 11. After this, the binary counter 11
Every time the clock signal MCP falls, the clock signal is sequentially counted, and the n-bit count signal composed of d2 to dn + 1 is sequentially increased. Next, when the stop signal STP rises to the "1" level, the control signal CNT is set to the "0" level in synchronization with the fall of the clock signal MCP. As a result, the AND gate 12 is closed and the supply of the clock signal MCP to the binary counter 11 is stopped. Then, the time interval from the supply of the start signal SRT to the next supply of the stop signal STP is output from the binary counter 11 as an n-bit count signal. Such an operation is similar to that of the conventional circuit.
ところで、上記バイナリカウンタ11で得られるnビット
の計数信号には、停止信号STOが“1"レベルに立ち上が
るタイミングに応じ、最大でクロック信号MCPの1周期
分の計数誤差が生じる。すなわち、クロック信号MCPが
“0"レベルに立ち下がった直後に停止信号STPが“1"レ
ベルに立ち上がる場合に最大の誤差が生じる。By the way, the n-bit count signal obtained by the binary counter 11 has a maximum count error of one cycle of the clock signal MCP depending on the timing when the stop signal STO rises to the "1" level. That is, the maximum error occurs when the stop signal STP rises to the "1" level immediately after the clock signal MCP falls to the "0" level.
そこでこの実施例回路では、計数信号COとしてバイナリ
カウンタ11のnビットの計数信号に対しさらにフリップ
フロップ回路15の1ビット分を追加し、この追加された
1ビットの計数信号のレベルを判定回路14の判定信号DJ
に基づいて設定することにより、計数信号COのビット数
をマスタークロック信号MCPの周波数を上げないで増加
させ、計数信号COの高精度化を図るようにしたものであ
る。Therefore, in the circuit of this embodiment, one bit of the flip-flop circuit 15 is added to the n-bit count signal of the binary counter 11 as the count signal CO, and the level of the added 1-bit count signal is determined by the determination circuit 14. Judgment signal DJ
The number of bits of the counting signal CO is increased without increasing the frequency of the master clock signal MCP, and the accuracy of the counting signal CO is improved by setting the frequency of the master clock signal MCP.
すなわち第2図のタイミングチャート内の実線で示すよ
うに、停止信号STPが立ち上がるタイミングがクロック
信号MCPの1周期のちょうど中間のタイミングよりも
前、すなわち時刻t1で信号MCPが“1"レベルから“0"レ
ベルに立ち下がり、この後、この後の時刻t2で“0"レベ
ルから“1"レベルに立ち上がるよりも前に“1"レベルに
立上がる場合、判定回路14内のフリップフロップ回路22
はマスタークロック信号MCPの立ち上がりに同期して入
力データすなわち停止信号STPを取込むため、その出力
信号Q2は図中の実線で示すように時刻t2の後に“1"レベ
ルに立上がる。他方、判定回路14内のフリップフロップ
回路21はインバータ23を介してマスタークロック信号MC
Pが供給されているのため、このフリップフロップ回路2
1はクロック信号MCPの立ち下がりに同期して停止信号ST
Pを取込む。従って、このフリップフロップ回路21の出
力信号Q1は時刻t3における信号MCPの立ち下がり後に
“1"レベルに立ち上がる。That is, as shown by the solid line in the timing chart of FIG. 2, the timing at which the stop signal STP rises is before the timing just in the middle of one cycle of the clock signal MCP, that is, at the time t1, the signal MCP changes from "1" level to " If it falls to 0 level and then rises to "1" level before rising from "0" level to "1" level at time t2 thereafter, the flip-flop circuit 22 in the decision circuit 14
Takes in the input data, that is, the stop signal STP in synchronization with the rising edge of the master clock signal MCP, so that its output signal Q2 rises to "1" level after time t2 as shown by the solid line in the figure. On the other hand, the flip-flop circuit 21 in the determination circuit 14 receives the master clock signal MC via the inverter 23.
Since P is supplied, this flip-flop circuit 2
1 is the stop signal ST in synchronization with the falling edge of the clock signal MCP
Capture P. Therefore, the output signal Q1 of the flip-flop circuit 21 rises to the "1" level after the fall of the signal MCP at the time t3.
ここで上記信号Q1の反転信号及び信号Q2が供給されるノ
アゲート25の出力はDJは図中の実線で示すように“0"レ
ベルのままにされる。従って、この場合、この判定信号
DJが供給されるT型フリップフロップ回路15はトリガさ
れず、その出力である計数信号COの最下位ビット信号d1
は“0"レベルにされる。Here, the output of the NOR gate 25 to which the inverted signal of the signal Q1 and the signal Q2 are supplied, DJ is kept at "0" level as shown by the solid line in the figure. Therefore, in this case, this judgment signal
The T-type flip-flop circuit 15 to which DJ is supplied is not triggered, and its output is the least significant bit signal d1 of the count signal CO.
Is set to "0" level.
他方、停止信号STPが立ち上がるタイミングが図中の破
線で示すようにクロック信号MCPの1周期のちょうど中
間のタイミングよりも後、すなわち時刻t2とt3の間の場
合、判定回路14内のフリップフロップ回路22の出力信号
Q2は図中の破線で示すように時刻t4において信号MCPが
“1"レベルに立ち上がった後に“1"レベルに立上がる。
他方、フリップフロップ回路21は時刻t3においてクロッ
ク信号MCPが“0"レベルに立ち下がった後に“1"レベル
に立ち上がる。On the other hand, when the timing at which the stop signal STP rises is after the timing exactly in the middle of one cycle of the clock signal MCP, that is, between the times t2 and t3, the flip-flop circuit in the decision circuit 14 is shown. 22 output signals
Q2 rises to the "1" level after the signal MCP rises to the "1" level at time t4 as indicated by the broken line in the figure.
On the other hand, the flip-flop circuit 21 rises to "1" level after the clock signal MCP falls to "0" level at time t3.
この場合、ノアゲート25の出力はDJは図中の破線で示す
ように時刻t3からt4の期間に“1"レベルされる。従っ
て、この場合、この判定信号DJが供給されるT型フリッ
プフロップ回路15がトリガされ、その出力である計数信
号COの最下位ビット信号d1が“1"レベルにされる。In this case, the output of the NOR gate 25 has the DJ level "1" during the period from the time t3 to the time t4 as shown by the broken line in the figure. Therefore, in this case, the T-type flip-flop circuit 15 to which the determination signal DJ is supplied is triggered and the least significant bit signal d1 of the output count signal CO is set to the "1" level.
このように計数信号COの最下位ビット信号であるフリッ
プフロップ回路15の出力信号d1はマスタークロック信号
MCPの半周期分の時間に対応した信号となっているた
め、従来の計時回路に比べて高精度に計時を行なうこと
ができる。すなわち、この場合の計時誤差は最大でマス
タークロック信号MCPの半周期の時間にすることがで
き、しかも従来のようにクロック信号の周波数を上げる
必要がない。このため、発振器の消費電流の増加や、発
振が不安定になる、等の不都合は発生しない。Thus, the output signal d1 of the flip-flop circuit 15, which is the least significant bit signal of the count signal CO, is the master clock signal.
Since the signal corresponds to the time for half a cycle of the MCP, it is possible to measure time with higher accuracy than the conventional clock circuit. That is, the time measurement error in this case can be set to the maximum half cycle time of the master clock signal MCP, and it is not necessary to increase the frequency of the clock signal as in the conventional case. Therefore, the disadvantages such as increase in current consumption of the oscillator and instability of oscillation do not occur.
なお、この発明は上記実施例に限定されるものではなく
種々の変形が可能であることはいうまでもない。例えば
上記実施例ではバイナリカウンタ11はクロック信号の立
ち下がりに同期して計数を行ない、かつラッチ回路13は
クロック信号の立ち下がりに同期して信号をラッチする
場合について説明したが、これはその反対にクロック信
号の立ち上がりに同期して計数もしくはラッチする形式
のものを使用するようにしてもよい。また、この場合に
は、フリップフロップ回路21の出力信号Q1とフリップフ
ロップ回路22の出力信号Q2の反転信号との論理積を取る
ことにより判定信号DJを得るように判定回路14の構成を
変更する必要がある。It is needless to say that the present invention is not limited to the above embodiment and various modifications can be made. For example, in the above embodiment, the case where the binary counter 11 counts in synchronization with the falling edge of the clock signal and the latch circuit 13 latches the signal in synchronization with the falling edge of the clock signal has been explained. Alternatively, a type of counting or latching in synchronization with the rising edge of the clock signal may be used. Further, in this case, the configuration of the determination circuit 14 is changed so as to obtain the determination signal DJ by taking the logical product of the output signal Q1 of the flip-flop circuit 21 and the inverted signal of the output signal Q2 of the flip-flop circuit 22. There is a need.
[発明の効果] 以上説明したようにこの発明によれば、クロック信号の
周波数を上げずに、従って消費電流の増加を伴わずに高
精度に計時を行なうことができる計時回路を提供するこ
とができる。[Effects of the Invention] As described above, according to the present invention, it is possible to provide a time counting circuit capable of highly accurate time counting without increasing the frequency of the clock signal, and thus without increasing the current consumption. it can.
第1図はこの発明の計時回路の一実施例の構成を示す回
路図、第2図はこの実施例回路のタイミングチャート、
第3図は従来回路の回路図である。 11……バイナリカウンタ、12……アンドゲート、13……
ラッチ回路、14……判定回路、15……T型フリップフロ
ップ回路。FIG. 1 is a circuit diagram showing the configuration of an embodiment of the clock circuit of the present invention, and FIG. 2 is a timing chart of the embodiment circuit,
FIG. 3 is a circuit diagram of a conventional circuit. 11 …… Binary counter, 12 …… And gate, 13 ……
Latch circuit, 14 ... Judgment circuit, 15 ... T-type flip-flop circuit.
Claims (1)
信号の第1のレベルから第2のレベルへの遷移時に同期
してラッチし、計時期間に対応した長さの計時制御信号
を発生する計時制御信号発生手段と、 上記計時制御信号に基づき上記クロック信号を出力制御
する出力制御手段と、 上記出力制御手段から出力されるクロック信号を係数し
てnビットの計数信号を出力する第1の係数手段と、 上記計時停止信号を上記クロック信号の第2のレベルか
ら第1のレベルへの遷移時に同期してラッチするD型の
第1のフリップフロップ回路、上記第1のフリップフロ
ップ回路の出力を反転する信号反転回路、上記計時停止
信号を上記クロック信号の第1のレベルから第2のレベ
ルへの遷移時に同期してラッチするD型の第2のフリッ
プフロップ回路及び上記信号反転回路の出力と上記第2
のフリップフロップ回路の出力との論理和信号を得る論
理回路からなり、上記計時停止信号が上記計時制御信号
発生手段に供給される時点が上記クロック信号の第2の
レベルから第1のレベルへの遷移時よりも前か後を判定
する判定手段と、 上記判定手段における判定出力に応じて、上記第1の係
数手段のnビットの計数信号の最下位ビット信号よりも
1ビット下位の計数信号を出力する第2の計数手段 とを具備したことを特徴とする計時回路。1. A timekeeping device for latching a timekeeping start signal and a timekeeping stop signal in synchronization with a transition of a clock signal from a first level to a second level, and generating a timekeeping control signal of a length corresponding to a time period. Control signal generating means, output control means for controlling output of the clock signal based on the clock control signal, and first coefficient for outputting clock signal output from the output control means to output n-bit count signal A D-type first flip-flop circuit for latching the clock stop signal in synchronization with the transition of the clock signal from the second level to the first level, and an output of the first flip-flop circuit. A signal inverting circuit for inverting, and a D-type second flip-flop circuit for latching the clock stop signal in synchronization with the transition of the clock signal from the first level to the second level. And output and the second of said signal inverting circuit
A logic circuit for obtaining a logical sum signal with the output of the flip-flop circuit, and the time at which the clock stop signal is supplied to the clock control signal generating means changes from the second level of the clock signal to the first level. Depending on the determination means for determining whether it is before or after the transition time, and in accordance with the determination output from the determination means, a count signal 1 bit lower than the least significant bit signal of the n-bit count signal of the first coefficient means is output. And a second counting means for outputting.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2101387A JPH0761003B2 (en) | 1987-01-31 | 1987-01-31 | Timing circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2101387A JPH0761003B2 (en) | 1987-01-31 | 1987-01-31 | Timing circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63189016A JPS63189016A (en) | 1988-08-04 |
| JPH0761003B2 true JPH0761003B2 (en) | 1995-06-28 |
Family
ID=12043169
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2101387A Expired - Fee Related JPH0761003B2 (en) | 1987-01-31 | 1987-01-31 | Timing circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0761003B2 (en) |
-
1987
- 1987-01-31 JP JP2101387A patent/JPH0761003B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63189016A (en) | 1988-08-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8736327B2 (en) | Time-to-digital converter | |
| JPH0795060A (en) | Jitter-compensative low power phase lock loop and its method | |
| JPH04189023A (en) | Pulse synchronizing circuit | |
| US6396312B1 (en) | Gate transition counter | |
| US5744992A (en) | Digital phase shifter | |
| US5969553A (en) | Digital delay circuit and digital PLL circuit with first and second delay units | |
| JPH0342810B2 (en) | ||
| JPH0761003B2 (en) | Timing circuit | |
| CN114679158B (en) | Periodic signal generating device, signal processing system and periodic signal generating method thereof | |
| JPS6333738B2 (en) | ||
| JP2810713B2 (en) | Timing generator | |
| CN113359015B (en) | Digital circuit monitoring equipment | |
| JP2563366B2 (en) | Signal cycle measuring device | |
| JP3662411B2 (en) | Trigger circuit | |
| JP2699399B2 (en) | Time difference measurement circuit | |
| JP2712725B2 (en) | Latching device for parallel digital signals | |
| KR930005653B1 (en) | Clock variable circuit | |
| JP3006794B2 (en) | Synchronous pulse generation circuit | |
| JPH08201452A (en) | Phase difference measuring apparatus | |
| TW202426749A (en) | Phase lock detector | |
| KR930004087B1 (en) | Digital Signal Transition Detection Circuit | |
| JPS6233394Y2 (en) | ||
| JP2912680B2 (en) | Digital phase synchronizer | |
| JPS5849826B2 (en) | pulse counting circuit | |
| JP2973613B2 (en) | Programmable counter |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |