KR20200124472A - Apparatus for diagnosis error of a vehicle, system having the same and method thereof - Google Patents

Apparatus for diagnosis error of a vehicle, system having the same and method thereof Download PDF

Info

Publication number
KR20200124472A
KR20200124472A KR1020190047820A KR20190047820A KR20200124472A KR 20200124472 A KR20200124472 A KR 20200124472A KR 1020190047820 A KR1020190047820 A KR 1020190047820A KR 20190047820 A KR20190047820 A KR 20190047820A KR 20200124472 A KR20200124472 A KR 20200124472A
Authority
KR
South Korea
Prior art keywords
communication
controller
message
vehicle
diagnosis
Prior art date
Application number
KR1020190047820A
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 KR1020190047820A priority Critical patent/KR20200124472A/en
Publication of KR20200124472A publication Critical patent/KR20200124472A/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
    • B60W50/0205Diagnosing or detecting failures; Failure detection models
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • H04L41/0645Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis by additionally acting on or stimulating the network after receiving notifications
    • 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
    • B60W50/0205Diagnosing or detecting failures; Failure detection models
    • B60W2050/021Means for detecting failure or malfunction
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60YINDEXING SCHEME RELATING TO ASPECTS CROSS-CUTTING VEHICLE TECHNOLOGY
    • B60Y2306/00Other features of vehicle sub-units
    • B60Y2306/15Failure diagnostics
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention relates to a vehicle trouble diagnosis device, a system including the same, and a method thereof. The vehicle trouble diagnosis device according to an embodiment of the present invention can include: a processor that diagnoses CAN communication troubles of all controllers connected to a CAN communication line and generates CAN communication diagnosis data for each controller when receiving a CAN communication diagnosis request message from at least one in-vehicle controller connected to the CAN communication line; and a storage unit for storing information on all controllers connected to the CAN communication line and the CAN communication diagnosis data generated by the processor.

Description

차량 고장 진단 장치, 그를 포함한 시스템 및 그 방법{Apparatus for diagnosis error of a vehicle, system having the same and method thereof}Vehicle fault diagnosis device, system including the same, and method thereof TECHNICAL FIELD

본 발명은 차량 고장 진단 장치, 그를 포함한 시스템 및 그 방법에 관한 것으로, 보다 상세하게는 캔 통신 관련 고장 진단 기술에 관한 것이다.The present invention relates to a vehicle failure diagnosis apparatus, a system including the same, and a method thereof, and more particularly, to a failure diagnosis technology related to CAN communication.

차량에서 주행중에 캔 통신 관련 간헐적 고장이 발생할 수 있다. 그러나 이러한 간헐적 캔 통신 고장의 경우, 차량을 정비소에 입고하면 캔 통신 문제가 사라져 고장 부위를 확인하기 어려운 문제점이 있다. Intermittent failures related to CAN communication may occur while driving in a vehicle. However, in the case of such an intermittent can communication failure, when the vehicle is put into a repair shop, the can communication problem disappears, and thus it is difficult to identify the defective part.

이에 캔 통신 시 타임 아웃 고장 등을 감지하여 캔 통신 고장 코드를 발생하는 기술이 적용되고 있으나, 이러한 고장 코드의 경우 고장 부위를 정확히 알 수 없는 문제점이 있다. Accordingly, a technology for generating a CAN communication failure code by detecting a time-out failure during CAN communication is applied, but in the case of such a failure code, there is a problem in that the failure part cannot be accurately known.

이에, 차량에서 캔 통신 고장 발생 시 고장 부위를 정확히 확인할 수 있는 방안이 필요하며, 특히 차량 주행 중에 캔 통신 고장진단 발생시 즉시 고장 진단이 가능하도록 하는 방안이 필요하다. Accordingly, when a CAN communication failure occurs in a vehicle, there is a need for a method to accurately identify the faulty part, and in particular, there is a need for a method to enable immediate failure diagnosis when a CAN communication failure diagnosis occurs while driving the vehicle.

본 발명의 실시예는 차량 주행 중에 캔(CAN) 통신 관련 고장코드(Time Out/bus-off/message error)의 발생을 즉시 진단하여 추후 정비 시 고장부위를 정확하게 확인할 수 있는 차량 고장 진단 장치, 그를 포함한 시스템 및 그 방법을 제공하고자 한다.An embodiment of the present invention is a vehicle failure diagnosis device capable of immediately diagnosing the occurrence of a CAN communication-related failure code (Time Out/bus-off/message error) while driving a vehicle and accurately confirming the failure area during future maintenance, It is intended to provide a system including and method thereof.

본 발명의 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재들로부터 당업자에게 명확하게 이해될 수 있을 것이다.The technical problems of the present invention are not limited to the technical problems mentioned above, and other technical problems that are not mentioned will be clearly understood by those skilled in the art from the following description.

본 발명의 일 실시예에 따른 차량 고장 진단 장치는 캔 통신 라인에 연결된 적어도 하나 이상의 차량 내 제어기로부터 캔 통신 진단 요청 메시지를 수신하면, 상기 캔 통신 라인에 연결된 모든 제어기들의 캔 통신 고장여부를 진단하고 각 제어기별 캔 통신 진단 데이터를 생성하는 프로세서; 및 상기 캔 통신 라인에 연결된 모든 제어기들 정보 및 상기 프로세서에 의해 생성되는 캔 통신 진단 데이터를 저장하는 저장부;를 포함할 수 있다.When receiving a CAN communication diagnosis request message from at least one in-vehicle controller connected to the CAN communication line, the vehicle failure diagnosis apparatus according to an embodiment of the present invention diagnoses the CAN communication failure of all controllers connected to the CAN communication line. A processor for generating CAN communication diagnostic data for each controller; And a storage unit for storing information on all controllers connected to the CAN communication line and diagnostic data for CAN communication generated by the processor.

일 실시예에 있어서, 상기 차량 고장 진단 장치는, 차량 게이트웨이 장치인 것을 포함할 수 있다.In one embodiment, the vehicle failure diagnosis device may include a vehicle gateway device.

일 실시예에 있어서, 상기 캔 통신 진단 데이터는, 상기 캔 통신 진단 요청 메시지를 송신한 제어기, 상기 캔 통신 진단 요청 메시지를 송신한 제어기와 동일한 캔 통신 라인에 연결된 제어기들마다 상기 프로세서가 캔 통신 메시지를 송신한 횟수, 및 송신한 캔 통신 메시지에 대한 제어기들마다의 응답 메시지 수신 횟수를 포함할 수 있다.In one embodiment, the CAN communication diagnostic data may include a CAN communication message by the processor for each controller connected to the same CAN communication line as the controller that transmitted the CAN communication diagnosis request message and the controller that sent the CAN communication diagnosis request message. It may include the number of times of transmitting and the number of times of receiving response messages for each controller for the transmitted CAN communication message.

일 실시예에 있어서, 상기 프로세서는, 미리 정한 시간 마다 상기 모든 제어기들로 미리 정한 횟수 이상 캔 통신 메시지를 송신하고, 상기 적어도 하나 이상의 제어기들로부터 응답 메시지를 수신하여, 상기 모든 제어기별로 상기 캔 통신 메시지 송신 횟수 및 상기 응답 메시지의 수신 횟수를 저장하는 것을 포함할 수 있다.In one embodiment, the processor transmits a CAN communication message to all the controllers at least a predetermined number of times at a predetermined time, receives a response message from the at least one or more controllers, and communicates the CAN communication for each of the controllers. It may include storing the number of times the message is transmitted and the number of times the response message is received.

일 실시예에 있어서, 상기 프로세서는, 상기 캔 통신 진단 요청 메시지가 수신될 때 마다, 상기 캔 통신 진단 요청 메시지를 송신한 제어기와 동일한 캔 통신 라인에 연결된 모든 제어기로 미리 정한 횟수만큼 캔 통신 메시지를 송신하고 상기 캔 통신 메시지에 대한 응답 메시지를 수신하는 것을 포함할 수 있다.In one embodiment, the processor transmits the CAN communication message a predetermined number of times to all controllers connected to the same CAN communication line as the controller that transmitted the CAN communication diagnosis request message each time the CAN communication diagnosis request message is received. And receiving a response message to the CAN communication message.

일 실시예에 있어서, 상기 프로세서는, 상기 캔 통신 진단 요청 메시지가 수신될 때 마다, 제어기별로, 상기 제어기로 송신된 캔 통신 메시지의 송신횟수와 상기 제어기로부터 수신한 응답 메시지의 수신 횟수를 포함하는 상기 캔 통신 진단 데이터를 생성하는 것을 포함할 수 있다.In one embodiment, the processor includes, for each controller, a number of transmissions of CAN communication messages transmitted to the controller and a number of receptions of response messages received from the controller each time the CAN communication diagnosis request message is received. It may include generating the CAN communication diagnostic data.

본 발명의 일 실시예에 따른 차량 시스템은 복수개의 캔 통신 라인; 상기 복수개의 캔 통신 라인에 각각 연결되는 적어도 하나 이상의 제어기; 상기 복수개의 캔 통신 라인에 연결된 적어도 하나 이상의 차량 내 제어기로부터 캔 통신 진단 요청 메시지를 수신하면, 상기 캔 통신 진단 요청 메시지를 송신한 제어기가 연결된 캔 통신 라인에 연결된 모든 제어기들의 캔 통신 고장여부를 진단하고 각 제어기별 캔 통신 진단 데이터를 생성하여 저장하는 차량 고장 진단 장치; 를 포함할 수 있다.A vehicle system according to an embodiment of the present invention includes a plurality of CAN communication lines; At least one controller connected to each of the plurality of CAN communication lines; When a CAN communication diagnosis request message is received from at least one in-vehicle controller connected to the plurality of CAN communication lines, diagnosis of CAN communication failure of all controllers connected to the CAN communication line to which the controller that transmitted the CAN communication diagnosis request message is connected A vehicle failure diagnosis device for generating and storing CAN communication diagnosis data for each controller; It may include.

