JP3920361B2 - Microcomputer protection system - Google Patents

Microcomputer protection system Download PDF

Info

Publication number
JP3920361B2
JP3920361B2 JP15576294A JP15576294A JP3920361B2 JP 3920361 B2 JP3920361 B2 JP 3920361B2 JP 15576294 A JP15576294 A JP 15576294A JP 15576294 A JP15576294 A JP 15576294A JP 3920361 B2 JP3920361 B2 JP 3920361B2
Authority
JP
Japan
Prior art keywords
microcomputer
circuit
voltage
output voltage
turned
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
JP15576294A
Other languages
Japanese (ja)
Other versions
JPH0830576A (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.)
LG Electronics Inc
Original Assignee
LG Electronics Inc
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 LG Electronics Inc filed Critical LG Electronics Inc
Priority to JP15576294A priority Critical patent/JP3920361B2/en
Publication of JPH0830576A publication Critical patent/JPH0830576A/en
Application granted granted Critical
Publication of JP3920361B2 publication Critical patent/JP3920361B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)
  • Microcomputers (AREA)

Description

【0001】
【産業上の利用分野】
本発明は交流電源から電力が供給される通常消費電力モードから交流電源がオフ時にバックアップ用の電池から電力が供給される低消費電力モードに切り換えるマイクロコンピュータを用いた機器等に適用されるマイクロコンピュータ保護システムに関する。
【0002】
【従来の技術】
図6は従来技術による消費電力モード切換の説明図である。図から判るように、トランスTrの一次側にAC電源用プラグPが接続され、二次側にダイオードDとコンデンサCが直列に接続されている。コンデンサCにはさらに抵抗器RとツェナーダイオードZDが直列に接続されている。抵抗器RとツェナーダイオードZDの接続点からは図示しないマイクロコンピュータの交流(AC)検出ポートへ電線が接続されている。マイクロコンピュータは、そのAC検出ポートにおける電圧レベルDCがハイレベルのとき交流電源から電力が供給される通常消費電力モードに、ローレベルのときバックアップ用の電池(図示せず)から電力が供給される低消費電力モードに切り換える。
【0003】
【発明が解決しようとする課題】
上述の従来技術による消費電力モード切換は、AC電源用プラグとそれを受けるAC電源用コンセントとの間で接触不良が発生しAC電源のオンオフが瞬時に行われると、上述の電圧レベルDCがパルス状にハイレベルとローレベルを繰り返し変化し、それゆえマイクロコンピュータが誤動作し、時には過大なパルスがマイクロコンピュータのAC検出ポートに入力されマイクロコンピュータを破壊するという問題が発生する。またパルス性ノイズによりマイクロコンピュータが誤動作するという問題がある。
【0004】
それゆえ、本発明は上記問題のない、すなわちマイクロコンピュータの誤動作を無くしマイクロコンピュータを破壊から保護するマイクロコンピュータ保護システムを提供することを目的とする。またパルス性ノイズによりマイクロコンピュータが誤動作しないマイクロコンピュータ保護システムを提供することを他の目的とする。
【0005】
【課題を解決するための手段】
図1は本発明の基本ブロック構成図である。前記課題を解決する本発明のマイクロコンピュータ保護システムは、交流電源に接続され、前記交流電源がオン時には交流を定電圧の直流に変換しマイクロコンピュータ7へ供給し、交流電源がオフ時には内蔵されるバックアップ用の電池から直流をマイクロコンピュータ7へ供給する定電圧回路3と、交流電源に接続され交流を直流に変換して出力する整流回路4と、整流回路4の出力を受け、交流電源がオフからオンに切り換わると、充電を開始し所定時間後にハイレベルの電圧を出力し、交流電源がオンからオフに切り換わると、放電を開始し即座にローレベルの電圧を出力する充放電回路5と、充放電回路5の出力電圧を受け、その出力電圧がローレベルのときはローレベルの電圧を出力し、その出力電圧がハイレベルのときはハイレベルの電圧を出力するモード切換回路6と、モード切換回路6の出力電圧を受け、その出力電圧がローレベルのときは低消費電力モードに切り換え、その出力電圧がハイレベルのときは通常消費電力モードに切り換えるマイクロコンピュータ7と、を備えたことを特徴とする。
本発明のマイクロコンピュータ保護システムは、充放電回路5およびモード切換回路6が、パルス性ノイズを吸収する素子を内部に含んで構成される。
【0006】
【作用】
本発明のマイクロコンピュータ保護システムは、整流回路4の出力を受ける充放電回路5が、交流電源がオフからオンに切り換わると、充電を開始し所定時間後にハイレベルの電圧を出力し、交流電源がオンからオフに切り換わると、放電を開始し即座にローレベルの電圧を出力するので、充放電回路5の出力電圧を受けるモード切換回路6は、充放電回路5の出力電圧がローレベルのときは、マイクロコンピュータ7を低消費電力モードとするローレベルの電圧を出力し、その出力電圧がハイレベルのときは、マイクロコンピュータ7を通常消費電力モードとするハイレベルの電圧を出力する。これらの出力はマイクロコンピュータのAC検出ポートへ入力される。マイクロコンピュータ7には定電圧回路3から絶えず定電圧の直流が供給されているが、マイクロコンピュータ7は、AC検出ポートの電圧がローレベルになったとき自身を低消費電力モードに切り換え、定電圧回路3に内蔵されるバックアップ用の電池8から供給される電力により運転を行う。それゆえ、急激な電源オンオフが発生しても、マイクロコンピュータ7のAC検出ポートへの電圧はその過渡時間中ローレベルを維持するので、マイクロコンピュータ7は誤動作を発生せず、過大パルスがマイクロコンピュータのAC検出ポートに入力することもなくマイクロコンピュータは破壊から保護される。
本発明のマイクロコンピュータ保護システムは、パルス性ノイズを吸収する素子をさらに備えているのでマイクロコンピュータは誤動作しない。
【0007】
【実施例】
図2は本発明による実施例の回路図である。本図において、破線で四角形で囲んだ部分は、それぞれ定電圧回路3、整流回路4、充放電回路5、モード切換回路6および電池8を示し、実線で四角形で囲んだ部分はマイクロコンピュータ7を示す。本発明の実施例によるマイクロコンピュータ保護システムは、トランスTrの一次側に直列に接続されたスイッチSWをオンすることによりトランスTrの一次側にAC100Vの電源を供給する。定電圧回路3はトランスTrの二次側に接続され、トランスTrの二次側の一端はダイオードD3を介して定電圧レギュレータ9に接続され、AC100Vの交流電源がオン時には定電圧レギュレータ9により交流を定電圧の直流に変換しダイオードD4を介してマイクロコンピュータ7へ供給し、交流電源がオフ時には内蔵のバックアップ用の電池8から直流をマイクロコンピュータ7へ供給する。なおダイオードD4は電池8からの逆流を防止するために設けられたダイオードである。整流回路4は直列に接続されたダイオードD1と抵抗器R1からなり交流を直流に変換する。充放電回路5はコンデンサC3をスイッチSWがオン時に充電しスイッチSWがオフ時に放電する回路である。モード切換回路6は充放電回路5の出力を受け、コンデンサC5の電位すなわちF点の電位のレベルに応じて、マイクロコンピュータ7を低消費電力モードで運転するときはローレベルの電圧を出力し、通常消費電力モードで運転するときはハイレベルの電圧を出力するように切り換える回路である。モード切換回路6の出力DCはマイクロコンピュータ7のAC検出ポートへ入力される。電池8は交流電源がオフ時にマイクロコンピュータ7へ電力を供給しマイクロコンピュータ7をバックアップする電池である。また、コンデンサC2、C4、C5およびインダクタンスL1はパルス性ノイズを吸収するために設けた素子である。図2に示す回路図の動作について各部の電圧レベルのタイムチャートを参照しつつ以下に説明する。なお図3〜図5を用いて以下に説明するタイムチャートは、横軸を時間で示し、縦軸を電圧レベルで示すものとする。
【0008】
図3は実施例の回路図における各点の電位の電源オンからオフへの切り換え時におけるタイムチャートである。電源がオンからオフに切り換わると、トランスTrの二次側の電圧が0となり、ダイオードD1の負電位がなくなりコンデンサC7はコンデンサC1より十分大きいのでA点の電位は負から正のハイレベルとなり、トタンジスタTR1はオンとなり、コンデンサC3は瞬時にトランジスタTR1と抵抗器R6を介して放電され、B点の電位は0Vとなり、トランジスタTR2はオフとなり、E点の電位は0Vからハイレベルとなり、トランジスタTR3はオンとなりF点の電位はハイレベルからローレベルとなり、これを受けたマイクロコンピュータ7は通常消費電力モードから低消費電力モードに切り換える。しかるにコンデンサC6はダイオードD2の逆流防止により電源オンからオフに切り換わった後、所定時間電位を保ち、電源オフ直後にコンデンサC6に蓄えられた電荷が抵抗器R4を介してトランジスタTR3のベースに流れトランジスタTR3をオンとし、F点をローレベルにする。
【0009】
図4は実施例の回路図における各点の電位の電源オフからオンへの切り換え時におけるタイムチャートである。電源がオフからオンに切り換わると、トランスTrの二次側に電圧が発生し、ダイオードD1の負電位が発生し、抵抗器R1とR2との比によりA点の電位は正のハイレベルから負となり、トタンジスタTR1はオフとなり、コンデンサC3は抵抗器R3を介して充電され抵抗器R6を介して放電され、B点の電位は上昇し、電源オンから所定時間T秒後にトランジスタTR2はオンとなり、E点の電位はハイレベルから0Vとなり、トランジスタTR3はオフとなりF点の電位はローレベルからハイレベルとなり、これを受けたマイクロコンピュータ7は低消費電力モードから通常消費電力モードに切り換える。
【0010】
図5は実施例の回路図における各点の電位の電源オフオン切り換え繰り返し時におけるタイムチャートである。本図は電源がオンの状態から、オフ、オン、オフ、オンと電源が繰り返し切り換えられたときのタイムチャートを示す。コンデンサC3への充電時間は、抵抗器R3と抵抗器R6とコンデンサC3の値により決定される。これらの選定により電源オン後にトランジスタTR2をオンとするまでの時間T秒が設定される。交流電源オンの状態で交流電源のオフ、オン、オフ、オンを繰り返したとき、最初に時刻t1で電源がオンからオフに切り換わると、トランスTrの二次側の電圧が0となり、ダイオードD1の負電位がなくなりコンデンサC7はコンデンサC1より十分大きいのでA点の電位は負から正のハイレベルとなり、トタンジスタTR1はオンとなり、コンデンサC3は瞬時にトランジスタTR1と抵抗器R6を介して放電され、B点の電位は0Vとなり、トランジスタTR2はオフとなり、E点の電位は0Vからハイレベルとなり、トランジスタTR3はオンとなりF点の電位はハイレベルからローレベルとなり、これを受けたマイクロコンピュータ7は通常消費電力モードから低消費電力モードに切り換える。
【0011】
その後時刻t2で電源がオフからオンに切り換わると、トランスTrの二次側に電圧が発生し、ダイオードD1の負電位が発生し、抵抗器R1とR2との比によりA点の電位は正のハイレベルから負となり、トタンジスタTR1はオフとなり、コンデンサC3は抵抗器R3を介して充電され抵抗器R6を介して放電され、B点の電位は上昇するが、時刻t2から所定時間T秒内の時刻t3に電源がオンからオフに切り換わるので、時刻t2からt3までの間にはトランジスタTR2はオンとならず、E点の電位もハイレベルのままとなり、トランジスタTR3もオンのままとなりF点の電位はローレベルのままとなり、これを受けたマイクロコンピュータ7は消費電力モードを低消費電力モードのままに保つ。
【0012】
その後時刻t4で電源がオフからオンに切り換わると、同様にコンデンサC3は抵抗器R3を介して充電され抵抗器R6を介して放電され、B点の電位は上昇し、時刻t4からT秒後の時刻t5にトランジスタTR2はオンとなり、E点の電位はハイレベルから0Vとなり、トランジスタTR3はオフとなりF点の電位はローレベルからハイレベルとなり、これを受けたマイクロコンピュータ7は低消費電力モードから通常消費電力モードに切り換える。
【0013】
【発明の効果】
以上説明したように、本発明のマイクロコンピュータ保護システムによれば、整流回路の出力を受ける充放電回路が、交流電源がオフからオンに切り換わると、充電を開始し所定時間後にハイレベルの電圧を出力し、交流電源がオンからオフに切り換わると、放電を開始し即座にローレベルの電圧を出力するので、充放電回路の出力電圧を受けるモード切換回路は、充放電回路の出力電圧がローレベルのときは、マイクロコンピュータを低消費電力モードとするローレベルの電圧を出力し、その出力電圧がハイレベルのときは、マイクロコンピュータを通常消費電力モードとするハイレベルの電圧を出力し、それらの出力をマイクロコンピュータのAC検出ポートへ送り、それゆえ急激な電源オンオフが発生しても、マイクロコンピュータは誤動作を発生せず、破壊から保護され、ひいてはバックアップ用の電池の寿命も長くなる。
本発明のマイクロコンピュータ保護システムによれば、パルス性ノイズを吸収する素子をさらに備えているのでマイクロコンピュータは誤動作しない。
【図面の簡単な説明】
【図1】本発明の基本ブロック構成図である。
【図2】本発明による実施例の回路図である。
【図3】実施例の回路図における各点の電位の電源オンからオフへの切り換え時におけるタイムチャートである。
【図4】実施例の回路図における各点の電位の電源オフからオンへの切り換え時におけるタイムチャートである。
【図5】実施例の回路図における各点の電位の電源オフオン切り換え繰り返し時におけるタイムチャートである。
【図6】従来技術による消費電力モード切換の説明図である。
【符号の説明】
3…定電圧回路
4…整流回路
5…充放電回路
6…モード切換回路
7…マイクロコンピュータ
8…電池
[0001]
[Industrial application fields]
The present invention is a microcomputer applied to a device using a microcomputer that switches from a normal power consumption mode in which power is supplied from an AC power supply to a low power consumption mode in which power is supplied from a backup battery when the AC power supply is off. Concerning protection system.
[0002]
[Prior art]
FIG. 6 is an explanatory diagram of power consumption mode switching according to the prior art. As can be seen from the figure, an AC power plug P is connected to the primary side of the transformer Tr, and a diode D and a capacitor C are connected in series to the secondary side. A resistor R and a Zener diode ZD are further connected in series with the capacitor C. An electric wire is connected from the connection point of the resistor R and the Zener diode ZD to an alternating current (AC) detection port of a microcomputer (not shown). The microcomputer is supplied with power from a backup battery (not shown) in a normal power consumption mode in which power is supplied from an AC power supply when the voltage level DC at the AC detection port is high. Switch to low power consumption mode.
[0003]
[Problems to be solved by the invention]
In the power consumption mode switching according to the above-described prior art, when the contact failure occurs between the AC power plug and the AC power outlet receiving it, the voltage level DC is pulsed when the AC power is turned on and off instantaneously. The high level and the low level are repeatedly changed so that the microcomputer malfunctions, and sometimes an excessive pulse is inputted to the AC detection port of the microcomputer and the microcomputer is destroyed. There is also a problem that the microcomputer malfunctions due to pulse noise.
[0004]
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a microcomputer protection system which does not have the above-mentioned problem, that is, eliminates malfunction of the microcomputer and protects the microcomputer from destruction. Another object is to provide a microcomputer protection system in which the microcomputer does not malfunction due to pulse noise.
[0005]
[Means for Solving the Problems]
FIG. 1 is a basic block diagram of the present invention. The microcomputer protection system of the present invention that solves the above problems is connected to an alternating current power supply, converts the alternating current into a constant voltage direct current when the alternating current power is on and supplies it to the microcomputer 7, and is built in when the alternating current power is off. A constant voltage circuit 3 for supplying direct current from a backup battery to the microcomputer 7, a rectifier circuit 4 connected to an alternating current power source for converting alternating current to direct current, and receiving the output of the rectifier circuit 4, the alternating current power source is turned off. When the switch is turned on, charging is started and a high level voltage is output after a predetermined time. When the AC power supply is switched from on to off, the charge / discharge circuit 5 starts discharging and immediately outputs a low level voltage. When the output voltage is low level, a low level voltage is output, and when the output voltage is high level, the output voltage is high. The mode switching circuit 6 that outputs the bell voltage and the output voltage of the mode switching circuit 6 are switched. When the output voltage is low level, the mode is switched to the low power consumption mode. When the output voltage is high level, the normal power consumption is achieved. And a microcomputer 7 for switching to the mode.
In the microcomputer protection system of the present invention, the charge / discharge circuit 5 and the mode switching circuit 6 are configured to include an element that absorbs pulse noise.
[0006]
[Action]
In the microcomputer protection system of the present invention, the charging / discharging circuit 5 receiving the output of the rectifying circuit 4 starts charging when the AC power source is switched from OFF to ON, and outputs a high level voltage after a predetermined time. Is switched from on to off, discharge starts and a low level voltage is immediately output. Therefore, the mode switching circuit 6 that receives the output voltage of the charge / discharge circuit 5 has the output voltage of the charge / discharge circuit 5 of low level. When the output voltage is high, the microcomputer 7 outputs a high level voltage for setting the microcomputer 7 in the normal power consumption mode. These outputs are input to the microcomputer AC detection port. The microcomputer 7 is constantly supplied with constant voltage direct current from the constant voltage circuit 3, but the microcomputer 7 switches itself to the low power consumption mode when the voltage of the AC detection port becomes low level. The operation is performed by the electric power supplied from the backup battery 8 incorporated in the circuit 3. Therefore, even if a sudden power on / off occurs, the voltage to the AC detection port of the microcomputer 7 is kept at a low level during the transient time, so the microcomputer 7 does not malfunction and an excessive pulse is detected by the microcomputer. The microcomputer is protected from destruction without input to the AC detection port.
Since the microcomputer protection system of the present invention further includes an element that absorbs pulse noise, the microcomputer does not malfunction.
[0007]
【Example】
FIG. 2 is a circuit diagram of an embodiment according to the present invention. In this figure, the portions surrounded by a square with a broken line indicate the constant voltage circuit 3, the rectifier circuit 4, the charge / discharge circuit 5, the mode switching circuit 6 and the battery 8, respectively, and the portion surrounded by a solid line with a rectangle indicates the microcomputer 7. Show. The microcomputer protection system according to the embodiment of the present invention supplies AC 100V power to the primary side of the transformer Tr by turning on the switch SW connected in series to the primary side of the transformer Tr. The constant voltage circuit 3 is connected to the secondary side of the transformer Tr. One end of the secondary side of the transformer Tr is connected to the constant voltage regulator 9 via the diode D3. Is converted to a constant voltage direct current and supplied to the microcomputer 7 through the diode D4. When the AC power is off, direct current is supplied from the built-in backup battery 8 to the microcomputer 7. The diode D4 is a diode provided to prevent backflow from the battery 8. The rectifier circuit 4 includes a diode D1 and a resistor R1 connected in series, and converts alternating current into direct current. The charge / discharge circuit 5 is a circuit that charges the capacitor C3 when the switch SW is on and discharges the capacitor C3 when the switch SW is off. The mode switching circuit 6 receives the output of the charge / discharge circuit 5 and outputs a low level voltage when the microcomputer 7 is operated in the low power consumption mode according to the potential of the capacitor C5, that is, the potential at the point F. When operating in the normal power consumption mode, the circuit switches to output a high level voltage. The output DC of the mode switching circuit 6 is input to the AC detection port of the microcomputer 7. The battery 8 is a battery that supplies power to the microcomputer 7 to back up the microcomputer 7 when the AC power is off. The capacitors C2, C4, C5 and the inductance L1 are elements provided for absorbing pulse noise. The operation of the circuit diagram shown in FIG. 2 will be described below with reference to time charts of voltage levels of the respective parts. In the time charts described below with reference to FIGS. 3 to 5, the horizontal axis indicates time, and the vertical axis indicates voltage level.
[0008]
FIG. 3 is a time chart when the potential at each point in the circuit diagram of the embodiment is switched from power on to off. When the power supply is switched from on to off, the voltage on the secondary side of the transformer Tr becomes 0, the negative potential of the diode D1 disappears, and the capacitor C7 is sufficiently larger than the capacitor C1, so the potential at the point A changes from negative to positive high level. The transistor TR1 is turned on, the capacitor C3 is instantaneously discharged through the transistor TR1 and the resistor R6, the potential at the point B becomes 0V, the transistor TR2 is turned off, and the potential at the point E changes from 0V to the high level. TR3 is turned on and the potential at the point F changes from high level to low level, and the microcomputer 7 receiving this switches the normal power consumption mode to the low power consumption mode. However, the capacitor C6 is switched from the power-on to the off-state by preventing the backflow of the diode D2, and then maintains the potential for a predetermined time. Immediately after the power-off, the charge stored in the capacitor C6 flows to the base of the transistor TR3 via the resistor R4. The transistor TR3 is turned on and the point F is set to the low level.
[0009]
FIG. 4 is a time chart when the potential at each point in the circuit diagram of the embodiment is switched from power-off to on. When the power supply is switched from OFF to ON, a voltage is generated on the secondary side of the transformer Tr, a negative potential of the diode D1 is generated, and the potential at the point A is changed from a positive high level by the ratio of the resistors R1 and R2. The transistor TR1 is turned off, the capacitor C3 is charged through the resistor R3 and discharged through the resistor R6, the potential at the point B rises, and the transistor TR2 is turned on for a predetermined time T seconds after the power is turned on. The potential at point E is changed from high level to 0 V, the transistor TR3 is turned off, and the potential at point F is changed from low level to high level. The microcomputer 7 receiving this changes from the low power consumption mode to the normal power consumption mode.
[0010]
FIG. 5 is a time chart at the time of repeatedly switching the power supply off / on at each point in the circuit diagram of the embodiment. This figure shows a time chart when the power source is repeatedly switched off, on, off, on from the power source on state. The charging time for the capacitor C3 is determined by the values of the resistor R3, the resistor R6, and the capacitor C3. By these selections, a time T seconds until the transistor TR2 is turned on after the power is turned on is set. When the AC power source is repeatedly turned off, on, off, and on while the AC power source is on, when the power source is first switched from on to off at time t1, the secondary voltage of the transformer Tr becomes 0, and the diode D1 Since the capacitor C7 is sufficiently larger than the capacitor C1, the potential at the point A changes from negative to positive high level, the transistor TR1 is turned on, and the capacitor C3 is instantaneously discharged through the transistor TR1 and the resistor R6. The potential at the point B is 0V, the transistor TR2 is turned off, the potential at the point E is changed from 0V to the high level, the transistor TR3 is turned on, and the potential at the point F is changed from the high level to the low level. Switch from normal power consumption mode to low power consumption mode.
[0011]
Thereafter, when the power source is switched from OFF to ON at time t2, a voltage is generated on the secondary side of the transformer Tr, a negative potential of the diode D1 is generated, and the potential at the point A is positive due to the ratio between the resistors R1 and R2. The transistor TR1 is turned off, the capacitor C3 is charged through the resistor R3 and discharged through the resistor R6, and the potential at the point B rises, but within a predetermined time T seconds from the time t2. Since the power source is switched from on to off at time t3, the transistor TR2 does not turn on from time t2 to t3, the potential at point E remains high, and the transistor TR3 remains on and F The potential at the point remains at a low level, and the microcomputer 7 receiving this maintains the power consumption mode in the low power consumption mode.
[0012]
Thereafter, when the power source is switched from OFF to ON at time t4, the capacitor C3 is similarly charged through the resistor R3 and discharged through the resistor R6, and the potential at point B rises, and T seconds after time t4. At time t5, the transistor TR2 is turned on, the potential at the point E is changed from high level to 0 V, the transistor TR3 is turned off, and the potential at the point F is changed from low level to high level. To normal power consumption mode.
[0013]
【The invention's effect】
As described above, according to the microcomputer protection system of the present invention, the charging / discharging circuit that receives the output of the rectifier circuit starts charging when the AC power source is switched from OFF to ON, and the high level voltage after a predetermined time. When the AC power supply is switched from ON to OFF, the discharge starts and immediately outputs a low level voltage. Therefore, the mode switching circuit that receives the output voltage of the charge / discharge circuit has the output voltage of the charge / discharge circuit When it is low level, it outputs a low level voltage that sets the microcomputer to the low power consumption mode. When the output voltage is high level, it outputs a high level voltage that sets the microcomputer to the normal power consumption mode. Those outputs are sent to the microcomputer's AC detection port, so even if a sudden power on / off occurs, the microcomputer Without generating operation, it is protected against destruction, even longer and thus of a backup battery life.
According to the microcomputer protection system of the present invention, the microcomputer further includes an element that absorbs pulse noise, so that the microcomputer does not malfunction.
[Brief description of the drawings]
FIG. 1 is a basic block configuration diagram of the present invention.
FIG. 2 is a circuit diagram of an embodiment according to the present invention.
FIG. 3 is a time chart at the time of switching from the power-on to the power-off of the potential at each point in the circuit diagram of the embodiment.
FIG. 4 is a time chart at the time of switching from the power-off to the power-on of the potential at each point in the circuit diagram of the embodiment.
FIG. 5 is a time chart at the time of repeated switching off and on of the potential of each point in the circuit diagram of the embodiment.
FIG. 6 is an explanatory diagram of power consumption mode switching according to the prior art.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 3 ... Constant voltage circuit 4 ... Rectifier circuit 5 ... Charge / discharge circuit 6 ... Mode switching circuit 7 ... Microcomputer 8 ... Battery

Claims (2)

交流電源に接続され、前記交流電源がオン時には交流を定電圧の直流に変換しマイクロコンピュータ(7)へ供給し、前記交流電源がオフ時には内蔵の電池(8)から直流を前記マイクロコンピュータ(7)へ供給する定電圧回路(3)と、
前記交流電源に接続され交流を直流に変換して出力する整流回路(4)と、
前記整流回路(4)の出力により制御されるトランジスタ(TR1)とコンデンサ(C3)との並列回路を有し、前記交流電源がオフからオンに切り換わると、前記整流回路(4)の出力電圧により前記トランジスタ(TR1)がオフとなり、前記定電圧回路(3)から前記コンデンサ(C3)に充電を開始し所定時間経過後にハイレベルの電圧を出力し、前記交流電源がオンからオフに切り換わると、前記整流回路(4)の出力電圧により前記トランジスタ(TR1)がオンとなり、該トランジスタ(TR1)を介して前記コンデンサ(C3)に充電された電荷の放電を行い、即座にローレベルの電圧を出力する充放電回路(5)と、
前記充放電回路(5)の出力電圧を受け、その出力電圧がローレベルのときはローレベルの電圧を出力し、その出力電圧がハイレベルのときはハイレベルの電圧を出力するモード切換回路(6)と、
前記モード切換回路(6)の出力電圧を受け、その出力電圧がローレベルのときは低消費電力モードに切り換え、その出力電圧がハイレベルのときは通常消費電力モードに切り換えるマイクロコンピュータ(7)と、
を備えたことを特徴とするマイクロコンピュータ保護システム。
Connected to an AC power source, when the AC power source is turned on, the AC is converted to a constant voltage DC and supplied to the microcomputer (7). When the AC power source is turned off, a direct current is supplied from a built-in battery (8) to the microcomputer (7). A constant voltage circuit (3) to be supplied to
A rectifier circuit (4) connected to the AC power source and converting AC to DC and outputting;
When a parallel circuit of a transistor (TR1) and a capacitor (C3) controlled by the output of the rectifier circuit (4) is provided and the AC power source is switched from OFF to ON, the output voltage of the rectifier circuit (4) said transistor (TR1) is turned off, the starts charging the capacitor (C3) from the constant-voltage circuit (3) outputs a high level voltage after a predetermined time has elapsed, turn off the AC power supply from on the When switched, said by the output voltage of the rectifier circuit (4) transistor (TR1) is turned on, performs the discharge of electric charges charged in the capacitor (C3) via the transistor (TR1), immediately a low level A charge / discharge circuit (5) for outputting a voltage;
A mode switching circuit that receives the output voltage of the charge / discharge circuit (5), outputs a low level voltage when the output voltage is low level, and outputs a high level voltage when the output voltage is high level ( 6) and
A microcomputer (7) that receives the output voltage of the mode switching circuit (6), switches to a low power consumption mode when the output voltage is low, and switches to a normal power consumption mode when the output voltage is high; ,
A microcomputer protection system comprising:
前記充放電回路(5)および前記モード切換回路(6)が、パルス性ノイズを吸収する素子を内部に備え、該モード切換回路(6)の該素子の少なくとも一つはインダクタンスである請求項1に記載のマイクロコンピュータ保護システム。The charge / discharge circuit (5) and the mode switching circuit (6) each include an element that absorbs pulse noise , and at least one of the elements of the mode switching circuit (6) is an inductance. A microcomputer protection system according to claim 1.
JP15576294A 1994-07-07 1994-07-07 Microcomputer protection system Expired - Fee Related JP3920361B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15576294A JP3920361B2 (en) 1994-07-07 1994-07-07 Microcomputer protection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15576294A JP3920361B2 (en) 1994-07-07 1994-07-07 Microcomputer protection system

Publications (2)

Publication Number Publication Date
JPH0830576A JPH0830576A (en) 1996-02-02
JP3920361B2 true JP3920361B2 (en) 2007-05-30

Family

ID=15612860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15576294A Expired - Fee Related JP3920361B2 (en) 1994-07-07 1994-07-07 Microcomputer protection system

Country Status (1)

Country Link
JP (1) JP3920361B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6804726B1 (en) * 1996-05-22 2004-10-12 Geovector Corporation Method and apparatus for controlling electrical devices in response to sensed conditions

Also Published As

Publication number Publication date
JPH0830576A (en) 1996-02-02

Similar Documents

Publication Publication Date Title
US8542468B2 (en) Fault condition protection
EP1484831A2 (en) Motor driving apparatus
US6044002A (en) Flyback converter with limited output power
JP3920361B2 (en) Microcomputer protection system
US4764857A (en) Power supply start-up circuit with high frequency transformer
TW385585B (en) Automotive battery charging voltage control circuit
US6111365A (en) Fast starting, surge limited, electronic ballast
JP3763273B2 (en) Switching power supply
JPH041587B2 (en)
JP2004297927A (en) Overcurrent protection circuit
JPH051962Y2 (en)
JP2599022B2 (en) Switching power supply circuit
JP3123161B2 (en) Discharge protection circuit
KR100497086B1 (en) apparatus for protecting over-discharge of battery
JPH11220873A (en) Power-supply circuit
JPH0393460A (en) Two-voltage power unit
JPH0615354Y2 (en) Fire alarm power supply
JP3188414B2 (en) Power supply
JPH0333005Y2 (en)
JPH06202771A (en) Power source control circuit
JPH11178230A (en) Charger
JPS5831214Y2 (en) Power supply circuit for storage devices
JP3422146B2 (en) Power supply
JP5540582B2 (en) Switching power supply
KR950003220Y1 (en) Power source protecting circuit when power fairure

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050215

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20050513

A602 Written permission of extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A602

Effective date: 20050523

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060620

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061019

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20061025

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070215

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees