JPH0795734A - Power supply circuit - Google Patents

Power supply circuit

Info

Publication number
JPH0795734A
JPH0795734A JP5211625A JP21162593A JPH0795734A JP H0795734 A JPH0795734 A JP H0795734A JP 5211625 A JP5211625 A JP 5211625A JP 21162593 A JP21162593 A JP 21162593A JP H0795734 A JPH0795734 A JP H0795734A
Authority
JP
Japan
Prior art keywords
power supply
arithmetic element
arithmetic
circuit
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.)
Withdrawn
Application number
JP5211625A
Other languages
Japanese (ja)
Inventor
Shohei Miwa
昇平 三輪
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP5211625A priority Critical patent/JPH0795734A/en
Publication of JPH0795734A publication Critical patent/JPH0795734A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To provide a power supply circuit which supplies electric power to an arithmetic element having at least a program calculating section and can automatically initialize the arithmetic element without giving any damage to a system. CONSTITUTION:A power supply circuit is provided with a switching means 13 which can switch the power supply to an arithmetic element 10 form a continuous power supply 12 to a ON/OFF power supply 11, abnormality detecting means 14 which detects an abnormal state and generates a warning signal upon detecting the abnormal state, and control means 15 which switches the power supply to the element 10 to the power supply side in accordance with the warning signal and restores the power supply to the power supply side before the power supply 11 is turned on next after the power supply 12 is turned off.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、少なくとも一部にプロ
グラム演算部もしくは演算に使用するデータ保管部を有
する演算素子に対して電力を供給する電源回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power supply circuit for supplying power to a computing element having a program computing section or a data storage section used for computing at least in part.

【0002】[0002]

【従来の技術】少なくとも一部にプログラム演算部もし
くは演算に使用するデータ保管部を有する演算素子を搭
載した演算処理装置では、通常、演算素子に対する電力
供給をOFFして、再度ONすれば、演算素子の立ち上
げプログラムが自動的に遂行され、演算素子の端子電
圧、演算素子に付設されたADコンバータの入出力端
子、RAMの記憶内容等が一様に初期化される。
2. Description of the Related Art In an arithmetic processing unit equipped with an arithmetic element having a program arithmetic section or a data storage section used for arithmetic operation at least in part, normally, if the power supply to the arithmetic element is turned off and then turned on again, the arithmetic operation is The element start-up program is automatically executed, and the terminal voltage of the arithmetic element, the input / output terminal of the AD converter attached to the arithmetic element, the storage contents of the RAM, etc. are uniformly initialized.

【0003】しかし、いくつかの種類の演算処理装置で
は、演算素子に対する電力供給を操作者が自由にはON
−OFF操作できないように電源回路が構成される。演
算処理装置を組み込んだ複雑なシステムでは、システム
が動作している途中で演算素子に対する電力供給を操作
者が勝手にON−OFF操作すると、システムが誤動作
して危険を発生したり、システムの再起動が不可能にな
る場合がある。
However, in some types of arithmetic processing devices, the operator is free to turn on the power supply to the arithmetic elements.
-The power supply circuit is configured so that it cannot be turned off. In a complex system with a built-in arithmetic processing unit, if the operator arbitrarily turns on and off the power supply to the arithmetic element while the system is operating, the system may malfunction and cause a danger, or It may not be possible to boot.

【0004】少なくとも一部にプログラム演算部を有す
る演算素子を搭載した演算処理装置の例は、自動車のE
CU(Electric Control Unit )である。例えば、自動
車のエンジン制御に関するECUは、エンジンの各部に
配置された水温センサ、酸素センサ、吸気圧センサ、ス
ロットル開度センサ等の出力に基づいて、刻々の燃料噴
射量と供給タイミングを制御する。
An example of an arithmetic processing device equipped with an arithmetic element having a program arithmetic part at least in part is an E of an automobile.
It is a CU (Electric Control Unit). For example, an ECU relating to engine control of an automobile controls the fuel injection amount and the supply timing every moment based on the outputs of a water temperature sensor, an oxygen sensor, an intake pressure sensor, a throttle opening sensor, etc. arranged in each part of the engine.

【0005】自動車のエンジン制御のためのECUで
は、運転中、演算素子に何らかの異常が発生した際に、
直ちに演算素子に対する電力供給の遮断を実行できな
い。少なくとも自動車を安全に停止し、危険を退避でき
るまで、最低限度の運転状態は継続される必要がある。
In an ECU for controlling an engine of an automobile, when some abnormality occurs in a computing element during driving,
The power supply to the arithmetic element cannot be immediately shut off. At least the minimum driving conditions must be maintained until the vehicle can be safely stopped and the danger can be evacuated.

【0006】従って、自動車のエンジン制御のためのE
CUは、何らかの異常が発生した場合には、ECUを初
期化する代わりに、通常プログラムをフェイルセーフプ
ログラムに切り替え、または、通常の制御回路をフェイ
ルセーフ回路に切り替えて、必要な運転機能を確保して
いる。
Therefore, the E for controlling the engine of the automobile is used.
When some abnormality occurs, the CU switches the normal program to the fail-safe program or the normal control circuit to the fail-safe circuit instead of initializing the ECU to ensure the necessary operation function. ing.

【0007】図4は、従来のECU電源回路の説明図で
ある。ここでは、自動車のエンジン制御のためのECU
が示され、演算素子に対しては、バッテリーから直接に
電源供給される。
FIG. 4 is an explanatory diagram of a conventional ECU power supply circuit. Here, an ECU for controlling the engine of the automobile
Is shown, and the arithmetic element is directly supplied with power from the battery.

【0008】図4において、演算素子40は、同一チッ
プ上にデジタル演算回路とADコンバータ40Aを一緒
に形成した素子である。ADコンバータ40Aは、複数
の入力チャンネルを備え、デジタル演算回路側からの指
令に応じて入力チャンネルを選択し、その入力チャンネ
ルに接続されたセンサ等、例えば、水温センサ49Aか
らのアナログ電圧をデジタル値に変換する。
In FIG. 4, an arithmetic element 40 is an element in which a digital arithmetic circuit and an AD converter 40A are formed together on the same chip. The AD converter 40A has a plurality of input channels, selects an input channel according to a command from the digital arithmetic circuit side, and outputs an analog voltage from a sensor or the like connected to the input channel, for example, a water temperature sensor 49A as a digital value. Convert to.

【0009】演算素子40のデジタル演算回路は、この
デジタル値を用いて必要な演算操作を遂行する。演算素
子40の出力は、出力インターフェイス48を経て、エ
ンジン制御に関する各種機器に出力される。
The digital arithmetic circuit of the arithmetic element 40 performs the necessary arithmetic operation using this digital value. The output of the arithmetic element 40 is output to various devices related to engine control via the output interface 48.

【0010】バッテリー42の供給電力は、5Vレギュ
レータ47で定電圧化された後に演算素子40に供給さ
れる。バッテリー42の供給電力は、また、運転者が随
時操作してON−OFFできるイグニッションスイッチ
41を経て、ECUの5Vレギュレータ46に供給され
る。
The power supplied from the battery 42 is supplied to the arithmetic element 40 after being made constant by the 5V regulator 47. The electric power supplied from the battery 42 is also supplied to the 5V regulator 46 of the ECU via the ignition switch 41 that can be operated by the driver at any time to turn it on and off.

【0011】5Vレギュレータ46は、ECUの入出力
インターフェイス48を通じて、エンジン制御に関する
ON−OFF可能な系統に電力を供給する。バッテリー
42からイグニッションスイッチ41を経て供給される
電力は、ECU以外の車内の他の電気装備にも供給され
る。
The 5V regulator 46 supplies electric power to an ON / OFF system for engine control through an input / output interface 48 of the ECU. The electric power supplied from the battery 42 through the ignition switch 41 is also supplied to other electric equipment inside the vehicle other than the ECU.

【0012】ウオッチドッグタイマ44は、演算素子4
0で遂行されるプログラムに挿入されたステップによっ
て演算素子40から定期的に送出されるパルス出力を受
け取り、パルス出力が途絶えた際に警報信号を出力す
る。ウオッチドッグタイマ44が出力する警報信号は、
演算素子40の電源を遮断することなく、そのプログラ
ム状態だけをリセットする。
The watchdog timer 44 includes an arithmetic element 4
A pulse output periodically sent from the arithmetic element 40 is received by the step inserted in the program executed at 0, and an alarm signal is output when the pulse output is interrupted. The alarm signal output by the watchdog timer 44 is
Only the programmed state is reset without shutting off the power of the arithmetic element 40.

【0013】[0013]

【発明が解決しようとする課題】図4のECU電源回路
では、演算素子40が複数のデジタル演算回路等を1チ
ップ上に一緒に配置して構成されている場合、ラッチア
ップという素子の異常現象が起こり得る。
In the ECU power supply circuit of FIG. 4, when the arithmetic element 40 is constituted by arranging a plurality of digital arithmetic circuits etc. together on one chip, an abnormal phenomenon of the element called latch-up. Can happen.

【0014】ラッチアップは、車体に落雷を生じた場合
や、人体に帯電した静電気が印加された場合、ICチッ
プ上の回路内に異常電流が流れ、設計された以外の回路
接続が発生することにより、ICが誤動作する現象を言
う。また、落雷や静電気が無くなった後も、設計された
以外の回路接続がその状態を保持し続ける場合もあり、
この状態を解除するためには、ICの電源を切るしかな
い。
Latch-up is caused by abnormal current flowing in the circuit on the IC chip when a lightning strike occurs on the vehicle body or when static electricity charged on the human body is applied, and circuit connection other than that designed occurs. Is a phenomenon in which the IC malfunctions. In addition, even after the lightning strike or static electricity disappears, the circuit connection other than the designed one may continue to maintain the state.
The only way to cancel this state is to turn off the IC power.

