JP2019006324A - Electronic control device for automobile - Google Patents

Electronic control device for automobile Download PDF

Info

Publication number
JP2019006324A
JP2019006324A JP2017125840A JP2017125840A JP2019006324A JP 2019006324 A JP2019006324 A JP 2019006324A JP 2017125840 A JP2017125840 A JP 2017125840A JP 2017125840 A JP2017125840 A JP 2017125840A JP 2019006324 A JP2019006324 A JP 2019006324A
Authority
JP
Japan
Prior art keywords
inspection
function
control device
electronic control
automobile
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.)
Granted
Application number
JP2017125840A
Other languages
Japanese (ja)
Other versions
JP6746539B2 (en
Inventor
大輔 古家
Daisuke Furuya
大輔 古家
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.)
Hitachi Astemo Ltd
Original Assignee
Hitachi Automotive Systems Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Automotive Systems Ltd filed Critical Hitachi Automotive Systems Ltd
Priority to JP2017125840A priority Critical patent/JP6746539B2/en
Publication of JP2019006324A publication Critical patent/JP2019006324A/en
Application granted granted Critical
Publication of JP6746539B2 publication Critical patent/JP6746539B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Stored Programmes (AREA)

Abstract

To provide an electronic control device for an automobile which can facilitate inspection of a control function which becomes non-usable when using hardware in common, and can suppress lowering of safety and reliability at a change of a specification.SOLUTION: In an electronic control device 1 for an automobile, at least one control function is selected from a plurality of control functions P1, P2, P3, ... according to a kind of a vehicle to which the electronic control device is mounted, and used for the control of the automobile, and then, a use of a non-selected control function which is not used for control is stopped. The electronic control device comprises inspection means S2 for inspecting the non-selected control function differently from a diagnosis function S1 for diagnosing the selected operating control function, and performs inspection by the inspection means prior to mounting to the automobile. Since the electronic control device comprises the inspection means for inspecting the non-selected control function, the inspection of the control function which becomes non-usable when using hardware in common can be facilitated. Also, when changing a specification by reprogramming or the like in use, the lowering of safety and reliability can be suppressed by inspecting a non-use function by an inspection function part prior to mounting to the automobile.SELECTED DRAWING: Figure 2

Description

本発明は、複数の車種に搭載される自動車用電子制御装置に関する。   The present invention relates to an automobile electronic control device mounted on a plurality of vehicle types.

自動車用の各種の電子機器は、検査段階で全ての機能が正常に動作するか否か確認を行うのが一般的である。例えば特許文献1には、車両に搭載された複数の電子制御装置に対して車両の外部から通信を行い、この通信によって車両の電子制御装置から取得したデータに基づいて複数の検査項目の合否を判定する車両検査装置が記載されている。   In general, various electronic devices for automobiles check whether all functions normally operate at the inspection stage. For example, in Patent Document 1, communication is performed from the outside of a vehicle to a plurality of electronic control devices mounted on the vehicle, and pass / fail of a plurality of inspection items is determined based on data acquired from the electronic control device of the vehicle by this communication. A vehicle inspection device for determination is described.

特開2016−151471号公報JP 2006-151471 A

ところで、自動車用電子制御装置では、エンジン用制御装置などのように、ソフトウェア上の細かな仕様別に多数の車種が設定されるものがある。このような場合には、制御データやプログラムが違う場合にも同じハードウェアを適用することが多い。ハードウェアを共通化するには、自動車用電子制御装置が備える複数の制御機能のうち、搭載される車種に応じて一部の制御機能が選択されて車両の制御に用いられ、非選択の制御機能の使用が停止される。そして、非選択の制御機能に割り当てられた非使用の外部端子は、ROM設定により通信などの入出力動作を禁止している。このため、車両搭載前の検査で、非使用機能を検査するためには、ROM設定の変更が必要になり検査に手間がかかる、という問題があった。   By the way, in some electronic control devices for automobiles, many types of vehicles are set according to detailed specifications on software, such as an engine control device. In such a case, the same hardware is often applied even when control data and programs are different. In order to make the hardware common, some of the control functions provided in the electronic control device for automobiles are selected according to the type of vehicle installed and used for vehicle control. Use of the function is stopped. Unused external terminals assigned to non-selected control functions prohibit input / output operations such as communication by ROM settings. For this reason, in order to inspect the non-use function in the inspection before mounting on the vehicle, there has been a problem that the ROM setting needs to be changed and the inspection takes time.

なお、非選択の制御機能は搭載されている車両では使用されないので、通常の使用であれば検査しなくても問題は起こらない。しかし、製品の出荷後、ユーザがリプログラミングなどにより仕様変更することがある。この場合には、未検査状態または動作中の自己診断が行われていない機能を使用する可能性があり、安全性や信頼性の観点から好ましくない。   In addition, since the non-selected control function is not used in a vehicle on which the vehicle is mounted, there is no problem even if it is not inspected for normal use. However, after the product is shipped, the user may change the specification by reprogramming or the like. In this case, there is a possibility of using a function that has not been inspected or is not performing self-diagnosis during operation, which is not preferable from the viewpoint of safety and reliability.

本発明は上記のような事情に鑑みてなされたもので、その目的とするところは、ハードウェアを共通化した際に非使用となる制御機能の検査の容易化が図れ、仕様変更の際の安全性と信頼性の低下を抑制できる自動車用電子制御装置を提供することにある。   The present invention has been made in view of the circumstances as described above. The purpose of the present invention is to facilitate the inspection of control functions that are not used when hardware is used in common, and to change specifications. An object of the present invention is to provide an automotive electronic control device capable of suppressing a reduction in safety and reliability.

本発明の一態様に係る自動車用電子制御装置は、搭載される車種に応じて、複数の制御機能から少なくとも1つが選択されて自動車の制御に用いられ、制御に用いられない非選択の制御機能の使用が停止される電子制御装置であって、前記選択された動作中の制御機能を診断する診断機能とは別に、前記非選択の制御機能を検査する検査手段を備え、自動車への搭載前に前記検査手段による検査を行う、ことを特徴とする。   An electronic control device for a vehicle according to an aspect of the present invention is a non-selected control function that is used for controlling a vehicle by selecting at least one of a plurality of control functions according to a vehicle type to be mounted, and is not used for the control. The electronic control device is stopped from being used, and includes an inspection means for inspecting the non-selected control function separately from the diagnostic function for diagnosing the selected control function during operation. The inspection by the inspection means is performed.

本発明によれば、非選択の制御機能を検査する検査手段を備えることで、ハードウェアを共通化した際に非使用となる制御機能の検査の容易化が図れる。また、自動車への搭載前に検査手段で非使用機能を検査することで、ユーザがリプログラミングなどにより仕様変更する場合に、未検査状態で使用したり、動作中の自己診断が行われていない機能を使用したりすることによる安全性と信頼性の低下を抑制できる。   According to the present invention, it is possible to facilitate the inspection of control functions that are not used when hardware is shared by providing inspection means for inspecting non-selected control functions. In addition, when a user changes specifications by reprogramming or the like by inspecting unused functions with an inspection means before mounting on a car, it is not used or is not self-diagnosed during operation. Decrease in safety and reliability due to use of functions can be suppressed.

本発明の実施形態に係る自動車用電子制御装置を複数の車種に適用する場合の概略的なシステム構成図である。1 is a schematic system configuration diagram in a case where an automotive electronic control device according to an embodiment of the present invention is applied to a plurality of vehicle types. 本発明の実施形態に係る自動車用電子制御装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the electronic controller for motor vehicles which concerns on embodiment of this invention. 検査装置を使ったハードウェアの検査について説明するためのブロック図である。It is a block diagram for demonstrating the test | inspection of the hardware using an inspection apparatus. 図1及び図2に示した自動車用電子制御装置におけるLIN通信機能の検査を示すフローチャートである。It is a flowchart which shows the test | inspection of the LIN communication function in the electronic controller for motor vehicles shown in FIG.1 and FIG.2. 図4に示したフローチャートにおけるLIN検査処理の具体例を示すフローチャートである。5 is a flowchart illustrating a specific example of a LIN inspection process in the flowchart illustrated in FIG. 4.

以下、本発明の実施形態について図面を参照して説明する。
図1は、本発明の実施形態に係る自動車用電子制御装置を複数の車種に適用する場合の概略的なシステム構成を示している。ECU(Electronic Control Unit)1は、外部通信用CAN(Controller Area Network)端子2−1,2−2と外部通信用LIN(Local Interconnect Network)端子3−1,3−2を備え、仕様別に多数の車種が設定される。そして、搭載される車種に応じて一部の制御機能が選択されて車両の制御に用いられ、非選択の制御機能の使用が停止される。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 shows a schematic system configuration in a case where an automotive electronic control device according to an embodiment of the present invention is applied to a plurality of vehicle types. The ECU (Electronic Control Unit) 1 includes CAN (Controller Area Network) terminals 2-1 and 2-2 for external communication and LIN (Local Interconnect Network) terminals 3-1 and 3-2 for external communication. Is set. Then, a part of the control functions is selected according to the vehicle type to be installed and used for controlling the vehicle, and the use of the non-selected control functions is stopped.

図1(a)は、ECU1がCAN通信とLIN通信を行う車種に適用される例を示している。このシステムは、自動車から排出される燃料蒸発ガスを制御するコントロールユニット(EVAPC/U)4とCAN通信を行い、グリルシャッター(G/S)5とLIN通信を行う構成になっている。   FIG. 1A illustrates an example in which the ECU 1 is applied to a vehicle type that performs CAN communication and LIN communication. This system is configured to perform CAN communication with a control unit (EVAPC / U) 4 that controls fuel evaporative gas discharged from an automobile and to perform LIN communication with a grill shutter (G / S) 5.

図1(b)は、ECU1がCAN端子2−1,2−2とLIN端子3−1,3−2を備えているが、CAN通信のみを行う車種(LIN通信非搭載車両)に適用される例を示している。このシステムは、ECU1が自動車から排出される燃料蒸発ガスを制御するコントロールユニット4とCAN通信を行う構成になっている。このシステム構成では、ECU1内のROM設定によりLIN通信が禁止され、LIN端子3−1,3−2は使用されないようになっている。   FIG. 1B is applied to a vehicle type (vehicle not equipped with LIN communication) in which the ECU 1 includes CAN terminals 2-1 and 2-2 and LIN terminals 3-1 and 3-2 but performs only CAN communication. An example is shown. This system is configured such that the ECU 1 performs CAN communication with the control unit 4 that controls the fuel evaporative gas discharged from the automobile. In this system configuration, the LIN communication is prohibited by the ROM setting in the ECU 1, and the LIN terminals 3-1 and 3-2 are not used.

図2は、図1(b)に示したECU1の構成例を示している。このECU1は、MCU(Micro Controller Unit)11、電源IC12、センサインターフェース(センサI/F)13、ドライバ14、CAN通信部15及びLIN通信部16等を備えている。そして、このECU1は、LIN通信設定(LIN送受信データを格納する処理)をROM設定に加えて、検査装置からハードチェックコマンドを入力して設定できるように構成されている。また、LIN通信部16に接続されているLIN端子3−1,3−2は、非選択の制御機能に割り当てられているので、ROM設定により入出力動作が禁止されている。   FIG. 2 shows a configuration example of the ECU 1 shown in FIG. The ECU 1 includes an MCU (Micro Controller Unit) 11, a power supply IC 12, a sensor interface (sensor I / F) 13, a driver 14, a CAN communication unit 15, a LIN communication unit 16, and the like. The ECU 1 is configured so that a LIN communication setting (a process for storing LIN transmission / reception data) can be set by inputting a hard check command from the inspection apparatus in addition to the ROM setting. Further, since the LIN terminals 3-1 and 3-2 connected to the LIN communication unit 16 are assigned to non-selected control functions, input / output operations are prohibited by ROM setting.

電源IC12には、バッテリ21からスイッチ、例えばイグニッションスイッチ22を介して直流電源が供給される。この電源IC12から、ECU1内の各装置に動作電源が供給される。センサインターフェース13には、各種センサ23、例えばエアフローセンサ、スロットルセンサ、カム角センサ、クランク角センサ、水温センサ、空燃比センサ、燃圧センサ、油温センサ及びノックセンサ等の検出信号が入力される。
また、図示しないが、燃料蒸発ガスを制御するコントロールユニット4とは、CANバス24−1,24−2からCAN端子2−1,2−2をそれぞれ介して、CAN通信部15によりCAN通信を行うようになっている。更に、ドライバ14から各種機器25、例えば点火装置、燃料噴射装置、ソレノイド及びリレー等を駆動するための駆動信号が出力される。
The power supply IC 12 is supplied with DC power from the battery 21 via a switch, for example, an ignition switch 22. The power supply IC 12 supplies operating power to each device in the ECU 1. Detection signals from various sensors 23 such as an air flow sensor, a throttle sensor, a cam angle sensor, a crank angle sensor, a water temperature sensor, an air-fuel ratio sensor, a fuel pressure sensor, an oil temperature sensor, and a knock sensor are input to the sensor interface 13.
Although not shown, the CAN communication unit 15 performs CAN communication with the control unit 4 that controls the fuel evaporative gas from the CAN buses 24-1 and 24-2 via the CAN terminals 2-1 and 2-2, respectively. To do. Further, the driver 14 outputs drive signals for driving various devices 25 such as an ignition device, a fuel injection device, a solenoid, and a relay.

