JP4957486B2 - Vehicle power supply control device - Google Patents
Vehicle power supply control device Download PDFInfo
- Publication number
- JP4957486B2 JP4957486B2 JP2007250733A JP2007250733A JP4957486B2 JP 4957486 B2 JP4957486 B2 JP 4957486B2 JP 2007250733 A JP2007250733 A JP 2007250733A JP 2007250733 A JP2007250733 A JP 2007250733A JP 4957486 B2 JP4957486 B2 JP 4957486B2
- Authority
- JP
- Japan
- Prior art keywords
- power supply
- ecu
- power
- request
- electronic control
- 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.)
- Active
Links
Images
Landscapes
- Electric Propulsion And Braking For Vehicles (AREA)
- Combined Controls Of Internal Combustion Engines (AREA)
Description
本発明は、車両に搭載された電子制御装置の電源を管理する電源制御装置に関する。 The present invention relates to a power supply control device that manages the power supply of an electronic control device mounted on a vehicle.
従来、車両には内燃機関や充電用装置,車載電装品,補機といった各制御対象に対応したさまざまな電子制御装置(ECU:electronic control unit)が搭載されている。これらの電子制御装置には、車両の運転終了時に所定の終了制御を実施して、制御用データの学習や運転情報の記録をするものがある。そのため、電子制御装置での終了制御が完了するまでの間、電源を保持するための機構が設けられている。 2. Description of the Related Art Conventionally, various electronic control units (ECUs) corresponding to control objects such as internal combustion engines, charging devices, in-vehicle electrical components, and auxiliary machines are mounted on vehicles. Some of these electronic control devices perform predetermined end control at the end of driving of the vehicle to learn control data and record driving information. Therefore, a mechanism for holding the power source is provided until the end control in the electronic control device is completed.
例えば、特許文献1には、メインCPU(エンジン制御用CPU)及びサブCPU(スロットル制御用CPU)を備えたマルチCPUシステムの車両用電子制御装置において、イグニッションスイッチのOFF時の終了処理(アフターラン処理)を完了させてから各CPUへの電源を遮断する技術が記載されている。ここでは、サブCPUがメインCPUに対して周期的にウォッチドッグ信号を出力するように構成されており、メインCPUはこのウォッチドッグ信号の非検出を以てサブCPUでの終了処理の完了を把握している。これにより、電源遮断時におけるCPUの終了確認を適正に実施することができるようになっている。
For example, in
また、特許文献2には、特許文献1に記載のウォッチドッグ信号の代わりとなるパワーダウン許可信号を用いて、CPUへの電源電圧の供給及び遮断を制御する構成が開示されている。この技術では、CPUがシャットオフ処理の終了時に、電源制御回路へ出力される電圧を通常時のHiレベルからLowレベル(パワーダウン許可信号)へと変化させるようになっている。一方、電源制御回路は、この電圧変化を受けてCPUへの電源電圧の供給を停止するようになっている。これにより、シャットオフ処理中における電源電圧を確保できるようになっている。
このように、電子制御装置への電源の供給及び遮断を制御する電源制御装置においては一般に、電源を制御される側の装置が、制御する側の装置に対して電源遮断の可否情報を送信する構成となっている。
しかしながら、上記のような構成では、電源を制御する側の装置が、制御される側から発せられた電源遮断の可否情報が正当なものであるか否かを判断することができないという課題がある。例えば、電源を制御される側の装置の終了制御が完了したにもかかわらず、故障あるいは不具合により電源遮断を許可する情報が出力されなければ、電源が遮断されないままの状態となる。この場合、電源遮断を許可する情報が出力されない限り電源が遮断されないため、バッテリが過放電してしまうおそれがある。
As described above, in a power supply control device that controls the supply and cut-off of power to an electronic control device, in general, a power-controlled device transmits power-off capability information to the controlling device. It has a configuration.
However, in the configuration as described above, there is a problem that the device that controls the power source cannot determine whether or not the power shut-off permission information issued from the controlled side is valid. . For example, even if the termination control of the device on the side where the power is controlled is completed, if the information for permitting the power shutdown is not output due to a failure or a malfunction, the power is not shut off. In this case, since the power is not shut off unless the information for permitting power shut-off is output, the battery may be over-discharged.
本発明はこのような課題に鑑み案出されたもので、簡素な構成で、機能不全に起因する電源の遮断不能状態を解消することができるようにした車両の電源制御装置を提供することを目的とする。 The present invention has been devised in view of such problems, and provides a power control device for a vehicle that is capable of resolving an inability to shut off a power source due to a malfunction with a simple configuration. Objective.
本発明の車両の電源制御装置(請求項1)は、車両電源の遮断要求を検出する遮断要求検出手段と、該遮断要求検出手段で該遮断要求を検出すると、所定の終了制御を開始するとともに該終了制御が完了するまで電源保持要求を出力する電子制御手段と、該電源保持要求の出力中には該電子制御手段への電力供給を保持し、該電源保持要求の非出力時には該電子制御手段への電力供給を遮断するマスタ電子制御手段と、を備えた車両の電源制御装置において、該マスタ電子制御手段が、該遮断要求検出手段における該遮断要求の検出時から所定時間経過後に、該電子制御手段に対して該電源保持要求が正当であるか否かを判定するための問い合わせを行う問い合わせ手段を有することを特徴とことを特徴としている。 A vehicle power supply control device according to the present invention (Claim 1) starts a predetermined end control when a shutoff request detecting means for detecting a shutoff request for a vehicle power supply and the shutoff request detecting means detects the shutoff request. Electronic control means for outputting a power holding request until completion of the end control, and holding power supply to the electronic control means during the output of the power holding request, and the electronic control when the power holding request is not output A power supply control device for a vehicle, comprising: a master electronic control means for shutting off the power supply to the means; the master electronic control means, after a predetermined time has elapsed since the detection of the shutoff request in the shutoff request detecting means, Inquiry means for making an inquiry to the electronic control means for determining whether or not the power holding request is valid is characterized.
該電子制御手段の具体例としては、例えば、エンジンECU,トランスミッションECU,モータECU,バッテリ管理ECU,エアコンECU,充電管理ECU,ライト制御ECU,ドア制御ECU等、様々な電子制御装置やマイコン類が挙げられる。一方、該マスタ電子制御手段の具体例としては、これらの各種ECUの動作を統括管理するマスタECUが挙げられる。 Specific examples of the electronic control means include various electronic control devices and microcomputers such as an engine ECU, a transmission ECU, a motor ECU, a battery management ECU, an air conditioner ECU, a charge management ECU, a light control ECU, and a door control ECU. Can be mentioned. On the other hand, a specific example of the master electronic control means is a master ECU that performs overall management of the operations of these various ECUs.
なお、該マスタ電子制御手段は、該遮断要求検出手段で該遮断要求が検出されていない場合には、該電子制御手段への電力供給を保持するものである。例えば、該遮断要求が検出されていない状態では、該電源保持要求の有無に関わらず電力供給を保持する構成としてもよいし、あるいは、該遮断要求が検出されていない状態では常時該電子制御手段が該電源保持要求を出力する構成としてもよい。 The master electronic control means retains power supply to the electronic control means when the shutoff request detecting means has not detected the shutoff request. For example, in a state where the shut-off request is not detected, the power supply may be held regardless of whether the power-holding request is present, or when the shut-off request is not detected, the electronic control unit is always used. May be configured to output the power holding request.
また、本発明の車両の電源制御装置(請求項2)は、請求項1記載の構成に加え、該マスタ電子制御手段が、該問い合わせに対する該電子制御手段の回答が正当でない場合に該電子制御手段への電力供給を強制的に遮断する強制遮断手段を有することを特徴としている。
In addition to the configuration of
つまり、強制遮断手段が、該問い合わせに対する該電子制御手段の回答が正当でない場合に、該電子制御手段から出力されている電源保持要求に関しても正当なものではないと判断し、該電子制御手段への電力供給を強制的に遮断する。
なお、該電子制御手段が複数存在する場合、少なくとも一つの電子制御手段からの回答が正当である場合には、該電子制御手段への電力供給を保持することが好ましい。
That is, the forced shut-off means determines that the power holding request output from the electronic control means is not valid when the reply of the electronic control means to the inquiry is not valid, and sends the electronic control means to the electronic control means. Forcibly cut off the power supply.
In the case where there are a plurality of electronic control units, it is preferable that the power supply to the electronic control unit is maintained when an answer from at least one electronic control unit is valid.
また、本発明の車両の電源制御装置(請求項3)は、請求項2記載の構成に加え、該問い合わせ手段が、該電子制御手段に対して該電源保持要求以外の回答を要求する問い合わせを行うことを特徴としている。
ここでいう「該電源保持要求以外の回答を要求する問い合わせ」とは、該電源保持要求を出力するための制御ロジックとは異なる制御ロジックによる回答を該電子制御手段に要求する問い合わせのことを意味する。例えば、該電子制御手段がYES又はNOで回答することができないような問い合わせである。
According to the vehicle power control device of the present invention (Claim 3), in addition to the configuration of
Here, “inquiry requesting an answer other than the power holding request” means an inquiry requesting the electronic control means to answer with a control logic different from the control logic for outputting the power holding request. To do. For example, the electronic control means is an inquiry that cannot be answered with YES or NO.
また、本発明の車両の電源制御装置(請求項4)は、請求項3記載の構成に加え、該問い合わせ手段が、該電子制御手段に対して該電源保持要求の理由となっている該終了制御の内容を問い合わせることを特徴としている。
The vehicle power supply control device according to the present invention (Claim 4), in addition to the configuration according to
また、本発明の車両の電源制御装置(請求項5)は、請求項3又は4記載の構成に加え、該問い合わせ手段が、三通り以上の回答のパターンを有する問い合わせを行うことを特徴としている。
また、本発明の車両の電源制御装置(請求項6)は、請求項3記載の構成に加え、該問い合わせ手段が、該電子制御手段に自己診断を実施させるとともにその結果を問い合わせることを特徴としている。
The vehicle power supply control device (claim 5) of the present invention is characterized in that, in addition to the configuration of
The vehicle power supply control device according to the present invention (Claim 6) is characterized in that, in addition to the configuration according to
また、本発明の車両の電源制御装置(請求項7)は、請求項3記載の構成に加え、該問い合わせ手段が、該電子制御手段に所定の演算を実施させるとともにその結果を問い合わせることを特徴としている。
In addition to the configuration of
本発明の車両の電源制御装置(請求項1)によれば、遮断要求から所定時間が経過したときにマスタ電子制御手段が電子制御手段へ問い合わせ(照会)をするため、電源保持要求を再確認することができる。また、その再確認によって電源保持要求の出力が停止した場合には、電子制御手段への電力供給を遮断することができ、バッテリ電力の浪費を防止することができる。 According to the power control apparatus for a vehicle of the present invention (Claim 1), the master electronic control means inquires (inquires) the electronic control means when a predetermined time has elapsed from the shutoff request, so that the power holding request is reconfirmed. can do. Further, when the output of the power holding request is stopped due to the reconfirmation, power supply to the electronic control unit can be cut off, and waste of battery power can be prevented.
また、本発明の車両の電源制御装置(請求項2)によれば、たとえ電源保持要求が出力されたままの状態であったとしても、その電源保持要求が正当なものであるか否かを判断することができる。これにより、例えば電子制御手段の機能不全や電源保持要求の情報伝達経路の異常による電源保持状態を脱することが可能となる。
また、本発明の車両の電源制御装置(請求項3)によれば、電子制御手段の機能不全を判断することができる。
Further, according to the power control device for a vehicle of the present invention (claim 2), whether or not the power holding request is valid even if the power holding request is still output. Judgment can be made. Thereby, for example, it becomes possible to escape from the power holding state due to malfunction of the electronic control means or abnormality of the information transmission path of the power holding request.
Moreover, according to the power supply control device for a vehicle of the present invention (claim 3), it is possible to determine the malfunction of the electronic control means.
また、本発明の車両の電源制御装置(請求項4)によれば、電子制御手段からの回答を素早く得ることができる。また、予め想定される内容以外の回答が得られた場合には電子制御手段の機能不全と見なすことができる。
また、本発明の車両の電源制御装置(請求項5)によれば、電子制御手段における回答の選択肢を予め三通り以上用意しておくことで、回答の信頼性を高めることができ、電子制御手段の機能不全をより正確に判断することができる。
Moreover, according to the power supply control device for a vehicle of the present invention (claim 4), an answer from the electronic control means can be quickly obtained. Moreover, when an answer other than the contents assumed beforehand is obtained, it can be considered that the electronic control means is malfunctioning.
According to the vehicle power supply control device of the present invention (Claim 5), it is possible to improve the reliability of the answer by preparing three or more answer options in the electronic control means in advance. The malfunction of the means can be determined more accurately.
また、本発明の車両の電源制御装置(請求項6又は7)によれば、電子制御装置の機能不全を正確に判断することができる。 Moreover, according to the power supply control device for a vehicle of the present invention (claim 6 or 7), it is possible to accurately determine the malfunction of the electronic control device.
以下、図面により、本発明の一実施形態について説明する。図1〜図4は、本発明の一実施形態に係る車両の電源制御装置を説明するものであり、図1は本電源制御装置の全体構成を示すブロック図、図2は本電源制御装置の制御手順を示すフローチャート、図3及び図4は本電源制御装置による制御内容を説明するためのタイムチャートである。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings. 1 to 4 illustrate a power control device for a vehicle according to an embodiment of the present invention. FIG. 1 is a block diagram showing the overall configuration of the power control device. FIG. 2 is a block diagram of the power control device. A flowchart showing the control procedure, and FIGS. 3 and 4 are time charts for explaining the control contents of the power supply control device.
[構成]
本実施形態の電源制御装置10は、図1に示すように、マスタECU(マスタ電子制御手段)1,スレーブECU(電子制御手段)2,イグニッションスイッチ(遮断要求検出手段)3,通信ライン4,電源ライン5,バッテリ電源6及び電源リレー7を備えて構成される。
[Constitution]
As shown in FIG. 1, the power
マスタECU1及びスレーブECU2は、自動車の制御を実施する電子制御装置であり、各ECUには周知のCPU,ROM,RAM等が内蔵されている。図1中には、第一ECU2a,第二ECU2b及び第三ECU2cの3種類のスレーブECU2が図示されている。これらの各スレーブECU2はそれぞれ異なる機能を有している。例えば、車両に搭載されたエンジンを制御するエンジンECU,トランスミッションECU,モータECU,バッテリ管理ECU,エアコンECU,充電管理ECU,ライト制御ECU,ドア制御ECU等の機能のうちの何れかが各々のスレーブECU2a〜2cに割り当てられている。
The
各スレーブECU2a〜2cには、EPROM(不揮発性の書き換え可能メモリ)8a〜8cが併設されており、各スレーブECU2a〜2cの終了制御時の演算結果等が格納されるようになっている。
また、第一ECU2a,第二ECU2b及び第三ECU2cのそれぞれには、電源ライン5及び電源リレー7を介して、バッテリ電源6からの電力が並列に供給されている。電源リレー7の接点7aの閉鎖時には全てのスレーブECU2a〜2cに対して給電され、接点7aが開放されると各スレーブECU2a〜2cへの給電が遮断されるようになっている。
Each of the
Moreover, the electric power from the battery power supply 6 is supplied in parallel to the
マスタECU1は、電源リレー7の接点7aを開閉制御して、車両に搭載された全てのスレーブECU2a〜2cへの給電を統括管理する電子制御装置である。なお、マスタECU1は、スレーブECU2と同様に、電源ライン5及び電源リレー7を介してバッテリ電源6へ接続されており、接点7aを開放することにより自分自身への電力供給を遮断することができるようになっている。
The
また、マスタECU1は、通信ライン4を介して各スレーブECU2a〜2c及び電源リレー7へ接続されており、各スレーブECU2a〜2cとの間で情報の送受信を行うことができるとともに、電源リレー7の接点7aを制御できるようになっている。なお、通信ライン4とは、例えばCANやMOST,FlexRay等の規格に準拠する車載LANのバスであってもよいし、あるいは専用の信号線であってもよい。
The
さらに、マスタECU1にはイグニッションスイッチ3が接続されている。イグニッションスイッチ3は、オフ操作されていない状態では車両電源の遮断要求をマスタECU1へ出力せず、車両運転者によりオフ操作されると遮断要求を出力するスイッチである。
続いて、マスタECU1の具体的機能について説明する。マスタECU1は、遮断制御部1a,問い合わせ部(問い合わせ手段)1b及び強制遮断部(強制遮断手段)1cを備えて構成されている。
Further, an
Subsequently, specific functions of the
遮断制御部1aは、イグニッションスイッチ3からの遮断要求を検出すると、各スレーブECU2a〜2cに対する終了制御の指示を出力するものである。この指示は、通信ライン4を介して一斉に各スレーブECU2a〜2cへ伝達される。一方、各スレーブECU2a〜2cではこの指示を受けて、終了制御を実施するようになっている。
終了制御とは、車両の運転終了時における制御用データの学習結果や運転情報の記録を行い、あるいは、再起動時におけるデータの整合性を保つためのデータ処理を行う制御である。この終了制御において、各スレーブECU2a〜2cはEPROM8a〜8cに対して各種情報を記録するようになっている。また、各スレーブECU2a〜2cは、このようなEPROM8a〜8cへの書き込み作業中に給電が遮断されないように、終了制御が完了するまでの間、マスタECU1に対して電源保持要求を出力するようになっている。
When the shut-off
The end control is control for recording a learning result of control data and driving information at the end of driving of the vehicle, or performing data processing for maintaining data consistency at the time of restart. In this end control, each of the
これを受けて遮断制御部1aは、全てのスレーブECU2a〜2cが電源保持要求を出力しなくなった場合に、電源リレー7の接点7aを開放して電源をオフに制御するようになっている。つまり、遮断制御部1aは、少なくとも何れかのスレーブECU2が電源保持要求を出力している場合には、電源を保持する制御を実施する。
問い合わせ部1bは、遮断要求を検出してから予め設定された所定時間TRが経過したときに、電源保持要求を出力している各スレーブECU2に対して問い合わせ(照会)を行うものである。本実施形態では、電源保持要求を出力している理由、すなわち、終了制御が完了しない理由を、各スレーブECU2に問い合わせるようになっている。所定時間TRは、各スレーブECU2及びそれらに制御される被制御装置に不具合がない状態での終了制御にかかる平均的な時間よりも長く設定されている。なお、本実施形態では、このような各スレーブECU2に対する問い合わせを所定時間TR毎に繰り返し実施するようになっている。
In response to this, when all the
一方、電源保持要求を出力している各スレーブECU2は、マスタECU1からの問い合わせに対して、予め設定された複数の理由(例えば「学習中」,「自己診断中」,「EPROMへの書き込みの完了待ち」,「被制御装置の応答待ち」,「原因不明」等)の中から該当する理由を選択して、マスタECU1へ回答するようになっている。
強制遮断部1cは、各スレーブECU2からの回答が正当であるか否かを判断するものである。強制遮断部1cは、上記の予め設定された複数の理由のうち、正当な理由と正当でない理由とを判別する機能を有している。
On the other hand, each of the
The forced
例えば、「学習中」,「自己診断中」,「EPROMへの書き込みの完了待ち」,「被制御装置の応答待ち」等の正当な理由が回答された場合には、電源保持要求も正当なものであると見なして、給電を保持するようになっている。一方、「原因不明」のような正当でない回答が得られた場合、あるいは、何も応答がない場合には、電源保持要求が正当なものでないと見なすようになっている。そして強制遮断部1cは、電源保持要求を出力している全てのスレーブECU2からの回答が正当でない場合に、強制的に電源リレー7の接点7aを開放し、給電を遮断するようになっている。なお、電源保持要求を出力しているスレーブECU2のうち、一つでも正当な回答が得られた場合には、給電を保持するようになっている。
For example, if a valid reason such as “learning”, “during self-diagnosis”, “waiting for completion of writing to EPROM”, “waiting for response of controlled device” is replied, the power holding request is also valid. It is supposed to hold power supply. On the other hand, when an invalid answer such as “unknown” is obtained, or when there is no response, the power holding request is regarded as not valid. The forced
なお、マスタECU1は、遮断要求の非検出時には常に全てのスレーブECU2への給電を保持するようになっている。例えば、イグニッションスイッチ3からの遮断要求がない状態では、電源保持要求の有無に関わらず、遮断制御部1aが電源リレー7の接点7aを閉鎖したままとして給電を保持する。あるいは、遮断要求の非検出時には各スレーブECU2が常に電源保持要求を出力する構成とし、その電源保持要求を以て遮断制御部1aが給電を保持するものとしてもよい。
Note that the
[フローチャート]
本電源制御装置10の制御手順を、図2を用いて説明する。このフローチャートは、マスタECU1の内部において所定の周期で繰り返し実行されるものである。なお、本実施形態では、このフローで用いられるフラグとして、終了制御用フラグFA及びカウンタ用フラグFBが設定されている。
[flowchart]
A control procedure of the power
終了制御用フラグFAは、マスタECU1からスレーブECU2へ終了制御の指示が出力されているか否かを示すフラグである。また、カウンタ用フラグFBは、遮断要求を検出してからの経過時間に対応するカウンタCがカウント(インクリメント)されているか否かを示すフラグである。これらのフラグFA,FBの初期値はともに0に設定されており、また、イグニッションスイッチ3のオン操作と同時にリセットされるものとする。
The end control flag F A is a flag indicating whether or not an end control instruction is output from the
ステップA10では、イグニッションスイッチ3から車両電源の遮断要求が出力されているか否かが判定される。ここで、遮断要求を検出した場合にはステップA20へ進み、検出しない場合にはステップA140へ進んで給電を保持したままこのフローを終了する。つまり、ステップA20以降の制御は、イグニッションスイッチ3がオフ操作された直後に実施される制御となっている。
In step A10, it is determined whether or not a request for shutting off the vehicle power source is output from the
ステップA20では、終了制御用フラグFAがFA=0に設定されているか否かが判定される。ここで、FA=0である場合には、ステップA30へ進み、遮断制御部1aから各スレーブECU2へ終了制御が指示される。これを受けて各スレーブECU2では、終了制御が実施され、各スレーブECU2からマスタECU1に対して電源保持要求が出力される。なお、この終了制御では、各スレーブECU2やこれに制御されている被制御装置の学習制御や自己診断制御が実施され、その結果が対応するEPROM8a〜8cへ書き込まれる。
In step A20, it is determined whether or not the end control flag F A is set to F A = 0. Here, when F A = 0, the process proceeds to step A30, and the end control is instructed to each
また、続くステップA40では、終了制御用フラグFAがFA=1に設定され、ステップA50へ進む。一方、ステップA20でFA≠0(すなわちFA=1)である場合には、すでに前回以前の制御サイクルにおいて終了制御の指示がなされていることになるため、そのままステップA50へ進む。
ステップA50では、少なくとも一つのスレーブECU2から電源保持要求が出力されているか否かが判定される。ここで、全てのスレーブECU2から電源保持要求が出力されていない場合にはステップA130へ進み、遮断制御部1aにおいて電源リレー7の接点7aが開放され、マスタECU1及び各スレーブECU2への給電が遮断される。つまり、車両の電源が完全に遮断されて全ての制御が終了する。一方、少なくとも一つのスレーブECU2から電源遮断要求が出力されている場合には、ステップA60へ進む。
In the subsequent step A40, the end control flag F A is set to F A = 1, and the process proceeds to step A50. On the other hand, if F A ≠ 0 (ie, F A = 1) in step A20, the end control has already been instructed in the control cycle before the previous time, so the process proceeds to step A50 as it is.
In Step A50, it is determined whether or not a power holding request is output from at least one
なお、ステップA10〜A50までの制御は、マスタECU1が各スレーブECU2からの電源遮断要求が正当なものであるか否かを判定し得ない従来の電源制御装置における制御内容に対応する。つまり本実施形態では、ステップA60以降の制御において、電源遮断要求の正当性が判断されている。
ステップA60では、カウンタ用フラグFBがFB=0に設定されているか否かが判定される。ここで、FB=0である場合には、ステップA70へ進み、カウンタCがC=0に設定されるとともにカウンタ用フラグFBがFB=1に設定され、ステップA80へ進む。一方、FB≠0(すなわちFB=1)である場合には、すでに前回以前の制御サイクルにおいてカウンタCのカウントが開始されているため、そのままステップA80へ進む。
Note that the control from step A10 to step A50 corresponds to the control contents in the conventional power supply control device in which the
In Step A60, it is determined whether or not the counter flag F B is set to F B = 0. If F B = 0, the process proceeds to step A70 where the counter C is set to C = 0, the counter flag F B is set to F B = 1, and the process proceeds to step A80. On the other hand, if F B ≠ 0 (that is, F B = 1), the count of the counter C has already been started in the control cycle before the previous time, and the process proceeds to step A80.
ステップA80では、カウンタCにC+1が代入される。ここでは、カウンタCの値がこの制御フローの一サイクル毎に増加することになる。そして続くステップA90では、カウンタCの値が予め設定された基準値C0以上であるか否かが判定される。この基準値C0は、前述の所定時間TRをこのフローの実行サイクル時間Ctで除算した値に設定されている(C0=TR/Ct)。ここでC≧C0の場合にはステップA100へ進み、C<C0の場合にはステップA140へ進んで給電を保持したままこのフローを終了する。つまり、ステップA100以降の制御は、カウントを開始してから予め設定された所定時間TRが経過した後に初めて実施される制御となっている。 In step A80, C + 1 is assigned to the counter C. Here, the value of the counter C increases every cycle of the control flow. Then the following step A90, whether the value of the counter C is a preset reference value C 0 or more is determined. This reference value C 0 is set to a value obtained by dividing the aforementioned predetermined time T R by the execution cycle time C t of this flow (C 0 = T R / C t ). Here, if C ≧ C 0, the process proceeds to step A100, and if C <C 0 , the process proceeds to step A140, and this flow is ended while holding the power supply. That is, step A100 subsequent control has a control for the first time is carried out after the preset from the start of the counted predetermined time T R has elapsed.
ステップA100では、問い合わせ部1bにより、各スレーブECU2に対して、電源保持要求を出力している理由が問い合わせられる。これを受けて、電源保持要求を出力している各スレーブECU2では、予め設定された複数の理由の中から該当する理由が選択され、その回答がマスタECU1へ返答される。そして続くステップA110では、強制遮断部1cにおいて各スレーブECU2からの回答が正当であるか否かが判断される。
In step A100, the
例えば、第一ECU2aには把握できないような原因不明の機能不全により第一ECU2aの終了制御が完了していない場合、第一ECU2aはマスタECU1の問い合わせに対して「原因不明」と回答する。したがって、マスタECU1は第一ECU2a又はこれの被制御装置に何らかの不具合が生じていると見なし、第一ECU2aの回答が正当ではないと判断する。一方、何らかの原因が明確であって第一ECU2aの終了制御が完了していない場合には、第一ECU2aから「学習中」,「自己診断中」,「EPROMへの書き込みの完了待ち」,「被制御装置の応答待ち」等の正当な理由が回答されるため、マスタECU1は第一ECU2aの回答が正当であると判断する。
For example, when the end control of the
また、例えば第二ECU2b自身の機能不全により終了制御が完了していない場合には、予め設定された複数の理由以外の無効な回答が第二ECU2bからなされることが考えられる。この場合、回答が「学習中」,「自己診断中」,「EPROMへの書き込みの完了待ち」,「被制御装置の応答待ち」等の予め設定された範囲内のものでないことを以て、マスタECU1は第二ECU2bに何らかの不具合が生じていると見なし、第二ECU2bの回答が正当でないと判断する。
Further, for example, when the end control is not completed due to malfunction of the
あるいは、第三ECU2c及びこれの被制御装置に不具合が生じていないにもかかわらず、通信ライン4上の障害により電源保持要求が出力されたままとなり、見かけ上第三ECU2cの終了制御が完了していない状態も考えられる。この場合、第三ECU2cではすでに終了制御が完了しているため、何も理由を回答しないことになる。したがって、マスタECU1は第三ECU2c又は通信ライン4上に何らかの不具合が生じているものと見なし、第三ECU2cの回答(電源保持要求を出力し、かつ、無回答であること)が正当でないと判断する。
Alternatively, although there is no malfunction in the
ステップA110において、電源保持要求が出力しているスレーブECU2からの回答のうち、少なくとも一つの回答が正当である場合には、ステップA120へ進み、カウンタ用フラグFBがFB=0に再設定される。そして続くステップA140において、電源リレー7の接点7aが閉鎖されたまま保持されて、このフローは終了する。つまりこの場合、マスタECU1は、演算処理の遅延等によりスレーブECU2での終了制御が単に長引いている(不具合ではない)ものと判断して、給電を保持する。
In step A110, if at least one of the responses from the
なお、ステップA140でカウンタ用フラグFBがリセットされることにより、再び制御サイクルが実施されたときにはステップA70でカウンタCがC=0に設定され、カウントが開始される。したがって、さらに所定時間TRが経過した後で二回目の問い合わせが実施されることになる。
一方、電源保持要求を出力しているスレーブECU2の回答が全て正当でない場合には、ステップA130へ進み、電源リレー7の接点7aが開放され、マスタECU1及び各スレーブECU2への給電が遮断される。これにより、車両の電源が完全に遮断されて全ての制御が終了する。
Note that when in step A140 is the counter flag F B is reset, is set in the counter C is C = 0 in step A70 when the control cycle is performed again, the count is started. Therefore, the second time inquiry after a further predetermined time T R has elapsed is performed.
On the other hand, if all of the responses of the
つまり、強制遮断部1cは、問い合わせに対するスレーブECU2の回答が正当でない場合に、そのスレーブECU2から出力されている電源保持要求に関しても正当なものではないと判断し、電力供給を強制的に遮断する。
That is, when the response of the
[作用]
本車両の電源制御装置10による制御内容を、図3及び図4を用いて説明する。
図3に示すタイムチャートは、第一ECU2a,第二ECU2b及び第三ECU2cが正常に終了制御を実施した場合の一例である。
まず、時刻t0にイグニッションスイッチ3がオフ操作されて車両電源の遮断要求がマスタECU1へ入力されると、各スレーブECU2が終了制御を開始するとともに電源保持要求を出力する。マスタECU1では、時刻t0からカウンタCがカウントされ、所定時間TRの計測が開始される。
[Action]
The contents of control by the power
The time chart shown in FIG. 3 is an example when the
First, when the
時刻t1に第一ECU2aの終了制御が完了すると、第一ECU2aからの電源保持要求が解除される。続いて、時刻t2に第二ECU2bの終了制御が完了すると、第二ECU2bからの電源保持要求が解除される。第三ECU2cは、EPROM8cへの書き込み遅延により終了制御がやや長引いているものとする。
時刻t0から所定時間TRが経過した時刻tRになると、マスタECU1から第三ECU2cに対して電源保持要求を出力している理由が問い合わせられる。これに対し、第三ECU2cは「被制御装置の応答待ち」と回答するため、マスタECU1は第三ECU2cの回答及び電源保持要求が正当であると判断して電源リレー7の接点7aを閉鎖したままに制御し、給電を保持する。
When the end control of the first ECU2a is completed at time t 1, the power supply holding request from the first ECU2a is released. Subsequently, the end control of the second ECU2b is completed time t 2, the power supply holding request from the second ECU2b is released. It is assumed that the end control of the
If from time t 0 becomes time t R of a predetermined time T R has passed, why the master ECU1 outputs a power supply holding request to the third ECU2c is queried. On the other hand, since the
その後、時刻t3に第三ECU2cの終了制御が完了すると、第三ECU2cからの電源保持要求が解除されて全ての電源保持要求が無くなるため、遮断制御部1aにより電源リレー7の接点7aが開放され、電源が遮断される。
次に、終了制御に機能不全が生じた場合の一例を図4に示す。
時刻t0にイグニッションスイッチ3がオフ操作され、各スレーブECU2が終了制御を開始し電源保持要求を出力する。時刻t4に第一ECU2aの終了制御が完了すると、第一ECU2aからの電源保持要求が解除される。一方、第二ECU2bは自己診断制御により、終了制御がやや長引いているものとする。また、第三ECU2cは機能不全により、電源保持要求を出力したままフリーズしているものとする。
Thereafter, the end control of the third ECU2c is completed at time t 3, since all of the power supply holding request power supply holding request from the third ECU2c is released is eliminated, the
Next, FIG. 4 shows an example in the case where a malfunction occurs in the end control.
At time t 0 , the
時刻t0から所定時間TRが経過した時刻tR1になると、マスタECU1から第二ECU2b及び第三ECU2cに対して電源保持要求を出力している理由が問い合わせられる。これに対し、第二ECU2bは「自己診断中」と回答するため、マスタECU1は第二ECU2bの回答及び電源保持要求が正当であると判断する。一方、第三ECU2cはフリーズしており何も回答しないため、マスタECU1は第三ECU2cの回答及び電源保持要求が正当でないと判断する。
At time t R1 when a predetermined time T R has elapsed from time t 0, the reason why the
ここで、マスタECU1は、電源保持要求が出力しているスレーブECU2からの回答のうち、少なくとも一つの回答(第二ECU2bの回答)は正当であるため、カウンタ用フラグFBをFB=0に再設定して電源リレー7の接点7aを閉鎖したままに制御し、給電を保持する。その後、時刻t5に第二ECU2bの終了制御が完了すると、第二ECU2bからの電源保持要求が解除される。
Here, the
さらに、時刻tR1から所定時間TRが経過した時刻tR2になると、マスタECU1から第三ECU2cに対して電源保持要求を出力している理由が再び問い合わせられる。この時点で電源保持要求を出力しているスレーブECU2は第三ECU2cのみであり、その第三ECU2cの回答及び電源保持要求が正当でないと判断されるため、遮断制御部1aにより電源リレー7の接点7aが開放され、電源が遮断される。
Furthermore, at time t R2 when a predetermined time T R has elapsed from time t R1 , the reason why the
なお、図4中に破線で示すように、時刻tR1におけるマスタECU1からの問い合わせをトリガーとして第三ECU2cのフリーズ状態が解消され、時刻t6に終了制御が完了したような場合には、時刻t5に第二ECU2bの終了制御が完了した時点で電源が遮断されることになる。
As indicated by the broken line in FIG. 4, when the freeze state of the
[効果]
このように本発明の一実施形態にかかる車両の電源制御装置10によれば、車両電源の遮断要求から所定時間TRが経過したときに、マスタECU1が各スレーブECU2へ問い合わせを行うため、各スレーブECU2に対し電源保持要求を確認することができる。また、その確認によって電源保持要求が解除された場合には、マスタECU1及び各スレーブECU2への電力供給を遮断することができ、バッテリ電力の浪費を防止することができる。
[effect]
According to the power
また、スレーブECU2やこれの被制御装置,通信ライン4の不具合や故障によりたとえ電源保持要求が出力されたままの状態であったとしても、その電源保持要求が正当なものであるか否かをマスタECU1で判断することができる。これにより、車両のイグニッションスイッチ3をオフ操作した後の不正な電源保持状態を脱することが可能となる。
また、マスタECU1による問い合わせの内容が電源保持要求の理由となっているため、スレーブECU2側が回答すべき内容を予め想定しておくことが容易である。一方、スレーブECU2はそれらの予め想定された回答の中から該当する理由を選択すればよいため、素早く回答することができる。また、予め想定される内容以外の回答が得られた場合にはスレーブECU2の機能不全と判断することができる。
Further, even if the power holding request is still output due to a malfunction or failure of the
In addition, since the content of the inquiry by the
また、少なくとも一つのスレーブECU2からの回答が正当である場合には給電が保持されるため、例えば図4中における第二ECU2bのように終了制御がやや長引いた場合であっても、その終了制御を完遂させることができる。
このように、本電源制御装置10によれば、所定時間TR毎に電源の遮断不能状態をチェックして、早期に解消することができる。
Further, since the power supply is maintained when the answer from at least one
As described above, according to the power
[その他]
以上、本発明の一実施形態について説明したが、本発明はこのような実施形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲で種々変形して実施することができる。
例えば、上述の実施形態では、問い合わせ部1bによるスレーブECU2への問い合わせ内容が「電源保持要求を出力している理由」となっているが、問い合わせの内容はこれに限定されない。少なくとも、電源保持要求を出力するための制御ロジックとは異なる制御ロジックによる回答をスレーブECU2に要求する問い合わせが含まれていればよい。例えば、スレーブECU2がYES又はNOで回答することができないような問い合わせである。これにより、スレーブECU2の電源保持要求に係る機能不全を判断することが可能となる。
[Others]
Although one embodiment of the present invention has been described above, the present invention is not limited to such an embodiment, and various modifications can be made without departing from the spirit of the present invention.
For example, in the above-described embodiment, the inquiry content to the
なおこの場合、問い合わせの回答のパターンが三通り以上となる問い合わせを行うことが好ましい。スレーブECU2の回答の選択肢を少なくとも三通り以上用意しておくことで、回答の信頼性を高めることができ、スレーブECU2の機能不全をより正確に判断することができる。
また、スレーブECU2の自己診断結果を問い合わせる構成としてもよい。これにより、スレーブECU2の機能不全箇所を特定することができる。
In this case, it is preferable to make an inquiry in which there are three or more patterns of inquiry responses. By preparing at least three answer options for the
Moreover, it is good also as a structure which inquires about the self-diagnosis result of slave ECU2. Thereby, the malfunctioning location of the
また、通常制御時には実施しないような所定の演算をスレーブECU2に実施させて、その演算結果を問い合わせる構成としてもよい。これにより、スレーブECU2の演算機能を確認することができ、機能不全であるか否かを正確に判断することができる。
なお、上述の実施形態では特に言及していないが、スレーブECU2から得られる回答の経時的な傾向を把握することで、不具合の前兆を検出することも可能である。例えば、「EPROMへの書き込みの完了待ち」との回答が継続的に検出されるような場合には、EPROM8a〜8cの劣化や摩耗の可能性があると判断することができる。
Moreover, it is good also as a structure which makes the slave ECU2 perform the predetermined calculation which is not performed at the time of normal control, and inquires about the calculation result. Thereby, the calculation function of slave ECU2 can be confirmed and it can be judged correctly whether it is malfunctioning.
Although not particularly mentioned in the above-described embodiment, it is possible to detect a sign of a failure by grasping the tendency of the answer obtained from the
また、上述の実施形態では各スレーブECU2a〜2cに対してEPROM8a〜8cが併設された構成となっているが、EPROM8a〜8cは必須の構成要素ではなく、不揮発性メモリを持たないものを用いることも可能である。この場合、スレーブECUでは不揮発性メモリへの書き込み作業が実施されないが、制御の都合(例えば、被制御装置の初期化完了待ち)により電源保持要求が出力される場合があるため、上述の実施形態と同様の作用,効果が得られる。
Further, in the above-described embodiment, the
また、問い合わせに対する各スレーブECU2からの回答が正当でないことを記憶する構成や、強制遮断部1cによる給電の強制遮断の直前にマスタECU1が自己診断を実施してその結果を記憶する構成、その結果を車両運転者へ報知する構成等を追加してもよい。つまり、給電の強制遮断が実施された場合、スレーブECU2又はこれに管理されている被制御装置のどこかに異常が発生していると考えられるため、マスタECU1でその異常を検出してダイアグを残しておく。次回、イグニッションスイッチ3が操作されて車両電源がオンになった時に、マスタECU1がダイアグに基づく警告表示を行うようにすることで、その異常を車両運転者が把握することができるようになる。
Further, a configuration for storing that the answer from each
なお、車両運転者は、イグニッションスイッチ3のオフ操作の直後に車両を降りる場合がある。そのため、マスタECU1によるこのような報知制御は、車両電源がオンになった時に実施することが好ましい。マスタECU1にもEPROM等の不揮発メモリを併設しておけば、前回、車両電源がオフになった時の情報に基づいて警告表示を行うことができる。
The vehicle driver may get off the vehicle immediately after the
1 マスタECU(マスタ電子制御手段)
1a 遮断制御部
1b 問い合わせ部(問い合わせ手段)
1c 強制遮断部(強制遮断手段)
2 スレーブECU(電子制御手段)
2a 第一ECU
2b 第二ECU
2c 第三ECU
3 イグニッションスイッチ(遮断要求検出手段)
4 通信ライン
5 電源ライン
6 バッテリ電源
7 電源リレー
7a 接点
8a〜8c EPROM
10 電源制御装置
1 Master ECU (Master Electronic Control Unit)
1a
1c Forced shut-off part (forced shut-off means)
2 Slave ECU (electronic control means)
2a First ECU
2b Second ECU
2c 3rd ECU
3 Ignition switch (blocking request detection means)
4
10 Power supply control device
Claims (7)
該遮断要求検出手段で該遮断要求を検出すると、所定の終了制御を開始するとともに該終了制御が完了するまで電源保持要求を出力する電子制御手段と、
該電源保持要求の出力中には該電子制御手段への電力供給を保持し、該電源保持要求の非出力時には該電子制御手段への電力供給を遮断するマスタ電子制御手段と、を備えた車両の電源制御装置において、
該マスタ電子制御手段が、該遮断要求検出手段における該遮断要求の検出時から所定時間経過後に、該電子制御手段に対して該電源保持要求が正当であるか否かを判定するための問い合わせを行う問い合わせ手段を有する
ことを特徴とする、車両の電源制御装置。 A shutdown request detection means for detecting a shutdown request of the vehicle power supply;
Electronic control means for starting a predetermined end control and outputting a power holding request until the end control is completed when the shut-off request detecting means detects the shut-off request;
A vehicle having master electronic control means for holding power supply to the electronic control means during output of the power supply holding request and cutting off power supply to the electronic control means when the power supply hold request is not output In the power control device of
The master electronic control means makes an inquiry to the electronic control means to determine whether or not the power holding request is valid after a lapse of a predetermined time from the detection of the cutoff request in the cutoff request detection means. A power supply control device for a vehicle, comprising: inquiry means for performing the operation.
ことを特徴とする、請求項1記載の車両の電源制御装置。 2. The master electronic control unit includes a forced cutoff unit that forcibly cuts off the power supply to the electronic control unit when an answer of the electronic control unit to the inquiry is not valid. Vehicle power control device.
ことを特徴とする、請求項2記載の車両の電源制御装置。 3. The power control apparatus for a vehicle according to claim 2, wherein the inquiry means makes an inquiry for requesting an answer other than the power holding request to the electronic control means.
ことを特徴とする、請求項3記載の車両の電源制御装置。 4. The vehicle power supply control device according to claim 3, wherein the inquiry means inquires of the electronic control means about the content of the end control that is the reason for the power holding request.
ことを特徴とする、請求項3又は4記載の車両の電源制御装置。 5. The power control apparatus for a vehicle according to claim 3, wherein the inquiry means makes an inquiry having three or more answer patterns.
ことを特徴とする、請求項3記載の車両の電源制御装置。 4. The vehicle power supply control device according to claim 3, wherein the inquiry means makes the electronic control means perform self-diagnosis and inquires about the result.
ことを特徴とする、請求項3記載の車両の電源制御装置。 4. The vehicle power supply control device according to claim 3, wherein the inquiry means causes the electronic control means to perform a predetermined calculation and inquires about the result.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007250733A JP4957486B2 (en) | 2007-09-27 | 2007-09-27 | Vehicle power supply control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007250733A JP4957486B2 (en) | 2007-09-27 | 2007-09-27 | Vehicle power supply control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009078752A JP2009078752A (en) | 2009-04-16 |
| JP4957486B2 true JP4957486B2 (en) | 2012-06-20 |
Family
ID=40653831
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007250733A Active JP4957486B2 (en) | 2007-09-27 | 2007-09-27 | Vehicle power supply control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4957486B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5445317B2 (en) * | 2010-05-10 | 2014-03-19 | 三菱自動車工業株式会社 | Charging system |
| JP2016179801A (en) * | 2015-03-25 | 2016-10-13 | 株式会社デンソー | In-vehicle system |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3651273B2 (en) * | 1998-08-20 | 2005-05-25 | 日産自動車株式会社 | Self-shutoff diagnostic device |
| JP2001067154A (en) * | 1999-08-27 | 2001-03-16 | Nec Mobile Commun Ltd | On-vehicle terminal equipment provided with power backup function and power backup method therefor |
| JP3915411B2 (en) * | 2001-02-08 | 2007-05-16 | 株式会社デンソー | Electronic control device for vehicle |
| JP2007237768A (en) * | 2006-03-06 | 2007-09-20 | Fujitsu Ten Ltd | Power management device and power management system |
-
2007
- 2007-09-27 JP JP2007250733A patent/JP4957486B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009078752A (en) | 2009-04-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4506868B2 (en) | Electronic control unit | |
| JP4803168B2 (en) | Vehicle information storage device | |
| US8406951B2 (en) | Electronic control system for vehicles | |
| JP5238431B2 (en) | Vehicle load control device | |
| JP4636118B2 (en) | Electronic device and program | |
| JP4098803B2 (en) | In-vehicle drive control device | |
| JP4706778B2 (en) | Electronic control device and vehicle control system | |
| US7155326B2 (en) | Electric control unit | |
| JP2022182015A (en) | Fault diagnosis device and fault diagnosis method for vehicle | |
| JP4957486B2 (en) | Vehicle power supply control device | |
| JP2010136544A (en) | Communication error determining apparatus and communication error determining method for vehicle control system | |
| JP5582748B2 (en) | Electronic control device for vehicle | |
| JP2006117131A (en) | Electronic control device for vehicle | |
| CN113253701B (en) | Vehicle remote diagnosis system and method | |
| JP5152230B2 (en) | Electronic control unit | |
| JP2010137612A (en) | Communication system of vehicular control unit | |
| JP5360216B2 (en) | Information management apparatus and information management method | |
| US20110145529A1 (en) | Controller | |
| JP4457969B2 (en) | VEHICLE CONTROL METHOD AND ELECTRONIC CONTROL DEVICE | |
| JP2014221608A (en) | Electronic control device for vehicle | |
| JP5177079B2 (en) | In-vehicle control device | |
| KR20150117562A (en) | Control system and method for body control module using external device | |
| JP2013018392A (en) | Electronic control device | |
| CN115962079B (en) | Starter control method, starter control device, vehicle-mounted equipment and storage medium | |
| JP4412222B2 (en) | VEHICLE CONTROL METHOD AND ELECTRONIC CONTROL DEVICE |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20091221 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120125 |
|
| 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: 20120221 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120305 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150330 Year of fee payment: 3 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 4957486 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |