JPH0794942A - Referrence clock signal generating circuit - Google Patents

Referrence clock signal generating circuit

Info

Publication number
JPH0794942A
JPH0794942A JP5224549A JP22454993A JPH0794942A JP H0794942 A JPH0794942 A JP H0794942A JP 5224549 A JP5224549 A JP 5224549A JP 22454993 A JP22454993 A JP 22454993A JP H0794942 A JPH0794942 A JP H0794942A
Authority
JP
Japan
Prior art keywords
signal
circuit
voltage
clock signal
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.)
Withdrawn
Application number
JP5224549A
Other languages
Japanese (ja)
Inventor
Satoru Yamaguchi
悟 山口
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.)
Fujitsu VLSI Ltd
Fujitsu Ltd
Original Assignee
Fujitsu VLSI Ltd
Fujitsu 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 Fujitsu VLSI Ltd, Fujitsu Ltd filed Critical Fujitsu VLSI Ltd
Priority to JP5224549A priority Critical patent/JPH0794942A/en
Publication of JPH0794942A publication Critical patent/JPH0794942A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To provide a clock signal generating circuit capable of preventing the malfunction of a microcontroller to which a clock signal outputted from an oscillation circuit is supplied by outputting an abnormality signal when the clock signal concerned is shifted from required frequency. CONSTITUTION:A reference clock signal CLK is generated by the oscillation circuit 30. A frequency signal in the signal CLK is converted into a voltage signal VL by a conversion circuit 31. At the time of receiving plural reference voltage VR1, VR2 having respectively different values, a voltage level detecting circuit 32 outputs an abnormality detection signal DET in accordance with judgement whether the voltage signal VV outputted from the circuit 31 is included within the range of the different reference voltage values VR1, VR2.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、被制御装置に組み込ま
れるマイクロコントローラ等に、基準クロック信号を供
給する発振回路の異常発振を検出する検出回路に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a detection circuit for detecting abnormal oscillation of an oscillation circuit which supplies a reference clock signal to a microcontroller incorporated in a controlled device.

【0002】近年、エアコン、電子ジャー等の家電製品
から自動車のシステム部品に到るまで、これらの被制御
装置には数多くのマイクロコントローラが組み込まれ、
様々な制御が行われている。
In recent years, a large number of microcontrollers have been incorporated in these controlled devices, ranging from home appliances such as air conditioners and electronic jars to system components of automobiles.
Various controls are performed.

【0003】これらのマイクロコントローラには、内部
回路のタイミングを制御するための発振回路が設けら
れ、この発振回路として水晶発振器、LC発振器、CR
発振器等が使用されている。そして、このようなマイク
ロコントローラでは、発振回路の異常発振による誤動作
を確実に防止することが必要となっている。
These microcontrollers are provided with an oscillation circuit for controlling the timing of internal circuits, and as the oscillation circuit, a crystal oscillator, an LC oscillator, a CR are provided.
An oscillator is used. In such a microcontroller, it is necessary to reliably prevent malfunction due to abnormal oscillation of the oscillation circuit.

【0004】[0004]

【従来の技術】従来、マイクロコントローラに基準クロ
ック信号を供給する発振回路として、水晶振動子を利用
した発振回路が使用されている。前記発振回路の一例を
図6に従って説明する。
2. Description of the Related Art Conventionally, an oscillator circuit using a crystal oscillator has been used as an oscillator circuit for supplying a reference clock signal to a microcontroller. An example of the oscillator circuit will be described with reference to FIG.

【0005】水晶振動子50の両端子にはそれぞれコン
デンサ51の一方の端子が接続されている。前記各コン
デンサ51の他方の端子は、グランドGNDに接続され
ている。また、抵抗52及びインバータ53はこの水晶
振動子50に対し並列に接続されるとともに、同インバ
ータ53の出力端子には、ヒステリシスを有するシュミ
ット型のインバータ54の入力端子が接続されている。
One terminal of a capacitor 51 is connected to both terminals of the crystal unit 50. The other terminal of each capacitor 51 is connected to the ground GND. The resistor 52 and the inverter 53 are connected in parallel to the crystal oscillator 50, and the output terminal of the inverter 53 is connected to the input terminal of a Schmitt type inverter 54 having hysteresis.

【0006】前記水晶振動子50の電気的な等価回路は
基本的にRLCの直列回路であるが、さらに、振動子を
誘電体とする電極間の静電容量が並列に加えられる。前
記水晶振動子50に交流電圧が印加されると、同水晶振
動子50は圧電効果により振動し、発振する。水晶振動
子50の発振出力信号は正弦波であり、シュミット型の
インバータ54により方形波に変換され、基準クロック
信号CLKとしてマイクロコントローラに供給される。
The electrical equivalent circuit of the crystal oscillator 50 is basically an RLC series circuit, but a capacitance between electrodes using the oscillator as a dielectric is further added in parallel. When an alternating voltage is applied to the crystal unit 50, the crystal unit 50 vibrates and oscillates due to the piezoelectric effect. The oscillation output signal of the crystal unit 50 is a sine wave, is converted into a square wave by the Schmidt type inverter 54, and is supplied to the microcontroller as the reference clock signal CLK.

【0007】前記発振回路において、インバータ53,
54はマイクロコントローラに内蔵され、残りは外付素
子として構成されている。
In the oscillation circuit, the inverter 53,
Reference numeral 54 is built in the microcontroller, and the rest are configured as external elements.

【0008】[0008]

【発明が解決しようとする課題】ところが、上記発振回
路が使用されるエアコン、電子ジャー等の家電製品にお
いて、発振回路の外付素子の端子に結露が生じることが
ある。また、自動車のシステム部品においても、結露あ
るいは金属片等の異物が外付素子の端子に付着すること
がある。
However, in home electric appliances such as air conditioners and electronic jars in which the above oscillation circuit is used, dew condensation may occur on the terminals of the external elements of the oscillation circuit. Also, in automobile system parts, dew condensation or foreign matter such as metal pieces may adhere to the terminals of the external element.

【0009】この結露により、水晶振動子50の静電容
量が変化すると、発振周波数が所望の周波数からはずれ
てしまう。また、水晶振動子50の両端子間に金属片が
付着されると、同水晶振動子50の両端子が短絡された
状態となり、発振が停止してしまうことがある。
When the capacitance of the crystal unit 50 changes due to this dew condensation, the oscillation frequency deviates from the desired frequency. Further, if a metal piece is attached between both terminals of the crystal unit 50, both terminals of the crystal unit 50 may be short-circuited and oscillation may stop.

【0010】従って、発振回路の発振周波数が所望の周
波数からはずれたり、発振が停止すると、マイクロコン
トローラの誤動作、動作不良を生じるという問題があ
る。本発明の目的は、発振回路から出力されるクロック
信号が所望の周波数からはずれた場合には、異常信号を
出力し、同クロック信号が供給されるマイクロコントロ
ーラの誤動作を未然に防止し得るクロック信号生成回路
を提供することにある。
Therefore, if the oscillation frequency of the oscillator circuit deviates from the desired frequency or the oscillation stops, there is a problem that the microcontroller malfunctions or malfunctions. It is an object of the present invention to output an abnormal signal when a clock signal output from an oscillator circuit deviates from a desired frequency and to prevent malfunction of a microcontroller to which the clock signal is supplied. It is to provide a generation circuit.

【0011】[0011]

【課題を解決するための手段】図1は本発明の原理説明
図である。すなわち、基準クロック信号CLKが発振回
路30により生成される。前記基準クロック信号CLK
の周波数信号は変換回路31により電圧信号に変換され
る。電圧レベル検出回路32は複数の異なる値の基準電
圧VR1,VR2を受けて、前記変換回路31から出力
される電圧信号VL が前記複数の基準電圧VR1,VR
2の範囲内にあるか否かにより、異常検出信号DETが
出力される。
FIG. 1 is a diagram for explaining the principle of the present invention. That is, the reference clock signal CLK is generated by the oscillation circuit 30. The reference clock signal CLK
The frequency signal of is converted into a voltage signal by the conversion circuit 31. The voltage level detection circuit 32 receives the plurality of reference voltages VR1 and VR2 having different values, and the voltage signal VL output from the conversion circuit 31 receives the plurality of reference voltages VR1 and VR.
The abnormality detection signal DET is output depending on whether it is within the range of 2.

【0012】図2に示すように、変換回路はローパスフ
ィルターを有するチャージポンプ6〜12からなる。ま
た、電圧レベル検出回路は、基準電圧VR1,VR2を
発生させるストリング抵抗15〜17と、同基準電圧V
R1,VR2と変換回路から出力される電圧信号VL
を比較するコンパレータ13,14とから構成される。
As shown in FIG. 2, the conversion circuit comprises charge pumps 6 to 12 having low pass filters. In addition, the voltage level detection circuit includes the string resistors 15 to 17 that generate the reference voltages VR1 and VR2, and the reference voltage V1.
R1 and VR2 are composed of comparators 13 and 14 for comparing the voltage signal V L output from the conversion circuit.

【0013】[0013]

【作用】基準クロック信号CLKが発振回路30により
生成される。前記基準クロック信号CLKの周波数信号
は変換回路31により電圧信号に変換される。変換回路
31から出力される電圧信号VL と異なる値の基準電圧
VR1,VR2が電圧レベル検出回路32により比較さ
れ、その比較結果に基づいて異常検出信号DETが出力
される。
The reference clock signal CLK is generated by the oscillator circuit 30. The frequency signal of the reference clock signal CLK is converted into a voltage signal by the conversion circuit 31. The reference signals VR1 and VR2 having different values from the voltage signal V L output from the conversion circuit 31 are compared by the voltage level detection circuit 32, and the abnormality detection signal DET is output based on the comparison result.

【0014】基準クロック信号CLKの周波数信号は、
ローパスフィルターとしての機能を備えたチャージポン
プ6〜12により電圧信号VL に変換される。さらに、
コンパレータ13,14により、ストリング抵抗15〜
17で生成される基準電圧VR1,VR2と、前記電圧
信号VL とが比較される。
The frequency signal of the reference clock signal CLK is
It is converted into a voltage signal V L by the charge pumps 6 to 12 having a function as a low pass filter. further,
By the comparators 13 and 14, the string resistance 15 to
The reference voltages VR1 and VR2 generated at 17 are compared with the voltage signal V L.

【0015】[0015]

【実施例】以下、この発明を具体化した実施例を図2〜
図5に従って説明する。図2に示すように、水晶振動子
1の両端にはそれぞれコンデンサ2の一方の端子が接続
されている。前記各コンデンサ2の他方の端子は、グラ
ンドGNDに接続されている。また、抵抗3及びインバ
ータ4はこの水晶振動子1に対し並列に接続されるとと
もに、同インバータ4の出力端子には、ヒステリシスを
有するシュミット型のインバータ5の入力端子が接続さ
れている。そして、インバータ5の出力端子から基準ク
ロック信号CLKが出力される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments embodying the present invention will now be described with reference to FIGS.
It will be described with reference to FIG. As shown in FIG. 2, one terminal of the capacitor 2 is connected to each end of the crystal unit 1. The other terminal of each capacitor 2 is connected to the ground GND. The resistor 3 and the inverter 4 are connected in parallel to the crystal unit 1, and the output terminal of the inverter 4 is connected to the input terminal of a Schmitt type inverter 5 having hysteresis. Then, the reference clock signal CLK is output from the output terminal of the inverter 5.

【0016】前記インバータ5の出力端子にはNチャネ
ルMOSトランジスタ6のドレインが接続されている。
前記トランジスタ6のドレインはゲートに接続され、通
常のダイオードとして機能している。前記トランジスタ
6のソースはローパスフィルターに接続されている。こ
のローパスフィルターはトランジスタ6のソースに接続
された抵抗7と、同抵抗7に一方の端子を接続し、他方
をグランドGNDに接続したコンデンサ8とから構成さ
れている。
The drain of an N-channel MOS transistor 6 is connected to the output terminal of the inverter 5.
The drain of the transistor 6 is connected to the gate and functions as a normal diode. The source of the transistor 6 is connected to a low pass filter. This low-pass filter is composed of a resistor 7 connected to the source of the transistor 6, and a capacitor 8 having one terminal connected to the resistor 7 and the other connected to the ground GND.

【0017】ローパスフィルターの出力側には、抵抗9
を介してNチャネルMOSトランジスタ10のドレイン
が接続されている。前記トランジスタ10のソースはグ
ランドGNDに接続され、ゲートは、電源Vccとグラン
ドGND間に直列に接続された抵抗11及びNチャネル
MOSトランジスタ12の接続点に接続されている。
A resistor 9 is provided on the output side of the low-pass filter.
The drain of the N-channel MOS transistor 10 is connected via. The source of the transistor 10 is connected to the ground GND, and the gate is connected to the connection point of the resistor 11 and the N-channel MOS transistor 12 connected in series between the power supply Vcc and the ground GND.

【0018】前記トランジスタ12のゲートは同トラン
ジスタ12のドレインに接続される。そして、トランジ
スタ12には定電流が流れて、そのドレインが定電圧に
維持される。従って、前記トランジスタ10のゲートに
定電圧が供給され、同トランジスタ10及び抵抗9は定
電流源として動作する。前記ローパスフィルター、トラ
ンジスタ6及び定電流源とにより、チャージポンプが構
成されている。
The gate of the transistor 12 is connected to the drain of the transistor 12. Then, a constant current flows through the transistor 12 and its drain is maintained at a constant voltage. Therefore, a constant voltage is supplied to the gate of the transistor 10, and the transistor 10 and the resistor 9 operate as a constant current source. A charge pump is configured by the low pass filter, the transistor 6 and the constant current source.

【0019】チャージポンプの出力信号VL は2つの比
較器13,14の反転入力端子にそれぞれ入力されてい
る。比較器13,14の非反転入力端子は、電源Vcc
グランドGNDとの間に直列に接続された3つの抵抗1
5,16,17の第1の接続点及び第2の接続点に接続
されている。このストリング抵抗15,16,17によ
り2種類の基準電圧VR1,VR2が生成される。基準
クロック信号CLKが正常に発振している時、チャージ
ポンプの出力電圧信号VL が、前記基準電圧VR1,V
R2の間に入るように前記定電流源の電流の量が設定さ
れている。
The output signal V L of the charge pump is input to the inverting input terminals of the two comparators 13 and 14, respectively. The non-inverting input terminals of the comparators 13 and 14 have three resistors 1 connected in series between the power source Vcc and the ground GND.
5, 16 and 17 are connected to the first connection point and the second connection point. The string resistors 15, 16 and 17 generate two types of reference voltages VR1 and VR2. When the reference clock signal CLK normally oscillates, the output voltage signal V L of the charge pump is changed to the reference voltages VR1 and V1.
The amount of current of the constant current source is set so as to fall between R2.

【0020】前記比較器13,14は、チャージポンプ
の出力信号VL が基準電圧VR1,VR2より小さい場
合、出力端子から”H”レベルを出力する。一方、チャ
ージポンプの出力信号VL が基準電圧VR1,VR2よ
り大きい場合、比較器13,14は出力端子から”L”
レベルを出力する。
When the output signal V L of the charge pump is smaller than the reference voltages VR1 and VR2, the comparators 13 and 14 output "H" level from the output terminals. On the other hand, when the output signal V L of the charge pump is higher than the reference voltages VR1 and VR2, the comparators 13 and 14 are "L" from the output terminals.
Output level.

【0021】前記比較器13の出力信号はインバータ1
5に入力され、同インバータ15の出力信号DET1は
NOR回路16の一方の入力端子に入力される。前記比
較器14の出力信号DET2は、前記NOR回路16の
他方の入力端子に入力される。NOR回路16は、イン
バータ15の出力信号DET1及び比較器14の出力信
号DET2に基づいて検出信号DETを出力する。
The output signal of the comparator 13 is the inverter 1
5, the output signal DET1 of the inverter 15 is input to one input terminal of the NOR circuit 16. The output signal DET2 of the comparator 14 is input to the other input terminal of the NOR circuit 16. The NOR circuit 16 outputs the detection signal DET based on the output signal DET1 of the inverter 15 and the output signal DET2 of the comparator 14.

【0022】次に、上記のように構成された基準クロッ
ク信号生成回路の動作を図3に従って説明する。水晶振
動子1に交流電圧が印加されると、同水晶振動子1は圧
電効果により振動し、発振する。水晶振動子1の発振出
力信号は正弦波であり、シュミット型のインバータ5に
より方形波に変換され、基準クロック信号CLKとして
マイクロコントローラに供給される。
Next, the operation of the reference clock signal generating circuit configured as described above will be described with reference to FIG. When an AC voltage is applied to the crystal unit 1, the crystal unit 1 vibrates and oscillates due to the piezoelectric effect. The oscillation output signal of the crystal unit 1 is a sine wave, is converted into a square wave by the Schmitt type inverter 5, and is supplied to the microcontroller as the reference clock signal CLK.

【0023】一方、基準クロック信号CLKはトランジ
スタ6を通過して、コンデンサ8に充電される。前記ト
ランジスタ6はダイオードとして機能するため、ドレイ
ン側がソース側より高電位の時に限って電流が流れる。
On the other hand, the reference clock signal CLK passes through the transistor 6 and is charged in the capacitor 8. Since the transistor 6 functions as a diode, a current flows only when the drain side has a higher potential than the source side.

【0024】電荷がこのまま充電され続けると、チャー
ジポンプの出力信号VL は飽和してしまうが、チャージ
ポンプの出力側に接続された定電流源により、所定の電
流が常時放電される。従って、チャージポンプの出力信
号VL はクロック信号CLKによる充電と、定電流源の
放電とがバランスした状態の電圧レベルを示す。
If the charge continues to be charged as it is, the output signal V L of the charge pump is saturated, but a constant current source connected to the output side of the charge pump constantly discharges a predetermined current. Therefore, the output signal V L of the charge pump shows a voltage level in a state where the charging by the clock signal CLK and the discharging of the constant current source are balanced.

【0025】さらに、前記コンデンサ8に充電される充
電量は基準クロック信号CLKの周波数に比例し、周波
数が高くなれば、充電量も多くなる。即ち、チャージポ
ンプの出力電圧信号VL は基準クロック信号CLKに比
例する。
Further, the charge amount charged in the capacitor 8 is proportional to the frequency of the reference clock signal CLK, and the higher the frequency, the larger the charge amount. That is, the output voltage signal V L of the charge pump is proportional to the reference clock signal CLK.

【0026】図3に示すように、基準クロック信号CL
Kの周波数が正常な周波数F1である場合、チャージポ
ンプの出力電圧信号VL は基準電圧VR2より高く、基
準電圧VR1より低い。従って、インバータ15の出力
信号DET1は”L”レベル、比較器14の出力信号D
ET2も”L”レベルとなり、NOR16から”H”レ
ベルの検出信号DETが出力される。
As shown in FIG. 3, the reference clock signal CL
When the frequency of K is the normal frequency F1, the output voltage signal V L of the charge pump is higher than the reference voltage VR2 and lower than the reference voltage VR1. Therefore, the output signal DET1 of the inverter 15 is "L" level, and the output signal D of the comparator 14 is
ET2 also becomes "L" level, and NOR16 outputs the detection signal DET of "H" level.

