KR200283612Y1 - Control circuit in case of power failure - Google Patents
Control circuit in case of power failure Download PDFInfo
- Publication number
- KR200283612Y1 KR200283612Y1 KR2019960067080U KR19960067080U KR200283612Y1 KR 200283612 Y1 KR200283612 Y1 KR 200283612Y1 KR 2019960067080 U KR2019960067080 U KR 2019960067080U KR 19960067080 U KR19960067080 U KR 19960067080U KR 200283612 Y1 KR200283612 Y1 KR 200283612Y1
- Authority
- KR
- South Korea
- Prior art keywords
- power failure
- signal
- microprocessor
- outputs
- power
- Prior art date
Links
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
Abstract
본 고안은 위성체 전력계의 전기제어에 관한 것으로, 특히 정전시 전원장애 여부를 감지하여 순간정전 또는 장시간의 전원장애를 구분 및 처리하여 마이크로 프로세서의 처리속도를 향상하여 시스템의 효율을 증대하도록 한 전원장애시 제어회로에 관한 것으로, 전원장애 감지부가 순간 정전신호("L")를 감지하여 트랜지스터(Q1)를 도통("H")시켜 마이크로 프로세서에 저전위("L") 신호를 출력하여 리세트 시키고, 상기 전원장애 감지부가 전원 정상신호('H")를 감지하여 순간정전 플래그를 통해 마이크로 프로세서에 저전위("L") 신호를 출력하여 인터럽트 신호가 발생되도록 구성함으로써, 본 고안은 전원상태를 감지하여 순간정전과 장시간의 전원장애 인지를 구분하여 적절한 리세트 신호와 인터럽트 신호를 출력함으로써 마이크로 프로세서의 처리속도를 향상시키고, 전체의 제어시간을 단축시키며, 아울러 장비손상 및 데이타 손실을 방지할 수 있는 효과가 있다.The present invention relates to the electrical control of satellite power meter, in particular, power failure in order to increase the efficiency of the system by improving the processing speed of the microprocessor by detecting power failure in case of power failure and distinguishing and treating the power failure for a long time. The time control circuit is a power failure detection unit detects a momentary power failure signal "L", conducts a transistor (Q1) ("H") and outputs a low potential ("L") signal to the microprocessor to reset. In addition, the power failure detection unit detects the power supply normal signal (H) and outputs a low potential ("L") signal to the microprocessor through an instantaneous power failure flag to generate an interrupt signal. Detects instantaneous power failure and prolonged power failure and outputs appropriate reset signal and interrupt signal for processing speed of microprocessor. Improved and, shorten the time of the overall control, and also there is an effect that it is possible to prevent damage to equipment and loss of data.
Description
본 고안은 위성체 전력계의 전기제어에 관한 것으로, 특히 정전시 전원장애 여부를 감지하여 순간정전 또는 장시간의 전원장애를 구분 및 처리하여 마이크로 프로세서의 처리속도를 향상하여 시스템의 효율을 증대하도록 한 전원장애시 제어회로에 관한 것이다.The present invention relates to the electrical control of satellite power meter, in particular, power failure in order to increase the efficiency of the system by improving the processing speed of the microprocessor by detecting power failure in case of power failure and distinguishing and treating the power failure for a long time. It relates to a time control circuit.
도 1은 종래 UPS 시스템의 회로도로서, 이에 도시한 바와 같이 정전시 전원을 공급하는 배터리(1)와, 상기 배터리(1)를 충전하는 충전부(2)와, 교류전원(AC)을 직류전원(DC)으로 변환하는 정류부(3)와, 상기 배터리(1)의 직류전원을 교류전원으로 변환하는 인버터(4)와, 상기 교류입력(AC INPUT) 전원 및 인버터(4)의 교류전원을 교류출력(AC OUTPUT) 단에 연결하여 주는 정전(STATIC) 스위치로 구성된 것으로, 이의 작용을 설명하면 다음과 같다.FIG. 1 is a circuit diagram of a conventional UPS system. As shown in FIG. 1, a battery 1 for supplying power in case of power failure, a charging unit 2 for charging the battery 1, and an AC power source AC are connected to a DC power source. A rectifier (3) for converting DC), an inverter (4) for converting the DC power of the battery (1) to an AC power, an AC power supply for the AC INPUT power and the inverter (4) It is composed of a STATIC switch connected to the (AC OUTPUT) stage. The operation thereof is as follows.
정전 또는 순간 정전시 배터리(1)의 직류전원이 공급되는데, 이때 인버터(4)는 상기 직류전원을 교류전원으로 변환시켜 정전(STATIC) 스위치를 거쳐 교류전원을 출력한다.In the case of power failure or instantaneous power failure, the DC power supply of the battery 1 is supplied. At this time, the inverter 4 converts the DC power into AC power and outputs AC power through a STATIC switch.
한편, 정전시 상기 배터리(1)의 직류전원이 공급됨에 따라 정류부(3)의 직류전원은 차단되고, 정상시 상기 정류부(3)의 직류전원이 공급되어 인버터(4)를 통해 교류 변환되어 출력된다.On the other hand, when the DC power of the battery 1 is supplied in case of power failure, the DC power of the rectifier 3 is cut off, and when the DC power of the rectifier 3 is normally supplied, the AC is converted and output through the inverter 4. do.
그리고, 마이크로 프로세서를 이용한 전자시스템에 있어서 제어방법이 중요한데, 종래에는 정전이나 순간 정전시 시스템의 초기 동작상태와 같이 마이크로 프로세서를 초기화 함으로써 오동작을 방지하는데, 이때 상기 순간 정전시 마이크로 프로세서를 초기화 하여 불필요하게 제어동작을 처음부터 반복하게 되고 이에 따라 전체의 처리시간이 길어진다.In addition, a control method is important in an electronic system using a microprocessor. Conventionally, a malfunction is prevented by initializing the microprocessor as in the initial operation state of the system during a power failure or a momentary power failure. The control operation is repeated from the beginning to increase the overall processing time.
상기와 같이 종래의 UPS 시스템에 있어서 정전 또는 순간 정전시 마이크로 프로세서를 초기화 함으로써 불필요하게 제어동작을 처음부터 반복하게 되어 전체의 처리시간이 길어지는 문제점이 있었다.As described above, in the conventional UPS system, the microprocessor is initialized during a power failure or a momentary power failure to unnecessarily repeat the control operation from the beginning, resulting in a long processing time.
따라서, 본 고안의 목적은 전원장애 여부를 판단하여 순간 정전과 장시간의 전원 장애를 구분하고 이를 처리하여 마이크로 프로세서의 처리속도를 향상시키고 전체의 제어시간을 단축함으로써 상기의 문제점을 해결한다.Accordingly, an object of the present invention is to solve the above problems by determining whether a power failure, and distinguishing between a momentary power failure and a long power failure, thereby improving the processing speed of the microprocessor and reducing the overall control time.
상기의 목적을 달성하기 위한 본 고안의 구체적인 수단으로,As a specific means of the present invention for achieving the above object,
전원장애 감지부가 순간 정전신호("L")를 감지하여 트랜지스터(Q1)를 도통("H")시켜 마이크로 프로세서에 저전위("L") 신호를 출력하여 리세트 시키고, 상기 전원장애 감지부가 전원 정상신호('H")를 감지하여 순간정전 플래그를 통해 마이크로 프로세서에 저전위("L") 신호를 출력하여 인터럽트 신호가 발생되도록 구성함으로써 달성된다.The power failure detection unit detects the momentary power failure signal "L", conducts the transistor Q1 ("H"), outputs a low potential ("L") signal to the microprocessor, and resets the power failure detection unit. It is achieved by detecting the power supply normal signal 'H' and outputting a low potential (“L”) signal to the microprocessor via the power failure flag to generate an interrupt signal.
도 1은 종래 UPS 시스템의 회로도.1 is a circuit diagram of a conventional UPS system.
도 2는 본 고안 전원장애시 제어 회로도.Figure 2 is a control circuit diagram of the present invention power failure.
〈도면의 주요 부분에 대한 부호의 설명〉<Explanation of symbols for main parts of drawing>
10 : 전원장애 감지부20 : 마이크로 프로세서10: power failure detection unit 20: microprocessor
30 : 순간정전 플래그 회로부30: instantaneous power interruption flag circuit
INV1-INV3 : 인버터RST : 리세트INV1-INV3: Inverter RST: Reset
INT : 인터럽트R1-R5 : 저항INT: Interrupt R1-R5: Resistor
C1-C2 : 캐패시터D1 : 다이오드C1-C2: Capacitor D1: Diode
VCC : 전원SIG1-SIG3 : 신호VCC: Power SIG1-SIG3: Signal
이하에서 본 고안의 바람직한 실시 예를 첨부한 도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, described in detail with reference to the accompanying drawings a preferred embodiment of the present invention.
도 2는 본 고안 전원장애시 제어 회로도로서, 이에 도시한 바와 같이 전원장애 감지부(10)가 순간 정전신호("L")를 감지하여 트랜지스터(Q1)를 도통("H")시켜 마이크로 프로세서(20)에 저전위("L") 신호를 출력하여 리세트(RST) 시키고, 상기 전원장애 감지부(10)가 전원 정상신호('H")를 감지하여 순간정전 플래그(30)를 통해 마이크로 프로세서(20)에 저전위("L") 신호를 출력하여 인터럽트(INT) 신호가 발생되도록 구성된 것으로, 이의 작용 및 효과를 상세히 설명하면 다음과 같다.2 is a control circuit diagram of a power failure of the present invention. As shown in FIG. 2, the power failure detection unit 10 senses a momentary power failure signal “L” to conduct a transistor Q1 to conduct a “H” microprocessor. A low potential ("L") signal is output to (20) and reset (RST), and the power failure detection unit 10 detects the power normal signal (H) and the instantaneous power failure flag (30). Interrupt (INT) signal is generated by outputting a low potential ("L") signal to the microprocessor 20. The operation and effects thereof will be described in detail as follows.
순간적인 전원의 장애가 발생하면 전원장애 감지부(10)는 저전위("L") 신호를 출력하고, 인버터(INV1)가 이를 반전시켜 고전위("H") 신호를 출력하여 트랜지스터(Q1)가 도통되며, 상기 트랜지스터(Q1)의 고전위 신호는 인버터(INV2)를 통해 반전되어 저전위신호가 마이크로 프로세서(20)의 리세트(RST) 단자에 출력되어 리마이크로 프로세서(20)를 리세트 시킨다.When a momentary power failure occurs, the power failure detection unit 10 outputs a low potential ("L") signal, and the inverter INV1 inverts it and outputs a high potential ("H") signal to the transistor Q1. Is turned on, and the high potential signal of the transistor Q1 is inverted through the inverter INV2 so that the low potential signal is output to the reset (RST) terminal of the microprocessor 20 to reset the microprocessor 20. Let's do it.
한편, 전원상태가 정상이면 전원장애 감지부(10)는 고전위("H") 신호를 출력하고, 인버터(INV1)가 이를 반전시켜 저전위("L") 신호를 출력하여 트랜지스터(Q1)가 오프(OFF) 되며, 상기 트랜지스터(Q1)의 저전위 신호는 인버터(INV2)를 통해 반전되어 고전위신호가 되므로 리세트 신호를 발생하지 않고, 상기 전원장애 감지부(10)의 고전위신호가 출력되어 인버터(INV3)를 통해 반전되고 순간정전 플래그(30)을 통해 저전위신호가 마이크로 프로세서(20)의 인터럽트(INT)에 출력되어 인터럽트를 발생하게 되며, 이에 따라 상기 마이크로 프로세서는 기설치된 인터럽트 순서에 따라 부분적인 제어동작만 초기화 한다.On the other hand, if the power state is normal, the power failure detection unit 10 outputs a high potential ("H") signal, the inverter INV1 inverts it and outputs a low potential ("L") signal to transistor Q1. Is turned off, and since the low potential signal of the transistor Q1 is inverted through the inverter INV2 to become a high potential signal, a high potential signal of the power failure detection unit 10 is generated without generating a reset signal. Is output and is inverted through the inverter INV3 and the low potential signal is output to the interrupt INT of the microprocessor 20 through the instantaneous power interruption flag 30 to generate an interrupt. Only partial control actions are initiated according to the interrupt sequence.
따라서, 전원장애 감지부(10)을 통해 전원상태를 감지하여 초기동작이나 장시간의 전원장애이면 리세트 신호가 발생되고, 순간적인 전원장애이면 인터럼트 신호가 발생하여 부분적으로 제어동작을 초기화 함으로써 마이크로 프로세서의 처리시간을 단축하게 된다.Therefore, the power failure detection unit 10 detects the power state, and if the initial operation or the power failure for a long time, the reset signal is generated, and if the momentary power failure, the interrupt signal is generated to partially initialize the control operation. This shortens the processing time of the processor.
이상에서 상세히 설명한 바와 같이 본 고안은 전원상태를 감지하여 순간정전과 장시간의 전원장애 인지를 구분하여 적절한 리세트 신호와 인터럽트 신호를 출력함으로써 마이크로 프로세서의 처리속도를 향상시키고, 전체의 제어시간을 단축시키며, 아울러 장비손상 및 데이타 손실을 방지할 수 있는 효과가 있다.As described in detail above, the present invention detects the power supply status and distinguishes the momentary power failure from the prolonged power failure to output the appropriate reset signal and the interrupt signal, thereby improving the processing speed of the microprocessor and reducing the overall control time. In addition, there is an effect to prevent equipment damage and data loss.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR2019960067080U KR200283612Y1 (en) | 1996-12-31 | 1996-12-31 | Control circuit in case of power failure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR2019960067080U KR200283612Y1 (en) | 1996-12-31 | 1996-12-31 | Control circuit in case of power failure |
Publications (2)
Publication Number | Publication Date |
---|---|
KR19980053890U KR19980053890U (en) | 1998-10-07 |
KR200283612Y1 true KR200283612Y1 (en) | 2002-09-19 |
Family
ID=54004756
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR2019960067080U KR200283612Y1 (en) | 1996-12-31 | 1996-12-31 | Control circuit in case of power failure |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR200283612Y1 (en) |
-
1996
- 1996-12-31 KR KR2019960067080U patent/KR200283612Y1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR19980053890U (en) | 1998-10-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR0180801B1 (en) | Control device for switching mode power supply | |
KR880011639A (en) | Battery powered portable device | |
KR970019620A (en) | Visitor Identification System and Method | |
EP1988443A3 (en) | Suspend induced by AC power disturbance | |
EP0480647A3 (en) | Auxiliary battery operation detection circuit | |
TW262544B (en) | A power conservation system for a modem in a computer system | |
MY111975A (en) | Battery charging system. | |
KR200283612Y1 (en) | Control circuit in case of power failure | |
US7047431B2 (en) | Uninterruptible power supply unit for allowing a computer to wake up before receiving notification of power failure | |
JPH0833791B2 (en) | Uninterruptible power supply interface device | |
TW414895B (en) | Power-up signal generator for semiconductor memory device | |
JPS55138154A (en) | Uncontrolled run detector of control circuit | |
JPH0619593A (en) | Data device | |
JPS57168367A (en) | Handshake method of master central processing unit and slave central processing unit | |
KR890003479B1 (en) | Method for provide instant interruption of electric power of micro computer | |
JPS5532198A (en) | Power source circuit | |
KR960007567Y1 (en) | Stand-by power switch | |
KR100238964B1 (en) | Oscillating control circuit for power consumption decrease | |
KR930007005B1 (en) | Resetting circuit for micro computer | |
JP2858484B2 (en) | Microcomputer | |
JPS59194227A (en) | Detection system for break of power supply | |
JPS5488736A (en) | Voltage detector for battery | |
JPH0397748U (en) | ||
JPH0424954B2 (en) | ||
JPS57172410A (en) | State processor for sequence controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
N231 | Notification of change of applicant | ||
N231 | Notification of change of applicant | ||
E701 | Decision to grant or registration of patent right | ||
REGI | Registration of establishment | ||
FPAY | Annual fee payment |
Payment date: 20050701 Year of fee payment: 6 |
|
LAPS | Lapse due to unpaid annual fee |