[go: up one dir, main page]

JP2538762B2 - Clock loss detection circuit - Google Patents

Clock loss detection circuit

Info

Publication number
JP2538762B2
JP2538762B2 JP6107341A JP10734194A JP2538762B2 JP 2538762 B2 JP2538762 B2 JP 2538762B2 JP 6107341 A JP6107341 A JP 6107341A JP 10734194 A JP10734194 A JP 10734194A JP 2538762 B2 JP2538762 B2 JP 2538762B2
Authority
JP
Japan
Prior art keywords
clock
counter
clock signal
output
counter output
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 - Lifetime
Application number
JP6107341A
Other languages
Japanese (ja)
Other versions
JPH07319576A (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.)
NEC Fukushima Ltd
Original Assignee
NEC Fukushima 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 NEC Fukushima Ltd filed Critical NEC Fukushima Ltd
Priority to JP6107341A priority Critical patent/JP2538762B2/en
Publication of JPH07319576A publication Critical patent/JPH07319576A/en
Application granted granted Critical
Publication of JP2538762B2 publication Critical patent/JP2538762B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はクロック信号の入力断を
検出できるクロック断検出回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock loss detection circuit capable of detecting input loss of a clock signal.

【0002】[0002]

【従来の技術】デジタル通信装置等では、製造費用の低
減等を目的として、外付けのコンデンサ,抵抗器等を必
要とせずにLSI化に適するクロック断検出回路が求め
られている。このためのクロック断検出回路として、例
えば、公開特許公報,平3−206512号(発明名
称:クロック断検出回路)の技術が開示されている。こ
の開示されたクロック断検出回路は、1つのカウンタを
基本構成要素とし、装置内で生成した内部クロックを上
記カウンタで計数し、外部クロックの入力ごとにこの計
数をリセットしている。つまり、このカウンタは、上記
外部クロックが入力されると計数をリセットして設定計
数値までのカウントアップを妨げ、上記外部クロックの
断を示すカウントアップ出力を送出しない。一方、この
カウンタは、設定計数値をカウントアップすると上記カ
ウントアップ出力を送出して上記外部クロックの断を示
す。なお、このカウンタは、最初の内部クロックを受信
して上記カウントアップ出力を送出するまでの時間を上
記外部クロックの周期より大きく設定している。
2. Description of the Related Art In digital communication devices and the like, there is a demand for a clock break detection circuit suitable for LSI without the need for external capacitors and resistors for the purpose of reducing manufacturing costs. As a clock loss detection circuit for this purpose, for example, the technique disclosed in Japanese Patent Laid-Open No. 3-206512 (Invention title: clock loss detection circuit) is disclosed. The disclosed clock loss detection circuit has one counter as a basic constituent element, the internal clock generated in the device is counted by the counter, and the count is reset every time the external clock is input. That is, this counter resets the count when the external clock is input, prevents counting up to the set count value, and does not output the count-up output indicating the disconnection of the external clock. On the other hand, when this counter counts up the set count value, it outputs the count-up output to indicate disconnection of the external clock. It should be noted that this counter sets the time from receiving the first internal clock to transmitting the count-up output to be larger than the cycle of the external clock.

【0003】[0003]

【発明が解決しようとする課題】この従来のクロック断
検出回路では、内部クロックを装置内で生成する必要が
あるので回路が複雑となり、また、上記内部クロックの
断を検出できないという欠点があった。
This conventional clock loss detection circuit has the drawbacks that the circuit is complicated because it is necessary to generate the internal clock in the device, and the loss of the internal clock cannot be detected. .

【0004】また、この従来のクロック断検出回路は、
クロック断を検出すべき外部クロックをカウンタのリセ
ット入力端子にのみ供給する必要があり、回路構成に対
する融通性に欠けるという欠点があった。
Further, this conventional clock loss detection circuit is
It is necessary to supply an external clock to detect a clock break only to the reset input terminal of the counter, and there is a drawback that the circuit configuration lacks flexibility.

【0005】さらに、デジタル通信装置では、デジタル
信号の速度変換回路等のように2つのクロック信号を必
要とすることがあるが、これらの回路では2つのクロッ
ク信号の断を検出する必要がある。
Further, a digital communication device may require two clock signals like a digital signal speed conversion circuit, but these circuits need to detect disconnection of the two clock signals.

【0006】[0006]

【課題を解決するための手段】本発明のクロック断検出
回路の一つは、第1のクロック信号を第1所定時間でカ
ウントアップするごとに第1カウンタ出力を生じる第1
のカウンタと、第2のクロック信号を前記第1所定時間
より長い第2所定時間でカウントアップするごとに第2
カウンタ出力を生じるとともに前記第1カウンタ出力に
より既計数値をクリアされる第2のカウンタと、前記第
1カウンタ出力と前記第2カウンタ出力とを受け前記第
2カウンタ出力を受けてから前記第1カウンタ出力を受
けるまでの期間には前記第1のクロック信号の断を示す
第1クロック信号断判定信号を生じる第1クロック信号
断判定回路とを備えている。
According to one of the clock loss detection circuits of the present invention, a first counter output is generated every time the first clock signal is counted up in a first predetermined time.
And a second clock signal every time the second clock signal is counted up in a second predetermined time longer than the first predetermined time.
A second counter which generates a counter output and whose already-counted value is cleared by the first counter output, the first counter output and the second counter output, and the first counter after receiving the second counter output A first clock signal disconnection determination circuit that generates a first clock signal disconnection determination signal indicating disconnection of the first clock signal is provided until a counter output is received.

【0007】前記クロック断検出回路の一つは、前記第
1クロック信号断判定回路が、前記第1カウンタ出力で
セットされ、前記第2カウンタ出力でリセットされる第
1のフリップフロップである構成をとることができる。
One of the clock loss detection circuits is configured such that the first clock signal loss determination circuit is a first flip-flop which is set by the output of the first counter and reset by the output of the second counter. Can be taken.

【0008】また、本発明のクロック断検出回路の別の
一つは、前記クロック断検出回路に加え、前記第2のク
ロック信号を第3所定時間でカウントアップするごとに
第3カウンタ出力を生じる第3のカウンタと、前記第1
のクロック信号を前記第3所定時間より長い第4所定時
間でカウントアップするごとに第4カウンタ出力を生じ
るとともに前記第3カウンタ出力により既計数値をクリ
アされる第4のカウンタと、前記第3カウンタ出力と前
記第4カウンタ出力とを受け前記第4カウンタ出力を受
けてから前記第3カウンタ出力を受けるまでの期間には
前記第2のクロック信号の断を示す第2クロック信号断
判定信号を生じる第2クロック信号断判定回路とを備え
ている。
In addition, in addition to the clock loss detection circuit, another one of the clock loss detection circuits of the present invention generates a third counter output each time the second clock signal is counted up in a third predetermined time. A third counter and the first
A fourth counter output is generated every time the clock signal is counted up in a fourth predetermined time longer than the third predetermined time, and the already-counted value is cleared by the third counter output; A second clock signal disconnection determination signal indicating disconnection of the second clock signal is received during a period from receiving the counter output and the fourth counter output to receiving the fourth counter output to receiving the third counter output. And a second clock signal disconnection determination circuit that occurs.

【0009】[0009]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0010】図1は本発明の一実施例を示すブロック図
である。また、図2は本実施例の各部における信号波形
図である。
FIG. 1 is a block diagram showing an embodiment of the present invention. Further, FIG. 2 is a signal waveform diagram in each part of this embodiment.

【0011】このクロック断検出回路は、2つのクロッ
ク信号101および102のいずれかが断になったこと
を検出する。即ち、カウンタ1および2とフリップフロ
ップ5とを含む第1のクロック断検出回路はクロック信
号101と102とを受けてクロック信号101の断を
検出し、カウンタ3および4とフリップフロップ6とを
含む第2のクロック断検出回路はクロック信号101と
102とを受けてクロック信号102の断を検出する。
なお、クロック信号101および102は、速度変換回
路の書き込みクロックおよび読み出しクロック等であ
り、この回路の外部から供給されるクロック信号であ
る。
This clock break detection circuit detects that one of the two clock signals 101 and 102 is broken. That is, the first clock break detecting circuit including the counters 1 and 2 and the flip-flop 5 receives the clock signals 101 and 102 to detect the break of the clock signal 101, and includes the counters 3 and 4 and the flip-flop 6. The second clock loss detection circuit receives the clock signals 101 and 102 and detects the loss of the clock signal 102.
The clock signals 101 and 102 are a write clock and a read clock of the speed conversion circuit, and are clock signals supplied from the outside of this circuit.

