JPH10250501A - Self-diagnosing method and device for vehicular power generating circuit - Google Patents

Self-diagnosing method and device for vehicular power generating circuit

Info

Publication number
JPH10250501A
JPH10250501A JP5810797A JP5810797A JPH10250501A JP H10250501 A JPH10250501 A JP H10250501A JP 5810797 A JP5810797 A JP 5810797A JP 5810797 A JP5810797 A JP 5810797A JP H10250501 A JPH10250501 A JP H10250501A
Authority
JP
Japan
Prior art keywords
regulator
time
self
diagnosis
level
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
JP5810797A
Other languages
Japanese (ja)
Inventor
Nobuyuki Nishiwaki
伸幸 西脇
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 JP5810797A priority Critical patent/JPH10250501A/en
Publication of JPH10250501A publication Critical patent/JPH10250501A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent the performing of diagnostic detection by mistake even when a power supply is momentarily disconnected. SOLUTION: When a main switch 11 is turned on, an ECU 19 self-holds an ECU power supply with a main relay 20 actuated. A level confirmation circuit 26 confirms that the L terminal of a regulator 14 becomes low in level within a first time set in advance has elapsed after an ignition switch 11 has been turned on, and a standby OK flag is set to represent '1' in a standby RAM 23. The CPU allows diagnostic detection to be performed when a standby flag represents '0' at the time when a second time set in advance has been measured after the ECU power supply is turned on. Even if the ECU power supply is momentarily disconnected if only the regulator flag is set to represent '1', when the ECU power supply rises after momentary disconnection has taken place, and even if the output of the regulator terminal does not become low in level, a diagnostic detection will never be actuated.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、自動車の発電回路
に異常が生じた場合に、異常箇所を診断して記憶したり
表示したりする車両用発電回路の自己診断方法および装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a self-diagnosis method and apparatus for a vehicle power generation circuit for diagnosing, storing and displaying an abnormal location when an abnormality occurs in a power generation circuit of an automobile.

【0002】[0002]

【従来の技術】従来から、たとえば特開平6−7408
5で開示されているように、電子制御化された自動車の
各部のデータをバッテリでバックアップされるランダム
アクセスメモリ(以下「RAM」と略称する)などに記
憶し、総合的に解析する自動診断が行われている。自動
診断は、たとえばイグニッションスイッチを投入して車
両の運転を開始するときや、動作の異常が生じたときな
どに行われる。自己診断機能は、自動車に搭載される電
子制御装置(以下「ECU」と略称する)によって実行
される。ECUは、イグニッションスイッチが投入され
ると電源が供給されて動作可能となるけれども、イグニ
ッションスイッチが遮断されると、自己診断の途中でも
動作を停止してしまい、後からのデータの解析の際に正
確な診断を行うことができなくなるおそれがある。特開
平6−74085の先行技術では、データの不揮発性メ
モリへの記憶の途中の状態を表すフラグを用い、データ
が完全に記憶されているか否かを診断の際に判断して、
誤った診断を防ぐようにしている。
2. Description of the Related Art Conventionally, for example, Japanese Unexamined Patent Application Publication No.
As disclosed in Japanese Patent Application Laid-Open No. H05-5, there is an automatic diagnosis in which data of each part of an electronically controlled vehicle is stored in a random access memory (hereinafter abbreviated as “RAM”) backed up by a battery and comprehensively analyzed. Is being done. The automatic diagnosis is performed, for example, when the ignition switch is turned on to start driving the vehicle or when an operation abnormality occurs. The self-diagnosis function is executed by an electronic control unit (hereinafter abbreviated as “ECU”) mounted on the vehicle. When the ignition switch is turned on, the ECU is supplied with power and becomes operable.However, when the ignition switch is turned off, the ECU stops operation even during the self-diagnosis, and when the data is analyzed later, There is a possibility that accurate diagnosis cannot be performed. In the prior art of Japanese Patent Laid-Open No. 6-74085, a flag indicating a state in which data is being stored in a non-volatile memory is used to determine whether or not data is completely stored at the time of diagnosis.
Try to prevent wrong diagnosis.

【0003】図6は、自動車の発電回路の概略的な構成
を示す。イグニッションスイッチ1は、自動車の運転者
によって操作され、自動車の動作に必要な電力はバッテ
リ2および交流発電機と整流器を組合わせたオルタネー
タ3によって供給される。オルタネータ3は、エンジン
によって回転駆動され、回転速度によって出力電圧が変
動するので、レギュレータ4が用いられ、出力電圧が一
定の範囲内に制御される。エンジンの始動時には、イグ
ニッションスイッチ1をさらに回し、スタータ8を回転
駆動してエンジンを始動させる必要がある。エンジンの
制御や発電回路の自己診断のためには、ECU9が設け
られている。
FIG. 6 shows a schematic configuration of a power generation circuit of an automobile. The ignition switch 1 is operated by a driver of the vehicle, and electric power required for operation of the vehicle is supplied by a battery 2 and an alternator 3 which is a combination of an AC generator and a rectifier. The alternator 3 is driven to rotate by the engine, and the output voltage fluctuates depending on the rotation speed. Therefore, the regulator 4 is used to control the output voltage within a certain range. When starting the engine, it is necessary to further turn the ignition switch 1 to rotate the starter 8 to start the engine. An ECU 9 is provided for controlling the engine and performing self-diagnosis of the power generation circuit.

【0004】図7は、図6のECU9によって行われる
エンジンの起動または停止の判断の際の動作を示す。時
刻t0でイグニッションスイッチ(以下「IG SW」
と略称することもある)を投入すると、ECU9の電源
も投入される。レギュレータL端子は、時刻t0から時
刻t1まではローレベルであり、時刻t1以後ハイレベ
ルに立上がる。なお、ローレベルとハイレベルの区別
は、ECU9に搭載される半導体集積回路の入力論理レ
ベルに従って行うものとする。ECUの動作では、電源
投入後の初期動作の一環として、時刻t1以降の時刻t
2までダイアグチェック期間が設けられ、この期間内に
レギュレータL端子が一度もローレベルとならないとき
に自己診断であるダイアグノーシスの機能を作動させる
ようになっている。
FIG. 7 shows an operation performed by the ECU 9 shown in FIG. 6 when determining whether to start or stop the engine. At time t0, the ignition switch (hereinafter referred to as “IG SW”)
The power of the ECU 9 is also turned on. The regulator L terminal is at a low level from time t0 to time t1, and rises to a high level after time t1. The low level and the high level are distinguished according to the input logic level of the semiconductor integrated circuit mounted on the ECU 9. In the operation of the ECU, as part of the initial operation after turning on the power, the time t1
Up to two diagnostic check periods are provided, and when the regulator L terminal never goes low during this period, a diagnosis function, which is a self-diagnosis, is activated.

【0005】[0005]

【発明が解決しようとする課題】図7に示すようなレギ
ュレータL端子によるエンジンの作動または停止の判断
では、ECU電源にたとえば時刻t0から時刻t10か
ら時刻t11までの瞬間的な遮断である瞬断が生じる
と、再び初期動作が開始され、時刻t10からダイアグ
チェック期間の終了する時刻t12までにレギュレータ
L端子でローレベルを検出する。しかしながらこの期間
ではエンジンは正常に回転しているので、レギュレータ
L端子のレベルはハイレベルで一度もローレベルにはな
らない。したがってダイアグチェック期間で一度もロー
レベルを検出することができないため、自己診断機能で
あるダイアグノーシスの機能が開始される。ダイアグノ
ーシス機能が開始されると、たとえば車両の運転者に対
して、エンジン停止を示す表示がなされたり、各種制御
がフェールセーフ側に切換えられてしまい、車両の走行
速度が運転者にとって不所望な低速に切換えられてしま
うおそれもある。また、正常な部品を交換を要する部品
として誤認識してしまうおそれもある。
In the determination of the operation or stop of the engine by the regulator L terminal as shown in FIG. 7, the ECU power supply is momentarily interrupted, for example, a momentary interruption from time t0 to time t10 to time t11. Occurs, the initial operation is started again, and a low level is detected at the regulator L terminal from time t10 to time t12 when the diagnosis check period ends. However, during this period, since the engine is rotating normally, the level of the regulator L terminal is high and never goes to low. Therefore, since the low level cannot be detected at all in the diagnosis check period, a diagnosis function, which is a self-diagnosis function, is started. When the diagnosis function is started, for example, an indication that the engine is stopped is displayed to the driver of the vehicle, or various controls are switched to the fail-safe side, so that the traveling speed of the vehicle is undesired for the driver. There is a possibility that the speed may be switched to a low speed. Further, there is a possibility that a normal component is erroneously recognized as a component requiring replacement.

【0006】特開平6−74085の先行技術では、イ
グニッションスイッチの遮断に対してデータの記憶が途
中であるか否かを判断し、自己診断の誤りを防ぐことを
目的としているけれども、ECUの初期化動作に伴う判
断が、電源の瞬断によって誤るおそれが生じることにつ
いては、有効ではない。
The prior art of Japanese Patent Application Laid-Open No. 6-74085 aims at judging whether or not data storage is in progress after the ignition switch is shut off to prevent errors in self-diagnosis. It is not effective that there is a possibility that the judgment accompanying the conversion operation may be erroneous due to a momentary power interruption.

【0007】本発明の目的は、電源の瞬断があっても適
切にエンジンの始動または停止を判断することができる
車両用発電回路の自己診断方法および装置を提供するこ
とである。
An object of the present invention is to provide a method and apparatus for self-diagnosis of a power generation circuit for a vehicle, which can appropriately determine whether to start or stop the engine even if there is a momentary power failure.

【0008】[0008]

【課題を解決するための手段】本発明は、エンジンによ
って回転駆動される発電機と、発電機からの出力電圧を
所定範囲に保つレギュレータとを備える車両用発電回路
で、イグニッションスイッチの投入後、予め定める第1
時間内に、レギュレータからの出力電圧が予め定める範
囲の低レベルとなっているか否かを確認して、確認結果
を記憶しておき、動作用電力の投入後、第1時間よりも
長い予め定める第2時間経過後に、記憶されている確認
結果を参照し、レギュレータの出力レベルが低レベルと
なっていないとき、予め定める自己診断を行い、イグニ
ッションスイッチの遮断後に、確認結果を低レベルとな
っていないことを表すように初期化することを特徴とす
る車両用発電回路の自己診断方法である。本発明に従え
ば、イグニッションスイッチの投入後に予め定める第1
時間内でレギュレータが予め定める範囲の低レベルとな
ることが確認されると、発電回路は正常であることが判
る。動作用電力の投入後に第1時間よりも長い予め定め
る第2時間経過後にも自己診断は行わない。確認結果
は、イグニッションスイッチの遮断後に低レベルとなっ
ていないことを表すように初期化するので、イグニッシ
ョンスイッチの投入後の結果に従って、不必要な自己診
断を避けることができる。
SUMMARY OF THE INVENTION The present invention is a vehicle power generation circuit including a generator which is driven to rotate by an engine, and a regulator which keeps an output voltage from the generator within a predetermined range. Predetermined first
Within the time, it is checked whether or not the output voltage from the regulator is at a low level within a predetermined range, and the check result is stored, and after the power for operation is turned on, the predetermined time longer than the first time is determined. After the lapse of the second time, referring to the stored confirmation result, when the output level of the regulator is not low, a predetermined self-diagnosis is performed, and after the ignition switch is turned off, the confirmation result is low. A self-diagnosis method for a vehicle power generation circuit, characterized in that initialization is performed so as to indicate that there is no power generation circuit. According to the present invention, the first predetermined value after the ignition switch is turned on.
When it is confirmed that the regulator has a low level within a predetermined range within the time, it is determined that the power generation circuit is normal. The self-diagnosis is not performed even after a predetermined second time longer than the first time has elapsed after the input of the operating power. Since the confirmation result is initialized to indicate that the level has not become low after the ignition switch is turned off, unnecessary self-diagnosis can be avoided according to the result after the ignition switch is turned on.

【0009】さらに本発明は、イグニッションスイッチ
の投入後に、動作用電力が供給され、エンジンによって
回転駆動される発電機と、発電機からの出力電圧を所定
範囲に保つレギュレータとを備える車両用発電回路の自
己診断装置であって、動作用電力の投入後の経過時間を
計時する計時手段と、イグニッションスイッチの投入後
に、レギュレータからの出力電圧が予め定める範囲の低
レベルとなっているか否かを確認するレベル確認手段
と、計時時間が予め定める第1時間を計時するまでに、
レベル確認手段の確認結果を記憶する不揮発性メモリ
と、計時手段によって、第1時間よりも長い予め定める
第2時間が計時されるとき、不揮発性メモリに記憶され
ている確認結果を読出し、レギュレータからの出力が低
レベルとなっていないとき、予め定める自己診断を行う
自己診断手段と、イグニッションスイッチの遮断を検出
し、不揮発性メモリの確認結果をレギュレータからの出
力が低レベルとなっていないことを表すように初期化す
る初期化手段とを含むことを特徴とする車両用発電回路
の自己診断装置である。本発明に従えば、不揮発性メモ
リには、動作用電力の投入後計時手段によって予め定め
る第1時間を計時するまでにレギュレータからの出力電
圧が予め定める範囲の低レベルとなるか否かのレベル確
認手段による確認結果が記憶される。自己診断手段は、
計時手段によって第1時間よりも長い予め定める第2時
間が計時されるときに、不揮発性メモリに記憶されてい
る確認結果を読出して、レギュレータからの出力が低レ
ベルとなっていないときに予め定める自己診断を行う。
初期化手段は、イグニッションスイッチの遮断を検出
し、イグニッションスイッチが遮断されると不揮発性メ
モリの確認結果をレギュレータからの出力が低レベルと
なっていないことを表すように初期化するので、電源の
瞬断などが生じてもその立上がり時に自己診断が行われ
ることはなく、誤った自己診断機能の作動による不所望
な結果を防ぐことができる。
Further, the present invention provides a power generation circuit for a vehicle, comprising: a generator supplied with operating power after the ignition switch is turned on and driven to rotate by an engine; and a regulator for maintaining an output voltage from the generator in a predetermined range. A self-diagnosis device, which measures time elapsed after turning on the operating power and checks whether the output voltage from the regulator is at a low level within a predetermined range after turning on the ignition switch. Level confirmation means to perform, and by the time the time counts the predetermined first time,
A non-volatile memory for storing the confirmation result of the level confirmation means, and when the predetermined second time longer than the first time is measured by the timer, the confirmation result stored in the non-volatile memory is read out from the regulator. When the output of the regulator is not low, self-diagnosis means for performing a predetermined self-diagnosis, and detection of the ignition switch being shut off, and confirming the result of the nonvolatile memory that the output from the regulator is not low. A self-diagnosis device for a vehicular power generation circuit, comprising: initialization means for initializing as shown. According to the present invention, the nonvolatile memory has a level indicating whether or not the output voltage from the regulator falls to a low level within a predetermined range before the first time predetermined by the timing means is measured after the supply of the operating power. The confirmation result by the confirmation means is stored. The self-diagnosis means
When the predetermined second time longer than the first time is measured by the timer, the confirmation result stored in the non-volatile memory is read out, and the predetermined result is determined when the output from the regulator is not at a low level. Perform self-diagnosis.
The initialization means detects that the ignition switch has been turned off, and when the ignition switch is turned off, initializes the confirmation result of the nonvolatile memory so as to indicate that the output from the regulator is not at a low level. Even if an instantaneous interruption or the like occurs, self-diagnosis is not performed at the time of startup, and undesired results due to erroneous operation of the self-diagnosis function can be prevented.

【0010】[0010]

【発明の実施の形態】図1は、本発明の実施の一形態の
自己診断装置の概略的な電気的構成を示す。自己診断装
置10は、イグニッションスイッチ11の投入時に、エ
ンジンが正常に起動しているか否かを判断する。エンジ
ンの起動には、イグニッションスイッチ11をイグニッ
ション位置からさらにスタータ位置まで回す必要があ
る。イグニッションスイッチ11のイグニッション位置
では、バッテリ12とオルタネータ13およびレギュレ
ータ14の出力とが接続され、オルタネータ13で発電
され、レギュレータ14で一定範囲内に制限される直流
電力によってバッテリ12が充電される。イグニッショ
ンスイッチ11のスタータ位置では、バッテリ12から
の電力をスタータ18に導き、エンジンの始動を行う。
FIG. 1 shows a schematic electrical configuration of a self-diagnosis apparatus according to an embodiment of the present invention. When the ignition switch 11 is turned on, the self-diagnosis device 10 determines whether or not the engine has started normally. To start the engine, it is necessary to turn the ignition switch 11 from the ignition position to the starter position. At the ignition position of the ignition switch 11, the battery 12 is connected to the output of the alternator 13 and the regulator 14, the alternator 13 generates power, and the regulator 14 charges the battery 12 with DC power limited to a certain range. At the starter position of the ignition switch 11, the electric power from the battery 12 is guided to the starter 18 to start the engine.

【0011】エンジンが正常に始動すると、オルタネー
タ13が回転駆動され、バッテリ12を充電することが
できる電圧がレギュレータ14から発生される。このよ
うなレギュレータ14の出力電圧の変化を、ECU19
によって監視し、エンジンが正常に作動しているか否か
を判断する。ECU19は、イグニッションスイッチ1
1がイグニッション位置まで回されるときに電源が供給
され、メインリレー20によってイグニッションスイッ
チ11がイグニッション位置から遮断されても一定時間
内はバッテリ12からの電力が供給されるような自己保
持回路が構成されている。
When the engine starts normally, the alternator 13 is driven to rotate, and a voltage capable of charging the battery 12 is generated from the regulator 14. Such a change in the output voltage of the regulator 14 is
Monitoring to determine whether the engine is operating normally. The ECU 19 includes the ignition switch 1
1 is turned on to the ignition position, power is supplied, and even if the ignition switch 11 is cut off from the ignition position by the main relay 20, a self-holding circuit is configured to supply power from the battery 12 for a certain period of time. Have been.

【0012】ECU19内には、中央処理装置(以下
「CPU」と略称する)21、読出し専用メモリ(以下
「ROM」と略称する)22、バッテリバックアップさ
れるスタンバイRAM23、タイマ24、初期化回路2
5およびレベル確認回路26などが含まれる。レベル確
認回路26は、レギュレータ14の端子Lの電圧を検出
し、出力レベルを確認する。
In the ECU 19, a central processing unit (hereinafter abbreviated as "CPU") 21, a read-only memory (hereinafter abbreviated as "ROM") 22, a standby RAM 23 backed up by a battery, a timer 24, and an initialization circuit 2
5 and a level confirmation circuit 26 are included. The level check circuit 26 detects the voltage of the terminal L of the regulator 14 and checks the output level.