【0027】ところが、発振回路の異常発振により、基
準クロック信号CLKの周波数が低下して周波数F2と
なると、チャージポンプの出力信号VL も低下する。そ
して、チャージポンプの出力信号VL が基準電圧VR2
より低くなると、比較器14の出力信号DET2は”
H”レベルとなる。インバータ15の出力信号DET1
は引き続き”L”レベルであり、NOR16から”L”
レベルの検出信号DETが出力される。
However, when the frequency of the reference clock signal CLK decreases to the frequency F2 due to abnormal oscillation of the oscillation circuit, the output signal V L of the charge pump also decreases. Then, the output signal V L of the charge pump is changed to the reference voltage VR2.
When it becomes lower, the output signal DET2 of the comparator 14 becomes "
It becomes H "level. Output signal DET1 of inverter 15
Is still at "L" level, and NOR16 to "L"
The level detection signal DET is output.

【0028】さらに、異常発振により、正常状態から基
準クロック信号CLKの周波数が上昇してF3になる
と、チャージポンプの出力電圧信号VL は上昇する。そ
して、チャージポンプの電圧信号VL が基準電圧VR1
より高くなると、インバータ15の出力信号DET1
は”H”レベルとなる。比較器14の出力信号DET2
は引き続き”L”レベルであり、NOR16から”L”
レベルの検出信号DETが出力される。
Further, when the frequency of the reference clock signal CLK rises from the normal state to F3 due to abnormal oscillation, the output voltage signal V L of the charge pump rises. Then, the voltage signal V L of the charge pump is changed to the reference voltage VR1.
When it becomes higher, the output signal DET1 of the inverter 15 becomes higher.
Becomes "H" level. Output signal DET2 of the comparator 14
Is still at "L" level, and NOR16 to "L"
The level detection signal DET is output.

【0029】以上のように、基準クロック信号CLKの
周波数が正常である場合にのみ検出信号DETに”H”
が出力され、異常時には”L”が出力される。従って、
この検出信号DETによって容易に異常発振を検出する
ことができる。
As described above, the detection signal DET is "H" only when the frequency of the reference clock signal CLK is normal.
Is output, and "L" is output when an abnormality occurs. Therefore,
Abnormal oscillation can be easily detected by this detection signal DET.

【0030】次に、上記基準クロック信号生成回路の使
用例を説明する。図4に示すように、低電圧検出リセッ
ト回路17の出力信号LDECはRSフリップフロップ
(FF)回路18のセット端子に、基準クロック信号生
成回路19の検出信号DETはリセット端子に接続され
ている。そして、FF回路18の出力端子はマイクロコ
ントローラのリセット端子に接続されている。
Next, an example of use of the reference clock signal generation circuit will be described. As shown in FIG. 4, the output signal LDEC of the low voltage detection reset circuit 17 is connected to the set terminal of the RS flip-flop (FF) circuit 18, and the detection signal DET of the reference clock signal generation circuit 19 is connected to the reset terminal. The output terminal of the FF circuit 18 is connected to the reset terminal of the microcontroller.

【0031】低電圧検出リセット回路17は、電源電圧
が何らかの異常により設定レベルより低下した場合、低
電圧検出信号LDECを発生して、マイクロコントロー
ラをリセットする回路である。
The low voltage detection reset circuit 17 is a circuit for generating a low voltage detection signal LDEC and resetting the microcontroller when the power supply voltage falls below a set level due to some abnormality.

【0032】図5に示すように、検出信号DET及び低
電圧検出信号LDECが両者とも”H”レベルである
時、正常動作と判断して、リセット信号RESETは”
H”となる。また、検出信号DET又は低電圧検出信号
LDECのいずれか一方が”L”レベルである時、ある
いは、両者とも”L”レベルである時、異常状態である
と判断してリセット信号RESETは”L”となる。
As shown in FIG. 5, when both the detection signal DET and the low voltage detection signal LDEC are at "H" level, it is judged that the operation is normal, and the reset signal RESET is "
When either the detection signal DET or the low voltage detection signal LDEC is at the "L" level, or both are at the "L" level, it is judged as an abnormal state and reset. The signal RESET becomes "L".