【0015】例えば、ラッチアップがADコンバータ4
0Aで発生すると、水温センサ49Aが正常に動作し、
正常な温度に相当する電圧を出力していても、ADコン
バータ40Aで水温センサ49Aのチャンネルが選択さ
れるたびに、ADコンバータ40Aからデジタル演算回
路に対して、異常なAD変換データが出力される可能性
がある。
For example, the latch-up is the AD converter 4
When it occurs at 0A, the water temperature sensor 49A operates normally,
Even when the voltage corresponding to the normal temperature is output, abnormal AD conversion data is output from the AD converter 40A to the digital arithmetic circuit every time the channel of the water temperature sensor 49A is selected by the AD converter 40A. there is a possibility.

【0016】そして、このとき、エンジン冷却の水温が
正常であるにもかかわらず、水温異常の警告表示がなさ
れ、ECUの演算素子は、勝手にフェイルセーフプログ
ラムに移行してしまう。例えば、自動車の運転速度がい
きなり30km/時以下に抑制されることになる。
At this time, although the engine cooling water temperature is normal, a warning message indicating that the water temperature is abnormal is displayed, and the arithmetic element of the ECU arbitrarily shifts to the fail-safe program. For example, the driving speed of an automobile is suddenly suppressed to 30 km / hour or less.

【0017】このような場合、運転者は、自分では水温
センサ49Aの正常/異常を判断しようがないため、実
際に水温が異常であるとか、水温センサ49Aの機能異
常であるとかと誤判断することになる。そして、自動車
をサービスセンターや修理工場に運び込んで正常な水温
センサ49Aを交換させる結果となる。
In such a case, the driver cannot judge whether the water temperature sensor 49A is normal / abnormal by himself, and thus makes a mistaken judgment that the water temperature is actually abnormal or that the water temperature sensor 49A is functionally abnormal. It will be. As a result, the vehicle is brought to a service center or a repair shop to replace the normal water temperature sensor 49A.

【0018】そして、水温センサ49Aを交換する際に
バッテリーが外されると、演算素子40の内部の出力状
態が初期化されて、ADコンバータ40Aからデジタル
演算回路に異常なAD変換データが出力されなくなるた
め、見掛け上、水温センサ49Aの交換によって問題解
決がなされたことになる。
When the battery is removed when the water temperature sensor 49A is replaced, the output state inside the arithmetic element 40 is initialized and abnormal AD conversion data is output from the AD converter 40A to the digital arithmetic circuit. Since it disappears, the problem is apparently solved by replacing the water temperature sensor 49A.

【0019】しかし、もし、このようなラッチアップ状
態が解除されないでそのまま放置されると、演算素子4
0のいくつかの内部素子に過電流が流れ続けて素子破壊
を引き起こし、バッテリー42の接続を外しても元の正
常な状態に復帰しなくなったり、深刻なシステム誤動作
や危険を発生することにもなる。
However, if such a latch-up state is not released and is left as it is, the arithmetic element 4
Overcurrent may continue to flow through some internal elements of 0 to cause element destruction, and even if the battery 42 is disconnected, the original normal state may not be restored, or serious system malfunction or danger may occur. Become.

【0020】本発明は、システムにダメージを与えるこ
となく、適正なタイミングで自動的に演算素子を初期化
できる電源回路を提供することを目的としている。
It is an object of the present invention to provide a power supply circuit capable of automatically initializing an arithmetic element at proper timing without damaging the system.

【0021】[0021]

【課題を解決するための手段】図1は本発明の基本的な
構成の説明図である。図1において、請求項1の電源回
路は、操作者によるON−OFF操作を随時実行可能な
ON−OFF電源11と、前記ON−OFF操作とは無
関係に電力供給を継続可能な常時電源12と、を有し、
少なくとも一部にプログラム演算部もしくは演算に使用
するデータ保管部を有する演算素子10に対して電力を
供給する電源回路において、前記演算素子10に対する
電力供給を前記常時電源12からの供給から、前記ON
−OFF電源11のみに切替え可能な切替え手段13
と、前記演算素子10における異常事態を検出して警告
信号を発生する異常検出手段14と、前記警告信号に応
じて前記切替え手段13を制御し、前記警告信号に応じ
て前記電力供給を前記ON−OFF電源11側に切替え
させ、かつ、少なくとも前記ON−OFF電源11がO
FF操作されて次回ON操作されるまでの間に、前記電
力供給を前記常時電源12側に復帰させる制御手段15
と、を設けたものである。
FIG. 1 is an explanatory view of the basic constitution of the present invention. In FIG. 1, the power supply circuit according to claim 1 is an ON-OFF power supply 11 capable of executing an ON-OFF operation by an operator at any time, and a constant power supply 12 capable of continuing power supply regardless of the ON-OFF operation. Has,
In a power supply circuit for supplying electric power to an arithmetic element 10 having at least a part of a program arithmetic section or a data storage section used for arithmetic, power is supplied to the arithmetic element 10 from the constant power supply 12 to the ON state.
-OFF switching means 13 capable of switching to only the power supply 11
An abnormality detecting means 14 for detecting an abnormal situation in the arithmetic element 10 to generate a warning signal, and the switching means 13 in response to the warning signal, and turning on the power supply in response to the warning signal. It is switched to the -OFF power supply 11 side, and at least the ON-OFF power supply 11 is turned on.
The control means 15 for returning the power supply to the constant power source 12 side between the FF operation and the next ON operation.
And, are provided.

【0022】請求項2の電源回路は、請求項1の電源回
路において、前記制御手段を、前記ON−OFF電源が
次回にON操作された際に、前記電力供給を前記常時電
源側に復帰させる手段、としたものである。
A power supply circuit according to a second aspect is the power supply circuit according to the first aspect, wherein the control means restores the power supply to the constant power supply side when the ON-OFF power supply is turned ON next time. Means.

【0023】[0023]

【作用】図1において、請求項1の電源回路では、演算
素子10や周囲の演算回路に異常が発生した場合に、少
なくともシステムに危険やはなはだしい誤動作を発生し
ない限りは、とりあえず演算素子10のプログラムを先
頭から動作させて、演算の初期化を遂行させる。
In FIG. 1, in the power supply circuit according to claim 1, when an abnormality occurs in the arithmetic element 10 or a peripheral arithmetic circuit, at least as long as the system does not cause a dangerous or a serious malfunction, the program of the arithmetic element 10 is for the time being. Is operated from the beginning to carry out initialization of calculation.

【0024】そして、操作者によって次回にON−OF
F電源11がOFFされる機会を利用して、演算素子1
0の電源を遮断し、演算素子10や周囲の演算回路の異
常を解除する。
Then, the operator turns ON-OF next time.
Utilizing the opportunity to turn off the F power supply 11, the computing element 1
The power of 0 is cut off, and the abnormality of the arithmetic element 10 and the peripheral arithmetic circuits is released.

【0025】そして、その後、例えば、OFFされた後
の一定時間の経過後に、演算素子10の電源状態を元通
りに復帰させ、演算素子10や周囲の演算回路を自動的
に初期化して、少なくとも演算素子10に関するそれま
での異常の根本的な原因を除去する。
Then, for example, after a lapse of a certain time after being turned off, the power supply state of the arithmetic element 10 is restored to the original state, and the arithmetic element 10 and the peripheral arithmetic circuits are automatically initialized to at least The root cause of the abnormality in the arithmetic element 10 up to that point is eliminated.

【0026】請求項2の電源回路では、操作者によって
ON−OFF電源11がOFFされた後、次回、操作者
によってON−OFF電源11がONされた際に、演算
素子の電源状態を元通りに復帰させる。
According to another aspect of the power supply circuit of the present invention, after the operator turns off the on-off power supply 11, the next time the operator turns on the on-off power supply 11, the power supply state of the arithmetic element is restored. Return to.

【0027】[0027]

【実施例】図2は実施例のECU電源回路の説明図であ
る。図中、(a) は回路構成、(b)は処理回路の詳細を示
す。ここでは、処理回路に異常発生が通知された時刻に
演算素子に対する電源供給をイグニッションスイッチ側
に切り替えて、演算素子におけるプログラム処理をその
まま継続させる。そして、操作者が、その後、イグニッ
ションスイッチを再度ONした際に、演算素子等の初期
化を実行する。
FIG. 2 is an explanatory diagram of an ECU power supply circuit of the embodiment. In the figure, (a) shows the circuit configuration and (b) shows the details of the processing circuit. Here, the power supply to the arithmetic element is switched to the ignition switch side at the time when the abnormality is notified to the processing circuit, and the program processing in the arithmetic element is continued. Then, when the operator thereafter turns on the ignition switch again, initialization of the arithmetic element and the like is executed.

【0028】図2(a) において、実施例の電源装置で
は、演算素子20は、同一チップ上にデジタル演算回路
とADコンバータ20Aを一緒に形成した素子である。
ADコンバータ20Aは、デジタル演算回路側からの指
令に応じて入力チャンネル、例えば、水温センサ29A
を選択し、アナログ電圧をデジタル値に変換する。
In FIG. 2A, in the power supply device of the embodiment, the arithmetic element 20 is an element in which a digital arithmetic circuit and an AD converter 20A are formed together on the same chip.
The AD converter 20A has an input channel, for example, a water temperature sensor 29A, in response to a command from the digital arithmetic circuit side.
Select to convert the analog voltage to a digital value.

【0029】演算素子20のデジタル演算回路は、この
デジタル値を用いて必要な演算操作を遂行する。演算素
子20の出力は、出力インターフェイス28を経て、エ
ンジン制御に関する各種機器に出力される。
The digital arithmetic circuit of the arithmetic element 20 performs the necessary arithmetic operation using this digital value. The output of the arithmetic element 20 is output to various devices related to engine control via the output interface 28.

【0030】バッテリー22の供給電力は、通常、5V
レギュレータ27で定電圧化された後に演算素子20に
供給される。バッテリー22の供給電力は、また、イグ
ニッションスイッチ21を経て、5Vレギュレータ26
に供給される。5Vレギュレータ26は、入出力インタ
ーフェイス28を通じて、エンジン制御に関するON−
OFF可能な系統に電力を供給する。
The power supplied to the battery 22 is usually 5V.
It is supplied to the arithmetic element 20 after being made a constant voltage by the regulator 27. The power supplied from the battery 22 is also supplied to the 5V regulator 26 via the ignition switch 21.
Is supplied to. The 5V regulator 26 is turned on through the input / output interface 28 for engine control.
Supply power to the system that can be turned off.

【0031】ダイオード23Aは、バッテリー22から
5Vレギュレータ26への供給を無くし、かつ、IGス
イッチ21から5Vレギュレータ27への供給を可能に
するために設けてある。
The diode 23A is provided to eliminate the supply from the battery 22 to the 5V regulator 26 and to enable the supply from the IG switch 21 to the 5V regulator 27.

【0032】ウオッチドッグタイマ24Aは、演算素子
20から定期的に送出されるパルス出力が途絶えた際に
警報信号を出力する。ウオッチドッグタイマ24Aが出
力する警報信号は、演算素子20のプログラムの進行を
リセットする。
The watchdog timer 24A outputs an alarm signal when the pulse output periodically sent from the arithmetic element 20 is interrupted. The alarm signal output by the watchdog timer 24A resets the progress of the program of the arithmetic element 20.

【0033】処理回路25は、ウオッチドッグタイマ2
4Aや他の異常検出回路、例えば、ECUの各部の過電
流や異常出力の検知器、バッテリー22の過電圧の検知
器等から異常が通報された場合に、リレー23Rの接点
を開いて、5Vレギュレータ27への電力供給をバッテ
リー22側から、イグニッションスイッチ21側のみに
切り替える。
The processing circuit 25 uses the watchdog timer 2
4A or another abnormality detection circuit, for example, when an abnormality is reported from a detector of overcurrent or abnormality output of each part of the ECU, a detector of overvoltage of the battery 22, or the like, the contact of the relay 23R is opened to open the 5V regulator. The power supply to 27 is switched from the battery 22 side to only the ignition switch 21 side.

【0034】このとき、バッテリー22の出力は、イグ
ニッションスイッチ21からダイオード23Aを経て5
Vレギュレータ27に達し、演算素子20に停電を起こ
すことなく電力供給の切り替えが実行される。
At this time, the output of the battery 22 is 5 from the ignition switch 21 through the diode 23A.
The power supply is switched without reaching the V regulator 27 and causing a power failure in the arithmetic element 20.

【0035】処理回路25は、また、リレー23Rの接
点を開いた以降で、最初にイグニッションスイッチ21
がONされた際に、リレー23Rの接点を閉じる。これ
により、5Vレギュレータ27を介した演算素子20へ
の電力供給は、元通り、バッテリー22から直接に供給
され始める。
The processing circuit 25 also first opens the ignition switch 21 after the contact of the relay 23R is opened.
When is turned on, the contact of the relay 23R is closed. As a result, the power supply to the arithmetic element 20 via the 5V regulator 27 starts to be directly supplied from the battery 22 again.

【0036】図2(b) において、リレー23Rは、常時
接点を閉じており、コイルに電流を流すと接点を開く。
そして、リレー23Rの接点は、トランジスタ23Cが
ONしたときに開く。フリップフロップ23Dは、端子
CLKに供給されるパルスの立ち上がりで出力Qを反転
させて、トランジスタ23Cを制御する。リセット回路
23Eは、微分回路を形成するコンデンサと抵抗、逆方
向サージを吸収するダイオードを含む。
In FIG. 2 (b), the relay 23R has its contact closed at all times and opens the contact when a current is applied to the coil.
Then, the contact of the relay 23R opens when the transistor 23C is turned on. The flip-flop 23D inverts the output Q at the rising edge of the pulse supplied to the terminal CLK and controls the transistor 23C. The reset circuit 23E includes a capacitor that forms a differentiating circuit, a resistor, and a diode that absorbs a reverse surge.

【0037】フリップフロップ23Dの電源は、リレー
23Rの接点よりもバッテリー22側から取り出され、
リレー23Rの接点が開いて、その後、イグニッション
スイッチ21がOFFされても、フリップフロップ23
Dは動作を継続する。
The power source of the flip-flop 23D is taken out from the battery 22 side from the contact of the relay 23R,
Even if the contact of the relay 23R is opened and then the ignition switch 21 is turned off, the flip-flop 23
D continues to operate.

【0038】OR回路24Dは、ウオッチドッグタイマ
24Aや他の異常検出回路から警告信号が発せられた際
に、Lレベルの短いパルスで構成されるリセット信号を
出力する。リセット信号は、中継回路24Eを経てHレ
ベルのパルスとなって、フリップフロップ23Dのクロ
ック入力CLKに入力される。
The OR circuit 24D outputs a reset signal composed of a short L level pulse when a warning signal is issued from the watchdog timer 24A or another abnormality detection circuit. The reset signal becomes an H level pulse through the relay circuit 24E and is input to the clock input CLK of the flip-flop 23D.

