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
JP7574752B2 - Vehicle control device - Google Patents
[go: Go Back, main page]

JP7574752B2 - Vehicle control device - Google Patents

Vehicle control device Download PDF

Info

Publication number
JP7574752B2
JP7574752B2 JP2021106781A JP2021106781A JP7574752B2 JP 7574752 B2 JP7574752 B2 JP 7574752B2 JP 2021106781 A JP2021106781 A JP 2021106781A JP 2021106781 A JP2021106781 A JP 2021106781A JP 7574752 B2 JP7574752 B2 JP 7574752B2
Authority
JP
Japan
Prior art keywords
ecu
computer
vehicle
cpu
abnormality
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
JP2021106781A
Other languages
Japanese (ja)
Other versions
JP2023005085A (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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2021106781A priority Critical patent/JP7574752B2/en
Publication of JP2023005085A publication Critical patent/JP2023005085A/en
Application granted granted Critical
Publication of JP7574752B2 publication Critical patent/JP7574752B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electric Propulsion And Braking For Vehicles (AREA)

Description

本発明は、車両制御装置に関する。 The present invention relates to a vehicle control device.

例えば特許文献1には、ハイブリッド車の複数の駆動力源を複数のスレーブECU(Electronic Control Unit)によりそれぞれ制御し、マスターECUにより各スレーブECUを統括し各駆動力を調停する技術が開示されている。マスターECU及び各スレーブECUは、例えばマイクロコントローラにより実現される。 For example, Patent Document 1 discloses a technology in which multiple driving force sources of a hybrid vehicle are controlled by multiple slave ECUs (Electronic Control Units), and a master ECU manages each slave ECU and arbitrates each driving force. The master ECU and each slave ECU are realized, for example, by a microcontroller.

特開2015-63158号公報JP 2015-63158 A

ECUに用いられるマイクロコントローラには、例えばマイクロコントローラの起動及び停止を記録する不揮発性メモリを備えるものがある。この種のマイクロコントローラは、例えば電源の瞬断などにより意図せずに動作が停止した場合、不揮発性メモリの記録が起動状態を示したままであるため、異常を検出することができる。 Some microcontrollers used in ECUs are equipped with non-volatile memory that records the start and stop of the microcontroller. If this type of microcontroller stops operating unintentionally, for example due to a momentary power interruption, the non-volatile memory record still indicates the operating state, making it possible to detect the abnormality.

これに対し、不揮発性メモリを備えないマイクロコントローラの場合、上記のような異常を検出することができない。例えばマスターECUは、スレーブECUのマイクロコントローラに異常が発生した場合、フェイルセーフ機能により駆動力源の制御を停止させる。 In contrast, microcontrollers that do not have non-volatile memory cannot detect the above-mentioned abnormalities. For example, if an abnormality occurs in the microcontroller of the slave ECU, the master ECU will stop control of the drive power source using a fail-safe function.

しかし、例えば不揮発性メモリを備えるマイクロコントローラのスレーブECU、及び不揮発性メモリを備えていないマイクロコントローラのスレーブECUが混在する場合、不揮発性メモリを備えていないマイクロコントローラは異常を検出できないため、マスターECUは適切なフェイルセーフを実現することが難しい。 However, for example, when a slave ECU of a microcontroller with non-volatile memory and a slave ECU of a microcontroller without non-volatile memory are mixed, it is difficult for the master ECU to achieve an appropriate fail-safe because the microcontroller without non-volatile memory cannot detect abnormalities.

そこで本発明は上記の課題に鑑みてなされたものであり、適切なフェイルセーフを実現することができる車両制御装置を提供することを目的とする。 The present invention was made in consideration of the above problems, and aims to provide a vehicle control device that can achieve an appropriate fail-safe.

本明細書に記載の車両制御装置は、車両の第1駆動力源を制御する第1コンピュータと、前記車両の第2駆動力源を制御する第2コンピュータと、前記第1コンピュータ及び前記第2コンピュータに対し前記第1駆動力源及び前記第2駆動力源の制御に関する指示を行う第3コンピュータとを有し、前記第2コンピュータは、不揮発性メモリを有し、前記第3コンピュータの指示に従って制御を停止する場合、前記不揮発性メモリに停止記録を書き込み、制御の開始時に前記停止記録に基づき前記第2コンピュータの異常の有無を判定し、前記第1コンピュータは、不揮発性メモリを有しておらず、前記第1コンピュータの起動時刻からの経過時間を計時し、前記第3コンピュータは、前記第2コンピュータが異常有りと判定した場合、前記経過時間が閾値未満であるとき、前記第1コンピュータ及び前記第2コンピュータに制御の停止を指示する。 The vehicle control device described in this specification has a first computer that controls a first driving force source of a vehicle, a second computer that controls a second driving force source of the vehicle, and a third computer that instructs the first computer and the second computer regarding the control of the first driving force source and the second driving force source, the second computer has a non-volatile memory, and when control is stopped according to the instruction of the third computer, writes a stop record to the non-volatile memory and determines whether or not there is an abnormality in the second computer based on the stop record at the start of control, the first computer does not have a non-volatile memory, and measures the elapsed time from the start time of the first computer, and when the second computer determines that there is an abnormality, the third computer instructs the first computer and the second computer to stop control when the elapsed time is less than a threshold value.

上記の構成において、前記第3コンピュータは、前記第2コンピュータが異常有りと判定した場合、前記経過時間が前記閾値以上であるとき、前記第2コンピュータに制御の停止を指示してもよい。 In the above configuration, when the second computer determines that an abnormality exists, the third computer may instruct the second computer to stop control when the elapsed time is equal to or greater than the threshold value.

上記の構成において、前記第3コンピュータは、前記第2コンピュータが異常有りと判定した場合、前記経過時間が前記閾値以上であるとき、前記第1コンピュータに前記第1駆動力源及び前記第2駆動力源の制御の実行を指示してもよい。 In the above configuration, when the second computer determines that an abnormality exists, the third computer may instruct the first computer to execute control of the first driving force source and the second driving force source when the elapsed time is equal to or greater than the threshold value.

上記の構成において、前記第3コンピュータは、前記第2コンピュータが異常なしと判定した場合、前記第1コンピュータ及び前記第2コンピュータに制御の実行を指示してもよい。 In the above configuration, if the second computer determines that there is no abnormality, the third computer may instruct the first computer and the second computer to execute control.

上記の構成において、前記第3コンピュータは、前記第3コンピュータの起動後、前記第2コンピュータが最初に異常有りと判定した場合、前記第2コンピュータに一時的に制御を停止するように指示してもよい。 In the above configuration, the third computer may instruct the second computer to temporarily halt control if the second computer first determines that an abnormality exists after the third computer is started.

本発明によれば、適切なフェイルセーフを実現することができる。 The present invention makes it possible to achieve an appropriate fail-safe.

車両の一例を示す構成図である。FIG. 1 is a configuration diagram showing an example of a vehicle. 車両ECU及びMG-ECUの一例を示す構成図である。FIG. 2 is a diagram showing an example of a vehicle ECU and an MG-ECU. MG-ECUが異常なしと判定する例を示すタイムチャートである。4 is a time chart showing an example in which the MG-ECU determines that there is no abnormality. MG-ECUが異常有りと判定する例を示すタイムチャートである。4 is a time chart showing an example in which the MG-ECU determines that an abnormality exists. インバータの駆動処理の一例を示すフローチャートである。4 is a flowchart showing an example of a drive process of an inverter. MG-ECUの動作の一例を示すフローチャートである。4 is a flowchart showing an example of an operation of the MG-ECU. MG-ECUの動作の一例を示すフローチャートである。4 is a flowchart showing an example of an operation of the MG-ECU. 車両ECUの動作の一例を示すフローチャートである。4 is a flowchart showing an example of an operation of a vehicle ECU.

図1は、車両90の一例を示す構成図である。車両90は、一例としてハイブリッド車であり、車両制御装置9、インバータ60,61、電流センサ62,63、昇圧コンバータ64、MGバッテリ65、モータジェネレータ(MG)50,51、車軸52、車輪53、ディファレンシャルギア装置54、動力分割装置55、及びエンジン56を有する。なお、車両90は、ハイブリッド車に限定されず、エンジン56のない電気自動車であってもよい。 Figure 1 is a configuration diagram showing an example of a vehicle 90. The vehicle 90 is, as an example, a hybrid vehicle, and has a vehicle control device 9, inverters 60, 61, current sensors 62, 63, a boost converter 64, an MG battery 65, motor generators (MG) 50, 51, an axle 52, wheels 53, a differential gear device 54, a power split device 55, and an engine 56. Note that the vehicle 90 is not limited to a hybrid vehicle, and may be an electric vehicle without an engine 56.

MG50,51は発電機及び電動機の両方の機能を備える。本例ではMG50は、電動機として機能し、MGバッテリ65の電力を消費することによりトルクを出力する。MG51は、発電機として機能し、回生動作を行うことにより発電して、発電電力をMGバッテリ65にチャージする。MGバッテリ65は、例えばリチウムイオンバッテリであり、MG50の電源として機能する。なお、MG50,51は、それぞれ、車両90の第1駆動力源及び第2駆動力源の一例である。 MGs 50 and 51 function as both a generator and an electric motor. In this example, MG 50 functions as an electric motor and outputs torque by consuming power from MG battery 65. MG 51 functions as a generator and generates power by performing regenerative operation, charging the generated power to MG battery 65. MG battery 65 is, for example, a lithium ion battery, and functions as a power source for MG 50. MGs 50 and 51 are examples of the first and second driving power sources of vehicle 90, respectively.

MG50は、ディファレンシャルギア装置54を介して車軸52に接続されており、トルクを車軸52に出力する。また、エンジン56は、動力分割装置55を介して車軸52に接続されており、その動力の一部を車軸52に伝達する。車軸52の端部には車輪53が接続されている。MG50及びエンジン56の駆動力は車軸52を介して車輪53に伝達される。 The MG 50 is connected to the axle 52 via a differential gear device 54, and outputs torque to the axle 52. The engine 56 is connected to the axle 52 via a power split device 55, and transmits part of its power to the axle 52. Wheels 53 are connected to the ends of the axle 52. The driving force of the MG 50 and the engine 56 is transmitted to the wheels 53 via the axle 52.

エンジン56の残りの動力は動力分割装置55によりMG51に伝達される。これによりMG51は発電してインバータ61に三相交流電流を出力する。 The remaining power of the engine 56 is transmitted to the MG 51 by the power split device 55. This causes the MG 51 to generate electricity and output three-phase AC current to the inverter 61.

インバータ61は、例えばIGBT(Insulated Gate Bipolar Transistor)などの複数のスイッチング素子を有する。インバータ60の各スイッチング素子は、車両制御装置9から入力されるスイッチング信号によりオンオフ制御される。これにより、インバータ61は三相交流電流から直流電圧を生成する。直流電圧は昇圧コンバータ64により変換されてMGバッテリ65に印加される。これにより、MGバッテリ65が充電される。 The inverter 61 has multiple switching elements, such as IGBTs (Insulated Gate Bipolar Transistors). Each switching element of the inverter 60 is on/off controlled by a switching signal input from the vehicle control device 9. This causes the inverter 61 to generate a DC voltage from the three-phase AC current. The DC voltage is converted by the boost converter 64 and applied to the MG battery 65. This charges the MG battery 65.

また、昇圧コンバータ64は、MGバッテリ65から入力される直流電圧を目標電圧に昇圧する。インバータ60には昇圧コンバータ64から直流電圧が印加される。インバータ60は、例えばIGBTなどの複数のスイッチング素子を有する。インバータ60の各スイッチング素子は、車両制御装置9から入力されるスイッチング信号によりオンオフ制御される。これにより、インバータ60は昇圧コンバータ64の直流電圧から三相交流電流を生成する。MG50は、インバータ60から入力される三相交流電流からトルクを出力する。 The boost converter 64 also boosts the DC voltage input from the MG battery 65 to a target voltage. The DC voltage is applied to the inverter 60 from the boost converter 64. The inverter 60 has a plurality of switching elements, such as IGBTs. Each switching element of the inverter 60 is on/off controlled by a switching signal input from the vehicle control device 9. This causes the inverter 60 to generate a three-phase AC current from the DC voltage of the boost converter 64. The MG 50 outputs torque from the three-phase AC current input from the inverter 60.

電流センサ62は、インバータ60からMG50に出力される三相交流電流の各電流値を検出する。電流センサ63は、MG51からインバータ61に出力される三相交流電流の各電流値を検出する。電流センサ62,63は各検出値を車両制御装置9に出力する。 Current sensor 62 detects each current value of the three-phase AC current output from inverter 60 to MG 50. Current sensor 63 detects each current value of the three-phase AC current output from MG 51 to inverter 61. Current sensors 62 and 63 output each detection value to vehicle control device 9.

車両制御装置9は、MG-ECU1,2、車両ECU3、イグニッションスイッチ(IGスイッチ)40、アクセルセンサ41、ブレーキセンサ42、車速センサ43、及びECUバッテリ44を有する。ECUバッテリ44はMG-ECU1,2及び車両ECU3の電源である。ECUバッテリ44は、給電線45を介してMG-ECU1,2及び車両ECU3に電力供給する。 The vehicle control device 9 has the MG-ECUs 1 and 2, the vehicle ECU 3, an ignition switch (IG switch) 40, an accelerator sensor 41, a brake sensor 42, a vehicle speed sensor 43, and an ECU battery 44. The ECU battery 44 is the power source for the MG-ECUs 1 and 2 and the vehicle ECU 3. The ECU battery 44 supplies power to the MG-ECUs 1 and 2 and the vehicle ECU 3 via a power supply line 45.

MG-ECU1は、MG50を制御する第1コンピュータの一例であり、MG-ECU2は、MG51を制御する第2コンピュータの一例である。MG-ECU1,2及び車両ECU3はマイクロコントローラを有するが、これに限定されず、他の種類のコンピュータで実現されてもよい。 MG-ECU1 is an example of a first computer that controls MG50, and MG-ECU2 is an example of a second computer that controls MG51. MG-ECU1, 2 and vehicle ECU3 each have a microcontroller, but are not limited to this and may be realized by other types of computers.

車両ECU3には、アクセルセンサ41、ブレーキセンサ42、及び車速センサ43から検出値がそれぞれ入力される。アクセルセンサ41は車両90のアクセルペダル(不図示)の開度を検出し、その検出値を車両ECU3に出力する。ブレーキセンサ42は車両90のブレーキペダル(不図示)の開度を検出し、その検出値を車両ECU3に出力する。車速センサ43は車両90の速度を検出し、その検出値を車両ECU3に出力する。 Detection values are input to the vehicle ECU 3 from an accelerator sensor 41, a brake sensor 42, and a vehicle speed sensor 43. The accelerator sensor 41 detects the opening degree of an accelerator pedal (not shown) of the vehicle 90, and outputs the detection value to the vehicle ECU 3. The brake sensor 42 detects the opening degree of a brake pedal (not shown) of the vehicle 90, and outputs the detection value to the vehicle ECU 3. The vehicle speed sensor 43 detects the speed of the vehicle 90, and outputs the detection value to the vehicle ECU 3.

また、IGスイッチ40は、車両90のスタートボタン(不図示)のオンオフを車両ECU3及びECUバッテリ44に通知する。ECUバッテリ44は、スタートボタンがオンになると電力供給を開始し、スタートボタンがオフになると電力供給を停止する。 The IG switch 40 also notifies the vehicle ECU 3 and the ECU battery 44 of the on/off state of the start button (not shown) of the vehicle 90. The ECU battery 44 starts supplying power when the start button is turned on, and stops supplying power when the start button is turned off.

車両ECU3は、スタートボタンがオンになると起動して車両90の制御を開始する。車両ECU3は、アクセルセンサ41、ブレーキセンサ42、及び車速センサ43の各検出値からMG50に要求されるトルク(以下、要求トルクと表記)を算出する。車両ECU3は、要求トルクに基づきMG50に力行動作させる制御をMG-ECU60に指示し、要求トルクに基づきMG51に回生動作させる制御をMG-ECU61に指示する。なお、車両ECU3は、MG-ECU1,2に対しMG50,51の制御に関する指示を行う第3コンピュータの一例である。 When the start button is turned on, the vehicle ECU 3 starts up and begins controlling the vehicle 90. The vehicle ECU 3 calculates the torque required of the MG 50 (hereinafter referred to as the required torque) from the detection values of the accelerator sensor 41, the brake sensor 42, and the vehicle speed sensor 43. The vehicle ECU 3 instructs the MG-ECU 60 to control the MG 50 to perform powering operation based on the required torque, and instructs the MG-ECU 61 to control the MG 51 to perform regenerative operation based on the required torque. The vehicle ECU 3 is an example of a third computer that gives instructions to the MG-ECUs 1 and 2 regarding the control of the MGs 50 and 51.

MG-ECU1,2は、車両ECU3からの制御指示に従ってインバータ60,61をそれぞれ駆動する。MG-ECU1,2は、MG50から要求トルクが出力されるようにインバータ60,61の各スイッチング素子をスイッチング信号によりそれぞれオンオフ制御する。また、MG-ECU1は、MG-ECU2に異常が検出された場合、一点鎖線で示されるように車両ECU3の制御指示に従ってMG-ECU2の代わりにインバータ61も駆動する。 MG-ECUs 1 and 2 drive inverters 60 and 61, respectively, according to control instructions from vehicle ECU 3. MG-ECUs 1 and 2 control the on/off of each switching element of inverters 60 and 61 using switching signals so that the required torque is output from MG 50. Furthermore, if an abnormality is detected in MG-ECU 2, MG-ECU 1 also drives inverter 61 instead of MG-ECU 2 according to control instructions from vehicle ECU 3, as shown by the dashed dotted line.

MG-ECU1,2には、電流センサ62,63から三相交流電流の電流値が入力される。MG-ECU1は電流センサ62の電流値を用いてインバータ60を駆動し、MG-ECU2は電流センサ63の電流値を用いてインバータ61を駆動する。また、MG-ECU1は、MG-ECU2に異常が検出された場合、電流センサ63の電流値を用いてインバータ61を駆動する。 The current values of the three-phase AC current are input to MG-ECU1 and 2 from current sensors 62 and 63. MG-ECU1 drives inverter 60 using the current value of current sensor 62, and MG-ECU2 drives inverter 61 using the current value of current sensor 63. Furthermore, if an abnormality is detected in MG-ECU2, MG-ECU1 drives inverter 61 using the current value of current sensor 63.

(車両ECU及びMG-ECUの構成)
図2は、車両ECU3及びMG-ECU1,2の一例を示す構成図である。MG-ECU1はマイクロコントローラ1a及び信号送受信回路1bを有し、MG-ECU2はマイクロコントローラ2a及び信号送受信回路2bを有する。車両ECU3はマイクロコントローラ3a及び信号送受信回路3bを有する。
(Configuration of vehicle ECU and MG-ECU)
2 is a configuration diagram showing an example of the vehicle ECU 3 and the MG-ECUs 1 and 2. The MG-ECU 1 has a microcontroller 1a and a signal transmission/reception circuit 1b, and the MG-ECU 2 has a microcontroller 2a and a signal transmission/reception circuit 2b. The vehicle ECU 3 has a microcontroller 3a and a signal transmission/reception circuit 3b.

マイクロコントローラ1aは、CPU(Central Processing Unit)10、ROM(Read Only Memory)11、RAM(Random Access Memory)12、通信ポート13、及びハードウェアインターフェース部(HW-IF)14を有する。CPU10は、互いに信号の入出力ができるように、ROM11、RAM12、通信ポート13、及びHW-IF14と、バス19を介して電気的に接続されている。 The microcontroller 1a has a CPU (Central Processing Unit) 10, a ROM (Read Only Memory) 11, a RAM (Random Access Memory) 12, a communication port 13, and a hardware interface unit (HW-IF) 14. The CPU 10 is electrically connected to the ROM 11, the RAM 12, the communication port 13, and the HW-IF 14 via a bus 19 so that signals can be input and output between them.

ROM11は、CPU10を駆動するプログラムが格納されている。RAM12は、CPU10のワーキングメモリとして機能する。通信ポート13は、CPU10と車両ECU3のマイクロコントローラ3aの間の通信を処理する。HW-IF14は、CPU10と信号送受信回路1bの間の通信を処理する。 The ROM 11 stores programs that drive the CPU 10. The RAM 12 functions as a working memory for the CPU 10. The communication port 13 processes communication between the CPU 10 and the microcontroller 3a of the vehicle ECU 3. The HW-IF 14 processes communication between the CPU 10 and the signal transmission/reception circuit 1b.

信号送受信回路1bはインバータ60,61及び電流センサ62,63と接続されている。信号送受信回路1bは電流センサ62,63から電流値を受信してCPU10に出力する。また、信号送受信回路1bは、CPU10から入力されるスイッチング素子のオンオフタイミングの通知に基づきスイッチング信号を生成してインバータ60,61に出力する。なお、信号送受信回路1bは、例えばFPGA(Field Programmable Gate Array)やASIC(Application Specified Integrated Circuit)などのハードウェアである。 The signal transmission/reception circuit 1b is connected to the inverters 60, 61 and the current sensors 62, 63. The signal transmission/reception circuit 1b receives current values from the current sensors 62, 63 and outputs them to the CPU 10. The signal transmission/reception circuit 1b also generates switching signals based on notifications of the on/off timing of the switching elements input from the CPU 10 and outputs them to the inverters 60, 61. The signal transmission/reception circuit 1b is hardware such as an FPGA (Field Programmable Gate Array) or an ASIC (Application Specified Integrated Circuit).

マイクロコントローラ2aは、CPU20、ROM21、RAM22、通信ポート23、不揮発性メモリ24、及びHW-IF25を有する。CPU20は、互いに信号の入出力ができるように、ROM21、RAM22、通信ポート23、不揮発性メモリ24、及びHW-IF25と、バス29を介して電気的に接続されている。 The microcontroller 2a has a CPU 20, a ROM 21, a RAM 22, a communication port 23, a non-volatile memory 24, and a HW-IF 25. The CPU 20 is electrically connected to the ROM 21, the RAM 22, the communication port 23, the non-volatile memory 24, and the HW-IF 25 via a bus 29 so that signals can be input and output between them.

ROM21は、CPU20を駆動するプログラムが格納されている。RAM22は、CPU20のワーキングメモリとして機能する。通信ポート23は、CPU20と車両ECU3のマイクロコントローラ3aの間の通信を処理する。HW-IF25は、CPU20と信号送受信回路2bの間の通信を処理する。 The ROM 21 stores programs that drive the CPU 20. The RAM 22 functions as a working memory for the CPU 20. The communication port 23 processes communication between the CPU 20 and the microcontroller 3a of the vehicle ECU 3. The HW-IF 25 processes communication between the CPU 20 and the signal transmission/reception circuit 2b.

信号送受信回路2bはインバータ61及び電流センサ63と接続されている。信号送受信回路2bは電流センサ63から電流値を受信してCPU20に出力する。また、信号送受信回路2bは、CPU20から入力されるスイッチング素子のオンオフタイミングの通知に基づきスイッチング信号を生成してインバータ61に出力する。なお、信号送受信回路2bは、例えばFPGAやASICなどのハードウェアである。 The signal transmission/reception circuit 2b is connected to the inverter 61 and the current sensor 63. The signal transmission/reception circuit 2b receives a current value from the current sensor 63 and outputs it to the CPU 20. The signal transmission/reception circuit 2b also generates a switching signal based on the notification of the on/off timing of the switching element input from the CPU 20 and outputs it to the inverter 61. The signal transmission/reception circuit 2b is hardware such as an FPGA or ASIC.

また、不揮発性メモリ24には、CPU20から起動状態情報240が書き込まれる。起動状態情報240は、CPU20が正常に起動または停止したことを示す情報である。CPU20は、起動時、起動状態情報240を読み出し、起動状態情報240に基づいてマイクロコントローラ2aの異常の有無を判定する。なお、起動状態情報240に基づく異常の有無の判定処理の詳細は後述する。 In addition, startup status information 240 is written from the CPU 20 to the non-volatile memory 24. The startup status information 240 is information indicating that the CPU 20 has started or stopped normally. When the CPU 20 starts up, it reads out the startup status information 240 and determines whether or not there is an abnormality in the microcontroller 2a based on the startup status information 240. Details of the process of determining whether or not there is an abnormality based on the startup status information 240 will be described later.

マイクロコントローラ3aは、CPU30、ROM31、RAM32、通信ポート33、不揮発性メモリ34、及びHW-IF35を有する。CPU30は、互いに信号の入出力ができるように、CPU30、ROM31、RAM32、通信ポート33、不揮発性メモリ34、及びHW-IF35と、バス39を介して電気的に接続されている。 The microcontroller 3a has a CPU 30, a ROM 31, a RAM 32, a communication port 33, a non-volatile memory 34, and a HW-IF 35. The CPU 30 is electrically connected to the CPU 30, the ROM 31, the RAM 32, the communication port 33, the non-volatile memory 34, and the HW-IF 35 via a bus 39 so that signals can be input and output between them.

ROM31は、CPU30を駆動するプログラムが格納されている。RAM32は、CPU30のワーキングメモリとして機能する。通信ポート33は、CPU30とMG-ECU1,2のマイクロコントローラ1a,2aの間の通信を処理する。不揮発性メモリ34は、例えば車両90の制御に関する各種のデータを格納する。HW-IF35は、CPU30と信号送受信回路3bの間の通信を処理する。 The ROM 31 stores programs that drive the CPU 30. The RAM 32 functions as a working memory for the CPU 30. The communication port 33 processes communication between the CPU 30 and the microcontrollers 1a and 2a of the MG-ECUs 1 and 2. The non-volatile memory 34 stores various data relating to the control of the vehicle 90, for example. The HW-IF 35 processes communication between the CPU 30 and the signal transmission/reception circuit 3b.

信号送受信回路3bはIGスイッチ40、アクセルセンサ41、ブレーキセンサ42、及び車速センサ43と接続されている。信号送受信回路3bはアクセルセンサ41、ブレーキセンサ42、及び車速センサ43から検出値を受信してCPU30に出力する。また、信号送受信回路3bは、IGスイッチ40からスタートボタンのオンオフの通知を受信してCPU30に出力する。なお、信号送受信回路3bは、例えばFPGAやASICなどのハードウェアである。 The signal transmission/reception circuit 3b is connected to the IG switch 40, the accelerator sensor 41, the brake sensor 42, and the vehicle speed sensor 43. The signal transmission/reception circuit 3b receives detection values from the accelerator sensor 41, the brake sensor 42, and the vehicle speed sensor 43 and outputs them to the CPU 30. The signal transmission/reception circuit 3b also receives a notification of the on/off state of the start button from the IG switch 40 and outputs it to the CPU 30. The signal transmission/reception circuit 3b is hardware such as an FPGA or ASIC.

このように、MG-ECU2は、不揮発性メモリ24を備えるマイクロコントローラ2aを有するのに対し、MG-ECU1は、不揮発性メモリを備えていないマイクロコントローラ1aを有する。 Thus, the MG-ECU 2 has a microcontroller 2a equipped with a non-volatile memory 24, whereas the MG-ECU 1 has a microcontroller 1a that does not have a non-volatile memory.

(起動状態情報による異常判定)
次に不揮発性メモリ24を備えるマイクロコントローラ2aが起動状態情報に基づき異常判定を行う手法を述べる。ここで、異常としては、例えば給電線45にノイズが生じたことによるECUバッテリ44の電力供給の瞬断(以下、電源の瞬断)が挙げられる。
(Abnormality determination based on startup status information)
Next, a method will be described in which the microcontroller 2a including the non-volatile memory 24 performs abnormality determination based on the startup state information. Here, an example of an abnormality is a momentary interruption in the power supply of the ECU battery 44 caused by noise in the power supply line 45 (hereinafter, a momentary interruption in the power supply).

図3は、MG-ECU2が異常なしと判定する例を示すタイムチャートである。まず、時刻t1においてスタートボタンがオンになると、IGスイッチ40がオンになり、MG-ECU2の電源(MG電源)がオンとなる。 Figure 3 is a time chart showing an example in which the MG-ECU 2 determines that there is no abnormality. First, when the start button is turned on at time t1, the IG switch 40 is turned on, and the power supply (MG power supply) of the MG-ECU 2 is turned on.

次に時刻t2において、MG-ECU2は起動する(ECU状態=起動)。このとき、MG-ECU2のCPU20は不揮発性メモリ24内の起動状態情報240を「停止」状態から「起動」状態に更新する。 Next, at time t2, the MG-ECU 2 starts up (ECU state = started). At this time, the CPU 20 of the MG-ECU 2 updates the start-up state information 240 in the non-volatile memory 24 from the "stopped" state to the "started" state.

次に時刻t3において、スタートボタンがオフになると、IGスイッチ40がオフになる。MG-ECU2は、車両ECU3からの停止指示に従ってインバータ61の駆動(MG51の制御)を停止する(ECU状態=停止)。このとき、MG-ECU2のCPU20は不揮発性メモリ24内の起動状態情報240を「起動」状態から「停止」状態に更新する。その後の時刻t4においてMG-ECU2の電源がオフとなる。 Next, at time t3, when the start button is turned off, the IG switch 40 is turned off. The MG-ECU 2 stops driving the inverter 61 (control of the MG 51) in accordance with a stop command from the vehicle ECU 3 (ECU state = stopped). At this time, the CPU 20 of the MG-ECU 2 updates the start-up state information 240 in the non-volatile memory 24 from the "started" state to the "stopped" state. After that, at time t4, the power supply to the MG-ECU 2 is turned off.

次に時刻t5においてスタートボタンが再びオンになると、IGスイッチ40がオンになり、MG-ECU2の電源がオンとなる。このとき、MG-ECU2のCPU20は、不揮発性メモリ24内の起動状態情報240に基づき異常有無の判定を行う。MG-ECU2は、時刻t3において正常に停止したため、起動状態情報240は「停止」状態を示す。したがって、MG-ECU2は、異常判定結果として自己の状態を「正常」(異常なし)と判定する。 Next, when the start button is turned on again at time t5, the IG switch 40 is turned on and the power supply of the MG-ECU 2 is turned on. At this time, the CPU 20 of the MG-ECU 2 judges whether or not there is an abnormality based on the startup state information 240 in the non-volatile memory 24. Because the MG-ECU 2 stopped normally at time t3, the startup state information 240 indicates a "stopped" state. Therefore, the MG-ECU 2 judges its own state to be "normal" (no abnormality) as the abnormality judgment result.

次に時刻t6において、MG-ECU2は起動する(ECU状態=起動)。このとき、MG-ECU2のCPU20は不揮発性メモリ24内の起動状態情報240を「停止」状態から「起動」状態に更新する。このように、CPU20はMG-ECU2の起動時に起動状態情報240を確認する。 Next, at time t6, the MG-ECU 2 starts up (ECU state = started). At this time, the CPU 20 of the MG-ECU 2 updates the start-up state information 240 in the non-volatile memory 24 from the "stopped" state to the "started" state. In this way, the CPU 20 checks the start-up state information 240 when the MG-ECU 2 starts up.

図4は、MG-ECU2が異常有りと判定する例を示すタイムチャートである。まず、時刻t11においてスタートボタンがオンになると、IGスイッチ40がオンになり、MG-ECU2の電源がオンとなる。 Figure 4 is a time chart showing an example in which the MG-ECU 2 determines that an abnormality exists. First, when the start button is turned on at time t11, the IG switch 40 is turned on, and the power supply to the MG-ECU 2 is turned on.

次に時刻t12にいて、MG-ECU2は起動する(ECU状態=起動)。このとき、MG-ECU2のCPU20は不揮発性メモリ24内の起動状態情報240を「停止」状態から「起動」状態に更新する。 Next, at time t12, the MG-ECU 2 starts up (ECU state = started). At this time, the CPU 20 of the MG-ECU 2 updates the start-up state information 240 in the non-volatile memory 24 from the "stopped" state to the "started" state.

時刻t13~t14において、MG-ECU2の電源が瞬断する。電源の瞬断は例えば給電線45にノイズが生じた場合に発生し得る。電源は時刻t13から時刻t14の間オフとなる。このため、MG-ECU2は時刻t14において電源の瞬断により強制的に停止する。 Between times t13 and t14, the power supply to the MG-ECU 2 is interrupted. A power interruption can occur, for example, when noise occurs in the power supply line 45. The power supply is turned off between times t13 and t14. As a result, the MG-ECU 2 is forcibly shut down at time t14 due to the power interruption.

時刻t15においてMG-ECU2の電源がオンになると、MG-ECU2のCPU20は、不揮発性メモリ24内の起動状態情報240に基づき異常有無の判定を行う。MG-ECU2は、時刻t13において電源の瞬断による異常により停止したため、起動状態情報240は、図3の例とは異なり「停止」状態に更新されていない。このため起動状態情報240は「起動」状態を示す。したがって、MG-ECU2は、異常判定結果として自己の状態を「異常」(異常有り)と判定する。 When the power supply of the MG-ECU 2 is turned on at time t15, the CPU 20 of the MG-ECU 2 determines whether or not there is an abnormality based on the startup state information 240 in the non-volatile memory 24. Because the MG-ECU 2 stopped at time t13 due to an abnormality caused by a momentary power interruption, the startup state information 240 has not been updated to the "stopped" state, unlike the example in Figure 3. Therefore, the startup state information 240 indicates the "started" state. Therefore, the MG-ECU 2 determines its own state to be "abnormal" (abnormality present) as the abnormality determination result.

その後、後述するように車両ECU3は、MG-ECU2からの異常通知に応じてMG-ECU2を停止する。 Then, as described below, the vehicle ECU 3 stops the MG-ECU 2 in response to an abnormality notification from the MG-ECU 2.

このように、MG-ECU2は、起動時及び停止時に不揮発性メモリ24内の起動状態情報240を更新する。このため、MG-ECU2は、起動時、前回正常に停止したか否かを起動状態情報240から判定することができる。これに対し、他方のMG-ECU1は不揮発性メモリを備えていないため、起動時に異常判定を行うことができない。 In this way, the MG-ECU 2 updates the startup state information 240 in the non-volatile memory 24 when it is started and stopped. Therefore, when it is started, the MG-ECU 2 can determine from the startup state information 240 whether it was stopped normally the previous time. In contrast, the other MG-ECU 1 does not have a non-volatile memory, so it cannot make an abnormality determination when it is started.

(インバータの駆動処理)
図5は、インバータ60,61の駆動処理の一例を示すフローチャートである。MG-ECU1,2のCPU10,20は、車両ECU3からの制御指示に従い、一例として以下の処理を実行することによりインバータ60,61をPWM(Pulse Width Modulation)制御する。
(Inverter drive processing)
5 is a flowchart showing an example of a drive process for the inverters 60, 61. The CPUs 10, 20 of the MG-ECUs 1, 2 follow a control instruction from the vehicle ECU 3 and execute, for example, the following process to PWM (Pulse Width Modulation) the inverters 60, 61.

まず、CPU10,20は、車両ECU3から要求トルクが入力される(ステップSt1)。車両ECU3は、例えばアクセルセンサ41、ブレーキセンサ42、及び車速センサ43の各検出値から要求トルクを算出する。 First, the CPU 10, 20 receives the required torque from the vehicle ECU 3 (step St1). The vehicle ECU 3 calculates the required torque from the detection values of, for example, the accelerator sensor 41, the brake sensor 42, and the vehicle speed sensor 43.

次にCPU10,20は、要求トルクに応じたMG50,51の三相交流電流の電流指令値を算出する(ステップSt2)。例えばCPU10,20は要求トルクから電流指令値マップを参照することにより電流指令値を算出する。 Next, the CPUs 10 and 20 calculate the current command value of the three-phase AC current of the MGs 50 and 51 according to the required torque (step St2). For example, the CPUs 10 and 20 calculate the current command value by referring to a current command value map based on the required torque.

次にCPU10,20は電流センサ62,63により三相交流電流の各電流値を検出する(ステップSt3)。なお、CPU10,20は三相交流電流及び電流指令値を3相―2相変換によりd-q座標系において処理してもよい。 Next, the CPUs 10 and 20 detect the current values of the three-phase AC currents using the current sensors 62 and 63 (step St3). The CPUs 10 and 20 may process the three-phase AC currents and the current command values in the d-q coordinate system by a three-phase-two-phase transformation.

次にCPU10,20は電流指令値と三相交流電流の各電流値の差分をフィードバック制御することによりMG50,51の電圧指令値を算出する(ステップSt4)。 Next, the CPUs 10 and 20 calculate the voltage command values for the MGs 50 and 51 by feedback controlling the difference between the current command values and the current values of the three-phase AC currents (step St4).

次にCPU10,20は、インバータ60,61に出力するスイッチング信号のデューティ比を電圧指令値から演算する(ステップSt5)。CPU10,20は、符号Gで示されるように、時間軸において、三角波状に変化するキャリア信号を生成して、正弦波状に変化する各相の電圧指令値とキャリア信号の信号値を比較する。キャリア信号は、スイッチング信号のオンオフタイミングを決めるための信号であり、キャリア信号の信号値が電圧指令値以上である場合、スイッチング信号はオフとなり、キャリア信号の信号値が電圧指令値未満である場合、スイッチング信号はオフとなる。CPU10,20は、スイッチング信号がオンとなる時間Ton、及びスイッチング信号がオフとなる時間Toffを算出する。この時間Ton,ToffによりPWM信号のデューティ比が決定される。 Next, the CPUs 10 and 20 calculate the duty ratio of the switching signal to be output to the inverters 60 and 61 from the voltage command value (step St5). As shown by the symbol G, the CPUs 10 and 20 generate a carrier signal that changes in a triangular wave shape on the time axis, and compare the voltage command value of each phase that changes in a sinusoidal wave shape with the signal value of the carrier signal. The carrier signal is a signal for determining the on/off timing of the switching signal. When the signal value of the carrier signal is equal to or greater than the voltage command value, the switching signal is turned off, and when the signal value of the carrier signal is less than the voltage command value, the switching signal is turned off. The CPUs 10 and 20 calculate the time Ton when the switching signal is on and the time Toff when the switching signal is off. The duty ratio of the PWM signal is determined by these times Ton and Toff.

次にCPU10,20は、スイッチング信号のオンオフのタイミングを信号送受信回路1b,2bにそれぞれ通知する(ステップSt6)。これにより、信号送受信回路1b,2bはスイッチング信号を生成してインバータ60,61に出力する。 Next, the CPUs 10 and 20 notify the signal transmission/reception circuits 1b and 2b, respectively, of the on/off timing of the switching signal (step St6). As a result, the signal transmission/reception circuits 1b and 2b generate switching signals and output them to the inverters 60 and 61.

(MG-ECUの動作)
図6は、MG-ECU1の動作の一例を示すフローチャートである。MG-ECU1は他方のMG-ECU2とは異なり不揮発性メモリを有していないため、電源の瞬断などにより生じた異常を検出することができない。このため、MG-ECU1は起動時間を計時して車両ECU3に通知し、車両ECU3は他方のMG-ECU2の異常有りの判定通知を受けたときのMG-ECU1の起動時間からMG-ECU1,2の異常を判定する。
(Operation of MG-ECU)
6 is a flowchart showing an example of the operation of the MG-ECU 1. Unlike the other MG-ECU 2, the MG-ECU 1 does not have a non-volatile memory, and therefore cannot detect abnormalities caused by momentary power interruption, etc. For this reason, the MG-ECU 1 measures the start-up time and notifies the vehicle ECU 3, and the vehicle ECU 3 determines whether the MG-ECUs 1 and 2 are abnormal based on the start-up time of the MG-ECU 1 when it receives a determination notification that the other MG-ECU 2 has an abnormality.

まず、CPU10はMG-ECU1の起動処理を行う(ステップSt11)。起動処理には、ROM11からプログラムを読み出しRAM12に展開する処理、ブート処理、及び各種の初期設定処理などが含まれる。 First, the CPU 10 performs a startup process for the MG-ECU 1 (step St11). The startup process includes a process for reading a program from the ROM 11 and loading it into the RAM 12, a boot process, and various initial setting processes.

次にCPU10は起動時間の計時を開始する(ステップSt12)。ここで、起動時間とは、MG-ECU1の起動時刻からの経過時間である。CPU10は、例えばプログラムに従ってカウンタを生成し、起動後にカウンタのカウント動作を開始させる。 Next, the CPU 10 starts measuring the startup time (step St12). Here, the startup time is the time that has elapsed since the startup time of the MG-ECU 1. The CPU 10 generates a counter according to a program, for example, and starts the counting operation of the counter after startup.

次にCPU10は、車両ECU3からのMG50の制御の指示の有無を判定する(ステップSt13)。CPU10は、MG50の制御の指示を受けている場合(ステップSt13のYes)、インバータ60の駆動処理を開始する(ステップSt14)。 Next, the CPU 10 determines whether or not there is an instruction to control the MG 50 from the vehicle ECU 3 (step St13). If the CPU 10 has received an instruction to control the MG 50 (Yes in step St13), it starts the drive process of the inverter 60 (step St14).

次にCPU10は、車両ECU3からのMG51の制御の指示の有無を判定する(ステップSt15)。車両ECU3は、MG-ECU1,2のうち、MG-ECU2だけが異常である場合、MG-ECU2に代えてMG-ECU1にMG51の制御を指示する。CPU10は、MG51の制御の指示を受けている場合(ステップSt15のYes)、インバータ61の駆動処理を開始する(ステップSt16)。なお、インバータ60,61の駆動処理は、上述したとおりである。 Then, the CPU 10 determines whether or not there is an instruction to control the MG 51 from the vehicle ECU 3 (step St15). If only the MG-ECU 2 of the MG-ECUs 1 and 2 is abnormal, the vehicle ECU 3 instructs the MG-ECU 1 to control the MG 51 instead of the MG-ECU 2. If the CPU 10 has received an instruction to control the MG 51 (Yes in step St15), it starts the drive process of the inverter 61 (step St16). The drive process of the inverters 60 and 61 is as described above.

また、CPU10は、MG50の制御の指示を受けていない場合(ステップSt13のNo)、またはMG51の制御の指示を受けていない場合(ステップSt15のNo)、以下のステップSt17の動作を実行する。 In addition, if the CPU 10 has not received an instruction to control MG 50 (No in step St13) or has not received an instruction to control MG 51 (No in step St15), it executes the operation of step St17 below.

次にCPU10は、車両ECU3からの起動時間の要求の有無を判定する(ステップSt17)。CPU10は、起動時間が要求されている場合(ステップSt17のYes)、起動時間を車両ECU3に通知し(ステップSt18)、起動時間が要求されていない場合(ステップSt17のNo)、以下のステップSt19の動作を実行する。 Next, the CPU 10 determines whether or not a startup time has been requested from the vehicle ECU 3 (step St17). If a startup time has been requested (Yes in step St17), the CPU 10 notifies the vehicle ECU 3 of the startup time (step St18). If a startup time has not been requested (No in step St17), the CPU 10 executes the operation of the following step St19.

車両ECU3は、他方のMG-ECU2が異常有りと判定した場合、起動時間に基づいてMG-ECU1の異常の有無を判定する。これにより、車両ECU3は、MG-ECU1,2に異常が発生した場合に応じた適切なフェイルセーフを実現することができる。 When the vehicle ECU 3 determines that the other MG-ECU 2 has an abnormality, it determines whether or not there is an abnormality in the MG-ECU 1 based on the startup time. This allows the vehicle ECU 3 to achieve an appropriate fail-safe in the event that an abnormality occurs in the MG-ECUs 1 and 2.

次にCPU10は、車両ECU3からの停止の指示の有無を判定する(ステップSt19)。CPU10は、停止の指示を受けている場合(ステップSt19のYes)、インバータ60,61の駆動処理などを停止する処理を実行する(ステップSt20)。このとき、MG-ECU1はインバータ60,61の各スイッチング素子をオフ制御する。 Next, the CPU 10 determines whether or not a stop command has been received from the vehicle ECU 3 (step St19). If a stop command has been received (Yes in step St19), the CPU 10 executes a process to stop the drive process of the inverters 60, 61 (step St20). At this time, the MG-ECU 1 controls each switching element of the inverters 60, 61 to be turned off.

車両ECU3は、MG-ECU1に異常が発生した場合、またはIGスイッチ40がオフになった場合、MG-ECU1に停止を指示する。その後、CPU10は動作を終了するが、ECUバッテリ44から給電されている場合、所定時間の経過後、ステップSt1から動作を再開する。 If an abnormality occurs in the MG-ECU 1 or if the IG switch 40 is turned off, the vehicle ECU 3 instructs the MG-ECU 1 to stop. The CPU 10 then ends its operation, but if power is being supplied from the ECU battery 44, it resumes operation from step St1 after a predetermined time has elapsed.

このように、MG-ECU1は起動時間を車両ECU3に通知する。車両ECU3は、他方のMG-ECU2から異常有りの判定の通知を受けた場合、起動時間からMG-ECU1の異常の有無を判定する。例えばMG-ECU1,2の給電線45にノイズが発生することによりMG-ECU1,2の両方の電源が瞬断した場合、MG-ECU2は異常有りと判定し、その判定時刻におけるMG-ECU1の起動時間は所定の閾値より短くなる(つまり起動直後である)ことから車両ECU3はMG-ECU1の異常の有無を判定することができる。 In this way, the MG-ECU1 notifies the vehicle ECU3 of the startup time. When the vehicle ECU3 receives notification from the other MG-ECU2 that an abnormality has been determined, it determines whether or not there is an abnormality in the MG-ECU1 from the startup time. For example, if noise occurs in the power supply lines 45 of the MG-ECUs 1 and 2, causing a momentary interruption in the power supply to both MG-ECUs 1 and 2, the MG-ECU2 will determine that there is an abnormality, and because the startup time of the MG-ECU1 at the time of determination will be shorter than a predetermined threshold (i.e., immediately after startup), the vehicle ECU3 can determine whether or not there is an abnormality in the MG-ECU1.

図7は、MG-ECU2の動作の一例を示すフローチャートである。MG-ECU2は、起動時に不揮発性メモリ24内の起動状態情報240を読み出すことにより、電源の瞬断などにより生じた異常を検出することができる。このため、MG-ECU2は、起動状態情報240に基づき異常有りと判定した場合、異常を車両ECU3に通知する。 Figure 7 is a flowchart showing an example of the operation of the MG-ECU 2. The MG-ECU 2 can detect an abnormality caused by a momentary power interruption or the like by reading out the startup status information 240 in the non-volatile memory 24 at startup. Therefore, if the MG-ECU 2 determines that an abnormality exists based on the startup status information 240, it notifies the vehicle ECU 3 of the abnormality.

まず、CPU20はMG-ECU2の起動処理を行う(ステップSt31)。起動処理には、ROM21からプログラムを読み出しRAM22に展開する処理、ブート処理、及び各種の初期設定処理などが含まれる。 First, the CPU 20 performs a startup process for the MG-ECU 2 (step St31). The startup process includes a process for reading a program from the ROM 21 and loading it into the RAM 22, a boot process, and various initial setting processes.

次にCPU20は不揮発性メモリ24から起動状態情報240を読み出し(ステップSt32)、起動状態情報240が「停止」状態を示すか否かを判定する(ステップSt33)。CPU20は、起動状態情報240が「停止」状態を示す場合(ステップSt33のYes)、起動前、MG-ECU2に電源の瞬断などの異常は発生しておらず、正常に停止処理が実行されたと判定し、車両ECU3に異常を通知せず、起動状態情報240を「起動」状態に更新する(ステップSt34)。 Next, the CPU 20 reads out the start-up state information 240 from the non-volatile memory 24 (step St32) and determines whether the start-up state information 240 indicates a "stopped" state (step St33). If the start-up state information 240 indicates a "stopped" state (Yes in step St33), the CPU 20 determines that no abnormality such as a momentary power interruption occurred in the MG-ECU 2 before startup and that the stop process was executed normally, and updates the start-up state information 240 to the "started" state without notifying the vehicle ECU 3 of the abnormality (step St34).

また、CPU20は、起動状態情報240が「起動」状態を示す場合(ステップSt33のNo)、起動前、MG-ECU2に電源の瞬断などの異常が発生したために正常に停止処理が実行されていないと判定し、異常有りの判定を車両ECU3に通知する(ステップSt40)。これにより、車両ECU3は、MG-ECU2に異常が発生したと判断して、MG-ECU2にMG51に制御の停止を指示する。 When the startup state information 240 indicates the "started" state (No in step St33), the CPU 20 determines that an abnormality such as a momentary power interruption occurred in the MG-ECU 2 before startup and that the stop process was not performed normally, and notifies the vehicle ECU 3 of the abnormality (step St40). As a result, the vehicle ECU 3 determines that an abnormality has occurred in the MG-ECU 2, and instructs the MG-ECU 2 to stop control of the MG 51.

次にCPU20は、車両ECU3からのMG51の制御の指示の有無を判定する(ステップSt35)。CPU20は、MG51の制御の指示を受けている場合(ステップSt35のYes)、インバータ61の駆動処理を開始する(ステップSt36)。なお、インバータ61の駆動処理は、上述したとおりである。 Next, the CPU 20 determines whether or not there is an instruction to control the MG 51 from the vehicle ECU 3 (step St35). If there is an instruction to control the MG 51 (Yes in step St35), the CPU 20 starts the drive process of the inverter 61 (step St36). The drive process of the inverter 61 is as described above.

また、CPU20は、MG51の制御の指示を受けていない場合(ステップSt35のNo)、インバータ61の駆動処理を行わず、以下のステップSt37の動作を実行する。 In addition, if the CPU 20 has not received an instruction to control the MG 51 (No in step St35), it does not drive the inverter 61 and executes the operation of step St37 below.

次にCPU20は、車両ECU3からの停止の指示の有無を判定する(ステップSt37)。CPU20は、停止の指示を受けている場合(ステップSt37のYes)、インバータ61の駆動処理などを停止する処理を実行する(ステップSt38)。車両ECU3は、MG-ECU2に異常が発生した場合、またはIGスイッチ40がオフになった場合、MG-ECU1に停止を指示する。このとき、MG-ECU2はインバータ61の各スイッチング素子をオフ制御する。なお、CPU20はインバータ61の駆動処理を行っていないときに停止の指示を受けた場合でも、給電の停止に備えた各種の処理を行う。 Then, the CPU 20 determines whether or not a stop command has been received from the vehicle ECU 3 (step St37). If the CPU 20 has received a stop command (Yes in step St37), it executes processing to stop the drive processing of the inverter 61 and the like (step St38). If an abnormality occurs in the MG-ECU 2 or the IG switch 40 is turned off, the vehicle ECU 3 issues a stop command to the MG-ECU 1. At this time, the MG-ECU 2 controls each switching element of the inverter 61 to turn off. Note that even if the CPU 20 receives a stop command when it is not performing the drive processing of the inverter 61, it still performs various processes in preparation for stopping the power supply.

次にCPU20は、起動状態情報240を「停止」状態に更新する(ステップSt39)。このため、CPU20は、次回の起動時、上記のステップSt33において、起動状態情報240が停止状態を示していることからMG-ECU2に異常が発生していないと判定することができる。その後、CPU20は動作を終了するが、ECUバッテリ44から給電されている場合、所定時間の経過後、ステップSt31から動作を再開する。 The CPU 20 then updates the startup state information 240 to a "stopped" state (step St39). Therefore, at the next startup, the CPU 20 can determine in step St33 above that no abnormality has occurred in the MG-ECU 2, since the startup state information 240 indicates a stopped state. The CPU 20 then ends its operation, but if power is being supplied from the ECU battery 44, it resumes operation from step St31 after a predetermined time has elapsed.

また、CPU20は、停止の指示を受けていない場合(ステップSt37のNo)、再びステップSt37の動作を実行する。 If the CPU 20 has not received a stop instruction (No in step St37), it executes the operation of step St37 again.

このように、MG-ECU2は車両ECU3の指示に従ってMG51の制御を停止する場合、停止記録として不揮発性メモリ24に起動状態情報240=「停止」を書き込み、制御の開始時に起動状態情報240に基づきMG-ECU2の異常の有無を判定する。 In this way, when the MG-ECU 2 stops control of the MG 51 in accordance with an instruction from the vehicle ECU 3, it writes the start-up status information 240 = "stopped" to the non-volatile memory 24 as a stop record, and when control begins, it determines whether or not there is an abnormality in the MG-ECU 2 based on the start-up status information 240.

(車両ECUの動作)
図8は、車両ECU3の動作の一例を示すフローチャートである。図8において、2箇所の符号Aは互いに連結される。車両ECU3は、MG-ECU2からの異常有無の判定の通知、及びMG-ECU1からの起動時間の通知に基づいてMG-ECU1の異常の有無を判定する。
(Operation of Vehicle ECU)
Fig. 8 is a flowchart showing an example of the operation of the vehicle ECU 3. In Fig. 8, the two reference characters A are connected to each other. The vehicle ECU 3 determines the presence or absence of an abnormality in the MG-ECU 1 based on the notification of the abnormality determination from the MG-ECU 2 and the notification of the startup time from the MG-ECU 1.

まず、CPU30は車両ECU3の起動処理を行う(ステップSt51)。起動処理には、ROM31からプログラムを読み出しRAM32に展開する処理、ブート処理、及び各種の初期設定処理などが含まれる。 First, the CPU 30 performs a startup process for the vehicle ECU 3 (step St51). The startup process includes a process for reading a program from the ROM 31 and loading it into the RAM 32, a boot process, and various initial setting processes.

次にCPU30は、MG-ECU2から異常有りの判定の通知を受けているか否かを判定する(ステップSt52)。CPU30は、通知を受けていない場合(ステップSt52のNo)、MG-ECU1,2にMG50,51の制御をそれぞれ指示する(ステップSt53)。このとき、CPU30は、制御の指示とともに各MG50,51の要求トルクをMG-ECU1,2にそれぞれ通知する。MG-ECU1,2は制御の指示に従って、MG50,51から要求トルクが出力されるようにインバータ60,61の駆動をそれぞれ開始する。 Next, CPU 30 determines whether it has received a notification from MG-ECU 2 that an abnormality has been detected (step St52). If CPU 30 has not received a notification (No in step St52), it instructs MG-ECUs 1 and 2 to control MGs 50 and 51, respectively (step St53). At this time, CPU 30 notifies MG-ECUs 1 and 2 of the required torque of each MG 50 and 51 along with the control instructions. MG-ECUs 1 and 2 start driving inverters 60 and 61, respectively, in accordance with the control instructions so that the required torque is output from MGs 50 and 51.

このように、車両ECU3は、MG-ECU2が異常なしと判定した場合、MG-ECU1,2に制御の実行を指示する。このため、MG-ECU2に異常がない場合、MG-ECU2がMG51を制御することができるだけでなく、MG-ECU1もMG50を制御することができる。 In this way, if the vehicle ECU 3 determines that the MG-ECU 2 is normal, it instructs the MG-ECUs 1 and 2 to execute control. Therefore, if the MG-ECU 2 is normal, not only can the MG-ECU 2 control the MG 51, but the MG-ECU 1 can also control the MG 50.

次にCPU30は、IGスイッチ40がオフであるか否かを判定する(ステップSt54)。IGスイッチ40がオフである場合(ステップSt54のYes)、CPU30は、MG-ECU1,2にMG50,51の制御の停止をそれぞれ指示する(ステップSt55)。MG-ECU1,2は制御の指示に従ってMG50,51の制御の停止などをそれぞれ実行する。 Then, the CPU 30 determines whether the IG switch 40 is off (step St54). If the IG switch 40 is off (Yes in step St54), the CPU 30 instructs the MG-ECUs 1 and 2 to stop control of the MGs 50 and 51, respectively (step St55). The MG-ECUs 1 and 2 each execute the stop of control of the MGs 50 and 51, etc., in accordance with the control instruction.

次にCPU30は車両ECU3の停止処理を行う(ステップSt56)。その後、CPU30は動作を停止する。 Next, the CPU 30 performs a process to stop the vehicle ECU 3 (step St56). After that, the CPU 30 stops operating.

また、IGスイッチ40がオンである場合(ステップSt54のNo)、再びステップSt52以降の各動作が実行される。 Also, if the IG switch 40 is on (No in step St54), the operations from step St52 onwards are executed again.

また、CPU30は、異常有りの判定の通知を受けている場合(ステップSt52のYes)、通知がステップSt51の起動処理後の1回目、つまり最初の通知であるか否かを判定する(ステップSt57)。ここで、CPU30は起動処理後の通知の回数を例えばカウンタにより計数する。 When the CPU 30 receives a notification that an abnormality has been detected (Yes in step St52), the CPU 30 determines whether the notification is the first notification after the startup process in step St51 (step St57). Here, the CPU 30 counts the number of notifications after the startup process using, for example, a counter.

CPU30は、通知がステップSt51の起動処理後の1回目の通知である場合(ステップSt57のYes)、MG-ECU2に制御の停止を指示する(ステップSt58)。MG-ECU2は、停止の指示に従いインバータ61の駆動を停止する。その後、CPU30は再びステップSt52の動作を行う。このため、MG-ECU2は一時的に制御を停止するが、所定時間経過後に制御を再開する。 If the notification is the first notification since the startup process of step St51 (Yes in step St57), the CPU 30 instructs the MG-ECU 2 to stop control (step St58). The MG-ECU 2 stops driving the inverter 61 in accordance with the instruction to stop. The CPU 30 then performs the operation of step St52 again. For this reason, the MG-ECU 2 temporarily stops control, but resumes control after a predetermined time has elapsed.

このように、車両ECU3は、起動後、MG-ECU2が最初に異常有りと判定した場合、MG-ECU2に所定時間だけ制御を停止するように指示する。このため、MG-ECU2の異常状態が一過性である場合、車両ECU3は、MG-ECU2に一時的に制御を停止させることで異常状態を速やかに復旧することができる。 In this way, when the MG-ECU 2 first determines that there is an abnormality after startup, the vehicle ECU 3 instructs the MG-ECU 2 to suspend control for a predetermined period of time. Therefore, if the abnormal state of the MG-ECU 2 is temporary, the vehicle ECU 3 can quickly recover from the abnormal state by having the MG-ECU 2 temporarily suspend control.

また、CPU30は、通知がステップSt51の起動処理後の2回目の通知である場合(ステップSt57のNo)、MG-ECU1の異常の有無を判定するため、MG-ECU1に起動時間の通知を要求する(ステップSt59)。MG-ECU1のCPU10は要求に応じて起動時間をCPU30に通知する。 If the notification is the second notification after the startup process of step St51 (No in step St57), the CPU 30 requests the MG-ECU 1 to notify it of the startup time in order to determine whether or not there is an abnormality in the MG-ECU 1 (step St59). In response to the request, the CPU 10 of the MG-ECU 1 notifies the CPU 30 of the startup time.

次にCPU30は起動時間を所定の閾値THと比較する(ステップSt60)。CPU30は、起動時間<THが成立する場合(ステップSt60のYes)、MG-ECU1が異常の発生により再起動の直後の状態であると判断し、MG-ECU1,2に制御の停止をそれぞれ指示する(ステップSt61)。ここで、閾値THは、例えばMG-ECU1,2の起動処理の所要時間に基づいて予め設定されている。MG-ECU2だけでなく、MG-ECU1にも電源の瞬断などの異常が生じた場合、MG-ECU1は再起動するため、その起動時間の短さから異常を判定することが可能である。 Next, CPU 30 compares the startup time with a predetermined threshold value TH (step St60). If startup time < TH is true (Yes in step St60), CPU 30 determines that MG-ECU 1 has just been restarted due to the occurrence of an abnormality, and instructs MG-ECUs 1 and 2 to stop control (step St61). Here, threshold value TH is preset based on, for example, the time required for the startup process of MG-ECUs 1 and 2. If an abnormality such as a momentary power interruption occurs not only in MG-ECU 2 but also in MG-ECU 1, MG-ECU 1 will restart, so it is possible to determine an abnormality from the short startup time.

このように、車両ECU3は、MG-ECU2が異常有りと判定した場合、起動時間が閾値未満であるとき、MG-ECU1,2に制御の停止を指示する。このため、MG-ECU1,2は、停止の指示に従ってインバータ60,61の駆動をそれぞれ停止する。これにより、車両ECU3はMG-ECU1,2の異常に応じた適切なフェイルセーフを実現することができる。 In this way, when the vehicle ECU 3 determines that the MG-ECU 2 has an abnormality, if the start-up time is less than the threshold, it instructs the MG-ECUs 1 and 2 to stop control. Therefore, the MG-ECUs 1 and 2 stop driving the inverters 60 and 61, respectively, in accordance with the instruction to stop. This allows the vehicle ECU 3 to achieve an appropriate fail-safe in response to the abnormality in the MG-ECUs 1 and 2.

また、CPU30は、起動時間≧THが成立する場合(ステップSt60のNo)、MG-ECU2のみに異常が発生したと判断し、MG-ECU2に制御の停止を指示する(ステップSt62)。このように車両ECU3は、MG-ECU2が異常有りと判定した場合、起動時間が閾値TH以上であるとき、MG-ECU2に制御の停止を指示する。このため、MG-ECU2は、停止の指示に従ってMG51の制御を停止する。これにより、車両ECU3はMG-ECU2の異常に応じた適切なフェイルセーフを実現することができる。 Furthermore, if start-up time ≧TH holds (No in step St60), the CPU 30 determines that an abnormality has occurred only in the MG-ECU 2, and instructs the MG-ECU 2 to stop control (step St62). In this way, when the vehicle ECU 3 determines that the MG-ECU 2 has an abnormality, it instructs the MG-ECU 2 to stop control if the start-up time is equal to or greater than the threshold value TH. Therefore, the MG-ECU 2 stops control of the MG 51 in accordance with the stop instruction. This allows the vehicle ECU 3 to achieve an appropriate fail-safe in response to the abnormality in the MG-ECU 2.

次にCPU30は、MG-ECU1に、MG-ECU2に代えてMG51の制御を指示する(ステップSt63)。MG-ECU1は、制御の指示に従ってインバータ61を駆動する。 Next, the CPU 30 instructs the MG-ECU 1 to control the MG 51 instead of the MG-ECU 2 (step St63). The MG-ECU 1 drives the inverter 61 in accordance with the control instruction.

このように車両ECU3は、MG-ECU2が異常有りと判定した場合、起動時間が閾値TH以上であるとき、MG-ECU1にMG50,51の制御の実行を指示する。このため、車両ECU3は、MG-ECU2のみが異常である場合に応じた適切なフェイルセーフを実現することができる。 In this way, when the vehicle ECU 3 determines that the MG-ECU 2 is abnormal, if the startup time is equal to or greater than the threshold value TH, it instructs the MG-ECU 1 to execute control of the MGs 50 and 51. This allows the vehicle ECU 3 to achieve an appropriate fail-safe in cases where only the MG-ECU 2 is abnormal.

次にCPU30は、IGスイッチ40がオフであるか否かを判定する(ステップSt64)。IGスイッチ40がオフである場合(ステップSt64のYes)、CPU30は、MG-ECU1にMG50,51の制御の停止をそれぞれ指示する(ステップSt65)。MG-ECU1は、制御の停止の指示に従い、インバータ60,61に駆動を停止することによりMG50,51の制御を停止する。 Next, the CPU 30 determines whether the IG switch 40 is off (step St64). If the IG switch 40 is off (Yes in step St64), the CPU 30 instructs the MG-ECU 1 to stop control of the MGs 50 and 51 (step St65). Following the instruction to stop control, the MG-ECU 1 stops driving the inverters 60 and 61, thereby stopping control of the MGs 50 and 51.

また、IGスイッチ40がオンである場合(ステップSt64のNo)、CPU30は、再びステップSt63の動作を実行する。このようにして車両ECU3は動作する。 Also, if the IG switch 40 is on (No in step St64), the CPU 30 executes the operation of step St63 again. In this manner, the vehicle ECU 3 operates.

このように、車両ECU3は、MG-ECU2の異常有無の判定結果に加え、MG-ECU1の起動時間に基づいて、MG-ECU1,2の両方の異常を判定して適切なフェイルセーフを実現することができる。 In this way, the vehicle ECU 3 can determine whether there is an abnormality in both MG-ECUs 1 and 2 based on the start-up time of MG-ECU 1 in addition to the result of determining whether there is an abnormality in MG-ECU 2, and achieve an appropriate fail-safe.

上述した実施形態は本発明の好適な実施の例である。但し、これに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変形実施可能である。 The above-described embodiment is a preferred example of the present invention. However, the present invention is not limited to this embodiment, and various modifications are possible without departing from the spirit of the present invention.

1 MG-ECU(第1コンピュータ)
2 MG-ECU(第2コンピュータ)
3 車両ECU(第3コンピュータ)
9 車両制御装置
24 不揮発性メモリ
50 モータジェネレータ(第1駆動力源)
51 モータジェネレータ(第2駆動力源)
60,61 インバータ
90 車両
1 MG-ECU (first computer)
2 MG-ECU (second computer)
3 Vehicle ECU (third computer)
9 Vehicle control device 24 Non-volatile memory 50 Motor generator (first driving force source)
51 Motor generator (second driving force source)
60, 61 Inverter 90 Vehicle

Claims (5)

車両の第1駆動力源を制御する第1コンピュータと、
前記車両の第2駆動力源を制御する第2コンピュータと、
前記第1コンピュータ及び前記第2コンピュータに対し前記第1駆動力源及び前記第2駆動力源の制御に関する指示を行う第3コンピュータとを有し、
前記第2コンピュータは、不揮発性メモリを有し、前記第3コンピュータの指示に従って制御を停止する場合、前記不揮発性メモリに停止記録を書き込み、制御の開始時に前記停止記録に基づき前記第2コンピュータの異常の有無を判定し、
前記第1コンピュータは、不揮発性メモリを有しておらず、前記第1コンピュータの起動時刻からの経過時間を計時し、
前記第3コンピュータは、前記第2コンピュータが異常有りと判定した場合、前記経過時間が閾値未満であるとき、前記第1コンピュータ及び前記第2コンピュータに制御の停止を指示する、
車両制御装置。
a first computer that controls a first driving force source of the vehicle;
a second computer for controlling a second driving power source of the vehicle;
a third computer that issues instructions to the first computer and the second computer regarding control of the first driving power source and the second driving power source,
the second computer has a non-volatile memory, and when the second computer stops control in accordance with an instruction from the third computer, writes a stop record into the non-volatile memory, and when the second computer starts control, determines whether or not there is an abnormality in the second computer based on the stop record;
the first computer does not have a non-volatile memory, measures an elapsed time from a start-up time of the first computer,
when the second computer determines that an abnormality has occurred, and the elapsed time is less than a threshold, the third computer instructs the first computer and the second computer to stop control.
Vehicle control device.
前記第3コンピュータは、前記第2コンピュータが異常有りと判定した場合、前記経過時間が前記閾値以上であるとき、前記第2コンピュータに制御の停止を指示する、
請求項1に記載の車両制御装置。
when the second computer determines that an abnormality has occurred and the elapsed time is equal to or greater than the threshold, the third computer instructs the second computer to stop control.
The vehicle control device according to claim 1.
前記第3コンピュータは、前記第2コンピュータが異常有りと判定した場合、前記経過時間が前記閾値以上であるとき、前記第1コンピュータに前記第1駆動力源及び前記第2駆動力源の制御の実行を指示する、
請求項2に記載の車両制御装置。
when the second computer determines that an abnormality has occurred and the elapsed time is equal to or greater than the threshold, the third computer instructs the first computer to execute control of the first driving force source and the second driving force source.
The vehicle control device according to claim 2.
前記第3コンピュータは、前記第2コンピュータが異常なしと判定した場合、前記第1コンピュータ及び前記第2コンピュータに制御の実行を指示する、
請求項1乃至3の何れかに記載の車両制御装置。
When the second computer determines that there is no abnormality, the third computer instructs the first computer and the second computer to execute control.
4. A vehicle control device according to claim 1.
前記第3コンピュータは、前記第3コンピュータの起動後、前記第2コンピュータが最初に異常有りと判定した場合、前記第2コンピュータに一時的に制御を停止するように指示する、
請求項1乃至4の何れかに記載の車両制御装置。

the third computer instructs the second computer to temporarily stop control when the second computer first determines that an abnormality exists after the third computer is started up;
5. A vehicle control device according to claim 1.

JP2021106781A 2021-06-28 2021-06-28 Vehicle control device Active JP7574752B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021106781A JP7574752B2 (en) 2021-06-28 2021-06-28 Vehicle control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021106781A JP7574752B2 (en) 2021-06-28 2021-06-28 Vehicle control device

Publications (2)

Publication Number Publication Date
JP2023005085A JP2023005085A (en) 2023-01-18
JP7574752B2 true JP7574752B2 (en) 2024-10-29

Family

ID=85107595

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021106781A Active JP7574752B2 (en) 2021-06-28 2021-06-28 Vehicle control device

Country Status (1)

Country Link
JP (1) JP7574752B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110238262A1 (en) 2010-03-25 2011-09-29 Denso Corporation Vehicle communication system and electronic control unit
JP2015156763A (en) 2014-02-21 2015-08-27 日立オートモティブシステムズ株式会社 Electric vehicle control device
JP2017136989A (en) 2016-02-04 2017-08-10 トヨタ自動車株式会社 Hybrid car

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110238262A1 (en) 2010-03-25 2011-09-29 Denso Corporation Vehicle communication system and electronic control unit
JP2015156763A (en) 2014-02-21 2015-08-27 日立オートモティブシステムズ株式会社 Electric vehicle control device
JP2017136989A (en) 2016-02-04 2017-08-10 トヨタ自動車株式会社 Hybrid car

Also Published As

Publication number Publication date
JP2023005085A (en) 2023-01-18

Similar Documents

Publication Publication Date Title
JP5778536B2 (en) Electronic control device and vehicle control system
EP2578440B1 (en) Play-reducing control apparatus for electrically driven vehicle
US7633247B2 (en) Control apparatus for motor generator of hybrid vehicle
JP2013055822A (en) Vehicle
CN111204230B (en) Motion transfer system
CN107399328B (en) Display device
JP7574752B2 (en) Vehicle control device
CN102770301B (en) Vehicle
CN112026748A (en) A motor failure control method, device, electronic device and storage medium
CN116135582A (en) Motor drive system and control method thereof
JP2008228447A (en) Driving device for switching element
CN119611331A (en) Vehicle control method, vehicle and storage medium
JP2013180647A (en) Vehicle
JP4239949B2 (en) Hybrid control system
JP5270314B2 (en) System control unit
EP3725623A1 (en) Electric device control method and electric device
JP2020152124A (en) Hybrid vehicle control device
CN113060128B (en) vehicle
JP3028715B2 (en) Electric car
KR20030018878A (en) Battery charge controlling method of hybrid vehicle
US20240413741A1 (en) Sensor device and non-transitory computer readable medium
JP7463024B2 (en) Control System
JP2022011947A (en) Motor control device
JP7290026B2 (en) electric motor controller
KR102902383B1 (en) Estimation system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240910

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240930

R150 Certificate of patent or registration of utility model

Ref document number: 7574752

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150