MCU11は、CPU31、RAM32、ROM33及びEEPROM34等を備え、これらがバス35により交互に接続されている。CPU31は、ROM33から読み出したプログラムに従って各種の処理や演算を行う。このROM33には、車種に応じて少なくとも一部の制御機能を選択し、非選択の制御機能の使用を停止する情報が予め記憶されている。このROM33に設定された設定値(ROM定数)に基づいて、車種に固有の通信機能の使用/不使用が設定される。RAM32は、ROM33から読み出した制御プログラムや制御データ等の読み出しや、制御プログラムを動作させるためのワークメモリとして使用される。   The MCU 11 includes a CPU 31, a RAM 32, a ROM 33, an EEPROM 34, and the like, which are alternately connected by a bus 35. The CPU 31 performs various processes and calculations according to the program read from the ROM 33. In the ROM 33, information for selecting at least a part of the control functions according to the vehicle type and stopping the use of the non-selected control functions is stored in advance. Based on the set value (ROM constant) set in the ROM 33, use / non-use of the communication function specific to the vehicle type is set. The RAM 32 is used as a work memory for reading a control program and control data read from the ROM 33 and operating the control program.

MCU11のバス35には、各種センサ23の検出信号がセンサインターフェース13を介して入力される。また、ECU1の外部へ送信するCAN通信データ、及び外部から受信したCAN通信データはそれぞれ、CAN通信部15とバス35を介して送受信される。LIN通信部16もCAN通信部15と同様に、バス35に接続されている。更に、MCU11で生成された駆動信号が、バス35を介してドライバ14に供給され、このドライバ14で各種機器25を駆動制御するようになっている。   Detection signals from various sensors 23 are input to the bus 11 of the MCU 11 via the sensor interface 13. The CAN communication data transmitted to the outside of the ECU 1 and the CAN communication data received from the outside are transmitted / received via the CAN communication unit 15 and the bus 35, respectively. Similarly to the CAN communication unit 15, the LIN communication unit 16 is also connected to the bus 35. Further, the drive signal generated by the MCU 11 is supplied to the driver 14 via the bus 35, and the various devices 25 are driven and controlled by the driver 14.

EEPROM34には、複数の制御機能を実現するプログラムP1,P2,P3,…、自己診断を行うプログラムS1、検査機能を実現するプログラムS2、及びデータQ1等が格納されている。これらのプログラムは、車両が備える機器を制御する処理を実行するものである。例えば、プログラムP1は、燃料蒸発ガスを制御するコントロールユニットを制御する制御機能部として働き、プログラムP2は、グリルシャッター5を制御する制御機能部として働く。プログラムP2は、ROM33に設定された設定値(ROM定数)に基づいて、LIN通信部16とともに不使用に設定される。   The EEPROM 34 stores programs P1, P2, P3,... For realizing a plurality of control functions, a program S1 for performing a self-diagnosis, a program S2 for realizing an inspection function, data Q1, and the like. These programs execute processing for controlling devices included in the vehicle. For example, the program P1 functions as a control function unit that controls a control unit that controls the fuel evaporative gas, and the program P2 functions as a control function unit that controls the grill shutter 5. The program P2 is set not to be used together with the LIN communication unit 16 based on the set value (ROM constant) set in the ROM 33.

また、プログラムS1は、複数の制御機能の中から選択された動作中の制御機能を診断する自己診断機能部として働く。プログラムS2は、非選択の制御機能を検査する検査手段として働くものである。更に、データQ1は、制御ソフトウェアを実行することによって更新されるデータのうち、ECU1に対する電源供給が停止されても継続して保存すべきデータであり、例えば学習値や故障診断結果等がこれに該当する。   The program S1 functions as a self-diagnosis function unit that diagnoses an operating control function selected from a plurality of control functions. The program S2 serves as an inspection unit for inspecting a non-selected control function. Further, the data Q1 is data to be stored continuously even when the power supply to the ECU 1 is stopped among the data updated by executing the control software. For example, the learning value and the failure diagnosis result are included in this data Q1. Applicable.

プログラムS1による制御機能の自己診断と、プログラムS2による制御機能の検査は、ECU1を自動車へ搭載する前に実行される。プログラムS2による制御機能の検査は、外部からの要求が入力されることにより作動する。例えば、図3に示すように、ECU1に検査装置100を接続し、検査装置100からハードチェックコマンドを入力する。ECU1は、ハードチェックコマンドを受信すると、ハードチェックモードへ移行し、LIN端子3−1,3−2による入出力を許可する。ハードチェックモードでは、ECU1から検査装置100へ内部の制御パラメータ、例えばエンジン回転数のデータを送信する。検査装置100は、エンジン回転数のデータを受信すると、このデータをECU1に送信する。そして、ECU1により検査装置100から送信されたエンジン回転数のデータを受信する。このように、ECU1をマスター側、検査装置100をスレーブ側にして、ECU1と検査装置100間でデータの送受信を行って、送信したデータと受信したデータを比較することで、LIN通信ラインのハードチェックを行うことができる。   The self-diagnosis of the control function by the program S1 and the inspection of the control function by the program S2 are executed before the ECU 1 is mounted on the automobile. The inspection of the control function by the program S2 operates when an external request is input. For example, as shown in FIG. 3, the inspection apparatus 100 is connected to the ECU 1 and a hard check command is input from the inspection apparatus 100. When the ECU 1 receives the hard check command, the ECU 1 shifts to the hard check mode and permits input / output through the LIN terminals 3-1 and 3-2. In the hard check mode, internal control parameters such as engine speed data are transmitted from the ECU 1 to the inspection apparatus 100. When the inspection apparatus 100 receives the engine speed data, it transmits this data to the ECU 1. Then, the engine speed data transmitted from the inspection apparatus 100 is received by the ECU 1. In this way, by setting the ECU 1 as the master side and the inspection device 100 as the slave side, data is transmitted and received between the ECU 1 and the inspection device 100, and the transmitted data is compared with the received data. A check can be made.

これに対し、プログラムS2は、ROM定数の設定値に拘わらず内部の制御パラメータ(例えばエンジン回転数)を用いてLIN端子3−1,3−2の端子機能を検査できるように構成されている。そして、検査が終了した非選択の制御機能(例えばプログラムP2)は、フラグを立てるなどして使用停止状態に設定される。また、ハードチェックコマンド終了時、またはキャンセル時はLIN送受信設定を禁止し、他制御に影響を与えないようにする。   On the other hand, the program S2 is configured such that the terminal functions of the LIN terminals 3-1 and 3-2 can be inspected using internal control parameters (for example, engine speed) regardless of the set value of the ROM constant. . Then, the non-selected control function (for example, program P2) for which the inspection has been completed is set to a use halt state by setting a flag or the like. In addition, when the hard check command is completed or canceled, the LIN transmission / reception setting is prohibited so as not to affect other controls.

次に、上述した自動車用電子制御装置において、LIN通信機能を検査する場合について、図4及び図5のフローチャートにより説明する。図4に示すように、まず、ECU1からLIN通信に関するROM定数の設定値を読み出し(ステップS1)、LIN通信のROM設定の有無を判定する(ステップS2)。そして、LIN通信有りと判定されると、図1(a)に示したようなCAN通信とLIN通信の両方を行う車種であるので、プログラム(自己診断機能)S1でプログラム(制御機能)P2に対してLIN通信の検査処理を実行する(ステップS3)。検査処理は、ECU1の端子単位、またはそれに相当する内容で行う。制御機能に沿った検査(診断)と、検査機能による結果が異なった場合には、異常と判定する、または予め設定した特定の処理を実行する。
次に、正常か否か判定し(ステップS4)、正常と判定されれば終了し、不良と判定されれば不良品として破棄等の処理を行う(ステップS5)。
Next, the case of inspecting the LIN communication function in the above-described automotive electronic control device will be described with reference to the flowcharts of FIGS. As shown in FIG. 4, first, a ROM constant setting value relating to LIN communication is read from the ECU 1 (step S1), and the presence / absence of ROM setting for LIN communication is determined (step S2). If it is determined that there is LIN communication, the vehicle type performs both CAN communication and LIN communication as shown in FIG. 1 (a), and therefore the program (self-diagnosis function) S1 changes the program (control function) P2 to Then, the LIN communication inspection process is executed (step S3). The inspection process is performed in units of terminals of the ECU 1 or contents corresponding thereto. When the inspection (diagnosis) according to the control function and the result of the inspection function are different, it is determined that there is an abnormality, or a specific process set in advance is executed.
Next, it is determined whether or not it is normal (step S4). If it is determined to be normal, the process ends. If it is determined to be defective, processing such as discarding as a defective product is performed (step S5).

一方、ステップS2でLIN通信のROM設定が無いと判定されると、図1(b)に示したCAN通信のみを行う車種であるので、LINコマンドの有無を判定する(ステップS6)。そして、LINコマンド有りと判定されると、LIN検査処理を実行し(ステップS7)、LINコマンド無しと判定されると、禁止処理を実行する(ステップS8)。   On the other hand, if it is determined in step S2 that there is no ROM setting for LIN communication, the presence / absence of a LIN command is determined because the vehicle model performs only CAN communication shown in FIG. 1B (step S6). If it is determined that there is a LIN command, a LIN inspection process is executed (step S7). If it is determined that there is no LIN command, a prohibition process is executed (step S8).

