JPH10116213A - Oscillator monitoring circuit - Google Patents

Oscillator monitoring circuit

Info

Publication number
JPH10116213A
JPH10116213A JP8269555A JP26955596A JPH10116213A JP H10116213 A JPH10116213 A JP H10116213A JP 8269555 A JP8269555 A JP 8269555A JP 26955596 A JP26955596 A JP 26955596A JP H10116213 A JPH10116213 A JP H10116213A
Authority
JP
Japan
Prior art keywords
clock pulse
pulse signal
signal
clock
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.)
Withdrawn
Application number
JP8269555A
Other languages
Japanese (ja)
Inventor
Hiroshi Tabata
宏 田畑
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 Engineering Ltd
Original Assignee
NEC Engineering 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 Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP8269555A priority Critical patent/JPH10116213A/en
Publication of JPH10116213A publication Critical patent/JPH10116213A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain an oscillator monitoring circuit which can cope with not only stop of a clock pulse signal, but also abnormality of pulse cycles. SOLUTION: An inputted clock pulse signal 27 is branched in two, and one part is inputted to a clock pulse stop detecting circuit 4, which detects stop of the clock pulse 27 and outputs a clock pulse stop detection signal 9 to an OR gate 5. The other is inputted to a clock pulse cycle abnormality detecting circuit 6, which detects cycle abnormality of the clock pulse signal 27 and outputs a clock pulse cycle abnormality detection signal 11 to the OR gate 5. The OR gate 5 which has inputted the clock pulse stop detection signal 9 and clock pulse cycle abnormality detection signal 11 ORs the inputted signals and outputs a clock pulse abnormality detection signal 28 to a control part.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は発振器監視回路に関
し、特にコンピュータシステムのシステムクロック生成
用発振器監視回路に関する。
The present invention relates to an oscillator monitoring circuit, and more particularly to an oscillator monitoring circuit for generating a system clock of a computer system.

【0002】[0002]

【従来の技術】一般にコンピュータシステムのCPU
は、発振器から出力されるシステムクロックパルス信号
を基に、演算処理、制御処理等を行っている。従って、
クロックパルス信号すなわち発振器に異常が生じたとき
は、コンピュータシステムに重大な影響がある。そこ
で、発振器すなわちシステムクロックパルス信号の監視
は、コンピュータシステムの自己診断機能の中でも特に
重要視される。
2. Description of the Related Art Generally, a CPU of a computer system
Performs arithmetic processing, control processing, and the like based on a system clock pulse signal output from an oscillator. Therefore,
When an abnormality occurs in the clock pulse signal, that is, the oscillator, there is a serious effect on the computer system. Therefore, monitoring of the oscillator, that is, the system clock pulse signal, is particularly important in the self-diagnosis function of the computer system.

【0003】図2に示すように、コンピュータシステム
はクロックパルス信号27を発生する発振器1、CPU
を含むコンピュータシステムの主体をなす制御部2、発
振器1の動作を監視し、制御部2にクロックパルス異常
検出信号28を送出する発振器監視回路3から構成さ
れ、発振器1から出力されるクロックパルス信号27
は、制御部2と発振器監視回路3に入力される。
As shown in FIG. 2, a computer system comprises an oscillator 1 for generating a clock pulse signal 27, a CPU
A clock pulse signal output from the oscillator 1 which is composed of an oscillator monitoring circuit 3 which monitors the operation of the oscillator 1 and sends a clock pulse abnormality detection signal 28 to the control unit 2 27
Is input to the control unit 2 and the oscillator monitoring circuit 3.

【0004】制御部2においては、クロックパルス信号
27を基に、CPUが演算処理、各種入出力処理等を実
行する。発振器監視回路3は、供給されるクロックパル
ス信号27を監視し、異常が発生したときはそれを検出
して、クロックパルス異常検出信号28として制御部2
に警報する。制御部1はクロックパルス異常検出信号2
8を受けると、例えば直ちにすべての処理を停止すると
共に、例えばモータ等をすべて停止するなど暴走等の危
険のある端末の危険を防止し、例えば外部に異常を警報
する。
In the control unit 2, a CPU executes arithmetic processing, various input / output processing, and the like based on the clock pulse signal 27. The oscillator monitoring circuit 3 monitors the supplied clock pulse signal 27, detects an abnormality when it occurs, and generates a clock pulse abnormality detection signal 28 as the control unit 2.
Alert. The control unit 1 generates a clock pulse abnormality detection signal 2
Upon receipt of the command 8, all the processes are immediately stopped, for example, and all the motors and the like are stopped.

【0005】クロックパルス信号27の異常、すなわち
発振器1の異常は、一つはクロックパルス信号27の停
止であり、もう一つはクロックパルス信号の周期(周波
数)異常(変化)である。
The abnormality of the clock pulse signal 27, that is, the abnormality of the oscillator 1 is one of the stop of the clock pulse signal 27 and the other is an abnormality (change) of the cycle (frequency) of the clock pulse signal.

【0006】特開昭60−100235号公報には、ク
ロックパルス信号の停止を検出する回路の一例が記載さ
れている。この特開昭60−100235号公報に記載
されたクロックパルス(信号)停止検出回路の例を図6
に示す。図6において、クロックパルス停止検出回路4
は、クロックパルス信号27の位相を反転するインバー
タ25、充放電回路を構成するプルアップ抵抗器22−
1,2、充電ダイオード19−1,2、放電抵抗器20
−1,2、キャパシタ21−1,2、クランプダイオー
ド23−1,2、アイソレーション抵抗器24−1,
2、及びNORゲート15によって構成される。
Japanese Patent Application Laid-Open No. 60-100235 discloses an example of a circuit for detecting a stop of a clock pulse signal. FIG. 6 shows an example of a clock pulse (signal) stop detection circuit described in Japanese Patent Application Laid-Open No. 60-100235.
Shown in In FIG. 6, the clock pulse stop detection circuit 4
Is an inverter 25 for inverting the phase of the clock pulse signal 27, a pull-up resistor 22-
1, 2, charging diode 19-1, 1-2, discharge resistor 20
-1,2, capacitors 21-1,2, clamp diodes 23-1,2, isolation resistor 24-1,
2 and a NOR gate 15.

【0007】入力のクロックパルス27は、二つに分割
されて一方はそのまま、他方はインバータ25で位相反
転して用いられる。充放電回路の動作は、クロックパル
ス27のレベルがハイ/ローを繰り返す度に、キャパシ
タ21−1,2の充放電を繰り返させ、もしもキャパシ
タ21−1,2のいずれかが放電したままの状態が続く
とき、NORゲート15が検出してクロックパルス停止
検出信号9を出力する。キャパシタ21−1,2の充電
は、ダイオード19−1,2を通じて行われ、放電は抵
抗器20−1,2を通して行われる。
The input clock pulse 27 is divided into two parts, one of which is used as it is, and the other is used with its phase inverted by an inverter 25. The operation of the charging / discharging circuit is such that each time the level of the clock pulse 27 repeats high / low, the charging / discharging of the capacitors 21-1 and 21-2 is repeated, and if any one of the capacitors 21-1 and 21-2 remains discharged. Continues, the NOR gate 15 detects and outputs the clock pulse stop detection signal 9. The capacitors 21-1 and 21-2 are charged through the diodes 19-1 and 19-1, and the discharge is performed through the resistors 20-1 and 20-2.

【0008】クロックパルス信号27が正常な場合、パ
ルス信号が立ち上がったとき、ダイオード19−1,2
の順方向抵抗値は極めて低いので、キャパシタ21−
1,2の充電はほとんど瞬時に行われるが、パルス信号
が立ち下がったとき、放電は抵抗器20−1,2の抵抗
値と、キャパシタ21−1,2の容量値とで定まる時定
数で行われる。
If the clock pulse signal 27 is normal and the pulse signal rises, the diodes 19-1 and 19-2
Of the capacitor 21-
The charging of the capacitors 1 and 2 is performed almost instantaneously, but when the pulse signal falls, the discharging is performed with a time constant determined by the resistance value of the resistors 20-1 and 20-1 and the capacitance value of the capacitors 21-1 and 21-2. Done.

