Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4957486B2 - Vehicle power supply control device - Google Patents
[go: Go Back, main page]

JP4957486B2 - Vehicle power supply control device - Google Patents

Vehicle power supply control device Download PDF

Info

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
Application number
JP2007250733A
Other languages
Japanese (ja)
Other versions
JP2009078752A (en
Inventor
孝秀 阿部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Motors Corp
Original Assignee
Mitsubishi Motors Corp
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 Mitsubishi Motors Corp filed Critical Mitsubishi Motors Corp
Priority to JP2007250733A priority Critical patent/JP4957486B2/en
Publication of JP2009078752A publication Critical patent/JP2009078752A/en
Application granted granted Critical
Publication of JP4957486B2 publication Critical patent/JP4957486B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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 Patent Document 1, in a vehicular electronic control device of a multi-CPU system including a main CPU (engine control CPU) and a sub CPU (throttle control CPU), an end process (after-run) of an ignition switch is turned off. A technique is described in which the power to each CPU is shut off after the processing is completed. Here, the sub CPU is configured to periodically output a watchdog signal to the main CPU, and the main CPU grasps the completion of the end processing in the sub CPU by detecting the non-detection of the watchdog signal. Yes. As a result, it is possible to appropriately check the termination of the CPU when the power is shut off.

また、特許文献2には、特許文献1に記載のウォッチドッグ信号の代わりとなるパワーダウン許可信号を用いて、CPUへの電源電圧の供給及び遮断を制御する構成が開示されている。この技術では、CPUがシャットオフ処理の終了時に、電源制御回路へ出力される電圧を通常時のHiレベルからLowレベル(パワーダウン許可信号)へと変化させるようになっている。一方、電源制御回路は、この電圧変化を受けてCPUへの電源電圧の供給を停止するようになっている。これにより、シャットオフ処理中における電源電圧を確保できるようになっている。
特開2002−236503号公報 特開2003−312386号公報
Further, Patent Document 2 discloses a configuration for controlling the supply and cut-off of the power supply voltage to the CPU using a power-down permission signal instead of the watchdog signal described in Patent Document 1. In this technique, the CPU changes the voltage output to the power supply control circuit from the normal Hi level to the Low level (power down permission signal) at the end of the shutoff process. On the other hand, the power supply control circuit stops the supply of the power supply voltage to the CPU in response to this voltage change. As a result, the power supply voltage during the shut-off process can be secured.
JP 2002-236503 A JP 2003-312386 A

このように、電子制御装置への電源の供給及び遮断を制御する電源制御装置においては一般に、電源を制御される側の装置が、制御する側の装置に対して電源遮断の可否情報を送信する構成となっている。
しかしながら、上記のような構成では、電源を制御する側の装置が、制御される側から発せられた電源遮断の可否情報が正当なものであるか否かを判断することができないという課題がある。例えば、電源を制御される側の装置の終了制御が完了したにもかかわらず、故障あるいは不具合により電源遮断を許可する情報が出力されなければ、電源が遮断されないままの状態となる。この場合、電源遮断を許可する情報が出力されない限り電源が遮断されないため、バッテリが過放電してしまうおそれがある。
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 claim 1, the power supply control device for a vehicle according to the present invention (Claim 2) is configured so that the master electronic control means performs the electronic control when the reply of the electronic control means to the inquiry is not valid. It is characterized by having a forced cutoff means for forcibly cutting off the power supply to the means.

つまり、強制遮断手段が、該問い合わせに対する該電子制御手段の回答が正当でない場合に、該電子制御手段から出力されている電源保持要求に関しても正当なものではないと判断し、該電子制御手段への電力供給を強制的に遮断する。
なお、該電子制御手段が複数存在する場合、少なくとも一つの電子制御手段からの回答が正当である場合には、該電子制御手段への電力供給を保持することが好ましい。
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 Claim 2, the inquiry means makes an inquiry requesting an answer other than the power holding request to the electronic control means. It is characterized by doing.
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 Claim 3, the inquiry means the termination that is the reason for the power holding request to the electronic control means It is characterized by inquiring about the contents of control.

また、本発明の車両の電源制御装置(請求項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 claim 3 or 4, the inquiry means makes an inquiry having three or more answer patterns. .
The vehicle power supply control device according to the present invention (Claim 6) is characterized in that, in addition to the configuration according to Claim 3, the inquiry means causes the electronic control means to perform a self-diagnosis and inquires about the result. Yes.

また、本発明の車両の電源制御装置(請求項7)は、請求項3記載の構成に加え、該問い合わせ手段が、該電子制御手段に所定の演算を実施させるとともにその結果を問い合わせることを特徴としている。   In addition to the configuration of claim 3, the power supply control device for a vehicle according to the present invention (claim 7) is characterized in that the inquiry means causes the electronic control means to perform a predetermined calculation and inquires about the result. It is said.

本発明の車両の電源制御装置(請求項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 supply control device 10 of the present embodiment includes a master ECU (master electronic control means) 1, a slave ECU (electronic control means) 2, an ignition switch (shut-off request detection means) 3, a communication line 4, A power supply line 5, a battery power supply 6 and a power supply relay 7 are provided.

マスタECU1及びスレーブECU2は、自動車の制御を実施する電子制御装置であり、各ECUには周知のCPU,ROM,RAM等が内蔵されている。図1中には、第一ECU2a,第二ECU2b及び第三ECU2cの3種類のスレーブECU2が図示されている。これらの各スレーブECU2はそれぞれ異なる機能を有している。例えば、車両に搭載されたエンジンを制御するエンジンECU,トランスミッションECU,モータECU,バッテリ管理ECU,エアコンECU,充電管理ECU,ライト制御ECU,ドア制御ECU等の機能のうちの何れかが各々のスレーブECU2a〜2cに割り当てられている。   The master ECU 1 and the slave ECU 2 are electronic control devices that control the automobile, and each ECU incorporates a well-known CPU, ROM, RAM, and the like. FIG. 1 shows three types of slave ECUs 2, that is, a first ECU 2 a, a second ECU 2 b, and a third ECU 2 c. Each of these slave ECUs 2 has a different function. For example, any of the functions of 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, a door control ECU, and the like that controls an engine mounted on the vehicle is a slave. The ECUs 2a to 2c are assigned.

各スレーブECU2a〜2cには、EPROM(不揮発性の書き換え可能メモリ)8a〜8cが併設されており、各スレーブECU2a〜2cの終了制御時の演算結果等が格納されるようになっている。
また、第一ECU2a,第二ECU2b及び第三ECU2cのそれぞれには、電源ライン5及び電源リレー7を介して、バッテリ電源6からの電力が並列に供給されている。電源リレー7の接点7aの閉鎖時には全てのスレーブECU2a〜2cに対して給電され、接点7aが開放されると各スレーブECU2a〜2cへの給電が遮断されるようになっている。
Each of the slave ECUs 2a to 2c is provided with EPROMs (non-volatile rewritable memories) 8a to 8c, and stores calculation results and the like at the end control of the slave ECUs 2a to 2c.
Moreover, the electric power from the battery power supply 6 is supplied in parallel to the first ECU 2a, the second ECU 2b, and the third ECU 2c via the power line 5 and the power relay 7, respectively. When the contact 7a of the power supply relay 7 is closed, power is supplied to all the slave ECUs 2a to 2c. When the contact 7a is opened, the power supply to the slave ECUs 2a to 2c is cut off.

マスタECU1は、電源リレー7の接点7aを開閉制御して、車両に搭載された全てのスレーブECU2a〜2cへの給電を統括管理する電子制御装置である。なお、マスタECU1は、スレーブECU2と同様に、電源ライン5及び電源リレー7を介してバッテリ電源6へ接続されており、接点7aを開放することにより自分自身への電力供給を遮断することができるようになっている。   The master ECU 1 is an electronic control device that controls the opening and closing of the contact point 7a of the power supply relay 7 so that power supply to all the slave ECUs 2a to 2c mounted on the vehicle is integrated. As with the slave ECU 2, the master ECU 1 is connected to the battery power source 6 via the power line 5 and the power relay 7, and the power supply to itself can be cut off by opening the contact 7a. It is like that.

また、マスタECU1は、通信ライン4を介して各スレーブECU2a〜2c及び電源リレー7へ接続されており、各スレーブECU2a〜2cとの間で情報の送受信を行うことができるとともに、電源リレー7の接点7aを制御できるようになっている。なお、通信ライン4とは、例えばCANやMOST,FlexRay等の規格に準拠する車載LANのバスであってもよいし、あるいは専用の信号線であってもよい。   The master ECU 1 is connected to each of the slave ECUs 2a to 2c and the power relay 7 via the communication line 4, and can transmit and receive information to and from each of the slave ECUs 2a to 2c. The contact 7a can be controlled. The communication line 4 may be an in-vehicle LAN bus conforming to a standard such as CAN, MOST, or FlexRay, or may be a dedicated signal line.

さらに、マスタECU1にはイグニッションスイッチ3が接続されている。イグニッションスイッチ3は、オフ操作されていない状態では車両電源の遮断要求をマスタECU1へ出力せず、車両運転者によりオフ操作されると遮断要求を出力するスイッチである。
続いて、マスタECU1の具体的機能について説明する。マスタECU1は、遮断制御部1a,問い合わせ部(問い合わせ手段)1b及び強制遮断部(強制遮断手段)1cを備えて構成されている。
Further, an ignition switch 3 is connected to the master ECU 1. The ignition switch 3 is a switch that does not output a vehicle power supply cut-off request to the master ECU 1 in a state where it is not turned off, and outputs a cut-off request when the vehicle driver turns off the vehicle.
Subsequently, specific functions of the master ECU 1 will be described. The master ECU 1 includes a cutoff control unit 1a, an inquiry unit (inquiry unit) 1b, and a forced cutoff unit (forced cutoff unit) 1c.

遮断制御部1aは、イグニッションスイッチ3からの遮断要求を検出すると、各スレーブECU2a〜2cに対する終了制御の指示を出力するものである。この指示は、通信ライン4を介して一斉に各スレーブECU2a〜2cへ伝達される。一方、各スレーブECU2a〜2cではこの指示を受けて、終了制御を実施するようになっている。
終了制御とは、車両の運転終了時における制御用データの学習結果や運転情報の記録を行い、あるいは、再起動時におけるデータの整合性を保つためのデータ処理を行う制御である。この終了制御において、各スレーブECU2a〜2cはEPROM8a〜8cに対して各種情報を記録するようになっている。また、各スレーブECU2a〜2cは、このようなEPROM8a〜8cへの書き込み作業中に給電が遮断されないように、終了制御が完了するまでの間、マスタECU1に対して電源保持要求を出力するようになっている。
When the shut-off control unit 1a detects a shut-off request from the ignition switch 3, the shut-off control unit 1a outputs end control instructions to the slave ECUs 2a to 2c. This instruction is transmitted to the slave ECUs 2a to 2c all at once via the communication line 4. On the other hand, each of the slave ECUs 2a to 2c receives this instruction and performs end control.
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 slave ECUs 2a to 2c records various information in the EPROMs 8a to 8c. Each of the slave ECUs 2a to 2c outputs a power holding request to the master ECU 1 until the end control is completed so that power supply is not interrupted during the writing operation to the EPROMs 8a to 8c. It has become.

これを受けて遮断制御部1aは、全てのスレーブECU2a〜2cが電源保持要求を出力しなくなった場合に、電源リレー7の接点7aを開放して電源をオフに制御するようになっている。つまり、遮断制御部1aは、少なくとも何れかのスレーブECU2が電源保持要求を出力している場合には、電源を保持する制御を実施する。
問い合わせ部1bは、遮断要求を検出してから予め設定された所定時間TRが経過したときに、電源保持要求を出力している各スレーブECU2に対して問い合わせ(照会)を行うものである。本実施形態では、電源保持要求を出力している理由、すなわち、終了制御が完了しない理由を、各スレーブECU2に問い合わせるようになっている。所定時間TRは、各スレーブECU2及びそれらに制御される被制御装置に不具合がない状態での終了制御にかかる平均的な時間よりも長く設定されている。なお、本実施形態では、このような各スレーブECU2に対する問い合わせを所定時間TR毎に繰り返し実施するようになっている。
In response to this, when all the slave ECUs 2a to 2c stop outputting the power holding request, the shut-off control unit 1a opens the contact 7a of the power relay 7 to control the power off. That is, when at least one of the slave ECUs 2 outputs a power holding request, the shutoff control unit 1a performs control to hold the power.
Inquiry unit 1b, when the shutdown request a preset predetermined time from the detection T R has elapsed, and performs an inquiry (query) for each slave ECU2 that outputs a power supply holding request. In the present embodiment, each slave ECU 2 is inquired about the reason for outputting the power holding request, that is, the reason why the end control is not completed. The predetermined time T R is set to be longer than the average time it takes to end control in the absence of defects in the controlled device to be controlled to the respective slave ECU2 and their. In the present embodiment, it adapted to perform repeated query for each such slave ECU2 at every predetermined time T R.

一方、電源保持要求を出力している各スレーブECU2は、マスタECU1からの問い合わせに対して、予め設定された複数の理由(例えば「学習中」,「自己診断中」,「EPROMへの書き込みの完了待ち」,「被制御装置の応答待ち」,「原因不明」等)の中から該当する理由を選択して、マスタECU1へ回答するようになっている。
強制遮断部1cは、各スレーブECU2からの回答が正当であるか否かを判断するものである。強制遮断部1cは、上記の予め設定された複数の理由のうち、正当な理由と正当でない理由とを判別する機能を有している。
On the other hand, each of the slave ECUs 2 outputting the power holding request, in response to the inquiry from the master ECU 1, has a plurality of preset reasons (for example, “during learning”, “during self-diagnosis”, “writing to EPROM” The corresponding reason is selected from “Waiting for completion”, “Waiting for response of controlled device”, “Unknown cause”, etc.) and responding to the master ECU 1.
The forced cutoff unit 1c determines whether or not the answer from each slave ECU 2 is valid. The forced shut-off unit 1c has a function of discriminating between a valid reason and an invalid reason among the plurality of preset reasons.

例えば、「学習中」,「自己診断中」,「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 cutoff unit 1c forcibly opens the contact 7a of the power relay 7 to cut off the power supply when the answer from all the slave ECUs 2 outputting the power holding request is not valid. . Note that, even if one of the slave ECUs 2 outputting the power holding request has received a valid answer, the power feeding is held.

なお、マスタECU1は、遮断要求の非検出時には常に全てのスレーブECU2への給電を保持するようになっている。例えば、イグニッションスイッチ3からの遮断要求がない状態では、電源保持要求の有無に関わらず、遮断制御部1aが電源リレー7の接点7aを閉鎖したままとして給電を保持する。あるいは、遮断要求の非検出時には各スレーブECU2が常に電源保持要求を出力する構成とし、その電源保持要求を以て遮断制御部1aが給電を保持するものとしてもよい。   Note that the master ECU 1 always holds power supply to all the slave ECUs 2 when no shutoff request is detected. For example, in a state where there is no interruption request from the ignition switch 3, the interruption control unit 1a holds the power supply while keeping the contact 7a of the power supply relay 7 closed regardless of whether there is a power supply holding request. Alternatively, each slave ECU 2 may always output a power supply holding request when no shutdown request is detected, and the shutdown control unit 1a may hold power supply in response to the power supply holding request.

[フローチャート]
本電源制御装置10の制御手順を、図2を用いて説明する。このフローチャートは、マスタECU1の内部において所定の周期で繰り返し実行されるものである。なお、本実施形態では、このフローで用いられるフラグとして、終了制御用フラグFA及びカウンタ用フラグFBが設定されている。
[flowchart]
A control procedure of the power supply control apparatus 10 will be described with reference to FIG. This flowchart is repeatedly executed at a predetermined cycle inside the master ECU 1. In the present embodiment, an end control flag F A and a counter flag F B are set as flags used in this flow.

終了制御用フラグ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 master ECU 1 to the slave ECU 2. The counter flag F B is a flag counter C corresponding to the elapsed time from the detection of the shutdown request indicating whether there is a count (increment). The initial values of these flags F A and F B are both set to 0, and are reset simultaneously with the ON operation of the ignition switch 3.

ステップ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 ignition switch 3. Here, if a shut-off request is detected, the process proceeds to step A20, and if not detected, the process proceeds to step A140, and this flow is ended while holding the power supply. That is, the control after step A20 is performed immediately after the ignition switch 3 is turned off.

ステップ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 slave ECU 2 from the cutoff control unit 1a. In response to this, each slave ECU 2 performs termination control, and a power holding request is output from each slave ECU 2 to the master ECU 1. In this end control, learning control and self-diagnosis control of each slave ECU 2 and the controlled device controlled by the slave ECU 2 are performed, and the result is written in the corresponding EPROMs 8a to 8c.

また、続くステップ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 slave ECU 2. Here, when the power holding request is not output from all the slave ECUs 2, the process proceeds to step A 130, where the contact 7 a of the power relay 7 is opened in the cutoff control unit 1 a and the power supply to the master ECU 1 and each slave ECU 2 is cut off. Is done. That is, the power supply of the vehicle is completely shut off and all the controls are finished. On the other hand, when the power-off request is output from at least one slave ECU 2, the process proceeds to step A60.

なお、ステップ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 master ECU 1 cannot determine whether or not the power supply cutoff request from each slave ECU 2 is valid. That is, in this embodiment, the validity of the power-off request is determined in the control after step A60.
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 inquiry unit 1b inquires each slave ECU 2 about the reason for outputting the power holding request. In response to this, each slave ECU 2 outputting the power holding request selects a corresponding reason from a plurality of preset reasons, and the answer is returned to the master ECU 1. In the subsequent step A110, it is determined whether or not the answer from each slave ECU 2 is valid in the forced cutoff unit 1c.

例えば、第一ECU2aには把握できないような原因不明の機能不全により第一ECU2aの終了制御が完了していない場合、第一ECU2aはマスタECU1の問い合わせに対して「原因不明」と回答する。したがって、マスタECU1は第一ECU2a又はこれの被制御装置に何らかの不具合が生じていると見なし、第一ECU2aの回答が正当ではないと判断する。一方、何らかの原因が明確であって第一ECU2aの終了制御が完了していない場合には、第一ECU2aから「学習中」,「自己診断中」,「EPROMへの書き込みの完了待ち」,「被制御装置の応答待ち」等の正当な理由が回答されるため、マスタECU1は第一ECU2aの回答が正当であると判断する。   For example, when the end control of the first ECU 2a is not completed due to a malfunction of unknown cause that cannot be grasped by the first ECU 2a, the first ECU 2a replies “unknown” to the inquiry of the master ECU 1. Therefore, the master ECU 1 considers that some trouble has occurred in the first ECU 2a or its controlled device, and determines that the answer from the first ECU 2a is not valid. On the other hand, if the cause is clear and the end control of the first ECU 2a has not been completed, the first ECU 2a performs "learning", "during self-diagnosis", "waiting for completion of writing to EPROM", " Since a valid reason such as “waiting for response of controlled device” is answered, master ECU 1 determines that the answer from first ECU 2a is valid.

また、例えば第二ECU2b自身の機能不全により終了制御が完了していない場合には、予め設定された複数の理由以外の無効な回答が第二ECU2bからなされることが考えられる。この場合、回答が「学習中」,「自己診断中」,「EPROMへの書き込みの完了待ち」,「被制御装置の応答待ち」等の予め設定された範囲内のものでないことを以て、マスタECU1は第二ECU2bに何らかの不具合が生じていると見なし、第二ECU2bの回答が正当でないと判断する。   Further, for example, when the end control is not completed due to malfunction of the second ECU 2b itself, it is considered that an invalid answer other than a plurality of preset reasons is made from the second ECU 2b. In this case, the master ECU 1 indicates that the answer is not within a preset range such as “learning”, “self-diagnosis”, “waiting for completion of writing to EPROM”, “waiting for response of controlled device”, etc. Considers that some trouble has occurred in the second ECU 2b, and determines that the answer from the second ECU 2b is not valid.

あるいは、第三ECU2c及びこれの被制御装置に不具合が生じていないにもかかわらず、通信ライン4上の障害により電源保持要求が出力されたままとなり、見かけ上第三ECU2cの終了制御が完了していない状態も考えられる。この場合、第三ECU2cではすでに終了制御が完了しているため、何も理由を回答しないことになる。したがって、マスタECU1は第三ECU2c又は通信ライン4上に何らかの不具合が生じているものと見なし、第三ECU2cの回答(電源保持要求を出力し、かつ、無回答であること)が正当でないと判断する。   Alternatively, although there is no malfunction in the third ECU 2c and its controlled device, the power holding request remains output due to a failure on the communication line 4, and the end control of the third ECU 2c is apparently completed. It is also possible that there is no state. In this case, since the end control has already been completed in the third ECU 2c, no reason is answered. Accordingly, the master ECU 1 considers that some trouble has occurred on the third ECU 2c or the communication line 4, and determines that the answer from the third ECU 2c (outputs a power holding request and is unanswered) is not valid. To do.

ステップA110において、電源保持要求が出力しているスレーブECU2からの回答のうち、少なくとも一つの回答が正当である場合には、ステップA120へ進み、カウンタ用フラグFBがFB=0に再設定される。そして続くステップA140において、電源リレー7の接点7aが閉鎖されたまま保持されて、このフローは終了する。つまりこの場合、マスタECU1は、演算処理の遅延等によりスレーブECU2での終了制御が単に長引いている(不具合ではない)ものと判断して、給電を保持する。 In step A110, if at least one of the responses from the slave ECU 2 outputting the power holding request is valid, the process proceeds to step A120, and the counter flag F B is reset to F B = 0. Is done. In the subsequent step A140, the contact 7a of the power supply relay 7 is held closed, and this flow ends. That is, in this case, the master ECU 1 determines that the end control in the slave ECU 2 is simply prolonged (not a malfunction) due to a delay in arithmetic processing or the like, and holds power supply.

なお、ステップ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 slave ECU 2 outputting the power holding request are not valid, the process proceeds to step A130, the contact 7a of the power relay 7 is opened, and the power supply to the master ECU 1 and each slave ECU 2 is cut off. . As a result, the power supply of the vehicle is completely shut off and all the controls are completed.

つまり、強制遮断部1cは、問い合わせに対するスレーブECU2の回答が正当でない場合に、そのスレーブECU2から出力されている電源保持要求に関しても正当なものではないと判断し、電力供給を強制的に遮断する。   That is, when the response of the slave ECU 2 to the inquiry is not valid, the forcible cutoff unit 1c determines that the power holding request output from the slave ECU 2 is not valid and forcibly cuts off the power supply. .

[作用]
本車両の電源制御装置10による制御内容を、図3及び図4を用いて説明する。
図3に示すタイムチャートは、第一ECU2a,第二ECU2b及び第三ECU2cが正常に終了制御を実施した場合の一例である。
まず、時刻t0にイグニッションスイッチ3がオフ操作されて車両電源の遮断要求がマスタECU1へ入力されると、各スレーブECU2が終了制御を開始するとともに電源保持要求を出力する。マスタECU1では、時刻t0からカウンタCがカウントされ、所定時間TRの計測が開始される。
[Action]
The contents of control by the power supply control device 10 of the vehicle will be described with reference to FIGS. 3 and 4.
The time chart shown in FIG. 3 is an example when the first ECU 2a, the second ECU 2b, and the third ECU 2c perform the end control normally.
First, when the ignition switch 3 is turned off at time t 0 and a vehicle power supply cutoff request is input to the master ECU 1, each slave ECU 2 starts termination control and outputs a power supply holding request. The master ECU 1, the counter C from the time t 0 is counted, measurement of the predetermined time T R is started.

時刻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 third ECU 2c is slightly prolonged due to a delay in writing to the EPROM 8c.
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 third ECU 2c replies “waiting for the response of the controlled device”, the master ECU 1 determines that the reply from the third ECU 2c and the power holding request are valid, and closes the contact 7a of the power relay 7. Control as it is and keep power feeding.

その後、時刻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 contact 7a of the power supply relay 7 by the cutoff controller 1a is opened And the power is shut off.
Next, FIG. 4 shows an example in the case where a malfunction occurs in the end control.
At time t 0 , the ignition switch 3 is turned off, and each slave ECU 2 starts termination control and outputs a power holding request. When the end control of the first ECU2a is completed at time t 4, the power supply holding request from the first ECU2a is released. On the other hand, it is assumed that the end control of the second ECU 2b is slightly prolonged by the self-diagnosis control. Further, it is assumed that the third ECU 2c is frozen while the power holding request is output due to malfunction.

時刻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 master ECU 1 outputs a power holding request to the second ECU 2b and the third ECU 2c is inquired. On the other hand, since the second ECU 2b replies “during self-diagnosis”, the master ECU 1 determines that the reply from the second ECU 2b and the power holding request are valid. On the other hand, since the third ECU 2c is frozen and does not answer anything, the master ECU 1 determines that the answer from the third ECU 2c and the power holding request are not valid.

ここで、マスタECU1は、電源保持要求が出力しているスレーブECU2からの回答のうち、少なくとも一つの回答(第二ECU2bの回答)は正当であるため、カウンタ用フラグFBをFB=0に再設定して電源リレー7の接点7aを閉鎖したままに制御し、給電を保持する。その後、時刻t5に第二ECU2bの終了制御が完了すると、第二ECU2bからの電源保持要求が解除される。 Here, the master ECU 1 sets the counter flag F B to F B = 0 because at least one answer (answer of the second ECU 2b) among the answers from the slave ECU 2 that the power holding request is output is valid. Then, the contact 7a of the power supply relay 7 is controlled to be closed, and the power supply is maintained. Thereafter, the end control of the second ECU2b is completed at time t 5, the power supply holding request from the second ECU2b is released.

さらに、時刻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 master ECU 1 outputs the power holding request to the third ECU 2 c is again inquired. At this time, the slave ECU 2 that outputs the power holding request is only the third ECU 2c, and since the answer and the power holding request from the third ECU 2c are determined to be invalid, the contact point of the power relay 7 is determined by the shutoff control unit 1a. 7a is opened and the power supply is shut off.

なお、図4中に破線で示すように、時刻tR1におけるマスタECU1からの問い合わせをトリガーとして第三ECU2cのフリーズ状態が解消され、時刻t6に終了制御が完了したような場合には、時刻t5に第二ECU2bの終了制御が完了した時点で電源が遮断されることになる。 As indicated by the broken line in FIG. 4, when the freeze state of the third ECU 2c is canceled by the inquiry from the master ECU 1 at time t R1 and the end control is completed at time t 6 , so that the power is turned off when the end control of the second ECU2b is completed t 5.

[効果]
このように本発明の一実施形態にかかる車両の電源制御装置10によれば、車両電源の遮断要求から所定時間TRが経過したときに、マスタECU1が各スレーブECU2へ問い合わせを行うため、各スレーブECU2に対し電源保持要求を確認することができる。また、その確認によって電源保持要求が解除された場合には、マスタECU1及び各スレーブECU2への電力供給を遮断することができ、バッテリ電力の浪費を防止することができる。
[effect]
According to the power supply control device 10 for a vehicle according to the embodiment of the present invention, when the predetermined time T R from off request of the vehicle power supply has passed, because the master ECU1 makes an inquiry to the slave ECU 2, the The power holding request can be confirmed with respect to the slave ECU 2. Further, when the power holding request is canceled by the confirmation, power supply to the master ECU 1 and each slave ECU 2 can be cut off, and waste of battery power can be prevented.

また、スレーブ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 slave ECU 2, its controlled device, or the communication line 4, it is determined whether or not the power holding request is valid. This can be determined by the master ECU 1. As a result, it becomes possible to remove the unauthorized power holding state after the ignition switch 3 of the vehicle is turned off.
In addition, since the content of the inquiry by the master ECU 1 is the reason for the power holding request, it is easy to assume in advance what the slave ECU 2 should answer. On the other hand, since the slave ECU 2 only has to select a reason that corresponds from the answers that are assumed in advance, the slave ECU 2 can answer quickly. Further, when an answer other than the contents assumed in advance is obtained, it can be determined that the slave ECU 2 is malfunctioning.

また、少なくとも一つのスレーブECU2からの回答が正当である場合には給電が保持されるため、例えば図4中における第二ECU2bのように終了制御がやや長引いた場合であっても、その終了制御を完遂させることができる。
このように、本電源制御装置10によれば、所定時間TR毎に電源の遮断不能状態をチェックして、早期に解消することができる。
Further, since the power supply is maintained when the answer from at least one slave ECU 2 is valid, even if the end control is slightly prolonged as in the second ECU 2b in FIG. Can be completed.
As described above, according to the power supply control device 10, it is possible to check an inability to turn off the power every predetermined time T R and solve it at an early stage.

[その他]
以上、本発明の一実施形態について説明したが、本発明はこのような実施形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲で種々変形して実施することができる。
例えば、上述の実施形態では、問い合わせ部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 slave ECU 2 by the inquiry unit 1b is “reason for outputting the power holding request”, but the inquiry content is not limited to this. It is sufficient that at least an inquiry for requesting the slave ECU 2 to answer by a control logic different from the control logic for outputting the power holding request is included. For example, the inquiry is such that the slave ECU 2 cannot answer YES or NO. Thereby, it becomes possible to determine the malfunction related to the power holding request of the slave ECU 2.

なおこの場合、問い合わせの回答のパターンが三通り以上となる問い合わせを行うことが好ましい。スレーブ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 slave ECU 2, it is possible to improve the reliability of the answer and to determine the malfunction of the slave ECU 2 more accurately.
Moreover, it is good also as a structure which inquires about the self-diagnosis result of slave ECU2. Thereby, the malfunctioning location of the slave ECU 2 can be specified.

また、通常制御時には実施しないような所定の演算をスレーブ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 slave ECU 2 over time. For example, if the reply “Waiting for completion of writing to EPROM” is continuously detected, it can be determined that there is a possibility of deterioration or wear of the EPROMs 8a to 8c.

また、上述の実施形態では各スレーブECU2a〜2cに対してEPROM8a〜8cが併設された構成となっているが、EPROM8a〜8cは必須の構成要素ではなく、不揮発性メモリを持たないものを用いることも可能である。この場合、スレーブECUでは不揮発性メモリへの書き込み作業が実施されないが、制御の都合(例えば、被制御装置の初期化完了待ち)により電源保持要求が出力される場合があるため、上述の実施形態と同様の作用,効果が得られる。   Further, in the above-described embodiment, the EPROMs 8a to 8c are provided side by side with the slave ECUs 2a to 2c. Is also possible. In this case, the slave ECU does not perform writing to the non-volatile memory, but a power holding request may be output for convenience of control (for example, waiting for initialization of the controlled device). The same actions and effects can be obtained.

また、問い合わせに対する各スレーブECU2からの回答が正当でないことを記憶する構成や、強制遮断部1cによる給電の強制遮断の直前にマスタECU1が自己診断を実施してその結果を記憶する構成、その結果を車両運転者へ報知する構成等を追加してもよい。つまり、給電の強制遮断が実施された場合、スレーブECU2又はこれに管理されている被制御装置のどこかに異常が発生していると考えられるため、マスタECU1でその異常を検出してダイアグを残しておく。次回、イグニッションスイッチ3が操作されて車両電源がオンになった時に、マスタECU1がダイアグに基づく警告表示を行うようにすることで、その異常を車両運転者が把握することができるようになる。   Further, a configuration for storing that the answer from each slave ECU 2 to the inquiry is not valid, a configuration for storing the result by the master ECU 1 performing a self-diagnosis immediately before the forced cutoff of power supply by the forced cutoff unit 1c, and the result May be added to the vehicle driver. That is, when the power supply is forcibly cut off, it is considered that an abnormality has occurred somewhere in the slave ECU 2 or the controlled device managed by the slave ECU 2, so that the abnormality is detected by the master ECU 1 and the diagnosis is performed. Leave it. When the ignition switch 3 is operated next time and the vehicle power supply is turned on, the master ECU 1 displays a warning based on the diagnosis, so that the vehicle driver can grasp the abnormality.

なお、車両運転者は、イグニッションスイッチ3のオフ操作の直後に車両を降りる場合がある。そのため、マスタECU1によるこのような報知制御は、車両電源がオンになった時に実施することが好ましい。マスタECU1にもEPROM等の不揮発メモリを併設しておけば、前回、車両電源がオフになった時の情報に基づいて警告表示を行うことができる。   The vehicle driver may get off the vehicle immediately after the ignition switch 3 is turned off. Therefore, such notification control by the master ECU 1 is preferably performed when the vehicle power supply is turned on. If the master ECU 1 is also provided with a non-volatile memory such as an EPROM, warning display can be performed based on information when the vehicle power supply was turned off last time.

本発明の一実施形態に係る車両の電源制御装置の全体構成を示すブロック図である。1 is a block diagram illustrating an overall configuration of a vehicle power supply control device according to an embodiment of the present invention. 本発明の一実施形態に係る車両の電源制御装置の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of the power supply control apparatus of the vehicle which concerns on one Embodiment of this invention. 本発明の一実施形態に係る車両の電源制御装置による制御内容を説明するためのタイムチャートである。It is a time chart for demonstrating the control content by the power supply control apparatus of the vehicle which concerns on one Embodiment of this invention. 本発明の一実施形態に係る車両の電源制御装置による制御内容を説明するためのタイムチャートである。It is a time chart for demonstrating the control content by the power supply control apparatus of the vehicle which concerns on one Embodiment of this invention.

符号の説明Explanation of symbols

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 Blocking control part 1b Inquiry part (inquiry means)
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 Communication line 5 Power line 6 Battery power 7 Power relay 7a Contact 8a-8c EPROM
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.
JP2007250733A 2007-09-27 2007-09-27 Vehicle power supply control device Active JP4957486B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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