図5は、図4に示したフローチャートにおけるLIN検査処理(ステップS7)の具体例を示している。LIN検査処理では、まず、ECU1に検査装置100を接続し、検査装置100からハードチェックコマンドを入力する(ステップS11)。ECU1は、ハードチェックコマンドを受信すると、ハードチェックモードへ移行し、LIN端子3−1,3−2による入出力を許可する。そして、ハードチェックを実行する(ステップS12)。ハードチェックでは、制御パラメータ(エンジン回転数)をLIN通信送信用IDのバッファとRAMに格納する(ステップS13)。次に、LIN通信受信用IDのバッファとRAMに格納する(ステップS14)。続いて、両データを比較することで、LIN通信の送受信検査を行う。処理の終了時、またはキャンセル時にはLIN送受信設定を禁止し、他制御に影響を与えないようにする(ステップS15)。
このように、車両のROM設定に拘わらず共通のECU1の端子検査が行え、制御パラメータ(エンジン回転数)を用いて通信検査ができる。
FIG. 5 shows a specific example of the LIN inspection process (step S7) in the flowchart shown in FIG. In the LIN inspection process, first, the inspection device 100 is connected to the ECU 1, and a hard check command is input from the inspection device 100 (step S11). When the ECU 1 receives the hard check command, the ECU 1 shifts to the hard check mode and permits input / output through the LIN terminals 3-1 and 3-2. Then, a hard check is executed (step S12). In the hard check, the control parameter (engine speed) is stored in the LIN communication transmission ID buffer and RAM (step S13). Next, the LIN communication reception ID buffer and RAM are stored (step S14). Subsequently, the transmission / reception inspection of the LIN communication is performed by comparing both data. When the process ends or is canceled, the LIN transmission / reception setting is prohibited so as not to affect other controls (step S15).
In this manner, a common terminal inspection of the ECU 1 can be performed regardless of the ROM setting of the vehicle, and a communication inspection can be performed using the control parameter (engine speed).

なお、LIN通信のみの異常であれば、CAN通信のみを行う車種では使用可能であるので、正常か否かの判定結果を保存すべきデータQ1としてEEPROM34に格納するようにしても良い。この場合には、非使用部位の異常は、使用部位の異常とは別個の管理とする必要がある。すなわち、リプログラミング等の際に、このデータQ1を読み出してLIN通信機能の良否を判断するように、ユーザに予め知らせておく。そして、LIN通信機能に異常がある場合には、リプログラミングによるLIN通信機能の使用は禁止する。   If the abnormality is only in LIN communication, it can be used in a vehicle type that performs only CAN communication. Therefore, the determination result as to whether or not the communication is normal may be stored in the EEPROM 34 as data Q1 to be stored. In this case, it is necessary to manage the abnormality of the non-use part separately from the abnormality of the use part. That is, in the case of reprogramming or the like, the user is notified in advance so that the data Q1 is read and the quality of the LIN communication function is judged. If there is an abnormality in the LIN communication function, use of the LIN communication function by reprogramming is prohibited.

上述したように、自動車用電子制御装置が、LIN通信設定をROM設定だけでなく、検査装置側からハードチェックコマンドを入力して設定できるように構成し、且つ非選択の制御機能を検査する検査プログラムを有することで、ハードウェアを共通化した際に非使用となる制御機能の検査の容易化が図れる。また、自動車への搭載前に検査プログラムで非使用機能を検査することで、ユーザがリプログラミング等で仕様変更する場合に、未検査状態で使用したり、動作中の自己診断が行われていない機能を使用したりすることによる安全性と信頼性の低下を抑制できる。   As described above, the automotive electronic control unit is configured not only to set the LIN communication setting but also to set the hard check command from the inspection device side, and to inspect the non-selected control function By having the program, it is possible to facilitate the inspection of control functions that are not used when hardware is shared. In addition, by checking non-used functions with an inspection program before mounting on a car, when the user changes specifications by reprogramming, etc., it is not used or is not self-diagnosed during operation. Decrease in safety and reliability due to use of functions can be suppressed.

なお、本発明は、上述した実施形態に限定されるものではなく、要旨を逸脱しない範囲で種々変形して実現可能である。例えば、自動車用電子制御装置がCAN端子とLIN端子とを備え、LIN端子を非使用とする場合を例に取って説明したが、非使用の端子が存在する場合に、同様にして検査することができる。   The present invention is not limited to the above-described embodiment, and can be variously modified and implemented without departing from the scope of the invention. For example, the case where the electronic control device for a car is provided with a CAN terminal and a LIN terminal and the LIN terminal is not used has been described as an example. However, when there is an unused terminal, the inspection is performed in the same manner. Can do.

また、説明を簡単にするために、CAN通信とLIN通信を行うシステム構成、及びCAN通信のみを行うシステム構成を例に取って説明したが、搭載される車種に応じて、複数の制御機能から少なくとも1つが選択されて自動車の制御に用いられ、制御に用いられない非選択の制御機能の使用が停止される汎用の構成に適用される。すなわち、ソフトウェア上の細かな仕様別に多数の車種が設定され、制御データやプログラムが違う場合にも同一のハードウェアが適用される。   In order to simplify the description, the system configuration for performing CAN communication and LIN communication and the system configuration for performing only CAN communication have been described as examples. However, depending on the type of vehicle installed, a plurality of control functions can be used. This is applied to a general-purpose configuration in which at least one is selected and used for controlling the automobile, and the use of non-selected control functions not used for control is stopped. In other words, a large number of vehicle types are set according to detailed specifications on software, and the same hardware is applied even when control data and programs are different.

更に、検査手段がプログラム(ソフトウェア)の場合を例に取って説明したが、検査装置や検査回路等のハードウェアでも同様に実現できるのは勿論である。   Further, the case where the inspection means is a program (software) has been described as an example, but it is needless to say that the same can be realized by hardware such as an inspection apparatus or an inspection circuit.

1…ECU(自動車用電子制御装置)、2−1,2−2…CAN端子、3−1,3−2…LIN端子、11…MCU、15…CAN通信部、16…LIN通信部、31…CPU、32…RAM、33…ROM、34…EEPROM、P1,P2,P3…プログラム(制御機能)、S1…プログラム(診断機能)、S2…プログラム(検査手段)、Q1…データ、100…検査装置   DESCRIPTION OF SYMBOLS 1 ... ECU (electronic controller for motor vehicles), 2-1, 2-2 ... CAN terminal, 3-1, 3-2 ... LIN terminal, 11 ... MCU, 15 ... CAN communication part, 16 ... LIN communication part, 31 ... CPU, 32 ... RAM, 33 ... ROM, 34 ... EEPROM, P1, P2, P3 ... Program (control function), S1 ... Program (diagnostic function), S2 ... Program (inspection means), Q1 ... Data, 100 ... Inspection apparatus

Claims (6)

搭載される車種に応じて、複数の制御機能から少なくとも1つが選択されて自動車の制御に用いられ、制御に用いられない非選択の制御機能の使用が停止される電子制御装置であって、
前記選択された動作中の制御機能を診断する診断機能とは別に、前記非選択の制御機能を検査する検査手段を備え、自動車への搭載前に前記検査手段による検査を行う、ことを特徴とする自動車用電子制御装置。
An electronic control device in which at least one of a plurality of control functions is selected according to a vehicle type to be mounted and used for vehicle control, and the use of unselected control functions not used for control is stopped,
In addition to the diagnostic function for diagnosing the selected control function during operation, the inspection means for inspecting the non-selected control function is provided, and the inspection by the inspection means is performed before mounting on a vehicle. Electronic control device for automobile.
前記検査手段は、外部からの要求で動作可能である、ことを特徴とする請求項1に記載の自動車用電子制御装置。   2. The automobile electronic control device according to claim 1, wherein the inspection unit is operable by an external request. 前記複数の制御機能の使用と非使用の選択をROM定数によって設定し、
前記検査手段は、ROM定数の設定値に拘わらず内部の制御パラメータを用いて各端子機能を検査する、ことを特徴とする請求項1又は2に記載の自動車用電子制御装置。
The selection of use or non-use of the plurality of control functions is set by a ROM constant,
3. The automobile electronic control device according to claim 1, wherein the inspection unit inspects each terminal function using an internal control parameter regardless of a set value of the ROM constant.
検査が終了した非選択の制御機能は、使用停止状態に設定される、ことを特徴とする請求項1乃至3いずれか1項に記載の自動車用電子制御装置。   The electronic control device for an automobile according to any one of claims 1 to 3, wherein the non-selected control function for which inspection has been completed is set to a use stop state. 外部の検査装置から前記検査手段にハードチェックコマンドを入力して通信設定を行い、前記非選択の制御機能の検査を行った後、検査が終了した非選択の制御機能に割り当てられた端子が入出力禁止に設定される、ことを特徴とする請求項1乃至4いずれか1項に記載の自動車用電子制御装置。   A hard check command is input from an external inspection device to the inspection means to perform communication settings, and after inspection of the non-selected control function, a terminal assigned to the non-selected control function after inspection has been input. 5. The vehicle electronic control device according to claim 1, wherein output prohibition is set. 前記選択された制御機能は、CAN端子を介して送受信が行われ、前記非選択の制御機能はLIN端子を介して送受信が行われ、前記ハードチェックコマンド終了時、またはキャンセル時はLIN通信を禁止する、ことを特徴とする請求項5に記載の自動車用電子制御装置。   The selected control function is transmitted / received via the CAN terminal, the non-selected control function is transmitted / received via the LIN terminal, and LIN communication is prohibited when the hard check command is completed or canceled. The automobile electronic control device according to claim 5, wherein
JP2017125840A 2017-06-28 2017-06-28 Electronic control unit for automobile Active JP6746539B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017125840A JP6746539B2 (en) 2017-06-28 2017-06-28 Electronic control unit for automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017125840A JP6746539B2 (en) 2017-06-28 2017-06-28 Electronic control unit for automobile

