KR20130021993A - Computing device for updating software of electronic control unit and the electronic control unit and method thereof - Google Patents

Computing device for updating software of electronic control unit and the electronic control unit and method thereof Download PDF

Info

Publication number
KR20130021993A
KR20130021993A KR1020110084600A KR20110084600A KR20130021993A KR 20130021993 A KR20130021993 A KR 20130021993A KR 1020110084600 A KR1020110084600 A KR 1020110084600A KR 20110084600 A KR20110084600 A KR 20110084600A KR 20130021993 A KR20130021993 A KR 20130021993A
Authority
KR
South Korea
Prior art keywords
electronic control
control unit
software
update
wireless communication
Prior art date
Application number
KR1020110084600A
Other languages
Korean (ko)
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 KR1020110084600A priority Critical patent/KR20130021993A/en
Publication of KR20130021993A publication Critical patent/KR20130021993A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

PURPOSE: A computing device and an updating method thereof are provided to accurately update software by selecting an ECU(Electronic Control Unit) which is necessary to update code data. CONSTITUTION: A communication interface(120) is connected to a wireless communication module(300). A control unit(130) transmits a scan command message which confirms the update of software through the wireless communication module connected to the communication interface. The control unit transmits the code data for updating the software by receiving a response message from an ECU which receives the scan command message. [Reference numerals] (100) Computing device; (110) Memory; (120) Communication interface; (130) Control unit; (300) Wireless communication module

Description

양방향 통신을 통한 전자 제어 유닛의 소프트웨어 갱신을 위한 컴퓨팅 장치와 그 전자 제어 유닛 및 그 갱신 방법{Computing device for updating software of electronic control unit and the electronic control unit and method thereof}Computing device for updating software of electronic control unit through two-way communication and its electronic control unit and its updating method

본 발명은 차량의 전자 제어 유닛에 관한 것으로, 특히 전자 제어 유닛의 소프트웨어를 갱신하기 위한 기술에 관한 것이다.The present invention relates to an electronic control unit of a vehicle, and more particularly to a technique for updating software of an electronic control unit.

도 1은 종래 차량에 장착된 전자 제어 유닛의 코드 데이터 갱신 설명을 위한 참조도이다.1 is a reference diagram for explaining code data update of an electronic control unit mounted in a conventional vehicle.

전자 제어 유닛(Electronic Control Unit, ECU)(10)은 차량 모듈에 탑재되어 차량 모듈에 구비된 각 장치의 상태에 관한 정보를 처리하고 또한 각 장치에 제어 신호를 인가하여 동작을 제어하는 장치이다. 도시된 바와 같이, 전자 제어 유닛으로는 BCM(Body Control Module)용 전자 제어 유닛과 SMK(Smart Key System)용 전자 제어 유닛 등이 있다. 이러한 전자 제어 유닛(10)에는 ECU 코드 데이터가 기록되며, 필요에 따라 갱신(Update)이 이루어져야 한다. 갱신을 위해, 갱신용 코드 데이터를 가진 PC(20)와 전자 제어 유닛(10)을 K-Line을 이용하여 유선으로 통신 연결한 후에, 전자 제어 유닛(10)은 PC(20)로부터 코드 데이터를 다운로드하여 갱신하게 된다.An electronic control unit (ECU) 10 is a device mounted on a vehicle module to process information about the state of each device included in the vehicle module and to apply a control signal to each device to control the operation. As illustrated, the electronic control unit includes an electronic control unit for a body control module (BCM), an electronic control unit for a smart key system (SMK), and the like. ECU code data is recorded in this electronic control unit 10, and an update should be made as necessary. For the update, after the PC 20 having the code data for updating and the electronic control unit 10 are connected by wire by means of a K-Line, the electronic control unit 10 receives the code data from the PC 20. Download and update.

통상 이러한 데이터 갱신은 자동차 공장에서 또는 선착장에 주차되어 있는 완성차를 대상으로 수행된다. 따라서 위와 같은 유선 통신 방식을 이용한 ECU 코드 데이터 갱신에 의하면, 선착장의 경우 광범위한 지역을 돌아다니면서 갱신이 필요한 차량을 일일이 찾아야 하고, 또한 주차되어 있는 비좁은 차량 사이에서 도어를 열고 유선 통신 케이블을 연결한 후 갱신을 진행해야 하므로, 이 과정에서 옆 차량의 외관에 손상을 입힐 수 있는 문제점이 있다.This data update is usually performed for a finished vehicle parked in an automobile factory or a marina. Therefore, according to the ECU code data update using the wired communication method as described above, the dock has to travel around a wide area and find a vehicle that needs to be renewed. Since it is necessary to proceed with the renewal, there is a problem that may damage the appearance of the next vehicle in this process.

이러한 문제점 방지를 위해, 유선 통신 방식 대신에 무선 통신을 통해 ECU 코드 데이터를 갱신할 수 있으며, 이에 대해서는 실용신안등록출원 제20-1997-0041113호에 자세히 기술되어 있다. 그러나 이 기술에 따르면, 전자 제어 유닛으로의 단방향으로만 코드 데이터의 전송 및 갱신이 이루어지게 된다. 이러한 단방향 무선 통신 방식을 이용하여 전자 제어 유닛의 코드 데이터를 갱신하는 경우, 갱신이 필요 없는 차량의 전자 제어 유닛에 대해서도 데이터 갱신이 이루어질 수 있는 위험이 있으며, 차량의 전자 제어 유닛을 구분하거나 상태를 정확하게 파악하기 어려운 문제가 있다.In order to prevent this problem, it is possible to update the ECU code data through wireless communication instead of the wire communication method, which is described in detail in Utility Model Registration Application No. 20-1997-0041113. According to this technique, however, the transmission and update of the code data is made only in one direction to the electronic control unit. If code data of the electronic control unit is updated using such a unidirectional wireless communication method, there is a risk that the data can be updated even for the electronic control unit of the vehicle that does not need to be updated. There is a problem that is difficult to pinpoint.

본 발명은 양방향 무선 통신을 통해 갱신이 필요한 전자 제어 유닛들을 선별하고, 선별된 전자 제어 유닛들에 대해서만 코드 데이터를 갱신할 수 있도록 하는 기술적 방안을 제공함을 목적으로 한다.An object of the present invention is to provide a technical scheme for selecting electronic control units that need to be updated through two-way wireless communication and updating code data only for the selected electronic control units.

전술한 과제를 달성하기 위한 본 발명의 일 양상에 따른 전자 제어 유닛의 코드 데이터 갱신을 위한 컴퓨팅 장치는 무선 통신 모듈과의 통신 접속을 위한 통신 인터페이스, 및 상기 통신 인터페이스에 접속된 상기 무선 통신 모듈을 통해 무선 통신 유효 범위 내에 존재하는 차량의 전자 제어 유닛들로 소프트웨어 갱신이 필요한지 여부 확인을 위한 스캔 명령 메시지를 전송하고, 상기 스캔 명령 메시지를 수신한 다수의 전자 제어 유닛들 중 갱신이 필요한 적어도 하나의 전자 제어 유닛으로부터 응답 메시지를 수신하며, 상기 응답 메시지를 전송한 전자 제어 유닛으로 소프트웨어 갱신용 코드 데이터를 전송하는 제어부를 포함한다. 상기 스캔 명령 메시지에는 갱신 대상 정보인 전자 제어 유닛 식별자 범위와 소프트웨어 버전과 하드웨어 버전 및 제조코드 범위에 대한 정보가 포함된다. 그리고 상기 응답 메시지에는 상기 응답 메시지를 전송하는 전자 제어 유닛의 고유 식별자와 소프트웨어 버전과 하드웨어 버전 및 제조코드에 대한 정보가 포함된다.According to an aspect of the present invention, a computing device for updating code data of an electronic control unit includes a communication interface for communication connection with a wireless communication module, and the wireless communication module connected to the communication interface. At least one of a plurality of electronic control units which need to be updated among the plurality of electronic control units which receive the scan command message, and transmit a scan command message for checking whether software update is required to the electronic control units of the vehicle existing within the wireless communication effective range. And a control unit for receiving a response message from the electronic control unit, and transmitting code data for software update to the electronic control unit which has transmitted the response message. The scan command message includes information on the electronic control unit identifier range, the software version, the hardware version, and the manufacturing code range, which are update target information. The response message includes a unique identifier, a software version, a hardware version, and a manufacturing code of the electronic control unit which transmits the response message.

한편, 전술한 과제를 달성하기 위한 본 발명의 일 양상에 따른 양방향 통신을 통한 코드 데이터 갱신 가능한 전자 제어 유닛은 무선 통신을 위한 무선 통신 모듈, 전자 제어 유닛의 소프트웨어 코드 데이터가 저장되며 상기 전자 제어 유닛의 식별자와 소프트웨어 버전과 하드웨어 버전 및 제조코드를 포함하는 소프트웨어 갱신 확인을 위한 정보가 저장된 저장부, 및 컴퓨팅 장치로부터 전자 제어 유닛 식별자 범위와 소프트웨어 버전과 하드웨어 버전 및 제조코드 범위에 대한 정보가 포함된 스캔 명령 메시지를 상기 무선 통신 모듈을 통해 수신하고, 상기 저장부에 저장된 소프트웨어 갱신 확인을 위한 정보가 상기 스캔 명령 메시지에 포함된 정보에 속하면 이를 알리기 위한 응답 메시지를 상기 컴퓨팅 장치로 전송하며, 상기 응답 메시지 전송 후 상기 컴퓨팅 장치로부터 갱신용 코드 데이터를 수신하여 상기 저장부에 저장된 코드 데이터를 갱신하는 제어부를 포함한다. 상기 코드 데이터 갱신 확인을 위한 정보에는 상기 전자 제어 유닛의 식별자와 소프트웨어 버전과 하드웨어 버전 및 제조코드가 포함되며, 상기 스캔 명령 메시지에는 전자 제어 유닛 식별자 범위와 소프트웨어 버전과 하드웨어 버전 및 제조코드 범위에 대한 정보가 포함된다.On the other hand, the code data updateable electronic control unit via bidirectional communication according to an aspect of the present invention for achieving the above object is a wireless communication module for wireless communication, the software code data of the electronic control unit is stored and the electronic control unit A storage unit for storing software identification, including software identifiers, software versions, hardware versions and manufacturing codes, and information about electronic control unit identifier ranges, software versions, hardware versions, and manufacturing codes from computing devices. Receiving a scan command message through the wireless communication module, and transmits a response message to inform the computing device if the information for confirming the software update stored in the storage belongs to the information contained in the scan command message, Phase after sending response message Receiving the code data for update from a computing device and a controller for updating the code data stored in the storage unit. Information for confirming the code data update includes an identifier, a software version, a hardware version, and a manufacturing code of the electronic control unit, and the scan command message includes an electronic control unit identifier range, a software version, a hardware version, and a manufacturing code range. Information is included.

한편, 전술한 과제를 달성하기 위한 본 발명의 일 양상에 따른 컴퓨팅 장치에서 수행되는 양방향 통신을 통한 전자 제어 유닛의 코드 데이터 갱신 방법은 무선 통신 모듈의 통신 유효 범위 내에 존재하는 차량의 전자 제어 유닛들로 소프트웨어의 갱신이 필요한지 여부 확인을 위한 스캔 명령 메시지를 상기 무선 통신 모듈을 통해 전송하는 단계, 상기 스캔 명령 메시지를 수신한 다수의 전자 제어 유닛들 중 갱신이 필요한 적어도 하나의 전자 제어 유닛으로부터 응답 메시지를 상기 무선 통신 모듈을 통해 수신하는 단계, 및 상기 응답 메시지를 전송한 전자 제어 유닛으로 소프트웨어 갱신용 코드 데이터를 상기 무선 통신 모듈을 통해 전송하는 단계를 포함한다.On the other hand, the code data update method of the electronic control unit via the two-way communication performed in the computing device according to an aspect of the present invention for achieving the above object is the electronic control units of the vehicle existing within the communication effective range of the wireless communication module Transmitting a scan command message through the wireless communication module to confirm whether or not an update of the raw software is necessary, and a response message from at least one electronic control unit that needs to be updated among the plurality of electronic control units that have received the scan command message. Receiving through the wireless communication module, and transmitting code data for software update through the wireless communication module to the electronic control unit which has transmitted the response message.

한편, 전술한 과제를 달성하기 위한 본 발명의 일 양상에 따른 전자 제어 유닛에서 수행되는 양방향 통신을 통한 코드 데이터 갱신 방법은 컴퓨팅 장치로부터 전자 제어 유닛 식별자 범위와 소프트웨어 버전과 하드웨어 버전 및 제조코드 범위에 대한 정보가 포함된 스캔 명령 메시지를 수신하는 단계, 메모리에 저장된 전자 제어 유닛 식별자와 소프트웨어 버전과 하드웨어 버전 및 제조코드 정보가 상시 수신된 스캔 명령 메시지에 포함된 정보에 속하는지 확인하는 단계, 상기 확인 결과 속하면, 상기 메모리에 저장된 전자 제어 유닛 식별자와 소프트웨어 버전과 하드웨어 버전 및 제조코드 정보를 포함하는 응답 메시지를 생성하여 상기 컴퓨팅 장치로 전송하는 단계, 및 상기 응답 메시지 전송 이후 상기 컴퓨팅 장치로부터 소프트웨어 갱신용 코드 데이터를 수신하여 코드 데이터가 저장된 메모리를 갱신하는 단계를 포함한다.On the other hand, the code data update method through the two-way communication performed in the electronic control unit according to an aspect of the present invention for achieving the above object is in the electronic control unit identifier range and software version and hardware version and manufacturing code range from the computing device Receiving a scan command message including information on the information, Confirming that the electronic control unit identifier and software version and hardware version and manufacturing code information stored in the memory belongs to the information contained in the always received scan command message, The confirmation If so, generating a response message including the electronic control unit identifier, the software version, the hardware version and the manufacturing code information stored in the memory and transmitting the response message to the computing device, and updating the software from the computing device after transmitting the response message. Code It receives the data and a step of updating the data stored in the code memory.

본 발명은 양방향 통신을 통해 코드 데이터의 갱신이 필요한 전자 제어 유닛을 선별하여 갱신을 수행하므로, 안전하고 정확하게 소프트웨어 갱신이 가능하다.The present invention selects and updates an electronic control unit requiring update of code data through bidirectional communication, thereby enabling safe and accurate software update.

도 1은 종래 차량에 장착된 전자 제어 유닛의 코드 데이터 갱신 설명을 위한 참조도.
도 2는 본 발명의 일 실시예에 따른 전자 제어 유닛의 소프트웨어 갱신을 위한 시스템 구성도.
도 3은 본 발명의 일 실시예에 따른 양방향 통신을 통한 전자 제어 유닛의 소프트웨어 갱신을 위한 컴퓨팅 장치 블록도.
도 4는 본 발명의 일 실시예에 따른 스캔 명령 메시지 포맷 예시도.
도 5는 본 발명의 일 실시예에 따른 응답 메시지 예시도.
도 6은 본 발명의 일 실시예에 따른 컴퓨팅 장치의 모니터 화면 예시도.
도 7은 본 발명의 일 실시예에 따른 양방향 통신을 통한 소프트웨어 갱신 가능한 전자 제어 유닛 블록도.
도 8은 본 발명의 일 실시예에 따른 전자 제어 유닛에 저장된 소프트웨어 갱신을 위한 절차도.
1 is a reference diagram for explaining code data update of an electronic control unit mounted in a conventional vehicle.
2 is a system configuration for software update of the electronic control unit according to an embodiment of the present invention.
3 is a block diagram of a computing device for software update of an electronic control unit via bidirectional communication in accordance with an embodiment of the present invention.
4 is an exemplary scan command message format according to an embodiment of the present invention.
5 is an exemplary response message according to an embodiment of the present invention.
6 illustrates an example monitor screen of a computing device according to an embodiment of the present invention.
7 is a block diagram of a software updateable electronic control unit via bidirectional communication in accordance with an embodiment of the present invention.
8 is a procedure diagram for updating software stored in an electronic control unit according to an embodiment of the present invention.

전술한, 그리고 추가적인 본 발명의 양상들은 첨부된 도면을 참조하여 설명되는 바람직한 실시예들을 통하여 더욱 명백해질 것이다. 이하에서는 본 발명을 이러한 실시예를 통해 당업자가 용이하게 이해하고 재현할 수 있도록 상세히 설명하기로 한다.BRIEF DESCRIPTION OF THE DRAWINGS The foregoing and further aspects of the present invention will become more apparent from the following detailed description of preferred embodiments with reference to the accompanying drawings. Hereinafter, the present invention will be described in detail to enable those skilled in the art to easily understand and reproduce the present invention.

도 2는 본 발명의 일 실시예에 따른 전자 제어 유닛의 소프트웨어 갱신을 위한 시스템 구성도이다.2 is a system configuration diagram for software update of an electronic control unit according to an embodiment of the present invention.

도시된 바와 같이, 전체 시스템은 컴퓨팅 장치(100)와 컴퓨팅 장치(100)의 무선 통신 유효 범위에 존재하는 다수의 전자 제어 유닛(200)들을 포함한다. 일 실시예에 있어서, 컴퓨팅 장치(100)는 유선으로 연결되는 무선 통신 모듈(300)을 통해 무선 통신 모듈(300)의 무선 통신 유효 범위 내에 존재하는 전자 제어 유닛(200)들과 통신한다. 여기서 무선 통신 모듈(300)은 RF 모듈일 수 있다. 그리고 차량에 장착되어 있는 전자 제어 유닛(200)들은 컴퓨팅 장치(100)와의 무선 통신을 위한 무선 통신 모듈을 구비하며, RF 모듈일 수 있다. 컴퓨팅 장치(100)는 무선 통신 모듈(300)을 통해서 소프트웨어 갱신이 필요한 전자 제어 유닛을 스캔한다. 구체적으로, 컴퓨팅 장치(100)는 소프트웨어 갱신이 필요한 전자 제어 유닛 스캔을 위해, 스캔 명령 메시지를 생성하여 무선 통신 모듈(300)을 통해 다수의 전자 제어 유닛(200)들로 전송한다. 전자 제어 유닛(200)들은 구비된 무선 통신 모듈을 통해 스캔 명령 메시지를 수신하고, 수신된 스캔 명령 메시지를 통해 소프트웨어 갱신 대상이 되는지 확인하여 갱신 대상이 되는 경우 응답 메시지를 컴퓨팅 장치(100)로 전송한다. 컴퓨팅 장치(100)는 무선 통신 모듈(300)을 통해 응답 메시지를 수신하고, 응답 메시지를 전송한 전자 제어 유닛(200)으로 소프트웨어 갱신용 코드 데이터를 전송한다. 이에 해당 전자 제어 유닛(200)은 소프트웨어 갱신용 코드 데이터를 수신하여 소프트웨어를 갱신하게 된다.As shown, the overall system includes a plurality of electronic control units 200 present in the wireless communication coverage of computing device 100 and computing device 100. In one embodiment, the computing device 100 communicates with the electronic control units 200 present within the wireless communication effective range of the wireless communication module 300 via a wireless communication module 300 that is connected by wire. The wireless communication module 300 may be an RF module. In addition, the electronic control units 200 mounted on the vehicle include a wireless communication module for wireless communication with the computing device 100, and may be an RF module. The computing device 100 scans the electronic control unit requiring software update through the wireless communication module 300. In detail, the computing device 100 generates a scan command message and transmits the scan command message to the plurality of electronic control units 200 through the wireless communication module 300 in order to scan the electronic control unit requiring software update. The electronic control unit 200 receives a scan command message through the provided wireless communication module, checks whether the target is a software update through the received scan command message, and transmits a response message to the computing device 100 when the target is an update target. do. The computing device 100 receives a response message through the wireless communication module 300 and transmits code update code software for the electronic control unit 200 which has transmitted the response message. The electronic control unit 200 receives the software update code data to update the software.

도 3은 본 발명의 일 실시예에 따른 양방향 통신을 통한 전자 제어 유닛의 소프트웨어 갱신을 위한 컴퓨팅 장치 블록도이다.3 is a block diagram of a computing device for software update of an electronic control unit via bidirectional communication in accordance with one embodiment of the present invention.

도시된 바와 같이, 컴퓨팅 장치(100)는 메모리(110)와 통신 인터페이스(120) 및 제어부(130)를 포함한다. 메모리(110)는 하나 이상의 기억소자로 구성될 수 있다. 이러한 메모리(110)에는 전자 제어 유닛(200)의 소프트웨어 갱신을 위한 컴퓨팅 장치용 소프트웨어 툴(PC Tool)이 저장된다. 통신 인터페이스(120)는 무선 통신 모듈(300)과의 통신 연결을 위한 인터페이스 구성으로서, 유선 인터페이스일 수 있다. 제어부(130)는 컴퓨팅 장치(100)의 전반을 제어하기 위한 CPU(Control Processing Unit)이다. 제어부(130)는 메모리(110)에 저장된 PC Tool을 실행하여 전자 제어 유닛의 소프트웨어 갱신을 위한 프로세스를 수행한다.As shown, the computing device 100 includes a memory 110, a communication interface 120, and a controller 130. The memory 110 may be composed of one or more memory devices. The memory 110 stores a software tool for a computing device (PC Tool) for updating the software of the electronic control unit 200. The communication interface 120 is an interface configuration for communication connection with the wireless communication module 300 and may be a wired interface. The controller 130 is a control processing unit (CPU) for controlling the first half of the computing device 100. The controller 130 executes a PC Tool stored in the memory 110 to perform a process for software update of the electronic control unit.

이하, 전자 제어 유닛에 저장된 소프트웨어 갱신을 위한 컴퓨팅 장치의 동작 실시예에 대해 설명한다. 우선, 제어부(130)는 소프트웨어 갱신이 필요한 차량 및 전자 제어 유닛을 스캔하기 위해 스캔 명령 메시지(Scan Command Message)를 생성하고, 생성된 스캔 명령 메시지를 통신 인터페이스(120)에 접속된 무선 통신 모듈(300)을 통해 외부로 전송한다. 스캔 명령 메시지의 포맷이 도 4에 예시되어 있다. 예시된 바와 같이, 스캔 명령 메시지에는 ECU ID 범위와 소프트웨어(SW) 버전과 하드웨어(HW) 버전 및 제조코드 범위에 대한 정보가 포함된다. 그리고 이들 정보는 컴퓨팅 장치 사용자의 입력에 의해 정해진다. 스캔 명령 메시지에 포함된 이들 정보는 소프트웨어 갱신이 필요한 전자 제어 유닛을 선별하기 위한 것이다.Hereinafter, an operation embodiment of the computing device for updating the software stored in the electronic control unit will be described. First, the controller 130 generates a scan command message to scan a vehicle and an electronic control unit requiring software update, and generates the generated scan command message in a wireless communication module connected to the communication interface 120. To the outside via 300). The format of the scan command message is illustrated in FIG. 4. As illustrated, the scan command message includes information about the ECU ID range, software (SW) and hardware (HW) version, and manufacturing code range. And this information is determined by the input of the computing device user. These information included in the scan command message are for selecting the electronic control unit which needs software update.

