KR20140076692A - Gateway apparatus for vehicles diagnosis and system having the same - Google Patents

Gateway apparatus for vehicles diagnosis and system having the same Download PDF

Info

Publication number
KR20140076692A
KR20140076692A KR1020120144825A KR20120144825A KR20140076692A KR 20140076692 A KR20140076692 A KR 20140076692A KR 1020120144825 A KR1020120144825 A KR 1020120144825A KR 20120144825 A KR20120144825 A KR 20120144825A KR 20140076692 A KR20140076692 A KR 20140076692A
Authority
KR
South Korea
Prior art keywords
data
vehicle
diagnostic
communication unit
line
Prior art date
Application number
KR1020120144825A
Other languages
Korean (ko)
Other versions
KR101855753B1 (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 KR1020120144825A priority Critical patent/KR101855753B1/en
Publication of KR20140076692A publication Critical patent/KR20140076692A/en
Application granted granted Critical
Publication of KR101855753B1 publication Critical patent/KR101855753B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40071Packet processing; Packet format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Abstract

Disclosed is a gateway apparatus to diagnose a vehicle and a system including the same. A gateway apparatus to diagnose a vehicle comprises: an Ethernet communication unit to collectively receive a package data to diagnose dissimilar vehicles from a vehicle diagnosing unit and store the received package data in a memory; a data conversion unit to sequentially store diagnosis data transmitted from the Ethernet communication unit in a receive queue, convert the package data according to a CAN and a K-line protocol, and input the converted package data to lines in parallel; a CAN communication unit to output the diagnosis data converted to a CAN format to at least one electronic control unit (ECU) through a CAN bus; and a K-line communication unit to output the diagnosis data converted to the K-line format to at least one ECU through a K-line bus.

Description

차량 진단 게이트웨이 장치 및 이를 포함하는 시스템{GATEWAY APPARATUS FOR VEHICLES DIAGNOSIS AND SYSTEM HAVING THE SAME}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a vehicle diagnostic gateway apparatus,

본 발명은 차량 진단 게이트웨이 장치 및 이를 포함하는 시스템에 관한 것이다.The present invention relates to a vehicle diagnostic gateway device and a system including the same.

일반적으로 사용되는 상용차용 진단 프로토콜은 크게 ISO 15765, ISO 14230, ISO 9141 및 J1939 등이 쓰이고 있으며, 물리적 통신 환경은 CAN, K-LINE, 이더넷(Ethernet) 등이 활용되고 있다. In general, ISO 15765, ISO 14230, ISO 9141 and J1939 are used for diagnostic protocols for commercial vehicles. CAN, K-LINE and Ethernet are used for physical communication environment.

진단 통신을 활용하는 ECU 초기화, 통신 세션 유지 및 차종 별 파라미터 입력 등은 필연적으로 많은 시간이 소요되며, 이는 다품종 소량 생산의 특징을 갖는 상용차 생산 시스템에서는 그 불리함이 더욱 부각되고 있다.The initialization of the ECU using the diagnostic communication, the maintenance of the communication session, and the parameter input by the vehicle type are inevitably time-consuming, and the disadvantage of the commercial vehicle production system having the feature of small quantity production of various kinds is more emphasized.

한편, 종래의 EOL(end of line) 프로세스의 경우, 각 ECU(Electronic Central Unit) 별로 프로토콜이 ISO 15765, ISO 14230, ISO 9141 등 상이하고, 진단 데이터를 저장하기 위한 모듈 입력에서도 일괄(BATCH) 방식이 아닌 반복적인 Key on/off를 통한 시리얼(Serial) 방식이 사용되고 있다. On the other hand, in the case of the conventional end of line (EOL) process, the protocol is different according to each ECU (Electronic Central Unit) such as ISO 15765, ISO 14230, ISO 9141 and the like. In the module input for storing diagnostic data, (Serial) method through repetitive key on / off.

따라서, 시리얼 방식의 데이터 입력으로 검사 대상 차량의 수만큼 비례적으로 많은 소요 시간이 필요로 한다. 또한, 반복적인 진단 데이터의 입력 과정으로 인해 오류가 발생되는 경우 다음 공정의 지연을 유발하게 되고, 이는 전체 공정과정의 생산성을 떨어뜨릴 수 있다. 이처럼 EOL 공정에서의 진단 데이터 개별 입력은 작업시간 길어질 뿐 아니라 그로 인한 생산 효율성이 저하되는 문제점으로 지적되고 있다.Therefore, it takes a long time proportional to the number of vehicles to be inspected by serial data input. In addition, if an error occurs due to repeated input of diagnostic data, a delay of the next process may be caused, which may reduce the productivity of the entire process. In this way, it is pointed out that the individual input of diagnostic data in the EOL process not only lengthens the working time but also lowers the production efficiency.

특히, 향후 신차종 개발(예; QZ 대형트럭 FMC)에는 많은 신기술 시스템(예; AEBS, 축중 모니터링, SMK, BSD 등)이 적용될 예정이어서 이에 따른 진단 통신 비효율성 개선이 절실한 실정이다.In particular, many new technology systems (eg, AEBS, axial monitoring, SMK, BSD, etc.) will be applied to future vehicle development (eg QZ heavy truck FMC).

한편, 특허문헌 한국등록특허 제10-1131051호에는 차량용 게이트웨이 전자제어장치 및 그의 서비스방법을 개시하고 있으나 이는 상기한 문제점을 해결하지 못하고 있다.On the other hand, Korean Patent Registration No. 10-1131051 discloses a gateway electronic control apparatus for a vehicle and a service method thereof, but this does not solve the above problems.

특허문헌 1 : 한국등록특허 제10-1131051호 (2012.03.29. 공고)Patent Document 1: Korean Patent No. 10-1131051 (issued on March 29, 2012)

본 발명의 실시 예는 다양한 프로토콜 및 물리적 통신 환경에 대응하여 진단통신 과정 및 통신 시간을 단축시키는 차량 진단 게이트웨이 장치 및 이를 포함하는 시스템을 제공하기 위한 것이다.An embodiment of the present invention is to provide a vehicle diagnostic gateway device and a system including the same, which shortens a diagnostic communication process and communication time corresponding to various protocols and physical communication environments.

본 발명의 실시 예에 따른, 차량 진단 게이트웨이 장치는, 차량 진단기로부터 이종의 차량 진단을 위한 패키지 데이터를 일괄 수신하여 메모리에 저장하는 이더넷 통신부; 상기 이더넷 통신부에서 전달되는 진단 데이터를 순차적으로 입력 큐(Receive Queue)에 저장하고, 상기 패키지 데이터를 각각 CAN 및 K-Line 프로토콜에 맞게 변환하여 각 라인으로 병렬 입력하는 데이터 변환부; CAN 포맷으로 변환된 상기 진단 데이터를 CAN 버스를 통해 적어도 하나의 ECU(Electronic Central Unit)로 출력하는 CAN 통신부; 및 K-Line 포맷으로 변환된 진단 데이터를 K-Line 버스를 통해 적어도 하나의 ECU로 출력하는 K-Line 통신부를 포함한다.The vehicle diagnostic gateway device according to an embodiment of the present invention includes: an Ethernet communication unit for collectively receiving package data for different types of vehicle diagnosis from a vehicle diagnostic device and storing the received package data in a memory; A data converter for sequentially storing the diagnostic data transmitted from the Ethernet communication unit in an input queue and converting the package data according to the CAN and K-line protocols, and parallelly inputting the converted data in each line; A CAN communication unit for outputting the diagnostic data converted into the CAN format to at least one ECU (Electronic Central Unit) via a CAN bus; And a K-Line communication unit for outputting the diagnostic data converted into the K-Line format to at least one ECU via the K-Line bus.

또한, 상기 이더넷 통신부는, 상기 패키지 데이터를 디캡슐레이션 하여 상기 진단 데이터를 상기 데이터 변환부로 전달할 수 있다.Also, the Ethernet communication unit may decapsulate the package data and transmit the diagnostic data to the data conversion unit.

또한, 상기 데이터 변환부는, 상기 차량의 종류와 차량 내 상기 ECU가 사용하는 각각의 프로토콜 정보를 저장하는 데이터베이스; 상기 데이터베이스에 저장된 상기 차량 내 ECU가 사용하는 프로토콜 정보를 참조하여 프로토콜을 기반으로 상기 진단 데이터의 프레임 헤더를 변환하는 헤더 변환 모듈; 상기 데이터베이스에 저장된 상기 ECU 정보를 기반으로 상기 프레임 데이터를 변환하는 데이터 변환 모듈; 및 상기 데이터베이스와 연동하여 타이밍 및 응답 프레임을 처리하는 프레임 처리 모듈을 포함할 수 있다.Also, the data conversion unit may include a database for storing the type of the vehicle and the respective protocol information used by the ECU in the vehicle; A header conversion module for converting a frame header of the diagnostic data based on a protocol with reference to protocol information used by the in-vehicle ECU stored in the database; A data conversion module for converting the frame data based on the ECU information stored in the database; And a frame processing module for processing timing and response frames in cooperation with the database.

또한, 상기 이더넷 통신부는, 상기 차량 진단기와 무선 통신을 통해 상기 패키지 데이터를 수신하는 무선 모듈을 포함할 수 있다.The Ethernet communication unit may include a wireless module for receiving the package data through wireless communication with the vehicle diagnostic unit.

또한, 상기 CAN 통신부 및 K-Line 통신부를 통해 병렬로 출력되는 상기 진단 데이터는 ISO 9141, ISO 14230, ISO 15765 및 J1939 중 어느 하나의 프로토콜 형태일 수 있다.The diagnostic data output in parallel through the CAN communication unit and the K-Line communication unit may be in the form of a protocol of any one of ISO 9141, ISO 14230, ISO 15765 and J1939.

한편, 본 발명의 실시 예에 따른, 차량 진단 시스템은, 휴대형 진단기 또는 EOL(end of line) 장비 중 어느 하나로 구성되어 이종의 차량 진단을 위한 진단 데이터의 전항목을 패키지화하여 일괄 입력하는 차량 진단기; 및 상기한 항들 중 어느 한 항을 포함하는 상기 차량 진단 게이트웨이 장치를 포함하되, 상기 차량 진단기는, 파일 형태의 EOL(end of line) 프로토콜 패키지 데이터를 저장하고, 서로 다른 프로토콜을 사용하는 복수의 ECU 진단을 위해 EOL 패키지 데이터를 불러들여 상기 게이트웨이 장치로 일괄 전송한다.Meanwhile, the vehicle diagnostic system according to an embodiment of the present invention may include a vehicle diagnostic unit configured to be packaged with all items of diagnostic data for different types of vehicle diagnosis and configured to be one of a portable diagnostic unit or an end of line (EOL) And the vehicle diagnostic gateway device comprising any one of the foregoing items, wherein the vehicle diagnostic device stores end-of-line (EOL) protocol package data in the form of a file and includes a plurality of ECUs The EOL package data is fetched for diagnosis and transmitted to the gateway device in a batch.

본 발명의 실시 예에 따르면, 이종의 진단 프로토콜을 사용하는 다수의 ECU의 진단 데이터를 게이트웨이 장치에 일괄로 전달하고, 이를 진단 프로토콜에 따라 병렬로 각 EUC에 분배함으로써 진단 통신 과정 및 통신 시간을 단축시킬 수 있는 효과가 있다.According to the embodiment of the present invention, the diagnostic data of a plurality of ECUs using different types of diagnostic protocols are collectively delivered to the gateway device and distributed to each EUC in parallel according to the diagnosis protocol, thereby shortening the diagnostic communication process and communication time There is an effect that can be made.

또한, 1회의 시동 off/on으로 다수 및 다종의 차량을 진단할 수 있으므로 다품종 소량 생산의 특징을 갖는 상용차의 생산성을 증가시키는 효과를 기대할 수 있다.In addition, since many and many kinds of vehicles can be diagnosed by one-time start-off / on, it is expected that the productivity of a commercial vehicle having the feature of small quantity production of various types can be increased.

도 1은 본 발명의 실시 예에 따른 차량 진단 시스템의 구성을 개략적으로 나타낸 블록도이다.
도 2는 본 발명의 실시 예에 따른 게이트웨이 장치의 변환 기능의 구현 구조를 나타낸 개념도이다.
도 3은 본 발명의 실시 예에 따른 데이터 변환부의 세부구조를 나타낸다.
도 4는 본 발명의 실시 예에 따른 차량 진단 시스템의 상세 구조도를 나타낸다.
도 5는 본 발명의 실시 예에 따른 차량 진단 시스템의 구조와 상세 진단 과정을 나타낸다.
도 6은 종래와 본 발명의 실시 예에 따른 차량 진단 시스템의 효과를 비교한 표를 나타낸다.
1 is a block diagram schematically showing a configuration of a vehicle diagnostic system according to an embodiment of the present invention.
2 is a conceptual diagram illustrating an implementation structure of a conversion function of a gateway device according to an embodiment of the present invention.
3 shows a detailed structure of a data conversion unit according to an embodiment of the present invention.
4 is a detailed structural diagram of a vehicle diagnostic system according to an embodiment of the present invention.
FIG. 5 shows a structure and detailed diagnosis process of a vehicle diagnostic system according to an embodiment of the present invention.
FIG. 6 shows a table comparing the effects of the conventional and the vehicle diagnostic system according to the embodiment of the present invention.

아래에서는 첨부한 도면을 참고로 하여 본 발명의 실시 예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시 예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. In order to clearly illustrate the present invention, parts not related to the description are omitted, and similar parts are denoted by like reference characters throughout the specification.

명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. 또한, 명세서에 기재된 "…부", "…기", "모듈" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.Throughout the specification, when an element is referred to as "comprising ", it means that it can include other elements as well, without excluding other elements unless specifically stated otherwise. Also, the terms " part, "" module," and " module ", etc. in the specification mean a unit for processing at least one function or operation and may be implemented by hardware or software or a combination of hardware and software have.

이제 본 발명의 실시 예에 따른 차량 진단 게이트웨이 장치 및 이를 포함하는 시스템에 대하여 도면을 참조로 하여 상세하게 설명한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A vehicle diagnostic gateway apparatus and a system including the same according to an embodiment of the present invention will now be described in detail with reference to the drawings.

도 1은 본 발명의 실시 예에 따른 차량 진단 시스템의 구성을 개략적으로 나타낸 블록도이다.1 is a block diagram schematically showing a configuration of a vehicle diagnostic system according to an embodiment of the present invention.

첨부된 도 1을 참조하면, 본 발명의 실시 예에 따른 차량 진단 시스템의 서로 다른 차량 진단 프로토콜을 사용하는 복수의 차량 전자제어기(Electronic Control Unit, ECU)(100)는 각각 게이트웨이 장치(200)와 연결되고, 차량 게이트웨이 장치(200)는 복수의 ECU(100)를 진단하기 위한 차량 진단기(300)와 연결된다.1, a plurality of electronic control units (ECUs) 100 using different vehicle diagnosis protocols of a vehicle diagnosis system according to an embodiment of the present invention includes a gateway device 200, And the vehicle gateway apparatus 200 is connected to the vehicle diagnostic apparatus 300 for diagnosing a plurality of ECUs 100. [

여기서, ECU(100)는 차량의 엔진 및 각종 기기들을 제어하고, 이들로부터 차량의 데이터를 인출하여 기 정의된 차량 진단 프로토콜을 이용하여 게이트웨이 장치(200)에게 차량 데이터를 전송한다. Here, the ECU 100 controls the engine and various devices of the vehicle, fetches the data of the vehicle from them, and transmits the vehicle data to the gateway device 200 using a predefined vehicle diagnostic protocol.

이 때, ECU(100)는 물리 계층의 프로토콜로서 CAN(Controller Area Network), K-Line, KWP(K-line on keyword) 등을 사용할 수 있다. At this time, the ECU 100 can use CAN (Controller Area Network), K-Line, K-line on keyword (KWP) or the like as a protocol of the physical layer.

이하, 본 발명의 실시 예에 서는 편의상 CAN 및 K-Line을 이용한 것으로 가정하여 설명한다.Hereinafter, an embodiment of the present invention will be described on the assumption that CAN and K-line are used for convenience.

또한, ECU(100)는 어플리케이션 계층의 프로토콜로서 서로 다른 복수의 진단 프로토콜을 각각 사용할 수 있는데, 이러한 복수의 진단 프로토콜은 ISO 14230, ISO 15765, J1939 등을 포함한다.Also, the ECU 100 can use a plurality of different diagnostic protocols as protocols of the application layer, respectively, and these diagnostic protocols include ISO 14230, ISO 15765, J1939, and the like.

한편, 차량 진단기(300)는 휴대형 진단기 또는 EOL 장비일수 있으며 차량 게이트웨이 장치(200)에 진단 데이터의 전항목을 패키지화하여 일괄 입력한다. 이 때, 차량 진단기(300) 역시 ECU(100)와 마찬가지로 물리 계층의 프로토콜로서 CAN(Controller Area Network), KWP(K-line on keyword), K-line 중 하나의 통신 프로토콜을 사용할 수 있다On the other hand, the vehicle diagnostic device 300 may be a portable diagnostic device or an EOL device, and all items of diagnostic data are packaged into the vehicle gateway device 200 in a batch manner. At this time, the vehicle diagnostic apparatus 300 can use one of communication protocol such as CAN (Controller Area Network), K-line on keyword (KWP) and K-line as a protocol of the physical layer

한편, 게이트웨이 장치(200)는 차량 진단기(300)로부터 일괄 입력된 패키지 데이터를 각각 CAN 및 K-Line 프로토콜에 맞게 변환하여 각각의 ECU(100)로 병렬 입력한다.On the other hand, the gateway device 200 converts packaged data input from the vehicle diagnostic device 300 into CAN and K-Line protocols, and inputs them in parallel to each ECU 100.

즉, 게이트웨이 장치(200)는 패키징 처리된 데이터를 분석하여 각 ECU(100)의 차량 진단 프로토콜(CAN/K-Line)에 따른 입력 데이터를 추출하고, 각 프로토콜에 연결된 복수의 ECU(100)로 병렬 입력할 수 있다.That is, the gateway device 200 analyzes the packaged data, extracts input data according to a vehicle diagnostic protocol (CAN / K-Line) of each ECU 100, and transmits the extracted data to a plurality of ECUs 100 Parallel input is possible.

한편, 도 2는 본 발명의 실시 예에 따른 게이트웨이 장치의 변환 기능의 구현 구조를 나타낸 개념도이다.2 is a conceptual diagram illustrating an implementation structure of a conversion function of a gateway apparatus according to an embodiment of the present invention.

첨부된 도 2를 참조하면, 게이트웨이 장치(200)는 이더넷 통신부(210), 메모리(220), 데이터 변환부(230), CAN 통신부(240) 및 K-Line 통신부(250)를 포함한다.2, the gateway device 200 includes an Ethernet communication unit 210, a memory 220, a data conversion unit 230, a CAN communication unit 240, and a K-Line communication unit 250.

이더넷 통신부(210)는 차량 진단기(300)로부터 이종의 차량 진단을 위한 패키지 데이터를 일괄 수신하여 메모리(220)에 저장한다. The Ethernet communication unit 210 collectively receives package data for different types of vehicle diagnosis from the vehicle diagnostic apparatus 300 and stores the received package data in the memory 220.

이 때, 상기 패키지 데이터는 이더넷 통신부(210)에서 디캡슐레이션(Decapsulation) 과정을 거쳐 데이터 변환부(230)로 전달된다.At this time, the package data is decapsulated in the Ethernet communication unit 210 and transmitted to the data conversion unit 230.

데이터 변환부(230)는 이더넷 통신부(210)에서 전달되는 진단 데이터를 순차적으로 입력 큐(Receive Queue)에 저장한다.The data conversion unit 230 sequentially stores the diagnostic data transmitted from the Ethernet communication unit 210 in an input queue.

그리고, 데이터 변환부(230)는 변환 알고리즘에 의해 기 정의된 차량통신 프로토콜로 변환하고, 변환된 프로토콜별 진단 데이터를 미리 설정된 프로토콜별 분배과정을 거쳐 CAN 통신부(240) 및 K-Line 통신부(250)을 통해 각 ECU(100)로 병렬 출력된다.Then, the data conversion unit 230 converts the converted diagnostic data for each protocol into a vehicle communication protocol defined in advance by the conversion algorithm, and transmits the diagnostic data for each protocol to the CAN communication unit 240 and the K-Line communication unit 250 To the respective ECUs 100 in parallel.

한편, 도 3은 본 발명의 실시 예에 따른 데이터 변환부의 세부구조를 나타낸다.3 shows a detailed structure of a data conversion unit according to an embodiment of the present invention.

첨부된 도 3을 참조하면, 본 발명의 실시 예에 따른 데이터 변환부(230)는 데이터베이스(231), 헤더 변환 모듈(232), 데이터 변환 모듈(233) 및 프레임 처리 모듈(234)을 포함한다.3, the data conversion unit 230 includes a database 231, a header conversion module 232, a data conversion module 233, and a frame processing module 234 according to an embodiment of the present invention .

데이터베이스(231)는 차량의 종류와 차량 내 ECU(100)가 사용하는 각각의 프로토콜 정보를 저장한다.The database 231 stores the type of vehicle and the respective protocol information used by ECU 100 in the vehicle.

헤더 변환 모듈(232)은 데이터베이스(231)에 저장된 차량 내 ECU(100)가 사용하는 프로토콜 정보를 참조하여 프로토콜을 기반으로 프레임 헤더를 변환한다.The header conversion module 232 converts the frame header based on the protocol by referring to the protocol information used by the in-vehicle ECU 100 stored in the database 231. [

데이터 변환 모듈(233)은 데이터베이스(231)에 저장된 ECU 정보를 기반으로 프레임 데이터를 변환한다.The data conversion module 233 converts the frame data based on the ECU information stored in the database 231.

프레임 처리 모듈(234)은 데이터베이스(231)와 연동하여 타이밍, 응답 프레임을 처리한다. The frame processing module 234 processes the timing and response frames in cooperation with the database 231. [

CAN 통신부(240)는 CAN 포맷으로 변환된 진단 데이터를 CAN BUS를 통해 적어도 하나의 ECU(100)로 출력한다.The CAN communication unit 240 outputs the diagnostic data converted into the CAN format to the at least one ECU 100 via the CAN bus.

K-Line 통신부(250)는 K-Line 포맷으로 변환된 진단 데이터를 K-Line BUS를 통해 적어도 하나의 ECU(100)로 출력한다.The K-Line communication unit 250 outputs the diagnostic data converted into the K-Line format to at least one ECU 100 via the K-Line BUS.

이 때, CAN 통신부(240) 및 K-Line 통신부(250)를 통해 병렬로 출력되는 각 진단 데이터는 ISO 9141, ISO 14230, ISO 15765 및 J1939 등일 수 있다. At this time, diagnostic data output in parallel through the CAN communication unit 240 and the K-Line communication unit 250 may be ISO 9141, ISO 14230, ISO 15765, J1939, and the like.

한편, 도 4는 본 발명의 실시 예에 따른 차량 진단 시스템의 상세 구조도를 나타낸다.4 is a detailed structural diagram of a vehicle diagnostic system according to an embodiment of the present invention.

도 5는 본 발명의 실시 예에 따른 차량 진단 시스템의 구조와 상세 진단 과정을 나타낸다.FIG. 5 shows a structure and detailed diagnosis process of a vehicle diagnostic system according to an embodiment of the present invention.

먼저, 첨부된 도 4를 참조하면, 본 발명의 실시 예에 따른 차량 진단기(300)는 파일 형태의 EOL 프로토콜 패키지 데이터를 저장하고 있으며, 서로 다른 프로토콜을 사용하는 복수의 ECU(100) 진단을 위해 EOL 데이터를 불러들여 게이트웨이 장치(200)로 일괄 전송한다.4, a vehicle diagnostic apparatus 300 according to an embodiment of the present invention stores EOL protocol package data in the form of a file, and for diagnosis of a plurality of ECUs 100 using different protocols EOL data to the gateway device 200 in a batch.

또한, 도 5를 참조하면, 차량 진단기(300) 및 게이트웨이 장치(200)의 각 이더넷 통신부는 유선 이더넷 라인 및 무선 모듈을 포함할 수 있으며, 차량통신 프로토콜 보안모듈을 이용한 유무선 병렬 EOL 데이터 입력이 가능하다.5, each of the Ethernet communication units of the vehicle diagnostic apparatus 300 and the gateway apparatus 200 may include a wired Ethernet line and a wireless module, and may input wired / wireless parallel EOL data using a vehicle communication protocol security module Do.

한편, 게이트웨이 장치(200)는 전술한 구성을 통해 진단 데이터를 이더넷 기반으로 병렬 전송한다. 그리고, CAN 버스 및 K-LINE 버스를 통해 각각 전송되는 진단 데이터는 해당ECU(#1~#3)로 전달된다. On the other hand, the gateway device 200 transmits diagnostic data on an Ethernet basis in parallel through the above-described configuration. Diagnostic data transmitted through the CAN bus and the K-LINE bus are transmitted to the ECUs # 1 to # 3, respectively.

이 때, CAN 버스 및 K-LINE 버스를 통해서 ISO 9141, ISO 14230, ISO 15765 및 J1939 프로토콜 형태의 진단 데이터가 병렬로 제공될 수 있음은 앞서 설명되어 있으므로 자세한 설명을 생략한다.At this time, diagnostic data in the form of ISO 9141, ISO 14230, ISO 15765 and J1939 protocols can be provided in parallel through the CAN bus and K-LINE bus, so that a detailed description is omitted.

한편, 도 6은 종래와 본 발명의 실시 예에 따른 차량 진단 시스템의 효과를 비교하여 나타낸다.Meanwhile, FIG. 6 shows a comparison of the effects of the conventional and the vehicle diagnostic system according to the embodiment of the present invention.

첨부된 도 5를 참조하면, 시험 조건을 차량 한대에 장착된 ECU 개수는 N개, Writing 평균 소요 시간은 t시간, 1회 시동 off/on 평균 소요시간 10초로 가정한다.Referring to FIG. 5, it is assumed that the number of ECUs mounted in one vehicle is N, the average time required for writing is t, and the time required for one off-on / on start is 10 seconds.

종래에는 시리얼 방식의 데이터 입력으로 매번 ECU를 검사할 때마다 시동 off/on(10초)가 이루어지며, 검사 대상 차량의 수(N)만큼 비례적으로 많은 시간이 소요된다. 즉, 소요시간은 N*10초가 든다.Conventionally, every time the ECU is inspected with serial data input, startup is started off / on (10 seconds), and it takes a long time proportional to the number N of vehicles to be inspected. That is, the required time is N * 10 seconds.

반면, 본 발명의 실시 예에 따른 차량 진단 시스템은 진단 데이터를 일괄 및 병렬 통신으로 Writing 함으로써 차량의 수(N)와는 상관없이 1회 시동 off/on(10초)만 소요된다.On the other hand, in the vehicle diagnostic system according to the embodiment of the present invention, the diagnosis data is written in batch and parallel communication, so that it takes only one turn-off off / on (10 seconds) regardless of the number N of vehicles.

따라서, 본 별명의 실시 예에 따른 차량 진단 시스템은 진단 통신 과정 및 통신 시간을 단축시킬 수 있는 효과가 있다.Therefore, the vehicle diagnostic system according to the embodiment of this alias has the effect of shortening the diagnostic communication process and communication time.

이와 같이 본 발명의 실시 예에 따르면, 이종의 진단 프로토콜을 사용하는 다수의 ECU(100)의 진단 데이터를 게이트웨이 장치(200)에 일괄로 전달하고, 게이트웨이 장치(200)에서 이를 진단 프로토콜에 따라 병렬로 각 EUC에 분배함으로써 진단 통신 과정 및 통신 시간을 단축시킬 수 있는 효과가 있다.As described above, according to the embodiment of the present invention, diagnostic data of a plurality of ECUs 100 using different types of diagnostic protocols are collectively delivered to the gateway device 200, To the respective EUCs, it is possible to shorten the diagnostic communication process and communication time.

또한, 1회의 시동 off/on으로 대수에 무관하게 다수 및 다종의 차량을 진단할 수 있어서 다품종 소량 생산의 특징을 갖는 상용차의 생산성을 증가시킬 수 있는 효과가 있다.In addition, it is possible to diagnose many and many kinds of vehicles irrespective of the logarithms with a single start-off / on, so that the productivity of a commercial vehicle having a feature of small quantity production of various types can be increased.

본 발명의 실시 예는 이상에서 설명한 장치 및/또는 방법을 통해서만 구현이 되는 것은 아니며, 본 발명의 실시 예의 구성에 대응하는 기능을 실현하기 위한 프로그램, 그 프로그램이 기록된 기록 매체 등을 통해 구현될 수도 있으며, 이러한 구현은 앞서 설명한 실시 예의 기재로부터 본 발명이 속하는 기술분야의 전문가라면 쉽게 구현할 수 있는 것이다.The embodiments of the present invention are not limited to the above-described apparatuses and / or methods, but may be implemented through a program for realizing functions corresponding to the configuration of the embodiment of the present invention, a recording medium on which the program is recorded And such an embodiment can be easily implemented by those skilled in the art from the description of the embodiments described above.

이상에서 본 발명의 실시 예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.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 exemplary embodiments, It belongs to the scope of right.

100: ECU 200: 게이트 웨이 장치
300: 차량 진단기 210: 이더넷 통신부
220: 메모리 230: 데이터 변환부
231: 데이터베이스 232: 헤더 변환 모듈
233: 데이터 변환 모듈 234: 프레임 처리 모듈
240: CAN 통신부 250: K-Line 통신부
100: ECU 200: gateway device
300: vehicle diagnosis unit 210: Ethernet communication unit
220: memory 230: data conversion unit
231: Database 232: Header Conversion Module
233: Data conversion module 234: Frame processing module
240: CAN communication unit 250: K-Line communication unit

Claims (6)

차량 진단기로부터 이종의 차량 진단을 위한 패키지 데이터를 일괄 수신하여 메모리에 저장하는 이더넷 통신부;
상기 이더넷 통신부에서 전달되는 진단 데이터를 순차적으로 입력 큐(Receive Queue)에 저장하고, 상기 패키지 데이터를 각각 CAN 및 K-Line 프로토콜에 맞게 변환하여 각 라인으로 병렬 입력하는 데이터 변환부;
CAN 포맷으로 변환된 상기 진단 데이터를 CAN 버스를 통해 적어도 하나의 ECU(Electronic Central Unit)로 출력하는 CAN 통신부; 및
K-Line 포맷으로 변환된 진단 데이터를 K-Line 버스를 통해 적어도 하나의 ECU로 출력하는 K-Line 통신부를 포함하는 차량 진단 게이트웨이 장치.
An Ethernet communication unit for collectively receiving package data for different types of vehicle diagnosis from the vehicle diagnostic equipment and storing the received package data in a memory;
A data converter for sequentially storing the diagnostic data transmitted from the Ethernet communication unit in an input queue and converting the package data according to the CAN and K-line protocols, and parallelly inputting the converted data in each line;
A CAN communication unit for outputting the diagnostic data converted into the CAN format to at least one ECU (Electronic Central Unit) via a CAN bus; And
And a K-Line communication unit for outputting the diagnostic data converted into the K-Line format to at least one ECU via a K-Line bus.
제 1 항에 있어서,
상기 이더넷 통신부는,
상기 패키지 데이터를 디캡슐레이션 하여 상기 진단 데이터를 상기 데이터 변환부로 전달하는 것을 특징으로 하는 차량 진단 게이트웨이 장치.
The method according to claim 1,
The Ethernet communication unit includes:
Encapsulates the package data and transfers the diagnostic data to the data conversion unit.
제 1 항에 있어서,
상기 데이터 변환부는,
상기 차량의 종류와 차량 내 상기 ECU가 사용하는 각각의 프로토콜 정보를 저장하는 데이터베이스;
상기 데이터베이스에 저장된 상기 차량 내 ECU가 사용하는 프로토콜 정보를 참조하여 프로토콜을 기반으로 상기 진단 데이터의 프레임 헤더를 변환하는 헤더 변환 모듈;
상기 데이터베이스에 저장된 상기 ECU 정보를 기반으로 상기 프레임 데이터를 변환하는 데이터 변환 모듈; 및
상기 데이터베이스와 연동하여 타이밍, 응답 프레임을 처리하는 프레임 처리 모듈을 포함하는 것을 특징으로 하는 차량 진단 게이트웨이 장치.
The method according to claim 1,
Wherein the data conversion unit comprises:
A database for storing the type of the vehicle and the respective protocol information used by the ECU in the vehicle;
A header conversion module for converting a frame header of the diagnostic data based on a protocol with reference to protocol information used by the in-vehicle ECU stored in the database;
A data conversion module for converting the frame data based on the ECU information stored in the database; And
And a frame processing module for processing timing and response frames in cooperation with the database.
제 1 항에 있어서,
상기 이더넷 통신부는,
상기 차량 진단기와 무선 통신을 통해 상기 패키지 데이터를 수신하는 무선 모듈을 포함하는 차량 진단 게이트웨이 장치.
The method according to claim 1,
The Ethernet communication unit includes:
And a wireless module for receiving the package data via wireless communication with the vehicle diagnostic device.
제 1 항에 있어서,
상기 CAN 통신부 및 K-Line 통신부를 통해 병렬로 출력되는 상기 진단 데이터는 ISO 9141, ISO 14230, ISO 15765 및 J1939 중 어느 하나의 프로토콜 형태인 것을 특징으로 하는 차량 진단 게이트웨이 장치.
The method according to claim 1,
Wherein the diagnostic data output in parallel via the CAN communication unit and the K-line communication unit is in the form of a protocol of any one of ISO 9141, ISO 14230, ISO 15765, and J1939.
휴대형 진단기 또는 EOL(end of line) 장비 중 어느 하나로 구성되어 이종의 차량 진단을 위한 진단 데이터의 전항목을 패키지화하여 일괄 입력하는 차량 진단기; 및
상기 제 1 항 내지 제 5 항 중 어느 한 항을 포함하는 상기 차량 진단 게이트웨이 장치를 포함하되,
상기 차량 진단기는, 파일 형태의 EOL(end of line) 프로토콜 패키지 데이터를 저장하고, 서로 다른 프로토콜을 사용하는 복수의 ECU 진단을 위해 EOL 패키지 데이터를 불러들여 상기 게이트웨이 장치로 일괄 전송하는 것을 특징으로 하는 차량 진단 시스템.

A vehicle diagnostic apparatus comprising: a portable diagnostic unit or an end of line (EOL) equipment, wherein all items of diagnostic data for different types of vehicle diagnosis are packaged and input in a batch; And
The vehicle diagnostic gateway device according to any one of claims 1 to 5,
The vehicle diagnostic apparatus stores file type end of line protocol (EOL) protocol package data, and collects EOL package data for a plurality of ECU diagnoses using different protocols, and transmits the EOL package data to the gateway device in a batch Vehicle diagnostic system.

KR1020120144825A 2012-12-12 2012-12-12 Gateway apparatus for vehicles diagnosis and system having the same KR101855753B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120144825A KR101855753B1 (en) 2012-12-12 2012-12-12 Gateway apparatus for vehicles diagnosis and system having the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120144825A KR101855753B1 (en) 2012-12-12 2012-12-12 Gateway apparatus for vehicles diagnosis and system having the same

Publications (2)

Publication Number Publication Date
KR20140076692A true KR20140076692A (en) 2014-06-23
KR101855753B1 KR101855753B1 (en) 2018-05-09

Family

ID=51128868

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120144825A KR101855753B1 (en) 2012-12-12 2012-12-12 Gateway apparatus for vehicles diagnosis and system having the same

Country Status (1)

Country Link
KR (1) KR101855753B1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170081881A (en) * 2016-01-05 2017-07-13 한국전자통신연구원 Energy management system for micro-grid
US9769114B2 (en) 2015-04-16 2017-09-19 Hyundai Motor Company Method and system for providing optimized ethernet communication for vehicle
CN109669444A (en) * 2018-12-30 2019-04-23 浙江众泰汽车制造有限公司 The reliable gateway of information
US10599537B2 (en) 2017-09-13 2020-03-24 Hyundai Motor Company Failure diagnosis apparatus and method for in-vehicle control unit
CN110989416A (en) * 2019-08-26 2020-04-10 西南交通大学 Whole vehicle control system based on real-time Ethernet bus
CN113141306A (en) * 2021-04-15 2021-07-20 常州易控汽车电子股份有限公司 Diagnostic message routing method and bus routing equipment thereof
US11171805B2 (en) 2017-11-01 2021-11-09 Lg Chem, Ltd. Can communication method between ESS battery and power management device
CN114584590A (en) * 2022-03-08 2022-06-03 奇瑞汽车股份有限公司 Data transmission method, system, device and storage medium
CN115052038A (en) * 2022-05-19 2022-09-13 深圳市易孔立出软件开发有限公司 Vehicle communication method, device, terminal equipment and storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9769114B2 (en) 2015-04-16 2017-09-19 Hyundai Motor Company Method and system for providing optimized ethernet communication for vehicle
KR20170081881A (en) * 2016-01-05 2017-07-13 한국전자통신연구원 Energy management system for micro-grid
US10599537B2 (en) 2017-09-13 2020-03-24 Hyundai Motor Company Failure diagnosis apparatus and method for in-vehicle control unit
US11171805B2 (en) 2017-11-01 2021-11-09 Lg Chem, Ltd. Can communication method between ESS battery and power management device
CN109669444A (en) * 2018-12-30 2019-04-23 浙江众泰汽车制造有限公司 The reliable gateway of information
CN110989416A (en) * 2019-08-26 2020-04-10 西南交通大学 Whole vehicle control system based on real-time Ethernet bus
CN110989416B (en) * 2019-08-26 2023-06-20 西南交通大学 Whole vehicle control system based on real-time Ethernet bus
CN113141306A (en) * 2021-04-15 2021-07-20 常州易控汽车电子股份有限公司 Diagnostic message routing method and bus routing equipment thereof
CN114584590A (en) * 2022-03-08 2022-06-03 奇瑞汽车股份有限公司 Data transmission method, system, device and storage medium
CN115052038A (en) * 2022-05-19 2022-09-13 深圳市易孔立出软件开发有限公司 Vehicle communication method, device, terminal equipment and storage medium

Also Published As

Publication number Publication date
KR101855753B1 (en) 2018-05-09

Similar Documents

Publication Publication Date Title
KR101855753B1 (en) Gateway apparatus for vehicles diagnosis and system having the same
US9305408B2 (en) Multiple electronic control unit diagnosing system and method for vehicle
JP4416649B2 (en) Method and apparatus for telematic services for vehicles
US11012256B2 (en) Connection unit, monitoring system and method for operating an automation system
US6360145B1 (en) Vehicle platform-portable controller
US10681184B2 (en) Method and device for transmitting a message in a vehicle
WO2014132436A1 (en) Data processing device
US10749738B2 (en) Method and apparatus for diagnosing network
WO2018196655A1 (en) Public network communication method for on-board electronic processing unit system
KR20130021652A (en) Interface apparatus and method for converting a plurality of different vehicles diagnosis protocol to standard diagnosis protocol
US11887411B2 (en) Vehicle data extraction service
JP7006622B2 (en) Extraction device, extraction method and extraction program, as well as anomaly detection device, anomaly detection method
JP3227309U (en) System and method for error recording mechanism in a controller area network bus
Sutar et al. ECU diagnostics validator using CANUSB
Nieves et al. A UPnP service to control and manage IEEE 1451 transducers in control networks
Dragojević et al. Utilizing iot technologies for remote diagnostics of next generation vehicles
CN115512459B (en) Data acquisition method, device, equipment and readable storage medium
US20210327165A1 (en) Vehicle malfunction prediction system, monitoring device, vehicle malfunction prediction method, and vehicle malfunction prediction program
JP2017163252A (en) Vehicle gateway device and program
CN115903733A (en) Remote diagnosis method for vehicle, server, terminal and storage medium
JP2004221905A (en) Method for monitoring network system, monitoring system, repeater, and monitoring device
JP7360888B2 (en) Anomaly detection device, security system and anomaly detection method
US11968060B2 (en) Data switching device and data switching method for a vehicle, device and method for a vehicle component of a vehicle, and computer program
CN114584590B (en) Data transmission method, system, device and storage medium
WO2023223480A1 (en) Attack source identification system, attack source identification device, attack source identification method, and program

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