Publications (2)

Publication Number Publication Date
JP2019006324A true JP2019006324A (en) 2019-01-17
JP6746539B2 JP6746539B2 (en) 2020-08-26

Family

ID=65026468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017125840A Active JP6746539B2 (en) 2017-06-28 2017-06-28 Electronic control unit for automobile

Country Status (1)

Country Link
JP (1) JP6746539B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63122896U (en) * 1987-02-02 1988-08-10
JP2004322889A (en) * 2003-04-25 2004-11-18 Fuji Heavy Ind Ltd Method for setting specification of on-vehicle electronic control unit
JP2007334858A (en) * 2006-05-15 2007-12-27 Denso Corp Inspection apparatus, test system, and program
JP2011059023A (en) * 2009-09-11 2011-03-24 Keihin Corp Function test method of electronic control device for vehicle
JP2012177562A (en) * 2011-02-25 2012-09-13 Calsonic Kansei Corp Connection inspection method of on-vehicle lan system
JP2013121730A (en) * 2011-12-09 2013-06-20 Bosch Corp Special mode execution method of vehicular electronic control unit and vehicular electronic control unit
JP2016151471A (en) * 2015-02-17 2016-08-22 本田技研工業株式会社 Vehicle inspection device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63122896U (en) * 1987-02-02 1988-08-10
JP2004322889A (en) * 2003-04-25 2004-11-18 Fuji Heavy Ind Ltd Method for setting specification of on-vehicle electronic control unit
JP2007334858A (en) * 2006-05-15 2007-12-27 Denso Corp Inspection apparatus, test system, and program
JP2011059023A (en) * 2009-09-11 2011-03-24 Keihin Corp Function test method of electronic control device for vehicle
JP2012177562A (en) * 2011-02-25 2012-09-13 Calsonic Kansei Corp Connection inspection method of on-vehicle lan system
JP2013121730A (en) * 2011-12-09 2013-06-20 Bosch Corp Special mode execution method of vehicular electronic control unit and vehicular electronic control unit
JP2016151471A (en) * 2015-02-17 2016-08-22 本田技研工業株式会社 Vehicle inspection device

Also Published As

Publication number Publication date
JP6746539B2 (en) 2020-08-26

Similar Documents

Publication Publication Date Title
US11348495B2 (en) Image display system for vehicle
CN102043680B (en) Method and system for refreshing ECU (Electronic Control Unit) embedded software and downloading program
US7734389B2 (en) Fault information management system and a method for implementing a fault information management system for a vehicle
US20050134284A1 (en) Control system health test system and method
US10101400B2 (en) Control method and system of breakdown diagnosis
JP2009293951A (en) Apparatus and method for diagnosing fault for vehicle
US20130158779A1 (en) Method for operating a fault diagnosis system of a vehicle and vehicle
JP2008199253A (en) Abnormality diagnosis system and diagnostic information management device
US20220108569A1 (en) Automated detection of vehicle data manipulation and mechanical failure
JP2009213092A (en) Abnormity location identifying apparatus, its control program, and abnormity location identifying system
JP6435880B2 (en) Electronic control unit
WO2011034052A1 (en) Vehicle electronic control device
JP6746539B2 (en) Electronic control unit for automobile
JP2001147714A (en) Fault diagnostic apparatus for on-vehicle electronic controller
JP4559468B2 (en) Sequence control of functions of interactive equipment
KR20100115965A (en) Control system for fault diagnosis in vehicle
JP2015171853A (en) Vehicle electronic control unit
JP7172748B2 (en) Electronic controller and inspection system
JP7211036B2 (en) Vehicle electronic controller and diagnostic system
JP4556666B2 (en) Inspection apparatus and inspection method for in-vehicle failure diagnosis system
JP7099293B2 (en) Electronic control device
KR20070070598A (en) Configuration and process method of dynamic vehicle tester
JPS62161038A (en) Electronic controller for vehicle
JP2006264540A (en) Failure sensing device, failure information output device, failure information output method, vehicle control device, and a vehicle control method
JP2005315235A (en) Inspection device for on-vehicle failure diagnosis system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190906

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200630

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200805

R150 Certificate of patent or registration of utility model

Ref document number: 6746539

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250