JP2012177562A - Connection inspection method of on-vehicle lan system - Google Patents

Connection inspection method of on-vehicle lan system Download PDF

Info

Publication number
JP2012177562A
JP2012177562A JP2011039517A JP2011039517A JP2012177562A JP 2012177562 A JP2012177562 A JP 2012177562A JP 2011039517 A JP2011039517 A JP 2011039517A JP 2011039517 A JP2011039517 A JP 2011039517A JP 2012177562 A JP2012177562 A JP 2012177562A
Authority
JP
Japan
Prior art keywords
electronic control
control unit
network environment
flag
vehicle
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.)
Withdrawn
Application number
JP2011039517A
Other languages
Japanese (ja)
Inventor
Toshiyuki Akimoto
俊之 秋元
Toshiyuki Sekine
利幸 関根
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.)
Marelli Corp
Original Assignee
Calsonic Kansei Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Calsonic Kansei Corp filed Critical Calsonic Kansei Corp
Priority to JP2011039517A priority Critical patent/JP2012177562A/en
Publication of JP2012177562A publication Critical patent/JP2012177562A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve a problem that connection information of an electronic control unit connected to a network environment, which is stored in a non-volatile memory (EEPROM), cannot be erased.SOLUTION: An electronic control apparatus reads connection information of an electronic control unit connected to a network environment. Predetermined information is stored in a first memory unit (RAM) and a second memory unit (EEPROM) of the electronic control apparatus. When the predetermined information is stored in the first memory unit, the connection information is not read and a content in the second memory unit is retained.

Description

本発明は、車載ネットワーク環境に接続された電子制御ユニットから得た情報に基づいて、電子制御機器が所定の機能を実現する車載LANシステムの接続検査方法に関するものである。   The present invention relates to a connection inspection method for an in-vehicle LAN system in which an electronic control device realizes a predetermined function based on information obtained from an electronic control unit connected to an in-vehicle network environment.

車載ネットワーク環境に接続された電子制御ユニットから得た情報に基づいて、電子制御機器が所定の機能を発揮する車載LANシステムにあっては、システムの異常の有無を、製造のなるべく初期の段階で発見して解決する必要があるため、所定の電子制御ユニットが確実に接続されていることについて、電子制御機器の出荷時や車両の出荷時に検査する必要がある。また、車両出荷後においても、事故や故障等で電子制御ユニットを交換したとき、あるいはバッテリーを交換したときに、所定の電子制御ユニットが確実に接続されているか否かを検査できるようにする必要がある。   In an in-vehicle LAN system in which an electronic control device performs a predetermined function based on information obtained from an electronic control unit connected to an in-vehicle network environment, whether there is an abnormality in the system is as early as possible in manufacturing. Since it is necessary to find and solve the problem, it is necessary to check that the predetermined electronic control unit is securely connected at the time of shipment of the electronic control device or the vehicle. In addition, it is necessary to be able to inspect whether or not a predetermined electronic control unit is securely connected after the vehicle is shipped when the electronic control unit is replaced due to an accident or failure or when the battery is replaced. There is.

この接続検査は、例えば、車両固有の車両識別情報を不揮発性メモリ(以下、EEPROM(Electrically Erasable Programmable Read Only Memory)と称する)に記憶する技術(特許文献1)を用いて、電子制御機器に内蔵されたEEPROMに、予め、車載ネットワーク環境に接続されるべき電子制御ユニットに付与された固有のID(以下、ユニットIDと呼ぶ)を記憶しておき、記憶されたユニットIDと、実際に車載LANに接続された電子制御ユニットのユニットIDとを比較することによって行うことができる。   This connection inspection is, for example, incorporated in an electronic control device using a technique (Patent Document 1) that stores vehicle-specific vehicle-specific information in a nonvolatile memory (hereinafter referred to as EEPROM (Electrically Erasable Programmable Read Only Memory)). A unique ID (hereinafter referred to as a unit ID) assigned to the electronic control unit to be connected to the in-vehicle network environment is stored in advance in the EEPROM, and the stored unit ID and the in-vehicle LAN are actually stored. This can be done by comparing the unit ID of the electronic control unit connected to.

特許第3758356号Japanese Patent No. 3758356

ところが、車載ネットワーク環境に接続される電子制御ユニットの種類や数は、車両の種類や車両の仕様によって異なっており、なおかつ、電子制御ユニットの種類も多大であるため、前述した接続検査を、少しでも効率的に行うことができる方法が望まれていた。   However, the types and number of electronic control units connected to the in-vehicle network environment vary depending on the type of vehicle and vehicle specifications, and the number of types of electronic control units is also large. However, a method that can be performed efficiently has been desired.

しかし、そのような要望に沿った検査方法の提案はなされていないのが現状である。   However, the present condition is that the proposal of the inspection method along such a request is not made | formed.

車載LANシステムの接続検査は、電子制御機器が完成した段階(以後第1ステップと呼ぶ)、電子制御機器を車両に搭載した段階(以後第2ステップと呼ぶ)、そして、車両出荷後(以後第3ステップと呼ぶ)の3段階で行われることが望ましい。   The in-vehicle LAN system connection inspection includes a stage where the electronic control device is completed (hereinafter referred to as a first step), a stage where the electronic control device is mounted on the vehicle (hereinafter referred to as a second step), and after the vehicle is shipped (hereinafter referred to as the first step). It is desirable to be performed in three stages (referred to as three steps).

第1ステップの検査では、電子制御機器に接続される電子制御ユニットのユニットIDを、予め、電子制御機器の中のEEPROMに記憶しておき、電子制御機器が、各電子制御ユニットから出力されたユニットIDを受信して、受信したユニットIDを、EEPROMに記憶しておいたユニットIDと比較し、所定の電子制御ユニットが車載ネットワーク環境に接続されていることがチェックされる。そして、検査で問題がなかったときには、EEPROMに記憶されていたユニットIDをクリアする。   In the inspection of the first step, the unit ID of the electronic control unit connected to the electronic control device is stored in advance in the EEPROM in the electronic control device, and the electronic control device is output from each electronic control unit. The unit ID is received, the received unit ID is compared with the unit ID stored in the EEPROM, and it is checked that the predetermined electronic control unit is connected to the in-vehicle network environment. When there is no problem in the inspection, the unit ID stored in the EEPROM is cleared.

次に、第2ステップの検査で、実際に車載される電子制御ユニットを接続して、電子制御機器が車載ネットワーク環境に接続されたユニットIDを取得し、取得したユニットIDがEEPROMに記憶されて、車両が出荷される。   Next, in the second step inspection, the electronic control unit actually mounted on the vehicle is connected, the electronic control device acquires the unit ID connected to the vehicle-mounted network environment, and the acquired unit ID is stored in the EEPROM. The vehicle is shipped.

ここで、第2ステップの検査を行うには、電子制御機器が、電子制御ユニットから車載ネットワーク環境に送出された信号を受信する度に、受信した信号に含まれるユニットIDを、EEPROMに記憶できる構成にしておく必要がある。   Here, in order to perform the inspection in the second step, whenever the electronic control device receives a signal sent from the electronic control unit to the in-vehicle network environment, the unit ID included in the received signal can be stored in the EEPROM. Must be configured.

しかしながら、その構成によると、第1ステップの検査を行った後で、EEPROMに記憶されたユニットIDをクリアする前に、電子制御ユニットからのユニットIDの送出を停止する必要がある。さもないと、EEPROMに記憶されたユニットIDがクリアされた後で、車載ネットワーク環境を流れるユニットIDが再度EEPROMに記憶されてしまうためである。   However, according to the configuration, it is necessary to stop sending the unit ID from the electronic control unit after the inspection in the first step and before clearing the unit ID stored in the EEPROM. Otherwise, after the unit ID stored in the EEPROM is cleared, the unit ID flowing through the in-vehicle network environment is stored in the EEPROM again.

一方、第1ステップの検査が終了する度にユニットIDの送出を停止して、その後でEEPROMに記憶されたユニットIDをクリアするのは非常に手間がかかるため、検査を効率的に行う観点から望ましいことではない。   On the other hand, it is very troublesome to stop sending the unit ID every time the inspection of the first step is completed and then clear the unit ID stored in the EEPROM. This is not desirable.

本発明は上記事情に鑑みなされたもので、車載ネットワーク環境に接続された、電子制御機器と電子制御ユニットとの接続検査を効率的に行うことができる検査方法を提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object thereof is to provide an inspection method capable of efficiently performing a connection inspection between an electronic control device and an electronic control unit connected to an in-vehicle network environment.

本発明に係る車載LANシステムの接続検査方法は、車載LANシステムにおける電子制御機器と電子制御ユニットとの接続検査を効率的に行うものである。   The in-vehicle LAN system connection inspection method according to the present invention efficiently performs the connection inspection between the electronic control device and the electronic control unit in the in-vehicle LAN system.

すなわち、本発明の請求項1に記載の車載LANシステムの接続検査方法は、車内に配設された車載LAN、もしくは、車載LANを模した検査用LANで構成されるネットワーク環境と、ネットワーク環境に接続され、電源が供給されている間は記憶内容が保持され、電源が供給されていないときには記憶内容が消去される第1の記憶部と、電源の供給状態に拘わらず、記憶内容が保持される第2の記憶部とを有し、ネットワーク環境を流れる情報に基づいて所定の機能を発揮する電子制御機器と、ネットワーク環境に接続され、電子制御機器を作動させるために必要な情報を出力する少なくとも1つの電子制御ユニットと、ネットワーク環境と電子制御機器と電子制御ユニットとに電源を供給する電源供給部と、を備えた車載LANシステムにおいて、電子制御機器と電子制御ユニットとの接続状態を検査する接続検査方法であって、第1の記憶部の第1のフラグが立っていないときに、電子制御機器が、ネットワーク環境に接続された電子制御ユニットの種類を検出する工程と、電子制御機器が、ネットワーク環境に接続された電子制御ユニットの種類を検出したときに、第1の記憶部に所定の第1のフラグを立てるとともに、第2の記憶部に、ネットワーク環境に接続された電子制御ユニットの種類に対応する第2のフラグを立てる工程と、電子制御機器が検出した、ネットワーク環境に接続された電子制御ユニットの種類と、第2のフラグの状態とが等しいときに、電子制御機器が、電子制御ユニットのネットワーク環境への接続状態は正常であると判断する工程と、第1のフラグが立っているときには、ネットワーク環境に接続された電子制御ユニットの種類の検出を行わない工程と、第2のフラグを消去する工程と、電源供給部からの電源の供給を停止させ、第1のフラグを消去させる工程とを含むことを特徴とする。   That is, a connection inspection method for an in-vehicle LAN system according to claim 1 of the present invention is applied to a network environment configured by an in-vehicle LAN installed in a vehicle or an inspection LAN imitating an in-vehicle LAN, and a network environment. The stored contents are retained while connected and powered, and the stored contents are retained regardless of the power supply state, and a first storage unit that erases the stored contents when power is not supplied A second storage unit, and an electronic control device that performs a predetermined function based on information flowing in the network environment, and is connected to the network environment and outputs information necessary for operating the electronic control device An in-vehicle LAN system comprising at least one electronic control unit and a power supply unit that supplies power to the network environment, the electronic control device, and the electronic control unit In this connection method, the electronic control device is connected to the network environment when the first flag of the first storage unit is not raised. Detecting the type of the electronic control unit, and when the electronic control device detects the type of the electronic control unit connected to the network environment, sets a predetermined first flag in the first storage unit A step of setting a second flag corresponding to a type of the electronic control unit connected to the network environment in the second storage unit; a type of the electronic control unit connected to the network environment detected by the electronic control device; The electronic control device determines that the connection state of the electronic control unit to the network environment is normal when the state of the second flag is equal; When the flag is set, the step of not detecting the type of the electronic control unit connected to the network environment, the step of erasing the second flag, the supply of power from the power supply unit are stopped, And a step of erasing one flag.

このように構成された車載LANシステムの接続検査方法によれば、電子制御機器の第1の記憶部に第1のフラグが立っていないときにネットワーク環境に接続された電子制御ユニットの種類が検出されたときには、検出された電子制御ユニットの種類に対応する第2のフラグが、電子制御機器の第2の記憶部に記憶されるとともに、第1の記憶部に所定の第1のフラグが立てられる。そして、電子制御機器が検出したネットワーク環境に接続された電子制御ユニットの種類と、第2のフラグの状態とが等しいときに、電子制御ユニットのネットワーク環境への接続状態は正常であると判断される。さらに、所定の第1のフラグが立っているときには、電子制御機器が、ネットワーク環境に接続された電子制御ユニットの種類の検出を行わないため、ネットワーク環境に電子制御ユニットが接続されて、その電子制御ユニットの種類を表す情報がネットワーク環境に流れている場合であっても、第2のフラグがクリアされた状態を保持することができ、これによって、第1ステップの検査から第2ステップの検査に確実に移行することができるため、車載LANシステムにおける電子制御ユニットの接続検査を効率的に行うことができる。   According to the connection inspection method for the in-vehicle LAN system configured as described above, the type of the electronic control unit connected to the network environment is detected when the first flag is not set in the first storage unit of the electronic control device. The second flag corresponding to the detected type of the electronic control unit is stored in the second storage unit of the electronic control device, and the predetermined first flag is set in the first storage unit. It is done. Then, when the type of the electronic control unit connected to the network environment detected by the electronic control device is equal to the state of the second flag, it is determined that the connection state of the electronic control unit to the network environment is normal. The Further, when the predetermined first flag is set, the electronic control device does not detect the type of the electronic control unit connected to the network environment, so the electronic control unit is connected to the network environment and the electronic control unit is connected to the electronic control unit. Even when information indicating the type of the control unit is flowing in the network environment, the state in which the second flag is cleared can be maintained, and thereby the inspection from the first step to the second step can be maintained. Therefore, the connection inspection of the electronic control unit in the in-vehicle LAN system can be efficiently performed.

また、本発明の請求項2に記載の車載LANシステムの接続検査方法は、電子制御ユニットの代わりに、電子制御機器に接続される可能性のある全ての電子制御ユニットが接続されていることと等価な状態であることを表す情報をネットワーク環境に出力する擬似信号発生手段を接続する工程を含むことを特徴とする。   Further, in the in-vehicle LAN system connection inspection method according to claim 2 of the present invention, all electronic control units that may be connected to the electronic control device are connected instead of the electronic control unit. The method includes a step of connecting a pseudo signal generating means for outputting information representing an equivalent state to a network environment.

このように構成された車載LANシステムの接続検査方法によれば、ネットワーク環境に擬似信号発生手段が接続されるため、接続される可能性のある全ての電子制御ユニットが接続されているという最も複雑な状況を容易に作り出すことができるため、これによって、車載LANシステムにおける電子制御ユニットの接続検査を効率的に行うことができる。   According to the connection inspection method for the in-vehicle LAN system configured as described above, since the pseudo signal generating means is connected to the network environment, it is the most complicated that all electronic control units that may be connected are connected. Therefore, it is possible to efficiently perform the connection inspection of the electronic control unit in the in-vehicle LAN system.

本発明に係る車載LANシステムの接続検査方法によれば、車載ネットワーク環境に接続された、電子制御機器と電子制御ユニットとの接続検査を効率的に行うことができるという効果が得られる。   According to the in-vehicle LAN system connection inspection method according to the present invention, it is possible to efficiently perform the connection inspection between the electronic control device and the electronic control unit connected to the in-vehicle network environment.

本発明に係る車載LANシステムの接続検査方法を適用する車載電子制御装置の一般的な構成を示すブロック図である。It is a block diagram which shows the general structure of the vehicle-mounted electronic control apparatus to which the connection test method of the vehicle-mounted LAN system which concerns on this invention is applied. 本発明の実施例1に係る車載LANシステムの接続検査方法を適用する車載電子制御装置の具体的な構成を示す第1のブロック図である。It is a 1st block diagram which shows the specific structure of the vehicle-mounted electronic control apparatus to which the connection test method of the vehicle-mounted LAN system which concerns on Example 1 of this invention is applied. 本発明の実施例1に係る車載LANシステムの接続検査方法を適用する車載電子制御装置の具体的な構成を示す第2のブロック図である。It is a 2nd block diagram which shows the specific structure of the vehicle-mounted electronic control apparatus to which the connection test method of the vehicle-mounted LAN system which concerns on Example 1 of this invention is applied. 図2、図3の車載LANシステムにおける接続検査方法の流れを説明するフローチャートである。It is a flowchart explaining the flow of the connection test | inspection method in the vehicle-mounted LAN system of FIG. 2, FIG.

