JPH04172814A - Clock discontinuation detection circuit - Google Patents

Clock discontinuation detection circuit

Info

Publication number
JPH04172814A
JPH04172814A JP30208390A JP30208390A JPH04172814A JP H04172814 A JPH04172814 A JP H04172814A JP 30208390 A JP30208390 A JP 30208390A JP 30208390 A JP30208390 A JP 30208390A JP H04172814 A JPH04172814 A JP H04172814A
Authority
JP
Japan
Prior art keywords
circuit
clock
input
output
terminal
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
JP30208390A
Other languages
Japanese (ja)
Inventor
Shigeki Morizaki
森崎 茂樹
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP30208390A priority Critical patent/JPH04172814A/en
Publication of JPH04172814A publication Critical patent/JPH04172814A/en
Pending legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

PURPOSE:To enable the title circuit to detect clock discontinuation even when a clock input terminal is at a high or low level and, at the same time, to easily integrate the circuit by comparing a 1st clock pulse with a 2nd clock pulse through two FF circuits after dividing the 1st clock pulse into 1/2 periods. CONSTITUTION:The clock pulse (CLK) inputted to an input terminal 1 is divided to the 1/2 frequency of the CLK inputted to another input terminal 2 by means of a frequency divider 4. The divided CLK is inputted to an FF circuit 5 and the reverse phase signal of the CLK by means of the CLK of the terminal is inputted to another FF circuit 6. The normal phase output of the circuit 6 is obtained by delaying the reverse phase output of the circuit 5 by the half period and the normal phase output of the circuit 5 always coincides with the normal phase output of the circuit 6. When the input from the terminal 1 is discontinued and becomes a high or low level, the levels of the normal phase outputs of the circuits 5 and 6 do not become the same. Therefore, the clock discontinuation can be detected by discriminating the leading edge of the CLK of the terminal 2 by means of a comparator and this clock discontinuation detection circuit can easily be integrated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、クロック断検出回路に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a clock interruption detection circuit.

〔従来の技術〕[Conventional technology]

従来、この種のクロック断検出回路は、第2図に示すよ
うに構成されていた 第2図は従来の一例を示す回路図である。同図において
符号1はクロック入力端子、符号3は出力端子、符号1
1はダイオード、符号12はコンデンサ、符号13は抵
抗器、符号14はインバータであり、クロック入力端子
1はダイオード11のアノード端子に接続されダイオー
ド11のカソード端子はコンデンサ12と抵抗器13と
、インバータ14の入力端子に接続される。コンデンサ
12と抵抗器13の他方の端子は地気15に接続され、
インバータ14の出力は出力端子3に接続される。
Conventionally, this type of clock interruption detection circuit has been constructed as shown in FIG. 2. FIG. 2 is a circuit diagram showing an example of the conventional technology. In the figure, 1 is a clock input terminal, 3 is an output terminal, 1 is a clock input terminal, and 3 is an output terminal.
1 is a diode, 12 is a capacitor, 13 is a resistor, and 14 is an inverter. The clock input terminal 1 is connected to the anode terminal of the diode 11, and the cathode terminal of the diode 11 is connected to the capacitor 12, the resistor 13, and the inverter. 14 input terminals. The other terminals of the capacitor 12 and resistor 13 are connected to the earth 15,
The output of inverter 14 is connected to output terminal 3.

