JP2006228091A - Method for inspecting electronic control unit - Google Patents

Method for inspecting electronic control unit Download PDF

Info

Publication number
JP2006228091A
JP2006228091A JP2005043562A JP2005043562A JP2006228091A JP 2006228091 A JP2006228091 A JP 2006228091A JP 2005043562 A JP2005043562 A JP 2005043562A JP 2005043562 A JP2005043562 A JP 2005043562A JP 2006228091 A JP2006228091 A JP 2006228091A
Authority
JP
Japan
Prior art keywords
inspection
data
electronic control
gateway
control unit
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
JP2005043562A
Other languages
Japanese (ja)
Inventor
Naoya Kurahashi
直也 倉橋
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2005043562A priority Critical patent/JP2006228091A/en
Publication of JP2006228091A publication Critical patent/JP2006228091A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method for inspecting an electronic control unit (gateway ECU) having a gateway function by which productivity is improved by shortening inspection tact time. <P>SOLUTION: The terminals CAN1, CAN2 of gateway ECUs 1<SB>1</SB>to 1<SB>n</SB>are mutually inverted and connected in series, inspection pattern data are transmitted from the terminal CAN1 of the gateway ECU 1<SB>1</SB>which is one end of the serial connection and data received on the terminal CAN1 of the gateway ECU 1<SB>n</SB>which is the other end of the serial connection is compared with the transmitted data to inspect a gateway function. Since the communication (relay) functions of the plurality of gateway ECUs 1<SB>1</SB>to 1<SB>n</SB>can be inspected only by one inspection, inspection tact time can be shortened. When the gateway ECUs 1<SB>1</SB>to 1<SB>n</SB>are allowed to display respective lamps 3<SB>1</SB>to 3<SB>n</SB>at the completion of relay, a rejected gateway ECU can be detected by its OFF position. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は電子制御ユニットの検査方法に関し、特に車両に搭載される複数のネットワーク間でデータを中継する通信機能を持った電子制御ユニットの検査方法に関する。   The present invention relates to an inspection method for an electronic control unit, and more particularly to an inspection method for an electronic control unit having a communication function for relaying data between a plurality of networks mounted on a vehicle.

車両には、エンジンやトランスミッションを制御するエンジン・パワートレイン系、ステアリングやブレーキなどを制御するシャシ系、エアコン、パワーウインドウなどを制御するボディ系、オーディオ、ビデオなどを制御する情報系など、複数のネットワークが存在し、それぞれの系に適した通信速度やデータ形式などのプロトコルが採用されている。一般に、車載ネットワークのプロトコルには、CAN(Controller Area Network)プロトコルが採用されている。それぞれのネットワークは独立していて、それらの中では接続された機器同士で共通のプロトコルにより通信を行っていたが、車両に要求されるシステムが増大するに伴ってたとえば同一の検出対象のセンサが複数の制御系にて個々に設けられているといったことから、各ネットワークの垣根を越えてデータを共有することが行われるようになってきている。そのため、通信速度などの伝送条件が異なるネットワーク間でデータを相互に中継して通信を可能にする電子制御ユニットが用いられている。以下の説明においては、このようなデータの中継を行う通信機能を持った電子制御ユニット(ECU:electronic control unit)をゲートウェイ(G/W)ECUということにする。   There are several types of vehicles, such as an engine / powertrain system that controls engines and transmissions, a chassis system that controls steering and brakes, a body system that controls air conditioners and power windows, and an information system that controls audio and video. There are networks, and protocols such as communication speed and data format suitable for each system are adopted. Generally, a CAN (Controller Area Network) protocol is adopted as a protocol of the in-vehicle network. Each network is independent, and connected devices communicate with each other using a common protocol. However, as the number of systems required for vehicles increases, Since they are individually provided by a plurality of control systems, data is being shared across the boundaries of each network. Therefore, an electronic control unit is used that enables communication by relaying data between networks having different transmission conditions such as communication speed. In the following description, an electronic control unit (ECU) having a communication function for relaying such data is referred to as a gateway (G / W) ECU.

このようなゲートウェイECUは、その工場出荷時において検査を行うが、その検査としては、内部の組み立て後の結線が正常に行われていて、データを中継する機能が正常かどうかのゲートウェイ機能検査と、ECUそのものの検査とがある。ECU機能の検査については、検査時間を短縮し検査効率を向上した電子制御ユニット検査システムが知られている(たとえば、特許文献1参照。)。   Such a gateway ECU performs an inspection at the time of shipment from the factory. The inspection includes a gateway function inspection to check whether the connection after the internal assembly is normally performed and the function of relaying data is normal. And inspection of the ECU itself. Regarding the inspection of the ECU function, an electronic control unit inspection system that shortens the inspection time and improves the inspection efficiency is known (see, for example, Patent Document 1).

ゲートウェイECUのゲートウェイ機能検査では、検査装置に1台ずつゲートウェイECUを接続し、検査用のデータを使って、送信端から送信されたデータが受信端にて正常に受信されていることを確認することによって、中継の機能が正常かどうかの検査を行っている。
特開2000−121584号公報
In the gateway function inspection of the gateway ECU, the gateway ECU is connected to the inspection device one by one, and using the inspection data, it is confirmed that the data transmitted from the transmission end is normally received at the reception end. In this way, it is checked whether the relay function is normal.
JP 2000-121484 A

しかしながら、従来のゲートウェイECUの検査においては、各検査工程において、ゲートウェイECUを1台ずつチェックしているので、検査タクト時間が長く、生産性が悪いという問題点があった。   However, in the inspection of the conventional gateway ECU, since each gateway ECU is checked one by one in each inspection process, there is a problem that the inspection tact time is long and the productivity is poor.

本発明はこのような点に鑑みてなされたものであり、検査タクト時間を短縮して生産性を向上させる電子制御ユニットの検査方法を提供することを目的とする。   The present invention has been made in view of these points, and an object of the present invention is to provide an electronic control unit inspection method that shortens the inspection tact time and improves the productivity.

本発明では上記問題を解決するために、第1のネットワークに接続される端子と第2のネットワークに接続される端子とを有し、前記第1および第2のネットワーク間でデータを中継するゲートウェイ機能を持った電子制御ユニットの検査方法において、同じネットワークが接続される端子同士を接続して複数の前記電子制御ユニットを直列に接続し、直列接続の一端から検査用のデータを送信データとして送信し、直列接続の他端において複数の前記電子制御ユニットを中継してきた前記検査用のデータを受信データとして受信し
、前記受信データと前記送信データとを確認することにより前記ゲートウェイ機能を検査することを特徴とする電子制御ユニットの検査方法が提供される。
In order to solve the above problem, the present invention has a terminal connected to the first network and a terminal connected to the second network, and relays data between the first and second networks. In an inspection method for an electronic control unit having a function, a plurality of electronic control units are connected in series by connecting terminals to which the same network is connected, and data for inspection is transmitted as transmission data from one end of the serial connection And receiving the test data relayed through the plurality of electronic control units at the other end of the series connection as received data, and checking the gateway function by confirming the received data and the transmitted data. An inspection method for an electronic control unit is provided.

このような電子制御ユニットの検査方法によれば、1度の検査で複数の電子制御ユニットのゲートウェイ機能を一気に検査することができるので、検査タクト時間を短縮することができる。   According to such an electronic control unit inspection method, the gateway functions of a plurality of electronic control units can be inspected at a time by one inspection, so that the inspection tact time can be shortened.

本発明の電子制御ユニットの検査方法は、1つの検査装置から1つの検査用のデータを送信することにより、1度に複数の電子制御ユニットがデータの中継を行うのを確認することができ、検査用のデータを電子制御ユニットの台数分送信する必要がないため、検査タクト時間を短縮し、生産性を向上させることができるという利点がある。   The electronic control unit inspection method of the present invention can confirm that a plurality of electronic control units relay data at a time by transmitting one inspection data from one inspection device, Since there is no need to transmit inspection data for the number of electronic control units, there is an advantage that inspection tact time can be shortened and productivity can be improved.

また、送信してから受信完了するまでの中継時間を計測し、中継時間が所定の時間内でなければ、不合格と判定するようにしたことで、中継に時間のかかる不良品の市場流出を防止することができる。   In addition, the relay time from transmission to completion of reception is measured, and if the relay time is not within the predetermined time, it is determined that the relay is rejected. Can be prevented.

さらに、電子制御ユニットが受信したデータを正常に再送信した場合に、中継が正常に完了したことを通知するようにしたことにより、データの送信方向に最初に中継完了の通知のなかった電子制御ユニットのみを別の電子制御ユニットと交換することにより、検査を迅速に再開することができる。   In addition, when the data received by the electronic control unit is retransmitted normally, notification that the relay has been completed normally has been made. By exchanging only the unit with another electronic control unit, the inspection can be resumed quickly.

そして、接続する電子制御ユニットの数を偶数個にすることで、両端のプロトコルが共通となり、あるいは、同一条件のプロトコルの適用が可能となり、1種類のプロトコルに対応した検査装置のみで検査が可能になるため、検査設備開発工数を削減することができる。   By making the number of electronic control units to be connected to an even number, the protocols at both ends can be made common, or protocols with the same conditions can be applied, and inspection can be performed only with an inspection device that supports one type of protocol. Therefore, the inspection equipment development man-hours can be reduced.

以下、本発明の実施の形態を、2つのCANバス間でデータの中継を行う通信機能を持ったゲートウェイECUの検査に適用した場合を例に図面を参照して詳細に説明する。なお、2つのCANバスは、互いにデータ伝送速度が異なるCANプロトコルにより制御される。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings, taking as an example a case where the embodiment is applied to an inspection of a gateway ECU having a communication function for relaying data between two CAN buses. Note that the two CAN buses are controlled by CAN protocols having different data transmission rates.

図1は本発明によるゲートウェイECUの検査方法を示す説明図である。
本発明の検査方法においては、それぞれ2つのCANバスに接続される端子CAN1,CAN2を有するゲートウェイECU11〜1nの通信機能をチェック対象としている。検査時においては、図示のように、複数のゲートウェイECU11〜1nは、端子CAN1,CAN2を互いに反転させて直列に接続され、互いに接続される端子CAN1,CAN2が同じプロトコルになるようにしている。直列接続のその両端は、検査装置2に接続されている。
FIG. 1 is an explanatory diagram showing a gateway ECU inspection method according to the present invention.
In the inspection method of the present invention, the communication functions of the gateway ECUs 1 1 to 1 n each having terminals CAN 1 and CAN 2 connected to two CAN buses are to be checked. At the time of inspection, as shown in the figure, the plurality of gateway ECUs 1 1 to 1 n are connected in series by inverting the terminals CAN 1 and CAN 2 so that the terminals CAN 1 and CAN 2 connected to each other have the same protocol. Yes. Both ends of the series connection are connected to the inspection device 2.

以上の構成により、検査装置2が直列接続の一端であるゲートウェイECU11の端子CAN1に検査用のデータを送信すると、そのデータは、それぞれのゲートウェイECU12〜1nにて順次プロトコル変換されながら中継されていく。直列接続の他端であるゲートウェイECU1nの端子CAN1にて受信されたデータは、検査装置2に入力され、検査装置2では、送信されたデータと受信されたデータとを比較することで、複数のゲートウェイECU11〜1nの通信(中継)機能が正常かどうかを一度の操作で同時に検査することができる。これにより、検査タクト時間を大幅に短縮することができ、生産性を向上させることができる。 With the above configuration, when the inspection device 2 transmits inspection data to the terminal CAN1 of the gateway ECU 11 which is one end of the serial connection, the data is relayed while being sequentially converted into protocols by the respective gateway ECUs 1 2 to 1 n . It will be done. Data received by the gateway ECU 1 n terminal CAN1 is the other end of the series connection, is input to the inspection device 2, the inspection device 2, by comparing the received and transmitted data data, a plurality It is possible to simultaneously check whether the communication (relay) function of the gateway ECUs 1 1 to 1 n is normal with a single operation. Thereby, the inspection tact time can be greatly shortened, and the productivity can be improved.

各ゲートウェイECU11〜1nは、また、ランプ31〜3nがそれぞれ接続されていて、受信したデータを再送信した後に点灯表示させて中継が正常に完了したことを通知するようにしている。これにより、中継機能が正常に働いていた場合には、ランプ31〜3nが順次点灯していくことになる。もし、直列接続されたゲートウェイECU11〜1nの中に中継機能が正常でないものがあれば、それ以降のランプが消灯したままであるので、データが中継されていく方向にて最初にランプが消灯しているゲートウェイECUを不良であると判断することができる。 The gateway ECUs 1 1 to 1 n are also connected to the lamps 3 1 to 3 n , respectively, and retransmit the received data so that they are turned on to notify that the relay has been completed normally. . As a result, when the relay function is operating normally, the lamps 3 1 to 3 n are sequentially turned on. If there is a relay function that is not normal among the gateway ECUs 1 1 to 1 n connected in series, since the subsequent lamps remain off, the first lamp is turned on in the direction in which data is relayed. It can be determined that the gateway ECU that is turned off is defective.

なお、直列接続するゲートウェイECU11〜1nの数を偶数個にすることで、両端のCANプロトコルを同じにすることができる。これにより、検査装置2は、検査用の送受信データを同じCANプロトコルで扱うことができる。 Note that by the number of gateway ECU 1 1 to 1 n to be connected in series to an even number, it is possible to equalize the CAN protocol at both ends. Thereby, the inspection apparatus 2 can handle transmission / reception data for inspection using the same CAN protocol.

次に、ゲートウェイECU11〜1nが検査装置2に接続される部分について詳細に説明する。なお、すべてのゲートウェイECU11〜1nは、同じ構成を有しているので、詳細な構成の説明はゲートウェイECU11が代表して行うことにする。 Next, a portion where the gateway ECUs 1 1 to 1 n are connected to the inspection apparatus 2 will be described in detail. Since all the gateway ECUs 1 1 to 1 n have the same configuration, the detailed configuration will be described by the gateway ECU 1 1 as a representative.

図2は検査装置とゲートウェイECUとの接続状態を示す詳細図である。
ゲートウェイECU11は、その本体内に、ECU4と、CANコントローラ5と、トランシーバ6とを備えており、外部との接続はコネクタ7によって行うよう構成されている。ECU4は、図示はしないが、CPU(Central Processing Unit)と、ROM(Read only memory)と、RAM(Random Access Memory)と、入出力部とを備えている。ROMは、たとえばフラッシュメモリで構成され、少なくともゲートウェイ機能検査の際には、検査用のプログラムがあらかじめ書き込まれている。
FIG. 2 is a detailed view showing a connection state between the inspection apparatus and the gateway ECU.
The gateway ECU 11 includes an ECU 4 , a CAN controller 5, and a transceiver 6 in its main body, and is configured to be connected to the outside by a connector 7. Although not shown, the ECU 4 includes a central processing unit (CPU), a read only memory (ROM), a random access memory (RAM), and an input / output unit. The ROM is composed of, for example, a flash memory, and a test program is written in advance at least in the gateway function test.

検査装置2は、接続装置8が一体または別体に設けられており、その接続装置8には、ゲートウェイECU11のコネクタ7が嵌合されるコネクタ9が設けられている。接続装置8は、その内部に、複数のゲートウェイECU11〜1nを直列に接続するための配線が設けられ、さらに、中継機能が正常に動作したときに点灯するランプ31が設けられている。このランプ31は、ゲートウェイECU11のコネクタ7を接続装置8のコネクタ9に装着したときに、端子CHKを介してECU4に接続され、中継機能が正常に動作したときに、端子CHKにランプ点灯信号を出力するようになっている。 The inspection device 2 is provided with a connection device 8 integrally or separately, and the connection device 8 is provided with a connector 9 into which the connector 7 of the gateway ECU 11 is fitted. The connection device 8 is provided therein with wiring for connecting a plurality of gateway ECUs 1 1 to 1 n in series, and further provided with a lamp 3 1 that is lit when the relay function operates normally. . The lamp 3 1, when fitted with a gateway ECU 1 1 of the connector 7 to the connector 9 of the connecting device 8 is connected to ECU4 via the terminal CHK, when the relay function is operating normally, the lamp lights terminal CHK A signal is output.

検査装置2についても、図示はしないが、CPU、ROM、RAM、入出力部を備え、さらに検査結果を表示するモニタ、検査開始スイッチなども備えている。ROMには、ゲートウェイ機能検査用のプログラムが書き込まれている。   Although not shown, the inspection apparatus 2 includes a CPU, a ROM, a RAM, and an input / output unit, and further includes a monitor for displaying the inspection result, an inspection start switch, and the like. A ROM function test program is written in the ROM.

次に、検査装置2が直列に接続された複数のゲートウェイECU11〜1nに中継させて検査を行うための検査用のデータについて説明する。
図3は検査用のデータの一例を示す図である。
Next, inspection data for relaying inspection to a plurality of gateway ECUs 1 1 to 1 n to which the inspection device 2 is connected in series will be described.
FIG. 3 is a diagram showing an example of inspection data.

検査用のデータは、8ビットデータの1ビットだけを順次変えて構成した検査パターンを有している。1ビットずつ異なるパターンを有するこれら8個のデータは、検査時に順次シリアル送信される。検査装置2は、送信端のデータと受信端のデータとを比較し、0から7までのすべてのビット位置で同じデータになっているかを確認することによって、ゲートウェイ機能の検査を行う。   The inspection data has an inspection pattern configured by sequentially changing only one bit of 8-bit data. These eight data having different patterns for each bit are serially transmitted sequentially at the time of inspection. The inspection device 2 compares the data at the transmission end with the data at the reception end, and checks whether all the bit positions from 0 to 7 have the same data, thereby inspecting the gateway function.

次に、その検査装置2の動作について説明する。検査装置2は、上述のゲートウェイ機能検査用のプログラムに従って動作する。
図4は検査装置の処理の流れを示すフローチャートである。
Next, the operation of the inspection apparatus 2 will be described. The inspection device 2 operates according to the above-described gateway function inspection program.
FIG. 4 is a flowchart showing a processing flow of the inspection apparatus.

まず、検査装置2は、直列接続された複数のゲートウェイECU11〜1nの一方の端であるゲートウェイECU11の端子CAN1に検査パターンのデータを送信する(ステップS1)。これにより、その検査パターンのデータは、複数のゲートウェイECUを中継して送信されていき、他方の端であるゲートウェイECU1nの端子CAN1にて、送信された検査パターンのデータを受信完了したかどうかが判断される(ステップS2)。ここで、送信された検査パターンのデータが受信完了していなければ、検査パターンのデータの送信からあらかじめ定めた所定時間経過しているかどうかが判断される(ステップS3)。検査パターンのデータの送信から所定時間が経過していなければ、ステップS2に戻り、その所定時間の範囲内にて検査パターンのデータが受信完了するまで、待つ。 First, the inspection device 2 transmits inspection pattern data to the terminal CAN1 of the gateway ECU 11 which is one end of the plurality of gateway ECUs 1 1 to 1 n connected in series (step S1). Accordingly, whether or not the test pattern data is transmitted through the plurality of gateway ECUs, and reception of the transmitted test pattern data is completed at the terminal CAN1 of the gateway ECU 1 n which is the other end. Is determined (step S2). Here, if the transmitted inspection pattern data has not been received, it is determined whether or not a predetermined time has elapsed since the transmission of the inspection pattern data (step S3). If the predetermined time has not elapsed since the transmission of the inspection pattern data, the process returns to step S2 and waits until the reception of the inspection pattern data is completed within the predetermined time range.

ステップS2の判断にて、検査パターンのデータが受信完了した場合には、その検査パターンのデータが送信してから受信するまでに要した中継時間があらかじめ定めた所定時間内であるかどうかが判断される(ステップS4)。中継時間が所定時間内であれば、検査パターンの送信したデータと受信したデータとが一致しているかどうかが判断される(ステップS5)。ここで、送受信データが一致している場合には、検査装置2のモニタに検査OKの通知を行う(ステップS6)。これにより、検査員は、そのモニタに通知された検査OKの結果を見ることにより、検査したすべてのゲートウェイECU11〜1nが合格であると判断することができる。 If it is determined in step S2 that the test pattern data has been received, it is determined whether or not the relay time required from transmission of the test pattern data to reception is within a predetermined time. (Step S4). If the relay time is within a predetermined time, it is determined whether the data transmitted by the inspection pattern matches the received data (step S5). Here, if the transmitted and received data match, the inspection OK is notified to the monitor of the inspection apparatus 2 (step S6). Thus, the inspector can determine that all the inspected gateway ECUs 1 1 to 1 n have passed by looking at the result of the inspection OK notified to the monitor.

もし、ステップS2およびステップS3の判断において、送信した検査パターンのデータが所定時間経過しても受信完了しなかった場合、ステップS4の判断において、所定時間経過するまでに受信完了したが、中継時間が所定時間を越えていた場合、あるいは、ステップS5での判断にて、受信したデータが送信したデータと異なる場合には、検査装置2のモニタに検査NGの通知を行う(ステップS7)。これにより、検査員は、そのモニタに通知された検査NGの結果を見ることにより、検査した複数のゲートウェイECU11〜1nの中に不合格の製品があること知ることができる。 If it is determined in step S2 and step S3 that reception of the transmitted test pattern data has not been completed even after a predetermined time has elapsed, the determination in step S4 has completed reception until the predetermined time has elapsed. Has exceeded the predetermined time, or if the received data is different from the transmitted data as determined in step S5, the inspection of the inspection apparatus 2 is notified of the inspection NG (step S7). Thereby, the inspector can know that there are unacceptable products among the plurality of gateway ECUs 1 1 to 1 n inspected by looking at the result of the inspection NG notified to the monitor.

このように、検査装置は、複数のゲートウェイECU11〜1nの中に検査NGのものが含まれていた場合、検査NGのゲートウェイECUがあることが分かっても、どのゲートウェイECUが検査NGであるかまでは判断することはできない。そこで、各ゲートウェイECU11〜1nは、検査パターンのデータを中継するときに正しく中継が終了したことをランプ31〜3nで表示するようにしている。この処理は、ECU4に格納された検査用のプログラムによって行われる。 As described above, when the inspection apparatus includes the inspection ECU NG among the plurality of gateway ECUs 1 1 to 1 n , even if it is known that there is the gateway ECU of the inspection NG, which gateway ECU is the inspection NG It cannot be judged until there is. Accordingly, the gateway ECUs 1 1 to 1 n display the lamps 3 1 to 3 n to indicate that the relay has been correctly completed when relaying the test pattern data. This process is performed by an inspection program stored in the ECU 4.

図5はゲートウェイECUの処理の流れを示すフローチャートである。
ゲートウェイECUの検査用のプログラムは、まず、端子CAN1,CAN2のいずれか一方から検査パターンのデータを受信すると(ステップS11)、その検査パターンのデータを端子CAN1,CAN2の他方へ送信する(ステップS12)。その後、受信した検査パターンのデータがそのまま正常に再送信されたかどうかが判断され(ステップS13)、正しく中継されていれば、ランプ31〜3nを点灯させて中継完了を検査員に通知することになる(ステップS14)。なお、ステップS13における判断においては、検査装置2にて行った、中継に要する所要時間が所定時間内であるか、送受信の検査パターンが一致しているかなどのチェックを行うようにしてもよい。
FIG. 5 is a flowchart showing a processing flow of the gateway ECU.
First, when the inspection program of the gateway ECU receives inspection pattern data from one of the terminals CAN1 and CAN2 (step S11), the inspection program data is transmitted to the other of the terminals CAN1 and CAN2 (step S12). ). Thereafter, the data of the test pattern received whether retransmitted as it normally is determined (step S13), and if properly relay, lamp 3 is lit 1 to 3 n to notify the inspector relays completion (Step S14). In the determination in step S13, it may be checked whether the time required for relaying performed by the inspection apparatus 2 is within a predetermined time or whether the transmission / reception inspection patterns match.

これにより、検査パターンのデータを正常に中継したゲートウェイECUについては、ランプが点灯しているので、少なくともランプが点灯しているゲートウェイECUは、検査OKのゲートウェイECUであることが分かる。また、検査装置が検査NGの検査結果を出しているときに、ランプの点灯がデータの送信方向に最初に途切れたゲートウェイECUは、検査NGであるとすることができる。この場合、その検査NGとなったゲートウェイECUを別のゲートウェイECUと交換して、再度、検査装置による検査を行うこと
になる。
As a result, the gateway ECU that normally relays the test pattern data is lit, so that at least the gateway ECU whose lamp is lit is the gateway ECU for the test OK. In addition, when the inspection device outputs the inspection result of the inspection NG, the gateway ECU in which the lighting of the lamp is first interrupted in the data transmission direction may be the inspection NG. In this case, the gateway ECU that has become the inspection NG is replaced with another gateway ECU, and the inspection by the inspection device is performed again.

以上は、一方向に送信される検査パターンのデータが正常に中継されたかどうかを検査するものであるが、次は、データの中継が双方向に正常に行われるかどうかを検査する場合について説明する。   The above is to check whether or not the test pattern data transmitted in one direction is normally relayed. Next, the case of checking whether or not the data relay is normally performed in both directions will be described. To do.

図6は検査装置の別の処理の流れを示すフローチャートである。
まず、検査装置2は、直列接続された複数のゲートウェイECU11〜1nの一方の端であるゲートウェイECU11の端子CAN1に検査パターンのデータを送信する(ステップS21)。これにより、その検査パターンのデータは、複数のゲートウェイECU11〜1nを中継して送信されていき、他方の端であるゲートウェイECU1nの端子CAN1にて、受信されたかどうかが判断される(ステップS22)。ここで、送信された検査パターンのデータが受信完了していなければ、検査パターンのデータの送信からあらかじめ定めた所定時間経過しているかどうかが判断され(ステップS23)、検査パターンのデータの送信から所定時間が経過していなければ、ステップS22に戻って、所定時間経過するまで検査パターンのデータが受信完了するのを待つ。
FIG. 6 is a flowchart showing another processing flow of the inspection apparatus.
First, the inspection apparatus 2 transmits inspection pattern data to the terminal CAN1 of the gateway ECU 11 which is one end of the plurality of gateway ECUs 1 1 to 1 n connected in series (step S21). Thereby, the data of the inspection pattern is relayed and transmitted through the plurality of gateway ECUs 1 1 to 1 n, and it is determined whether or not the data is received at the terminal CAN 1 of the gateway ECU 1 n which is the other end ( Step S22). Here, if the transmitted inspection pattern data is not completely received, it is determined whether or not a predetermined time has elapsed since the transmission of the inspection pattern data (step S23). If the predetermined time has not elapsed, the process returns to step S22, and waits for completion of reception of the inspection pattern data until the predetermined time elapses.

ステップS22の判断にて、検査パターンのデータが受信完了した場合には、その検査パターンのデータが送信してから受信するまでに要した中継時間があらかじめ定めた所定時間内であるかどうかが判断され(ステップS24)、中継時間が所定時間内であれば、検査パターンの送信したデータと受信したデータとが一致しているかどうかが判断される(ステップS25)。   If it is determined in step S22 that the inspection pattern data has been received, it is determined whether or not the relay time required from the transmission of the inspection pattern data to reception is within a predetermined time. If the relay time is within a predetermined time (step S24), it is determined whether or not the transmitted data of the test pattern matches the received data (step S25).

もし、ステップS22およびステップS23の判断において、送信した検査パターンのデータが所定時間経過しても受信完了しなかった場合、ステップS24の判断において、所定時間経過するまでに受信完了したが、中継時間が所定時間を越えていた場合、あるいは、ステップS25での判断にて、受信した検査パターンのデータが送信した検査パターンのデータと異なる場合には、検査装置2のモニタに検査NGの通知を行う(ステップS26)。   If it is determined in step S22 and step S23 that reception of the inspection pattern data has not been completed even after a predetermined time has elapsed, reception has been completed in step S24 until the predetermined time has elapsed. If the measured time exceeds the predetermined time, or if the received inspection pattern data is different from the transmitted inspection pattern data as determined in step S25, the inspection NG is notified to the monitor of the inspection apparatus 2. (Step S26).

次に、検査装置2は、他方の端であるゲートウェイECU1nの端子CAN1に検査パターンのデータを送信する(ステップS27)。これにより、その検査パターンのデータは、複数のゲートウェイECU11〜1nを先の検査とは逆方向に中継して送信されていき、ゲートウェイECU11の端子CAN1にて受信されたかどうかが判断される(ステップS28)。ここで、送信された検査パターンのデータが受信完了していなければ、検査パターンのデータの送信からあらかじめ定めた所定時間経過しているかどうかが判断され(ステップS29)、検査パターンのデータの送信から所定時間が経過していなければ、ステップS28に戻って、所定時間経過するまで検査パターンのデータが受信完了するのを待つ。 Next, the inspection apparatus 2 transmits the data of the test pattern to the gateway ECU 1 n terminal CAN1 which is the other end (step S27). As a result, the data of the inspection pattern is transmitted by relaying the plurality of gateway ECUs 1 1 to 1 n in the opposite direction to the previous inspection, and it is determined whether or not the data is received at the terminal CAN 1 of the gateway ECU 11. (Step S28). Here, if the transmitted inspection pattern data has not been received, it is determined whether or not a predetermined time has elapsed since the transmission of the inspection pattern data (step S29). If the predetermined time has not elapsed, the process returns to step S28, and waits until the inspection pattern data is completely received until the predetermined time elapses.

ステップS28の判断にて、検査パターンのデータが受信完了した場合には、その検査パターンのデータが送信してから受信するまでに要した中継時間があらかじめ定めた所定時間内であるかどうかが判断され(ステップS30)、中継時間が所定時間内であれば、検査パターンの送信したデータと受信したデータとが一致しているかどうかが判断される(ステップS31)。   If it is determined in step S28 that the inspection pattern data has been received, it is determined whether or not the relay time required from the transmission of the inspection pattern data to reception is within a predetermined time. If the relay time is within the predetermined time (step S30), it is determined whether the transmitted data of the test pattern matches the received data (step S31).

ここで、検査パターンの逆方向に送信したデータと受信したデータとが一致している場合には、検査装置2のモニタに検査OKの通知を行う(ステップS32)。これにより、検査員は、そのモニタに通知された検査OKの結果を見ることにより、検査したすべてのゲートウェイECU11〜1nが合格であると判断することができる。 Here, when the data transmitted in the reverse direction of the inspection pattern matches the received data, the inspection OK is notified to the monitor of the inspection apparatus 2 (step S32). Thus, the inspector can determine that all the inspected gateway ECUs 1 1 to 1 n have passed by looking at the result of the inspection OK notified to the monitor.

もし、ステップS28およびステップS29の判断において、逆方向に送信した検査パターンのデータが所定時間経過しても受信完了しなかった場合、ステップS30の判断において、所定時間経過するまでに受信完了したが、中継時間が所定時間を越えていた場合、あるいは、ステップS31での判断にて、受信した検査パターンのデータが送信した検査パターンのデータと異なる場合には、検査装置2のモニタに検査NGの通知を行う(ステップS33)。これにより、検査員は、そのモニタに通知された検査NGの結果を見ることにより、検査した複数のゲートウェイECUの中に不合格の製品があること知ることができ、さらに、ランプの点灯状態を確認することにより、どのゲートウェイECUが検査NGであるかを推定することができる。たとえば、最初の送信方向において最初にランプが消灯しているゲートウェイECUと、逆の送信方向から見て最初にランプが消灯しているゲートウェイECUとを検査NGとすることができる。このような場合には、その送信方向にて最初にランプが消灯しているゲートウェイECUを交換し、再度、上記双方向の検査を実施することになる。   If it is determined in step S28 and step S29 that reception of the test pattern data transmitted in the reverse direction has not been completed even after a predetermined time has elapsed, it has been completed in step S30 until the predetermined time has elapsed. If the relay time exceeds the predetermined time, or if the received inspection pattern data is different from the transmitted inspection pattern data in the determination in step S31, the inspection NG is displayed on the monitor of the inspection apparatus 2. Notification is performed (step S33). Thereby, the inspector can know that there are unacceptable products among the plurality of inspected gateway ECUs by looking at the result of the inspection NG notified to the monitor, and further check the lighting state of the lamp. By confirming, it can be estimated which gateway ECU is the inspection NG. For example, the gateway ECU whose lamp is initially turned off in the first transmission direction and the gateway ECU whose lamp is initially turned off when viewed from the opposite transmission direction can be used as the inspection NG. In such a case, the gateway ECU whose lamp is initially extinguished in the transmission direction is replaced, and the bidirectional inspection is performed again.

なお、上記の実施の形態では、CANプロトコルを利用した2つのネットワーク間でデータを中継するゲートウェイ装置の検査方法について説明したが、異なるプロトコル、たとえばCANとMOST(Media Oriented System Transport)などを利用したネットワーク間を中継するゲートウェイ装置の検査方法にも本発明を適用することができる。   In the above embodiment, the gateway device inspection method for relaying data between two networks using the CAN protocol has been described. However, different protocols such as CAN and MOST (Media Oriented System Transport) are used. The present invention can also be applied to a gateway device inspection method that relays between networks.

本発明によるゲートウェイECUの検査方法を示す説明図である。It is explanatory drawing which shows the inspection method of gateway ECU by this invention. 検査装置とゲートウェイECUとの接続状態を示す詳細図である。It is detail drawing which shows the connection state of a test | inspection apparatus and gateway ECU. 検査用のデータの一例を示す図である。It is a figure which shows an example of the data for a test | inspection. 検査装置の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of an inspection apparatus. ゲートウェイECUの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of gateway ECU. 検査装置の別の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of another process of an inspection apparatus.

符号の説明Explanation of symbols

1〜1n ゲートウェイECU
2 検査装置
1〜3n ランプ
1 1 to 1 n gateway ECU
2 Inspection equipment 3 1 to 3 n lamp

Claims (7)

第1のネットワークに接続される端子と第2のネットワークに接続される端子とを有し、前記第1および第2のネットワーク間でデータを中継するゲートウェイ機能を持った電子制御ユニットの検査方法において、
同じネットワークが接続される端子同士を接続して複数の前記電子制御ユニットを直列に接続し、
直列接続の一端から検査用のデータを送信データとして送信し、
直列接続の他端において複数の前記電子制御ユニットを中継してきた前記検査用のデータを受信データとして受信し、
前記受信データと前記送信データとを確認することにより前記ゲートウェイ機能を検査することを特徴とする電子制御ユニットの検査方法。
In an inspection method for an electronic control unit having a terminal connected to a first network and a terminal connected to a second network, and having a gateway function for relaying data between the first and second networks ,
A plurality of the electronic control units are connected in series by connecting terminals to which the same network is connected,
Send inspection data as transmission data from one end of the serial connection,
The test data relayed through the plurality of electronic control units at the other end of the serial connection is received as received data,
An inspection method for an electronic control unit, wherein the gateway function is inspected by confirming the reception data and the transmission data.
前記受信データと前記送信データとの確認は、前記検査用のデータの検査パターンが一致した場合のみ直列に接続されたすべての前記電子制御ユニットを合格と判定することを特徴とする請求項1記載の電子制御ユニットの検査方法。   2. The confirmation of the reception data and the transmission data is performed by determining that all the electronic control units connected in series are passed only when a test pattern of the test data matches. Inspection method for electronic control unit. 前記送信データが前記受信データとして受信完了するまでの中継時間を計測し、前記中継時間があらかじめ定めた所定の時間内でなければ、不合格と判定することを特徴とする請求項1記載の電子制御ユニットの検査方法。   2. The electronic device according to claim 1, wherein a relay time until the transmission data is completely received as the reception data is measured, and if the relay time is not within a predetermined time, it is determined that the transmission is failed. Control unit inspection method. 前記電子制御ユニットは、受信したデータを正常に再送信した場合に、中継が正常に完了したことを通知するようにしたことを特徴とする請求項1記載の電子制御ユニットの検査方法。   2. The electronic control unit inspection method according to claim 1, wherein when the received data is normally retransmitted, the electronic control unit notifies that the relay is normally completed. 前記送信データの送信方向にて最初に中継完了の通知がなされない前記電子制御ユニットを不合格と判定することを特徴とする請求項4記載の電子制御ユニットの検査方法。   The electronic control unit inspection method according to claim 4, wherein the electronic control unit that is not initially notified of relay completion in the transmission direction of the transmission data is determined to be unacceptable. 前記受信データが受信完了後または前記送信データの送信から所定時間経過後に、直列接続の前記他端から検査用のデータを送信して逆方向に中継させるようにしたことを特徴とする請求項4記載の電子制御ユニットの検査方法。   5. The inspection data is transmitted from the other end of the serial connection and relayed in the reverse direction after the reception data is completely received or after a predetermined time has elapsed from the transmission of the transmission data. Inspection method of electronic control unit of description. 前記電子制御ユニットの数を偶数個にして直列接続の両端の端子が同一のネットワークに接続される端子となるように接続したことを特徴とする請求項1記載の電子制御ユニットの検査方法。
2. The inspection method for an electronic control unit according to claim 1, wherein the number of the electronic control units is an even number and the terminals at both ends of the series connection are connected to the same network.
JP2005043562A 2005-02-21 2005-02-21 Method for inspecting electronic control unit Withdrawn JP2006228091A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005043562A JP2006228091A (en) 2005-02-21 2005-02-21 Method for inspecting electronic control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005043562A JP2006228091A (en) 2005-02-21 2005-02-21 Method for inspecting electronic control unit

Publications (1)

Publication Number Publication Date
JP2006228091A true JP2006228091A (en) 2006-08-31

Family

ID=36989401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005043562A Withdrawn JP2006228091A (en) 2005-02-21 2005-02-21 Method for inspecting electronic control unit

Country Status (1)

Country Link
JP (1) JP2006228091A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010177764A (en) * 2009-01-27 2010-08-12 Nissan Motor Co Ltd Gateway device and diagnosis method thereof
JP2014092047A (en) * 2012-11-01 2014-05-19 Denso Corp Counter device
JP2019053405A (en) * 2017-09-13 2019-04-04 株式会社デンソー Vehicle control device
JP2021133886A (en) * 2020-02-28 2021-09-13 株式会社ファルテック Information acquisition device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010177764A (en) * 2009-01-27 2010-08-12 Nissan Motor Co Ltd Gateway device and diagnosis method thereof
JP2014092047A (en) * 2012-11-01 2014-05-19 Denso Corp Counter device
US9153081B2 (en) 2012-11-01 2015-10-06 Denso Corporation Counter apparatus
JP2019053405A (en) * 2017-09-13 2019-04-04 株式会社デンソー Vehicle control device
JP2021133886A (en) * 2020-02-28 2021-09-13 株式会社ファルテック Information acquisition device

Similar Documents

Publication Publication Date Title
JP2006222649A (en) Gateway device with network monitoring function
WO2014057642A1 (en) Relay device
US10887128B2 (en) In-vehicle network system
KR101430854B1 (en) Communication connectors, communication harness, and communication system
JP2006352553A (en) On-vehicle communication system and on-vehicle gateway device
JP2006287739A (en) Gateway unit
US20200204396A1 (en) On-board communication system, on-board relay apparatus, and message relay method
JP2014039085A (en) Vehicle communication system and repeating device
CN111919422B (en) Method for operating an ethernet on-board network of a motor vehicle, control unit and ethernet on-board network
JP2006228091A (en) Method for inspecting electronic control unit
JP5019983B2 (en) In-vehicle communication system, relay device, and communication method
JP2006333007A (en) Vehicle communication system and data communication method
CN106647682A (en) Information obtaining method and device for vehicle fault diagnosis
KR101734255B1 (en) Apparatus and method for inspecting vehicle
US10496575B1 (en) Multi-protocol determining method based on CAN bus
JP2007228232A (en) On-vehicle lan system, electronic control unit, and relay connection unit
JP4792081B2 (en) Railway vehicle transmission system
JP4603899B2 (en) Gateway device with communication error detection function and communication system
JP2009302783A (en) Failure detecting method and failure detection system of communication network
CA3168562A1 (en) Remote vehicle diagnosis system and method thereof
KR20150015831A (en) Apparatus and method for detecting errors of can communication
JP6508092B2 (en) Vehicle gateway device and program
WO2019225317A1 (en) Vehicle-mounted communication device and communication method
JP2009035237A (en) Failure diagnosis device, and failure diagnosis method
JP4259468B2 (en) Diagnostic system for vehicles

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