WO2018220956A1 - 車両用制御装置及びプログラム書き換え方法 - Google Patents

車両用制御装置及びプログラム書き換え方法 Download PDF

Info

Publication number
WO2018220956A1
WO2018220956A1 PCT/JP2018/011164 JP2018011164W WO2018220956A1 WO 2018220956 A1 WO2018220956 A1 WO 2018220956A1 JP 2018011164 W JP2018011164 W JP 2018011164W WO 2018220956 A1 WO2018220956 A1 WO 2018220956A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic control
control unit
communication
sub
rewriting
Prior art date
Application number
PCT/JP2018/011164
Other languages
English (en)
French (fr)
Inventor
洋平 ▲高▼橋
拓也 小林
基樹 巽
新井 敏央
康司 湯浅
Original Assignee
日立オートモティブシステムズ株式会社
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 日立オートモティブシステムズ株式会社 filed Critical 日立オートモティブシステムズ株式会社
Priority to DE112018002732.5T priority Critical patent/DE112018002732B4/de
Priority to US16/617,224 priority patent/US10960833B2/en
Priority to CN201880034386.4A priority patent/CN110663224B/zh
Publication of WO2018220956A1 publication Critical patent/WO2018220956A1/ja

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/0239Electronic boxes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]

Definitions

  • the present invention relates to a vehicle control device and a program rewriting method in which a main electronic control unit mediates data communication between an external device and a sub electronic control unit.
  • Patent Document 1 discloses a program rewriting method in which a program rewriting device communicates with another electronic control unit via a gateway electronic control unit (gateway ECU) to rewrite the program of the other electronic control unit. ing.
  • a gateway electronic control unit gateway ECU
  • the external device communicates with another electronic control unit via the electronic control unit having the gateway means, the communication network between the external device and the gateway electronic control unit, and the gateway electronic control unit and the other electronic control Since communication is performed via the communication network with the unit, a timeout may occur due to a difference in communication method between the two communication networks.
  • the present invention has been made in view of conventional circumstances, and an object of the present invention is to provide a vehicle control device and a program rewriting method capable of suppressing a timeout in communication mediated by a gateway electronic control unit.
  • the main electronic control unit that mediates data communication between the external device and the sub electronic control unit transmits a signal for suppressing a timeout between the external device and the sub electronic control unit. Output to at least one.
  • the main electronic control unit can suppress timeout in communication mediated by itself.
  • FIG. 1 is a block diagram showing an embodiment of a vehicle control device according to the present invention. It is a figure which shows the virtual memory area
  • FIG. 1 is a block diagram showing an aspect of a program rewriting system.
  • the vehicle control apparatus 100 includes a main electronic control unit 200 (main ECU), a plurality of sub electronic control units 300A, 300B, and 300C that are controlled by the main electronic control unit, and a main electronic control unit 200. And a network 400 to which the sub electronic control units 300A, 300B, and 300C (sub ECU-A, sub ECU-B, and sub ECU-C) are connected.
  • the main electronic control unit 200 includes a CPU 201, a storage medium 202 such as a ROM and a RAM, an interface unit 203 for communicating with an external device, and the like.
  • the sub electronic control units 300A, 300B, and 300C include CPUs 301a, 301b, and 301c, and storage media 302a, 302b, and 302c such as ROM and RAM, respectively.
  • the sub electronic control units 300A, 300B, and 300C include, for example, an engine control module (ECM) that controls fuel supply and ignition in an engine (internal combustion engine) mounted on the vehicle 500, an auto light system of the vehicle 500, a door lock system, and the like.
  • ECM engine control module
  • BCM Body control module
  • ABS control unit ABS control unit
  • AV-C / U AV control unit
  • the sub electronic control units 300A, 300B, and 300C do not include a function or device that directly communicates with an external device of the vehicle control device 100 in a vehicle-mounted state.
  • the network 400 transmits and receives various types of information based on multiple communication protocols such as CAN (Controller Area Network) and LIN (Local Interconnect Network).
  • the operation of rewriting the program data of the sub electronic control units 300A, 300B, and 300C using the rewriting tool 600 (external tool) which is an external device is an interface for communicating with the external device.
  • the main electronic control unit 200 including the unit 203 is used as a gateway, and the gateway method is used for communication between the rewriting tool 600 and the sub electronic control units 300A, 300B, and 300C to be rewritten.
  • the rewriting tool 600 includes a personal computer in which software for rewriting the program data of the sub electronic control units 300A, 300B, and 300C is incorporated, and a storage medium 601 such as a hard disk that stores program data for rewriting (application program or the like) And a communication circuit 602 for performing communication with the main electronic control unit 200.
  • a personal computer in which software for rewriting the program data of the sub electronic control units 300A, 300B, and 300C is incorporated
  • a storage medium 601 such as a hard disk that stores program data for rewriting (application program or the like)
  • a communication circuit 602 for performing communication with the main electronic control unit 200.
  • the rewriting tool 600 can perform mutual communication (wired communication) with the main electronic control unit 200 by connecting a harness to a diagnostic machine connector 800 (OBD connector) or the like included in the vehicle control device 100 during rewriting work.
  • OBD connector diagnostic machine connector 800
  • the program data stored in the storage medium 601 is transferred to the sub electronic control units 300A, 300B, and 300C to be rewritten via the main electronic control unit 200.
  • An operator who operates the rewriting tool 600 can interactively issue an instruction to the rewriting tool 600 using a keyboard or a liquid crystal screen included in the personal computer.
  • FIG. 2 is a diagram for explaining the gateway function of the main electronic control unit 200.
  • the storage medium 202 of the main electronic control unit 200 has virtual memory areas for the sub electronic control units 300A, 300B, and 300C.
  • the ROM that is the storage medium 202 of the main electronic control unit 200 includes the calibration area 202e and the program area 202d, the virtual memory area 202a for the sub electronic control unit 300A, and the sub electronic control unit.
  • the RAM which has the virtual memory areas 202b and 202b for 300B and is the storage medium 202 of the main electronic control unit 200 has the virtual memory areas 202c and 202c for the sub electronic control unit 300C.
  • the rewriting tool 600 can access the virtual memory areas 202a, 202b, and 202c similarly to the calibration area 202e and the program area 202d, and the virtual memory areas 202a, 202b, and 202c are the sub electronic control unit 300A to be rewritten. , 300B, 300C program data (rewrite data) is temporarily stored.
  • the main electronic control unit 200 transfers the program data stored in the virtual memory areas 202a, 202b, and 202c to the sub electronic control units 300A, 300B, and 300C to be rewritten, and rewrites the rewrite tool 600 and the rewrite target. Data communication with the sub electronic control units 300A, 300B, and 300C is intermediated. In this way, the main electronic control unit 200 has a function as a gateway unit that mediates data communication between the rewriting tool 600 and the sub electronic control units 300A, 300B, and 300C to be rewritten.
  • FIG. 3 is a diagram for explaining the occurrence of a timeout in communication using the main electronic control unit 200 as a gateway.
  • the communication speed between the rewriting tool 600 and the main electronic control unit 200 is faster than the communication speed between the main electronic control unit 200 and the sub electronic control units 300A, 300B, 300C.
  • communication between the rewriting tool 600 and the main electronic control unit 200 is high-speed communication
  • communication between the main electronic control unit 200 and the sub electronic control units 300A, 300B, 300C is low / medium speed.
  • Communication Note that the timeout is to automatically stop communication processing when communication cannot be started or completed within a certain time.
  • the main electronic control unit 200 sends the first rewrite request to hardware processing and software.
  • the first rewrite request is transferred to the sub electronic control units 300A, 300B, and 300C that are the rewrite targets of the program data.
  • the sub electronic control units 300A, 300B, and 300C that have received the first rewrite request perform a rewrite process based on the first rewrite request, and then transmit a first response to the main electronic control unit 200.
  • the control unit 200 performs hardware processing and software processing on the first response, and then transfers the first response to the rewriting tool 600.
  • the rewriting tool 600 Upon receiving the first response, the rewriting tool 600 determines that the conditions for transmitting the second rewriting request are satisfied, outputs the second rewriting request to the main electronic control unit 200, and performs sub electronic control via the main electronic control unit 200. It waits for the units 300A, 300B, and 300C to return the second response. In this way, the rewrite tool 600 outputs a rewrite request, repeats the process of outputting the next rewrite request after receiving a response corresponding to the rewrite request, and rewrites the sub electronic control units 300A, 300B, and 300C. Send program data for use.
  • communication between the rewriting tool 600 and the main electronic control unit 200 is performed at high speed, but is performed at low / medium speed between the main electronic control unit 200 and the sub electronic control units 300A, 300B, and 300C.
  • the main electronic control unit 200 In order to use the main electronic control unit 200 as a gateway, it takes time to process the rewrite request and response in the main electronic control unit 200. For this reason, the time from when the rewriting tool 600 outputs a rewriting request until the response corresponding to the rewriting request is received exceeds the specified time, and the rewriting tool 600 stops communication (transmission of rewriting data). There is a possibility that. Therefore, the main electronic control unit 200 has a function (communication maintaining means) for outputting a signal for suppressing timeout when functioning as a gateway, in other words, a signal for preventing communication interruption.
  • FIG. 4 shows a process in which the main electronic control unit 200 outputs a BUSY signal as a signal for suppressing timeout to the rewriting tool 600.
  • the communication between the rewriting tool 600 and the main electronic control unit 200 is high-speed communication, and between the main electronic control unit 200 and the sub electronic control units 300A, 300B, and 300C, as in FIG.
  • the communication at is low / medium speed communication.
  • the main electronic control unit 200 executes a process of outputting a BUSY signal toward the rewriting tool 600 when a predetermined time has elapsed after the rewriting tool 600 transmits the rewriting request, and further, the BUSY signal is output.
  • a process for absorbing a new rewrite request from the rewriting tool 600 is performed from when it is output to the rewriting tool 600 until the response is transferred to the rewriting tool 600.
  • the BUSY signal is a signal indicating that processing based on the previous rewrite request has not been completed and a new request is not accepted.
  • the rewriting tool 600 can recognize that the processing based on the request is in progress, and can suppress timeout. That is, the communication speed between the main electronic control unit 200 and the sub electronic control units 300A, 300B, 300C is slower than the communication speed between the rewriting tool 600 and the main electronic control unit 200, and Even if it takes time for the mediation processing of communication by the main electronic control unit 200, the rewriting tool 600 can be prevented from timing out, and the rewriting tool 600 can rewrite the program data of the sub electronic control units 300A, 300B, and 300C. Can be continued.
  • communication between the rewriting tool 600 and the main electronic control unit 200 is low / medium speed communication, and the main electronic control unit 200 and the sub electronic control units 300A, 300B, 300C.
  • the communication between the sub electronic control units 300A, 300B, and 300C is timed out, there is a possibility that the sub electronic control units 300A, 300B, and 300C may time out.
  • FIG. 5 shows a process in which the main electronic control unit 200 outputs a signal for suppressing the timeout of the sub electronic control units 300A, 300B, and 300C. That is, communication between the main electronic control unit 200 and the sub electronic control units 300A, 300B, and 300C is high-speed communication, and communication between the rewriting tool 600 and the main electronic control unit 200 is low / medium communication. In this case, it takes time to communicate between the rewriting tool 600 and the main electronic control unit 200, and further, it takes time for the main electronic control unit 200 to process the rewrite request and response (mediation processing).
  • the main electronic control unit 200 after the sub electronic control unit 300A, 300B, 300C outputs a response, until the next rewrite request is transferred to the sub electronic control unit 300A, 300B, 300C,
  • a communication maintenance signal as a signal for suppressing timeout is output to the sub-electronic control units 300A, 300B, and 300C to be rewritten at regular intervals.
  • the communication maintenance signal is a signal indicating that transmission of a new request is delayed.
  • the sub electronic control units 300A, 300B, and 300C can maintain communication and prevent timeout from receiving a response until receiving the next rewrite request.
  • FIG 4 shows a case where communication between the main electronic control unit 200 and the sub electronic control units 300A, 300B, and 300C is all low / medium speed communication, and FIG. Although the case where all communication with the sub electronic control units 300A, 300B, 300C is high speed communication is shown, the communication speed with the main electronic control unit 200 for each of the sub electronic control units 300A, 300B, 300C is It can be different.
  • FIG. 6 illustrates a case where the communication speed (communication method) with the main electronic control unit 200 is different for each of the sub electronic control units 300A, 300B, and 300C.
  • communication between the main electronic control unit 200 and the sub electronic control unit 300A is high speed communication
  • communication between the main electronic control unit 200 and the sub electronic control unit 300B is medium speed communication.
  • Communication between the electronic control unit 200 and the sub electronic control unit 300C is low-speed communication.
  • the main electronic control unit 200 identifies the communication protocol of the connected devices on the upper layer side (rewriting tool 600) and the lower layer side (sub electronic control units 300A, 300B, 300C), and the upper layer side and lower layer side Timeout suppression operation (signal output processing to suppress timeout) is performed according to the combination.
  • the communication between the main electronic control unit 200 and the rewriting tool 600 is high-speed communication
  • the electronic control unit to be rewritten is a sub electronic control unit 300C that communicates at a low speed or a sub electronic control unit 300B that communicates at a medium speed. In this case, as shown in FIG.
  • the main electronic control unit 200 outputs a BUSY signal as a signal for suppressing a timeout to the rewriting tool 600 when a predetermined time has elapsed since the reception of the rewriting request.
  • the rewriting tool 600 can suppress time-out even if it takes time from the output of the rewriting request to the input of the response.
  • the electronic control unit 200 receives a response from the sub electronic control unit 300A and transfers a next rewrite request to the sub electronic control unit 300A.
  • a communication maintenance signal is output toward the sub electronic control unit 300A.
  • the sub electronic control unit 300A can suppress a time-out even if it takes time from the output of the response to the input of the next rewrite request.
  • communication between the rewriting tool 600 and the main electronic control unit 200 is not limited to wired communication, and the main electronic control unit 200 performs a signal output process for suppressing timeout even when wireless communication is performed. Thus, the same effect can be obtained.
  • the security electronic control unit 700 has a function of performing wireless communication with the outside, and a function of preventing unauthorized data transmission to the sub electronic control units 300A, 300B, and 300C via the network 400.
  • wireless communication is performed between the rewriting tool 600 having a wireless communication function and the security electronic control unit 700, and the main electronic control unit 200
  • a signal from the rewriting tool 600 is received via the electronic control unit 700 and a signal is output to the rewriting tool 600 via the security electronic control unit 700.
  • the main electronic control unit 200 is configured such that the upper layer side (rewriting tool 600) and the lower layer side (sub electronic control units 300A, 300B, 300C) can identify the communication protocol of the connected device, and can perform a timeout suppression operation (signal output processing for suppressing timeout) according to the combination of the upper layer side and the lower layer side.
  • FIG. 7 is a diagram for explaining processing for securing the rewriting time in the sub electronic control units 300A, 300B, and 300C.
  • communication between the rewriting tool 600 and the main electronic control unit 200 is high-speed communication, and communication between the main electronic control unit 200 and the sub electronic control units 300A, 300B, and 300C to be rewritten. Is medium speed communication.
  • the sub electronic control units 300A, 300B, and 300C perform a response output process to the rewriting tool 600 when a rewriting request from the rewriting tool 600 is received via the main electronic control unit 200. Then, the sub electronic control units 300A, 300B, and 300C perform the rewriting process until the next rewriting request is input, and when the response corresponding to the next rewriting request is output to the rewriting tool 600, A signal indicating the result of the rewriting process based on the rewriting request is sent to the rewriting tool 600 side together with a response.
  • the sub electronic control units 300A, 300B, and 300C output a response corresponding to the rewrite request to the rewrite tool 600 without waiting for the completion of the write process based on the rewrite request. It is possible to prevent timeout from exceeding the specified time until receiving a response from the output of.
  • the sub electronic control units 300A, 300B, and 300C perform the rewrite process based on the rewrite request between the time when the rewrite request is received and the time when the next rewrite request is input, the rewrite request is input from the input of the rewrite request.
  • the main electronic control unit 200 can continuously perform the rewriting process by the rewriting tool 600 without outputting a signal for suppressing timeout.
  • FIG. 8 shows a countermeasure process when the rewrite tool 600 times out even if the response and rewrite result transmission process shown in FIG. 7 is performed.
  • communication between the rewriting tool 600 and the main electronic control unit 200 is high-speed communication, and the main electronic control unit 200 and the sub electronic control units 300A, 300B, and 300C to be rewritten are used.
  • Communication is low-speed communication.
  • the rewrite tool 600 first develops the rewrite data of the sub electronic control units 300A, 300B, and 300C in the storage medium 202 (RAM) of the main electronic control unit 200 as a rewrite process. That is, the rewriting tool 600 outputs a rewriting request to the main electronic control unit 200, and the main electronic control unit 200 expands the rewriting request in its own storage medium 202 (RAM) and sends a response (expanded result) to the rewriting tool 600. Repeat the process of returning. Thereby, the rewrite data of the sub electronic control units 300A, 300B, and 300C is expanded on the storage medium 202 (RAM) of the main electronic control unit 200.
  • RAM storage medium 202
  • the main electronic control unit 200 communicates with the sub electronic control units 300A, 300B, and 300C based on the rewrite trigger.
  • the program data of the sub electronic control units 300A, 300B, and 300C is rewritten.
  • the rewrite trigger can be configured to be given from the rewrite tool 600 to the main electronic control unit 200, for example.
  • the main electronic control unit 200 has a power holding function (self-shutoff function)
  • the main electronic control unit 200 power switch signals switching from on to off
  • the main electronic control unit 200 that has received the rewrite trigger outputs a rewrite request to the sub electronic control units 300A, 300B, and 300C to be rewritten, and receives the response from the sub electronic control units 300A, 300B, and 300C.
  • the main electronic control unit 200 outputs a BUSY signal to the rewriting tool 600 at regular intervals when the rewriting process is performed by communicating with the sub electronic control units 300A, 300B, and 300C to be rewritten.
  • the rewriting tool 600 is prevented from timing out.
  • the rewriting tool 600 waits for completion of rewriting while communicating between the main electronic control unit 200 and the sub electronic control units 300A, 300B, and 300C to be rewritten (communication interrupted state).
  • the rewrite completion signal output from the sub electronic control units 300A, 300B, and 300C to be rewritten is received via the main electronic control unit 200, the rewriting process is terminated.
  • the rewriting tool 600 is turned off without waiting for the rewriting of the program data in the sub electronic control units 300A, 300B, and 300C. In other words, communication between the rewriting tool 600 and the main electronic control unit 200 is stopped. Then, when the rewriting tool 600 is activated next time, the result of the rewriting process can be received from the main electronic control unit 200. In addition, when rewriting program data in the sub electronic control units 300A, 300B, and 300C fails, a rewrite request can be output from the main electronic control unit 200 again.
  • the main electronic control unit 200 when the main electronic control unit 200 has a function of performing wireless communication with the outside, the main electronic control unit 200 performs wireless communication directly with the rewriting tool 600, and the rewriting tool 600 and the sub electronic control units 300A, 300B, Data communication with 300C can be mediated.
  • the security electronic control unit 700 that wirelessly communicates with the rewriting tool 600 communicates directly with the sub electronic control units 300A, 300B, and 300C via the network 400, and the rewriting tool 600 and the sub electronic control units 300A, 300B, and 300C Data communication between them can be mediated.
  • a main electronic control unit A sub electronic control unit capable of mutual communication with the main electronic control unit;
  • Vehicular control device comprising: The main electronic control unit is Gateway means for mediating data communication between an external device and the sub electronic control unit; A communication method identifying means for identifying a communication method with the external device, and a communication method with the sub electronic control unit; Data communication between the external device and the sub electronic control unit is selected on the selected side by selecting either the external device or the sub electronic control unit based on the communication method identified by the communication method identifying means.
  • Communication maintaining means for outputting a timeout suppression signal in Is provided.
  • mode A main electronic control unit; A sub electronic control unit capable of mutual communication with the main electronic control unit; Vehicular control device comprising: The main electronic control unit is Gateway means for mediating data communication between an external device and the sub electronic control unit; When a communication speed between the external device and the main electronic control unit is faster than a communication speed between the main electronic control unit and the sub electronic control unit, a request signal from the external device is received. The communication maintaining means for outputting a BUSY signal to the external device at regular intervals until a response signal based on the request signal is received from the sub electronic control unit. Is provided.
  • mode A main electronic control unit; A sub electronic control unit capable of mutual communication with the main electronic control unit; Vehicular control device comprising: The main electronic control unit is Gateway means for mediating data communication between an external device and the sub electronic control unit; Reply signal from the sub electronic control unit when the communication speed between the external device and the main electronic control unit is slower than the communication speed between the main electronic control unit and the sub electronic control unit.
  • the communication maintaining means for outputting a communication maintaining signal to the sub electronic control unit at regular intervals after receiving a request signal from the external device; Is provided.

Abstract

本発明の車両用制御装置は、メイン電子制御ユニットと、前記メイン電子制御ユニットと相互に通信可能なサブ電子制御ユニットと、を有し、前記メイン電子制御ユニットは、外部装置と前記サブ電子制御ユニットとの間でのデータ通信を仲介するときに、タイムアウトを抑止する信号を前記外部装置と前記サブ電子制御ユニットとの少なくとも一方に出力する。

Description

車両用制御装置及びプログラム書き換え方法
 本発明は、メイン電子制御ユニットが外部装置とサブ電子制御ユニットとの間でのデータ通信を仲介する車両用制御装置及びプログラム書き換え方法に関する。
 特許文献1には、プログラム書き換え装置が、ゲートウェイ電子制御ユニット(ゲートウェイECU)を介して他の電子制御ユニットと通信して、前記他の電子制御ユニットのプログラム書き換えを行う、プログラム書き換え方法が開示されている。
特開2016-188022号公報
 ところで、外部装置がゲートウェイ手段を有する電子制御ユニットを介して他の電子制御ユニットと通信する場合、外部装置とゲートウェイ電子制御ユニットとの間の通信ネットワーク、及び、ゲートウェイ電子制御ユニットと他の電子制御ユニットとの間の通信ネットワークを経由して通信が行われることになるため、両通信ネットワークの通信方式の違いによってタイムアウトが発生する場合があった。
 本発明は、従来の実情に鑑みてなされたものであり、その目的は、ゲートウェイ電子制御ユニットが仲介する通信におけるタイムアウトを抑制できる、車両用制御装置及びプログラム書き換え方法を提供することにある。
 本発明によれば、その1つの態様において、外部装置とサブ電子制御ユニットとの間でのデータ通信を仲介するメイン電子制御ユニットは、タイムアウトを抑止する信号を外部装置とサブ電子制御ユニットとの少なくとも一方に出力する。
 本発明によれば、メイン電子制御ユニットは、自らが仲介する通信におけるタイムアウトを抑制できる。
