KR101362718B1 - Method for diagnosing the failure in electronic control unit ocurring a series of software reset - Google Patents

Method for diagnosing the failure in electronic control unit ocurring a series of software reset Download PDF

Info

Publication number
KR101362718B1
KR101362718B1 KR1020120135185A KR20120135185A KR101362718B1 KR 101362718 B1 KR101362718 B1 KR 101362718B1 KR 1020120135185 A KR1020120135185 A KR 1020120135185A KR 20120135185 A KR20120135185 A KR 20120135185A KR 101362718 B1 KR101362718 B1 KR 101362718B1
Authority
KR
South Korea
Prior art keywords
failure
electronic control
identification information
data
information
Prior art date
Application number
KR1020120135185A
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 KR1020120135185A priority Critical patent/KR101362718B1/en
Application granted granted Critical
Publication of KR101362718B1 publication Critical patent/KR101362718B1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0787Storage of error reports, e.g. persistent data storage, storage using memory protection

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

The present invention relates to a failure diagnosis method in an electronic control apparatus and more specifically, to a failure diagnosis method in an electronic control apparatus capable of performing failure diagnosis even in case a trap or a software reset occurs continuously. For the same, the failure diagnosis method of the present invention includes the steps of: waking-up an electronic control apparatus of a vehicle when a trap or a software reset occurs; initializing a communication module; checking identification information of data during a pre-set time; and entering into a failure information scan mode, in case data having identification information about a failure detection unit is received. [Reference numerals] (AA) ECU wake-up; (BB) Communication module initialization; (CC) Wait for fixed time to check whether specific identification information is received; (DD) Receive specific identification information; (EE) Normal mode; (FF) Failure information scan mode

Description

연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법 {Method for diagnosing the failure in electronic control unit ocurring a series of software reset}Method for diagnosing the failure in electronic control unit ocurring a series of software reset}

본 발명은 전자 제어 장치에서의 고장 진단 방법에 관한 것으로, 보다 상세하게는 트랩 또는 소프트웨어 리셋이 연속적으로 발생하는 경우 스캔툴과 같은 고장 검출 수단에 의하여 전자 제어 장치에서의 고장을 진단할 수 있는 방법에 관한 것이다.
The present invention relates to a method for diagnosing a failure in an electronic control device, and more particularly, a method for diagnosing a failure in an electronic control device by a failure detecting means such as a scan tool when a trap or software reset occurs continuously. It is about.

근자에는 전자제어기술이 비약적으로 발전함에 따라 기계적인 부품에 의하여 동작하던 각종 장치들이 제어의 정밀도 향상을 통하여 주행 성능 극대화, 운행의 안정성 확보 등을 목적으로 전기적인 방식에 의하여 구동되고 있다. 또한, 차량에 기본적으로 필요한 주행과 관련된 사양 이외에도 수요자의 요구에 따라 다양한 편의 사양들이 장착되고 있으며, 이들은 각종 전자 제어 장치에 의하여 제어되고 있다.In recent years, due to the rapid development of electronic control technology, various devices operated by mechanical parts are driven by an electric method for the purpose of maximizing driving performance and securing driving stability by improving control accuracy. In addition to the specifications related to the driving basically required for the vehicle, various convenience features are mounted according to the demand of the consumer, and these are controlled by various electronic control devices.

그러나, 이러한 전자식 장치들의 수가 늘어남에 따라 차량 내에서 발생하는 고장형태도 다양화되고 있으며, 이와 같이 다양한 고장 정보를 적시에 정확하게 검출 및 진단하기 위한 고장 검출 및 진단 기술 개발이 요청되고 있다.However, as the number of electronic devices increases, failure forms occurring in a vehicle are also diversified, and thus, development of a failure detection and diagnosis technology for detecting and diagnosing various failure information in a timely manner is required.

현재 시판되고 있는 대부분의 자동차에는 각종 센서로부터의 감지신호를 입력받아 이를 기초로 각 동작을 제어하는 다양한 전자 제어 장치가 구비된다.Most automobiles currently on the market are equipped with various electronic control devices which receive sensing signals from various sensors and control each operation based on the sensing signals.

이러한 전자 제어 장치로는 제어기는 차량의 구동을 위한 주요 구성에 대한 PT 제어기와 차량안전장치와 관련된 샤시제어기로 구분된다.As such an electronic control device, the controller is divided into a PT controller for a main component for driving a vehicle and a chassis controller associated with a vehicle safety device.

PT 제어기로는 엔진의 동작을 제어하는 EMS(engine management system), 자동변속기를 제어하는 TCU(Transmission Control Unit) 등이 있고, 샤시 제어기는 급브레이크 시에 브레이크가 잠기는 것을 방지하는 등의 브레이크의 동작을 제어하는 ABS(Anti-lock Break System), 타이어 공기압 자동 감지시스템인 TPMS(tire pressure monitoring system), 전자제어서스펜션인 ECS(electronic controlled suspension), 운전자가 차를몰다가 위험한 상황이나 격한 상황이 왔을때 운전자가 차의 밸런스를 못잡을때 차의 주행이탈을 방지해주기 위한 ESP(Electronic Stability Programme), VDC(Vehicle Dynamic Control), 차의 헛바퀴를 방지하는 TCS(Traction Control System) 등이 있다.PT controllers include an engine management system (EMS) that controls the operation of the engine, a transmission control unit (TCU) that controls the automatic transmission, and the chassis controller prevents brakes from locking during sudden brakes. ABS (Anti-lock Break System), tire pressure automatic detection system TPMS (tire pressure monitoring system), electronic control suspension (ECS), the driver's car when dangerous or severe situation There are Electronic Stability Program (ESP), Vehicle Dynamic Control (VDC), and TCS (Traction Control System), which prevents the driver from driving the car when the driver fails to balance the car.

상기와 같은 다수의 제어기들 각각은 각 시스템의 이상유무를 판정하기 위한 진단로직을 포함하고 있으며, 진단을 통해 고장 진단 코드(Diagnostic Trouble Code; DTC)를 생성한다.Each of the plurality of controllers includes a diagnostic logic for determining the abnormality of each system, and generates a diagnostic trouble code (DTC) through the diagnosis.

예를 들어, 대한민국 공개 특허 제2005-0071159호에서는 캔 통신을 이용한 차량의 고장 정보 전송 방법의 예로써, 연료 탱크 내의 압력 센서 및 온도 센서와 연료 펌프를 포함하는 엑츄에이터의 고장 정보를 캔통신(CAN: Controller Area Network)을 이용하여 가솔린 이씨유(ECU)로 전달할 수 있도록 한 캔 통신을 이용한 차량의 고장 정보 전송 방법이 개시되어 있다.For example, Korean Unexamined Patent Publication No. 2005-0071159 is an example of a method for transmitting fault information of a vehicle using can communication, and includes can communication of fault information of an actuator including a pressure sensor and a temperature sensor in the fuel tank and a fuel pump (CAN). Disclosed is a method for transmitting fault information of a vehicle using can communication, which can be transferred to a gasoline IC using a controller area network.

위 공개특허에서는 상기 상기 연료 탱크내의 온도 센서 및 압력 센서의 고장, 연료 펌프의 고장, 인젝터의 고장 등을 엘피지 이씨유에서 진단하고, 이 고장 진단 결과인 고장 정보를 캔통신(CAN)을 통해 가솔린 이씨유로 전송하도록 구성된다.In the above-mentioned patent, the failure of the temperature sensor and the pressure sensor in the fuel tank, the failure of the fuel pump, the injector failure, etc. are diagnosed by the LPG, and the failure information that is the result of the failure diagnosis is stored in gasoline via CAN. It is configured to transmit to Lee.

그러나, 상기한 가솔린 이씨유와 같은 전자 제어 장치가 동작 중, 특정 시점에서의 반복적인 트랩이 발생하거나 소프트웨어 리셋이 연속적으로 발생하는 경우에는 고장 정보를 확인하지 못하게 되는 문제가 나타난다. 즉, 트랩 또는 소프트웨어 리셋의 연속적인 발생 시, 고장 정보와 관련된 특정 메모리 값을 파악하기 위하여 스캔툴과 같은 고장 검출 수단을 연결하더라도 연속적인 트랩 또는 리셋으로 인하여 스캔툴과 통신이 발생하지 않기 때문에 고장 정보를 확인할 수 없게 된다.
However, when an electronic control device such as gasoline IC is in operation, when a repetitive trap occurs at a specific time point or a software reset occurs continuously, a problem arises in that failure information cannot be confirmed. That is, in the event of continuous trap or software reset, even if a failure detection means such as a scan tool is connected in order to identify a specific memory value related to the failure information, the failure occurs because communication with the scan tool does not occur due to the continuous trap or reset. The information cannot be confirmed.

이에 본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로, 본 발명에서는 트랩 또는 소프트웨어 리셋의 연속적 발생 시, 고장 검출 및 진단이 불가능한 문제점을 파악하고, 이러한 경우에도 고장 정보의 검출 및 진단이 가능한 전자 제어 장치에서의 고장 진단 방법을 제공하고자 한다.
Accordingly, the present invention has been made to solve the above problems, in the present invention, it is possible to identify a problem that is impossible to detect and diagnose a failure in the continuous generation of traps or software reset, and even in this case it is possible to detect and diagnose failure information It is intended to provide a method of diagnosing a failure in an electronic control device.