【0033】上述のように、低電圧検出リセット回路1
7と組み合わせることにより、異常発振を検出した場
合、あるいは電源電圧が低下した場合、マイクロコント
ローラをリセットして外部に異常を知らせるとともに、
制御をただちに停止することができる。
As described above, the low voltage detection reset circuit 1
By combining with 7, when abnormal oscillation is detected or the power supply voltage drops, the microcontroller is reset to notify the abnormality to the outside and
Control can be stopped immediately.

【0034】なお、この発明は前記実施例の構成に限定
されるものではなく、例えば、電圧レベル検出回路の2
つの比較器13,14にヒステリシスを持たせるように
変更してもよい。このヒステリシス特性により、一旦異
常と判定されたら基準電圧VR1,VR2の幅を小さく
することができる。従って、異常から正常への判定が厳
しくなり、出力電圧信号VL が基準電圧VR1,VR2
付近でふらついた場合にも、正常から異常あるいは、異
常から正常への判定が頻繁に行われることが防止され
る。
The present invention is not limited to the configuration of the above-described embodiment, and for example, the voltage level detecting circuit 2
The two comparators 13 and 14 may be modified to have hysteresis. With this hysteresis characteristic, the width of the reference voltages VR1 and VR2 can be reduced once it is determined to be abnormal. Therefore, the determination from abnormality to normal becomes strict, and the output voltage signal V L becomes the reference voltages VR1 and VR2.
Even when there is a fluctuation in the vicinity, it is possible to prevent frequent determination from normal to abnormal or from abnormal to normal.

【0035】さらに、比較器13の非反転入力及び反転
入力端子を逆に接続し、インバータ15を取り除いたり
する等、この発明の趣旨から逸脱しない範囲で、任意に
変更して具体化することも可能である。
Further, the non-inverting input terminal and the inverting input terminal of the comparator 13 may be reversely connected and the inverter 15 may be removed, for example, without departing from the gist of the present invention. It is possible.

【0036】[0036]

【発明の効果】以上詳述したように、本発明によれば、
マイクロコントローラの誤動作を未然に防止し得るクロ
ック信号生成回路を提供することができるという効果を
奏する。
As described in detail above, according to the present invention,
It is possible to provide a clock signal generation circuit capable of preventing the malfunction of the microcontroller in advance.

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

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】一実施例の基準クロック信号生成回路を示す回
路図である。
FIG. 2 is a circuit diagram showing a reference clock signal generation circuit according to an embodiment.

【図3】図2の基準クロック信号生成回路の動作を示す
特性図である。
FIG. 3 is a characteristic diagram showing an operation of the reference clock signal generation circuit of FIG.

【図4】一実施例の使用例を示すブロック図である。FIG. 4 is a block diagram showing a usage example of an embodiment.

【図5】図4の回路の動作を示す説明図である。5 is an explanatory diagram showing an operation of the circuit of FIG.

【図6】従来の発振回路を示す回路図である。FIG. 6 is a circuit diagram showing a conventional oscillator circuit.

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

30 発振回路 31 変換回路 32 電圧レベル検出回路 CLK 基準クロック信号 VL 電圧信号 VR1 基準電圧 VR2 基準電圧 DET 異常検出信号30 oscillator circuit 31 conversion circuit 32 voltage level detection circuit CLK reference clock signal VL voltage signal VR1 reference voltage VR2 reference voltage DET abnormality detection signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 基準クロック信号(CLK)を生成する
発振回路(30)と、 前記基準クロック信号(CLK)の周波数信号を電圧信
号(VL )に変換する変換回路(31)と、 複数の異なる値の基準電圧(VR1,VR2)を受け
て、前記変換回路(31)から出力される電圧信号(V
L )が前記複数の基準電圧(VR1,VR2)の範囲内
にあるか否かにより、異常検出信号(DET)を出力す
る電圧レベル検出回路(32)と、 からなることを特徴とする基準クロック信号生成回路。
1. An oscillation circuit (30) for generating a reference clock signal (CLK), a conversion circuit (31) for converting a frequency signal of the reference clock signal (CLK) into a voltage signal ( VL ), and a plurality of conversion circuits (31). A voltage signal (V) output from the conversion circuit (31) upon receiving reference voltages (VR1, VR2) having different values.
A reference clock comprising: a voltage level detection circuit (32) for outputting an abnormality detection signal (DET) depending on whether L ) is within the range of the plurality of reference voltages (VR1, VR2). Signal generation circuit.
【請求項2】 前記変換回路はローパスフィルターとし
ての機能を備えたチャージポンプ(6〜12)からなる
ことを特徴とする請求項1に記載の基準クロック信号生
成回路。
2. The reference clock signal generation circuit according to claim 1, wherein the conversion circuit comprises a charge pump (6 to 12) having a function as a low-pass filter.
【請求項3】 前記電圧レベル検出回路は、基準電圧
(VR1,VR2)を発生させるストリング抵抗(15
〜17)と、同基準電圧(VR1,VR2)と前記変換
回路の出力電圧(VL とを比較するコンパレータ(1
3,14)とから構成されることを特徴とする請求項1
に記載の基準クロック信号生成回路。
3. A string resistor (15) for generating a reference voltage (VR1, VR2) in the voltage level detection circuit.
~ 17), the same reference voltage (VR1, VR2) and the output voltage ( VL ) of the conversion circuit Comparator (1
3, 14) and 1).
The reference clock signal generation circuit according to 1.
JP5224549A 1993-09-09 1993-09-09 Referrence clock signal generating circuit Withdrawn JPH0794942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5224549A JPH0794942A (en) 1993-09-09 1993-09-09 Referrence clock signal generating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5224549A JPH0794942A (en) 1993-09-09 1993-09-09 Referrence clock signal generating circuit

Publications (1)

Publication Number Publication Date
JPH0794942A true JPH0794942A (en) 1995-04-07

Family

ID=16815537

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5224549A Withdrawn JPH0794942A (en) 1993-09-09 1993-09-09 Referrence clock signal generating circuit

Country Status (1)

Country Link
JP (1) JPH0794942A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3591842A1 (en) * 2018-07-05 2020-01-08 STMicroelectronics International N.V. Rc oscillator watchdog circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3591842A1 (en) * 2018-07-05 2020-01-08 STMicroelectronics International N.V. Rc oscillator watchdog circuit
US10680587B2 (en) 2018-07-05 2020-06-09 Stmicroelectronics International N.V. RC oscillator watchdog circuit

Similar Documents

Publication Publication Date Title
US4429236A (en) Apparatus for generating pulses upon decreases in supply voltage
KR100304295B1 (en) Power supply voltage detection device
JP4699882B2 (en) Voltage-pulse conversion circuit and charge control system
EP0881765A1 (en) Precision oscillator circuit having a controllable duty cycle and related method
US11245360B2 (en) Oscillator circuit, chip and electronic device
JP5535766B2 (en) Timer circuit
TW536866B (en) Amplitude control of an alternating signal generated by an electronic device such as an oscillator circuit
JPH0794942A (en) Referrence clock signal generating circuit
KR100232219B1 (en) Low voltage sensing circuit
JP4140420B2 (en) Semiconductor device and reset signal transmission method
CN112986691A (en) Sensing circuit and method for calculating capacitance value by using sensing circuit with inverter
KR20120039891A (en) Power detection device for vehicle
JP2585554B2 (en) Power supply
JPS602676Y2 (en) IC circuit for timer
JPH0749422Y2 (en) Voltage monitoring circuit
JP2001127592A (en) Oscillation circuit
JPS63256015A (en) Reset circuit for microcomputer
KR200293358Y1 (en) Fault Detection Circuit of Microcontroller
JP2010245906A (en) Triangular wave generating circuit, integrated circuit device, and electronic apparatus
KR970003829Y1 (en) Service interruption sensing device of home electric apparatus
JPH11338558A (en) Constant-voltage output device
JPH04101509A (en) Proximity switch
JPS62243414A (en) Oscillation circuit
JPH05258085A (en) Integrated circuit
JP2003067076A (en) Semiconductor integrated 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: 20001128