入力端子1にクロック入力がある場合、コンデンサ10
には充電電流が流れ、インバータ14の入力は高レベル
になり、出力端子3にも高レベルが出力される。入力端
子1が低レベルになった場合、コンデンサ12は放電し
、インバータ14の入力は低レベルになり、出力端子3
にも低レベルが出力される。すなわち、コンデンサ]−
2の放電時間の一定時間幅以上のパルス間隔がクロック
断として出力端子で確認される。
If there is a clock input to input terminal 1, capacitor 10
A charging current flows through, the input of the inverter 14 becomes high level, and a high level is also output to the output terminal 3. When input terminal 1 becomes low level, capacitor 12 is discharged and the input of inverter 14 becomes low level, output terminal 3 becomes low level.
A low level is also output. i.e. capacitor] −
A pulse interval longer than a certain time width of the second discharge time is confirmed at the output terminal as a clock interruption.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のクロック断検出回路は、CRフィルタを
用いる構成となっているので、コンデンサおよび抵抗器
が大形なためIC(集積回路)化に不向きであり、更に
クロック入力断かLレベル固定の場合しか検出できない
という問題点があった。
The conventional clock loss detection circuit described above has a configuration that uses a CR filter, so the capacitor and resistor are large, making it unsuitable for integration into an IC (integrated circuit). The problem was that it could only detect cases.

本発明の目的は、上記問題点を解決したクロック断検出
回路を提供することにある。
An object of the present invention is to provide a clock disconnection detection circuit that solves the above problems.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のクロック断検出回路は、第1のクロックパルス
を入力して1/2周期に変換出力する分周期と、この分
周期の出力をデータ入力とし第2のクロックパルスをク
ロック入力として接続する第1のフロップフロップ回路
と、この第1のフロップフロップ回路の逆相出力をデー
タ入力とし第2のクロックパルスをクロック入力として
接続する第2のフリップフロップ回路と、前記第1およ
び第2のフリップフロップ回路それぞれの出力を入力し
、第2のクロックパルスの立ち上り時点て比較して判定
を出力する比較器とを有する。
The clock disconnection detection circuit of the present invention inputs a first clock pulse, converts it into a 1/2 period, outputs the divided period, and connects the output of this divided period as a data input and the second clock pulse as a clock input. a first flip-flop circuit; a second flip-flop circuit connected to the opposite-phase output of the first flip-flop circuit as a data input and a second clock pulse as a clock input; and a comparator that inputs the outputs of the respective clock pulses, compares them at the rising edge of the second clock pulse, and outputs a determination.

〔実施例〕〔Example〕

次に本発明について第1図を参照して説明する。 Next, the present invention will be explained with reference to FIG.

第1図は本発明の一実施例を示す回路図である。第1図
に示すように、本クロック断検出回路は分周期4、フリ
ップフロップ回路(F/F)5.6および比較器7で構
成される。
FIG. 1 is a circuit diagram showing an embodiment of the present invention. As shown in FIG. 1, this clock disconnection detection circuit is composed of a dividing period 4, a flip-flop circuit (F/F) 5.6, and a comparator 7.

図示されるクロック断検出回路は、分周期4の入力を第
1のクロック入力端子である入力端子1に接続し、出力
を第1のF/F回路であるF/F回路5のデータ入力端
子に接続し、F/F回路5の逆相出力を第2のF/F回
路であるF/F回路6のデータ入力端子に接続し、F/
F回#!5の正相出力とF/F回路6の正相出力とを比
較器7の入力端子に接続する。更に、クロック断検出回
路は比較器7の出力を出力端子3に接続し、F/F回路
5,6と比較器7のクロック入力端子を第2のクロック
入力端子である入力端子に接続する。
The illustrated clock disconnection detection circuit connects the input of the divided period 4 to the input terminal 1 which is the first clock input terminal, and connects the output to the data input terminal of the F/F circuit 5 which is the first F/F circuit. The reverse phase output of F/F circuit 5 is connected to the data input terminal of F/F circuit 6, which is the second F/F circuit, and the F/F circuit 5 is connected to
F times#! The positive phase output of F/F circuit 5 and the positive phase output of F/F circuit 6 are connected to the input terminal of comparator 7. Furthermore, the clock loss detection circuit connects the output of the comparator 7 to the output terminal 3, and connects the clock input terminals of the F/F circuits 5, 6 and the comparator 7 to an input terminal that is a second clock input terminal.

入力端子1に入力されたクロックパルスは分周器4によ
り入力端子2に入力されるクロックパルスの1/2の周
波数に分周される。この分周されたクロックパルスはF
/F回路5に入力され、入力端子2に入力されるクロッ
クパルスにより形成された正相、逆相の信号の内、逆相
の信号はF/F回路6に入力され、入力端子2に入力さ
れるクロックパルスの1クロック分遅れた信号がF/F
回路6の正相出力から出力される。F/F回路6の出力
は、入力端子2に入力されるクロックパルスの1/2の
周波数である為、F/F回路6の正相出力は、F/F回
路5の逆相出力をF/F回路5の出力の半周期分遅らせ
た信号になる。従って、F/F回路5の正相出力とP/
F回路6の正相出力とは常に一致するなめ、この2つの
信号を比較器7に入力し、入力端子2のクロックパルス
の立ち上がり時点で判定することにより、比較器7の出
力は高レベルになる。
The clock pulse inputted to the input terminal 1 is divided by the frequency divider 4 to half the frequency of the clock pulse inputted to the input terminal 2. This divided clock pulse is F
Of the positive phase and negative phase signals formed by the clock pulses input to the /F circuit 5 and input to the input terminal 2, the reverse phase signal is input to the F/F circuit 6 and input to the input terminal 2. The signal delayed by one clock of the clock pulse sent to the F/F
It is output from the positive phase output of the circuit 6. Since the output of the F/F circuit 6 has a frequency that is half the frequency of the clock pulse input to the input terminal 2, the positive phase output of the F/F circuit 6 is equal to the negative phase output of the F/F circuit 5. This is a signal delayed by half a cycle of the output of the /F circuit 5. Therefore, the positive phase output of F/F circuit 5 and P/
Since it always matches the positive phase output of F circuit 6, by inputting these two signals to comparator 7 and making a decision at the rising edge of the clock pulse at input terminal 2, the output of comparator 7 becomes high level. Become.

入力端子1からの入力が断状態となり、高・低どちらか
のレベルになった場合、F/F回路5とF/F回路6の
正相出力は同しレベルになることはない。従って比較器
7の出力は低レベルになる。
When the input from the input terminal 1 is cut off and becomes either high or low level, the positive phase outputs of the F/F circuits 5 and 6 will never be at the same level. Therefore, the output of comparator 7 becomes low level.

従って、第1のクロック入力端子1にクロックパルスが
入力されている場合は出力端子に高レベルが出力され、
クロックパルスが入力されていない場合は第1のクロッ
ク入力端子lが高・低どちらであっても出力端子に低レ
ベルを出力することができる。
Therefore, when a clock pulse is input to the first clock input terminal 1, a high level is output to the output terminal,
When no clock pulse is input, a low level can be output to the output terminal regardless of whether the first clock input terminal l is high or low.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、分周期の入力を第1のク
ロック入力端子に接続し、出力を第1のF/F回路の入
力に接続し、第1のF/F回路の逆相出力を第2のF/
F回路の入力に接続し、第1のF/F回路の正相出力と
第2のF/F回路の正相出力とを比較器の入力に接続し
、比較器の出力を出力端子に接続すると共に、第1.第
2のF/F回路と比較器のクロック入力端子を第2のク
ロック入力端子に接続することにより、第1のクロック
入力端子にクロックパルスが入力されている場合は出力
端子に高レベルが出力され、クロックパルスか入力され
ていない場合は、第1のクロック入力端子が高・低いず
れの場合でも出力端子に低レベルを出力する集積回路に
より回路を構成できる効果がある。
As explained above, the present invention connects the divided period input to the first clock input terminal, connects the output to the input of the first F/F circuit, and outputs the negative phase output of the first F/F circuit. to the second F/
Connect to the input of the F circuit, connect the positive phase output of the first F/F circuit and the positive phase output of the second F/F circuit to the input of the comparator, and connect the output of the comparator to the output terminal. In addition, 1. By connecting the clock input terminal of the second F/F circuit and the comparator to the second clock input terminal, a high level is output to the output terminal when a clock pulse is input to the first clock input terminal. When no clock pulse is input, the circuit can be configured with an integrated circuit that outputs a low level to the output terminal regardless of whether the first clock input terminal is high or low.

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