일 실시예에 있어서, 상기 적어도 하나 이상의 제어기는, 상기 타임 아웃 또는 버스오프 고장을 실시간으로 감지하고, 상기 타임 아웃 또는 버스오프 고장이 감지되면 상기 차량 고장 진단 장치로 상기 캔 통신 진단 요청 메시지를 송신하는 것을 포함할 수 있다.In one embodiment, the at least one controller detects the time-out or bus-off failure in real time, and transmits the CAN communication diagnosis request message to the vehicle failure diagnosis apparatus when the time-out or bus-off failure is detected. May include doing.

일 실시예에 있어서, 상기 차량 고장 진단 장치는, 상기 캔 통신 진단 요청 메시지가 수신될 때 마다, 상기 캔 통신 진단 요청 메시지를 송신한 제어기와 동일한 캔 통신 라인에 연결된 모든 제어기로 미리 정한 횟수만큼 캔 통신 메시지를 송신하고 상기 캔 통신 메시지에 대한 응답 메시지를 수신하는 것을 포함할 수 있다.In one embodiment, the vehicle failure diagnosis apparatus, each time the CAN communication diagnosis request message is received, all the controllers connected to the same CAN communication line as the controller that transmitted the CAN communication diagnosis request message, the number of can It may include transmitting a communication message and receiving a response message to the CAN communication message.

일 실시예에 있어서, 상기 차량 고장 진단 장치는, 미리 정한 시간 마다 상기 적어도 하나 이상의 제어기 각각으로 미리 정한 횟수 이상 캔 통신 메시지를 송신하고, 상기 캔 통신 메시지에 대한 응답 메시지를 수신하여, 제어기별로 상기 캔 통신 메시지 송신 횟수 및 상기 응답 메시지의 수신 횟수를 포함하는 상기 캔 통신 진단 데이터를 생성하여 저장하는 것을 포함할 수 있다.In one embodiment, the vehicle failure diagnosis apparatus transmits a CAN communication message to each of the at least one controller a predetermined number of times or more at a predetermined time, and receives a response message to the CAN communication message, and the controller It may include generating and storing the CAN communication diagnostic data including the number of transmissions of CAN communication messages and the number of receptions of the response message.

일 실시예에 있어서, 상기 차량 고장 진단 장치는, 상기 캔 통신 진단 요청 메시지가 수신될 때 마다, 상기 적어도 하나 이상의 제어기 각각으로 미리 정한 횟수이상 캔 통신 메시지를 송신하고, 상기 캔 통신 메시지에 대한 응답 메시지를 수신하여, 제어기별로 상기 캔 통신 메시지 송신 횟수 및 상기 응답 메시지의 수신 횟수를 포함하는 상기 캔 통신 진단 데이터를 생성하여 저장하는 것을 포함할 수 있다.In an embodiment, the vehicle failure diagnosis apparatus transmits a CAN communication message to each of the at least one or more controllers a predetermined number of times or more each time the CAN communication diagnosis request message is received, and responds to the CAN communication message. Receiving a message may include generating and storing the CAN communication diagnostic data including the number of times the CAN communication message is transmitted and the number of times the response message is received for each controller.

본 발명의 일 실시예에 따른 차량 고장 진단 방법은 캔 통신 라인에 연결된 적어도 하나 이상의 차량 내 제어기로부터 캔 통신 진단 요청 메시지를 수신하는 단계; 상기 캔 통신 진단 요청 메시지를 송신한 제어기와 동일한 캔 통신 라인에 연결된 모든 제어기들의 캔 통신 고장여부를 진단하고, 각 제어기별 캔 통신 진단 데이터를 생성하는 단계; 및 상기 각 제어기별 캔 통신 진단 데이터를 저장하는 단계를 포함할 수 있다.A vehicle failure diagnosis method according to an embodiment of the present invention includes: receiving a CAN communication diagnosis request message from at least one in-vehicle controller connected to the CAN communication line; Diagnosing CAN communication failure of all controllers connected to the same CAN communication line as the controller that transmitted the CAN communication diagnosis request message, and generating CAN communication diagnosis data for each controller; And storing CAN communication diagnosis data for each controller.

일 실시예에 있어서, 상기 캔 통신 진단 데이터는, 상기 캔 통신 진단 요청 메시지를 송신한 제어기, 제어기별로 상기 캔 통신 진단 요청 메시지를 송신한 제어기와 동일한 캔 통신 라인에 연결된 제어기들로 캔 통신 메시지를 송신한 횟수, 및 송신한 캔 통신 메시지에 대한 제어기들마다의 응답 메시지 수신 횟수를 포함하는 것을 포함할 수 있다.In one embodiment, the CAN communication diagnosis data includes a controller that has transmitted the CAN communication diagnosis request message, and a controller connected to the same CAN communication line as the controller that transmitted the CAN communication diagnosis request message for each controller. It may include the number of times of transmission and the number of times of receiving response messages for each controller for the transmitted CAN communication message.

일 실시예에 있어서, 상기 각 제어기별 캔 통신 진단 데이터를 생성하는 단계는, 미리 정한 시간 마다 상기 적어도 하나 이상의 차량 내 제어기로 미리 정한 횟수 이상 캔 통신 메시지를 송신하는 단계; 상기 적어도 하나 이상의 제어기로부터 응답 메시지를 수신하는 단계; 및 상기 적어도 하나 이상의 제어기로 상기 캔 통신 메시지를 송신한 송신 횟수 및 상기 캔 통신 메시지에 대한 응답 메시지의 수신 횟수를 제어기별로 저장하여 상기 캔 통신 진단 데이터를 생성하는 단계;를 포함할 수 있다.In one embodiment, the generating of the CAN communication diagnostic data for each controller includes: transmitting a CAN communication message to the at least one in-vehicle controller at a predetermined number of times or more at predetermined time intervals; Receiving a response message from the at least one controller; And generating the CAN communication diagnosis data by storing the number of transmissions of the CAN communication message to the at least one controller and the number of receptions of the response message to the CAN communication message for each controller.

일 실시예에 있어서, 상기 각 제어기별 캔 통신 진단 데이터를 생성하는 단계는, 상기 캔 통신 진단 요청 메시지가 수신될 때 마다, 상기 캔 통신 진단 요청 메시지를 송신한 제어기와 동일한 캔 통신 라인에 연결된 모든 제어기로 미리 정한 횟수만큼 캔 통신 메시지를 송신하는 단계; 상기 캔 통신 메시지에 대한 응답 메시지를 수신하는 단계; 및 상기 모든 제어기마다 상기 캔 통신 메시지의 송신횟수와 상기 응답 메시지의 수신 횟수를 포함하는 상기 캔 통신 진단 데이터를 생성 및 저장하는 단계;를 포함할 수 있다.In one embodiment, the generating of the CAN communication diagnosis data for each controller comprises, whenever the CAN communication diagnosis request message is received, all of the CAN communication lines connected to the same CAN communication line as the controller that transmitted the CAN communication diagnosis request message Transmitting the CAN communication message to the controller a predetermined number of times; Receiving a response message to the CAN communication message; And generating and storing the CAN communication diagnostic data including the number of transmissions of the CAN communication message and the number of receptions of the response message for each of the controllers.

본 기술은 차량 주행 중에 CAN 통신관련 고장코드 발생시(Time Out/bus-off/message error) 이를 즉시 진단하여 나중에 정비사가 쉽게 고장부위를 정확히 확인할 수 있다. This technology immediately diagnoses when a CAN communication-related fault code occurs while driving a vehicle (Time Out/bus-off/message error), so that a mechanic can easily check the fault area later.

이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition to this, various effects that are directly or indirectly identified through this document can be provided.

도 1은 본 발명의 일 실시 예에 따른 차량 고장 진단 장치를 포함하는 차량 시스템의 구성을 나타내는 블록도이다.
도 2는 본 발명의 일 실시 예에 따른 차량 고장 진단 장치의 세부 구성도이다.
도 3은 본 발명의 일 실시 예에 따른 차량 고장 진단 장치에 저장되는 캔통신 진단 데이터의 예시적인 도면이다.
도 4는 본 발명의 일 실시 예에 따른 차량 고장 진단 방법을 설명하기 위한 순서도이다.
도 5는 본 발명의 일 실시 예에 따른 차량 고장 진단 장치의 캔 통신 진단 데이터 저장 과정을 설명하기 위한 순서도이다.
도 6은 본 발명의 일 실시 예에 따른 차량 캔 통신 라인의 제어기의 캔 통신 진단 요청 메시지 송신 과정을 설명하기 위한 순서도이다.
도 7은 본 발명의 일 실시 예에 따른 컴퓨팅 시스템을 도시한다.
1 is a block diagram illustrating a configuration of a vehicle system including a vehicle failure diagnosis apparatus according to an exemplary embodiment of the present invention.
2 is a detailed configuration diagram of a vehicle failure diagnosis apparatus according to an embodiment of the present invention.
3 is an exemplary diagram of CAN communication diagnosis data stored in a vehicle failure diagnosis apparatus according to an embodiment of the present invention.
4 is a flowchart illustrating a vehicle failure diagnosis method according to an exemplary embodiment of the present invention.
5 is a flowchart illustrating a process of storing CAN communication diagnostic data in a vehicle failure diagnosis apparatus according to an embodiment of the present invention.
6 is a flowchart illustrating a process of transmitting a CAN communication diagnosis request message by a controller of a vehicle CAN communication line according to an embodiment of the present invention.
7 illustrates a computing system according to an embodiment of the present invention.

이하, 본 발명의 일부 실시예들을 예시적인 도면을 통해 상세하게 설명한다. 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명의 실시예를 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 실시예에 대한 이해를 방해한다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, some embodiments of the present invention will be described in detail through exemplary drawings. In adding reference numerals to elements of each drawing, it should be noted that the same elements are assigned the same numerals as possible even if they are indicated on different drawings. In addition, in describing an embodiment of the present invention, if it is determined that a detailed description of a related known configuration or function obstructs an understanding of the embodiment of the present invention, a detailed description thereof will be omitted.

본 발명의 실시예의 구성 요소를 설명하는 데 있어서, 제 1, 제 2, A, B, (a), (b) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 또한, 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가진다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미를 가진 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.In describing the constituent elements of the embodiments of the present invention, terms such as first, second, A, B, (a), (b), etc. may be used. These terms are only used to distinguish the component from other components, and the nature, order, or order of the component is not limited by the term. In addition, unless otherwise defined, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which the present invention belongs. Terms such as those defined in a commonly used dictionary should be interpreted as having a meaning consistent with the meaning in the context of the related technology, and should not be interpreted as an ideal or excessively formal meaning unless explicitly defined in this application. Does not.

본 발명은 차량 내 캔 통신 고장 발생 시 고장 부위를 실시간으로 진단하여 저장하고, 추후 정비소 단말로 캔 통신 진단 데이터를 제공하여 고장 부위를 정확히 파악할 수 있는 기술을 개시한다. The present invention discloses a technology capable of accurately identifying the faulty part by diagnosing and storing a faulty part in real time when a can communication failure in a vehicle occurs, and providing can communication diagnosis data to a repair shop terminal later.

이하, 도 1 내지 도 7을 참조하여, 본 발명의 실시예들을 구체적으로 설명하기로 한다. Hereinafter, embodiments of the present invention will be described in detail with reference to FIGS. 1 to 7.

도 1은 본 발명의 일 실시 예에 따른 차량 고장 진단 장치를 포함하는 차량 시스템의 구성을 나타내는 블록도이고, 도 2는 본 발명의 일 실시 예에 따른 차량 고장 진단 장치의 세부 구성도이다. 도 3은 본 발명의 일 실시 예에 따른 차량 고장 진단 장치에 저장되는 캔통신 진단 데이터의 예시적인 도면이다.1 is a block diagram showing the configuration of a vehicle system including a vehicle failure diagnosis apparatus according to an embodiment of the present invention, and FIG. 2 is a detailed configuration diagram of a vehicle failure diagnosis apparatus according to an embodiment of the present invention. 3 is an exemplary diagram of CAN communication diagnosis data stored in a vehicle failure diagnosis apparatus according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일 실시 예에 따른 차량 시스템은 차량 고장 진단 장치(100) 및 복수개의 제어기를 포함할 수 있다. 또한, 본 발명의 일 실시 예에 따른 차량 시스템은 도 1에서와 같이 클러스터, PCM, 자기진단 점건단자, 다기능 체크 커넥터 등을 포함할 수 있다. 이때, 복수개의 제어기는 P-CAN/C-CAN/B-CAN/M-CAN/LIN/KWP2000 등의 통신 라인을 통해 연결될 수 있으며, 도 1에서는 PCM, A제어기, B 제어기, C 제어기 D 제어기가 P-CAN 통신 라인에 연결되고, 클러스터, E 제어기, F 제어기, G 제어기, H 제어기가 C-CAN 통신 라인에 연결됨을 알 수 있다. 이때, 차량 고장 진단 장치(100)는 차량의 게이트웨이 장치일 수 있다.Referring to FIG. 1, a vehicle system according to an embodiment of the present invention may include a vehicle failure diagnosis apparatus 100 and a plurality of controllers. In addition, the vehicle system according to an embodiment of the present invention may include a cluster, a PCM, a self-diagnosis point terminal, a multi-function check connector, and the like as shown in FIG. 1. At this time, the plurality of controllers may be connected through communication lines such as P-CAN/C-CAN/B-CAN/M-CAN/LIN/KWP2000, and in FIG. 1, PCM, A controller, B controller, C controller D controller Is connected to the P-CAN communication line, and the cluster, E controller, F controller, G controller, and H controller are connected to the C-CAN communication line. In this case, the vehicle failure diagnosis apparatus 100 may be a gateway device of a vehicle.

차량 고장 진단 장치(100)는 캔 통신 라인에 연결된 적어도 하나 이상의 차량 내 제어기로부터 캔 통신 진단 요청 메시지를 수신하면, 캔 통신 라인에 연결된 모든 제어기들의 캔 통신 고장여부를 진단하고 각 제어기별 캔 통신 진단 데이터를 생성하여 저장할 수 있다. 이에 추후 정비소 단말 등으로부터 캔 통신 진단 데이터의 전송을 요청 받으면, 저장해둔 캔 통신 진단 데이터를 제공함으로써 고장 부위를 정확히 판별할 수 있도록 한다.Upon receiving the CAN communication diagnosis request message from at least one in-vehicle controller connected to the CAN communication line, the vehicle failure diagnosis apparatus 100 diagnoses the CAN communication failure of all controllers connected to the CAN communication line, and diagnoses CAN communication for each controller. You can create and store data. Accordingly, when a request for transmission of CAN communication diagnostic data is received from a workshop terminal in the future, the stored CAN communication diagnostic data is provided so that a faulty part can be accurately identified.

차량 고장 진단 장치(100)는 통신부(110), 저장부(120), 및 프로세서(130)를 포함할 수 있다. The vehicle failure diagnosis apparatus 100 may include a communication unit 110, a storage unit 120, and a processor 130.

통신부(110)는 무선 또는 유선 연결을 통해 신호를 송신 및 수신하기 위해 다양한 전자 회로로 구현되는 하드웨어 장치로서, 본 발명에서는 캔(can) 통신, 린(LIN) 통신 등을 통해 차량 내 통신을 수행하며, 각 통신 라인들에 연결되는 제어기들과 통신을 수행할 수 있다. The communication unit 110 is a hardware device implemented with various electronic circuits to transmit and receive signals through a wireless or wired connection.In the present invention, in-vehicle communication is performed through can communication, LIN communication, etc. And, it is possible to communicate with controllers connected to each communication line.

저장부(120)는 캔 통신 라인에 연결된 모든 제어기들 목록 및 프로세서(130)에 의해 획득된 캔 통신 진단 데이터를 저장할 수 있다. 저장부(120)는 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 마이크로 타입(micro type), 및 카드 타입(예컨대, SD 카드(Secure Digital Card) 또는 XD 카드(eXtream Digital Card)) 등의 메모리와, 램(RAM, Random Access Memory), SRAM(Static RAM), 롬(ROM, Read-Only Memory), PROM(Programmable ROM), EEPROM(Electrically Erasable PROM), 자기 메모리(MRAM, Magnetic RAM), 자기 디스크(magnetic disk), 및 광디스크(optical disk) 타입의 메모리 중 적어도 하나의 타입의 기록 매체(storage medium)를 포함할 수 있다.The storage unit 120 may store a list of all controllers connected to the CAN communication line and CAN communication diagnostic data acquired by the processor 130. The storage unit 120 is a flash memory type, a hard disk type, a micro type, and a card type (e.g., an SD card (Secure Digital Card) or an XD card (eXtream Digital)). Card)), RAM (Random Access Memory), SRAM (Static RAM), ROM (Read-Only Memory), PROM (Programmable ROM), EEPROM (Electrically Erasable PROM), Magnetic Memory (MRAM) , Magnetic RAM), a magnetic disk, and an optical disk type of memory. The storage medium may include at least one type of storage medium.

프로세서(130)는 통신부(110), 저장부(120) 등과 전기적으로 연결될 수 있고, 각 구성들을 전기적으로 제어할 수 있으며, 소프트웨어의 명령을 실행하는 전기 회로가 될 수 있으며, 이에 의해 후술하는 다양한 데이터 처리 및 계산을 수행할 수 있다.The processor 130 can be electrically connected to the communication unit 110, the storage unit 120, and the like, can electrically control each component, and can be an electric circuit that executes a command of software. Data processing and calculation can be performed.

프로세서(130)는 캔 통신 라인에 연결된 적어도 하나 이상의 차량 내 제어기로부터 캔 통신 진단 요청 메시지를 수신하면, 캔 통신 라인에 연결된 모든 제어기들의 캔 통신 고장여부를 진단하고 각 제어기별 캔 통신 진단 데이터를 생성할 수 있다. When the processor 130 receives the CAN communication diagnosis request message from at least one in-vehicle controller connected to the CAN communication line, it diagnoses the CAN communication failure of all controllers connected to the CAN communication line and generates CAN communication diagnosis data for each controller. can do.

이때, 캔 통신 진단 데이터는 도 3과 같이, 캔 통신 진단 요청 메시지를 송신한 제어기, 캔 통신 진단 요청 메시지를 송신한 제어기와 동일한 캔 통신 라인에 연결된 제어기들로 캔 통신 메시지를 송신한 횟수, 및 송신한 캔 통신 메시지에 대한 제어기들마다의 응답 메시지 수신 횟수를 포함할 수 있다.In this case, the CAN communication diagnosis data is the number of times the CAN communication message is transmitted to the controllers that have transmitted the CAN communication diagnosis request message, the controllers that are connected to the same CAN communication line as the controller that has transmitted the CAN communication diagnosis request message, and It may include the number of times the response message is received by the controllers for the transmitted CAN communication message.

프로세서(130)는 미리 정한 시간 마다 모든 제어기들로 미리 정한 횟수 이상 캔 통신 메시지를 송신하고, 모든 제어기들로부터 응답 메시지를 수신하여, 상기 모든 제어기별로 캔 통신 메시지 송신 횟수 및 응답 메시지의 수신 횟수(수신 성공 횟수)를 저장할 수 있다.The processor 130 transmits CAN communication messages more than a predetermined number of times to all controllers at each predetermined time, receives response messages from all controllers, and receives CAN communication message transmission times and response messages for each controller ( The number of successful reception) can be stored.

프로세서(130)는 캔 통신 진단 요청 메시지가 수신될 때 마다, 캔 통신 진단 요청 메시지를 송신한 제어기와 동일한 캔 통신 라인에 연결된 모든 제어기로 미리 정한 횟수만큼 캔 통신 메시지를 송신하고 캔 통신 메시지에 대한 응답 메시지를 수신할 수 있다.Whenever the CAN communication diagnosis request message is received, the processor 130 transmits the CAN communication message a predetermined number of times to all controllers connected to the same CAN communication line as the controller that transmitted the CAN communication diagnosis request message, and You can receive a response message.

이에 프로세서(130)는 캔 통신 진단 요청 메시지가 수신될 때 마다, 모든 제어기마다 캔 통신 메시지의 송신횟수와 응답 메시지의 수신 횟수를 포함하는 캔 통신 진단 데이터를 생성할 수 있다.Accordingly, whenever the CAN communication diagnosis request message is received, the processor 130 may generate CAN communication diagnosis data including the number of transmissions of the CAN communication message and the number of receptions of the response message for every controller.

이와 같이 본 발명은 차량의 주행중이나 간헐적으로 발생한 캔 통신 고장을 고장 발생 즉시 차량 고장 진단 장치(게이트웨이)에서 자체적으로 진단하여 그 정보를 저장해두고, 추후 정비소 단말로 해당 정보를 제공하여 고장원인을 쉽게 확인하도록 할 수 있다. As described above, the present invention diagnoses can communication failures that occur intermittently while the vehicle is running, immediately diagnoses the vehicle failure diagnosis device (gateway) as soon as the failure occurs, stores the information, and provides the corresponding information to the repair shop terminal to easily determine the cause of the failure. You can check.

본 발명은 차량 내 게이트웨이(차량 고장 진단 장치)에서 고장 진단을 위한 플로우를 진행함으로써, 차량 내 게이트웨이와 연결된 캔 통신 라인 상의 제어기들이 각자 고장 진단을 위한 통신 메시지 송수신을 할 필요가 없어 차량 내 캔 통신 부하를 감소시키고, 차량 내 제어기 배열 등의 변경이 발생하더라도 제어기들의 소프트웨어 변경없이 게이트웨이의 소프트웨어만 변경하도록 함으로써 원가 절감 및 시간 소모를 최소화할 수 있다. In the present invention, by performing a flow for fault diagnosis in a vehicle gateway (vehicle fault diagnosis device), the controllers on the CAN communication line connected to the vehicle gateway do not need to transmit and receive communication messages for fault diagnosis respectively. It is possible to reduce the load and minimize the cost and time consumption by changing only the software of the gateway without changing the software of the controllers even if the controller arrangement in the vehicle is changed.

이하, 도 4를 참조하여 본 발명의 일 실시 예에 따른 차량 고장 진단 방법을 구체적으로 설명하기로 한다. 도 4는 본 발명의 일 실시 예에 따른 차량 고장 진단 방법을 설명하기 위한 순서도이다.Hereinafter, a method for diagnosing a vehicle failure according to an embodiment of the present invention will be described in detail with reference to FIG. 4. 4 is a flowchart illustrating a vehicle failure diagnosis method according to an exemplary embodiment of the present invention.

이하에서는 도 1의 차량 고장 진단 장치(100), P-CAN 통신 라인에 연결된 A 제어기, B 제어기, C 제어기가 도 4의 프로세스를 수행하는 것을 가정한다. 또한, 도 4의 설명에서, 차량 고장 진단 장치(100)에 의해 수행되는 것으로 기술된 동작은 차량 고장 진단 장치(100)의 프로세서(130)에 의해 제어되는 것으로 이해될 수 있다. Hereinafter, it is assumed that the vehicle failure diagnosis apparatus 100 of FIG. 1, controller A, controller B, and controller C connected to the P-CAN communication line perform the process of FIG. 4. In addition, in the description of FIG. 4, the operation described as being performed by the vehicle failure diagnosis apparatus 100 may be understood as being controlled by the processor 130 of the vehicle failure diagnosis apparatus 100.

도 4를 참조하면, A 제어기가 캔 관련 고장(시간 초과, 버스 오프 등)을 감지하면(S100), A 제어기는 차량 고장 진단 장치(100)로 캔통신 진단 요청 메시지를 전송한다(S200). Referring to FIG. 4, when controller A detects a CAN-related failure (timeout, bus off, etc.) (S100), controller A transmits a CAN communication diagnosis request message to the vehicle failure diagnosis apparatus 100 (S200).

이에 차량 고장 진단 장치(100)는 A 제어기, B 제어기, C 제어기 각각으로 통신 진단을 위한 캔 통신 메시지를 송신한다(S300). 이에 A 제어기, B 제어기, C 제어기는 응답 메시지를 차량 고장 진단 장치(100)로 전송한다(S400). 이때, 캔 통신 고장이 발생한 제어기는 캔 통신 메시지를 수신하거나 응답 메시지를 차량 고장 진단 장치(100)로 송신할 수 없게 된다. Accordingly, the vehicle failure diagnosis apparatus 100 transmits a CAN communication message for communication diagnosis to controller A, controller B, and controller C (S300). Accordingly, controller A, controller B, and controller C transmit a response message to the vehicle failure diagnosis apparatus 100 (S400). In this case, the controller in which the CAN communication failure has occurred cannot receive the CAN communication message or transmit a response message to the vehicle failure diagnosis apparatus 100.

이때, 차량 고장 진단 장치(100)는 A 제어기, B 제어기, C 제어기 각각으로 캔 통신 메시지를 미리 정한 횟수(예, 10회)만큼 송신하고, A 제어기, B 제어기, C 제어기 각각으로부터 응답 메시지를 수신한 횟수를 기반으로 캔 통신 진단 데이터를 생성하여 저장한다(S500).At this time, the vehicle failure diagnosis apparatus 100 transmits a CAN communication message to each of the controller A, controller B, and controller C a predetermined number of times (eg, 10 times), and transmits a response message from controller A, controller B, and controller C. Can communication diagnostic data is generated and stored based on the number of times received (S500).

도 4에서는 A 제어기에서만 캔 통신 진단 요청 메시지를 수신한 경우를 예로 설명하고 있으며, 아래 표 1 과 같이 캔 통신 진단 데이터를 저장할 수 있다.4 illustrates an example in which the CAN communication diagnosis request message is received only by controller A, and can communication diagnosis data can be stored as shown in Table 1 below.

[표 1][Table 1]

Figure pat00001
Figure pat00001

표 1에서는 일정 주행 거리 또는 시간 동안 게이트웨이(차량 고장 진단 장치)가 동일한 캔 통신 라인에 연결된 PCM, A 제어기, B 제어기, C 제어기 각각으로 캔 통신 메시지를 각각 10회 송신하고, PCM에서는 5회 응답 신호를 수신하고 A 제어기에서는 4회 응답 신호를 수신하고, B 제어기에서는 5회 응답 신호를 수신하였으며, C 제어기에서는 3회 응답신호를 수신한 예를 설명한다. In Table 1, the gateway (vehicle fault diagnosis device) transmits 10 CAN communication messages to each of the PCM, controller A, controller B, and controller C connected to the same CAN communication line for a certain mileage or time, and 5 responses from PCM. An example will be described in which a signal is received, controller A receives a response signal 4 times, controller B receives a response signal 5 times, and controller C receives a response signal 3 times.

도 4에서는 A제어기에서만 캔 관련 고장을 감지한 예를 설명하고 있으나, 이에 한정되지 않고 A 제어기, B 제어기, C 제어기가 동시에 또는 다른 시간에 모두 캔 관련 고장을 감지하여 차량 고장 진단 장치(100)로 캔 통신 진단 요청 메시지를 전송할 수 있다. 이런 경우, 차량 고장 진단 장치(100)는 캔 통신 메시지를 송신하고, 응답 메시지를 수신하는 과정(S103, S104)을 B 제어기, C 제어기에 대해서도 수행할 수 있다. 이에 제어기별 캔 통신 진단 데이터는 A 제어기, B 제어기, C 제어기마다 메시지 송신 횟수 및 수신 성공횟수를 저장할 수 있다. 아래 표 2와 같다4 illustrates an example in which can-related failure is detected only in controller A, but is not limited thereto, and vehicle failure diagnosis apparatus 100 by detecting can-related failure at the same time or at different times by controller A, controller B, and controller C. Rocan communication diagnosis request message can be transmitted. In this case, the vehicle failure diagnosis apparatus 100 may perform a process (S103, S104) of transmitting the CAN communication message and receiving the response message for the controller B and the controller C. Accordingly, the CAN communication diagnostic data for each controller may store the number of times of message transmission and the number of successful receptions for each controller A, controller B, and controller C. As shown in Table 2 below

[표 2][Table 2]

Figure pat00002
Figure pat00002

즉, 표 2에서는 일정 주행 거리 또는 시간 동안 PCM, 게이트웨이, A 제어기, B 제어기, C 제어기 각각이 캔 통신 진단 요청 메시지를 차량 고장 진단 장치(100)로 송신하고, 차량 고장 진단 장치(100)는 각 제어기로부터 캔 통신 진단 요청 메시지를 수신할때마다 PCM, A 제어기, B 제어기, C 제어기로 캔 통신 진단을 위한 캔 통신 메시지를 송신하고 응답 메시지를 수신하여, 각 제어기별 캔 통신 메시지 송신 횟수에 따른 응답 메시지 수신 횟수(수신 성공 횟수)를 저장한다. That is, in Table 2, each of the PCM, gateway, controller A, controller B, and controller C transmits a CAN communication diagnosis request message to the vehicle failure diagnosis apparatus 100 for a certain driving distance or time, and the vehicle failure diagnosis apparatus 100 Whenever the CAN communication diagnosis request message is received from each controller, the CAN communication message for CAN communication diagnosis is transmitted to the PCM, A controller, B controller, and C controller, and a response message is received. It stores the number of times the response message is received (the number of successful receptions).

표 2를 살펴보면, PCM, 게이트웨이, A 제어기, B 제어기는 캔 통신 메시지 송신 횟수가 10회인 경우 응답 메시지 수신 횟수도 10회로, 캔 통신 메시지 송신에 대해 모두 응답이 온 것으로 판단할 수 있다. 즉 PCM, 게이트웨이, A 제어기, B 제어기는 캔 통신 고장이 발생하지 않음을 알 수 있다. Referring to Table 2, the PCM, the gateway, the controller A, and the controller B may determine that when the number of CAN communication message transmissions is 10, the number of times the response message is received is also 10, and that all responses to the transmission of CAN communication messages have come. That is, it can be seen that PCM, gateway, controller A, and controller B do not have CAN communication failure.

그런데 C 제어기의 경우 캔 통신 메시지 송신 횟수가 10회인데 응답 메시지 수신 횟수가 4회, 5회, 5회, 3회, 4회로 절반 이하의 수신 성공횟수를 보이므로, C 제어기에 캔 통신 고장이 발생한 것으로 판단될 수 있다. However, in the case of controller C, the number of CAN communication messages is transmitted 10 times, but the number of reception of response messages is 4, 5, 5, 3, 4 circuits. It can be determined that it has occurred.

또한, 캔 통신 진단 데이터의 또 다른 예로서 표 3 및 표 4가 있다.In addition, there are Tables 3 and 4 as another example of CAN communication diagnostic data.

[표 3][Table 3]

Figure pat00003
Figure pat00003

표 3은 일정 주행 거리 또는 시간 동안 클러스터, 게이트웨이(차량 고장 진단 장치), E 제어기, F 제어기, G제어기, H 제어기가 차량 고장 진단 장치(100)로 캔 통신 진단 요청 메시지를 송신한 경우의 캔 통신 진단 데이터의 예이다. Table 3 shows cans when the cluster, gateway (vehicle fault diagnosis device), E controller, F controller, G controller, and H controller transmit the CAN communication diagnosis request message to the vehicle fault diagnosis device 100 for a certain mileage or time. This is an example of communication diagnostic data.

[표 4] [Table 4]

Figure pat00004
Figure pat00004

표 4는 일정 주행 거리 또는 시간 동안 PCM, C 제어기가 게이트웨이(차량 고장 진단 장치)에 캔 통신 진단 요청 메시지를 송신한 경우의 캔 통신 진단 데이터의 예이다. Table 4 is an example of CAN communication diagnosis data when a PCM, C controller transmits a CAN communication diagnosis request message to a gateway (vehicle failure diagnosis device) for a certain driving distance or time.

이 후, 차량이 정비를 위해 정비소에 도착하면, 정비소 단말(200)이 차량 고장 진단 장치(100)로 캔 통신 진단 데이터를 요청하고(S600), 차량 고장 진단 장치(100)는 표1 또는 표 2와 같은 캔 통신 진단 데이터를 정비소 단말(200)로 전송한다(S700). 이에 정비소 단말(200)은 캔 통신 진단 데이터를 기반으로 캔 통신 고장을 진단할 수 있다.Thereafter, when the vehicle arrives at the workshop for maintenance, the workshop terminal 200 requests CAN communication diagnostic data to the vehicle failure diagnosis apparatus 100 (S600), and the vehicle failure diagnosis apparatus 100 is shown in Table 1 or Table 1 The CAN communication diagnostic data as shown in 2 is transmitted to the workshop terminal 200 (S700). Accordingly, the repair shop terminal 200 may diagnose a CAN communication failure based on the CAN communication diagnosis data.

예를 들어, 표 1과 같은 캔 통신 진단 데이터를 수신한 경우, 정비소 단말(200)은 도 1의 4번 커넥터에서 차량 고장 진단 장치(100) 사이의 구간에서 간헐적 단선이 발생한 것으로 추정할 수 있다.For example, when receiving CAN communication diagnostic data as shown in Table 1, the repair shop terminal 200 may estimate that an intermittent disconnection has occurred in a section between the vehicle failure diagnosis apparatus 100 at connector 4 of FIG. 1. .

표 2와 같은 캔 통신 진단 데이터를 수신한 경우, 정비소 단말(200)은 도 1의 간헐적인 C 제어기의 지선단선, C 제어기 접지 문제, C 제어기 전원 문제가 발생했음을 예상할 수 있다. When receiving the CAN communication diagnostic data as shown in Table 2, the repair shop terminal 200 can predict that the intermittent branch line disconnection of the C controller of FIG. 1, the C controller grounding problem, and the C controller power supply problem have occurred.

표 3과 같은 캔 통신 진단 데이터를 수신한 경우, 정비소 단말(200)은 도 1의 C-CAN 라인에서의 간헐적 버스오프(bus-off)(예, 주선/지선 상호단락/접지단락/전원단락)를 추정할 수 있다.When receiving CAN communication diagnostic data as shown in Table 3, the workshop terminal 200 intermittent bus-off in the C-CAN line of FIG. 1 (e.g., main line/branch line mutual short/ground short/power short) ) Can be estimated.

표 4와 같은 캔 통신 진단 데이터를 수신한 경우, 정비소 단말(200)은 도 1의 P-CAN 라인에서의 ①번 구간에서 간헐적 주선단선이 발생했음을 추정할 수 있다.When receiving the CAN communication diagnostic data as shown in Table 4, the workshop terminal 200 can estimate that an intermittent main line disconnection occurred in section ① of the P-CAN line of FIG. 1.

이하, 도 5를 참조하여 본 발명의 일 실시 예에 따른 차량 고장 진단 장치의 캔 통신 진단 데이터 저장 과정을 설명하기로 한다. 도 5는 본 발명의 일 실시 예에 따른 차량 고장 진단 장치의 캔 통신 진단 데이터 저장 과정을 설명하기 위한 순서도이다. Hereinafter, a process of storing CAN communication diagnostic data in a vehicle failure diagnosis apparatus according to an embodiment of the present invention will be described with reference to FIG. 5. 5 is a flowchart illustrating a process of storing CAN communication diagnostic data in a vehicle failure diagnosis apparatus according to an embodiment of the present invention.

이하에서는 도 1의 차량 고장 진단 장치(100)가 도 5의 프로세스를 수행하는 것을 가정한다. 또한, 도 5의 설명에서, 장치에 의해 수행되는 것으로 기술된 동작은 차량 고장 진단 장치(100)의 프로세서(130)에 의해 제어되는 것으로 이해될 수 있다.Hereinafter, it is assumed that the vehicle failure diagnosis apparatus 100 of FIG. 1 performs the process of FIG. 5. In addition, in the description of FIG. 5, it may be understood that the operation described as being performed by the apparatus is controlled by the processor 130 of the vehicle failure diagnosis apparatus 100.

차량 고장 진단 장치(100)는 모든 캔 통신 라인(P-CAN/C-CAN/B-CAN/M-CAN/I-CAN)에 연결되어 있는 모든 제어기 관련 메시지 수신 정보를 실시간 업데이트하여, 캔 통신 메시지 송신에 대한 응답 메시지 수신 횟수를 저장한다(S101). 이때, 차량 고장 진단 장치(100)는 미리 정한 주기 마다 모든 제어기로 캔 통신 메시지를 송신하고, 응답 신호의 수신 성공 여부를 저장한다. 즉, 미리 정한 시간 동안 캔 통신 메시지 송신 횟수와 그 캔 통신 메시지 송신에 대응하는 응답 메시지를 성공적으로 수신한 횟수를 저장할 수 있다. 예를 들어, 차량 고장 진단 장치(100)는 최근 1주일 이내 각 제어기로 10개의 캔 통신 메시지를 송신하고 10개의 캔 통신 메시지에 대한 응답 메시지가 성공적으로 수신된 횟수가 5회인 경우 “5/10”이 저장될 수 있다. 예를 들어, 엔진 ECU에서 송신하는 EMS1 메시지(주기 10ms)를 수신한다고 할 때, 가장 최근 100회 동안(10ms X 100 = 1s) 몇 번이나 제대로 EMS1을 수신했는지 정보를 실시간으로 업데이트 한다. 차량 고장 진단 장치(100)는 모든 캔 통신 제어기에서 송신하는 캔 통신 메시지를 수신하여 다른 제어기에 대해서도 상기와 동일한 정보를 실시간으로 업데이트 한다.The vehicle failure diagnosis device 100 updates all controller-related message reception information connected to all CAN communication lines (P-CAN/C-CAN/B-CAN/M-CAN/I-CAN) in real time to communicate CAN The number of times the response message is received for message transmission is stored (S101). At this time, the vehicle failure diagnosis apparatus 100 transmits CAN communication messages to all controllers at predetermined periods and stores whether or not reception of a response signal is successful. That is, it is possible to store the number of times the CAN communication message is transmitted and the number of times the response message corresponding to the transmission of the CAN communication message is successfully received during a predetermined time. For example, if the vehicle failure diagnosis apparatus 100 transmits 10 CAN communication messages to each controller within the last one week and the number of times the response message to 10 CAN communication messages has been successfully received is 5 times, “5/10 ”Can be saved. For example, when an EMS1 message (period 10ms) transmitted from the engine ECU is received, information on how many times EMS1 has been properly received during the last 100 times (10ms X 100 = 1s) is updated in real time. The vehicle failure diagnosis apparatus 100 receives CAN communication messages transmitted from all CAN communication controllers, and updates the same information as described above for other controllers in real time.

이 후, 차량 고장 진단 장치(100)는 적어도 하나 이상의 제어기로부터 캔 통신 진단 요청 메시지 수신하였는 지를 체크하고(S102), 적어도 하나 이상의 제어기로부터 캔 통신 진단 요청 메시지 수신한 경우, 캔 통신 진단을 요청한 제어기가 연결된 캔 통신 라인에 연결된 모든 제어기로 캔 통신 메시지를 송신하고, 응답신호를 수신한 횟수를 기반으로 제어기별 캔 통신 진단 데이터를 생성 및 저장한다(S103).Thereafter, the vehicle failure diagnosis apparatus 100 checks whether a CAN communication diagnosis request message has been received from at least one controller (S102), and when a CAN communication diagnosis request message is received from at least one controller, the controller requesting the CAN communication diagnosis The CAN communication message is transmitted to all controllers connected to the CAN communication line, and can communication diagnostic data for each controller is generated and stored based on the number of times the response signal is received (S103).

이 후, 차량 고장 진단 장치(100)는 정비소 단말(200)로부터 캔 통신 진단 데이터 요청 메시지를 수신하였는 지를 체크하고(S104) 정비소 단말(200)로부터 캔 통신 진단 데이터 요청 메시지를 수신하면, 캔 통신 진단 데이터를 정비소 단말로 송신한다(S105).Thereafter, the vehicle failure diagnosis apparatus 100 checks whether the CAN communication diagnostic data request message has been received from the repair shop terminal 200 (S104), and when receiving the CAN communication diagnostic data request message from the repair shop terminal 200, CAN communication The diagnostic data is transmitted to the workshop terminal (S105).

이하, 도 6을 참조하여 본 발명의 일 실시 예에 따른 차량 캔 통신 라인의 제어기의 캔 통신 진단 요청 메시지 송신 과정을 설명하기로 한다. 도 6은 본 발명의 일 실시 예에 따른 차량 캔 통신 라인의 제어기의 캔 통신 진단 요청 메시지 송신 과정을 설명하기 위한 순서도이다.Hereinafter, a process of transmitting a CAN communication diagnosis request message by a controller of a vehicle CAN communication line according to an embodiment of the present invention will be described with reference to FIG. 6. 6 is a flowchart illustrating a process of transmitting a CAN communication diagnosis request message by a controller of a vehicle CAN communication line according to an embodiment of the present invention.

이하에서는 도 1의 차량의 캔 통신 라인에 연결된 각 제어기가 도 6의 프로세스를 수행하는 것을 가정한다. 각 제어기는 내부에 도 6의 프로세스를 처리하기 위한 프로세서를 구비할 수 있다.Hereinafter, it is assumed that each controller connected to the CAN communication line of the vehicle of FIG. 1 performs the process of FIG. 6. Each controller may have a processor for processing the process of FIG. 6 therein.

차량의 캔 통신 라인에 연결된 각 제어기는 타임아웃(Time out) 또는 버스오프(bus-off) 고장을 실시간으로 감지한다(S201). 즉, 각 제어기는 서로 간에 통신을 주고 받으며, 캔 통신 메시지 송신 시 일정 시간이 초과하여도 응답 메시지를 수신하지 못한 경우 고장이 발생한 것으로 감지할 수 있다. 이때, 각 제어기의 타임 아웃 또는 버스 오프 고장 감지는 통상의 방법을 이용하여 수행될 수 있다. Each controller connected to the CAN communication line of the vehicle detects a time out or a bus-off failure in real time (S201). That is, each controller exchanges communication with each other, and when a response message is not received even if a predetermined time elapses when transmitting a CAN communication message, it can be detected that a failure has occurred. At this time, detection of a timeout or a bus off failure of each controller may be performed using a conventional method.

이에 타 제어기 또는 자신이 연결되어 있는 캔 통신 라인 상에서, 타임 아웃 또는 버스 오프 고장이 발생된 것으로 감지되면(S202), 차량의 캔 통신 라인에 연결된 각 제어기는 차량 진단 장치로 캔 통신 진단 요청 메시지를 1회 이상 송신 할 수 있다(S203). 예를 들어, 차량의 캔 통신 라인에 연결된 각 제어기는 차량 고장 진단 장치(100)로 캔 통신 진단 요청 메시지를 2회~3회 이상 송신을 반복하여, 간헐적 고장 발생에 의해 차량 고장 진단 장치(100)가 캔 통신 진단 요청 메시지를 수신하지 못하는 것을 방지할 수 있다.Accordingly, when it is detected that a timeout or bus off failure has occurred on another controller or the CAN communication line to which it is connected (S202), each controller connected to the CAN communication line of the vehicle sends a CAN communication diagnosis request message to the vehicle diagnosis device. It can be transmitted more than once (S203). For example, each controller connected to the CAN communication line of the vehicle repeatedly transmits the CAN communication diagnosis request message to the vehicle failure diagnosis apparatus 100 two to three times or more, and the vehicle failure diagnosis apparatus 100 is caused by intermittent failure. ) Can prevent the CAN communication diagnosis request message from being received.

이때, 캔 통신 진단 요청 메시지 송신하는 제어기는 감지된 고장 종류(예, TCU time-out, P-CAN bus-off 등)에 대한 정보를 함께 전송할 수 있다.In this case, the controller that transmits the CAN communication diagnosis request message may transmit information on the detected type of failure (eg, TCU time-out, P-CAN bus-off, etc.) together.

차량 내 캔 통신 라인에 연결된 각 제어기는 캔 통신 관련 고장 발생 시 캔 통신 라인에 연결된 모든 제어기로 통신 시도 메시지를 송신하고 수신하는 작업을 최소 10회 이상 하게 되는데, 이러한 작업을 모든 제어기마다 10회 이상 수행하는 경우 통신 부하가 걸릴 수 있다. 예를 들어, 하나의 캔통신 라인에 연결된 제어기가 10개인 경우, 10개의 제어기가 10회씩 메시지 송수신을 함으로써 총 1000회의 통신 부하가 발생하게 된다. 또한, 각 제어기마다 통신 시도 메시지를 송신하고 수신하는 경우 이를 위한 로직을 각 제어기마다 구현되어야 하고 통신 진단 데이터를 각 제어기마다 저장하기 위한 메모리를 구비해야 한다.Each controller connected to the CAN communication line in the vehicle performs at least 10 times of sending and receiving communication attempt messages to all controllers connected to the CAN communication line when a CAN communication-related failure occurs.These operations are performed more than 10 times for each controller. If performed, the communication load may be applied. For example, if there are 10 controllers connected to one CAN communication line, 10 controllers transmit and receive messages 10 times, resulting in a total of 1000 communication loads. In addition, when each controller transmits and receives a communication attempt message, a logic for this should be implemented for each controller, and a memory for storing communication diagnostic data for each controller should be provided.

이에 본 발명에서는 제어기가 캔 통신 관련 고장 발생을 감지하면 차량 게이트웨이 장치인 차량 고장 진단 장치(100)로 캔통신 고장 진단을 요청함으로써, 차량 고장 진단 장치(100)가 각 제어기에 대해 10회씩 통신 시도 메시지를 송신하고 수신함으로써 통신 부하가 100회로 감소될 수 있다. 또한, 각 제어기마다 통신 시도 메시지를 송신하고 수신하는 경우 이를 위한 로직 및 통신 진단 데이터를 저장하기 위한 메모리를 구비하지 않아도 되어 원가 절감이 가능하다. Accordingly, in the present invention, when the controller detects the occurrence of a CAN communication-related failure, the vehicle failure diagnosis apparatus 100 requests the CAN communication failure diagnosis to the vehicle failure diagnosis device 100, which is a vehicle gateway device, so that the vehicle failure diagnosis apparatus 100 tries to communicate with each controller 10 times. By sending and receiving messages, the communication load can be reduced to 100. In addition, when each controller transmits and receives a communication attempt message, it is not necessary to have a memory for storing logic and communication diagnostic data for this, thereby reducing cost.

또한, 차량 변경 시 제어기 배열이 변경되는 경우 각 제어기의 소프트웨어를 업데이트해야 하는데, 본 발명에서는 차량 변경에 따른 제어기 배열이 변경되더라도 차량 고장 진단 장치(100)의 소프트웨어만 업데이트하면 된다. In addition, when the controller arrangement is changed when the vehicle is changed, the software of each controller needs to be updated. In the present invention, even if the controller arrangement is changed according to the vehicle change, only the software of the vehicle failure diagnosis apparatus 100 needs to be updated.

도 7은 본 발명의 일 실시 예에 따른 컴퓨팅 시스템을 도시한다.7 illustrates a computing system according to an embodiment of the present invention.

도 7을 참조하면, 컴퓨팅 시스템(1000)은 버스(1200)를 통해 연결되는 적어도 하나의 프로세서(1100), 메모리(1300), 사용자 인터페이스 입력 장치(1400), 사용자 인터페이스 출력 장치(1500), 스토리지(1600), 및 네트워크 인터페이스(1700)를 포함할 수 있다. Referring to FIG. 7, the computing system 1000 includes at least one processor 1100, a memory 1300, a user interface input device 1400, a user interface output device 1500, and storage connected through a bus 1200. (1600), and a network interface (1700).

프로세서(1100)는 중앙 처리 장치(CPU) 또는 메모리(1300) 및/또는 스토리지(1600)에 저장된 명령어들에 대한 처리를 실행하는 반도체 장치일 수 있다. 메모리(1300) 및 스토리지(1600)는 다양한 종류의 휘발성 또는 불휘발성 저장 매체를 포함할 수 있다. 예를 들어, 메모리(1300)는 ROM(Read Only Memory) 및 RAM(Random Access Memory)을 포함할 수 있다. The processor 1100 may be a central processing unit (CPU) or a semiconductor device that processes instructions stored in the memory 1300 and/or the storage 1600. The memory 1300 and the storage 1600 may include various types of volatile or nonvolatile storage media. For example, the memory 1300 may include read only memory (ROM) and random access memory (RAM).

따라서, 본 명세서에 개시된 실시예들과 관련하여 설명된 방법 또는 알고리즘의 단계는 프로세서(1100)에 의해 실행되는 하드웨어, 소프트웨어 모듈, 또는 그 2 개의 결합으로 직접 구현될 수 있다. 소프트웨어 모듈은 RAM 메모리, 플래시 메모리, ROM 메모리, EPROM 메모리, EEPROM 메모리, 레지스터, 하드 디스크, 착탈형 디스크, CD-ROM과 같은 저장 매체(즉, 메모리(1300) 및/또는 스토리지(1600))에 상주할 수도 있다. Accordingly, the steps of the method or algorithm described in connection with the embodiments disclosed herein may be directly implemented as hardware, software modules, or a combination of the two executed by the processor 1100. Software modules reside in storage media (i.e., memory 1300 and/or storage 1600) such as RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM. You may.

예시적인 저장 매체는 프로세서(1100)에 커플링되며, 그 프로세서(1100)는 저장 매체로부터 정보를 판독할 수 있고 저장 매체에 정보를 기입할 수 있다. 다른 방법으로, 저장 매체는 프로세서(1100)와 일체형일 수도 있다. 프로세서 및 저장 매체는 주문형 집적회로(ASIC) 내에 상주할 수도 있다. ASIC는 사용자 단말기 내에 상주할 수도 있다. 다른 방법으로, 프로세서 및 저장 매체는 사용자 단말기 내에 개별 컴포넌트로서 상주할 수도 있다.An exemplary storage medium is coupled to the processor 1100, which is capable of reading information from and writing information to the storage medium. Alternatively, the storage medium may be integral with the processor 1100. The processor and storage media may reside within an application specific integrated circuit (ASIC). The ASIC may reside within the user terminal. Alternatively, the processor and storage medium may reside as separate components within the user terminal.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. The above description is merely illustrative of the technical idea of the present invention, and those of ordinary skill in the art to which the present invention pertains will be able to make various modifications and variations without departing from the essential characteristics of the present invention.

따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.Accordingly, the embodiments disclosed in the present invention are not intended to limit the technical idea of the present invention, but to explain the technical idea, and the scope of the technical idea of the present invention is not limited by these embodiments. The scope of protection of the present invention should be interpreted by the following claims, and all technical ideas within the scope equivalent thereto should be interpreted as being included in the scope of the present invention.

Claims (15)

캔 통신 라인에 연결된 적어도 하나 이상의 차량 내 제어기로부터 캔 통신 진단 요청 메시지를 수신하면, 상기 캔 통신 라인에 연결된 모든 제어기들의 캔 통신 고장여부를 진단하고 각 제어기별 캔 통신 진단 데이터를 생성하는 프로세서; 및
상기 캔 통신 라인에 연결된 모든 제어기들 정보 및 상기 프로세서에 의해 생성되는 캔 통신 진단 데이터를 저장하는 저장부;
를 포함하는 차량 고장 진단 장치.
A processor for diagnosing CAN communication failure of all controllers connected to the CAN communication line and generating CAN communication diagnosis data for each controller when receiving a CAN communication diagnosis request message from at least one in-vehicle controller connected to the CAN communication line; And
A storage unit for storing information on all controllers connected to the CAN communication line and diagnostic data for CAN communication generated by the processor;
Vehicle failure diagnosis device comprising a.
청구항 1에 있어서,
상기 차량 고장 진단 장치는,
차량 게이트웨이 장치인 것을 특징으로 하는 차량 고장 진단 장치.
The method according to claim 1,
The vehicle failure diagnosis device,
Vehicle failure diagnosis device, characterized in that the vehicle gateway device.
청구항 1에 있어서,
상기 캔 통신 진단 데이터는,
상기 캔 통신 진단 요청 메시지를 송신한 제어기, 상기 캔 통신 진단 요청 메시지를 송신한 제어기와 동일한 캔 통신 라인에 연결된 제어기들마다 상기 프로세서가 캔 통신 메시지를 송신한 횟수, 및 송신한 캔 통신 메시지에 대한 제어기들마다의 응답 메시지 수신 횟수를 포함하는 것을 특징으로 하는 차량 고장 진단 장치.
The method according to claim 1,
The CAN communication diagnostic data,
The number of times the processor transmits the CAN communication message for each controller that has transmitted the CAN communication diagnosis request message and the controllers connected to the same CAN communication line as the controller that transmits the CAN communication diagnosis request message, and the transmitted CAN communication message Vehicle failure diagnosis apparatus comprising the number of times the response message is received for each controller.
청구항 1에 있어서,
상기 프로세서는,
미리 정한 시간 마다 상기 모든 제어기들로 미리 정한 횟수 이상 캔 통신 메시지를 송신하고, 상기 적어도 하나 이상의 제어기들로부터 응답 메시지를 수신하여, 상기 모든 제어기별로 상기 캔 통신 메시지 송신 횟수 및 상기 응답 메시지의 수신 횟수를 저장하는 것을 특징으로 하는 차량 고장 진단 장치.
The method according to claim 1,
The processor,
At every predetermined time, the CAN communication message is transmitted to all the controllers more than a predetermined number of times, and a response message is received from the at least one or more controllers, and the number of transmission of the CAN communication message and the number of reception of the response message for each of the controller Vehicle failure diagnosis apparatus, characterized in that storing the.
청구항 1에 있어서,
상기 프로세서는,
상기 캔 통신 진단 요청 메시지가 수신될 때 마다, 상기 캔 통신 진단 요청 메시지를 송신한 제어기와 동일한 캔 통신 라인에 연결된 모든 제어기로 미리 정한 횟수만큼 캔 통신 메시지를 송신하고 상기 캔 통신 메시지에 대한 응답 메시지를 수신하는 것을 특징으로 하는 차량 고장 진단 장치.
The method according to claim 1,
The processor,
Whenever the CAN communication diagnosis request message is received, a CAN communication message is transmitted a predetermined number of times to all controllers connected to the same CAN communication line as the controller that transmitted the CAN communication diagnosis request message, and a response message to the CAN communication message Vehicle failure diagnosis apparatus, characterized in that receiving a.
청구항 5에 있어서,
상기 프로세서는,
상기 캔 통신 진단 요청 메시지가 수신될 때 마다, 제어기별로, 상기 제어기로 송신된 캔 통신 메시지의 송신횟수와 상기 제어기로부터 수신한 응답 메시지의 수신 횟수를 포함하는 상기 캔 통신 진단 데이터를 생성하는 것을 특징으로 하는 차량 고장 진단 장치.
The method of claim 5,
The processor,
Whenever the CAN communication diagnosis request message is received, the CAN communication diagnosis data including the number of times of transmission of the CAN communication message transmitted to the controller and the number of reception of the response message received from the controller are generated for each controller. Vehicle fault diagnosis device.
복수개의 캔 통신 라인;
상기 복수개의 캔 통신 라인에 각각 연결되는 적어도 하나 이상의 제어기;
상기 복수개의 캔 통신 라인에 연결된 적어도 하나 이상의 차량 내 제어기로부터 캔 통신 진단 요청 메시지를 수신하면, 상기 캔 통신 진단 요청 메시지를 송신한 제어기가 연결된 캔 통신 라인에 연결된 모든 제어기들의 캔 통신 고장여부를 진단하고 각 제어기별 캔 통신 진단 데이터를 생성하여 저장하는 차량 고장 진단 장치;
를 포함하는 것을 특징으로 하는 차량 시스템.
A plurality of CAN communication lines;
At least one controller connected to each of the plurality of CAN communication lines;
When a CAN communication diagnosis request message is received from at least one in-vehicle controller connected to the plurality of CAN communication lines, diagnosis of CAN communication failure of all controllers connected to the CAN communication line to which the controller that transmitted the CAN communication diagnosis request message is connected A vehicle failure diagnosis device for generating and storing CAN communication diagnosis data for each controller;
Vehicle system comprising a.
청구항 7에 있어서,
상기 적어도 하나 이상의 제어기는,
타임 아웃 또는 버스오프 고장을 실시간으로 감지하고, 상기 타임 아웃 또는 버스오프 고장이 감지되면 상기 차량 고장 진단 장치로 상기 캔 통신 진단 요청 메시지를 송신하는 것을 특징으로 하는 차량 시스템.
The method of claim 7,
The at least one or more controllers,
A vehicle system comprising: detecting a time-out or bus-off failure in real time, and transmitting the CAN communication diagnosis request message to the vehicle failure diagnosis apparatus when the time-out or bus-off failure is detected.
청구항 7에 있어서,
상기 차량 고장 진단 장치는,
상기 캔 통신 진단 요청 메시지가 수신될 때 마다, 상기 캔 통신 진단 요청 메시지를 송신한 제어기와 동일한 캔 통신 라인에 연결된 모든 제어기로 미리 정한 횟수만큼 캔 통신 메시지를 송신하고 상기 캔 통신 메시지에 대한 응답 메시지를 수신하는 것을 특징으로 하는 차량 시스템.
The method of claim 7,
The vehicle failure diagnosis device,
Whenever the CAN communication diagnosis request message is received, a CAN communication message is transmitted a predetermined number of times to all controllers connected to the same CAN communication line as the controller that transmitted the CAN communication diagnosis request message, and a response message to the CAN communication message Vehicle system, characterized in that receiving a.
청구항 7에 있어서,
상기 차량 고장 진단 장치는,
미리 정한 시간 마다 상기 적어도 하나 이상의 제어기 각각으로 미리 정한 횟수 이상 캔 통신 메시지를 송신하고, 상기 캔 통신 메시지에 대한 응답 메시지를 수신하여, 제어기별로 상기 캔 통신 메시지 송신 횟수 및 상기 응답 메시지의 수신 횟수를 포함하는 상기 캔 통신 진단 데이터를 생성하여 저장하는 것을 특징으로 하는 차량 시스템.
The method of claim 7,
The vehicle failure diagnosis device,
Every predetermined time, the CAN communication message is transmitted to each of the at least one or more controllers more than a predetermined number of times, and a response message to the CAN communication message is received, and the number of transmission of the CAN communication message and the number of reception of the response message are determined for each controller. The vehicle system comprising generating and storing the CAN communication diagnostic data.
청구항 7 있어서,
상기 차량 고장 진단 장치는,
상기 캔 통신 진단 요청 메시지가 수신될 때 마다, 상기 적어도 하나 이상의 제어기 각각으로 미리 정한 횟수이상 캔 통신 메시지를 송신하고, 상기 캔 통신 메시지에 대한 응답 메시지를 수신하여, 제어기별로 상기 캔 통신 메시지 송신 횟수 및 상기 응답 메시지의 수신 횟수를 포함하는 상기 캔 통신 진단 데이터를 생성하여 저장하는 것을 특징으로 하는 차량 시스템.
The method of claim 7,
The vehicle failure diagnosis device,
Whenever the CAN communication diagnosis request message is received, the CAN communication message is transmitted to each of the at least one controller more than a predetermined number of times, and a response message to the CAN communication message is received, and the number of transmission of the CAN communication message for each controller And generating and storing the CAN communication diagnostic data including the number of times the response message is received.
캔 통신 라인에 연결된 적어도 하나 이상의 차량 내 제어기로부터 캔 통신 진단 요청 메시지를 수신하는 단계;
상기 캔 통신 진단 요청 메시지를 송신한 제어기와 동일한 캔 통신 라인에 연결된 모든 제어기들의 캔 통신 고장여부를 진단하고, 각 제어기별 캔 통신 진단 데이터를 생성하는 단계; 및
상기 각 제어기별 캔 통신 진단 데이터를 저장하는 단계
를 포함하는 것을 특징으로 하는 차량 고장 진단 방법.
Receiving a CAN communication diagnosis request message from at least one in-vehicle controller connected to the CAN communication line;
Diagnosing CAN communication failure of all controllers connected to the same CAN communication line as the controller that transmitted the CAN communication diagnosis request message, and generating CAN communication diagnosis data for each controller; And
Storing CAN communication diagnostic data for each controller
Vehicle failure diagnosis method comprising a.
청구항 12에 있어서,
상기 캔 통신 진단 데이터는,
상기 캔 통신 진단 요청 메시지를 송신한 제어기, 제어기별로 상기 캔 통신 진단 요청 메시지를 송신한 제어기와 동일한 캔 통신 라인에 연결된 제어기들로 캔 통신 메시지를 송신한 횟수, 및 송신한 캔 통신 메시지에 대한 제어기들마다의 응답 메시지 수신 횟수를 포함하는 것을 특징으로 하는 차량 고장 진단 방법.
The method of claim 12,
The CAN communication diagnostic data,
The controller that transmitted the CAN communication diagnosis request message, the number of times the CAN communication message was transmitted to controllers connected to the same CAN communication line as the controller that transmitted the CAN communication diagnosis request message for each controller, and a controller for the transmitted CAN communication message Vehicle failure diagnosis method comprising the number of times each response message is received.
청구항 12에 있어서,
상기 각 제어기별 캔 통신 진단 데이터를 생성하는 단계는,
미리 정한 시간 마다 상기 적어도 하나 이상의 차량 내 제어기로 미리 정한 횟수 이상 캔 통신 메시지를 송신하는 단계;
상기 적어도 하나 이상의 제어기로부터 응답 메시지를 수신하는 단계; 및
상기 적어도 하나 이상의 제어기로 상기 캔 통신 메시지를 송신한 송신 횟수 및 상기 캔 통신 메시지에 대한 응답 메시지의 수신 횟수를 제어기별로 저장하여 상기 캔 통신 진단 데이터를 생성하는 단계;
를 포함하는 것을 특징으로 하는 차량 고장 진단 방법.
The method of claim 12,
The step of generating CAN communication diagnostic data for each controller,
Transmitting a CAN communication message more than a predetermined number of times to the at least one in-vehicle controller at each predetermined time;
Receiving a response message from the at least one controller; And
Generating the CAN communication diagnosis data by storing the number of transmissions of the CAN communication message to the at least one controller and the number of receptions of the response message to the CAN communication message for each controller;
Vehicle failure diagnosis method comprising a.
청구항 12에 있어서,
상기 각 제어기별 캔 통신 진단 데이터를 생성하는 단계는,
상기 캔 통신 진단 요청 메시지가 수신될 때 마다, 상기 캔 통신 진단 요청 메시지를 송신한 제어기와 동일한 캔 통신 라인에 연결된 모든 제어기로 미리 정한 횟수만큼 캔 통신 메시지를 송신하는 단계;
상기 캔 통신 메시지에 대한 응답 메시지를 수신하는 단계; 및
상기 모든 제어기마다 상기 캔 통신 메시지의 송신횟수와 상기 응답 메시지의 수신 횟수를 포함하는 상기 캔 통신 진단 데이터를 생성 및 저장하는 단계;
를 포함하는 것을 특징으로 하는 차량 고장 진단 방법.
The method of claim 12,
The step of generating CAN communication diagnostic data for each controller,
Each time the CAN communication diagnosis request message is received, transmitting the CAN communication message a predetermined number of times to all controllers connected to the same CAN communication line as the controller that transmitted the CAN communication diagnosis request message;
Receiving a response message to the CAN communication message; And
Generating and storing the CAN communication diagnostic data including the number of transmissions of the CAN communication message and the number of receptions of the response message for each of the controllers;
Vehicle failure diagnosis method comprising a.
KR1020190047820A 2019-04-24 2019-04-24 Apparatus for diagnosis error of a vehicle, system having the same and method thereof KR20200124472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190047820A KR20200124472A (en) 2019-04-24 2019-04-24 Apparatus for diagnosis error of a vehicle, system having the same and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190047820A KR20200124472A (en) 2019-04-24 2019-04-24 Apparatus for diagnosis error of a vehicle, system having the same and method thereof

Publications (1)

Publication Number Publication Date
KR20200124472A true KR20200124472A (en) 2020-11-03

Family

ID=73197773

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190047820A KR20200124472A (en) 2019-04-24 2019-04-24 Apparatus for diagnosis error of a vehicle, system having the same and method thereof

Country Status (1)

Country Link
KR (1) KR20200124472A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220083031A (en) * 2020-12-11 2022-06-20 현대모비스 주식회사 Method checking status of controller and apparatus therefor
CN114710479A (en) * 2022-03-31 2022-07-05 三一电动车科技有限公司 Fault diagnosis method, device and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220083031A (en) * 2020-12-11 2022-06-20 현대모비스 주식회사 Method checking status of controller and apparatus therefor
CN114710479A (en) * 2022-03-31 2022-07-05 三一电动车科技有限公司 Fault diagnosis method, device and system
CN114710479B (en) * 2022-03-31 2023-12-01 三一电动车科技有限公司 Fault diagnosis method, device and system

Similar Documents

Publication Publication Date Title
JP2010061939A (en) Multi-cell battery system and method for applying management number
KR20200124472A (en) Apparatus for diagnosis error of a vehicle, system having the same and method thereof
CN104914815A (en) Processor monitoring method, device and system
JP2013203236A (en) Data output device for vehicle
KR102057809B1 (en) Management system and the driving method for bus station guidance terminal
JP2018194336A (en) Abnormality detector and abnormality detection method
JP2007028411A (en) Network diagnosis apparatus and method
CN115623464B (en) Fault processing method and device for Bluetooth module of electric energy meter and electric energy meter
CN111988194B (en) Method and device for diagnosing automobile line
GB2554130A (en) Connection check in field maintenance tool
CN108983751B (en) Method for diagnosing abnormal processing of joint and server
US9501347B2 (en) Documentation of faults in a fault memory of a motor vehicle
EP2458564B1 (en) Remote diagnosis of vehicles
CN112306038B (en) Detection method, detection device and diagnosis equipment
CN112269699B (en) Aging test method and device, etherCAT main station and system, and storage medium
JP4401207B2 (en) Identification information setting method, identification information setting device, and connector device with control function
JP2019209945A (en) On-vehicle control device, control program and control method
JP2001350735A (en) Method for mutual monitoring among plural data processors
US7231548B2 (en) Diagnosis of fault conditions in embedded systems
CN106909489B (en) Method and device for testing EventLog state
JP2020116972A (en) Electronic control device
JP2007028409A (en) Communication system and node connection form specific method
KR20200118621A (en) Device and method for preventing network hacking of vehicle using a gateway
KR20200072906A (en) Vehicle and vehicle diagnosis method
CN113848854B (en) Vehicle-mounted remote terminal fault diagnosis method and system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal