KR100628709B1 - Computer and control method thereof - Google Patents
Computer and control method thereof Download PDFInfo
- Publication number
- KR100628709B1 KR100628709B1 KR1020030050318A KR20030050318A KR100628709B1 KR 100628709 B1 KR100628709 B1 KR 100628709B1 KR 1020030050318 A KR1020030050318 A KR 1020030050318A KR 20030050318 A KR20030050318 A KR 20030050318A KR 100628709 B1 KR100628709 B1 KR 100628709B1
- Authority
- KR
- South Korea
- Prior art keywords
- cpu
- microcomputer
- power supply
- interrupt
- handler
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
- Microcomputers (AREA)
Abstract
본 발명은 컴퓨터 및 제어방법에 관한 것이다. 본 발명에 따른 컴퓨터는, CPU와, 상기 CPU에 전원을 공급하는 전원공급부를 포함하는 컴퓨터에 있어서, 인터럽트를 상기 CPU에 전달하는 사우스브릿지와; 상기 인터럽트를 전달받은 CPU에 의해 열제어 루틴을 실행하는 핸들러와; 상기 핸들러가 마련된 바이오스와; 일정한 주기로 인터럽트를 발생하고, 상기 핸들러가 실행되지 않을 때 상기 CPU에 대한 전원공급을 중단시키는 시스템보호신호를 상기 전원공급부에 전달하는 마이컴을 포함하는 것을 특징으로 한다. 이에 의해 마이컴 혹은 시스템의 열제어 루틴이 비정상 동작을 할 때 시스템을 보호할 수 있다.
The present invention relates to a computer and a control method. A computer according to the present invention includes a CPU and a power supply for supplying power to the CPU, comprising: a south bridge for transmitting an interrupt to the CPU; A handler for executing a thermal control routine by the CPU that has received the interrupt; A bios provided with the handler; And a microcomputer that generates an interrupt at a predetermined cycle and transmits a system protection signal to the power supply to stop the power supply to the CPU when the handler is not executed. This protects the system when the microcomputer or the system's thermal control routine is abnormal.
Description
도 1은 본 발명의 일 실시예에 따른 컴퓨터의 블록도1 is a block diagram of a computer according to an embodiment of the present invention.
도 2는 도 1의 컴퓨터의 제어흐름도이다.2 is a control flowchart of the computer of FIG.
* 도면의 주요부분에 대한 부호의 설명 * Explanation of symbols for main parts of the drawings
11 : CPU 13 : 마이컴 11: CPU 13: Micom
15 : 바이오스 17 : 사우스브릿지 15: BIOS 17: South Bridge
19 : 온도센서 21 : 팬 19: temperature sensor 21: fan
본 발명은 컴퓨터 및 그 제어방법에 관한 것으로, 보다 상세하게는 마이컴 또는 시스템의 열제어 루틴이 비정상적인 동작을 할 때 시스템을 보호할 수 있는 컴퓨터 및 그 제어방법에 관한 것이다. The present invention relates to a computer and a control method thereof, and more particularly to a computer and a control method thereof that can protect the system when the microcontroller or the thermal control routine of the system abnormal operation.
컴퓨터 성능의 향상으로 CPU의 퍼포먼스가 점점 더 높아지면서 상기 CPU로부터의 열 발생도 증가하게 되었다. 컴퓨터 시스템 내부의 온도상승은 상기 시스템에 치명적인 손상을 가할 수 있기 때문에 여러 가지 열 제어 방법이 사용된다.Improvements in computer performance have resulted in an increase in the performance of the CPU, leading to an increase in heat generation from the CPU. Temperature rises inside computer systems can cause catastrophic damage to the system, and various thermal control methods are used.
일반적으로 온도 센서로부터 읽어 들인 현재의 온도를 기준으로 여러 가지 시스템 보호방법이 사용되는데, 상기 온도 센서의 값을 읽고 시스템 보호를 실행하는 주체가 비정상적인 동작을 하는 경우에도 시스템을 보호하는 방법이 필요하다.In general, various system protection methods are used based on the current temperature read from the temperature sensor, and there is a need for a method of protecting the system even in the case of an abnormal operation of a subject who reads the temperature sensor and performs system protection. .
따라서, 본 발명의 목적은 마이컴 혹은 시스템의 열제어 루틴이 비정상적인 동작을 하는 경우 시스템을 보호하는 컴퓨터 및 그 제어방법을 제공하는데 있다.Accordingly, an object of the present invention is to provide a computer and a control method for protecting the system when the microcontroller or the thermal control routine of the system is abnormally operated.
상기 목적은, CPU와, 상기 CPU에 전원을 공급하는 전원공급부를 포함하는 컴퓨터에 있어서, 인터럽트를 상기 CPU에 전달하는 사우스브릿지와; 상기 인터럽트를 전달받은 CPU에 의해 열제어 루틴을 실행하는 핸들러와; 상기 핸들러가 마련된 바이오스와; 일정한 주기로 인터럽트를 발생하고, 상기 핸들러가 실행되지 않을 때 상기 CPU에 대한 전원공급을 중단시키는 시스템보호신호를 상기 전원공급부에 전달하는 마이컴을 포함하는 것을 특징으로 하는 컴퓨터에 의해 달성된다. 여기서, 상기 바이오스는 일정한 주기로 상기 마이컴에 소정 커맨드를 보내고, 상기 마이컴으로부터 상기 커맨드에 대한 소정 애크널리지가 없는 경우 상기 CPU에 대한 전원공급을 중단시키는 시스템보호신호를 상기 전원공급부에 전달하는 것이 바람직하다.The object is a computer comprising a CPU and a power supply for supplying power to the CPU, comprising: a south bridge for transmitting an interrupt to the CPU; A handler for executing a thermal control routine by the CPU that has received the interrupt; A bios provided with the handler; And a microcomputer which generates an interrupt at a predetermined cycle and transmits a system protection signal to the power supply for stopping the power supply to the CPU when the handler is not executed. Here, it is preferable that the BIOS transmits a predetermined command to the microcomputer at a predetermined cycle, and transmits a system protection signal to stop the power supply to the CPU when the microcomputer does not have a predetermined acknowledgement for the command. .
그리고, 상기 인터럽트는 SMI이고, 상기 핸들러는 SMI핸들러인 것이 바람직하다.Preferably, the interrupt is SMI, and the handler is an SMI handler.
또는 상기 인터럽트는 SCI이고, 상기 SCI를 상기 CPU로부터 인가받아 상기 바이오스에 마련된 핸들러를 구동하는 운영체제부를 더 포함하는 것이 바람직하다. Alternatively, the interrupt may be SCI, and the SCI may be further received from the CPU to further include an operating unit for driving a handler provided in the BIOS.
상기 마이컴에 의한 인터럽트 발생 후 상기 핸들러가 실행되지 않는 횟수를 측정하는 제1카운터를 더 포함하는 것이 바람직하다. 또한, 상기 바이오스로부터 커맨드 발생 후 상기 마이컴으로부터 커맨드에 대한 애크널리지가 없는 경우의 횟수를 측정하는 제2카운터를 더 포함하는 것이 바람직하다.It is preferable to further include a first counter for measuring the number of times the handler is not executed after the interrupt generated by the microcomputer. The method may further include a second counter that measures the number of times when there is no acknowledgment of the command from the microcomputer after the command is generated from the BIOS.
상기 마이컴은 상기 핸들러가 실행되지 않을 때 상기 제1카운터를 구동하고 상기 제1카운터에 의해 소정 횟수 이상 측정되었을 때 상기 CPU에 대한 전원공급을 중단시키는 시스템보호신호를 상기 전원공급부에 전달하는 것이 바람직하다.The microcomputer preferably transmits a system protection signal to the power supply to drive the first counter when the handler is not executed and to stop the power supply to the CPU when a predetermined number of times are measured by the first counter. Do.
그리고 상기 바이오스는 상기 마이컴으로부터 커맨드에 대한 애크널리지가 없는 경우 상기 제2카운터를 구동하고 상기 제2카운트에 의해 소정 횟수 이상 측정되었을 때 상기 CPU에 대한 전원공급을 중단시키는 시스템보호신호를 상기 전원공급부에 전달하는 것이 바람직하다.The BIOS supplies a system protection signal for driving the second counter and stopping the power supply to the CPU when a predetermined number of times are measured by the second count when there is no acknowledgment of the command from the microcomputer. It is desirable to pass on.
한편 본 발명의 다른 분야에 따르면 상기 목적은, CPU와, 상기 CPU에 전원을 공급하는 전원공급부를 포함하는 컴퓨터의 제어방법에 있어서, 일정한 주기로 마이컴에서 인터럽트가 발생하는 단계와; 상기 인터럽트에 의해 바이오스에열제어 루틴이 실행되는지 체크하는 단계와; 실행되지 않는 경우 횟수를 카운트하는 단계와; 상기 열제어 루틴이 실행되지 않는 횟수가 소정횟수 이상인 경우 상기 전원공급부에 의한 전원공급을 중단하는 단계를 포함하는 것을 특징으로 하는 컴퓨터의 제어방법에 의해 달성된다.According to another aspect of the present invention, the above object is a control method of a computer including a CPU and a power supply unit for supplying power to the CPU, the method comprising: generating interrupts at a microcomputer at regular intervals; Checking whether a BIOS thermal control routine is executed by the interrupt; Counting the number of times if not executed; And stopping the power supply by the power supply unit when the number of times that the thermal control routine is not executed is a predetermined number or more.
여기서, 바이오스에서 커맨드가 발생하는 단계와; 상기 커맨드에 대한 마이컴의 애크널리지를 체크하는 단계와; 상기 애크널리지가 없는 경우 횟수를 카운트 하는 단계와; 상기 애크널리지 없는 횟수가 소정횟수 이상인 경우 상기 전원공급부에 의한 전원공급을 중단하는 단계를 포함하는 것이 바람직하다.Generating a command in the bios; Checking an accompaniment of the microcomputer for the command; Counting the number of times when there is no acknowledgment; It is preferable to include the step of stopping the power supply by the power supply if the number of times without the acknowledgment is a predetermined number or more.
이하 첨부도면을 참조하여 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail.
도 1에 도시된 바와 같이, 본 발명은 CPU(11), 사우스브릿지(17), 마이컴(13), 바이오스(15), 온도센서(19), 팬(21)을 포함한다.As shown in FIG. 1, the present invention includes a
온도센서(19)는 시스템의 온도를 측정하여 마이컴(13)에 전달한다.The
마이컴(13)은 내부에 소정의 온도 테이블을 마련하고 있다. 상기 온도 테이블은 측정된 온도에 따라 상기 팬(21)을 로 스피드(Low Speed), 인터미디어트 스피드 (Intermediate Speed), 하이 스피드(High Speed)로 팬(21)을 동작시키는 데이타가 저장된 테이블을 가리킨다. 상기 마이컴(13)은 상기 온도센서(19)로부터 전달받은 온도에 따라 상기 팬(21)의 속도를 높이거나 낮추는 방식으로 쿨링(Cooling)을 한다.The
예를 들어, 상기 온도 테이블에는 상기 팬(21)을 온시키거나 로 스피드로 동작시시키는 온도로서 60도, 상기 팬(21)을 로 스피드에서 인터미디어트 스피드로 동작시키는 온도로서 70도, 상기 팬(21)을 인터미디어트 스피드에서 하이스피드로 동작시키는 온도로서 80도가 지정될 수 있다. 그리고 상기 팬(21)을 하이스피드에서 인터미디어트 스피드로 동작시키는 온도로서 75도, 상기 팬(21)을 인터미디어트 스피드에서 로 스피드로 동작시키는 온도로서 65도, 상기 팬(21)을 로 스피드에서 오프시키는 온도로 55도가 지정되어 상기 마이컴(13)은 온도에 따라 상기 팬(21)을 조정한다.
For example, the temperature table includes 60 degrees as a temperature for turning on the
Window95와 같이 ACPI(Advanced Configuraton Power Interface) 스펙을 지원하지 않는 운영체제에서 상기 마이컴(13)은 상기 온도센서(19)서로부터 읽어들인 값이 상기 팬(21) 구동으로 충분하지 못하다고 판단할 때 SMI(System Management Interrupt)를 발생한다. In an operating system that does not support the Advanced Configuraton Power Interface (ACPI) specification, such as Window 95, the
여기서 SMI란 상기 마이컴(13)에서 사우스브릿지(17)로 전달되는 외부 SMI(External SMI)를 가리키는데, 상기 사우스브릿지(17)에는 외부 SMI 핀이 마련되어 있어 상기 마이컴(13)으로부터 인가받은 인터럽트를 상기 CPU(11)에 SMI로 전달한다. 상기 CPU(11)에 의해 상기 바이오스(15)에 마련된 SMI 서비스 루틴이 실행되고, CPU(11) 클록 쓰로틀링을 통해 쿨링을 진행할 수 있다. 또는 CPU(11) 클록 쓰로틀링이 아닌 CPU(11) 주파수를 하이(high)에서 미드(mid)나 로우(low)로 떨어뜨려 상기 CPU(11) 주변의 온도가 떨어지게 할 수도 있다.Here, SMI refers to an external SMI transmitted from the
WINDOW98과 같이 ACPI(Advanced Configuraton Power Interface)를 지원하는 운영체제는 상기 마이컴(13)에서 SCI(System Control Interrupt)를 발생한다.An operating system that supports ACPI (Advanced Configuraton Power Interface) such as WINDOW 98 generates SCI (System Control Interrupt) in the
SCI란 IRQ(Interrupt Request)의 일종으로 대개 IRQ 9번을 사용하며, 상기 SCI는 0/S가 처리한다. 상기 O/S는 상기 바이오스(15)에 마련된 SCI 서비스 루틴을 호출하고, 상기 SCI 서비스 루틴을 통해 CPU(11) 클록 쓰로틀링 혹은 CPU(11) 주파수를 떨어뜨려 쿨링을 진행한다.SCI is an IRQ (Interrupt Request) that usually uses IRQ No. 9. The SCI is processed by 0 / S. The O / S calls the SCI service routine provided in the
상기 마이컴(13)은 시스템이 정상적으로 작동하는지 확인하기 위해 주기적으로 SMI 혹은 SCI와 같은 인터럽트를 발생하여 상기 인터럽트에 대한 응답이 있는지 체크한다. 상기 마이컴(13)이 SMI를 발생한 경우, 상기 SMI 서비스 루틴이 마련된 상기 바이오스(15)가 비정상 상태에 있을 때 상기 인터럽트에 대한 응답이 없을 수 있다. 또는 상기 CPU(11)가 비정상 상태인경우, 상기 CPU(11)가 상기 바이오스(15)에 마련된 SMI서비스 루틴을 실행하지 못하므로 상기 인터럽트에 대한 응답이 없을 것이다.The
상기 마이컴(13)은 상기 인터럽트에 대한 무응답횟수를 체크하는 카운터를 구동하여, 소정 횟수 이상 상기 인터럽트에 대해 응답이 없는 경우 상기 전원공급부에 상기 CPU(11)에 대한 전원 공급을 중단시키는 시스템보호신호를 전달하여 시스템을 오프시킨다.The
이 때 상기 카운터가 구동된 후 상기 마이컴(13)에 의한 인터럽트 발생주기는 점점 짧아지도록 구성할 수도 있을 것이다.At this time, after the counter is driven, the interrupt generation cycle by the
상기 바이오스(15)는 시스템이 정상적으로 작동하는지 확인하기 위해 주기적으로 상기 마이컴(13)에 커맨드를 보낸다. 상기 마이컴(13)으로부터 상기 커맨드에 대한 애크널리지를 받은 경우 상기 바이오스(15)는 시스템을 정상 상태로 판단한다. 상기 마이컴(13)이 HANG과 같은 비정상 상태인 경우 상기 바이오스(15)는 애크널리지 신호를 받을 수 없다. 이 때 상기 바이오스(15)로부터의 커맨드 발생 후 상기 마이컴(13)으로부터 커맨드에 대한 애크널리지가 없는 횟수를 측정하는 카운터를 포함하여, 소정 횟수 이상 상기 마이컴(13)으로부터 애크널리지가 없는 경우, 상기 바이오스(15)는 상기 전원공급부에 상기 시스템보호신호를 전달한다. The
이 때 상기 카운터가 구동된 후 상기 바이오스(15)에 의한 커맨드 발생주기는 점점 짧아지도록 구성할 수도 있을 것이다.
At this time, after the counter is driven, the command generation period by the
상기 마이컴(13)이 비정상적인 동작을 하면 상기 바이오스(15)가 정상적 동작을 해도 상기 팬(21)에 대한 컨트롤이 정상적으로 이루지지 않으므로 시스템을 녹이는 수준까지 내부온도가 상승할 수도 있다. 따라서 상기 마이컴(13)의 상태를 체크하여 상기한 바와 같은 위험을 줄일 수 있다.If the
이하 도 2를 참조하여 본 발명의 제어흐름을 설명한다.Hereinafter, the control flow of the present invention will be described with reference to FIG. 2.
상기 마이컴(13)은 시스템이 정상적으로 작동하는지 확인하기 위해 주기적으로 SMI 혹은 SCI와 같은 인터럽트를 발생하여(S11), 상기 인터럽트에 대한 응답이 있는지 체크한다(S13).The
상기 마이컴(13)이 SMI를 발생한 경우 상기 SMI 서비스 루틴이 마련된 상기 바이오스(15)가 비정상 상태에 있거나, 상기 CPU(11)의 비정상 상태로 인해 상기 CPU(11)가 상기 바이오스(15)에 마련된 SMI서비스 루틴을 실행하지 못하는 경우 상기 인터럽트에 대한 응답이 없을 것이다.When the
상기 마이컴(13)은 상기 인터럽트에 대한 응답이 없는 경우 카운터를 구동하여 상기 인터럽트에 대한 무응답 횟수를 체크한다(S15). 그리고 상기 인터럽트에 대한 무응답 횟수가 소정 횟수 이상인 경우(S17), 상기 마이컴(13)은 상기 전원공급부에 상기 CPU(11)에 대한 전원 공급을 중단시키는 시스템보호신호를 전달하여 시스템을 파워오프시킨다(S19).If there is no response to the interrupt, the
또한 상기 바이오스(15)도 시스템이 정상적으로 작동하는 지 알아보기 위해 주기적으로 상기 마이컴(13)에 커맨드를 보낸다(S21). 상기 바이오스(15)는 상기 커맨드에 대한 상기 마이컴(13)의 애크널리지를 체크하여(S23), 상기 마이컴(13)의 애크널리지를 받은 경우 상기 시스템을 정상상태로 판단한다.In addition, the
상기 마이컴(13)이 HANG과 같은 비정상 상태인 경우, 상기 바이오스(15)는 상기 마이컴(13)으부터 애크널리지를 받을 수 없다. 이 때 상기 바이오스(15)는 애크널리지가 없는 횟수를 측정하는 카운터를 구동하여(S25), 애크널리지가 없는 횟수를 체크한다. 소정 횟수 이상 상기 마이컴(13)으로부터 애크널리지가 없는 경우, 상기 바이오스(15)는 상기 전원공급부에 상기 시스템보호신호를 전달하여 시스템을 파워오프시킨다(S19).When the
이상 설명한 바는 본 발명의 일 실시예에 불과하며 본 발명이 이에 반드시 한정되는 것은 아니다. 마이컴(13)으로부터의 인터럽트와 바이오스(15)로부터의 커맨드는 각각 독립적으로 발생하도록 구성할 수 있으며, 바이오스(15)의 커맨드 발생이 마이컴(13)의 인터럽트 발생에 대한 응답여부에 반드시 종속되는 것은 아닐 것이다.What has been described above is only one embodiment of the present invention and the present invention is not necessarily limited thereto. The interrupt from the
이상 설명한 바와 같이, 본 발명에 따르면, 마이컴 혹은 시스템의 열제어 루틴이 비정상적인 동작을 하는 경우 시스템을 보호하는 컴퓨터 및 그 제어방법이 제공된다.As described above, according to the present invention, a computer and a method of controlling the same are provided to protect the system when the microcontroller or the thermal control routine of the system is abnormally operated.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020030050318A KR100628709B1 (en) | 2003-07-22 | 2003-07-22 | Computer and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020030050318A KR100628709B1 (en) | 2003-07-22 | 2003-07-22 | Computer and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20050011300A KR20050011300A (en) | 2005-01-29 |
KR100628709B1 true KR100628709B1 (en) | 2006-09-29 |
Family
ID=37223376
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020030050318A KR100628709B1 (en) | 2003-07-22 | 2003-07-22 | Computer and control method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100628709B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101345844B1 (en) * | 2006-08-22 | 2013-12-30 | 엘지전자 주식회사 | Computer with an Optical Disc Driver and Controlling Method thereof |
-
2003
- 2003-07-22 KR KR1020030050318A patent/KR100628709B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR20050011300A (en) | 2005-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6854064B2 (en) | ACPI complaint computer system and overtemperature protection method therefor | |
JP4448101B2 (en) | Electronic device cooling system, computer and cooling method | |
TW530198B (en) | Method for detecting temperature in notebook computer and device thereof | |
CN101639723B (en) | Heat dissipation system for computers | |
US5906315A (en) | Watchdog timer for controlling a cooling system | |
US9307145B2 (en) | Video camera with temperature sensor | |
US20150355651A1 (en) | Thermal watchdog process in host computer management and monitoring | |
US20110131400A1 (en) | Method and computer system for thermal throttling protection | |
JP4553307B2 (en) | Information processing apparatus, control method, and program | |
CN100485582C (en) | Control method of server fan | |
US7017062B2 (en) | Method and apparatus for recovering from an overheated microprocessor | |
KR100628709B1 (en) | Computer and control method thereof | |
CN110701084B (en) | Fan control method in electronic system | |
JP4008510B2 (en) | Electronics | |
TWI635401B (en) | Arm-based server and managenent method thereof | |
CN111190468A (en) | OPC interface heat dissipation device and method | |
JP3246186B2 (en) | Information processing device | |
KR100371461B1 (en) | Computer cooling system | |
TW201344404A (en) | Electronic device with overheat protection system and method for using the same | |
CN109491813B (en) | ARM architecture server and management method thereof | |
TWI396859B (en) | An electronic device and a method for detecting a cooling fan of the electronic device | |
KR100565482B1 (en) | Internet refrigerator's heat sensoring system and its operating method | |
KR100541438B1 (en) | Computer and control method thereof | |
JP2006085497A (en) | Cooling method, cooling system, and cooling program | |
JP2016181127A (en) | Usb fan device having usb power supply protection function |
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: 20120830 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20130829 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20140828 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20150828 Year of fee payment: 10 |
|
LAPS | Lapse due to unpaid annual fee |