第1図は本発明のクロック断検出回路の一実施例を示す
ブロック図、第2図は従来の一例を示す回路図である。 1.2・・・入力端子、3・・・出力端子、4・・・分
周器、5,6・・・フリップフロップ(F/F)回路、
7・・・比較器。
FIG. 1 is a block diagram showing an embodiment of the clock disconnection detection circuit of the present invention, and FIG. 2 is a circuit diagram showing an example of the conventional technology. 1.2... Input terminal, 3... Output terminal, 4... Frequency divider, 5, 6... Flip-flop (F/F) circuit,
7... Comparator.

Claims (1)

【特許請求の範囲】[Claims] 第1のクロックパルスを入力して1/2周期に変換出力
する分周期と、この分周期の出力をデータ入力とし第2
のクロックパルスをクロック入力として接続する第1の
フロップフロップ回路と、この第1のフロップフロップ
回路の逆相出力をデータ入力とし第2のクロックパルス
をクロック入力として接続する第2のフリップフロップ
回路と、前記第1および第2のフリップフロップ回路そ
れぞれの出力を入力し、第2のクロックパルスの立ち上
り時点で比較して判定を出力する比較器とを有すること
を特徴とするクロック断検出回路。
The first clock pulse is input and converted into a 1/2 cycle and output, and the output of this divided cycle is used as the data input for the second clock pulse.
a first flip-flop circuit to which the clock pulse of the first flip-flop circuit is connected as a clock input; and a second flip-flop circuit to which the reverse phase output of the first flip-flop circuit is connected as a data input and a second clock pulse is connected as a clock input. and a comparator that inputs the outputs of the first and second flip-flop circuits, compares them at the rising edge of the second clock pulse, and outputs a determination.
JP30208390A 1990-11-07 1990-11-07 Clock discontinuation detection circuit Pending JPH04172814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30208390A JPH04172814A (en) 1990-11-07 1990-11-07 Clock discontinuation detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30208390A JPH04172814A (en) 1990-11-07 1990-11-07 Clock discontinuation detection circuit

Publications (1)

Publication Number Publication Date
JPH04172814A true JPH04172814A (en) 1992-06-19

Family

ID=17904719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30208390A Pending JPH04172814A (en) 1990-11-07 1990-11-07 Clock discontinuation detection circuit

Country Status (1)

Country Link
JP (1) JPH04172814A (en)

Similar Documents

Publication Publication Date Title
US6323706B1 (en) Apparatus and method for edge based duty cycle conversion
EP0584946B1 (en) Logic interface circuits
EP0287776B1 (en) Phase-locked data detector
US4591744A (en) Transition detection circuit
US4333055A (en) Digital phase-frequency detector
US5327016A (en) Load control circuit including automatic AC/DC discernment
JP2546834B2 (en) Pulse input processing circuit
US20050068083A1 (en) Clock input circuit of microcomputer that can remove noise at high accuracy
JP3003623B2 (en) Oscillation circuit
JPS587968A (en) Ringing trip circuit
JPS5832343Y2 (en) Automatic frequency adjustment release device
JPH0641392Y2 (en) Phase comparator
JPH0719012Y2 (en) Voltage detection circuit
JPH03258055A (en) System selection control circuit
JPS59208932A (en) Digital phase comparator
JP2808027B2 (en) Charge pump circuit
JPH01135116A (en) Input interruption detection circuit
JP2000174598A (en) Signal stop detection circuit
CN121396156A (en) Clock signal loss detection circuit
JPH09321746A (en) Clock loss detection circuit
JP2814922B2 (en) Balance clock input signal abnormality detection circuit
JP2811854B2 (en) Digital line termination controller
JPS63131717A (en) Offset cancel circuit
JPH02277393A (en) Ground detection circuit
JPH02117246A (en) Pcm input disconnection detection circuit