이후, 제어부(130)는 스캔 명령 메시지를 수신한 다수의 전자 제어 유닛들 중 선별 대상이 되는 하나 이상의 전자 제어 유닛으로부터 응답 메시지(Response Message)를 수신한다. 응답 메시지의 포맷이 도 5에 예시되어 있다. 예시된 바와 같이, 응답 메시지에는 응답 메시지를 전송한 전자 제어 유닛의 식별자(ECU ID)와 SW 버전과 HW 버전 및 제조코드 정보가 포함된다. 제어부(130)는 수신된 모든 응답 메시지에 속한 전자 제어 유닛 정보 리스트를 도 6과 같이 화면 출력한다. 사용자가 화면에 표시된 리스트 중 원하는 전자 제어 유닛을 선택하고 갱신을 명령하면, 제어부(130)는 선택된 전자 제어 유닛에 맞는 소프트웨어 갱신용 코드 데이터를 메모리(110)에서 추출하여 통신 인터페이스(120)를 통해 해당 전자 제어 유닛(200)으로 전송한다. 한편, 제어부(130)는 사용자의 선택이 없어도 응답 메시지를 전송한 모든 전자 제어 유닛(200)들로 소프트웨어 갱신용 코드 데이터를 전송할 수도 있다.Subsequently, the controller 130 receives a response message from one or more electronic control units that are the screening targets among the plurality of electronic control units that receive the scan command message. The format of the response message is illustrated in FIG. 5. As illustrated, the response message includes the identifier (ECU ID), SW version and HW version and manufacturing code information of the electronic control unit that transmitted the response message. The controller 130 outputs the electronic control unit information list belonging to all received response messages as shown in FIG. 6. When the user selects a desired electronic control unit from the list displayed on the screen and instructs an update, the controller 130 extracts code data for software update corresponding to the selected electronic control unit from the memory 110 and communicates through the communication interface 120. It transmits to the said electronic control unit 200. Meanwhile, the controller 130 may transmit the software update code data to all the electronic control units 200 which have transmitted the response message even without the user's selection.

도 7은 본 발명의 일 실시예에 따른 양방향 통신을 통한 소프트웨어 갱신 가능한 전자 제어 유닛 블록도이다.7 is a block diagram of a software updateable electronic control unit via bidirectional communication according to an embodiment of the present invention.

도시된 바와 같이, 전자 제어 유닛(200)은 무선 통신 모듈(210)과 저장부(220) 및 제어부(230)를 포함한다. 무선 통신 모듈(210)은 컴퓨팅 장치(100)와의 통신을 위한 구성이다. 일 실시예에 있어서, 무선 통신 모듈(210)은 RF 모듈이다. 저장부(220)는 하나 이상의 메모리를 포함할 수 있다. 저장부(220)에는 ECU 코드 데이터가 저장되며, 또한 전자 제어 유닛의 사양 정보인 ECU ID와 SW 버전과 HW 버전 및 제조코드 정보가 저장된다. 제어부(230)는 차량의 전자 제어를 위한 프로세스를 수행하기 위한 컨트롤러이다. 또한 본 발명의 일 실시예에 따라 제어부(230)는 저장부(220)에 저장된 ECU 코드 데이터를 갱신하는 프로세스도 수행한다.As shown, the electronic control unit 200 includes a wireless communication module 210, a storage unit 220, and a control unit 230. The wireless communication module 210 is a component for communication with the computing device 100. In one embodiment, the wireless communication module 210 is an RF module. The storage unit 220 may include one or more memories. The storage unit 220 stores ECU code data, and also stores ECU ID, SW version, HW version, and manufacturing code information, which are specification information of the electronic control unit. The controller 230 is a controller for performing a process for electronic control of the vehicle. In addition, according to an embodiment of the present invention, the control unit 230 also performs a process of updating the ECU code data stored in the storage unit 220.

이하, 소프트웨어 갱신을 위한 전자 제어 유닛(200)의 동작 실시예에 대해 설명한다. 우선, 제어부(230)는 무선 통신 모듈(210)을 통해 도 4에 도시된 바와 같은 스캔 명령 메시지를 수신한다. 제어부(230)는 수신된 스캔 명령 메시지를 해석하여 그 메시지에 들어있는 ECU ID 범위와 SW 버전과 HW 버전 및 제조코드 범위 정보를 확인한다. 그리고 제어부(230)는 저장부(220)에 저장된 전자 제어 유닛의 사양 정보가 스캔 명령 메시지에 포함된 정보에 속하는지를 판단한다. 속한다면, 제어부(230)는 도 5와 같은 응답 메시지를 생성하며, 생성된 응답 메시지를 무선 통신 모듈(210)을 통해 컴퓨팅 장치(100)로 전송한다. 응답 메시지를 전송한 이후, 제어부(230)는 무선 통신 모듈(210)을 통해 소프트웨어 갱신용 코드 데이터를 수신하고, 수신된 갱신용 코드 데이터를 저장부(220)에 저장하여 소프트웨어를 갱신한다.Hereinafter, an operation embodiment of the electronic control unit 200 for software update will be described. First, the controller 230 receives a scan command message as shown in FIG. 4 through the wireless communication module 210. The controller 230 interprets the received scan command message and checks the ECU ID range, SW version, HW version, and manufacturing code range information included in the message. The controller 230 determines whether the specification information of the electronic control unit stored in the storage 220 belongs to the information included in the scan command message. If so, the controller 230 generates a response message as shown in FIG. 5 and transmits the generated response message to the computing device 100 through the wireless communication module 210. After transmitting the response message, the controller 230 receives the code update code data through the wireless communication module 210 and stores the received update code data in the storage unit 220 to update the software.

도 8은 본 발명의 일 실시예에 따른 전자 제어 유닛에 저장된 소프트웨어 갱신을 위한 절차도이다.8 is a procedure diagram for updating software stored in an electronic control unit according to an embodiment of the present invention.

컴퓨팅 장치(100)는 주변 차량의 전자 제어 유닛을 검색하기 위해 스캔 명령 메시지를 생성하여 외부로 전송한다(S100). 여기서 스캔 명령 메시지는 ECU ID 범위와 SW 버전과 HW 버전 및 제조코드범위에 대한 정보를 포함하고 있으며, 도 4와 같은 포맷으로 이루어질 수 있다. 컴퓨팅 장치(100)의 무선 통신 유효 범위 내에 존재하는 전자 제어 유닛(200)은 스캔 명령 메시지를 수신하고, 그 수신된 스캔 명령 메시지를 해석하여 메시지에 들어 있는 ECU ID 범위와 SW 버전과 HW 버전 및 제조코드범위에 대한 정보를 확인한다. 전자 제어 유닛(200)은 자신의 사양 정보가 스캔 명령 메시지에 들어 있는 정보에 속하는 경우에 스캐닝 응답 메시지를 생성하여 컴퓨팅 장치(100)로 전송한다(S200). 여기서 스캐닝 응답 메시지(Scanning Response Message)는 전자 제어 유닛(200)의 ID(ECU ID)와 SW 버전과 HW 버전 및 제조코드 정보를 포함하며, 도 5와 같은 포맷으로 이루어질 수 있다.The computing device 100 generates and transmits a scan command message to the outside to search for the electronic control unit of the surrounding vehicle (S100). In this case, the scan command message includes information on the ECU ID range, the SW version, the HW version, and the manufacturing code range, and may have a format as shown in FIG. The electronic control unit 200 present within the wireless communication effective range of the computing device 100 receives the scan command message, interprets the received scan command message, and interprets the ECU ID range, SW version, HW version, and the like contained in the message. Check the information on the manufacturing code range. The electronic control unit 200 generates and transmits a scanning response message to the computing device 100 when its specification information belongs to the information included in the scan command message (S200). The scanning response message may include an ID (ECU ID), a SW version, a HW version, and a manufacturing code information of the electronic control unit 200, and may have a format as shown in FIG. 5.

컴퓨팅 장치(100)는 스캐닝 응답 메시지들을 수신하고, 그 수신된 메시지들을 해석하여 전자 제어 유닛들의 정보 리스트를 도 6과 같이 화면 출력한다. 사용자가 화면에 표시된 리스트 중 원하는 전자 제어 유닛을 선택하고 갱신을 명령하면, 컴퓨팅 장치(100)는 선택된 전자 제어 유닛(200)에 해당하는 소프트웨어 갱신용 코드 데이터를 통신 인터페이스(120)를 통해 전자 제어 유닛(200)으로 전송한다(S300). 한편, 컴퓨팅 장치(100)는 사용자의 선택이 없어도 응답 메시지를 전송한 모든 전자 제어 유닛(200)들로 소프트웨어 갱신용 코드 데이터를 전송할 수도 있다. 전자 제어 유닛(200)은 갱신용 코드 데이터를 수신하고, 수신된 갱신용 코드 데이터를 저장하여 소프트웨어를 갱신한다. 소프트웨어 갱신 후, 전자 제어 유닛(200)은 갱신이 완료되었음을 알리기 위한 메시지를 생성하여 컴퓨팅 장치(100)로 전송한다(S400). 이와 같은 방식으로, 예를 들어 RF 통신의 유효 범위를 30m로 가정하면, 반경 30m 이내에 존재하는 모든 차량에 대해서 ECU 갱신이 가능해진다.
The computing device 100 receives the scanning response messages, interprets the received messages, and outputs the information list of the electronic control units as shown in FIG. 6. When the user selects a desired electronic control unit from the list displayed on the screen and instructs an update, the computing device 100 electronically controls the code data for software update corresponding to the selected electronic control unit 200 through the communication interface 120. It transmits to the unit 200 (S300). Meanwhile, the computing device 100 may transmit the code data for software update to all the electronic control units 200 which have transmitted the response message even without the user's selection. The electronic control unit 200 receives the update code data, stores the received update code data, and updates the software. After the software update, the electronic control unit 200 generates a message for notifying that the update is completed and transmits the message to the computing device 100 (S400). In this way, for example, assuming that the effective range of the RF communication is 30 m, the ECU can be updated for all vehicles existing within a radius of 30 m.

이제까지 본 발명에 대하여 그 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far I looked at the center of the preferred embodiment for the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the disclosed embodiments should be considered in an illustrative rather than a restrictive sense. The scope of the present invention is defined by the appended claims rather than by the foregoing description, and all differences within the scope of equivalents thereof should be construed as being included in the present invention.

100 : 컴퓨팅 장치 110 : 메모리
120 : 통신 인터페이스 130 : 제어부
200 : 전자 제어 유닛 210 : 무선 통신 모듈
220 : 저장부 230 : 제어부
100: computing device 110: memory
120: communication interface 130: control unit
200: electronic control unit 210: wireless communication module
220: storage unit 230: control unit

Claims (8)

무선 통신 모듈과의 통신 접속을 위한 통신 인터페이스; 및
상기 통신 인터페이스에 접속된 상기 무선 통신 모듈을 통해 무선 통신 유효 범위 내에 존재하는 차량의 전자 제어 유닛들로 소프트웨어 갱신이 필요한지 여부 확인을 위한 스캔 명령 메시지를 전송하고, 상기 스캔 명령 메시지를 수신한 다수의 전자 제어 유닛들 중 갱신이 필요한 적어도 하나의 전자 제어 유닛으로부터 응답 메시지를 수신하며, 상기 응답 메시지를 전송한 전자 제어 유닛으로 소프트웨어 갱신용 코드 데이터를 전송하는 제어부;
를 포함하는 것을 특징으로 하는 양방향 통신을 통한 전자 제어 유닛의 소프트웨어 갱신을 위한 컴퓨팅 장치.
A communication interface for communication connection with a wireless communication module; And
Transmitting a scan command message for checking whether a software update is necessary to the electronic control units of the vehicle existing within a wireless communication effective range through the wireless communication module connected to the communication interface, and receiving the scan command message. A control unit for receiving a response message from at least one electronic control unit requiring updating among the electronic control units, and transmitting code data for software update to the electronic control unit which has transmitted the response message;
Computing device for software update of the electronic control unit via a bidirectional communication comprising a.
제1항에 있어서,
상기 스캔 명령 메시지에는 갱신 대상 정보인 전자 제어 유닛 식별자 범위와 소프트웨어 버전과 하드웨어 버전 및 제조코드 범위에 대한 정보가 포함됨을 특징으로 하는 양방향 통신을 통한 전자 제어 유닛의 소프트웨어 갱신을 위한 컴퓨팅 장치.
The method of claim 1,
And the scan command message includes information on the electronic control unit identifier range, the software version, the hardware version, and the manufacturing code range, which are update target information.
제2항에 있어서,
상기 응답 메시지에는 상기 응답 메시지를 전송하는 전자 제어 유닛의 고유 식별자와 소프트웨어 버전과 하드웨어 버전 및 제조코드에 대한 정보가 포함됨을 특징으로 하는 양방향 통신을 통한 전자 제어 유닛의 소프트웨어 갱신을 위한 컴퓨팅 장치.
The method of claim 2,
And the response message includes a unique identifier of the electronic control unit transmitting the response message, information on a software version, a hardware version, and a manufacturing code.
제3항에 있어서,
상기 제어부는 상기 수신된 모든 응답 메시지에 속한 전자 제어 유닛 정보 리스트를 화면 출력하며, 상기 출력된 리스트에서 선택된 전자 제어 유닛으로 소프트웨어 갱신용 코드 데이터를 전송함을 특징으로 하는 양방향 통신을 통한 전자 제어 유닛의 소프트웨어 갱신을 위한 컴퓨팅 장치.
The method of claim 3,
The control unit outputs the electronic control unit information list belonging to all of the received response messages, and transmits the code update code software to the electronic control unit selected from the output list. Computing Device for Software Update.
무선 통신을 위한 무선 통신 모듈;
전자 제어 유닛의 소프트웨어 코드 데이터가 저장되며, 상기 전자 제어 유닛의 식별자와 소프트웨어 버전과 하드웨어 버전 및 제조코드를 포함하는 소프트웨어 갱신 확인을 위한 정보가 저장된 저장부; 및
컴퓨팅 장치로부터 전자 제어 유닛 식별자 범위와 소프트웨어 버전과 하드웨어 버전 및 제조코드 범위에 대한 정보가 포함된 스캔 명령 메시지를 상기 무선 통신 모듈을 통해 수신하고, 상기 저장부에 저장된 소프트웨어 갱신 확인을 위한 정보가 상기 스캔 명령 메시지에 포함된 정보에 속하면 이를 알리기 위한 응답 메시지를 상기 컴퓨팅 장치로 전송하며, 상기 응답 메시지 전송 후 상기 컴퓨팅 장치로부터 갱신용 코드 데이터를 수신하여 상기 저장부에 저장된 코드 데이터를 갱신하는 제어부;
를 포함하는 것을 특징으로 하는 양방향 통신을 통한 소프트웨어 갱신 가능한 전자 제어 유닛.
A wireless communication module for wireless communication;
A storage unit for storing software code data of the electronic control unit and storing information for software update confirmation including the identifier, the software version, the hardware version, and the manufacturing code of the electronic control unit; And
Receive a scan command message including information on an electronic control unit identifier range, a software version, a hardware version, and a manufacturing code range from a computing device through the wireless communication module, and the information for confirming the software update stored in the storage unit is received. A control unit which transmits a response message to inform the computing device of the information included in the scan command message, and updates code data stored in the storage unit by receiving update code data from the computing device after transmitting the response message. ;
Software updateable electronic control unit via a bi-directional communication comprising a.
제5항에 있어서,
상기 소프트웨어 갱신 확인을 위한 정보에는 상기 전자 제어 유닛의 식별자와 소프트웨어 버전과 하드웨어 버전 및 제조코드가 포함되며, 상기 스캔 명령 메시지에는 전자 제어 유닛 식별자 범위와 소프트웨어 버전과 하드웨어 버전 및 제조코드 범위에 대한 정보가 포함됨을 특징으로 하는 양방향 통신을 통한 소프트웨어 갱신 가능한 전자 제어 유닛.
The method of claim 5,
The information for confirming the software update includes an identifier, a software version, a hardware version, and a manufacturing code of the electronic control unit, and the scan command message includes information about the electronic control unit identifier range, software version, hardware version, and manufacturing code range. Software updateable electronic control unit via two-way communication, characterized in that it comprises a.
무선 통신 모듈의 통신 유효 범위 내에 존재하는 차량의 전자 제어 유닛들로 소프트웨어의 갱신이 필요한지 여부 확인을 위한 스캔 명령 메시지를 상기 무선 통신 모듈을 통해 전송하는 단계;
상기 스캔 명령 메시지를 수신한 다수의 전자 제어 유닛들 중 갱신이 필요한 적어도 하나의 전자 제어 유닛으로부터 응답 메시지를 상기 무선 통신 모듈을 통해 수신하는 단계; 및
상기 응답 메시지를 전송한 전자 제어 유닛으로 소프트웨어 갱신용 코드 데이터를 상기 무선 통신 모듈을 통해 전송하는 단계;
를 포함하는 것을 특징으로 하는 컴퓨팅 장치에서 수행되는 양방향 통신을 통한 전자 제어 유닛의 소프트웨어 갱신 방법.
Transmitting a scan command message through the wireless communication module to confirm whether software update is required to the electronic control units of the vehicle existing within the communication valid range of the wireless communication module;
Receiving a response message through the wireless communication module from at least one electronic control unit requiring updating among the plurality of electronic control units that have received the scan command message; And
Transmitting, via the wireless communication module, software update code data to the electronic control unit which has transmitted the response message;
Software update method of the electronic control unit via bidirectional communication performed in a computing device comprising a.
컴퓨팅 장치로부터 전자 제어 유닛 식별자 범위와 소프트웨어 버전과 하드웨어 버전 및 제조코드 범위에 대한 정보가 포함된 스캔 명령 메시지를 수신하는 단계;
메모리에 저장된 전자 제어 유닛 식별자와 소프트웨어 버전과 하드웨어 버전 및 제조코드 정보가 상시 수신된 스캔 명령 메시지에 포함된 정보에 속하는지 확인하는 단계;
상기 확인 결과 속하면, 상기 메모리에 저장된 전자 제어 유닛 식별자와 소프트웨어 버전과 하드웨어 버전 및 제조코드 정보를 포함하는 응답 메시지를 생성하여 상기 컴퓨팅 장치로 전송하는 단계; 및
상기 응답 메시지 전송 이후 상기 컴퓨팅 장치로부터 소프트웨어 갱신용 코드 데이터를 수신하여 코드 데이터가 저장된 메모리를 갱신하는 단계;
를 포함하는 것을 특징으로 하는 전자 제어 유닛에서 수행되는 양방향 통신을 통한 소프트웨어 갱신 방법.
Receiving a scan command message including information about an electronic control unit identifier range, a software version, a hardware version, and a manufacturing code range from the computing device;
Checking whether the electronic control unit identifier, the software version, the hardware version, and the manufacturing code information stored in the memory belong to the information included in the always received scan command message;
Generating a response message including the electronic control unit identifier, the software version, the hardware version, and the manufacturing code information stored in the memory, if the belonging to the verification result is included; And
Receiving software update code data from the computing device after transmitting the response message to update the memory in which the code data is stored;
The software update method via bidirectional communication performed in the electronic control unit comprising a.
KR1020110084600A 2011-08-24 2011-08-24 Computing device for updating software of electronic control unit and the electronic control unit and method thereof KR20130021993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110084600A KR20130021993A (en) 2011-08-24 2011-08-24 Computing device for updating software of electronic control unit and the electronic control unit and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110084600A KR20130021993A (en) 2011-08-24 2011-08-24 Computing device for updating software of electronic control unit and the electronic control unit and method thereof

