KR101593571B1 - Black box apparatus for diagnosing error of electronic control unit for vehicle and control method thereof - Google Patents

Black box apparatus for diagnosing error of electronic control unit for vehicle and control method thereof Download PDF

Info

Publication number
KR101593571B1
KR101593571B1 KR1020140089563A KR20140089563A KR101593571B1 KR 101593571 B1 KR101593571 B1 KR 101593571B1 KR 1020140089563 A KR1020140089563 A KR 1020140089563A KR 20140089563 A KR20140089563 A KR 20140089563A KR 101593571 B1 KR101593571 B1 KR 101593571B1
Authority
KR
South Korea
Prior art keywords
electronic control
black box
module
message
vehicle
Prior art date
Application number
KR1020140089563A
Other languages
Korean (ko)
Other versions
KR20160009287A (en
Inventor
이민혁
정지훈
Original Assignee
현대오트론 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 현대오트론 주식회사 filed Critical 현대오트론 주식회사
Priority to KR1020140089563A priority Critical patent/KR101593571B1/en
Publication of KR20160009287A publication Critical patent/KR20160009287A/en
Application granted granted Critical
Publication of KR101593571B1 publication Critical patent/KR101593571B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D41/00Fittings for identifying vehicles in case of collision; Fittings for marking or recording collision areas
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D9/00Recording measured values

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

본 발명은 차량 내 다수의 전자제어유닛으로부터 이상 동작이 발생하면 이상 동작과 관련한 데이터들을 블랙박스장치에 모두 기록하여 백업함으로써 차량의 이상 진단을 위해 통합 관리가 가능한 블랙박스장치 및 이의 제어 방법에 관한 것으로, 본 발명의 블랙박스장치는 캔(CAN) 통신을 통해 차량 내 다수의 전자제어유닛(ECU)로부터 이상 동작 발생과 관련한 메시지를 수신하는 CAN 모듈과, 외부의 서버와 통신하기 위한 무선통신모듈, 및 CAN 모듈로부터 수신한 메시지가 치명적인 고장인지를 판단하고 치명적인 고장이면 무선통신모듈을 통해 외부의 서버로 수신한 메시지를 덤핑하여 전송하며, 단순 결함이면 수신한 메시지를 데이터베이스에 저장하여 백업하는 제어모듈(MCU)을 포함한다. The present invention relates to a black box device capable of performing integrated management for abnormality diagnosis of a vehicle by recording data related to an abnormal operation in a black box device when an abnormal operation occurs from a plurality of electronic control units in the vehicle and backing up the data, The black box device of the present invention includes a CAN module that receives a message related to occurrence of an abnormal operation from a plurality of electronic control units (ECU) in a vehicle via CAN communication, a wireless communication module , And CAN module. If the message is a fatal failure, the message received by the external server through the wireless communication module is dumped and transmitted. If the message is a simple defect, the received message is stored in the database to be backed up Module (MCU).

Description

차량 전자제어유닛의 이상 진단을 위한 블랙박스장치 및 이의 제어 방법{BLACK BOX APPARATUS FOR DIAGNOSING ERROR OF ELECTRONIC CONTROL UNIT FOR VEHICLE AND CONTROL METHOD THEREOF}TECHNICAL FIELD [0001] The present invention relates to a black box device for diagnosing an abnormality of a vehicle electronic control unit, and a control method thereof. [0002]

본 발명은 차량 내 다수의 전자제어유닛(Electronic Control Unit: ECU)의 에러를 진단하기 위해 데이터를 통합 관리하는 블랙박스 장치 및 이의 제어 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a black box device for integrally managing data for diagnosing errors of a plurality of electronic control units (ECUs) in a vehicle and a control method thereof.

최근 들어, 전자제어기술이 발전함에 따라 자동차 분야에서도 기계적인 방식에 의해 동작하던 각종 장치들이 운전자의 편리성 및 운행의 안전성 등의 이유로 전기적인 방식에 의해 구동되고 있다. Recently, with the development of electronic control technology, various devices which are operated by a mechanical system in the automobile field are driven by an electric system for reasons such as driver's convenience and safety of operation.

이에 부합하여 최근 차량에 텔레매틱스 장치를 장착하고, 이 텔레매틱스 장치를 통해 차량위치정보 서비스, 차량도난 및 사고 감지, 원격 차량 진단, 긴급 구난, 교통정보 서비스와 더불어 무선인터넷을 이용한 모바일 오피스 구현, 전자 메일 서비스 등을 제공하고 있다.Accordingly, a telematics device is mounted on a vehicle in recent years. Through the telematics device, a mobile office using a wireless Internet is implemented in addition to a vehicle location information service, a vehicle theft and accident detection, a remote vehicle diagnosis, an emergency rescue, Service and so on.

텔레매틱스(telematics)는 통신(telecommunication)과 정보과학(informa- tion)의 합성어로 자동차와 컴퓨터·이동 통신 기술의 결합을 의미한다. 즉, 자동차 안에서 이메일을 주고받고, 인터넷을 통해 각종 정보를 검색할 수 있으며, 교통 사고가 발생한 경우 GPS위성을 이용하여 자동으로 사고 차량의 위치를 추적해 주는 차량 도난 서비스 등을 제공하는 것을 말한다. Telematics is a combination of telecommunication and information science, which means a combination of automobile, computer and mobile communication technologies. In other words, it means to send and receive e-mails in the car, to search various information through the Internet, and to provide a vehicle theft service that automatically tracks the location of an accident vehicle using GPS satellites in case of a traffic accident.

텔레매틱스의 대표적인 서비스로는 네비게이션 기능, 실시간 교통정보 제공, 응급구조 그리고 각종 엔터테인먼트와 관련된 서비스를 들 수 있다.Telematics' representative services include navigation, real-time traffic information, emergency services, and various entertainment-related services.

이와 같이 자동차가 점차 첨단화되면서 자동차의 고장 형태도 다양화되고 있으며, 이를 위한 고장 점검 및 진단 기술에 대한 개발도 요구되고 있다.As vehicles become more sophisticated, the types of failures of automobiles are diversified, and there is also a demand for the development of fault checking and diagnostic techniques for such automobiles.

즉, 현재 시판되고 있는 차량은 각종 센서로부터의 감지신호를 입력받아 이를 기초로 엔진의 동작을 제어하는 엔진 ECU, 자동변속기의 동작을 제어하는 A/TM ECU(Automatic Transmission ECU), 브레이크의 동작을 제어하는 ABS ECU(Anti-lock Brake System ECU) 등의 많은 전자제어유닛(ECU)들이 장착되어 있다.That is, currently commercially available vehicles include an engine ECU that receives sensing signals from various sensors and controls the operation of the engine based on the signals, an A / TM ECU (Automatic Transmission ECU) that controls the operation of the automatic transmission, And an ABS ECU (Anti-lock Brake System ECU) for controlling the electronic control unit (ECU).

그런데, 이러한 다수의 전자제어유닛(ECU)에 이상 동작이 발생하였을 경우 무조건 클러스터 상에 있는 경고등을 점등한다. 차량에서 발생하는 다양한 고장(치명적인 고장이던지 단순 결함이던지)을 하나의 경고등으로 표시하기 때문에 운전자는 서비스센터를 방문하기 전까지는 차량에 발생한 고장 내용을 정확하게 알 수 없다.However, when an abnormal operation occurs in the plurality of electronic control units (ECUs), the warning lamps on the cluster are unconditionally turned on. Since a variety of faults (whether fatal or simple faults) are indicated by a warning light on the vehicle, the driver can not accurately identify the fault that occurred in the vehicle until he visited the service center.

예를 들어, 최근에 차량 운행 중에 헤드램프가 깜박이는 이상 증세가 보고된 사례가 있다. 원인 분석 결과 헤드램프 문제가 아닌 차량의 IPM(Intelligent Power Module) 제어기가 시스템 부하(CPU Load)로 리셋됨으로써 발생한 고장이었다. 이와 같이 이상 신호가 발생한 전자제어유닛과 다른 전자제어유닛의 영향으로 문제가 발생한 경우 그 고장 원인을 분석하기 위해서는 운전자가 서비스센터에 방문하거나 이상 동작과 관련한 정보에 접근하여 별도의 진단 서비스를 제공받아야 하며, 고장 원인을 분석하고 해결하는 데 많은 시간이 소요된다. For example, there have been reports of abnormal head lamp flashes during recent vehicle operations. Cause analysis showed that the problem was caused by resetting the IPM (Intelligent Power Module) controller of the vehicle to the system load (CPU Load) instead of the headlamp problem. When a problem occurs due to the influence of the electronic control unit and the other electronic control unit in which the abnormality signal is generated, in order to analyze the cause of the failure, the driver must visit the service center or access the information related to the abnormal operation and provide a separate diagnostic service And it takes much time to analyze and solve the cause of the failure.

또한, 각 전자제어유닛에서 자체적으로 자가 진단 기능이 있어 이를 통해 진단 코드를 기록하지만 많은 데이터를 기록하는 데 한계가 있으며, 데이터 백업에도 어려움이 있다. In addition, each electronic control unit has its own self-diagnosis function to record the diagnostic code through it, but there is a limit in recording a lot of data, and data backup is also difficult.

본 명세서는 상기한 바와 같은 문제점을 해결하기 위하여 안출된 것으로서, 차량 내 다수의 전자제어유닛으로부터 이상 동작이 발생하면 이상 동작과 관련한 데이터들을 블랙박스장치에 모두 기록하여 백업함으로써 차량의 이상 진단을 위해 통합 관리가 가능한 블랙박스장치 및 이의 제어 방법을 제공하는 데 그 목적이 있다.The present invention has been made in order to solve the above-mentioned problems, and it is an object of the present invention to provide a data processing apparatus and a data processing method thereof, in which, when an abnormal operation occurs from a plurality of electronic control units in a vehicle, A black box device capable of integrated management and a control method thereof are provided.

또한, 본 발명의 다른 목적은 블랙박스장치에서 이상 동작에 따른 원인 분석도 가능하여 신속한 대처가 가능하도록 하는 데 있다. Another object of the present invention is to provide a black box device capable of analyzing the cause of an abnormal operation so that quick response can be made.

또한, 본 발명의 다른 목적은 차량 내 전자제어유닛이 이상 발생에 의해 더 이상 정상적인 기능을 수행하지 못하는 경우 이상 동작과 관련한 데이터들을 덤핑(dumping)하여 블랙박스장치에 모두 기록하고 이상 발생한 전자제어유닛을 초기화하여 임시적으로 정상 복귀시키도록 하는 데 있다. It is another object of the present invention to provide an electronic control unit for a vehicle which dumps data related to an abnormal operation when the in-vehicle electronic control unit no longer performs a normal function due to an error, So as to temporarily return to the normal state.

이와 같은 목적을 달성하기 위하여 본 명세서의 제1 실시예에 따르면, 본 명세서에 따른 블랙박스장치는, 캔(CAN) 통신을 통해 차량 내 다수의 전자제어유닛(ECU)로부터 이상 동작 발생과 관련한 메시지를 수신하는 CAN 모듈; 외부의 서버와 통신하기 위한 무선통신모듈; 및 상기 CAN 모듈로부터 수신한 메시지가 치명적인 고장인지를 판단하고, 치명적인 고장이면 상기 무선통신모듈을 통해 외부의 서버로 상기 수신한 메시지를 전송하며, 단순 결함이면 상기 수신한 메시지를 백업 데이터베이스에 저장하여 백업하는 제어모듈(MCU)를 포함할 수 있다. In order to achieve the above object, according to the first embodiment of the present invention, a black box apparatus according to the present invention is capable of transmitting a message (A) related to occurrence of an abnormal operation from a plurality of electronic control units A CAN module for receiving the CAN module; A wireless communication module for communicating with an external server; And transmits the received message to an external server via the wireless communication module if the received message is a catastrophic failure. If the message is a simple defect, the received message is stored in the backup database And may include a control module (MCU) for backup.

또한, 본 명세서의 제1 실시예에서, 상기 이상 동작 발생과 관련한 메시지는 상기 메시지를 전송한 노드 정보, 이상 발생 정보, 타임 태그 정보를 포함하고, 상기 이상 발생 정보는 에러 코드, 특정 인터럽트 발생 정보, CPU부하(load), 캔 버스 로드(CAN bus load), 캔 버스 오프(CAN bus-off) 상황 정보를 포함할 수 있다. In addition, in the first embodiment of the present invention, the message relating to the occurrence of the abnormal operation includes node information, abnormality occurrence information, and time tag information that have transmitted the message, and the abnormality occurrence information includes an error code, , CPU load, CAN bus load, and CAN bus-off status information.

또한, 본 명세서의 제1 실시예에서, 상기 제어모듈은 상기 수신한 메시지를 기정의된 데이터와의 비교를 통해 이상 발생을 진단하고 상기 이상 발생의 원인을 분석하는 진단 모듈을 더 포함할 수 있다. In addition, in the first embodiment of the present invention, the control module may further include a diagnostic module for diagnosing an abnormality occurrence by comparing the received message with predefined data and for analyzing the cause of the abnormality occurrence .

또한, 본 명세서의 제1 실시예에서, 상기 제어 모듈은 적어도 하나 이상의 센서로부터 운전자 상태 정보를 감지하여 상기 이상 동작이 발생한 시간과 동기화하여 백업하는 것을 특징으로 한다. In addition, in the first embodiment of the present invention, the control module senses driver status information from at least one sensor and performs back-up in synchronization with the time when the abnormal operation occurs.

또한, 본 명세서의 제1 실시예에서, 상기 제어 모듈은 상기 수신한 메시지가 치명적인 고장인 경우 상기 이상 동작이 발생한 전자제어유닛의 초기화 코드를 추출하여 상기 CAN 모듈을 통해 해당 전자제어유닛으로 전달하여 정상 복귀시키는 것을 특징으로 한다. In the first embodiment of the present invention, the control module extracts the initialization code of the electronic control unit in which the abnormal operation has occurred when the received message is a fatal failure, and transmits the initialization code to the corresponding electronic control unit through the CAN module And return to the normal state.

한편, 본 명세서의 제2 실시예에 따르면, 본 명세서에 따른 블랙박스장치의 제어 방법은, 차량 내 다수의 전자제어유닛(ECU)과 연결되어 상기 다수의 전자제어유닛의 이상 진단을 위해 통합 관리하는 블랙박스장치의 제어 방법으로서, 상기 블랙박스장치가 상기 다수의 전자제어유닛으로부터 이상 동작 발생과 관련한 메시지를 수신하는 단계; 상기 블랙박스장치가 상기 다수의 전자제어유닛으로부터 수신한 메시지를 토대로 치명적인 고장인지를 판단하는 단계; 및 판단 결과, 치명적인 고장이면 상기 블랙박스장치가 외부의 서버로 상기 수신한 메시지를 메시지 덤핑(dumping)하여 전송하고, 단순 결함이면 상기 블랙박스장치가 상기 수신한 메시지를 백업 데이터베이스에 저장하여 백업하는 단계를 포함한다.According to a second embodiment of the present invention, there is provided a control method of a black box device according to the present invention, which is connected to a plurality of electronic control units (ECU) in a vehicle, The method comprising: receiving, by the black box device, a message relating to an abnormal operation occurrence from the plurality of electronic control units; Determining whether the black box device is a catastrophic failure based on a message received from the plurality of electronic control units; And if the message is a fatal failure, the black box device dumps the received message to an external server for transmission, and if the message is a simple defect, the black box device stores the received message in a backup database .

이상에서 설명한 바와 같이 본 명세서에 의하면, 블랙박스장치는 이상 동작에 관한 데이터를 백업하여 서버로 전송함으로써 고장 원인 분석 및 해결을 위한 비용과 시간을 크게 줄일 수 있다. 특히, 차량 사고시 사고 분석에 도움을 줄 수 있다. As described above, according to the present invention, the black box device can save the cost and time for analyzing and resolving the cause of the failure by backing up the data related to the abnormal operation and transmitting it to the server. Especially, it can help to analyze the accident in case of a car accident.

게다가, 차량이 주행 중에도 실시간 이상 정보를 기록할 수 있어서 주행에 관계없이 이상 진단을 위한 작업이 가능한 효과가 있다. In addition, since the vehicle can record real-time abnormal information even while the vehicle is running, it is possible to perform an operation for abnormality diagnosis regardless of the running.

또한, 이상 진단 뿐만 아니라 이상이 발생할 수 있는 상황 예를 들면, 전자제어유닛의 로드, 캔(CAN) 버스 로드를 실시간으로 모니터링하여 차량 상태 정보를 저장하고 백업할 수 있다. Also, it is possible to store and back up the vehicle status information by monitoring in real time, for example, a situation where an abnormality may occur, such as an abnormality diagnosis, for example, load and can bus load of the electronic control unit.

또한, 차량에서 이상 발생한 전자제어유닛이 더 이상 정상적인 기능을 수행하지 못하는 경우 전자제어유닛의 이상 원인을 분석할 수 있는 각종 관련 데이터를 덤핑하여 블랙박스장치에 기록하고 해당 전자제어유닛을 초기화하여 정상 복귀시킴으로써 원인 분석을 위한 대기 시간 없이 신속 대처가 가능한 효과가 있다. When the electronic control unit abnormally generated in the vehicle is no longer performing a normal function, various related data capable of analyzing the cause of the abnormality of the electronic control unit are dumped and recorded in the black box device, It is possible to quickly cope without waiting time for analyzing the cause.

도 1은 본 발명의 실시 예에 따른 블랙박스 장치를 도시한 구성도,
도 2는 본 발명의 실시 예에 따른 블랙박스 장치의 제어 방법을 설명하기 위해 도시한 흐름도,
도 3은 본 발명의 실시 예에 따른 블랙박스 장치의 제어 방법 중 에러난 차량의 전자제어유닛을 초기화하는 과정을 나타낸 흐름도,
도 4는 본 발명의 실시 예에 따른 차량의 전자제어유닛에서 CAN 메시지를 발생하는 과정을 나타낸 흐름도이다.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a configuration diagram illustrating a black box device according to an embodiment of the present invention;
2 is a flowchart illustrating a method of controlling a black box device according to an embodiment of the present invention.
FIG. 3 is a flowchart illustrating a process of initializing an electronic control unit of an error-missed vehicle in a method of controlling a black box device according to an embodiment of the present invention.
4 is a flowchart illustrating a process of generating a CAN message in an electronic control unit of a vehicle according to an embodiment of the present invention.

본 명세서에서 사용되는 기술적 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아님을 유의해야 한다. 또한, 본 명세서에서 사용되는 기술적 용어는 본 명세서에서 특별히 다른 의미로 정의되지 않는 한, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 의미로 해석되어야 하며, 과도하게 포괄적인 의미로 해석되거나, 과도하게 축소된 의미로 해석되지 않아야 한다. It is noted that the technical terms used herein are used only to describe specific embodiments and are not intended to limit the invention. It is also to be understood that the technical terms used herein are to be interpreted in a sense generally understood by a person skilled in the art to which the present invention belongs, Should not be construed to mean, or be interpreted in an excessively reduced sense.

또한, 본 명세서에서 사용되는 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "구성된다" 또는 "포함한다" 등의 용어는 명세서 상에 기재된 여러 구성 요소들, 또는 여러 단계들을 반드시 모두 포함하는 것으로 해석되지 않아야 하며, 그 중 일부 구성 요소들 또는 일부 단계들은 포함되지 않을 수도 있고, 또는 추가적인 구성 요소 또는 단계들을 더 포함할 수 있는 것으로 해석되어야 한다.Also, the singular forms "as used herein include plural referents unless the context clearly dictates otherwise. In the present application, the term "comprising" or "comprising" or the like should not be construed as necessarily including the various elements or steps described in the specification, Or may be further comprised of additional components or steps.

또한, 본 명세서에서 사용되는 구성요소에 대한 접미사 "모듈" 및 "부"는 명세서 작성의 용이함만이 고려되어 부여되거나 혼용되는 것으로서, 그 자체로 서로 구별되는 의미 또는 역할을 갖는 것은 아니다.Further, the suffix "module" and "part" for components used in the present specification are given or mixed in consideration of ease of specification, and do not have their own meaning or role.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명하기로 한다. Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 실시 예에 따른 블랙박스 장치를 도시한 구성도이다.1 is a block diagram showing a black box device according to an embodiment of the present invention.

본 발명의 실시 예에 따른 블랙박스 장치(100)는 차량 내 다수의 전자제어유닛(ECU_1, ECU_2, …, ECU_k)(201, 202, …, 20k)과 CAN(Controller Area Network) 통신을 통해 데이터를 송수신한다. The black box device 100 according to the embodiment of the present invention is connected to a plurality of electronic control units (ECU_1, ECU_2, ..., ECU_k) 201, 202, ..., Lt; / RTI >

CAN 통신은 차량 내에서 호스트 컴퓨터없이 마이크로 콘트롤러나 각종 전자제어유닛(ECU)들이 서로 통신하기 위해 설계된 표준 통신 규격으로, 고온이나 충격, 진동, 노이즈가 많은 환경에서도 높은 신뢰성을 제공한다. CAN communication is a standard communication standard designed to communicate with a microcontroller or various electronic control units (ECUs) without a host computer in a vehicle, and provides high reliability even in high temperature, shock, vibration and noise environments.

CAN 통신은 도 1에 도시한 바와 같이 서로 다른 두 버스라인(CAN-H, CAN-L)에 의해 구동하며, 고유의 식별자(ID)를 통해 메시지를 송수신한다. 따라서, 다수의 노드(ECU)로부터 출력되는 데이터 메시지는 송신측이나 수신측에 관한 주소를 가지고 있지 않고 각 노드를 식별할 수 있는 식별자를 포함한다. 이러한 식별자는 메시지의 내용을 식별시켜 주는 역할과 메시지의 우선순위를 부여하는 역할을 한다. 따라서, CAN통신을 통해 메시지 수신 시 각 노드의 식별자를 통해 메시지의 내용을 분석하고 우선순위를 결정할 수 있다.The CAN communication is driven by two different bus lines (CAN-H, CAN-L) as shown in Fig. 1, and transmits and receives a message through a unique identifier (ID). Therefore, a data message output from a plurality of nodes (ECUs) does not have an address related to a sender or a receiver and includes an identifier capable of identifying each node. These identifiers serve to identify the contents of messages and to prioritize messages. Therefore, when the message is received through the CAN communication, the contents of the message can be analyzed and the priority can be determined through the identifier of each node.

차량 내 다수의 전자제어유닛(ECU_1, ECU_2, …, ECU_k)(201, 202, …, 20k)는 엔진 ECU, 자동변속기의 동작을 제어하는 A/TM(Automatic Transmission) ECU, 브레이크의 동작을 제어하는 ABS(Anti-lock Brake System) ECU, 등의 많은 전자제어유닛(ECU), 바디 컨트롤 모듈(Body Control Module: BCM) ECU, 운전석 도어 모듈(Dirve Door Module: DDM) ECU 등을 포함한다. A plurality of electronic control units (ECU_1, ECU_2, ..., ECU_k) 201, 202, ..., 20k in the vehicle are provided with an engine ECU, an A / TM (Automatic Transmission) ECU for controlling the operation of the automatic transmission, (BCM) ECU, a Dirve Door Module (DDM) ECU, and the like, such as an ABS (Anti-lock Brake System) ECU.

블랙박스 장치(100)는 도시한 바와 같이 CAN모듈(110), 제어모듈(MCU: 120), 감지 모듈(130), 무선통신모듈(140), 출력부(150), 백업 DB(160)를 포함할 수 있다. The black box device 100 includes a CAN module 110, a control module (MCU) 120, a sensing module 130, a wireless communication module 140, an output unit 150, and a backup DB 160 .

CAN모듈(110)은 CAN 통신을 통해 다수의 전자제어유닛(201, 202, …, 20k)과 데이터를 송수신한다. 즉, CAN모듈(110)은 차량 내 다수의 전자제어유닛(201, 202, …, 20k) 중 이상 동작이 발생한 전자제어유닛(201, 202, …, 20k)으로부터 캔(CAN) 메시지를 수신한다. 수신한 캔(CAN) 메시지는 이상 동작 발생과 관련한 데이터(이하, 이상 발생 데이터)가 포함된다. 예를 들어, 캔(CAN) 메시지를 전송한 노드 정보, 이상 발생(event) 정보, 타임 태그 정보 등을 포함할 수 있다. 이상 발생 정보는 에러 코드, 차량 OS에서 제공되는 에러훅(ErrorHook), 셧다운훅(shutdownHook)의 에러코드, 제어모듈(120)에서 발생하는 예외(Exception) 정보, 특정 인터럽트 발생 정보, 한계치 이상의 CPU부하(load), 캔 버스 로드(CAN bus load), 캔 버스 오프(CAN bus-off) 상황 등의 정보를 포함할 수 있다. The CAN module 110 transmits and receives data to and from a plurality of electronic control units 201, 202, ..., 20k via CAN communication. That is, the CAN module 110 receives a can (CAN) message from the electronic control units 201, 202, ..., 20k in which an abnormal operation has occurred in the plurality of electronic control units 201, 202, ..., 20k in the vehicle . The received can (CAN) message includes data related to occurrence of an abnormal operation (hereinafter referred to as abnormality occurrence data). For example, it may include node information that transmitted a can (CAN) message, event information, time tag information, and the like. The error occurrence information includes an error code, an error hook provided in the vehicle OS, an error code of a shutdown hook, exception information generated in the control module 120, specific interrupt occurrence information, load, CAN bus load, CAN bus-off status, and the like.

CAN모듈(110)은 차량 내 다수의 전자제어유닛(201, 202, …, 20k)간 통신을 원활하게 하기 위한 차량용 네트워크 모듈로서, 이에 한정하는 것은 아니며 차량 내에서 다수의 전자제어유닛(201, 202, …, 20k)과 통신이 가능한 네트워크라면 종류에 관계없이 적용 가능할 것이다. The CAN module 110 is a vehicle network module for facilitating communication between a plurality of electronic control units 201, 202, ..., 20k in the vehicle, but is not limited thereto and may include a plurality of electronic control units 201, 202,..., 20k.

무선통신모듈(140)은 외부의 관리서버(300)와 통신하기 위한 네트워크이다. 이때의 관리서버(300)는 블랙박스장치(100)로부터 전달받은 데이터를 분석하여 이상 진단 및 원인을 검출하고 필요에 따라 원인에 따른 해결방안을 추출할 수 있다. 관리서버(300)는 차량 고장 진단 서비스를 제공하는 업체의 서버일 수 있고 또는 보험사의 서버일 수 있다. The wireless communication module 140 is a network for communicating with an external management server 300. The management server 300 at this time can analyze the data received from the black box device 100 to detect an abnormality diagnosis and cause and extract a solution depending on the cause as needed. The management server 300 may be a server of a company providing a vehicle malfunction diagnosis service or a server of an insurance company.

출력부(150)는 CAN모듈(110)을 통해 수신한 전자제어유닛(201, 202, …, 20k)의 캔(CAN) 메시지에 대하여 이상 여부를 경고하는 알림을 출력한다. 출력 방법으로는 디스플레이부에 정보를 표시하여 시각적으로 알림하는 방법, 스피커를 통해 음성으로 출력하는 방법 등이 있다. The output unit 150 outputs a warning to the CAN message of the electronic control units 201, 202, ..., 20k received via the CAN module 110 to warn of abnormality. Examples of the output method include a method of displaying information on a display unit for visual notification, and a method of outputting audio through a speaker.

백업 데이터베이스(160)는 차량 내 전자제어유닛(201, 202, …, 20k)으로부터 덤핑한 데이터들을 저장하여 백업한다. 이때 데이터는 앞서 설명한 이상 발생 데이터로서 캔(CAN) 메시지에 포함되어 있다. The backup database 160 stores and backs up data dumped from the in-vehicle electronic control units 201, 202, ..., 20k. At this time, the data is included in the can (CAN) message as the abnormality data described above.

제어 모듈(120)은 CAN모듈(110)로부터 수신한 데이터에서 차량 내 이상 동작이 발생한 전자제어유닛의 캔(CAN) 메시지를 전달받아 해당 전자제어유닛이 치명적인 고장인지를 판단한다. 판단은 치명적인 고장률 등급이나 고장으로 판단할 수 있는 기준치(CPU부하 기준치) 등에 대하여 규정해 둔 데이터를 기준으로 비교 분석하는 과정으로 수행할 수 있다. 예를 들어, 고장률 등급이 1등급에 해당되면 치명적인 고장으로 판단하고, 또 CPU부하가 최고 기준치 90%를 초과하게 되면 치명적인 고장으로 판단할 수 있다. The control module 120 receives the can message (CAN message) of the electronic control unit in which the abnormal operation in the vehicle has occurred in the data received from the CAN module 110, and determines whether the corresponding electronic control unit is a fatal failure. The judgment can be performed by a process of comparing and analyzing based on data defined for a fatal failure rate class or a reference value (CPU load reference value) that can be judged as a failure. For example, if a failure rate grade is classified as a first grade, it is determined to be a catastrophic failure, and if the CPU load exceeds the maximum reference value of 90%, it can be judged as a catastrophic failure.

판단한 결과 치명적인 고장이면, 제어 모듈(120)이 무선통신모듈(140)을 매개로 외부의 관리서버(300) 측으로 캔(CAN) 메시지를 전송하여 이상 진단 및 원인 분석을 요청할 수 있다. The control module 120 can send a CAN message to the external management server 300 via the wireless communication module 140 to request an abnormality diagnosis and a cause analysis.

판단한 결과 단순 결함이면, 제어 모듈(120)이 캔(CAN) 메시지에 포함된 이상 발생 데이터들을 이상 발생 시간 정보, 차량 상태 정보, 운전자 상태 정보, 위치 정보 등과 함께 백업 데이터베이스(160)에 저장하여 백업한다. If the result is a simple defect, the control module 120 stores the abnormality occurrence data included in the can (CAN) message in the backup database 160 together with the abnormality occurrence time information, the vehicle condition information, the driver condition information, do.

또한, 제어 모듈(120)은 CAN모듈(110)을 통해 다수의 전자제어유닛(140)으로부터 수신한 캔(CAN) 메시지를 기정의된 데이터와 비교하여 이상 발생을 진단하고 이상 발생의 원인을 분석하는 진단 기능을 수행할 수 있다. 이 경우 제어모듈(120)은 상기의 기능을 수행하는 진단 모듈을 더 포함할 수 있다.In addition, the control module 120 compares CAN messages received from a plurality of electronic control units 140 via the CAN module 110 with predetermined data to diagnose the occurrence of an error, Can be performed. In this case, the control module 120 may further include a diagnostic module that performs the above functions.

또한, 제어 모듈(120)은 감지 모듈(130)을 통해 운전자 상태 정보, 차량 상태 정보 등을 감지하여 이상 동작이 발생한 시간(이상 동작 발생 시간)과 동기화하여 백업 데이터베이스(160)에 백업할 수 있다. 따라서 추후 원인 분석 및 차량 사고 분석 시 참고 자료로 활용할 수 있다. In addition, the control module 120 may detect driver status information, vehicle status information, and the like through the detection module 130 and may backup the backup status to the backup database 160 in synchronization with a time when an abnormal operation occurs (abnormal operation occurrence time) . Therefore, it can be used as a reference for future analysis of cause and analysis of vehicle accident.

감지 모듈(130)은 GPS, 위치 센서 등 차량 상태, 운전자 상태를 감지할 수 있는 적어도 하나 이상의 센서를 포함할 수 있다. The sensing module 130 may include at least one sensor capable of sensing a vehicle state and a driver state, such as a GPS, a position sensor, and the like.

또한, 제어 모듈(120)은 CAN모듈(110)을 통해 다수의 전자제어유닛(140)으로부터 수신한 캔(CAN) 메시지가 치명적인 고장이어서 더 이상 정상적인 기능을 수행하지 못하는 경우, 이상 동작이 발생된 전자제어유닛(201, 202, …, 20k)의 초기화 코드를 추출하여 해당 전자제어유닛(201, 202, …, 20k)으로 전달한다. 따라서 이상 동작이 발생된 전자제어유닛(201, 202, …, 20k)을 리셋하여 정상 복귀시킬 수 있다. In addition, when the CAN message received from the plurality of electronic control units 140 through the CAN module 110 is a fatal malfunction so that the control module 120 can no longer perform a normal function, Extracts the initialization codes of the electronic control units 201, 202, ..., 20k and transfers them to the corresponding electronic control units 201, 202, ..., 20k. Therefore, the electronic control units 201, 202, ..., 20k in which an abnormal operation has occurred can be reset and returned to the normal state.

이때, 차량 내 모든 전자제어유닛(201, 202, …, 20k)의 초기화 코드는 백업 데이터베이스(160)에 미리 데이터베이스화해 두고, 코드 추출시 백업 데이터베이스(160)로부터 얻을 수 있다. At this time, the initialization codes of all the electronic control units 201, 202, ..., 20k in the vehicle may be pre-stored in the backup database 160 and obtained from the backup database 160 at the time of code extraction.

또한, 제어 모듈(120)은 특정 전자제어유닛(201, 202, …, 20k)에 대한 코드 업데이트가 필요한 경우, 무선통신모듈(140)을 통해 관리서버(300)로 업데이트를 요청하여 최신 정보를 제공받을 수 있다. 또는, 관리 서버(300)가 주기적으로 블랙박스장치(100)로 업데이트 요청을 전송하고, 이를 수신한 블랙박스장치(100)가 업데이트를 수행할 수 있다. When the code update for the specific electronic control unit 201, 202, ..., 20k is required, the control module 120 requests update to the management server 300 via the wireless communication module 140, Can be provided. Alternatively, the management server 300 periodically transmits an update request to the black box device 100, and the black box device 100 receiving the update request can perform the update.

이러한 구성에 의해 블랙박스 장치를 이용하여 차량의 이상 발생을 진단하고 통합 관리하기 위한 방법에 대하여 도 2 내지 도 4를 참조하여 설명한다.A method for diagnosing and integrally managing the occurrence of a vehicle abnormality using the black box device with such a configuration will be described with reference to Figs. 2 to 4. Fig.

먼저 도 2를 참조하면, 도 2는 본 발명의 실시 예에 따른 블랙박스 장치의 제어 방법을 설명하기 위해 도시한 흐름도이다. Referring first to FIG. 2, FIG. 2 is a flowchart illustrating a method of controlling a black box device according to an embodiment of the present invention.

처음 단계 S100에서, 블랙박스 장치는 CAN모듈을 통해 차량 내 다수의 전자제어유닛으로부터 캔(CAN) 메시지를 수신한다. 캔(CAN) 메시지는 캔(CAN) 통신을 통해 블랙박스 장치와 차량 내 전자제어유닛간 주고 받는 메시지를 의미하는 것으로 캔 통신 외 다른 통신을 매개로 메시지를 주고받는 경우에는 메시지의 형태가 다를 수 있다. In a first step S100, the black box device receives can (CAN) messages from a plurality of electronic control units in the vehicle via the CAN module. A can (CAN) message means a message exchanged between a black box device and an electronic control unit in a vehicle through CAN (can) communication. When a message is exchanged via communication other than CAN communication, the form of the message may be different have.

캔 메시지에는 캔(CAN) 메시지를 전송한 전자제어유닛의 정보, 이상 발생(event) 정보, 타임 태그 정보 등을 포함하며, 이상 발생 정보는 에러 코드, 차량 OS에서 제공되는 에러훅(ErrorHook), 셧다운훅(shutdownHook)의 에러코드, 제어모듈(120)에서 발생하는 예외(Exception) 정보, 특정 인터럽트 발생 정보, 한계치 이상의 CPU부하(load), 캔 버스 로드(CAN bus load), 캔 버스 오프(CAN bus-off) 상황 등의 정보를 포함한다.The CAN message includes information of an electronic control unit that transmitted a CAN message, event information, time tag information, and the like. The error occurrence information includes an error code, an error hook provided by the vehicle OS, An error code of a shutdown hook, exception information occurring in the control module 120, specific interrupt occurrence information, a CPU load exceeding a limit, a CAN bus load, bus-off status).

