JP2958724B2 - Clock loss detection circuit - Google Patents

Clock loss detection circuit

Info

Publication number
JP2958724B2
JP2958724B2 JP3318790A JP31879091A JP2958724B2 JP 2958724 B2 JP2958724 B2 JP 2958724B2 JP 3318790 A JP3318790 A JP 3318790A JP 31879091 A JP31879091 A JP 31879091A JP 2958724 B2 JP2958724 B2 JP 2958724B2
Authority
JP
Japan
Prior art keywords
clock
mos transistor
channel mos
input
voltage
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
JP3318790A
Other languages
Japanese (ja)
Other versions
JPH05160823A (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.)
NIPPON DENKI ENJINIARINGU KK
Original Assignee
NIPPON DENKI ENJINIARINGU KK
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 NIPPON DENKI ENJINIARINGU KK filed Critical NIPPON DENKI ENJINIARINGU KK
Priority to JP3318790A priority Critical patent/JP2958724B2/en
Publication of JPH05160823A publication Critical patent/JPH05160823A/en
Application granted granted Critical
Publication of JP2958724B2 publication Critical patent/JP2958724B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Manipulation Of Pulses (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 disconnection detection circuit.

【0002】[0002]

【従来の技術】クロックを使用する回路において、クロ
ック断の有無に応じてその回路の内部あるいは外部に対
する処理が必要な場合が多い。例えば、伝送回路におい
て、クロック断は異常状態であるから、クロック断の時
には出力に不用な信号が出ない様に制御したり、あるい
は出力端をハイインピーダンスに制御する必要がある。
このため、クロック断を検出する回路が必要であり、従
来のクロック断検出回路は、抵抗およびコンデンサを使
用した時定数回路で構成されている。
2. Description of the Related Art In a circuit using a clock, it is often necessary to perform processing on the inside or outside of the circuit depending on whether or not the clock is cut off. For example, in a transmission circuit, since a clock loss is an abnormal state, it is necessary to control such that an unnecessary signal is not output at the time of the clock loss, or to control the output terminal to high impedance.
For this reason, a circuit for detecting a clock loss is required, and the conventional clock loss detection circuit is constituted by a time constant circuit using a resistor and a capacitor.

【0003】すなわち、従来のクロック断検出回路は、
図4に例示するごとく、クロック入力(CLK)をイン
バータ1および7を通して抵抗8およびコンデンサ5か
ら成る時定数回路に与え、その出力を比較器6の第1の
入力端子(IN1)に接続して構成されている。比較器
6の第2の入力端子(REF)には基準電圧(VB2)を
接続してあり、比較器6の出力(OUT)にクロックの
有無を示す信号を得ている。
[0003] That is, the conventional clock disconnection detection circuit is
As illustrated in FIG. 4, a clock input (CLK) is supplied to a time constant circuit including a resistor 8 and a capacitor 5 through inverters 1 and 7, and an output thereof is connected to a first input terminal (IN1) of a comparator 6. It is configured. A reference voltage (V B2 ) is connected to a second input terminal (REF) of the comparator 6, and a signal indicating the presence or absence of a clock is obtained at an output (OUT) of the comparator 6.

【0004】図5に示すように、クロック入力(CL
K)にクロックパルスが現われると、抵抗8およびコン
デンサ5の時定数回路にて積分され、比較器6の第1の
入力端子(IN1)の電圧が比較器6の第2の入力端子
(REF)に入力されている基準電圧(VB2)よりも高
くなって、出力(OUT)のパルスが立上り保持する。
その後、クロックが入力されなくなると、比較器6の第
1の入力端子(IN1)の電圧が次第に低下し、比較器
6の第2の入力端子(REF)に入力されている基準電
圧(VB2)よりも低くなると、出力(OUT)のパルス
が立下ってウロック断が検出される。
As shown in FIG. 5, a clock input (CL
When a clock pulse appears at K), the clock pulse is integrated by the time constant circuit of the resistor 8 and the capacitor 5, and the voltage of the first input terminal (IN1) of the comparator 6 is changed to the second input terminal (REF) of the comparator 6. Becomes higher than the reference voltage (V B2 ) that is input to the input terminal, and the output (OUT) pulse rises and is held.
Thereafter, when the clock is no longer input, the voltage of the first input terminal (IN1) of the comparator 6 gradually decreases, and the reference voltage (V B2 ) input to the second input terminal (REF) of the comparator 6 is reduced. ), The pulse of the output (OUT) falls, and the break of the lock is detected.

【0005】このような従来回路の動作において、図6
に示すように、クロック入力の周波数が低くなると、時
定数回路の積分中での放電時間が長くなるので、比較器
6の第1の入力端子(IN1)の電圧が基準電圧
(VB2)よりも低くなる期間を生じ、クロックが継続し
て入力されている期間でも、比較器6からの出力(OU
T)中にクロック断を示すパルス立下りを生じてしま
う。
In the operation of such a conventional circuit, FIG.
As shown in ( 2 ), when the frequency of the clock input decreases, the discharge time during integration of the time constant circuit increases, so that the voltage of the first input terminal (IN1) of the comparator 6 becomes higher than the reference voltage ( VB2 ). Is low, and the output (OU) from the comparator 6 is maintained even while the clock is continuously input.
During T), a pulse falling indicating a clock disconnection occurs.

【0006】[0006]

【発明が解決しようとする課題】このように従来のクロ
ック断検出回路では、抵抗8およびコンデンサ5の時定
数が一定なので、入力クロックの周波数が変わるとクロ
ック断の誤検出を生じ、これを防ぐにはクロック周波数
に応じて抵抗あるいはコンデンサの定数値を変えなけれ
ばならず、回路に汎用性がない。特に、クロック周波数
が低くなると、抵抗あるいは容量の値を大きくする必要
があり、レイアウト面積が大きくなってしまう欠点があ
る。
As described above, in the conventional clock disconnection detecting circuit, since the time constant of the resistor 8 and the capacitor 5 is constant, when the frequency of the input clock changes, erroneous detection of the clock disconnection occurs, which is prevented. Requires that the constant value of the resistor or capacitor be changed according to the clock frequency, and the circuit is not versatile. In particular, when the clock frequency decreases, it is necessary to increase the value of the resistance or the capacitance, and there is a disadvantage that the layout area increases.

【0007】[0007]

【課題を解決するための手段】本発明のクロック断検出
回路は、クロック入力を接続したインバータと、前記ク
ロック入力のパルスのオン・オフに応じて第1の基準電
圧および接地電圧の一方を選択送出するスイッチ回路
と、ソースを電源に接続し、ゲートを前記インバータの
出力に接続したPチャネルMOSトランジスタと、ドレ
インを前記PチャネルMOSトランジスタのドレインに
接続し、ゲートを前記スイッチ回路の出力に接続し、ソ
ースを接地電圧に接続したNチャネルMOSトランジス
タと、前記PチャネルMOSトランジスタのドレインお
よび接地電圧の間に接続したコンデンサと、第1の入力
端子を前記PチャネルMOSトランジスタのドレイン
に、第2の入力端子を第2の基準電圧に接続してあり、
該第1および第2の入力端子の両電圧の高低を示すパル
スを出力する比較器とを備えている。
A clock disconnection detection circuit according to the present invention selects an inverter to which a clock input is connected and one of a first reference voltage and a ground voltage in accordance with the on / off state of the clock input pulse. A switch circuit to be sent, a source connected to a power supply, a P-channel MOS transistor having a gate connected to the output of the inverter, a drain connected to a drain of the P-channel MOS transistor, and a gate connected to the output of the switch circuit. An N-channel MOS transistor having a source connected to the ground voltage; a capacitor connected between the drain of the P-channel MOS transistor and the ground voltage; a first input terminal connected to the drain of the P-channel MOS transistor; Is connected to the second reference voltage,
A comparator that outputs a pulse indicating the level of the voltage at both the first and second input terminals.

【0008】[0008]

【実施例】次に本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0009】図1は本発明の一実施例の回路図である。
同図において、クロック入力(CLK)はインバータ1
とスイッチ回路2の第1の入力端子(SW)とに接続さ
れており、スイッチ回路2の第2の入力端子(IN2)
には基準電圧(VB1)を、また第3の入力端子(IN
3)には接地電圧を接続してある。PチャネルMOSト
ランジスタ3のソースには電源(VDD)を、ゲートに
はインバータ1の出力をそれぞれ接続し、またNチャネ
ルMOSトランジスタ4のドレインにはPチャネルMO
Sトランジスタ3のドレインを、ゲートにはスイッチ回
路2の出力(Q)を、またソースには接地電圧をそれぞ
れ接続してある。コンデンサ5は、PチャネルMOSト
ランジスタ3のドレインおよび接地間に接続し、比較器
6の第1の入力端子(IN1)にPチャネルMOSトラ
ンジスタ3のドレインを、第2の入力端子(REF)に
基準電圧(VB2)を接続して、その出力(OUT)にク
ロック検出結果を示すパルスを得るよう構成している。
FIG. 1 is a circuit diagram of one embodiment of the present invention.
In the figure, a clock input (CLK) is connected to an inverter 1
And a first input terminal (SW) of the switch circuit 2 and a second input terminal (IN2) of the switch circuit 2.
A reference voltage (V B1 ), and a third input terminal (IN
The ground voltage is connected to 3). The power supply (VDD) is connected to the source of the P-channel MOS transistor 3, the output of the inverter 1 is connected to the gate, and the P-channel MOS transistor 4 is connected to the drain of the N-channel MOS transistor 4.
The drain of the S transistor 3, the output (Q) of the switch circuit 2 is connected to the gate, and the ground voltage is connected to the source. The capacitor 5 is connected between the drain of the P-channel MOS transistor 3 and the ground, and connects the drain of the P-channel MOS transistor 3 to the first input terminal (IN1) of the comparator 6 and the reference to the second input terminal (REF). A voltage (V B2 ) is connected, and a pulse indicating a clock detection result is obtained at its output (OUT).

【0010】本実施例において図2に示すように、クロ
ック入力(CLK)にクロックパルスが現われると、ク
ロックパルスの立上り期間ではインバータ1の出力パル
スが立下り、PチャネルMOSトランジスタ3がオン状
態となる。同時に、スイッチ回路2は、第3の入力端子
(IN3)に入力されている接地電圧を出力し、これに
応じてNチャネルMOSトランジスタ4はオフ状態とな
る。すなわち、クロックパルスの立上り期間では、Pチ
ャネルMOSトランジスタ3がオン、NチャネルMOS
トランジスタ4がオフになるから、コンデンサ5に電荷
が充電され、これに伴なって比較器6の第1の入力端子
(IN1)の電圧が高くなり、基準電圧(VB2)よりも
高くなると出力(OUT)のパルスが立上る。その後、
クロックパルスの立下り期間では、インバータ1の出力
パルスが立上り、PチャネルMOSトランジスタ3がオ
フ状態となる。同時に、スイッチ回路2は第2の入力端
子(IN2)に入力されている基準電圧(VB1)を出力
する。この基準電圧(VB1)をNチャネルMOSトラン
ジスタ4がオンするゲートソース電圧に設定しておく
と、NチャネルMOSトランジスタ4のオン抵抗を通じ
て放電される。充電時定数よりも放電時定数の方を大き
くしておくと、クロックが継続入力されている期間で
は、比較器6の第1の入力端子(IN1)の電圧は常に
基準電圧(VB2)よりも高くなり、比較器6の出力(O
UT)はパルス立上りを保持する。その後、クロックが
入力されなくなると比較器6の第1の入力端子(IN
1)の電圧が低下していき、基準電圧(VB2)よりも低
くなると、出力(OUT)のパルスが立下ってクロック
断が検出される。
In this embodiment, as shown in FIG. 2, when a clock pulse appears at the clock input (CLK), the output pulse of the inverter 1 falls during the rising period of the clock pulse, and the P-channel MOS transistor 3 is turned on. Become. At the same time, the switch circuit 2 outputs the ground voltage input to the third input terminal (IN3), and accordingly, the N-channel MOS transistor 4 is turned off. That is, during the rising period of the clock pulse, the P-channel MOS transistor 3 is turned on and the N-channel MOS transistor is turned on.
Since the transistor 4 is turned off, the capacitor 5 is charged with electric charge. As a result, the voltage at the first input terminal (IN1) of the comparator 6 increases, and when the voltage becomes higher than the reference voltage (V B2 ), the output is output. The (OUT) pulse rises. afterwards,
During the falling period of the clock pulse, the output pulse of inverter 1 rises, and P-channel MOS transistor 3 is turned off. At the same time, the switch circuit 2 outputs the reference voltage (V B1 ) input to the second input terminal (IN2). If the reference voltage (V B1 ) is set to the gate-source voltage at which the N-channel MOS transistor 4 is turned on, the discharge occurs through the on-resistance of the N-channel MOS transistor 4. If the discharging time constant is set to be larger than the charging time constant, the voltage of the first input terminal (IN1) of the comparator 6 is always higher than the reference voltage (V B2 ) during the period when the clock is continuously input. And the output of the comparator 6 (O
UT) holds the pulse rise. Thereafter, when the clock is no longer input, the first input terminal (IN
When the voltage of 1) decreases and becomes lower than the reference voltage (V B2 ), the pulse of the output (OUT) falls and the clock interruption is detected.

【0011】本実施例において、検出対象のクロックの
周波数を変えるときには、基準電圧(VB1)を変えるこ
とにより、NチャネルMOSトランジスタのオン抵抗
(RON)は下記の(1)式で与えられる。
In this embodiment, when the frequency of the clock to be detected is changed, the on-resistance (R ON ) of the N-channel MOS transistor is given by the following equation (1) by changing the reference voltage (V B1 ). .

【0012】 RON=L/μCO W(VSG−VT )………(1) ここでμは移動度、CO は単位面積当りの容量、Wはゲ
ートの幅、Lはゲートの長さ、VGSはゲートソース間の
電圧、VT はしきい値電圧である。
[0012] R ON = L / μC O W (V SG -V T) ......... (1) where μ is the mobility, C O is the capacitance per unit area, W is the gate width, L is the gate The length, V GS is the voltage between the gate and the source, and VT is the threshold voltage.

【0013】(1)式において、μ,CO ,VT は集積
回路のプロセスで決定される定数であり、W,Lはトラ
ンジスタのゲートの形状により決定されるので、VGS
よりRONを可変することができる。
[0013] In (1), mu, C O, V T is the constant determined in the process of integrated circuits, W, since L is determined by the shape of the gate of the transistor, the R ON by V GS Can be variable.

【0014】図3に示すようにクロック周波数を下げた
場合、基準電圧(VB1)を上述のように調整することに
より放電時定数を変化させ、破線波形から実線波形に変
えることができ、誤検出を防止できる。
When the clock frequency is reduced as shown in FIG. 3, the discharge time constant can be changed by adjusting the reference voltage (V B1 ) as described above, and the waveform can be changed from a broken line waveform to a solid line waveform. Detection can be prevented.

【0015】[0015]

【発明の効果】以上説明したように本発明によれば、入
力クロックの周波数に応じてNチャネルMOSトランジ
スタのゲート電圧を変えてそのオン抵抗を調整すること
により、時定数回路の放電時定数を可変でき、回路の汎
用性が得られると共に、抵抗の代わりにトランジスタの
オン抵抗を利用するのでレイアウト面積を小さくでき
る。
As described above, according to the present invention, the discharge time constant of the time constant circuit is adjusted by changing the gate voltage of the N-channel MOS transistor according to the frequency of the input clock and adjusting the on-resistance thereof. It can be varied, the versatility of the circuit can be obtained, and the layout area can be reduced because the on-resistance of the transistor is used instead of the resistor.

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

【図1】本発明の実施例の回路図。FIG. 1 is a circuit diagram of an embodiment of the present invention.

【図2】本発明の実施例における信号タイミング図。FIG. 2 is a signal timing chart in the embodiment of the present invention.

【図3】本発明の実施例における信号タイミング図。FIG. 3 is a signal timing chart in the embodiment of the present invention.

【図4】従来のクロック断検出回路の回路図。FIG. 4 is a circuit diagram of a conventional clock loss detection circuit.

【図5】従来回路における信号タイミング図。FIG. 5 is a signal timing chart in a conventional circuit.

【図6】従来回路における信号タイミング図。FIG. 6 is a signal timing chart in a conventional circuit.

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

1,7 インバータ 2 スイッチ回路 3 PチャネルMOSトランジスタ 4 NチャネルMOSトランジスタ 5 コンデンサ 6 比較器 8 抵抗 1,7 Inverter 2 Switch circuit 3 P-channel MOS transistor 4 N-channel MOS transistor 5 Capacitor 6 Comparator 8 Resistance

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 クロック入力を接続したインバータと、
前記クロック入力のパルスのオン・オフに応じて第1の
基準電圧および接地電圧の一方を選択送出するスイッチ
回路と、ソースを電源に接続し、ゲートを前記インバー
タの出力に接続したPチャネルMOSトランジスタと、
ドレインを前記PチャネルMOSトランジスタのドレイ
ンに接続し、ゲートを前記スイッチ回路の出力に接続
し、ソースを接地電圧に接続したNチャネルMOSトラ
ンジスタと、前記PチャネルMOSトランジスタのドレ
インおよび接地電圧の間に接続したコンデンサと、第1
の入力端子を前記PチャネルMOSトランジスタのドレ
インに、第2の入力端子を第2の基準電圧に接続してあ
り、該第1および第2の入力端子の両電圧の高低を示す
パルスを出力する比較器とを備えていることを特徴とす
るクロック断検出回路。
An inverter connected to a clock input;
A switch circuit for selectively transmitting one of a first reference voltage and a ground voltage in accordance with the on / off of the clock input pulse; a P-channel MOS transistor having a source connected to a power supply and a gate connected to the output of the inverter When,
An N-channel MOS transistor having a drain connected to the drain of the P-channel MOS transistor, a gate connected to the output of the switch circuit, and a source connected to the ground voltage, between the drain of the P-channel MOS transistor and the ground voltage; The connected capacitor and the first
Is connected to the drain of the P-channel MOS transistor, the second input terminal is connected to a second reference voltage, and outputs a pulse indicating the level of both voltages of the first and second input terminals. A clock disconnection detection circuit comprising a comparator.
JP3318790A 1991-12-03 1991-12-03 Clock loss detection circuit Expired - Lifetime JP2958724B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3318790A JP2958724B2 (en) 1991-12-03 1991-12-03 Clock loss detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3318790A JP2958724B2 (en) 1991-12-03 1991-12-03 Clock loss detection circuit

Publications (2)

Publication Number Publication Date
JPH05160823A JPH05160823A (en) 1993-06-25
JP2958724B2 true JP2958724B2 (en) 1999-10-06

Family

ID=18102975

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3318790A Expired - Lifetime JP2958724B2 (en) 1991-12-03 1991-12-03 Clock loss detection circuit

Country Status (1)

Country Link
JP (1) JP2958724B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI451695B (en) * 2010-06-23 2014-09-01 Novatek Microelectronics Corp Clock circuit and reset circuit and method thereof

Also Published As

Publication number Publication date
JPH05160823A (en) 1993-06-25

Similar Documents

Publication Publication Date Title
US4874971A (en) Edge-sensitive dynamic switch
JP2655096B2 (en) Output buffer circuit
EP0655834A1 (en) Delay circuit using capacitor and transistor
US5191235A (en) Semiconductor integrated circuit device having substrate potential detection circuit
US5151620A (en) CMOS input buffer with low power consumption
EP0076733B1 (en) Cmos circuitry for dynamic translation of input signals at ttl levels into corresponding output signals at cmos levels
JPS63119314A (en) Integrated circuit oscillator
US6043749A (en) Frequency detection circuit
EP0035345B1 (en) A power-on reset circuit
US5469090A (en) Transistor circuit for holding peak/bottom level of signal
JP2958724B2 (en) Clock loss detection circuit
JPH0685648A (en) Output circuit
KR20030072527A (en) Generator of dc-dc converter
US4808943A (en) Switching circuit of amplifier output
EP3713089A1 (en) Power supply detection circuit
US4916385A (en) Inverter circuit
US5714898A (en) Power supply control circuit
JP7350704B2 (en) Deterioration detection device and deterioration detection method
US7019563B2 (en) Waveform shaping circuit
JPH0955769A (en) Interrupted clock detecting circuit
GB2176959A (en) Cmos power-on detection
KR100211122B1 (en) Oscillator for semiconductor ic device
KR940005873Y1 (en) Slewrate control tri-state output buffer
JP3957587B2 (en) Clock loss detection circuit
EP0406491A1 (en) Noise removing 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: 19990608

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

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

Free format text: PAYMENT UNTIL: 20070730

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20080730

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20080730

Year of fee payment: 9

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20080730

Year of fee payment: 9

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: 20090730

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100730

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110730

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110730

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120730

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120730

Year of fee payment: 13