M298173 八、新型說明: 【新型所屬之技術領域】 本創作係關於一種電源管控裝置,尤其是關於一種控 制電腦電源之開啟與關閉,以及開機與關機之電腦電源管 控裝置。 【先前技術】 在過去AT( advanced technology )電源形式之電腦(以 > 下簡稱AT電腦)時代,電源的開啟或關閉,皆須藉由電M298173 VIII. New Description: [New Technology Field] This creation is about a power control device, especially for a computer power supply control device that controls the power on and off of the computer and the power on and off. [Prior Art] In the era of AT (advanced technology) power supply computers (in the case of > AT), the power supply must be turned on or off.
源供應器之電源開關加以控制。由於該電源開關通常設於 電腦主機後方,故在使用上係相當不便。為改善此等缺點, 後來有以 ATX (advanced technology extended)電源形式 之電腦產生(以下簡稱ATX電腦)’該種電腦配合電腦主 機板相關電路之設置以及基本輸入輸出系統(basic input output system,BIOS)的設定,使電腦得藉由軟體關機, _ 但該電腦關機後,系統電源並未完全關閉,而係藉由+5VSB 提供電腦一預定電壓之電源而進入待機狀態。此時可透過 該待機電源使電腦得接收由鍵盤、滑鼠、數據機或網路等 喚醒系統所傳來之控制訊號,使電腦進行開機的動作。 習知鍵盤電源控制系統如第一圖所示,其包括一電腦 鍵盤11,電腦鍵盤11與電腦主機板13上所設之一控制線 路12相連接,主機板13則與ATX電源14相連接,並由 ATX電源14提供電力來源。使用者欲開關電腦時,可由 M298173 電腦鍵盤11輸入預定之按鍵組合,而後藉由控制電路12 加以比對判斷,其比對結果若係正確,則產生一高脈衝訊 號給主機板13,再由主機板13將電源開啟或關閉訊號傳 送給ATX電源14,令ATX電源14開啟或關閉電源。因此, 無論係前述喚醒系統或其他喚醒系統,皆係將電腦鍵盤11 之按鍵訊號傳送至主機板上,再由主機板對電源供應器進 行控制的動作。假若該電腦主機板並未設有前述控制電 路,則由鍵盤控制電源的目的即無法達成。 【新型内容】 為改善習知利用鍵盤控制電腦電源開關時,必須於電 腦主機板上設置以相對應功能的控制電路,而使鍵盤控制 應用性受限制的缺點,本創作將提供一種於電腦主機外所 設置之電腦電源管控裝置,使無論所接設之電腦係AT或 ATX電腦,亦不管其主機板是否設有習知之控制電路,皆 得透過本創作之電腦電源官控裝置控制電腦電源之開關以 及開機、關機等動作,使本創作得適用於任何機型之電腦, 而具有廣泛之應用性與方便性。 基於上述目的,本創作提供一種利用電腦鍵盤管控電 腦其電源開啟與關閉狀態之電腦電源管控裝置,其包括: 一電源控制單元,該電源控制單元可與一外部電源與一電 腦電源相連接,藉以開啟或關閉提供該電腦電源之電力; 一鍵盤切換電路,該鍵盤切換電路可與一電腦鍵盤與一電 腦鍵盤接頭相連接,藉以傳輸該電腦鍵盤所按下之按鍵訊 M298173 號;以及一鍵盤訊號處理單元,該鍵盤訊號處理單元係分 " 別與該電源控制單元以及該鍵盤切換電路相連接,該鍵盤 訊號處理單元係比對該鍵盤切換電路所傳來之該按鍵訊 號,並依比對結果令該電源控制單元開啟或關閉其所接設 之該電腦電源。 * 其中,該鍵盤訊號處理單元可包括一微處理器、一鍵 - 盤解碼電路與一鍵盤編碼電路,該微處理器係與該電源控 制單元相連接,而該鍵盤解碼電路與該鍵盤編碼電路則係 ϋ 分別連接於該微處理器與該鍵盤切換電路之間。該電源控 制單元則可包括一電源供應電路與一電源控制電路,該電 源供應電路與該電源控制電路係相連接,並分別與該鍵盤 訊號處理單元相連接。此外,該鍵盤切換電路包括一 PS/2 鍵盤切換電路與一 USB鍵盤切換電路,該PS/2鍵盤切換 電路與該USB鍵盤切換電路連接有一 USB轉PS/2鍵盤電 路,該PS/2鍵盤切換電路並分別與該鍵盤訊號處理單元所 設之該鍵盤解碼電路與該键盤編碼電路相連接。 參 藉由本創作,由該電腦鍵盤輸入設定之按鍵組合,經 鍵盤訊號處理單元比對之後,若係正確之電源開啟按鍵組 合,則令該電源控制單元開啟電源電路,則電腦電源開啟 後可進行開機動作。由於電腦的電源可完全透過本創作裝 置中電源控制單元控制,故AT與ATX電腦皆有得適用。 另一方面,若係ATX電腦,則可由鍵盤訊號處理單元直接 將開機控制訊號傳回鍵盤切換電路,再藉由具有鍵盤喚醒 功能之主機板進行開機,或直接將開機控制訊號傳送給電 7 M298173 腦上所設其他之喚醒單元,喚醒電腦進行開機。 此外,若欲關閉電腦電源,則同樣由該電腦鍵盤輸入 設定之按鍵組合,經鍵盤訊號處理單元比對之後,若係正 確之電源Μ按鍵組合,齡該電源控制單元關電腦電 源。 * 以下將配合圖式進一步說明本創作的實施方式,下述 所^舉的貫施例制以闡明本創作,並非用以較本創作 之粑圍’任何熟習此技藝者,在不脫離本創作之精神和範 圍内,當可做些許更動與潤飾,因此本創作之保護範圍當 視後附之申請專利範圍所界定者為準。 【實施方式】 第二圖’該_本創作實施例之方塊 ==腦,管控裳置,包括_電源控制單元21、一 理22與—鍵盤切換電路23。鍵盤訊號處 係連接於電源控制單元21與鍵盤 間4料進—步接料-電壓轉換電路24。 電參閱第二圖,電源控制單元21之-端可盘外部 包源40相連接,透過電 電源40之…一二:制早兀21之控制,可使外部 之電腦·、/51 + [ $或停止傳送至電腦%上所連接 ^电源51令,精以控制提供該電腦電源之電力。 鍵盤切換電路23,其可盥+啊 將電腦鍵盤30所按下之按鍵盤3G相連接’藉以 、、、3 ^號,傳送至鍵盤訊號處 M298173 理單元22中進行比對。鍵盤切換電路23同時亦可連接至 電腦鍵盤接頭53,而同時將按鍵訊號傳送給電腦50。 鍵盤訊號處理單元22,其係對鍵盤切換電路23所傳 來之按鍵組合訊號進行解碼與比對,倘比對結果係正確之 電源開啟訊號,則令電源控制單元21開啟電源,使外部電 源40之電力傳送至電腦電源51,而開啟電腦50之電源, 而後續行開機的動作。當本創作利用於AT電腦時,由於 其係在電源供應器之電源開關外設置,故可於電源供應器 ► 開關開啟之情況下接設到本創作裝置上,將本創作裝置當 作電源開關進行控制,故本創作得適用之電腦,並不限於 目前最普遍之ATX電腦,即便是AT電腦,亦有其適用。 另一方面若係利用於ATX電腦,且該ATX電腦主機 板設有鍵盤喚醒(wake on keyboard, WOK)功能時,亦可 由鍵盤訊號處理單元22進一步將按鍵訊號加以編碼並回 傳至鍵盤切換電路23,再進一步傳送至電腦鍵盤接頭53 所連接之主機板,進行開機的動作。倘該電腦並無WOK , 功能時,則可將鍵盤訊號處理單元22藉由一電壓轉換電路 24連接至電腦50上所設其他電腦喚醒單元52,例如鈴聲 喚醒單元(wake on ring, WOR),進而喚醒電腦進行開機 的動作。 請參閱第三圖,該圖係本創作另一實施例之方塊示意 圖。鍵盤訊號處理單元22,可包括一微處理器221、一鍵 盤解碼電路222與一鍵盤編碼電路223。其中,微處理器 221係與電源控制單元21相連接,而鍵盤解碼電路222與 9 M298173 鍵盤編碼電路223則係分別連接於微處理器221與鍵盤切 換電路23之間。鍵盤訊號處理單元22所設之微處理器221 進一步可連接有一電壓轉換電路24,而電壓轉換電路24 則可連接至一電腦喚醒單元52。若鍵盤訊號處理單元22 之比對結果係一開機訊號,則透過電壓轉換電路24,可傳 送一控制訊號至該電壓轉換電路24所連接之一電腦喚醒 單元52上,使所接設之電腦50開機。 請同時參閱第三圖與第四圖,第四圖係本創作實施例 ► 裝置與電腦、鍵盤連接之示意圖。電源控制單元21,則可 包括一電源供應電路211與一電源控制電路212,電源供 應電路211與電源控制電路212係相連接,並分別與鍵盤 訊號處理單元22所設之微處理器221相連接。電源供應電 路211連接有一電源輸入插座2101,可藉由一電源線41 與外部電源40相連接。而電源控制電路212則進一步連接 有一電源輸出插座2102,可將原電腦之電源連接線511插 設於此。 > 此外,鍵盤切換電路23則可配合所接設電腦鍵盤介面 之種類,而可單獨或同時設有一 PS/2鍵盤切換電路231與 一 USB鍵盤切換電路232。PS/2鍵盤切換電路231與USB 鍵盤切換電路232若係分別單獨設置時,其個別並與鍵盤 解碼電路222與鍵盤編碼電路223相連接。若PS/2鍵盤切 換電路231與USB鍵盤切換電路232係同時設置,可於 PS/2鍵盤切換電路231與USB鍵盤切換電路233間可進一 步連接有一 USB轉PS/2鍵盤電路233。此時,PS/2鍵盤 10 M298173 切換電路231連接有一 PS/2輸入接頭2301,可將PS/2電 腦鍵盤31之鍵盤連接線301插設於此。PS/2鍵盤切換電 路231同時連接有一 PS/2輸出接頭2302,可插設以一 PS/2 連接線302後,連接插設至電腦50之電腦PS/2鍵盤接頭 531中。另一方面,USB鍵盤切換電路232可連接有一 USB 輸入接頭2303,而將USB電腦鍵盤32之鍵盤連接線(圖 中未示)插設於此。USB鍵盤切換電路232同時可連接有 一 USB輸出接頭2304,其可插設以一 USB連接線(圖中 未示)後,連接插設至電腦50之電腦USB鍵盤接頭532 中 〇 藉由本創作電源管控裝置20,無論其係接設PS/2電 腦鍵盤31或USB電腦鍵盤32,其所輸入之按鍵組合,由 PS/2鍵盤切換電路231傳送至鍵盤解碼電路222中,將按 鍵輸入加以解碼後則透過微處理器221進行訊號比對,倘 比對結果係正確之電源開啟按鍵組合,則令電源控制電路 212開啟電源,而將外部電源40之電力傳輸至電腦電源51 • 中開啟電源,並進而進行開機動作。倘比對結果係正確之 電源關閉按鍵組合,則令電源控制電路212關閉啟電源, 使電腦50電源關閉。其餘喚醒電腦並開機之作動則同前 述。因此,透過本創作電源管控裝置,可輕易透過電腦鍵 盤預定之按鍵組合,達到控制電腦電源開啟與關閉,以及 開機、關機等目的,並藉由僅僅單一之裝置適用於各種型 式的電腦或鍵盤類型,而具有最廣泛之應用性。 M298173 【圖式簡單說明】 第一圖係習知利用鍵盤按鍵訊號管控電腦電源之方塊示意 圖。 第二圖係本創作實施例之方塊示意圖。 第三圖係本創作另一實施例之方塊示意圖。 第四圖係本創作實施例裝置與電腦、鍵盤連接之示意圖。 【主要元件符號說明】 11 電腦鍵盤 12 控制線路 13 主機板 14 ATX電源 20 電腦電源管控裝置 21 電源控制單元 2101 電源輸入插座 2102 電源輸出插座 211 電源供應電路 212 電源控制電路 22 鍵盤訊號處理單元 221 微處理器 222 鍵盤解碼電路 223 鍵盤編碼電路 23 鍵盤切換電路 2301 PS/2輸入接頭 2302 PS/2輸出接頭 2303 USB輸入接頭 2304 USB輸出接頭 231 PS/2鍵盤切換電路 232 USB鍵盤切換電路 233 USB轉PS/2鍵盤電路 24 電壓轉換電路 30 電腦鍵盤 M298173 301 鍵盤連接線 302 PS/2連接線 31 PS/2電腦鍵盤 32 USB電腦鍵盤 40 外部電源 41 電源線 50 電腦主機 51 電腦電源 511 電源連接線 52 電腦喚醒單元 53 電腦鍵盤接頭 531 電腦PS/2鍵盤接頭 532 電腦USB鍵盤接頭The power switch of the source supply is controlled. Since the power switch is usually located behind the host computer, it is quite inconvenient to use. In order to improve these shortcomings, there was a computer generated by ATX (advanced technology extended) power supply (hereinafter referred to as ATX computer). The computer is equipped with the computer circuit board related circuit settings and the basic input output system (basic input output system, BIOS). The setting allows the computer to be shut down by software, _ but after the computer is turned off, the system power is not completely turned off, and the computer supplies a predetermined voltage to the standby state by +5VSB. At this time, the standby power supply can be used to enable the computer to receive the control signal transmitted by the keyboard, the mouse, the data machine, or the network to wake up the system, so that the computer can be turned on. As shown in the first figure, the conventional keyboard power control system includes a computer keyboard 11 connected to a control circuit 12 provided on the computer motherboard 13, and the motherboard 13 is connected to the ATX power supply 14. A source of power is provided by the ATX power source 14. When the user wants to switch the computer, the predetermined key combination can be input by the M298173 computer keyboard 11, and then compared by the control circuit 12, if the comparison result is correct, a high pulse signal is generated to the motherboard 13, and then The motherboard 13 transmits a power on or off signal to the ATX power source 14 to turn the ATX power source 14 on or off. Therefore, regardless of whether the wake-up system or other wake-up system is used, the button signal of the computer keyboard 11 is transmitted to the motherboard, and then the power supply is controlled by the motherboard. If the computer motherboard does not have the aforementioned control circuit, the purpose of controlling the power by the keyboard cannot be achieved. [New content] In order to improve the conventional use of the keyboard to control the computer power switch, it is necessary to set the control circuit corresponding to the function on the computer motherboard, and the keyboard control application is limited. This creation will provide a computer host. The computer power control device installed outside the computer enables the computer power supply to be controlled by the computer power control device of the present invention regardless of whether the computer is connected to the AT or ATX computer or whether the motherboard has a conventional control circuit. The switch and the functions of power-on and power-off make the creation suitable for any type of computer, and have wide application and convenience. Based on the above object, the present invention provides a computer power supply control device for controlling a power on and off state of a computer by using a computer keyboard, comprising: a power control unit, wherein the power control unit is connectable with an external power source and a computer power source, thereby Turning on or off the power for providing the computer power; a keyboard switching circuit, the keyboard switching circuit can be connected with a computer keyboard and a computer keyboard connector, thereby transmitting the button signal M298173 pressed by the computer keyboard; and a keyboard signal a processing unit, the keyboard signal processing unit is connected to the power control unit and the keyboard switching circuit, and the keyboard signal processing unit is compared with the button signal sent by the keyboard switching circuit, and is compared As a result, the power control unit turns on or off the power of the computer to which it is connected. The keyboard signal processing unit may include a microprocessor, a key-disk decoding circuit and a keyboard encoding circuit, the microprocessor is connected to the power control unit, and the keyboard decoding circuit and the keyboard encoding circuit Then, the system is respectively connected between the microprocessor and the keyboard switching circuit. The power control unit may include a power supply circuit and a power control circuit, and the power supply circuit is connected to the power control circuit and respectively connected to the keyboard signal processing unit. In addition, the keyboard switching circuit includes a PS/2 keyboard switching circuit and a USB keyboard switching circuit, and the PS/2 keyboard switching circuit and the USB keyboard switching circuit are connected with a USB to PS/2 keyboard circuit, and the PS/2 keyboard switching The circuit is respectively connected to the keyboard decoding circuit provided by the keyboard signal processing unit and the keyboard encoding circuit. According to the creation, the key combination input by the computer keyboard is input, and after the keyboard signal processing unit is compared, if the correct power supply is turned on, the power control unit turns on the power circuit, and the computer power can be turned on. Boot action. Since the power supply of the computer can be completely controlled by the power control unit in the authoring device, both AT and ATX computers are suitable. On the other hand, if it is an ATX computer, the keyboard signal processing unit can directly transmit the power-on control signal back to the keyboard switching circuit, and then can be powered on by the motherboard with the keyboard wake-up function, or directly transmit the power-on control signal to the power 7 M298173 brain. The other wake-up unit is set up to wake up the computer and start up. In addition, if you want to turn off the power of the computer, the combination of the keys is also input from the keyboard of the computer. After the keyboard signal processing unit is compared, if the correct power/key combination is used, the power control unit turns off the computer power. * The following is a description of the implementation of this creation in conjunction with the drawings. The following examples are used to clarify the creation of the creation, and are not intended to be used in comparison with the creation of the artist. Within the spirit and scope, when some changes and refinements can be made, the scope of protection of this creation is subject to the definition of the patent application scope attached. [Embodiment] The block diagram of the second embodiment of the present invention is a brain, a control device, and a power control unit 21, a circuit 22, and a keyboard switching circuit 23. The keyboard signal is connected to the power supply control unit 21 and the keyboard to feed the voltage-switching circuit 24. Referring to the second figure, the end of the power control unit 21 can be connected to the external source 40 of the disk, through the power supply 40. The control of the early power supply 21 can make the external computer ·, /51 + [ $ Or stop transmitting to the computer's % connected power supply 51 command, to control the power supply of the computer. The keyboard switching circuit 23 can be connected to the keyboard 3G by pressing the keyboard 3G, and then transferred to the keyboard signal M298173 for comparison. The keyboard switching circuit 23 can also be connected to the computer keyboard connector 53 while transmitting the button signal to the computer 50. The keyboard signal processing unit 22 decodes and compares the key combination signals sent from the keyboard switching circuit 23. If the comparison result is the correct power-on signal, the power control unit 21 turns on the power to make the external power source 40 The power is transmitted to the computer power source 51, and the power of the computer 50 is turned on, and the subsequent line is turned on. When this creation is used in an AT computer, since it is installed outside the power switch of the power supply, it can be connected to the authoring device with the power supply ► switch turned on, and the author device is regarded as a power switch. Control, so the computer to which this creation is applicable is not limited to the most popular ATX computer at present, even for AT computers. On the other hand, if the ATX computer is used, and the ATX computer motherboard has a wake on keyboard (WOK) function, the keyboard signal processing unit 22 can further encode and return the key signal to the keyboard switching circuit. 23, further transfer to the motherboard connected to the computer keyboard connector 53 to perform the booting action. If the computer does not have a WOK function, the keyboard signal processing unit 22 can be connected to another computer wake-up unit 52, such as a wake on ring (WOR), provided on the computer 50 via a voltage conversion circuit 24. Then wake up the computer to start the action. Please refer to the third figure, which is a block diagram of another embodiment of the present creation. The keyboard signal processing unit 22 may include a microprocessor 221, a keyboard decoding circuit 222 and a keyboard encoding circuit 223. The microprocessor 221 is connected to the power control unit 21, and the keyboard decoding circuit 222 and the 9 M298173 keyboard encoding circuit 223 are respectively connected between the microprocessor 221 and the keyboard switching circuit 23. The microprocessor 221 provided by the keyboard signal processing unit 22 can be further connected to a voltage conversion circuit 24, and the voltage conversion circuit 24 can be connected to a computer wake-up unit 52. If the comparison result of the keyboard signal processing unit 22 is a power-on signal, the control signal can be transmitted to the computer wake-up unit 52 connected to the voltage conversion circuit 24 through the voltage conversion circuit 24, so that the connected computer 50 is connected. Boot up. Please refer to the third and fourth figures at the same time. The fourth figure is a schematic diagram of the present invention. ► The connection between the device and the computer and keyboard. The power control unit 21 can include a power supply circuit 211 and a power control circuit 212. The power supply circuit 211 is connected to the power control circuit 212 and is respectively connected to the microprocessor 221 provided by the keyboard signal processing unit 22. . The power supply circuit 211 is connected to a power input socket 2101, and is connected to the external power source 40 by a power line 41. The power control circuit 212 is further connected to a power output socket 2102, and the power connection line 511 of the original computer can be inserted therein. > In addition, the keyboard switching circuit 23 can be provided with a PS/2 keyboard switching circuit 231 and a USB keyboard switching circuit 232 separately or simultaneously with the type of the computer keyboard interface. When the PS/2 keyboard switching circuit 231 and the USB keyboard switching circuit 232 are separately provided, they are individually connected to the keyboard decoding circuit 222 and the keyboard encoding circuit 223. If the PS/2 keyboard switching circuit 231 and the USB keyboard switching circuit 232 are simultaneously disposed, a USB to PS/2 keyboard circuit 233 can be further connected between the PS/2 keyboard switching circuit 231 and the USB keyboard switching circuit 233. At this time, the PS/2 keyboard 10 M298173 switching circuit 231 is connected to a PS/2 input connector 2301, and the keyboard connection line 301 of the PS/2 keyboard 31 can be inserted therein. The PS/2 keyboard switching circuit 231 is also connected to a PS/2 output connector 2302, which can be inserted into a PS/2 cable 302 and connected to the computer PS/2 keyboard connector 531 of the computer 50. On the other hand, the USB keyboard switching circuit 232 can be connected to a USB input connector 2303, and the keyboard connection cable (not shown) of the USB computer keyboard 32 is inserted therein. The USB keyboard switching circuit 232 can be connected with a USB output connector 2304, which can be plugged into a USB cable (not shown), and then connected to the computer USB keyboard connector 532 of the computer 50. The device 20, whether it is connected to the PS/2 computer keyboard 31 or the USB computer keyboard 32, the key combination input thereto is transmitted to the keyboard decoding circuit 222 by the PS/2 keyboard switching circuit 231, and the key input is decoded. The signal comparison is performed by the microprocessor 221, and if the comparison result is the correct power-on button combination, the power control circuit 212 is turned on, and the power of the external power source 40 is transmitted to the computer power source 51. Start the boot action. If the comparison result is the correct power-off button combination, the power control circuit 212 is turned off to turn the power on, so that the computer 50 is powered off. The rest of the actions to wake up the computer and power it on are the same as before. Therefore, through the creation of the power control device, the key combination of the computer keyboard can be easily used to control the power on and off of the computer, as well as the power on and off, and the single device is suitable for various types of computers or keyboard types. And has the widest range of applicability. M298173 [Simple description of the diagram] The first diagram is a block diagram of the computer power supply using the keyboard button signal. The second figure is a block diagram of the present embodiment. The third figure is a block diagram of another embodiment of the present creation. The fourth figure is a schematic diagram of the connection between the device of the present embodiment and the computer and the keyboard. [Main component symbol description] 11 Computer keyboard 12 Control circuit 13 Motherboard 14 ATX power supply 20 Computer power control device 21 Power control unit 2101 Power input socket 2102 Power output socket 211 Power supply circuit 212 Power control circuit 22 Keyboard signal processing unit 221 Micro Processor 222 keyboard decoding circuit 223 keyboard encoding circuit 23 keyboard switching circuit 2301 PS/2 input connector 2302 PS/2 output connector 2303 USB input connector 2304 USB output connector 231 PS/2 keyboard switching circuit 232 USB keyboard switching circuit 233 USB to PS /2 keyboard circuit 24 voltage conversion circuit 30 computer keyboard M298173 301 keyboard cable 302 PS/2 cable 31 PS/2 computer keyboard 32 USB computer keyboard 40 external power supply 41 power cable 50 computer host 51 computer power supply 511 power cable 52 computer Wake-up unit 53 computer keyboard connector 531 computer PS/2 keyboard connector 532 computer USB keyboard connector