JP5987810B2 - In-vehicle diagnostic system - Google Patents

In-vehicle diagnostic system Download PDF

Info

Publication number
JP5987810B2
JP5987810B2 JP2013214996A JP2013214996A JP5987810B2 JP 5987810 B2 JP5987810 B2 JP 5987810B2 JP 2013214996 A JP2013214996 A JP 2013214996A JP 2013214996 A JP2013214996 A JP 2013214996A JP 5987810 B2 JP5987810 B2 JP 5987810B2
Authority
JP
Japan
Prior art keywords
data
diagnostic
communication
reference value
load
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2013214996A
Other languages
Japanese (ja)
Other versions
JP2015080045A (en
Inventor
福田 賢司
賢司 福田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2013214996A priority Critical patent/JP5987810B2/en
Priority to DE201410220701 priority patent/DE102014220701A1/en
Publication of JP2015080045A publication Critical patent/JP2015080045A/en
Application granted granted Critical
Publication of JP5987810B2 publication Critical patent/JP5987810B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport

Description

本発明は、診断用データを車両の外部に設けられた診断用機器に送信する車載診断システムに関する。   The present invention relates to an in-vehicle diagnostic system that transmits diagnostic data to a diagnostic device provided outside a vehicle.

従来、特許文献1に開示されたリモート故障診断システムがある。このリモート故障診断システムでは、車両に、情報センタから情報送信された診断手順に従って複数の診断を行わせ、その複数の診断の結果(以下、診断用データと記載する)を一括して情報センタ(以下、診断用機器と記載する)へ送信させる。具体的には、車両の車載機は、センサ部の各種センサ等を用いた故障診断機能により車両故障を検出すると、その車両故障の内容を特定した診断用データを自己の車両識別情報と共に送受信機を用いて診断用機器へ通知する。   Conventionally, there is a remote failure diagnosis system disclosed in Patent Document 1. In this remote failure diagnosis system, a vehicle is caused to perform a plurality of diagnoses in accordance with a diagnosis procedure transmitted from the information center, and the results of the plurality of diagnoses (hereinafter referred to as diagnostic data) are collectively displayed in the information center ( (Hereinafter referred to as diagnostic equipment). Specifically, when a vehicle failure is detected by a failure diagnosis function using various sensors of the sensor unit, the vehicle-mounted device of the vehicle transmits and receives diagnostic data specifying the content of the vehicle failure together with its own vehicle identification information. Use the to notify the diagnostic device.

特開2006−64651号公報JP 2006-64651 A

ところで、車両には、複数の電子制御装置が通信線に接続された車載ネットワークが設けられていることがある。そして、リモート故障診断システムは、複数の電子制御装置から通信線に出力された複数の診断用データを診断用機器に送信することが考えられる。   By the way, the vehicle may be provided with an in-vehicle network in which a plurality of electronic control devices are connected to a communication line. The remote failure diagnosis system may transmit a plurality of pieces of diagnostic data output from a plurality of electronic control devices to a communication line to a diagnostic device.

しかしながら、車両が走行している場合、通信線には、各電子制御装置間で送受信される制御用データが流れることになる。よって、リモート故障診断システムは、診断用データを診断用機器に送信する場合、電子制御装置から通信線に出力された診断用データによって、通信線における通信負荷を増大させることが考えられる。このように、リモート故障診断システムは、通信線における通信負荷を増大させた場合、複数の電子制御装置による制御性を悪化させる可能性がある。   However, when the vehicle is traveling, control data transmitted and received between the respective electronic control devices flows through the communication line. Therefore, when transmitting the diagnostic data to the diagnostic device, the remote failure diagnosis system may increase the communication load on the communication line by the diagnostic data output from the electronic control unit to the communication line. As described above, when the communication load on the communication line is increased, the remote failure diagnosis system may deteriorate the controllability by the plurality of electronic control devices.

本発明は、上記問題点に鑑みなされたものであり、複数の電子制御装置による制御性の悪化を抑制しつつ、診断用データを診断用機器に送信することができる車載診断システムを提供することを目的とする。   The present invention has been made in view of the above problems, and provides an in-vehicle diagnostic system capable of transmitting diagnostic data to a diagnostic device while suppressing deterioration of controllability by a plurality of electronic control devices. With the goal.

上記目的を達成するために本発明は、
車両に搭載されるものであり、車両の車載ネットワークにおける通信線に接続された複数の電子制御装置(21〜2n)から通信線に所定の送信間隔で出力された複数の診断用データを車両の外部に設けられた診断用機器(110,120)に送信する車載診断システムであって、
電子制御装置から出力された複数の診断用データを取得して、複数の診断用データを診断用機器に送信するゲートウェイ制御装置を備え、
複数種別の診断用機器に対して、診断用データを送信するものであり、
通信線における通信負荷が第1基準値に達しているか否かを判定する負荷判定手段(14)と、
負荷判定手段にて通信負荷が第1基準値に達していると判定された場合、送信間隔を現在の送信間隔よりも長い値に更新する更新手段(15)と、を備え
ゲートウェイ制御装置(10b)は、
診断用機器から送信された診断用データの送信を要求する診断要求データを受信すると共に、診断要求データの送信元である診断用機器の種別を判別する要求受信手段(11)と、
電子制御装置に対して、複数の診断用データの送信を要求すると共に、各診断用データの送信間隔を指示する要求手段(12)と、
通信線を介して電子制御装置から送信された複数の診断用データを受信するデータ受信手段(13)と、
データ受信手段で受信した複数の診断用データを診断用機器に送信するデータ送信手段(16)と、
診断用機器の種別毎に第1処置内容、又は第1処置内容とは異なる第2処置内容が関連付けられた処置内容データが記憶された記憶部(17)と、を有し、
更新手段は、負荷判定手段にて通信負荷が第1基準値に達していると判定された場合、要求手段が指示している送信間隔を現在指示している送信間隔よりも長くなるように更新することで、送信間隔を現在の送信間隔よりも長い値に更新し、
負荷判定手段は、通信線における通信負荷が第1基準値を超えて、第1基準値が示す通信負荷よりも大きな通信負荷を示す第2基準値に達しているか否かを判定するものであり、
記憶部は、第2優先順位の診断用機器に第2処置内容が関連付けられ、第2優先順位の診断用機器よりも重要な診断要求を行う第1優先順位の診断用機器に第1処理内容が関連付けられており、
要求手段は、
負荷判定手段にて通信負荷が第2基準値に達していると判定され、且つ、診断要求データの送信元が、第2処置内容が関連付けられた種別の診断用機器であった場合、電子制御装置に対して、複数の診断用データの送信中止を指示し、
負荷判定手段にて通信負荷が第2基準値に達していると判定され、且つ、診断要求データの送信元が、第1処置内容が関連付けられた種別の診断用機器であった場合、電子制御装置に対して、複数の診断用データの送信を一時的に保留するように指示することを特徴とする。
In order to achieve the above object, the present invention provides:
A plurality of diagnostic data output from a plurality of electronic control devices (21 to 2n) connected to a communication line in a vehicle-mounted network of the vehicle to a communication line at a predetermined transmission interval are mounted on the vehicle. An in-vehicle diagnostic system for transmitting to diagnostic equipment (110, 120) provided outside,
A gateway control device that acquires a plurality of diagnostic data output from the electronic control device and transmits the plurality of diagnostic data to the diagnostic device,
Diagnostic data is sent to multiple types of diagnostic equipment.
Load determination means (14) for determining whether or not the communication load on the communication line has reached the first reference value;
Update means (15) for updating the transmission interval to a value longer than the current transmission interval when the load determination means determines that the communication load has reached the first reference value ;
The gateway control device (10b)
Request receiving means (11) for receiving diagnostic request data for requesting transmission of diagnostic data transmitted from the diagnostic device, and determining the type of diagnostic device that is the transmission source of the diagnostic request data;
Request means (12) for requesting the electronic control device to transmit a plurality of diagnostic data and instructing the transmission interval of each diagnostic data;
Data receiving means (13) for receiving a plurality of diagnostic data transmitted from the electronic control unit via a communication line;
Data transmitting means (16) for transmitting a plurality of diagnostic data received by the data receiving means to a diagnostic device;
Storage unit (17) in which treatment content data associated with first treatment content or second treatment content different from the first treatment content is stored for each type of diagnostic device,
When the load determining means determines that the communication load has reached the first reference value, the updating means updates the transmission interval indicated by the request means to be longer than the transmission interval currently indicated. To update the transmission interval to a value longer than the current transmission interval,
The load determination means determines whether or not the communication load on the communication line exceeds the first reference value and reaches a second reference value indicating a communication load larger than the communication load indicated by the first reference value. ,
The storage unit associates the second treatment content with the diagnostic device with the second priority, and the first processing content with the diagnostic device with the first priority that makes a diagnosis request more important than the diagnostic device with the second priority. Is associated,
The request means is
When it is determined by the load determination means that the communication load has reached the second reference value, and the transmission source of the diagnosis request data is a diagnostic device of a type associated with the second treatment content, electronic control Instruct the device to stop sending multiple diagnostic data,
When it is determined by the load determination means that the communication load has reached the second reference value, and the transmission source of the diagnosis request data is a diagnostic device of a type associated with the first treatment content, electronic control It is characterized in that the apparatus is instructed to temporarily suspend transmission of a plurality of diagnostic data .

複数の電子制御装置は、通信線に接続されている。よって、車両が走行している場合、通信線には、各電子制御装置間で送受信される車両制御用データ(以下、制御用データと略す)が流れることになる。また、本発明は、電子制御装置から通信線に出力された診断用データを診断用機器に送信するものである。よって、本発明は、診断用データを診断用機器に送信する場合、電子制御装置から通信線に出力された診断用データによって、通信線における通信負荷を増大させることが考えられる。このように、本発明は、通信線における通信負荷を増大させた場合、複数の電子制御装置による制御性を悪化させる可能性がある。   The plurality of electronic control devices are connected to a communication line. Therefore, when the vehicle is traveling, vehicle control data (hereinafter abbreviated as control data) transmitted and received between the respective electronic control devices flows through the communication line. The present invention also transmits diagnostic data output from an electronic control unit to a communication line to a diagnostic device. Therefore, in the present invention, when transmitting diagnostic data to a diagnostic device, it is considered that the communication load on the communication line is increased by the diagnostic data output from the electronic control unit to the communication line. As described above, according to the present invention, when the communication load on the communication line is increased, the controllability by the plurality of electronic control devices may be deteriorated.

そこで、本発明は、通信線における通信負荷を第1基準値と比較して、通信負荷が第1基準値に達していた場合、通信線における通信負荷を増大させたとみなして、電子制御装置が診断用データを送信している送信間隔を長い値に更新する。このように、本発明は、通信負荷が第1基準値に達している場合、電子制御装置が診断用データを送信している送信間隔を長くすることで、診断用データによって制御用データの送受信が阻害されることを抑制できる。また、本発明は、電子制御装置が送信している診断用データの送信を中止させるわけではなく、電子制御装置が診断用データを送信している送信間隔を長くするものである。よって、本発明は、複数の電子制御装置による制御性の悪化を抑制しつつ、診断用データを診断用機器に送信することができる。   Therefore, the present invention compares the communication load on the communication line with the first reference value, and if the communication load has reached the first reference value, the electronic control device assumes that the communication load on the communication line has increased. Update the transmission interval for sending diagnostic data to a long value. As described above, when the communication load reaches the first reference value, the present invention increases the transmission interval at which the electronic control unit transmits diagnostic data, thereby transmitting and receiving control data using the diagnostic data. Can be inhibited. Further, the present invention does not stop the transmission of diagnostic data transmitted by the electronic control device, but extends the transmission interval at which the electronic control device transmits diagnostic data. Therefore, the present invention can transmit diagnostic data to a diagnostic device while suppressing deterioration of controllability by a plurality of electronic control devices.

なお、特許請求の範囲及びこの項に記載した括弧内の符号は、ひとつの態様として後述する実施形態に記載の具体的手段との対応関係を示すものであって、発明の技術的範囲を限定するものではない。   Note that the reference numerals in parentheses described in the claims and in this section indicate a corresponding relationship with specific means described in the embodiments described later as one aspect, and limit the technical scope of the invention. Not what you want.

実施形態における車載診断システムと診断用機器である第1ツールと第2ツールとを含む全体構成を示すブロック図である。It is a block diagram which shows the whole structure containing the 1st tool and 2nd tool which are the vehicle-mounted diagnostic system and diagnostic apparatus in embodiment. 実施形態における車載診断システムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the vehicle-mounted diagnostic system in embodiment. 実施形態におけるゲートウェイ制御装置の処理動作を示すフローチャートである。It is a flowchart which shows the processing operation of the gateway control apparatus in embodiment. 実施形態におけるゲートウェイ制御装置と第1ツール及び第1ECUとの通信を示すシーケンス図である。It is a sequence diagram which shows communication with the gateway control apparatus, 1st tool, and 1st ECU in embodiment. 実施形態におけるゲートウェイ制御装置が送信間隔を長くする場合のシーケンス図である。It is a sequence diagram in case the gateway control apparatus in embodiment lengthens a transmission interval. 実施形態における車載ネットワークにおける通信の概略構成を示すイメージ図である。It is an image figure which shows schematic structure of the communication in the vehicle-mounted network in embodiment. 比較例における車載ネットワークにおける通信の概略構成を示すイメージ図である。It is an image figure which shows schematic structure of the communication in the vehicle-mounted network in a comparative example. 変形例1におけるゲートウェイ制御装置と第1ツール及び第1ECUとの通信を示すシーケンス図である。It is a sequence diagram which shows communication with the gateway control apparatus in a modification 1, 1st tool, and 1st ECU. 変形例2における車載診断システムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the vehicle-mounted diagnostic system in the modification 2. 変形例2における車載診断システムの診断用機器毎の処置内容を示すイメージ図である。It is an image figure which shows the treatment content for every diagnostic apparatus of the vehicle-mounted diagnostic system in the modification 2. 変形例3における車載診断システムと診断用機器である第1ツールと第2ツールとを含む全体構成を示すブロック図である。It is a block diagram which shows the whole structure containing the 1st tool and 2nd tool which are the vehicle-mounted diagnostic system in the modification 3, and the apparatus for diagnosis. 変形例3における車載診断システムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the vehicle-mounted diagnostic system in the modification 3. 変形例3におけるゲートウェイ制御装置の処理動作を示すフローチャートである。10 is a flowchart showing a processing operation of a gateway control device in Modification 3.

以下において、図面を参照しながら、発明を実施するための複数の形態を説明する。各形態において、先行する形態で説明した事項に対応する部分には同一の参照符号を付して重複する説明を省略する場合がある。各形態において、構成の一部のみを説明している場合は、構成の他の部分については先行して説明した他の形態を参照し適用することができる。また、後続の実施形態においては、先行する実施形態で説明した事項に対応する部分に百以上の位だけが異なる参照符号を付することにより対応関係を示し、重複する説明を省略する場合がある。   Hereinafter, a plurality of embodiments for carrying out the invention will be described with reference to the drawings. In each embodiment, portions corresponding to the matters described in the preceding embodiment may be denoted by the same reference numerals and redundant description may be omitted. In each embodiment, when only a part of the configuration is described, the other configurations described above can be applied to other portions of the configuration. Further, in the following embodiments, the correspondence corresponding to the matters corresponding to the matters described in the preceding embodiments is indicated by adding reference numerals that differ only by one hundred or more, and redundant description may be omitted. .

本実施形態では、本発明の車載診断システムをゲートウェイECU10aに適用した例を採用する。ゲートウェイECUは、特許請求の範囲におけるゲートウェイ制御装置に相当する。図1に示すように、ゲートウェイECU10aは、車両の車載ネットワークにおける通信線に接続された複数の電子制御装置である第1ECU21〜第nECU2nから通信線に所定の送信間隔で出力された複数の診断用データを取得するものである。nは1以上の整数である。そして、ゲートウェイECU10aは、複数の診断用データを車両の外部に設けられた第1ツール110や第2ツール120に送信するものである。通信線としては、例えばCANバスなどを採用することができる。なお、以下においては、ゲートウェイECUをGW−ECUと記載することもある。また、各診断用データは、フレームと記載することもある。CANは登録商標である。   In the present embodiment, an example in which the in-vehicle diagnosis system of the present invention is applied to the gateway ECU 10a is adopted. The gateway ECU corresponds to the gateway control device in the claims. As shown in FIG. 1, the gateway ECU 10a has a plurality of diagnostic outputs output from the first ECU 21 to the nECU 2n, which are a plurality of electronic control devices connected to the communication line in the vehicle-mounted network of the vehicle, to the communication line at predetermined transmission intervals. Data is acquired. n is an integer of 1 or more. The gateway ECU 10a transmits a plurality of diagnostic data to the first tool 110 and the second tool 120 provided outside the vehicle. For example, a CAN bus can be used as the communication line. In the following description, the gateway ECU may be referred to as GW-ECU. Each diagnosis data may be described as a frame. CAN is a registered trademark.

なお、第1ツール110及び第2ツール120は、特許請求の範囲における診断用機器に相当する。第1ツール110と第2ツール120は、種別が異なる診断用機器である。例えば、第1ツール110は、OEMセンタに設けられた診断用機器であり、第2ツール120は、ディーラに設けられた診断用機器である。また、診断用機器としては、ユーザが操作可能なパソコンや携帯電話機やスマートフォンなどのユーザ端末を採用することもできる。よって、一例として、本実施形態では、複数種別の診断用機器である第1ツール110及び第2ツール120に対して、診断用データを送信可能なゲートウェイECU10aを採用している。 The first tool 110 and the second tool 120 correspond to a diagnostic device in the claims. The first tool 110 and the second tool 120 are diagnostic devices of different types. For example, the first tool 11 0 is a diagnostic device provided in the OEM center, second tool 120 is a diagnostic device provided in the dealer. In addition, as a diagnostic device, a user terminal such as a personal computer, a mobile phone, or a smartphone that can be operated by the user can be adopted. Therefore, as an example, in the present embodiment, the gateway ECU 10a capable of transmitting diagnostic data to the first tool 110 and the second tool 120 that are a plurality of types of diagnostic devices is employed.

また、上記ECUは、Electronic Control Unitの略である。GW−ECU10a、及び第1ECU21〜第nECU2nの夫々は、CPU、ROM、RAM及びI/Oなどからなる所謂マイクロコンピュータを含んで構成されている。この各ECU10a,21〜2nにおけるCPUは、RAMの一時記憶機能を利用しつつROMに予め記憶されたプログラムに従って信号処理を行うことで、各種制御を実行する。なお、CPUはCentral Processing Unitの略である。ROMはRead Only Memoryの略である。RAMはRandom Access Memoryの略である。I/OはInput/Outputの略である。   The ECU is an abbreviation for Electronic Control Unit. Each of the GW-ECU 10a and the first ECU 21 to the nECU 2n includes a so-called microcomputer including a CPU, a ROM, a RAM, an I / O, and the like. The CPU in each of the ECUs 10a, 21 to 2n performs various controls by performing signal processing according to a program stored in advance in the ROM while using the temporary storage function of the RAM. CPU is an abbreviation for Central Processing Unit. ROM is an abbreviation for Read Only Memory. RAM is an abbreviation for Random Access Memory. I / O is an abbreviation for Input / Output.

第1ECU21〜第nECU2nとしては、例えばエンジンECU、ハイブリッドECU、モータECU、ボディECU、ナビゲーションECUなど車両に搭載されている各種ECUを採用することができる。第1ECU21〜第nECU2nは、車両が走行している場合、例えば車両の走行制御を行うためのデータであり、車両の状態を示す制御用データを通信線に出力する。また、第1ECU21〜第nECU2nの夫々は、ゲートウェイECU10aからの要求に応じて、所定の送信間隔で複数の診断用データを通信線に出力する。例えば、第1ECU21〜第nECU2nの夫々は、第1ツール110や第2ツール120での診断に用いられるデータを分割して、複数の診断用データとして出力する。しかしながら、本発明はこれに限定されない。本発明は、第1ECU21〜第nECU2nから複数の診断用データが出力されるものであれば採用できる。なお、後ほど説明する図6,図7においては、制御用データを車両制御用フレームと記載している。   As the first ECU 21 to the nth ECU 2n, various ECUs mounted on the vehicle such as an engine ECU, a hybrid ECU, a motor ECU, a body ECU, a navigation ECU, and the like can be employed. When the vehicle is traveling, the first ECU 21 to the nECU 2n are, for example, data for performing traveling control of the vehicle, and output control data indicating the state of the vehicle to the communication line. Each of the first ECU 21 to the n-th ECU 2n outputs a plurality of diagnostic data to the communication line at a predetermined transmission interval in response to a request from the gateway ECU 10a. For example, each of the first ECU 21 to the nECU 2n divides data used for diagnosis by the first tool 110 and the second tool 120 and outputs the data as a plurality of diagnostic data. However, the present invention is not limited to this. The present invention can be adopted as long as a plurality of diagnostic data is output from the first ECU 21 to the nECU 2n. 6 and 7 described later, the control data is described as a vehicle control frame.

ここで、図2を用いて、GW−ECU10aの構成に関して説明する。ゲートウェイECU10aは、第1ECU21〜第nECU2nの夫々と、第1ツール110や第2ツール120との通信を中継する中継装置として機能する。なお、ゲートウェイECU10aは、例えば、第1ツール110と第2ツール120の夫々と、異なる通信規格で通信を行うように構成されている。例えば、ゲートウェイECU10aは、シリアル通信方式による車内LAN向け通信規格を用いて第2ツール120と通信可能に構成されている。一方、ゲートウェイECU10aは、その他の通信規格を用いて第1ツール110と通信可能に構成されている。LANは、Local Area Networkの略である。   Here, the configuration of the GW-ECU 10a will be described with reference to FIG. The gateway ECU 10a functions as a relay device that relays communication between each of the first ECU 21 to the nth ECU 2n and the first tool 110 and the second tool 120. For example, the gateway ECU 10a is configured to communicate with the first tool 110 and the second tool 120 according to different communication standards. For example, the gateway ECU 10a is configured to be communicable with the second tool 120 using a communication standard for in-vehicle LAN using a serial communication method. On the other hand, the gateway ECU 10a is configured to be able to communicate with the first tool 110 using other communication standards. LAN is an abbreviation for Local Area Network.

ゲートウェイECU10aは、機能ブロックとして、要求受信部11、要求送信部12、データ受信部13、通信負荷推定部14、送信間隔更新部15、応答データ送信部16などを備えて構成されている。   The gateway ECU 10a includes a request reception unit 11, a request transmission unit 12, a data reception unit 13, a communication load estimation unit 14, a transmission interval update unit 15, a response data transmission unit 16, and the like as functional blocks.

要求受信部11は、特許請求の範囲における要求受信手段に相当する。要求受信部11は、第1ツール110及び第2ツール120から送信された診断用データの送信を要求する診断要求データを受信すると共に、診断要求データの送信元である第1ツール110及び第2ツール120の種別を判別する。言い換えると、要求受信部11は、診断要求データを受信すると共に、診断要求データの送信元が第1ツール110及び第2ツール120のいずれであるかを判別する。   The request receiving unit 11 corresponds to request receiving means in the claims. The request receiving unit 11 receives diagnostic request data for requesting transmission of diagnostic data transmitted from the first tool 110 and the second tool 120, and the first tool 110 and the second tool that are the transmission sources of the diagnostic request data. The type of the tool 120 is determined. In other words, the request receiving unit 11 receives the diagnosis request data and determines whether the diagnosis request data is transmitted from the first tool 110 or the second tool 120.

要求送信部12は、特許請求の範囲における要求手段に相当する。要求送信部12は、要求受信部11が診断要求データを受信すると、第1ECU21〜第nECU2nに対して、複数の診断用データの送信を要求すると共に、各診断用データの送信間隔を指示する。例えば、要求送信部12は、CFフレームのタイミングを制御するFCフレームを送信することで送信間隔を指示する。なお、CFフレームの最小送信間隔(STmin)は、予め決められていることもある。この場合、要求送信部12は、送信間隔を指示する際に、CFフレームの最小送信間隔と同じ値、若しくはCFフレームの最小送信間隔よりも長い値を指示する必要がある。CFフレームに関しては、後ほど説明する。また、送信間隔とは、時間的な間隔であり、送信時間と称することもできる。   The request transmission unit 12 corresponds to request means in the claims. When the request receiving unit 11 receives the diagnosis request data, the request transmitting unit 12 requests the first ECU 21 to the nECU 2n to transmit a plurality of pieces of diagnostic data and instructs the transmission interval of each piece of diagnostic data. For example, the request transmission unit 12 instructs the transmission interval by transmitting an FC frame that controls the timing of the CF frame. Note that the minimum transmission interval (STmin) of the CF frame may be determined in advance. In this case, when instructing the transmission interval, the request transmission unit 12 needs to instruct a value that is the same as the minimum transmission interval of the CF frame or a value longer than the minimum transmission interval of the CF frame. The CF frame will be described later. The transmission interval is a time interval and can also be referred to as a transmission time.

なお、第1ツール110及び第2ツール120は、診断内容を示す情報を含む診断要求データを送信する。この場合、要求送信部12は、診断要求データに含まれる診断内容を示す情報に基づいて、第1ECU21〜第nECU2nから診断用データの送信要求と送信間隔の指示を行うECUを決定する。言い換えると、要求送信部12は、診断要求データに含まれる診断内容を示す情報に基づいて、診断対象のECUを決定する。   The first tool 110 and the second tool 120 transmit diagnosis request data including information indicating the contents of diagnosis. In this case, the request transmission unit 12 determines an ECU that issues a diagnosis data transmission request and a transmission interval instruction from the first ECU 21 to the nECU 2n based on information indicating the diagnosis content included in the diagnosis request data. In other words, the request transmission unit 12 determines the ECU to be diagnosed based on the information indicating the diagnosis content included in the diagnosis request data.

データ受信部13は、特許請求の範囲におけるデータ受信手段に相当する。データ受信部13は、通信線を介して第1ECU21〜第nECU2nから送信された複数の診断用データを受信する。例えば、データ受信部13は、複数の診断用データとして、分割された最初のフレームであるFFフレーム、及び分割された二つ目以降のフレームであるCFフレームを受信する。なお、後ほど説明する図6,図7においては、CFフレームを診断用応答フレームと記載している。また、図6,図7においては、FCフレームなどの、複数の診断用データの送信や、各診断用データの送信間隔の指示を示すデータを診断用要求フレームと記載している。   The data receiving unit 13 corresponds to data receiving means in the claims. The data receiving unit 13 receives a plurality of diagnostic data transmitted from the first ECU 21 to the nECU 2n via the communication line. For example, the data receiving unit 13 receives, as a plurality of pieces of diagnostic data, an FF frame that is the first divided frame and a CF frame that is the second and subsequent frames. In FIGS. 6 and 7 described later, the CF frame is described as a response frame for diagnosis. In FIGS. 6 and 7, data indicating transmission of a plurality of diagnostic data and an instruction of a transmission interval of each diagnostic data, such as an FC frame, is described as a diagnostic request frame.

通信負荷推定部14は、特許請求の範囲における負荷判定手段に相当する。通信負荷推定部14は、通信線における通信負荷が第1基準値に達しているか否かを判定する。ここでは、一例として、診断用データの受信間隔に基づいて、通信負荷が第1基準値に達しているか否かを判定する通信負荷推定部14を採用する。通信負荷推定部14は、データ受信部13が各診断用データを受信した受信間隔を測定する。また、通信負荷推定部14は、測定した受信間隔と予め決められた第1基準時間とを比較する。そして、通信負荷推定部14は、受信間隔が第1基準時間を超えていた場合、通信負荷が第1基準値に達していると判定する。なお、この受信間隔は、時間的な間隔であり、受信時間と称することもできる。   The communication load estimation unit 14 corresponds to a load determination unit in the claims. The communication load estimation unit 14 determines whether or not the communication load on the communication line has reached the first reference value. Here, as an example, the communication load estimation unit 14 that determines whether or not the communication load has reached the first reference value based on the reception interval of the diagnostic data is employed. The communication load estimator 14 measures the reception interval at which the data receiver 13 receives each diagnostic data. Further, the communication load estimation unit 14 compares the measured reception interval with a predetermined first reference time. Then, when the reception interval exceeds the first reference time, the communication load estimation unit 14 determines that the communication load has reached the first reference value. This reception interval is a time interval and can also be referred to as a reception time.

上記のように、第1ECU21〜第nECU2nの夫々は、診断用データのみならず、制御用データも出力する。また、第1ECU21〜第nECU2nの夫々は、例えば、車両が走行している場合、車両が停車している場合よりも多くの制御用データを出力する。そして、第1ECU21〜第nECU2nの夫々は、制御用データの出力数が多くなると、要求送信部12から指示された送信間隔どおりに診断用データを出力できないことが起こりうる。よって、データ受信部13が各診断用データを受信する受信間隔は、信号線に出力される制御用データの数が増えるのに伴って長くなると考えられる。言い換えると、データ受信部13が各診断用データを受信する受信間隔は、通信線における通信負荷が増大するのに伴って長くなると考えられる。   As described above, each of the first ECU 21 to the nECU 2n outputs not only diagnostic data but also control data. In addition, each of the first ECU 21 to the n-th ECU 2n outputs more control data when the vehicle is traveling than when the vehicle is stopped, for example. Then, each of the first ECU 21 to the n-th ECU 2n may not be able to output diagnostic data at the transmission interval instructed from the request transmission unit 12 when the number of output of control data increases. Therefore, it is considered that the reception interval at which the data receiving unit 13 receives each diagnosis data becomes longer as the number of control data output to the signal line increases. In other words, it is considered that the reception interval at which the data receiving unit 13 receives each diagnosis data becomes longer as the communication load on the communication line increases.

そこで、通信負荷推定部14は、データ受信部13が各診断用データを受信した受信間隔が第1基準時間を超えた場合、通信線の通信負荷が増大しているとみなすことができる。よって、通信負荷推定部14は、データ受信部13が各診断用データを受信した受信間隔が第1基準時間を超えていた場合、通信負荷が第1基準値に達していると判定する。この第1基準時間は、第1ECU21〜第nECU2nの夫々に対して指示した送信間隔と同じ値、又は、第1ECU21〜第nECU2nの夫々に対して指示した送信間隔よりも長い値である。このように、GW−ECU10aは、データ受信部13が各診断用データを受信した受信間隔に基づいて、通信負荷が第1基準値に達しているか否かを判定することで、通信線における通信負荷を正確に推定することができる。   Therefore, the communication load estimation unit 14 can consider that the communication load of the communication line is increased when the reception interval at which the data reception unit 13 receives each diagnosis data exceeds the first reference time. Therefore, the communication load estimation unit 14 determines that the communication load has reached the first reference value when the reception interval at which the data reception unit 13 receives the diagnostic data exceeds the first reference time. The first reference time is the same value as the transmission interval instructed to each of the first ECU 21 to the nECU 2n or longer than the transmission interval instructed to each of the first ECU 21 to the nECU 2n. As described above, the GW-ECU 10a determines whether or not the communication load has reached the first reference value based on the reception interval at which the data receiving unit 13 receives each diagnostic data, thereby enabling communication on the communication line. The load can be estimated accurately.

なお、通信負荷推定部14は、データ受信部13が各診断用データを受信した受信間隔を複数回測定する。そして、通信負荷推定部14は、複数回の測定で得られた複数の受信間隔の平均値が第1基準時間を超えていた場合、通信負荷が第1基準値に達していると判定するようにしてもよい。また、通信負荷推定部14は、複数回の測定で得られた複数の受信間隔のいずれか一つが第1基準時間を超えていた場合、通信負荷が第1基準値に達していると判定するようにしてもよい。   Note that the communication load estimation unit 14 measures the reception interval at which the data reception unit 13 receives each diagnosis data a plurality of times. Then, the communication load estimation unit 14 determines that the communication load has reached the first reference value when the average value of the plurality of reception intervals obtained by the plurality of measurements exceeds the first reference time. It may be. The communication load estimating unit 14 determines that the communication load has reached the first reference value when any one of the plurality of reception intervals obtained by the plurality of measurements exceeds the first reference time. You may do it.

また、上記のように、要求送信部12が診断対象のECUを決定する場合、通信負荷推定部14は、診断対象のECUから送信された各診断用データを受信した受信間隔を測定することになる。   In addition, as described above, when the request transmission unit 12 determines the ECU to be diagnosed, the communication load estimation unit 14 measures the reception interval at which each diagnosis data transmitted from the ECU to be diagnosed is received. Become.

送信間隔更新部15は、特許請求の範囲における更新手段に相当する。送信間隔更新部15は、通信負荷推定部14にて通信線における通信負荷が第1基準値に達していると判定された場合、送信間隔を現在の送信間隔よりも長い値に更新する。このとき、送信間隔更新部15は、要求送信部12が第1ECU21〜第nECU2nに対して指示している送信間隔を現在指示している送信間隔よりも長くなるように更新する。このようにすることで、送信間隔更新部15は、送信間隔を現在の送信間隔よりも長い値に更新する。   The transmission interval update unit 15 corresponds to update means in the claims. When the communication load estimation unit 14 determines that the communication load on the communication line has reached the first reference value, the transmission interval update unit 15 updates the transmission interval to a value longer than the current transmission interval. At this time, the transmission interval update unit 15 updates the transmission interval instructed by the request transmission unit 12 to the first ECU 21 to the nECU 2n to be longer than the transmission interval currently instructed. In this way, the transmission interval update unit 15 updates the transmission interval to a value longer than the current transmission interval.

応答データ送信部16は、特許請求の範囲におけるデータ送信手段16に相当する。応答データ送信部16は、データ受信部13で受信した複数の診断用データを第1ツール110や第2ツール120に送信する。つまり、応答データ送信部16は、第1ECU21〜第nECU2nから収集した複数の診断用データを第1ツール110や第2ツール120に送信する。例えば、応答データ送信部16は、複数の診断用データを送信する場合、第1ツール110や第2ツール120との通信規格に適したフォーマットに複数の診断用データを変換するなどして応答データを作成し、その応答データを送信する。   The response data transmission unit 16 corresponds to the data transmission unit 16 in the claims. The response data transmission unit 16 transmits the plurality of diagnostic data received by the data reception unit 13 to the first tool 110 and the second tool 120. That is, the response data transmission unit 16 transmits a plurality of diagnostic data collected from the first ECU 21 to the nECU 2n to the first tool 110 and the second tool 120. For example, when transmitting a plurality of diagnostic data, the response data transmitting unit 16 converts the plurality of diagnostic data into a format suitable for the communication standard with the first tool 110 and the second tool 120, etc. And send the response data.

ここで、GW−ECU10aの処理動作に関して、図2〜図6を用いて説明する。GW−ECU10aは、第1ツール110や第2ツール120からデータ要求を受信すると、図3のフローチャートに示す処理を実行する。GW−ECU10aは、例えば図4のタイミングt1,図5のタイミングt11に示すように、第1ツール110から送信された診断要求データを受信すると、図3のフローチャートに示す処理を開始する。また、ここでは、GW−ECU10aは、第1ECU21から診断用データを収集する例を採用している。なお、図4は、受信時間が第1基準時間を超えていない場合のシーケンス図であり、図5は、受信時間が第1基準時間を超えた場合のシーケンス図である。   Here, the processing operation of the GW-ECU 10a will be described with reference to FIGS. When the GW-ECU 10a receives a data request from the first tool 110 or the second tool 120, the GW-ECU 10a executes the process shown in the flowchart of FIG. When the diagnosis request data transmitted from the first tool 110 is received, for example, as shown at timing t1 in FIG. 4 and timing t11 in FIG. 5, the GW-ECU 10a starts the process shown in the flowchart in FIG. Here, the GW-ECU 10a employs an example of collecting diagnostic data from the first ECU 21. FIG. 4 is a sequence diagram when the reception time does not exceed the first reference time, and FIG. 5 is a sequence diagram when the reception time exceeds the first reference time.

ステップS10では、第1ECU21へデータ要求を送信する。ステップS10での処理は、第1ECU21から診断用データを収集するための処理である。GW−ECU10aは、図4のタイミングt2,図5のタイミングt12に示すように、要求送信部12が第1ECU21に対して複数の診断用データの送信を要求する。   In step S10, a data request is transmitted to the first ECU 21. The process in step S10 is a process for collecting diagnostic data from the first ECU 21. In the GW-ECU 10a, the request transmission unit 12 requests the first ECU 21 to transmit a plurality of pieces of diagnostic data, as indicated by a timing t2 in FIG. 4 and a timing t12 in FIG.

ステップS20では、FFフレームを受信すると共に、FCフレームを送信する。このとき、GW−ECU10aは、図4のタイミングt3,図5のタイミングt13に示すように、データ受信部13が第1ECU21から送信されたFFフレームを受信する。一方、GW−ECU10aは、図4のタイミングt4,図5のタイミングt14に示すように、要求送信部12が第1ECU21に対してFCフレームを送信することで、CFフレームの送信間隔を指示する。これによって、第1ECU21は、指示された送信間隔でCFフレームを送信することになる。   In step S20, the FF frame is received and the FC frame is transmitted. At this time, the GW-ECU 10a receives the FF frame transmitted from the first ECU 21 by the data receiving unit 13, as shown at timing t3 in FIG. 4 and timing t13 in FIG. On the other hand, the GW-ECU 10a instructs the transmission interval of the CF frame by the request transmission unit 12 transmitting the FC frame to the first ECU 21 as shown at timing t4 in FIG. 4 and timing t14 in FIG. As a result, the first ECU 21 transmits the CF frame at the instructed transmission interval.

ステップS30では、ブロックサイズ分のCFフレームを受信する。つまり、GW−ECU10aは、データ受信部13が第1ECU21から送信されたブロックサイズ分のCFフレームを受信する。このとき、データ受信部13は、図4のタイミングt5〜t8,図5のタイミングt15〜t17に示すように、第1ECU21から送信された複数のCFフレームを受信する。なお、ブロックサイズとは、FCフレームなしで受信可能なCFフレームの数である。   In step S30, a CF frame for the block size is received. That is, the GW-ECU 10 a receives the CF frame for the block size transmitted from the first ECU 21 by the data receiving unit 13. At this time, the data receiving unit 13 receives a plurality of CF frames transmitted from the first ECU 21 as indicated by timings t5 to t8 in FIG. 4 and timings t15 to t17 in FIG. The block size is the number of CF frames that can be received without an FC frame.

ステップS40では、受信間隔が第1基準時間を超えているか否かを判定する。GW−ECU10aは、通信負荷推定部14が、データ受信部13にて各CFフレームを受信した受信間隔を測定すると共に、受信間隔と予め決められた第1基準時間とを比較する。そして、GW−ECU10aは、通信負荷推定部14が、受信間隔が第1基準時間を超えていないと判定した場合は通信線の通信負荷が第1基準値に達していないとみなしてステップS60へ進む。一方、GW−ECU10aは、通信負荷推定部14が、受信間隔が第1基準時間を超えていると判定した場合は通信線の通信負荷が第1基準値に達しているとみなしてステップS0へ進む。つまり、GW−ECU10aは、通信線の負荷状況を判断する指標として、第1ECU21から送信された複数の診断用データの受信間隔を用いる。また、GW−ECU10aは、通信線の負荷状況に応じてFCフレームのパラメータを動的に変更して、第1ECU21〜第nECU2nからのCFフレームの送信間隔を調整する、と言い換えることができる。なお、通信負荷推定部14は、ステップS30において、データ受信部13にて各CFフレームを受信した受信間隔を測定してもよい。 In step S40, it is determined whether the reception interval exceeds the first reference time. The GW-ECU 10a measures the reception interval at which the communication load estimation unit 14 receives each CF frame at the data reception unit 13, and compares the reception interval with a predetermined first reference time. If the communication load estimation unit 14 determines that the reception interval does not exceed the first reference time, the GW-ECU 10a regards that the communication load of the communication line has not reached the first reference value, and proceeds to step S60. move on. Meanwhile, GW-ECU 10a, the step S 5 is regarded as a communication load estimator 14, reception interval communication load of the communication line if it is determined to exceed the first reference time has reached the first reference value Go to 0. That is, the GW-ECU 10a uses the reception intervals of the plurality of diagnostic data transmitted from the first ECU 21 as an index for determining the load state of the communication line. In other words, the GW-ECU 10a dynamically changes the parameters of the FC frame according to the load state of the communication line to adjust the transmission interval of the CF frames from the first ECU 21 to the nECU 2n. In addition, the communication load estimation part 14 may measure the receiving interval which received each CF frame in the data receiving part 13 in step S30.

ステップS50では、送信間隔を更新する。GW−ECU10aは、通信負荷推定部14にて通信線における通信負荷が第1基準値に達していると判定されたので、送信間隔更新部15が、第1ECU21に対して指示する送信間隔を現在の送信間隔よりも長い値に更新する。送信間隔更新部15は、例えばステップS20で指示した送信間隔よりも長い送信間隔に更新する。例えば、ステップS20において送信間隔として5msを指示していた場合、送信間隔更新部15は、ステップS50において送信間隔を10msに更新する。   In step S50, the transmission interval is updated. Since the communication load estimation unit 14 determines that the communication load on the communication line has reached the first reference value, the GW-ECU 10a currently sets the transmission interval instructed by the transmission interval update unit 15 to the first ECU 21. Update to a value longer than the transmission interval. For example, the transmission interval update unit 15 updates the transmission interval to be longer than the transmission interval instructed in step S20. For example, when 5 ms is instructed as the transmission interval in step S20, the transmission interval update unit 15 updates the transmission interval to 10 ms in step S50.

ステップS60では、FCフレームを送信する。GW−ECU10aは、図4のタイミングt4,図5のタイミングt14に示すように、要求送信部12が第1ECU21に対してFCフレームを送信することで、CFフレームの送信間隔を指示する。要求送信部12は、ステップS40でNO判定の場合は現在の送信間隔を指示することになり、ステップS40でYES判定の場合はステップS50で更新した送信間隔を指示することになる。   In step S60, an FC frame is transmitted. As shown at timing t4 in FIG. 4 and timing t14 in FIG. 5, the GW-ECU 10a instructs the transmission interval of the CF frame by the request transmission unit 12 transmitting the FC frame to the first ECU 21. The request transmission part 12 will instruct | indicate the present transmission interval in the case of NO determination in step S40, and will instruct | indicate the transmission interval updated in step S50 in the case of YES determination in step S40.

例えば、要求送信部12が、ステップS20において、送信間隔として5msを指示した場合を一例として説明する。この場合、GW−ECU10aは、通信負荷推定部14が、測定した受信間隔が5msを超えていないと判定すると、ステップS60へ進むことになる。よって、GW−ECU10aは、送信間隔更新部15による送信間隔の更新は行わない。このため、要求送信部12は、送信間隔として5msを指示することになる。   For example, a case where the request transmission unit 12 instructs 5 ms as a transmission interval in step S20 will be described as an example. In this case, when the communication load estimation unit 14 determines that the measured reception interval does not exceed 5 ms, the GW-ECU 10a proceeds to step S60. Therefore, the GW-ECU 10a does not update the transmission interval by the transmission interval update unit 15. For this reason, the request transmission part 12 will instruct | indicate 5 ms as a transmission interval.

一方、図5のタイミングt14〜t17に示すように、GW−ECU10aは、通信負荷推定部14が、測定した受信間隔が5msを超えていると判定した場合、ステップS50へ進むことになる。この場合、GW−ECU10aは、送信間隔更新部15が送信間隔を更新する。例えば、送信間隔更新部15は、送信間隔を5msから10msに更新する。このため、要求送信部12は、図5のタイミングt18に示すように、送信間隔として10msを指示することになる。   On the other hand, as shown at timings t14 to t17 in FIG. 5, when the communication load estimation unit 14 determines that the measured reception interval exceeds 5 ms, the GW-ECU 10a proceeds to step S50. In this case, in the GW-ECU 10a, the transmission interval update unit 15 updates the transmission interval. For example, the transmission interval update unit 15 updates the transmission interval from 5 ms to 10 ms. For this reason, the request transmission unit 12 instructs 10 ms as the transmission interval, as shown at a timing t18 in FIG.

これによって、第1ECU21は、図5のタイミングt18〜t21に示すように、10ms毎にCFフレームを送信することになる。従って、GW−ECU10aは、例えば後ほど説明するステップS70でNO判定となりステップS30に戻った場合、通信負荷推定部14によって測定された受信間隔が10msになる。   As a result, the first ECU 21 transmits a CF frame every 10 ms as shown at timings t18 to t21 in FIG. Therefore, for example, when the GW-ECU 10a makes a NO determination in step S70 described later and returns to step S30, the reception interval measured by the communication load estimation unit 14 is 10 ms.

ステップS70では、全データを受信したか否かを判定する。GW−ECU10aは、ステップS10で要求した全てのデータを受信したか否かをデータ受信部13が判定する。そして、GW−ECU10aは、全データを受信したと判定した場合はステップS80へ進み、全データを受信していないと判定した場合はステップS30へ戻る。   In step S70, it is determined whether all data has been received. In the GW-ECU 10a, the data receiving unit 13 determines whether or not all the data requested in step S10 has been received. The GW-ECU 10a proceeds to step S80 when determining that all data has been received, and returns to step S30 when determining that all data has not been received.

ステップS80では、応答データを作成する。GW−ECU10aは、応答データ送信部16が、第1ツール110との通信規格に適したフォーマットに複数のCFフレームを変換して応答データを作成する。そして、ステップS90では、応答データを送信する。GW−ECU10aは、図4のタイミングt9,図5のタイミングt22に示すように、第1ツール110に対して、ステップS80で作成した応答データを応答データ送信部16が送信する。 In step S80, response data is created. In the GW-ECU 10a, the response data transmitting unit 16 converts a plurality of CF frames into a format suitable for the communication standard with the first tool 110, and creates response data. In step S90, response data is transmitted. GW-ECU 10a, the timing t9 in Fig. 4, as shown in the timing t22 in FIG. 5, the first tool 110, the response data transmitting section 16 the response data created at step S80 is transmitted.

第1ECU21〜第nECU2nは、通信線に接続されている。よって、車両が走行している場合、通信線には、各第1ECU21〜第nECU2n間で送受信される制御用データが流れることになる。また、GW−ECU10aは、第1ECU21〜第nECU2nから通信線に出力された診断用データを第1ツール110や第2ツール120に送信するものである。よって、GW−ECU10aは、診断用データを第1ツール110や第2ツール120に送信する場合、第1ECU21〜第nECU2nから通信線に出力された診断用データによって、通信線における通信負荷を増大させることが考えられる。このように、GW−ECU10aは、通信線における通信負荷を増大させることで、第1ECU21〜第nECU2nによる制御性を悪化させる可能性がある。   The first ECU 21 to the nECU 2n are connected to a communication line. Therefore, when the vehicle is traveling, control data transmitted / received between the first ECU 21 to the nECU 2n flows through the communication line. The GW-ECU 10a transmits diagnostic data output from the first ECU 21 to the nth ECU 2n to the communication line to the first tool 110 and the second tool 120. Therefore, when transmitting diagnostic data to the first tool 110 or the second tool 120, the GW-ECU 10a increases the communication load on the communication line by the diagnostic data output from the first ECU 21 to the nECU 2n to the communication line. It is possible. Thus, the GW-ECU 10a may deteriorate the controllability of the first ECU 21 to the nECU 2n by increasing the communication load on the communication line.

そこで、GW−ECU10aは、通信線における通信負荷を第1基準値と比較する。このとき、GW−ECU10aは、データ受信部13にて各CFフレームを受信した受信間隔を測定すると共に、受信間隔と予め決められた第1基準時間とを比較することで、通信線における通信負荷を第1基準値と比較する。GW−ECU10aは、通信負荷推定部14が、受信間隔が第1基準時間を超えていないと判定した場合は通信線の通信負荷が第1基準値に達していないとみなす。また、GW−ECU10aは、通信負荷推定部14が、受信間隔が第1基準時間を超えていると判定した場合は通信線の通信負荷が第1基準値に達しているとみなす。   Therefore, the GW-ECU 10a compares the communication load on the communication line with the first reference value. At this time, the GW-ECU 10a measures the reception interval at which each of the CF frames is received by the data receiving unit 13, and compares the reception interval with a predetermined first reference time to thereby determine the communication load on the communication line. Is compared with the first reference value. When the communication load estimation unit 14 determines that the reception interval does not exceed the first reference time, the GW-ECU 10a considers that the communication load of the communication line has not reached the first reference value. Further, when the communication load estimation unit 14 determines that the reception interval exceeds the first reference time, the GW-ECU 10a regards the communication load of the communication line as reaching the first reference value.

そして、GW−ECU10aは、通信負荷が第1基準値に達していた場合、通信線における通信負荷を増大させたとみなして、第1ECU21〜第nECU2nが診断用データを送信している送信間隔を長い値に更新する。このように、GW−ECU10aは、通信負荷が第1基準値に達している場合、第1ECU21〜第nECU2nが診断用データを送信している送信間隔を長くすることで、診断用データによって制御用データの送受信が阻害されることを抑制できる。また、GW−ECU10aは、第1ECU21〜第nECU2nが送信している診断用データの送信を中止させるわけではなく、第1ECU21〜第nECU2nが診断用データを送信している送信間隔を長くするものである。よって、GW−ECU10aは、第1ECU21〜第nECU2nによる制御性の悪化を抑制しつつ、複数の診断用データを収集して第1ツール110や第2ツール120に送信することができる。   Then, when the communication load has reached the first reference value, the GW-ECU 10a considers that the communication load on the communication line has increased, and increases the transmission interval at which the first ECU 21 to the nECU 2n transmit diagnostic data. Update to value. As described above, when the communication load has reached the first reference value, the GW-ECU 10a increases the transmission interval at which the first ECU 21 to the nECU 2n transmit the diagnostic data, thereby controlling for the diagnostic data. It can suppress that transmission / reception of data is inhibited. Further, the GW-ECU 10a does not stop the transmission of the diagnostic data transmitted from the first ECU 21 to the nth ECU 2n, but increases the transmission interval at which the first ECU 21 to the nECU 2n transmits the diagnostic data. is there. Therefore, the GW-ECU 10a can collect and transmit a plurality of diagnostic data to the first tool 110 and the second tool 120 while suppressing deterioration of controllability by the first ECU 21 to the nth ECU 2n.

例えば、送信間隔を更新しない比較例のGW−ECUは、図7のタイミングt41,t42,t43に示すように、診断用データを送信させることで、制御用フレームの送信を遅れさせることになる。これに対して、GW−ECU10aは、通信負荷が第1基準値に達していた場合、図6のタイミングt31〜t33に示すように、第1ECU21〜第nECU2nが診断用データを送信している送信間隔を長い値に更新する。これによって、GW−ECU10aは、制御用フレームの遅延を抑制できる。従って、GW−ECU10aは、第1ECU21〜第nECU2nによる制御性の悪化を抑制できる。言い換えると、GW−ECU10aは、第1ECU21〜第nECU2nによる制御用データの送受信を阻害することを抑制できる。   For example, the GW-ECU of the comparative example that does not update the transmission interval delays the transmission of the control frame by transmitting the diagnostic data as shown at timings t41, t42, and t43 in FIG. On the other hand, when the communication load has reached the first reference value, the GW-ECU 10a transmits the diagnostic data transmitted from the first ECU 21 to the nECU 2n as indicated by timings t31 to t33 in FIG. Update the interval to a longer value. Thereby, the GW-ECU 10a can suppress the delay of the control frame. Therefore, the GW-ECU 10a can suppress deterioration of controllability by the first ECU 21 to the nth ECU 2n. In other words, the GW-ECU 10a can suppress inhibition of transmission / reception of control data by the first ECU 21 to the nth ECU 2n.

更に、GW−ECU10aは、車載ネットワークにおける通信線の構成や、各第1ECU21〜第nECU2nの機能追加が不要である。このため、GW−ECU10aは、コストアップすることを抑えながら上記の効果を奏することができる。   Furthermore, the GW-ECU 10a does not require the configuration of the communication line in the in-vehicle network and the addition of functions of the first ECU 21 to the nECU 2n. For this reason, the GW-ECU 10a can achieve the above effects while suppressing an increase in cost.

なお、本実施形態では、複数種別の診断用機器(例えば、第1ツール110及び第2ツール120)に対して、診断用データを送信する例を採用した。しかしながら、本発明はこれに限定されない。本発明は、単一種別の診断用機器のみに対して、診断用データを送信するものであっても採用できる。よって、本発明は、例えばOEMセンタに設けられた診断用機器のみに対して、診断用データを送信するものであっても採用できる。なお、この場合、GW−ECU10aは、診断要求データの送信元である第1ツール110及び第2ツール120の種別を判別する必要はない。   In the present embodiment, an example in which diagnostic data is transmitted to a plurality of types of diagnostic devices (for example, the first tool 110 and the second tool 120) is employed. However, the present invention is not limited to this. The present invention can be employed even when transmitting diagnostic data only to a single type of diagnostic device. Therefore, the present invention can be employed even when the diagnostic data is transmitted only to the diagnostic device provided in the OEM center, for example. In this case, the GW-ECU 10a does not need to determine the types of the first tool 110 and the second tool 120 that are the transmission source of the diagnosis request data.

また、本実施形態では、受信間隔を用いて通信線の通信負荷を判定する例を採用した。しかしながら、本発明はこれに限定されない。GW−ECU10aは、通信線に流れている制御用データに基づいて通信線の通信負荷を判定してもよい。この場合、通信負荷推定部14は、制御用データの値が所定値を超えていない場合、通信負荷が第1基準値に達していないと判定し、制御用データの値が所定値を超えていた場合、通信負荷が第1基準値に達していると判定する。   Moreover, in this embodiment, the example which determines the communication load of a communication line using a receiving interval was employ | adopted. However, the present invention is not limited to this. The GW-ECU 10a may determine the communication load of the communication line based on the control data flowing in the communication line. In this case, when the value of the control data does not exceed the predetermined value, the communication load estimation unit 14 determines that the communication load has not reached the first reference value, and the value of the control data exceeds the predetermined value. If it is determined that the communication load has reached the first reference value.

この制御用データは、例えば、車両の車速を示すデータや、エンジンの回転数を示すデータなどである。通常、第1ECU21〜第nECU2nは、車速が遅い場合よりも早い場合の方が、通信線を介して送受信する制御用データの数が多くなる。回転数に関しても同様である。よって、ここでは、制御用データの値が所定値を超えていた場合、通信線における通信負荷は第1基準値に達しているとみなす。なお、所定値は、診断用データによって、第1ECU21〜第nECU2nによる制御性を悪化させる可能性があるとみなせる程度の値である。また、所定値は、実験やシミュレーションなどによって決めることができる。   The control data is, for example, data indicating the vehicle speed of the vehicle, data indicating the engine speed, and the like. Normally, the first ECU 21 to the nth ECU 2n have a larger number of control data to be transmitted / received via the communication line when the vehicle speed is faster than when the vehicle speed is slow. The same applies to the rotational speed. Therefore, here, when the value of the control data exceeds a predetermined value, it is considered that the communication load on the communication line has reached the first reference value. The predetermined value is a value that can be regarded as a possibility that the controllability of the first ECU 21 to the nECU 2n may be deteriorated by the diagnostic data. Further, the predetermined value can be determined by experiments or simulations.

このようにすることで、GW−ECU10aは、診断用データが通信線に送信される前に、通信負荷を把握できる。よって、GW−ECU10aは、第1ECU21〜第nECU2nによる制御性の悪化をより一層抑制することができる。   By doing in this way, GW-ECU10a can grasp | ascertain communication load, before diagnostic data are transmitted to a communication line. Therefore, the GW-ECU 10a can further suppress the deterioration of controllability by the first ECU 21 to the nth ECU 2n.

また、本実施形態では、CFフレームを受信したり、FCフレームを送信したりするGW−ECU10aを採用した。しかしながら、本発明は、これに限定されない。GW−ECU10aは、第1ECU21〜第nECU2nに対して診断用データの送信、及び送信間隔を指示するデータを送信すると共に、第1ECU21〜第nECU2nから送信された診断用データを受信できるものであれば採用できる。   In this embodiment, the GW-ECU 10a that receives a CF frame or transmits an FC frame is employed. However, the present invention is not limited to this. The GW-ECU 10a is capable of transmitting diagnostic data to the first ECU 21 to the nth ECU 2n and data for instructing a transmission interval and receiving the diagnostic data transmitted from the first ECU 21 to the nECU 2n. Can be adopted.

また、本実施形態では、第1ツール110や第2ツール120からの要求に応じて、GW−ECU10aが第1ECU21〜第nECU2nに対して診断用データの送信を指示する例を採用した。しかしながら、本発明はこれに限定されない。第1ECU21〜第nECU2nの夫々は、第1ツール110や第2ツール120からの要求に関係なく、所定のタイミング、又は自己診断での診断結果に応じて、診断用データをGW−ECU10aに出力するものであっても採用できる。   Moreover, in this embodiment, the example which GW-ECU10a instruct | indicates the transmission of diagnostic data with respect to 1ECU21-nECU2n according to the request | requirement from the 1st tool 110 or the 2nd tool 120 was employ | adopted. However, the present invention is not limited to this. Each of the first ECU 21 to the nECU 2n outputs diagnostic data to the GW-ECU 10a in accordance with a predetermined timing or a diagnostic result in self-diagnosis, regardless of requests from the first tool 110 and the second tool 120. Even things can be adopted.

以上、本発明の好ましい実施形態について説明した。しかしながら、本発明は、上記した実施形態に何ら制限されることはなく、本発明の趣旨を逸脱しない範囲において、種々の変形が可能である。つまり、本発明は、通信負荷が第1基準値に達しているか否かを判定し、通信負荷が第1基準値に達していると判定した場合、第1ECU21〜第nECU2nに対する送信間隔を現在の送信間隔よりも長い値に更新するものであれば目的を達成できる。   The preferred embodiments of the present invention have been described above. However, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention. That is, the present invention determines whether or not the communication load has reached the first reference value, and if it is determined that the communication load has reached the first reference value, the transmission interval for the first ECU 21 to the nECU 2n is set to the current interval. If the value is updated to a value longer than the transmission interval, the object can be achieved.

以下に、本発明の変形例1〜3に関して説明する。上記の実施形態及び変形例1〜3は、夫々単独で実施することも可能であるが、適宜組み合わせて実施することも可能である。発明は、実施形態において示された組み合わせに限定されることなく、種々の組み合わせによって実施可能である。   Below, the modifications 1-3 of this invention are demonstrated. The above-described embodiment and Modifications 1 to 3 can be implemented independently, but can be implemented in combination as appropriate. The invention is not limited to the combinations shown in the embodiments, and can be implemented in various combinations.

(変形例1)
負荷状況によっては、第1ECU21〜第nECU2nに対して指示した送信間隔よりも大幅に診断用データの受信間隔が長くなることもありうる。そこで、本発明は、変形例1のGW−ECU10aに示すように、第1ECU21〜第nECU2nに対して、複数の診断用データの送信中止を指示するようにしてもよい。なお、変形例1のGW−ECU10aは、上記の実施形態のGW−ECU10aと同様の構成を有しているため、図示を省略すると共に、上記の実施形態のGW−ECU10aと同じ符号を用いる。更に、GW−ECU10a以外の構成に関しても、上記の実施形態と同様であるため同じ符号を用いる。
(Modification 1)
Depending on the load situation, the reception interval of the diagnostic data may be significantly longer than the transmission interval instructed to the first ECU 21 to the nECU 2n. Therefore, in the present invention, as shown in the GW-ECU 10a of the first modification, the first ECU 21 to the nECU 2n may be instructed to stop transmission of a plurality of diagnostic data. Note that the GW-ECU 10a according to the first modification has the same configuration as the GW-ECU 10a according to the above-described embodiment, and hence is not illustrated and the same reference numerals as those of the GW-ECU 10a according to the above-described embodiment are used. Furthermore, since the configuration other than the GW-ECU 10a is the same as that in the above embodiment, the same reference numerals are used.

ここで、図8を用いて、変形例1のGW−ECU10aの処理動作に関して説明する。タイミングt51〜t54は、タイミングt1〜t4と同様であるため説明は省略する。なお、変形例1のGW−ECU10aは、タイミングt54において、送信間隔として例えば5msを指示したものとする。しかしながら、第1ECU21〜第nECU2nは、要求送信部12から送信間隔として5msを指示されたとしても、10ms間隔でしか診断用データを送信できない状況とする。この場合、タイミングt54〜t57に示すように、通信負荷推定部14によって測定された受信間隔は、10msとなる。   Here, the processing operation of the GW-ECU 10a according to the first modification will be described with reference to FIG. Since the timings t51 to t54 are the same as the timings t1 to t4, description thereof is omitted. It is assumed that the GW-ECU 10a of the first modified example instructs 5 ms as the transmission interval at the timing t54. However, even if the 1ECU21 to the nECU2n are instructed by the request transmission unit 12 to have a transmission interval of 5 ms, the first ECU 21 to the nECU2n are in a situation in which diagnostic data can be transmitted only at 10 ms intervals. In this case, as shown at timings t54 to t57, the reception interval measured by the communication load estimation unit 14 is 10 ms.

そこで、通信負荷推定部14は、通信線における通信負荷が第1基準値を超えて、第1基準値が示す通信負荷よりも大きな通信負荷を示す第2基準値に達しているか否かを判定する。このとき、通信負荷推定部14は、測定した受信間隔と予め決められた第2基準時間とを比較する。   Therefore, the communication load estimation unit 14 determines whether or not the communication load on the communication line exceeds the first reference value and reaches a second reference value indicating a communication load larger than the communication load indicated by the first reference value. To do. At this time, the communication load estimation unit 14 compares the measured reception interval with a predetermined second reference time.

そして、通信負荷推定部14は、受信間隔が第2基準時間を超えていないと判定した場合は通信線の通信負荷が第2基準値に達していないとみなす。なお、通信負荷推定部14は、受信間隔が第2基準時間を超えていないが、第1基準時間を超えていると判定した場合は、上記のステップS50と同様に送信間隔を更新する。   When the communication load estimation unit 14 determines that the reception interval does not exceed the second reference time, the communication load estimation unit 14 considers that the communication load of the communication line has not reached the second reference value. In addition, the communication load estimation part 14 updates a transmission interval similarly to said step S50, when it determines with the reception interval not exceeding 2nd reference time, but exceeding 1st reference time.

一方、通信負荷推定部14は、受信間隔が第2基準時間を超えていると判定した場合は通信線の通信負荷が第2基準値に達しているとみなす。そして、変形例1の要求送信部12は、通信負荷推定部14にて通信負荷が第2基準値を超えていると判定された場合、タイミングt58に示すように、第1ECU21に対して複数の診断用データの送信中止を指示する。これに伴って、応答データ送信部16は、応答データの作成、及び第1ツール110や第2ツール120に対する応答データの送信を中止する。なお、第2基準時間は、上記の第1基準時間よりも長い時間であり、例えば、更新後の送信間隔などを採用できる。   On the other hand, if the communication load estimation unit 14 determines that the reception interval exceeds the second reference time, the communication load estimation unit 14 considers that the communication load of the communication line has reached the second reference value. Then, when the communication load estimation unit 14 determines that the communication load exceeds the second reference value, the request transmission unit 12 of Modification 1 includes a plurality of requests to the first ECU 21 as illustrated in timing t58. Instructs to stop sending diagnostic data. Along with this, the response data transmission unit 16 stops generating response data and transmitting response data to the first tool 110 and the second tool 120. Note that the second reference time is longer than the first reference time, and for example, an updated transmission interval can be employed.

また、第1ECU21は、複数の診断用データの送信中止を指示された場合、複数の診断用データを送信することを中止する。これによって、第1ECU21は、制御用データの送受信に専念することができる。   Further, when instructed to stop transmission of a plurality of diagnostic data, the first ECU 21 stops transmitting the plurality of diagnostic data. Accordingly, the first ECU 21 can concentrate on transmission / reception of control data.

このGW−ECU10aは、上記の実施形態と同様の効果を奏することができる。更に、GW−ECU10aは、通信線の通信負荷が第2基準値に達しているとみなした場合に、第1ECU21に対して複数の診断用データの送信中止を指示することで、第1ECU21〜第nECU2nによる制御性の悪化をより一層抑制できる。   The GW-ECU 10a can achieve the same effects as the above embodiment. Further, the GW-ECU 10a instructs the first ECU 21 to stop transmission of a plurality of diagnostic data when the communication load of the communication line has reached the second reference value, whereby the first ECU 21 to the first ECU The deterioration of controllability by the nECU 2n can be further suppressed.

なお、GW−ECU10aは、通信負荷推定部14にて通信負荷が第2基準値に達していると判定された場合、第1ツール110や第2ツール120に対して、診断用データの送信中止を報知してもよい(第1報知手段)。つまり、GW−ECU10aは、通信負荷が第2基準値に達しており、第1ECU21〜第nECU2nに対して複数の診断用データの送信中止を指示する場合、第1ツール110や第2ツール120に対して、診断用データの送信中止を報知する。このようにすることで、第1ツール110や第2ツール120は、GW−ECU10aによる送信ミスと誤判定することを抑制できる。   When the communication load estimation unit 14 determines that the communication load has reached the second reference value, the GW-ECU 10a stops transmitting diagnostic data to the first tool 110 and the second tool 120. May be notified (first notification means). That is, when the communication load has reached the second reference value and the GW-ECU 10a instructs the first ECU 21 to the nECU 2n to stop transmission of a plurality of diagnostic data, the GW-ECU 10a instructs the first tool 110 and the second tool 120. On the other hand, the transmission stop of the diagnostic data is notified. By doing in this way, the 1st tool 110 and the 2nd tool 120 can suppress misdetermining with the transmission mistake by GW-ECU10a.

また、GW−ECU10aは、第1ECU21〜第nECU2nに対して、複数の診断用データの送信中止を指示するかわりに、複数の診断用データの送信を一時的に保留してもよい。   The GW-ECU 10a may temporarily hold the transmission of the plurality of diagnostic data instead of instructing the first ECU 21 to the nECU 2n to stop transmission of the plurality of diagnostic data.

この場合、要求送信部12は、通信負荷推定部14にて通信負荷が第2基準値を超えていると判定された場合、第1ECU21に対して複数の診断用データの送信を一時的に保留(つまり、送信保留)するように指示する。これに伴って、応答データ送信部16は、応答データの作成、及び第1ツール110や第2ツール120に対する応答データの送信を一時的に保留する。なお、要求送信部12は、送信を一時的に保留するように指示した後に、通信負荷推定部14にて通信負荷が第2基準値を超えていないと判定された場合、送信の保留を解除するように指示する。   In this case, when the communication load estimation unit 14 determines that the communication load exceeds the second reference value, the request transmission unit 12 temporarily suspends transmission of a plurality of diagnostic data to the first ECU 21. (In other words, the transmission is suspended). Along with this, the response data transmission unit 16 temporarily suspends the generation of response data and the transmission of response data to the first tool 110 and the second tool 120. The request transmission unit 12 cancels the transmission suspension when the communication load estimation unit 14 determines that the communication load does not exceed the second reference value after instructing the transmission to be temporarily suspended. To instruct.

また、第1ECU21は、複数の診断用データの送信を一時的に保留するように指示された場合、複数の診断用データを送信することを一時的に保留する。これによって、第1ECU21は、制御用データの送受信に専念することができる。   Further, when instructed to temporarily suspend transmission of a plurality of diagnostic data, the first ECU 21 temporarily suspends transmission of the plurality of diagnostic data. Accordingly, the first ECU 21 can concentrate on transmission / reception of control data.

このようにしても、GW−ECU10aは、上記の実施形態と同様の効果を奏することができる。更に、GW−ECU10aは、通信線の通信負荷が第2基準値に達しているとみなすと、第1ECU21に対して複数の診断用データの送信を一時的に保留するように指示することで、第1ECU21〜第nECU2nによる制御性の悪化をより一層抑制できる。   Even if it does in this way, GW-ECU10a can have an effect similar to said embodiment. Furthermore, when the GW-ECU 10a considers that the communication load of the communication line has reached the second reference value, the GW-ECU 10a instructs the first ECU 21 to temporarily hold transmission of a plurality of diagnostic data. The deterioration of controllability by the first ECU 21 to the nth ECU 2n can be further suppressed.

なお、GW−ECU10aは、通信負荷推定部14にて通信負荷が第2基準値に達していると判定された場合、第1ツール110や第2ツール120に対して、診断用データの送信を一時的に保留することを報知してもよい(第2報知手段)。つまり、GW−ECU10aは、通信負荷が第2基準値に達しており、第1ECU21〜第nECU2nに対して送信を一時的に保留するように指示する場合、第1ツール110や第2ツール120に対して、診断用データの送信保留を報知する。このようにすることで、第1ツール110や第2ツール120は、GW−ECU10aによる送信ミスと誤判定することを抑制できる。   When the communication load estimation unit 14 determines that the communication load has reached the second reference value, the GW-ECU 10a transmits diagnostic data to the first tool 110 and the second tool 120. You may alert | report temporarily hold | maintaining (2nd alerting | reporting means). That is, when the communication load has reached the second reference value and the GW-ECU 10a instructs the first ECU 21 to the nECU 2n to temporarily hold transmission, the GW-ECU 10a instructs the first tool 110 and the second tool 120. On the other hand, the transmission suspension of diagnostic data is notified. By doing in this way, the 1st tool 110 and the 2nd tool 120 can suppress misdetermining with the transmission mistake by GW-ECU10a.

(変形例2)
近年、車両の診断は、ISO27145やISO13400において、車両外のツールから通信を利用した規格化がなされている。また、今後、車両の診断は、不特定多数のツールから診断要求が送信されることが考えられる。更に、車両の診断は、パソコンや携帯電話機やスマートフォンなどから診断要求が送信されることも考えられる。従って、車載診断システムは、上記のように、OEMセンタに設けられた診断用機器、ディーラに設けられた診断用機器、ユーザ端末などの多種多様な診断用機器からの診断要求を受けることが考えられる。車載診断システムは、このような多種多様な診断用機器からの診断要求に対する応答性の低下を抑制しつつ、第1ECU21〜第nECU2nによる制御性の悪化を抑制できることが望ましい。
(Modification 2)
In recent years, vehicle diagnosis has been standardized using communication from a tool outside the vehicle in ISO 27145 and ISO 13400. In the future, for vehicle diagnosis, it is considered that a diagnosis request is transmitted from an unspecified number of tools. Furthermore, for the diagnosis of a vehicle, a diagnosis request may be transmitted from a personal computer, a mobile phone, a smartphone, or the like. Accordingly, as described above, the in-vehicle diagnosis system may receive a diagnosis request from various diagnosis devices such as a diagnosis device provided in an OEM center, a diagnosis device provided in a dealer, and a user terminal. It is done. It is desirable that the in-vehicle diagnosis system can suppress deterioration in controllability by the first ECU 21 to the nECU 2n while suppressing a decrease in responsiveness to a diagnosis request from such a variety of diagnostic devices.

そこで、GW−ECU10bは、診断用機器として、複数種別の診断用機器に対して、診断用データを送信するものである。また、GW−ECU10bは、診断用機器の種別毎に処置内容を変更する。このため、GW−ECU10bは、図9に示すように、上記の構成要素11〜16に加えて、記憶部17を備えている。この記憶部17には、診断用機器の種別毎に第1処置内容、又は第1処置内容とは異なる第2処置内容が関連付けられた処置内容データが記憶されている。   Therefore, the GW-ECU 10b transmits diagnostic data to a plurality of types of diagnostic devices as diagnostic devices. Further, the GW-ECU 10b changes the treatment content for each type of diagnostic device. Therefore, the GW-ECU 10b includes a storage unit 17 in addition to the above-described components 11 to 16, as shown in FIG. The storage unit 17 stores treatment content data in which a first treatment content or a second treatment content different from the first treatment content is associated with each type of diagnostic device.

例えば、処置内容データは、図10に示すように、診断用データの要求元毎に、受信間隔基準値、送信間隔延長値、受信間隔許容値、受信間隔許容値を超えた場合の処置が関連付けられている。なお、受信間隔基準値は、複数の診断用データの受信間隔の基準時間であり、上記の第1基準時間に相当する時間である。送信間隔延長値は、受信間隔基準値を超えた場合に延長する時間である。つまり、送信間隔延長値は、送信間隔を更新する際に加算する時間である。受信間隔許容値は、送信中止又は送信保留するための基準時間であり、上記の第2基準時間に相当する時間である。そして、受信間隔許容値を超えた場合の処置は、特許請求の範囲における処置内容である。ここでは、処置内容の一例として、応答保留と中止を採用している。また、応答保留は、上記の一時的に保留に相当し、中止は、上記の送信の中止に相当する。   For example, as shown in FIG. 10, treatment content data is associated with a treatment when a reception interval reference value, transmission interval extension value, reception interval allowable value, reception interval allowable value is exceeded for each request source of diagnostic data. It has been. The reception interval reference value is a reference time for a plurality of diagnostic data reception intervals, and is a time corresponding to the first reference time. The transmission interval extension value is a time to be extended when the reception interval reference value is exceeded. That is, the transmission interval extension value is a time to be added when the transmission interval is updated. The reception interval allowable value is a reference time for stopping transmission or holding transmission, and is a time corresponding to the second reference time. And the treatment when the reception interval allowable value is exceeded is the treatment content in the claims. Here, response suspension and cancellation are adopted as an example of treatment content. Further, the response hold corresponds to the above temporary hold, and the cancel corresponds to the above stop transmission.

また、OEMセンタに設けられた診断用機器やディーラに設けられた診断用機器からの診断要求は、ユーザ端末からの診断要求よりも重要である可能性が高い。従って、OEMセンタに設けられた診断用機器やディーラに設けられた診断用機器は第1優先順位として、ユーザ端末は第2優先順位とする。よって、第1優先順位の診断用機器には、処置内容として応答保留が関連付けられている。一方、第2優先順位の診断用機器には、処置内容として、中止が関連付けられている。   Further, a diagnosis request from a diagnosis device provided in the OEM center or a diagnosis device provided in a dealer is more likely to be more important than a diagnosis request from a user terminal. Therefore, the diagnostic device provided in the OEM center and the diagnostic device provided in the dealer are set as the first priority, and the user terminal is set as the second priority. Therefore, response suspension is associated with the diagnostic device having the first priority as the treatment content. On the other hand, the diagnosis device having the second priority order is associated with cancellation as the treatment content.

GW−ECU10bの要求受信部11は、GW−ECU10aの要求受信部11と同様に、第1ツール110や第2ツール120から送信された診断要求データを受信する。更に、GW−ECU10bの要求受信部11は、診断要求データの送信元である第1ツール110や第2ツール120の種別を判別する。また、GW−ECU10bの通信負荷推定部14は、変形例1の通信負荷推定部14と同様に、通信負荷が第1基準値を超えて、第2基準値に達しているか否かを判定する。   The request receiving unit 11 of the GW-ECU 10b receives the diagnosis request data transmitted from the first tool 110 and the second tool 120, similarly to the request receiving unit 11 of the GW-ECU 10a. Furthermore, the request receiving unit 11 of the GW-ECU 10b determines the type of the first tool 110 or the second tool 120 that is the transmission source of the diagnosis request data. Moreover, the communication load estimation part 14 of GW-ECU10b determines whether the communication load exceeds the 1st reference value and has reached the 2nd reference value similarly to the communication load estimation part 14 of the modification 1. .

そして、GW−ECU10bの要求送信部12は、通信負荷推定部14の推定結果、要求受信部11の判別結果、及び処置内容データに基づいて、処置内容を変更する。詳述すると、要求送信部12は、通信負荷が第2基準値に達しており、且つ、第1ツール110や第2ツール120に対して第2処置内容が関連付けられていた場合、第1ECU21〜第nECU2nに対して、複数の診断用データの送信中止を指示する。また、要求送信部12は、通信負荷が第2基準値に達しており、且つ、第1ツール110や第2ツール120に対して第1処置内容が関連付けられていた場合、第1ECU21〜第nECU2nに対して、複数の診断用データの応答保留を指示する。   Then, the request transmission unit 12 of the GW-ECU 10b changes the treatment content based on the estimation result of the communication load estimation unit 14, the determination result of the request reception unit 11, and the treatment content data. Specifically, when the communication load has reached the second reference value and the second treatment content is associated with the first tool 110 or the second tool 120, the request transmission unit 12 has the first ECUs 21 to 21. The nECU 2n is instructed to stop transmission of a plurality of diagnostic data. Further, when the communication load has reached the second reference value and the first treatment content is associated with the first tool 110 or the second tool 120, the request transmission unit 12 has the first ECU21 to the nECU2n. In response to this, a response suspension of a plurality of diagnostic data is instructed.

なお、GW−ECU10bの要求受信部11,通信負荷推定部14,要求送信部12は、GW−ECU10aの要求受信部11,通信負荷推定部14,要求送信部12と異なる処理を実行するものであるが、便宜上同じ符号を用いている。   The request receiving unit 11, the communication load estimating unit 14, and the request transmitting unit 12 of the GW-ECU 10b execute different processes from the request receiving unit 11, the communication load estimating unit 14, and the request transmitting unit 12 of the GW-ECU 10a. However, the same reference numerals are used for convenience.

このように、GW−ECU10bは、通信線の通信負荷が第2基準値に達している場合、第2優先順位の診断用機器からの要求に対しては診断用データの送信は中止し、第1優先順位の診断用機器からの要求に対しては診断用データの送信は中止にしない。つまり、GW−ECU10bは、第2優先順位の診断用機器からの診断要求に対しては診断用データの送信を中止するので、第1ECU21〜第nECU2nによる制御性の悪化を抑制できる。また、GW−ECU10bは、第1優先順位の診断用機器からの診断要求に対しては診断用データの送信を一時的に保留にするので、第1ECU21〜第nECU2nによる制御性の悪化を抑制しつつ、診断用データを送信することができる。よって、GW−ECU10bは、多種多様な診断用機器からの診断要求に対する応答性の低下を抑制しつつ、第1ECU21〜第nECU2nによる制御性の悪化を抑制できる。   In this way, when the communication load of the communication line has reached the second reference value, the GW-ECU 10b stops transmitting diagnostic data in response to a request from the diagnostic device having the second priority, The transmission of diagnostic data is not canceled in response to a request from a diagnostic device with one priority. That is, since the GW-ECU 10b stops transmission of diagnostic data in response to a diagnostic request from the diagnostic device having the second priority, the deterioration of controllability by the first ECU 21 to the nECU 2n can be suppressed. Further, since the GW-ECU 10b temporarily suspends transmission of diagnostic data in response to a diagnostic request from the first priority diagnostic device, the deterioration of controllability by the first ECU 21 to the nECU 2n is suppressed. Meanwhile, the diagnostic data can be transmitted. Therefore, the GW-ECU 10b can suppress deterioration in controllability by the first ECU 21 to the nth ECU 2n while suppressing a decrease in responsiveness to a diagnosis request from a variety of diagnostic devices.

(変形例3)
本発明は、上記の実施形態、変形例1,2のようにGW−ECUを備えていなくても目的は達成できる。変形例3では、図11に示すように、本発明を第1ECU31〜第nECU3n及び通信モジュール40に適用した例を採用している。
(Modification 3)
The object of the present invention can be achieved even if the GW-ECU is not provided as in the above-described embodiment and modifications 1 and 2. In the third modification, as shown in FIG. 11, an example in which the present invention is applied to the first ECU 31 to the nECU 3 n and the communication module 40 is employed.

第1ECU31〜第nECU3nは、第1ECU21〜第nECU2nと同様に制御用データ及び診断用データを出力可能に構成されている。しかしながら、第1ECU31〜第nECU3nは、第1ツール110や第2ツール120などの要求に応じて診断用データを出力する点で、第1ECU21〜第nECU2nと異なる。また、第1ECU31〜第nECU3nの夫々は、制御対象などが異なるものの、診断用データの出力などに関しては同様である。よって、ここでは、第1ECU31〜第nECU3nのうち、第1ECU31に関して説明する。   The first ECU 31 to the nth ECU 3n are configured to be able to output control data and diagnostic data in the same way as the first ECU 21 to the nECU 2n. However, the first ECU 31 to the nECU 3n are different from the first ECU 21 to the nECU 2n in that they output diagnostic data in response to requests from the first tool 110, the second tool 120, and the like. The first ECU 31 to the nECU 3n are the same in terms of output of diagnostic data, etc., although the controlled objects are different. Accordingly, here, the first ECU 31 among the first ECU 31 to the nECU 3n will be described.

図12に示すように、第1ECU31は、要求受信部311、通信負荷推定部312、送信間隔更新部313、応答データ送信部314などを備えて構成されている。要求受信部311は、要求受信部11と同様である。通信負荷推定部312は、通信負荷推定部14と同様である。送信間隔更新部313は、送信間隔更新部15と同様である。ただし、応答データ送信部314は、応答データ送信部16と異なり、複数の診断用データを個別に送信する。   As shown in FIG. 12, the first ECU 31 includes a request reception unit 311, a communication load estimation unit 312, a transmission interval update unit 313, a response data transmission unit 314, and the like. The request receiving unit 311 is the same as the request receiving unit 11. The communication load estimation unit 312 is the same as the communication load estimation unit 14. The transmission interval update unit 313 is the same as the transmission interval update unit 15. However, unlike the response data transmission unit 16, the response data transmission unit 314 transmits a plurality of pieces of diagnostic data individually.

また、通信モジュール40は、特許請求の範囲における通信装置に相当する。通信モジュール40は、第1ツール110から送信されたデータを第1ECU31〜第nECU3nに出力すると共に、第1ECU31〜第nECU3nから送信されたデータを第1ツール110に出力する。また、通信モジュール40は、必要に応じて、第1ツール110と第1ECU31〜第nECU3nとの間でプロトコル変換を行う。しかしながら、通信モジュール40は、GW−ECU10aのように、送信間隔を指示したり、受信間隔を測定したりする機能は有していない。   The communication module 40 corresponds to the communication device in the claims. The communication module 40 outputs data transmitted from the first tool 110 to the first ECU 31 to the nth ECU 3n, and outputs data transmitted from the first ECU 31 to the nECU 3n to the first tool 110. Further, the communication module 40 performs protocol conversion between the first tool 110 and the first ECU 31 to the nECU 3n as necessary. However, unlike the GW-ECU 10a, the communication module 40 does not have a function of instructing a transmission interval or measuring a reception interval.

ここで、第1ECU31の処理動作に関して、図13を用いて説明する。第1ECU31は、第1ツール110や第2ツール120からデータ要求を受信すると、図13のフローチャートに示す処理を実行する。第1ECU31は、要求受信部311が例えば第1ツール110から送信された診断要求データを受信すると、図13のフローチャートに示す処理を開始する。   Here, the processing operation of the first ECU 31 will be described with reference to FIG. When the first ECU 31 receives a data request from the first tool 110 or the second tool 120, the first ECU 31 executes the processing shown in the flowchart of FIG. When the request reception unit 311 receives diagnosis request data transmitted from the first tool 110, the first ECU 31 starts the process shown in the flowchart of FIG.

ステップS12では、通信負荷が基準値を超えているか否かを判定する。第1ECU31は、通信負荷推定部312が通信線に流れている制御用データに基づいて通信線の通信負荷を判定する。そして、第1ECU31は、通信負荷推定部312が制御用データの値が所定値を超えていない場合、通信負荷が基準値に達していないと判定し、制御用データの値が所定値を超えていた場合、通信負荷が基準値に達していると判定する。そして、第1ECU31は、通信負荷が基準値に達していないと判定した場合はステップS32へ進み、通信負荷が基準値に達していると判定した場合はステップS22へ進む。なお、ここでの基準値は、上記の第1基準値に相当する。また、制御用データに基づく通信負荷の判定に関しては、上記の実施形態を参照されたい。   In step S12, it is determined whether or not the communication load exceeds a reference value. The first ECU 31 determines the communication load of the communication line based on the control data flowing through the communication line by the communication load estimating unit 312. Then, the first ECU 31 determines that the communication load has not reached the reference value when the value of the control data does not exceed the predetermined value, and the value of the control data exceeds the predetermined value. If it is determined that the communication load has reached the reference value. The first ECU 31 proceeds to step S32 when determining that the communication load has not reached the reference value, and proceeds to step S22 when determining that the communication load has reached the reference value. The reference value here corresponds to the first reference value. For the determination of the communication load based on the control data, refer to the above embodiment.

ステップS22では、送信間隔を更新する。第1ECU31は、通信負荷推定部312にて通信線における通信負荷が基準値に達していると判定されたので、送信間隔更新部313が、自身が診断用データを送信している送信間隔を現在の送信間隔よりも長い値に更新する。例えば、第1ECU31におけるデフォルトの送信間隔が5msであった場合、送信間隔更新部313は、ステップS22において送信間隔を10msに更新する。   In step S22, the transmission interval is updated. Since the first ECU 31 determines that the communication load on the communication line has reached the reference value in the communication load estimation unit 312, the transmission interval update unit 313 sets the transmission interval at which the transmission interval update unit 313 is transmitting diagnostic data to the current Update to a value longer than the transmission interval. For example, when the default transmission interval in the first ECU 31 is 5 ms, the transmission interval update unit 313 updates the transmission interval to 10 ms in step S22.

ステップS32では、診断用データを送信する。第1ECU31は、応答データ送信部314が診断用データを送信する。そして、通信モジュール40は、応答データ送信部314が送信した診断用データを第1ツール110へ送信する。   In step S32, diagnostic data is transmitted. In the first ECU 31, the response data transmission unit 314 transmits diagnostic data. Then, the communication module 40 transmits the diagnostic data transmitted by the response data transmission unit 314 to the first tool 110.

ステップS42では、全データを送信したか否かを判定する。第1ECU31は、送信予定の診断用データを全て送信したか否かを応答データ送信部314が判定する。なお、第1ECU31は、複数の診断用データを第1ツール110や第2ツール120に送信する際には、予め決められた数の診断用データを送信するものである。応答データ送信部314は、送信した診断用データの数や、診断用データの送信回数などをカウントすることで、診断用データを全て送信したか否かを判定することができる。 In step S42, it is determined whether all data has been transmitted . In the first ECU 31, the response data transmission unit 314 determines whether or not all the diagnostic data scheduled to be transmitted has been transmitted. The first ECU 31 transmits a predetermined number of diagnostic data when transmitting a plurality of diagnostic data to the first tool 110 and the second tool 120. The response data transmission unit 314 can determine whether or not all diagnostic data has been transmitted by counting the number of diagnostic data transmitted, the number of times of transmission of diagnostic data, and the like.

この変形例3においても、上記の実施形態と同様の効果を奏することができる。なお、変形例3においても、第1ECU31〜第nECU3nの夫々は、通信線における通信負荷が第1基準値を超えて、第1基準値が示す通信負荷よりも大きな通信負荷を示す第2基準値に達しているか否かを判定するものであってもよい。この場合、第1ECU31〜第nECU3nの夫々は、通信負荷が第2基準値に達していると判定された場合、第1ツール110や第2ツール120に対する診断用データの送信を中止する。また、第1ECU31〜第nECU3nの夫々は、通信負荷が第2基準値に達していると判定された場合、第1ツール110や第2ツール120に対する診断用データの送信を一時的に保留にしてもよい。これによって、第1ECU31〜第nECU3nの夫々は、上記の変形例1と同様の効果を奏することができる。   Also in this modification 3, the same effect as the above-described embodiment can be obtained. Note that, also in the third modification, each of the first ECU 31 to the nECU 3n has a second reference value that indicates a communication load larger than the communication load indicated by the first reference value because the communication load on the communication line exceeds the first reference value. It may be determined whether or not it has reached. In this case, when it is determined that the communication load has reached the second reference value, each of the first ECU 31 to the nECU 3n stops transmission of diagnostic data to the first tool 110 and the second tool 120. Further, each of the first ECU 31 to the nECU 3n temporarily suspends transmission of diagnostic data to the first tool 110 and the second tool 120 when it is determined that the communication load has reached the second reference value. Also good. Accordingly, each of the first ECU 31 to the n-th ECU 3n can achieve the same effect as that of the first modification.

10a,10b ゲートウェイECU、11 要求受信部、12 要求送信部、13 データ受信部、14 通信負荷推定部、15 送信間隔更新部、16 応答データ送信部、17 記憶部、21,31 第1ECU、2n,3n 第nECU、40 通信モジュール、110 第1ツール、120 第2ツール、311 要求受信部、312 通信負荷推定部、313 送信間隔更新部、314 応答データ送信部   10a, 10b Gateway ECU, 11 Request reception unit, 12 Request transmission unit, 13 Data reception unit, 14 Communication load estimation unit, 15 Transmission interval update unit, 16 Response data transmission unit, 17 Storage unit, 21, 31 1st ECU, 2n , 3n nECU, 40 communication module, 110 first tool, 120 second tool, 311 request reception unit, 312 communication load estimation unit, 313 transmission interval update unit, 314 response data transmission unit

Claims (13)

車両に搭載されるものであり、前記車両の車載ネットワークにおける通信線に接続された複数の電子制御装置(21〜2n,31〜3n)から前記通信線に所定の送信間隔で出力された複数の診断用データを前記車両の外部に設けられた診断用機器(110,120)に送信する車載診断システムであって、
前記電子制御装置から出力された複数の前記診断用データを取得して、複数の前記診断用データを前記診断用機器に送信するゲートウェイ制御装置を備え、
複数種別の前記診断用機器に対して、前記診断用データを送信するものであり、
前記通信線における通信負荷が第1基準値に達しているか否かを判定する負荷判定手段(14)と、
前記負荷判定手段にて前記通信負荷が前記第1基準値に達していると判定された場合、前記送信間隔を現在の前記送信間隔よりも長い値に更新する更新手段(15)と、を備え
前記ゲートウェイ制御装置(10b)は、
前記診断用機器から送信された前記診断用データの送信を要求する診断要求データを受信すると共に、前記診断要求データの送信元である前記診断用機器の種別を判別する要求受信手段(11)と、
前記電子制御装置に対して、複数の前記診断用データの送信を要求すると共に、各診断用データの前記送信間隔を指示する要求手段(12)と、
前記通信線を介して前記電子制御装置から送信された複数の前記診断用データを受信するデータ受信手段(13)と、
前記データ受信手段で受信した複数の前記診断用データを前記診断用機器に送信するデータ送信手段(16)と、
前記診断用機器の種別毎に第1処置内容、又は前記第1処置内容とは異なる第2処置内容が関連付けられた処置内容データが記憶された記憶部(17)と、を有し、
前記更新手段は、前記負荷判定手段にて前記通信負荷が前記第1基準値に達していると判定された場合、前記要求手段が指示している前記送信間隔を現在指示している前記送信間隔よりも長くなるように更新することで、前記送信間隔を現在の前記送信間隔よりも長い値に更新し、
前記負荷判定手段は、前記通信線における前記通信負荷が前記第1基準値を超えて、前記第1基準値が示す前記通信負荷よりも大きな前記通信負荷を示す第2基準値に達しているか否かを判定するものであり、
前記記憶部は、第2優先順位の前記診断用機器に前記第2処置内容が関連付けられ、前記第2優先順位の前記診断用機器よりも重要な診断要求を行う第1優先順位の前記診断用機器に前記第1処理内容が関連付けられており、
前記要求手段は、
前記負荷判定手段にて前記通信負荷が第2基準値に達していると判定され、且つ、前記診断要求データの送信元が、前記第2処置内容が関連付けられた種別の前記診断用機器であった場合、前記電子制御装置に対して、複数の前記診断用データの送信中止を指示し、
前記負荷判定手段にて前記通信負荷が第2基準値に達していると判定され、且つ、前記診断要求データの送信元が、前記第1処置内容が関連付けられた種別の前記診断用機器であった場合、前記電子制御装置に対して、複数の前記診断用データの送信を一時的に保留するように指示することを特徴とする車載診断システム。
A plurality of electronic control devices (21 to 2n, 31 to 3n), which are mounted on a vehicle and connected to communication lines in the vehicle-mounted network of the vehicle, are output to the communication lines at predetermined transmission intervals. An in-vehicle diagnostic system for transmitting diagnostic data to a diagnostic device (110, 120) provided outside the vehicle,
A gateway control device that acquires a plurality of the diagnostic data output from the electronic control device and transmits the plurality of diagnostic data to the diagnostic device,
The diagnostic data is transmitted to a plurality of types of diagnostic devices,
Load determination means (14 ) for determining whether or not the communication load on the communication line has reached a first reference value;
Update means ( 15) for updating the transmission interval to a value longer than the current transmission interval when the load determination means determines that the communication load has reached the first reference value; Prepared ,
The gateway control device (10b)
Request receiving means (11) for receiving diagnostic request data for requesting transmission of the diagnostic data transmitted from the diagnostic device, and determining a type of the diagnostic device that is a transmission source of the diagnostic request data; ,
Request means (12) for requesting the electronic control unit to transmit a plurality of pieces of diagnostic data and instructing the transmission interval of each piece of diagnostic data;
Data receiving means (13) for receiving a plurality of the diagnostic data transmitted from the electronic control unit via the communication line;
Data transmitting means (16) for transmitting a plurality of the diagnostic data received by the data receiving means to the diagnostic device;
Storage unit (17) in which treatment content data associated with first treatment content or second treatment content different from the first treatment content is stored for each type of the diagnostic device,
When the load determination unit determines that the communication load has reached the first reference value, the update unit is currently indicating the transmission interval indicated by the request unit. Update the transmission interval to a value longer than the current transmission interval by updating to be longer than
The load determination means determines whether the communication load on the communication line exceeds the first reference value and reaches a second reference value indicating the communication load larger than the communication load indicated by the first reference value. Is to determine whether
The storage unit is configured to associate the second treatment content with the diagnostic device having the second priority, and perform the diagnosis request having the first priority that is more important than the diagnostic device having the second priority. The first processing content is associated with a device,
The request means includes
The load determining means determines that the communication load has reached the second reference value, and the transmission source of the diagnosis request data is the diagnostic device of the type associated with the second treatment content. Instructing the electronic control unit to stop transmitting a plurality of the diagnostic data,
The load determination means determines that the communication load has reached the second reference value, and the transmission source of the diagnosis request data is the diagnostic device of the type associated with the first treatment content. In this case, the on-board diagnostic system is configured to instruct the electronic control unit to temporarily hold off transmission of the plurality of diagnostic data .
前記負荷判定手段は、前記データ受信手段が各診断用データを受信した受信間隔を測定すると共に、前記受信間隔と予め決められた基準時間とを比較し、前記受信間隔が前記基準時間を超えていた場合、前記通信負荷が前記第1基準値に達していると判定することを特徴とする請求項1に記載の車載診断システム。 The load determination unit measures a reception interval at which the data reception unit receives each diagnosis data, compares the reception interval with a predetermined reference time, and the reception interval exceeds the reference time. 2. The in-vehicle diagnosis system according to claim 1 , wherein the communication load determines that the communication load has reached the first reference value . 前記負荷判定手段は、前記通信線に流れている複数の前記電子制御装置の間で送受信される前記車両の状態を示す制御用データに基づいて、前記制御用データの値が所定値を超えていた場合、前記通信負荷が前記第1基準値に達していると判定することを特徴とする請求項に記載の車載診断システム。 The load determination means has a value of the control data that exceeds a predetermined value based on control data indicating a state of the vehicle transmitted and received between the plurality of electronic control devices flowing through the communication line. board diagnostic system of claim 1 case, the communication load and judging that reached the first reference value. 車両に搭載されるものであり、前記車両の車載ネットワークにおける通信線に接続された複数の電子制御装置(21〜2n,31〜3n)から前記通信線に所定の送信間隔で出力された複数の診断用データを前記車両の外部に設けられた診断用機器(110,120)に送信する車載診断システムであって、
前記通信線における通信負荷が第1基準値に達しているか否かを判定する負荷判定手段(14,312)と、
前記負荷判定手段にて前記通信負荷が前記第1基準値に達していると判定された場合、前記診断用データ以外の通信用のデータの送信間隔に制限を設けずに、前記診断用データの前記送信間隔を現在の前記送信間隔よりも長い値に更新する更新手段(15,313)と、を備えていることを特徴とする車載診断システム。
A plurality of electronic control devices (21 to 2n, 31 to 3n), which are mounted on a vehicle and connected to communication lines in the vehicle-mounted network of the vehicle, are output to the communication lines at predetermined transmission intervals. An in-vehicle diagnostic system for transmitting diagnostic data to a diagnostic device (110, 120) provided outside the vehicle,
Load determination means (14, 312) for determining whether or not the communication load on the communication line has reached the first reference value;
When it is determined by the load determination means that the communication load has reached the first reference value, there is no limitation on the transmission interval of communication data other than the diagnostic data, and the diagnostic data car mounting diagnosis system and updating means (15,313), you characterized in that it comprises a for updating the transmission interval longer than the current of the transmission interval.
前記電子制御装置から出力された複数の前記診断用データを取得して、複数の前記診断用データを前記診断用機器に送信するゲートウェイ制御装置(10a,10b)を備えるものであって、
前記ゲートウェイ制御装置は
前記電子制御装置に対して、複数の前記診断用データの送信を要求すると共に、各診断用データの前記送信間隔を指示する要求手段(12)と、
前記通信線を介して前記電子制御装置から送信された複数の前記診断用データを受信するデータ受信手段(13)と、
前記データ受信手段で受信した複数の前記診断用データを前記診断用機器に送信するデータ送信手段(16)と、を有し、
前記更新手段は、前記負荷判定手段にて前記通信負荷が前記第1基準値に達していると判定された場合、前記要求手段が指示している前記送信間隔を現在指示している前記送信間隔よりも長くなるように更新することで、前記送信間隔を現在の前記送信間隔よりも長い値に更新することを特徴とする請求項4に記載の車載診断システム。
It includes a gateway control device (10a, 10b) that obtains a plurality of diagnostic data output from the electronic control device and transmits a plurality of the diagnostic data to the diagnostic device,
The gateway control equipment is
Request means (12) for requesting the electronic control unit to transmit a plurality of pieces of diagnostic data and instructing the transmission interval of each piece of diagnostic data;
Data receiving means (13) for receiving a plurality of the diagnostic data transmitted from the electronic control unit via the communication line;
Data transmitting means (16) for transmitting a plurality of the diagnostic data received by the data receiving means to the diagnostic device,
When the load determination unit determines that the communication load has reached the first reference value, the update unit is currently indicating the transmission interval indicated by the request unit. The in-vehicle diagnosis system according to claim 4, wherein the transmission interval is updated to a value longer than the current transmission interval by updating to be longer than the current transmission interval .
前記負荷判定手段は、前記データ受信手段が各診断用データを受信した受信間隔を測定すると共に、前記受信間隔と予め決められた基準時間とを比較し、前記受信間隔が前記基準時間を超えていた場合、前記通信負荷が前記第1基準値に達していると判定することを特徴とする請求項5に記載の車載診断システム。 The load determination unit measures a reception interval at which the data reception unit receives each diagnosis data, compares the reception interval with a predetermined reference time, and the reception interval exceeds the reference time. The in-vehicle diagnosis system according to claim 5 , wherein the communication load is determined to have reached the first reference value . 前記負荷判定手段は、前記通信線に流れている複数の前記電子制御装置の間で送受信される前記車両の状態を示す制御用データに基づいて、前記制御用データの値が所定値を超えていた場合、前記通信負荷が前記第1基準値に達していると判定することを特徴とする請求項に記載の車載診断システム。 The load determination means has a value of the control data that exceeds a predetermined value based on control data indicating a state of the vehicle transmitted and received between the plurality of electronic control devices flowing through the communication line. The in-vehicle diagnosis system according to claim 5 , wherein the communication load is determined to have reached the first reference value . 前記診断用機器として、複数種別の前記診断用機器に対して、前記診断用データを送信するものであり、
前記ゲートウェイ制御装置(10b)は、
前記診断用機器の種別毎に第1処置内容、又は前記第1処置内容とは異なる第2処置内容が関連付けられた処置内容データが記憶された記憶部(17)と、
前記診断用機器から送信された前記診断用データの送信を要求する診断要求データを受信すると共に、前記診断要求データの送信元である前記診断用機器の種別を判別する要求受信手段(11)と、を有し、
前記負荷判定手段は、前記通信線における前記通信負荷が前記第1基準値を超えて、前記第1基準値が示す前記通信負荷よりも大きな前記通信負荷を示す第2基準値に達しているか否かを判定するものであり、
前記要求手段は、
前記負荷判定手段にて前記通信負荷が第2基準値に達していると判定され、且つ、前記診断要求データの送信元が、前記第2処置内容が関連付けられた種別の前記診断用機器であった場合、前記電子制御装置に対して、複数の前記診断用データの送信中止を指示し、
前記負荷判定手段にて前記通信負荷が第2基準値に達していると判定され、且つ、前記診断要求データの送信元が、前記第1処置内容が関連付けられた種別の前記診断用機器であった場合、前記電子制御装置に対して、複数の前記診断用データの送信を一時的に保留するように指示することを特徴とする請求項乃至のいずれか一項に記載の車載診断システム。
As the diagnostic device, the diagnostic data is transmitted to a plurality of types of the diagnostic devices,
The gateway control device (10b)
A storage unit (17) storing treatment content data in which a first treatment content or a second treatment content different from the first treatment content is associated for each type of the diagnostic device;
Request receiving means (11) for receiving diagnostic request data for requesting transmission of the diagnostic data transmitted from the diagnostic device, and determining a type of the diagnostic device that is a transmission source of the diagnostic request data; Have
The load determination means determines whether the communication load on the communication line exceeds the first reference value and reaches a second reference value indicating the communication load larger than the communication load indicated by the first reference value. Is to determine whether
The request means includes
The load determining means determines that the communication load has reached the second reference value, and the transmission source of the diagnosis request data is the diagnostic device of the type associated with the second treatment content. Instructing the electronic control unit to stop transmitting a plurality of the diagnostic data,
The load determination means determines that the communication load has reached the second reference value, and the transmission source of the diagnosis request data is the diagnostic device of the type associated with the first treatment content. The in-vehicle diagnostic system according to any one of claims 5 to 7 , wherein the electronic control device is instructed to temporarily hold transmission of the plurality of diagnostic data. .
前記負荷判定手段は、前記通信線における前記通信負荷が前記第1基準値を超えて、前記第1基準値が示す前記通信負荷よりも大きな前記通信負荷を示す第2基準値に達しているか否かを判定するものであり、
前記要求手段は、前記負荷判定手段にて前記通信負荷が第2基準値に達していると判定された場合、前記電子制御装置に対して、複数の前記診断用データの送信中止を指示することを特徴とする請求項5乃至7のいずれか一項に記載の車載診断システム。
The load determination means determines whether the communication load on the communication line exceeds the first reference value and reaches a second reference value indicating the communication load larger than the communication load indicated by the first reference value. Is to determine whether
The request unit instructs the electronic control unit to stop transmission of the plurality of diagnostic data when the load determination unit determines that the communication load has reached the second reference value. The in-vehicle diagnostic system according to any one of claims 5 to 7, wherein
前記負荷判定手段にて前記通信負荷が前記第2基準値に達していると判定された場合、前記診断用機器に対して、前記診断用データの送信中止を報知する第1報知手段を備えることを特徴とする請求項に記載の車載診断システム。 When the load determination unit determines that the communication load has reached the second reference value, the load determination unit includes a first notification unit that notifies the diagnostic device that transmission of the diagnostic data is stopped. The in-vehicle diagnosis system according to claim 9 . 前記負荷判定手段は、前記通信線における前記通信負荷が前記第1基準値を超えて、前記第1基準値が示す前記通信負荷よりも大きな前記通信負荷を示す第2基準値に達しているか否かを判定するものであり、The load determination means determines whether the communication load on the communication line exceeds the first reference value and reaches a second reference value indicating the communication load larger than the communication load indicated by the first reference value. Is to determine whether
前記要求手段は、前記負荷判定手段にて前記通信負荷が第2基準値に達していると判定された場合、前記電子制御装置に対して、複数の前記診断用データの送信を一時的に保留することを特徴とする請求項5乃至7のいずれか一項に記載の車載診断システム。The request unit temporarily suspends transmission of the plurality of diagnostic data to the electronic control unit when the load determination unit determines that the communication load has reached the second reference value. The in-vehicle diagnosis system according to any one of claims 5 to 7, wherein
前記負荷判定手段にて前記通信負荷が前記第2基準値に達していると判定された場合、前記診断用機器に対して、前記診断用データの送信保留を報知する第2報知手段を備えることを特徴とする請求項11に記載の車載診断システム。When the load determination unit determines that the communication load has reached the second reference value, the load determination unit includes a second notification unit that notifies the diagnosis device that transmission of the diagnosis data is suspended. The in-vehicle diagnostic system according to claim 11. 複数の前記電子制御装置(31〜3n)と、前記診断用機器と通信可能な通信装置(40)とを備えるものであって、A plurality of the electronic control devices (31 to 3n) and a communication device (40) capable of communicating with the diagnostic device,
複数の前記電子制御装置の夫々は、前記負荷判定手段(312)と前記更新手段(313)とを有し、Each of the plurality of electronic control units includes the load determination unit (312) and the update unit (313),
前記通信装置は、前記電子制御装置から出力された前記診断用データを前記診断用機器に送信することを特徴とする請求項4に記載の車載診断システム。The in-vehicle diagnostic system according to claim 4, wherein the communication device transmits the diagnostic data output from the electronic control device to the diagnostic device.
JP2013214996A 2013-10-15 2013-10-15 In-vehicle diagnostic system Active JP5987810B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2013214996A JP5987810B2 (en) 2013-10-15 2013-10-15 In-vehicle diagnostic system
DE201410220701 DE102014220701A1 (en) 2013-10-15 2014-10-13 In-vehicle diagnostic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013214996A JP5987810B2 (en) 2013-10-15 2013-10-15 In-vehicle diagnostic system

Publications (2)

Publication Number Publication Date
JP2015080045A JP2015080045A (en) 2015-04-23
JP5987810B2 true JP5987810B2 (en) 2016-09-07

Family

ID=52738261

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013214996A Active JP5987810B2 (en) 2013-10-15 2013-10-15 In-vehicle diagnostic system

Country Status (2)

Country Link
JP (1) JP5987810B2 (en)
DE (1) DE102014220701A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018046515A (en) * 2016-09-16 2018-03-22 株式会社オートネットワーク技術研究所 Relay device, communication system, transmission method, and computer program
JP2018090007A (en) * 2016-11-30 2018-06-14 トヨタ自動車株式会社 Vehicle communication system
KR102450311B1 (en) * 2017-12-29 2022-10-04 주식회사 유라코퍼레이션 System and method for controlling load factor of internal communication bus of car, and a recording medium having computer readable program for executing the method
JP6943191B2 (en) 2018-01-22 2021-09-29 トヨタ自動車株式会社 Electronic controls, monitoring methods, and programs
JP7176305B2 (en) 2018-09-03 2022-11-22 株式会社オートネットワーク技術研究所 Relay device, relay method and computer program
WO2021014995A1 (en) * 2019-07-19 2021-01-28 日立オートモティブシステムズ株式会社 Gateway device, data frame transmission method, and program
CN113093687B (en) * 2019-12-23 2022-02-25 广州汽车集团股份有限公司 Fault diagnosis system and method based on domain controller
JPWO2022045144A1 (en) * 2020-08-27 2022-03-03
US20220253398A1 (en) * 2021-02-10 2022-08-11 Sony Semiconductor Solutions Corporation Communication device, communication system, and communication method
WO2023119720A1 (en) * 2021-12-23 2023-06-29 日立Astemo株式会社 Transfer apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4466188B2 (en) * 2003-07-16 2010-05-26 株式会社デンソー Vehicle control device
JP2006064651A (en) 2004-08-30 2006-03-09 Toyota Motor Corp Remote failure diagnosis system and method, and information center
JP2006287571A (en) * 2005-03-31 2006-10-19 Fujitsu Ten Ltd Gateway device and communication system including gateway device
JP5617821B2 (en) * 2011-11-14 2014-11-05 トヨタ自動車株式会社 Information processing apparatus for vehicle

Also Published As

Publication number Publication date
JP2015080045A (en) 2015-04-23
DE102014220701A1 (en) 2015-04-16

Similar Documents

Publication Publication Date Title
JP5987810B2 (en) In-vehicle diagnostic system
US10284387B2 (en) Hybrid intra-vehicle communication network
JP6020611B2 (en) Vehicle data collection system
WO2017204232A1 (en) In-car gateway device and in-car gateway system
CN109532720A (en) A kind of intelligent automobile of the ethernet gateway with rear configuration feature
CN106878124A (en) Method and vehicle control device for controlling Large Copacity deagnostic communication in vehicle
WO2014045354A1 (en) Communication apparatus and communication method
CN109792398B (en) Vehicle-mounted communication system, switching device and vehicle-mounted communication method
US11075856B2 (en) Switch device and communication control method
EP3496369A1 (en) In-vehicle relay device, information processing device, relay device, information processing method, non-transitory storage medium storing program executable by relay device, information processing system, vehicle, and external device
JP2013179539A (en) Gateway device
US20170267193A1 (en) Communication apparatus and communication system
US10486626B2 (en) Systems and methods for vehicle diagnostic tester coordination
JP2016074355A (en) Gateway device
JP7328928B2 (en) In-vehicle relay device, information processing method and program
WO2018079000A1 (en) Communication control device, switching device, vehicle exterior communication device, communication control method and communication control program
JP7310570B2 (en) In-vehicle update device, program, and program update method
WO2020049871A1 (en) Vehicular communication device
KR20140086159A (en) System and method for controller updating
JP2017016417A (en) Transmission device, transmission system, and transmission method
EP3651418B1 (en) Network system
JP2014017614A (en) Communication system, relay device, and communication device
JP6322385B2 (en) Information communication system
JP2019125947A (en) Monitoring device, monitoring method, and program
US20220182258A1 (en) In-vehicle network system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150319

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160106

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160303

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160725

R151 Written notification of patent or utility model registration

Ref document number: 5987810

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250