KR970003999B1 - A back-up device and method for self diagnosis code - Google Patents
A back-up device and method for self diagnosis code Download PDFInfo
- Publication number
- KR970003999B1 KR970003999B1 KR1019940013819A KR19940013819A KR970003999B1 KR 970003999 B1 KR970003999 B1 KR 970003999B1 KR 1019940013819 A KR1019940013819 A KR 1019940013819A KR 19940013819 A KR19940013819 A KR 19940013819A KR 970003999 B1 KR970003999 B1 KR 970003999B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- self
- vehicle
- microcomputer
- electronic control
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Testing Of Engines (AREA)
- Combined Controls Of Internal Combustion Engines (AREA)
- Power Sources (AREA)
Abstract
Description
제1도는 종래 자동차 전자제어 유니트의 구성도.1 is a block diagram of a conventional automotive electronic control unit.
제2도는 본 발명에 따른 전자제어 유니트의 구성도.2 is a block diagram of an electronic control unit according to the present invention.
제3도는 본 발명에 따른 자기진단코드의 백업 흐름도.3 is a backup flowchart of a self-diagnosis code according to the present invention.
제4도는 본 발명에 따른 제3도의 자기진단코드 백업과정의 서브흐름도.4 is a subflow chart of the self-diagnostic code backup procedure of FIG. 3 according to the present invention.
*도면의 주요부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *
1 : 신호입력부2 : 마이콤1: signal input unit 2: microcomputer
3 : 주전원부5 : 구동부3: main power supply unit 5: driving unit
6 : 부하7 : 배터리6: load 7: battery
8 : 이이피롬(EEPROM)SW : 점화스위치8: EEPROM SW: Ignition switch
본 발명의 자동차의 자기진단코드 백업장치 그 방법에 관한 것으로서, 특히 이이피롬(EEPROM)을 사용하여 암전류에 의한 배터리의 소비전력을 줄일 수 있도록 하는 자동차의 자기진단코드 백업장치 및 그 방법에 관한 것이다.The present invention relates to a self-diagnostic code backup device for a vehicle, and more particularly, to a self-diagnostic code backup device for a vehicle and a method for reducing the power consumption of a battery due to dark current by using EEPROM. .
일반적으로 자동차에 있어서 자기진단코드는 차량의 각종 상태를 메모리에 저장하여 차량의 상태를 파악하는 중요한 자료로 이용된다.In general, self-diagnosis codes in automobiles are used as important data for determining the state of a vehicle by storing various states of the vehicle in a memory.
즉 차량에 내장된 각종 감지센서의 이상유무, 전자제어 유니트의 고장 여부등을 메모리에 저장하여 사고발생요인 또는 고장수리시 빠른 시간내에 고장여부를 파악하기 위해 자기진단코드를 저장하는 것은 필수적이다.That is, it is essential to store the self-diagnosis code in order to find out whether there are any troubles or failures of the electronic control unit in the vehicle in order to find out whether there are any accidents or failures in a short time.
따라서 종래 자동차에 내장되는 전자제어 유니트의 구성은 제1도에 도시된 바와 같이 차량의 특정부위에 설치되는 다수 감지센서의 신호를 전송하는 신호입력부(1), 상기 신호입력부(1)의 출력데이타를 비교분석하여 액츄에이터등의 부하(6)를 동작시키기 위해 구동부(5)에 제어신호를 전송하여 전자시스템을 제어하는 마이콤(2), 차량이 시동되지 않은 상태에서 배터리(7)의 전원으로 마이콤(2)내의 데이타를 유지하도록 일정레벨의 백업전원을 출력하는 백업전원부(4), 점화스위치(SW)가 온될 경우 모든 장치의 정상적인 동작을 위해 전원을 공급하는 주전원부(3)로 구성된다.Therefore, the configuration of the electronic control unit incorporated in a conventional vehicle includes a signal input unit 1 for transmitting signals of a plurality of sensors installed at a specific portion of the vehicle, as shown in FIG. 1, and output data of the signal input unit 1. The microcomputer 2 controls the electronic system by transmitting a control signal to the driving unit 5 to operate the load 6 of the actuator and the like, and the microcomputer with the power of the battery 7 while the vehicle is not started. (2) a backup power supply unit 4 for outputting a backup power of a predetermined level so as to maintain data in the storage unit, and a main power supply unit 3 for supplying power for the normal operation of all devices when the ignition switch SW is turned on.
이와 같이 이루어진 종래 차량의 전자제어 유니트는, 먼저 점화스위치(SW)가 온상태로 접속시 배터리(7)의 전원이 주전원부(3)에 인가되어 마이콤(2) 및 각종 장치에 정상적인 구동전원에 공급하게 되며, 다수의 감지센서로부터 발생되는 신호가 신호입력부(1)를 통해 마이콤(2)으로 전송된다.In the conventional electronic control unit of the vehicle, the power supply of the battery 7 is first applied to the main power supply unit 3 when the ignition switch SW is connected to the on-state. In addition, the signals generated from the plurality of detection sensors are transmitted to the microcomputer 2 through the signal input unit 1.
이때 상기 마이콤(2)는 신호입력부(1)로부터 인가되는 데이타를 비교분석하여 그에 상응하는 부하(6)를 동작시키기 위해 구동부(5)로 제어신호를 전송함과 동시에 마이콤(2) 내부 메모리에 각 감지센서의 이상유무, 부하의 이상유무를 인지 및 코드화하여 저장하게 되며, 점화스위치(SW) 오프시 배터리(7)의 전원이 백업전원부(4)에 의해 마이콤(2)으로 구동전원이 연속적인 공급이 이루어지게 되어 동작상태가 유지됨에 따라 기억된 자기진단코드를 유지하게 된다.At this time, the microcomputer 2 compares and analyzes the data applied from the signal input unit 1 and transmits a control signal to the driver 5 to operate the load 6 corresponding thereto. It recognizes and codes the abnormality of each sensor and the abnormality of the load and stores them.When the ignition switch (SW) is turned off, the power of the battery 7 is continuously supplied to the microcomputer 2 by the backup power source 4. As the supply state is maintained and the operation state is maintained, the stored self-diagnosis code is maintained.
이러한 종래 자동차의 자기진단코드 백업장치 및 방법은 전자제어 유니트의 정상동작 전원인 주전원부와 자기진단 코드의 백업을 위한 백업전원부의 두가지 전원을 동시에 사용하고 있다.The conventional self-diagnosis code backup apparatus and method of the conventional vehicle use both power supplies, which are the normal power supply of the electronic control unit, and the backup power supply unit for the backup of the self-diagnosis code.
즉 시동을 끄고난 후 마이콤에 기록된 자기진단코드를 유지하기 위해 배터리 전원을 사용하여 마이콤을 동작상태로 만들게 되어 배터리의 전류를 계속적으로 소모하게 될 뿐만 아니라 자동차 내부의 다수의 전자제어 유니트가 존재하는 상태에서 장시간 방치할 경우 배터리의 방전이 일어날 수 있으며, 또한 전자제어 유니트가 배터리로부터 분리될 경우 마이콤에 기억된 모든 자기진단코드가 소멸됨에 따라 그 이전의 자기진단코드 내용을 알 수 없게 문제점이 발생하게 되는 것이다.In other words, after turning off the engine, in order to maintain the self-diagnosis code recorded in the microcomputer, the microcomputer is operated by using the battery power to consume the current of the battery continuously, and there are many electronic control units inside the vehicle. The battery may be discharged if left for a long time. Also, if the electronic control unit is disconnected from the battery, all the self-diagnosis codes stored in the microcomputer are destroyed. Will occur.
본 발명은 상기와 같은 문제점을 해소하기 위해 전자제어 유니트의 마이콤에 별도의 백업전원을 공급받지 않도록 기록된 데이타를 계속적으로 유지하고 이이피롬을 연결하고, 마이콤 내부에 이이피롬으로 자기진단코드를 저장할 수 있는 특정 프로그램을 내장함으로써, 백업전원부를 제거하여 전자제어 유니트의 구성을 간단히 하고, 배터리의 소비전력을 줄일 수 있도록 하는 자동차의 자기진단코드 백업장치 및 그 방법을 제공하는데 본 발명의 목적이 있는 것이다.In order to solve the above problems, the present invention continuously maintains the recorded data so as not to be supplied with a separate backup power source to the microcomputer of the electronic control unit, connects the iPyrom, and stores the self-diagnosis code with the iPyrom inside the microcomputer. An object of the present invention is to provide a self-diagnosis code backup device for a vehicle and a method thereof, by which a backup program can be incorporated to simplify the configuration of the electronic control unit and reduce the power consumption of the battery. will be.
이와 같은 목적을 실현하기 위한 본 발명은 마이콤(2)를 구비한 전자제어 유니트를 갖는 자동차의 자기진단코드 백업장치에 있어서, 상기 마이콤(2)의 일측에 별도의 백업전원을 공급받지 않아도 자기진단코드를 저장 및 유지하는 이이피롬(8)을 연결하여서 된 것이다.The present invention for achieving the above object is a self-diagnostic code backup device for a vehicle having an electronic control unit provided with a microcomputer (2), the self-diagnosis without a separate backup power supply to one side of the microcomputer (2) This is done by connecting two pyroms (8) that store and maintain the code.
또한 본 발명은 마이콤의 일측에 이이피롬이 연결되어 전자제어 유니트를 구비하고 있는 자동차의 자기진단코드 백업방법에 있어서, 차량의 각종 신호를 읽고, 상기 과정 후 각종 신호로부터 이이피롬에 기록될 데이타를 로딩하는 과정(단계 110), 로딩된 데이타가 이이피롬에 기록된 이전의 데이타와 서로 비교하여 일치하지 않을 경우 이이피롬에 데이타를 기록(UP-DATA)하는 과정 (단계 120), 상기 과정 후 각종 입력신호를 연산 및 비교하여 부하를 제어하는 과정(단계130), 상기 과정 후 외부로부터 이이피롬에 기록된 데이타를 읽기 위한 신호의 유무를 판단하는 과정(단계 140), 상기 과정 후 읽기 신호가 있을 경우 이이피롬에 기록된 데이타를 읽고, 이의 데이타를 외부로 전송하는 과정(단계 150,160)으로 이루어진 것이다.In addition, the present invention is a method for backing up the self-diagnosis code of a vehicle having an electronic control unit connected to one pyrom on one side of the microcomputer, to read various signals of the vehicle, and to read data to be recorded in the ypyrom from the various signals after the above process. A process of loading (step 110), a process of recording data on the Ipyrom (UP-DATA) if the loaded data does not match with the previous data recorded on the ypyrom (step 120), and after the process A process of controlling a load by calculating and comparing an input signal (step 130), determining whether there is a signal for reading data recorded in the Y. pyrom from outside (step 140), and there is a read signal after the process In this case, the data recorded in the Y pyrom is read, and the data is transmitted to the outside (steps 150 and 160).
이하 첨부된 도면에 의해 상세히 설명하면 다음과 같다.Hereinafter, described in detail by the accompanying drawings as follows.
제2도는 본 발명에 따른 전자제어 유니트의 구성도로서, 차량의 특정 부위에 설치되는 다수 감지센서의 신호를 전송하는 신호입력부(1), 상기 신호입력부(1)의 출력데이타를 비교분석하여 액츄에이터등의 부하(6)를 동작시키기 위해 구동부(5)를 제어신호를 전송하여 전자시스템을 제어하는 마이콤(2), 점화스위치(SW)가 온될 경우 모든 장치의 정상적인 동작을 위해 전원을 공급하는 주전원부(3), 상기 마이콤(2)의 일측에 연결되어 전원공급이 없어도 저장된 데이타를 유지할 수 있는 이이피롬(8)으로 구성된다.2 is a configuration diagram of an electronic control unit according to the present invention, which compares and analyzes output signals of a signal input unit 1 and a signal input unit 1 that transmit signals of a plurality of sensors installed in a specific part of a vehicle. The microcomputer 2 which controls the electronic system by transmitting a control signal to the driving unit 5 to operate the load 6 of the lamp, and the main power supply for the normal operation of all devices when the ignition switch SW is turned on. The power supply unit 3 is connected to one side of the microcomputer 2, and is composed of a Y pyrom 8 that can maintain stored data even without a power supply.
제3도는 본 발명에 따른 자기진단코드 백업의 흐름도이며, 제4도는 본 발명에 따른 제3도의 자기진단코드 백업과정의 서브흐름도이다.3 is a flowchart of a self-diagnostic code backup according to the present invention, and FIG. 4 is a sub-flow diagram of the self-diagnostic code backup process of FIG. 3 according to the present invention.
이와 같이 이루어진 본 발명을 제2도에 의해 전자제어 유니트의 동작 과정을 살펴보면, 먼저 점화스위치(SW)가 온상태로 접속시 배터리(7)의 전원이 주전원부(3)에 인가되어 마이콤(2) 및 각종 장치에 정상적인 구동전원을 공급하게 되며, 다수의 감지센서로부터 발생되는 신호는 신호입력부(1)를 통해 마이콤(2)으로 전송된다.Referring to the operation process of the electronic control unit according to the second embodiment of the present invention as described above, first, when the ignition switch (SW) is connected to the power source of the battery 7 is applied to the main power supply unit 3, the microcomputer (2) ) And various driving powers, and signals generated from a plurality of sensing sensors are transmitted to the microcomputer 2 through the signal input unit 1.
이때 상기 마이콤(2)을 신호입력부(1)로부터 인가되는 데이타를 비교분석하여 그에 상응하는 부하(6)를 동작시키기 위해 구동부(5)로 제어신호를 전송함과 동시에 마이콤(2) 내부에 저장된 프로그램에 의해 이이피롬(8)에 각 감지센서의 이상유무, 부하의 이상여부를 인지 및 코드화하여 저장하게 된다.At this time, the microcomputer 2 compares the data applied from the signal input unit 1 and transmits a control signal to the driving unit 5 to operate the load 6 corresponding thereto, and at the same time stored in the microcomputer 2. By the program, the YPIROM 8 recognizes and codes the abnormality of each sensor and whether the load is abnormal.
한편 마이콤(2)에서 이이피롬(8)에 자기진단코드의 기록 및 읽기과정을 제3도에 의해 설명하면, 먼저 신호입력부(1)로부터 다수의 감지센서의 신호를 읽어들인 다음(단계 110) 다수의 센서 및 부하에 이상이 발생될 경우 제4도와 같은 자기진단코드의 기록과정(단계 120)을 실행한 후 신호 입력부(1)의 출력데이타를 연산 및 비교하여 부하를 제어(단계 130)한다.On the other hand, in the microcomputer 2, the process of writing and reading the self-diagnosis code to the Y pyrom 8 will be described with reference to FIG. 3. First, signals of a plurality of sensors are read from the signal input unit 1 (step 110). If an abnormality occurs in a plurality of sensors and loads, the process of recording the self-diagnosis code as shown in FIG. 4 is performed (step 120), and then the load is controlled by calculating and comparing the output data of the signal input unit 1 (step 130). .
이때 멀티테스트와 같은 측정장비에 의해 외부로부터 이이피롬(8)에 저장된 데이타를 읽기 위한 신호가 있는지를 판단(단계 140)하여 읽기신호의 명령이 있을 경우에는 이이피롬(8)에 저장된 데이타를 읽은 다음 측정장비로 데이타를 전송하게 되나, 외부로부터 읽기신호가 없을 경우에는 단계 110으로 귀환하는 루틴을 반복 수행한다.At this time, it is determined whether there is a signal for reading data stored in the ypyrom 8 from the outside by a measuring device such as a multi-test (step 140), and when there is a command of a read signal, the data stored in the ypyrom 8 is read. The data is transmitted to the next measuring device, but if there is no read signal from the outside, the routine returns to step 110 repeatedly.
제4도는 본 발명에 따른 제3도의 자기진단코드 백업과정의 서브 흐름도로서, 제3도의 단계 110에서 신호입력부(1)의 출력데이타로부터 이이피롬에 기록될 데이타를 로딩한 다음, 이이피롬(8)에 로딩(단계 121)한 다음 이이피롬(8)에 저장된 이전의 데이타를 읽고(단계 121), 이전의 데이타가 새로운 데이타와 서로 일치하는지를 판단(단계 122)하여 양자의 데이타가 서로 다를 경우 차량의 상태가 이전의 상태에 비해 변동이 있음을 인지하여 새로운 데이타를 이이피롬(8)에 저장(단계 123)하고, 만일 이전의 데이타와 새로운 데이타가 서로 일치할 경우 현재 차량의 상태가 이전의 상태와 동일함을 인지하여 이이피롬(8)에 저장하지 않게 되어 중복기록을 방지토록 되어 있다.FIG. 4 is a sub-flow diagram of the self-diagnosis code backup process of FIG. 3 according to the present invention. In step 110 of FIG. 3, the data to be recorded in the YPIROM is loaded from the output data of the signal input unit 1 and then YPIROM 8 ), And then read the previous data stored in the ypyrom 8 (step 121), determine whether the old data matches the new data (step 122), and if both data are different, Recognizing that the state of the state is more variable than the previous state, the new data is stored in the ypyrom 8 (step 123), and if the old data and the new data coincide with each other, the state of the current vehicle is the previous state. By recognizing the same as that of < RTI ID = 0.0 > i, < / RTI >
이상에서 상술한 바와 같이 본 발명은, 전자제어 유니트의 마이콤에 별도의 백업전원을 공급받지 않아도 기록된 데이타를 계속적으로 유지하고 있는 이이피롬을 연결하고, 마이콤 내부에 이이피롬으로 자기진단코드를 저장할 수 있는 특정 프로그램을 내장함으로서 백업전원부를 제거하여 전자제어 유니트의 구성을 간단히 하고, 배터리의 소비전력을 줄일 수 있는 것이다.As described above, according to the present invention, the microcomputer of the electronic control unit is connected to the YPIROM which continuously maintains the recorded data even without receiving a separate backup power supply, and stores the self-diagnosis code with the YPIROM inside the MICOM. By embedding a specific program, the backup power supply unit can be removed, simplifying the configuration of the electronic control unit and reducing the power consumption of the battery.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019940013819A KR970003999B1 (en) | 1994-06-18 | 1994-06-18 | A back-up device and method for self diagnosis code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019940013819A KR970003999B1 (en) | 1994-06-18 | 1994-06-18 | A back-up device and method for self diagnosis code |
Publications (2)
Publication Number | Publication Date |
---|---|
KR960000587A KR960000587A (en) | 1996-01-25 |
KR970003999B1 true KR970003999B1 (en) | 1997-03-24 |
Family
ID=19385584
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019940013819A KR970003999B1 (en) | 1994-06-18 | 1994-06-18 | A back-up device and method for self diagnosis code |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR970003999B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102355755B1 (en) * | 2017-12-14 | 2022-02-08 | 코카 크롬 인더스트리 컴퍼니 리미티드 | Cooling roll and method for producing thermoplastic resin sheet using same |
-
1994
- 1994-06-18 KR KR1019940013819A patent/KR970003999B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR960000587A (en) | 1996-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100545131B1 (en) | Control system | |
CA2209193C (en) | Method and apparatus for diagnosing a vehicle | |
US7231285B2 (en) | Data recording apparatus and data recording method | |
US5467277A (en) | Apparatus and method for automobile control using a control characteristic which can be adjusted by the driver | |
CA2247425C (en) | Method and device for diagnosis for vehicle | |
US4402057A (en) | Method of and apparatus for ensuring correct operation of a microcomputer in the event of power outage | |
EP1571599B1 (en) | Data recording apparatus and the method thereof | |
US20050192723A1 (en) | Data recording apparatus and shut-down method for data recording apparatus | |
US6347267B1 (en) | On-vehicle controller failure diagnosing method and apparatus | |
EP2020497B1 (en) | Electronic control unit | |
US6912887B2 (en) | Oxygen sensor abnormality detecting device having offset voltage circuit | |
US5207091A (en) | Control system with malfunction detecting device for use in motor vehicle | |
US5351185A (en) | Malfunction checking control system which checks identification data stored in RAM | |
KR970003999B1 (en) | A back-up device and method for self diagnosis code | |
JP2007062632A (en) | Electronic control unit and storing method of data for abnormality generated time storage | |
JPH08178976A (en) | Power breakage detector | |
JPH0761181B2 (en) | Diagnostic device for multiplex transmission system | |
JP2002024101A (en) | Nonvolatile memory writer | |
JP3050065B2 (en) | Power failure detection device | |
JP2002002419A (en) | Electronic control unit for vehicle | |
JP3527351B2 (en) | Vehicle diagnostic method and device | |
JPH10227724A (en) | Electronic controller for vehicle | |
JPH08153397A (en) | Eeprom data rewrite controller | |
US7366970B2 (en) | Method and test device for detecting addressing errors in control units | |
KR100264554B1 (en) | Abnormal state detecting system and method thereof for ecu memory power |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20000317 Year of fee payment: 4 |
|
LAPS | Lapse due to unpaid annual fee |