KR900000848Y1 - Power down detection circuit of automobile - Google Patents
Power down detection circuit of automobile Download PDFInfo
- Publication number
- KR900000848Y1 KR900000848Y1 KR2019870007539U KR870007539U KR900000848Y1 KR 900000848 Y1 KR900000848 Y1 KR 900000848Y1 KR 2019870007539 U KR2019870007539 U KR 2019870007539U KR 870007539 U KR870007539 U KR 870007539U KR 900000848 Y1 KR900000848 Y1 KR 900000848Y1
- Authority
- KR
- South Korea
- Prior art keywords
- central processing
- voltage
- processing unit
- power
- reference voltage
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/28—Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/24—Resetting means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/30—Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Combined Controls Of Internal Combustion Engines (AREA)
Abstract
내용 없음.No content.
Description
첨부된 도면은 본 고안에 따른 자동차의 전원다운 검출회로도이다.The accompanying drawings are a power down detection circuit diagram of a vehicle according to the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
1. 2. 8. 9 : 기준전압 설정용저항 3, 10 : 노이즈제거용 콘덴서1. 2. 8. 9: Resistor for reference voltage setting 3, 10: Capacitor for noise reduction
4. 5 : 입력저항 6, 7 : 비교기4. 5: Input resistance 6, 7: Comparator
11 : 과전압 보호용 재너다이오드 12 : 중앙처리 장치11: Janner diode for overvoltage protection 12: Central processing unit
17, 18, 19 : 히스테리시스설정용저항17, 18, 19: hysteresis setting resistor
본 고안은 자동차의 전원다운(Power down) 검출회로에 관한 것으로서. 특히 자동차의 시동이 꺼지는 경우, 즉 자동차의 시동키이에 의해 전기장치에 공급되는 시동전원(lgnitlonpower : 이하 이그니션 전원이라 한다)이 다운되는 경우. 이를 검출하여 마이컴의 백업(Back-up)메모리에 저장하여 자동차의 고장진단에 이용하기위한 자동차의 전원다운 검출회로에 관한 것이다.The present invention relates to a power down detection circuit of an automobile. In particular, when the ignition of the vehicle is turned off, that is, when the ignition power supplied to the electric device by the ignition key of the vehicle (lgnitlonpower, hereinafter referred to as ignition power) is down. The present invention relates to a power down detection circuit of a vehicle for detecting and storing the same in a back-up memory of the microcomputer for use in diagnosing the failure of the vehicle.
종래의 기술에 따른 자동차 전원다운 검출방식은 전원다운 시에만 데이터를 백업 시키는 것이 아니라 중앙처리장치가 프로그램을 수행하는 도중 하이들(Idle)시간에 백업동작을 행하고 있으므로 중앙처리 장치가 아이들상태가 아닐경우 전원이 다운되면 백업용 메모리에는 원하지 않는 데이터가 저장 될수도 있는 결점이 있었다.In the conventional power-down detection method of the vehicle, the central processing unit is not in an idle state because the central processing unit performs the backup operation at the idle time while the central processing unit is executing the program. In the event of a power failure, the backup memory could contain unwanted data.
따라서, 본 고안은 이러한 사정을 감안하여 전원(이그니션 전원)이 다운되는 것을 검출하여 중앙처리 장치에 인터럽트를 걸어줌으로써 백업동작을 수행 하도록하여 필요한 데이터만을 백업용 메모리에 재공하기 위한 자동차의 전원 다운 검출회로를 제공하는데 그 목적이 있다.Therefore, in view of the above situation, the present invention detects that the power supply (ignition power supply) is down, interrupts the central processing unit, and performs a backup operation so that only the necessary data is provided to the backup memory, and the power supply down detection circuit of the vehicle is provided. The purpose is to provide.
이러한 목적을 달성하기 위한 본 고안은 밧테리 전원을 분압하여 기준전압을 발생시키기 위한 기준전압 발생부와, 자동차의 이그니션 전원이 다운될 경우 이를 검출하고 검출된 전압 신호를 기준전압과 비교하여 백업동작을 수행하는 인터럽트 신호를 발생시켜 중앙처리 장치에 재공하기 의한 인터럽트 신호 발생부와, 이그니션 전원 다운에 의한 인터럽트 신호 발생시 방전되는 소정의 전압을 기준전압과 비교하여 중앙처리 장치가 소정의 시간동안만 백업동작을 수행하는 리셋 신호를 발생시켜 중앙처리 장치에 제공하기 위한 리셋 신호 발생부로 구성 시켜서 된 것이다.The present invention for achieving the above object is to divide the battery power supply to generate a reference voltage and the reference voltage generator, and when the ignition power of the car is down and detects the backup voltage by comparing the detected voltage signal with the reference voltage The central processing unit performs backup operation only for a predetermined time period by comparing the interrupt signal generating unit for generating an interrupt signal to be performed and providing it to the central processing unit and a predetermined voltage discharged when the interrupt signal is generated due to ignition power down with a reference voltage. It is composed of a reset signal generator for generating a reset signal for performing the operation to provide to the central processing unit.
이하. 본 고안을 첨부된 도면에 의거하여 상세히 설명하면 다음과 같다.Below. Referring to the present invention in detail based on the accompanying drawings as follows.
제1도는 본 고안에 따른 자동차의 전원다운 검출회로도인바, Vcc는 자동차의 밧테리(도시하지 않았음)로부터 공급되는 전압이 전압 조정기(voltage Regulator ; 도시하지 않았음)를 통과한 전원(예컨대 +5V)이며, ViGN은 시동키이(도시하지 않았음)에 의해 전기장치에 공급되는 전원이다.1 is a circuit diagram of a power-down detection circuit of a vehicle according to the present invention. Vcc is a power supply (for example, + 5V) through which a voltage supplied from a battery (not shown) of a vehicle passes through a voltage regulator (not shown). V iGN is the power supplied to the electrical device by a starter key (not shown).
자동차 밧데리로 부터 전압조정기를 거쳐 공급되는 전원(Vcc)은 저항(1, 2)에 의해 분압된뒤 노이즈 재거용 콘덴서(3)에 의해 안정화 되는바. 여기에서 Vλ는 하기의The power supply (Vcc) supplied from the car battery through the voltage regulator is divided by the resistors (1, 2) and stabilized by the noise removing capacitor (3). Where V λ is
식 - I 으로 표시된다.It is represented by the formula-I.
(단 R1, R2는 저항(1, 2)의 저항 값이다).(Where R 1 and R 2 are the resistance values of the resistors 1 and 2).
또한, 제1도에 도시한 바와 같이 저항(1, 2)에 의해 분압된 전압(Vλ)은 입력저항(4, 5)을 경유하여 비교기(6, 7)의 반전단자에 각각 입력되는바. 이그니션 전압(ViGN)에 따른 제1도 회로의 동작을 설명한다.In addition, as shown in FIG. 1, the voltage V λ divided by the resistors 1 and 2 is input to the inverting terminals of the comparators 6 and 7 via the input resistors 4 and 5, respectively. . The operation of the first circuit according to the ignition voltage V iGN will be described.
시동키이(도시하지 않았음)가 작동될경우 저항(8, 9)에 의해 분압된 이그니션 전원(ViGN) 즉 VB는 하기의 식 - Ⅱ으로 표시된다.When the ignition key (not shown) is activated, the ignition power supply V iGN , ie, V B, divided by the resistors 8 and 9 is represented by the following equation-II.
(단 R8과 R9는 저항(8, 9)의 저항 값이다).(Where R 8 and R 9 are resistance values of resistors 8 and 9).
다시 말하면. VB는 콘덴서(10)에 의해 그의 노이즈가 제거된뒤 과전압 보호용 재너다이오드(11)를 정유하여 비교기(6)의 비반전단자에 인가된다.In other words. V B is applied to the non-inverting terminal of the comparator 6 after the noise is removed by the condenser 10 and refines the zener diode 11 for overvoltage protection.
우선, 전원이 온되어 이그니션전압(ViGN)이 정상적으로 공급될때 즉 Vλ>VA일경우 비교기(6)의 출력은 하이상태 "H" 가 되므로 중앙처리장지(12)에는 인터럽토가 걸리지 않게된다. 그러나 비교기(6)의 출력인 하이상태의 신호는 저항(13)을 경유하여 콘덴서(14)에 충전 됨으로써 저항(1, 2)에 의해 실정된 기준전압(VA)을 넘을때까지 비교기(7)의 출력은 로우상태 "L" 로 유지되고 그동안에 중앙처리장치(12)에는 리셋이 걸리게 된다.First, when the power supply is turned on and the ignition voltage V iGN is normally supplied, that is, when V λ > V A , the output of the comparator 6 becomes a high state “H” so that the interruption is not applied to the central processing equipment 12. do. However, the signal in the high state, which is the output of the comparator 6, is charged to the capacitor 14 via the resistor 13, so that the comparator 7 exceeds the actual reference voltage V A determined by the resistors 1 and 2. ) Is kept in the low state "L" during which the CPU 12 is reset.
그러나. 전원이 온된 이후에 정상상태에서 이그니션전원(ViGN)이 소정의 전압(예컨대 8V)이하가 될경우 즉전원다운이 일어날경우 VB VA가 되므로 비교기(6)의 출력은 로우상테가 되어 중앙처리장치(12)의 인터럽토단자(lNT)에는 인터럽토 신호가 인가된다. 따라서. 중앙처리장치(12)는 인터럽토 루틴으로 프로그램을 수행하여 전원다운이 받생되었음을 표시하는 데이터를 백업용 메모리에 저장시키게 된다.But. If the ignition power supply (V iGN ) is below a predetermined voltage (for example, 8V) in a normal state after the power is turned on, that is, when the power down occurs, V B Since it becomes V A , the output of the comparator 6 is low, and the interrupt signal is applied to the interrupt terminal 1NT of the CPU 12. therefore. The central processing unit 12 executes a program as an interrupt routine to store data indicating that power down has been received in the backup memory.
비교기(6)의 출력이 로우가 될때에 콘덴서(14)에 충전되어 있던 전압은 다이오드(15)와 저항(16)을 통해방전하게 되는바. 이러한 방전전압이 비교기(7)의 기준전압(VA)이하로 강하되면 비교기(7)의 출력은 로우상태가 되므로 중앙 처리장치(12)의 리셋단자(RST)에는 로우상태인 리셋 신호가 인가된다.When the output of the comparator 6 goes low, the voltage charged in the capacitor 14 is discharged through the diode 15 and the resistor 16. When the discharge voltage falls below the reference voltage V A of the comparator 7, the output of the comparator 7 is in a low state, and thus a reset signal having a low state is applied to the reset terminal RST of the central processing unit 12. do.
이때 중앙처리장치(12)에는 리셋이 걸리게 된다.At this time, the central processing unit 12 is reset.
즉, 중앙처리장치(12)는 이그니션전원(ViGN)이 소정의 전압 이하가 될경우(VB VA), 인터럽토 신호에 의해 백업 동작을 수행하며. 이러한 백업 동작은 콘덴서(14)가 방전되는 시간(7=R16×C 14)동안 이루어 진다.That is, when the ignition power source V iGN becomes less than or equal to a predetermined voltage (V B) V A ), and performs backup operation by interrupt signal. This backup operation is performed during the time when the capacitor 14 is discharged (7 = R16 × C14).
다시 말하면 콘덴서(14)의 방전 기간에 중앙처리 장치는 백업동작을 수행하고 그후에 중앙처리 장치는 리셋됨을 알수 있다.In other words, it can be seen that during the discharge period of the condenser 14, the central processing unit performs the backup operation, after which the central processing unit is reset.
제1도중 미설명 부호 17, 18, l9는 히스테리시스 저항으로서 비교기(6, 7)의 기준전압을 기준으로해서 VB(히스테리시스 전압)의 마진(Margine)을 두고 이그니션전압(iGN)의 변동을 검출하기 위한 것이다.In FIG. 1, reference numerals 17, 18, and l9 are hysteresis resistors and detect variations of the ignition voltage iGN with a margin of V B (hysteresis voltage) based on the reference voltages of the comparators 6 and 7. It is to.
이와같이 동작하는 본 고안은 자동차의 제어회로에 이용되는 전원이 다운되는 것을 검출하여 중앙처리장치에 인터럽토를 걸어주어 백업동작을 수행 하도록하며, 백업을 마친후 중앙처리장치가 리셋 되도록 방전 시정수를 짧게 설정 함으로써 중앙저리장치의 백업 동작을 줄어 전체적인 전력소비를 경감 시킬수 있는 특징으로 지닌것 이다.The present invention which operates as described above detects that the power used in the control circuit of the vehicle is down, interrupts the central processing unit to perform the backup operation, and discharge time constant is set so that the central processing unit is reset after the backup is completed. The shorter setting reduces the backup operation of the central storage device, which reduces the overall power consumption.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR2019870007539U KR900000848Y1 (en) | 1987-05-16 | 1987-05-16 | Power down detection circuit of automobile |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR2019870007539U KR900000848Y1 (en) | 1987-05-16 | 1987-05-16 | Power down detection circuit of automobile |
Publications (2)
Publication Number | Publication Date |
---|---|
KR880022428U KR880022428U (en) | 1988-12-26 |
KR900000848Y1 true KR900000848Y1 (en) | 1990-01-31 |
Family
ID=19262950
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR2019870007539U KR900000848Y1 (en) | 1987-05-16 | 1987-05-16 | Power down detection circuit of automobile |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR900000848Y1 (en) |
-
1987
- 1987-05-16 KR KR2019870007539U patent/KR900000848Y1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR880022428U (en) | 1988-12-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0426663B1 (en) | Apparatus for defined switching of a microcomputer to standby mode | |
EP2003532B1 (en) | Power supply apparatus | |
KR100194268B1 (en) | Energy reservoir protection device in vehicle occupant protection device | |
US4580222A (en) | Control device for a back-up memory set in a vehicle control computer | |
US5274827A (en) | Method for EEPROM write protection using threshold voltage projection | |
JPH07160666A (en) | Reset device for microcomputer | |
KR900000848Y1 (en) | Power down detection circuit of automobile | |
JPH07115739A (en) | Air-bag electronic controller | |
JPH0460245B2 (en) | ||
GB2149984A (en) | Backup power source circuit for control circuit | |
JPH07114401A (en) | Ram backup circuit | |
JPS59226918A (en) | Control circuit of microcomputer | |
JP2001166017A (en) | Power supply voltage monitoring system of on-vehicle battery | |
JPH0325813B2 (en) | ||
JPH01197848A (en) | Runaway preventing circuit for cpu | |
JP2720631B2 (en) | Short-time pulse signal discrimination circuit | |
KR890003751B1 (en) | Reset data protect and autorestart circuits in system by microprocessor | |
JPH069553Y2 (en) | Power supply circuit | |
JPH0534399A (en) | Trouble detector for air bag apparatus | |
JPH063454Y2 (en) | Memory backup circuit | |
JP2555459B2 (en) | Power control device | |
JP2000131358A (en) | Diagnostic circuit for capacitance of capacitor | |
JPH02188131A (en) | Battery power supply circuit | |
JPS5830229A (en) | Resetting circuit | |
KR900008241Y1 (en) | Memory data back-up circuit of static ram |
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 | ||
REGI | Registration of establishment | ||
FPAY | Annual fee payment |
Payment date: 20001229 Year of fee payment: 12 |
|
LAPS | Lapse due to unpaid annual fee |