JP7675394B2 - Electronic control device and communication diagnostic method - Google Patents
Electronic control device and communication diagnostic method Download PDFInfo
- Publication number
- JP7675394B2 JP7675394B2 JP2021191830A JP2021191830A JP7675394B2 JP 7675394 B2 JP7675394 B2 JP 7675394B2 JP 2021191830 A JP2021191830 A JP 2021191830A JP 2021191830 A JP2021191830 A JP 2021191830A JP 7675394 B2 JP7675394 B2 JP 7675394B2
- Authority
- JP
- Japan
- Prior art keywords
- electronic control
- normal
- reception
- unit
- ecm
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Combined Controls Of Internal Combustion Engines (AREA)
Description
本発明は、電子制御装置及び通信診断方法に関し、車載ネットワークにおける通信の異常を診断する技術に関する。 The present invention relates to an electronic control device and a communication diagnostic method, and to a technology for diagnosing communication abnormalities in an in-vehicle network.
特許文献1に開示される車載制御システムは、車両用自動変速機の電子制御装置(ATCU)に実装されているCANなどのネットワーク通信路を利用することにより、他の電子制御装置をATCUの監視装置とし、監視側である他の電子制御装置がATCUの電源リレーを制御する。
ここで、監視側の他の電子制御装置は、ATCUの遮断回路を一定期間遮断し、ATCUからの通信途絶を検知することで、ATCUの電源リレーの機能故障を診断する。
The in-vehicle control system disclosed in Patent Document 1 utilizes a network communication path such as CAN implemented in an electronic control unit (ATCU) of a vehicle's automatic transmission, allowing another electronic control unit to function as a monitoring device for the ATCU, and the other monitoring electronic control unit controls the power relay of the ATCU.
Here, the other monitoring electronic control device shuts off the ATCU's shutoff circuit for a certain period of time and detects a breakdown in communication from the ATCU, thereby diagnosing a functional malfunction of the ATCU's power relay.
ところで、車載ネットワークに接続される電子制御装置においてプログラムの書き換えが行われていると、他の電子制御装置は、プログラム書き換え中の電子制御装置からのデータ受信が途絶えることで誤って通信異常を判定し、フェールセーフ処置を実施したり通信異常の診断履歴を保存したりするという問題があった。 However, when a program is being rewritten in an electronic control device connected to an in-vehicle network, other electronic control devices may mistakenly determine that a communication abnormality has occurred because they have stopped receiving data from the electronic control device being rewritten, and may then take fail-safe measures or save a diagnostic history of the communication abnormality.
本発明は、従来の実情に鑑みてなされたものであり、その目的は、電子制御装置におけるプログラム書き換えに伴って、通信異常が誤って判定されることを抑止できる、電子制御装置及び通信診断方法を提供することにある。 The present invention was made in consideration of the current situation, and its purpose is to provide an electronic control device and a communication diagnostic method that can prevent erroneous determination of a communication abnormality due to program rewriting in the electronic control device.
そのため、本発明に係る電子制御装置は、その一態様として、車載ネットワークに接続される電子制御装置であって、前記車載ネットワークに接続される他の電子制御装置からのデータ受信の正常・異常を判定する受信診断部と、前記車載ネットワークの通信線へのデータ送信の正常・異常を判定する送信診断部と、前記受信診断部の判定結果と前記送信診断部の判定結果とに基づき通信の正常・異常を最終的に判定する判定部と、を備える。
ここで、前記判定部は、前記受信診断部がデータ受信の異常を判定し、前記送信診断部がデータ送信の正常を判定したときに、前記受信診断部によるデータ受信の異常の判定結果を無効とする。
また、別の態様において、前記判定部は、前記受信診断部の判定結果と前記送信診断部の判定結果とに基づき前記他の電子制御装置がプログラムの書き換え中であるか否かを判定した結果に応じて、通信の正常・異常を最終的に判定する。
Therefore, as one aspect thereof, the electronic control device of the present invention is an electronic control device connected to an in-vehicle network, and includes a reception diagnosis unit that determines whether data reception from other electronic control devices connected to the in-vehicle network is normal or abnormal, a transmission diagnosis unit that determines whether data transmission to a communication line of the in-vehicle network is normal or abnormal, and a judgment unit that finally judges whether communication is normal or abnormal based on the judgment result of the reception diagnosis unit and the judgment result of the transmission diagnosis unit.
Here, when the reception diagnostic unit determines that there is an abnormality in data reception and the transmission diagnostic unit determines that the data transmission is normal, the determination unit invalidates the determination result of the reception diagnostic unit that there is an abnormality in data reception.
In another aspect, the judgment unit makes a final judgment as to whether the communication is normal or abnormal based on the result of judging whether the other electronic control device is in the process of rewriting a program, based on the judgment result of the reception diagnosis unit and the judgment result of the transmission diagnosis unit.
また、本発明に係る通信診断方法は、その一態様として、車載ネットワークに接続される電子制御装置が、通信の正常・異常を判定する通信診断方法であって、前記車載ネットワークに接続される他の電子制御装置からのデータ受信の正常・異常を判定する工程と、前記データ受信の異常を判定したときに、前記車載ネットワークの通信線へのデータ送信の正常・異常を判定する工程と、前記データ送信の正常を判定したときに、前記他の電子制御装置がプログラムの書き換え中であると判定して、前記データ受信の異常の判定結果を無効とする工程と、を備える。 In one aspect, the communication diagnostic method according to the present invention is a communication diagnostic method in which an electronic control device connected to an in-vehicle network determines whether communication is normal or abnormal, and includes the steps of: determining whether data reception from another electronic control device connected to the in-vehicle network is normal or abnormal; determining whether data transmission to a communication line of the in-vehicle network is normal or abnormal when the data reception is abnormal; and determining that the other electronic control device is in the process of rewriting a program when the data transmission is normal, and invalidating the determination result of the data reception abnormality.
上記発明によると、電子制御装置におけるプログラム書き換えに伴って通信異常が誤って診断されることを抑止できる。 The above invention can prevent erroneous diagnosis of communication abnormalities caused by program rewriting in the electronic control device.
以下に本発明の実施の形態を説明する。
図1は、車両に搭載されるエンジン(内燃機関)の一態様を示す。
エンジン100は、吸気ダクト102を備え、更に吸気ダクト102に、エンジン100の吸入空気流量QAを検出する吸入空気流量センサ104を備える。
An embodiment of the present invention will be described below.
FIG. 1 shows an embodiment of an engine (internal combustion engine) mounted on a vehicle.
The engine 100 includes an intake duct 102 , and further includes an intake air flow rate sensor 104 in the intake duct 102 for detecting an intake air flow rate QA of the engine 100 .
吸気バルブ106は、吸気ポート102aを開閉する。
燃料噴射弁110は、吸気バルブ106の上流側の吸気ポート102aに配され、吸気ポート102a内に燃料を噴射する。
The intake valve 106 opens and closes the intake port 102a.
The fuel injection valve 110 is disposed in the intake port 102a upstream of the intake valve 106, and injects fuel into the intake port 102a.
燃料噴射弁110が噴射した燃料は、吸気バルブ106を介して燃焼室108内に空気とともに吸引され、点火プラグ112による火花点火によって着火燃焼する。
そして、燃焼による圧力がピストン114をクランクシャフト116に向けて押し下げることで、クランクシャフト116を回転駆動する。
The fuel injected by the fuel injection valve 110 is drawn into the combustion chamber 108 together with air through the intake valve 106, and is ignited and burned by spark ignition from an ignition plug 112.
The pressure generated by the combustion pushes the piston 114 down toward the crankshaft 116, thereby driving the crankshaft 116 to rotate.
また、排気バルブ118は、排気ポート120aを開閉する。
そして、排気バルブ118が開くと、燃焼室108内の燃焼ガスは排気管120に排出される。
In addition, the exhaust valve 118 opens and closes the exhaust port 120a.
When the exhaust valve 118 opens, the combustion gases in the combustion chamber 108 are exhausted to an exhaust pipe 120 .
三元触媒を内蔵する触媒コンバータ122は、排気管120に設置され、排気管120を流れる排気を浄化する。
クランクシャフト116によって回転駆動される吸気カムシャフト124は、吸気バルブ106の開閉時期及びリフトを制御し、クランクシャフト116によって回転駆動される排気カムシャフト126は、排気バルブ118の開閉時期及びリフトを制御する。
A catalytic converter 122 incorporating a three-way catalyst is installed in the exhaust pipe 120 and purifies the exhaust gas flowing through the exhaust pipe 120 .
An intake camshaft 124 rotatably driven by the crankshaft 116 controls the opening/closing timing and lift of the intake valve 106 , and an exhaust camshaft 126 rotatably driven by the crankshaft 116 controls the opening/closing timing and lift of the exhaust valve 118 .
バルブタイミングコントロールシステム(以下、VTCと称する。)128は、アクチュエータとしての電動モータ130によってクランクシャフト116に対する吸気カムシャフト124の相対回転位相角を変化させることで、吸気バルブ106のバルブ作動角の位相を変化させる装置である。
点火モジュール132は、点火コイルと、点火コイルへの通電を制御するパワートランジスタとを有し、点火プラグ112に点火エネルギーを供給する。
A valve timing control system (hereinafter referred to as VTC) 128 is a device that changes the phase of the valve operating angle of the intake valve 106 by changing the relative rotational phase angle of the intake camshaft 124 with respect to the crankshaft 116 using an electric motor 130 as an actuator.
The ignition module 132 has an ignition coil and a power transistor that controls the current supply to the ignition coil, and supplies ignition energy to the spark plug 112 .
VTCコントロールモジュール200は、VTC128(電動モータ130)を制御し、エンジンコントロールモジュール(以下、ECMと称する。)202は、燃料噴射弁110や点火モジュール132などを制御する。
VTCコントロールモジュール200及びECM202は、それぞれ、MPU(Microprocessor Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)などを含むマイクロコンピュータを備えた電子制御装置である。
A VTC control module 200 controls the VTC 128 (electric motor 130), and an engine control module (hereinafter referred to as ECM) 202 controls the fuel injection valve 110, the ignition module 132, and the like.
The VTC control module 200 and the ECM 202 are each an electronic control device equipped with a microcomputer including a microprocessor unit (MPU), a read only memory (ROM), a random access memory (RAM), and the like.
VTCコントロールモジュール200及びECM202は、CAN(Controller Area Network)などによる車載ネットワーク204に接続され、車載ネットワーク204を通じで相互にデータの送受信を行う。
但し、車載ネットワーク204は、CANに限るものではなく、LIN(Local Interconnect Network)、FlexRay(登録商標)、MOST(Media Oriented System Transport)(登録商標)などによる車載ネットワークとすることができる。
The VTC control module 200 and the ECM 202 are connected to an in-vehicle network 204 such as a Controller Area Network (CAN), and transmit and receive data to and from each other via the in-vehicle network 204 .
However, the in-vehicle network 204 is not limited to CAN, and may be an in-vehicle network based on LIN (Local Interconnect Network), FlexRay (registered trademark), MOST (Media Oriented System Transport) (registered trademark), or the like.
エンジン100は、エンジン100の運転状態を検出する各種のセンサを備える。
係る各種のセンサとして、エンジン100は、吸入空気流量センサ104の他、クランク角センサ206、カム角センサ208、モータ回転角センサ210、アクセル開度センサ212、水温センサ214、空燃比センサ216などを備える。
The engine 100 is equipped with various sensors that detect the operating state of the engine 100 .
As such various sensors, the engine 100 is equipped with, in addition to the intake air flow sensor 104, a crank angle sensor 206, a cam angle sensor 208, a motor rotation angle sensor 210, an accelerator opening sensor 212, a water temperature sensor 214, an air-fuel ratio sensor 216, and the like.
クランク角センサ206は、クランクシャフト116の回転角信号POSを出力する。
カム角センサ208は、吸気カムシャフト124の回転角信号CAMを出力する。
モータ回転角センサ210は、VTC128のアクチュエータである電動モータ130の回転角信号MASを出力する。
The crank angle sensor 206 outputs a rotation angle signal POS of the crankshaft 116 .
The cam angle sensor 208 outputs a rotation angle signal CAM of the intake camshaft 124 .
A motor rotation angle sensor 210 outputs a rotation angle signal MAS of the electric motor 130 which is an actuator of the VTC 128 .
アクセル開度センサ212は、アクセルペダル218の踏み込み量、換言すればアクセル開度ACCを検出する。
水温センサ214は、エンジン100の冷却水の温度TWを検出する。
空燃比センサ216は、触媒コンバータ122の上流側の排気管120に設置され、排気中の酸素濃度に基づいて、エンジン100の混合気の空燃比AFを検出する。
The accelerator opening sensor 212 detects the amount of depression of an accelerator pedal 218, in other words, the accelerator opening ACC.
The water temperature sensor 214 detects the temperature TW of the coolant for the engine 100 .
The air-fuel ratio sensor 216 is disposed in the exhaust pipe 120 upstream of the catalytic converter 122, and detects the air-fuel ratio AF of the mixture in the engine 100 based on the oxygen concentration in the exhaust gas.
VTCコントロールモジュール200及びECM202は、上記の各種センサの検出信号やエンジン100の運転及び停止のメインスイッチであるイグニッションスイッチ(IGNSW)220のオン/オフ信号などに基づき、各種制御処理を実施する。
IGNSW220は、車両の運転者によってオン・オフが操作されるスイッチであり、エンジンスイッチ或いはスタートスイッチと読み替えることができる。
The VTC control module 200 and the ECM 202 carry out various control processes based on detection signals from the various sensors described above, an on/off signal from an ignition switch (IGNSW) 220 which is a main switch for starting and stopping the engine 100, and the like.
The IGNSW 220 is a switch that is turned on and off by the driver of the vehicle, and can be interpreted as an engine switch or a start switch.
図2は、VTCコントロールモジュール200及びECM202の構成の一態様を示すブロック図である。
VTCコントロールモジュール200は、不揮発性メモリであるEEPROM200A1を含むマイクロコンピュータ200Aと、CAN通信回路200Bと、入力回路200Cと、電源回路200Dと、指令信号出力回路200Eと、電圧変換回路200Fと、モータ駆動回路200Gと、を含む。
FIG. 2 is a block diagram showing an embodiment of the configuration of the VTC control module 200 and the ECM 202.
The VTC control module 200 includes a microcomputer 200A including an EEPROM 200A1 which is a non-volatile memory, a CAN communication circuit 200B, an input circuit 200C, a power supply circuit 200D, a command signal output circuit 200E, a voltage conversion circuit 200F, and a motor drive circuit 200G.
CAN通信回路200Bは、車載ネットワーク204の通信線204A(CANバス)に接続され、VTCコントロールモジュール200は、CAN通信回路200Bを介して主にECM202と通信する。
入力回路200Cは、各種センサからの検出信号、詳細には、回転角信号POS、回転角信号CAM、及び回転角信号MASに処理を施して、マイクロコンピュータ200Aに出力する回路である。
The CAN communication circuit 200B is connected to a communication line 204A (CAN bus) of the in-vehicle network 204, and the VTC control module 200 communicates mainly with the ECM 202 via the CAN communication circuit 200B.
The input circuit 200C is a circuit that processes detection signals from various sensors, specifically, the rotation angle signal POS, the rotation angle signal CAM, and the rotation angle signal MAS, and outputs the processed signals to the microcomputer 200A.
電源回路200Dは、車載バッテリ224から第1のダイオード222を介して電源電圧VBATT(例えば、12V)の供給を常時受ける。
また、IGNSW220がオンされると、IGNSW220及び第2のダイオード226を介して、車載バッテリ224から電源電圧VBATTが電源回路200Dに供給される。
The power supply circuit 200D is constantly supplied with a power supply voltage VBATT (for example, 12 V) from an in-vehicle battery 224 via a first diode 222.
Furthermore, when the IGNSW 220 is turned on, the power supply voltage VBATT is supplied from the vehicle battery 224 to the power supply circuit 200D via the IGNSW 220 and the second diode 226 .
電源回路200Dは、電源電圧VBATTをマイクロコンピュータ200A用の電源電圧VCC(例えば、5V)に変換し、電源電圧VCCをマイクロコンピュータ200Aに供給する。
指令信号出力回路200Eは、IGNSW220を経由した電源電圧VBATTの供給を受けると、換言すれば、IGNSW220がオフからオンに切り換わると、電源回路200Dに対して電源電圧VBATTを電源電圧VCCに変換する処理の開始、換言すれば、マイクロコンピュータ200Aへの電源電圧VCCの供給開始を指示する。
The power supply circuit 200D converts the power supply voltage VBATT into a power supply voltage VCC (for example, 5 V) for the microcomputer 200A, and supplies the power supply voltage VCC to the microcomputer 200A.
When the command signal output circuit 200E receives the power supply voltage VBATT via the IGNSW 220, in other words, when the IGNSW 220 is switched from off to on, it instructs the power supply circuit 200D to start the process of converting the power supply voltage VBATT to the power supply voltage VCC, in other words, to start supplying the power supply voltage VCC to the microcomputer 200A.
また、指令信号出力回路200Eは、マイクロコンピュータ200Aからセルフシャットオフ指示信号S-SHUTを入力すると、電源回路200Dに対して電源電圧VBATTを電源電圧VCCに変換する処理の停止、換言すれば、マイクロコンピュータ200Aへの電源電圧VCCの供給停止を指示する。
電圧変換回路200Fは、IGNSW220を経由して供給される電源電圧VBATTを所定電圧(例えば、約2V)の信号Vmに変換してCPU200Aに出力する回路である。
In addition, when the command signal output circuit 200E inputs a self-shutoff instruction signal S-SHUT from the microcomputer 200A, it instructs the power supply circuit 200D to stop the process of converting the power supply voltage VBATT to the power supply voltage VCC, in other words, to stop the supply of the power supply voltage VCC to the microcomputer 200A.
The voltage conversion circuit 200F is a circuit that converts the power supply voltage VBATT supplied via the IGNSW 220 into a signal Vm of a predetermined voltage (for example, about 2 V) and outputs the signal Vm to the CPU 200A.
マイクロコンピュータ200Aは、電圧変換回路200Fの出力に基づきIGNSW220のオン・オフを検知し、IGNSW220がオフからオンに切り換わると、VTC128の電動モータ130の制御を開始し、IGNSW220がオンからオフに切り換わると、所定の処理を実行した後にセルフシャットオフ指示信号S-SHUTを指令信号出力回路200Eに出力することで、電源供給を自己遮断する。
モータ駆動回路200Gは、電動モータ130を駆動するためのインバータを含み、マイクロコンピュータ200Aが出力するPWM制御信号に基づき、電動モータ130への通電を制御する。
The microcomputer 200A detects the on/off state of the IGNSW 220 based on the output of the voltage conversion circuit 200F, and when the IGNSW 220 is switched from off to on, starts controlling the electric motor 130 of the VTC 128, and when the IGNSW 220 is switched from on to off, it performs a predetermined process and then outputs a self shut-off instruction signal S-SHUT to the command signal output circuit 200E, thereby self-cutting off the power supply.
The motor drive circuit 200G includes an inverter for driving the electric motor 130, and controls the supply of electricity to the electric motor 130 based on a PWM control signal output by the microcomputer 200A.
一方、ECM202は、マイクロコンピュータ202A、CAN通信回路202Bなどを備える。
CAN通信回路202Bは、車載ネットワーク204の通信線204A(CANバス)に接続され、ECM202は、車載ネットワーク204に接続されているVTCコントロールモジュール200を含む外部機器(換言すれば、他のノード)とCAN通信回路202Bを介して通信する。
On the other hand, the ECM 202 includes a microcomputer 202A, a CAN communication circuit 202B, and the like.
The CAN communication circuit 202B is connected to a communication line 204A (CAN bus) of the in-vehicle network 204, and the ECM 202 communicates with external devices (in other words, other nodes) including the VTC control module 200 connected to the in-vehicle network 204 via the CAN communication circuit 202B.
ECM202は、電源リレー221を介して車載バッテリ224から電源電圧VBATTが供給されるとともに、IGNSW220を介して車載バッテリ224から電源電圧VBATTが供給される。
電源リレー221は、ECM202が出力するリレー制御信号によってオン・オフが切り換えられる。
The ECM 202 is supplied with a power supply voltage VBATT from an in-vehicle battery 224 via a power supply relay 221 , and is also supplied with the power supply voltage VBATT from the in-vehicle battery 224 via an IGNSW 220 .
The power supply relay 221 is switched on and off by a relay control signal outputted from the ECM 202 .
ECM202は、IGNSW220がオンされ、車載バッテリ224から電源電圧VBATTがIGNSW220を介して供給されると、起動する。
起動したECM202は、電源リレー221をオンするリレー制御信号を出力して電源リレー221をオンさせ、IGNSW220がオフされても電源リレー221を介して電源電圧VBATTが供給されるようにする。
そして、ECM202は、IGNSW220がオフされた後、電源リレー221をオフするリレー制御信号を出力して、電源リレー221を介した電源供給を自己遮断する。
The ECM 202 starts up when the IGNSW 220 is turned on and a power supply voltage VBATT is supplied from the vehicle battery 224 via the IGNSW 220 .
The started ECM 202 outputs a relay control signal to turn on the power supply relay 221, thereby turning on the power supply relay 221, so that the power supply voltage VBATT is supplied via the power supply relay 221 even if the IGNSW 220 is turned off.
After the IGNSW 220 is turned off, the ECM 202 outputs a relay control signal to turn off the power supply relay 221, and automatically cuts off the power supply via the power supply relay 221.
図3は、車載ネットワーク204の全体構成を示す図である。
車載ネットワーク204の通信線204A1には、ECM202とともに、例えば、自動変速機を制御するATコントローラ250や、電動パワーステアリングを制御するPSコントローラ260などの車両に搭載される他の電子制御装置がノードとして接続されている。
FIG. 3 is a diagram showing the overall configuration of the in-vehicle network 204. As shown in FIG.
In addition to the ECM 202, other electronic control devices mounted on the vehicle, such as an AT controller 250 that controls the automatic transmission and a PS controller 260 that controls the electric power steering, are connected as nodes to the communication line 204A1 of the in-vehicle network 204.
また、車載ネットワーク204の通信線204A2には、ECM202とVTCコントロールモジュール200とが接続されている。
なお、車載ネットワーク204は、1つの通信線204A1に、ECM202、ATコントローラ250、PSコントローラ260、及びVTCコントロールモジュール200などの全てのノードを接続したシステムとすることができる。
Further, the ECM 202 and the VTC control module 200 are connected to a communication line 204A2 of the in-vehicle network 204.
The in-vehicle network 204 may be a system in which all nodes such as the ECM 202, the AT controller 250, the PS controller 260, and the VTC control module 200 are connected to a single communication line 204A1.
また、車両整備工場などで、例えばECM202の不揮発性メモリに保存されているプログラムを書き換える場合、作業者は、車載ネットワーク204の通信線204Aに、プログラム書き換え装置300を着脱可能に接続する。
そして、プログラム書き換え装置300は、新たなプログラムのデータを、通信線204Aを介してECM202に送り、ECM202のプログラムの書き換え(以下、リプログラミング処理と称する。)を行わせる。
Furthermore, when rewriting a program stored in the non-volatile memory of the ECM 202 at a vehicle repair shop or the like, the worker detachably connects the program rewriting device 300 to the communication line 204 A of the in-vehicle network 204 .
The program rewriting device 300 then sends the new program data to the ECM 202 via the communication line 204A, and causes the ECM 202 to rewrite the program (hereinafter referred to as a reprogramming process).
IGNSW220がオンされて、ECM202及びVTCコントロールモジュール200が起動している状態では、ECM202とVTCコントロールモジュール200とは常に車載ネットワーク204によって相互に通信を行う。
例えば、ECM202は、吸気バルブ106のバルブ作動角の目標位相(換言すれば、目標バルブタイミング)を周期的に演算し、演算した目標位相のデータなどを通信線204Aに送信する。
When the IGNSW 220 is turned on and the ECM 202 and the VTC control module 200 are activated, the ECM 202 and the VTC control module 200 constantly communicate with each other via the in-vehicle network 204 .
For example, the ECM 202 periodically calculates a target phase of the valve operating angle of the intake valve 106 (in other words, a target valve timing), and transmits data of the calculated target phase and the like to the communication line 204A.
VTCコントロールモジュール200は、ECM202が送信した目標位相のデータなどを受信し、目標位相のデータに基づき電動モータ130の通電を制御する。
また、VTCコントロールモジュール200は、VTC128について行った故障診断の結果を示すデータや、吸気バルブ106のバルブ作動角の検出結果のデータなどを、通信線204Aに送信し、ECM202は、これらのデータを受信する。
The VTC control module 200 receives data such as the target phase data transmitted by the ECM 202, and controls the energization of the electric motor 130 based on the target phase data.
In addition, VTC control module 200 transmits data indicating the results of a fault diagnosis performed on VTC 128, data on the detection results of the valve operating angle of intake valve 106, and the like to communication line 204A, and ECM 202 receives this data.
また、VTCコントロールモジュール200は、ECM202との間における通信機能が正常であるか否かを判定する通信診断(受信診断及び送信診断)を実施する。
そして、VTCコントロールモジュール200は、上記の通信診断において通信機能の異常を判定すると、通信異常への対応措置を実施する。
Furthermore, the VTC control module 200 performs a communication diagnosis (reception diagnosis and transmission diagnosis) to determine whether the communication function between the VTC control module 200 and the ECM 202 is normal.
If the VTC control module 200 determines in the above communication diagnosis that there is an abnormality in the communication function, it implements measures to deal with the communication abnormality.
通信異常への対応措置とは、たとえば、VTC128をデフォルトに制御するなどのフェールセーフモードへの移行や、通信機能の異常を判定した履歴や通信機能が異常になったときの状況を示す情報などをEEPROM200A1に記録保存する処理などである。
しかし、ECM202のリプログラミング処理中であるときは、ECM202は、VTCコントロールモジュール200へのデータ送信を中断する。
Countermeasures against communication abnormalities include, for example, transitioning to a fail-safe mode such as controlling VTC128 to the default, or recording and saving in EEPROM200A1 a history of determining that the communication function is abnormal and information indicating the situation when the communication function became abnormal.
However, when the ECM 202 is in the process of being reprogrammed, the ECM 202 ceases sending data to the VTC control module 200 .
このため、VTCコントロールモジュール200は、ECM202においてリプログラミング処理が実施されると、車載ネットワーク204による通信(送信及び受信)は正常に行える状態、換言すれば、通信機能は正常であるのに、ECM202からのデータ受信が途絶えることで通信機能の異常を誤って判定し、フェールセーフ処理や異常診断履歴の保存などの対応措置を無用に実施してしまう。
そこで、VTCコントロールモジュール200は、ECM202のリプログラミング処理に伴う通信異常の誤判定を抑止するため、ECM202からのデータ受信の正常・異常を判定する受信診断部、通信線204Aへのデータ送信の正常・異常を判定する送信診断部、及び、受信診断部の判定結果と送信診断部の判定結果とに基づき通信の正常・異常を最終的に判定する判定部としての機能をソフトウェアとして備える。
Therefore, when the reprogramming process is performed in the ECM 202, the VTC control module 200 will erroneously determine that there is an abnormality in the communication function because data reception from the ECM 202 is interrupted, even though communication (transmission and reception) via the in-vehicle network 204 can be performed normally, in other words, the communication function is normal, and will unnecessarily implement countermeasures such as fail-safe processing and saving of abnormality diagnosis history.
Therefore, in order to prevent erroneous judgment of communication abnormalities accompanying the reprogramming process of ECM 202, VTC control module 200 is provided with the following software functions: a reception diagnosis unit that judges whether data reception from ECM 202 is normal or abnormal, a transmission diagnosis unit that judges whether data transmission to communication line 204A is normal or abnormal, and a judgment unit that finally judges whether communication is normal or abnormal based on the judgment results of the reception diagnosis unit and the transmission diagnosis unit.
つまり、VTCコントロールモジュール200は、ECM202のリプログラミング処理に伴ってECM202からのデータ受信の異常を判定することになるが、通信線204Aなどが正常な状態であれば、通信線204Aへのデータ送信は正常に行われる。
このため、VTCコントロールモジュール200は、ECM202からのデータ受信は異常であってもデータ送信が正常であれば、データ受信の異常は、ECM202のリプログラミング処理に伴ってECM202がデータ送信を中断しているためであると判定して、データ受信の異常の判定結果を無効とする。
In other words, the VTC control module 200 judges whether there is an abnormality in the data reception from the ECM 202 as the ECM 202 is reprogrammed, but if the communication line 204A etc. is in a normal state, data transmission to the communication line 204A is performed normally.
Therefore, if data reception from ECM 202 is abnormal but data transmission is normal, the VTC control module 200 determines that the abnormality in data reception is due to ECM 202 interrupting data transmission due to the reprogramming process of ECM 202, and invalidates the determination result of the abnormality in data reception.
なお、異常の判定結果の無効化は、たとえば、異常判定の取り消しや、異常判定に基づき行われる措置のキャンセルなどによって実現される。
これにより、ECM202のリプログラミング処理に伴って通信異常(データ受信異常)が誤って判定されても、フェールセーフ処理や異常診断履歴の保存などの通信異常への対応措置が無用に実施されることが抑止される。
The result of the abnormality determination can be invalidated, for example, by canceling the abnormality determination or canceling measures taken based on the abnormality determination.
This prevents unnecessary implementation of countermeasures against the communication abnormality, such as fail-safe processing or saving of abnormality diagnosis history, even if a communication abnormality (data reception abnormality) is erroneously determined during the reprogramming process of the ECM 202.
図4は、VTCコントロールモジュール200による通信診断処理の各工程を示すフローチャートである。
VTCコントロールモジュール200は、ステップS501で、IGNSW220のオン・オフを判定する。
FIG. 4 is a flow chart showing the steps of the communication diagnostic process performed by the VTC control module 200.
In step S501, the VTC control module 200 determines whether the IGNSW 220 is on or off.
VTCコントロールモジュール200は、IGNSW220のオン状態であるときはステップS502以降に進んで通信診断を実施し、IGNSW220のオフ状態であるときは本ルーチンをそのまま終了させ、通信診断をキャンセルする。
IGNSW220のオン状態は、ECM202とVTCコントロールモジュール200との間で通信が常時行われる状態であり、逆に、IGNSW220のオフ状態は、ECM202とVTCコントロールモジュール200との間での通信が途絶える状態である。
If the IGNSW 220 is in the ON state, the VTC control module 200 proceeds to step S502 and subsequent steps to perform a communication diagnosis, but if the IGNSW 220 is in the OFF state, the VTC control module 200 ends this routine and cancels the communication diagnosis.
When the IGNSW 220 is in the ON state, communication between the ECM 202 and the VTC control module 200 is always performed. Conversely, when the IGNSW 220 is in the OFF state, communication between the ECM 202 and the VTC control module 200 is cut off.
VTCコントロールモジュール200は、ステップS502(受信診断部)で、ECM202からのデータ受信の正常・異常を判定する。
VTCコントロールモジュール200は、ECM202からのデータ受信が途絶えている状態が設定時間を超えているとき、データ受信の異常を判定する。
The VTC control module 200 determines whether the data reception from the ECM 202 is normal or abnormal in step S502 (reception diagnosis section).
The VTC control module 200 determines that an abnormality in data reception has occurred when the state in which data reception from the ECM 202 has been interrupted exceeds a set time.
なお、ステップS502の受信診断における設定時間は、VTCコントロールモジュール200がECM202と正常に通信しているときに、ECM202からのデータ受信の間隔時間が達することのない時間に適合される。
一方、VTCコントロールモジュール200は、ECM202からのデータ受信が正常な間隔時間内で定期的に行われていて、ECM202からのデータ受信の間隔時間が設定時間に達していない場合、ECM202が送信したデータを正常に受信できているデータ受信の正常状態であると判定する。
The set time in the reception diagnosis in step S502 is adapted to a time that will not be reached during the interval between data reception from the ECM 202 when the VTC control module 200 is communicating normally with the ECM 202.
On the other hand, if the VTC control module 200 receives data from the ECM 202 periodically within a normal interval and the interval between data receptions from the ECM 202 has not reached the set time, it determines that the data reception is normal, that is, the data transmitted by the ECM 202 is being received normally.
VTCコントロールモジュール200は、ステップS502で、ECM202からのデータ受信の異常を判定すると、ステップS503に進む。
VTCコントロールモジュール200は、ステップS503(送信診断部)で、自身による通信線204Aへのデータ送信の正常・異常を判定する。
If the VTC control module 200 determines in step S502 that there is an abnormality in the data reception from the ECM 202, the process proceeds to step S503.
In step S503 (transmission diagnosis section), VTC control module 200 determines whether data transmission by itself to communication line 204A is normal or abnormal.
そして、通信線204Aにデータを正常に送信できている送信正常状態であるとき、VTCコントロールモジュール200は、ステップS504-ステップS507(判定部)に進み、通信の正常・異常を最終的に判定する。
VTCコントロールモジュール200は、ステップS504で、エンジン100が停止状態(エンスト状態)であるか運転状態であるかを判定する。
If the data is being transmitted normally to communication line 204A, VTC control module 200 proceeds to steps S504 to S507 (determination section) to make a final determination as to whether the communication is normal or abnormal.
In step S504, the VTC control module 200 determines whether the engine 100 is stopped (stalling) or in operation.
VTCコントロールモジュール200は、エンジン100が運転中であるか停止中であるかに関するエンジン情報として、クランクシャフト116の回転角信号POS及び吸気カムシャフト124の回転角信号CAMを各センサから取得する。
そこで、VTCコントロールモジュール200は、ステップS504で、回転角信号POS及び/又は回転角信号CAMに基づき、エンジン100が停止状態であるか運転状態であるかを判定する。
The VTC control module 200 obtains a rotation angle signal POS of the crankshaft 116 and a rotation angle signal CAM of the intake camshaft 124 from the respective sensors as engine information relating to whether the engine 100 is operating or stopped.
Therefore, in step S504, the VTC control module 200 determines whether the engine 100 is stopped or running based on the rotation angle signal POS and/or the rotation angle signal CAM.
つまり、VTCコントロールモジュール200は、回転角信号POSや回転角信号CAMが振動していれば、エンジン100が運転状態であると判定し、回転角信号POSや回転角信号CAMの振動が停止していれば、エンジン100が停止状態であると判定する。
但し、エンジン100の停止・運転の判定に用いるエンジン情報を、回転角信号POSや回転角信号CAMなどの回転信号に限定するものではない。
例えば、VTCコントロールモジュール200は、吸入空気流量、吸気管負圧、空燃比、エンジン振動などのエンジン情報に基づき、エンジン100の停止・運転の判定を行うことができる。
In other words, if the rotation angle signal POS or the rotation angle signal CAM is vibrating, the VTC control module 200 determines that the engine 100 is in an operating state, and if the vibration of the rotation angle signal POS or the rotation angle signal CAM has stopped, the VTC control module 200 determines that the engine 100 is in a stopped state.
However, the engine information used to determine whether the engine 100 is stopped or running is not limited to rotation signals such as the rotation angle signal POS and the rotation angle signal CAM.
For example, the VTC control module 200 can determine whether to stop or operate the engine 100 based on engine information such as the intake air flow rate, the intake pipe negative pressure, the air-fuel ratio, and engine vibration.
VTCコントロールモジュール200は、ステップS504でエンジン100が停止状態であると判定すると、ステップS505に進む。
VTCコントロールモジュール200は、ステップS505で、データ受信の異常を判定し、かつ、データ送信の正常を判定し、かつ、エンジン100の停止中であると判定している状態が、設定時間を超えて継続しているか否かを判定する。
If the VTC control module 200 determines in step S504 that the engine 100 is stopped, the process proceeds to step S505.
In step S505, the VTC control module 200 determines whether or not the state in which it has determined that there is an abnormality in data reception, that it has determined that data transmission is normal, and that the engine 100 is stopped has continued for a set time period.
ステップS505における設定時間は、ECM202のリプログラミング処理に要する平均的な時間に基づく時間であって、ECM202のリプログラミング処理が行われるときに超える時間に適合される。
そして、VTCコントロールモジュール200は、ステップS505で、継続時間が設定時間を超えていると判定すると、ステップS506に進み、ECM202がリプログラミング処理中であると判定する。
The set time in step S505 is based on the average time required for the reprogramming process of the ECM 202 and is adapted to the time that will be exceeded when the reprogramming process of the ECM 202 is performed.
If the VTC control module 200 determines in step S505 that the duration exceeds the set time, the process proceeds to step S506, where it determines that the ECM 202 is undergoing a reprogramming process.
ECM202のリプログラミング処理が行われているとき、ECM202はVTCコントロールモジュール200などに向けたデータ送信を停止し、VTCコントロールモジュール200は、ECM202からのデータ受信が途絶えることで、データ受信の異常を判定することになる。
但し、係るデータ受信の異常は、通信線204Aの断線などの通信機能の故障に因るものではないため、VTCコントロールモジュール200による通信線204Aへのデータ送信は正常に行われることになる。
When the reprogramming process of the ECM 202 is being performed, the ECM 202 stops transmitting data to the VTC control module 200 and the like, and the VTC control module 200 determines that there is an abnormality in the data reception when data reception from the ECM 202 is interrupted.
However, since the abnormality in data reception is not due to a failure in the communication function, such as a break in communication line 204A, data transmission by VTC control module 200 to communication line 204A is performed normally.
したがって、VTCコントロールモジュール200は、ECM202からのデータ受信の異常を判定しても、通信線204Aへのデータ送信の正常を判定したときは、ECM202のリプログラミング処理中であるためにECM202からのデータ受信の異常を判定したと推定できる。
また、ECM202のリプログラミング処理中であれば、ECM202によるエンジン100の制御(燃料噴射制御、点火制御など)が停止することで、エンジン100は運転を停止することになる。
Therefore, even if the VTC control module 200 determines that there is an abnormality in receiving data from the ECM 202, if it determines that data transmission to the communication line 204A is normal, it can be assumed that the VTC control module 200 has determined that there is an abnormality in receiving data from the ECM 202 because the reprogramming process of the ECM 202 is in progress.
Furthermore, if the ECM 202 is undergoing a reprogramming process, the control of the engine 100 by the ECM 202 (fuel injection control, ignition control, etc.) is stopped, and the engine 100 stops operating.
このため、VTCコントロールモジュール200は、データ受信の異常を判定し、かつ、データ送信の正常を判定し、更に、エンジン100が停止状態であると判定したことを条件に、ECM202のリプログラミング処理中であると判定することで、ECM202がリプログラミング処理中であるか否かの判定精度が向上する。
更に、ECM202のリプログラミング処理には通常数分を要する。
Therefore, the VTC control module 200 determines whether there is an abnormality in data reception, determines whether data transmission is normal, and further determines that the ECM 202 is undergoing reprogramming processing on the condition that it has determined that the engine 100 is in a stopped state, thereby improving the accuracy of determining whether the ECM 202 is undergoing reprogramming processing.
Furthermore, the process of reprogramming the ECM 202 typically takes several minutes.
したがって、VTCコントロールモジュール200が、データ受信の異常を判定し、かつ、データ送信の正常を判定し、更に、エンジン100が停止状態であると判定する状況は、実際にECM202のリプログラミング処理が行われていれば、リプログラミング処理の通常所要時間だけ継続することになる。
このため、VTCコントロールモジュール200は、リプログラミング処理の所要時間に見合う時間の継続を条件として、ECM202のリプログラミング処理中であると判定することで、ECM202がリプログラミング処理中であるか否かの判定精度が向上する。
Therefore, the situation in which the VTC control module 200 determines that there is an abnormality in data reception, determines that data transmission is normal, and further determines that the engine 100 is in a stopped state will continue for the normal required time for the reprogramming process if the reprogramming process of the ECM 202 is actually being performed.
Therefore, the VTC control module 200 determines that the reprogramming process of the ECM 202 is in progress only if the reprogramming process continues for a period of time that corresponds to the time required for the reprogramming process, thereby improving the accuracy of determining whether the ECM 202 is in the reprogramming process or not.
VTCコントロールモジュール200は、ステップS506に進んで、ECM202がリプログラミング処理中であると判定したとき、ECM202からのデータ受信の異常判定は、通信線204Aの断線などの通信機能の故障に因るものではないため、データ受信の異常の判定結果を無効とする。
VTCコントロールモジュール200は、通常、ECM202からのデータ受信の異常などの車載ネットワーク204における通信異常を判定すると、異常判定の履歴をEEPROM200A1に保存する処理を実施したり、VTC128の制御モードをフェールセーフモードに切り換えるフェールセーフ処置を実施したりするなど、通信異常(データ受信の異常)に対処する措置を行う。
When the VTC control module 200 proceeds to step S506 and determines that the ECM 202 is undergoing a reprogramming process, the determination of an abnormality in data reception from the ECM 202 is invalidated because the abnormality is not due to a failure of the communication function, such as a break in the communication line 204A.
Normally, when the VTC control module 200 determines that there is a communication abnormality in the in-vehicle network 204, such as an abnormality in data reception from the ECM 202, it takes measures to deal with the communication abnormality (abnormality in data reception), such as storing a history of the abnormality determination in the EEPROM 200A1 or implementing a fail-safe procedure to switch the control mode of the VTC 128 to a fail-safe mode.
しかし、ECM202のリプログラミング処理中は、車載ネットワーク204の通信機能が正常であっても、VTCコントロールモジュール200がECM202からのデータ受信の異常を判定することになり、データ受信の異常に対処する措置の実施は、誤った診断結果に基づく無用な措置になってしまう可能性がある。
そこで、VTCコントロールモジュール200は、ECM202のリプログラミング処理中であると判定したときは、ECM202からのデータ受信の異常の判定結果を無効化し、異常判定履歴の保存やフェールセーフモードへの移行などを行わないようにする。
However, during the reprogramming process of ECM 202, even if the communication function of in-vehicle network 204 is normal, VTC control module 200 will determine that there is an abnormality in data reception from ECM 202, and the implementation of measures to address the data reception abnormality may end up being unnecessary measures based on an erroneous diagnostic result.
Therefore, when the VTC control module 200 determines that the ECM 202 is undergoing reprogramming processing, it invalidates the abnormality determination result of the data reception from the ECM 202, and does not store the abnormality determination history or transition to fail-safe mode.
したがって、VTCコントロールモジュール200は、ECM202のリプログラミング処理に伴ってデータ受信の異常を判定しても、誤った診断履歴を保存したり、誤ってフェールセーフ処置を実施したりすることが抑止され、通信診断処理の信頼性を向上させることができる。
なお、データ受信の異常の判定結果の無効化は、異常判定の取り消しや、異常判定の履歴の保存などの措置のキャンセルなどによって実現される。
また、VTCコントロールモジュール200は、ECM202がリプログラミング処理中であることを判定したときに、ECM202においてリプログラミング処理が行われた履歴の情報をEEPROM200A1に記録することができる。
Therefore, even if the VTC control module 200 determines that there is an abnormality in data reception as a result of the reprogramming process of the ECM 202, the VTC control module 200 is prevented from storing an erroneous diagnostic history or erroneously implementing a fail-safe procedure, thereby improving the reliability of the communication diagnostic process.
The invalidation of the data reception abnormality determination result can be realized by canceling the abnormality determination or canceling measures such as saving the abnormality determination history.
Furthermore, when the VTC control module 200 determines that the ECM 202 is undergoing a reprogramming process, it can record information on the history of the reprogramming process performed in the ECM 202 in the EEPROM 200A1.
一方、VTCコントロールモジュール200は、ステップS502で、ECM202からのデータ受信が正常であると判定した場合、ステップS507に進み、ECM202はリプログラミング処理中ではなく、エンジン100の制御中であると判定する。
つまり、ECM202からのデータ受信が正常である場合、ECM202がVTCコントロールモジュール200に向けたデータ送信を通常に行っていて、かつ、通信線204Aの断線なども発生していないと判断される。
On the other hand, if VTC control module 200 determines in step S502 that data reception from ECM 202 is normal, the process proceeds to step S507, where it determines that ECM 202 is not performing a reprogramming process but is controlling engine 100.
In other words, if data reception from ECM 202 is normal, it is determined that ECM 202 is transmitting data normally to VTC control module 200 and that no breaks or the like have occurred in communication line 204A.
また、VTCコントロールモジュール200は、ステップS503で、データ送信の異常を判定したとき、つまり、ECM202からのデータ受信の異常を判定し、かつ、通信線204Aへのデータ送信の異常を判定したときは、ステップS507に進む。
ここでも、VTCコントロールモジュール200は、ECM202はリプログラミング処理中ではなく、エンジン100の制御中であると判定する。
Furthermore, when VTC control module 200 determines in step S503 that there is an abnormality in data transmission, that is, when it determines that there is an abnormality in data reception from ECM 202 and also in data transmission to communication line 204A, it proceeds to step S507.
Again, the VTC control module 200 determines that the ECM 202 is not in the process of being reprogrammed and is instead controlling the engine 100 .
また、このときの通信異常(データ受信及びデータ送信の異常)の判定は、ECM202のリプログラミング処理に影響されたものではなく、実際に通信線204Aの断線などの故障が車載ネットワーク204において発生していると推定される。
このため、VTCコントロールモジュール200は、ステップS503からステップS507に進んだ場合、通信異常の判定結果を無効化することなく、車載ネットワーク204の通信機能に異常が生じていると最終的に判定し、異常判定履歴の保存やフェールセーフモードへの移行などの異常判定に対処する措置を実施する。
In addition, the determination of the communication abnormality (abnormality in data reception and data transmission) at this time is not influenced by the reprogramming process of the ECM 202, but it is assumed that a fault such as a break in the communication line 204A has actually occurred in the in-vehicle network 204.
Therefore, when the VTC control module 200 proceeds from step S503 to step S507, it ultimately determines that an abnormality has occurred in the communication function of the in-vehicle network 204 without invalidating the communication abnormality determination result, and implements measures to deal with the abnormality determination, such as saving the abnormality determination history and transitioning to fail-safe mode.
また、VTCコントロールモジュール200は、ステップS504でエンジン100が運転中であると判定した場合も、ステップS507に進んで、ECM202はリプログラミング処理中ではなく、エンジン100の制御中であると判定する。
ステップS504からステップS507に進む場合、データ受信の異常はECM202のリプログラミング処理に影響されたものではなく、データ送信は正常であることから、通信線204Aの断線などの送受信が不能になる状態ではないものの、ECM202のデータ送信機能に異常が発生している可能性がある。
Furthermore, if the VTC control module 200 determines in step S504 that the engine 100 is operating, the process also proceeds to step S507, where it determines that the ECM 202 is not performing the reprogramming process but is controlling the engine 100.
When proceeding from step S504 to step S507, the abnormality in data reception is not due to the reprogramming process of ECM 202, and data transmission is normal, so although there is no condition that would disable transmission and reception, such as a break in communication line 204A, there is a possibility that an abnormality has occurred in the data transmission function of ECM 202.
そこで、VTCコントロールモジュール200は、ステップS504からステップS507に進んだ場合、データ受信の異常の判定結果を無効化することなく、データ受信の異常を判定した履歴をEEPROM200A1に保存する処理や、データ受信の異常の判定結果に基づきVTC128の制御モードをフェールセーフモードに切り換えるフェールセーフ処置などを実施する。
更に、VTCコントロールモジュール200は、ステップS505で、継続時間が設定時間を超えていないと判定したときは、ステップS507に進んで、ECM202のリプログラミング処理中ではではなくエンジン100の制御中であると判定し、継続時間が設定時間を超えた時点で初めてECM202はリプログラミング処理中であると判定する。
Therefore, when the VTC control module 200 proceeds from step S504 to step S507, it performs a process of saving a history of the data reception abnormality determination in EEPROM 200A1 without invalidating the result of the data reception abnormality determination, and also performs a fail-safe process of switching the control mode of VTC 128 to a fail-safe mode based on the result of the data reception abnormality determination.
Furthermore, when VTC control module 200 determines in step S505 that the duration does not exceed the set time, it proceeds to step S507 and determines that ECM 202 is not undergoing reprogramming processing but is controlling engine 100, and determines that ECM 202 is undergoing reprogramming processing only when the duration exceeds the set time.
上記実施形態で説明した各技術的思想は、矛盾が生じない限りにおいて、適宜組み合わせて使用することができる。
また、好ましい実施形態を参照して本発明の内容を具体的に説明したが、本発明の基本的技術思想及び教示に基づいて、当業者であれば、種々の変形態様を採り得ることは自明である。
The technical ideas described in the above embodiments can be used in any suitable combination as long as no contradiction occurs.
Furthermore, although the contents of the present invention have been specifically described with reference to preferred embodiments, it is obvious that a person skilled in the art can adopt various modified embodiments based on the basic technical concept and teachings of the present invention.
上記実施形態では、VTCコントロールモジュール200とECM202との間での通信を示したが、電子制御装置の組み合わせをVTCコントロールモジュール200とECM202とに限定するものではなく、車載ネットワーク204に接続される電子制御装置の種々の組み合わせに、同様な通信診断方法を適用できる。
例えば、ECM202と、エンジンの機械圧縮比を可変する可変圧縮比機構を制御する電子制御装置との組み合わせにおいて、可変圧縮比機構を制御する電子制御装置は、図4のフローチャートに示した工程にしたがって通信診断を行うことができる。
In the above embodiment, communication between VTC control module 200 and ECM 202 is shown, but the combination of electronic control devices is not limited to VTC control module 200 and ECM 202, and a similar communication diagnosis method can be applied to various combinations of electronic control devices connected to in-vehicle network 204.
For example, in a combination of ECM 202 and an electronic control device that controls a variable compression ratio mechanism that varies the mechanical compression ratio of the engine, the electronic control device that controls the variable compression ratio mechanism can perform communication diagnosis in accordance with the steps shown in the flowchart of FIG. 4.
また、図4のフローチャートに示したステップS504とステップS505との少なくとも一方の工程を省略することができる。
また、通信異常の判定結果に基づき実施される措置は、診断履歴の保存やフェールセーフモードへの移行に限定されず、例えば、警告灯の点灯制御などの警告手段の作動などであってもよい。
Also, at least one of steps S504 and S505 shown in the flowchart of FIG. 4 can be omitted.
Furthermore, the measures implemented based on the result of the communication abnormality determination are not limited to saving a diagnostic history or switching to a fail-safe mode, but may also be, for example, activation of a warning means such as controlling the illumination of a warning light.
また、ECM202(第2電子制御装置)がリプログラミング処理中であることを判定したVTCコントロールモジュール200(第1電子制御装置)は、車載ネットワークを構成する他の電子制御装置(第3電子制御装置)に対し、ECM202がリプログラミング処理中であることを示すデータを送信することができる。 In addition, when the VTC control module 200 (first electronic control unit) determines that the ECM 202 (second electronic control unit) is undergoing a reprogramming process, it can transmit data indicating that the ECM 202 is undergoing a reprogramming process to other electronic control units (third electronic control units) that make up the in-vehicle network.
100…エンジン、200…VTCコントロールモジュール(電子制御装置)、202…ECM(他の電子制御装置)、204…車載ネットワーク、204A…通信線 100...Engine, 200...VTC control module (electronic control unit), 202...ECM (other electronic control unit), 204...In-vehicle network, 204A...Communication line
Claims (6)
前記車載ネットワークに接続される他の電子制御装置からのデータ受信の正常・異常を判定する受信診断部と、
前記車載ネットワークの通信線へのデータ送信の正常・異常を判定する送信診断部と、
前記受信診断部の判定結果と前記送信診断部の判定結果とに基づき通信の正常・異常を最終的に判定する判定部と、
を備え、
前記判定部は、
前記受信診断部がデータ受信の異常を判定し、前記送信診断部がデータ送信の正常を判定したときに、前記受信診断部によるデータ受信の異常の判定結果を無効とする、
電子制御装置。 An electronic control device connected to an in-vehicle network,
a reception diagnostic unit for determining whether data reception from other electronic control units connected to the in-vehicle network is normal or abnormal;
a transmission diagnostic unit for determining whether data transmission to a communication line of the in-vehicle network is normal or abnormal;
a determination unit that determines whether communication is normal or abnormal based on a determination result of the reception diagnosis unit and a determination result of the transmission diagnosis unit;
Equipped with
The determination unit is
when the reception diagnostic unit determines that the data reception is abnormal and the transmission diagnostic unit determines that the data transmission is normal, the result of the reception diagnostic unit's determination that the data reception is abnormal is invalidated.
Electronic control unit.
前記車載ネットワークに接続される他の電子制御装置からのデータ受信の正常・異常を判定する受信診断部と、
前記車載ネットワークの通信線へのデータ送信の正常・異常を判定する送信診断部と、
前記受信診断部の判定結果と前記送信診断部の判定結果とに基づき通信の正常・異常を最終的に判定する判定部と、
を備え、
前記判定部は、
前記受信診断部の判定結果と前記送信診断部の判定結果とに基づき前記他の電子制御装置がプログラムの書き換え中であるか否かを判定した結果に応じて、通信の正常・異常を最終的に判定する、
電子制御装置。 An electronic control device connected to an in-vehicle network,
a reception diagnostic unit for determining whether data reception from other electronic control units connected to the in-vehicle network is normal or abnormal;
a transmission diagnostic unit for determining whether data transmission to a communication line of the in-vehicle network is normal or abnormal;
a determination unit that determines whether communication is normal or abnormal based on a determination result of the reception diagnosis unit and a determination result of the transmission diagnosis unit;
Equipped with
The determination unit is
a final determination as to whether communication is normal or abnormal in accordance with a result of determining whether the other electronic control device is in the process of rewriting a program based on a determination result of the reception diagnosis unit and a determination result of the transmission diagnosis unit;
Electronic control unit.
前記判定部は、
前記受信診断部がデータ受信の異常を判定し、前記送信診断部がデータ送信の正常を判定したときに、前記他の電子制御装置がプログラムの書き換え中であると判定して、前記データ受信の異常の判定結果を無効とする、
電子制御装置。 3. The electronic control device according to claim 2,
The determination unit is
When the reception diagnosis unit determines an abnormality in data reception and the transmission diagnosis unit determines that the data transmission is normal, the other electronic control unit determines that a program is being rewritten, and invalidates the determination result of the abnormality in data reception.
Electronic control unit.
前記他の電子制御装置は、車両に搭載されるエンジンを制御するエンジンコントロールモジュールであって、
前記判定部は、
前記エンジンが運転中であるか停止中であるかに関するエンジン情報を取得し、
前記エンジン情報に基づき前記エンジンが停止中であると判定し、前記受信診断部がデータ受信の異常を判定し、前記送信診断部がデータ送信の正常を判定したときに、前記エンジンコントロールモジュールがプログラムの書き換え中であると判定する、
電子制御装置。 3. The electronic control device according to claim 2,
The other electronic control device is an engine control module that controls an engine mounted in a vehicle,
The determination unit is
obtaining engine information regarding whether the engine is running or stopped;
determining that the engine is stopped based on the engine information, the reception diagnosis unit determines whether there is an abnormality in data reception, and when the transmission diagnosis unit determines whether data transmission is normal, determining that the engine control module is in the process of rewriting a program.
Electronic control unit.
前記判定部は、
前記エンジン情報に基づき前記エンジンが停止中であると判定し、前記受信診断部がデータ受信の異常を判定し、前記送信診断部がデータ送信の正常を判定している状態が設定時間を超えて継続したときに、前記エンジンコントロールモジュールがプログラムの書き換え中であると判定する、
電子制御装置。 5. The electronic control device according to claim 4,
The determination unit is
a determination unit that the engine is stopped based on the engine information, the reception diagnosis unit determines an abnormality in data reception, and when the transmission diagnosis unit determines that data transmission is normal, the engine control module determines that a program is being rewritten when the state continues for a set time period.
Electronic control unit.
前記車載ネットワークに接続される他の電子制御装置からのデータ受信の正常・異常を判定する工程と、
前記データ受信の異常を判定したときに、前記車載ネットワークの通信線へのデータ送信の正常・異常を判定する工程と、
前記データ送信の正常を判定したときに、前記他の電子制御装置がプログラムの書き換え中であると判定して、前記データ受信の異常の判定結果を無効とする工程と、
を備える、通信診断方法。 A communication diagnostic method for determining whether communication is normal or abnormal in an electronic control device connected to an in-vehicle network, comprising:
determining whether data reception from other electronic control units connected to the in-vehicle network is normal or abnormal;
determining whether data transmission to a communication line of the in-vehicle network is normal or abnormal when the abnormality in the data reception is determined;
a step of determining that the other electronic control unit is in the process of rewriting a program when it is determined that the data transmission is normal, and invalidating a result of the determination that the data reception is abnormal;
A communication diagnostic method comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021191830A JP7675394B2 (en) | 2021-11-26 | 2021-11-26 | Electronic control device and communication diagnostic method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021191830A JP7675394B2 (en) | 2021-11-26 | 2021-11-26 | Electronic control device and communication diagnostic method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023078620A JP2023078620A (en) | 2023-06-07 |
| JP7675394B2 true JP7675394B2 (en) | 2025-05-14 |
Family
ID=86646293
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021191830A Active JP7675394B2 (en) | 2021-11-26 | 2021-11-26 | Electronic control device and communication diagnostic method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7675394B2 (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002158668A (en) | 2000-11-17 | 2002-05-31 | Denso Corp | Anomaly detection device for vehicle network system |
| JP2008155736A (en) | 2006-12-22 | 2008-07-10 | Fujitsu Ten Ltd | Electronic control device |
| JP2014221608A (en) | 2013-05-14 | 2014-11-27 | スズキ株式会社 | Electronic control device for vehicle |
| JP2017076934A (en) | 2015-10-16 | 2017-04-20 | トヨタ自動車株式会社 | Communication network system |
| JP2020017220A (en) | 2018-07-27 | 2020-01-30 | 株式会社デンソーテン | Update control device, electronic device, update system, and update control method |
| JP2021013135A (en) | 2019-07-09 | 2021-02-04 | 日立オートモティブシステムズ株式会社 | Electronic control device for vehicle |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3401360B2 (en) * | 1995-03-31 | 2003-04-28 | マツダ株式会社 | Multiplex transmission equipment |
-
2021
- 2021-11-26 JP JP2021191830A patent/JP7675394B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002158668A (en) | 2000-11-17 | 2002-05-31 | Denso Corp | Anomaly detection device for vehicle network system |
| JP2008155736A (en) | 2006-12-22 | 2008-07-10 | Fujitsu Ten Ltd | Electronic control device |
| JP2014221608A (en) | 2013-05-14 | 2014-11-27 | スズキ株式会社 | Electronic control device for vehicle |
| JP2017076934A (en) | 2015-10-16 | 2017-04-20 | トヨタ自動車株式会社 | Communication network system |
| JP2020017220A (en) | 2018-07-27 | 2020-01-30 | 株式会社デンソーテン | Update control device, electronic device, update system, and update control method |
| JP2021013135A (en) | 2019-07-09 | 2021-02-04 | 日立オートモティブシステムズ株式会社 | Electronic control device for vehicle |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023078620A (en) | 2023-06-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6230094B1 (en) | Electronic control system and method having monitor program | |
| JP4781899B2 (en) | Engine fuel supply system | |
| JP3824828B2 (en) | Engine control device | |
| US20090088892A1 (en) | Control system of electric actuator and control method thereof | |
| JP2009243452A (en) | Vehicle failure diagnosis apparatus | |
| JP2001510261A (en) | System and method for controlling a turbocharger | |
| US6393833B2 (en) | Abnormality test method and apparatus for secondary air supply system of a vehicle | |
| JP2003138960A (en) | Catalyst early warm-up control device for internal combustion engine | |
| JP2008051014A (en) | Automatic start control device for internal combustion engine | |
| JP4753085B2 (en) | Control device for internal combustion engine | |
| JP5545459B2 (en) | Engine automatic stop / start control device | |
| JP7675394B2 (en) | Electronic control device and communication diagnostic method | |
| US20100018189A1 (en) | Control system of internal combustion engine | |
| JP4635264B2 (en) | Abnormality judgment device | |
| JP4743147B2 (en) | Control device for electric fluid pump | |
| US10006381B2 (en) | Diagnostic system and diagnostic method for internal combustion engine | |
| JP3864525B2 (en) | Engine fuel supply diagnostic apparatus and method | |
| JP2006290152A (en) | Vehicle control device and program used for vehicle control device | |
| JP2518235B2 (en) | Throttle valve control device for internal combustion engine | |
| EP2742217B1 (en) | Internal combustion engine control apparatus and internal combustion engine control method | |
| JP2000154754A (en) | Internal combustion engine abnormality detection device | |
| JP2018020715A (en) | Electronic control device for vehicle | |
| JP3811298B2 (en) | Engine control monitoring device | |
| JP2009013823A (en) | Electronically controlled throttle device | |
| JP4338549B2 (en) | Control device and control method for internal combustion engine |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240412 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250121 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250128 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250321 |
|
| 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: 20250325 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250418 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7675394 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |