JP2016151471A - Vehicle inspection device - Google Patents

Vehicle inspection device Download PDF

Info

Publication number
JP2016151471A
JP2016151471A JP2015028720A JP2015028720A JP2016151471A JP 2016151471 A JP2016151471 A JP 2016151471A JP 2015028720 A JP2015028720 A JP 2015028720A JP 2015028720 A JP2015028720 A JP 2015028720A JP 2016151471 A JP2016151471 A JP 2016151471A
Authority
JP
Japan
Prior art keywords
communication
communication request
inspection
vehicle
buffer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015028720A
Other languages
Japanese (ja)
Other versions
JP6400500B2 (en
Inventor
夢樹 由井
Yumeki Yui
夢樹 由井
篠塚 典之
Noriyuki Shinozuka
典之 篠塚
一守 酒井
Kazumori Sakai
一守 酒井
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.)
Honda Motor Co Ltd
Original Assignee
Honda Motor Co 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 Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP2015028720A priority Critical patent/JP6400500B2/en
Publication of JP2016151471A publication Critical patent/JP2016151471A/en
Application granted granted Critical
Publication of JP6400500B2 publication Critical patent/JP6400500B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a vehicle inspection device capable of efficiently performing inspection with respect to multiple electronic control devices mounted on a vehicle.SOLUTION: A vehicle inspection device 1 includes: an inspection processing unit 2 for generating a communication request; and a communication processing unit 3 for transmitting the communication request to the ECU of a transmission destination. The inspection processing unit 2 includes: an inspection control section 51 for generating multiple communication requests; a transmission flow control section 52 having a communication request buffer for storing multiple communication requests, writing the communication requests generated in the inspection control device 51 in memory areas divided for each ECU of transmission destinations of the communication requests of the communication request buffer, and also reading the communication requests stored in the communication request buffer in accordance with previously regulated scan order for each memory area; a communication request transmission buffer 53 for storing the communication requests read by the transmission flow control section 52; and a communication request transmission section 54 for transmitting the communication requests stored in the communication request transmission buffer 53 to the communication processing unit 3.SELECTED DRAWING: Figure 2

Description

本発明は、車両検査装置に関する。より詳しくは、車両に搭載された複数の電子制御装置に対して車両の外部から通信を行い、この通信によって車両の電子制御装置から取得したデータに基づいて複数の検査項目の合否を判定する車両検査装置に関する。   The present invention relates to a vehicle inspection apparatus. More specifically, a vehicle that communicates with a plurality of electronic control devices mounted on the vehicle from the outside of the vehicle and determines pass / fail of a plurality of inspection items based on data acquired from the electronic control device of the vehicle through this communication. It relates to an inspection device.

車両には、エンジン、排気浄化装置、及びセンサ等の複数の車両部品と、これら車両部品を電子制御するための複数の電子制御装置(以下では、「ECU(Electric Control Unit)」との略称を用いる場合もある)と、が搭載されている。これら車両部品やECUの検査を行う車両検査装置は、車両に搭載されている車載故障検査装置(所謂、OBD(On-Board Diagnostics))と、車外から接続して用いられる車外故障検査装置と、に分けられる。   The vehicle has a plurality of vehicle parts such as an engine, an exhaust emission control device, and a sensor, and a plurality of electronic control devices for electronic control of these vehicle parts (hereinafter referred to as “ECU (Electric Control Unit)”). May be used). A vehicle inspection device for inspecting these vehicle parts and ECU includes an on-board failure inspection device (so-called OBD (On-Board Diagnostics)) mounted on the vehicle, an on-vehicle failure inspection device used by connecting from outside the vehicle, It is divided into.

車載故障検査装置は、上記部品等が故障していないかどうかを車両の走行中に検査する車載のECUと、故障が検知された場合にこれを報知するための警告灯と、を備える。   The in-vehicle failure inspection apparatus includes an in-vehicle ECU that inspects whether or not the above-described parts or the like are in failure while the vehicle is traveling, and a warning lamp that notifies the user when a failure is detected.

車外故障検査装置は、通信機能を備えたコンピュータであり、スキャンツール、又はテストツール等と呼称されている。車外故障検査装置は、車両に搭載される複数のECUとテストポートを介して接続して用いられ、これら複数のECUやこれらによって制御される複数の部品が故障していないかどうかを、上記通信機能を利用して検査する。より具体的には、車外故障検査装置は、車両の特定のECUに対し検査項目に応じて定められた通信要求を送信し、この通信要求に対するECUからの応答を用いることによって検査項目の良否を判定する。   The out-of-vehicle failure inspection apparatus is a computer having a communication function, and is called a scan tool or a test tool. The out-of-vehicle failure inspection device is used by connecting to a plurality of ECUs mounted on the vehicle via a test port, and whether or not these plurality of ECUs and a plurality of parts controlled by these are not in failure. Inspect using the function. More specifically, the out-of-vehicle failure inspection apparatus transmits a communication request determined according to the inspection item to a specific ECU of the vehicle, and determines whether the inspection item is good or bad by using a response from the ECU to the communication request. judge.

この車外故障検査装置は、例えば、生産工場で製造された車両の最終検査において用いられる。この場合、数多くの検査項目の良否を続けて判定する必要がある。このため、従来から車外故障検査装置による検査の効率を向上する技術が提案されている。例えば、特許文献1には、複数の検査プログラムを同時実行し、車両のECUに対する通信要求の種類が同一である場合、この種類のデータをECUにまとめて送信することで、通信データ量を削減する技術が示されている。また特許文献2には、複数のECUに書き込むプログラムを分割して送信することにより、書き込み工程の効率化を図る技術が示されている。なお以下では、単に車両検査装置という場合、これは車外故障検査装置を指すものとする。   This out-of-vehicle failure inspection device is used, for example, in a final inspection of a vehicle manufactured in a production factory. In this case, it is necessary to continuously determine the quality of many inspection items. For this reason, techniques for improving the efficiency of inspection by an out-of-vehicle failure inspection apparatus have been proposed. For example, in Patent Document 1, when a plurality of inspection programs are simultaneously executed and the types of communication requests to the ECU of the vehicle are the same, the amount of communication data is reduced by collectively transmitting this type of data to the ECU. Technology to do is shown. Patent Document 2 discloses a technique for improving the efficiency of a writing process by dividing and transmitting a program to be written in a plurality of ECUs. In the following, when simply referred to as a vehicle inspection device, this means an out-of-vehicle failure inspection device.

特開2011−107042号公報JP 2011-107042 A 特開2005−78324号公報JP-A-2005-78324

図9は、車両検査装置100と、この車両検査装置100が接続される車両Vとの構成を示す図である。   FIG. 9 is a diagram illustrating a configuration of the vehicle inspection device 100 and a vehicle V to which the vehicle inspection device 100 is connected.

車両検査装置100は、検査項目に応じたプログラムの実行や検査項目の良否の判定等の処理を担う検査処理部101と、検査処理部101と車両Vに搭載された複数のECUとの間の通信に関する処理を担う通信処理部102と、を備える。検査処理部101は、利用者によって定められた順序又は予め定められた順序に従って検査項目ごとに定められた検査プログラムを実行し、車両Vの特定のECUに対する制御コマンドを含む通信要求を複数生成し、これらを通信処理部102に送信する。通信処理部102は、検査処理部101から送信された通信要求を送信先のECUに送信し、その後同じECUからの通信要求に対する応答を受信し、これを検査処理部101に送信する。検査処理部101は、受信した応答を用いることによって検査項目の良否を判定する。   The vehicle inspection apparatus 100 includes an inspection processing unit 101 that performs processing such as execution of a program according to an inspection item and determination of pass / fail of the inspection item, and between the inspection processing unit 101 and a plurality of ECUs mounted on the vehicle V. A communication processing unit 102 responsible for processing related to communication. The inspection processing unit 101 executes an inspection program determined for each inspection item according to an order determined by the user or according to a predetermined order, and generates a plurality of communication requests including control commands for a specific ECU of the vehicle V. These are transmitted to the communication processing unit 102. The communication processing unit 102 transmits the communication request transmitted from the inspection processing unit 101 to the transmission destination ECU, receives a response to the communication request from the same ECU, and transmits this to the inspection processing unit 101. The inspection processing unit 101 determines pass / fail of the inspection item by using the received response.

このように検査処理部101と通信処理部102との間では、車両Vへの通信要求や車両Vからの応答に関するデータ信号を介した通信が行われる。この際、通信処理部102において検査処理部101から送信される通信要求を同時に処理できる数には上限があることから、検査処理部101では、通信処理部102の状態に応じて通信処理部102へ送信する通信要求の数を減らしたり増やしたりする所謂フロー制御が行われる。このようなフロー制御を行うことにより、通信処理部102における通信要求の取りこぼしを防ぐことができる。   In this way, communication between the inspection processing unit 101 and the communication processing unit 102 is performed via a data signal regarding a communication request to the vehicle V and a response from the vehicle V. At this time, since there is an upper limit on the number of communication requests transmitted from the inspection processing unit 101 in the communication processing unit 102 at the same time, in the inspection processing unit 101, the communication processing unit 102 depends on the state of the communication processing unit 102. So-called flow control is performed to reduce or increase the number of communication requests transmitted to the network. By performing such flow control, it is possible to prevent the communication processing unit 102 from missing a communication request.

ところが従来の車両検査装置におけるフロー制御では、検査処理部101から通信処理部102へ送信される通信要求の数のみを制御しており、順序については考慮していない。このため、検査処理部101から通信処理部102へ、同一のECUへ向けた通信要求が複数回にわたって続けて送信された場合、以下のように検査効率が低下し得る。   However, in the flow control in the conventional vehicle inspection apparatus, only the number of communication requests transmitted from the inspection processing unit 101 to the communication processing unit 102 is controlled, and the order is not considered. For this reason, when the communication request | requirement toward the same ECU is continuously transmitted in multiple times from the test | inspection process part 101 to the communication process part 102, test | inspection efficiency may fall as follows.

通信処理部102では、通信要求を処理している間(すなわち、通信要求を受信してから、これを特定のECUに送信し、さらにこの通信要求に対する応答を受信するまでの間)は、上述の上限数を超えて新たな通信要求を検査処理部101から受信することができない。また、検査の信頼性を確保するため、ECUには、複数の通信要求を同時に送信しないようにしている。このため、上記のように複数の通信要求が特定のECUに集中した場合、この特定のECUにおいて全ての通信要求に対する処理が終了するまで、通信処理部102は通信待ちの状態となり検査処理部101から新たな通信要求を受信することができなくなる。   In the communication processing unit 102, while the communication request is being processed (that is, from when the communication request is received, until the communication request is transmitted to a specific ECU and a response to the communication request is received), A new communication request exceeding the upper limit number cannot be received from the inspection processing unit 101. In order to ensure the reliability of the inspection, a plurality of communication requests are not transmitted to the ECU at the same time. For this reason, when a plurality of communication requests are concentrated on a specific ECU as described above, the communication processing unit 102 is in a communication waiting state until the processing for all the communication requests in the specific ECU is completed. Cannot receive new communication requests.

このような事態が生じると、車両側の複数のECUでは、それぞれ並行して検査処理を実行できるにも関わらず、ある特定のECUのみが検査処理を実行する状態となってしまい検査効率が低下する。結果として全ての検査項目についての良否の判定が終了するまでにかかる時間は、必要以上に長くなってしまう場合がある(より詳しくは、例えば後述の図4及び図5参照)。   When such a situation occurs, the plurality of ECUs on the vehicle side can execute the inspection process in parallel, but only a specific ECU is in a state of executing the inspection process, resulting in a decrease in inspection efficiency. To do. As a result, the time taken until the pass / fail determination for all the inspection items is completed may be longer than necessary (more specifically, for example, see FIGS. 4 and 5 described later).

本発明は、車両に搭載された複数の電子制御装置に対し効率的に検査を行うことができる車両検査装置を提供することを目的とする。   An object of this invention is to provide the vehicle inspection apparatus which can test | inspect efficiently with respect to the some electronic control apparatus mounted in the vehicle.

(1)本発明の車両検査装置(例えば、後述の車両検査装置1,1B,1C)は、車両に関する検査項目に応じて定められた検査プログラムを実行することによって、前記車両に搭載された複数の電子制御装置に対する通信要求を生成する検査処理部(例えば、後述の2,2B,2C)と、前記複数の電子制御装置に接続され、前記検査処理部によって生成された通信要求をその送信先の電子制御装置に送信する通信処理部(例えば、後述の通信処理部3,3B,3C)と、を備え、前記通信要求に対する前記車両からの応答に基づいて前記検査項目の合否を判定する。前記検査処理部は、前記検査プログラムを実行することによって通信要求を生成する検査制御部(例えば、後述の検査制御部51)と、前記通信要求を複数記憶する通信要求バッファ(例えば、後述の通信要求バッファ522)を有し、前記検査制御部によって生成された通信要求を前記通信要求バッファの当該通信要求の送信先の電子制御装置ごとに区画されたメモリ領域(例えば、後述のバッファ522_1〜522_n)に書き込むとともに、前記メモリ領域ごとに予め規定した走査順序に従って前記通信要求バッファに記憶された通信要求を読み込む送信フロー制御部(例えば、後述の送信フロー制御部52,52B)と、前記送信フロー制御部によって読み込まれた通信要求を前記通信処理部へ送信する通信要求送信部(例えば、後述の通信要求送信部54)と、を備え、前記通信処理部は、前記通信要求送信部から送信される順序に従って前記通信要求を前記車両に送信することを特徴とする。   (1) A vehicle inspection apparatus according to the present invention (for example, vehicle inspection apparatuses 1, 1B, 1C described later) is installed in the vehicle by executing an inspection program determined in accordance with inspection items relating to the vehicle. An inspection processing unit (for example, 2, 2B, 2C, which will be described later) that generates a communication request to the electronic control device, and a communication request that is connected to the plurality of electronic control devices and is generated by the inspection processing unit. Communication processing units (for example, communication processing units 3, 3B, 3C described later) that transmit to the electronic control device, and determine whether the inspection item is acceptable based on a response from the vehicle to the communication request. The inspection processing unit includes an inspection control unit (for example, an inspection control unit 51 described later) that generates a communication request by executing the inspection program, and a communication request buffer (for example, a communication described later) that stores a plurality of the communication requests. A memory area (for example, buffers 522_1 to 522_n which will be described later) that is divided for each electronic control device that is the transmission destination of the communication request in the communication request buffer. ) And a communication flow control unit (for example, transmission flow control units 52 and 52B described later) for reading communication requests stored in the communication request buffer in accordance with a predetermined scanning order for each memory area, and the transmission flow A communication request transmitter that transmits a communication request read by the controller to the communication processor (for example, It includes a predicate communication request transmitter unit 54 of) the said communication processing unit, and transmits the communication request according to the order transmitted from the communication request transmitting unit in the vehicle.

(2)この場合、前記送信フロー制御部は、前記通信要求バッファと、前記検査制御部によって通信要求が生成されると、当該通信要求の送信先を特定し、当該通信要求を前記通信要求バッファの前記特定した送信先に応じたメモリ領域に書き込む要求送信先登録部(例えば、後述の要求送信先登録部521)と、前記通信要求バッファの各メモリ領域に記憶された通信要求を前記走査順序に従って読み込むフロー制御部(例えば、後述のフロー制御部523)と、を備えることが好ましい。   (2) In this case, when a communication request is generated by the communication request buffer and the inspection control unit, the transmission flow control unit specifies a transmission destination of the communication request and sends the communication request to the communication request buffer. A request transmission destination registration unit (for example, a request transmission destination registration unit 521 described later) to be written in a memory area corresponding to the specified transmission destination, and a communication request stored in each memory area of the communication request buffer in the scanning order. It is preferable to include a flow control unit (for example, a flow control unit 523, which will be described later).

(3)この場合、前記検査処理部は、前記送信フロー制御部によって読み込まれた通信要求を記憶する通信要求送信バッファ(例えば、後述の通信要求送信バッファ53)を備え、前記通信要求送信部は、前記通信要求送信バッファに記憶された通信要求を前記通信処理部へ送信し、前記通信処理部は、前記通信要求送信部から送信された通信要求を受信する通信要求受信部(例えば、後述の通信要求受信部61)と、前記通信要求受信部によって受信された通信要求が書き込まれる通信要求受信バッファ(例えば、後述の通信要求受信バッファ62)と、前記通信要求受信バッファに記憶された通信要求を、その送信先の電子制御装置へ送信する車両通信部(例えば、後述の車両通信部65,65B)と、を備え、前記通信要求送信バッファ及び前記通信要求受信バッファは、それぞれ所定のシリアル通信規格に基づいて構成されるキャッシュメモリであることが好ましい。   (3) In this case, the inspection processing unit includes a communication request transmission buffer (for example, a communication request transmission buffer 53 to be described later) that stores a communication request read by the transmission flow control unit. The communication request stored in the communication request transmission buffer is transmitted to the communication processing unit, and the communication processing unit receives a communication request transmitted from the communication request transmission unit (for example, described later) A communication request receiving unit 61), a communication request receiving buffer (for example, a communication request receiving buffer 62 described later) in which a communication request received by the communication request receiving unit is written, and a communication request stored in the communication request receiving buffer. A vehicle communication unit (for example, vehicle communication units 65 and 65B described later) that transmits the communication request to the electronic control device of the transmission destination, the communication request transmission buffer And said communication request receiving buffer preferably each is a cache memory configured based on a predetermined serial communication standard.

(4)この場合、前記通信要求は、検査対象である車両に搭載されている複数の電子制御装置のうちの1つを特定するためのアドレスと、当該アドレスによって特定される電子制御装置に対する制御コマンドと、を含み、前記送信フロー制御部は、前記通信要求に含まれるアドレスを用いてその送信先を特定することが好ましい。   (4) In this case, the communication request includes an address for specifying one of a plurality of electronic control devices mounted on the vehicle to be inspected, and control for the electronic control device specified by the address. It is preferable that the transmission flow control unit specifies a transmission destination using an address included in the communication request.

(5)この場合、前記車両は規格の異なる複数の通信ライン(例えば、後述の通信ラインL1〜L3)を備え、前記通信要求バッファのメモリ領域は、前記電子制御装置及び前記通信ラインごとに区画され、前記送信フロー制御部は、前記検査制御部によって通信要求が生成されると、当該通信要求を前記通信要求バッファの当該通信要求の送信先の電子制御装置及び通信ラインごとに区画されたメモリ領域(例えば、後述の送信フロー制御部52Ba〜52Bcの通信要求バッファ)に書き込むことが好ましい。   (5) In this case, the vehicle includes a plurality of communication lines (for example, communication lines L1 to L3 described later) having different standards, and the memory area of the communication request buffer is divided for each of the electronic control unit and the communication line. When the communication request is generated by the inspection control unit, the transmission flow control unit is configured to store the communication request for each electronic control device to which the communication request is transmitted and the communication line in the communication request buffer. It is preferable to write in a region (for example, a communication request buffer of transmission flow control units 52Ba to 52Bc described later).

(6)本発明の車両検査装置(例えば、後述の車両検査装置1A,1B,1C)は、車両に関する検査項目に応じて定められた検査プログラムを実行することによって、前記車両に搭載された複数の電子制御装置に対する通信要求を生成する検査処理部(例えば、後述の検査処理部2,2B,2C)と、前記複数の電子制御装置に接続され、前記検査処理部によって生成された通信要求をその送信先の電子制御装置に送信する通信処理部(例えば、後述の通信処理部3,3B,3C)と、を備え、前記通信要求に対する前記車両からの応答に基づいて前記検査項目の合否を判定する。前記検査処理部は、前記検査プログラムを実行することによって通信要求を生成する検査制御部(例えば、後述の検査制御部51)と、前記通信要求を複数記憶する通信要求バッファ(例えば、後述の通信要求バッファ522A)を有し、前記検査制御部によって生成された通信要求を前記通信要求バッファに書き込むとともに、当該通信要求バッファに書き込まれた複数の通信要求から1つを、送信先が同一のものが続かないような順序で選択的に読み込む送信フロー制御部(例えば、後述の送信フロー制御部52A)と、前記送信フロー制御部によって読み込まれた通信要求を前記通信処理部へ送信する通信要求送信部(例えば、後述の通信要求送信部54)と、を備え、前記通信処理部は、前記通信要求送信部から送信される順序に従って前記通信要求を前記車両に送信することを特徴とする。   (6) A vehicle inspection apparatus (for example, vehicle inspection apparatuses 1A, 1B, 1C described later) of the present invention is installed in the vehicle by executing an inspection program determined according to inspection items relating to the vehicle. An inspection processing unit (for example, inspection processing units 2, 2B, 2C described later) that generates a communication request for the electronic control device, and a communication request that is connected to the plurality of electronic control devices and is generated by the inspection processing unit. A communication processing unit (for example, communication processing units 3, 3B, 3C, which will be described later) that transmits to the electronic control device of the transmission destination, and whether the inspection item is acceptable or not based on a response from the vehicle to the communication request judge. The inspection processing unit includes an inspection control unit (for example, an inspection control unit 51 described later) that generates a communication request by executing the inspection program, and a communication request buffer (for example, a communication described later) that stores a plurality of the communication requests. A request buffer 522A) that writes a communication request generated by the inspection control unit to the communication request buffer, and that has one destination from the plurality of communication requests written to the communication request buffer. A transmission flow control unit (for example, a transmission flow control unit 52A described later) that selectively reads in an order that does not continue, and a communication request transmission that transmits a communication request read by the transmission flow control unit to the communication processing unit (For example, a communication request transmission unit 54 described later), and the communication processing unit follows the order of transmission from the communication request transmission unit. And transmitting the communication request to the vehicle Te.

(7)この場合、前記検査処理部は、前記送信フロー制御部によって読み込まれた通信要求を記憶する通信要求送信バッファ(例えば、後述の通信要求送信バッファ53)を備え、前記通信要求送信部は、前記通信要求送信バッファに記憶された通信要求を前記通信処理部へ送信し、前記通信処理部は、前記通信要求送信部から送信された通信要求を受信する通信要求受信部(例えば、後述の通信要求受信部61)と、前記通信要求受信部によって受信された通信要求が書き込まれる通信要求受信バッファ(例えば、後述の通信要求受信バッファ62)と、前記通信要求受信バッファに記憶された通信要求を、その送信先の電子制御装置へ送信する車両通信部(例えば、後述の車両通信部65,65B)と、を備え、前記通信要求送信バッファ及び前記通信要求受信バッファは、それぞれ所定のシリアル通信規格に基づいて構成されるキャッシュメモリであることが好ましい。   (7) In this case, the inspection processing unit includes a communication request transmission buffer (for example, a communication request transmission buffer 53 described later) that stores a communication request read by the transmission flow control unit, and the communication request transmission unit The communication request stored in the communication request transmission buffer is transmitted to the communication processing unit, and the communication processing unit receives a communication request transmitted from the communication request transmission unit (for example, described later) A communication request receiving unit 61), a communication request receiving buffer (for example, a communication request receiving buffer 62 described later) in which a communication request received by the communication request receiving unit is written, and a communication request stored in the communication request receiving buffer. A vehicle communication unit (for example, vehicle communication units 65 and 65B described later) that transmits the communication request to the electronic control device of the transmission destination, the communication request transmission buffer And said communication request receiving buffer preferably each is a cache memory configured based on a predetermined serial communication standard.

(8)この場合、前記通信要求は、検査対象である車両に搭載されている複数の電子制御装置のうちの1つを特定するためのアドレスと、当該アドレスによって特定される電子制御装置に対する制御コマンドと、を含み、前記送信フロー制御部は、前記通信要求に含まれるアドレスを用いてその送信先を特定することが好ましい。   (8) In this case, the communication request includes an address for specifying one of a plurality of electronic control devices mounted on the vehicle to be inspected, and control for the electronic control device specified by the address. It is preferable that the transmission flow control unit specifies a transmission destination using an address included in the communication request.

(9)この場合、前記車両は規格の異なる複数の通信ライン(例えば、後述の通信ラインL1〜L3)を備え、前記通信要求バッファのメモリ領域は、前記通信ラインごとに区画され、前記送信フロー制御部は、前記検査制御部によって通信要求が生成されると、当該通信要求を前記通信要求バッファの当該通信要求の送信先の通信ラインごとに区画されたメモリ領域(例えば、後述の送信フロー制御部52Ba〜52Bcの通信要求バッファ)に書き込むことが好ましい。   (9) In this case, the vehicle includes a plurality of communication lines (for example, communication lines L1 to L3 described later) having different standards, and a memory area of the communication request buffer is partitioned for each communication line, and the transmission flow When a communication request is generated by the inspection control unit, the control unit divides the communication request into a memory area (for example, transmission flow control described later) divided for each communication line of the communication request transmission destination of the communication request buffer. It is preferable to write in the communication request buffers of the sections 52Ba to 52Bc.

(1)本発明の送信フロー制御部では、車両に搭載された複数の電子制御装置ごとに区画された複数のメモリ領域である通信要求バッファを設け、検査制御部で生成された通信要求を、この通信要求バッファの送信先の電子制御装置に応じたメモリ領域に書き込んだ後、複数のメモリ領域ごとに予め規定した走査順序に従って、これら書き込まれた通信要求を通信処理部に送信する。すなわち、本発明の検査処理部では、検査制御部によって生成された通信要求は、一旦通信要求バッファに格納された後、送信フロー制御部における走査処理によって電子制御装置ごとに定められた順序に並び替えられた後、通信処理部に送信される。これにより、検査制御部において特定の電子制御装置に対する通信指令が集中して生成された場合であっても、通信処理部、ひいては車両には異なる電子制御装置に対する通信要求が続けて送信されるようにできる。すなわち、検査制御部における通信要求の生成順によらず、車両側ではできるだけ多くの電子制御装置において同時に検査に関する処理が行われるようにできるので、その分だけ通信処理部が通信待ちの状態になる時間を短縮し、複数の電子制御装置に対し効率的に検査を行うことができる。またこれにより、良否を判定すべき検査項目が数多くある場合であっても、検査にかかる時間を短縮できる。   (1) In the transmission flow control unit of the present invention, a communication request buffer that is a plurality of memory areas partitioned for each of a plurality of electronic control devices mounted on the vehicle is provided, and a communication request generated by the inspection control unit is After writing in the memory area corresponding to the electronic control device that is the transmission destination of the communication request buffer, the written communication request is transmitted to the communication processing unit in accordance with a scanning order defined in advance for each of the plurality of memory areas. That is, in the inspection processing unit of the present invention, the communication requests generated by the inspection control unit are temporarily stored in the communication request buffer and then arranged in an order determined for each electronic control unit by the scanning process in the transmission flow control unit. After being replaced, it is transmitted to the communication processing unit. As a result, even when communication commands for a specific electronic control device are generated in a concentrated manner in the inspection control unit, communication requests for different electronic control devices are continuously transmitted to the communication processing unit, and thus the vehicle. Can be. That is, regardless of the order in which the communication requests are generated in the inspection control unit, the processing on the vehicle can be performed simultaneously on as many electronic control devices as possible on the vehicle side. And a plurality of electronic control devices can be efficiently inspected. In addition, this makes it possible to reduce the time required for inspection even when there are many inspection items for which pass / fail is to be determined.

(2)本発明では、通信要求に対して上述のようなフロー制御を行う送信フロー制御部を、通信要求選別部と、通信要求バッファと、フロー制御部と、で構成する。これにより、通信要求を通信要求バッファへ振り分けて書き込む処理と、通信要求バッファに書き込まれた通信要求を読み込み、これを所定のバッファに書き込む処理とを別々のモジュールによってそれぞれ独立したタイミングで行うことができるので、送信フロー制御部における処理を高効率で高速なものにできる。   (2) In the present invention, the transmission flow control unit that performs the flow control as described above for a communication request includes a communication request selection unit, a communication request buffer, and a flow control unit. As a result, the process of distributing and writing communication requests to the communication request buffer and the process of reading the communication request written to the communication request buffer and writing it to the predetermined buffer can be performed by separate modules at independent timings. Therefore, the processing in the transmission flow control unit can be performed with high efficiency and high speed.

(3)本発明では、シリアル通信規格に基づいて構成されるキャッシュメモリによって検査処理部の通信要求送信バッファと通信処理部の通信要求受信バッファとを構成する。これにより、検査処理部と通信処理部との間の通信として、例えばUSB通信規格を採用することができる。これにより、検査処理部と通信処理部との間における物理的な通信回線の数を少なくしながら、高速な処理が可能となる。   (3) In the present invention, the communication request transmission buffer of the inspection processing unit and the communication request reception buffer of the communication processing unit are configured by a cache memory configured based on the serial communication standard. Thereby, for example, the USB communication standard can be adopted as communication between the inspection processing unit and the communication processing unit. As a result, high-speed processing can be performed while reducing the number of physical communication lines between the inspection processing unit and the communication processing unit.

(4)本発明では、通信要求に含まれているアドレスを用いてその送信先を特定することにより、送信フロー制御部における処理の効率を向上できる。   (4) In the present invention, the efficiency of processing in the transmission flow control unit can be improved by specifying the transmission destination using the address included in the communication request.

(5)本発明では、通信要求バッファのメモリ領域を電子制御装置及び通信ラインごとに区画し、通信要求を、通信要求バッファのメモリ領域のうちその送信先の電子制御装置及び通信ラインに応じたものに書き込む。これにより、車両には複数の異なる規格の通信ラインが設けられている場合であっても、同一の電子制御装置に対して通信要求が集中しないようにでき、結果として検査にかかる時間を短縮できる。   (5) In the present invention, the memory area of the communication request buffer is partitioned for each electronic control unit and communication line, and the communication request is determined according to the destination electronic control unit and communication line in the memory area of the communication request buffer. Write on things. Thereby, even when a plurality of communication lines of different standards are provided in the vehicle, communication requests can be prevented from being concentrated on the same electronic control device, and as a result, the time required for inspection can be shortened. .

(6)本発明の送信フロー制御部では、通信要求を複数記憶する通信要求バッファを設け、検査制御部で生成された通信要求を、この通信要求バッファに書き込む。送信フロー制御部は、この通信要求バッファに書き込まれた複数の通信要求から1つを、送信先が同一のものが続かないような順序で選択的に読み込み、これを通信処理部へ送信する。すなわち、本発明の検査処理部では、検査制御部によって生成された通信要求は、一旦通信要求バッファに格納された後、送信フロー制御部による検索を経て、通信処理部に送信される。これにより、検査制御部において特定の電子制御装置に対する通信指令が集中して生成された場合であっても、通信処理部、ひいては車両には異なる電子制御装置に対する通信要求が続けて送信されるようにできる。すなわち、検査制御部における通信要求の生成順によらず、車両側ではできるだけ多くの電子制御装置において同時に検査に関する処理が行われるようにできるので、その分だけ通信処理部が通信待ちの状態になる時間を短縮し、複数の電子制御装置に対し効率的に検査を行うことができる。またこれにより、良否を判定すべき検査項目が数多くある場合であっても、検査にかかる時間を短縮できる。   (6) In the transmission flow control unit of the present invention, a communication request buffer for storing a plurality of communication requests is provided, and the communication request generated by the inspection control unit is written into the communication request buffer. The transmission flow control unit selectively reads one of the plurality of communication requests written in the communication request buffer in an order such that the same transmission destination does not continue, and transmits this to the communication processing unit. That is, in the inspection processing unit of the present invention, the communication request generated by the inspection control unit is temporarily stored in the communication request buffer, and then transmitted to the communication processing unit through a search by the transmission flow control unit. As a result, even when communication commands for a specific electronic control device are generated in a concentrated manner in the inspection control unit, communication requests for different electronic control devices are continuously transmitted to the communication processing unit, and thus the vehicle. Can be. That is, regardless of the order in which the communication requests are generated in the inspection control unit, the processing on the vehicle can be performed simultaneously on as many electronic control devices as possible on the vehicle side. And a plurality of electronic control devices can be efficiently inspected. In addition, this makes it possible to reduce the time required for inspection even when there are many inspection items for which pass / fail is to be determined.

(7)本発明では、シリアル通信規格に基づいて構成されるキャッシュメモリによって検査処理部の通信要求送信バッファと通信処理部の通信要求受信バッファとを構成する。これにより、(3)の発明と同じ理由により、検査処理部と通信処理部との間における物理的な通信回線の数を少なくしながら、高速な処理が可能となる。   (7) In the present invention, the communication request transmission buffer of the inspection processing unit and the communication request reception buffer of the communication processing unit are configured by a cache memory configured based on the serial communication standard. Thereby, for the same reason as the invention of (3), high-speed processing is possible while reducing the number of physical communication lines between the inspection processing unit and the communication processing unit.

(8)本発明では、通信要求に含まれているアドレスを用いてその送信先を特定することにより、送信フロー制御部における処理の効率を向上できる。   (8) In the present invention, the efficiency of processing in the transmission flow control unit can be improved by specifying the transmission destination using the address included in the communication request.

(9)本発明では、通信要求バッファのメモリ領域を通信ラインごとに区画し、通信要求を、通信要求バッファのメモリ領域のうちその送信先の通信ラインに応じたものに書き込む。これにより、車両には複数の異なる規格の通信ラインが設けられている場合であっても、同一の電子制御装置に対して通信要求が集中しないようにでき、結果として検査にかかる時間を短縮できる。   (9) In the present invention, the memory area of the communication request buffer is partitioned for each communication line, and the communication request is written in the memory area of the communication request buffer corresponding to the destination communication line. Thereby, even when a plurality of communication lines of different standards are provided in the vehicle, communication requests can be prevented from being concentrated on the same electronic control device, and as a result, the time required for inspection can be shortened. .

本発明の第1実施形態に係る車両検査装置及び車両のハードウェア構成を示すブロック図である。1 is a block diagram showing a hardware configuration of a vehicle inspection device and a vehicle according to a first embodiment of the present invention. 検査処理部及び通信処理部の間のネットワーク構成を示すブロック図である。It is a block diagram which shows the network structure between an inspection process part and a communication process part. 送信フロー制御部において実行されるフロー制御の手順を示すブロック図である。It is a block diagram which shows the procedure of the flow control performed in a transmission flow control part. 従来の車両検査装置を用いて複数の検査項目の良否を判定した際における通信要求及び通信結果の流れの一例を示すタイムチャートである。It is a time chart which shows an example of the flow of the communication request | requirement and communication result at the time of determining the quality of the some test | inspection item using the conventional vehicle inspection apparatus. 上記実施形態の車両検査装置を用いて複数の検査項目の良否を判定した際における通信要求及び通信結果の流れの一例を示すタイムチャートである。It is a time chart which shows an example of the flow of the communication request | requirement at the time of determining the quality of a some test | inspection item using the vehicle inspection apparatus of the said embodiment, and a communication result. 本発明の第2実施形態に係る車両検査装置の送信フロー制御部において実行されるフロー制御の手順を示すブロック図である。It is a block diagram which shows the procedure of the flow control performed in the transmission flow control part of the vehicle inspection apparatus which concerns on 2nd Embodiment of this invention. 本発明の第3実施形態に係る車両検査装置における検査処理部及び通信処理部の間のネットワーク構成を示すブロック図である。It is a block diagram which shows the network structure between the inspection process part and communication process part in the vehicle inspection apparatus which concerns on 3rd Embodiment of this invention. 本発明の第4実施形態に係る車両検査装置における検査処理部及び通信処理部の間のネットワーク構成を示すブロック図である。It is a block diagram which shows the network structure between the inspection process part and communication process part in the vehicle inspection apparatus which concerns on 4th Embodiment of this invention. 従来の車両検査装置と、この車両検査装置が接続される車両との構成を示す図である。It is a figure which shows the structure of the conventional vehicle inspection apparatus and the vehicle to which this vehicle inspection apparatus is connected.

<第1実施形態>
以下、本発明の第1実施形態について図面を参照しながら説明する。
図1は、本実施形態に係る車両検査装置1と、この車両検査装置1の検査対象としての車両Vのハードウェア構成を示すブロック図である。
<First Embodiment>
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a hardware configuration of a vehicle inspection apparatus 1 according to the present embodiment and a vehicle V as an inspection target of the vehicle inspection apparatus 1.

車両Vには、複数のECUが搭載されている。これらECUは、それぞれ、車両Vに搭載されているエンジン、排気浄化装置、及びセンサ等の複数の車両部品(図示せず)を電子制御する。車両Vにおいて、これら複数のECUは所定の通信規格(例えば、CAN、K−Line等)に基づく通信ラインを介して接続されており、相互で通信可能となっている。図1には、第1通信ラインL1、第2通信ラインL2、及び第3通信ラインL3が車両Vに設けられている例を示すが、本発明はこれに限らない。車両に設けられる通信ラインの数は、1つ以上であればよい。   A plurality of ECUs are mounted on the vehicle V. Each of these ECUs electronically controls a plurality of vehicle components (not shown) such as an engine, an exhaust purification device, and a sensor mounted on the vehicle V. In the vehicle V, the plurality of ECUs are connected via a communication line based on a predetermined communication standard (for example, CAN, K-Line, etc.), and can communicate with each other. Although FIG. 1 shows an example in which the first communication line L1, the second communication line L2, and the third communication line L3 are provided in the vehicle V, the present invention is not limited to this. The number of communication lines provided in the vehicle may be one or more.

車両Vに搭載される複数のECUは、これら複数の通信ラインL1〜L3によって複数のグループに分けられる。より具体的には、複数のECUは、通信ラインL1に接続されているp個のECU11,12,…,1pと、通信ラインL2に接続されているq個のECU21,22,…,2qと、通信ラインL3に接続されているr個のECU31,32,…,3rと、に分けられる。また各通信ラインL1,L2,L3は、コネクタCを介して車両検査装置1と接続可能となっている。これにより、車両検査装置1と車両Vに搭載されている複数のECUとの間で通信が可能となる。なお以下では、車両Vに搭載されかつ車両検査装置1と通信可能に接続されているECUの数は、合計n個であるとする。   The plurality of ECUs mounted on the vehicle V are divided into a plurality of groups by the plurality of communication lines L1 to L3. More specifically, the plurality of ECUs include p ECUs 11, 12,..., 1p connected to the communication line L1, and q ECUs 21, 22,..., 2q connected to the communication line L2. , 3r connected to the communication line L3. Each communication line L1, L2, L3 can be connected to the vehicle inspection apparatus 1 via a connector C. This enables communication between the vehicle inspection apparatus 1 and a plurality of ECUs mounted on the vehicle V. In the following, it is assumed that the number of ECUs mounted on the vehicle V and connected to the vehicle inspection apparatus 1 so as to be communicable is n.

車両検査装置1は、コネクタCを介して車両Vの複数のECUと接続され、これらECUに対して車両Vに関する検査項目に応じた通信要求を送信し、この通信要求に対する応答に基づいて検査項目の合否を判定する。車両検査装置1は、所定の検査プログラムを実行することにより通信要求を生成し検査項目の合否を判定する検査処理部2と、検査処理部2と車両Vの複数のECUとの間での通信要求や通信結果等の送受信を担うネットワークコントローラとしての通信処理部3と、に分けられる。   The vehicle inspection device 1 is connected to a plurality of ECUs of the vehicle V via the connector C, transmits a communication request corresponding to the inspection item relating to the vehicle V to the ECU, and an inspection item based on a response to the communication request Judge whether or not The vehicle inspection apparatus 1 generates a communication request by executing a predetermined inspection program and determines whether or not the inspection item is acceptable, and communication between the inspection processing unit 2 and a plurality of ECUs of the vehicle V It is divided into a communication processing unit 3 as a network controller responsible for transmission / reception of requests and communication results.

検査処理部2は、CPU(Central Processing Unit)21と、記憶装置22と、入力装置23と、音声出力装置24と、表示装置25と、外部通信装置26と、を備える。   The inspection processing unit 2 includes a CPU (Central Processing Unit) 21, a storage device 22, an input device 23, an audio output device 24, a display device 25, and an external communication device 26.

CPU21は、記憶装置22に記憶されている様々なプログラムに従って、車両Vの検査や検査処理部2と通信処理部3との間の通信等の各種処理を実行する。記憶装置22は、例えばROM、RAM、ハードディスク、及びDRAM等の記憶媒体で構成される。この記憶装置22には、車両Vに関する複数の検査プログラムや、後述の図2や図3等に示す構造のネットワークを検査処理部2と通信処理部3との間で実現するプログラム等、車両Vの検査の実行に係る様々なプログラムやデータが記憶されている。   The CPU 21 executes various processes such as inspection of the vehicle V and communication between the inspection processing unit 2 and the communication processing unit 3 according to various programs stored in the storage device 22. The storage device 22 includes a storage medium such as a ROM, a RAM, a hard disk, and a DRAM, for example. The storage device 22 includes a plurality of inspection programs for the vehicle V, a program for realizing a network having a structure shown in FIGS. 2 and 3 to be described later between the inspection processing unit 2 and the communication processing unit 3, and the like. Various programs and data related to the execution of the inspection are stored.

入力装置23は、利用者からの指示操作を受け付ける複数のボタンを含んで構成される。外部通信装置26は、インターネットを含むネットワークを介した他の装置と車両検査装置1との間の通信を制御する。この外部通信装置26は、例えば、記憶装置22に新たな検査プログラムを追加したり、既存の検査プログラムを修正したりする際に用いられる。表示装置25は、車両Vの検査を行う際に利用者に対して入力装置23の操作を促す案内や、この検査の結果等を表示する。   The input device 23 includes a plurality of buttons that receive instruction operations from the user. The external communication device 26 controls communication between the vehicle inspection device 1 and other devices via a network including the Internet. The external communication device 26 is used, for example, when a new inspection program is added to the storage device 22 or an existing inspection program is modified. The display device 25 displays guidance for prompting the user to operate the input device 23 when inspecting the vehicle V, the result of the inspection, and the like.

図2は、検査処理部2及び通信処理部3の間のネットワーク構成を示すブロック図である。
検査処理部2には、上述のようなハードウェア構成によって、検査制御部51と、送信フロー制御部52と、通信要求送信バッファ53と、通信要求送信部54と、通信結果受信部55と、通信結果受信バッファ56と、が構成される。また、通信処理部3には、通信要求受信部61と、通信要求受信バッファ62と、通信結果送信バッファ63と、通信結果送信部64と、車両通信部65と、が構成される。以下、検査処理部2及び通信処理部3に構成される各モジュールの機能について順に説明する。
FIG. 2 is a block diagram illustrating a network configuration between the inspection processing unit 2 and the communication processing unit 3.
The inspection processing unit 2 includes an inspection control unit 51, a transmission flow control unit 52, a communication request transmission buffer 53, a communication request transmission unit 54, a communication result reception unit 55, and a hardware configuration as described above. A communication result reception buffer 56. The communication processing unit 3 includes a communication request receiving unit 61, a communication request receiving buffer 62, a communication result transmission buffer 63, a communication result transmission unit 64, and a vehicle communication unit 65. Hereinafter, functions of the modules configured in the inspection processing unit 2 and the communication processing unit 3 will be described in order.

始めに検査処理部2側の構成について説明する。
検査制御部51は、予め定められた複数の検査プログラムの中から、検査対象である車両の機種に応じたm個(mは、1以上の整数)の検査プログラムP1,P2,…,Pmを選択し、これら検査プログラムP1〜Pmを所定の順序で実行する。選択したm個の検査プログラムP1〜Pmを実行する順序は、検査内容に応じて予め定められるか、又は利用者によって定められる。なお以下では、検査プログラムP1〜Pmは、番号の小さいものから順に実行されるものとする。
First, the configuration on the inspection processing unit 2 side will be described.
The inspection control unit 51 selects m (m is an integer of 1 or more) inspection programs P1, P2,..., Pm corresponding to the model of the vehicle to be inspected from a plurality of predetermined inspection programs. The inspection programs P1 to Pm are selected and executed in a predetermined order. The order in which the m selected inspection programs P1 to Pm are executed is determined in advance according to the inspection contents or determined by the user. In the following, it is assumed that the inspection programs P1 to Pm are executed in order from the smallest number.

各検査プログラムP1〜Pmは、それぞれ、車両に搭載されている特定のECU又はこの特定のECUによって電子制御される特定の車両部品に関する検査項目に応じて定められる。この検査項目とは、例えば、上述の特定のECU又は車両部品が正常に機能しているかどうかを良又は不良によって評価するものである。各検査プログラムP1〜Pmには、各検査項目の良否を判定する手順が規定されている。より具体的には、各検査プログラムP1〜Pmには、それぞれ、検査項目に応じた通信要求を生成する手順と、生成した通信要求に対する車両からの応答である通信結果を用いることによって検査項目の良否を判定する手順と、が規定されている。   Each of the inspection programs P1 to Pm is determined in accordance with an inspection item related to a specific ECU mounted on the vehicle or a specific vehicle part electronically controlled by the specific ECU. This inspection item evaluates whether the above-mentioned specific ECU or vehicle parts are functioning normally by good or bad. Each inspection program P1 to Pm defines a procedure for determining pass / fail of each inspection item. More specifically, each of the inspection programs P1 to Pm uses a procedure for generating a communication request according to the inspection item and a communication result that is a response from the vehicle to the generated communication request. And a procedure for judging pass / fail.

検査制御部51は、これら検査プログラムP1〜Pmを実行することによって、m個の検査項目の良否を判定する。検査制御部51によって、所定の検査プログラムが実行されると、始めに検査項目に応じた通信要求が生成される。この通信要求は、送信先であるECUを特定するためのアドレスと、この送信先のECUに対する指令が記述された制御コマンドと、を含む。検査プログラムを実行することによって生成された通信要求は、後述する手順に従って、アドレスによって特定されるECUに送信される。この通信要求を受けたECUは、制御コマンドに従った処理を実行し、その結果を通信結果として車両検査装置1に送信する。検査制御部51は、ECUから送信された通信結果を受信し、これを用いて検査項目の良否を判定する。これにより、1つの検査プログラムが終了する。検査制御部51は、以上のような検査プログラムを、複数並列して実行することができる。   The inspection control unit 51 determines the quality of the m inspection items by executing these inspection programs P1 to Pm. When a predetermined inspection program is executed by the inspection control unit 51, a communication request corresponding to the inspection item is generated first. This communication request includes an address for specifying an ECU that is a transmission destination, and a control command in which a command for the ECU of the transmission destination is described. The communication request generated by executing the inspection program is transmitted to the ECU specified by the address according to the procedure described later. The ECU that has received this communication request executes a process according to the control command, and transmits the result to the vehicle inspection apparatus 1 as a communication result. The inspection control unit 51 receives the communication result transmitted from the ECU and uses this to determine pass / fail of the inspection item. Thereby, one inspection program is completed. The inspection control unit 51 can execute a plurality of inspection programs as described above in parallel.

なお1つの検査プログラムを実行することによって、車両検査装置1と車両Vとの間で送受信される通信要求及び通信結果の数は、それぞれ1つとは限らず、複数であってもよい。すなわち、1つの検査プログラムにおいて、車両検査装置1から車両Vへの通信要求の送信及び車両Vから車両検査装置1への通信結果の送信を、複数回にわたって繰り返すことによって1つの検査項目の良否を判定してもよい。   Note that the number of communication requests and communication results transmitted and received between the vehicle inspection apparatus 1 and the vehicle V by executing one inspection program is not limited to one, and may be plural. That is, in one inspection program, by repeating the transmission of the communication request from the vehicle inspection apparatus 1 to the vehicle V and the transmission of the communication result from the vehicle V to the vehicle inspection apparatus 1 multiple times, the quality of one inspection item is determined. You may judge.

送信フロー制御部52は、検査制御部51において複数の検査プログラムを実行することによって生成される複数の通信要求を検査制御部51で生成される順で取得し、図3を参照して説明するフロー制御を行うことによって、車両検査装置1による検査時間が短くなるように複数の通信要求の順序を最適化した後、これら複数の通信要求を通信要求送信バッファ53に書き込む。   The transmission flow control unit 52 acquires a plurality of communication requests generated by executing a plurality of inspection programs in the inspection control unit 51 in the order generated by the inspection control unit 51, and will be described with reference to FIG. By performing flow control, the order of a plurality of communication requests is optimized so that the inspection time by the vehicle inspection apparatus 1 is shortened, and then the plurality of communication requests are written in the communication request transmission buffer 53.

図3は、送信フロー制御部52において実行されるフロー制御の手順を示すブロック図である。
送信フロー制御部52は、要求送信先登録部521と、通信要求バッファ522と、フロー制御部523と、を備える。
FIG. 3 is a block diagram illustrating a flow control procedure executed in the transmission flow control unit 52.
The transmission flow control unit 52 includes a request transmission destination registration unit 521, a communication request buffer 522, and a flow control unit 523.

通信要求バッファ522は、検査制御部によって生成された複数の通信要求を一時的に記憶するメモリである。図3に示すように、通信要求バッファ522のメモリ領域は、検査対象である車両に搭載されているECUごとに区画されている。以下では、通信要求バッファ522のうち、第1、第2、…第n番目のECUに応じて区画されたメモリ領域をそれぞれ、第1バッファ522_1、第2バッファ522_2、…第nバッファ522_nと定義する。これらバッファ522_1〜522_nには、それぞれ少なくとも2つの通信要求を記憶することが可能となっている。また、これらバッファ522_1〜522_nは、それぞれ、書き込まれた順で出力される所謂FIFOバッファである。   The communication request buffer 522 is a memory that temporarily stores a plurality of communication requests generated by the inspection control unit. As shown in FIG. 3, the memory area of the communication request buffer 522 is partitioned for each ECU mounted on the vehicle to be inspected. In the following, among the communication request buffers 522, memory areas partitioned according to the first, second,..., Nth ECUs are defined as a first buffer 522_1, a second buffer 522_2,. To do. Each of these buffers 522_1 to 522_n can store at least two communication requests. The buffers 522_1 to 522_n are so-called FIFO buffers that are output in the order of writing.

なお図3において、記号”Cmdi_j_k”は通信要求を示す。添え字”i”は、第”i”番目の検査プログラムの実行に起因して生成される通信要求であることを意味する。添え字”j”は、検査プログラムにおいて第”j”回目に生成された通信要求であることを意味する。また添え字”k”は、第”k”番目のECUを送信先とした通信要求であることを意味する。   In FIG. 3, the symbol “Cmdi_j_k” indicates a communication request. The subscript “i” means a communication request generated due to the execution of the “i” th inspection program. The subscript “j” means a communication request generated at the “j” th time in the inspection program. The subscript “k” means a communication request with the “k” -th ECU as a transmission destination.

なお、これら複数のバッファ522_1〜522_nは、車両に搭載されているECUの数だけ、検査を行う前から予め準備しておいてもよいし、検査制御部51において複数の検査プログラムが選択されたことに応じて、これら複数の検査プログラムを実行することによって通信要求が送信され得るECUの分だけ準備してもよい。   The plurality of buffers 522_1 to 522_n may be prepared in advance by the number of ECUs mounted on the vehicle before performing the inspection, or a plurality of inspection programs are selected by the inspection control unit 51. Depending on the situation, the ECUs may be prepared for the communication requests that can be transmitted by executing the plurality of inspection programs.

要求送信先登録部521は、検査制御部によって新たな通信要求が生成されると、この通信要求に含まれているアドレスを用いることによってこの通信要求が送信されるべきECUを特定し、この通信要求を上記通信要求バッファ522の送信先のECUに応じて区画されたバッファに書き込む。すなわち、要求送信先登録部521は、検査制御部によって生成された通信要求を、そのアドレスに応じたバッファ522_1〜522_nに振り分けて書き込む。   When a new communication request is generated by the inspection control unit, the request transmission destination registration unit 521 specifies an ECU to which the communication request is to be transmitted by using an address included in the communication request, and this communication The request is written in a buffer that is partitioned according to the transmission destination ECU of the communication request buffer 522. That is, the request transmission destination registration unit 521 distributes and writes the communication request generated by the inspection control unit in the buffers 522_1 to 522_n corresponding to the addresses.

フロー制御部523は、バッファ522_1〜522_nごとに予め規定した走査順序に従って通信要求バッファ522に記憶された通信要求を読み込み、通信要求送信バッファ53に書き込む。より具体的には、フロー制御部523は、図3において太矢印で示すように、予め定められた走査順序に従って各バッファ522_1〜522_nに記憶されている通信要求のうち最も先頭のもの(すなわち、各バッファ522_1〜522_nに最も先に書き込まれた通信要求)を読み込み、これを通信要求バッファ53に書き込む。なお、図3には、バッファ522_1から順にバッファ522_nまで先頭の通信要求を読み込んだ後は、再びバッファ522_1に戻る例を示すが、走査順序はこのような例に限らない。このように本実施形態では、フロー制御部523によって読み込んだものを通信要求送信バッファ53に書き込むことにより、上述のように各バッファ522_1〜522_nの先頭の通信要求を繰り返し走査した場合に、誤って同じ通信要求を繰り返し読み込むこともない。   The flow control unit 523 reads the communication request stored in the communication request buffer 522 in accordance with the scanning order defined in advance for each of the buffers 522_1 to 522_n and writes the communication request in the communication request transmission buffer 53. More specifically, as indicated by a thick arrow in FIG. 3, the flow control unit 523 is the first communication request stored in each of the buffers 522_1 to 522_n according to a predetermined scanning order (ie, The communication request written first in each of the buffers 522_1 to 522_n is read and written to the communication request buffer 53. 3 illustrates an example in which the first communication request is sequentially read from the buffer 522_1 to the buffer 522_n and then returned to the buffer 522_1 again. However, the scanning order is not limited to this example. As described above, in the present embodiment, by writing what has been read by the flow control unit 523 into the communication request transmission buffer 53, when the top communication request of each of the buffers 522_1 to 522_n is repeatedly scanned as described above, an error occurs. The same communication request is not read repeatedly.

またフロー制御部523は、通信要求送信バッファ53において許可された容量まで通信要求をこの通信要求送信バッファ53に書き込む。ここで、通信要求送信バッファ53において許可された容量とは、後述の通信要求送信部54から通信処理部3へ送信可能な容量(所謂ウィンドウサイズ)と検査処理部2と通信処理部3との間のデータ通信で一度に送信可能なパケットサイズの総量の少ない方である。なお、ウィンドウサイズは、例えばスライディングウィンドウ方式等の既知の方法によって取得できる。   Further, the flow control unit 523 writes a communication request in the communication request transmission buffer 53 up to a capacity permitted in the communication request transmission buffer 53. Here, the capacity permitted in the communication request transmission buffer 53 is the capacity (so-called window size) that can be transmitted from the communication request transmission unit 54 described later to the communication processing unit 3, the inspection processing unit 2, and the communication processing unit 3. The smaller of the total amount of packet sizes that can be transmitted at one time in the data communication. The window size can be acquired by a known method such as a sliding window method.

図2に戻り、通信要求送信バッファ53は、上述のようなフロー制御を経て送信フロー制御部52から出力された複数の通信要求を記憶する。通信要求送信バッファ53は、通信要求を書き込まれた順で出力するFIFOバッファである。通信要求送信部54は、通信要求送信バッファ53に記憶された通信要求を読み込み、これを通信処理部3へ送信する。   Returning to FIG. 2, the communication request transmission buffer 53 stores a plurality of communication requests output from the transmission flow control unit 52 through the flow control as described above. The communication request transmission buffer 53 is a FIFO buffer that outputs communication requests in the order written. The communication request transmission unit 54 reads the communication request stored in the communication request transmission buffer 53 and transmits it to the communication processing unit 3.

通信結果受信部55は、通信処理部3から送信される通信結果を受信し、この通信結果を通信結果受信バッファ56に書き込む。通信結果受信バッファ56は、通信結果を書き込まれた順で出力するFIFOバッファである。検査制御部51は、実行中の検査プログラムに対応した通信結果が通信結果受信バッファ56に書き込まれると、この通信結果を読み込み、この検査プログラムに従って検査項目の良否を判定するか又は新たな通信要求を生成する。   The communication result receiving unit 55 receives the communication result transmitted from the communication processing unit 3 and writes the communication result in the communication result receiving buffer 56. The communication result reception buffer 56 is a FIFO buffer that outputs communication results in the order in which they are written. When the communication result corresponding to the currently executed inspection program is written in the communication result reception buffer 56, the inspection control unit 51 reads this communication result and determines the quality of the inspection item according to this inspection program or makes a new communication request. Is generated.

次に、通信処理部3側の構成について説明する。
通信要求受信部61は、検査処理部2の通信要求送信部54から送信された通信要求を受信し、これを通信要求受信バッファ62に書き込む。通信要求受信バッファ62は、通信要求を書き込まれた順で出力するFIFOバッファである。
Next, the configuration on the communication processing unit 3 side will be described.
The communication request receiving unit 61 receives the communication request transmitted from the communication request transmitting unit 54 of the inspection processing unit 2 and writes it in the communication request receiving buffer 62. The communication request reception buffer 62 is a FIFO buffer that outputs communication requests in the order written.

通信結果送信部64は、通信結果送信バッファ63に記憶された通信結果を読み込み、これを検査処理部2の通信結果受信部55へ送信する。通信結果送信バッファ63は、通信結果を書き込まれた順で出力するFIFOバッファである。   The communication result transmission unit 64 reads the communication result stored in the communication result transmission buffer 63 and transmits it to the communication result reception unit 55 of the inspection processing unit 2. The communication result transmission buffer 63 is a FIFO buffer that outputs communication results in the order written.

車両通信部65は、車両検査装置1と車両Vとの間における通信要求や通信結果の送受信に関する処理を行う。より具体的には、車両通信部65は、通信要求受信バッファ62に記憶された通信要求を読み込み、この通信要求をその送信先のECUへ通信ラインを介して送信する。これにより、検査制御部51によって生成された複数の通信要求は、送信フロー制御部52を経た後、通信要求送信部54から送信される順序に従って、車両Vへ送信される。また車両通信部65は、車両VのECUから通信ラインを介して通信結果を受信すると、この通信結果を通信結果送信バッファ63に書き込む。   The vehicle communication unit 65 performs processing related to transmission / reception of communication requests and communication results between the vehicle inspection apparatus 1 and the vehicle V. More specifically, the vehicle communication part 65 reads the communication request memorize | stored in the communication request reception buffer 62, and transmits this communication request to ECU of the transmission destination via a communication line. Thus, the plurality of communication requests generated by the inspection control unit 51 are transmitted to the vehicle V according to the order of transmission from the communication request transmission unit 54 after passing through the transmission flow control unit 52. Further, when the vehicle communication unit 65 receives a communication result from the ECU of the vehicle V via the communication line, the vehicle communication unit 65 writes the communication result in the communication result transmission buffer 63.

以上のように構成された検査処理部2と通信処理部3との間の通信は、例えばシリアル通信規格(特に、USB(Universal Serial Bus))に準拠したものであることが好ましい。この場合、通信要求送信バッファ53、通信要求受信バッファ62、通信結果受信バッファ56、及び通信結果送信バッファ63は、このシリアル通信規格に基づくキャッシュメモリとして構成される。   The communication between the inspection processing unit 2 and the communication processing unit 3 configured as described above is preferably compliant with, for example, a serial communication standard (in particular, USB (Universal Serial Bus)). In this case, the communication request transmission buffer 53, the communication request reception buffer 62, the communication result reception buffer 56, and the communication result transmission buffer 63 are configured as a cache memory based on this serial communication standard.

次に、上述の送信フロー制御部52における通信要求に対するフロー制御の効果について説明する。
図4は、従来の車両検査装置を用いて複数の検査項目の良否を判定した際における通信要求及び通信結果の流れの一例を示すタイムチャートである。
図5は、本実施形態の車両検査装置を用いて同じ数の検査項目の良否を判定した際における通信要求及び通信結果の流れの一例を示すタイムチャートである。
ここで従来の車両検査装置とは、通信要求に対し上述のようなフロー制御を行わないものをいい、検査処理部から検査制御部へ、複数の通信要求を、検査制御部において生成された順序と同じ順序で送信するものをいう。
Next, the effect of flow control on the communication request in the transmission flow control unit 52 described above will be described.
FIG. 4 is a time chart showing an example of a flow of a communication request and a communication result when determining the quality of a plurality of inspection items using a conventional vehicle inspection device.
FIG. 5 is a time chart showing an example of the flow of communication requests and communication results when the quality of the same number of inspection items is determined using the vehicle inspection apparatus of the present embodiment.
Here, the conventional vehicle inspection device refers to a device that does not perform the flow control as described above in response to a communication request, and the order in which a plurality of communication requests are generated in the inspection control unit from the inspection processing unit to the inspection control unit. That are sent in the same order.

図4及び図5の例では、判定すべき検査項目の数(すなわち、実行すべき検査プログラムの数)は4つとし、車両に搭載されているECUの総数は4つとした場合を示す。また、通信処理部で同時に並行して処理できる通信要求の数(換言すれば、通信処理部で受け付け可能な通信要求の数)は2つとする。なお、この受け付け可能な通信要求の数は、通信処理部の性能に応じて定められる。また、車両検査装置からECUへ送信する通信要求と、この通信要求に対する応答としてECUから車両検査装置へ送信される通信結果との対応関係が明確になるように、通信処理部は、通信要求をECUに送信してからこれに対する通信結果を受信するまで、同じECUに対しては通信要求の送信を一時的に停止させた。   In the example of FIGS. 4 and 5, the number of inspection items to be determined (that is, the number of inspection programs to be executed) is four, and the total number of ECUs mounted on the vehicle is four. In addition, the number of communication requests that can be simultaneously processed in parallel by the communication processing unit (in other words, the number of communication requests that can be received by the communication processing unit) is two. The number of acceptable communication requests is determined according to the performance of the communication processing unit. Further, the communication processing unit issues a communication request so that the correspondence between the communication request transmitted from the vehicle inspection device to the ECU and the communication result transmitted from the ECU to the vehicle inspection device as a response to the communication request becomes clear. The transmission of the communication request to the same ECU was temporarily stopped until the communication result for the ECU was received after the transmission to the ECU.

また、図4及び図5では、4つの検査プログラムをP1,P2,P3,P4の順で実行した場合を示す。また各検査プログラムP1〜P4は、車両検査装置と車両との間でそれぞれ2回ずつ通信要求及び通信結果の送受信を行うものとする。また検査処理部と通信処理部との間では、上述のシリアル通信によって、一定の周期で定期的に通信要求及び通信結果の送受信を行うようにした。   4 and 5 show a case where four inspection programs are executed in the order of P1, P2, P3, and P4. Moreover, each inspection program P1-P4 shall transmit / receive a communication request and a communication result twice each between a vehicle inspection apparatus and a vehicle. Further, between the inspection processing unit and the communication processing unit, the communication request and the communication result are periodically transmitted and received at a constant cycle by the serial communication described above.

また図4及び図5において、記号”Resi_j_k”は通信結果を示す。添え字”i”は、第”i”番目の検査プログラムの実行に起因して生成される通信要求に対する通信結果であることを意味する。添え字”j”は、検査プログラムにおいて第”j”回目に生成された通信要求に対する通信結果であることを意味する。また添え字”k”は、第”k”番目のECUを送信元とした通信結果であることを意味する。   In FIGS. 4 and 5, the symbol “Resi_j_k” indicates a communication result. The subscript “i” means a communication result for a communication request generated due to the execution of the “i” -th inspection program. The subscript “j” means a communication result for the communication request generated at the “j” th time in the inspection program. The subscript “k” means a communication result with the “k” th ECU as the transmission source.

まず、図4について説明する。始めに、検査制御部によって4つの検査プログラムP1〜P4が、この順で実行される。これにより、各検査プログラムP1〜P4に応じた1回目の通信要求Cmd1_1_1、Cmd2_1_1、Cmd3_1_3、Cmd4_1_4が、この順で生成される。図4に示すように、この例では、4つのECUのうち1番目のECUへ向けた2つの通信要求Cmd1_1_1及びCmd2_1_1が続けて生成される。   First, FIG. 4 will be described. First, the four inspection programs P1 to P4 are executed in this order by the inspection control unit. Thereby, the first communication requests Cmd1_1_1, Cmd2_1_1, Cmd3_1_3, and Cmd4_1_4 corresponding to the inspection programs P1 to P4 are generated in this order. As shown in FIG. 4, in this example, two communication requests Cmd1_1_1 and Cmd2_1_1 directed to the first ECU among the four ECUs are generated in succession.

従来のフロー制御の下では、通信要求は、検査処理部から通信処理部へ、通信処理部における受け付け可能な数を超えない範囲内で生成された順で送信する。このため、1回目の通信周期では、始めに生成された4つの通信要求のうち2つの通信要求Cmd1_1_1及びCmd_2_1_1のみが検査処理部から通信処理部へ送信される。ところがこれら2つの通信要求Cmd1_1_1及びCmd_2_1_1は、同じ第1番目のECUを送信先とするため、通信処理部は通信要求Cmd1_1_1に対する応答Res1_1_1を受信するまで、通信要求Cmd2_1_1を送信することができない。このため、1回目と2回目の通信周期の間では、1つのECUしか検査のために稼働させることができない。   Under conventional flow control, a communication request is transmitted from the inspection processing unit to the communication processing unit in the order generated within a range that does not exceed the number acceptable by the communication processing unit. Therefore, in the first communication cycle, only two communication requests Cmd1_1_1 and Cmd_2_1_1 among the four communication requests generated first are transmitted from the inspection processing unit to the communication processing unit. However, since these two communication requests Cmd1_1_1 and Cmd_2_1_1 are sent to the same first ECU, the communication processing unit cannot transmit the communication request Cmd2_1_1 until the response Res1_1_1 to the communication request Cmd1_1_1 is received. For this reason, only one ECU can be operated for inspection between the first and second communication cycles.

また、2回目の通信周期では、通信処理部は、先に送信した通信要求Cmd2_1_1に対する応答を受信していないため、この時点において新たに受け付けることができる通信要求の数は1つだけである。したがって、2回目と3回目の通信周期の間では、新たに1つのECUにしか通信要求Cmd3_1_3を送信することができない。   In the second communication cycle, since the communication processing unit has not received a response to the previously transmitted communication request Cmd2_1_1, the number of communication requests that can be newly accepted at this time is only one. Therefore, the communication request Cmd3_1_3 can be newly transmitted to only one ECU between the second and third communication cycles.

以上のように、従来のフロー制御の下では、同一のECUへ向けて通信要求が集中した場合、複数のECUを並行して稼働させることができず、その分だけ他のECUに対する通信要求の送信が遅れてしまい、結果として4つの検査プログラムが終了するまで検査処理部と通信処理部との間で行われる通信回数も増えてしまう(図4の例では、6周期分)。   As described above, under the conventional flow control, when communication requests are concentrated toward the same ECU, a plurality of ECUs cannot be operated in parallel, and communication requests for other ECUs are accordingly increased. Transmission is delayed, and as a result, the number of times of communication performed between the inspection processing unit and the communication processing unit is increased until the four inspection programs are finished (in the example of FIG. 4, six cycles).

次に、図5について説明する。始めに、検査制御部によって各検査プログラムP1〜P4に応じた1回目の通信要求Cmd1_1_1、Cmd2_1_1、Cmd3_1_3、Cmd4_1_4が、図4と同じ順序で生成される。   Next, FIG. 5 will be described. First, the first communication requests Cmd1_1_1, Cmd2_1_1, Cmd3_1_3, and Cmd4_1_4 corresponding to the respective inspection programs P1 to P4 are generated in the same order as in FIG.

ここで、図3に示すフロー制御の下では、生成された複数の通信要求は、要求送信先登録部521によって通信要求バッファ522のECUごとに区画されたメモリ領域に書き込まれる。そしてフロー制御部523は、通信要求バッファ522に記憶された通信要求を、ECUごとに定められた走査順序に従って読み込む。このため、1回目の通信周期では、検査処理部から通信処理部へ、2つの通信要求Cmd1_1_1及びCmd3_1_3が送信される。これら2つの通信要求Cmd1_1_1及びCmd3_1_3は、それぞれ1番目のECUと3番目のECUへ向けた通信要求である。このため、通信処理部は、図4の例と異なり、通信要求Cmd1_1_1に対する応答Res1_1_1を待つことなく、3番目のECUへ向けて通信要求Cmd3_1_3を送信することができる。このため、1回目と2回目の通信周期の間では、2つのECUを検査のために並行して稼働させることができる。   Here, under the flow control shown in FIG. 3, the generated plurality of communication requests are written in a memory area partitioned for each ECU of the communication request buffer 522 by the request transmission destination registration unit 521. Then, the flow control unit 523 reads the communication request stored in the communication request buffer 522 in accordance with the scanning order determined for each ECU. Therefore, in the first communication cycle, two communication requests Cmd1_1_1 and Cmd3_1_3 are transmitted from the inspection processing unit to the communication processing unit. These two communication requests Cmd1_1_1 and Cmd3_1_3 are communication requests directed to the first ECU and the third ECU, respectively. Therefore, unlike the example of FIG. 4, the communication processing unit can transmit the communication request Cmd3_1_3 to the third ECU without waiting for the response Res1_1_1 to the communication request Cmd1_1_1. For this reason, two ECUs can be operated in parallel for the inspection between the first and second communication cycles.

またこのため、2回目の通信周期では、通信処理部は、先に送信した2つの通信要求に対する応答を既に受信しているため、この時点において新たに受け付けることができる通信要求の数は2つとなる。したがって、2回目と3回目の通信周期の間では、新たに2つの異なるECUに対して通信要求Cmd2_1_1及びCmd4_1_4を送信することができる。   Also, for this reason, in the second communication cycle, the communication processing unit has already received responses to the two communication requests transmitted earlier, so the number of communication requests that can be newly accepted at this point is two. Become. Therefore, communication requests Cmd2_1_1 and Cmd4_1_4 can be newly transmitted to two different ECUs between the second and third communication cycles.

以上のように図3のフロー制御の下では、同一のECUへ向けて通信要求が集中して生成されても、これら通信要求の順序は、できるだけ複数のECUが並行して稼働するように並び替えられるため、結果として4つの検査プログラムが終了するまで検査処理部と通信処理部との間で行われる通信回数は、図4の例よりも少なくなる(図5の例では、5周期分)。これにより、良否を判定すべき検査項目が数多くある場合であっても、検査にかかる時間を短縮できる。   As described above, even if communication requests are concentrated and generated toward the same ECU under the flow control of FIG. 3, the order of these communication requests is arranged so that a plurality of ECUs operate in parallel as much as possible. As a result, the number of communications performed between the inspection processing unit and the communication processing unit until the four inspection programs are ended as a result is smaller than that in the example of FIG. 4 (5 cycles in the example of FIG. 5). . Thereby, even when there are many inspection items for which pass / fail is determined, the time required for the inspection can be shortened.

<第2実施形態>
次に、本発明の第2実施形態に係る車両検査装置1Aについて、図面を参照しながら説明する。以下では、第1実施形態の車両検査装置1と異なる構成については異なる符号を付し、同じ構成については同じ符号を付しその説明を省略する。
Second Embodiment
Next, a vehicle inspection apparatus 1A according to a second embodiment of the present invention will be described with reference to the drawings. Below, a different code | symbol is attached | subjected about the structure different from the vehicle inspection apparatus 1 of 1st Embodiment, the same code | symbol is attached | subjected about the same structure, and the description is abbreviate | omitted.

図6は、本実施形態の車両検査装置1Aの送信フロー制御部52Aにおいて実行されるフロー制御の手順を示すブロック図である。本実施形態の車両検査装置1Aは、第1実施形態の車両検査装置1と、送信フロー制御部52Aの構成が異なる。
送信フロー制御部52Aは、要求送信先登録部521Aと、通信要求バッファ522Aと、フロー制御部523Aと、を備える。
FIG. 6 is a block diagram illustrating a flow control procedure executed in the transmission flow control unit 52A of the vehicle inspection apparatus 1A of the present embodiment. The vehicle inspection apparatus 1A of the present embodiment is different from the vehicle inspection apparatus 1 of the first embodiment in the configuration of the transmission flow control unit 52A.
The transmission flow control unit 52A includes a request transmission destination registration unit 521A, a communication request buffer 522A, and a flow control unit 523A.

通信要求バッファ522Aは、検査制御部によって生成された複数の通信要求を一時的に記憶するメモリである。図3を参照して説明したように、第1実施形態の送信フロー制御部52では、通信要求バッファ522のメモリ領域をECUごとに区画した。これに対し本実施形態の通信要求バッファ522Aでは、メモリ領域をECUごとに区画せずに用いる。要求送信先登録部521Aは、検査制御部によって新たな通信要求が生成されると、この通信要求を生成された順で通信要求バッファ522Aに書き込む。   The communication request buffer 522A is a memory that temporarily stores a plurality of communication requests generated by the inspection control unit. As described with reference to FIG. 3, in the transmission flow control unit 52 of the first embodiment, the memory area of the communication request buffer 522 is partitioned for each ECU. In contrast, in the communication request buffer 522A of the present embodiment, the memory area is used without being divided for each ECU. When a new communication request is generated by the inspection control unit, the request transmission destination registration unit 521A writes the communication requests in the communication request buffer 522A in the order of generation.

フロー制御部523Aは、通信要求バッファ522Aに記憶されている複数の通信要求から1つを、送信先が同一のものが続かないような順序で選択的に読み込み、通信要求送信バッファ53に書き込む。より具体的には、フロー制御部523Aは、送信先となり得る複数のECUに対して予め検索順序を定めておき、この検索順序に従って順番に該当するECUを送信先とする通信要求が通信要求バッファ522Aに記憶されている複数の通信要求の中に存在するかどうかを通信要求に含まれるアドレスを用いて判定する。この判定の結果、該当するECUを送信先とする通信要求が存在する場合には、フロー制御部523Aは、該当する通信要求のうちの1つを読み込み、通信要求バッファ53に書き込む。またこの判定の結果、該当するECUを送信先とする通信要求が存在しなかった場合には、フロー制御部523Aは、検索順序を1つ繰り下げ、再び該当するECUを送信先とする通信要求が、通信要求バッファ522Aに存在するかどうかを判定する。このように、フロー制御部523Aによって通信要求バッファ522A内を検索することにより、送信先が同一のものが続かないような順序で選択的に通信要求を読み込み、通信要求送信バッファ53に書き込むことができる。   The flow control unit 523A selectively reads one of the plurality of communication requests stored in the communication request buffer 522A in an order so that the same transmission destination does not continue, and writes it to the communication request transmission buffer 53. More specifically, the flow control unit 523A determines a search order in advance for a plurality of ECUs that can be transmission destinations, and a communication request with the corresponding ECU as a transmission destination in accordance with the search order is a communication request buffer. It is determined using the address included in the communication request whether or not it exists in the plurality of communication requests stored in 522A. As a result of this determination, if there is a communication request with the corresponding ECU as the transmission destination, the flow control unit 523A reads one of the corresponding communication requests and writes it in the communication request buffer 53. Further, as a result of this determination, if there is no communication request with the corresponding ECU as the transmission destination, the flow control unit 523A decrements the search order by one, and a communication request with the corresponding ECU as the transmission destination again. It is determined whether or not the communication request buffer 522A exists. In this way, by searching the communication request buffer 522A by the flow control unit 523A, the communication requests can be selectively read and written in the communication request transmission buffer 53 in such an order that the same destinations do not continue. it can.

以上のような送信フロー制御部52Aを備える車両検査装置1Aによれば、第1実施形態の車両検査装置1と同じ効果を奏する。   According to the vehicle inspection apparatus 1A including the transmission flow control unit 52A as described above, the same effects as those of the vehicle inspection apparatus 1 of the first embodiment can be obtained.

<第3実施形態>
次に、本発明の第3実施形態に係る車両検査装置1Bについて、図面を参照しながら説明する。以下では、第1実施形態の車両検査装置1と異なる構成については異なる符号を付し、同じ構成については同じ符号を付しその説明を省略する。
<Third Embodiment>
Next, a vehicle inspection apparatus 1B according to a third embodiment of the present invention will be described with reference to the drawings. Below, a different code | symbol is attached | subjected about the structure different from the vehicle inspection apparatus 1 of 1st Embodiment, the same code | symbol is attached | subjected about the same structure, and the description is abbreviate | omitted.

図7は、本実施形態に係る車両検査装置1Bにおける検査処理部2B及び通信処理部3Bの間のネットワーク構成を示すブロック図である。本実施形態の車両検査装置1Bは、第1実施形態の車両検査装置1と、検査処理部2B及び通信処理部3Bの構成が異なる。上述のように、車両Vには3つの通信ラインL1〜L3が設けられ、各通信ラインL1〜L3には、それぞれp個、q個、及びr個のECUが接続されている(図1参照)。本実施形態の車両検査装置1Bは、検査処理部2B及び通信処理部3Bの間で、車両Vに設けられている通信ラインL1〜L3の数と等しい数の通信系統を設ける点で第1実施形態の車両検査装置1と異なる。   FIG. 7 is a block diagram illustrating a network configuration between the inspection processing unit 2B and the communication processing unit 3B in the vehicle inspection apparatus 1B according to the present embodiment. The vehicle inspection apparatus 1B of the present embodiment is different from the vehicle inspection apparatus 1 of the first embodiment in the configuration of the inspection processing unit 2B and the communication processing unit 3B. As described above, the vehicle V is provided with three communication lines L1 to L3, and p, q, and r ECUs are connected to the communication lines L1 to L3, respectively (see FIG. 1). ). The vehicle inspection apparatus 1B of the present embodiment is the first implementation in that a number of communication systems equal to the number of communication lines L1 to L3 provided in the vehicle V are provided between the inspection processing unit 2B and the communication processing unit 3B. It differs from the vehicle inspection apparatus 1 of a form.

検査処理部2Bには、検査制御部51と、送信フロー制御部52Bと、統合フロー制御部57Bと、通信要求送信バッファ53と、通信要求送信部54と、通信結果受信部55と、通信結果受信バッファ56と、が構成される。   The inspection processing unit 2B includes an inspection control unit 51, a transmission flow control unit 52B, an integrated flow control unit 57B, a communication request transmission buffer 53, a communication request transmission unit 54, a communication result reception unit 55, and a communication result. A reception buffer 56.

送信フロー制御部52Bは、第1通信ラインに対応して設けられた第1送信フロー制御部52Baと、第2通信ラインに対応して設けられた第2送信フロー制御部52Bbと、第3通信ラインに対応して設けられた第3送信フロー制御部52Bcと、を組み合わせて構成される。各送信フロー制御部52Ba,52Bb,52Bcは、それぞれ、通信ラインごとに独立して区画された通信要求バッファを備えており、図3を参照して説明したフロー制御を行うことによって、検査制御部51において複数の通信要求の順序を最適化する機能を有する。   The transmission flow control unit 52B includes a first transmission flow control unit 52Ba provided corresponding to the first communication line, a second transmission flow control unit 52Bb provided corresponding to the second communication line, and a third communication. And a third transmission flow control unit 52Bc provided corresponding to the line. Each of the transmission flow control units 52Ba, 52Bb, and 52Bc includes a communication request buffer that is partitioned independently for each communication line. By performing the flow control described with reference to FIG. 3, the inspection control unit 51 has a function of optimizing the order of a plurality of communication requests.

より具体的には、第1送信フロー制御部52Baは、検査制御部51において複数の検査プログラムを実行することによって生成された複数の通信要求のうち、その送信先のECUが第1通信ラインに接続されているもののみを取得し、取得した通信要求に対して図3を参照して説明したフロー制御を行うことによって、複数の通信要求の順序を第1通信ラインに属するもの中で最適化する。   More specifically, the first transmission flow control unit 52Ba, among the plurality of communication requests generated by executing the plurality of inspection programs in the inspection control unit 51, the transmission destination ECU becomes the first communication line. Optimizes the order of multiple communication requests among those belonging to the first communication line by acquiring only those that are connected and performing the flow control described with reference to FIG. 3 for the acquired communication requests. To do.

第2送信フロー制御部52Bbは、第1送信フロー制御部52Baと同様のフロー制御を行うことによって、検査制御部51において生成された複数の通信要求の順序を第2通信ラインに属するものの中で最適化する。   The second transmission flow control unit 52Bb performs the same flow control as the first transmission flow control unit 52Ba, so that the order of the plurality of communication requests generated in the inspection control unit 51 belongs to the second communication line. Optimize.

第3送信フロー制御部52Bcは、第1送信フロー制御部52Baと同様のフロー制御を行うことによって、検査制御部51において生成された複数の通信要求の順序を第3通信ラインに属するものの中で最適化する。   The third transmission flow control unit 52Bc performs the same flow control as the first transmission flow control unit 52Ba, so that the order of the plurality of communication requests generated in the inspection control unit 51 belongs to the third communication line. Optimize.

なお、各送信フロー制御部52Ba〜52Bcにおいて実行されるフロー制御は、図3を参照して説明したものに限らず、例えば図6を参照して説明したものを行ってもよい。   In addition, the flow control performed in each transmission flow control part 52Ba-52Bc is not restricted to what was demonstrated with reference to FIG. 3, For example, you may perform what was demonstrated with reference to FIG.

統合フロー制御部57Bは、送信フロー制御部52Ba〜52Bcの何れかを経て、通信ラインごとに最適になるように並び替えられた複数の通信要求を読み込み、これを通信要求送信バッファ53に書き込む。   The integrated flow control unit 57B reads a plurality of communication requests rearranged so as to be optimal for each communication line via any of the transmission flow control units 52Ba to 52Bc, and writes them into the communication request transmission buffer 53.

通信処理部3Bには、通信要求受信部61と、通信要求受信バッファ62と、受信フロー制御部66Bと、通信結果送信バッファ63と、通信結果送信部64と、車両通信部65Bと、が構成される。   The communication processing unit 3B includes a communication request reception unit 61, a communication request reception buffer 62, a reception flow control unit 66B, a communication result transmission buffer 63, a communication result transmission unit 64, and a vehicle communication unit 65B. Is done.

受信フロー制御部66Bは、分離フロー制御部661Bと、第1通信ラインに対応して設けられた第1通信要求受信バッファ662Baと、第2通信ラインに対応して設けられた第2通信要求受信バッファ662Bbと、第3通信ラインに対応して設けられた第3通信要求受信バッファ662Bcと、を備える。   The reception flow control unit 66B includes a separation flow control unit 661B, a first communication request reception buffer 662Ba provided corresponding to the first communication line, and a second communication request reception provided corresponding to the second communication line. A buffer 662Bb, and a third communication request reception buffer 662Bc provided corresponding to the third communication line.

これら通信要求受信バッファ662Ba〜662Bcは、それぞれ、通信要求を書き込まれた順で出力するFIFOバッファであり、各々の通信ラインに接続されるECUを送信先とする複数の通信要求を記憶する。分離フロー制御部661Bは、通信要求受信バッファ62に記憶された通信要求を読み込み、この通信要求に含まれているアドレスを用いることによってこの通信要求が送信されるべき通信ラインを特定し、この通信要求を、特定した通信ラインに対応する通信要求受信バッファ662Ba〜662Bcに書き込む。   Each of these communication request reception buffers 662Ba to 662Bc is a FIFO buffer that outputs the communication requests in the order in which they are written, and stores a plurality of communication requests whose destination is the ECU connected to each communication line. The separation flow control unit 661B reads the communication request stored in the communication request reception buffer 62, specifies the communication line to which this communication request is to be transmitted by using the address included in this communication request, and executes this communication The request is written in the communication request reception buffers 662Ba to 662Bc corresponding to the specified communication line.

車両通信部65Bは、第1通信ラインに接続されたECUとの通信を担う第1通信部65Baと、第2通信ラインに接続されたECUとの通信を担う第2通信部65Bbと、第3通信ラインに接続されたECUとの通信を担う第3通信部65Bcと、を備える。   The vehicle communication unit 65B includes a first communication unit 65Ba responsible for communication with the ECU connected to the first communication line, a second communication unit 65Bb responsible for communication with the ECU connected to the second communication line, and a third 3rd communication part 65Bc which bears communication with ECU connected to the communication line.

第1通信部65Baは、第1通信要求受信バッファ662Baに記憶された通信要求を読み込み、この通信要求をその送信先のECUへ第1通信ラインを介して送信する。また第1通信部65Baは、車両Vから第1通信ラインを介して通信結果を受信すると、この通信結果を通信結果送信バッファ63に書き込む。   The first communication unit 65Ba reads the communication request stored in the first communication request reception buffer 662Ba, and transmits this communication request to the destination ECU via the first communication line. Further, when the first communication unit 65Ba receives the communication result from the vehicle V via the first communication line, the first communication unit 65Ba writes the communication result in the communication result transmission buffer 63.

第2通信部65Bbは、第2通信要求受信バッファ662Bbに記憶された通信要求を読み込み、この通信要求をその送信先のECUへ第2通信ラインを介して送信する。また第2通信部65Bbは、車両Vから第2通信ラインを介して通信結果を受信すると、この通信結果を通信結果送信バッファ63に書き込む。   The second communication unit 65Bb reads the communication request stored in the second communication request reception buffer 662Bb, and transmits this communication request to the destination ECU via the second communication line. In addition, when the second communication unit 65Bb receives a communication result from the vehicle V via the second communication line, the second communication unit 65Bb writes the communication result in the communication result transmission buffer 63.

第3通信部65Bcは、第3通信要求受信バッファ662Bcに記憶された通信要求を読み込み、この通信要求をその送信先のECUへ第3通信ラインを介して送信する。また第3通信部65Bcは、車両Vから第3通信ラインを介して通信結果を受信すると、この通信結果を通信結果送信バッファ63に書き込む。   The third communication unit 65Bc reads the communication request stored in the third communication request reception buffer 662Bc, and transmits this communication request to the destination ECU via the third communication line. In addition, when the third communication unit 65Bc receives the communication result from the vehicle V via the third communication line, the third communication unit 65Bc writes the communication result in the communication result transmission buffer 63.

以上のような車両検査装置1Bによれば、第1又は第2実施形態の車両検査装置の効果に加えて、以下の効果を奏する。例えば、車両検査装置1Bによれば、通信ラインごとに送信フロー制御部52Ba〜52Bcを設け、通信ラインごとに複数の通信要求の順序を最適化するフロー制御を行う。これにより、車両には複数の異なる規格の通信ラインが設けられている場合であっても、同一のECUに対して通信要求が集中しないようにでき、結果として検査に係る時間を短縮できる。   According to the vehicle inspection apparatus 1B as described above, the following effects are obtained in addition to the effects of the vehicle inspection apparatus of the first or second embodiment. For example, according to the vehicle inspection apparatus 1B, transmission flow control units 52Ba to 52Bc are provided for each communication line, and flow control is performed to optimize the order of a plurality of communication requests for each communication line. Thereby, even when a plurality of communication lines of different standards are provided in the vehicle, communication requests can be prevented from being concentrated on the same ECU, and as a result, the time required for inspection can be shortened.

また車両検査装置1Bによれば、通信要求受信部61と受信フロー制御部66Bとの間に通信要求受信バッファ62を設け、受信フロー制御部66Bにおける通信要求の仕分け処理を行う前の通信要求をこの通信要求受信バッファ62に記憶しておくことにより、受信フロー制御部66Bにおける仕分け処理に必要な時間的制約を緩和できる。   In addition, according to the vehicle inspection apparatus 1B, the communication request reception buffer 62 is provided between the communication request reception unit 61 and the reception flow control unit 66B, and the communication request before the communication request sorting process in the reception flow control unit 66B is performed. By storing in the communication request reception buffer 62, the time restriction necessary for the sorting process in the reception flow control unit 66B can be relaxed.

<第4実施形態>
次に、本発明の第3実施形態に係る車両検査装置1Cについて、図面を参照しながら説明する。以下では、第3実施形態の車両検査装置1Bと異なる構成については異なる符号を付し、同じ構成については同じ符号を付しその説明を省略する。
<Fourth embodiment>
Next, a vehicle inspection apparatus 1C according to a third embodiment of the present invention will be described with reference to the drawings. Below, a different code | symbol is attached | subjected about the structure different from the vehicle inspection apparatus 1B of 3rd Embodiment, the same code | symbol is attached | subjected about the same structure, and the description is abbreviate | omitted.

図8は、本実施形態に係る車両検査装置1Cにおける検査処理部2C及び通信処理部3Cの間のネットワーク構成を示すブロック図である。本実施形態の検査処理部2Cは、第3実施形態の検査処理部2Bに対して、受信フロー制御部58Cをさらに備える。また、通信処理部3Cは、第3実施形態の通信処理部3Bに対して、送信フロー制御部67Cをさらに備える。   FIG. 8 is a block diagram illustrating a network configuration between the inspection processing unit 2C and the communication processing unit 3C in the vehicle inspection apparatus 1C according to the present embodiment. The inspection processing unit 2C according to the present embodiment further includes a reception flow control unit 58C with respect to the inspection processing unit 2B according to the third embodiment. Further, the communication processing unit 3C further includes a transmission flow control unit 67C with respect to the communication processing unit 3B of the third embodiment.

受信フロー制御部58Cは、分離フロー制御部581Cと、第1通信ラインに対応して設けられた第1通信結果受信バッファ582Caと、第2通信ラインに対応して設けられた第2通信結果受信バッファ582Cbと、第3通信ラインに対応して設けられた第3通信結果受信バッファ582Ccと、を備える。   The reception flow control unit 58C, the separation flow control unit 581C, the first communication result reception buffer 582Ca provided corresponding to the first communication line, and the second communication result reception provided corresponding to the second communication line. A buffer 582Cb, and a third communication result reception buffer 582Cc provided corresponding to the third communication line.

これら通信結果受信バッファ582Ca〜582Ccは、それぞれ、通信結果を書き込まれた順で出力するFIFOバッファであり、各々の通信ラインに接続されるECUを送信元とする複数の通信結果を記憶する。分離フロー制御部581Cは、通信結果受信バッファ56に記憶された通信結果を読み込み、この通信結果の送信元の通信ラインを特定し、この通信結果を、特定した通信ラインに対応する通信結果受信バッファ582Ca,582Cb,582Ccに書き込む。   Each of these communication result reception buffers 582Ca to 582Cc is a FIFO buffer that outputs the communication results in the order in which they are written, and stores a plurality of communication results with the ECU connected to each communication line as a transmission source. The separation flow control unit 581C reads the communication result stored in the communication result reception buffer 56, specifies the communication line that is the transmission source of this communication result, and uses this communication result as the communication result reception buffer corresponding to the specified communication line. Write to 582Ca, 582Cb, 582Cc.

送信フロー制御部67Cは、統合フロー制御部671Cと、第1通信ラインに対応して設けられた第1通信結果送信バッファ672Caと、第2通信ラインに対応して設けられた第2通信結果送信バッファ672Cbと、第3通信ラインに対応して設けられた第3通信結果送信バッファ672Ccと、を備える。   The transmission flow control unit 67C includes an integrated flow control unit 671C, a first communication result transmission buffer 672Ca provided corresponding to the first communication line, and a second communication result transmission provided corresponding to the second communication line. A buffer 672Cb, and a third communication result transmission buffer 672Cc provided corresponding to the third communication line.

これら通信結果送信バッファ672Ca〜672Ccは、それぞれ、通信結果を書き込まれた順で出力するFIFOバッファであり、各々の通信ラインに接続されるECUを送信元とする複数の通信結果を記憶する。各通信部65Ba〜65Bcは、それぞれ通信結果を受信すると、この通信結果をこれら通信結果送信バッファ672Ca〜672Ccに書き込む。統合フロー制御部671Cは、各通信結果送信バッファ672Ca〜672Ccに記憶された複数の通信結果を読み込み、これを通信結果送信バッファ63に書き込む。   Each of these communication result transmission buffers 672Ca to 672Cc is a FIFO buffer that outputs the communication results in the order in which they are written, and stores a plurality of communication results having the ECU connected to each communication line as a transmission source. When the communication units 65Ba to 65Bc receive the communication results, the communication results are written in the communication result transmission buffers 672Ca to 672Cc. The integrated flow control unit 671C reads a plurality of communication results stored in the communication result transmission buffers 672Ca to 672Cc, and writes them into the communication result transmission buffer 63.

以上のような車両検査装置1Cによれば、第3実施形態の車両検査装置1Bの効果に加えて、以下の効果を奏する。例えば、車両検査装置1Cによれば、通信結果受信部55と受信フロー制御部58Cとの間に通信結果受信バッファ56を設け、受信フロー制御部58Cにおける通信結果の仕分け処理を行う前の通信結果をこの通信結果受信バッファ56に記憶しておくことにより、受信フロー制御部58Cにおける仕分け処理に必要な時間的制約を緩和できる。   According to the vehicle inspection apparatus 1C as described above, the following effects can be obtained in addition to the effects of the vehicle inspection apparatus 1B of the third embodiment. For example, according to the vehicle inspection apparatus 1C, the communication result reception buffer 56 is provided between the communication result receiving unit 55 and the reception flow control unit 58C, and the communication result before the communication result sorting process in the reception flow control unit 58C is performed. Is stored in the communication result reception buffer 56, the time restriction necessary for the sorting process in the reception flow control unit 58C can be relaxed.

また車両検査装置1Cによれば、通信ラインごとに通信結果送信バッファ672Ca〜672Ccを設けた。これにより、通信結果送信バッファ63が一時的に容量を超えた場合であっても、これら通信結果送信バッファ672Ca〜672Ccに通信結果を記録しておくことにより、一部の通信結果が検査処理部2Cへ送信されなくなるのを防止できる。   Moreover, according to the vehicle inspection apparatus 1C, the communication result transmission buffers 672Ca to 672Cc are provided for each communication line. Thereby, even if the communication result transmission buffer 63 temporarily exceeds the capacity, by recording the communication results in these communication result transmission buffers 672Ca to 672Cc, a part of the communication results can be inspected. It can be prevented from being transmitted to 2C.

なお、本発明は上記実施形態に限定されるものではなく、本発明の目的を達成できる範囲での変形、改良などは本発明に含まれるものである。   It should be noted that the present invention is not limited to the above-described embodiment, but includes modifications and improvements as long as the object of the present invention can be achieved.

1,1A,1B,1C…車両検査装置
2,2B,2C…検査処理部
3,3B,3C…通信処理部
51…検査制御部
52,52A,52B…送信フロー制御部
52Ba,52Bb,52Bc…送信フロー制御部
521…要求送信先登録部
522…通信要求バッファ
522_1〜522_n…バッファ
523…フロー制御部
53…通信要求送信バッファ
54…通信要求送信部
61…通信要求受信部
62…通信要求受信バッファ
65,65B…車両通信部
V…車両
L1,L2,L3…通信ライン
1, 1A, 1B, 1C ... Vehicle inspection device 2, 2B, 2C ... Inspection processing unit 3, 3B, 3C ... Communication processing unit 51 ... Inspection control unit 52, 52A, 52B ... Transmission flow control unit 52Ba, 52Bb, 52Bc ... Transmission flow control unit 521 ... Request transmission destination registration unit 522 ... Communication request buffer 522_1 to 522_n ... Buffer 523 ... Flow control unit 53 ... Communication request transmission buffer 54 ... Communication request transmission unit 61 ... Communication request reception unit 62 ... Communication request reception buffer 65, 65B ... Vehicle communication unit V ... Vehicle L1, L2, L3 ... Communication line

Claims (9)

車両に関する検査項目に応じて定められた検査プログラムを実行することによって、前記車両に搭載された複数の電子制御装置に対する通信要求を生成する検査処理部と、
前記複数の電子制御装置に接続され、前記検査処理部によって生成された通信要求をその送信先の電子制御装置に送信する通信処理部と、を備え、前記通信要求に対する前記車両からの応答に基づいて前記検査項目の合否を判定する車両検査装置であって、
前記検査処理部は、
前記検査プログラムを実行することによって通信要求を生成する検査制御部と、
前記通信要求を複数記憶する通信要求バッファを有し、前記検査制御部によって生成された通信要求を前記通信要求バッファの当該通信要求の送信先の電子制御装置ごとに区画されたメモリ領域に書き込むとともに、前記メモリ領域ごとに予め規定した走査順序に従って前記通信要求バッファに記憶された通信要求を読み込む送信フロー制御部と、
前記送信フロー制御部によって読み込まれた通信要求を前記通信処理部へ送信する通信要求送信部と、を備え、
前記通信処理部は、前記通信要求送信部から送信される順序に従って前記通信要求を前記車両に送信することを特徴とする車両検査装置。
An inspection processing unit that generates a communication request for a plurality of electronic control devices mounted on the vehicle by executing an inspection program determined according to an inspection item related to the vehicle;
A communication processing unit connected to the plurality of electronic control devices and transmitting a communication request generated by the inspection processing unit to an electronic control device that is a transmission destination of the communication request, and based on a response from the vehicle to the communication request Vehicle inspection device for determining pass / fail of the inspection item,
The inspection processing unit
An inspection control unit that generates a communication request by executing the inspection program;
A communication request buffer for storing a plurality of the communication requests, and writing the communication request generated by the inspection control unit in a memory area partitioned for each electronic control device to which the communication request is transmitted in the communication request buffer A transmission flow control unit that reads a communication request stored in the communication request buffer according to a scanning order defined in advance for each memory area;
A communication request transmission unit that transmits the communication request read by the transmission flow control unit to the communication processing unit,
The vehicle processing apparatus, wherein the communication processing unit transmits the communication request to the vehicle according to an order transmitted from the communication request transmission unit.
前記送信フロー制御部は、
前記通信要求バッファと、
前記検査制御部によって通信要求が生成されると、当該通信要求の送信先を特定し、当該通信要求を前記通信要求バッファの前記特定した送信先に応じたメモリ領域に書き込む要求送信先登録部と、
前記通信要求バッファの各メモリ領域に記憶された通信要求を前記走査順序に従って読み込むフロー制御部と、を備えることを特徴とする請求項1に記載の車両検査装置。
The transmission flow control unit
The communication request buffer;
When a communication request is generated by the inspection control unit, a request transmission destination registration unit that identifies a transmission destination of the communication request and writes the communication request in a memory area corresponding to the identified transmission destination of the communication request buffer; ,
The vehicle inspection apparatus according to claim 1, further comprising: a flow control unit that reads communication requests stored in each memory area of the communication request buffer according to the scanning order.
前記検査処理部は、前記送信フロー制御部によって読み込まれた通信要求を記憶する通信要求送信バッファを備え、
前記通信要求送信部は、前記通信要求送信バッファに記憶された通信要求を前記通信処理部へ送信し、
前記通信処理部は、
前記通信要求送信部から送信された通信要求を受信する通信要求受信部と、
前記通信要求受信部によって受信された通信要求が書き込まれる通信要求受信バッファと、
前記通信要求受信バッファに記憶された通信要求を、その送信先の電子制御装置へ送信する車両通信部と、を備え、
前記通信要求送信バッファ及び前記通信要求受信バッファは、それぞれ所定のシリアル通信規格に基づいて構成されるキャッシュメモリであることを特徴とする請求項1又は2に記載の車両検査装置。
The inspection processing unit includes a communication request transmission buffer for storing a communication request read by the transmission flow control unit,
The communication request transmission unit transmits the communication request stored in the communication request transmission buffer to the communication processing unit;
The communication processing unit
A communication request receiver that receives a communication request transmitted from the communication request transmitter;
A communication request receiving buffer in which a communication request received by the communication request receiving unit is written;
A vehicle communication unit that transmits the communication request stored in the communication request reception buffer to the electronic control device of the transmission destination,
The vehicle inspection device according to claim 1, wherein each of the communication request transmission buffer and the communication request reception buffer is a cache memory configured based on a predetermined serial communication standard.
前記通信要求は、検査対象である車両に搭載されている複数の電子制御装置のうちの1つを特定するためのアドレスと、当該アドレスによって特定される電子制御装置に対する制御コマンドと、を含み、
前記送信フロー制御部は、前記通信要求に含まれるアドレスを用いてその送信先を特定することを特徴とする請求項1から3の何れかに記載の車両検査装置。
The communication request includes an address for specifying one of a plurality of electronic control devices mounted on a vehicle to be inspected, and a control command for the electronic control device specified by the address,
The vehicle inspection apparatus according to claim 1, wherein the transmission flow control unit specifies a transmission destination using an address included in the communication request.
前記車両は規格の異なる複数の通信ラインを備え、
前記通信要求バッファのメモリ領域は、前記電子制御装置及び前記通信ラインごとに区画され、
前記送信フロー制御部は、前記検査制御部によって通信要求が生成されると、当該通信要求を前記通信要求バッファの当該通信要求の送信先の電子制御装置及び通信ラインごとに区画されたメモリ領域に書き込むことを特徴とする請求項1から4の何れかに記載の車両検査装置。
The vehicle includes a plurality of communication lines with different standards,
The memory area of the communication request buffer is partitioned for each of the electronic control device and the communication line,
When a communication request is generated by the inspection control unit, the transmission flow control unit is configured to store the communication request in a memory area partitioned for each electronic control device to which the communication request is transmitted and a communication line in the communication request buffer. 5. The vehicle inspection device according to claim 1, wherein the vehicle inspection device is written.
車両に関する検査項目に応じて定められた検査プログラムを実行することによって、前記車両に搭載された複数の電子制御装置に対する通信要求を生成する検査処理部と、
前記複数の電子制御装置に接続され、前記検査処理部によって生成された通信要求をその送信先の電子制御装置に送信する通信処理部と、を備え、前記通信要求に対する前記車両からの応答に基づいて前記検査項目の合否を判定する車両検査装置であって、
前記検査処理部は、
前記検査プログラムを実行することによって通信要求を生成する検査制御部と、
前記通信要求を複数記憶する通信要求バッファを有し、前記検査制御部によって生成された通信要求を前記通信要求バッファに書き込むとともに、当該通信要求バッファに書き込まれた複数の通信要求から1つを、送信先が同一のものが続かないような順序で選択的に読み込む送信フロー制御部と、
前記送信フロー制御部によって読み込まれた通信要求を前記通信処理部へ送信する通信要求送信部と、を備え、
前記通信処理部は、前記通信要求送信部から送信される順序に従って前記通信要求を前記車両に送信することを特徴とする車両検査装置。
An inspection processing unit that generates a communication request for a plurality of electronic control devices mounted on the vehicle by executing an inspection program determined according to an inspection item related to the vehicle;
A communication processing unit connected to the plurality of electronic control devices and transmitting a communication request generated by the inspection processing unit to an electronic control device that is a transmission destination of the communication request, and based on a response from the vehicle to the communication request Vehicle inspection device for determining pass / fail of the inspection item,
The inspection processing unit
An inspection control unit that generates a communication request by executing the inspection program;
A communication request buffer for storing a plurality of the communication requests, writing the communication request generated by the inspection control unit in the communication request buffer, and one of the plurality of communication requests written in the communication request buffer, A transmission flow control unit that selectively reads in an order in which the same destination does not continue,
A communication request transmission unit that transmits the communication request read by the transmission flow control unit to the communication processing unit,
The vehicle processing apparatus, wherein the communication processing unit transmits the communication request to the vehicle according to an order transmitted from the communication request transmission unit.
前記検査処理部は、前記送信フロー制御部によって読み込まれた通信要求を記憶する通信要求送信バッファを備え、
前記通信要求送信部は、前記通信要求送信バッファに記憶された通信要求を前記通信処理部へ送信し、
前記通信処理部は、
前記通信要求送信部から送信された通信要求を受信する通信要求受信部と、
前記通信要求受信部によって受信された通信要求が書き込まれる通信要求受信バッファと、
前記通信要求受信バッファに記憶された通信要求を、その送信先の電子制御装置へ送信する車両通信部と、を備え、
前記通信要求送信バッファ及び前記通信要求受信バッファは、それぞれ所定のシリアル通信規格に基づいて構成されるキャッシュメモリであることを特徴とする請求項6に記載の車両検査装置。
The inspection processing unit includes a communication request transmission buffer for storing a communication request read by the transmission flow control unit,
The communication request transmission unit transmits the communication request stored in the communication request transmission buffer to the communication processing unit;
The communication processing unit
A communication request receiver that receives a communication request transmitted from the communication request transmitter;
A communication request receiving buffer in which a communication request received by the communication request receiving unit is written;
A vehicle communication unit that transmits the communication request stored in the communication request reception buffer to the electronic control device of the transmission destination,
The vehicle inspection apparatus according to claim 6, wherein each of the communication request transmission buffer and the communication request reception buffer is a cache memory configured based on a predetermined serial communication standard.
前記通信要求は、検査対象である車両に搭載されている複数の電子制御装置のうちの1つを特定するためのアドレスと、当該アドレスによって特定される電子制御装置に対する制御コマンドと、を含み、
前記送信フロー制御部は、前記通信要求に含まれるアドレスを用いてその送信先を特定することを特徴とする請求項6又は7に記載の車両検査装置。
The communication request includes an address for specifying one of a plurality of electronic control devices mounted on a vehicle to be inspected, and a control command for the electronic control device specified by the address,
The vehicle inspection apparatus according to claim 6, wherein the transmission flow control unit specifies a transmission destination using an address included in the communication request.
前記車両は規格の異なる複数の通信ラインを備え、
前記通信要求バッファのメモリ領域は、前記通信ラインごとに区画され、
前記送信フロー制御部は、前記検査制御部によって通信要求が生成されると、当該通信要求を前記通信要求バッファの当該通信要求の送信先の通信ラインごとに区画されたメモリ領域に書き込むことを特徴とする請求項6から8の何れかに記載の車両検査装置。
The vehicle includes a plurality of communication lines with different standards,
The memory area of the communication request buffer is partitioned for each communication line,
The transmission flow control unit, when a communication request is generated by the inspection control unit, writes the communication request in a memory area partitioned for each communication line to which the communication request is transmitted in the communication request buffer. The vehicle inspection device according to any one of claims 6 to 8.
JP2015028720A 2015-02-17 2015-02-17 Vehicle inspection device Active JP6400500B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015028720A JP6400500B2 (en) 2015-02-17 2015-02-17 Vehicle inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015028720A JP6400500B2 (en) 2015-02-17 2015-02-17 Vehicle inspection device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2018167309A Division JP6545339B2 (en) 2018-09-06 2018-09-06 Vehicle inspection device

Publications (2)

Publication Number Publication Date
JP2016151471A true JP2016151471A (en) 2016-08-22
JP6400500B2 JP6400500B2 (en) 2018-10-03

Family

ID=56696410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015028720A Active JP6400500B2 (en) 2015-02-17 2015-02-17 Vehicle inspection device

Country Status (1)

Country Link
JP (1) JP6400500B2 (en)

Cited By (2)

* 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
CN110044636A (en) * 2018-01-15 2019-07-23 本田技研工业株式会社 Vehicle inspection device and vehicle inspection method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0291451A (en) * 1988-09-28 1990-03-30 Fuji Heavy Ind Ltd Car diagnosis system
JP2005241599A (en) * 2004-02-27 2005-09-08 Fuji Heavy Ind Ltd Data recorder, and data recording method
JP2006023850A (en) * 2004-07-06 2006-01-26 Toyota Motor Corp Diagnostic system for vehicle and integral controller using the same
JP2013028238A (en) * 2011-07-27 2013-02-07 Denso Corp Failure diagnostic device for vehicle

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0291451A (en) * 1988-09-28 1990-03-30 Fuji Heavy Ind Ltd Car diagnosis system
JP2005241599A (en) * 2004-02-27 2005-09-08 Fuji Heavy Ind Ltd Data recorder, and data recording method
JP2006023850A (en) * 2004-07-06 2006-01-26 Toyota Motor Corp Diagnostic system for vehicle and integral controller using the same
JP2013028238A (en) * 2011-07-27 2013-02-07 Denso Corp Failure diagnostic device for vehicle

Cited By (4)

* 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
CN110044636A (en) * 2018-01-15 2019-07-23 本田技研工业株式会社 Vehicle inspection device and vehicle inspection method
US11100733B2 (en) 2018-01-15 2021-08-24 Honda Motor Co., Ltd. Vehicle inspection device and vehicle inspection method
CN110044636B (en) * 2018-01-15 2021-10-26 本田技研工业株式会社 Vehicle inspection device and vehicle inspection method

Also Published As

Publication number Publication date
JP6400500B2 (en) 2018-10-03

Similar Documents

Publication Publication Date Title
US11100733B2 (en) Vehicle inspection device and vehicle inspection method
US20140344512A1 (en) Data Processing Apparatus and Memory Apparatus
JP2011107042A (en) Vehicle diagnosis device
JP6400500B2 (en) Vehicle inspection device
US20140365837A1 (en) Test apparatus and method for testing server
US9172839B2 (en) Image forming apparatus, control method and storage medium
US20070208887A1 (en) Method, apparatus, and medium for controlling direct memory access
JP6545339B2 (en) Vehicle inspection device
JP6290761B2 (en) Data transfer control system, data transfer control method, and data transfer control program
JP5651622B2 (en) Data transmission apparatus, data transmission method, and program
US20070101032A1 (en) Bus arbitration circuit and bus arbitration method
US20100146224A1 (en) Request processing device, request processing system, and access testing method
CN1232219A (en) Pipeline-type multi-processor system
JP2010103648A (en) Gateway device and gateway method
US20100191895A1 (en) System, test apparatus and relay apparatus
US20170148528A1 (en) Semiconductor device and semiconductor system including the same
US20150058684A1 (en) Test method, information processing device, and non-transitory computer-readable storage medium
JP2001005718A (en) Protocol handler and its signal processing method
EP1390856B2 (en) System and method for preloading a bus controller with command schedule
US20090013093A1 (en) Self-controlled functional module, and control method therefor and system using the same
JP3897028B2 (en) Information processing system, shared data processing method, and shared data processing program
US11835569B2 (en) System and method for processing data generated by a vehicle end-of-line testing routine
US20240168820A1 (en) Detecting and migrating a rogue user application to avoid functional safety interference
US20140136736A1 (en) Information processing apparatus and verification method
KR20120132871A (en) Processor and method for Processing Data the same, and Memory system having the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171129

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180620

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180807

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180905

R150 Certificate of patent or registration of utility model

Ref document number: 6400500

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150