KR20170059685A - Apparatus for communicating diagnostic vehicle based on autosar and method thereof - Google Patents

Apparatus for communicating diagnostic vehicle based on autosar and method thereof Download PDF

Info

Publication number
KR20170059685A
KR20170059685A KR1020150163923A KR20150163923A KR20170059685A KR 20170059685 A KR20170059685 A KR 20170059685A KR 1020150163923 A KR1020150163923 A KR 1020150163923A KR 20150163923 A KR20150163923 A KR 20150163923A KR 20170059685 A KR20170059685 A KR 20170059685A
Authority
KR
South Korea
Prior art keywords
diagnostic
service
communication module
communication
channel
Prior art date
Application number
KR1020150163923A
Other languages
Korean (ko)
Inventor
성철웅
Original Assignee
현대모비스 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 현대모비스 주식회사 filed Critical 현대모비스 주식회사
Priority to KR1020150163923A priority Critical patent/KR20170059685A/en
Publication of KR20170059685A publication Critical patent/KR20170059685A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

Disclosed are an automotive open system architecture (AUTOSAR)-based vehicle diagnosis communication apparatus, and a method thereof. The AUTOSAR-based vehicle diagnosis communication apparatus comprises: a protocol providing a communication standard for a diagnostic communication in a diagnostic communication module; a plurality of diagnostic channels configured to be dependent on a protocol to form channels with external diagnostic equipment; and a plurality of service tables configured to be dependent on the plurality of diagnostic channels to set service support items.

Description

오토사 기반의 차량 진단 통신 장치 및 그 방법{APPARATUS FOR COMMUNICATING DIAGNOSTIC VEHICLE BASED ON AUTOSAR AND METHOD THEREOF}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle diagnostic communication apparatus and an automotive diagnostic communication apparatus,

본 발명은 오토사 기반의 차량 진단 통신 장치 및 그 방법에 관한 것으로서, 보다 상세하게는 오토사(AUTOSAR ; AUTomotive Open System ARchitecture) 기반으로 차량을 진단하기 위한 진단통신을 구성할 때 진단통신을 위해 참조하는 서비스 테이블을 진단채널에 종속되도록 구성함으로써 서로 다른 서비스 지원사양의 요구에 능동적으로 대응할 수 있도록 하는 오토사 기반의 차량 진단 통신 장치 및 그 방법에 관한 것이다. [0001] The present invention relates to a vehicle diagnostic communication apparatus and a method thereof, and more particularly, to a vehicle diagnostic communication apparatus and method using an AUTOSAR (Automotive Open System ARchitecture) The present invention relates to a vehicle diagnostic communication apparatus and method thereof based on an AUTOSAR that enables a service table to be subordinate to a diagnostic channel so as to actively respond to requests of different service support specifications.

최근 자동차에는 엔진, 자동변속기, 제동장치(ABS), 조향 계통 등의 장치들과, 이러한 장치들의 제어를 위한 ECU(Electronic Control Unit)를 구비하고 있다. 또한, 지능형 서비스들의 증가에 따라 더욱 많은 ECU가 연결되고, 연결된 ECU 간의 연동을 통해 서비스들이 결합되고 있는 추세이다. BACKGROUND ART [0002] In recent years, automobiles include devices such as an engine, an automatic transmission, a braking device (ABS), a steering system, and an ECU (Electronic Control Unit) for controlling these devices. In addition, as the number of intelligent services increases, more ECUs are connected and services are coupled through interworking of connected ECUs.

이에 따라, 자동차 ECU들의 개방된 산업 표준을 설정하고 개발하기 위해서, 관련 업체들이 합작하여 자동차 전장 소프트웨어 구조(AUTomotive Open System ARchitecture : AUTOSAR) 등 소프트웨어 아키텍처 표준을 제시하고 있다.Accordingly, in order to establish and develop open industry standards for automotive ECUs, related companies have jointly proposed software architecture standards such as AUTomotive Open System AR architecture (AUTOSAR).

이러한, AUTOSAR는 자동차용 소프트웨어 규격과 실행 환경에 관한 것으로, 차량 전장 소프트웨어에 대한 아키텍처, 전장응용별 API(application programming interface) 등을 제공한다.AUTOSAR is concerned with automotive software specifications and execution environment. It provides architecture for vehicle field software, and application programming interface (API) for each field application.

따라서 AUTOSAR 표준을 적용한 차량 ECU들은 통신 버스(communication bus)라는 환경 구성으로 서로 간에 통신이 가능하게 되며, ECU의 개수가 증가함에 따라 서로 간에 통신할 데이터의 크기나 개수도 증가하고 있다. Therefore, vehicle ECUs using the AUTOSAR standard are able to communicate with each other with an environment configuration called a communication bus. As the number of ECUs increases, the size and number of data to communicate with each other also increase.

관련 선행기술로는 한국공개특허 제2015-0024710호(2015.03.09.)인 "AUTOSAR 기반 통신방법 및 통신장치"가 있다. Related prior arts include "AUTOSAR-based communication method and communication device ", Korean Patent Laid-Open Publication No. 2015-0024710 (May 2013, Sep.).

이와 같은 AUTOSAR 기반에서 차량 진단을 위해 ECU와 외부의 진단 장비가 진단 통신을 하기 위해서는 AUTOSAR 구조의 서비스 계층에 구성된 진단 통신 모듈(DCM ; Diagnostic Communication Module)에서 통신규격을 서비스함으로 이루어진다. 이때 진단 통신 모듈에서는 차량 진단통신에서 범용적으로 사용되는 UDS(Unified Diagnostic Service)와 OBD(On-board Disposal) 프로토콜을 지원하고 있다. In order to carry out diagnostic communication between the ECU and the external diagnostic equipment in order to diagnose the vehicle on the basis of the AUTOSAR based service, a diagnostic communication module (DCM: Diagnostic Communication Module) configured in the service layer of the AUTOSAR structure services the communication standard. At this time, diagnostic communication module supports UDS (Unified Diagnostic Service) and OBD (On-board Disposal) protocol which are commonly used in vehicle diagnostic communication.

또한, 이러한 프로토콜에는 서비스 테이블(Service Table)이 정의되어 있어, UDS에서 정의되어 있는 서비스(ex. DiagnosticSessionControl, ECUReset... )들에 대한 지원 여부가 설정된다. In addition, a service table is defined in such a protocol, and support for services defined in the UDS (ex. DiagnosticSessionControl, ECUReset ...) is set.

AUTOSAR 사양에 의하면, 하나의 프로토콜에는 하나의 서비스 테이블이 종속되도록 구성되고, 또한 하나의 프로토콜에는 여러 개의 진단 채널(Diagnostic Channel)을 설정해서 사용할 수 있도록 되어있다. 따라서 여러 개의 진단 채널에서는 프로토콜에 종속된 하나의 서비스 테이블을 참조하여 동일한 진단 서비스를 제공할 수 있게 된다. According to the AUTOSAR specification, one protocol is configured to be subordinate to one service table, and one protocol can be configured to use multiple diagnostic channels. Therefore, it is possible to provide the same diagnostic service by referring to one service table dependent on the protocol in the plurality of diagnostic channels.

그러나 여러 개의 진단채널은 외부의 진단장비에 따라 지원해야하는 서비스가 다른 경우가 발생하지만, 통신 서비스를 위해 참조하는 서비스 테이블이 프로토콜에 종속되도록 구성되어 있기 때문에 서로 다른 진단 채널에 다른 서비스 테이블을 매핑 할 수 없어 사용자의 요구에 따라 서로 다른 서비스를 제공할 수 없는 문제점이 있었다. However, since many diagnostic channels have different services to be supported depending on the external diagnostic equipment, the service table referenced for the communication service is configured to be dependent on the protocol, so that different service tables are mapped to different diagnostic channels There is a problem that different services can not be provided according to the demand of the user.

본 발명은 상기와 같은 문제점들을 개선하기 위하여 안출된 것으로, 본 발명의 목적은 오토사 기반으로 차량을 진단하기 위한 진단통신을 구성할 때 진단통신을 위해 참조하는 서비스 테이블을 진단채널에 종속되도록 구성함으로써 서로 다른 서비스 지원사양의 요구에 능동적으로 대응할 수 있도록 하는 오토사 기반의 차량 진단 통신 장치 및 그 방법에 관한 것이다. SUMMARY OF THE INVENTION The present invention has been made in order to solve the above problems, and it is an object of the present invention to provide a service table referencing for diagnostic communication, So as to actively cope with demands of different service support specifications, and a method thereof.

본 발명의 일 측면에 따른 오토사 기반의 차량 진단 통신 장치는, 진단 통신 모듈에서 진단 통신을 위한 통신 규격을 제공하는 프로토콜; 프로토콜에 종속되도록 구성되어 외부의 진단장비와 채널을 형성하는 다수의 진단채널; 및 다수의 진단채널에 각각 종속되도록 구성되어 서비스 지원 사항이 설정되는 다수의 서비스 테이블을 포함하는 것을 특징으로 한다. According to one aspect of the present invention, an automotive diagnostic communication apparatus based on AUTOSAR has a protocol for providing a communication standard for diagnostic communication in a diagnostic communication module; A plurality of diagnostic channels configured to be protocol dependent and to form channels with external diagnostic equipment; And a plurality of service tables configured to be dependent on a plurality of diagnostic channels and to which service support items are set.

본 발명에서 다수의 진단채널은, 각각 데이터를 수신하는 수신채널과 데이터를 송신하는 송신채널을 포함하는 것을 특징으로 한다. In the present invention, a plurality of diagnostic channels each include a receive channel for receiving data and a transmit channel for transmitting data.

본 발명에서 수신채널과 송신채널은 서비스 테이블에 포함되도록 구성되는 것을 특징으로 한다. The present invention is characterized in that a reception channel and a transmission channel are included in a service table.

본 발명에서 진단 통신 모듈은, 오토사 구조의 서비스 계층에 포함되는 것을 특징으로 한다. In the present invention, the diagnostic communication module is included in a service layer of an auto company structure.

본 발명의 다른 측면에 따른 오토사 기반의 차량 진단 통신 방법은, 진단 통신 모듈이 진단 메시지를 수신하는 단계; 진단 통신 모듈이 수신한 진단 메시지로부터 프로토콜의 정보를 확인하는 단계; 진단 통신 모듈이 프로토콜에 따른 진단 채널의 정보를 확인하는 단계; 진단 통신 모듈이 진단 채널에 따라 각각 서비스 테이블을 적용하여 진단 메시지를 처리하는 단계; 및 진단 통신 모듈이 진단 메시지의 처리 결과에 따라 응답 메시지를 송신하는 단계를 포함하는 것을 특징으로 한다. According to another aspect of the present invention, there is provided an auto-sensor-based vehicle diagnostic communication method including: receiving a diagnostic message from a diagnostic communication module; Confirming protocol information from a diagnostic message received by the diagnostic communication module; Confirming information of a diagnostic channel according to a protocol by the diagnostic communication module; Processing the diagnostic message by applying the service table to each of the diagnostic communication modules according to the diagnostic channel; And transmitting a response message according to the processing result of the diagnostic message by the diagnostic communication module.

본 발명에서 진단 통신 모듈은, 오토사 구조의 서비스 계층에 포함되는 것을 특징으로 한다. In the present invention, the diagnostic communication module is included in a service layer of an auto company structure.

본 발명에서 서비스 테이블은, 진단채널에 종속되도록 구성되는 것을 특징으로 한다. In the present invention, the service table is configured to be dependent on a diagnostic channel.

본 발명에 따른 오토사 기반의 차량 진단 통신 장치 및 그 방법은 오토사 기반으로 차량을 진단하기 위한 진단통신을 구성할 때 진단통신을 위해 참조하는 서비스 테이블을 진단채널에 종속되도록 구성함으로써 서로 다른 서비스 지원사양의 요구에 능동적으로 대응할 수 있다. According to the present invention, there is provided a vehicle diagnostic communication device and a method therefor, in which a service table referred to for diagnosis communication is configured to be dependent on a diagnostic channel when configuring diagnostic communication for diagnosing a vehicle on the basis of an auto company, It can actively respond to the requirements of the support specification.

도 1은 본 발명의 일 실시예에 따른 오토사 기반의 차량 진단 통신 장치가 구축되는 오토사의 계층화 소프트웨어 구조를 나타낸 도면이다.
도 2는 본 발명의 일 실시예에 따른 오토사 기반의 차량 진단 통신 장치에서 서비스 테이블의 포함관계를 나타낸 도면이다.
도 3은 본 발명의 일 실시예에 따른 오토사 기반의 차량 진단 통신 방법을 설명하기 위한 흐름도이다.
FIG. 1 is a diagram illustrating a layered software structure of an automobile company in which an automobile-based vehicle diagnostic communication apparatus according to an embodiment of the present invention is constructed.
FIG. 2 is a view showing the inclusion relation of a service table in a vehicle diagnostic communication apparatus based on an automobile according to an embodiment of the present invention.
FIG. 3 is a flowchart illustrating an auto-signature-based vehicle diagnostic communication method according to an embodiment of the present invention.

이하, 첨부된 도면들을 참조하여 본 발명에 따른 오토사 기반의 차량 진단 통신 장치 및 그 방법을 설명한다. 이 과정에서 도면에 도시된 선들의 두께나 구성요소의 크기 등은 설명의 명료성과 편의상 과장되게 도시되어 있을 수 있다. 또한, 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례에 따라 달라질 수 있다. 그러므로 이러한 용어들에 대한 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a vehicle diagnostic communication apparatus and method according to the present invention will be described with reference to the accompanying drawings. In this process, the thicknesses of the lines and the sizes of the components shown in the drawings may be exaggerated for clarity and convenience of explanation. In addition, the terms described below are defined in consideration of the functions of the present invention, which may vary depending on the intention or custom of the user, the operator. Therefore, definitions of these terms should be made based on the contents throughout this specification.

도 1은 본 발명의 일 실시예에 따른 오토사 기반의 차량 진단 통신 장치가 구축되는 오토사의 계층화 소프트웨어 구조를 나타낸 도면이고, 도 2는 본 발명의 일 실시예에 따른 오토사 기반의 차량 진단 통신 장치에서 서비스 테이블의 포함관계를 나타낸 도면이다. FIG. 1 is a diagram showing a layered software structure of an automobile company in which an automobile-based vehicle diagnostic communication device according to an embodiment of the present invention is constructed. FIG. 2 is a block diagram illustrating a structure of a vehicle diagnostic communication device according to an embodiment of the present invention. FIG. 8 is a diagram showing a storage relationship of a service table in a device. FIG.

도 1에 도시된 바와 같이 오토사(AUTOSAR)의 계층화 소프트웨어 구조는, 기본 소프트웨어 계층(200), 런-타임 환경(Run Time Environment : RTE, 300) 및 응용 소프트웨어 계층(400)으로 구분된 계층화 구조를 갖는다. 1, a layered software structure of an AUTOSAR includes a layered structure divided into a basic software layer 200, a run time environment (RTE) 300, and an application software layer 400 .

이와 같이 AUTOSAR의 기본 구조는 런-타임 환경(300) 개념을 도입하여 응용 소프트웨어 계층(400)의 구성요소와 하드웨어(100) 관련 소프트웨어 계층인 기본 소프트웨어 계층(200)을 분리함으로써, 하드웨어(120)에 독립적인 응용 서비스를 제공할 수 있도록 구성된다. In this way, the basic structure of the AUTOSAR includes a hardware 120 by introducing the concept of the run-time environment 300 and separating the components of the application software layer 400 and the basic software layer 200, To provide an independent application service.

기본 소프트웨어 계층(200)은 소프트웨어 구성요소가 필요로 하는 작업을 수행하는데, 필요로 하는 서비스를 제공하는 표준화된 소프트웨어 계층으로써 AUTOSAR 기반의 소프트웨어 구성요소에게 입출력, 메모리, 통신 등과 관련된 서비스를 제공한다. The basic software layer 200 is a standardized software layer that provides the necessary services to perform the tasks required by software components, and provides services related to input / output, memory, and communication to AUTOSAR-based software components.

기본 소프트웨어 계층(200)은 서비스 계층(Services Layer, 210), ECU 추상화 계층(ECU Abstraction Layer, 220), 마이크로 컨트롤러 추상화 계층(Micro-controller Abstraction Layer, 230) 및 복합 드라이버(240)로 세분화되어 구성된다.The basic software layer 200 is subdivided into a service layer 210, an ECU abstraction layer 220, a micro-controller abstraction layer 230, do.

서비스 계층(210)은 통신, 서비스, OS 블록을 포함하고 있는 계층으로 ECU와 하드웨어(100)를 추상화하여 응용 프로그램과 기본 소프트웨어 계층(200)을 위한 서비스를 자신의 상위 계층에 제공하는 역할을 담당한다. 즉, 메모리, 통신 네트워크, 시스템 등의 서비스 기능을 수행한다. The service layer 210 abstracts the ECU and the hardware 100 as a layer including a communication, a service, and an OS block, and serves to provide an application program and a service for the basic software layer 200 to its upper layer do. That is, it performs service functions such as a memory, a communication network, and a system.

서비스 계층(210)의 통신 네트워크 서비스는 하부 통신 장치에 의존성을 제거한 통일된 인터페이스를 제공하기 위한 계층으로 RTE(300)에 통일된 통신 방식을 제공한다. 통신 네트워크 서비스는 CAN, LIN, FlexRay 등과 같은 차량 네트워크 통신, 통신 하드웨어 추상화와 같은 통신 드라이버 인터페이스, 서로 다른 응용 프로그램 사이의 통신을 위한 차량 네트워크 인터페이스 제공 등과 같은 기능을 하는 소프트웨어 구성요소로 구성된다. The communication network service of the service layer 210 provides a unified communication method to the RTE 300 as a layer for providing a unified interface that removes the dependency on the lower communication device. Communication network services consist of software components that perform functions such as vehicle network communication such as CAN, LIN, FlexRay, etc., communication driver interface such as communication hardware abstraction, vehicle network interface for communication between different applications.

서비스 계층(210)의 메모리 서비스는 다양한 기록 메모리에 읽고 쓰기 위한 기능을 제공하며, 메모리 서비스에서는 다른 메모리 서비스로부터의 읽기/쓰기를 위한 비휘발성 메모리에 대한 관리, 메모리 위치 및 성질 추상화 등과 같은 기능을 하는 소프트웨어 구성요소로 구성된다. The memory service of the service layer 210 provides functions for reading and writing to various recording memories. In the memory service, functions such as management of nonvolatile memory for reading / writing from other memory services, memory location and property abstraction And a software component that performs the following functions.

한편, ECU 추상화 계층(220) 및 마이크로 컨트롤러 추상화 계층(230)은 하드웨어(100)에 종속적으로 변경되는 부분으로 하드웨어(100)가 변경될 때마다 적합한 소프트웨어로 함께 변경된다. 즉, ECU 추상화 계층(220)은 ECU 회로에 따라, 마이크로 컨트롤러 추상화 계층(230)은 사용하는 마이크로 컨트롤러(MCU)에 따라서 달라질 수 있다. Meanwhile, the ECU abstraction layer 220 and the microcontroller abstraction layer 230 are parts that are changed depending on the hardware 100, and are changed together with appropriate software whenever the hardware 100 is changed. That is, the ECU abstraction layer 220 may be changed according to the ECU circuit, and the microcontroller abstraction layer 230 may be changed depending on a microcontroller (MCU) to be used.

또한, 마이크로 컨트롤러 추상화 계층(230)은 실제 하드웨어(100)에 포함된 주변장치들과 내 외부 장치, 메모리 등에 대한 직접적인 액세스를 처리하는 부분이다. 따라서 하드웨어(100)를 직접 접근하므로 타이밍 등의 문제에서 중요한 역할을 담당한다. In addition, the microcontroller abstraction layer 230 is a part that handles direct access to peripheral devices, internal / external devices, memory, etc. included in the actual hardware 100. Therefore, it plays an important role in problems such as timing due to the direct access of the hardware 100.

마이크로 컨트롤러 추상화 계층(230)에서는 하드웨어(100) 의존성이 있는 부분으로 OSI의 데이터 링크 계층의 통신 드라이버, ADC, PWM, DIO 등의 아날로그 디지털 I/O 드라이버, EEPROM, Flash 등의 메모리 드라이버, 주변장치 마이크로 컨트롤러의 장치 드라이버 영역으로 구성된다. The microcontroller abstraction layer 230 is a part that is dependent on the hardware 100 and includes a communication driver of the data link layer of OSI, an analog digital I / O driver such as an ADC, a PWM, and a DIO, a memory driver such as an EEPROM, And a device driver area of the microcontroller.

한편, 복합 드라이버(240)는 특별한 기능을 개발할 시에는 응용 소프트웨어 계층(400)에서 하드웨어(100)를 직접 접근할 필요가 있는 경우에 사용될 수 있다.Meanwhile, the composite driver 240 can be used when it is necessary to directly access the hardware 100 in the application software layer 400 when developing a special function.

RTE(300)는 데이터교환을 관리하는 통신의 중추적인 역할을 하며 소프트웨어와 하드웨어를 분리시키는 핵심역할을 한다. RTE(300)를 기반으로 수행되는 소프트웨어 구성요소는 응용 프로그램의 종류에 따라 고유한 통신 제약 조건을 가지기 때문에 이러한 제약 조건에 맞게 구성된다. The RTE 300 plays a central role in the communication of data exchange and plays a key role in separating software and hardware. Since the software components based on the RTE 300 have unique communication restriction conditions according to the types of the application programs, they are configured according to these constraints.

즉, RTE(300)는 응용 소프트웨어 구성요소로부터 하드웨어의 독립성을 제거하기 위한 계층으로 응용 소프트웨어 계층(400)과 하부 소프트웨어 구성요소의 모듈간의 통신 브리지 역할을 하며, 소프트웨어 구성요소의 요구로부터 ECU에 다양한 매핑 과정을 통하여 소프트웨어 구성요소와 타 구성요소간의 통신을 담당한다. That is, the RTE 300 acts as a communication bridge between the application software layer 400 and the module of the lower software component as a layer for removing the independence of the hardware from the application software components. It is responsible for communication between the software component and other components through the mapping process.

이러한 구성요소들은 VFB(Virtual Function Bus)라는 가상의 네트워크를 통해서 통신을 수행할 수 있고, ECU에 할당된 구성요소들은 런 타임에 각 ECU마다 존재하는 RTE(300)를 통해 서로 정보를 교환하며 필요한 작업을 수행할 수 있다.These components can perform communication through a virtual network called VFB (Virtual Function Bus), and the components allocated to the ECU exchange information with each other via the RTE 300 existing in each ECU at runtime, You can do the work.

응용 소프트웨어 계층(400)은 특정 ECU에 매핑 된 AUTOSAR 기반의 소프트웨어 구성요소들로 구성되어 있는 계층이다. 한편, 응용 소프트웨어 계층(400)은 마이크로 컨트롤러 등의 하드웨어(100)에는 비 의존적으로 구현되어, 하위 계층의 모든 자원들(resources)과 RTE(300)를 통해서 통신한다. 이때 각 구성요소들은 RTE(300)를 통해 필요한 데이터를 전송하고 수신할 수 있도록 AUTOSAR 인터페이스를 이용한다. The application software layer 400 is a layer composed of AUTOSAR-based software components mapped to a specific ECU. The application software layer 400 is implemented independently of the hardware 100 such as a microcontroller and communicates with all the resources of the lower layer through the RTE 300. At this time, each component uses the AUTOSAR interface to transmit and receive necessary data through the RTE 300.

한편, AUTOSAR 기반으로 차량 진단을 위해 ECU와 외부의 진단 장비가 진단 통신을 하기 위해서는 서비스 계층(210)에 구성된 진단 통신 모듈(DCM ; Diagnostic Communication Module, 215)에서 통신규격을 서비스함으로 이루어진다. On the other hand, in order to diagnose communication between the ECU and the external diagnostic equipment for vehicle diagnosis based on the AUTOSAR, a diagnostic communication module (DCM) 215 configured in the service layer 210 services the communication standard.

이때 진단 통신 모듈(215)에서는 범용적으로 사용되는 UDS(Unified Diagnostic Service)와 OBD(On-board Disposal) 프로토콜을 지원한다. At this time, the diagnostic communication module 215 supports UDS (Unified Diagnostic Service) and OBD (On-board Disposal) protocols which are commonly used.

또한, 이러한 프로토콜(10)에는 서비스 테이블(Service Table, 30)이 정의되어 있어, UDS에서 정의되어 있는 서비스(ex. DiagnosticSessionControl, ECUReset... )들에 대한 지원 여부가 설정된다. In this protocol 10, a service table 30 is defined, and support for services (ex. DiagnosticSessionControl, ECUReset ...) defined in the UDS is set.

도 2에 도시된 바와 같이 오토사 기반의 차량 진단 통신 장치에서 서비스 테이블(30)의 포함관계를 살펴보면, 진단 통신 모듈(215)에서 진단 통신을 위한 통신 규격을 제공하는 프로토콜(10)에 종속되도록 구성되어 외부의 진단장비와 채널을 형성하는 다수의 진단채널(20)이 구성되고, 다수의 진단채널(20)에 각각 종속되도록 구성되어 서비스 지원 사항이 설정되는 다수의 서비스 테이블(30)이 구성된다. As shown in FIG. 2, the coverage of the service table 30 in the automotive diagnostic communication apparatus based on the AUTOSAR will be referred to as being dependent on the protocol 10 providing the communication standard for diagnostic communication in the diagnostic communication module 215 A plurality of diagnostic channels 20 constituting an external diagnostic equipment and a channel are constituted and a plurality of service tables 30 in which service support items are set so as to be respectively dependent on a plurality of diagnostic channels 20, do.

이와 같이 서비스 테이블(30)이 진단채널(20)에 종속되도록 구성됨으로써, 다수의 진단채널(30)에서 지원하는 진단장비에 따라 지원해야하는 서비스가 다르더라도 서비스 테이블(30)이 진단채널(20)에 종속되기 때문에 서로 다른 서비스 테이블(30)을 각각의 진단채널(30)에 매핑 할 수 있어 진단장비에 따라 지원해야하는 서비스를 각각 제공할 수 있게 된다. The service table 30 is configured to be dependent on the diagnostic channel 20 so that the service table 30 can be provided to the diagnostic channel 20 even though the services to be supported differ depending on the diagnostic equipment supported by the plurality of diagnostic channels 30. [ The different service tables 30 can be mapped to the respective diagnostic channels 30, so that it is possible to provide services to be supported according to diagnostic equipment.

또한, 다수의 진단채널(30)은 각각 데이터를 수신하는 수신채널(22)과 데이터를 송신하는 송신채널(24)을 포함하며, 수신채널(22)과 송신채널(24)은 서비스 테이블(30)에 포함되도록 구성된다. Each of the plurality of diagnostic channels 30 includes a reception channel 22 for receiving data and a transmission channel 24 for transmitting data and the reception channel 22 and the transmission channel 24 include a service table 30 ).

상술한 바와 같이, 본 발명의 실시예에 의한 오토사 기반의 차량 진단 통신 장치에 따르면, 오토사 기반으로 차량을 진단하기 위한 진단통신을 구성할 때 진단통신을 위해 참조하는 서비스 테이블을 진단채널에 종속되도록 구성함으로써 서로 다른 서비스 지원사양의 요구에 능동적으로 대응할 수 있다. As described above, according to the automobile-based vehicle diagnostic communication device according to the embodiment of the present invention, when configuring the diagnostic communication for diagnosing the vehicle on the basis of the automobile company, It is possible to actively respond to the demands of different service support specifications.

도 3은 본 발명의 일 실시예에 따른 오토사 기반의 차량 진단 통신 방법을 설명하기 위한 흐름도이다. FIG. 3 is a flowchart illustrating an auto-signature-based vehicle diagnostic communication method according to an embodiment of the present invention.

도 3에 도시된 바와 같이 본 발명의 일 실시예에 따른 오토사 기반의 차량 진단 통신 방법에서는, 먼저, 진단 통신 모듈(215)이 진단채널(20)의 수신채널(22)을 통해 진단 메시지를 수신한다(S10). 3, the diagnostic communication module 215 first transmits a diagnostic message through the reception channel 22 of the diagnostic channel 20 in the following manner. (S10).

S10 단계에서 수신한 진단 메시지로부터 진단 통신 모듈(215)은 프로토콜(10)의 정보를 확인한다(S20). From the diagnostic message received in step S10, the diagnostic communication module 215 confirms the information of the protocol 10 (S20).

S20 단계에서 프로토콜(10)의 정보를 확인한 후 진단 통신 모듈(215)은 프로토콜(10)에 따른 진단 채널(20)의 정보를 확인한다(S30). After confirming the information of the protocol 10 in step S20, the diagnostic communication module 215 confirms the information of the diagnostic channel 20 according to the protocol 10 (S30).

S30 단계에서 진단 채널(20)을 확인한 후 진단 통신 모듈(215)은 진단 채널(20)에 따라 각각 종속된 서비스 테이블(30)을 적용하여 진단 메시지를 처리한다(S40). After confirming the diagnostic channel 20 in step S30, the diagnostic communication module 215 processes the diagnostic message by applying the dependent service table 30 according to the diagnostic channel 20 (S40).

이와 같이 서비스 테이블(30)이 진단채널(20)에 종속되도록 구성됨으로써, 다수의 진단채널(30)에서 지원하는 진단장비에 따라 지원해야하는 서비스가 다르더라도 서비스 테이블(30)이 진단채널(20)에 종속되기 때문에 서로 다른 서비스 테이블(30)을 각각의 진단채널(30)에 매핑 할 수 있어 진단장비에 따라 지원해야하는 서비스를 각각 제공할 수 있게 된다. The service table 30 is configured to be dependent on the diagnostic channel 20 so that the service table 30 can be provided to the diagnostic channel 20 even though the services to be supported differ depending on the diagnostic equipment supported by the plurality of diagnostic channels 30. [ The different service tables 30 can be mapped to the respective diagnostic channels 30, so that it is possible to provide services to be supported according to diagnostic equipment.

S40 단계에서 진단 메시지를 처리한 후 진단 통신 모듈(215)은 진단 메시지의 처리 결과에 따라 송신 채널(24)을 통해 응답 메시지를 송신한다(S50). After processing the diagnostic message in step S40, the diagnostic communication module 215 transmits a response message on the transmission channel 24 according to the processing result of the diagnostic message (S50).

상술한 바와 같이, 본 발명의 실시예에 의한 오토사 기반의 차량 진단 통신 방법에 따르면, 오토사 기반으로 차량을 진단하기 위한 진단통신을 구성할 때 진단통신을 위해 참조하는 서비스 테이블을 진단채널에 종속되도록 구성함으로써 서로 다른 서비스 지원사양의 요구에 능동적으로 대응할 수 있다. As described above, according to the automobile-based vehicle diagnostic communication method according to the embodiment of the present invention, when constructing the diagnostic communication for diagnosing the vehicle on the basis of the automobile company, It is possible to actively respond to the demands of different service support specifications.

본 발명은 도면에 도시된 실시예를 참고로 하여 설명되었으나, 이는 예시적인 것에 불과하며, 당해 기술이 속하는 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. I will understand.

따라서 본 발명의 진정한 기술적 보호범위는 아래의 특허청구범위에 의해서 정하여져야 할 것이다.Accordingly, the true scope of the present invention should be determined by the following claims.

10 : 프로토콜 20 : 진단채널
22 : 수신채널 24 : 송신채널
30 : 서비스 테이블 100 : 하드웨어
200 : 기본 소프트웨어 계층 210 : 서비스 계층
215 : 진단 통신 모듈 220 : ECU 추상화 계층
230 : 마이크로 컨트롤러 추상화 계층
240 : 복합 드라이버 300 : RTE
400 : 응용 소프트웨어 계층
10: Protocol 20: Diagnostic channel
22: Receive channel 24: Transmit channel
30: Service table 100: Hardware
200: basic software layer 210: service layer
215: diagnostic communication module 220: ECU abstraction layer
230: Microcontroller abstraction layer
240: Composite driver 300: RTE
400: application software layer

Claims (7)

진단 통신 모듈에서 진단 통신을 위한 통신 규격을 제공하는 프로토콜;
상기 프로토콜에 종속되도록 구성되어 외부의 진단장비와 채널을 형성하는 다수의 진단채널; 및
상기 다수의 진단채널에 각각 종속되도록 구성되어 서비스 지원 사항이 설정되는 다수의 서비스 테이블을 포함하는 것을 특징으로 하는 오토사 기반의 차량 진단 통신 장치.
A protocol for providing a communication standard for diagnostic communication in the diagnostic communication module;
A plurality of diagnostic channels configured to be subordinate to the protocol to form channels with external diagnostic equipment; And
And a plurality of service tables configured to be dependent on the plurality of diagnostic channels and to which service support items are set.
제 1항에 있어서, 상기 다수의 진단채널은, 각각 데이터를 수신하는 수신채널과 데이터를 송신하는 송신채널을 포함하는 것을 특징으로 하는 오토사 기반의 차량 진단 통신 장치.
2. The automotive diagnostic communication apparatus according to claim 1, wherein the plurality of diagnostic channels each include a reception channel for receiving data and a transmission channel for transmitting data.
제 2항에 있어서, 상기 수신채널과 상기 송신채널은, 상기 서비스 테이블에 포함되도록 구성되는 것을 특징으로 하는 오토사 기반의 차량 진단 통신 장치.
3. The automotive diagnostic communication apparatus according to claim 2, wherein the reception channel and the transmission channel are included in the service table.
제 1항에 있어서, 상기 진단 통신 모듈은, 오토사 구조의 서비스 계층에 포함되는 것을 특징으로 하는 오토사 기반의 차량 진단 통신 장치.
The vehicle diagnostic communication apparatus according to claim 1, wherein the diagnostic communication module is included in a service layer of an auto company structure.
진단 통신 모듈이 진단 메시지를 수신하는 단계;
상기 진단 통신 모듈이 수신한 진단 메시지로부터 프로토콜의 정보를 확인하는 단계;
상기 진단 통신 모듈이 상기 프로토콜에 따른 진단 채널의 정보를 확인하는 단계;
상기 진단 통신 모듈이 상기 진단 채널에 따라 각각 서비스 테이블을 적용하여 상기 진단 메시지를 처리하는 단계; 및
상기 진단 통신 모듈이 상기 진단 메시지의 처리 결과에 따라 응답 메시지를 송신하는 단계를 포함하는 것을 특징으로 하는 오토사 기반의 차량 진단 통신 방법.
Receiving a diagnostic message from the diagnostic communication module;
Confirming protocol information from a diagnostic message received by the diagnostic communication module;
The diagnostic communication module verifying information of a diagnostic channel according to the protocol;
Processing the diagnostic message by applying the service table to the diagnostic communication module according to the diagnostic channel; And
And transmitting the response message according to a result of processing the diagnostic message by the diagnostic communication module.
제 5항에 있어서, 상기 진단 통신 모듈은, 오토사 구조의 서비스 계층에 포함되는 것을 특징으로 하는 오토사 기반의 차량 진단 통신 방법.
6. The method of claim 5, wherein the diagnostic communication module is included in a service layer of an auto company structure.
제 5항에 있어서, 상기 서비스 테이블은, 상기 진단채널에 종속되도록 구성되는 것을 특징으로 하는 오토사 기반의 차량 진단 통신 방법. 6. The method of claim 5, wherein the service table is configured to be dependent on the diagnostic channel.
KR1020150163923A 2015-11-23 2015-11-23 Apparatus for communicating diagnostic vehicle based on autosar and method thereof KR20170059685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150163923A KR20170059685A (en) 2015-11-23 2015-11-23 Apparatus for communicating diagnostic vehicle based on autosar and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150163923A KR20170059685A (en) 2015-11-23 2015-11-23 Apparatus for communicating diagnostic vehicle based on autosar and method thereof

Publications (1)

Publication Number Publication Date
KR20170059685A true KR20170059685A (en) 2017-05-31

Family

ID=59052616

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150163923A KR20170059685A (en) 2015-11-23 2015-11-23 Apparatus for communicating diagnostic vehicle based on autosar and method thereof

Country Status (1)

Country Link
KR (1) KR20170059685A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190013613A (en) * 2017-07-31 2019-02-11 주식회사 엘지화학 Self-diagnosing microcontroller for reading correct channels of an analog-to-digital converter
CN113311737A (en) * 2020-02-27 2021-08-27 马自达汽车株式会社 Vehicle-mounted device control device
EP3872631A1 (en) * 2020-02-27 2021-09-01 Mazda Motor Corporation In-vehicle equipment controller and vehicle control system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190013613A (en) * 2017-07-31 2019-02-11 주식회사 엘지화학 Self-diagnosing microcontroller for reading correct channels of an analog-to-digital converter
CN113311737A (en) * 2020-02-27 2021-08-27 马自达汽车株式会社 Vehicle-mounted device control device
EP3872631A1 (en) * 2020-02-27 2021-09-01 Mazda Motor Corporation In-vehicle equipment controller and vehicle control system
CN113386686A (en) * 2020-02-27 2021-09-14 马自达汽车株式会社 Vehicle-mounted device control device and vehicle control system
CN113311737B (en) * 2020-02-27 2023-06-06 马自达汽车株式会社 Vehicle-mounted machine control device
CN113386686B (en) * 2020-02-27 2024-05-28 马自达汽车株式会社 In-vehicle device control apparatus and vehicle control system

Similar Documents

Publication Publication Date Title
US8665891B2 (en) Gateway apparatus
Fürst et al. AUTOSAR–A Worldwide Standard is on the Road
US9769114B2 (en) Method and system for providing optimized ethernet communication for vehicle
KR101923511B1 (en) Apparatus for communicating diagnostic vehicle and method thereof
US10681184B2 (en) Method and device for transmitting a message in a vehicle
EP4207707A1 (en) Data transmission system, data transmission method, smart vehicle and device
KR20170109169A (en) Application Software Design of Chassis and Safety Integrated Control System Using AUTOSAR and Runnerble Assignment Method based on Multi-Core
KR20140066531A (en) A component architecture based on autosar(automotive open system architecture)
CN110069433B (en) Medium system compatible with different automobile CAN communication interfaces
KR20170059685A (en) Apparatus for communicating diagnostic vehicle based on autosar and method thereof
JP2020501479A (en) Intelligent charging communication switching device in CAN-based charging system
CN111338315A (en) Virtual electronic control unit in AUTOSAR
US20140053165A1 (en) Configuration technique for an electronic control unit with intercommunicating applications
CN115437337A (en) Multi-ECU simulation test method and device, computer equipment and storage medium
CN114089713A (en) Communication method based on UDS, ECU and upper computer
JP2010033435A (en) Control apparatus, control method, and computer program
US10496575B1 (en) Multi-protocol determining method based on CAN bus
JP2008506204A (en) Apparatus and method for exchanging data between a plurality of data buses
CN108810000B (en) Method and device for generating serialization and deserialization API
Lee et al. A parallel re-programming method for in-vehicle gateway to save software update time
WO2024078634A1 (en) Service management method, system and apparatus, and electronic device and storage medium
RU2011116168A (en) PROVISION OF FUNCTIONAL CAPABILITIES FOR CUSTOMER SERVICES BY IMPLEMENTATION AND BINDING OF CONTRACTS
KR20110064517A (en) Device and method of component architecture based testing framework
KR102303424B1 (en) Direct memory access control device for at least one processing unit having a random access memory
JP5365584B2 (en) Control device

Legal Events

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