本発明に係る車両用制御装置の実施形態を示すブロック図である。 本発明の実施形態におけるメイン電子制御ユニットの仮想メモリ領域を示す図である。 本発明の実施形態においてタイムアウトの発生状況を説明するための図である。 本発明の実施形態においてBUSY信号によってタイムアウトを抑止する処理を説明するための図である。 本発明の実施形態において通信維持信号によってタイムアウトを抑止する処理を説明するための図である。 本発明の実施形態においてサブ電子制御ユニット毎の通信方式の違いを例示する図である。 本発明の実施形態においてサブ電子制御ユニットにおける書き換え処理時間を確保するための処理を示す図である。 本発明の実施形態においてメイン電子制御ユニットに書き換えデータを一旦展開させてからサブ電子制御ユニットの書き換えを行わせる処理を示す図である。
 以下、本発明に係る車両用制御装置及びプログラム書き換え方法の実施形態を図面に基づいて説明する。
 図1は、プログラム書き換えシステムの一態様を示すブロック図である。
 図1において、車両用制御装置100は、メイン電子制御ユニット200(メインECU)と、メイン電子制御ユニットが統括的に制御する複数のサブ電子制御ユニット300A、300B、300Cと、メイン電子制御ユニット200及びサブ電子制御ユニット300A、300B、300C(サブECU-A、サブECU-B、サブECU-C)が接続するネットワーク400と、を備える。
 メイン電子制御ユニット200は、CPU201、ROM,RAMなどの記憶媒体202、外部装置と通信を行うためのインターフェイス部203などを備える。
 サブ電子制御ユニット300A、300B、300Cは、それぞれCPU301a、301b、301c、及び、ROM,RAMなどの記憶媒体302a、302b、302cを備える。
 サブ電子制御ユニット300A、300B、300Cは、例えば、車両500に搭載したエンジン(内燃機関)における燃料供給、点火などを制御するエンジンコントロールモジュール(ECM)、車両500のオートライトシステム、ドアロックシステムなどの各種電装品を制御するボディコントロールモジュール(BCM)、車両500のブレーキシステムの制動力を電子制御するABSコントロールユニット(ABS-C/U)、AM/FM電子チューナやCD/DVDドライブなどを含むAVコントロールユニット(AV-C/U)などである。
 なお、サブ電子制御ユニット300A、300B、300Cは、車載状態で車両用制御装置100の外部装置と直接的に通信する機能、装置を備えない。
 ネットワーク400は、CAN(Controller Area Network)、LIN(Local Interconnect Network)などの多重通信プロトコルに基づき種々の情報を送受信する。
 上記構成の車両用制御装置100において、外部装置である書き換えツール600(外部ツール)を用いてサブ電子制御ユニット300A、300B、300Cのプログラムデータを書き換える作業は、外部装置と通信を行うためのインターフェイス部203を備えるメイン電子制御ユニット200をゲートウェイ(Gateway)とし、書き換えツール600と書き換え対象のサブ電子制御ユニット300A、300B、300Cとの間で通信させるゲートウェイ方式で行われる。
 書き換えツール600は、サブ電子制御ユニット300A、300B、300Cのプログラムデータ書き換え作業用のソフトウェアを組み込んだパーソナルコンピュータを含み、書き換え用のプログラムデータ(アプリケーションプログラム等)を格納したハードディスクなどの記憶媒体601や、メイン電子制御ユニット200との間で通信を行うための通信回路602などを備える。
 そして、書き換えツール600は、書き換え作業時に、車両用制御装置100が備える診断機用のコネクタ800(OBDコネクタ)などにハーネスを接続することで、メイン電子制御ユニット200と相互通信(有線通信)可能になり、記憶媒体601が格納するプログラムデータを、メイン電子制御ユニット200を介して書き換え対象のサブ電子制御ユニット300A、300B、300Cに転送する。
 なお、書き換えツール600を操作する作業者は、パーソナルコンピュータが備えるキーボードや液晶画面を用いて書き換えツール600に対し対話的に指示を出すことができる。
 図2は、メイン電子制御ユニット200のゲートウェイ機能を説明する図である。
 図2に示すように、メイン電子制御ユニット200の記憶媒体202は、各サブ電子制御ユニット300A、300B、300Cの仮想メモリ領域を有する。
 つまり、図2に示す一態様では、メイン電子制御ユニット200の記憶媒体202であるROMは、キャリブレーション領域202e、プログラム領域202dとともに、サブ電子制御ユニット300A用の仮想メモリ領域202a、サブ電子制御ユニット300B用の仮想メモリ領域202b、202bを有し、メイン電子制御ユニット200の記憶媒体202であるRAMは、サブ電子制御ユニット300C用の仮想メモリ領域202c、202cを有する。
 ここで、書き換えツール600は、キャリブレーション領域202eやプログラム領域202dと同様に各仮想メモリ領域202a、202b、202cにアクセスでき、仮想メモリ領域202a、202b、202cは、書き換え対象のサブ電子制御ユニット300A、300B、300Cのプログラムデータ(書き換えデータ)を一時的に格納する。
 そして、メイン電子制御ユニット200は、仮想メモリ領域202a、202b、202cが格納したプログラムデータを、書き換え対象となるサブ電子制御ユニット300A、300B、300Cに向けて転送して、書き換えツール600と書き換え対象のサブ電子制御ユニット300A、300B、300Cとの間でのデータ通信を仲介する。
 このようにして、メイン電子制御ユニット200は、書き換えツール600と書き換え対象のサブ電子制御ユニット300A、300B、300Cとの間でのデータ通信を仲介するゲートウェイ手段としての機能を備える。
 図3は、メイン電子制御ユニット200をゲートウェイとする通信におけるタイムアウトの発生を説明する図である。
 図3に示すシステムは、書き換えツール600とメイン電子制御ユニット200との間での通信速度が、メイン電子制御ユニット200とサブ電子制御ユニット300A、300B、300Cとの間での通信速度よりも速い場合、つまり、書き換えツール600とメイン電子制御ユニット200との間での通信が高速通信で、メイン電子制御ユニット200とサブ電子制御ユニット300A、300B、300Cとの間での通信が低/中速通信である。
 なお、タイムアウトとは、通信が一定時間以内に開始または完了できない場合、通信処理を自動的に中止することである。
 図3において、書き換えツール600が、プログラムデータの書き換え単位毎の第1書き換え要求(書き換えデータ)をメイン電子制御ユニット200に出力すると、メイン電子制御ユニット200は第1書き換え要求をハードウェア処理及びソフトウェア処理した後、プログラムデータの書き換え対象であるサブ電子制御ユニット300A、300B、300Cに第1書き換え要求を転送する。
 そして、第1書き換え要求を受けたサブ電子制御ユニット300A、300B、300Cは、第1書き換え要求に基づき書き換え処理を行った後、第1返答をメイン電子制御ユニット200に向けて送信し、メイン電子制御ユニット200は第1返答をハードウェア処理及びソフトウェア処理した後、第1返答を書き換えツール600に転送する。
 第1返答を受けた書き換えツール600は、第2書き換え要求を送信できる条件が整ったと判断して第2書き換え要求をメイン電子制御ユニット200に出力し、メイン電子制御ユニット200を介してサブ電子制御ユニット300A、300B、300Cが第2返答を返すのを待つ。
 このようにして、書き換えツール600は、書き換え要求を出力し、当該書き換え要求に対応する返答を受けてから次の書き換え要求を出力する処理を繰り返して、サブ電子制御ユニット300A、300B、300Cに書き換え用のプログラムデータを送信する。
 ここで、書き換えツール600とメイン電子制御ユニット200との間での通信は高速で行われるが、メイン電子制御ユニット200とサブ電子制御ユニット300A、300B、300Cとの間では低/中速で行われるために通信に時間を要し、更に、メイン電子制御ユニット200をゲートウェイとして用いるためにメイン電子制御ユニット200において書き換え要求及び返答を処理するのに時間を要する。
 このため、書き換えツール600が書き換え要求を出力してから当該書き換え要求に対応する返答を受けるまでの時間が規定時間を超えてタイムアウトになり、書き換えツール600が通信(書き換えデータの送信)を停止してしまう可能性がある。
 そこで、メイン電子制御ユニット200は、ゲートウェイとして機能するときにタイムアウトを抑止する信号、換言すれば、通信の途絶を防ぐための信号を出力する機能(通信維持手段)を備える。
 図4は、メイン電子制御ユニット200がタイムアウトを抑止する信号としてのBUSY信号を書き換えツール600に出力する処理を示す。
 図4のシステムは、図3と同様に、書き換えツール600とメイン電子制御ユニット200との間での通信が高速通信で、メイン電子制御ユニット200とサブ電子制御ユニット300A、300B、300Cとの間での通信が低/中速通信である。
 そして、メイン電子制御ユニット200は、書き換えツール600が書き換え要求を送信してから予め定めた一定時間が経過すると、書き換えツール600に向けてBUSY信号を出力する処理を実施し、更に、BUSY信号を書き換えツール600に出力してから返答を書き換えツール600に転送するまでの間は、書き換えツール600からの新規の書き換え要求を吸収する処理を実施する。
 なお、上記のBUSY信号は、以前の書き換え要求に基づく処理が完了しておらず、新たな要求を受け付けないことを表明する信号である。
 このように、メイン電子制御ユニット200がBUSY信号を書き換えツール600に出力すれば、書き換えツール600は要求に基づく処理が進行中であると認識でき、タイムアウトを抑止できる。
 つまり、メイン電子制御ユニット200とサブ電子制御ユニット300A、300B、300Cとの間での通信速度が書き換えツール600とメイン電子制御ユニット200との間での通信速度よりも遅い場合であって、また、メイン電子制御ユニット200による通信の仲介処理に時間を要しても、書き換えツール600がタイムアウトとなることを抑止でき、書き換えツール600によるサブ電子制御ユニット300A、300B、300Cのプログラムデータの書き換え処理を継続させることができる。
 図3及び図4のシステムとは逆に、書き換えツール600とメイン電子制御ユニット200との間での通信が低/中速通信で、メイン電子制御ユニット200とサブ電子制御ユニット300A、300B、300Cとの間での通信が高速通信である場合には、サブ電子制御ユニット300A、300B、300Cがタイムアウトになる可能性がある。
 図5は、メイン電子制御ユニット200が、サブ電子制御ユニット300A、300B、300Cのタイムアウトを抑止する信号を出力する処理を示す。
 つまり、メイン電子制御ユニット200とサブ電子制御ユニット300A、300B、300Cとの間での通信が高速通信で、書き換えツール600とメイン電子制御ユニット200との間での通信が低/中通信である場合、書き換えツール600とメイン電子制御ユニット200との間での通信に時間を要することになり、更に、メイン電子制御ユニット200が書き換え要求及び返答を処理するのに(仲介処理に)時間を要するため、サブ電子制御ユニット300A、300B、300Cが返答を出力してから次の書き換え要求を受けるまでの時間が長引き、サブ電子制御ユニット300A、300B、300Cがタイムアウトによって通信を停止する可能性がある。
 そこで、メイン電子制御ユニット200は、サブ電子制御ユニット300A、300B、300Cが返答を出力してから、次の書き換え要求をサブ電子制御ユニット300A、300B、300Cに向けて転送するまでの間において、タイムアウトを抑止する信号としての通信維持信号を一定時間毎に書き換え対象のサブ電子制御ユニット300A、300B、300Cに向けて出力する。
 なお、通信維持信号とは、新たな要求の送信が滞っていることを表明する信号である。
 これにより、サブ電子制御ユニット300A、300B、300Cは、返答を出力してから次の書き換え要求を受けるまでの間で通信を維持し、タイムアウトを抑止できる。
 ところで、図4は、メイン電子制御ユニット200とサブ電子制御ユニット300A、300B、300Cとの間での通信が全て低/中速通信である場合を示し、図5は、メイン電子制御ユニット200とサブ電子制御ユニット300A、300B、300Cとの間での通信が全て高速通信である場合を示すが、サブ電子制御ユニット300A、300B、300C毎にメイン電子制御ユニット200との間での通信速度が異なる場合があり得る。
 図6は、サブ電子制御ユニット300A、300B、300C毎にメイン電子制御ユニット200との間での通信速度(通信方式)が異なる場合を例示する。
 図6において、メイン電子制御ユニット200とサブ電子制御ユニット300Aとの間での通信は高速通信で、メイン電子制御ユニット200とサブ電子制御ユニット300Bとの間での通信は中速通信で、メイン電子制御ユニット200とサブ電子制御ユニット300Cとの間での通信は低速通信である。
 ここで、メイン電子制御ユニット200は、上位層側(書き換えツール600)及び下位層側(サブ電子制御ユニット300A、300B、300C)の接続機器の通信プロトコルを識別し、上位層側と下位層側との組み合わせに応じたタイムアウト抑止動作(タイムアウトを抑止するための信号出力処理)を行う。
 例えば、メイン電子制御ユニット200と書き換えツール600との間での通信が高速通信で、書き換え対象の電子制御ユニットが、低速で通信するサブ電子制御ユニット300C或いは中速で通信するサブ電子制御ユニット300Bである場合、メイン電子制御ユニット200は、図4に示したように、書き換え要求の受信から一定時間経過したときに、タイムアウトを抑止する信号としてのBUSY信号を書き換えツール600に出力する。
 これにより、書き換えツール600は、書き換え要求の出力から返答の入力までに時間を要しても、タイムアウトになることを抑止できる。
 一方、メイン電子制御ユニット200と書き換えツール600との間での通信が低/中速通信で、プログラムデータの書き換え対象の電子制御ユニットが、高速で通信するサブ電子制御ユニット300Aである場合、メイン電子制御ユニット200は、図5に示したように、サブ電子制御ユニット300Aから返答を受けてから次の書き換え要求をサブ電子制御ユニット300Aに転送するまでの間において、タイムアウトを抑止する信号としての通信維持信号をサブ電子制御ユニット300Aに向けて出力する。
 これにより、サブ電子制御ユニット300Aは、返答の出力から次の書き換え要求の入力までに時間を要しても、タイムアウトになることを抑止できる。
 なお、書き換えツール600とメイン電子制御ユニット200との間での通信は有線通信に限らず、無線通信が行われる場合においても、メイン電子制御ユニット200がタイムアウトを抑止する信号の出力処理を行うことで、同様の作用効果を得ることができる。
 図1及び図6には、無線通信の一態様として、車両用制御装置100が備えるセキュリティ電子制御ユニット700が、書き換えツール600と無線通信を行う場合を示してある。
 セキュリティ電子制御ユニット700は、外部との間で無線通信する機能を有するとともに、ネットワーク400を介してサブ電子制御ユニット300A、300B、300Cへの不正データの送信を阻止する機能を有する。
 そして、サブ電子制御ユニット300A、300B、300Cのプログラム書き換えにおいては、無線通信機能を有した書き換えツール600とセキュリティ電子制御ユニット700との間で無線通信を行わせ、メイン電子制御ユニット200は、セキュリティ電子制御ユニット700を介して書き換えツール600からの信号を受けるとともに、セキュリティ電子制御ユニット700を介して書き換えツール600に信号を出力する。
 このように、セキュリティ電子制御ユニット700と書き換えツール600とが無線通信する場合においても、メイン電子制御ユニット200は、上位層側(書き換えツール600)及び下位層側(サブ電子制御ユニット300A、300B、300C)の接続機器の通信プロトコルを識別し、上位層側と下位層側との組み合わせに応じたタイムアウト抑止動作(タイムアウトを抑止するための信号出力処理)を行うことができる。
 図7は、サブ電子制御ユニット300A、300B、300Cにおける書き換え時間を確保する処理を説明する図である。
 図7のシステムは、書き換えツール600とメイン電子制御ユニット200との間での通信が高速通信で、メイン電子制御ユニット200と書き換え対象のサブ電子制御ユニット300A、300B、300Cとの間での通信が中速通信である。
 係るシステムにおいて、サブ電子制御ユニット300A、300B、300Cは、書き換えツール600からの書き換え要求をメイン電子制御ユニット200経由で受けたときに書き換えツール600への返答の出力処理を実施する。
 そして、サブ電子制御ユニット300A、300B、300Cは、書き換え処理を次の書き換え要求の入力までの間で実施し、次の書き換え要求に対応する返答を書き換えツール600に向けて出力するときに、前回の書き換え要求に基づく書き換え処理の結果を示す信号を返答とともに書き換えツール600側に送信する。
 この場合、サブ電子制御ユニット300A、300B、300Cは、書き換え要求に基づく書き込み処理の終了を待たずに当該書き換え要求に対応する返答を書き換えツール600に向けて出力するから、書き換えツール600において書き換え要求の出力から返答を受けるまでの時間が規定時間を超えてタイムアウトになることを抑止できる。
 また、サブ電子制御ユニット300A、300B、300Cは、書き換え要求に基づく書き換え処理を、当該書き換え要求を受けてから次の書き換え要求を入力するまでの間で実施するから、書き換え要求の入力から当該書き換え要求に対応する返答を出力するまでの時間よりも長い、書き換え要求の入力周期に略相当する時間を書き換え処理の時間として確保できる。
 上記構成では、メイン電子制御ユニット200がタイムアウトを抑止する信号を出力することなく、書き換えツール600による書き換え処理を継続して行わせることが可能になる。
 図8は、図7に示した返答及び書き換え結果の送信処理を実施しても、書き換えツール600がタイムアウトになってしまう場合の対策処理を示す。
 図8のシステム構成は、書き換えツール600とメイン電子制御ユニット200との間での通信が高速通信で、メイン電子制御ユニット200と書き換え対象のサブ電子制御ユニット300A、300B、300Cとの間での通信が低速通信である。
 そして、書き換えツール600は、書き換え処理として、まず、メイン電子制御ユニット200の記憶媒体202(RAM)に、サブ電子制御ユニット300A、300B、300Cの書き換えデータを展開する。
 つまり、書き換えツール600は、書き換え要求をメイン電子制御ユニット200に出力し、メイン電子制御ユニット200は書き換え要求を自身の記憶媒体202(RAM)に展開して返答(展開結果)を書き換えツール600に戻す処理を繰り返す。これにより、サブ電子制御ユニット300A、300B、300Cの書き換えデータを、メイン電子制御ユニット200の記憶媒体202(RAM)に展開する。
 全ての書き換えデータをメイン電子制御ユニット200の記憶媒体202(RAM)に展開した後、メイン電子制御ユニット200は、書き換えトリガに基づいてサブ電子制御ユニット300A、300B、300Cとの間での通信を開始し、サブ電子制御ユニット300A、300B、300Cのプログラムデータの書き換えを実行する。
 書き換えトリガは、例えば、書き換えツール600からメイン電子制御ユニット200に与える構成とすることができ、また、メイン電子制御ユニット200が電源保持機能(セルフシャットオフ機能)を備える場合は、メイン電子制御ユニット200の電源スイッチの信号(オンからオフへの切り替え)を書き換えトリガの信号として用いることができる。
 書き換えトリガを受けたメイン電子制御ユニット200は、書き換え対象のサブ電子制御ユニット300A、300B、300Cに対して書き換え要求を出力し、サブ電子制御ユニット300A、300B、300Cからの返答を受けると次の書き換え要求を出力することを繰り返し、書き換え対象のサブ電子制御ユニット300A、300B、300Cのプログラムデータの書き換えを実施する。
 また、メイン電子制御ユニット200は、書き換え対象のサブ電子制御ユニット300A、300B、300Cと通信して書き換え処理を行わせているときに、書き換えツール600に向けてBUSY信号を一定時間毎に出力して、書き換えツール600がタイムアウトになることを抑止する。
 一方、書き換えツール600は、メイン電子制御ユニット200と書き換え対象のサブ電子制御ユニット300A、300B、300Cとの間で通信して書き換えを行っている間において書き換え完了を待つ待機状態(通信中断状態)となり、書き換え対象のサブ電子制御ユニット300A、300B、300Cが出力する書き換え完了の信号をメイン電子制御ユニット200経由で受けると、書き換え処理を終了する。
 なお、書き換えツール600は、サブ電子制御ユニット300A、300B、300Cにおけるプログラムデータの書き換え完了を待たずにオフし、換言すれば、書き換えツール600とメイン電子制御ユニット200との間での通信が停止し、次回書き換えツール600が起動したときに書き換え処理の結果をメイン電子制御ユニット200から受信する構成とすることができる。
 また、サブ電子制御ユニット300A、300B、300Cにおけるプログラムデータの書き換えに失敗したときに、メイン電子制御ユニット200から書き換え要求を再度出力することが可能である。
 上記実施形態で説明した各技術的思想は、矛盾が生じない限りにおいて、適宜組み合わせて使用することができる。
 また、好ましい実施形態を参照して本発明の内容を具体的に説明したが、本発明の基本的技術思想及び教示に基づいて、当業者であれば、種々の変形態様を採り得ることは自明である。
 例えば、メイン電子制御ユニット200が外部と無線通信する機能を備える場合、メイン電子制御ユニット200は、書き換えツール600と直接的に無線通信を行って、書き換えツール600とサブ電子制御ユニット300A、300B、300Cとの間でのデータ通信を仲介することができる。
 また、書き換えツール600と無線通信するセキュリティ電子制御ユニット700が、ネットワーク400を介してサブ電子制御ユニット300A、300B、300Cと直接通信して、書き換えツール600とサブ電子制御ユニット300A、300B、300Cとの間でのデータ通信を仲介することができる。
 ここで、上述した実施形態から把握し得る技術的思想について、以下に記載する。
 車両用制御装置は、その一態様において、
 メイン電子制御ユニットと、
 前記メイン電子制御ユニットと相互に通信可能なサブ電子制御ユニットと、
 を有する車両用制御装置であって、
 前記メイン電子制御ユニットは、
 外部装置と前記サブ電子制御ユニットとの間でのデータ通信を仲介するゲートウェイ手段と、
 前記外部装置との間での通信方式、及び、前記サブ電子制御ユニットとの間での通信方式を識別する通信方式識別手段と、
 前記通信方式識別手段が識別した通信方式に基づき前記外部装置と前記サブ電子制御ユニットとのいずれか一方を選択し、選択した側に前記外部装置と前記サブ電子制御ユニットとの間でのデータ通信におけるタイムアウトを抑止信号を出力する通信維持手段と、
 を備える。
 また、車両用制御装置は、その一態様において、
 メイン電子制御ユニットと、
 前記メイン電子制御ユニットと相互に通信可能なサブ電子制御ユニットと、
 を有する車両用制御装置であって、
 前記メイン電子制御ユニットは、
 外部装置と前記サブ電子制御ユニットとの間でのデータ通信を仲介するゲートウェイ手段と、
 前記外部装置と前記メイン電子制御ユニットとの間での通信速度が前記メイン電子制御ユニットと前記サブ電子制御ユニットとの間での通信速度よりも速い場合に、前記外部装置からの要求信号を受けた後当該要求信号に基づく返答信号を前記サブ電子制御ユニットから受けるまでの間において、前記外部装置に対してBUSY信号を一定時間毎に出力する前記通信維持手段と、
 を備える。
 また、車両用制御装置は、その一態様において、
 メイン電子制御ユニットと、
 前記メイン電子制御ユニットと相互に通信可能なサブ電子制御ユニットと、
 を有する車両用制御装置であって、
 前記メイン電子制御ユニットは、
 外部装置と前記サブ電子制御ユニットとの間でのデータ通信を仲介するゲートウェイ手段と、
 前記外部装置と前記メイン電子制御ユニットとの間での通信速度が前記メイン電子制御ユニットと前記サブ電子制御ユニットとの間での通信速度よりも遅い場合に、前記サブ電子制御ユニットからの返答信号を受けた後前記外部装置からの要求信号を受けるまでの間において、前記サブ電子制御ユニットに通信維持信号を一定時間毎に出力する前記通信維持手段と、
 を備える。
 100…車両用制御装置、200…メイン電子制御ユニット、300A-300C…サブ電子制御ユニット、400…ネットワーク、600…書き換えツール(外部装置)

Claims (10)

  1.  メイン電子制御ユニットと、
     前記メイン電子制御ユニットと相互に通信可能なサブ電子制御ユニットと、
     を有する車両用制御装置であって、
     前記メイン電子制御ユニットは、
     外部装置と前記サブ電子制御ユニットとの間でのデータ通信を仲介するゲートウェイ手段と、
     前記外部装置と前記サブ電子制御ユニットとの間でのデータ通信におけるタイムアウトを抑止する信号を前記外部装置と前記サブ電子制御ユニットとの少なくとも一方に出力する通信維持手段と、
     を備える、車両用制御装置。
  2.  前記通信維持手段は、前記タイムアウトを抑止する信号としてBUSY信号を出力する、請求項1記載の車両用制御装置。
  3.  前記通信維持手段は、前記タイムアウトを抑止する信号として、新たな要求の送信が滞っていることを表明する通信維持信号を出力する、請求項1記載の車両用制御装置。
  4.  前記通信維持手段は、前記サブ電子制御ユニットからの返答待ち状態で、前記外部装置にBUSY信号を出力する、請求項1記載の車両用制御装置。
  5.  前記通信維持手段は、前記外部装置からの要求待ち状態で、前記サブ電子制御ユニットに、新たな要求の送信が滞っていることを表明する通信維持信号を出力する、請求項1記載の車両用制御装置。
  6.  前記外部装置は、前記サブ電子制御ユニットのプログラム書き換えを行うツールであり、
     前記サブ電子制御ユニットは、前記外部装置からの書き換え要求に対する返答を送信するときに、直前の書き換え要求よりも前の書き換え要求に対する書き換え結果を送信する、
     請求項4記載の車両用制御装置。
  7.  前記外部装置は、前記サブ電子制御ユニットのプログラム書き換えを行うツールであり、
     前記外部装置は、前記メイン電子制御ユニットに書き換えプログラムを展開した後に前記サブ電子制御ユニットとの通信を開始し、前記サブ電子制御ユニットのプログラム書き換えを実施する、
     請求項4記載の車両用制御装置。
  8.  メイン電子制御ユニットと、
     前記メイン電子制御ユニットと相互に通信可能なサブ電子制御ユニットと、
     を有する車両用制御装置において、外部装置によって前記サブ電子制御ユニットのプログラム書き換えを行う方法であって、
     前記メイン電子制御ユニットは、
     前記外部装置と前記サブ電子制御ユニットとの間でのデータ通信を仲介し、
     前記外部装置と前記サブ電子制御ユニットとの間でのデータ通信におけるタイムアウトを抑止する信号を前記外部装置と前記サブ電子制御ユニットとの一方に出力する、
     車両用制御装置のプログラム書き換え方法。
  9.  前記タイムアウトを抑止する信号はBUSY信号である、請求項8記載の車両用制御装置のプログラム書き換え方法。
  10.  前記タイムアウトを抑止する信号は、新たな要求の送信が滞っていることを表明する通信維持信号である、請求項8記載の車両用制御装置のプログラム書き換え方法。
