TW201506601A - Smart automatic booting device - Google Patents

Smart automatic booting device Download PDF

Info

Publication number
TW201506601A
TW201506601A TW102127720A TW102127720A TW201506601A TW 201506601 A TW201506601 A TW 201506601A TW 102127720 A TW102127720 A TW 102127720A TW 102127720 A TW102127720 A TW 102127720A TW 201506601 A TW201506601 A TW 201506601A
Authority
TW
Taiwan
Prior art keywords
microcontroller
signal
power
chip
super
Prior art date
Application number
TW102127720A
Other languages
Chinese (zh)
Other versions
TWI505079B (en
Inventor
Kang-Wei Zhang
jin-quan Wei
Original Assignee
Caswell Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Caswell Inc filed Critical Caswell Inc
Priority to TW102127720A priority Critical patent/TW201506601A/en
Publication of TW201506601A publication Critical patent/TW201506601A/en
Application granted granted Critical
Publication of TWI505079B publication Critical patent/TWI505079B/zh

Links

Landscapes

  • Power Sources (AREA)

Abstract

This invention concerns a smart automatic booting device, which comprises a microcontroller; a south bridge chip connected to the microcontroller via a first signal circuit in order to transmit a software power control signal to the microcontroller; a power supply connected to the microcontroller via a second signal circuit in order to transmit a hardware power control signal to the microcontroller; and a Super I/O chip. When the second signal circuit bucks first and then the first signal circuit bucks, the microcontroller transmits a PWRBTN signal to the Super I/O chip when the power is restored. Then the Super I/O chip transmits a PS_ON# signal to the power supply, so that the power supply executes automatic booting procedure. As such, the system can thereby identify normal and abnormal power failure intelligently to enable constant automatic system reboot regardless the duration of power failure, such as accidental power failure.

Description

智慧型自動開機裝置 Intelligent automatic boot device

本發明係一種ATX規格電腦之智慧型自動開機裝置,尤指一種能使系統智慧地辨認正常斷電和不正常斷電之狀態,且不論不正常斷電(意外電源斷電)時間的長短皆能使系統自動開機之智慧型自動開機裝置。 The invention relates to an intelligent automatic starting device of an ATX specification computer, in particular to a state in which the system can intelligently recognize the state of normal power failure and abnormal power failure, and the length of time of abnormal power failure (unexpected power failure) A smart automatic boot device that enables the system to automatically power on.

按,現有電腦(如ATX規格,Advanced Technology eXpanding)開機時需按下電源開關來進行開機程序,當發生停電後又來電時,電腦之開機程序仍需按下手動開關(Power/硬體開關)以啟動電腦,如該電腦係用於展示或即時監控時,則將造成展示或監控上時間之延遲,或是機房內有多台電腦使用時,其啟動電腦程序需人為操作一一按每台電腦之電源開關開機,無法自動開機,亦缺乏便利性。 Press, the existing computer (such as ATX specification, Advanced Technology eXpanding) need to press the power switch to start the boot process. When a power failure occurs, the computer startup program still needs to press the manual switch (Power/hardware switch). In order to start the computer, if the computer is used for display or real-time monitoring, it will cause delay in display or monitoring, or when there are multiple computers in the computer room, the computer program needs to be manually operated one by one. The power switch of the computer is turned on, it cannot be turned on automatically, and it lacks convenience.

針對此問題,習知技術有以判斷電腦之電壓是否為0來解決斷電後復電之自動開機,若電腦之電壓降為0,表示被斷電,因此令電腦在復電時自動開機;請參閱第1A圖,係表示習知電腦斷電後其電壓之隨時間變化理論示意圖,如圖所示,當電腦維持其輸出電壓V之正常運作,而至斷電點A時,其電壓當瞬間降為V0(即電壓歸零),若設定當電壓歸零(V0)時,在復電時將啟動自動開機程序,令電源供應器開機,但由於電源供應器具有電容放電之現象,故實際上並不具有此壓降之理想狀態;而實際斷電後之壓降狀態如第1B圖所示,當電腦維持其輸出電壓V之正常運作,而至斷電點A時,其電壓將逐漸降為V0(即電壓歸零),若此電壓逐漸歸零(V0)之時間為t0,因此,對上述的方法改進為以設定經時間t0後而壓降歸零(V0)時,於其斷電後復電時將自動啟動開機程序,以此解決斷電後復電之電腦自動開機問題。 In response to this problem, the conventional technology has to determine whether the voltage of the computer is 0 to solve the automatic power-on after the power-off. If the voltage of the computer drops to 0, it means that the power is turned off, so that the computer automatically turns on when the power is restored; Please refer to FIG. 1A, which is a schematic diagram showing the theoretical change of voltage with time after the computer is powered off. As shown in the figure, when the computer maintains its normal operation of the output voltage V, and the voltage to the power-off point A, the voltage is Instantly reduce to V 0 (that is, the voltage is reset to zero). If the voltage is set to zero (V 0 ), the automatic power-on sequence will be started during the power-on, so that the power supply is turned on, but the power supply has a capacitor discharge phenomenon. Therefore, it does not actually have the ideal state of the voltage drop; and the voltage drop state after the actual power-off is as shown in FIG. 1B, when the computer maintains its normal operation of the output voltage V, and when it reaches the power-off point A, The voltage will gradually drop to V 0 (ie, the voltage is reset to zero). If the voltage gradually returns to zero (V 0 ), the time is t 0 . Therefore, the above method is improved to set the elapsed time t 0 and the voltage drop to zero. when (V 0), it initiates the startup procedure after power failure when automatic restoration, After the restoration of this solution off the computer automatically boot problems.

前述習知技術以調整電源供應器之放電時間雖可解決斷電後復電之自動開機,然,仍有其缺失存在,如第1B圖所示,當電腦於斷電點A時斷電,且於A1點復電,因其電壓尚未完全歸零(V0),且其斷電時間t1<t0,即斷電時間過短(時間差δt),此時因仍可偵測到電壓,系統會誤判為並未被斷電,如此在很短時間內斷電又復電之情況下,將導致誤判,無法使電源供應器啟動開機程序,顯非理想之設計。當然,此可令電源供應器廠商進行改善,即使電源供應器放電之時間縮短來加以解決,但由於電源供應器其廠牌規格甚多,若要求所有廠牌規格之電源供應器都進行改善,並不易做到,亦非較佳及有效益之解決方案。因此,如何解決習知斷電後復電之自動開機技術上之缺失問題,誠是業者研發、突破之重點方向。 The foregoing prior art can adjust the discharge time of the power supply to solve the automatic power-on of the power-on after the power-off. However, there is still a defect, as shown in FIG. 1B, when the computer is powered off at the power-off point A, And re-energize at point A1, because its voltage has not completely returned to zero (V 0 ), and its power-off time t 1 <t 0 , that is, the power-off time is too short (time difference δ t ), at this time still can be detected Voltage, the system will be mistakenly judged as not being powered off, so in the case of a short time out of power and re-power, it will lead to misjudgment, can not make the power supply start the boot process, showing a non-ideal design. Of course, this can be improved by the power supply manufacturer, even if the power supply discharge time is shortened to solve the problem, but because the power supply has a lot of brand specifications, if all the power supply specifications of the brand are required to be improved, It is not easy to do, and it is not a better and more effective solution. Therefore, how to solve the problem of the lack of automatic power-on technology after the power-off of the conventional power-off is a key direction for the industry to develop and break through.

緣此,本發明人有鑑於習知電腦斷電後復電其自動開機技術使用上之缺失問題及其結構設計上未臻理想之事實,本案創作人即著手研發構思其解決方案,希望能開發出一種更具便利性、簡易性且判斷正確性之智慧型自動開機裝置,以服務社會大眾及促進此業之發展,遂經多時之構思而有本發明之產生。 Therefore, the present inventors have in view of the fact that the use of the automatic power-on technology after the power-off of the computer is turned off, and the fact that the structural design is not ideal, the creator of the case started to develop and conceive its solution, hoping to develop A smart automatic boot device that is more convenient, simple, and correct in judgment, serves the public and promotes the development of the industry, and has the concept of the present invention.

本發明之目的在提供一種智慧型自動開機裝置,其能使系統智慧地辨認正常斷電和不正常斷電之狀態,且不論不正常斷電(意外電源斷電)時間的長短皆能使系統自動開機,進而達到具有極佳、正確性及安全性的開關機穩定功能,而得以積極提昇產品之使用品質及效率性者。 The object of the present invention is to provide a smart automatic starting device which can intelligently recognize the state of normal power failure and abnormal power failure, and can make the system irrespective of the abnormal power failure (unexpected power failure). Automatically turn on, and achieve the excellent, correct and safe switching machine stability function, and actively improve the quality and efficiency of the product.

本發明為了達成上述目的功效所採用之技術包括:一微控制器;一南橋晶片,其係以一第一信號線路連接該微控制器,用以傳輸一軟體電源控制訊號至該微控制器;一電源供應器,其係以一第二信號線路連接該微控制器,用以傳輸一硬體電源控制訊號至該微控制器;一Super I/O晶片,係與該微控制器與該電源供應器電性連結;於斷電時,該微控制器根據所接收到的軟體電源控制訊號與硬體電源控制訊號,若該硬體電源控制訊號之降壓早於該軟體電源控制訊號,則該微控制器判定為不正常關 機,此時該微控制器於復電時,將會傳輸一PWRBTN訊號至該Super I/O晶片,接著該Super I/O晶片會傳輸一PS_ON#訊號至該電源供應器,使該電源供應器執行自動開機之程序;若該軟體電源控制訊號之降壓早於該硬體電源控制訊號,則該微控制器判定為正常關機,此時該微控制器將不會傳輸PWRBTN訊號至該Super I/O晶片。 The technology used in the present invention to achieve the above object includes: a microcontroller; a south bridge chip connected to the microcontroller by a first signal line for transmitting a software power control signal to the microcontroller; a power supply connected to the microcontroller by a second signal line for transmitting a hardware power control signal to the microcontroller; a Super I/O chip coupled to the microcontroller The power supply is electrically connected; when the power is off, the microcontroller according to the received software power control signal and the hardware power control signal, if the hardware power control signal is stepped down earlier than the software power control signal, The microcontroller determines that it is not normal At this time, when the microcontroller is powered back, a PWRBTN signal will be transmitted to the Super I/O chip, and then the Super I/O chip will transmit a PS_ON# signal to the power supply to make the power supply. The device performs an automatic booting process; if the software power control signal is stepped earlier than the hardware power control signal, the microcontroller determines that the power is turned off normally, and the microcontroller will not transmit the PWRBTN signal to the Super I/O chip.

其中,該微控制器係以一信號線連接該Super I/O晶片,用以傳輸一PWRBTN訊號至該Super I/O晶片。 The microcontroller connects the Super I/O chip with a signal line for transmitting a PWRBTN signal to the Super I/O chip.

其中,該Super I/O晶片係以一第三信號線連接該電源供應器,用以傳輸一PS_ON#訊號至該電源供應器。 The Super I/O chip is connected to the power supply by a third signal line for transmitting a PS_ON# signal to the power supply.

其中,該微控制器與該Super I/O晶片係整合為一第二微控制器,該第二微控制器包括該微控制器與該Super I/O晶片。 The microcontroller and the Super I/O chip system are integrated into a second microcontroller, and the second microcontroller includes the microcontroller and the Super I/O chip.

其中,該第二微控制器內之微控制器以一連通電路與該Super I/O晶片電性連結,使該微控制器可藉該連通電路傳輸一PWRBTN訊號至該Super I/O晶片。 The microcontroller in the second microcontroller is electrically connected to the Super I/O chip by a connecting circuit, so that the microcontroller can transmit a PWRBTN signal to the Super I/O chip by using the connecting circuit.

其中,該軟體電源控制訊號係為一S3訊號、S4訊號或S5訊號。 The software power control signal is an S3 signal, an S4 signal or an S5 signal.

其中,該硬體電源控制訊號為一PWROK訊號。 The hardware power control signal is a PWROK signal.

其中,該微控制器係為一8位元微控制器,如Microchip Technology公司所製造的PIC12F675微控制器產品。 The microcontroller is an 8-bit microcontroller such as the PIC12F675 microcontroller manufactured by Microchip Technology.

茲為使 貴審查委員對本發明之技術特徵及所達成之功效更有進一步之了解與認識,謹佐以較佳之實施例圖及配合詳細之說明,說明如後: In order to give the reviewer a better understanding and understanding of the technical features of the present invention and the efficacies achieved, the following is a description of the preferred embodiment and a detailed description.

10‧‧‧微控制器 10‧‧‧Microcontroller

20‧‧‧南橋晶片 20‧‧‧Southbridge

30‧‧‧電源供應器 30‧‧‧Power supply

21‧‧‧第一信號線路 21‧‧‧First signal line

31‧‧‧第二信號線路 31‧‧‧Second signal line

11‧‧‧信號線 11‧‧‧ signal line

40‧‧‧Super I/O晶片 40‧‧‧Super I/O Chip

12‧‧‧第三信號線路 12‧‧‧ third signal line

第1A圖:為習知電腦斷電後其電壓隨時間變化理論示意圖。 Figure 1A: Schematic diagram of the voltage change with time after the computer is powered off.

第1B圖:為習知電腦斷電後其電壓隨時間變化實際示意圖。 Figure 1B: The actual schematic diagram of the voltage change with time after the computer is powered off.

第2圖:為本發明之架構示意圖。 Figure 2 is a schematic diagram of the architecture of the present invention.

第3A圖:為本發明正常關機之硬體電源控制訊號(以 PWROK訊號為例)之電壓,隨時間變化示意圖。 Figure 3A: The hardware power control signal for the normal shutdown of the present invention ( The voltage of the PWROK signal is an example, and the graph changes with time.

第3B圖:為本發明正常關機之軟體電源控制訊號(以S3訊號為例)之電壓,隨時間變化示意圖。 Figure 3B is a diagram showing the voltage of the software power control signal (taking the S3 signal as an example) of the normal shutdown of the present invention as a function of time.

第4A圖:為本發明不正常關機之硬體電源控制訊號(以PWROK訊號為例)之電壓,隨時間變化示意圖。 Figure 4A is a diagram showing the voltage of the hardware power control signal (using the PWROK signal as an example) of the abnormal shutdown of the present invention as a function of time.

第4B圖:為本發明不正常關機之軟體電源控制訊號(以S3訊號為例)之電壓,隨時間變化示意圖。 Fig. 4B is a diagram showing the voltage of the software power supply control signal (using the S3 signal as an example) of the abnormal shutdown of the present invention as a function of time.

請參閱第2圖,本發明智慧型自動開機裝置係包括有一微控制器10(如Microcontroller/MCU)、南橋晶片20(Southbridge)、電源供應器30(Power Supply)及一Super I/O晶片40(輸出輸入晶片),其係與該微控制器10與該電源供應器30電性連結,其電性連接構成係為:該南橋晶片20係以一第一信號線路21連接該微控制器10,該第一信號線路21係為一軟體電源控制訊號線路,用以傳輸軟體電源控制訊號,該傳輸軟體電源控制訊號係包括S3、S4或S5等訊號;該電源供應器30係以一第二信號線路31連接該微控制器10,該第二信號線路31係為一硬體電源控制訊號線路,用以傳輸硬體電源控制訊號,該硬體訊號係包括PWROK訊號,該PWROK訊號為表示電壓輸出正常的數位訊號,當電源供應器30輸出電壓穩定正常時,PWROK會送出正5伏特電壓的訊號;另該微控制器10並以一信號線11連接該Super I/O晶片40,用以傳輸一PWRBTN(power-on button啟動電源開關)訊號至該Super I/O晶片40,該Super I/O晶片40並以一第三信號線12連接該電源供應器30,用以傳輸一PS_ON#訊號(Power Supply ON訊號)至該電源供應器30,以令該電源供應器30啟動開關。 Referring to FIG. 2, the smart automatic boot device of the present invention includes a microcontroller 10 (such as a Microcontroller/MCU), a Southbridge 20 (Southbridge), a power supply 30 (Power Supply), and a Super I/O chip 40. The output of the microcontroller 10 is electrically connected to the power supply device 30. The electrical connection is configured such that the south bridge chip 20 is connected to the microcontroller 10 by a first signal line 21. The first signal line 21 is a software power control signal line for transmitting a software power control signal, and the transmission software power control signal includes a signal such as S3, S4 or S5; the power supply 30 is a second The signal line 31 is connected to the microcontroller 10. The second signal line 31 is a hardware power control signal line for transmitting a hardware power control signal. The hardware signal includes a PWROK signal, and the PWROK signal is a voltage. The normal digital signal is output. When the output voltage of the power supply 30 is stable, PWROK will send a positive 5 volt signal; the microcontroller 10 is connected to the Super I/O chip 40 by a signal line 11 for pass A PWRBTN (power-on button) is sent to the Super I/O chip 40. The Super I/O chip 40 is connected to the power supply 30 by a third signal line 12 for transmitting a PS_ON#. A signal (Power Supply ON signal) is sent to the power supply 30 to cause the power supply 30 to activate the switch.

該微控制器10係可為Microchip Technology公司所製的8位元微控制器:PIC12F675產品;該南橋晶片20係包含有周邊設備、多媒體和通訊介面功能,如PCI(Peripheral Components Interconnect)控制器、硬碟機或光碟機的ATA控制器、USB介面控制器、網路控制器介面、音效控制 器和數據機介面等,該南橋晶片20係可通過該第一信號線路21將該軟體電源控制訊號(例如S3、S4或S5)訊號傳輸至該微控制器10,其中,依照高級電源管理規範(ACPI,Advanced Configuration and Power Interface)中的定義,該S3訊號係為一待機(Suspend to RAM,簡寫為STR)狀態之訊號,S3狀態就是把系統進入STR前的工作狀態資料都存放到記憶體中去,在S3狀態下,電源仍然繼續為記憶體等最必要的設備供電,以確保資料不丟失,而其他設備均處於關閉狀態;該S4訊號係為一休眠(Suspend to Disk,簡寫為STD)狀態之訊號,此時系統主電源關閉,但是硬碟仍然帶電並可以被喚醒;該S5訊號係為一設備全部關閉訊號,此時其功耗為0。該電源供應器30係可通過該第二信號線路31將該PWROK訊號傳輸至該微控制器10。該微控制器10並以一信號線11連接該Super I/O晶片40,用以傳輸一PWRBTN訊號至該Super I/O晶片40,該Super I/O晶片40並以一第三信號線12連接該電源供應器30,用以傳輸一PS_ON#訊號至該電源供應器30,使該電源供應器30產生開機之程序運作。 The microcontroller 10 is an 8-bit microcontroller manufactured by Microchip Technology: PIC12F675; the Southbridge 20 Series includes peripherals, multimedia and communication interface functions such as PCI (Peripheral Components Interconnect) controllers. ATA controller for hard disk or CD player, USB interface controller, network controller interface, sound control The south bridge chip 20 can transmit the software power control signal (eg, S3, S4, or S5) signals to the microcontroller 10 through the first signal line 21, wherein, according to the advanced power management specification (ACPI, Advanced Configuration and Power Interface), the S3 signal is a standby (Suspend to RAM, abbreviated as STR) state signal, and the S3 state is to store the working state data before the system enters the STR into the memory. In the S3 state, the power supply continues to supply power to the most necessary devices such as memory to ensure that the data is not lost, while other devices are turned off; the S4 signal is a sleep (Suspend to Disk, abbreviated as STD) The status signal, when the system main power is off, but the hard disk is still powered and can be woken up; the S5 signal is a device all off signal, at which time its power consumption is zero. The power supply 30 can transmit the PWROK signal to the microcontroller 10 via the second signal line 31. The microcontroller 10 is connected to the Super I/O chip 40 by a signal line 11 for transmitting a PWRBTN signal to the Super I/O chip 40. The Super I/O chip 40 is connected to a third signal line 12. The power supply 30 is connected to transmit a PS_ON# signal to the power supply 30, so that the power supply 30 generates a booting operation.

以下說明當正常關機時之情況,請一併參閱第3A、3B圖,第3A圖為本發明正常關機之硬體電源控制訊號(以PWROK訊號為例)之電壓,隨時間變化示意圖,第3B圖為本發明正常關機之軟體電源控制訊號(以S3訊號為例)之電壓,隨時間變化示意圖,當正常關機時,係由軟體觸發關機程序開始,請參照第3B圖,通過電腦軟體開關之關機,電腦之軟體電源控制訊號(例如S3、S4或S5訊號,本圖以S3訊號為例)之電壓會降為0,如第3B圖所示,因軟體在0.2秒時關機而使該S3訊號之電壓降為0,本裝置該南橋晶片20藉由該第一信號線路21輸出該軟體電源控制訊號(例如S3、S4或S5訊號,本圖以S3訊號為例)至該微控制器10;之後,該電源供應器30會斷電完成關機程序,當該電源供應器30斷電時,該硬體電源控制訊號(以PWROK訊號為例)之電壓會瞬間降為0(如第3A圖所示之0.3秒時,該PWROK訊號之電壓降為0),同時該電源供應器30將藉由該第二信號線路31輸出一硬體電源控制訊號(以PWROK訊號為例)至該微控制器10;由此 可知,在正常關機時之情況下,軟體電源控制訊號之電壓會先降壓,然後軟體電源控制訊號之電壓再降壓,本發明據此,該微控制器10根據所接收到的軟體電源控制訊號與硬體電源控制訊號,若該軟體電源控制訊號之降壓早於該硬體電源控制訊號,則該微控制器10判定為正常關機(非意外斷電狀態),此時該微控制器10將不會傳輸PWRBTN訊號至該Super I/O晶片40,即保持該電腦系統之關機狀態。 The following describes the situation when the power is turned off normally. Please refer to the 3A and 3B diagrams together. The 3A is the voltage of the normal power-off control signal (using the PWROK signal as an example) of the normal shutdown of the present invention. The figure shows the voltage of the software power control signal (taking the S3 signal as an example) of the normal shutdown of the invention, and changes with time. When the system is normally shut down, the software starts the shutdown process. Please refer to the 3B figure and pass the computer software switch. Shutdown, the computer's software power control signal (such as S3, S4 or S5 signal, this picture takes S3 signal as an example) the voltage will drop to 0, as shown in Figure 3B, because the software shuts down at 0.2 seconds to make the S3 The voltage drop of the signal is 0, and the south bridge chip 20 outputs the software power control signal (for example, S3, S4 or S5 signals, for example, the S3 signal) to the microcontroller 10 via the first signal line 21. After that, the power supply 30 will be powered off to complete the shutdown process. When the power supply 30 is powered off, the voltage of the hardware power control signal (taking the PWROK signal as an example) will instantaneously drop to 0 (as shown in FIG. 3A). At the 0.3 second shown, the power of the PWROK signal The voltage drop is 0), and the power supply 30 will output a hardware power control signal (taking the PWROK signal as an example) to the microcontroller 10 via the second signal line 31; It can be seen that, in the case of normal shutdown, the voltage of the software power control signal is stepped down first, and then the voltage of the software power control signal is stepped down again. According to the present invention, the microcontroller 10 is controlled according to the received software power supply. The signal and the hardware power control signal, if the software power control signal is stepped earlier than the hardware power control signal, the microcontroller 10 determines that the power is off (non-unexpected power-off state), at this time the microcontroller 10 will not transmit the PWRBTN signal to the Super I/O chip 40, that is, keep the computer system turned off.

以下說明當不正常關機時之情況,請一併參閱第4A、4B圖,第4A圖為本發明不正常關機之硬體電源控制訊號(以PWROK訊號為例)之電壓,隨時間變化示意圖,第4B圖為本發明不正常關機之軟體電源控制訊號(以S3訊號為例)之電壓,隨時間變化示意圖。當不正常關機時,例如打雷突然的高壓造成斷電,或是颱風地震破壞供電線路造成斷電等,該電源供應器30會斷電,當該電源供應器30斷電時,該硬體電源控制訊號(以PWROK訊號為例)之電壓會瞬間降為0(如第4A圖所示之0.2秒時,該PWROK訊號之電壓降為0),並同時該電源供應器30將藉由該第二信號線路31輸出一硬體電源控制訊號(以PWROK訊號為例)至該微控制器10之後,電腦之軟體電源控制訊號(例如S3、S4或S5訊號,本圖以S3訊號為例)之電壓會降為0,如第4B圖所示,在0.3秒時該S3訊號之電壓降為0,本裝置該南橋晶片20藉由該第一信號線路21輸出該軟體電源控制訊號(例如S3、S4或S5訊號,本圖以S3訊號為例)至該微控制器10;由此可知,在不正常關機時之情況下,硬體電源控制訊號之電壓會先降壓,然後硬體電源控制訊號之電壓再降壓,本發明據此,該微控制器10根據所接收到的軟體電源控制訊號與硬體電源控制訊號,若該硬體電源控制訊號之降壓早於該軟體電源控制訊號,則該微控制器10判定為不正常關機(意外斷電狀態),此時該微控制器10於復電時,將會傳輸一PWRBTN訊號至該Super I/O晶片40,接著該Super I/O晶片40傳輸一PS_ON#訊號至該電源供應器30,使該電源供應器30執行自動開機之程序。 The following describes the situation when the power is turned off abnormally. Please refer to FIG. 4A and FIG. 4B together. FIG. 4A is a diagram showing the voltage of the hardware power control signal (taking the PWROK signal as an example) of the abnormal shutdown of the present invention as a function of time. FIG. 4B is a schematic diagram showing the voltage of the software power control signal (taking the S3 signal as an example) of the abnormal shutdown of the present invention as a function of time. When the power is turned off abnormally, for example, a sudden high voltage caused by a lightning strike causes a power failure, or a typhoon earthquake destroys the power supply line to cause a power failure, the power supply 30 is powered off, and when the power supply 30 is powered off, the hardware power supply is turned off. The voltage of the control signal (taking the PWROK signal as an example) is instantaneously reduced to 0 (as the 0.2 second shown in Figure 4A, the voltage drop of the PWROK signal is 0), and at the same time the power supply 30 will be The two signal lines 31 output a hardware power control signal (taking the PWROK signal as an example) to the microcontroller 10, and the software power control signal of the computer (for example, S3, S4 or S5 signals, this figure takes the S3 signal as an example) The voltage is reduced to 0. As shown in FIG. 4B, the voltage drop of the S3 signal is 0 at 0.3 seconds, and the south bridge chip 20 outputs the software power control signal (for example, S3, by the first signal line 21). S4 or S5 signal, this figure takes the S3 signal as an example) to the microcontroller 10; thus, it can be seen that in the case of abnormal shutdown, the voltage of the hardware power control signal will be stepped down first, then the hardware power control The voltage of the signal is stepped down again, and according to the present invention, the microcontroller 10 is based on Receiving the software power control signal and the hardware power control signal, if the hardware power control signal is stepped earlier than the software power control signal, the microcontroller 10 determines that the power is off (unexpected power off state), At this time, when the microcontroller 10 is powered back, a PWRBTN signal is transmitted to the Super I/O chip 40, and then the Super I/O chip 40 transmits a PS_ON# signal to the power supply 30 to enable the power supply. The supplier 30 executes an automatic boot process.

前述硬體電源控制訊號(以PWROK訊號為例),其係為一數 位訊號,當其電容下降值約達原電容之5%時,該訊號之電壓即直接降為0,因此以該硬體電源控制訊號之電壓來判別電腦是否關機,會非常精準,不會如習知技術以電腦之電壓來判別電腦是否關機,會受到電容殘餘值之電壓影響而出現判別不精準之情況。 The aforementioned hardware power control signal (taking the PWROK signal as an example), the system is a number Bit signal, when the capacitance drop value is about 5% of the original capacitance, the voltage of the signal is directly reduced to 0. Therefore, it is very accurate to judge whether the computer is turned off by the voltage of the hardware power control signal. The conventional technology uses the voltage of the computer to determine whether the computer is turned off, and may be affected by the voltage of the residual value of the capacitor, and the discriminating is not accurate.

其中,該微控制器10與該Super I/O晶片40係可整合為一第二微控制器,該第二微控制器包括該微控制器10與該Super I/O晶片40。該第二微控制器內之微控制器10以一連通電路與該Super I/O晶片40電性連結,使該微控制器10可藉該連通電路傳輸一PWRBTN訊號至該Super I/O晶片。 The microcontroller 10 and the Super I/O chip 40 can be integrated into a second microcontroller, and the second microcontroller includes the microcontroller 10 and the Super I/O wafer 40. The microcontroller 10 in the second microcontroller is electrically coupled to the Super I/O chip 40 by a communication circuit, so that the microcontroller 10 can transmit a PWRBTN signal to the Super I/O chip through the communication circuit. .

本發明智慧型自動開機裝置當進行運作時,其係通過偵測硬體電源控制訊號與軟體電源控制訊號之電壓,並經傳輸至該微控制器10以進行判斷,以確定電腦系統之斷電係屬正常關機(非意外斷電狀態)或判定為不正常關機(即其為意外斷電),再經該微控制器10來訊號控制該電源供應器30完成自動開機之操作。 When the intelligent automatic booting device of the present invention operates, it detects the voltage of the hardware power control signal and the software power control signal, and transmits the voltage to the microcontroller 10 for judgment to determine the power failure of the computer system. The system is normally shut down (non-unexpected power-off state) or determined to be abnormally shut down (ie, it is an unexpected power-off), and then the microcontroller 10 is used to signal the power supply 30 to complete the automatic power-on operation.

本發明智慧型自動開機裝置藉由前述構成,能使系統智慧地辨認正常斷電和不正常斷電之狀態,讓系統於復電時該開機的時候開機,該關機的時候關機,且不論不正常斷電(意外電源斷電)的時間多麼短暫,都能使系統於復電時自動開機,進而達到具有極佳、正確性及安全性的開關機穩定功能,而得以積極提昇產品之使用品質及效率性。 According to the foregoing configuration, the intelligent automatic booting device can intelligently recognize the state of normal power failure and abnormal power off, and enable the system to be turned on when the power is turned on during the power-on, and shut down when the power is turned off, and The short time of normal power failure (unexpected power failure) can make the system automatically turn on when the power is restored, so as to achieve the stability and stability of the switch with excellent, correct and safe performance, and actively improve the quality of use of the product. And efficiency.

綜上所述,本發明確實為一相當優異之創思,爰依法提出創作專利申請;惟上述說明之內容,僅為本發明之較佳實施例而已,舉凡依本創作之技術手段所延伸之變化,理應落入本發明之專利申請範圍。 In summary, the present invention is indeed a rather excellent invention, and a patent application is filed according to law; however, the above description is only a preferred embodiment of the present invention, and is extended by the technical means of the present invention. Changes are intended to fall within the scope of the patent application of the present invention.

10‧‧‧微控制器 10‧‧‧Microcontroller

20‧‧‧南橋晶片 20‧‧‧Southbridge

30‧‧‧電源供應器 30‧‧‧Power supply

21‧‧‧第一信號線路 21‧‧‧First signal line

31‧‧‧第二信號線路 31‧‧‧Second signal line

11‧‧‧信號線 11‧‧‧ signal line

40‧‧‧Super I/O晶片 40‧‧‧Super I/O Chip

12‧‧‧第三信號線路 12‧‧‧ third signal line

Claims (10)

一種智慧型自動開機裝置,係包括有:一微控制器;一南橋晶片,其係以一第一信號線路連接該微控制器,用以傳輸一軟體電源控制訊號至該微控制器;一電源供應器,其係以一第二信號線路連接該微控制器,用以傳輸一硬體電源控制訊號至該微控制器;一Super I/O晶片,係與該微控制器與該電源供應器電性連結;於斷電時,該微控制器根據所接收到的軟體電源控制訊號與硬體電源控制訊號,若該硬體電源控制訊號之降壓早於該軟體電源控制訊號,則該微控制器判定為不正常關機,此時該微控制器於復電時,將會傳輸一PWRBTN訊號至該Super I/O晶片,接著該Super I/O晶片會傳輸一PS_ON#訊號至該電源供應器,使該電源供應器執行自動開機之程序;若該軟體電源控制訊號之降壓早於該硬體電源控制訊號,則該微控制器判定為正常關機,此時該微控制器將不會傳輸PWRBTN訊號至該Super I/O晶片。 A smart automatic booting device includes: a microcontroller; a south bridge chip connected to the microcontroller by a first signal line for transmitting a software power control signal to the microcontroller; a supplier connected to the microcontroller by a second signal line for transmitting a hardware power control signal to the microcontroller; a Super I/O chip coupled to the microcontroller and the power supply Electrically connected; the microcontroller according to the received software power control signal and the hardware power control signal when the power is off, if the hardware power control signal is stepped earlier than the software power control signal, then the micro The controller determines that the shutdown is abnormal. At this time, the microcontroller will transmit a PWRBTN signal to the Super I/O chip upon power-on, and then the Super I/O chip transmits a PS_ON# signal to the power supply. The power supply is configured to perform an automatic power-on procedure; if the software power control signal is stepped earlier than the hardware power control signal, the microcontroller determines that the power is off, and the microcontroller will not pass PWRBTN signal to the Super I / O chip. 如申請專利範圍第1項所述之智慧型自動開機裝置,其中該微控制器係以一信號線連接該Super I/O晶片,用以傳輸一PWRBTN訊號至該Super I/O晶片。 The smart automatic boot device of claim 1, wherein the microcontroller connects the Super I/O chip with a signal line for transmitting a PWRBTN signal to the Super I/O chip. 如申請專利範圍第1項所述之智慧型自動開機裝置,其中該Super I/O晶片係以一第三信號線連接該電源供應器,用以傳輸一PS_ON#訊號至該電源供應器。 The smart automatic booting device of claim 1, wherein the Super I/O chip is connected to the power supply by a third signal line for transmitting a PS_ON# signal to the power supply. 如申請專利範圍第1項所述之智慧型自動開機裝置,其中該微控制器與該Super I/O晶片係整合為一第二微控制器,該第二微控制器包括該微控制器與該Super I/O晶片。 The smart automatic boot device of claim 1, wherein the microcontroller and the Super I/O chip system are integrated into a second microcontroller, the second microcontroller including the microcontroller and The Super I/O chip. 如申請專利範圍第4項所述之智慧型自動開機裝置,其中該第二微控制器內之微控制器以一連通電路與該Super I/O晶片電性連結,使該微控制器可藉該連通電路傳輸一PWRBTN訊號至該Super I/O晶片。 The smart automatic booting device according to claim 4, wherein the microcontroller in the second microcontroller is electrically connected to the Super I/O chip by a connecting circuit, so that the microcontroller can borrow The connected circuit transmits a PWRBTN signal to the Super I/O chip. 如申請專利範圍第1項所述之智慧型自動開機裝置,其中該軟體電源控制訊號係為一S3訊號。 The smart automatic power-on device according to claim 1, wherein the software power control signal is an S3 signal. 如申請專利範圍第1項所述之智慧型自動開機裝置,其中該軟體電源控制訊號係為一S4訊號。 The smart automatic power-on device according to claim 1, wherein the software power control signal is an S4 signal. 如申請專利範圍第1項所述之智慧型自動開機裝置,其中該軟體電源控制訊號係為一S5訊號。 The smart automatic power-on device according to claim 1, wherein the software power control signal is an S5 signal. 如申請專利範圍第1項所述之智慧型自動開機裝置,其中該硬體電源控制訊號為一PWROK訊號。 The smart automatic power-on device according to claim 1, wherein the hardware power control signal is a PWROK signal. 如申請專利範圍第1項所述之智慧型自動開機裝置,其中該微控制器係為一8位元微控制器。 The smart automatic boot device of claim 1, wherein the microcontroller is an 8-bit microcontroller.
TW102127720A 2013-08-02 2013-08-02 Smart automatic booting device TW201506601A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102127720A TW201506601A (en) 2013-08-02 2013-08-02 Smart automatic booting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102127720A TW201506601A (en) 2013-08-02 2013-08-02 Smart automatic booting device

Publications (2)

Publication Number Publication Date
TW201506601A true TW201506601A (en) 2015-02-16
TWI505079B TWI505079B (en) 2015-10-21

Family

ID=53019372

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102127720A TW201506601A (en) 2013-08-02 2013-08-02 Smart automatic booting device

Country Status (1)

Country Link
TW (1) TW201506601A (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1251051C (en) * 2003-04-09 2006-04-12 联想(北京)有限公司 Method and apparatus for rousing computer
US7363518B2 (en) * 2004-07-22 2008-04-22 Dell Products L.P. Information handling system with power fault protection circuit
TWI375149B (en) * 2008-06-13 2012-10-21 Hon Hai Prec Ind Co Ltd Overvoltage protection circuit
TWI408604B (en) * 2009-06-26 2013-09-11 Pegatron Corp Peripheral control module, computer and operation method thereof

Also Published As

Publication number Publication date
TWI505079B (en) 2015-10-21

Similar Documents

Publication Publication Date Title
TWI510903B (en) Computer system and data recovery method thereof
KR101623756B1 (en) A method for interrupting power supply in an apparatus for interrupting power supply utilizing the voltage supplied to the system memory
JP2004152304A (en) System and method for holding state data of personal computer in standby state at ac power supply failure
EP2372491B1 (en) Power lock-up setting method and electronic apparatus using the same
US20080215868A1 (en) Bios management device and method for manging bios setting value
TWI475364B (en) Computer apparatus and resetting method for real time clock thereof
CN104536551A (en) Method and device for clearing away information on complementary metal oxide semiconductor (CMOS)
CN102437917B (en) A kind of network wake-up method, network wake-up device and computer
US10394307B2 (en) Information processing apparatus, information processing method, and program
TW515995B (en) Method allowing to configure computer system as wake on LAN
TW201430541A (en) Power management circuit, server and power management method thereof
TW201445296A (en) Sleep status controlling system, computer system, and sleep status detecting method thereof
TWI693513B (en) Server system and power saving method thereof
WO2016019710A1 (en) Method and device for operating set-top box, and set-top box
TW202125156A (en) Method of providing power in standby phase
WO2005071531A1 (en) A method and device for start up computer
US9672048B2 (en) Electronic device and method for waking up operating system thereof
US9570922B2 (en) Charging method and electronic device
TW202209046A (en) Portable electronic device
US8954717B2 (en) System capable of booting through a universal serial bus device and method thereof
CN104345850B (en) Intelligent auto power on device
TW201506601A (en) Smart automatic booting device
TWI631458B (en) Motherboard and computer system thereof
TWI720615B (en) Computer device and shutdown and reboot controlling method thereof
TWI468913B (en) Computer system and method for starting and setting computer system