【0013】図2は、図1のECU19による電源回路
の自己診断動作を示す。ステップa1から動作を開始
し、ステップa2ではイグニッションスイッチ11の投
入が行われる。ステップa3では、メインリレー20が
ON状態となる。ステップa4では電源投入から第1時
間であるレベル確認時間が経過しているか否かを判断す
る。経過していないと判断されるときには、レギュレー
タL端子がローレベルであるか否かを判断する。ローレ
ベルとなっているときには、ステップa6でスタンバイ
RAM23または不揮発性の読出し専用メモリであるE
2PROMなどに設けられるレギュレータOKフラグを
1とする。ステップa6が終了したとき、またはステッ
プa4またはステップa4で電源投入からレベル確認時
間が経過していると判断されるとき、またはステップa
5でレギュレータL端子がローレベルでないと判断され
るときには、ステップa7に移る。ステップa7ではレ
ギュレータOKフラグのチェックタイミングである第2
時間が経過しているか否かを判断する。ステップa8で
は、レギュレータOKフラグが0であるか否かを判断す
る。ステップa6でレギュレータOKフラグが1としな
かったことが検出されると、ステップa9に移り、自己
診断機能であるダイアグ検出を行う。ステップa7でレ
ギュレータOKフラグチェックタイミングでないと判断
されるとき、ステップa8でレギュレータOKフラグが
0でない、すなわち1であると判断されるとき、または
ステップa9の処理が終了すると、ステップa10に移
る。ステップa10ではイグニッションスイッチがON
からOFFに変わっているか否かを判断する。変わって
いないと判断されるときには、ステップa4に戻る。ス
テップa10でイグニッションスイッチがOFFになっ
たと判断されるときには、レギュレータOKフラグを0
にリセットし、ステップa12でメインリレー20をO
FFとし、ステップa13で処理を終了する。
FIG. 2 shows a self-diagnosis operation of the power supply circuit by the ECU 19 of FIG. The operation starts from step a1. In step a2, the ignition switch 11 is turned on. At step a3, the main relay 20 is turned on. In step a4, it is determined whether or not a level confirmation time as a first time has elapsed since the power was turned on. When it is determined that the elapsed time has not elapsed, it is determined whether the regulator L terminal is at a low level. When it is at the low level, the standby RAM 23 or the nonvolatile read-only memory E
2 Set the regulator OK flag provided in the PROM or the like to 1. When step a6 is completed, or when it is determined in step a4 or step a4 that the level check time has elapsed since the power was turned on, or in step a4.
When it is determined in step 5 that the regulator L terminal is not at the low level, the process proceeds to step a7. In step a7, the second check timing of the regulator OK flag is set.
It is determined whether time has elapsed. In step a8, it is determined whether or not the regulator OK flag is 0. If it is detected in step a6 that the regulator OK flag has not been set to 1, the flow proceeds to step a9, in which a diagnosis as a self-diagnosis function is performed. When it is determined in step a7 that it is not the regulator OK flag check timing, when it is determined in step a8 that the regulator OK flag is not 0, that is, when it is 1, or when the process of step a9 is completed, the process proceeds to step a10. In step a10, the ignition switch is turned on
Is determined to have changed from OFF to OFF. When it is determined that it has not changed, the process returns to step a4. When it is determined in step a10 that the ignition switch has been turned off, the regulator OK flag is set to 0.
And the main relay 20 is turned off in step a12.
FF is set, and the process ends at step a13.

【0014】図3は、図2の処理に従う自己診断のタイ
ミングを示す。時刻t20からイグニッションスイッチ
をONにして投入すると、時刻t21まで、予め定める
第1時間である時刻t22から時刻t20までの時間内
にレギュレータL端子がローレベルとなっているので、
スタンバイRAM23の特定番地に設定されるレギュレ
ータOKフラグが0から1に立てられる。イグニッショ
ンスイッチ投入から第2時間である時間が経過する時刻
t23では、スタンバイRAM23に記憶されているフ
ラグのチェックを行う。この場合はレギュレータOKフ
ラグが立っているので、ダイアグ検出の動作は行われな
い。
FIG. 3 shows the timing of the self-diagnosis according to the processing of FIG. When the ignition switch is turned on from time t20 and turned on, the regulator L terminal is at the low level during the time from time t22 to time t20, which is the first predetermined time, until time t21.
A regulator OK flag set at a specific address in the standby RAM 23 is set from 0 to 1. At time t23 when the second time has elapsed since the ignition switch was turned on, the flag stored in the standby RAM 23 is checked. In this case, since the regulator OK flag is set, no diagnostic detection operation is performed.

【0015】図4は、図2のステップa10からステッ
プa13までの動作を示す。時刻t20でイグニッショ
ンスイッチ11が投入されECU電源も投入された後、
時刻t24でイグニッションスイッチがOFFに遮断さ
れると、ECU電源は数秒間時間が遅れる時刻t25で
遮断される。図1に示すメインリレー20は、イグニッ
ションスイッチ11が遮断されても、リレーコイルの励
磁を停止するまでは自己保持するので、この数秒間のE
CU電源の保持が可能となる。この間にスタンバイRA
M23のレギュレータOKフラグの記憶内容を0にリセ
ットする。イグニッションスイッチ11の遮断に応答し
て、自己診断用のデータを採集し、スタンバイRAM2
3に記憶することもできる。
FIG. 4 shows the operation from step a10 to step a13 in FIG. At time t20, after the ignition switch 11 is turned on and the ECU power is also turned on,
When the ignition switch is turned off at time t24, the ECU power supply is turned off at time t25, which is delayed by several seconds. The main relay 20 shown in FIG. 1 holds the self-holding until the excitation of the relay coil is stopped even if the ignition switch 11 is cut off.
The CU power can be held. During this time, the standby RA
The storage contents of the regulator OK flag of M23 are reset to 0. In response to the turning off of the ignition switch 11, data for self-diagnosis is collected and the standby RAM 2
3 can also be stored.

【0016】図5は、イグニッションスイッチ11がO
Nの状態で、ECU電源に瞬断が生じるときの本実施形
態と従来の考え方との違いを示す。時刻t20からイグ
ニッションスイッチ11が投入され、時刻t21までに
レギュレータL端子にローレベルが検出されると、レギ
ュレータOKフラグはローレベルを最初に検出した時点
でハイレベルに立上がる。従来の考え方では、イグニッ
ションスイッチ11の投入後一定時間である時刻t22
までにレギュレータL端子のレベルがローレベルであれ
ばレギュレータOKフラグは1にセットされる。しかし
ながら、ECU電源が時刻t30から時刻t31までの
短い間瞬断で停止すると、本実施形態ではイグニッショ
ンスイッチ11は投入されたままであるので、レギュレ
ータOKフラグのリセットは生じない。レギュレータO
KフラグはスタンバイRAM23に記憶されているの
で、ECU電源が瞬断しても記憶内容は保持されてい
る。一方従来の考え方で、ECUの電源が立上がる際に
レギュレータL端子レベルの確認を行うようにしている
と、瞬断によってECUがリセットし、再びレギュレー
タL端子レベルの確認を行う。この際には、レギュレー
タL端子のレベルはハイレベルのままであるので、レギ
ュレータダイアグとして予め設定されている自己診断動
作が開始してしまう。
FIG. 5 shows that the ignition switch 11 is
The difference between the present embodiment and the conventional concept when a momentary interruption occurs in the ECU power supply in the state of N will be described. When the ignition switch 11 is turned on from time t20 and a low level is detected at the regulator L terminal by time t21, the regulator OK flag rises to a high level when the low level is first detected. According to the conventional idea, at time t22, which is a fixed time after the ignition switch 11 is turned on.
By this time, if the level of the regulator L terminal is at the low level, the regulator OK flag is set to 1. However, if the ECU power supply is stopped for a short period of time from time t30 to time t31, the ignition switch 11 is kept turned on in this embodiment, and thus the reset of the regulator OK flag does not occur. Regulator O
Since the K flag is stored in the standby RAM 23, the stored contents are retained even when the ECU power supply is momentarily interrupted. On the other hand, if the regulator L terminal level is checked when the power supply of the ECU rises according to the conventional concept, the ECU is reset due to a momentary interruption, and the regulator L terminal level is checked again. In this case, since the level of the regulator L terminal remains at the high level, the self-diagnosis operation preset as the regulator diagnosis starts.

【0017】本実施形態では、レギュレータOKフラグ
を電源のバックアップによって記憶内容が保持されるス
タンバイRAM23に記憶するようにしているけれど
も、電気的に書換え可能な不揮発性の読出し専用メモリ
であるE2PROMなどを用いてレギュレータOKフラ
グの記憶を行うこともできる。
In this embodiment, the regulator OK flag is stored in the standby RAM 23 in which the stored contents are retained by backing up the power supply. However, the electrically rewritable nonvolatile read-only memory E 2 PROM is used. The storage of the regulator OK flag can also be performed by using such a method.

【0018】[0018]

【発明の効果】以上のように本発明によれば、イグニッ
ションスイッチ投入後の第1時間内でレギュレータ出力
電圧がローレベルとなることを検出しないときに、動作
用電源の投入後第2時間に予め定める自己診断を行うよ
うにしているので、イグニッションスイッチが投入され
たまま電源の瞬断などが生じても、誤った自己診断機能
の作動を行わないようにすることができる。
As described above, according to the present invention, when it is not detected that the regulator output voltage becomes low level within the first time after the ignition switch is turned on, the second time after the operation power supply is turned on. Since the self-diagnosis is performed in advance, it is possible to prevent an erroneous operation of the self-diagnosis function even if an instantaneous interruption of the power or the like occurs while the ignition switch is turned on.

【0019】さらに本発明によれば、自己診断手段は、
不揮発性メモリにレベル確認手段によってレギュレータ
の出力レベルが予め定める範囲の低レベルとならないこ
とが確認された後で、動作用電源投入後予め定める第2
時間経過後に自己診断を開始させる。初期化手段は、イ
グニッションスイッチの遮断後に不揮発性メモリの初期
化を行い、レベル確認手段の確認結果をレベル確認手段
がレギュレータの出力電圧が低レベルとならないことを
表すようにするので、イグニッションスイッチ投入後の
第1時間経過までの間にレギュレータレベルが低レベル
となるときにだけ自己診断機能の作動が停止され、不要
な自己診断の起動による不具合を避けることができる。
Further according to the invention, the self-diagnosis means comprises:
After the non-volatile memory confirms that the output level of the regulator is not at a low level within the predetermined range by the level checking means, the second predetermined level after the power for operation is turned on.
Start self-diagnosis after a lapse of time. The initialization means initializes the non-volatile memory after the ignition switch is turned off, and turns on the ignition switch because the level confirmation means indicates that the output voltage of the regulator does not become low level. The operation of the self-diagnosis function is stopped only when the regulator level becomes low before the elapse of the first time later, thereby avoiding trouble caused by unnecessary activation of the self-diagnosis.

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

【図1】本発明の実施の一形態の概略的な電気的構成を
示すブロック図である。
FIG. 1 is a block diagram showing a schematic electrical configuration of an embodiment of the present invention.

【図2】図1のECU19の処理を示すフローチャート
である。
FIG. 2 is a flowchart showing a process of an ECU 19 in FIG.

【図3】図1の自己診断装置の動作を示すタイムチャー
トである。
FIG. 3 is a time chart showing an operation of the self-diagnosis device of FIG. 1;

【図4】図1の自己診断装置の動作を示すタイムチャー
トである。
FIG. 4 is a time chart showing an operation of the self-diagnosis device of FIG. 1;

【図5】ECU電源に瞬断が生じたときの図1の自己診
断装置と従来の考え方の自己診断装置との動作の違いを
示すタイムチャートである。
5 is a time chart showing a difference in operation between the self-diagnosis device of FIG. 1 and a conventional self-diagnosis device when a momentary interruption occurs in the ECU power supply.

【図6】一般的な車両用発電回路の簡略化した構成を示
すブロック図である。
FIG. 6 is a block diagram showing a simplified configuration of a general vehicle power generation circuit.

【図7】従来からの自己診断装置の動作を示すタイムチ
ャートである。
FIG. 7 is a time chart showing an operation of a conventional self-diagnosis device.

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

10 自己診断装置 11 イグニッションスイッチ 12 バッテリ 13 オルタネータ 14 レギュレータ 19 ECU 20 メインリレー 21 CPU 22 ROM 23 スタンバイRAM 24 タイマ 25 初期化回路 26 レベル確認回路 Reference Signs List 10 Self-diagnosis device 11 Ignition switch 12 Battery 13 Alternator 14 Regulator 19 ECU 20 Main relay 21 CPU 22 ROM 23 Standby RAM 24 Timer 25 Initialization circuit 26 Level check circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 エンジンによって回転駆動される発電機
と、発電機からの出力電圧を所定範囲に保つレギュレー
タとを備える車両用発電回路で、 イグニッションスイッチの投入後、予め定める第1時間
内に、レギュレータからの出力電圧が予め定める範囲の
低レベルとなっているか否かを確認して、確認結果を記
憶しておき、 動作用電力の投入後、第1時間よりも長い予め定める第
2時間経過後に、記憶されている確認結果を参照し、レ
ギュレータの出力レベルが低レベルとなっていないと
き、予め定める自己診断を行い、 イグニッションスイッチの遮断後に、確認結果を低レベ
ルとなっていないことを表すように初期化することを特
徴とする車両用発電回路の自己診断方法。
1. A vehicular power generation circuit comprising: a generator rotatably driven by an engine; and a regulator for maintaining an output voltage from the generator within a predetermined range. Check whether the output voltage from the regulator is at a low level in a predetermined range, store the check result, and after turning on the operating power, a predetermined second time longer than the first time has elapsed. Later, referring to the stored confirmation result, when the output level of the regulator is not low, a predetermined self-diagnosis is performed, and after the ignition switch is turned off, it indicates that the confirmation result is not low. Self-diagnosis method for a vehicle power generation circuit.
【請求項2】 イグニッションスイッチの投入後に、動
作用電力が供給され、エンジンによって回転駆動される
発電機と、発電機からの出力電圧を所定範囲に保つレギ
ュレータとを備える車両用発電回路の自己診断装置であ
って、 動作用電力の投入後の経過時間を計時する計時手段と、 イグニッションスイッチの投入後に、レギュレータから
の出力電圧が予め定める範囲の低レベルとなっているか
否かを確認するレベル確認手段と、 計時時間が予め定める第1時間を計時するまでに、レベ
ル確認手段の確認結果を記憶する不揮発性メモリと、 計時手段によって、第1時間よりも長い予め定める第2
時間が計時されるとき、不揮発性メモリに記憶されてい
る確認結果を読出し、レギュレータからの出力が低レベ
ルとなっていないとき、予め定める自己診断を行う自己
診断手段と、 イグニッションスイッチの遮断を検出し、不揮発性メモ
リの確認結果をレギュレータからの出力が低レベルとな
っていないことを表すように初期化する初期化手段とを
含むことを特徴とする車両用発電回路の自己診断装置。
2. A self-diagnosis of a vehicular power generation circuit including a generator supplied with operating power after being turned on by an ignition switch and rotationally driven by an engine, and a regulator for maintaining an output voltage from the generator in a predetermined range. A device, comprising: a time-measuring means for measuring an elapsed time after turning on the operating power; and a level check for checking whether or not the output voltage from the regulator is at a low level within a predetermined range after turning on the ignition switch. Means, a non-volatile memory for storing a result of confirmation by the level confirmation means before the first time is counted, and a second predetermined time longer than the first time by the time measuring means.
When the time is measured, the confirmation result stored in the non-volatile memory is read, and when the output from the regulator is not at a low level, self-diagnosis means for performing a predetermined self-diagnosis and detection of ignition switch shutoff An initialization means for initializing the result of checking the non-volatile memory to indicate that the output from the regulator is not at a low level.
JP5810797A 1997-03-12 1997-03-12 Self-diagnosing method and device for vehicular power generating circuit Withdrawn JPH10250501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5810797A JPH10250501A (en) 1997-03-12 1997-03-12 Self-diagnosing method and device for vehicular power generating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5810797A JPH10250501A (en) 1997-03-12 1997-03-12 Self-diagnosing method and device for vehicular power generating circuit

Publications (1)

Publication Number Publication Date
JPH10250501A true JPH10250501A (en) 1998-09-22

Family

ID=13074757

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5810797A Withdrawn JPH10250501A (en) 1997-03-12 1997-03-12 Self-diagnosing method and device for vehicular power generating circuit

Country Status (1)

Country Link
JP (1) JPH10250501A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016053519A (en) * 2014-09-03 2016-04-14 タイセイ電機株式会社 Power generator with automatic maintenance diagnostic function and maintenance diagnostic method for power generator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016053519A (en) * 2014-09-03 2016-04-14 タイセイ電機株式会社 Power generator with automatic maintenance diagnostic function and maintenance diagnostic method for power generator

Similar Documents

Publication Publication Date Title
JP4720896B2 (en) Abnormality diagnosis device for power supply circuit and power supply circuit
US7155326B2 (en) Electric control unit
KR910004389B1 (en) Method and apparatus for automatically starting engine
JP3063708B2 (en) Non-stop power supply system, backup target device used therefor, and recording medium recording program for operating computer as backup target device
JP4368292B2 (en) Electric clamping machine
JP2003063350A (en) Passenger protection device for vehicle
JPH10144194A (en) Strong current relay diagnostic device for electric vehicle
JP2009255742A (en) Battery state determination device
JP2008096140A (en) Status detector for storage battery
JP3515577B2 (en) Method for monitoring the speed transmitter
JPH10322930A (en) Power supply method and power supply device for vehicle
JPH10250501A (en) Self-diagnosing method and device for vehicular power generating circuit
JP2003512006A (en) Auto-detector for generator type of automobile
WO2004010299A2 (en) Self-test system
EP0648645A1 (en) An electric control apparatus for an air-bag system
JP2002240655A (en) Device and method of detecting abnormality of on-vehicle motor control device
JP2007162586A (en) On-vehicle control device
JPH07227096A (en) Electric motor failure diagnosing device
JP3531589B2 (en) Electronic control unit for engine control
JP2010270643A (en) Engine start controller
US11404862B2 (en) Method, control unit, and electrical network
JP2000236685A (en) Fault-diagnosing device
JP2653744B2 (en) Capacitor abnormality diagnosis device
JP2007262934A (en) Vehicle control device
JP5672185B2 (en) In-vehicle control device

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