【0039】フリップフロップ23Dは、クロック入力
CLKの立ち上がりで、入力Dの値を出力Qから出し、
トランジスタ23CをONさせて、リレー23Rの接点
を開く。その後、運転者がイグニッションスイッチ21
をOFFすると、イグニッションスイッチ21をOFF
してもリレー23Rの接点は開き放しであるから、5V
レギュレータ27への電力供給は途絶える。そのため、
例えば、演算素子20がラッチアップしていても、この
時点で解消される。
The flip-flop 23D outputs the value of the input D from the output Q at the rising edge of the clock input CLK,
The transistor 23C is turned on to open the contact of the relay 23R. After that, the driver turns on the ignition switch 21.
When the switch is turned off, the ignition switch 21 is turned off
However, the contact of relay 23R is left open, so 5V
The power supply to the regulator 27 is cut off. for that reason,
For example, even if the arithmetic element 20 is latched up, it is resolved at this point.

【0040】そして、次回、イグニッションスイッチ2
1がONされると、リセット回路23Eの微分回路を通
じてフリップフロップ23Dがリセットされ、出力Qが
Lレベル出力してトランジスタ23CをOFFし、リレ
ー23Rの接点を元の閉じた状態に復帰させる。
Next time, the ignition switch 2
When 1 is turned on, the flip-flop 23D is reset through the differentiation circuit of the reset circuit 23E, the output Q is output at the L level, the transistor 23C is turned off, and the contact of the relay 23R is returned to the original closed state.

【0041】図3において、図2(a) のイグニッション
スイッチ21をONして、自動車の運転が開始する。前
回の運転時に警告信号が発生してなかったので、リレー
23Rは閉じたままで、演算素子20の電源は、バッテ
リー22から常時供給されていた。
In FIG. 3, the ignition switch 21 of FIG. 2 (a) is turned on to start the operation of the automobile. Since the warning signal was not generated during the previous operation, the relay 23R was kept closed and the power source of the arithmetic element 20 was constantly supplied from the battery 22.

【0042】しかし、運転中に演算素子20に異常が発
生してしまい、警告信号からリセット信号、さらに、図
2(b) のフリップフロップ23DのCLK端子にパルス
入力がなされた。フリップフロップ23Dの立ち上がり
タイミングで出力Qが反転するが、演算素子20の電源
状態に見掛け上は変化が無く、演算素子20は、ウオッ
チドッグタイマ24Aによるプログラムリセットを受け
るが、プログラム制御を継続する。
However, an abnormality occurs in the arithmetic element 20 during operation, and a warning signal is input, a reset signal is input, and a pulse is input to the CLK terminal of the flip-flop 23D shown in FIG. 2B. Although the output Q is inverted at the rising timing of the flip-flop 23D, there is no apparent change in the power supply state of the arithmetic element 20, and the arithmetic element 20 receives the program reset by the watchdog timer 24A, but continues the program control.

【0043】その後、運転者が車輛を安全な場所に移動
する等した後に、イグニッションスイッチ21をOFF
すると、演算素子20に対する電力供給が途絶える。演
算素子20に対する電力供給が途絶えている期間に、例
えば、演算素子20のラッチアップ状態が解除される。
After that, after the driver moves the vehicle to a safe place, the ignition switch 21 is turned off.
Then, the power supply to the arithmetic element 20 is cut off. While the power supply to the arithmetic element 20 is interrupted, for example, the latch-up state of the arithmetic element 20 is released.

【0044】さらにその後、イグニッションスイッチ2
1がONされると、演算素子20に対する電力供給が元
通りに回復され、演算素子20が初期化プログラムを実
行して、演算素子20や周囲回路の状態を正常な状態に
復帰させる。
After that, the ignition switch 2
When 1 is turned on, the power supply to the arithmetic element 20 is restored to the original state, and the arithmetic element 20 executes the initialization program to restore the states of the arithmetic element 20 and the peripheral circuits to the normal state.

【0045】リセット回路23Eの微分パルスRは、イ
グニッションスイッチ21をONするごとに形成される
が、前回の運転時に出力Qが反転していない限り、出力
QはLレベルに保たれ、イグニッションスイッチ21の
ON−OFFにかかわらず、バッテリー22からリレー
23Rの接点を通じて演算素子20に電力が供給され続
ける。
The differential pulse R of the reset circuit 23E is formed every time the ignition switch 21 is turned on. However, unless the output Q is reversed at the previous operation, the output Q is kept at the L level and the ignition switch 21 is turned on. Regardless of whether it is ON or OFF, power is continuously supplied from the battery 22 to the arithmetic element 20 through the contact of the relay 23R.

【0046】本実施例では、運転中に警告信号が発生し
た場合には、イグニッションスイッチ21をOFFした
時点で演算素子20の電力供給を途絶えさせ、その後、
イグニッションスイッチ21をONした時点で演算素子
20等を初期化する手順を採用した。しかし、演算素子
20等を初期化するタイミングは、演算素子20の異常
が解除され得る時間を越えていれば、イグニッションス
イッチ21がONされるまで待つ必要は無い。
In this embodiment, when a warning signal is generated during operation, the power supply to the arithmetic element 20 is cut off at the time when the ignition switch 21 is turned off, and thereafter,
A procedure for initializing the arithmetic element 20 and the like when the ignition switch 21 is turned on is adopted. However, it is not necessary to wait until the ignition switch 21 is turned on as long as the timing for initializing the arithmetic element 20 and the like exceeds the time when the abnormality of the arithmetic element 20 can be canceled.