【0012】まず、第1のクロック断検出回路では、第
1のクロック信号101が第1のカウンタ1のC(クロ
ック)端子に入力される。なお、カウンタ1は、時刻t
0で第1計数が始まる状態になっているものとする。カ
ウンタ1は、クロック信号101のトリガーを時刻t0
から計数し始め、設定計数値(図2では5個)まで計数
する(カウントアップする)と、この計数終了時刻t2
において、クロック信号101の1周期分だけ“H”
(または“L”)となる第1のカウンタ出力103をR
C(リプルキャリー)端子に生じる。いま、クロック信
号101を設定計数値まで計数する時間を第1所定時間
TAとする。
First, in the first clock break detection circuit, the first clock signal 101 is input to the C (clock) terminal of the first counter 1. The counter 1 is set to the time t.
It is assumed that the first count starts at 0. The counter 1 triggers the clock signal 101 at time t0.
The counting end time t2 is reached when the counting is started from (starting from) and the set count value (five in FIG. 2) is counted (counted up).
At "H" for one cycle of the clock signal 101
(Or “L”), the first counter output 103 becomes R
It occurs at the C (ripple carry) terminal. Now, the time for counting the clock signal 101 to the set count value is the first predetermined time TA.

【0013】第2のクロック信号102が第2のカウン
タ2のC端子に入力される。カウンタ2は、カウンタ出
力103がR(リセット)端子に入力されない場合に
は、クロック信号102のトリガーを時刻t0から計数
し始め、設定計数値(図2では10個)まで計数する
と、この計数終了時刻t3において、クロック信号10
2の1周期分だけ“H”(または“L”)となる第2の
カウンタ出力104をRC端子に生じる。なお、カウン
タ2は、クロック信号102を設定計数値まで計数する
時間を第1所定時間TAより長い第2所定時間TBに設
定している。
The second clock signal 102 is input to the C terminal of the second counter 2. When the counter output 103 is not input to the R (reset) terminal, the counter 2 starts counting the trigger of the clock signal 102 from the time t0, and when counting to the set count value (10 in FIG. 2), this counting ends. At time t3, the clock signal 10
A second counter output 104, which is "H" (or "L") for one cycle of 2, is generated at the RC terminal. The counter 2 sets the time for counting the clock signal 102 to the set count value to the second predetermined time TB which is longer than the first predetermined time TA.

【0014】しかし、このカウンタ2は、時刻t2にお
いてカウンタ出力103をR(リセット)端子に入力し
ているので、既に計数した計数値を時刻t2時点でクリ
アしてしまう。従って、カウンタ2は、時刻t3におい
て設定計数値まで計数することができず、この時刻t3
においてもカウンタ出力104は“L”(または
“H”)のままとなる。
However, since the counter 2 inputs the counter output 103 to the R (reset) terminal at the time t2, the already counted value is cleared at the time t2. Therefore, the counter 2 cannot count up to the set count value at time t3, and this time t3
Also in, the counter output 104 remains "L" (or "H").

【0015】第1のフリップフロップ5は、クロック信
号101の断判定回路であり、カウンタ出力103をセ
ット入力としてS(セット入力)端子に受け,カウンタ
出力104をリセット入力としR(リセット入力)端子
に受ける。このフリップフロップ5は、カウンタ出力1
03を受けると、クロック信号101が正常であると判
断し、“H”(または“L”)のクロック断判定出力1
05を生じる。一方、カウンタ出力104を受けると、
このフリップフロップ5は、クロック信号101が断で
あると判断し、逆の論理レベルの“L”(または
“H”)のクロック断判定出力105を生じる。この
“L”(または“H”)のクロック断判定出力105
は、カウンタ出力104を受けてから次にカウンタ出力
103を受けるまで続く。
The first flip-flop 5 is a disconnection determination circuit for the clock signal 101, receives the counter output 103 as a set input at the S (set input) terminal, and the counter output 104 as a reset input at the R (reset input) terminal. To receive. This flip-flop 5 has a counter output 1
03, it is judged that the clock signal 101 is normal, and the "H" (or "L") clock loss judgment output 1
Results in 05. On the other hand, when receiving the counter output 104,
The flip-flop 5 determines that the clock signal 101 is disconnected, and produces the clock disconnection determination output 105 having the opposite logic level "L" (or "H"). This “L” (or “H”) clock loss determination output 105
Continues until it receives counter output 104 and then counter output 103.

【0016】即ち、第1のクロック断検出回路は、クロ
ック信号101が正常のときには、カウンタ1が第1所
定時間TAごとにカウンタ出力103をフリップフロッ
プ5に供給し続けるので、クロック信号101が正常で
あると判断し、“H”(または“L”)のクロック断判
定出力105を保持し続ける。
That is, in the first clock break detection circuit, when the clock signal 101 is normal, the counter 1 continues to supply the counter output 103 to the flip-flop 5 every first predetermined time TA, so that the clock signal 101 is normal. , And keeps the “H” (or “L”) clock loss determination output 105.

【0017】一方、クロック信号101がクロック断と
なり(図2の第8パルスから第9パルスの間),この信
号101が“L”(または“H”)で固定されると、カ
ウンタ1は計数しなくなり、カウンタ出力103が
“L”(または“H”)のままとなる。すると、カウン
タ2は、設定計数値まで(時刻t2から時刻t4まで)
計数することができ、時刻t4においてカウンタ出力1
04はクロック信号102の1周期分だけ“H”(また
は“L”)となる。フリップフロップ104は、時刻t
4でカウンタ出力104を受けると、クロック信号10
1の断を示す“L”(または“H”)に変化したクロッ
ク信号断判定信号105を生じる。
On the other hand, when the clock signal 101 becomes out of clock (between the eighth pulse and the ninth pulse in FIG. 2) and this signal 101 is fixed at "L" (or "H"), the counter 1 counts. The counter output 103 remains "L" (or "H"). Then, the counter 2 reaches the set count value (from time t2 to time t4)
Can be counted, and counter output 1 at time t4
04 becomes "H" (or "L") for one cycle of the clock signal 102. The flip-flop 104 is at time t
When the counter output 104 is received at 4, the clock signal 10
The clock signal disconnection determination signal 105 changed to "L" (or "H") indicating disconnection of 1 is generated.

【0018】上述したクロック信号断判定信号105が
“L”(または“H”)を示す状態は、カウンタ出力1
03が“H”(または“L”)となるまで保持され、ク
ロック信号101の異常(クロック断)であると判断で
きる。
The counter output 1 indicates that the clock signal disconnection determination signal 105 is "L" (or "H").
It is held until 03 becomes "H" (or "L"), and it can be determined that the clock signal 101 is abnormal (clock disconnected).

【0019】即ち、時刻t4においてクロック信号10
1の断を示すクロック信号断判定信号105を生じた
後、クロック信号101が正常に復帰すると、カウンタ
1が、時刻t6において、5個のクロック信号101を
計数して“H”(または“L”)のカウンタ出力103
を生じる。この結果、クロック断判定信号101は
“H”(または“L”)に変化し、クロック信号101
が正常と判断できる。
That is, at the time t4, the clock signal 10
When the clock signal 101 returns to normal after the clock signal disconnection determination signal 105 indicating the disconnection of 1 is generated, the counter 1 counts five clock signals 101 at time t6 and outputs “H” (or “L”). ") Counter output 103
Is generated. As a result, the clock loss determination signal 101 changes to "H" (or "L"), and the clock signal 101
Can be judged to be normal.

【0020】上述した第1のクロック断検出回路は、す
べて論理素子によって構成できるのでLSI化が可能で
あるばかりでなく、装置内で内部クロックを生成する必
要がないので回路が簡単になるという利点がある。
The first clock loss detection circuit described above can be implemented as an LSI because it can be constructed entirely of logic elements, and the circuit is simple because it is not necessary to generate an internal clock in the device. There is.

【0021】また、このクロック断検出回路は、第1所
定時間TA<第2所定時間TBの関係が保たれていれ
ば、クロック信号101および102がいかなるクロッ
ク周期であっても,また内部クロック,外部クロックの
別なく、クロック断検出動作が保証されるという利点が
あり、回路定数の変更なしにいろいろなクロック周期の
システムに適用することができる。
In addition, this clock loss detection circuit, if the relationship of the first predetermined time TA <the second predetermined time TB is maintained, regardless of the clock cycle of the clock signals 101 and 102, the internal clock, There is an advantage that the clock loss detection operation is guaranteed regardless of the external clock, and it can be applied to a system with various clock cycles without changing the circuit constant.

【0022】次に、第2のクロック断検出回路も、上記
第1のクロック断検出回路とほぼ同様の構成であり、ほ
ぼ同様の動作を行う。しかしながら、カウンタ3はクロ
ック信号102を第3所定時間TCでカウントアップす
るごとに“H”(または“L”)のカウンタ出力106
を生じ、カウンタ4はクロック信号101を第3所定時
間TCより長い第4所定時間TDでカウントアップする
ごとに“H”(または“L”)のカウンタ出力107を
生じる。カウンタ4は、また、カウンタ出力106によ
り既計数値をクリアされる。クロック信号102の断判
定回路であるフリップフロップ6は、カウンタ出力10
6とカウンタ出力107とを受け、カウンタ出力107
を受けてからカウンタ出力106を受けるまでの期間に
はクロック信号102の断を示す“L”(または
“H”)を示すクロック信号断判定信号108を生じ
る。
Next, the second clock disconnection detection circuit also has substantially the same configuration as the first clock disconnection detection circuit and performs substantially the same operation. However, the counter 3 outputs “H” (or “L”) counter output 106 each time the clock signal 102 is counted up for the third predetermined time TC.
The counter 4 produces the counter output 107 of "H" (or "L") every time the clock signal 101 counts up for the fourth predetermined time TD longer than the third predetermined time TC. The counter 4 also clears the already counted value by the counter output 106. The flip-flop 6, which is a disconnection determination circuit for the clock signal 102, has a counter output 10
6 and the counter output 107, the counter output 107
During the period from the reception of the counter output 106 to the reception of the counter output 106, the clock signal disconnection determination signal 108 indicating "L" (or "H") indicating the disconnection of the clock signal 102 is generated.

【0023】いま、クロック信号102が第28パルス
と第29パルスとの間で断になったとすると、カウンタ
3は設定計数値(5個)を計数するのに時刻t5から時
刻t8まで要し、この間、カウンタ出力106は“L”
(または“H”)である。カウンタ4は、この間カウン
タ出力106でリセットされないので、時刻t7におい
て設定計数値(5個)をカウントアップして“H”(ま
たは“L”)のカウンタ出力107を生じる。この結
果、クロック断判定信号108は、“L”(または
“H”)に変化する。このクロック信号102断の検出
状態は、クロック信号102が正常に回復して時刻t8
にカウンタ3がクロック信号102をカウントアップす
るまで続く。
Now, assuming that the clock signal 102 is cut off between the 28th pulse and the 29th pulse, the counter 3 requires from time t5 to time t8 to count the set count value (five), During this time, the counter output 106 is "L"
(Or “H”). Since the counter 4 is not reset by the counter output 106 during this time, the set count value (five) is counted up at the time t7 to generate the counter output 107 of "H" (or "L"). As a result, the clock loss determination signal 108 changes to "L" (or "H"). The detection state of the interruption of the clock signal 102 is the time t8 when the clock signal 102 is normally recovered.
Until the counter 3 counts up the clock signal 102.

【0024】なお、第1所定時間TAと第4所定時間T
Dとを同一にすると、カウンタ1と4とが同一設計のカ
ウンタでよいので、安価でしかも早く設計および製造で
きるという利点がある。
The first predetermined time TA and the fourth predetermined time T
If D is the same, the counters 1 and 4 may be counters of the same design, which is advantageous in that they can be designed and manufactured inexpensively and quickly.

【0025】上述したとおり、本実施例によるクロック
断検出回路は、すべて論理素子によって構成できるの
で、LSI化が可能である。また、本実施例のクロック
断検出回路は、第1所定時間TA<第2所定時間tBお
よび第3所定時間TC<第4所定時間TDの関係が保た
れていれば、クロック信号101および102がいかな
るクロック周期であっても、信号101および102の
どちらの入力断であっても、クロック断検出動作が保証
されるという利点があり、回路定数の変更なしにいろい
ろなクロック周期のシステムに適用することができる。
As described above, the clock loss detection circuit according to the present embodiment can be formed into an LSI because it can be configured by all logic elements. Further, in the clock loss detection circuit of this embodiment, if the relationship of the first predetermined time TA <the second predetermined time tB and the third predetermined time TC <the fourth predetermined time TD is maintained, the clock signals 101 and 102 are There is an advantage that the clock loss detection operation is guaranteed regardless of the clock period or the input loss of either of the signals 101 and 102, and the present invention can be applied to a system with various clock periods without changing the circuit constant. be able to.

【0026】[0026]

【発明の効果】以上説明したように本発明の一つは、第
1のクロック信号を第1所定時間TAでカウントアップ
するごとに第1カウンタ出力を生じる第1のカウンタ
と、第2のクロック信号を前記第1所定時間TAより長
い第2所定時間TBでカウントアップするごとに第2カ
ウンタ出力を生じるとともに前記第1カウンタ出力によ
り既計数値をクリアされる第2のカウンタと、前記第1
カウンタ出力と前記第2カウンタ出力とを受け前記第2
カウンタ出力を受けてから前記第1カウンタ出力を受け
るまでの期間には前記第1のクロック信号の断を示す第
1クロック信号断判定信号を生じる第1クロック信号断
判定回路とを有するので、すべての回路を論理素子で構
成できる結果、LSI化が可能になるばかりでなく、装
置内で内部クロックを生成する必要がないので回路構成
が簡単になるという利点がある。
As described above, according to one aspect of the present invention, the first counter that produces the first counter output each time the first clock signal is counted up for the first predetermined time TA and the second clock are provided. A second counter that generates a second counter output each time the signal is counted up for a second predetermined time TB that is longer than the first predetermined time TA, and that clears an already-counted value by the first counter output;
A second counter output and a second counter output;
Since the first clock signal disconnection determination circuit that generates the first clock signal disconnection determination signal indicating the disconnection of the first clock signal is included in the period from receiving the counter output to receiving the first counter output, As a result of being able to configure the circuit of (1) with logic elements, not only is it possible to realize an LSI, but there is an advantage that the circuit configuration is simple because it is not necessary to generate an internal clock in the device.

【0027】また、このクロック断検出回路は、第1所
定時間TA<第2所定時間TBの関係が保たれていれ
ば、前記第1および第2のクロック信号の各各が、いか
なるクロック周期であっても,また内部クロック,外部
クロックの別なく、クロック断検出動作が保証されると
いう利点があり、回路定数の変更なしにいろいろなクロ
ック周期のシステムに適用することができる。
Further, in the clock loss detection circuit, if the relationship of the first predetermined time TA <the second predetermined time TB is maintained, each of the first and second clock signals has any clock cycle. Even if there is, there is an advantage that the clock loss detection operation is guaranteed regardless of the internal clock and the external clock, and it can be applied to the system of various clock cycles without changing the circuit constant.

【0028】また、本発明の別の一つは、前記第1およ
び第2のカウンタと前記第1クロック信号判定回路とに
加え、前記第2のクロック信号を第3所定時間でカウン
トアップするごとに第3カウンタ出力を生じる第3のカ
ウンタと、前記第1のクロック信号を前記第3所定時間
TCより長い第4所定時間TDでカウントアップするご
とに第4カウンタ出力を生じるとともに前記第3カウン
タ出力により既計数値をクリアされる第4のカウンタ
と、前記第3カウンタ出力と前記第4カウンタ出力とを
受け前記第4カウンタ出力を受けてから前記第3カウン
タ出力を受けるまでの期間には前記第2のクロック信号
の断を示す第2クロック信号断判定信号を生じる第2ク
ロック信号断判定回路とを有するので、前記第1および
第2のクロック信号がどちらも外部クロックである場合
には、どちらかのクロック信号断検出のために装置内で
内部クロックを生成する必要が全くなくなるので、特に
有用である。
Another aspect of the present invention is that, in addition to the first and second counters and the first clock signal determination circuit, each time the second clock signal is counted up in a third predetermined time. A third counter that produces a third counter output, and a fourth counter output and the third counter each time the first clock signal is counted up for a fourth predetermined time TD longer than the third predetermined time TC. In the period from receiving the fourth counter output, the third counter output, the fourth counter output, the third counter output, and the third counter output, And a second clock signal disconnection determination circuit that generates a second clock signal disconnection determination signal indicating disconnection of the second clock signal. Both in the case of an external clock, so completely eliminates the need for generating an internal clock in the device for either of the clock signal disconnection detection is particularly useful.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】本実施例の各部における信号波形図である。FIG. 2 is a signal waveform diagram in each part of the present embodiment.

【符号の説明】[Explanation of symbols]

1〜4 カウンタ 5,6 フリップフロップ 101,102 クロック信号 103,104,106,107 カウンタ出力 105,108 クロック断判定出力 1 to 4 counter 5, 6 flip-flop 101, 102 clock signal 103, 104, 106, 107 counter output 105, 108 clock loss determination output

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 第1のクロック信号を第1所定時間でカ
ウントアップするごとに第1カウンタ出力を生じる第1
のカウンタと、第2のクロック信号を前記第1所定時間
より長い第2所定時間でカウントアップするごとに第2
カウンタ出力を生じるとともに前記第1カウンタ出力に
より既計数値をクリアされる第2のカウンタと、前記第
1カウンタ出力と前記第2カウンタ出力とを受け前記第
2カウンタ出力を受けてから前記第1カウンタ出力を受
けるまでの期間には前記第1のクロック信号の断を示す
第1クロック信号断判定信号を生じる第1クロック信号
断判定回路とを備えていることを特徴とするクロック断
検出回路。
1. A first counter output is generated each time the first clock signal is counted up in a first predetermined time.
And a second clock signal every time the second clock signal is counted up in a second predetermined time longer than the first predetermined time.
A second counter which generates a counter output and whose already-counted value is cleared by the first counter output, the first counter output and the second counter output, and the first counter after receiving the second counter output A clock loss detection circuit, comprising: a first clock signal loss determination circuit that generates a first clock signal loss determination signal indicating a loss of the first clock signal during a period until receiving a counter output.
【請求項2】 前記第1クロック信号断判定回路が、前
記第1カウンタ出力でセットされ、前記第2カウンタ出
力でリセットされる第1のフリップフロップであること
を特徴とする請求項1記載のクロック断検出回路。
2. The first clock signal disconnection determination circuit is a first flip-flop which is set by the output of the first counter and reset by the output of the second counter. Clock loss detection circuit.
【請求項3】 請求項1記載のクロック断検出回路と、
前記第2のクロック信号を第3所定時間でカウントアッ
プするごとに第3カウンタ出力を生じる第3のカウンタ
と、前記第1のクロック信号を前記第3所定時間より長
い第4所定時間でカウントアップするごとに第4カウン
タ出力を生じるとともに前記第3カウンタ出力により既
計数値をクリアされる第4のカウンタと、前記第3カウ
ンタ出力と前記第4カウンタ出力とを受け前記第4カウ
ンタ出力を受けてから前記第3カウンタ出力を受けるま
での期間には前記第2のクロック信号の断を示す第2ク
ロック信号断判定信号を生じる第2クロック信号断判定
回路とを備えることを特徴とするクロック断検出回路。
3. A clock loss detection circuit according to claim 1,
A third counter generating a third counter output each time the second clock signal is counted up in a third predetermined time, and the first clock signal is counted up in a fourth predetermined time longer than the third predetermined time. Receiving a fourth counter output and a fourth counter output for which the already-counted value is cleared by the third counter output, and the fourth counter output. And a second clock signal disconnection determination circuit for generating a second clock signal disconnection determination signal indicating disconnection of the second clock signal during a period from the reception of the third counter output. Detection circuit.
【請求項4】 前記第2クロック信号断判定回路が、前
記第3のカウンタ出力でセットされ、前記第4のカウン
タ出力でリセットされる第2のフリップフロップである
ことを特徴とする請求項3記載のクロック断検出回路。
4. The second clock signal disconnection judging circuit is a second flip-flop which is set by the output of the third counter and reset by the output of the fourth counter. The clock loss detection circuit described.
【請求項5】 前記第1所定時間と前記第4所定時間と
が等しいことを特徴とする請求項4記載のクロック断検
出回路。
5. The clock loss detection circuit according to claim 4, wherein the first predetermined time is equal to the fourth predetermined time.
JP6107341A 1994-05-23 1994-05-23 Clock loss detection circuit Expired - Lifetime JP2538762B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6107341A JP2538762B2 (en) 1994-05-23 1994-05-23 Clock loss detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6107341A JP2538762B2 (en) 1994-05-23 1994-05-23 Clock loss detection circuit

Publications (2)

Publication Number Publication Date
JPH07319576A JPH07319576A (en) 1995-12-08
JP2538762B2 true JP2538762B2 (en) 1996-10-02

Family

ID=14456604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6107341A Expired - Lifetime JP2538762B2 (en) 1994-05-23 1994-05-23 Clock loss detection circuit

Country Status (1)

Country Link
JP (1) JP2538762B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100363816B1 (en) 1998-05-13 2002-12-11 미쓰비시덴키 가부시키가이샤 Device and apparatus for detecting clock failure
JP2012054752A (en) * 2010-09-01 2012-03-15 Denso Corp Communication apparatus and communication apparatus manufacturing method

Also Published As

Publication number Publication date
JPH07319576A (en) 1995-12-08

Similar Documents

Publication Publication Date Title
US5436853A (en) Remote control signal processing circuit for a microcomputer
JPH06216778A (en) Demodulation circuit for communication control equipment
US6469544B2 (en) Device for detecting abnormality of clock signal
JP2538762B2 (en) Clock loss detection circuit
US6728649B2 (en) Method and apparatus for removing digital glitches
JP2980304B2 (en) Clock failure detection circuit
JP2697621B2 (en) Signal cycle detection circuit and signal loss monitoring circuit
JP2003158511A (en) Detection circuit for out of clock synchronism and optical receiver employing the same
JPH03267833A (en) Clock disconnection detection circuit
JP2707778B2 (en) Noise removal circuit
JPH10200586A (en) Data signal transmission method and signal input circuit for semiconductor device
JPS6010833A (en) Frame pattern detecting circuit
JP2903736B2 (en) Disconnection detection circuit of pulse generator
JPH07212413A (en) Asynchronous data receiving circuit
JP3201445B2 (en) Chattering prevention circuit
JP3025702B2 (en) Lock detection circuit
JPH0637857A (en) Serial data receiving circuit
JPH0537573A (en) Data interruption detection circuit
JP2619939B2 (en) Synchronous pattern detection circuit
JP2606458Y2 (en) Signal level monitoring circuit
JP3348271B2 (en) Alarm detection circuit
JPH05191235A (en) Timing signal interruption detector
JPH08237241A (en) Received clock generation circuit for serial data communication
JP2001304177A (en) Device for detecting reduction of blower revolution speed
JPH0591148A (en) Signal interruption detection circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19960528

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070708

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080708

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090708

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100708

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110708

Year of fee payment: 15

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110708

Year of fee payment: 15

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120708

Year of fee payment: 16

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120708

Year of fee payment: 16

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120708

Year of fee payment: 16

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120708

Year of fee payment: 16

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130708

Year of fee payment: 17

EXPY Cancellation because of completion of term