【0009】従って、放電時定数をクロックパルス信号
27の周波数に対して適当に長く選べば、キャパシタ2
1−1及び2の充電電位はそれぞれ常にハイレベル域に
保たれて、NORゲート26の出力であるクロックパル
ス停止検出信号9は発生しない。
Therefore, if the discharge time constant is selected to be appropriately long with respect to the frequency of the clock pulse signal 27, the capacitor 2
The charge potentials of 1-1 and 2 are always kept in the high level range, and the clock pulse stop detection signal 9 output from the NOR gate 26 is not generated.

【0010】クロックパルス信号27が停止した場合、
例えばクロックパルス信号27がローレベルのときに停
止したとすると、キャパシタ21−2の充電電位はハイ
のままだが、キャパシタ21−1は放電し続け、その充
電電位がローに変わる時点以降、クロックパルス停止検
出信号9が出力される。
When the clock pulse signal 27 stops,
For example, if the clock pulse signal 27 stops when the clock pulse signal 27 is at the low level, the charge potential of the capacitor 21-2 remains high, but the capacitor 21-1 continues to be discharged. A stop detection signal 9 is output.

【0011】同様に、例えばクロックパルス信号27が
ハイレベルのときに停止したとすると、キャパシタ21
−1の充電電位はハイのままだが、キャパシタ21−2
は放電し続け、その充電電位がローに変わる時点以降、
クロックパルス停止検出信号9が出力される。
Similarly, if the operation is stopped when the clock pulse signal 27 is at a high level, for example,
-1 remains high, but the capacitor 21-2
Continues to discharge, and after its charge potential goes low,
A clock pulse stop detection signal 9 is output.

【0012】[0012]

【発明が解決しようとする課題】図6に示す特開昭60
−100235号公報記載の発振器監視回路の場合、ク
ロックパルス信号が停止するときには対応できるが、ク
ロックパルス信号のパルス周期が異常になったときには
対応できない問題が残る。
SUMMARY OF THE INVENTION FIG.
In the case of the oscillator monitoring circuit described in Japanese Patent Application Laid-Open No. 100235/1995, it is possible to cope when the clock pulse signal stops, but there remains a problem that it cannot cope when the pulse period of the clock pulse signal becomes abnormal.

【0013】本発明の目的は、クロックパルス信号が停
止した場合ばかりでなく、パルス周期が異常になった場
合にも対応できる発振器監視回路を提供することであ
る。
An object of the present invention is to provide an oscillator monitoring circuit which can cope not only when the clock pulse signal stops but also when the pulse cycle becomes abnormal.

【0014】[0014]

【課題を解決するための手段】本発明によるクロックパ
ルス信号を発生する発振器の発振器監視回路は、前記ク
ロックパルス信号の停止を検出するクロック停止検出手
段と、前記クロックパルス信号の周期異常を検出するク
ロック周期異常検出手段とを含むことを特徴とする。
According to the present invention, an oscillator monitoring circuit for an oscillator for generating a clock pulse signal includes a clock stop detecting means for detecting a stop of the clock pulse signal, and a period abnormality of the clock pulse signal. And a clock cycle abnormality detecting means.

【0015】本発明の作用は次の通りである。クロック
パルス停止検出回路と並列に、クロックパルス周期異常
検出回路を設ける。
The operation of the present invention is as follows. A clock pulse period abnormality detection circuit is provided in parallel with the clock pulse stop detection circuit.

【0016】[0016]

【発明の実施の形態】以下に、本発明の実施例について
図面を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0017】図1は本発明によるの実施例の構成を示す
ブロック図である。図1において、発振器監視回路(図
2に示すコンピュータシステムにおいては、同図の発振
器監視回路3に対応する)3は、クロックパルス信号2
7の停止を検出するクロックパルス停止検出回路4、同
じくクロックパルス信号27のクロック周期の異常を検
出するクロックパルス周期異常検出回路6、クロックパ
ルス停止検出回路4の出力9と、クロックパルス周期異
常検出回路6の出力11との論理和をとるORゲート5
から構成される。
FIG. 1 is a block diagram showing the configuration of an embodiment according to the present invention. In FIG. 1, an oscillator monitoring circuit (corresponding to the oscillator monitoring circuit 3 in FIG. 2 in the computer system shown in FIG. 2) includes a clock pulse signal 2
7, a clock pulse stop detection circuit 4 for detecting a stop of the clock pulse signal 27, a clock pulse cycle detection circuit 6 for detecting an abnormality in the clock cycle of the clock pulse signal 27, an output 9 of the clock pulse stop detection circuit 4, and a clock pulse cycle detection OR gate 5 for ORing with output 11 of circuit 6
Consists of

【0018】本発明の実施例の動作は、入力されたクロ
ックパルス信号27は二つに分岐され、一つはクロック
パルス停止検出回路4に入力され、クロックパルス信号
27の停止を検出して、クロックパルス停止検出信号9
をORゲート5に出力する。他方はクロックパルス周期
異常検出回路6に入力され、クロックパルス信号27の
周期異常を検出し、クロックパルス周期異常検出信号1
1をORゲート5に出力する。クロックパルス停止検出
信号9と、クロックパルス周期異常検出信号11を入力
されたORゲート5は、入力された信号の論理和をとっ
て、クロックパルス異常検出信号28として、制御部2
へ出力する。
The operation of the embodiment of the present invention is as follows. The input clock pulse signal 27 is branched into two, one is input to the clock pulse stop detection circuit 4, and the stop of the clock pulse signal 27 is detected. Clock pulse stop detection signal 9
Is output to the OR gate 5. The other is input to the clock pulse period abnormality detection circuit 6, which detects the period abnormality of the clock pulse signal 27 and outputs the clock pulse period abnormality detection signal 1
1 is output to the OR gate 5. The OR gate 5 to which the clock pulse stop detection signal 9 and the clock pulse period abnormality detection signal 11 have been input takes the logical sum of the input signals and generates a clock pulse abnormality detection signal 28 as the control unit 2.
Output to

【0019】次に本発明のクロックパルス周期異常検出
回路6の詳細実施例を、図3にブロック図の形で示す。
図3において、クロックパルス周期異常検出回路6は、
入力されたクロックパルス信号27周波数を電圧に変換
するF(Frequency;周波数)/V(Voltage;電圧)変
換部7、基準電圧13,14を発生する基準電圧生成部
10−1,2、F/V変換部7の出力12と基準電圧1
3,14とを比較する比較部8−1,2、比較部8−
1,2の出力16,17の論理和をとるORゲート18
で構成され、発振器1からのクロックパルス信号27
は、F/V変換部7に入力される。F/V変換部7は入
力されるクロックパルス信号27の周期(周波数)に対
応して、出力電圧レベルが変化するF/V変換出力信号
12を出力する。
Next, a detailed embodiment of the clock pulse period abnormality detecting circuit 6 of the present invention is shown in FIG. 3 in the form of a block diagram.
In FIG. 3, the clock pulse cycle abnormality detection circuit 6
An F (Frequency) / V (Voltage) converter 7 for converting the frequency of the inputted clock pulse signal 27 into a voltage, reference voltage generators 10-1 and 10-2 for generating reference voltages 13 and 14, and F / Output 12 of V converter 7 and reference voltage 1
Comparing sections 8-1 and 8-2, comparing section 3-14, and comparing section 8-
OR gate 18 for taking the logical sum of outputs 16 and 17 of 1 and 2
And the clock pulse signal 27 from the oscillator 1
Is input to the F / V converter 7. The F / V converter 7 outputs an F / V conversion output signal 12 whose output voltage level changes in accordance with the cycle (frequency) of the input clock pulse signal 27.