以下、本発明に係る車載LANシステムの接続検査方法の実施例について、図面を参照して説明する。   Hereinafter, an embodiment of a connection inspection method for an in-vehicle LAN system according to the present invention will be described with reference to the drawings.

本実施例1は、本発明を、車両内に配設されたネットワーク環境(車載LAN)に接続された電子制御機器の検査に適用したものである。以下、本発明の実施例を図1、図2、図3に従って説明する。   In the first embodiment, the present invention is applied to an inspection of an electronic control device connected to a network environment (in-vehicle LAN) disposed in a vehicle. Embodiments of the present invention will be described below with reference to FIGS.

本装置は、図1に示すように、主に、車両(図1、図2、図3には図示しない)内に配設された、ネットワーク環境を構成するLAN10と、LAN10に接続され、所定の制御動作を行うとともに、その状態や制御結果をLAN10に送出する、第1の電子制御ユニット20と第2の電子制御ユニット30と第3の電子制御ユニット40と、LAN10を流れる情報に基づいて所定の機能を発揮する電子制御機器50と、電子制御機器50の内部に設置され、所定の演算処理を行うCPU60と、電源供給部100から電源が供給されているときのみ記憶動作を行い、電源の供給が停止すると記憶内容が消去される、演算処理の途中経過や他の電子制御ユニットから取得した情報の記憶等に用いるRAMから構成された第1の記憶部70と、電源の供給状態に拘わらず記憶動作を行い、演算処理の初期設定値や必要な定数の記憶等に用いるEEPROMから構成された第2の記憶部80と、LAN10、および各電子制御ユニット(20、30、40)、電子制御機器50に電源を供給する電源供給部100とを有している。   As shown in FIG. 1, this apparatus is mainly arranged in a vehicle (not shown in FIG. 1, FIG. 2, FIG. 3), which constitutes a network environment, and is connected to the LAN 10 and has a predetermined The first electronic control unit 20, the second electronic control unit 30, the third electronic control unit 40, and the information that flows through the LAN 10 An electronic control device 50 that performs a predetermined function, a CPU 60 that is installed inside the electronic control device 50 and performs predetermined arithmetic processing, and performs a storage operation only when power is supplied from the power supply unit 100, The first storage unit 70 is composed of a RAM used for storing the information acquired from other electronic control units, etc. Regardless of the power supply state, the storage operation is performed, and the second storage unit 80 composed of the EEPROM used for storing the initial setting value of the arithmetic processing and the necessary constants, the LAN 10, and each electronic control unit (20, 30, 40), and a power supply unit 100 that supplies power to the electronic control device 50.

なお、本実施例1は、電子制御機器50の検査方法に関する。すなわち、各電子制御ユニット(20、30、40)が、LAN10を経由して、電子制御機器50に確実に接続していることの検査と、電子制御機器50の動作に問題がないことの検査を行うものである。   The first embodiment relates to an inspection method for the electronic control device 50. That is, an inspection that each electronic control unit (20, 30, 40) is securely connected to the electronic control device 50 via the LAN 10, and an inspection that there is no problem in the operation of the electronic control device 50. Is to do.

なお、図1では、3つの電子制御ユニット(20、30、40)がLAN10に接続されているが、これは3つに限定されるものではなく、構成されるシステムによって、必要な電子制御ユニットの個数は変動する。   In FIG. 1, three electronic control units (20, 30, 40) are connected to the LAN 10, but this is not limited to three, and the necessary electronic control units depend on the configured system. The number of fluctuates.

図2は、図1の具体的な構成例を示すものである。すなわち、車両に搭載され、車速やエンジン回転数や定速走行装置の動作状態等の車両情報を表示したり、車両の状態に異常が発生したときに警告情報を表示したりするメーターを構成する電子制御機器を図示したものである。   FIG. 2 shows a specific configuration example of FIG. In other words, a meter that is mounted on a vehicle and displays vehicle information such as the vehicle speed, the engine speed, and the operating state of the constant speed traveling device, or displays warning information when an abnormality occurs in the vehicle state is configured. An electronic control device is illustrated.

図2の構成を説明すると、LAN10の具体的な構成例として、CAN(Car Area Network)プロトコルを有し、そこに接続されたユニット間で情報の送受信を行うCAN15に、オートマチックトランスミッションの制御を司るATコントロールユニット25(第1の電子制御ユニット20に対応)と、定速走行機能の制御を司るクルーズコントロールユニット35(第2の電子制御ユニット30に対応)と、横滑り防止機能やアンチロックブレーキ機能の制御を司るABSコントロールユニット45(第3の電子制御ユニット40に対応)と、メーターの表示機能の制御を司るメーターコントロールユニット55(電子制御機器50に対応)と、CAN15、および各電子制御ユニット(25、35、45)、メーターコントロールユニット55に電源を供給する電源供給部100とが接続されている。   The configuration of FIG. 2 will be described. As a specific configuration example of the LAN 10, the CAN 15 having a CAN (Car Area Network) protocol and transmitting and receiving information between the units connected thereto controls the automatic transmission. AT control unit 25 (corresponding to the first electronic control unit 20), cruise control unit 35 (corresponding to the second electronic control unit 30) that controls the constant speed running function, skid prevention function and anti-lock brake function ABS control unit 45 (corresponding to the third electronic control unit 40) that controls the meter, meter control unit 55 (corresponding to the electronic control device 50) that controls the display function of the meter, CAN 15, and each electronic control unit (25, 35, 45), meter control unit 5 5 is connected to a power supply unit 100 that supplies power.

また、メーターコントロールユニット55の内部には、CAN15を経由して、各電子制御ユニット(25、35、45)から送信された情報に基づいて、演算処理により、車両情報を表示する計器や警告灯を有するメーター90の表示状態や警告灯の表示状態を決定するCPU60と、メーター90に出力する情報を決定する演算処理の途中経過や、他の電子制御ユニットから取得した情報の記憶や読み出しが可能で、電源供給部100から電源が供給されている間のみ記憶内容を保持することができる、第1の記憶部70を構成するRAM75と、メーター90に出力する情報を決定する演算処理の初期設定値や必要な定数等が記憶されるとともに、新たな情報の書き込みも可能であり、電源供給部100からの電源の供給状態に拘わらず記憶内容を保持することができる、第2の記憶部80を構成するEEPROM85とが備えられている。   Further, inside the meter control unit 55, a meter or warning light that displays vehicle information by arithmetic processing based on information transmitted from each electronic control unit (25, 35, 45) via the CAN 15. The CPU 60 that determines the display state of the meter 90 and the display state of the warning light and the progress of arithmetic processing that determines the information to be output to the meter 90 and the storage and reading of information acquired from other electronic control units are possible. Thus, the RAM 75 that constitutes the first storage unit 70 that can hold the stored contents only while the power is supplied from the power supply unit 100, and the initial setting of the arithmetic processing that determines the information to be output to the meter 90 Values, necessary constants, etc. are stored, and new information can be written, regardless of the power supply state from the power supply unit 100. It can hold the stored contents, and EEPROM85 constituting the second storage unit 80 is provided.

本実施例1で行われる検査は、全部で3つのステップからなる。   The inspection performed in the first embodiment includes a total of three steps.

第1ステップの検査は、メーターコントロールユニット55を製造する工場において、図3の構成、すなわち、ATコントロールユニット25と、クルーズコントロールユニット35と、ABSコントロールユニット45の代わりに、それら3つの電子制御ユニットを含む、メーターコントロールユニット55に接続される可能性のある全ての電子制御ユニットが接続されているのと等価な状態を再現できる擬似信号発生手段である擬似信号発生器52が接続された状態で行われる検査である。   The inspection of the first step is performed at the factory where the meter control unit 55 is manufactured, in the configuration shown in FIG. 3, that is, instead of the AT control unit 25, the cruise control unit 35, and the ABS control unit 45, Including a pseudo signal generator 52, which is a pseudo signal generating means capable of reproducing a state equivalent to the connection of all electronic control units that may be connected to the meter control unit 55. It is an inspection to be performed.

このように擬似信号発生器52を用いて検査を行うのは、メーターコントロールユニット55に接続される電子制御ユニットの種類は車両によって異なるため、最終的にどのような電子制御ユニットが接続されるかわからないためである。一方、メーターコントロールユニット55は、想定される全ての電子制御ユニットが接続された状態であっても正常に動作するように製造されているため、この第1ステップの検査においては、考えられる最も複雑な構成で検査を行う訳である。   The inspection using the pseudo signal generator 52 in this way is because the type of the electronic control unit connected to the meter control unit 55 differs depending on the vehicle, so what kind of electronic control unit is finally connected. This is because I don't know. On the other hand, the meter control unit 55 is manufactured so as to operate normally even in a state where all assumed electronic control units are connected. The inspection is performed with a simple configuration.

なお、この第1ステップの検査は、車載状態で行う必要はなく、CAN15は、台上に構築された検査用CANであってもよい。   Note that the inspection in the first step does not have to be performed in a vehicle-mounted state, and the CAN 15 may be an inspection CAN constructed on a table.

第2ステップの検査は、車両を製造する工場にて、図2の構成によって行われる検査である。すなわち、擬似信号発生器52が取り外され、実際に車両に搭載される電子制御ユニットの例として、例えば、ATコントロールユニット25と、クルーズコントロールユニット35と、ABSコントロールユニット45とが接続された状態で行われる検査である。   The inspection in the second step is an inspection performed by the configuration of FIG. 2 in a factory that manufactures the vehicle. That is, as an example of an electronic control unit that is actually mounted on a vehicle after the pseudo signal generator 52 is removed, for example, in a state where the AT control unit 25, the cruise control unit 35, and the ABS control unit 45 are connected. It is an inspection to be performed.

そして、第3ステップの検査は、車両が出荷された後で、図2の構成によって行われる検査である。但し、顧客が検査を意識することはなく、検査は、エンジンをかける度に、自動的に行われる。   The inspection in the third step is an inspection performed by the configuration of FIG. 2 after the vehicle is shipped. However, the customer is not aware of the inspection, and the inspection is automatically performed every time the engine is started.

以下、本実施例1に係る車載LANシステムの第1ステップから第3ステップに亘る検査方法について、図4のフローチャートに基づいて説明する。   Hereinafter, the inspection method from the first step to the third step of the in-vehicle LAN system according to the first embodiment will be described based on the flowchart of FIG.

最初に、第1ステップの検査の流れを説明する。   First, the flow of inspection in the first step will be described.

まず、ステップS2において、擬似信号発生器52が接続されているか否かが判定される。擬似信号発生器52は、CAN15に接続される可能性のある全ての電子制御ユニットが接続されていることを表す擬似信号をCAN15に送出することができる信号発生器である。すなわち、擬似信号発生器52から送出される擬似信号には、CAN15に接続される可能性のある全ての電子制御ユニットに付与された、ユニットIDが含まれている。   First, in step S2, it is determined whether or not the pseudo signal generator 52 is connected. The pseudo signal generator 52 is a signal generator that can send a pseudo signal indicating that all electronic control units that may be connected to the CAN 15 are connected to the CAN 15. That is, the pseudo signal sent from the pseudo signal generator 52 includes a unit ID assigned to all electronic control units that may be connected to the CAN 15.

このような擬似信号発生器52を接続するのは、車両によって接続される電子制御ユニットの種類が異なるため、全てのバリエーションを個別に検査していたのでは、多大な手間と時間を要するため、検査の効率をあげるために、図3の構成によって、仮想的に最も複雑な状態を作って検査を行うためである。   The connection of such a pseudo signal generator 52 is different because the types of electronic control units connected by the vehicle are different, so that all variations are individually inspected, which requires a great deal of labor and time. This is because, in order to increase the inspection efficiency, the configuration shown in FIG.

擬似信号発生器52が接続されていると判定された場合、ステップS3において、EEPROM85の所定のアドレスに、全ての電子制御ユニットが接続されていることを表す第2のフラグが立てられる。   If it is determined that the pseudo signal generator 52 is connected, a second flag indicating that all electronic control units are connected is set at a predetermined address in the EEPROM 85 in step S3.

第2のフラグは、EEPROM85の所定のアドレスに確保された、CAN15に接続され得る電子制御ユニットの最大個数に相当するビット数の領域に、擬似信号発生器52が出力してメーターコントロールユニット55が受信した擬似信号の中からユニットIDが検出されたときに、検出された電子制御ユニットに対応するビットに“1”を記憶し、ユニットIDが検出されないときは“0”を記憶する構成になっている。すなわち、本実施例1の場合、確保された全てのビットに“1”が記憶される。   The second flag is output from the pseudo signal generator 52 to the meter control unit 55 in an area of the number of bits corresponding to the maximum number of electronic control units that can be connected to the CAN 15, which is secured at a predetermined address of the EEPROM 85. When the unit ID is detected from the received pseudo signal, “1” is stored in the bit corresponding to the detected electronic control unit, and “0” is stored when the unit ID is not detected. ing. That is, in the case of the first embodiment, “1” is stored in all reserved bits.

なお、後述する第1のフラグは、RAM75の所定のアドレスに、擬似信号発生器52が出力してメーターコントロールユニット55が受信した擬似信号の中から、ユニットIDが検出されたときに“1”を記憶し、ユニットIDが検出されないときは“0”を記憶する構成になっている。   A first flag described later is “1” when a unit ID is detected from a pseudo signal output from the pseudo signal generator 52 and received by the meter control unit 55 at a predetermined address in the RAM 75. Is stored, and when the unit ID is not detected, “0” is stored.

次に、ステップS8において、メーターコントロールユニット55で、CAN15を流れる擬似信号を受信する。   Next, in step S <b> 8, the meter control unit 55 receives a pseudo signal flowing through the CAN 15.

そして、受信した擬似信号の中に含まれているユニットIDが、ステップS3でEEPROM85の所定のアドレスに記憶された第2のフラグの状態と一致しているとき、全ての電子制御ユニットが、正しくCAN15に接続されているものと判断される。   When the unit ID included in the received pseudo signal matches the state of the second flag stored in the predetermined address of the EEPROM 85 in step S3, all the electronic control units are correctly It is judged that it is connected to CAN15.

一方、ステップS8において、受信した擬似信号に含まれているユニットIDと第2のフラグの内容が異なっている場合、電子制御ユニットの接続に問題があるため、ステップS10において、メーター90のインジケータに異常を示す表示がなされる。検査員は、この異常表示に基づいて異常の原因究明と対策を行う。   On the other hand, if the unit ID included in the received pseudo signal is different from the content of the second flag in step S8, there is a problem with the connection of the electronic control unit. A display indicating an abnormality is made. The inspector investigates the cause of the abnormality and takes countermeasures based on the abnormality display.

なお、ステップS8において、受信した擬似信号に含まれているユニットIDと第2のフラグの状態とが等しいときは、ステップS9において、メーターコントロールユニット55の動作確認を行う。ここでは、例えば擬似信号発生器52から所定の車速信号をCANに送出して、メーター90の車速計が所定の車速を示すことを確認したり、CAN15を通してメーターコントロールユニット55に接続される可能性のある全ての電子制御ユニットが接続されているものと仮定して、擬似信号発生器52から、予め決められた所定の信号をCANに送出し、その信号に対応するメーター90のインジケータが点灯するか否かを確認したりすることによって行えばよい。   When the unit ID included in the received pseudo signal is equal to the state of the second flag in step S8, the operation of the meter control unit 55 is confirmed in step S9. Here, for example, a predetermined vehicle speed signal may be sent from the pseudo signal generator 52 to the CAN to confirm that the speedometer of the meter 90 indicates the predetermined vehicle speed, or connected to the meter control unit 55 through the CAN 15. Assuming that all the electronic control units are connected, a predetermined signal is sent from the pseudo signal generator 52 to the CAN, and the indicator of the meter 90 corresponding to the signal is turned on. This may be done by checking whether or not.

ステップS9において、メーター90が正常に動作することが確認されると、ステップS4に戻る。   If it is confirmed in step S9 that the meter 90 operates normally, the process returns to step S4.

一方、ステップS9において、メーターコントロールユニット55の動作に異常があるときは、ステップS10に移行し、メーター90のインジケータに異常を示す表示がなされる。検査員は、この異常表示に基づいて異常の原因究明と対策を行う。   On the other hand, when there is an abnormality in the operation of the meter control unit 55 in step S9, the process proceeds to step S10, and a display indicating the abnormality is made on the indicator of the meter 90. The inspector investigates the cause of the abnormality and takes countermeasures based on the abnormality display.

検査が区切りのよいところまで終了したとき、あるいは、検査が完全に終了したとき、擬似信号発生器52から所定の信号がCANに送出される。この所定の信号は、検査が区切りのよいところまで終了したこと、あるいは、検査が全て終了したことを検出して自動的に送出してもよいし、検査員の操作によって送出してもよい。   When the inspection is completed to a point where the break is good, or when the inspection is completed, a predetermined signal is sent from the pseudo signal generator 52 to the CAN. This predetermined signal may be sent automatically upon detection that the examination has been completed to a point where the break is good, or when all the examinations have been completed, or may be sent by the operation of the inspector.

ステップS11において、CPU60がこの所定の信号を受信したとき、もしくは、擬似信号発生器52をCAN15から取り外したことが検出されたときに、ステップS12において第2のフラグの内容がクリアされる。   In step S11, when the CPU 60 receives the predetermined signal, or when it is detected that the pseudo signal generator 52 has been removed from the CAN 15, the content of the second flag is cleared in step S12.

なお、ステップS11において、所定の信号が検出されないとき、または、擬似信号発生器の取り外しが検出されないときは、ステップS4に移行する。   In step S11, when a predetermined signal is not detected, or when removal of the pseudo signal generator is not detected, the process proceeds to step S4.

ステップS12の後、ステップS13において、第2のフラグがクリアされたことが確認される。第2のフラグがクリアされていることが確認されると、ステップS4に移行する。もし、メーターコントロールユニット55の内部故障等によって第2のフラグがクリアされないときは、ステップS10に移行し、メーター90のインジケータに異常を示す表示がなされる。検査員は、この異常表示に基づいて異常の原因究明と対策を行う。   After step S12, it is confirmed in step S13 that the second flag has been cleared. When it is confirmed that the second flag is cleared, the process proceeds to step S4. If the second flag is not cleared due to an internal failure or the like of the meter control unit 55, the process proceeds to step S10, and a display indicating an abnormality is made on the indicator of the meter 90. The inspector investigates the cause of the abnormality and takes countermeasures based on the abnormality display.

次に、ステップS4にて、電源供給部100からメーターコントロールユニット55に電源が供給されていることが確認される。これは、第1ステップの検査が全て終了して検査員が電源供給部100からの電源供給を停止したか否かを判断する処理である。   Next, in step S <b> 4, it is confirmed that power is supplied from the power supply unit 100 to the meter control unit 55. This is a process for determining whether or not the inspection in the first step has been completed and the inspector has stopped supplying power from the power supply unit 100.

ステップS4において、電源が供給されていないと判断されると、ステップS5において第1のフラグがクリアされ、ステップS6にて第1ステップの検査を終了する。実際は、電源供給部100からの電源供給を停止すると、RAM75の記憶内容は保持されずにクリアされるため、RAM75に記憶されている第1のフラグの内容は、自動的にクリアされる。   If it is determined in step S4 that power is not supplied, the first flag is cleared in step S5, and the inspection in the first step is terminated in step S6. Actually, when the power supply from the power supply unit 100 is stopped, the stored contents of the RAM 75 are cleared without being held, so the contents of the first flag stored in the RAM 75 are automatically cleared.

一方、ステップS4において、電源が供給されていると判断されると、ステップS7に移行し、第2のフラグが立っているか否かが判定される。   On the other hand, if it is determined in step S4 that power is supplied, the process proceeds to step S7, and it is determined whether or not the second flag is set.

ここで、ステップS11からステップS4に移行したときは、第2のフラグに何らかの情報が記憶されているため、ステップS8に移行し、以後、先に説明した処理が繰り返される。   Here, when the process proceeds from step S11 to step S4, since some information is stored in the second flag, the process proceeds to step S8, and thereafter, the process described above is repeated.

一方、ステップS13からステップS4に移行したときは、第2のフラグがクリアされているため、ステップS14に移行する。   On the other hand, when the process proceeds from step S13 to step S4, the process proceeds to step S14 because the second flag is cleared.

ステップS14では、RAM75の所定のアドレスに、第1のフラグが立っているか否かが判定される。   In step S14, it is determined whether or not the first flag is set at a predetermined address in the RAM 75.

もし、第1のフラグが立っていると判定されると、ステップS9に移行する。その後、先に説明した処理が繰り返される。   If it is determined that the first flag is set, the process proceeds to step S9. Thereafter, the process described above is repeated.

ここで、ステップS14において、第1のフラグが立っていると判定されたときに、メーターコントロールユニット55が、擬似信号発生器52からCAN15に出力された擬似信号の受信を行わないでステップS9に移行することが本発明の特徴である。   Here, when it is determined in step S14 that the first flag is set, the meter control unit 55 does not receive the pseudo signal output from the pseudo signal generator 52 to the CAN 15 and proceeds to step S9. It is a feature of the present invention to migrate.

すなわち、この特徴を有することによって、第1のフラグが立っていると判断されたときは、第2のフラグに情報が書き込まれることはなく、これによって、CAN15に擬似信号が流れているときであっても、第2のフラグがクリアされた状態を保持することが可能となる。   That is, by having this feature, when it is determined that the first flag is set, no information is written in the second flag, and thus, when a pseudo signal is flowing through the CAN 15. Even if it exists, it becomes possible to hold | maintain the state in which the 2nd flag was cleared.

一方、ステップS14において、第1のフラグが立っていないと判定されたときには、ステップS15に移行する。   On the other hand, when it is determined in step S14 that the first flag is not set, the process proceeds to step S15.

ステップS15では、メーターコントロールユニット55でCAN15を流れる擬似信号を受信し、受信した擬似信号の中からユニットIDが検出される。   In step S15, the meter control unit 55 receives a pseudo signal flowing through the CAN 15, and a unit ID is detected from the received pseudo signal.

その後、ステップS16において、RAM75の所定のアドレスに、擬似信号発生器52が出力してメーターコントロールユニット55が受信した擬似信号の中にユニットIDが検出されたことを示す所定の値が書き込まれることによって、第1のフラグが立てられる。   Thereafter, in step S16, a predetermined value indicating that the unit ID is detected is written in a pseudo signal output from the pseudo signal generator 52 and received by the meter control unit 55 at a predetermined address in the RAM 75. To set the first flag.

さらに、ステップS17において、EEPROM85の所定のアドレスに、ステップS15で検出されたユニットIDに対応する第2のフラグが立てられる。その後、ステップS9に移行し、先に説明した処理が繰り返される。   In step S17, a second flag corresponding to the unit ID detected in step S15 is set at a predetermined address in the EEPROM 85. Thereafter, the process proceeds to step S9, and the process described above is repeated.

そして、全ての検査が終了すると、メーターコントロールユニット55は、車両を組み立てる工場に納入される。   When all the inspections are completed, the meter control unit 55 is delivered to a factory for assembling the vehicle.

次に、第2ステップの検査の流れを説明する。第2ステップの検査は、図2に示すように、擬似信号発生器52の代わりに、実際に車載される電子制御ユニット(25、35、45)が接続された状態で行われる。   Next, the flow of inspection in the second step will be described. As shown in FIG. 2, the inspection in the second step is performed in a state where an electronic control unit (25, 35, 45) actually mounted on the vehicle is connected instead of the pseudo signal generator 52.

本実施例1では、オートマチックトランスミッションの制御を司るATコントロールユニット25と、定速走行機能の制御を司るクルーズコントロールユニット35と、横滑り防止機能やアンチロックブレーキ機能の制御を司るABSコントロールユニット45とが接続されるものとする。   In the first embodiment, an AT control unit 25 that controls an automatic transmission, a cruise control unit 35 that controls a constant speed running function, and an ABS control unit 45 that controls a skid prevention function and an antilock brake function are provided. Shall be connected.

第2ステップの検査は、ステップS2で擬似信号発生器52が接続されているか否かを判定するところから始まる。第2ステップの検査を行うときに、擬似信号発生器52は接続されていないため、ステップS4に移行する。   The inspection in the second step starts from determining whether or not the pseudo signal generator 52 is connected in step S2. Since the pseudo signal generator 52 is not connected when performing the inspection of the second step, the process proceeds to step S4.

次に、ステップS4において、電源供給部100からメーターコントロールユニット55に電源が供給されているか否かが判定される。そして、電源が供給されているときは、ステップS7に移行する。   Next, in step S <b> 4, it is determined whether power is supplied from the power supply unit 100 to the meter control unit 55. Then, when the power is supplied, the process proceeds to step S7.

ステップS7において、EEPROM85の所定のアドレスに第2のフラグが立っているか否かが判定される。本実施例1の場合、先に説明した第1ステップの検査が終了した時点で、第2のフラグはクリアされているため、ステップS7において、第2のフラグが立っていないと判定され、ステップS14に移行する。   In step S7, it is determined whether or not the second flag is set at a predetermined address in the EEPROM 85. In the case of the first embodiment, since the second flag is cleared at the time when the inspection of the first step described above is completed, it is determined in step S7 that the second flag is not set, and the step The process proceeds to S14.

次に、ステップS14において第1のフラグが立っているか否かが判定される。第1ステップの検査において、電源供給部100からの電源供給を停止したことにより、RAM75の中の第1のフラグはクリアされているため、第1のフラグは立っていないと判定され、ステップS15に移行する。   Next, in step S14, it is determined whether or not the first flag is set. In the inspection of the first step, since the first flag in the RAM 75 is cleared by stopping the power supply from the power supply unit 100, it is determined that the first flag is not set, and step S15 Migrate to

次に、ステップS15において、メーターコントロールユニット55が、各電子制御ユニット(25、35、45)からCAN15に送出された信号を受信する。なお、この信号には、各電子制御ユニット(25、35、45)がCAN15に接続されていることを表すユニットIDをはじめ、各電子制御ユニット(25、35、45)から出力される固有の情報が、予め決められたフォーマットに従って流れている。そして、メーターコントロールユニット55がこの信号の中のユニットIDを表す信号を受信したら、ステップS16に移行する。   Next, in step S15, the meter control unit 55 receives a signal sent from each electronic control unit (25, 35, 45) to the CAN 15. This signal includes a unit ID indicating that each electronic control unit (25, 35, 45) is connected to the CAN 15, and a unique output from each electronic control unit (25, 35, 45). Information flows according to a predetermined format. When the meter control unit 55 receives a signal representing the unit ID in this signal, the process proceeds to step S16.

ステップS16では、RAM75の所定のアドレスに、各電子制御ユニット(25、35、45)が出力してメーターコントロールユニット55が受信した信号の中にユニットIDが検出されたことを示す所定の値が書き込まれることによって、第1のフラグが立てられる。   In step S16, a predetermined value indicating that the unit ID is detected in a signal output from each electronic control unit (25, 35, 45) and received by the meter control unit 55 is provided at a predetermined address in the RAM 75. The first flag is set by writing.

さらに、ステップS17において、EEPROM85の所定のアドレスに、ステップS15で検出された、電子制御ユニットを表すユニットIDに対応する第2のフラグが立てられる。   In step S17, a second flag corresponding to the unit ID representing the electronic control unit detected in step S15 is set at a predetermined address in the EEPROM 85.

その後、ステップS9に移行し、メーターコントロールユニット55の動作確認が行われる。この動作確認は、ステップS15で受信したユニットIDで示される、CAN15に接続されている各電子制御ユニット(25、35、45)から、予め決められた所定の形式の信号を出力し、メーターコントロールユニット55がその信号を受信して、受信した信号に基づいて、メーター90に所定の表示がなされることを確認することによって行われる。   Thereafter, the process proceeds to step S9, and the operation of the meter control unit 55 is confirmed. This operation check is performed by outputting a predetermined signal from each electronic control unit (25, 35, 45) connected to the CAN 15, indicated by the unit ID received in step S15, and controlling the meter. The unit 55 receives the signal and confirms that a predetermined display is made on the meter 90 based on the received signal.

ステップS9において、メーターコントロールユニット55が正常に動作していると判定されたときは、ステップS11に移行する。   When it is determined in step S9 that the meter control unit 55 is operating normally, the process proceeds to step S11.

ステップS11では、所定の信号が発生したこと、もしくは、擬似信号発生器52が取り外されたことが検出されるが、第2ステップの検査では、いずれも該当しないため、ステップS4に移行する。   In step S11, it is detected that a predetermined signal has been generated or that the pseudo signal generator 52 has been removed. However, since none of the results corresponds to the second step, the process proceeds to step S4.

一方、ステップS9において、メーターコントロールユニット55が正常に動作していないときは、ステップS10に移行し、メーター90のインジケータに異常を示す表示がなされる。検査員は、この異常表示に基づいて異常の原因究明と対策を行う。   On the other hand, when the meter control unit 55 is not operating normally in step S9, the process proceeds to step S10, and the indicator indicating the abnormality is displayed on the indicator of the meter 90. The inspector investigates the cause of the abnormality and takes countermeasures based on the abnormality display.

ステップS11からステップS4に移行した後、電源供給部100からの電源供給が停止するまで、動作確認が繰り返される。   After shifting from step S11 to step S4, the operation check is repeated until the power supply from the power supply unit 100 stops.

動作確認が終了し、車両のイグニッションスイッチを切断し、電源供給部100からの電源供給が停止すると、ステップS4において電源が供給されていないと判定される。電源の供給が停止すると、RAM75の記憶内容はクリアされるため、ステップS5において、第1のフラグの内容がクリアされて、ステップS6で第2ステップの検査を終了する。   When the operation check is completed, the ignition switch of the vehicle is disconnected, and the power supply from the power supply unit 100 is stopped, it is determined in step S4 that power is not supplied. When the supply of power is stopped, the contents stored in the RAM 75 are cleared. Therefore, in step S5, the contents of the first flag are cleared, and the inspection in the second step is terminated in step S6.

そして、ステップS17において、EEPROM85に記憶された第2のフラグの状態が保持されたまま、車両は顧客の元に出荷される。   In step S17, the vehicle is shipped to the customer while the state of the second flag stored in the EEPROM 85 is maintained.

なお、製造される車両の仕様によっては、搭載される電子制御ユニットの種類が異なる場合がある。例えば、定速走行装置が搭載されない車両の場合、図2において、クルーズコントロールユニット35が接続されない。このような場合であっても、第2ステップの検査は図4のフローチャートに従って行われる。   Depending on the specifications of the vehicle to be manufactured, the type of electronic control unit to be mounted may be different. For example, in the case of a vehicle not equipped with a constant speed traveling device, the cruise control unit 35 is not connected in FIG. Even in such a case, the inspection in the second step is performed according to the flowchart of FIG.

すなわち、ステップS15で受信したユニットIDを表す信号の中に、クルーズコントロールユニット35に対応するユニットIDが含まれないときには、ステップS17において設定される第2のフラグの中に、クルーズコントロールユニット35に対応するフラグは書き込まれない。   That is, when the unit ID corresponding to the cruise control unit 35 is not included in the signal representing the unit ID received in step S15, the cruise control unit 35 is included in the second flag set in step S17. The corresponding flag is not written.

そして、ステップS9の動作確認は、クルーズコントロールユニット35が接続されていないものとして行われる。   Then, the operation check in step S9 is performed assuming that the cruise control unit 35 is not connected.

このように、第2ステップの検査は、実際にCAN15に接続されている電子制御ユニットの種類に応じて行われる。   Thus, the inspection in the second step is performed according to the type of the electronic control unit that is actually connected to the CAN 15.

次に、第3ステップの検査の流れを説明する。第3ステップの検査は、出荷された車両が顧客の手元に渡った後で、車両のエンジンがかかる度に行われる。   Next, the inspection flow in the third step will be described. The inspection in the third step is performed each time the vehicle engine is started after the shipped vehicle has been delivered to the customer.

第3ステップの検査は、ステップS2で擬似信号発生器52が接続されているか否かを判定するところから始まる。このとき、擬似信号発生器52は接続されていないため、ステップS4に移行する。   The inspection in the third step starts from determining whether or not the pseudo signal generator 52 is connected in step S2. At this time, since the pseudo signal generator 52 is not connected, the process proceeds to step S4.

次に、ステップS4において、電源供給部100からメーターコントロールユニット55に電源が供給されているか否かが判定される。そして、電源が供給されているときは、ステップS7に移行する。   Next, in step S <b> 4, it is determined whether power is supplied from the power supply unit 100 to the meter control unit 55. Then, when the power is supplied, the process proceeds to step S7.

ステップS7において、第2のフラグが立っているか否かが判定される。本実施例1の場合、第2ステップの検査において、EEPROM85の中に設定された第2のフラグに、CAN15に接続された電子制御ユニットを表すユニットIDに対応する値が記憶されているため、ステップS7において、第2のフラグが立っていると判定され、ステップS8に移行する。   In step S7, it is determined whether or not the second flag is set. In the case of the first embodiment, the value corresponding to the unit ID representing the electronic control unit connected to the CAN 15 is stored in the second flag set in the EEPROM 85 in the second step inspection. In step S7, it is determined that the second flag is set, and the process proceeds to step S8.

次に、ステップS8において、CAN15から受信したユニットIDと、EEPROM85の中に設定された第2のフラグの状態とを比較する。   Next, in step S8, the unit ID received from the CAN 15 is compared with the state of the second flag set in the EEPROM 85.

ここで、CAN15から受信したユニットIDと、EEPROM85の中に設定された第2のフラグの状態が異なるときは、ステップS10に移行し、メーター90のインジケータに異常を示す表示がなされる。このとき、車両の使用者は、車両を販売店に持ち込んで、販売店において、異常表示の内容に基づいて異常の原因究明と対策が行われる。   Here, when the unit ID received from the CAN 15 is different from the state of the second flag set in the EEPROM 85, the process proceeds to step S10, and the indicator indicating the abnormality is displayed on the indicator of the meter 90. At this time, the user of the vehicle brings the vehicle to the store, and the store investigates the cause of the abnormality and takes countermeasures based on the content of the abnormality display.

一方、ステップS8において、受信したユニットIDと、EEPROM85の中に設定された第2のフラグの状態が等しいときは、ステップS9に移行し、メーターコントロールユニット55の動作確認が行われる。この動作確認は、例えば、CAN15に接続された各電子制御ユニット(25、35、45)から所定の形式の信号を出力し、メーターコントロールユニット55がその信号を受信して、受信した信号に基づいて、メーター90に所定の表示がなされることを確認することによって行われる。なお、このステップS9の動作確認は、メーターコントロールユニット55が実際に動作している際に、バックグラウンドで行われるため、車両の使用者が動作確認を意識することはない。   On the other hand, when the received unit ID is equal to the state of the second flag set in the EEPROM 85 in step S8, the process proceeds to step S9 and the operation of the meter control unit 55 is confirmed. This operation check is performed based on, for example, outputting a signal of a predetermined format from each electronic control unit (25, 35, 45) connected to the CAN 15, and receiving the signal by the meter control unit 55. Then, it is performed by confirming that a predetermined display is made on the meter 90. The operation check in step S9 is performed in the background when the meter control unit 55 is actually operating, so that the vehicle user is not aware of the operation check.

また、ステップS9において、メーターコントロールユニット55が正常に動作していないときは、ステップS10に移行し、メーター90のインジケータに異常を示す表示がなされる。このとき、車両の使用者は、車両を販売店に持ち込んで、販売店において、異常表示の内容に基づいて異常の原因究明と対策が行われる。   In step S9, when the meter control unit 55 is not operating normally, the process proceeds to step S10, and the indicator indicating the abnormality is displayed on the indicator of the meter 90. At this time, the user of the vehicle brings the vehicle to the store, and the store investigates the cause of the abnormality and takes countermeasures based on the content of the abnormality display.

一方、ステップS9において、メーターコントロールユニット55が正常に動作しているときは、ステップS11に移行し、所定の信号が発生したこと、もしくは、擬似信号発生器52が取り外されたことが検出されるが、第3ステップの検査では、いずれも該当しないため、ステップS4に移行する。その後、電源供給部100からの電源供給が停止するまで、第3ステップの検査が繰り返される。   On the other hand, when the meter control unit 55 is operating normally in step S9, the process proceeds to step S11, where it is detected that a predetermined signal has been generated or that the pseudo signal generator 52 has been removed. However, since none of the cases corresponds to the inspection in the third step, the process proceeds to step S4. Thereafter, the inspection in the third step is repeated until the power supply from the power supply unit 100 stops.

動作確認が終了し、車両のイグニッションスイッチが切断され、電源供給部100からの電源供給が停止すると、ステップS4において電源が供給されていないと判定される。電源の供給が停止すると、RAM75の記憶内容はクリアされるため、ステップS5において、第1のフラグの内容がクリアされて、ステップS6で第3ステップの検査を終了する。   When the operation check is completed, the ignition switch of the vehicle is cut, and the power supply from the power supply unit 100 is stopped, it is determined in step S4 that no power is supplied. When the supply of power is stopped, the stored contents of the RAM 75 are cleared. Therefore, in step S5, the contents of the first flag are cleared, and in step S6, the third step inspection ends.

以上、説明したように、実施例1に係る車載LANシステムの接続検査方法によれば、第1の記憶部70を構成するRAM75に第1のフラグが立っているときには、メーターコントロールユニット55が、CAN15に接続された電子制御ユニットのユニットIDを表す情報の受信を行わないため、CAN15に電子制御ユニットが接続されて、その電子制御ユニットの種類を表すユニットIDがCAN15に流れている場合であっても、予期しないタイミングで第2のフラグに情報が書き込まれることがないため、第2の記憶部80を構成するEEPROM85の中に設定された第2のフラグのみがクリアされた状態を保持することができ、これによって、第1ステップの検査から第2ステップの検査に確実に移行することができ、車載LANシステムにおける電子制御ユニットの接続検査を効率的に行うことができるという効果が得られる。   As described above, according to the connection inspection method for the in-vehicle LAN system according to the first embodiment, when the first flag is set in the RAM 75 configuring the first storage unit 70, the meter control unit 55 is This is a case where an electronic control unit is connected to CAN 15 and a unit ID indicating the type of the electronic control unit is flowing to CAN 15 because information indicating the unit ID of the electronic control unit connected to CAN 15 is not received. However, since information is not written to the second flag at an unexpected timing, only the second flag set in the EEPROM 85 constituting the second storage unit 80 is kept cleared. This makes it possible to reliably shift from the first step inspection to the second step inspection. There is an advantage that it is possible to make a connection test of the electronic control unit in the AN system efficiently.

さらに、本発明の車載LANシステムの接続検査方法によれば、工場の生産ラインで行われる検査のみならず、車両出荷後であっても、同一のソフトウェアを用いて検査を行うことができるため、様々な場面における検査を、ソフトウェアを変更することなく効率的に実施できるという効果が得られる。   Furthermore, according to the connection inspection method for the in-vehicle LAN system of the present invention, not only the inspection performed in the factory production line, but also after the vehicle is shipped, the inspection can be performed using the same software. There is an effect that inspections in various scenes can be performed efficiently without changing the software.

また、本実施例では、メーターコントロールユニット55の検査を例にあげて説明したが、検査対象はメーターコントロールユニット55に限定されるものではない。すなわち、ドアやパワーウインドの開閉制御や照明の点消灯制御等を行うボディーコントロールユニットをはじめとする、車載LANに接続された、その他の電子制御機器の検査にも適用することができるのは言うまでもない。   In the present embodiment, the inspection of the meter control unit 55 has been described as an example. However, the inspection target is not limited to the meter control unit 55. In other words, it can be applied to inspection of other electronic control devices connected to an in-vehicle LAN such as a body control unit that performs door / power window open / close control and lighting on / off control. Yes.

さらに、本実施例で説明した車載LANは、CAN15によって構成されているが、これは、CAN以外のプロトコルを有するLANで構成されていても構わない。   Furthermore, although the vehicle-mounted LAN described in the present embodiment is configured by the CAN 15, it may be configured by a LAN having a protocol other than CAN.

なお、本発明は、ガソリン車のみならず、ハイブリッド車や電気自動車、燃料電池車等、車両の動力源の種類に拘わらず、車載ネットワーク環境を有する車両に適用することができる。   Note that the present invention can be applied not only to gasoline vehicles but also to vehicles having an in-vehicle network environment, regardless of the type of power source of the vehicle, such as hybrid vehicles, electric vehicles, and fuel cell vehicles.

15 CAN
25 ATコントロールユニット
35 クルーズコントロールユニット
45 ABSコントロールユニット
52 擬似信号発生器
55 メーターコントロールユニット
60 CPU
75 RAM
85 EEPROM
90 メーター
100 電源供給部
15 CAN
25 AT control unit 35 Cruise control unit 45 ABS control unit 52 Pseudo signal generator 55 Meter control unit 60 CPU
75 RAM
85 EEPROM
90 Meter 100 Power supply unit

Claims (2)

車内に配設された車載LAN、もしくは、前記車載LANを模した検査用LANで構成されるネットワーク環境と、
前記ネットワーク環境に接続され、電源が供給されている間は記憶内容が保持され、電源が供給されていないときには前記記憶内容が消去される第1の記憶部と、電源の供給状態に拘わらず、記憶内容が保持される第2の記憶部とを有し、前記ネットワーク環境を流れる情報に基づいて所定の機能を発揮する電子制御機器と、
前記ネットワーク環境に接続され、前記電子制御機器を作動させるために必要な情報を出力する少なくとも1つの電子制御ユニットと、
前記ネットワーク環境と前記電子制御機器と前記電子制御ユニットとに電源を供給する電源供給部と、
を備えた車載LANシステムにおいて、前記電子制御機器と前記電子制御ユニットとの接続状態を検査する接続検査方法であって、
前記第1の記憶部の第1のフラグが立っていないときに、前記電子制御機器が、前記ネットワーク環境に接続された前記電子制御ユニットの種類を検出する工程と、
前記電子制御機器が、前記ネットワーク環境に接続された前記電子制御ユニットの種類を検出したときに、前記第1の記憶部に所定の第1のフラグを立てるとともに、前記第2の記憶部に、前記ネットワーク環境に接続された前記電子制御ユニットの種類に対応する第2のフラグを立てる工程と、
前記電子制御機器が検出した、前記ネットワーク環境に接続された前記電子制御ユニットの種類と、前記第2のフラグの状態とが等しいときに、前記電子制御機器が、前記電子制御ユニットの前記ネットワーク環境への接続状態は正常であると判断する工程と、
前記第1のフラグが立っているときには、前記ネットワーク環境に接続された前記電子制御ユニットの種類の検出を行わない工程と、
前記第2のフラグを消去する工程と、
前記電源供給部からの電源の供給を停止させ、前記第1のフラグを消去させる工程とを含むことを特徴とする車載LANシステムの接続検査方法。
A network environment composed of an in-vehicle LAN disposed in a vehicle, or an inspection LAN imitating the in-vehicle LAN;
The first storage unit is connected to the network environment and retains the stored content while power is supplied, and the stored content is erased when power is not supplied, regardless of the power supply state. An electronic control device having a second storage unit in which stored contents are held, and exhibiting a predetermined function based on information flowing in the network environment;
At least one electronic control unit connected to the network environment and outputting information necessary to operate the electronic control device;
A power supply unit that supplies power to the network environment, the electronic control device, and the electronic control unit;
In a vehicle-mounted LAN system provided with a connection inspection method for inspecting a connection state between the electronic control device and the electronic control unit,
The electronic control device detecting the type of the electronic control unit connected to the network environment when the first flag of the first storage unit is not set;
When the electronic control device detects the type of the electronic control unit connected to the network environment, a predetermined first flag is set in the first storage unit, and in the second storage unit, Setting a second flag corresponding to the type of the electronic control unit connected to the network environment;
The electronic control device detects the network environment of the electronic control unit when the type of the electronic control unit connected to the network environment detected by the electronic control device is equal to the state of the second flag. Determining that the connection status to is normal;
A step of not detecting the type of the electronic control unit connected to the network environment when the first flag is set;
Erasing the second flag;
And a step of stopping the supply of power from the power supply unit and erasing the first flag.
前記電子制御ユニットの代わりに、前記電子制御機器に接続される可能性のある全ての前記電子制御ユニットが接続されていることと等価な状態であることを表す情報を前記ネットワーク環境に出力する擬似信号発生手段を接続する工程を含むことを特徴とする請求項1記載の車載LANシステムの接続検査方法。   Instead of the electronic control unit, a pseudo-output that outputs information indicating that the electronic control unit is connected to all the electronic control units that are likely to be connected to the electronic control device to the network environment. The in-vehicle LAN system connection inspection method according to claim 1, further comprising a step of connecting a signal generating means.
JP2011039517A 2011-02-25 2011-02-25 Connection inspection method of on-vehicle lan system Withdrawn JP2012177562A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011039517A JP2012177562A (en) 2011-02-25 2011-02-25 Connection inspection method of on-vehicle lan system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011039517A JP2012177562A (en) 2011-02-25 2011-02-25 Connection inspection method of on-vehicle lan system

Publications (1)

Publication Number Publication Date
JP2012177562A true JP2012177562A (en) 2012-09-13

Family

ID=46979499

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011039517A Withdrawn JP2012177562A (en) 2011-02-25 2011-02-25 Connection inspection method of on-vehicle lan system

Country Status (1)

Country Link
JP (1) JP2012177562A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019006324A (en) * 2017-06-28 2019-01-17 日立オートモティブシステムズ株式会社 Electronic control device for automobile

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019006324A (en) * 2017-06-28 2019-01-17 日立オートモティブシステムズ株式会社 Electronic control device for automobile

Similar Documents

Publication Publication Date Title
JP4274186B2 (en) Failure diagnosis apparatus and failure information recording method
JP5206737B2 (en) Electronic control device and information management system
JP5272507B2 (en) Electronic control unit
CN102043680B (en) Method and system for refreshing ECU (Electronic Control Unit) embedded software and downloading program
CN104149716A (en) Online vehicle maintenance
US20150094905A1 (en) Vehicle inspection verification and diagnostic unit
US20180370459A1 (en) Apparatus and method for checking or monitoring in-vehicle control unit
JP2007198939A (en) Vehicle failure diagnosis device
US20130158779A1 (en) Method for operating a fault diagnosis system of a vehicle and vehicle
KR101557283B1 (en) Apparatus and method for detecting the faking of meter in vehicle
JP2010269657A (en) Electronic control device and vehicle control system
JP2009096337A (en) Failure recording device
JP2012177562A (en) Connection inspection method of on-vehicle lan system
CN111775698B (en) Vehicle mileage information processing method and device and automobile
JP4281808B2 (en) VEHICLE CONTROL DEVICE AND ITS CONTROL METHOD
JP5617901B2 (en) Electronic control unit
US10248489B2 (en) Electronic control unit
US9501347B2 (en) Documentation of faults in a fault memory of a motor vehicle
JP4286721B2 (en) Vehicle diagnosis information acquisition device and vehicle diagnosis information acquisition method
CN115359585A (en) Method and device for troubleshooting vehicle in advance, vehicle and storage medium
JP7172748B2 (en) Electronic controller and inspection system
JP2004151021A (en) Fault diagnostic device for vehicle
CN103538535B (en) Vehicle information management system
JP2006177287A (en) Inspection device and inspection method for on-vehicle type failure diagnosis system
CN103248564A (en) Automobile-used gateway system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140513