Publications (1)

Publication Number Publication Date
KR20130021993A true KR20130021993A (en) 2013-03-06

Family

ID=48174757

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110084600A KR20130021993A (en) 2011-08-24 2011-08-24 Computing device for updating software of electronic control unit and the electronic control unit and method thereof

Country Status (1)

Country Link
KR (1) KR20130021993A (en)

Similar Documents

Publication Publication Date Title
US9306735B2 (en) Electronic key registration system
US9509496B2 (en) Electronic key registration system
CN105278994A (en) Updating method and updating system of vehicle-mounted ECU (Electronic Control Unit) software
WO2018066353A1 (en) On-vehicle updating system, on-vehicle updating device, on-vehicle apparatus, and updating method
US20140232521A1 (en) Electronic key registration method and electronic key registration system
CN101687447A (en) Universal tire pressure monitoring sensor
CN104852897A (en) Operation terminal apparatus for manufacturing apparatus, and manufacturing system including the same
JP2013137729A (en) Program rewriting system, control device, program distribution device, identification information storage device, and method for rewriting program
CN110855318B (en) Tire pressure sensor upgrading method, device, equipment and medium
JP2016000436A (en) Robot control system
US20150142937A1 (en) Method and system for remote equipment data installation
US7895294B2 (en) Multimedia system and navigation unit terminal
CN104065704A (en) Method and system for motor vehicle detection
WO2017150233A1 (en) Terminal device and software rewriting program
CN105228090A (en) The localization method of power consumption equipment and the navigation system of power consumption equipment
KR101879820B1 (en) Security system and method for car
KR20130021993A (en) Computing device for updating software of electronic control unit and the electronic control unit and method thereof
KR20150043732A (en) System and method for software update of vehicle controller
US11853742B2 (en) Server, software update system, distribution method, and non-transitory storage medium
US20180160257A1 (en) Method for configuring devices and corresponding devices
KR20130022688A (en) Device for updating software of electronic control units in vehicle
CN111245894A (en) Batch configuration method and system for electronic identification reader-writer equipment of motor vehicle
JP2004040649A (en) On-vehicle communication equipment
WO2015084232A1 (en) Installation of wireless nodes in motor vehicles
KR101563132B1 (en) System and method for code registration for tire pressure monitoring system sensor module

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application