다음으로 단계 S110에서, 블랙박스장치가 캔(CAN) 메시지에 포함된 이상 발생 데이터를 토대로 전자제어유닛에 치명적인 고장(에러)가 있는지를 판단한다. 판단 방법은 기 정의된 고장률 등급이나 기준치 등을 이용하여 비교 및 분석 과정으로 가능하다. Next, in step S110, the black box device determines whether there is a fatal error (error) in the electronic control unit based on the abnormality occurrence data included in the can (CAN) message. The judgment method can be made by comparison and analysis process using the defined failure rate class or the reference value.

판단 결과 치명적인 고장이 아닌 단순 결함이면, 다음 단계 S120에서, 블랙박스 장치가 캔(CAN) 메시지에 포함된 이상 발생 데이터를 에러코드, 시간 정보, 차량 상태 정보, 위치 정보와 함께 매칭하여 백업 데이터베이스에 저장(백업)한다. 차량 상태 정보 및 위치 정보는 블랙박스 장치가 추가 구성된 감지 모듈을 통해 획득할 수 있다. 백업한 데이터들은 추후 이상 발생시 덤핑으로 관리 서버에 전송될 수 있고, 또는 차량 사고시 사고 분석을 위한 데이터로 활용할 수 있다. As a result of the determination, if the defect is a simple defect rather than a fatal defect, the black box device matches the error occurrence data included in the CAN message with the error code, the time information, the vehicle status information, and the position information, Save (back up). The vehicle status information and the position information can be obtained through the detection module in which the black box device is further configured. The backed up data can be transferred to the management server by dumping in the event of an error in the future, or can be utilized as data for accident analysis in the event of a car accident.

이후 단계 S130에서, 블랙박스 장치가 동일한 에러코드에 대하여 카운팅하여 동일한 이상이 발생하는지 모니터링할 수 있다. Thereafter, in step S130, the black box device counts for the same error code to monitor whether the same abnormality occurs.

한편, 상기 단계 S110에서 판단한 결과 전자제어유닛에 치명적인 고장이 발생한 경우, 단계 S140에서, 블랙박스 장치가 경고 알림을 디스플레이부에 표시하거나 또는 음성으로 출력할 수 있다. On the other hand, if a malfunction has occurred in the electronic control unit as a result of the determination in step S110, the black box device may display a warning notification on the display unit or output it as a voice in step S140.

출력 후, 단계 S150에서, 블랙박스 장치가 무선 통신을 통해 외부의 관리 서버로 이상 발생 데이터를 전송하여 이상 진단 및 원인 분석을 요청할 수 있다. After the output, in step S150, the black box device transmits abnormality occurrence data to an external management server through wireless communication, and can request abnormality diagnosis and cause analysis.

그리고, 다음 단계 S160에서, 블랙박스 장치가 고장난 전자제어유닛을 코드 제어를 통해 초기화함으로써 정상 복귀시킬 수 있다. Then, in the next step S160, the black box device can be normally restored by initializing the failed electronic control unit through code control.

이러한 초기화 단계(S160)는 구체적으로 도 3에 도시한 것처럼 단계 S161 내지 단계 S163을 포함한다. This initialization step (S160) specifically includes steps S161 to S163 as shown in Fig.

먼저 단계 S161에서, 블랙박스 장치가 고장난 전자제어유닛의 바이너리 정보를 조회한다. 바이너리 정보는 초기화 명령 코드를 포함한 정보로서 블랙박스장치의 백업 데이터베이스에 미리 구축되어 있으며 정보 조회를 통해 획득할 수 있다. First, in step S161, the black box device inquires binary information of the failed electronic control unit. The binary information is information including the initialization command code and is built in advance in the backup database of the black box device and can be acquired through information inquiry.

다음으로 단계 S162 및 S163에서, 블랙박스 장치가 조회한 바이너리 정보를 해당 전자제어유닛으로 피드백하여 리셋(reset)하도록 요청한다. Next, in steps S162 and S163, the black box device requests feedback to the corresponding electronic control unit for binary information retrieved and reset.

이러한 과정을 통해, 본 발명은 차량 내 다수의 전자제어유닛에 이상 동작이 발생하더라도 관련 데이터를 덤핑으로 블랙박스 장치에 백업해 두고 이상 진단 및 원인 분석을 위해 소요되는 시간동안 고장난 전자제어유닛을 초기화하여 정상 복귀시킴으로써 데이터를 손실하지 않고서도 신속 대처가 가능하다.
Through this process, even if an abnormal operation occurs in a plurality of electronic control units in the vehicle, the related data is backed up to the black box device by dumping and the failed electronic control unit is initialized for the time required for the abnormality diagnosis and cause analysis So that it is possible to quickly cope without loss of data.

도 4는 본 발명의 실시 예에 따른 차량의 전자제어유닛에서 CAN 메시지를 발생하는 과정을 나타낸 흐름도이다.4 is a flowchart illustrating a process of generating a CAN message in an electronic control unit of a vehicle according to an embodiment of the present invention.

일 예로, 본 발명의 실시 예에 따른 차량의 전자제어유닛(201, 202, …, 20k)들 각각은 자가 진단 기능을 가지고 있어서 다양한 방법에 의해 이상 발생 여부를 판단할 수 있다. 일 예로, 도 4에서는 CPU 부하를 기준으로 이상 발생 여부를 판단하는 동작을 설명하고 있다. For example, each of the electronic control units 201, 202, ..., and 20k of the vehicle according to the embodiment of the present invention has a self-diagnosis function, so that it can determine whether or not an abnormality has occurred by various methods. For example, FIG. 4 illustrates an operation for determining whether or not an abnormality has occurred based on the CPU load.

먼저, 단계 S200에서, 각 전자제어유닛(ECU)이 각종 센서로부터 감지신호를 입력받아 CPU 부하를 검출한다. First, in step S200, each electronic control unit (ECU) receives a detection signal from various sensors and detects a CPU load.

다음 단계 S210에서, 각 전자제어유닛은 검출한 CPU 부하가 기설정된 기준치(80%)를 초과하는지를 확인한다. In the next step S210, each electronic control unit checks whether the detected CPU load exceeds a preset reference value (80%).

기설정된 기준치를 초과하면, 다음 단계 S220 및 S230에서, 각 전자제어유닛이 에러 로그(log)를 발생하고 발생 에러 로그를 블랙박스장치로 CAN메시지를 통해 전송한다. If the preset reference value is exceeded, in the next steps S220 and S230, each electronic control unit generates an error log and transmits the generated error log to the black box device via the CAN message.

기설정된 기준치를 초과하지 않으면 다음 단계 S240에서 정상 상태로 인식하고 종료한다. If the preset reference value is not exceeded, it is recognized as a normal state in the next step S240 and the process ends.

이상에서 본 명세서에 개시된 실시예들을 첨부된 도면들을 참조로 설명하였다. 이와 같이 각 도면에 도시된 실시예들은 한정적으로 해석되어서는 아니되며, 본 명세서의 내용을 숙지한 당업자에 의해 서로 조합될 수 있고, 조합될 경우 일부 구성 요소들은 생략될 수도 있는 것으로 해석될 수 있다.The embodiments disclosed herein have been described with reference to the accompanying drawings. Thus, the embodiments shown in the drawings are not to be construed as limiting and can be combined with each other by those skilled in the art who are familiar with the contents of the present specification, and when combined, some of the components may be omitted .

따라서 본 명세서에 기재된 실시예와 도면에 도시된 구성은 본 명세서에 개시된 일 실시예에 불과할 뿐이고, 본 명세서에 개시된 기술적 사상을 모두 대변하는 것은 아니므로, 본 출원시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형예들이 있을 수 있음을 이해하여야 한다.Therefore, the embodiments described in the present specification and the configurations shown in the drawings are only examples described in this specification, and not all of the technical ideas disclosed in this specification are described. Therefore, It is to be understood that equivalents and modifications are possible.

100: 블랙박스 장치 110: CAN 모듈
120: 제어 모듈 130: 감지 모듈
140: 무선통신모듈 150: 출력부
160: 백업 데이터베이스 200: 다수의 전자제어유닛(ECU)
300: 관리 서버
100: Black box device 110: CAN module
120: control module 130: detection module
140: wireless communication module 150: output section
160: Backup database 200: A plurality of electronic control units (ECUs)
300: management server

Claims (8)

캔(CAN) 통신을 통해 차량 내 다수의 전자제어유닛(ECU)로부터 이상 동작 발생과 관련한 메시지를 수신하는 CAN 모듈;
외부의 서버와 통신하기 위한 무선통신모듈; 및
차량 내 모든 전자제어유닛의 초기화 코드가 미리 데이터베이스화되어 있는 백업 데이터베이스;
상기 CAN 모듈로부터 수신한 메시지를 토대로 기 정의된 고장률 등급에 해당하거나 해당 전자제어유닛의 CPU 부하가 기 정의된 최고 기준치를 초과하게 되면 치명적인 고장으로 판단하고, 치명적인 고장이면 상기 무선통신모듈을 통해 외부의 서버로 상기 수신한 메시지를 메시지 덤핑(dumping)하여 전송하고 치명적인 고장이 발생한 전자제어유닛의 초기화 코드를 상기 백업 데이터베이스로부터 추출하여 상기 CAN 모듈을 통해 해당 전자제어유닛으로 전달하여 정상 복귀시키며, 단순 결함이면 상기 수신한 메시지를 백업 데이터베이스에 저장하여 백업하는 제어모듈(MCU)
를 포함하는 차량 전자제어유닛의 이상 진단을 위한 블랙박스장치.
A CAN module that receives a message related to occurrence of an abnormal operation from a plurality of electronic control units (ECU) in the vehicle through CAN (CAN) communication;
A wireless communication module for communicating with an external server; And
A backup database in which initialization codes of all the electronic control units in the vehicle are preliminarily databaseed;
If it is determined that the CPU load of the electronic control unit exceeds a predefined maximum reference value based on a message received from the CAN module or if the CPU load of the corresponding electronic control unit exceeds a predefined reference value, Dumping the received message to the server of the CAN module, extracting an initialization code of the electronic control unit in which a catastrophic failure has occurred from the backup database, transmitting it to the corresponding electronic control unit through the CAN module, A control module (MCU) for storing the received message in a backup database and backing up the received message,
And a black box device for malfunction diagnosis of the vehicle electronic control unit.
제1항에 있어서,
상기 이상 동작 발생과 관련한 메시지는
상기 메시지를 전송한 노드 정보, 이상 발생 정보, 타임 태그 정보를 포함하고, 상기 이상 발생 정보는 에러 코드, 특정 인터럽트 발생 정보, CPU부하(load), 캔 버스 로드(CAN bus load), 캔 버스 오프(CAN bus-off) 상황 정보를 포함하는 것을 특징으로 하는 차량 전자제어유닛의 이상 진단을 위한 블랙박스장치.
The method according to claim 1,
The message relating to the occurrence of the abnormal operation
The abnormal occurrence information includes an error code, a specific interrupt occurrence information, a CPU load, a CAN bus load, a can bus off (CAN bus-off) status information of the vehicle electronic control unit.
제1항에 있어서,
상기 제어모듈은
상기 수신한 메시지를 기정의된 데이터와의 비교를 통해 이상 발생을 진단하고 상기 이상 발생의 원인을 분석하는 진단 모듈을 더 포함하는 것을 특징으로 하는 차량 전자제어유닛의 이상 진단을 위한 블랙박스장치.
The method according to claim 1,
The control module
Further comprising: a diagnostic module for diagnosing an abnormality occurrence by comparing the received message with predetermined data and for analyzing the cause of the abnormality occurrence.
제1항에 있어서,
상기 제어 모듈은
적어도 하나 이상의 센서로부터 운전자 상태 정보를 감지하여 상기 이상 동작이 발생한 시간과 동기화하여 백업하는 것을 특징으로 하는 차량 전자제어유닛의 이상 진단을 위한 블랙박스장치.
The method according to claim 1,
The control module
Wherein at least one sensor detects driver status information and performs backup in synchronization with a time at which the abnormal operation occurs.
삭제delete 차량 내 다수의 전자제어유닛(ECU)과 연결되어 상기 다수의 전자제어유닛의 이상 진단을 위해 통합 관리하는 블랙박스장치의 제어 방법으로서,
차량 내 모든 전자제어유닛의 초기화 코드를 백업 데이터베이스에 미리 데이터베이스화하는 단계;
상기 블랙박스장치가 상기 다수의 전자제어유닛으로부터 이상 동작 발생과 관련한 메시지를 수신하는 단계;
상기 블랙박스장치가 상기 다수의 전자제어유닛으로부터 수신한 메시지를 토대로 기 정의된 고장률 등급에 해당하거나 해당 전자제어유닛의 CPU 부하가 기 정의된 최고 기준치를 초과하게 되면 치명적인 고장으로 판단하는 단계; 및
판단 결과, 치명적인 고장이면 상기 블랙박스장치가 외부의 서버로 상기 수신한 메시지를 메시지 덤핑(dumping)하여 전송하고, 상기 블랙박스장치가 치명적인 고장이 발생한 전자제어유닛의 초기화 코드를 미리 데이터베이스화되어 있는 백업 데이터베이스로부터 추출하고 추출한 상기 초기화 코드를 CAN 모듈을 통해 상기 이상 발생한 전자제어유닛으로 전송하여 리셋시키는 단계; 및
판단 결과, 단순 결함이면 상기 블랙박스장치가 상기 수신한 메시지를 백업 데이터베이스에 저장하여 백업하는 단계
를 포함하는 블랙박스장치의 제어 방법.
A control method of a black box device connected to a plurality of electronic control units (ECU) in a vehicle and integratedly managed for abnormality diagnosis of the plurality of electronic control units,
Preliminarily databaseing initialization codes of all electronic control units in the vehicle in a backup database;
Receiving, by the black box device, a message relating to an abnormal operation occurrence from the plurality of electronic control units;
Determining that the black box device is a catastrophic failure if it corresponds to a predefined failure rate class based on a message received from the plurality of electronic control units or if the CPU load of the corresponding electronic control unit exceeds a predetermined maximum reference value; And
As a result of the determination, if the black box device dumps the received message to the external server and transmits the message to the external server, the black box device transmits an initialization code of the electronic control unit in which a fatal failure has occurred, Transmitting the initialization code extracted and extracted from the backup database to the abnormally generated electronic control unit via the CAN module and resetting the same; And
If it is determined that the defect is a simple defect, the black box device stores the received message in a backup database and backs up
And a control unit for controlling the black box device.
삭제delete 제6항에 있어서,
상기 판단 결과 단순 결함이면 상기 블랙박스장치가 동일 에러코드의 발생 여부를 카운팅 및 모니터링하는 단계
를 더 포함하는 것을 특징으로 하는 블랙박스장치의 제어 방법.
The method according to claim 6,
If the result of the determination is a simple defect, the black box device counts and monitors whether or not the same error code is generated
Further comprising the step of:
KR1020140089563A 2014-07-16 2014-07-16 Black box apparatus for diagnosing error of electronic control unit for vehicle and control method thereof KR101593571B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140089563A KR101593571B1 (en) 2014-07-16 2014-07-16 Black box apparatus for diagnosing error of electronic control unit for vehicle and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140089563A KR101593571B1 (en) 2014-07-16 2014-07-16 Black box apparatus for diagnosing error of electronic control unit for vehicle and control method thereof

Publications (2)

Publication Number Publication Date
KR20160009287A KR20160009287A (en) 2016-01-26
KR101593571B1 true KR101593571B1 (en) 2016-02-18

Family

ID=55307303

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140089563A KR101593571B1 (en) 2014-07-16 2014-07-16 Black box apparatus for diagnosing error of electronic control unit for vehicle and control method thereof

Country Status (1)

Country Link
KR (1) KR101593571B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019194474A1 (en) * 2018-04-02 2019-10-10 삼성전자 주식회사 Electronic device and method for diagnosing vehicle

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102495106B1 (en) 2016-01-26 2023-02-03 에이치엘만도 주식회사 Electric brake system
KR102304852B1 (en) * 2017-06-22 2021-09-27 현대자동차주식회사 Apparatus and method for checking or monitoring vehicle control unit
KR101899966B1 (en) * 2018-05-18 2018-09-18 주식회사 경신 Method for monitoring device of network on vehicle
KR101899964B1 (en) * 2018-05-18 2018-09-18 주식회사 경신 Method for monitoring device of network on vehicle
KR101899965B1 (en) * 2018-05-18 2018-09-18 주식회사 경신 Method for monitoring device of network on vehicle
KR102188738B1 (en) * 2019-12-09 2020-12-08 현대오트론 주식회사 Alarm offset optimization apparatus for autosar operating system
KR20240050757A (en) 2022-10-12 2024-04-19 주식회사 엘지에너지솔루션 Battery management apparatus, system and method for storing bms data

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100307959B1 (en) * 1998-09-30 2001-11-30 정주호 Black box device and detection method for detecting vehicle failure
KR100732149B1 (en) * 2005-12-07 2007-06-25 에스앤티대우(주) The syseem and method for automobile and driver condition sensing
KR101198724B1 (en) * 2007-06-05 2012-11-12 현대자동차주식회사 Error Detection Method for robust CAN communication in Vehicles
KR20130030583A (en) * 2011-09-19 2013-03-27 주식회사 유비샘 Remote controlling system for on-board diagnostics(obd) and image recording device in vehicle

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019194474A1 (en) * 2018-04-02 2019-10-10 삼성전자 주식회사 Electronic device and method for diagnosing vehicle
KR20190115325A (en) * 2018-04-02 2019-10-11 삼성전자주식회사 Electronic apparatus and method for diagnosing of vehicle
KR102471498B1 (en) * 2018-04-02 2022-11-28 삼성전자주식회사 Electronic apparatus and method for diagnosing of vehicle
US11645878B2 (en) 2018-04-02 2023-05-09 Samsung Electronics Co., Ltd. Electronic device and method for diagnosing vehicle

Also Published As

Publication number Publication date
KR20160009287A (en) 2016-01-26

Similar Documents

Publication Publication Date Title
KR101593571B1 (en) Black box apparatus for diagnosing error of electronic control unit for vehicle and control method thereof
JP7030046B2 (en) Fraudulent communication detection method, fraudulent communication detection system and program
CN105981336B (en) Abnormality detection electronic control unit, vehicle-mounted network system, and abnormality detection method
JP7053449B2 (en) Fraudulent communication detection standard determination method, fraudulent communication detection standard determination system and program
US9705699B2 (en) Method and apparatus for reducing load in can communication
JP5138949B2 (en) In-vehicle gateway device
US9721399B2 (en) Vehicle diagnosing apparatus, vehicle diagnosing system, and diagnosing method
US11084462B2 (en) Method for modifying safety and/or security-relevant control devices in a motor vehicle
US8380383B2 (en) Distributed vehicle control system
JP6585019B2 (en) Network monitoring device, network system and program
CN107404337B (en) First communication node in a vehicle network and method of operating the same
US8219279B2 (en) Method for on-board data backup for configurable programmable parameters
KR101960400B1 (en) Braking system
CN109005678B (en) Illegal communication detection method, illegal communication detection system, and recording medium
WO2018186054A1 (en) Method for determining reference for unauthorized communication detection, system for determining reference for unauthorized communication detection, and program
CN110203157B (en) Auxiliary diagnosis device for abnormal battery power failure, server and system comprising auxiliary diagnosis device
CN116909255A (en) Fault diagnosis system and method for intelligent driving system and vehicle
KR20130065353A (en) Method and apparatus for fault diagnosis network of car using can communication
KR101039926B1 (en) Control system for fault diagnosis in vehicle
JP2022138678A (en) vehicle system
CN115022124B (en) Information processing device, information processing method, and storage medium
JP2010018168A (en) System and method for analyzing abnormality for vehicle, and vehicular trouble analyzer
JP7491240B2 (en) Information processing device, information processing method, and program
KR100860486B1 (en) Can message timeout error check method in an electronic stability program system of an automobile
US8452485B2 (en) Method for preparing error entries

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20200128

Year of fee payment: 5