KR0159022B1 - Detecting circuit - Google Patents
Detecting circuit Download PDFInfo
- Publication number
- KR0159022B1 KR0159022B1 KR1019950023580A KR19950023580A KR0159022B1 KR 0159022 B1 KR0159022 B1 KR 0159022B1 KR 1019950023580 A KR1019950023580 A KR 1019950023580A KR 19950023580 A KR19950023580 A KR 19950023580A KR 0159022 B1 KR0159022 B1 KR 0159022B1
- Authority
- KR
- South Korea
- Prior art keywords
- power
- transistor
- microcomputer
- resistor
- 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/30—Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Emergency Protection Circuit Devices (AREA)
- Measurement Of Current Or Voltage (AREA)
Abstract
본 발명은 전원 오프 감지 회로에 관한 것으로서, 교류 전원을 정류하는 정유류와, 상기 정류부에서 정류된 신호를 평활하여 직류 성분으로 바꾸어 주는 평활 회로부와, 상기 교류 전원이 온 오프되는 것을 감지하기 위한 전원 오프 감지부와, 상기 전원 오프 감지부의 신호에 따라서 온 오프되어 마이크로 컴퓨터에 전원 오프를 인지하도록 하는 제1스위칭부로 구성되어 교류 전원의 경우만 전원 오프를 감지할 수 있는 전원 오프 감지 회로에 있어서; 교류 전원이 정류된 전압과 밧데리 전압의 차이를 비교하는 비교부와, 상기 비교부에서 밧데리 전원의 전압값이 크면 온 되어 상기 마이크로 컴퓨터에서 전압 오프가 감지되지 않았음을 인지하도록 하고, 밧데리 전원이 오프되면 전압 오프가 감지되었음을 마이크로 컴퓨터가 인지하도록 제1스위칭부에 신호를 출력하는 제2스위칭부로 구성되어 있다(제3도).The present invention relates to a power-off detection circuit comprising: a rectifier for rectifying an AC power source, a smoothing circuit part for smoothing a signal rectified in the rectifier unit to a DC component, and a power source for detecting that the AC power source is on or off A power off detection circuit comprising an off sensing unit and a first switching unit which is turned off according to a signal of the power off detecting unit and recognizes power off to a microcomputer, the power off sensing circuit capable of detecting power off only in the case of AC power; The comparator for comparing the difference between the rectified voltage of the AC power supply and the battery voltage, and if the voltage value of the battery power supply is large in the comparator, the comparator is turned on to recognize that no voltage off is detected in the microcomputer. When turned off, it is configured with a second switching unit for outputting a signal to the first switching unit so that the microcomputer recognizes that the voltage off is detected (FIG. 3).
Description
제1도는 종래 기술에 따른 전원 오프 감지 회로를 나타낸 회로도.1 is a circuit diagram showing a power off detection circuit according to the prior art.
제2도는 전원이 오프되는 시점을 시간으로 나타낸 것으로서,2 shows the time when the power is turned off.
(a) 는 마이크로 컴퓨터의 전원이 오프되는 파형.(a) is a waveform in which the microcomputer is powered off.
(b) 는 마이크로 컴퓨터의 전원 오프 감지 단자에서 인식하는 전원이 오프되는 시점을 나타낸 파형.(b) is a waveform showing the time point at which the power recognized by the power off detection terminal of the microcomputer is turned off.
제3도는 본 발명에 따른 전원 오프 감지 회로의 일실시예를 나타낸 회로도.3 is a circuit diagram illustrating an embodiment of a power off detection circuit according to the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
Q1~Q3 : 트랜지스터 BD : 브리지 다이오드Q1 ~ Q3: Transistor BD: Bridge Diode
ZD : 제너 다이오드 D1~D4 : 다이오드ZD: Zener Diodes D1-D4: Diodes
R1~R8 : 저항 C1~C3 : 콘덴서R1 ~ R8: Resistor C1 ~ C3: Capacitor
T : 트랜스포머 SW : 스위치T: Transformer SW: Switch
BAT : 밧데리 10 : 마이크로 컴퓨터BAT: Battery 10: microcomputer
20 : 직류 전원 오프 감지 회로부20: DC power off detection circuit
본 발명은 전원 오프 감지 회로에 관한 것으로서, 더욱 상세하게는 교류(AC), 직류(DC) 겸용으로 사용하는 제품에 교류뿐만 아니라 직류 전원 공급 상태에서도 마이크로 컴퓨터가 전원 오프 상태를 빨리 감지할 수 있는 회로를 구현함으로써, 전원 오프 과도 상태에서 마이크로 컴퓨터가 백업 모드, 홀드 모드, 메모리 시작 모드 등으로 빨리 전환하도록 한 전원 오프 감지 회로에 관한 것이다.The present invention relates to a power-off detection circuit, and more particularly, a microcomputer can quickly detect a power-off state even in a DC power supply state as well as an alternating current (AC) and a direct current (DC) product. By implementing the circuit, it relates to a power off detection circuit that allows the microcomputer to quickly switch to backup mode, hold mode, memory start mode, etc. in a power off transient state.
제1도는 종래기술에 따른 전원 오프 감지 회로를 나타낸 것으로서, 교류 전원이 입력되는 경우만 적용시킬 수 있는 회로이다.1 is a circuit diagram illustrating a power-off detection circuit according to the prior art, which is applicable only when AC power is input.
콘센트에 트랜스포머(T)가 연결되어 있고, 상기 트랜스포머(T)에는 정류를 위한 브리지 다이오드(BD)가 연결되어 있다. 상기 브리지 다이오드(BD)의 b단자에는 AC 전원이나 밧데리(BAT) 전원을 선택하기 위한 스위치(SW)의 X단자가 연결되어 있고, 스위치(SW)의 y단자에는 다이오드(D1)의 캐소드가 연결되어 있고, 상기 다이오드(D1)의 어노드에는 밧데리(BAT) 전원이 연결되어 있다. 그리고, 스위치(SW)의 z단자에는 마이크로 컴퓨터(10)의 전원단자(MB)가 연결되어 있다.Transformer (T) is connected to the outlet, the bridge diode (BD) for rectification is connected to the transformer (T). The b terminal of the bridge diode BD is connected to the X terminal of the switch SW for selecting AC power or a battery BAT power, and the cathode of the diode D1 is connected to the y terminal of the switch SW. A battery (BAT) power source is connected to the anode of the diode D1. The power supply terminal MB of the microcomputer 10 is connected to the z terminal of the switch SW.
상기 브리지 다이오드(BD)의 d단자는 접지 되어있고, 상기 스위치(SW)와 마이크로 컴퓨터(10)의 전원단자(MB) 사이의 접점에는 콘덴서(C1)가 연결되어 있으며, 콘덴서(C1)의 타측은 접지 되어있다.The terminal d of the bridge diode BD is grounded, and the capacitor C1 is connected to the contact between the switch SW and the power terminal MB of the microcomputer 10, and the other of the capacitor C1 is connected. The side is grounded.
상기 콘덴서(C1)가 연결돈 접점과 마이크로 컴퓨터(10)의 전원단자(MB) 사이의 접점에는 저항(R1)과 저항(R2)이 직렬로 연결되어 있다.A resistor R1 and a resistor R2 are connected in series to a contact between the contact point of the capacitor C1 connected to the power terminal MB of the microcomputer 10.
상기 브리지 다이오드(BD)의 c단자에는 다이오드(D2)의 캐소드가 연결되어 있고, 상기 다이오드(D2)의 어노드에는 상기 저항(R2)의 타측이 연결되어 있다. 상기 다이오드(D2)의 어노드와 저항(R2) 사이의 접점에는 저항(R3)과 콘덴서(C2)가 병렬로 연결되어 있고, 저항(R3)과 콘덴서(C2)의 타측은 접지 되어있다.A terminal of the diode D2 is connected to the c terminal of the bridge diode BD, and the other side of the resistor R2 is connected to an anode of the diode D2. A resistor R3 and a capacitor C2 are connected in parallel to the contact between the anode of the diode D2 and the resistor R2, and the other side of the resistor R3 and the capacitor C2 is grounded.
상기 저항(R1)과 저항(R2) 사이의 접점(p)에는 저항(R4)이 연결되어 있고, 상기 저항(R4)에는 트랜지스터(Q1)의 베이스가 연결되어 있으며, 트랜지스터(Q1)의 이미터는 접지 되어있다.The resistor R4 is connected to the contact point p between the resistor R1 and the resistor R2, the base of the transistor Q1 is connected to the resistor R4, and the emitter of the transistor Q1 is It is grounded.
상기 트랜지스터(Q1)의 콜렉터에는 저항(R5)이 연결되어 있고, 상기 마이크로 컴퓨터(10)의 전원단자(MB)에는 저항(R6)과 콘덴서(C3)가 연결되어 있으며, 콘덴서(C3)는 접지 되어있다. 상기 저항(R5)의 타측은 저항(R6)과 콘덴서(C3)사이의 접점(q)에 연결되어 있고, 상기 접점(q)은 마이크로 컴퓨터(10)의 전원 오프 감지 단자(S)에 연결되어 있다.A resistor R5 is connected to the collector of the transistor Q1, a resistor R6 and a capacitor C3 are connected to the power supply terminal MB of the microcomputer 10, and the capacitor C3 is grounded. It is. The other side of the resistor R5 is connected to the contact q between the resistor R6 and the capacitor C3, and the contact q is connected to the power off detection terminal S of the microcomputer 10. have.
이와 같이 구성된 종래의 전원 오프 감지 회로의 동작을 설명한다. 교류 전원사용시 전원이 온 되면, 교류 전원은 트랜스포머(T)를 거쳐 브리지 다이오드(BD)에 의해 정류되고, 콘덴서(C1)에 의해 평활 되어 마이크로 컴퓨터(10)에는 직류 전원을 공급된다. 그리고, 상기 직류 전원의 전압은 콘덴서(C1)에 충전된다.The operation of the conventional power off detection circuit configured as described above will be described. When the AC power is turned on when the AC power is used, the AC power is rectified by the bridge diode BD through the transformer T, smoothed by the capacitor C1, and supplied with DC power to the microcomputer 10. The voltage of the DC power supply is charged in the capacitor C1.
그리고, 브리지 다이오드(BD)의 c단자에 연결된 역방향 다이오드(D2)에 의해 정류된 신호는 콘덴서(C2)에 충전된다.The signal rectified by the reverse diode D2 connected to the c terminal of the bridge diode BD is charged in the capacitor C2.
이때, 콘덴서(C2)에 충전된 전압과 콘덴서(C1)에 충전된 전압은 직렬 연결되어 있는 저항(R1)과 저항(R2)의 양단에 걸리게 된다. 저항(R1)과 저항(R2) 사이의 접점(p)의 전압은 저항(R1)과 저항(R2)의 비율에 의해서 결정된다. 콘덴서(C2)의 충전 전압과 콘덴서(C1)의 충전전압이 같고, 저항(R1)과 저항(R2)의 전압이 같다면 저항(R1)과 저항(R2)사이의 접점(p)에는 전압이 0V가 된다.At this time, the voltage charged in the capacitor C2 and the voltage charged in the capacitor C1 are applied to both ends of the resistor R1 and the resistor R2 connected in series. The voltage of the contact point p between the resistor R1 and the resistor R2 is determined by the ratio of the resistor R1 and the resistor R2. If the charging voltage of the capacitor C2 is the same as the charging voltage of the capacitor C1, and the voltages of the resistors R1 and R2 are the same, the voltage at the contact point p between the resistors R1 and R2 is the same. 0V.
따라서, 트랜지스터(Q1)의 베이스에는 로우 신호가 인가되므로 턴 오프된다. 따라서, 마이크로 컴퓨터(10)의 전원 오프 값이 단자(S)에는 하이 신호가 입력된다.Therefore, since a low signal is applied to the base of the transistor Q1, the signal is turned off. Therefore, the high signal is input to the terminal S of the power-off value of the microcomputer 10.
전원이 오프되면 다음과 같이 동작한다. 우선 콘덴서(C1)의 용량이 콘덴서(C2)이 용량보다 크게 회로를 구현한다. 따라서, 콘덴서(C1)보다 콘덴서(C2)가 빠른 방전을 하게된다. 그러므로, 저항(R1)과 저항(R2) 사이의 노드(p) 전압은 0에서 +로 전압이 변화된다.When the power is off, it works as follows. First, the capacitor C1 implements a circuit in which the capacitor C2 is larger than the capacitor. Therefore, the capacitor C2 discharges faster than the capacitor C1. Therefore, the voltage of the node p between the resistor R1 and the resistor R2 is changed from 0 to +.
따라서, 트랜지스터(Q1)의 베이스에는 하이 신호가 입력되어 트랜지스터(Q1)는 턴 온 되므로 저항(R6)과 저항(R5)의 접점 노드(q)는 0V가 된다. 그러므로, 마이크로 컴퓨터(10)의 전원 오프 감지 단자(S)에는 로우신호가 입력되어 마이크로 컴퓨터(10)는 전원이 오프 되었음을 감지한다.Therefore, since the high signal is input to the base of the transistor Q1 and the transistor Q1 is turned on, the contact node q of the resistor R6 and the resistor R5 becomes 0V. Therefore, a low signal is input to the power off detection terminal S of the microcomputer 10 so that the microcomputer 10 detects that the power is off.
제2도는 전원이 오프되는 시점을 나타낸 파형으로서, (a)는 마이크로 컴퓨터의 전원이 오프되는 파형이고, (b)는 마이크로 컴퓨터의 전원 오프 감지 단자에서 감지하는 전원 오프 파형이다.2 is a waveform illustrating a time point at which the power is turned off, (a) is a waveform at which the microcomputer is turned off, and (b) is a power off waveform detected at the power off detection terminal of the microcomputer.
제2도의 파형은 상기 설명에서와 같이 전원이 오프되면, 콘덴서(C2)가 콘덴서(C1)보다 빨리 방전하므로 콘덴서(C1)가 연결된 마이크로 컴퓨터(10)의 전원은 제2도(a)와 같이 전원 오프 과도 상태를 일정 시간 유지하고, 마이크로 컴퓨터(10)의 전원 오프 감지 단자(S)는 전원 오프 상태를 바로 감지한다.In the waveform of FIG. 2, when the power is turned off as described above, the capacitor C2 discharges faster than the capacitor C1, so that the power of the microcomputer 10 to which the capacitor C1 is connected is as shown in FIG. The power off transient state is maintained for a certain time, and the power off detection terminal S of the microcomputer 10 detects the power off state immediately.
따라서, 마이크로 컴퓨터(10)는 전원이 오프되었음을 감지하고, 마이크로 컴퓨터(10)의 전원이 제2도 (a)와 같이 짧은 시간 유지되는 동안 백업 모드, 홀드 모드 또는 메모리 시작 모드로 전환할 수 있다.Accordingly, the microcomputer 10 may detect that the power is turned off, and may switch to the backup mode, the hold mode, or the memory start mode while the power of the microcomputer 10 is maintained for a short time as shown in FIG. .
상기 설명에서와 같이 종래에는 교류 전원의 경우에만 전원 오프를 감지할 수 있도록 회로가 구성되어 있어서, 직류 전원 공급 중 전원이 오프되면 마이크로 컴퓨터는 전원 오프 상태를 감지하지 못하므로 전원이 오프되면 백업 모드, 홀드 모드 또는 메모리 시작 모드로 전환할 수 없기 때문에 현재의 동작 상태 또는 정보를 저장하지 못하는 문제점이 있었다.As described above, the circuit is conventionally configured to detect the power off only in the case of AC power. When the power is turned off during DC power supply, the microcomputer does not detect the power off state. Because of being unable to switch to the hold mode or the memory start mode, there is a problem in that the current operation state or information cannot be saved.
본 발명의 목적은 상기의 문제점을 해결하기 위한 것으로서, 교류 전원뿐만 아니라 직류 전원의 경우에도 전원 오프 상태를 마이크로 컴튜터에서 빨리 감지할 수 있는 회로를 구현함으로써, 직류 전원 사용 중 전원이 오프되어도 항상 백업 모드, 홀드 모드 또는 메모리 시작 모드로 전환할 수 있도록 한 전원 오프 감지 회로를 제공함에 있다.An object of the present invention is to solve the above problems, and by implementing a circuit that can quickly detect the power off state in the microcomputer not only AC power, but also in the case of DC power, even when the power is turned off while using the DC power A power-off detection circuit is provided to allow switching to backup mode, hold mode or memory start mode.
상기의 목적을 달성하기 위한 본 발명에 따른 특징은, 교류 전원을 정류하는 정류부와, 상기 정류부에서 정류된 신호를 평활하여 직류 성분으로 바꾸어 주는 평활 회로부와, 상기 교류 전원이 온 오프되는 것을 감지하기 위한 전원 오프 감지부와, 상기 전원 오프 감지부의 신호에 따라서 온 오프되어 마이크로 컴퓨터에 전원 오프를 인지하도록 하는 제1스위칭부로 구성되어 교류 전원의 경우만 전원 오프를 감지할 수 있는 전원 오프 감지 회로에 있어서; 교류 전원이 정류된 전압과 밧데리 전압의 차이를 비교하는 비교부와, 상기 비교부에서 밧데리 전원의 전압값이 크면 온 되어 상기 마이크로 컴퓨터에서 전압 오프가 감지되지 않았음을 인지하도록 하고, 밧데리 전원이 오프되면 전압 오프가 감지되었음을 마이크로 컴퓨터가 인지하도록 제1스위칭부에 신호를 출력하는 제2스위칭부로 구성된 전원 감지 회로에 있다.According to an aspect of the present invention for achieving the above object, a rectifying unit for rectifying the AC power source, a smoothing circuit unit for smoothing the signal rectified in the rectifying unit to a DC component, and detecting that the AC power source is on and off And a first switching unit which is turned on and off in response to a signal of the power off detection unit and recognizes the power off to the microcomputer. The power off detection circuit can detect power off only in the case of AC power. In; The comparator for comparing the difference between the rectified voltage of the AC power supply and the battery voltage, and if the voltage value of the battery power supply is large in the comparator, the comparator is turned on to recognize that no voltage off is detected in the microcomputer. In the power-sense circuit comprising a second switching unit for outputting a signal to the first switching unit so that the microcomputer recognizes that the voltage off is sensed when off.
이하, 첨부된 도면에 의거 본 발명의 바람직한 일실시예를 상세히 설명한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
제3도는 본 발명에 따른 전원 오프 감지 회로를 일실시예를 나타낸 회로도이다.3 is a circuit diagram showing an embodiment of a power off detection circuit according to the present invention.
종래 교류 전원이 오프되는 것을 감지하는 전원 오프 감지 회로에 직류 전원 오프를 감지하는 직류 전원 오프 감지 회로부(20)를 연결한다. 교류 전원 오프 감지 회로부는 종래 회로 구성과 같으므로 본 발명의 구성 설명에서는 생략한다.The DC power off detection circuit 20 for detecting DC power off is connected to a power off detection circuit for detecting that the conventional AC power is off. Since the AC power off detection circuit portion is the same as the conventional circuit configuration, it is omitted in the configuration description of the present invention.
상기 직류 전원 오프 감지 회로부(20)는, 밧데리(BAT)와 상기 다이오드(D1) 사이의 접점에 제너 다이오드(ZD)의 캐소드가 연결되어 있고, 상기 제너 다이오드(ZD)의 이노드에는 트랜지스터(Q3)의 이미터가 연결되어 있으며, 상기 트랜지스터(Q3)의 콜렉터에는 저항(R7)이 연결되어 있다.In the DC power-off detection circuit 20, a cathode of the zener diode ZD is connected to a contact point between the battery BAT and the diode D1, and a transistor Q3 is connected to an inode of the zener diode ZD. Is connected to the emitter, and a resistor R7 is connected to the collector of the transistor Q3.
상기 트랜지스터(Q3)의 베이스에는 저항(R8)이 연결되어 있고, 상기 저항(R8)의 타측은 접지 되어있다. 상기 트랜지스터(Q3)와 저항(R8)사이의 접점에는 다이오드(D4)의 캐소드가 연결되어 있고, 상기 다이오드(D4)의 어노드는 브리지 다이오드(BD)의 b단자에 연결되어 있다.A resistor R8 is connected to the base of the transistor Q3, and the other side of the resistor R8 is grounded. The cathode of the diode D4 is connected to the contact between the transistor Q3 and the resistor R8, and the anode of the diode D4 is connected to the b terminal of the bridge diode BD.
상기 저항(R7)의 타측에는 트랜지스터(Q2)의 베이스가 연결되어 있고, 저항(R7)과 트랜지스터(Q2)의 베이스 사이의 접점에는 콘덴서(C3)가 연결되어 있으며, 콘덴서(C3)의 타측은 접지 되어있다.A base of the transistor Q2 is connected to the other side of the resistor R7, a capacitor C3 is connected to a contact between the resistor R7 and the base of the transistor Q2, and the other side of the capacitor C3 is It is grounded.
상기 트랜지스터(Q2)의 이미터는 접지 되어있고, 콜렉터에는 다이오드(D3)의 캐소드가 연결되어 있으며, 상기 다이오드(D3)의 어노드는 상기 저항(R1)과 저항(R2) 사이의 접점에 연결되어 있다.The emitter of the transistor Q2 is grounded, the cathode of the diode D3 is connected to the collector, and the anode of the diode D3 is connected to the contact between the resistor R1 and the resistor R2. have.
이와 같이 구성된 본 발명의 동작을 상세히 설명한다.The operation of the present invention configured as described above will be described in detail.
먼저, 스위치(SW)에 대해서 간단히 설명하면, 교류 전원이나 또는 직류 전원 즉, 밧데리 전원만 입력되는 경우는 각각 x단자와, y단자로 스위칭된다. 그리고, 교류 전원과 직류 전원이 같이 들어올 경우에 스위치(SW)는 교류 전원으로 스위칭되도록 되어있다.First, the switch SW will be briefly described. When only an AC power source or a DC power source, that is, a battery power source is input, the switch SW is switched to the x terminal and the y terminal, respectively. When the AC power source and the DC power supply come together, the switch SW is switched to the AC power source.
밧데리 전원이 온 될 때의 동작을 설명한다.This section describes the operation when the battery power is turned on.
밧데리(BAT)의 전원 전압(VBAT)과 감전압(VAC)의 차이가 항상 제너다이오드(ZD)의 정격 전압보다 크게 제너 다이오드(ZD)의 전압값을 설정한다.The voltage value of the zener diode ZD is set so that the difference between the power supply voltage V BAT and the reduced voltage V AC of the battery BAT is always greater than the rated voltage of the zener diode ZD.
따라서, 트랜지스터(Q3)는 항상 턴 온 되고, 전압은 콘덴서(C3)에 충전되므로 트랜지스터(Q2)도 턴 온 된다. 저항(R1)과 (R2) 사이의 접점(p)에는 전압이 0V가 된다.Therefore, transistor Q3 is always turned on, and since voltage is charged in capacitor C3, transistor Q2 is also turned on. The voltage p becomes 0V at the contact point p between the resistors R1 and R2.
따라서, 트랜지스터(Q1)의 베이스에는 로우 신호가 인가되므로 턴 오프된다. 따라서, 마이크로 컴퓨터(10)의 전원 오프 감지 단자(S)에는 하이신호가 입력된다.Therefore, since a low signal is applied to the base of the transistor Q1, the signal is turned off. Therefore, a high signal is input to the power off detection terminal S of the microcomputer 10.
밧데리 전원이 오프되면 다음과 같이 동작한다.When battery power is off, it works as follows.
전원이 오프되면 제너 다이오드(ZD)의 정격 전압이 입력되지 않으므로 제너 다이오드(ZD)는 오프된다. 따라서, 트랜지스터(Q3)의 이미터에 전압이 전혀 인가되지 않으므로 트랜지스터(Q3)는 턴 오프된다.When the power is turned off, the zener diode ZD is turned off because the rated voltage of the zener diode ZD is not input. Thus, since no voltage is applied to the emitter of transistor Q3, transistor Q3 is turned off.
이때, 콘덴서(C3)의 용량을 콘덴서(C1)의 용량보다 크게 회로를 구현하여, 콘덴서(C1)보다 콘덴서(C3)가 빠른 방전을 하도록 한다. 따라서, 저항(R1)과 저항(R2) 사이의 노드(p) 전압은 0에서 +로 전압이 변화된다.At this time, the capacitor C3 has a capacity larger than that of the capacitor C1, so that the capacitor C3 discharges faster than the capacitor C1. Therefore, the voltage of the node p between the resistor R1 and the resistor R2 is changed from 0 to +.
따라서, 트랜지스터(Q1)의 베이스에는 하이 신호가 입력되어 트랜지스터(Q1)는 턴 온 되므로 저항(R6)과 저항(R5)의 접점 노드(q)는 0V가 된다. 그러므로, 마이크로 컴퓨터(10)의 전원 오프 감지 단자(S)에는 로우 신호가 입력되어 마이크로 컴퓨터(10)는 전원이 오프되었음을 감지한다.Therefore, since the high signal is input to the base of the transistor Q1 and the transistor Q1 is turned on, the contact node q of the resistor R6 and the resistor R5 becomes 0V. Therefore, a low signal is input to the power off detection terminal S of the microcomputer 10 so that the microcomputer 10 detects that the power is off.
종래의 교류 전원 오프를 감지하는 경우와 같이 제2도를 참조하면, 마이크로 컴퓨터(10)는 전원이 오프되었음을 감지하고, 마이크로 컴퓨터(10)의 전원이 제2도(a)와 같이 짧은 시간 유지되는 동안 백업 모드, 홀드 모드 또는 메모리 시작 모드로 빨리 전환할 수 있다.Referring to FIG. 2 as in the case of detecting a conventional AC power off, the microcomputer 10 detects that the power is turned off, and the power of the microcomputer 10 is maintained for a short time as shown in FIG. Can be quickly switched to backup mode, hold mode or memory start mode.
이상에서와 같이 본 발명에 따른 전원 오프 감지 회로에 의하면, 교류, 직류 겸용 기기의 돌발적인 전원 오프시 마이크로 컴퓨터에서 전원 오프 상태를 빨리 감지하기 위한 전원 오프 감지 회로를 교류인 경우에도 적용되도록 구현함으로써, 교류, 직류 겸용 기기에서 전원에 오프되면 마이크로 컴퓨터에서 바로 인식하고 백업 모드, 홀드 모드 또는 메모리 시작 모드를 전환하도록 한 효과가 있다.As described above, according to the power-off detection circuit according to the present invention, by implementing a power-off detection circuit for quickly detecting the power-off state in the microcomputer during the sudden power-off of the AC, DC combined device to be applied even in the case of AC When turned off in AC, DC and DC devices, the microcomputer immediately recognizes the effect and switches the backup mode, hold mode, or memory start mode.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019950023580A KR0159022B1 (en) | 1995-07-31 | 1995-07-31 | Detecting circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019950023580A KR0159022B1 (en) | 1995-07-31 | 1995-07-31 | Detecting circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
KR970007579A KR970007579A (en) | 1997-02-21 |
KR0159022B1 true KR0159022B1 (en) | 1999-02-18 |
Family
ID=19422508
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019950023580A KR0159022B1 (en) | 1995-07-31 | 1995-07-31 | Detecting circuit |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR0159022B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8669742B2 (en) | 2010-08-06 | 2014-03-11 | Samsung Sdi Co., Ltd. | Battery pack, charging system including the battery pack, and method of controlling the charging system |
-
1995
- 1995-07-31 KR KR1019950023580A patent/KR0159022B1/en not_active IP Right Cessation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8669742B2 (en) | 2010-08-06 | 2014-03-11 | Samsung Sdi Co., Ltd. | Battery pack, charging system including the battery pack, and method of controlling the charging system |
Also Published As
Publication number | Publication date |
---|---|
KR970007579A (en) | 1997-02-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20010001187A (en) | Automatic module for voltage conversion | |
KR0159022B1 (en) | Detecting circuit | |
US5872704A (en) | Low voltage supply cutoff circuit for an electronic appliance | |
US4045732A (en) | Device for sensing the operative status of electrical equipment | |
JP2972653B2 (en) | Power failure detection circuit | |
KR930004365Y1 (en) | Power circuit | |
JP2712369B2 (en) | DC power supply | |
JP2000316280A (en) | Power-supply unit | |
JP2001264367A (en) | Power-failure detection circuit | |
JPH051962Y2 (en) | ||
KR100226628B1 (en) | Output signal detecting circuit | |
KR20000015607A (en) | Over power protection circuit of a monitor | |
KR940004706Y1 (en) | Preventing circuit for ripple current of inventer | |
JP2873900B2 (en) | Power supply | |
KR890009003Y1 (en) | Control apparatus for light of a operating room | |
KR100206056B1 (en) | Hold-up time shortage circuit in ringing choke converting circuit | |
JP2572194Y2 (en) | Power circuit | |
KR200145188Y1 (en) | Input voltage protection circuit of power supply | |
KR100193610B1 (en) | Proper Power Sensing Circuit | |
KR0111722Y1 (en) | Circuit for protecting overload of a power supply | |
JPH0583944A (en) | Power supply equipment | |
KR0178240B1 (en) | Power failure compensation circuit | |
KR930003748Y1 (en) | Switching mode power supply | |
JPH05260659A (en) | Automatic power supply switching circuit | |
KR940005227Y1 (en) | Circuit for power source |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20050727 Year of fee payment: 8 |
|
LAPS | Lapse due to unpaid annual fee |