상기한 목적을 달성하기 위해, 본 발명에서는 트랩 또는 소프트웨어 리셋이 발생 시 차량의 전자 제어 장치를 웨이크 업(wake-up)하는 단계; 통신 모듈을 초기화하는 단계; 미리 설정된 시간 동안 수신되는 데이터의 식별 정보를 확인하는 단계; 고장 검출 수단에 관한 식별 정보를 갖는 데이터가 수신된 경우, 고장 정보 스캔 모드로 진입하는 단계를 포함하는 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법을 제공한다.In order to achieve the above object, the present invention includes the steps of waking up the electronic control device of the vehicle when a trap or software reset occurs; Initializing a communication module; Confirming identification information of data received for a preset time; A method of diagnosing a failure in an electronic control device in which a continuous software reset occurs including entering into a failure information scan mode when data having identification information regarding a failure detection means is received.

또한, 상기 데이터의 식별 정보를 확인하는 단계에서는 고장 검출 수단에 관한 식별 정보를 갖는 데이터의 수신 여부만을 확인하는 것을 특징으로 하는 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법을 제공한다.In addition, the step of confirming the identification information of the data provides a failure diagnosis method in the electronic control device in which the continuous software reset occurs, characterized in that only receiving the data having the identification information on the failure detection means.

또한, 상기 데이터의 식별 정보를 확인하는 단계에서, 고장 검출 수단에 관한 식별 정보를 갖는 데이터가 수신되지 않은 경우에는 전자 제어 장치의 일반 모드로 진입하도록 구성된 것을 특징으로 하는 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법을 제공한다.Further, in the step of confirming the identification information of the data, if data with the identification information on the failure detecting means is not received, the electronic device in which the continuous software reset occurs, characterized in that configured to enter the normal mode of the electronic control apparatus. Provided is a method for diagnosing a failure in a control device.

또한, 상기 전자 제어 장치가 고장 정보 스캔 모드로 진입 시, 고장 검출 수단이 메모리부에 저장된 고장 정보를 스캔하는 단계를 더 포함하는 것을 특징으로 하는 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법을 제공한다.In addition, when the electronic control device enters the failure information scan mode, the failure detection means further comprises the step of scanning the failure information stored in the memory unit, the failure diagnosis in the electronic control device is a continuous software reset occurs Provide a method.

또한, 상기 고장 정보 스캔 모드에서는 고장 검출 수단이 메모리부에 저장된 고장 정보를 스캔하는 단계를 포함하도록 구성된 것을 특징으로 하는 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법을 제공한다.In addition, the failure information scanning mode provides a failure diagnosis method in an electronic control apparatus in which a continuous software reset occurs, wherein the failure detection means is configured to include scanning failure information stored in a memory unit.

또한, 상기 고장 정보 스캔 모드에서는 스캔된 고장 정보를 디스플레이부로 출력하는 단계를 더 포함하도록 구성된 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법을 제공한다.In addition, the failure information scan mode provides a failure diagnosis method in an electronic control device in which a continuous software reset is configured to further include outputting the scanned failure information to a display unit.

또한, 본 발명에서는 상기 통신 모듈은 캔 프로토콜로 통신하는 캔 통신 모듈인 것을 특징으로 하는 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법을 제공한다.
In addition, the present invention provides a method for diagnosing a failure in an electronic control apparatus in which a continuous software reset occurs, wherein the communication module is a can communication module communicating through a can protocol.

본 발명에 따른 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법에서는 소프트웨어의 초기화 시점에서, 통신 모듈을 초기화하고 특정한 식별정보가 수신되는지를 확인하는 단계를 부가시킴으로써 트랩 또는 소프트웨어 리셋이 연속적으로 발생하는 경우라 하더라도 고장 정보를 검출 및 진단할 수 있는 효과가 있다.In a failure diagnosis method in an electronic control apparatus in which a continuous software reset occurs according to the present invention, a trap or software reset is continuously performed by adding a step of initializing a communication module and confirming whether specific identification information is received at the time of software initialization. Even if it occurs, it is effective to detect and diagnose fault information.

또한, 본 발명에서는 소프트웨어 초기화 시점에서의 대기 시간을 약간 증가시키는 것만으로 트랩 또는 소프트웨어 리셋이 연속적으로 발생하는 경우에 대한 고장 검출 및 진단을 효과적으로 수행할 수 있어, 고장 진단을 위한 추가적인 구성을 부가하지 않고 고장 진단이 가능한 바, 추가적인 비용 소요을 억제할 수 있는 장점이 있다.
In addition, in the present invention, by slightly increasing the waiting time at the time of initializing the software, failure detection and diagnosis can be effectively performed when a trap or software reset occurs continuously, so that no additional configuration for failure diagnosis can be added. The fault diagnosis can be performed without the additional cost.

도 1은 본 발명에 따른 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법의 각 단계를 도시하고 있는 순서도이다.1 is a flow chart showing each step of a failure diagnosis method in an electronic control apparatus in which a continuous software reset occurs according to the present invention.

본 발명에서는 전자 제어 장치에서의 고장 진단 방법으로, 특히 트랩 또는 소프트웨어 리셋이 연속적으로 발생하더라도 고장 검출 및 진단이 가능한 전자 제어 장치에서의 고장 진단 방법을 제공하고자 한다.In the present invention, as a method of diagnosing a failure in an electronic control device, in particular, a method of diagnosing a failure in an electronic control device capable of detecting and diagnosing a failure even when a trap or software reset occurs continuously is provided.

차량 내에는 하나 이상의 전자 제어 장치와 함께 상기 전자 제어 장치에 의하여 제어되는 다양한 구성품들을 포함하고 있다.The vehicle includes various components controlled by the electronic control device together with one or more electronic control devices.

일반적으로 차량 내에 구성되는 고장 진단 시스템은 이러한 전자 제어 장치와 상기 전자 제어 장치에 의하여 제어되거나 또는 상기 전자 제어 장치에 특정한 정보를 제공하는 다수의 구성품들 간을 상호 연결하는 통신 모듈을 포함하여 구성된다.In general, a failure diagnosis system configured in a vehicle includes a communication module interconnecting an electronic control device and a plurality of components controlled by the electronic control device or providing specific information to the electronic control device. .

상기 통신 모듈은 CAN (Controller Area Network)와 같이 상기 전자 제어 장치 및 각 구성품들로부터 송출된 데이터를 소정의 통신 프로토콜에 따라 다중 통신의 방식으로 상호 전송하도록 구성된다.The communication module is configured to mutually transmit data transmitted from the electronic control apparatus and each component, such as a controller area network (CAN), in a multiple communication manner according to a predetermined communication protocol.

즉, 각각의 전자 제어 장치 및 구성품들은 상기 통신 모듈의 전송 우선 순위에 따라 순차적으로 또는 동시에 데이터 전송을 개시하고, 다른 구성들로부터 데이터가 전송되면, 데이터를 수신받은 측에서는 일정시간 대기한 후에 데이터를 송신하게 된다.That is, each of the electronic control devices and components start data transmission sequentially or simultaneously according to the transmission priority of the communication module, and when data is transmitted from other components, the data receiving side waits for a predetermined time and then waits for data. Will be sent.

이 때, 전송되는 데이터에는 각 구성품들에 대한 고장 정보들이 포함되어 있으며, 이러한 고장 정보를 포함한 데이터들은 전자 제어 장치 또는 다른 외부 검출 수단에 전송된다.At this time, the transmitted data includes failure information for each component, and the data including the failure information are transmitted to the electronic control device or other external detection means.

상기 전자 제어 장치들은 각각 컨트롤러를 갖춘 마이크로컴퓨터 및 이 마이크로컴퓨터에 접속된 통신 모듈을 포함하며, 공통의 통신 프로토콜에 의한 네트워크 상에서 각 전자 제어 장치들로부터의 출력 데이터를 통신 모듈을 통해 다른 영역으로 전송하고, 수신되는 입력 데이터를 디코딩하여 이용하도록 구성된다.The electronic control devices each include a microcomputer with a controller and a communication module connected to the microcomputer, and transmit output data from each electronic control device to another area through a communication module on a network by a common communication protocol. And decode and use the received input data.

따라서, 각각의 전자 제어 장치들은 연결된 여러 구성품들로부터 고장 정보를 포함한 다양한 정보를 수신받으며, 이를 통해 출력 신호인 제어 지령을 송출하게 된다.Accordingly, each of the electronic control devices receives various information including fault information from various connected components, thereby transmitting control commands which are output signals.

한편, 공통의 통신 프로토콜을 갖는 통신 모듈로부터 각 구성품에 의해 전송되는 데이터들은 소정의 데이터 프레임에 의해 구성된다.On the other hand, data transmitted by each component from a communication module having a common communication protocol is constituted by predetermined data frames.

이러한 데이터 프레임은 헤더와 데이터를 포함하여 코딩될 수 있으며, 예를 들어, 전송되는 데이터의 시작을 나타내는 스타트-오브-프레임 (SOF), 그 전송 데이터의 종류를 식별하여 다른 종류의 데이터와 구별하기 위한 식별 정보 (데이터 전송의 우선 순위도 지시함)를 나타내는 프레임 ID, 전송 데이터의 길이를 나타내는 데이터 길이 코드 (DLC), 전송 데이터의 내용 (예를 들어, 차륜 속도의 정보나 구동 토크의 제어 명령값 등) 을 나타내는 데이터 필드, 전송 에러를 체크하기 위한 CRC 필드, 정상적인 데이터의 수신 완료를 확인하기 위한 필드, 및 전송 데이터의 마지막을 나타내는 엔드-오브-프레임 (EOF) 으로 구성될 수 있다.Such data frames may be coded, including headers and data, for example, a start-of-frame (SOF) that indicates the beginning of the data being transmitted, identifying the type of data being transmitted and distinguishing it from other types of data. Frame ID indicating identification information (also indicating priority of data transmission), data length code (DLC) indicating length of transmission data, contents of transmission data (for example, wheel speed information or driving torque control command) Value field), a CRC field for checking transmission error, a field for confirming completion of normal data reception, and an end-of-frame (EOF) indicating the end of transmission data.

이에 본 발명에서는 소프트웨어 리셋이 발생할 경우, 검출하고자 하는 식별정보를 포함하는 데이터가 송신되는지 여부를 확인하기 위한 대기 시간을 설정하고, 이러한 대기 시간동안 상기한 데이터 프레임으로부터 원하는 식별정보 유무를 확인함으로써 연속적인 리셋 발생 이전에 고장 정보를 검출하기 위한 새로운 루틴으로 진입할 수 있도록 구성하는 것에 그 특징이 있다.Accordingly, in the present invention, when a software reset occurs, a waiting time for checking whether data including the identification information to be detected is transmitted is set, and the presence or absence of desired identification information is confirmed from the data frame during the waiting time. Its feature is that it can be configured to enter a new routine for detecting fault information prior to a normal reset occurrence.

즉, 본 발명에서는 이용자가 고장 정보 식별을 위하여 고장 검출 수단을 차량에 연결한 경우, 상기 고장 검출 수단의 연결 여부를 확인하고, 이를 통해 고장 정보를 스캔할 수 고장 검출 모드로 전환될 수 있도록 구성된다.That is, in the present invention, when the user connects the failure detection means to the vehicle for identification of the failure information, it is configured to check whether the failure detection means is connected and to switch to the failure detection mode through which the failure information can be scanned. do.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 따른 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법을 상세하게 설명하면 다음과 같다.Hereinafter, a failure diagnosis method in an electronic control apparatus in which continuous software reset occurs according to a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법의 각 단계를 도시하고 있는 순서도이다.1 is a flow chart showing each step of a failure diagnosis method in an electronic control apparatus in which a continuous software reset occurs according to the present invention.

도 1에 도시된 바와 같이, 본 발명에 따른 전자 제어 장치에서의 고장 진단 방법은 트랩 또는 소프트웨어 리셋이 발생 시 차량의 전자 제어 장치를 웨이크 업(wake-up)하는 단계와, 통신 모듈을 초기화하는 단계, 특정 데이터의 식별 정보를 확인하는 단계 및 고장 정보 스캔 모드로 진입하는 단계를 포함한다.As shown in FIG. 1, a method for diagnosing a failure in an electronic control apparatus according to the present invention includes waking up an electronic control apparatus of a vehicle when a trap or software reset occurs, and initializing a communication module. The method may include identifying identification information of the specific data and entering a failure information scanning mode.

구체적으로, 도 1에서와 같이, 전자 제어 장치에서는 트랩 또는 소프트웨어 리셋이 발생하게 되는 경우, 전자 제어 장치를 웨이크 업하는 단계가 진행된다.Specifically, as shown in FIG. 1, when a trap or software reset occurs, the electronic control apparatus wakes up the electronic control apparatus.

상기 전자 제어 장치가 웨이크 업된 이후에는 종래에서와 같이 즉각적으로 일반 모드로 진행되는 것이 아니라, 일정한 대기 시간을 갖고 고장 정보 송출을 위한 단계들이 진행되게 된다.After the electronic control device wakes up, the steps for transmitting the fault information with a predetermined waiting time are performed instead of immediately proceeding to the normal mode as in the related art.

즉, 도 1에 도시된 것처럼, 상기 전자 제어 장치가 웨이크 업되면, 통신 모듈을 초기화하는 단계가 진행되며, 통신 모듈의 초기화 이후에는 특정 식별 정보, 바람직하게는 고장 진단을 위한 고장 검출 수단에 대한 식별정보가 수신되었는지 여부를 확인하는 단계가 수행된다.That is, as shown in FIG. 1, when the electronic control device wakes up, a step of initializing a communication module is performed. After initialization of the communication module, specific identification information, preferably for fault detection means for fault diagnosis, is performed. A step of checking whether identification information has been received is performed.

이와 관련, 상기 통신 모듈을 초기화하는 단계는 전자 제어 장치와 각종 구성품들 간에 통신 환경이 통신에 적합한 상태인지 여부를 확인하는 것으로 네트워크의 통신 속도 등을 체크하게 된다.In this regard, in the initializing of the communication module, the communication speed of the network is checked by checking whether the communication environment is suitable for communication between the electronic control apparatus and various components.

이 때, 상기 통신 모듈은 캔 프로토콜로 통신하는 캔 통신 모듈로 구성할 수 있으며, 전자 제어 유닛과 각 구성품들 간의 원할한 통신 환경을 구현할 수 있는 것이라면 상기한 캔 통신 방식으로 한정되지는 않는다.In this case, the communication module may be configured as a can communication module for communicating in a can protocol, and the communication module is not limited to the can communication method as long as it can implement a smooth communication environment between the electronic control unit and each component.

한편, 통신 모듈이 초기화된 이후에는 특정 식별 정보의 수신 여부를 확인하는 단계가 수행되는 바, 본 단계에서는 고장 식별을 위하여 고장 검출 수단이 연결된 경우, 상기 고장 검출 수단에 관한 특정 식별 정보가 상기 전자 제어 장치에 수신되었는지 여부를 확인하도록 구성된다.On the other hand, after the communication module is initialized, a step of confirming whether or not to receive specific identification information is performed. In this step, when failure detection means is connected for failure identification, specific identification information about the failure detection means is transmitted to the electronic device. Configured to check whether the control device has received it.

따라서, 도 1에서와 같이, 전자 제어 장치에서는 미리 설정된 시간 동안 특정 식별 정보(예를 들면, CAN ID), 즉, 고장 검출 수단에 관한 식별 정보가 수신되는지 대기하는 시간을 거치게 되고, 이 대기 시간 동안 수신된 데이터들로부터 특정 식별 정보가 수신되었는지 여부를 확인하게 된다.Accordingly, as shown in FIG. 1, the electronic control apparatus passes a waiting time for receiving specific identification information (for example, CAN ID), that is, identification information about a failure detection means, for a preset time, and this waiting time It is checked whether specific identification information has been received from the received data.

다음으로, 상기 고장 검출 수단에 관한 식별 정보가 수신되지 않은 것으로 확인되면, 일반 모드(Normal Mode)로 진입하여 일반적인 전자 제어 장치의 제어 로직에 따라 각 구성품들 및 상하위 제어기들과의 데이터 송수신을 통해 제어를 수행하게 된다.Next, when it is confirmed that the identification information about the failure detecting means has not been received, the device enters a normal mode and transmits and receives data to and from each component and the upper and lower controllers according to the control logic of the general electronic control apparatus. Control will be performed.

반면, 상기 고장 검출 수단에 관한 식별 정보가 수신된 것으로 확인되면, 도 1에서와 같이 고장 정보 스캔 모드로 진입하게 된다.On the other hand, if it is confirmed that the identification information regarding the failure detecting means has been received, the system enters the failure information scanning mode as shown in FIG.

즉, 고장 검출 수단에 관한 식별 정보가 수신된 경우에는 스캔툴 또는 CCP(CAN Calibration Protocol)와 같은 고장 검출 수단이 연결된 것이므로, 고장 정보 스캔 모드로 진입하여 이들 고장 검출 수단과의 통신을 통해 고장 정보를 검출하게 된다.That is, when the identification information regarding the failure detection means is received, since a failure detection means such as a scan tool or a CAN Calibration Protocol (CCP) is connected, the failure information is entered into the failure information scanning mode and communicated with these failure detection means. Will be detected.

또한, 도시되지는 않았으나, 상기 고장 정보 스캔 모드에서는 비휘발성 메모리와 같은 메모리부에 저장된 고장 정보를 상기 고장 검출 수단이 확인하게 되고, 확인된 고장 정보들은 고장 검출 수단의 외부에 형성된 디스플레이부를 통해 출력되도록 구성할 수 있다.In addition, although not shown, in the fault information scanning mode, the fault detection means checks fault information stored in a memory unit such as a nonvolatile memory, and the identified fault information is output through a display unit formed outside the fault detection means. It can be configured to.

그러므로, 본 발명에 따른 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법에서는 고장 검출 수단에 대한 식별 정보를 확인하기 위한 일련의 단계들을 포함하는 대기 시간을 전자 제어 장치의 웨이크 업 과정에 포함시킴으로써, 연속적인 소프트웨어 리셋이 발생하게 되는 경우라 하더라도 발생한 고장 정보를 획득할 수 있게 된다.Therefore, in the fault diagnosis method in the electronic control apparatus in which the continuous software reset occurs according to the present invention, a wait time including a series of steps for confirming identification information on the fault detection means is included in the wake-up process of the electronic control apparatus. By doing so, even if a continuous software reset occurs, it is possible to obtain the generated fault information.