PCT/JP2018/011164 2017-05-29 2018-03-20 車両用制御装置及びプログラム書き換え方法 WO2018220956A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
DE112018002732.5T DE112018002732B4 (de) 2017-05-29 2018-03-20 Fahrzeugsteuerungseinrichtung und Verfahren zum Umschreiben eines Programms dafür
US16/617,224 US10960833B2 (en) 2017-05-29 2018-03-20 Vehicle control apparatus and method for rewriting program therefor
CN201880034386.4A CN110663224B (zh) 2017-05-29 2018-03-20 车辆用控制装置及程序重写方法

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017105866A JP6785720B2 (ja) 2017-05-29 2017-05-29 車両用制御装置及びプログラム書き換え方法
JP2017-105866 2017-05-29

Publications (1)

Publication Number Publication Date
WO2018220956A1 true WO2018220956A1 (ja) 2018-12-06

Family

ID=64454647

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/011164 WO2018220956A1 (ja) 2017-05-29 2018-03-20 車両用制御装置及びプログラム書き換え方法

Country Status (5)

Country Link
US (1) US10960833B2 (ja)
JP (1) JP6785720B2 (ja)
CN (1) CN110663224B (ja)
DE (1) DE112018002732B4 (ja)
WO (1) WO2018220956A1 (ja)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020171120A1 (ja) * 2019-02-19 2020-08-27 Groove X株式会社 ロボットおよびその外皮

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013030988A (ja) * 2011-07-28 2013-02-07 Denso Corp ゲートウェイ装置
WO2017014133A1 (ja) * 2015-07-23 2017-01-26 株式会社デンソー 中継装置、電子制御装置、及び、車載システム

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7552077B1 (en) * 2002-06-26 2009-06-23 Trading Technologies International, Inc. System and method for coalescing market data at a network device
TW200417852A (en) * 2002-12-19 2004-09-16 Komatsu Mfg Co Ltd Rewrite control apparatus for onboard program
JP2007011734A (ja) * 2005-06-30 2007-01-18 Denso Corp 車載制御装置
JP4998816B2 (ja) * 2005-07-19 2012-08-15 スズキ株式会社 電子制御装置のプログラム書換えシステム
JP2008009795A (ja) * 2006-06-30 2008-01-17 Hitachi Ltd 診断装置,回線診断方法及び回線診断プログラム
JP4722194B2 (ja) * 2009-04-13 2011-07-13 本田技研工業株式会社 車両のための書き換えシステム
DE102012212962A1 (de) * 2011-07-28 2013-01-31 Denso Corporation Gateway und fahrzeuginternes Netzwerksystem
JP5886099B2 (ja) * 2012-03-21 2016-03-16 日立オートモティブシステムズ株式会社 自動車用電子制御装置
JP2014019280A (ja) 2012-07-18 2014-02-03 Honda Motor Co Ltd 車両用電子制御システム
JP5949732B2 (ja) * 2013-11-27 2016-07-13 株式会社オートネットワーク技術研究所 プログラム更新システム及びプログラム更新方法
EP3133498B1 (en) 2014-04-16 2020-08-12 Clarion Co., Ltd. Data delivery system, control server, and data delivery method
EP3159219B8 (en) * 2014-06-19 2021-10-13 Hitachi Astemo, Ltd. Vehicle-mounted program writing device
JP6147792B2 (ja) 2015-03-30 2017-06-14 本田技研工業株式会社 プログラム書換装置及びプログラム書換方法

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013030988A (ja) * 2011-07-28 2013-02-07 Denso Corp ゲートウェイ装置
WO2017014133A1 (ja) * 2015-07-23 2017-01-26 株式会社デンソー 中継装置、電子制御装置、及び、車載システム