【0020】ここで、クロックパルス信号27が正常な
周期を持っている場合、F/V変換出力信号12が例え
ばV1なる電圧信号を出力するとし、さらに例えばクロ
ックパルス信号27の周期が短くなった(周波数が高く
なった)時、F/V変換出力信号12の電圧レベルが上
昇し、クロックパルス信号27の周期が長くなった(周
波数が低くなった)時、F/V変換出力信号12の電圧
レベルが下降するとする。
Here, when the clock pulse signal 27 has a normal cycle, it is assumed that the F / V conversion output signal 12 outputs a voltage signal of, for example, V1. For example, the cycle of the clock pulse signal 27 is shortened. When the frequency increases, the voltage level of the F / V conversion output signal 12 increases, and when the period of the clock pulse signal 27 increases (the frequency decreases), the F / V conversion output signal 12 Suppose the voltage level drops.

【0021】今、クロックパルス信号27の周期が短く
なって、制御部2の制御処理に支障を来すようになった
ときのF/V変換出力信号12の電圧レベルを、V1+
ΔVとする。また、クロックパルス信号27の周期が長
くなって、制御部2の制御処理に支障を来すようになっ
たときのF/V変換出力信号12の電圧レベルを、V1
−ΔVとする。
Now, when the period of the clock pulse signal 27 is shortened and the control process of the control unit 2 is hindered, the voltage level of the F / V conversion output signal 12 is changed to V1 +
ΔV. The voltage level of the F / V conversion output signal 12 when the period of the clock pulse signal 27 becomes longer and hinders the control processing of the controller 2 is changed to V1
−ΔV.

【0022】次に、クロックパルス信号27の周期が短
くなった場合のクロックパルス周期異常検出回路6の動
作を、図4のタイミングチャートで説明する。
Next, the operation of the clock pulse cycle abnormality detection circuit 6 when the cycle of the clock pulse signal 27 is shortened will be described with reference to the timing chart of FIG.

【0023】まず、クロックパルス信号27の周期が短
くなって、F/V変換出力信号12の電圧レベルが上昇
してきたとき、V1+ΔVという固定(基準)電圧を出
力するように設定された基準電圧生成部10−1の基準
電圧13と、F/V変換出力信号12とを比較部8−1
によって電圧比較し、F/V変換出力信号12が基準電
圧13を越えた場合、比較部8−1は出力信号16をO
Rゲート18に出力する。
First, when the cycle of the clock pulse signal 27 is shortened and the voltage level of the F / V conversion output signal 12 is rising, a reference voltage generation set to output a fixed (reference) voltage of V1 + ΔV. The reference voltage 13 of the unit 10-1 and the F / V conversion output signal 12 are compared with the comparison unit 8-1.
When the F / V conversion output signal 12 exceeds the reference voltage 13, the comparison unit 8-1 outputs the output signal 16
Output to the R gate 18.

【0024】さらに、クロックパルス信号27の周期が
長くなった場合のクロックパルス周期異常検出回路6の
動作を、図5のタイミングチャートで説明する。
The operation of the clock pulse cycle abnormality detecting circuit 6 when the cycle of the clock pulse signal 27 becomes longer will be described with reference to the timing chart of FIG.

【0025】まず、クロックパルス信号27の周期が長
くなって、F/V変換出力信号12の電圧レベルが下降
してきたとき、V1−ΔVという固定(基準)電圧を出
力するように設定された基準電圧生成部10−2の基準
電圧14と、F/V変換出力信号12とを比較部8−2
によって電圧比較し、F/V変換出力信号12が基準電
圧14を越えた場合、比較部8−2は出力信号17をO
Rゲート18に出力する。
First, when the cycle of the clock pulse signal 27 becomes longer and the voltage level of the F / V conversion output signal 12 falls, a reference set to output a fixed (reference) voltage of V1-ΔV. The comparison unit 8-2 compares the reference voltage 14 of the voltage generation unit 10-2 with the F / V conversion output signal 12.
When the F / V conversion output signal 12 exceeds the reference voltage 14, the comparator 8-2 outputs the output signal 17
Output to the R gate 18.

【0026】ORゲート18では、比較部8−1,2の
出力信号16及び17を論理和演算し、その結果をクロ
ックパルス周期異常検出信号11としてORゲート5に
出力する。
The OR gate 18 performs a logical OR operation on the output signals 16 and 17 of the comparison units 8-1 and 2, and outputs the result to the OR gate 5 as the clock pulse period abnormality detection signal 11.