본 발명은 바람직한 실시 예를 참조하여 설명하였지만, 해당 기술분야의 숙련된 당업자는 본 발명의 범위를 벗어나지 않는 범위 내에서 본 발명의 요소들에 대한 수정 및 변경의 가능함을 이해할 수 있을 것이다. 또한, 본 발명의 필수적인 영역을 벗어나지 않는 범위 내에서 특별한 상황들이나 재료에 대하여 많은 변경이 이루어질 수 있다. 그러므로, 본 발명은 본 발명의 바람직한 실시 예의 상세한 설명으로 제한되지 않으며, 첨부된 특허청구범위 내에서 모든 실시 예들을 포함할 것이다.
While the present invention has been described with reference to the preferred embodiments, those skilled in the art will appreciate that modifications and variations are possible in the elements of the invention without departing from the scope of the invention. In addition, many modifications may be made to the particular situation or material within the scope of the invention, without departing from the essential scope thereof. Therefore, the present invention is not limited to the detailed description of the preferred embodiments of the present invention, but includes all embodiments within the scope of the appended claims.

Claims (6)

트랩 또는 소프트웨어 리셋이 발생 시 차량의 전자 제어 장치를 웨이크 업(wake-up)하는 단계;
통신 모듈을 초기화하는 단계;
미리 설정된 시간 동안 수신되는 데이터의 식별 정보를 확인하여 고장 검출 수단에 관한 식별 정보를 갖는 데이터가 수신되는지를 확인하는 단계;
고장 검출 수단에 관한 식별 정보를 갖는 데이터가 수신된 경우 고장 검출 수단이 연결된 것으로 보아, 연결된 고장 검출 수단에 의하여 고장 정보를 검출하기 위한 새로운 루틴인 고장 정보 스캔 모드로 진입하는 단계;
를 포함하는 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법.
Waking up the electronic control device of the vehicle when a trap or software reset occurs;
Initializing a communication module;
Checking the identification information of the data received for a preset time to confirm whether data having the identification information on the failure detection means is received;
Entering into a failure information scanning mode, which is a new routine for detecting failure information by means of the connected failure detection means, as if the failure detection means is connected when data having identification information regarding the failure detection means is received;
Method for diagnosing failure in the electronic control device which comprises a continuous software reset comprising a.
청구항 1에 있어서,
상기 데이터의 식별 정보를 확인하는 단계에서는 고장 검출 수단에 관한 식별 정보를 갖는 데이터의 수신 여부만을 확인하는 것을 특징으로 하는 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법.
The method according to claim 1,
And in the step of confirming the identification information of the data, only a check whether or not the data having the identification information regarding the failure detection means has been received.
청구항 1에 있어서,
상기 데이터의 식별 정보를 확인하는 단계에서, 고장 검출 수단에 관한 식별 정보를 갖는 데이터가 수신되지 않은 경우에는 전자 제어 장치의 일반 모드로 진입하도록 구성된 것을 특징으로 하는 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법.
The method according to claim 1,
In the step of confirming the identification information of the data, when no data having identification information on the failure detection means is received, the electronic control device in which the continuous software reset occurs, characterized in that configured to enter a normal mode of the electronic control device. How to diagnose faults in
청구항 1에 있어서,
상기 고장 정보 스캔 모드에서는 고장 검출 수단이 메모리부에 저장된 고장 정보를 스캔하는 단계를 포함하도록 구성된 것을 특징으로 하는 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법.
The method according to claim 1,
And wherein in the failure information scanning mode, the failure detection means is configured to scan the failure information stored in the memory unit.
청구항 4에 있어서,
상기 고장 정보 스캔 모드에서는 스캔된 고장 정보를 디스플레이부로 출력하는 단계를 더 포함하도록 구성된 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법.
The method of claim 4,
And in the fault information scan mode, a continuous software reset is configured to further output the scanned fault information to a display.
청구항 1 내지 청구항 5 중 어느 한 항에 있어서,
상기 통신 모듈은 캔 프로토콜로 통신하는 캔 통신 모듈인 것을 특징으로 하는 연속적 소프트웨어 리셋이 발생하는 전자 제어 장치에서의 고장 진단 방법.
The method according to any one of claims 1 to 5,
And wherein said communication module is a can communication module for communicating in a can protocol.
KR1020120135185A 2012-11-27 2012-11-27 Method for diagnosing the failure in electronic control unit ocurring a series of software reset KR101362718B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120135185A KR101362718B1 (en) 2012-11-27 2012-11-27 Method for diagnosing the failure in electronic control unit ocurring a series of software reset

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120135185A KR101362718B1 (en) 2012-11-27 2012-11-27 Method for diagnosing the failure in electronic control unit ocurring a series of software reset

Publications (1)

Publication Number Publication Date
KR101362718B1 true KR101362718B1 (en) 2014-02-13

Family

ID=50270869

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120135185A KR101362718B1 (en) 2012-11-27 2012-11-27 Method for diagnosing the failure in electronic control unit ocurring a series of software reset

Country Status (1)

Country Link
KR (1) KR101362718B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140125621A (en) * 2013-04-19 2014-10-29 콘티넨탈 오토모티브 시스템 주식회사 Apparatus and method for monitoring tcu in pcu
KR20190010003A (en) 2017-07-20 2019-01-30 현대오트론 주식회사 Sensing chip, battery management system having the same, and operating method thereof
US10249107B2 (en) 2015-07-10 2019-04-02 Continental Automotive France Fault management method for a vehicle engine control system
CN116148644A (en) * 2023-04-21 2023-05-23 上海励驰半导体有限公司 Test circuit, chip, test system and test method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100427317B1 (en) 2001-12-14 2004-04-14 현대자동차주식회사 Method of controlling trouble diagnosis for fuel system in a vehicle
KR20100007608A (en) * 2008-07-14 2010-01-22 콘티넨탈 오토모티브 시스템 주식회사 System and method for preventing malfunction of electronic control unit
KR20100039638A (en) * 2008-10-08 2010-04-16 주식회사 만도 Can bus error detection method of automobile
KR101027415B1 (en) * 2009-12-18 2011-04-11 한국과학기술원 Managing system of operating system for vehicle, managing method and error detecting method of the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100427317B1 (en) 2001-12-14 2004-04-14 현대자동차주식회사 Method of controlling trouble diagnosis for fuel system in a vehicle
KR20100007608A (en) * 2008-07-14 2010-01-22 콘티넨탈 오토모티브 시스템 주식회사 System and method for preventing malfunction of electronic control unit
KR20100039638A (en) * 2008-10-08 2010-04-16 주식회사 만도 Can bus error detection method of automobile
KR101027415B1 (en) * 2009-12-18 2011-04-11 한국과학기술원 Managing system of operating system for vehicle, managing method and error detecting method of the same

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140125621A (en) * 2013-04-19 2014-10-29 콘티넨탈 오토모티브 시스템 주식회사 Apparatus and method for monitoring tcu in pcu
KR102189779B1 (en) 2013-04-19 2020-12-11 콘티넨탈 오토모티브 시스템 주식회사 Apparatus and method for monitoring tcu in pcu
US10249107B2 (en) 2015-07-10 2019-04-02 Continental Automotive France Fault management method for a vehicle engine control system
KR20190010003A (en) 2017-07-20 2019-01-30 현대오트론 주식회사 Sensing chip, battery management system having the same, and operating method thereof
CN116148644A (en) * 2023-04-21 2023-05-23 上海励驰半导体有限公司 Test circuit, chip, test system and test method

Similar Documents

Publication Publication Date Title
CN107097769B (en) A kind of vacuum method for controlling pump, device and electric car
EP1747914B1 (en) Vehicle information processing apparatus and ID registration method
CN105659532B (en) Electrical subsystem, message filter and method for a vehicle
KR101362718B1 (en) Method for diagnosing the failure in electronic control unit ocurring a series of software reset
US6114952A (en) Diagnostic communication interface unit for an adaptive braking system
US8255136B2 (en) Method and arrangement for running in and calibrating an electromechanical parking brake system
US9367377B2 (en) Apparatus and method for monitoring multiple micro-cores
CN103547464B (en) Tire pneumatic pressure detector
CN109039693A (en) Fault Isolation for controller local area network
US11820444B2 (en) Control device for vehicle-mounted equipment
KR101734255B1 (en) Apparatus and method for inspecting vehicle
EP2789127B1 (en) Self-learning automotive data logger identifying automotive messages transmitted over a can bus connecting automotive electronic control units
JP4124427B2 (en) Vehicle control apparatus and communication method thereof
KR20110071596A (en) Automatically diagnosis system of ecus of a vehicle
JP2009213092A (en) Abnormity location identifying apparatus, its control program, and abnormity location identifying system
KR102110581B1 (en) Apparatus and Method Diagnosing Controller for Vehicle
KR102672890B1 (en) System and method for brake inspection of vehicle
KR100499944B1 (en) self diagnosis system for automobile using telematics apparatus
KR20130008702A (en) Apparatus for monitoring vehicles
KR20040011230A (en) auto diagnosis system for automobile using telematics apparatus
KR101509907B1 (en) Method for diagnosing status of vehicle controller and system thereof
US20040220776A1 (en) Instantaneous wire interruption detection system for vehicle electrical system
KR20060037696A (en) Auto checking system of car using telematics and method thereof
KR101826779B1 (en) An apparatus and method for testing control logic of application specific integrated circuit
CN104767450B (en) motor control system and method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20170123

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180129

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20200128

Year of fee payment: 7