Also Published As

Publication number Publication date
DE112018002732T5 (de) 2020-04-23
US20200406842A1 (en) 2020-12-31
JP6785720B2 (ja) 2020-11-18
CN110663224A (zh) 2020-01-07
DE112018002732B4 (de) 2021-06-02
CN110663224B (zh) 2021-11-05
US10960833B2 (en) 2021-03-30
JP2018199457A (ja) 2018-12-20

Similar Documents

Publication Publication Date Title
CN108363347B (zh) 用于电子控制单元的硬件安全
US9648023B2 (en) Vehicle module update, protection and diagnostics
JP2020107355A (ja) 仮想マシンモニタ、ソフトウェア及びファームウェア更新方法
KR102524290B1 (ko) 이더넷 스위치, 차량 내 네트워크 구성 방법 및 차량
US7593344B2 (en) System and method for reprogramming nodes in an automotive switch fabric network
JP6471739B2 (ja) 車載通信システム
JP6881231B2 (ja) 車載中継装置、情報処理方法、プログラム、中継装置、及び情報処理システム
KR102286050B1 (ko) 차량 네트워크에서 진단 오류 방지를 위한 방법 및 장치
US20210126973A1 (en) Communication method and apparatus, and related device
WO2017046980A1 (ja) ゲートウェイ装置、車載ネットワークシステム及びファームウェア更新方法
JP2013530595A (ja) 少なくとも1つの装置の駆動状態を遷移させる方法
JP4572730B2 (ja) 車両用usbシステム及び車載無線通信機器
JP2007034910A (ja) マルチcpuシステム及びスケジューラ
WO2018220956A1 (ja) 車両用制御装置及びプログラム書き換え方法
KR102298186B1 (ko) Dsi 프로토콜에 기초하여 자동차 내 센서 장치를 작동시키는 방법
JP2002301997A (ja) 自動車の故障診断装置
CN109917775A (zh) 一种汽车安全网关数据传输方法及电子设备
JP2019175017A (ja) 通信装置及び通信方法
JP2015227157A (ja) データゲートウェイ及びその車両動作への干渉方法
JP4888099B2 (ja) ネットワーク制御装置およびその制御方法
JP7411467B2 (ja) 電子制御装置及びプログラム書き換え制御方法
JP4954832B2 (ja) 車載用通信システム
JP2019129336A (ja) 電子制御装置、監視方法、及びプログラム
JP7211189B2 (ja) 更新処理システム及び更新処理方法
JP4125178B2 (ja) 動的再構成デバイスを用いた車両機能担保システム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18810054

Country of ref document: EP

Kind code of ref document: A1

DPE1 Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101)
122 Ep: pct application non-entry in european phase

Ref document number: 18810054

Country of ref document: EP

Kind code of ref document: A1