【0047】例えば、イグニッションスイッチ21をO
FFした後、10分経過後に、リレー23Rを通じた演
算素子20の電力供給を再開してもよい。
For example, set the ignition switch 21 to O
The power supply to the arithmetic element 20 via the relay 23R may be restarted 10 minutes after the FF.

【0048】[0048]

【発明の効果】請求項1の電源回路によれば、システム
にダメージを与えることなく、演算素子を適正に初期化
して、ラッチアップ等の異常を有効に除去できる。ま
た、操作者は、自分やシステムの都合に合わせて演算素
子を動作復帰させる時期を自由に選択できる。さらに、
電源遮断による演算素子等の異常の除去と、再接続によ
る初期化が自動的に遂行されるので、演算素子等の異常
の除去が確実に実行され、システム再起動時の信頼性が
確保される。
According to the power supply circuit of the first aspect, the arithmetic element can be properly initialized and damages such as latch-up can be effectively removed without damaging the system. Further, the operator can freely select the timing for returning the operation of the arithmetic element to his or her own convenience. further,
Abnormalities such as arithmetic elements are removed automatically by power-off and initialization by reconnection is performed automatically, so the abnormalities of arithmetic elements are reliably removed and reliability at system restart is secured. .

【0049】従って、例えば、自動車において、何らか
の異常が発生しても、フェイルセーフプログラム等で当
面の安全走行を確保し、自動車を安全な位置に移動した
り、緊急の運転スケジュールを消化した後に、改めて、
演算素子を初期化して異常を解決できる。また、演算素
子の異常をセンサ等の異常と誤判断して、センサ等を無
駄に交換することもない。
Therefore, for example, even if some abnormality occurs in a vehicle, after ensuring safe driving for the time being by a fail-safe program or the like, moving the vehicle to a safe position or consuming an emergency driving schedule, again,
The abnormality can be solved by initializing the arithmetic element. Further, it is not necessary to erroneously determine the abnormality of the arithmetic element as the abnormality of the sensor or the like and replace the sensor or the like unnecessarily.

【0050】そして、演算素子にラッチアップ等の異常
が発生した場合に、そのまま初期化することなく長期間
放置して、演算素子やシステムに致命的なダメージを与
えてしまうこともない。
When an abnormality such as a latch-up occurs in the arithmetic element, the arithmetic element and the system are not left to be left for a long time without being initialized and the arithmetic element and the system are not fatally damaged.

【0051】特に、CPUのチップ上にADコンバータ
や入出力回路を一緒に配置した演算素子で発生し易いラ
ッチアップ現象の解除に有効である。演算素子の電源を
遮断している期間に、チップ上の特定の回路素子の異常
な電圧が解除され、浮遊容量にチャージアップされた電
圧も解除され、それぞれの回路素子は、本来の機能を回
復できる。
In particular, it is effective for canceling the latch-up phenomenon that is likely to occur in the arithmetic element in which the AD converter and the input / output circuit are arranged together on the CPU chip. While the power supply to the arithmetic element is cut off, the abnormal voltage of the specific circuit element on the chip is released, the voltage charged up in the floating capacitance is also released, and each circuit element restores its original function. it can.

【0052】従って、ラッチアップに起因するデータ化
け、演算の狂い、プログラムの途中停止、演算素子の出
力状態等によるシステムへの悪影響を早期に解除でき、
放置による素子破壊を通じた深刻なシステム誤動作や危
険を回避できる。
Therefore, adverse effects on the system due to garbled data due to latch-up, operation error, program halt, intermediate device output state, etc. can be eliminated early.
It is possible to avoid serious system malfunction and danger due to element destruction caused by leaving it alone.

【0053】請求項2の電源回路によれば、演算素子に
対する電力供給を遮断した後、ラッチアップ等の異常が
解除されるまでの時間に合わせて、電源を遮断し続ける
時間を操作者が任意に設定できる。
According to the power supply circuit of the second aspect, the operator arbitrarily sets the time during which the power supply is continuously cut off in accordance with the time until the abnormality such as latch-up is canceled after the power supply to the arithmetic element is cut off. Can be set to.

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

【図1】本発明の基本的な構成の説明図である。FIG. 1 is an explanatory diagram of a basic configuration of the present invention.

【図2】実施例のECU電源回路の説明図である。FIG. 2 is an explanatory diagram of an ECU power supply circuit according to the embodiment.

【図3】実施例のフローチャートの説明図である。FIG. 3 is an explanatory diagram of a flowchart of an embodiment.

【図4】従来のECU電源回路の説明図である。FIG. 4 is an explanatory diagram of a conventional ECU power supply circuit.

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

10 演算素子 11 ON−OFF電源 12 常時電源 13 切替え手段 14 異常検出手段 15 制御手段 10 arithmetic element 11 ON-OFF power supply 12 constant power supply 13 switching means 14 abnormality detection means 15 control means

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H02J 9/00 R 9/06 502 E ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Office reference number FI technical display location H02J 9/00 R 9/06 502 E

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 操作者によるON−OFF操作を随時実
行可能なON−OFF電源(11)と、 前記ON−OFF操作とは無関係に電力供給を継続可能
な常時電源(12)と、を有し、 少なくとも一部に、プログラム演算部もしくは演算に使
用するデータ保管部を有する演算素子(10)に対して
電力を供給する電源回路において、 前記演算素子(10)に対する電力供給を、少なくとも
前記常時電源(12)からの供給から前記ON−OFF
電源(11)のみに切替え可能な切替え手段(13)
と、 前記演算素子(10)における異常事態を検出して警告
信号を発生する異常検出手段(14)と、 前記警告信号に応じて前記切替え手段(13)を制御
し、前記警告信号に応じて前記電力供給を前記ON−O
FF電源(11)側に切替えさせ、かつ、少なくとも前
記ON−OFF電源(11)がOFF操作されて次回O
N操作されるまでの間に、前記電力供給を前記常時電源
(12)側に復帰させる制御手段(15)と、を設けた
ことを特徴とする電源回路。
1. An ON-OFF power supply (11) capable of executing an ON-OFF operation by an operator at any time, and a constant power supply (12) capable of continuing power supply irrespective of the ON-OFF operation. In a power supply circuit that supplies power to a computing element (10) that has a program computing section or a data storage section used for computing, at least in part, at least the constant power supply to the computing element (10) is required. ON-OFF from the power supply (12)
Switching means (13) capable of switching only to the power supply (11)
An abnormality detecting means (14) for detecting an abnormal situation in the arithmetic element (10) and generating a warning signal; and a control means for controlling the switching means (13) according to the warning signal, and according to the warning signal. The power supply is switched to the ON-O
The FF power supply (11) is switched to the side, and at least the ON-OFF power supply (11) is turned OFF, and the next O
A power supply circuit comprising: a control means (15) for returning the power supply to the constant power supply (12) side until N operations are performed.
【請求項2】 請求項1の電源回路において、前記制御
手段は、 前記ON−OFF電源が次回にON操作された際に、前
記電力供給を前記常時電源側に復帰させる手段、である
ことを特徴とする電源回路。
2. The power supply circuit according to claim 1, wherein the control means is means for returning the power supply to the constant power supply side when the ON-OFF power supply is turned ON next time. Characteristic power supply circuit.
JP5211625A 1993-08-26 1993-08-26 Power supply circuit Withdrawn JPH0795734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5211625A JPH0795734A (en) 1993-08-26 1993-08-26 Power supply circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5211625A JPH0795734A (en) 1993-08-26 1993-08-26 Power supply circuit

Publications (1)

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

Family

ID=16608874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5211625A Withdrawn JPH0795734A (en) 1993-08-26 1993-08-26 Power supply circuit

Country Status (1)

Country Link
JP (1) JPH0795734A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2002030713A1 (en) * 2000-10-06 2004-02-19 株式会社ザナヴィ・インフォマティクス Automotive information equipment
WO2016125690A1 (en) * 2015-02-05 2016-08-11 日立オートモティブシステムズ株式会社 Vehicle control device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2002030713A1 (en) * 2000-10-06 2004-02-19 株式会社ザナヴィ・インフォマティクス Automotive information equipment
WO2016125690A1 (en) * 2015-02-05 2016-08-11 日立オートモティブシステムズ株式会社 Vehicle control device
JPWO2016125690A1 (en) * 2015-02-05 2017-09-21 日立オートモティブシステムズ株式会社 Vehicle control device
US10427626B2 (en) 2015-02-05 2019-10-01 Hitachi Automotive Systems, Ltd. Vehicle control device

Similar Documents

Publication Publication Date Title
JP5734472B1 (en) In-vehicle electronic control unit
AU685942B2 (en) Extended clock thermostat
US4147151A (en) Engine malfunction protection
JP4180597B2 (en) Abnormality detection device for power supply circuit
US7154194B2 (en) Power circuit of a vehicular electronic control unit
JPH0811942B2 (en) Engine controller
JP3970196B2 (en) Engine intake air amount control device and engine intake air amount control method
JP2002235598A (en) Controller for vehicle
JP6153815B2 (en) Electronic control unit for automobile
JPH0795734A (en) Power supply circuit
JP2007028812A (en) Power supply unit
US9071059B2 (en) Protective device against corrosion for an onboard electrical system and method for the control thereof
JP2003193905A (en) Reset device for outboard engine
US5107248A (en) Oil-pressure warning apparatus for automobiles
JP3142437B2 (en) Ignition device for internal combustion engine
US6148409A (en) Data transmission system
JP2018046646A (en) Power supply controller
KR100531732B1 (en) Starter control device
GB2572038A (en) Computer system, operational method for a microcontroller, and computer program product
JP2647187B2 (en) Engine start control device
JPH0465616B2 (en)
US20230191877A1 (en) Electronic control unit for a heat-generating electrical device of a vehicle
JP4584083B2 (en) Redundant power supply circuit
JP7021363B2 (en) Electronic control device
JP2571589Y2 (en) Watchdog detection control 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: 20001031