【0027】クロックパルス停止検出回路4としては、
例えば図6に示す回路を使用することができる。図6に
おいて、クロックパルス停止検出回路4は、クロックパ
ルス信号27の位相を反転するインバータ25、充放電
回路を構成するプルアップ抵抗器22−1,2、充電ダ
イオード19−1,2、放電抵抗器20−1,2、キャ
パシタ21−1,2、クランプダイオード23−1,
2、アイソレーション抵抗器24−1,2、及びNOR
ゲート15によって構成される。
The clock pulse stop detection circuit 4 includes:
For example, the circuit shown in FIG. 6 can be used. 6, the clock pulse stop detection circuit 4 includes an inverter 25 for inverting the phase of the clock pulse signal 27, pull-up resistors 22-1 and 22 constituting a charge / discharge circuit, charging diodes 19-1 and 2, a discharge resistor. 20-1 and 20-2, capacitors 21-1 and 21 and clamp diodes 23-1 and 23-1
2. Isolation resistors 24-1 and 24-2 and NOR
It is constituted by a gate 15.

【0028】入力のクロックパルス27は、二つに分割
されて一方はそのまま、他方はインバータ25で位相反
転して用いられる。充放電回路の動作は、クロックパル
ス27のレベルがハイ/ローを繰り返す度に、キャパシ
タ21−1,2の充放電を繰り返させ、もしもキャパシ
タ21−1,2のいずれかが放電したままの状態が続く
とき、NORゲート15が検出してクロックパルス停止
検出信号9を出力する。キャパシタ21−1,2の充電
は、ダイオード19−1,2を通じて行われ、放電は抵
抗器20−1,2を通して行われる。
The input clock pulse 27 is divided into two parts, one of which is used as it is, and the other is used with its phase inverted by an inverter 25. The operation of the charging / discharging circuit is such that each time the level of the clock pulse 27 repeats high / low, the charging / discharging of the capacitors 21-1 and 21-2 is repeated, and if any one of the capacitors 21-1 and 21-2 remains discharged. Continues, the NOR gate 15 detects and outputs the clock pulse stop detection signal 9. The capacitors 21-1 and 21-2 are charged through the diodes 19-1 and 19-1, and the discharge is performed through the resistors 20-1 and 20-2.

【0029】クロックパルス信号27が正常な場合、パ
ルス信号が立ち上がったとき、ダイオード19−1,2
の順方向抵抗値は極めて低いので、キャパシタ21−
1,2の充電はほとんど瞬時に行われるが、パルス信号
が立ち下がったとき、放電は抵抗器20−1,2の抵抗
値と、キャパシタ21−1,2の容量値とで定まる時定
数で行われる。
When the clock pulse signal 27 is normal and the pulse signal rises, the diodes 19-1 and 19-2 are used.
Of the capacitor 21-
The charging of the capacitors 1 and 2 is performed almost instantaneously, but when the pulse signal falls, the discharging is performed with a time constant determined by the resistance value of the resistors 20-1 and 20-1 and the capacitance value of the capacitors 21-1 and 21-2. Done.

【0030】従って、放電時定数をクロックパルス信号
27の周波数に対して適当に長く選べば、キャパシタ2
1−1及び2の充電電位はそれぞれ常にハイレベル域に
保たれて、NORゲート26の出力であるクロックパル
ス停止検出信号9は発生しない。
Therefore, if the discharge time constant is selected to be appropriately long with respect to the frequency of the clock pulse signal 27, the capacitor 2
The charge potentials of 1-1 and 2 are always kept in the high level range, and the clock pulse stop detection signal 9 output from the NOR gate 26 is not generated.

【0031】クロックパルス信号27が停止した場合、
例えばクロックパルス信号27がローレベルのときに停
止したとすると、キャパシタ21−2の充電電位はハイ
のままだが、キャパシタ21−1は放電し続け、その充
電電位がローに変わる時点以降、クロックパルス停止検
出信号9が出力される。
When the clock pulse signal 27 stops,
For example, if the clock pulse signal 27 stops when the clock pulse signal 27 is at the low level, the charge potential of the capacitor 21-2 remains high, but the capacitor 21-1 continues to be discharged. A stop detection signal 9 is output.

【0032】同様に、例えばクロックパルス信号27が
ハイレベルのときに停止したとすると、キャパシタ21
−1の充電電位はハイのままだが、キャパシタ21−2
は放電し続け、その充電電位がローに変わる時点以降、
クロックパルス停止検出信号9が出力される。
Similarly, if the operation is stopped when the clock pulse signal 27 is at a high level, for example,
-1 remains high, but the capacitor 21-2
Continues to discharge, and after its charge potential goes low,
A clock pulse stop detection signal 9 is output.

【0033】[0033]

【発明の効果】以上説明したように本発明は、発振器監
視回路に従来のクロックパルス停止検出回路と並列に、
クロックパルス周期異常検出回路を追加することによ
り、発振器から出力されるクロックパルス信号の出力停
止検出、及びクロックパルス信号の周期異常検出が可能
となり、クロックパルス信号の周期を基に制御処理を行
う例えば駆動制御等において、駆動部等の暴走などの危
険を未然に防げる効果がある。
As described above, according to the present invention, an oscillator monitoring circuit is provided in parallel with a conventional clock pulse stop detection circuit.
By adding a clock pulse period abnormality detection circuit, it is possible to detect the output stop of the clock pulse signal output from the oscillator and to detect the period abnormality of the clock pulse signal, and perform control processing based on the period of the clock pulse signal. In drive control and the like, there is an effect that danger such as runaway of the drive unit or the like can be prevented.

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

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

【図2】本発明の関連するコンピュータシステムのブロ
ック図である。
FIG. 2 is a block diagram of a related computer system of the present invention.

【図3】クロックパルス周期異常検出回路のブロック図
である。
FIG. 3 is a block diagram of a clock pulse period abnormality detection circuit.

【図4】クロックパルス周期異常検出回路の動作説明図
である。
FIG. 4 is an explanatory diagram of an operation of a clock pulse cycle abnormality detection circuit.

【図5】クロックパルス周期異常検出回路の動作説明図
である。
FIG. 5 is an explanatory diagram of an operation of the clock pulse period abnormality detection circuit.

【図6】クロックパルス停止検出回路のブロック図であ
る。
FIG. 6 is a block diagram of a clock pulse stop detection circuit.

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

3 発振器監視回路 4 クロックパルス停止検出回路 5 ORゲート 6 クロックパルス周期異常検出回路 9 クロックパルス停止検出信号 11 クロックパルス周期異常検出信号 27 クロックパルス信号 28 クロックパルス異常検出信号 3 Oscillator monitoring circuit 4 Clock pulse stop detection circuit 5 OR gate 6 Clock pulse period abnormality detection circuit 9 Clock pulse stop detection signal 11 Clock pulse period abnormality detection signal 27 Clock pulse signal 28 Clock pulse abnormality detection signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 クロックパルス信号を発生する発振器の
監視回路であって、前記クロックパルス信号の停止を検
出するクロック停止検出手段と、前記クロックパルス信
号の周期異常を検出するクロック周期異常検出手段とを
含むことを特徴とする発振器監視回路。
1. A monitoring circuit for an oscillator for generating a clock pulse signal, comprising: a clock stop detection unit for detecting a stop of the clock pulse signal; and a clock period abnormality detection unit for detecting a period abnormality of the clock pulse signal. An oscillator monitoring circuit, comprising:
【請求項2】 前記クロック周期異常検出手段が、前記
クロックパルス信号の周期をクロック周期変換電圧に変
換する周期/電圧変換手段と、前記クロック周期変換電
圧の上限に対応する第一の基準電圧を発生する手段と、
前記クロック周期変換電圧の下限に対応する第二の基準
電圧を発生する手段と、前記クロック周期変換電圧が前
記第一あるいは第二の基準電圧を超えた場合に前記クロ
ックパルス信号の周期異常であることを検出する電圧比
較手段とを含むことを特徴とする請求項1記載の発振器
監視回路。
2. The clock cycle abnormality detecting means, wherein a cycle / voltage converting means for converting a cycle of the clock pulse signal into a clock cycle converted voltage, and a first reference voltage corresponding to an upper limit of the clock cycle converted voltage. Means to occur,
Means for generating a second reference voltage corresponding to a lower limit of the clock cycle conversion voltage, and a cycle abnormality of the clock pulse signal when the clock cycle conversion voltage exceeds the first or second reference voltage. 2. The oscillator monitoring circuit according to claim 1, further comprising voltage comparison means for detecting the occurrence.
【請求項3】 前記電圧比較手段が、前記クロック周期
変換電圧と前記第一の基準電圧とを電圧比較する第一の
比較手段と、前記クロック周期変換電圧と前記第二の基
準電圧とを電圧比較する第二の比較手段と、前記第一と
第二の比較手段の出力の論理和をとる手段とを含むこと
を特徴とする請求項2記載の発振器監視回路。
3. The voltage comparison means for comparing the clock cycle converted voltage with the first reference voltage, and the voltage comparison means compares the clock cycle converted voltage with the second reference voltage. 3. The oscillator monitoring circuit according to claim 2, further comprising second comparing means for comparing, and means for calculating a logical sum of outputs of said first and second comparing means.
JP8269555A 1996-10-11 1996-10-11 Oscillator monitoring circuit Withdrawn JPH10116213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8269555A JPH10116213A (en) 1996-10-11 1996-10-11 Oscillator monitoring circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8269555A JPH10116213A (en) 1996-10-11 1996-10-11 Oscillator monitoring circuit

Publications (1)

Publication Number Publication Date
JPH10116213A true JPH10116213A (en) 1998-05-06

Family

ID=17474018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8269555A Withdrawn JPH10116213A (en) 1996-10-11 1996-10-11 Oscillator monitoring circuit

Country Status (1)

Country Link
JP (1) JPH10116213A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013175056A (en) * 2012-02-24 2013-09-05 Lapis Semiconductor Co Ltd Oscillation circuit, integrated circuit and abnormality detection method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013175056A (en) * 2012-02-24 2013-09-05 Lapis Semiconductor Co Ltd Oscillation circuit, integrated circuit and abnormality detection method
US9453881B2 (en) 2012-02-24 2016-09-27 Lapis Semiconductor Co., Ltd. Oscillation circuit, integrated circuit, and abnormality detection method

Similar Documents

Publication Publication Date Title
JPH03269268A (en) Diagnostic apparatus of deterioration of capacitor
JPS59109955A (en) Automatic processor restarting circuit
JPH10116213A (en) Oscillator monitoring circuit
JP2581735B2 (en) Power failure detection device
JPH01153969A (en) Abnormality detecting device for repetitive waveform
JP3694256B2 (en) Switching power supply device and control circuit used therefor
JPS62178773A (en) Ignition control device for internal combustion engine
JP2585554B2 (en) Power supply
JPH06169575A (en) Pwm pulse generator power conversion apparatus
JP3282195B2 (en) Phase difference detection circuit of AC power supply
JP2000116186A (en) Ac servomotor controller and phase interruption detecting circuit
JPS6234356Y2 (en)
JP2853342B2 (en) Abnormal oscillation detection circuit
JPH0949859A (en) Power failure detection circuit
JP3794112B2 (en) Pulse power supply and abnormality detection method
JPH01145580A (en) Detecting circuit of abnormal signal
JP2002142465A (en) Semiconductor power converter
JPH0819264A (en) Pwm pulse generator
JP2002354832A (en) Power inverter
JPH0880059A (en) Short-circuit protective circuit for resonance type inverter
JPH0224095B2 (en)
JPH04291610A (en) Reset circuit for microcomputer
JP2503796B2 (en) Charge detection circuit for battery charger
JPH11118519A (en) Resolver digital conversion equipment and conversion method
JPH118538A (en) Repeat signal stop detection circuit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040106