JP4217500B2 - Clock abnormality detection circuit and detection method thereof - Google Patents

Clock abnormality detection circuit and detection method thereof Download PDF

Info

Publication number
JP4217500B2
JP4217500B2 JP2003044112A JP2003044112A JP4217500B2 JP 4217500 B2 JP4217500 B2 JP 4217500B2 JP 2003044112 A JP2003044112 A JP 2003044112A JP 2003044112 A JP2003044112 A JP 2003044112A JP 4217500 B2 JP4217500 B2 JP 4217500B2
Authority
JP
Japan
Prior art keywords
clock
inspected
abnormality
delay
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 - Fee Related
Application number
JP2003044112A
Other languages
Japanese (ja)
Other versions
JP2004252834A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2003044112A priority Critical patent/JP4217500B2/en
Publication of JP2004252834A publication Critical patent/JP2004252834A/en
Application granted granted Critical
Publication of JP4217500B2 publication Critical patent/JP4217500B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Manipulation Of Pulses (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、クロック異常検出回路及びその検出方法であり、特に電子回路のクロックのデューティ比異常、及び不連続的な周期異常を検出するクロック異常検出回路に関する。
【0002】
【従来の技術】
多くの電子回路は、クロック信号を基準に動作する。クロック信号を基準に動作する電子回路は、クロック信号が常に一定の周期とデューティ比で出力されることを前提に設計される。しかし、クロック信号発生回路が経年劣化や故障などで、異常な信号を出力する場合がある。このとき、電子回路はクロック信号を誤認識して正常動作をすることができない。そこで、電子回路では、クロック信号の異常を検出するための回路を備えることや、定期的なクロック信号発生回路の校正を行うことで、クロック信号に起因する誤動作対策を行うのが一般的である。
【0003】
また、一つのクロック異常検出方法として、特許文献1に示されているように、クロック信号の不連続的な周期異常やデューティ比異常の検出を行う従来技術がある。図5に従来技術の回路構成図を示す。501は被検査クロックである。502は1周期遅延回路である。503は比較回路であり、被検査クロック501と1周期遅延回路502との排他的論理和をとる。504はカウンタであり、比較回路503の出力データに対応して505のクロック信号のクロック入力により加算する。506はラッチ回路であり、カウンタ504のオーバーフローにより、被検査クロック501において不連続的なクロック周期異常やデューティ比が変化した場合の異常を検出するものである。
【0004】
【特許文献1】
特開平10−24037号公報
【0005】
【発明が解決しようとしている課題】
しかしながら、上記先行特許では、被検査クロックと被検査クロックを1周期遅延させた信号波形を排他的論理和回路で比較するため、信号変化点で信号波形にノイズが発生しやすい。このノイズ除去のために或る一定周期内のパルスを無視する機構があるが、ノイズ除去の対象とするパルス周期設定の調整が必要で、周期調整が不適切な場合には、異常な被検査クロックを正常と判定する場合や、正常な被検査クロックを異常と判定する場合があった。
【0006】
また、ノイズ除去機構では被検査クロックと被検査クロックを1周期遅延させた信号波形の排他的論理和をカウンタの入力として、或る周期でカウンタにクロック入力を行い、カウンタがオーバーフローした場合に被検査クロックのデューティ比異常や不連続的な周期異常を認識する。従って、被検査クロックに対してカウンタのクロック入力は十分に周期が短いクロックを準備する必要があった。
【0007】
本発明は、従来の問題を解決するものであり、被検査クロックを一定時間分遅延させる遅延手段を有し、前記遅延手段の出力信号エッジで前記被検査クロックの一定時間後の状態を格納するクロック状態格納手段を有し、前記クロック状態格納手段の出力から被検査クロックの異常を検出する判定手段を有することで、被検査クロックの他に別途、特殊なクロック入力を必要とせず、クロックの異常を検出することを特徴とするクロック異常検出回路及びその検出方法を提供することを目的とする。
【0008】
【課題を解決するための手段】
本発明は、被検査クロックを一定時間分遅延させる遅延手段と、該遅延手段の出力信号を基に前記被検査クロックの前記一定時間経過後の状態を格納するクロック状態格納手段と、該クロック状態格納手段の出力と前記検査クロックの前記一定時間経過後における出力期待値とを比較判定して前記被検査クロックの異常を検出する判定手段とを備え、前記判定手段が、前記クロック状態格納手段からの出力を入力とし、かつ、遅延手段の出力信号を基に加算を行って被検査クロック異常の発生を計数するカウンタ手段を有しており、遅延させる一定時間がそれぞれ相違する前記遅延手段と前記クロック状態格納手段と前記カウンタ手段とからなる組を複数備え、かつ、複数の前記カウンタ手段の出力を比較するカウンタ比較手段を備えるクロック異常検出回路である。
【0011】
更に、本発明は、上記遅延手段の遅延時間を自由に設定できるプログラマブル遅延手段を持つクロック異常検出回路である。
【0012】
そして、本発明は、被検査クロックを一定時間分遅延させる遅延ステップと、遅延した信号を基に前記被検査クロックの前記一定時間経過後の状態を格納する格納ステップと、格納ステップで格納した状態の出力と前記被検査クロックの前記一定時間経過後における出力期待値とを比較判定して前記被検査クロックの異常を検出する判定ステップとを有し、前記判定ステップが、前記格納ステップの出力を入力とし、かつ、遅延した信号を基に加算を行って被検査クロック異常の発生を計数する計数ステップを有しており、遅延させる一定時間がそれぞれ相違する遅延ステップと前記格納ステップと前記計数ステップとからなる組を複数備え、かつ、複数の前記計数ステップで計数した結果の出力を比較するカウンタ比較ステップを備えるクロック異常検出方法である。
【0014】
本発明に従えば、被検査クロックのみで一定周期後の被検査クロックの状態を検知、判定することができ、被検査クロックのデューティ比異常や不連続的な周期異常を検出することができる。
【0015】
【発明の実施の形態】
本発明の実施の形態を説明する。
本発明のクロック異常検出回路及びその検出方法の実施例について、図1〜図4を用いて説明する。図1は、実施例1のクロック異常検出回路のシステム構成図の一例の説明図である。図2は、実施例1による被検査クロックのデューティ比が1:1の時の回路中における信号波形の一例の説明図である。図3は、実施例1による被検査クロックのデューティ比が7:1の時の回路中における信号波形の一例の説明図である。図4は、実施例1による被検査クロックのデューティ比が1:7の時の回路中における信号波形の一例の説明図である。
【0016】
実施例1を説明する。図1に本実施例のシステム構成の一例を示す。101は被検査クロックで、クロック異常検出回路の入力である。102は1/4周期遅延回路で、被検査クロック101を1/4周期(一定時間)遅延させる。103は3/4周期遅延回路で、被検査クロック101を3/4周期(一定時間)遅延させる。104と105はフリップフロップで、被検査クロック101を1/4周期遅延回路102と3/4周期遅延回路103の出力エッジで格納(ラッチ)する。106はNOT回路で、フリップフロップ104の出力を反転させる。107と108はカウンタで1/4周期遅延回路102と3/4周期遅延回路103の出力エッジで入力データに応じて加算を行う。クロック状態格納手段104、105の出力と検査クロックの一定時間経過後における出力期待値とを比較判定することにより、被検査クロックの異常を検出することができる。
【0017】
被検査クロック101が1周期の間にHIGHからLOWに変化するとき、1/4周期経過までにHIGHからLOWにデータが変化すると、フリップフロップ104には、LOWデータが格納(ラッチ)され、NOT回路106で反転することで、NOT回路106からはHIGHデータが出力され、カウンタ107の値が加算されることにより、被検査クロック101のデューティ比が1:3より大きくなっていることが分かる。このようにして、被検査クロック101の異常が検出できる。
【0018】
同様に、被検査クロック101が3/4周期経過してもHIGHのままだと、フリップフロップ105には、HIGHデータが格納(ラッチ)され、カウンタ108の値が加算されることにより、被検査クロック101のデューティ比が3:1より大きくなっていることが分かる。これにより、被検査クロック101の異常が検出できる。
【0019】
尚、周期遅延回路102、103はインバータ回路の縦続接続段数を所定の段数に調整した遅延回路や、ロジックゲートとCR(キャパシタと抵抗)で構成された遅延回路や、インダクタとキャパシタで構成された遅延回路で段数やタップ位置を調整する等で容易に所望の遅延回路を得ることはできるものである。
【0020】
そして、1/4周期遅延回路102と3/4周期遅延回路103について遅延時間を自由に設定できるプログラマブル遅延回路(段数やタップ位置の選択手段を有する)で図1のシステムを構成することで、プログラマブル遅延回路の設定を順次変えていくことにより、被検査クロック101がHIGHからLOWへ遷移するポイントを特定することができ、被検査クロック101のデューティ比を特定することができる。
【0021】
図2に被検査クロックのデューティ比と周期が正常時の信号波形を示す。201は被検査クロックの信号波形で、202と203はそれぞれ1/4周期遅延回路102と3/4周期遅延回路103の出力である。204はフリップフロップ104の出力信号波形で、205はNOT回路106の出力信号である。206はフリップフロップ105の出力である。207はカウンタ107の計数値を表しており、208はカウンタ108の計数値を表している。この場合、カウンタ107の計数値は0であり、かつカウンタ108の計数値も0なのでクロックに異常は無い。
【0022】
図3に被検査クロックにデューティ比異常が発生した時の信号波形を示す。301は被検査クロックの信号波形で、第2サイクルと第4サイクルにデューティ比異常がある。302と303はそれぞれ1/4周期遅延回路102と3/4周期遅延回路103の出力である。304はフリップフロップ104の出力信号波形で、305はNOT回路106の出力信号である。306はフリップフロップ105の出力である。307はカウンタ107の計数値で、308はカウンタ108の計数値である。この場合、カウンタ107の計数値は1であり、一方、カウンタ108の計数値も1なのでクロックに異常があることが分かる。
【0023】
図4に被検査クロックに不連続的な周期異常がある時の信号波形を示す。401は被検査クロックの信号波形で、第2サイクルと第4サイクルに不連続的な周期異常がある。402と403はそれぞれ1/4周期遅延回路102と3/4周期遅延回路103の出力である。404はフリップフロップ104の出力信号波形で、405はNOT回路106の出力信号である。406はフリップフロップ105の出力である。407はカウンタ107の計数で、408はカウンタ108の計数である。この場合、カウンタ107の計数は1であり、カウンタ108の計数は2なのでクロックに異常があることが分かる。
【0024】
尚、実施例1において、カウンタ107、108を用いることにより、図3のようにデューティ比異常が発生した場合、あるいは図4のように周期異常が発生した場合で、図3(デューティ比異常)の場合は2つのカウンタの計数値は同じ値で加算されるが、図4(周期異常)の場合は2つのカウンタの計数値が異なる値で加算されることから、2つのカウンタの計数値を検出し比較することで、異常の種類を選別できる。これにより、クロック発生回路のクロック異常対策や異常解析を可能とする。
【0025】
また、遅延させる一定時間がそれぞれ相違する遅延手段とクロック状態格納手段と上記カウンタ手段とからなる組を複数備え、かつ、複数のカウンタ手段の出力を比較するカウンタ比較手段を備えることにより、多種類の異常を検出することが可能となる。
【0026】
【発明の効果】
実施例で説明したように、本発明によれば、被検査クロックを一定時間分遅延させ、遅延させた信号をクロック入力とするフリップフロップに被検査クロックの状態を格納することで、他に特殊なクロックを準備することなく、一定時間後の被検査クロックの状態を検知でき、クロックのデューティ比異常や不連続的な周期異常を検出することができる。
【図面の簡単な説明】
【図1】実施例1のクロック異常検出回路のシステム構成図の一例の説明図。
【図2】実施例1による被検査クロックのデューティ比が1:1の時の回路中における信号波形の一例の説明図。
【図3】実施例1による被検査クロックのデューティ比が7:1の時の回路中における信号波形の一例の説明図。
【図4】実施例1による被検査クロックのデューティ比が1:7の時の回路中における信号波形の一例の説明図。
【図5】従来のシステム構成例の説明図。
【符号の説明】
101 被検査クロック
102 1/4周期ディレイ回路
103 3/4周期ディレイ回路
104、105 フリップフロップ回路
106 NOT回路
107、108 カウンタ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a clock abnormality detection circuit and a detection method therefor, and more particularly, to a clock abnormality detection circuit that detects a duty ratio abnormality and a discontinuous period abnormality of an electronic circuit clock.
[0002]
[Prior art]
Many electronic circuits operate on the basis of a clock signal. An electronic circuit that operates on the basis of a clock signal is designed on the assumption that the clock signal is always output at a constant period and duty ratio. However, the clock signal generation circuit may output an abnormal signal due to aging or failure. At this time, the electronic circuit cannot recognize the clock signal and operate normally. Therefore, in an electronic circuit, it is general to provide a circuit for detecting an abnormality of the clock signal, or to calibrate the clock signal generation circuit periodically to take measures against malfunction caused by the clock signal. .
[0003]
As one clock abnormality detection method, as disclosed in Patent Document 1, there is a conventional technique for detecting a discontinuous period abnormality or duty ratio abnormality of a clock signal. FIG. 5 shows a circuit configuration diagram of the prior art. Reference numeral 501 denotes an inspection clock. Reference numeral 502 denotes a one-cycle delay circuit. Reference numeral 503 denotes a comparison circuit that takes an exclusive OR of the clock 501 to be inspected and the one-cycle delay circuit 502. Reference numeral 504 denotes a counter which is added by the clock input of the clock signal 505 corresponding to the output data of the comparison circuit 503. Reference numeral 506 denotes a latch circuit that detects a discontinuous clock period abnormality or an abnormality when the duty ratio changes in the clock 501 to be inspected due to the overflow of the counter 504.
[0004]
[Patent Document 1]
Japanese Patent Laid-Open No. 10-24037
[Problems to be solved by the invention]
However, in the above-mentioned prior patent, since the signal waveform obtained by delaying the clock to be tested and the clock to be tested by one cycle is compared by the exclusive OR circuit, noise is likely to be generated in the signal waveform at the signal change point. There is a mechanism for ignoring pulses within a certain period to eliminate this noise, but it is necessary to adjust the setting of the pulse period that is the object of noise removal. In some cases, the clock is determined to be normal, or the normal clock to be inspected is determined to be abnormal.
[0006]
Also, the noise elimination mechanism uses the exclusive OR of the signal waveform obtained by delaying the clock to be tested and the clock to be tested by one cycle as an input to the counter, and inputs the clock to the counter at a certain cycle. Recognize abnormal inspection clock duty ratio and discontinuous periodic abnormality. Therefore, it is necessary to prepare a clock with a sufficiently short period for the clock input of the counter with respect to the clock to be inspected.
[0007]
The present invention solves the conventional problem, has delay means for delaying the clock to be tested by a predetermined time, and stores a state after a predetermined time of the clock to be tested at an output signal edge of the delay means. By having a clock state storage means and a determination means for detecting an abnormality of the clock to be inspected from the output of the clock state storage means, a special clock input is not required in addition to the clock to be inspected. An object of the present invention is to provide a clock abnormality detection circuit and a method for detecting the abnormality, which are characterized by detecting an abnormality.
[0008]
[Means for Solving the Problems]
The present invention includes delay means for delaying a clock to be inspected by a predetermined time, clock state storage means for storing a state of the clock to be inspected after the lapse of the predetermined time based on an output signal of the delay means, and the clock state Determining means for comparing and determining an output of the storage means and an expected output value of the clock to be inspected after the predetermined time has elapsed to detect an abnormality of the clock to be inspected, wherein the determination means comprises the clock state storage means And an output based on the output signal of the delay means, and a counter means for counting the occurrence of the inspected clock abnormality, the delay means differing from each other by a certain fixed time. A clock comprising a plurality of sets of the clock state storage means and the counter means, and a counter comparison means for comparing the outputs of the plurality of counter means. Tsu is a click abnormality detection circuit.
[0011]
Furthermore, the present invention is a clock abnormality detection circuit having programmable delay means capable of freely setting the delay time of the delay means.
[0012]
The present invention provides a delay step for delaying the clock to be tested by a predetermined time, a storage step for storing the state of the clock to be tested after the predetermined time has elapsed based on the delayed signal, and a state stored in the storage step And a determination step of detecting an abnormality of the clock to be inspected by comparing and determining an output of the clock to be inspected and an output expected value after the predetermined time has elapsed, and the determination step outputs the output of the storage step. The delay step, the storing step, and the counting step, each having an input and adding based on the delayed signal to count occurrences of abnormal clocks to be inspected, each having a different fixed time to be delayed a plurality of sets of a, and click with the counter comparison step for comparing the output of the result of counting a plurality of said counting step Tsu is a click abnormality detection method.
[0014]
According to the present invention, it is possible to detect and determine the state of the clock to be inspected after a certain period using only the clock to be inspected, and it is possible to detect a duty ratio abnormality or a discontinuous period abnormality of the clock to be inspected.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment of the present invention will be described.
An embodiment of a clock abnormality detection circuit and a detection method thereof according to the present invention will be described with reference to FIGS. FIG. 1 is an explanatory diagram of an example of a system configuration diagram of the clock abnormality detection circuit according to the first embodiment. FIG. 2 is an explanatory diagram of an example of a signal waveform in the circuit when the duty ratio of the clock to be tested according to the first embodiment is 1: 1. FIG. 3 is an explanatory diagram of an example of a signal waveform in the circuit when the duty ratio of the clock to be inspected according to the first embodiment is 7: 1. FIG. 4 is an explanatory diagram of an example of a signal waveform in the circuit when the duty ratio of the clock to be inspected according to the first embodiment is 1: 7.
[0016]
Example 1 will be described. FIG. 1 shows an example of the system configuration of this embodiment. Reference numeral 101 denotes a clock to be inspected, which is an input of a clock abnormality detection circuit. Reference numeral 102 denotes a ¼ period delay circuit which delays the clock 101 to be inspected by ¼ period (fixed time). Reference numeral 103 denotes a 3/4 cycle delay circuit, which delays the clock 101 to be inspected by 3/4 cycle (fixed time). Reference numerals 104 and 105 denote flip-flops, which store (latch) the clock 101 to be inspected at the output edges of the 1/4 cycle delay circuit 102 and the 3/4 cycle delay circuit 103. A NOT circuit 106 inverts the output of the flip-flop 104. Reference numerals 107 and 108 denote counters which add at the output edges of the 1/4 cycle delay circuit 102 and the 3/4 cycle delay circuit 103 according to the input data. By comparing and determining the outputs of the clock state storage means 104 and 105 and the expected output value after a lapse of a predetermined time of the inspection clock, it is possible to detect an abnormality of the inspection target clock.
[0017]
When the clock 101 to be inspected changes from HIGH to LOW during one period, if the data changes from HIGH to LOW by the end of a quarter period, the LOW data is stored (latched) in the flip-flop 104, and NOT. By inverting by the circuit 106, HIGH data is output from the NOT circuit 106, and it can be seen that the duty ratio of the clock 101 to be inspected is larger than 1: 3 by adding the value of the counter 107. In this way, the abnormality of the clock 101 to be inspected can be detected.
[0018]
Similarly, if the clock to be inspected 101 remains HIGH even after 3/4 period elapses, HIGH data is stored (latched) in the flip-flop 105, and the value of the counter 108 is added to the object to be inspected. It can be seen that the duty ratio of the clock 101 is greater than 3: 1. Thereby, the abnormality of the clock 101 to be inspected can be detected.
[0019]
The cyclic delay circuits 102 and 103 are configured by a delay circuit in which the number of cascaded stages of inverter circuits is adjusted to a predetermined number, a delay circuit configured by a logic gate and CR (capacitor and resistor), an inductor and a capacitor. A desired delay circuit can be easily obtained by adjusting the number of stages and the tap position with the delay circuit.
[0020]
Then, by configuring the system of FIG. 1 with programmable delay circuits (having means for selecting the number of stages and tap positions) that can freely set the delay time for the 1/4 cycle delay circuit 102 and the 3/4 cycle delay circuit 103, By sequentially changing the settings of the programmable delay circuit, it is possible to specify the point at which the clock 101 to be tested transitions from HIGH to LOW, and to specify the duty ratio of the clock 101 to be tested.
[0021]
FIG. 2 shows signal waveforms when the duty ratio and period of the clock to be inspected are normal. 201 is the signal waveform of the clock to be inspected, and 202 and 203 are the outputs of the 1/4 cycle delay circuit 102 and 3/4 cycle delay circuit 103, respectively. 204 is an output signal waveform of the flip-flop 104, and 205 is an output signal of the NOT circuit 106. Reference numeral 206 denotes an output of the flip-flop 105. Reference numeral 207 represents the count value of the counter 107, and 208 represents the count value of the counter 108. In this case, since the count value of the counter 107 is 0 and the count value of the counter 108 is also 0, there is no abnormality in the clock.
[0022]
FIG. 3 shows a signal waveform when a duty ratio abnormality occurs in the clock to be inspected. Reference numeral 301 denotes a signal waveform of the clock to be inspected, and there is a duty ratio abnormality in the second cycle and the fourth cycle. Reference numerals 302 and 303 denote outputs of the quarter cycle delay circuit 102 and the 3/4 cycle delay circuit 103, respectively. Reference numeral 304 denotes an output signal waveform of the flip-flop 104, and reference numeral 305 denotes an output signal of the NOT circuit 106. Reference numeral 306 denotes an output of the flip-flop 105. Reference numeral 307 denotes a count value of the counter 107, and reference numeral 308 denotes a count value of the counter 108. In this case, the count value of the counter 107 is 1, while the count value of the counter 108 is 1, so that it can be seen that there is an abnormality in the clock.
[0023]
FIG. 4 shows signal waveforms when the clock to be inspected has a discontinuous periodic abnormality. Reference numeral 401 denotes a signal waveform of the clock to be inspected, and there are discontinuous periodic abnormalities in the second cycle and the fourth cycle. Reference numerals 402 and 403 denote outputs of the quarter cycle delay circuit 102 and the 3/4 cycle delay circuit 103, respectively. 404 is an output signal waveform of the flip-flop 104, and 405 is an output signal of the NOT circuit 106. Reference numeral 406 denotes an output of the flip-flop 105. Reference numeral 407 denotes a counter 107 count, and reference numeral 408 denotes a counter 108 count. In this case, since the count of the counter 107 is 1 and the count of the counter 108 is 2, it can be seen that there is an abnormality in the clock.
[0024]
In the first embodiment, by using the counters 107 and 108, when a duty ratio abnormality occurs as shown in FIG. 3 or when a cycle abnormality occurs as shown in FIG. 4, FIG. 3 (duty ratio abnormality) In this case, the count values of the two counters are added with the same value, but in the case of FIG. 4 (period abnormality), the count values of the two counters are added with different values. By detecting and comparing, the type of abnormality can be selected. As a result, it is possible to take measures against the clock abnormality of the clock generation circuit and to analyze the abnormality.
[0025]
Further, by providing a plurality of sets of delay means, clock state storage means and counter means, each of which has a different delay time, and a counter comparison means for comparing the outputs of the counter means, It is possible to detect abnormalities.
[0026]
【The invention's effect】
As described in the embodiment, according to the present invention, the clock to be tested is delayed by a predetermined time, and the state of the clock to be tested is stored in a flip-flop that uses the delayed signal as a clock input. Without preparing a simple clock, it is possible to detect the state of the clock to be inspected after a certain time, and to detect a clock duty ratio abnormality or a discontinuous periodic abnormality.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram of an example of a system configuration diagram of a clock abnormality detection circuit according to a first embodiment;
FIG. 2 is an explanatory diagram showing an example of a signal waveform in the circuit when the duty ratio of the clock to be inspected according to the first embodiment is 1: 1.
FIG. 3 is an explanatory diagram showing an example of a signal waveform in the circuit when the duty ratio of the clock to be inspected is 7: 1 according to the first embodiment.
FIG. 4 is an explanatory diagram illustrating an example of a signal waveform in the circuit when the duty ratio of the clock to be inspected according to the first embodiment is 1: 7.
FIG. 5 is an explanatory diagram of a conventional system configuration example.
[Explanation of symbols]
101 Clock to be tested 102 1/4 cycle delay circuit 103 3/4 cycle delay circuit 104, 105 flip-flop circuit 106 NOT circuit 107, 108 counter

Claims (3)

被検査クロックを一定時間分遅延させる遅延手段と、該遅延手段の出力信号を基に前記被検査クロックの前記一定時間経過後の状態を格納するクロック状態格納手段と、該クロック状態格納手段の出力と前記検査クロックの前記一定時間経過後における出力期待値とを比較判定して前記被検査クロックの異常を検出する判定手段とを備え、
前記判定手段が、前記クロック状態格納手段からの出力を入力とし、かつ、遅延手段の出力信号を基に加算を行って被検査クロック異常の発生を計数するカウンタ手段を有しており、
遅延させる一定時間がそれぞれ相違する前記遅延手段と前記クロック状態格納手段と前記カウンタ手段とからなる組を複数備え、かつ、複数の前記カウンタ手段の出力を比較するカウンタ比較手段を備えることを特徴とするクロック異常検出回路。
Delay means for delaying the clock to be tested by a predetermined time, clock state storage means for storing the state of the clock to be tested after the lapse of the predetermined time based on an output signal of the delay means, and output of the clock state storage means wherein a determination means for comparing determines the output expectation value after the lapse of the predetermined time of the inspection clock for detecting an abnormality of the inspection clock and,
The determination means has a counter means for taking the output from the clock state storage means as an input and counting the occurrence of the inspected clock abnormality by performing addition based on the output signal of the delay means;
A plurality of sets of the delay means, the clock state storage means, and the counter means, each of which has a different delay time, and a counter comparison means for comparing the outputs of the counter means. An abnormal clock detection circuit.
前記遅延手段の遅延時間を自由に設定できるプログラマブル遅延手段を持つ請求項1記載のクロック異常検出回路。  2. The clock abnormality detection circuit according to claim 1, further comprising programmable delay means capable of freely setting a delay time of the delay means. 被検査クロックを一定時間分遅延させる遅延ステップと、遅延した信号を基に前記被検査クロックの前記一定時間経過後の状態を格納する格納ステップと、格納ステップで格納した状態の出力と前記被検査クロックの前記一定時間経過後における出力期待値とを比較判定して前記被検査クロックの異常を検出する判定ステップとを有し、
前記判定ステップが、前記格納ステップの出力を入力とし、かつ、遅延した信号を基に加算を行って被検査クロック異常の発生を計数する計数ステップを有しており、
遅延させる一定時間がそれぞれ相違する遅延ステップと前記格納ステップと前記計数ステップとからなる組を複数備え、かつ、複数の前記計数ステップで計数した結果の出力を比較するカウンタ比較ステップを備えることを特徴とするクロック異常検出方法。
A delay step for delaying the clock to be inspected by a predetermined time; a storage step for storing the state of the clock to be inspected after the lapse of the predetermined time based on the delayed signal; an output of the state stored in the storing step; A determination step of comparing and determining an expected output value of the clock after the predetermined time has elapsed and detecting an abnormality of the clock to be inspected,
The determination step includes a counting step of taking the output of the storing step as an input and counting the occurrence of the inspected clock abnormality by performing addition based on the delayed signal;
A plurality of sets each including a delay step, a storage step, and a counting step each having a different fixed time to be delayed are provided, and a counter comparing step that compares outputs of the results counted in the plurality of counting steps is provided. A clock error detection method.
JP2003044112A 2003-02-21 2003-02-21 Clock abnormality detection circuit and detection method thereof Expired - Fee Related JP4217500B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003044112A JP4217500B2 (en) 2003-02-21 2003-02-21 Clock abnormality detection circuit and detection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003044112A JP4217500B2 (en) 2003-02-21 2003-02-21 Clock abnormality detection circuit and detection method thereof

Publications (2)

Publication Number Publication Date
JP2004252834A JP2004252834A (en) 2004-09-09
JP4217500B2 true JP4217500B2 (en) 2009-02-04

Family

ID=33026912

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003044112A Expired - Fee Related JP4217500B2 (en) 2003-02-21 2003-02-21 Clock abnormality detection circuit and detection method thereof

Country Status (1)

Country Link
JP (1) JP4217500B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010066019A (en) * 2008-09-08 2010-03-25 Nec Electronics Corp Test circuit and test method
JP6987547B2 (en) * 2017-06-27 2022-01-05 ラピスセミコンダクタ株式会社 Duty ratio detection circuit and duty ratio detection method

Also Published As

Publication number Publication date
JP2004252834A (en) 2004-09-09

Similar Documents

Publication Publication Date Title
US11355457B2 (en) Fully digital glitch detection mechanism with process and temperature compensation
JP5016060B2 (en) A device for on-chip phase error measurement to determine jitter in a phase-locked loop.
KR102410014B1 (en) Clock jitter measurement circuit and semiconductor device including the same
US20100090739A1 (en) Method and Apparatus for Removing Narrow Pulses from a Clock Waveform
US7479908B2 (en) Semiconductor device including A/D converter
JP2012516629A5 (en)
JP3597782B2 (en) Clock signal correction circuit and semiconductor device
US8786347B1 (en) Delay circuits for simulating delays based on a single cycle of a clock signal
US10613141B2 (en) Method of measuring clock jitter, clock jitter measurement circuit, and semiconductor devices including the same
US20110222644A1 (en) Clock frequency divider circuit and clock frequency division method
JP2653250B2 (en) Unstable state avoidance circuit and method of avoiding unstable state
JP4217500B2 (en) Clock abnormality detection circuit and detection method thereof
US20110299651A1 (en) Shift frequency demultiplier with automatic reset function
Chen et al. Rapid PLL monitoring by a novel min-MAX time-to-digital converter
US11099600B2 (en) Semiconductor integrated circuit and method for controlling semiconductor integrated circuit
JP2013197692A (en) Pll clock generation circuit
JP5608023B2 (en) Semiconductor integrated circuit and noise tolerance test method
JP2011199743A (en) Clock abnormality detection circuit
US11287471B1 (en) Electronic circuit for online monitoring a clock signal
JP5171379B2 (en) Frequency abnormality detection circuit
US8319518B2 (en) Detecting transitions in circuits during periodic detection windows
CN112152596B (en) Circuit and method for generating pulse output
JP2001339376A (en) Synchronization circuit
JP5811281B2 (en) Semiconductor integrated circuit and pulse generation method
Lee et al. Self-Sufficient Clock Jitter Measurement Methodology Using Dithering-Based Calibration

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080318

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080729

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080922

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081014

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081110

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20111114

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111114

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121114

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121114

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131114

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees