KR20130046903A - Apparatus and method for reprogramming a plurality of ecus - Google Patents
Apparatus and method for reprogramming a plurality of ecus Download PDFInfo
- Publication number
- KR20130046903A KR20130046903A KR1020110111574A KR20110111574A KR20130046903A KR 20130046903 A KR20130046903 A KR 20130046903A KR 1020110111574 A KR1020110111574 A KR 1020110111574A KR 20110111574 A KR20110111574 A KR 20110111574A KR 20130046903 A KR20130046903 A KR 20130046903A
- Authority
- KR
- South Korea
- Prior art keywords
- reprogramming
- main
- ecu
- node
- ecus
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric 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/02—Electric 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
- G06F15/163—Interprocessor communication
- G06F15/173—Interprocessor communication using an interconnection network, e.g. matrix, shuffle, pyramid, star, snowflake
- G06F15/17306—Intercommunication techniques
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60L—PROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
- B60L2270/00—Problem solutions or means not otherwise provided for
- B60L2270/40—Problem solutions or means not otherwise provided for related to technical updates when adding new parts or software
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Computer Security & Cryptography (AREA)
- Mechanical Engineering (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
본 발명은 복수의 ECU에 대한 리프로그래밍 장치 및 그 방법에 관한 것으로, 더욱 상세하게는 동일한 복수의 ECU에 대하여 동시에 리프로그래밍 하도록 하는 복수의 ECU에 대한 리프로그래밍 장치 및 그 방법에 관한 것이다.The present invention relates to a reprogramming apparatus for a plurality of ECUs and a method thereof, and more particularly, to a reprogramming apparatus and a method for a plurality of ECUs to reprogram the same plurality of ECUs at the same time.
기본적으로, ECU에 대한 리프로그래밍을 수행하기 위해서는 메인 PC와 ECU가 CAN 방식으로 연결되어, 메인 PC가 CAN 버스 상에 리프로그래밍을 위한 CAN 메시지를 송신하고, ECU가 CAN 메시지를 수신하여 리프로그래밍을 수행한다.Basically, in order to reprogram the ECU, the main PC and the ECU are connected in a CAN manner so that the main PC sends a CAN message for reprogramming on the CAN bus, and the ECU receives the CAN message to perform reprogramming. Perform.
한편, 동일한 목적으로 생산되는 ECU는 동일한 노드 ID를 갖는다.ECUs produced for the same purpose, on the other hand, have the same node ID.
동일한 목적으로 생산된 복수의 ECU에 대한 리프로그래밍을, 동일한 CAN 버스에서 동시에 수행 할 경우, 복수의 ECU가 모두 동일한 노드 ID를 갖기 때문에 충돌이 발생할 수 있다.If reprogramming of multiple ECUs produced for the same purpose is performed simultaneously on the same CAN bus, conflicts can occur because the multiple ECUs all have the same node ID.
본 발명의 목적은, 동일한 복수의 ECU에 대하여 동시에 리프로그래밍 하도록 하는 복수의 ECU에 대한 리프로그래밍 장치 및 그 방법을 제공함에 있다.SUMMARY OF THE INVENTION An object of the present invention is to provide a reprogramming apparatus for a plurality of ECUs and a method for reprogramming the same plurality of ECUs simultaneously.
또한, 본 발명의 다른 목적은, 메인 PC와 복수의 ECU 사이에서 메인 PC 및 복수의 ECU 각각에 대응하여 서로 다른 종류의 통신라인으로 연결된 통신노드를 통해 리프로그래밍을 위한 CAN 메시지를 송수신함으로써 동일한 환경의 ECU 간에 충돌을 일으키지 않고 리프로그래밍을 수행하도록 하는 복수의 ECU에 대한 리프로그래밍 장치 및 그 방법을 제공함에 있다.In addition, another object of the present invention is the same environment between the main PC and the plurality of ECUs by sending and receiving CAN messages for reprogramming through communication nodes connected to different types of communication lines corresponding to each of the main PC and the plurality of ECUs. The present invention provides a reprogramming device and a method for a plurality of ECUs to perform reprogramming without causing a collision between ECUs.
상기의 목적을 달성하기 위한 본 발명에 따른 복수의 ECU에 대한 리프로그래밍 장치는, 동일한 환경으로 동작하는 복수의 ECU에 대한 리프로그래밍 장치로서, 상기 ECU의 리프로그래밍을 위한 데이터를 제공하는 메인 PC에 대응되는 메인 노드의 통신 환경을 설정하고, 상기 메인 노드를 통한 상기 메인 PC와의 신호 송수신을 관리하는 메인 노드 관리부, 상기 메인 PC로부터 데이터를 수신하여 리프로그래밍을 수행하는 상기 복수의 ECU에 대응되는 서브 노드들에 대하여, 서로 다른 종류의 통신라인을 통해 대응하는 ECU와 연결되도록 통신 환경을 설정하고, 상기 서브 노드들을 통한 상기 복수의 ECU와의 신호 송수신을 관리하는 서브 노드 관리부, 및 상기 메인 노드를 통해 상기 ECU의 리프로그래밍을 위한 CAN 메시지가 수신되면, 상기 CAN 메시지를 상기 서브 노드들로 각각 출력하는 CAN 메시지 처리부를 포함하는 것을 특징으로 한다.A reprogramming apparatus for a plurality of ECUs according to the present invention for achieving the above object is a reprogramming apparatus for a plurality of ECUs operating in the same environment, the main PC for providing data for reprogramming of the ECU A sub node corresponding to the plurality of ECUs configured to set a communication environment of a corresponding main node, manage a signal transmission and reception with the main PC through the main node, and receive data from the main PC and perform reprogramming; For the nodes, a sub-node manager for setting a communication environment to be connected to a corresponding ECU through different types of communication lines, and managing signal transmission and reception with the plurality of ECUs through the sub-nodes, and through the main node. When the CAN message for reprogramming the ECU is received, the CAN message is sent to the sub It characterized in that it comprises a CAN message processor for each output to deudeul.
상기 CAN 메시지 처리부는, 상기 CAN 메시지에 대응하여 상기 서브 노드들을 통해 수신되는 응답 메시지로부터 상기 복수의 ECU에 대한 리프로그래밍 수행 결과를 확인하고, 각 ECU의 리프로그래밍 수행 결과를 상기 메인 노드로 출력하는 것을 특징으로 한다.The CAN message processor checks a result of reprogramming the plurality of ECUs from response messages received through the sub nodes in response to the CAN message, and outputs a result of reprogramming of each ECU to the main node. It is characterized by.
상기 CAN 메시지 처리부는, 상기 리프로그래밍 수행 결과 리프로그래밍에 실패한 ECU가 있는 경우, 상기 리프로그래밍 수행 결과에 해당 ECU의 통신노드 정보를 포함하여 출력하는 것을 특징으로 한다.When there is an ECU that has failed reprogramming as a result of the reprogramming, the CAN message processing unit outputs the communication node information of the corresponding ECU in the reprogramming result.
상기 메인 노드 및 상기 서브 노드들은, 서로 다른 통신 인터페이스를 통해 신호를 송수신하는 것을 특징으로 한다.The main node and the sub-nodes, characterized in that for transmitting and receiving signals through different communication interfaces.
상기 메인 노드 및 상기 서브 노드들은, CAN 통신 방식을 이용하여 신호를 송수신하는 것을 특징으로 한다.
The main node and the sub-nodes, characterized in that for transmitting and receiving signals using a CAN communication scheme.
한편, 상기의 목적을 달성하기 위한 본 발명에 따른 복수의 ECU에 대한 리프로그래밍 방법은, 동일한 환경으로 동작하는 복수의 ECU에 대한 리프로그래밍 방법으로서, 상기 ECU의 리프로그래밍을 위한 데이터를 제공하는 메인 PC에 대응되는 메인 노드의 통신 환경을 설정하는 단계, 상기 메인 PC로부터 데이터를 수신하여 리프로그래밍을 수행하는 상기 복수의 ECU에 대응되는 서브 노드들에 대하여, 서로 다른 종류의 통신라인을 통해 대응하는 ECU와 연결되도록 통신 환경을 설정하는 단계, 및 상기 메인 노드를 통해 상기 ECU의 리프로그래밍을 위한 CAN 메시지가 수신되면, 상기 서브 노드들로 상기 CAN 메시지를 각각 출력하는 단계를 포함하는 것을 특징으로 한다.Meanwhile, a reprogramming method for a plurality of ECUs according to the present invention for achieving the above object is a reprogramming method for a plurality of ECUs operating in the same environment, the main for providing data for reprogramming of the ECU. Setting a communication environment of a main node corresponding to a PC; corresponding to sub-nodes corresponding to the plurality of ECUs that receive data from the main PC and perform reprogramming; Setting a communication environment to be connected to an ECU, and if the CAN message for reprogramming of the ECU is received through the main node, outputting the CAN message to the sub nodes, respectively. .
본 발명은, 상기 CAN 메시지에 대응하여 상기 서브 노드들을 통해 수신되는 응답 메시지로부터 상기 복수의 ECU에 대한 리프로그래밍 수행 결과를 확인하는 단계, 및 각 ECU의 리프로그래밍 수행 결과를 생성하여 상기 메인 노드로 리프로그래밍 수행 결과를 출력하는 단계를 더 포함하는 것을 특징으로 한다.According to the present invention, the reprogramming result of the plurality of ECUs is checked from the response message received through the sub nodes in response to the CAN message, and the reprogramming result of each ECU is generated to the main node. And outputting a reprogramming performance result.
상기 리프로그래밍 수행 결과를 출력하는 단계는, 상기 리프로그래밍 수행 결과를 확인하는 단계에서 리프로그래밍에 실패한 ECU가 있는 경우, 상기 리프로그래밍 수행 결과에 해당 ECU의 통신노드 정보를 포함하여 출력하는 것을 특징으로 한다.The outputting of the reprogramming execution result may include outputting communication node information of the corresponding ECU in the reprogramming result when there is an ECU that has failed reprogramming in the step of checking the reprogramming execution result. do.
상기 메인 노드 및 상기 서브 노드들은, 서로 다른 통신 인터페이스를 통해 신호를 송수신하는 것을 특징으로 한다.The main node and the sub-nodes, characterized in that for transmitting and receiving signals through different communication interfaces.
상기 메인 노드 및 상기 서브 노드들은, CAN 통신 방식을 이용하여 신호를 송수신하는 것을 특징으로 한다.The main node and the sub-nodes, characterized in that for transmitting and receiving signals using a CAN communication scheme.
본 발명에 따르면, 메인 PC와 복수의 ECU 사이에서 메인 PC 및 복수의 ECU 각각에 대응하여 서로 다른 종류의 통신라인으로 연결된 통신노드를 통해 리프로그래밍을 위한 CAN 메시지를 송수신함으로써 동일한 환경의 ECU 간에 충돌을 일으키지 않고 동시에 리프로그래밍을 수행할 수 있는 이점이 있다.According to the present invention, a collision between ECUs in the same environment is achieved by transmitting and receiving CAN messages for reprogramming through communication nodes connected to different types of communication lines corresponding to each of the main PC and the plurality of ECUs between the main PC and the plurality of ECUs. There is an advantage in that reprogramming can be performed simultaneously without causing the problem.
또한, 복수의 ECU 각각으로부터 리프로그래밍 결과에 대한 응답 메시지를 수신함으로써, 리프로그래밍에 실패한 ECU의 확인이 용이한 이점이 있다.In addition, by receiving a response message for the reprogramming result from each of the plurality of ECUs, there is an advantage that it is easy to identify the ECU that has failed the reprogramming.
도 1은 본 발명에 따른 복수의 ECU에 대한 리프로그래밍 장치가 적용되는 시스템 구성을 설명하는데 참조되는 예시도이다.
도 2는 본 발명에 따른 복수의 ECU에 대한 리프로그래밍 장치의 구성을 설명하는데 참조되는 블록도이다.
도 3은 본 발명에 따른 복수의 ECU에 대한 리프로그래밍 장치의 CAN 메시지 제공 동작을 설명하는데 참조되는 예시도이다.
도 4는 본 발명에 따른 복수의 ECU에 대한 리프로그래밍 장치의 응답 메시지 제공 동작을 설명하는데 참조되는 예시도이다.
도 5는 본 발명에 따른 복수의 ECU에 대한 리프로그래밍 방법에 대한 동작 흐름을 도시한 순서도이다.1 is an exemplary diagram referred to for explaining a system configuration to which a reprogramming apparatus for a plurality of ECUs according to the present invention is applied.
2 is a block diagram referred to to explain the configuration of a reprogramming apparatus for a plurality of ECUs according to the present invention.
3 is an exemplary diagram referred to for explaining the operation of providing a CAN message of a reprogramming apparatus for a plurality of ECUs according to the present invention.
4 is an exemplary diagram referred to for explaining a response message providing operation of a reprogramming apparatus for a plurality of ECUs according to the present invention.
5 is a flowchart illustrating an operation flow of a reprogramming method for a plurality of ECUs according to the present invention.
이하, 첨부된 도면을 참조하여 본 발명의 실시예를 설명한다.
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
도 1은 본 발명에 따른 복수의 ECU에 대한 리프로그래밍 장치가 적용되는 시스템 구성을 설명하는데 참조되는 예시도이다.1 is an exemplary diagram referred to for explaining a system configuration to which a reprogramming apparatus for a plurality of ECUs according to the present invention is applied.
도 1에 도시된 바와 같이, 복수의 ECU에 대한 리프로그래밍 장치(이하, '리프로그래밍 장치'라 칭한다.)(100)는 메인 PC(10)와 동일한 환경으로 동작하는 복수의 ECU(20), 예를 들어, ECU_1, ECU_2, ..., ECU_N 사이에서 복수의 ECU(20) 각각에 대한 리프로그래밍을 지원하는 역할을 한다.As shown in FIG. 1, a reprogramming device (hereinafter referred to as a "reprogramming device") 100 for a plurality of ECUs includes a plurality of
이때, 리프로그래밍 장치(100)는 복수의 ECU(20) 각각에 대한 리프로그래밍을 지원하기 위한 서로 다른 복수의 통신노드를 구비한다.In this case, the
다시 말해, 리프로그래밍 장치(100)는 메인 PC(10)에 대응하는 메인 노드_A(101)를 구비하고, 복수의 ECU(20)에 대응하는 서브 노드들(105)을 구비한다. 따라서, 리프로그래밍 장치(100)에 구비된 메인 노드_A(101) 및 서브 노드들(105)은 각 노드의 통신 인터페이스를 통해 신호를 송수신하게 된다. In other words, the
각 노드, 즉, 메인 노드_A(101) 및 서브 노드들(105)의 통신 인터페이스는 CAN 통신 방식을 지원한다. 이때, 메인 노드_A(101) 및 서브 노드들(105)은 각각 서로 다른 통신라인, 즉, 서로 다른 CAN 버스로 연결된다. 이로 인하여 서브 노드들(105)은 서로 충돌하지 않고 연결된 각각의 ECU(20)로 CAN 메시지를 출력하는 것이 가능하게 된다.The communication interface of each node, that is, the main node_A 101 and the
따라서, 메인 PC(10)는 하나의 ECU가 연결된 것과 같이 인식하여 리프로그래밍 데이터를 포함하는 CAN 메시지를 리프로그래밍 장치의 메인 노드_A(101)로 출력하고, 리프로그래밍 장치(100)는 메인 PC(10)로부터의 CAN 메시지를 서브 노드들(20)에 연결된 서로 다른 CAN 버스를 통해 복수의 ECU(20)으로 전송하게 된다.Accordingly, the main PC 10 recognizes as if one ECU is connected, and outputs a CAN message including reprogramming data to the main node_A 101 of the reprogramming device, and the
이로써, 리프로그래밍 장치(100)는 메인 PC(10)와 복수의 ECU(20)가 CAN_BUS 상에서 각각 일대일(1:1)로 연결된 것과 같은 환경을 구현한다.As a result, the
리프로그래밍 장치(100)에 대한 구체적인 구성 설명은 도 2를 참조하도록 한다.
Detailed configuration description of the
도 2는 본 발명에 따른 복수의 ECU에 대한 리프로그래밍 장치의 구성을 설명하는데 참조되는 블록도이다.2 is a block diagram referred to to explain the configuration of a reprogramming apparatus for a plurality of ECUs according to the present invention.
도 2에 도시된 바와 같이, 본 발명에 따른 리프로그래밍 장치는 제어부(110), 입출력 인터페이스부(120), 통신부(130), 저장부(140), 메인 노드 관리부(150), 서브 노드 관리부(160), 및 CAN 메시지 처리부(170)를 포함한다. 이때, 제어부(110)는 리프로그래밍 장치의 각 부의 동작을 제어한다. As shown in FIG. 2, the reprogramming apparatus according to the present invention includes a
입출력 인터페이스부(120)는 리프로그래밍 대상이 되는 복수의 ECU의 리프로그래밍을 진행하기 위해 관리자로부터의 제어명령을 입력받는다.The input /
일 예로서, 입출력 인터페이스(120)는 메인 노드 및 서브 노드들의 통신환경을 설정하기 위한 정보를 관리자로부터 입력 받을 수 있다. 물론, 입출력 인터페이스부(120)는 리프로그래밍 장치(100)의 동작 상태를 출력하거나, 리프로그래밍 결과를 관리자에게 제공할 수도 있다.As an example, the input /
통신부(130)는 메인 노드와 메인 PC 사이의 신호 송수신을 위한 통신 인터페이스를 제공하는 제1 통신부(131)와, 서브 노드들과 그에 대응하는 각 ECU들 사이의 신호 송수신을 위한 통신 인터페이스를 제공하는 제2 통신부(135)를 포함한다.The
제1 통신부(131)와 제2 통신부(135)는 CAN 통신 방식의 통신 인터페이스를 제공한다. 이때, 제1 통신부(131)와 제2 통신부(135)는 서로 다른 CAN 버스로 연결된다.The
한편, 제2 통신부(135)는 복수의 통신모듈(미도시)을 구비하고, 복수의 통신모듈은 복수의 ECU와 일대일(1:1)로 대응되도록 연결된다. 물론, 제2 통신부(135)에 구비된 복수의 통신모듈 또한 각각 서로 다른 CAN 버스를 통해 대응되는 각 ECU와 연결된다.Meanwhile, the
일 예로서, 제1 통신부(131)는 도 1에 도시된 CAN_BUS_A를 통해 메인 PC와 통신 연결되고, 제2 통신부(135)는 도 1에 도시된 CAN_BUS_1, CAN_BUS_2, ..., CAN_BUS_N을 통해 각각의 ECU들과 통신 연결된다.As an example, the
저장부(140)는 메인 노드 및 서브 노드들의 정보가 저장된다. 일 예로서, 저장부(140)는 메인 노드 및 서브 노드들 각각에 대한 노드번호, 해당 노드와 연결되는 CAN 버스 정보 등이 저장되고, 각 노드와 연결되는 메인 PC 또는 각 ECU의 통신노드 정보 등이 저장될 수 있다.The
메인 노드 관리부(150)는 ECU의 리프로그래밍을 위한 데이터를 제공하는 메인 PC에 대응되는 메인 노드의 통신 환경을 설정하고, 메인 노드를 통한 메인 PC와의 신호 송수신을 관리한다. 일 예로서, 메인 노드 관리부(150)는 메인 노드의 통신 프로토콜 정보, 메인 노드와 연결되는 메인 PC의 통신노드 정보, CAN_BUS_A의 정보 등을 관리할 수 있다. The
서브 노드 관리부(160)는 메인 PC로부터 데이터를 수신하여 리프로그래밍을 수행하는 복수의 ECU에 대응되는 서브 노드들의 통신 환경을 설정하고, 서브 노드들을 통한 복수의 ECU와의 신호 송수신을 관리한다. 일 예로서, 서브 노드 관리부(160)는 서브 노드의 통신 프로토콜 정보, 각각의 서브 노드와 연결되는 ECU의 통신노드 정보 및 그에 대응하는 CAN_BUS 정보 등을 관리할 수 있다.The
CAN 메시지 처리부(170)는 메인 노드를 통해 ECU의 리프로그래밍 데이터를 포함하는 CAN 메시지가 수신되면, 수신된 CAN 메시지를 서브 노드들로 각각 출력한다. 물론, 서브 노드들로 출력된 CAN 메시지는 각 서브 노드와 연결된 CAN 버스를 통해 대응하는 ECU로 전송된다. 따라서, 복수의 ECU는 연결된 각 서브 노드로부터 전송되는 CAN 메시지에 포함된 리프로그래밍 데이터를 이용하여 리프로그래밍을 수행한다.When the CAN message processing unit 170 receives the CAN message including the reprogramming data of the ECU through the main node, the CAN message processing unit 170 outputs the received CAN message to the sub nodes, respectively. Of course, CAN messages output to the subnodes are transmitted to the corresponding ECU via the CAN bus connected to each subnode. Accordingly, the plurality of ECUs perform reprogramming using reprogramming data included in CAN messages transmitted from each connected subnode.
한편, CAN 메시지 처리부(170)는 각 서브 노드를 통해 각 ECU로 전송한 CAN 메시지에 대응하는 응답 메시지가 수신되면, 수신된 응답 메시지로부터 복수의 ECU에 대한 리프로그래밍 수행 결과를 확인한다. 이때, CAN 메시지 처리부(170)는 각 ECU의 리프로그래밍 수행 결과를 포함하는 응답 메시지를 메인 노드로 출력한다.Meanwhile, when a response message corresponding to a CAN message transmitted to each ECU is received through each sub node, the CAN message processor 170 checks the result of reprogramming of the plurality of ECUs from the received response message. At this time, the CAN message processing unit 170 outputs a response message including the result of the reprogramming of each ECU to the main node.
여기서, CAN 메시지 처리부(170)는 복수의 ECU에 대한 리프로그래밍 수행 결과를 취합한 하나의 응답 메시지를 메인 노드로 출력할 수도 있고, 각 ECU에 대한 리프로그래밍 수행 결과를 포함하는 각각의 응답 메시지를 메인 노드로 출력할 수도 있다.Here, the CAN message processing unit 170 may output one response message in which the reprogramming performance results of the plurality of ECUs are collected to the main node, and each response message including the reprogramming performance results for each ECU may be output. You can also output to the main node.
또한, CAN 메시지 처리부(170)는 리프로그래밍 수행 결과 리프로그래밍에 실패한 ECU가 있는 경우, 리프로그래밍 수행 결과에 해당 ECU의 통신노드 정보를 포함하여 메인 노드로 출력한다.In addition, when there is an ECU that has failed reprogramming as a result of the reprogramming, the CAN message processor 170 outputs the communication node information of the corresponding ECU to the main node in the reprogramming performance.
여기서, 해당 ECU의 통신노드 정보는 해당 통신노드를 식별할 수 있는 통신노드 번호 등의 정보가 포함될 수 있다. 이때, 복수의 노드들은 모두 동일한 목적으로 생성된 ECU이기 때문에 동일한 통신노드ID를 가질 수 있으므로, 통신노드ID 정보는 제외될 수 있다.
Here, the communication node information of the ECU may include information such as a communication node number for identifying the communication node. In this case, since the plurality of nodes may all have the same communication node ID because they are ECUs generated for the same purpose, communication node ID information may be excluded.
도 3은 본 발명에 따른 복수의 ECU에 대한 리프로그래밍 장치의 CAN 메시지 제공 동작을 설명하는데 참조되는 예시도이다.3 is an exemplary diagram referred to for explaining the operation of providing a CAN message of a reprogramming apparatus for a plurality of ECUs according to the present invention.
도 3을 참조하면, 메인 PC(10)는 (a)와 같이, 연결된 메인 노드_A(101)로 ECU의 리프로그래밍 데이터를 포함하는 CAN 메시지 A를 전송한다.Referring to FIG. 3, the
이때, 리프로그래밍 장치(100)는 메인 노드_A(101)을 통해 수신된 CAN 메시지 A를 서브 노드_1(105a), 서브 노드_2(105b), ..., 서브 노드_N(105n)로 각각 출력한다.At this time, the
한편, 각각의 서브 노드, 즉, 서브 노드_1(105a), 서브 노드_2(105b), ..., 서브 노드_N(105n)은 (b), (c), (d)와 같이, CAN 메시지 A를 대응하는 ECU_1(21), ECU_2(22), ..., ECU_N(29)로 각각 전송한다. 물론, 서브 노드_1(105a), 서브 노드_2(105b), ..., 서브 노드_N(105n)은 도 1에 도시된 서로 다른 CAN_BUS_1, CAN_BUS_2, ..., CAN_BUS_N을 통해 CAN 메시지 A를 각각 전송한다.On the other hand, each of the subnodes, namely, the subnode_1 (105a), the subnode_2 (105b), ..., the subnode_N (105n) is as shown in (b), (c), (d) , CAN message A is transmitted to the corresponding ECU_1 (21), ECU_2 (22), ..., ECU_N (29), respectively. Of course, the sub-node_1 (105a), sub-node_2 (105b), ..., sub-node_N (105n) is a CAN message through the different CAN_BUS_1, CAN_BUS_2, ..., CAN_BUS_N shown in FIG. Send A each.
이 경우, 서브 노드_1(105a), 서브 노드_2(105b), ..., 서브 노드_N(105n)은 서로 다른 CAN 버스를 통해 동일한 CAN 메시지 A를 전송하기 때문에 상호 간에 충돌이 일어나는 것을 방지할 수 있다.In this case, since the
따라서, ECU_1(21), ECU_2(22), ..., ECU_N(29)은 수신된 CAN 메시지 A에 포함된 리프로그래밍 데이터를 이용하여 리프로그래밍을 수행한다.
Accordingly, the
도 4는 본 발명에 따른 복수의 ECU에 대한 리프로그래밍 장치의 응답 메시지 제공 동작을 설명하는데 참조되는 예시도이다.4 is an exemplary diagram referred to for explaining a response message providing operation of a reprogramming apparatus for a plurality of ECUs according to the present invention.
도 4를 참조하면, 도 3에서 CAN 메시지 A를 수신한 ECU_1(21), ECU_2(22), ..., ECU_N(29)는 CAN 메시지에 근거하여 리프로그래밍을 수행하고, CAN 메시지 A에 대한 응답 메시지를 대응하는 서브 노드들(105a, 105b, 105n)로 각각 전송한다.Referring to FIG. 4, the
다시 말해, 서브 노드_1(105a)은 (a)와 같이 ECU_1(21)로부터 리프로그래밍 수행 결과에 대한 응답 메시지 1을 수신하고, 서브 노드_2(105b)는 (b)와 같이 ECU_2(22)로부터 리프로그래밍 수행 결과에 대한 응답 메시지 2를 수신한다. 이와 같은 방식으로, 서브 노드_N(105n)은 (c)와 같이 ECU_N(29)으로부터 리프로그래밍 수행 결과에 대한 응답 메시지 N을 수신한다.In other words, the
리프로그래밍 장치(100)는 서브 노드_1(105a), 서브 노드_2(105b), ..., 서브 노드_N(105n)을 통해 수신된 응답 메시지 1, 응답 메시지 2, ..., 응답 메시지 N으로부터 각 ECU(21, 22, 29)에 대한 리프로그래밍 결과를 확인하여 메인 노드_A(101)로 출력한다. 따라서, 메인 노드_A(101)는 (d)와 같이 메인 PC(10)로 응답 메시지를 전송한다.The
이때, 리프로그래밍 장치(100)는 응답 메시지 1, 응답 메시지 2, ..., 응답 메시지 N을 취합한 하나의 응답 메시지를 메인 PC(10)로 전송할 수 있고, 응답 메시지 1, 응답 메시지 2, ..., 응답 메시지 N를 각각 메인 PC(10)로 전송할 수 있다.At this time, the
한편, 리프로그래밍 장치(100)는 응답 메시지 1, 응답 메시지 2, ..., 응답 메시지 N으로부터 리프로그래밍에 실패한 ECU를 확인할 수 있다.On the other hand, the
만일, 리프로그래밍에 실패한 ECU가 있는 경우, (d)의 응답 메시지에 리프로그래밍에 실패한 ECU의 통신노드 정보를 포함하여, 메인 노드_A(101)를 통해 메인 PC(10)로 전송할 수 있다.If there is an ECU that has failed reprogramming, the response message of (d) may include the communication node information of the ECU that failed to reprogram, and transmit the information to the
여기서, 해당 ECU의 통신노드 정보는 해당 통신노드를 식별할 수 있는 통신노드 번호 등의 정보가 포함될 수 있다. 이때, 복수의 ECU(21, 22, 29)가 모두 동일한 목적으로 생성된 것이기 때문에 동일한 통신노드ID를 가질 수 있으므로, 통신노드ID 정보는 제외될 수 있다.
Here, the communication node information of the ECU may include information such as a communication node number for identifying the communication node. In this case, since the plurality of
도 5는 본 발명에 따른 복수의 ECU에 대한 리프로그래밍 방법에 대한 동작 흐름을 도시한 순서도이다.5 is a flowchart illustrating an operation flow of a reprogramming method for a plurality of ECUs according to the present invention.
도 5에 도시된 바와 같이, 본 발명에 따른 리프로그래밍 장치는 메인 PC와의 신호 송수신을 위한 통신 환경을 설정하여 메인 PC에 대응하는 메인 노드를 구성한다(S100). 또한, 리프로그래밍 장치는 복수의 ECU와 신호 송수신을 위한 통신 환경을 각각 설정하여 각 ECU에 대응하는 서브 노드들을 구성한다(S110).As shown in FIG. 5, the reprogramming apparatus according to the present invention sets up a communication environment for signal transmission and reception with a main PC to configure a main node corresponding to the main PC (S100). In addition, the reprogramming apparatus sets up a communication environment for signal transmission and reception with a plurality of ECUs, respectively, and configures sub nodes corresponding to each ECU (S110).
'S110' 과정은 각 서브 노드들과 연결된 CAN 버스 간에 송수신 되는 데이터가 충돌하는 것을 방지하기 위하여, 각각의 서브 노드들이 서로 다른 통신라인을 통해 대응하는 ECU와 각각 연결되도록 통신 환경을 설정한다.In order to prevent data transmission and reception between the sub-nodes and the CAN bus connected to each other, the 'S110' process sets the communication environment such that each sub-node is connected to the corresponding ECU through a different communication line.
이후, 메인 노드를 통해 ECU의 리프로그래밍을 위한 CAN 메시지가 수신되면(S120), 수신된 CAN 메시지를 서브 노드들을 통해 연결된 ECU로 각각 송신한다(S130). Then, when a CAN message for reprogramming the ECU is received through the main node (S120), each of the received CAN messages is transmitted to the ECU connected through the subnodes (S130).
복수의 ECU는 'S130' 과정에서 송신된 CAN 메시지에 근거하여 리프로그래밍을 수행하게 되고, 그 결과로서 응답 메시지를 리프로그래밍 장치로 송신한다.The plurality of ECUs perform reprogramming based on the CAN message transmitted in step S130, and as a result, transmit a response message to the reprogramming device.
따라서, 각 서브 노드를 통해 대응하는 ECU로부터의 응답 메시지가 수신되면(S140), 수신된 응답 메시지로부터 리프로그래밍 결과를 확인한다.Therefore, when a response message from the corresponding ECU is received through each sub node (S140), the reprogramming result is checked from the received response message.
즉, 수신된 응답 메시지가 해당 ECU의 리프로그래밍 완료 응답 메시지인 경우(S160), 해당 ECU의 완료 응답 메시지를 메인 노드를 통해 메인 PC로 송신한다(S170). 반면, 수신된 응답 메시지가 해당 ECU의 리프로그래밍 완료 응답 메시지가 아닌 경우(S160), 해당 ECU의 통신노드 정보를 포함하는 실패 응답 메시지를 메인 노드를 통해 메인 PC로 송신한다(S180).That is, when the received response message is the reprogramming completion response message of the ECU (S160), the completion response message of the ECU is transmitted to the main PC through the main node (S170). On the other hand, if the received response message is not a reprogramming completion response message of the ECU (S160), a failure response message including communication node information of the ECU is transmitted to the main PC through the main node (S180).
만일, 'S140' 과정에서 응답 메시지를 수신하지 못한 ECU가 있는 경우에는 해당 ECU에 대응하는 서브 노드를 통해 CAN 메시지를 재송신할 수 있다(S150).
If there is an ECU that has not received a response message in step S140, the CAN message may be retransmitted through a sub node corresponding to the corresponding ECU (S150).
이상과 같이 본 발명에 의한 복수의 ECU에 대한 리프로그래밍 장치 및 그 방법은 예시된 도면을 참조로 설명하였으나, 본 명세서에 개시된 실시예와 도면에 의해 본 발명은 한정되지 않고, 기술사상이 보호되는 범위 이내에서 응용될 수 있다.As described above, the reprogramming apparatus and method for a plurality of ECUs according to the present invention have been described with reference to the illustrated drawings, but the present invention is not limited by the embodiments and drawings disclosed herein, and the technical concept is protected. It can be applied within the range.
100: 리프로그래밍 장치 101: 메인 노드
105: 서브 노드 110: 제어부
120: 입출력 인터페이스부 130: 통신부
131: 제1 통신부 135: 제2 통신부
140: 저장부 150: 메인 노드 관리부
160: 서브 노드 관리부 170: CAN 메시지 처리부100: reprogramming device 101: main node
105: sub node 110: control unit
120: input and output interface unit 130: communication unit
131: first communication unit 135: second communication unit
140: storage unit 150: main node management unit
160: sub node management unit 170: CAN message processing unit
Claims (10)
상기 ECU의 리프로그래밍을 위한 데이터를 제공하는 메인 PC에 대응되는 메인 노드의 통신 환경을 설정하고, 상기 메인 노드를 통한 상기 메인 PC와의 신호 송수신을 관리하는 메인 노드 관리부;
상기 메인 PC로부터 데이터를 수신하여 리프로그래밍을 수행하는 상기 복수의 ECU에 대응되는 서브 노드들에 대하여, 서로 다른 종류의 통신라인을 통해 대응하는 ECU와 연결되도록 통신 환경을 설정하고, 상기 서브 노드들을 통한 상기 복수의 ECU와의 신호 송수신을 관리하는 서브 노드 관리부; 및
상기 메인 노드를 통해 상기 ECU의 리프로그래밍을 위한 CAN 메시지가 수신되면, 상기 CAN 메시지를 상기 서브 노드들로 각각 출력하는 CAN 메시지 처리부를 포함하는 것을 특징으로 하는 복수의 ECU에 대한 리프로그래밍 장치.Reprogramming apparatus for a plurality of ECUs operating in the same environment,
A main node manager configured to set a communication environment of a main node corresponding to a main PC providing data for reprogramming of the ECU, and manage signal transmission and reception with the main PC through the main node;
The sub-nodes corresponding to the plurality of ECUs that receive data from the main PC and perform reprogramming are configured to establish a communication environment so as to be connected to the corresponding ECUs through different types of communication lines, A sub node manager for managing signal transmission and reception with the plurality of ECUs through the control unit; And
And a CAN message processing unit for outputting the CAN message to the sub-nodes, when a CAN message for reprogramming of the ECU is received through the main node.
상기 CAN 메시지 처리부는,
상기 CAN 메시지에 대응하여 상기 서브 노드들을 통해 수신되는 응답 메시지로부터 상기 복수의 ECU에 대한 리프로그래밍 수행 결과를 확인하고, 각 ECU의 리프로그래밍 수행 결과를 상기 메인 노드로 출력하는 것을 특징으로 하는 복수의 ECU에 대한 리프로그래밍 장치.The method according to claim 1,
The CAN message processing unit,
The reprogramming result of the plurality of ECUs may be checked from the response message received through the sub nodes in response to the CAN message, and the reprogramming result of each ECU may be output to the main node. Reprogramming device for ECUs.
상기 CAN 메시지 처리부는,
상기 리프로그래밍 수행 결과 리프로그래밍에 실패한 ECU가 있는 경우, 상기 리프로그래밍 수행 결과에 해당 ECU의 통신노드 정보를 포함하여 출력하는 것을 특징으로 하는 복수의 ECU에 대한 리프로그래밍 장치.The method according to claim 2,
The CAN message processing unit,
If there is an ECU that has failed reprogramming as a result of the reprogramming, the reprogramming apparatus for a plurality of ECUs, including the communication node information of the corresponding ECU in the reprogramming performance.
상기 메인 노드 및 상기 서브 노드들은,
서로 다른 통신 인터페이스를 통해 신호를 송수신하는 것을 특징으로 하는 복수의 ECU에 대한 리프로그래밍 장치.The method according to claim 1,
The main node and the sub nodes,
Reprogramming device for a plurality of ECU, characterized in that for transmitting and receiving signals through different communication interfaces.
상기 메인 노드 및 상기 서브 노드들은,
CAN 통신 방식을 이용하여 신호를 송수신하는 것을 특징으로 하는 복수의 ECU에 대한 리프로그래밍 장치.The method of claim 4,
The main node and the sub nodes,
Reprogramming device for a plurality of ECU, characterized in that for transmitting and receiving signals using a CAN communication method.
상기 ECU의 리프로그래밍을 위한 데이터를 제공하는 메인 PC에 대응되는 메인 노드의 통신 환경을 설정하는 단계;
상기 메인 PC로부터 데이터를 수신하여 리프로그래밍을 수행하는 상기 복수의 ECU에 대응되는 서브 노드들에 대하여, 서로 다른 종류의 통신라인을 통해 대응하는 ECU와 연결되도록 통신 환경을 설정하는 단계; 및
상기 메인 노드를 통해 상기 ECU의 리프로그래밍을 위한 CAN 메시지가 수신되면, 상기 서브 노드들로 상기 CAN 메시지를 각각 출력하는 단계를 포함하는 것을 특징으로 하는 복수의 ECU에 대한 리프로그래밍 방법.Reprogramming method for multiple ECUs operating in the same environment,
Setting a communication environment of a main node corresponding to a main PC providing data for reprogramming of the ECU;
Setting a communication environment for sub-nodes corresponding to the plurality of ECUs that receive data from the main PC to perform reprogramming, so as to be connected to corresponding ECUs through different types of communication lines; And
And when the CAN message for reprogramming of the ECU is received through the main node, outputting the CAN message to the subnodes, respectively.
상기 CAN 메시지에 대응하여 상기 서브 노드들을 통해 수신되는 응답 메시지로부터 상기 복수의 ECU에 대한 리프로그래밍 수행 결과를 확인하는 단계; 및
각 ECU의 리프로그래밍 수행 결과를 생성하여 상기 메인 노드로 리프로그래밍 수행 결과를 출력하는 단계;를 더 포함하는 것을 특징으로 하는 복수의 ECU에 대한 리프로그래밍 방법.The method of claim 6,
Confirming a reprogramming result of the plurality of ECUs from a response message received through the sub nodes in response to the CAN message; And
And generating a reprogramming result of each ECU and outputting a reprogramming result to the main node.
상기 리프로그래밍 수행 결과를 출력하는 단계는,
상기 리프로그래밍 수행 결과를 확인하는 단계에서 리프로그래밍에 실패한 ECU가 있는 경우, 상기 리프로그래밍 수행 결과에 해당 ECU의 통신노드 정보를 포함하여 출력하는 것을 특징으로 하는 복수의 ECU에 대한 리프로그래밍 방법.The method of claim 7,
The outputting of the reprogramming execution result may include:
If there is an ECU that has failed reprogramming in the step of checking the reprogramming execution result, the reprogramming method for a plurality of ECU, characterized in that the output including the communication node information of the ECU in the reprogramming performance result.
상기 메인 노드 및 상기 서브 노드들은,
서로 다른 통신 인터페이스를 통해 신호를 송수신하는 것을 특징으로 하는 복수의 ECU에 대한 리프로그래밍 방법.The method of claim 6,
The main node and the sub nodes,
Reprogramming method for a plurality of ECU, characterized in that for transmitting and receiving signals through different communication interfaces.
상기 메인 노드 및 상기 서브 노드들은,
CAN 통신 방식을 이용하여 신호를 송수신하는 것을 특징으로 하는 복수의 ECU에 대한 리프로그래밍 방법.
The method according to claim 9,
The main node and the sub nodes,
Reprogramming method for a plurality of ECU, characterized in that for transmitting and receiving signals using a CAN communication method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110111574A KR101268677B1 (en) | 2011-10-28 | 2011-10-28 | Apparatus and method for reprogramming a plurality of ECUs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110111574A KR101268677B1 (en) | 2011-10-28 | 2011-10-28 | Apparatus and method for reprogramming a plurality of ECUs |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20130046903A true KR20130046903A (en) | 2013-05-08 |
KR101268677B1 KR101268677B1 (en) | 2013-05-29 |
Family
ID=48658474
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020110111574A KR101268677B1 (en) | 2011-10-28 | 2011-10-28 | Apparatus and method for reprogramming a plurality of ECUs |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101268677B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102273410B1 (en) * | 2020-01-10 | 2021-07-06 | 성균관대학교산학협력단 | A device, system and a method for reprograming electronic control unit |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4654750B2 (en) | 2005-04-22 | 2011-03-23 | 株式会社デンソー | Automotive control system |
JP2011093389A (en) | 2009-10-28 | 2011-05-12 | Autonetworks Technologies Ltd | Control system, electronic devices, control device, and method for starting devices |
-
2011
- 2011-10-28 KR KR1020110111574A patent/KR101268677B1/en active IP Right Grant
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102273410B1 (en) * | 2020-01-10 | 2021-07-06 | 성균관대학교산학협력단 | A device, system and a method for reprograming electronic control unit |
US11983518B2 (en) | 2020-01-10 | 2024-05-14 | Research & Business Foundation Sungkyunkwan University | Device, system and a method for reprograming electronic control unit |
Also Published As
Publication number | Publication date |
---|---|
KR101268677B1 (en) | 2013-05-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3229420A1 (en) | Method for establishing persistent connection between multiple smart devices and server, and smart device | |
US20120066423A1 (en) | Inter-integrated circuit bus multicasting | |
JP2008539622A (en) | Secure bus subscriber address assignment | |
CN101405666A (en) | Method and control and data transmission system for verifying the installation location of a secure communications component | |
US20070234032A1 (en) | System and method for chassis management | |
CN110320829B (en) | Safety control system and safety control unit | |
CN102165736B (en) | System and method for connecting a security system using a network | |
CN104169817A (en) | Control device for controlling safety-critical processes in an automated plant and method for parameterizing the control device | |
CN103186440A (en) | Method, device and system for detecting in-place state of sub cards | |
CN102098196B (en) | The data transmission method of blade server | |
CN102801686A (en) | Equipment control method, main equipment, secondary equipment as well as main-secondary equipment group | |
KR101268677B1 (en) | Apparatus and method for reprogramming a plurality of ECUs | |
KR20180123627A (en) | Automation system and method for operation | |
KR20160142440A (en) | Inverter controlling method | |
JP4850704B2 (en) | Data transmission method and apparatus | |
US20140204804A1 (en) | Method For The Exchange Of Data Between Nodes Of A Server Cluster, And Server Cluster Implementing Said Method | |
CN106708701B (en) | Central maintenance device and method based on ARINC659 bus | |
CN103081412A (en) | Programmable logic controller | |
CN103370906B (en) | Communication system | |
US20130067130A1 (en) | Bus control apparatus and bus control method | |
CN114326364A (en) | System and method for secure connection in high availability industrial controllers | |
RU180923U1 (en) | DISCRETE SIGNAL INPUT MODULE | |
JP2018502465A (en) | Data transmission between at least one secure producer and at least one secure consumer | |
JP2006042164A (en) | Gateway device | |
US20190052459A1 (en) | Method for generating a secret in a network having at least two transmission channels |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20151223 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20190401 Year of fee payment: 9 |