KR20150049876A - Apparatus and Method Diagnosing Controller for Vehicle - Google Patents

Apparatus and Method Diagnosing Controller for Vehicle Download PDF

Info

Publication number
KR20150049876A
KR20150049876A KR1020130131009A KR20130131009A KR20150049876A KR 20150049876 A KR20150049876 A KR 20150049876A KR 1020130131009 A KR1020130131009 A KR 1020130131009A KR 20130131009 A KR20130131009 A KR 20130131009A KR 20150049876 A KR20150049876 A KR 20150049876A
Authority
KR
South Korea
Prior art keywords
ems
positive
diagnostic
request
kwp
Prior art date
Application number
KR1020130131009A
Other languages
Korean (ko)
Other versions
KR102110581B1 (en
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 KR1020130131009A priority Critical patent/KR102110581B1/en
Publication of KR20150049876A publication Critical patent/KR20150049876A/en
Application granted granted Critical
Publication of KR102110581B1 publication Critical patent/KR102110581B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/02Ensuring safety in case of control system failures, e.g. by diagnosing, circumventing or fixing failures
    • 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
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/04Monitoring the functioning of the control system

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Transportation (AREA)
  • Small-Scale Networks (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The present invention relates to an apparatus for diagnosing a controller for a vehicle and a method for that. According to the present invention, the apparatus for diagnosing a controller for a vehicle is capable of diagnosing controllers even when different controllers operating on different communication methods are installed in a specific vehicle. The present invention is able to to prevent operational errors caused by the excessive generation of S/W versions for each vehicle type.

Description

차량용 제어기 진단 장치 및 방법{Apparatus and Method Diagnosing Controller for Vehicle}Technical Field [0001] The present invention relates to an apparatus and a method for diagnosing a controller for a vehicle,

본 발명은 차량용 제어기 진단 장치 및 방법에 관한 것으로서, 보다 구체적으로는 통신 방식이 상이한 제어기들을 진단하는 장치 및 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus and method for diagnosing a controller for a vehicle, and more particularly, to an apparatus and a method for diagnosing controllers having different communication methods.

차량 통신 프로토콜에는 CAN, LIN, MOST, FlexRay 등이 있다.Vehicle communication protocols include CAN, LIN, MOST, and FlexRay.

이 중 CAN 통신은 제어기 간 통신과 제어기와 진단기 간 통신으로 구분되며, 차량용 시동키가 키 박스에 삽입되고 회전되어 IGN ON에 위치되면 각 제어기에 배터리의 전원이 인가되어 통신이 개시되고, 각 제어기는 차량 고속 CAN 네트워크를 통해 브로드캐스팅(Broadcasting) 방식으로 메인 버스에 메시지를 전송한다.Among them, CAN communication is classified into communication between controller and communication between controller and diagnosis. When the vehicle's starter key is inserted into the key box and rotated and placed in the IGN ON, communication is started by supplying battery power to each controller, Transmits a message to the main bus in a broadcasting manner via a vehicle high-speed CAN network.

제어기 간 통신에 있어서 각 제어기는 협조 제어를 위해 필요한 각종 데이터를 주고 받고, 차량 운행 중 각 제어기는 시스템의 결함 및 통신상의 문제 때문에 발생하는 각종 자기진단코드(Diagnostic Trouble Code : DTC)를 저장하며, 일부 심각한 고장의 경우 클러스터의 각종 램프를 점등함으로써 운전자에게 경각심을 불러 일으킨다.In the inter-controller communication, each controller sends and receives various data necessary for coordinated control. During controller operation, each controller stores various diagnostic trouble codes (DTC) generated due to defects in the system and communication problems, In the case of some serious failures, the lamps of the cluster are turned on to alert the driver.

해당 차량의 문제를 파악하기 위해 외부에서 진단기를 진단 커넥터에 연결하면, 각각의 제어기에 저장된 DTC를 확인할 수 있고 이를 통해 문제를 해결할 수 있다.By connecting a diagnostic to the diagnostic connector from the outside to identify the problem of the vehicle, the DTC stored in each controller can be checked and the problem can be solved.

예컨대, 진단기를 진단 커넥터에 연결한 상태에서 차량의 시동키를 IGN ON 하면, 각 제어기에 배터리의 전원이 인가되면서 각 제어기는 웨이크업(Wake-Up)되어 각 제어기 간 통신을 개시한다.For example, when the diagnosis key is connected to the diagnostic connector and the ignition key of the vehicle is turned on, each controller is woken up with power of the battery applied to each controller to start communication between the controllers.

이와 같은 상태에서 진단기는 특정 제어기의 리프로그램 시행 여부를 판단하여 특정 제어기의 리프로그램을 시행하는 경우, 모든 제어기에 통신 중지를 요청하고, 이에 따라 모든 제어기의 통신 중지가 완료되면, 진단기는 제1 제어기에 서비스데이터, DTC, 강제구동, 리프로그램 등의 기능을 선택하여 요청(Request)하고, 제1 제어기는 그 요청에 대해 진단기에 응답(Response)하되, 이 요청과 응답을 제n 제어기까지 반복수행한다.In this state, the diagnostic unit determines whether or not to execute the reprogram of the specific controller. When the reprogramming of the specific controller is executed, the diagnostic unit requests the communication stoppage to all the controllers. The first controller requests the controller to select functions such as service data, DTC, forced driving, and reprogramming, and the first controller responds to the request to the diagnostic unit, repeating the request and the response to the nth controller .

이와 같이 제어기와 진단기 간 진단 CAN 통신은 1:1 통신으로서 진단기의 요청과 제어기의 응답 순으로 진행된다.In this way, diagnosis CAN communication between the controller and the diagnosis unit is 1: 1 communication, in the order of the request of the diagnostic unit and the response of the controller.

즉, 진단 CAN 통신은 하나의 라인인 공통 버스를 통해 통신을 하며 진단기와 제어기는 각각 요청 및 응답에 대한 특정 ID가 부여된다.That is, the diagnostic CAN communication communicates over a common bus, one line, and the diagnostic and controller are given specific IDs for requests and responses, respectively.

그리고 진단기는 각 제어기의 DTC 정보를 모니터링 하기 위해 IGN ON->차종 선택->제어기 선택->기능 선택(서비스 데이터, DTC, 강제구동, 리프로그램)과 같은 일련의 진행과정들을 거치고, 진단 정보 모니터링을 함에 있어 n개의 제어기에 대한 정보 입수를 위해 n번의 동작을 반복한다.In order to monitor the DTC information of each controller, the diagnostic unit goes through a series of processes such as IGN ON-> Vehicle Selection-> Controller Selection-> Function Selection (Service Data, DTC, Forced Drive, Reprogram) In order to obtain information on n controllers, n operations are repeated.

그러나, 통신 방식이 다른 제어기(ECU)들이 탑재될 경우, 즉 특정 차량에 KWP2000 통신 방식을 사용하는 제어기와 UDS 통신 방식을 사용하는 제어기가 탑재될 경우, 각 제어기 진단을 위한 통신 프로토콜의 기준 수립이 불가능하고, 개통시 제어기별 설정 정보를 제공할 수 없으며, 통신 방식이 다른 제어기(ECU)들이 동일 CAN ID를 사용하므로 이종 제어기간 구분이 불가능하여 각 제어기를 정확히 진단할 수 없다 라는 문제점이 있다.However, when controllers having different communication schemes are mounted, that is, when a controller using a KWP2000 communication system and a controller using a UDS communication system are mounted on a specific vehicle, the establishment of a communication protocol standard for each controller diagnosis It is not possible to provide the setting information for each controller at the time of opening, and since the controllers (ECUs) having different communication methods use the same CAN ID, different control periods can not be distinguished and each controller can not be diagnosed correctly.

즉, UDS 통신 방식을 사용하는 제어기는 KWP2000 통신 방식을 사용하는 제어기와의 하위 호환성이 없으므로, KWP2000 통신 방식을 사용하는 제어기와의 통신을 위해서는 KWP2000 및 UDS I/F가 별도로 개발되어야 한다.That is, since the controller using the UDS communication method is not backward compatible with the controller using the KWP2000 communication method, the KWP2000 and UDS I / F must be separately developed for communication with the controller using the KWP2000 communication method.

본 발명은 상기와 같은 문제점을 감안하여 창출한 것으로서, 특정 차량에 통신 방식이 다른 제어기가 탑재되더라도 이들에 대한 진단을 할 수 있는 차량용 제어기 진단 장치 및 방법을 제공하는 데 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and it is an object of the present invention to provide a vehicle controller diagnostic apparatus and method capable of diagnosing a specific vehicle even if a controller having a different communication method is mounted.

전술한 목적을 달성하기 위하여, 본 발명의 일면에 따른 EMS 및 각 ECU를 포함하는 차량용 제어기의 진단 장치는 차량 시동 온 시 KWP2000 통신 방식으로 KWP Request 메시지를 상기 EMS 및 각 ECU에 전송하고, 이에 응답한 상기 EMS 및 각 ECU로부터의 Positive Rsq 메시지를 수신하면, 진단 통신 방식을 KWP2000 통신 방식으로 설정하는 텔레매틱스 유닛을 포함하고, 상기 텔레매틱스 유닛은 상기 Positive Rsq 메시지를 수신하지 못하면, UDS 통신 방식으로 UDS Request 메시지를 상기 EMS 및 각 ECU에 전송하며, 이에 응답한 상기 EMS 및 각 ECU로부터 Positive Rsq 메시지를 수신하면, 상기 진단 통신 방식을 UDS 통신 방식으로 설정하는 것을 특징으로 한다.In order to achieve the above-mentioned object, the diagnostic apparatus of the EMS and the ECU for each vehicle according to the embodiment of the present invention transmits a KWP Request message to the EMS and each ECU by the KWP2000 communication method when the vehicle is turned on, And a telematics unit for receiving a positive Rsq message from each of the EMS and each ECU and setting a diagnostic communication mode to a KWP2000 communication system. If the positive Rsq message is not received, the telematics unit transmits a UDS Request Transmits the message to the EMS and each ECU, and upon receiving the positive Rsq message from the EMS and each ECU responding thereto, sets the diagnostic communication method to the UDS communication method.

본 발명의 다른 면에 따른 EMS 및 각 ECU를 포함하는 차량용 제어기의 진단 방법은 차량 시동 온 시 KWP2000 통신 방식으로 KWP Request 메시지를 상기 EMS 및 각 ECU에 전송하는 단계; 상기 KWP Request 메시지에 응답한 상기 EMS 및 각 ECU로부터의 Positive Rsq 메시지를 수신하면, 진단 통신 방식을 KWP2000 통신 방식으로 설정하는 단계; 상기 KWP Request 메시지에 응답한 상기 Positive Rsq 메시지를 수신하지 못하면, UDS 통신 방식으로 UDS Request 메시지를 상기 EMS 및 각 ECU에 전송하는 단계; 및 상기 UDS Request 메시지에 응답한 상기 EMS 및 각 ECU로부터 Positive Rsq 메시지를 수신하면, 상기 진단 통신 방식을 UDS 통신 방식으로 설정하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method of diagnosing a vehicle controller including an EMS and each ECU, the method comprising: transmitting a KWP Request message to the EMS and each ECU using a KWP2000 communication method when the vehicle is turned on; Receiving a positive Rsq message from the EMS and each ECU in response to the KWP Request message; setting a diagnostic communication mode to a KWP2000 communication mode; Transmitting a UDS Request message to the EMS and each ECU by a UDS communication method if the positive Rsq message is not received in response to the KWP Request message; And setting the diagnostic communication method to the UDS communication method upon receiving the positive Rsq message from the EMS and each ECU in response to the UDS Request message.

본 발명에 따르면, 차종별 S/W 버전 과다 발생에 의한 관리 오류를 방지할 수 있는 효과가 있다.According to the present invention, it is possible to prevent a management error due to excessive S / W version generation for each vehicle type.

도 1은 본 발명의 일 실시예에 따른 차량용 제어기 진단 장치를 설명하기 위한 도면.
도 2 및 도 3은 메시지 송수신을 설명하기 위한 도면.
도 4는 본 발명의 일 실시예에 따른 차량용 제어기 진단 방법을 설명하기 위한 흐름도.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a view for explaining a controller for a vehicle controller according to an embodiment of the present invention; FIG.
Figs. 2 and 3 are diagrams for explaining message transmission / reception; Fig.
4 is a flowchart illustrating a method for diagnosing a controller for a vehicle according to an embodiment of the present invention.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 것이며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 용이하게 이해할 수 있도록 제공되는 것이며, 본 발명은 청구항의 기재에 의해 정의된다. 한편, 본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다(comprises)" 또는 "포함하는(comprising)"은 언급된 구성요소, 단계, 동작 및/또는 소자 이외의 하나 이상의 다른 구성요소, 단계, 동작 및/또는 소자의 존재 또는 추가를 배제하지 않는다.BRIEF DESCRIPTION OF THE DRAWINGS The advantages and features of the present invention and the manner of achieving them will become apparent with reference to the embodiments described in detail below with reference to the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. And is intended to enable a person skilled in the art to readily understand the scope of the invention, and the invention is defined by the claims. It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. In the present specification, the singular form includes plural forms unless otherwise specified in the specification. It is noted that " comprises, " or "comprising," as used herein, means the presence or absence of one or more other components, steps, operations, and / Do not exclude the addition.

이하, 도 1 내지 도 3을 참조하여 본 발명의 일 실시예에 따른 차량용 제어기 진단 장치를 설명한다. 도 1은 본 발명의 일 실시예에 따른 차량용 제어기 진단 장치를 설명하기 위한 도면이고, 도 2 및 도 3은 메시지 송수신을 설명하기 위한 도면이다.Hereinafter, a vehicle controller diagnosis apparatus according to an embodiment of the present invention will be described with reference to FIGS. 1 to 3. FIG. FIG. 1 is a block diagram for explaining a diagnostic apparatus for a controller for a vehicle according to an embodiment of the present invention, and FIGS. 2 and 3 are diagrams for explaining message transmission / reception.

도 1에 도시된 바와 같이, 본 발명의 차량용 제어기 진단 장치는 텔레매틱스 유닛(TMU : Telematics Unit, 100), EMS(200) 및 각 ECU(301, 302, 303, 304, 305, 306, 307)를 포함한다.1, the vehicle controller diagnosis apparatus includes a telematics unit (TMU) 100, an EMS 200, and respective ECUs 301, 302, 303, 304, 305, 306, and 307 .

차량용 시동키가 키 박스에 삽입되고 회전되어 IGN ON에 위치되고 차량의 각 제어기(TCU ECU, TPMS ECU, MDPS ECU, SCC ECU, EMS, ECS ECU, ABS ECU, EPB ECU 등)에 배터리의 전원이 인가되어 통신이 개시되면, 텔레매틱스 유닛(100)은 먼저 KWP2000 통신 방식으로 KWP Request 메시지를 EMS(200) 및 각 ECU(301, 302, 303, 304, 305, 306, 307)에 전송하고, EMS(200) 및 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터 Positive Rsq 메시지를 수신하면, 진단 통신 방식을 KWP2000 통신 방식으로 설정한다.When the vehicle's ignition key is inserted into the key box and rotated to the IGN ON position and the battery power is supplied to each controller (TCU ECU, TPMS ECU, MDPS ECU, SCC ECU, EMS, ECS ECU, ABS ECU and EPB ECU) The telematics unit 100 first transmits a KWP Request message to the EMS 200 and each of the ECUs 301, 302, 303, 304, 305, 306 and 307 in the KWP2000 communication method, 200, 303, 304, 305, 306, 307 and the respective ECUs 301, 302, 303, 304, 305, 306, 307, the diagnostic communication method is set to the KWP2000 communication method.

그러나, 텔레매틱스 유닛(100)은 먼저 KWP2000 통신 방식으로 KWP Request 메시지를 EMS(200) 및 각 ECU(301, 302, 303, 304, 305, 306, 307)에 전송하고, 이에 응답하여 EMS(200) 및 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터 Positive Rsq 메시지를 수신하지 못하면, UDS 통신 방식으로 UDS Request 메시지를 EMS(200) 및 각 ECU(301, 302, 303, 304, 305, 306, 307)에 전송하며, 이에 응답하여 EMS(200) 및 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터 Positive Rsq 메시지를 수신하면, 진단 통신 방식을 UDS 통신 방식으로 설정한다. However, the telematics unit 100 first transmits a KWP Request message to the EMS 200 and each of the ECUs 301, 302, 303, 304, 305, 306 and 307 in the KWP2000 communication method, The EMS 200 and each of the ECUs 301, 302, 303, and 304 may transmit a UDS Request message using the UDS communication method if the positive Rsq message is not received from the ECUs 301, 302, 303, 304, 305, 306, 305, 306, 307 and receives a positive Rsq message from the EMS 200 and each ECU 301, 302, 303, 304, 305, 306, 307 in response to the positive Rsq message, .

텔레매틱스 유닛(100)은 EMS(200)에 KWP2000 통신 방식, UDS 통신 방식 순으로 VIN(Vehicle Identification Number) No Request 메시지를 전송하고, EMS(200)로부터 VIN No Request 메시지에 대응되는 VIN No Positive 메시지를 수신하면, 수신된 VIN No Positive 메시지에 대응되는 통신 방식으로 진단 운영을 한다.The telematics unit 100 transmits a VIN (Vehicle Identification Number) No Request message to the EMS 200 in the order of the KWP2000 communication method and the UDS communication method and sends a VIN No Positive message corresponding to the VIN No Request message from the EMS 200 Upon receipt, it performs diagnostic operation using the communication method corresponding to the received VIN No Positive message.

예컨대, 텔레매틱스 유닛(100)은 도 2에 도시된 바와 같이 EMS(200)에 먼저 KWP VIN Request를 전송하며, EMS(200)가 이에 응답하여 전송한 Positive Rsp를 수신하면, 진단 통신 방식을 KWP2000으로 설정하고 설정된 진단 통신 방식으로 진단 운영을 한다.For example, the telematics unit 100 first transmits a KWP VIN Request to the EMS 200 as shown in FIG. 2. When the EMS 200 receives the positive Rsp transmitted in response thereto, the diagnostic communication method is changed to KWP2000 Diagnosis operation is performed by the set diagnostic communication method.

또한, 텔레매틱스 유닛(100)은 KWP VIN Request를 전송하고, EMS(200)로부터 KWP VIN Request에 대응되는 Positive Rsp를 수신하지 못할 경우, UDS VIN Request를 EMS(200)에 전송하며, EMS(200)가 이에 응답하여 전송한 Positive Rsp를 수신하면, 진단 통신 방식을 UDS로 설정하고 설정된 진단 통신 방식으로 진단 운영을 한다.In addition, when the telematics unit 100 transmits a KWP VIN request and fails to receive a positive Rsp corresponding to the KWP VIN request from the EMS 200, the telematics unit 100 transmits a UDS VIN request to the EMS 200, Receives the positive Rsp transmitted in response to this, the diagnostic communication method is set to UDS and diagnosis operation is performed using the established diagnostic communication method.

텔레매틱스 유닛(100)은 도 3에 도시된 바와 같이, 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터 자기진단코드(DTC : Diagnostic Trouble Code)를 획득하기 위해 KWP DTC Request를 각 ECU(301, 302, 303, 304, 305, 306, 307)에 전송하고, 이에 응답하여 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터 Positive Rsp를 수신하면 KWP2000 통식 방식으로 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터 자기진단코드를 수신한다.The telematics unit 100 transmits a KWP DTC Request to obtain a diagnostic trouble code (DTC) from each of the ECUs 301, 302, 303, 304, 305, 306 and 307 302, 303, 304, 305, 306, 307 in response to the positive Rsp signal received from the ECUs 301, 302, 303, 304, 305, 306, Diagnostic codes are received from the ECUs 301, 302, 303, 304, 305, 306, and 307, respectively.

또한, 텔레매틱스 유닛(100)은 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터 자기진단코드(DTC : Diagnostic Trouble Code)를 획득하기 위해 KWP DTC Request를 각 ECU(301, 302, 303, 304, 305, 306, 307)에 전송하고, 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터 Positive Rsp를 수신하지 못할 경우, 각 ECU(301, 302, 303, 304, 305, 306, 307)로 UDS DTC Request를 전송하며, 이에 응답하여 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터 Positive Rsp를 수신하면 UDS 통신 방식으로 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터 자기진단코드를 수신한다.The telematics unit 100 sends a KWP DTC Request to each of the ECUs 301 and 302 (hereinafter, referred to as ECUs) to acquire a diagnostic trouble code (DTC) from each of the ECUs 301, 302, 303, 304, 305, 302, 303, 304, 305, 306, 307, and when the positive Rsp is not received from each of the ECUs 301, 302, 303, 304, 305, 306, 307 in response to the UDS communication request and transmits the UDS DTC Request to each of the ECUs 301, , 302, 303, 304, 305, 306, 307).

전술한 바와 같이, 본 발명에 따르면, 차종별 S/W 버전 과다 발생에 의한 관리 오류를 방지할 수 있다.INDUSTRIAL APPLICABILITY As described above, according to the present invention, it is possible to prevent a management error due to excessive S / W version generation for each vehicle type.

이상, 도 1 내지 도 3을 참조하여 본 발명의 일 실시예에 따른 차량용 제어기 진단 장치를 설명하였고, 이하에서는 도 4를 참조하여 본 발명의 일 실시예에 따른 차량용 제어기 진단 방법을 설명한다. 도 4는 본 발명의 일 실시예에 따른 차량용 제어기 진단 방법을 설명하기 위한 흐름도이다.Hereinafter, a vehicle controller diagnosis apparatus according to an embodiment of the present invention will be described with reference to FIGS. 1 to 3. Hereinafter, a vehicle controller diagnosis method according to an embodiment of the present invention will be described with reference to FIG. 4 is a flowchart illustrating a method for diagnosing a controller for a vehicle according to an embodiment of the present invention.

도 4에 도시된 바와 같이, 차량용 시동키가 키 박스에 삽입되고 회전되어 IGN ON에 위치되고 차량의 각 제어기(TCU ECU, TPMS ECU, MDPS ECU, SCC ECU, EMS, ECS ECU, ABS ECU, EPB ECU 등)에 배터리의 전원이 인가되어 통신이 개시되면, 텔레매틱스 유닛(100)은 먼저 KWP2000 통신 방식으로 KWP Request 메시지를 EMS(200) 및 각 ECU(301, 302, 303, 304, 305, 306, 307)에 전송하고(S400), 이에 응답한 EMS(200) 및 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터의 Positive Rsq 메시지 수신 여부를 확인한다(S401).4, the vehicle ignition key is inserted into the key box and is rotated to be placed in the IGN ON state and the respective controllers (TCU ECU, TPMS ECU, MDPS ECU, SCC ECU, EMS, ECS ECU, The telematics unit 100 first transmits a KWP Request message to the EMS 200 and each of the ECUs 301, 302, 303, 304, 305, 306, and 308 in the KWP2000 communication method, 307 in step S400 and confirms whether a positive Rsq message is received from the EMS 200 and the ECUs 301, 302, 303, 304, 305, 306 and 307 responding thereto in step S401.

확인결과, EMS(200) 및 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터의 Positive Rsq 메시지를 수신하면, 진단 통신 방식을 KWP2000 통신 방식으로 설정한다(S402). Upon receipt of the positive Rsq message from the EMS 200 and the respective ECUs 301, 302, 303, 304, 305, 306 and 307 as a result of confirmation, the diagnostic communication method is set to the KWP2000 communication method (S402).

그러나, 확인결과, EMS(200) 및 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터의 Positive Rsq 메시지를 수신하지 못한 경우, UDS 통신 방식으로 UDS Request 메시지를 EMS(200) 및 각 ECU(301, 302, 303, 304, 305, 306, 307)에 전송하고403), 이에 응답한 EMS(200) 및 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터의 Positive Rsq 메시지 수신 여부를 확인한다(S404).However, if it is determined that the positive Rsq message is not received from the EMS 200 and the respective ECUs 301, 302, 303, 304, 305, 306 and 307, And sends it to each of the ECUs 301, 302, 303, 304, 305, 306, 307 and 403 and sends the EMS 200 and each ECU 301, 302, 303, 304, 305, 306, 307 Whether or not the positive Rsq message is received (S404).

확인결과, EMS(200) 및 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터의 Positive Rsq 메시지를 수신하면, 진단 통신 방식을 UDS 통신 방식으로 설정한다(S405). Upon receipt of the positive Rsq message from the EMS 200 and the respective ECUs 301, 302, 303, 304, 305, 306 and 307 as a result of the confirmation, the diagnostic communication method is set to the UDS communication method (S405).

전술한 바를 보다 구체적으로 설명하면, 텔레매틱스 유닛(100)은 EMS(200)에 KWP2000 통신 방식, UDS 통신 방식 순으로 VIN(Vehicle Identification Number) No Request 메시지를 전송하고, EMS(200)로부터 VIN No Request 메시지에 대응되는 VIN No Positive 메시지를 수신하면, 수신된 VIN No Positive 메시지에 대응되는 통신 방식으로 진단 운영을 한다.More specifically, the telematics unit 100 transmits a VIN (Vehicle Identification Number) No Request message to the EMS 200 in the order of the KWP2000 communication method and the UDS communication method, Upon receipt of the VIN No Positive message corresponding to the message, the diagnostic operation is performed using the communication method corresponding to the received VIN No Positive message.

예컨대, 텔레매틱스 유닛(100)은 EMS(200)에 먼저 KWP VIN Request를 전송하며, EMS(200)가 이에 응답하여 전송한 Positive Rsp를 수신하면, 진단 통신 방식을 KWP2000으로 설정하고 설정된 진단 통신 방식으로 진단 운영을 한다.For example, the telematics unit 100 first transmits a KWP VIN Request to the EMS 200. When the EMS 200 receives the positive Rsp transmitted in response thereto, the telematics unit 100 sets the diagnostic communication method to KWP2000, Diagnosis operation is performed.

또한, 텔레매틱스 유닛(100)은 KWP VIN Request를 전송하고, EMS(200)로부터 KWP VIN Request에 대응되는 Positive Rsp를 수신하지 못할 경우, UDS VIN Request를 EMS(200)에 전송하며, EMS(200)가 이에 응답하여 전송한 Positive Rsp를 수신하면, 진단 통신 방식을 UDS로 설정하고 설정된 진단 통신 방식으로 진단 운영을 한다.In addition, when the telematics unit 100 transmits a KWP VIN request and fails to receive a positive Rsp corresponding to the KWP VIN request from the EMS 200, the telematics unit 100 transmits a UDS VIN request to the EMS 200, Receives the positive Rsp transmitted in response to this, the diagnostic communication method is set to UDS and diagnosis operation is performed using the established diagnostic communication method.

텔레매틱스 유닛(100)은 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터 자기진단코드(DTC : Diagnostic Trouble Code)를 획득하기 위해 KWP DTC Request를 각 ECU(301, 302, 303, 304, 305, 306, 307)에 전송하고, 이에 응답하여 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터 Positive Rsp를 수신하면 KWP2000 통식 방식으로 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터 자기진단코드를 수신한다.The telematics unit 100 sends a KWP DTC Request to each of the ECUs 301, 302, and 303 to acquire a Diagnostic Trouble Code (DTC) from each ECU 301, 302, 303, 304, 305, 306, 302, 303, 304, 305, 306, 307 in response to the positive Rsp signal received from each of the ECUs 301, 302, 303, 304, 305, 306, 307).

또한, 텔레매틱스 유닛(100)은 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터 자기진단코드(DTC : Diagnostic Trouble Code)를 획득하기 위해 KWP DTC Request를 각 ECU(301, 302, 303, 304, 305, 306, 307)에 전송하고, 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터 Positive Rsp를 수신하지 못할 경우, 각 ECU(301, 302, 303, 304, 305, 306, 307)로 UDS DTC Request를 전송하며, 이에 응답하여 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터 Positive Rsp를 수신하면 UDS 통신 방식으로 각 ECU(301, 302, 303, 304, 305, 306, 307)로부터 자기진단코드를 수신한다.The telematics unit 100 sends a KWP DTC Request to each of the ECUs 301 and 302 (hereinafter, referred to as ECUs) to acquire a diagnostic trouble code (DTC) from each of the ECUs 301, 302, 303, 304, 305, 302, 303, 304, 305, 306, 307, and when the positive Rsp is not received from each of the ECUs 301, 302, 303, 304, 305, 306, 307 in response to the UDS communication request and transmits the UDS DTC Request to each of the ECUs 301, , 302, 303, 304, 305, 306, 307).

이상 바람직한 실시예와 첨부도면을 참조하여 본 발명의 구성에 관해 구체적으로 설명하였으나, 이는 예시에 불과한 것으로 본 발명의 기술적 사상을 벗어나지 않는 범주내에서 여러 가지 변형이 가능함은 물론이다. 그러므로 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 안되며 후술하는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. Therefore, the scope of the present invention should not be limited by the illustrated embodiments, but should be determined by the scope of the appended claims and equivalents thereof.

100 : 텔레매틱스 유닛 200 : EMS
301, 302, 303, 304, 305, 306, 307 : 각 ECU
100: Telematics unit 200: EMS
301, 302, 303, 304, 305, 306, 307:

Claims (6)

EMS 및 각 ECU를 포함하는 차량용 제어기의 진단 장치에 있어서,
차량 시동 온 시 KWP2000 통신 방식으로 KWP Request 메시지를 상기 EMS 및 각 ECU에 전송하고, 이에 응답한 상기 EMS 및 각 ECU로부터의 Positive Rsq 메시지를 수신하면, 진단 통신 방식을 KWP2000 통신 방식으로 설정하는 텔레매틱스 유닛을 포함하고,
상기 텔레매틱스 유닛은
상기 Positive Rsq 메시지를 수신하지 못하면, UDS 통신 방식으로 UDS Request 메시지를 상기 EMS 및 각 ECU에 전송하며, 이에 응답한 상기 EMS 및 각 ECU로부터 Positive Rsq 메시지를 수신하면, 상기 진단 통신 방식을 UDS 통신 방식으로 설정하는 것
인 차량용 제어기 진단 장치.
1. A diagnosing apparatus for a vehicle controller including an EMS and each ECU,
A KWP2000 communication method is used to transmit a KWP Request message to the EMS and each ECU when the vehicle is turned on, and a positive Rsq message from each EMS and each ECU responding to the KWP request message is transmitted to a telematics unit / RTI >
The telematics unit
If the positive Rsq message is not received, transmits a UDS Request message to the EMS and each ECU using the UDS communication method, and receives the positive Rsq message from the EMS and each ECU responding thereto, Setting
In-vehicle controller diagnostic apparatus.
제1항에 있어서,
상기 텔레매틱스 유닛은 상기 EMS에 KWP VIN Request를 전송하며, 상기 EMS가 이에 응답하여 전송한 Positive Rsp를 수신하면, 상기 진단 통신 방식을 KWP2000으로 설정하고, 설정된 진단 통신 방식으로 진단 운영을 하며, 상기 EMS로부터 상기 KWP VIN Request에 대응되는 Positive Rsp를 수신하지 못할 경우, UDS VIN Request를 상기 EMS에 전송하고, 상기 EMS가 이에 응답하여 전송한 Positive Rsp를 수신하면, 상기 진단 통신 방식을 UDS로 설정하며 설정된 진단 통신 방식으로 진단 운영을 하는 것
인 차량용 제어기 진단 장치.
The method according to claim 1,
The telematics unit transmits a KWP VIN request to the EMS. Upon receiving the positive Rsp transmitted in response to the EMS, the telematics unit sets the diagnostic communication method to KWP2000, performs diagnostic operation using the established diagnostic communication method, Transmits a UDS VIN Request to the EMS when the positive RSP corresponding to the KWP VIN Request is not received from the EMS, and upon receiving the positive Rsp transmitted in response to the EMS, sets the diagnostic communication mode to UDS Diagnostic operation by diagnostic communication method
In-vehicle controller diagnostic apparatus.
제1항에 있어서,
상기 텔레매틱스 유닛은 상기 각 ECU로부터 자기진단코드(DTC : Diagnostic Trouble Code)를 획득하기 위해 KWP DTC Request를 상기 각 ECU에 전송하고, 이에 응답하여 상기 각 ECU로부터 Positive Rsp를 수신하면 KWP2000 통식 방식으로 상기 각 ECU로부터 상기 자기진단코드를 수신하며, 상기 각 ECU로부터 상기 KWP DTC Request에 대응되는 Positive Rsp를 수신하지 못할 경우, 상기 각 ECU로 UDS DTC Request를 전송하며, 이에 응답하여 상기 각 ECU로부터 Positive Rsp를 수신하면 UDS 통신 방식으로 상기 각 ECU로부터 상기 자기진단코드를 수신하는 것
인 차량용 제어기 진단 장치.
The method according to claim 1,
The telematics unit transmits a KWP DTC Request to each ECU in order to acquire a diagnostic trouble code (DTC) from each of the ECUs. Upon receipt of the positive Rsp from each of the ECUs in response to the KWP DTC Request, And transmits the UDS DTC Request to each of the ECUs when it receives no positive Rsp corresponding to the KWP DTC Request from each of the ECUs, and transmits a Positive Rsp Receiving the self-diagnosis code from each of the ECUs in the UDS communication method
In-vehicle controller diagnostic apparatus.
EMS 및 각 ECU를 포함하는 차량용 제어기의 진단 방법에 있어서,
차량 시동 온 시 KWP2000 통신 방식으로 KWP Request 메시지를 상기 EMS 및 각 ECU에 전송하는 단계;
상기 KWP Request 메시지에 응답한 상기 EMS 및 각 ECU로부터의 Positive Rsq 메시지를 수신하면, 진단 통신 방식을 KWP2000 통신 방식으로 설정하는 단계;
상기 KWP Request 메시지에 응답한 상기 Positive Rsq 메시지를 수신하지 못하면, UDS 통신 방식으로 UDS Request 메시지를 상기 EMS 및 각 ECU에 전송하는 단계; 및
상기 UDS Request 메시지에 응답한 상기 EMS 및 각 ECU로부터 Positive Rsq 메시지를 수신하면, 상기 진단 통신 방식을 UDS 통신 방식으로 설정하는 단계
를 포함하는 차량용 제어기 진단 방법.
A diagnostic method for a vehicle controller including an EMS and each ECU,
Transmitting a KWP Request message to the EMS and each ECU by using the KWP2000 communication method when the vehicle is turned on;
Receiving a positive Rsq message from the EMS and each ECU in response to the KWP Request message; setting a diagnostic communication mode to a KWP2000 communication mode;
Transmitting a UDS Request message to the EMS and each ECU by a UDS communication method if the positive Rsq message is not received in response to the KWP Request message; And
Upon receiving the positive Rsq message from the EMS and each ECU in response to the UDS Request message, setting the diagnostic communication mode to the UDS communication mode
And a controller for diagnosing the vehicle.
제4항에 있어서,
상기 텔레매틱스 유닛은 상기 EMS에 KWP VIN Request를 전송하며 상기 EMS가 이에 응답하여 전송한 Positive Rsp를 수신하면, 상기 진단 통신 방식을 KWP2000으로 설정하고, 설정된 진단 통신 방식으로 진단 운영을 하며, 상기 EMS로부터 상기 KWP VIN Request에 대응되는 Positive Rsp를 수신하지 못할 경우, UDS VIN Request를 상기 EMS에 전송하고, 상기 EMS가 이에 응답하여 전송한 Positive Rsp를 수신하면, 상기 진단 통신 방식을 UDS로 설정하며 설정된 진단 통신 방식으로 진단 운영을 하는 것
인 차량용 제어기 진단 방법.
5. The method of claim 4,
The telematics unit transmits a KWP VIN Request to the EMS, receives the positive Rsp transmitted in response to the EMS, sets the diagnostic communication method to KWP2000, performs diagnostics operation using the established diagnostic communication method, If the positive RSP corresponding to the KWP VIN Request is not received, the UDS VIN Request is transmitted to the EMS, and when the positive Rsp transmitted in response to the positive RSP is received, the diagnostic communication method is set to UDS, Diagnostic operation by communication method
In-vehicle controller diagnostic method.
제5항에 있어서,
상기 텔레매틱스 유닛은 상기 각 ECU로부터 자기진단코드(DTC : Diagnostic Trouble Code)를 획득하기 위해 KWP DTC Request를 상기 각 ECU에 전송하고, 이에 응답하여 상기 각 ECU로부터 Positive Rsp를 수신하면 KWP2000 통식 방식으로 상기 각 ECU로부터 상기 자기진단코드를 수신하며, 상기 각 ECU로부터 상기 KWP DTC Request에 대응되는 Positive Rsp를 수신하지 못할 경우, 상기 각 ECU로 UDS DTC Request를 전송하며, 이에 응답하여 상기 각 ECU로부터 Positive Rsp를 수신하면 UDS 통신 방식으로 상기 각 ECU로부터 상기 자기진단코드를 수신하는 것
인 차량용 제어기 진단 방법.
6. The method of claim 5,
The telematics unit transmits a KWP DTC Request to each ECU in order to acquire a diagnostic trouble code (DTC) from each of the ECUs. Upon receipt of the positive Rsp from each of the ECUs in response to the KWP DTC Request, And transmits the UDS DTC Request to each of the ECUs when it receives no positive Rsp corresponding to the KWP DTC Request from each of the ECUs, and transmits a Positive Rsp Receiving the self-diagnosis code from each of the ECUs in the UDS communication method
In-vehicle controller diagnostic method.
KR1020130131009A 2013-10-31 2013-10-31 Apparatus and Method Diagnosing Controller for Vehicle KR102110581B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130131009A KR102110581B1 (en) 2013-10-31 2013-10-31 Apparatus and Method Diagnosing Controller for Vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130131009A KR102110581B1 (en) 2013-10-31 2013-10-31 Apparatus and Method Diagnosing Controller for Vehicle

Publications (2)

Publication Number Publication Date
KR20150049876A true KR20150049876A (en) 2015-05-08
KR102110581B1 KR102110581B1 (en) 2020-05-13

Family

ID=53387875

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130131009A KR102110581B1 (en) 2013-10-31 2013-10-31 Apparatus and Method Diagnosing Controller for Vehicle

Country Status (1)

Country Link
KR (1) KR102110581B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190029994A (en) * 2017-09-13 2019-03-21 현대자동차주식회사 Failure diagnosis apparatus and method for in-vehicle control unit
US10275951B2 (en) 2016-06-16 2019-04-30 Hyundai Motor Company Communication control device, vehicle having the communication control device, and method for controlling the vehicle

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220015756A (en) * 2020-07-31 2022-02-08 주식회사 엘지에너지솔루션 System and method for communication

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002228551A (en) * 2001-01-31 2002-08-14 Haruo Morita Vehicle diagnostic system
JP2009035237A (en) * 2007-08-03 2009-02-19 Mitsubishi Fuso Truck & Bus Corp Failure diagnosis device, and failure diagnosis method
JP2009528520A (en) * 2006-02-28 2009-08-06 ダイムラー・アクチェンゲゼルシャフト Vehicle diagnosis and vehicle acceptance method
KR20120019829A (en) * 2010-08-27 2012-03-07 이준택 Apparatur for memorizing and analyzing vehicle accident

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002228551A (en) * 2001-01-31 2002-08-14 Haruo Morita Vehicle diagnostic system
JP2009528520A (en) * 2006-02-28 2009-08-06 ダイムラー・アクチェンゲゼルシャフト Vehicle diagnosis and vehicle acceptance method
JP2009035237A (en) * 2007-08-03 2009-02-19 Mitsubishi Fuso Truck & Bus Corp Failure diagnosis device, and failure diagnosis method
KR20120019829A (en) * 2010-08-27 2012-03-07 이준택 Apparatur for memorizing and analyzing vehicle accident

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10275951B2 (en) 2016-06-16 2019-04-30 Hyundai Motor Company Communication control device, vehicle having the communication control device, and method for controlling the vehicle
KR20190029994A (en) * 2017-09-13 2019-03-21 현대자동차주식회사 Failure diagnosis apparatus and method for in-vehicle control unit

Also Published As

Publication number Publication date
KR102110581B1 (en) 2020-05-13

Similar Documents

Publication Publication Date Title
JP4416649B2 (en) Method and apparatus for telematic services for vehicles
US9648023B2 (en) Vehicle module update, protection and diagnostics
US9836904B2 (en) Key fob dongle
EP1826946B1 (en) On-vehicle network diagnosis system and on-vehicle control apparatus thereof
EP1186477A2 (en) Diagnostics, protection and isolation system for electronic devices on a vehicle data communication bus
EP3767406A1 (en) Controller area network and connectivity health troubleshooting system
CN110928271A (en) Automobile self-service diagnosis method and system
CN113597545A (en) Portable wireless connection diagnostic system for vehicle
KR102110581B1 (en) Apparatus and Method Diagnosing Controller for Vehicle
JP4124427B2 (en) Vehicle control apparatus and communication method thereof
US20110222433A1 (en) Automatic address configuration of vehicle network devices during installation
KR20110071596A (en) Automatically diagnosis system of ecus of a vehicle
US11508191B1 (en) Vehicle diagnostic interface device
JP2016055673A (en) Failure diagnosis device and electronic control device
JP2009035237A (en) Failure diagnosis device, and failure diagnosis method
JP5836222B2 (en) Vehicle control apparatus and vehicle control system
CN113253701B (en) Vehicle remote diagnosis system and method
US11482060B2 (en) Method for diagnosing a slave computer communicating with a master computer
JP4259468B2 (en) Diagnostic system for vehicles
US20220126770A1 (en) On-board communication device, program, and communication method
JP4007023B2 (en) Fault diagnosis device for vehicles
KR20090005457A (en) Intelligent dtc monitoring system and method
JP2017114406A (en) Network system
CN211979653U (en) Development and debugging system for remote refreshing of vehicle-mounted ECU (electronic control Unit)
JP7277219B2 (en) vehicle network system

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant