TW201416843A - Computer device and power supply method for universal port module - Google Patents

Computer device and power supply method for universal port module Download PDF

Info

Publication number
TW201416843A
TW201416843A TW101139974A TW101139974A TW201416843A TW 201416843 A TW201416843 A TW 201416843A TW 101139974 A TW101139974 A TW 101139974A TW 101139974 A TW101139974 A TW 101139974A TW 201416843 A TW201416843 A TW 201416843A
Authority
TW
Taiwan
Prior art keywords
computer device
connection
power
port module
universal
Prior art date
Application number
TW101139974A
Other languages
Chinese (zh)
Other versions
TWI501073B (en
Inventor
I-Chan Wu
Chih-Ming Chen
Wen-Tai Liu
Chian-Ting Chen
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to TW101139974A priority Critical patent/TWI501073B/en
Publication of TW201416843A publication Critical patent/TW201416843A/en
Application granted granted Critical
Publication of TWI501073B publication Critical patent/TWI501073B/en

Links

Abstract

A computer device and a power supply method for universal port are provided. The computer device includes a universal port module, processing unit and a logic expanding unit. The universal port module includes a detecting unit and a power switch. The detecting unit detects whether the universal port module connected to an external peripheral device to provide a detecting signal. When the computer device is in normal state, the processing unit knows a connecting situation of the universal port module and the external peripheral device according to the detecting signal, and the connecting situation is recorded in the logic expanding unit. When the computer device transmits from normal state into power-saving state, the logic expanding unit provides a power switching signal to make the power switch stop for providing the power for the universal port module not connect to the external peripheral device.

Description

電腦裝置及通用連接埠模組的供電方法 Power supply method for computer device and universal connection port module

本發明是有關於一種電腦應用技術,且特別是有關於一種偵測通用連接埠模組的連接情況以決定是否供電的電腦裝置。 The present invention relates to a computer application technology, and more particularly to a computer device for detecting the connection of a universal port module to determine whether or not to supply power.

當具備通用序列匯流排(USB)連接埠的電腦系統(如,桌上型電腦、筆記型電腦、一體成型電腦)在進入關機或休眠狀態的時候,電腦系統中的晶片組(例如,南橋晶片)仍然會對這些USB連接埠提供電源(例如,提供5V電壓),以感測周邊設備所發出的輸入信號,例如滑鼠、鍵盤等外接式人機介面裝置(HID)。也就是說,周邊設備可以透過USB連接埠受到電腦系統的供電支持,無論電腦系統在何種模式之下。例如,電腦系統在關機或休眠狀態時,USB連接埠仍然持續供電給滑鼠、鍵盤等人機介面裝置,使用者可以透過USB鍵盤上的特定按鈕或是觸動USB滑鼠來啟動電腦系統或使其恢復到正常狀態。 When a computer system with a universal serial bus (USB) port (such as a desktop computer, a notebook computer, or an integrated computer) enters a shutdown or hibernation state, a chipset in the computer system (for example, a south bridge chip) These USB ports are still powered (for example, providing 5V) to sense input signals from peripheral devices, such as external human interface devices (HIDs) such as mice and keyboards. In other words, the peripheral device can be powered by the computer system via the USB port, regardless of the mode of the computer system. For example, when the computer system is in a shutdown or hibernation state, the USB port is still continuously powered to a human-machine interface device such as a mouse or a keyboard. The user can activate the computer system through a specific button on the USB keyboard or by touching the USB mouse. It returns to normal.

然而,上述作法的缺點便是,電腦系統無論是在關機或待命狀態下都必須要在每組USB連接埠上持續提供電源,因此會有耗電問題。舉例而言,當電腦系統在休眠狀態時,每組USB連接埠還是會耗去500uA(低電源裝置)或是2.5mA(高電源裝置)的電流,也就是分別耗去2500uW或12.5mW的電功率。並且,現在每個電腦系統上都有許多 個USB連接埠,使得微小的耗電量積少成多。此外,電腦系統通常不會具備偵測每個USB連接埠是否有連接相對應之人機介面裝置的相關機制,也就是無法了解這些USB連接埠的連結情況,導致南橋晶片僅會對所有的USB連接埠提供電源。因此,電腦系統的USB連接埠仍然會發生耗電情形而不自知。 However, the shortcoming of the above method is that the computer system must continuously provide power on each set of USB ports, whether in the shutdown or standby state, and thus there is a power consumption problem. For example, when the computer system is in a sleep state, each set of USB ports will still consume 500uA (low power supply unit) or 2.5mA (high power supply unit), that is, 2500uW or 12.5mW of power respectively. . And now there are many on every computer system With a USB port, the tiny power consumption is reduced. In addition, computer systems usually do not have the mechanism to detect whether each USB port has a corresponding human interface device, that is, the connection status of these USB ports cannot be known, resulting in the South Bridge chip only for all USB ports. The port provides power. Therefore, the USB port of the computer system still consumes power without knowing it.

本發明提供一種電腦裝置及通用連接埠模組的供電方法,此電腦裝置會在正常狀態下偵測並記錄各個通用連接埠模組的連接情況,並當電腦裝置進入關機或待命狀態時停止供電給沒有使用的通用連接埠模組,節省電源消耗。 The invention provides a computer device and a universal connection port module power supply method. The computer device detects and records the connection status of each universal connection port module under normal conditions, and stops the power supply when the computer device enters the shutdown or standby state. Save power consumption by using a universal port module that is not in use.

本發明提出一種電腦裝置,其包括通用連接埠模組、處理單元以及邏輯擴充單元。通用連接埠模組包括偵測單元以及電源開關。偵測單元偵測通用連接埠模組是否與外部周邊設備連接以產生偵測信號。電源開關則接收並依據電源開關信號以提供額定電壓至通用連接埠模組。處理單元與邏輯擴充單元相互耦接,當電腦裝置於正常狀態時,處理單元提供所述電源開關信號,依據所述偵測信號以得知通用連接埠模組與外部周邊設備的連接情況,並控制邏輯擴充單元記錄所述連接情況。當電腦裝置由正常狀態轉換到省電狀態時,邏輯擴充單元依據所述連接情況提供所述電源開關信號,以使所述電源開關停止供電給未被外部 周邊設備連結的通用連接埠模組。其中,邏輯擴充單元在電腦裝置的省電狀態下持續被供電。 The invention provides a computer device comprising a universal port module, a processing unit and a logic expansion unit. The universal port module includes a detecting unit and a power switch. The detecting unit detects whether the universal port module is connected to an external peripheral device to generate a detection signal. The power switch receives and provides a voltage rating to the universal port module based on the power switch signal. The processing unit and the logic expansion unit are coupled to each other. When the computer device is in a normal state, the processing unit provides the power switch signal, and according to the detection signal, the connection between the universal connection module and the external peripheral device is known, and The control logic expansion unit records the connection. When the computer device is switched from the normal state to the power saving state, the logic expansion unit provides the power switch signal according to the connection condition, so that the power switch stops supplying power to the outside. Universal connection module for peripheral devices. The logic expansion unit is continuously powered in the power saving state of the computer device.

於本發明的一實施例中,上述之電腦裝置更包括:微處理器,耦接所述處理單元以及所述邏輯擴充單元。微處理器接收偵測信號並轉而通知處理單元以及邏輯擴充單元有關於通用連接埠模組與外部周邊設備的連接情況。當在電腦裝置的省電狀態,且通用連接埠模組與外部周邊設備的連接情況由連接轉換為未連接時,微控制器調整所述邏輯擴充單元的連接情況,以使電源開關停止供電給未被外部周邊設備連結的通用連接埠模組。其中,所述微處理器在電腦裝置的省電狀態下持續被供電。 In an embodiment of the invention, the computer device further includes: a microprocessor coupled to the processing unit and the logic expansion unit. The microprocessor receives the detection signal and in turn notifies the processing unit and the logic expansion unit about the connection of the universal port module to the external peripheral device. When the connection state of the universal connection port module and the external peripheral device is changed from the connection to the unconnected state in the power saving state of the computer device, the microcontroller adjusts the connection condition of the logic expansion unit to stop the power supply from being powered. A universal port module that is not connected by external peripherals. Wherein, the microprocessor is continuously powered in a power saving state of the computer device.

於本發明的一實施例中,上述之處理單元以及微處理器通過內積體電路匯流排以溝通及控制邏輯擴充單元。 In an embodiment of the invention, the processing unit and the microprocessor communicate and control the logic expansion unit through the inner integrated circuit bus.

於本發明的一實施例中,上述之電腦裝置更包括:切換單元,其耦接處理單元以及邏輯擴充單元。切換單元依據電腦裝置位於正常狀態或省電狀態以切換處理單元以及邏輯擴充單元所提供的電源開關信號。 In an embodiment of the invention, the computer device further includes: a switching unit coupled to the processing unit and the logic expansion unit. The switching unit switches the power switch signal provided by the processing unit and the logic expansion unit according to the normal state or the power saving state of the computer device.

於本發明的一實施例中,上述之邏輯擴充單元是GPIO擴充器,通用連接埠模組符合通用序列匯流排規範,且所述省電狀態是關機狀態或待命狀態。 In an embodiment of the invention, the logical expansion unit is a GPIO expander, the universal connection port module conforms to a universal sequence bus bar specification, and the power saving state is a shutdown state or a standby state.

於另一觀點而言,本發明提出一種電腦裝置,其包括多個通用連接埠模組、處理單元以及邏輯擴充單元。這些通用連接埠模組的每一個包括偵測單元以及電源開關。偵測單元偵測所述通用連接埠模組是否與對應的外部周邊設 備連接以產生對應的偵測信號。電源開關接收並依據對應的電源開關信號以提供額定電壓至所述通用連接埠模組。所述處理單元與所述邏輯擴充單元相互耦接。當電腦裝置於正常狀態時,處理單元提供對應的電源開關信號,並依據對應的偵測信號以得知所述通用連接埠模組與對應的外部周邊設備的連接情況,並控制所述邏輯擴充單元記錄此連接情況。並且,當所述電腦裝置由正常狀態轉換到省電狀態時,邏輯擴充單元依據所述連接情況提供對應的電源開關信號,以使對應的電源開關停止供電給未被對應的外部周邊設備所連結的這些多個通用連接埠模組。其中,所述邏輯擴充單元在電腦裝置的省電狀態下持續被供電。 In another aspect, the present invention provides a computer device including a plurality of universal port modules, a processing unit, and a logic expansion unit. Each of these universal port modules includes a detection unit and a power switch. The detecting unit detects whether the universal port module and the corresponding external peripheral device A connection is made to generate a corresponding detection signal. The power switch receives and provides a rated voltage to the universal port module according to the corresponding power switch signal. The processing unit and the logic expansion unit are coupled to each other. When the computer device is in a normal state, the processing unit provides a corresponding power switch signal, and according to the corresponding detection signal, the connection between the universal port module and the corresponding external peripheral device is known, and the logic expansion is controlled. The unit records this connection. Moreover, when the computer device is switched from the normal state to the power saving state, the logic expansion unit provides a corresponding power switch signal according to the connection condition, so that the corresponding power switch stops supplying power to the unconnected external peripheral device. These multiple universal ports are modules. The logic expansion unit is continuously powered in a power saving state of the computer device.

本電腦裝置之其餘實施細節請參照上述說明,在此不加贅述。 Please refer to the above description for the remaining implementation details of this computer device, and will not be described here.

於再一觀點而言,本發明提出一種通用連接埠模組的供電方法,其適用於具有通用連接埠模組的電腦裝置。此供電方法包括下列步驟:當電腦裝置於正常狀態時,提供電源開關信號以提供額定電壓至通用連接埠模組。偵測通用連接埠模組是否與外部周邊設備連接,以得知所述通用連接埠模組與所述外部周邊設備的連接情況。記錄所述連接情況於一邏輯擴充單元。以及,當電腦裝置由正常狀態轉換到省電狀態時,邏輯擴充單元依據所述連接情況提供所述電源開關信號,以使電源開關停止供電給未被外部周邊設備連結的通用連接埠模組。其中,所述邏輯擴充單元在電腦裝置的省電狀態下持續被供電。 In still another aspect, the present invention provides a power supply method for a universal port module, which is suitable for a computer device having a universal port module. The power supply method includes the following steps: when the computer device is in a normal state, a power switch signal is provided to provide a rated voltage to the universal port module. Detecting whether the universal port module is connected to an external peripheral device to know the connection between the universal port module and the external peripheral device. The connection is recorded in a logical expansion unit. And, when the computer device is switched from the normal state to the power-saving state, the logic expansion unit provides the power switch signal according to the connection condition, so that the power switch stops supplying power to the universal port module not connected by the external peripheral device. The logic expansion unit is continuously powered in a power saving state of the computer device.

本通用連接埠模組的供電方法之其餘實施細節請參照上述說明,在此不加贅述。 For the remaining implementation details of the power supply method of the universal connection port module, please refer to the above description, and no further details are provided herein.

基於上述,本發明實施例所述電腦裝置及通用連接埠模組的供電方法會在正常狀態下偵測並記錄各個通用連接埠模組的連接情況,也就是探知各個通用連接埠模組與外部周邊設備是否有相互耦接。當電腦裝置進入關機或待命狀態時,原先控制通用連接埠模組的處理單元(例如,中央處理器或是晶片組)將會停止運作,因此本實施例利用電腦裝置中持續供電的邏輯擴充單元依照所記錄的連接情況來供電給有連接外部周邊設備的通用連接埠模組,並停止供電給沒有使用的通用連接埠模組。由於邏輯擴充單元在電腦裝置的省電模式下所需的電功率消耗遠比單一個通用連接埠模組來的低,因此可節省電源消耗。 Based on the above, the power supply method of the computer device and the universal port module according to the embodiment of the present invention detects and records the connection status of each universal port module in a normal state, that is, detects each universal port module and the external device. Whether peripheral devices are coupled to each other. When the computer device enters the shutdown or standby state, the processing unit (for example, the central processing unit or the chipset) that originally controlled the universal port module will stop operating. Therefore, the present embodiment utilizes the logic expansion unit continuously powered in the computer device. Power is supplied to the universal port module connected to the external peripheral device according to the recorded connection condition, and the power supply to the unused universal port module is stopped. Since the power expansion unit requires less power consumption in the power saving mode of the computer device than in a single universal port module, power consumption can be saved.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the present invention will be more apparent from the following description.

為使電腦裝置能夠更為省電,避免多餘的電能消耗,本發明實施例的電腦裝置在省電模式下利用具備較低功耗的邏輯擴充單元,此邏輯擴充單元依據在電腦裝置的正常模式下所偵測之連接埠模組與外部周邊設備兩者之間的連接情況,以控制各個通用連接埠模組的電源,並停止供電給沒有耦接相關設備的連接埠模組,藉以節省電源。以下列舉相關實施例以供應用本實施例者作為參考。 In order to make the computer device more power-saving and avoid unnecessary power consumption, the computer device of the embodiment of the invention utilizes a logic expansion unit with lower power consumption in the power-saving mode, and the logic expansion unit is based on the normal mode of the computer device. The connection between the detected connection module and the external peripheral device to control the power of each universal connection module and stop supplying power to the connection module without coupling the related device, thereby saving power . The related embodiments are listed below for reference by the present embodiment.

圖1是符合本發明第一實施例說明電腦裝置100的方塊圖。電腦裝置100可以是具有連接埠模組的相關電腦矽統,例如是桌上型電腦、筆記型電腦、一體成型電腦...等。電腦裝置100包括通用連接埠模組110_1~110_3、處理單元120以及邏輯擴充單元130。於本實施例中,電腦裝置100通常具備一個或多個以上的通用連接埠模組,在此以通用序列匯流排(USB)連接埠110_1~110_3作為其實現方式,也就是,通用連接埠模組110_1~110_3符合通用序列匯流排規範。本案圖1僅繪示3個USB匯流排作為通用連接埠模組110_1~110_3的舉例,但通用連接埠模組的數量可隨應用本實施者的需求而相應地調整其數量,並不受限於此。 1 is a block diagram showing a computer device 100 in accordance with a first embodiment of the present invention. The computer device 100 may be a related computer system having a connection port module, such as a desktop computer, a notebook computer, an integrated computer, and the like. The computer device 100 includes a universal port module 110_1~110_3, a processing unit 120, and a logic expansion unit 130. In this embodiment, the computer device 100 usually has one or more universal connection ports, and the universal serial bus (USB) connection port 110_1~110_3 is used as its implementation mode, that is, the universal connection mode. Groups 110_1~110_3 conform to the universal sequence bus schedule specification. FIG. 1 only shows three USB bus bars as an example of the universal port module 110_1~110_3, but the number of the universal port modules can be adjusted accordingly according to the needs of the application implementer, and is not limited. herein.

於本實施例中,每個通用連接埠模組110_1~110_3包括偵測單元140以及電源開關150。偵測單元140可偵測2對應的通用連接埠模組110_1~110_3是否藉由相應的USB公母接頭與外部周邊設備160相互連接,以產生偵測信號DS1~DS3。透過實體接頭來實現偵測單元140的偵測可透過接頭中的特定接腳是否浮接或連接到特定電壓來判定,也可透過其他方式來實現,在此不予贅述。 In this embodiment, each of the universal port modules 110_1 110 110_3 includes a detecting unit 140 and a power switch 150. The detecting unit 140 can detect whether the corresponding universal port modules 110_1~110_3 are connected to the external peripheral device 160 through the corresponding USB male and female connectors to generate the detection signals DS1~DS3. The detection of the detection unit 140 through the physical connector can be determined by whether the specific pin in the connector is floating or connected to a specific voltage, or can be implemented by other means, and will not be described herein.

各個通用連接埠模組110_1~110_3中的電源開關150則分別接收對應的電源開關信號PS1~PS3,並依據電源開關信號PS1~PS3以提供額定電壓(例如,5V)至各個通用連接埠模組110_1~110_3,藉以供電給相互耦接的外部周邊 設備160。本實施例可以透過單個電晶體或相關電路來作為電源開關150的實現方式。 The power switch 150 of each of the universal port modules 110_1~110_3 respectively receives corresponding power switch signals PS1~PS3, and provides a rated voltage (for example, 5V) according to the power switch signals PS1~PS3 to each universal port module. 110_1~110_3, to supply power to the external peripherals coupled to each other Device 160. This embodiment can be implemented as a power switch 150 through a single transistor or associated circuitry.

此外,電腦裝置100更包括切換單元170,其耦接處理單元120以及邏輯擴充單元130。切換單元170依據電腦裝置100位於正常狀態或省電狀態,藉以分別將切換處理單元120所提供的第一電源開關信號PSN1~PSN3或是邏輯擴充單元130所提供的第二電源開關信號PSS1~PSS3作為傳送給各個通用連接埠模組110_1~110_3的電源開關信號PS1~PS3。於本實施例中,切換單元170可以用多個或閘(OR gate)來實現。 In addition, the computer device 100 further includes a switching unit 170 coupled to the processing unit 120 and the logical expansion unit 130. The switching unit 170 is configured to respectively set the first power switch signals PSN1 PSNSN3 provided by the switching processing unit 120 or the second power switch signals PSS1 PSSS3 provided by the logic expansion unit 130 according to the normal state or the power saving state of the computer device 100. The power switch signals PS1 to PS3 are transmitted to the respective universal port modules 110_1 to 110_3. In this embodiment, the switching unit 170 can be implemented by a plurality of OR gates.

通常來說,一般的電腦裝置100在正常運作或是關機、待命...等省電模式時,電源開關信號PS1~PS3通常都是致能,以不斷地提供電源給外部周邊設備160,也因此而造成多餘的耗電。有鑑於此,本發明實施例的處理單元120透過具備較低耗電的邏輯擴充單元130,且當在電腦裝置100的省電模式(例如,關機模式或是待命模式)時來自動關閉沒有連接到外部周邊設備160之對應的通用連接埠模組110_1~110_3。 Generally speaking, when the general computer device 100 is in normal operation or in a power-saving mode such as shutdown, standby, etc., the power switch signals PS1~PS3 are usually enabled to continuously supply power to the external peripheral device 160. Therefore, it causes unnecessary power consumption. In view of this, the processing unit 120 of the embodiment of the present invention transmits the logic expansion unit 130 with lower power consumption, and automatically closes when there is a power saving mode (for example, a shutdown mode or a standby mode) of the computer device 100. Corresponding universal connection ports 110_1~110_3 to the external peripheral device 160.

以下詳細介紹本發明實施例中的各個元件及其致動方式。處理單元120與邏輯擴充單元130相互耦接,並且以內積體電路(I2C)匯流排相互溝通及使處理單元120控制邏輯擴充單元130。處理單元120可以是電腦中以X86架構為基礎的中央處理器、晶片組,或是以Advanced RISC Machines(ARM)公司生產、型號為”TERA2321”的ARM中 央處理器。本實施例的邏輯擴充單元130則以GPIO擴充器(expander)為實施例,例如是型號為”PCA9534PW”的GPIO擴充器,其功耗僅為660uW,遠小於維持電功率為2500uW或12.5mW的USB連接埠。 The various elements in the embodiments of the present invention and the manner in which they are actuated are described in detail below. The processing unit 120 and the logic expansion unit 130 are coupled to each other, and communicate with each other by the inner integrated circuit (I2C) bus and the processing unit 120 controls the logical expansion unit 130. The processing unit 120 may be a central processing unit based on the X86 architecture in a computer, a chipset, or an ARM model "TERA2321" manufactured by Advanced RISC Machines (ARM). Central processor. The logic expansion unit 130 of this embodiment takes a GPIO expander as an embodiment, for example, a GPIO expander of the type "PCA9534PW", which consumes only 660 uW, which is much smaller than a USB that maintains an electric power of 2500 uW or 12.5 mW. Connection 埠.

藉此,當電腦裝置100於正常狀態時(也就是,電腦裝置100的處理單元可正常運作時),處理單元120提供電源開關信號PSN1~PSN3,切換單元170並將此電源開關信號PSN1~PSN3作為電源開關信號PS1~PS3以傳送到對應的通用連接埠模組110_1~110_3。處理單元120也會依據偵測單元140所偵測到的偵測信號DS1~DS3以得知通用連接埠模組110_1~110_3與外部周邊設備160的連接情況,並且,處理單元120透過I2C控制邏輯擴充單元130以記錄上述的連接情況。 Thereby, when the computer device 100 is in a normal state (that is, when the processing unit of the computer device 100 can operate normally), the processing unit 120 provides the power switch signals PSN1~PSN3, and the switching unit 170 and the power switch signals PSN1~PSN3 The power switch signals PS1~PS3 are transmitted to the corresponding universal port modules 110_1~110_3. The processing unit 120 also learns the connection between the universal port module 110_1~110_3 and the external peripheral device 160 according to the detection signals DS1~DS3 detected by the detecting unit 140, and the processing unit 120 transmits the I2C control logic. The expansion unit 130 records the above connection.

在此舉例說明本實施例,當電腦裝置100於正常狀態時,外部周邊設備160(例如,USB鍵盤或USB滑鼠)已經耦接到圖1中第1個通用連接埠模組110_1,而通用連接埠模組110_2、110_3則沒有耦接到相應的外部周邊設備。藉此,處理單元120便透過內積體電路匯流排(I2C)以控制邏輯擴充單元130,將連接情況記錄於邏輯擴充單元130中相對應的旗號暫存器中。 In this embodiment, when the computer device 100 is in a normal state, the external peripheral device 160 (for example, a USB keyboard or a USB mouse) has been coupled to the first universal port module 110_1 of FIG. The port modules 110_2, 110_3 are not coupled to corresponding external peripherals. Thereby, the processing unit 120 passes through the inner integrated circuit bus (I2C) to control the logical expansion unit 130, and records the connection status in the corresponding flag register in the logical expansion unit 130.

當電腦裝置100由正常狀態轉換到省電狀態時,此時因為處於省電模式的緣故,佔耗電比例較高的處理單元120會因為停止供電而停止運作。此時,邏輯擴充單元130便會依據儲存在其內旗號暫存器中的連接情況以提供電源 開關信號PSS1~PSS3,切換單元170並將此電源開關信號PSS1~PSS3作為電源開關信號PS1~PS3以傳送到對應的通用連接埠模組110_1~110_3。藉此,邏輯擴充單元130可使未被外部周邊設備160連結的通用連接埠模組(例如,通用連接埠模組110_2、110_3)當中的電源開關150停止供電,藉以避免無謂地消耗電源。當然,邏輯擴充單元130在電腦裝置130的省電狀態下持續由電腦裝置130提供電源,藉以實現本實施例。 When the computer device 100 is switched from the normal state to the power-saving state, at this time, because of the power-saving mode, the processing unit 120, which has a high power consumption ratio, stops operating because the power supply is stopped. At this time, the logical expansion unit 130 provides power according to the connection condition stored in the internal flag register. The switching signals PSS1 to PSS3, the switching unit 170 and the power switching signals PSS1 to PSS3 are used as the power switching signals PS1~PS3 for transmission to the corresponding universal port modules 110_1~110_3. Thereby, the logic expansion unit 130 can stop the power switch 150 among the universal port modules (for example, the universal port modules 110_2, 110_3) that are not connected by the external peripheral device 160, thereby avoiding unnecessary consumption of power. Of course, the logic expansion unit 130 continues to be powered by the computer device 130 in the power saving state of the computer device 130, thereby implementing the embodiment.

特別提出的是,由於邏輯擴充單元130在電腦裝置100的省電模式下僅需660uW的電功率即可維持運作,而每個通用連接埠模組110_1~110_3(例如,USB連接埠模組)則需要2500uW或12.5mW的電功率,因此採用上述作法除非電腦裝置100上的每個通用連接埠模組110_1~110_3皆插有對應的外部周邊設備160的情況下才會消耗大量電能,否則應可確實降低本案實施例的電功率消耗。 In particular, since the logic expansion unit 130 only needs 660 uW of electric power in the power saving mode of the computer device 100, the operation can be maintained, and each universal port module 110_1~110_3 (for example, a USB port module) It requires 2500uW or 12.5mW of electric power. Therefore, unless the common external peripheral device 160 is inserted into each of the universal connection ports 110_1~110_3 on the computer device 100, a large amount of electric energy is consumed. The electrical power consumption of the embodiment of the present invention is reduced.

此外,若使用者於電腦裝置100的省電模式下從通用連接埠模組110_1~110_3插入外部周邊設備160時,由於現在的電腦裝置100皆無法從省電模式下來判讀外部周邊設備160的種類並加以驅動。因此,就算是電腦裝置100於此時提供電源给相對應的通用連接埠模組110_1~110_3,插入的外部周邊設備160還是無法運作,因此本實施例便不在電腦裝置100的省電模式下判斷是否有外部周邊設備160插入到通用連接埠模組110_1~110_3。 In addition, if the user inserts the external peripheral device 160 from the universal port module 110_1~110_3 in the power saving mode of the computer device 100, the current computer device 100 cannot read the type of the external peripheral device 160 from the power saving mode. And drive it. Therefore, even if the computer device 100 supplies power to the corresponding universal port module 110_1~110_3 at this time, the inserted external peripheral device 160 cannot operate, so the embodiment does not judge in the power saving mode of the computer device 100. Is there an external peripheral device 160 inserted into the universal port module 110_1~110_3.

第一實施例可以在電腦裝置100的正常狀態時監控各個通用連接埠模組110_1~110_3的耦接情況,藉以在電腦裝置100的省電模式下關閉沒有使用的通用連接埠模組110_1~110_3。然而,若使用者在電腦裝置100的省電模式下拔除外部周邊設備的話,由於邏輯擴充單元130中通用連接埠模組110_1~110_3與外部周邊設備160的連接情形無法在省電模式下調整,因此相應的通用連接埠模組110_1~110_3在第一實施例中無法立即停止供電,從而耗去些微電能。藉此,本發明提出第二實施例以解決上述問題。 The first embodiment can monitor the coupling of the universal port modules 110_1 110 110_3 in the normal state of the computer device 100, thereby turning off the unused universal ports 110_1~110_3 in the power saving mode of the computer device 100. . However, if the user removes the external peripheral device in the power saving mode of the computer device 100, the connection between the universal connection port modules 110_1~110_3 and the external peripheral device 160 in the logic expansion unit 130 cannot be adjusted in the power saving mode. Therefore, the corresponding universal port modules 110_1~110_3 cannot immediately stop supplying power in the first embodiment, thereby consuming some micro power. Accordingly, the present invention proposes a second embodiment to solve the above problems.

圖2是符合本發明第二實施例說明電腦裝置200的方塊圖。本發明第二實施例與第一實施例相類似,兩者的不同處在於電腦裝置200更包括微處理器290以及第二切換單元280。基於電腦裝置200的硬體架構,通常偵測通用連接埠模組110_1~110_3是否連接到外部周邊設備160與否是由獨立的微處理器290或是相關的嵌入式晶片來實現。也就是,微處理器290耦接至處理單元120以及邏輯擴充單元130。微處理器290可透過通過內積體電路匯流排(I2C)以與處理單元120相互溝通,並控制邏輯擴充單元130以協助調整邏輯擴充單元130的內部資料。 2 is a block diagram showing a computer device 200 in accordance with a second embodiment of the present invention. The second embodiment of the present invention is similar to the first embodiment in that the computer device 200 further includes a microprocessor 290 and a second switching unit 280. Based on the hardware architecture of the computer device 200, it is generally detected whether the universal port module 110_1~110_3 is connected to the external peripheral device 160 or not by a separate microprocessor 290 or an associated embedded chip. That is, the microprocessor 290 is coupled to the processing unit 120 and the logic expansion unit 130. The microprocessor 290 can communicate with the processing unit 120 through the internal integrated circuit bus (I2C) and control the logic expansion unit 130 to assist in adjusting the internal data of the logical expansion unit 130.

因此,第二實施例的微處理器290接收偵測信號DS1~DS3並轉而通知處理單元120以及邏輯擴充單元130有關於通用連接埠模組110_1~110_3與外部周邊設備160的連接情況。 Therefore, the microprocessor 290 of the second embodiment receives the detection signals DS1 DS DS3 and in turn notifies the processing unit 120 and the logic expansion unit 130 about the connection between the universal port modules 110_1 110 110_3 and the external peripheral device 160.

於其他實施例中,當處理單元120位在正常模式時也可以自行接收偵測信號DS1~DS3以得知有關於通用連接埠模組110_1~110_3與外部周邊設備160的連接情況。此外,當電腦裝置200由正常狀態轉換為省電狀態時,處理單緣120便如同第一實施例一般地將上述連接情況記錄在羅及擴充單元130的旗號暫存器中。 In other embodiments, when the processing unit 120 is in the normal mode, the detection signals DS1 to DS3 may be received by themselves to learn about the connection between the universal connection ports 110_1 110 110_3 and the external peripheral device 160. In addition, when the computer device 200 is switched from the normal state to the power saving state, the processing single edge 120 generally records the connection condition in the flag register of the expansion unit 130 as in the first embodiment.

此外,當在電腦裝置200的省電狀態時,如果微處理器290偵測到通用連接埠模組(例如,110_1)與外部周邊設備160的連接情況由連接轉換為未連接時,也就是,使用者在電腦裝置200的省電狀態下將外部周邊設備160自電腦裝置200拔除時,微控制器290可藉由微控制信號MCS以及第二切換單元280的相互配合,或是利用內積體電路匯流排(I2C),以調整邏輯擴充單元130內部所記錄的連接情況,以使通用連接埠模組110_1中的電源開關150停止供電給未被外部周邊設備160連結的通用連接埠模組110_1。 In addition, when the power saving state of the computer device 200 is detected, if the microprocessor 290 detects that the connection between the universal port module (for example, 110_1) and the external peripheral device 160 is changed from the connection to the unconnected state, that is, When the user removes the external peripheral device 160 from the computer device 200 in the power saving state of the computer device 200, the microcontroller 290 can cooperate with the micro control signal MCS and the second switching unit 280, or utilize the inner integrated body. a circuit bus (I2C) to adjust the connection recorded inside the logic expansion unit 130, so that the power switch 150 in the universal port module 110_1 stops supplying power to the universal port module 110_1 that is not connected by the external peripheral device 160. .

若是微控制器290利用內積體電路匯流排(I2C)調整邏輯擴充單元130內部的旗號暫存器,則可直接電源開關信號PSS1~PSS3,而不需要透過第二切換單元280的協助來調整信號。另一方面,本發明實施例的微控制器290利用微控制信號MCS以及第二切換單元280中的硬體結構來調整電源開關信號PSS1~PSS3為電壓開關信號PSM1~PSM3,例如可將第二切換單元280以多個及閘(AND gate)來實現。藉此,第一切換單元170於此時則會 將調整後的電壓開關信號PSM1~PSM3作為電壓開關信號PS1~PS3而傳送給對應的通用匯流排連接埠110_1~110_3。因此,第二實施例中的微處理器290將會在電腦裝置200的省電狀態下持續被供電。 If the microcontroller 290 uses the inner integrated circuit bus (I2C) to adjust the flag register inside the logic expansion unit 130, the power switch signals PSS1~PSS3 can be directly adjusted without the assistance of the second switching unit 280. signal. On the other hand, the microcontroller 290 of the embodiment of the present invention uses the micro control signal MCS and the hardware structure in the second switching unit 280 to adjust the power switch signals PSS1 PSSAS3 to the voltage switch signals PSM1 PSMSM3, for example, the second The switching unit 280 is implemented in a plurality of AND gates. Thereby, the first switching unit 170 will be at this time The adjusted voltage switch signals PSM1 to PSM3 are transmitted as voltage switch signals PS1 to PS3 to the corresponding common bus ports 110_1 to 110_3. Therefore, the microprocessor 290 in the second embodiment will continue to be powered in the power saving state of the computer device 200.

上述實施例也可統整為一種通用連接埠模組的供電方法,其適用於第一及第二實施例。圖3為本發明實施例所述之通用連接埠模組的供電方法的流程圖。在此以圖2的硬體架構來進行說明,請參閱圖2及圖3,於步驟S310中,當電腦裝置200於正常狀態時,處理單元120提供電源開關信號PSN1~PSN3以使電源開關150提供額定電壓至對應的通用連接埠模組110_1~110_3。於步驟S320中,處理單元120偵測通用連接埠模組110_1~110_3是否與外部周邊設備160連接,以得知通用連接埠模組110_1~110_3與外部周邊設備160的連接情況。 The above embodiment can also be integrated into a power supply method for a universal port module, which is applicable to the first and second embodiments. FIG. 3 is a flowchart of a power supply method of a universal port module according to an embodiment of the present invention. Referring to FIG. 2 and FIG. 3, in step S310, when the computer device 200 is in a normal state, the processing unit 120 provides power switch signals PSN1 PSPSN3 to enable the power switch 150. The rated voltage is supplied to the corresponding universal port modules 110_1~110_3. In step S320, the processing unit 120 detects whether the universal port modules 110_1 110 110_3 are connected to the external peripheral device 160 to learn the connection between the universal port ports 110_1 110 110_3 and the external peripheral device 160.

於步驟S330中,處理單元120記錄通用連接埠模組110_1~110_3與外部周邊設備160的連接情況於邏輯擴充單元130。於步驟S340中,處理單元120判斷電腦裝置200是否要進入省電模式(例如,關機模式或待命模式)中。當步驟S3430為否,則回到步驟S320~S330以持續更新邏輯擴充單元130內的連接情況,或是在電腦裝置200轉換到省電狀態之前的一段時間更新邏輯擴充單元130內的連接情況。 In step S330, the processing unit 120 records the connection between the universal port modules 110_1 110 110_3 and the external peripheral device 160 in the logical expansion unit 130. In step S340, the processing unit 120 determines whether the computer device 200 is to enter a power saving mode (for example, a shutdown mode or a standby mode). If NO in step S3430, the process returns to steps S320-S330 to continuously update the connection situation in the logical expansion unit 130, or to update the connection condition in the logical expansion unit 130 for a period of time before the computer device 200 transitions to the power-saving state.

當步驟S3430為是,也就是當電腦裝置200由正常狀態轉換到省電狀態時,則進入步驟S350,邏輯擴充單元 130依據通用連接埠模組110_1~110_3與外部周邊設備160的連接情況以提供電源開關信號PSS1~PSS3,以使相對應的電源開關150停止供電給未被外部周邊設備160連結的通用連接埠模組110_1~110_3。其中,邏輯擴充單元130在電腦裝置的省電狀態下持續被供電。 When the step S3430 is YES, that is, when the computer device 200 is switched from the normal state to the power saving state, the process proceeds to step S350, the logical expansion unit. The 130 provides the power switch signals PSS1 PPSS3 according to the connection between the universal port modules 110_1 110 110_3 and the external peripheral device 160, so that the corresponding power switch 150 stops supplying power to the universal connection module that is not connected by the external peripheral device 160. Group 110_1~110_3. The logic expansion unit 130 continues to be powered in the power saving state of the computer device.

於步驟S360中,在電腦裝置200的省電狀態下,微處理器290偵測並判斷通用連接埠模組與外部周邊設備160的連接情況是否由連接轉換為未連接。若為否,則回到步驟S350並持續執行步驟S360,除非,電腦裝置200將要回到正常狀態時,則回到步驟S310。 In step S360, in the power saving state of the computer device 200, the microprocessor 290 detects and determines whether the connection between the universal port module and the external peripheral device 160 is converted from the connection to the unconnected state. If not, the process returns to step S350 and the process proceeds to step S360. Unless the computer device 200 is about to return to the normal state, the process returns to step S310.

當微處理器290偵測得到某一通用連接埠模組(例如,110_1)與外部周邊設備160的連接情況由連接轉換為未連接時,則由步驟S360進入步驟S370,微控制器290則會調整邏輯擴充單元130內部記錄的連接情況,或是透過第二切換單元280以及微控制信號MCS的協助,以調整電源開關信號PSS1~PSS3為電源開關信號PSM1~PSM3,使對應的電源開關150停止供電給未被外部周邊設備160連結的通用連接埠模組(例,110_1)。其他本實施例中未揭示的相關說明請參照上述第一及第二實施例,在此不再贅述。 When the microprocessor 290 detects that the connection between the universal connection port module (for example, 110_1) and the external peripheral device 160 is changed from the connection to the unconnected state, the process proceeds from step S360 to step S370, and the microcontroller 290 Adjusting the connection status recorded in the logic expansion unit 130, or adjusting the power switch signals PSS1~PSS3 as the power switch signals PSM1~PSM3 through the assistance of the second switching unit 280 and the micro control signal MCS, so that the corresponding power switch 150 is stopped. Power is supplied to a universal port module (eg, 110_1) that is not connected by external peripheral device 160. For other related descriptions that are not disclosed in this embodiment, please refer to the foregoing first and second embodiments, and details are not described herein again.

綜上所述,本發明實施例所述電腦裝置及通用連接埠模組的供電方法會在正常狀態下偵測並記錄各個通用連接埠模組的連接情況,也就是探知各個通用連接埠模組與外部周邊設備是否有相互耦接。當電腦裝置進入關機或待命 狀態時,原先控制通用連接埠模組的處理單元(例如,中央處理器或是晶片組)將會停止運作,因此本實施例利用電腦裝置中持續供電的邏輯擴充單元依照所記錄的連接情況來供電給有連接外部周邊設備的通用連接埠模組,並停止供電給沒有使用的通用連接埠模組。由於邏輯擴充單元在電腦裝置的省電模式下所需的電功率消耗遠比單一個通用連接埠模組來的低,因此可節省電源消耗。 In summary, the power supply method of the computer device and the universal port module according to the embodiment of the present invention detects and records the connection status of each universal port module under normal conditions, that is, detects each universal port module. Whether it is coupled to external peripheral devices. When the computer device enters shutdown or is on standby In the state, the processing unit (for example, the central processing unit or the chipset) that originally controlled the universal port module will stop operating. Therefore, the present embodiment utilizes the logic expansion unit continuously powered in the computer device according to the recorded connection condition. Power is supplied to the universal port module that is connected to the external peripheral device, and power is supplied to the unused universal port module. Since the power expansion unit requires less power consumption in the power saving mode of the computer device than in a single universal port module, power consumption can be saved.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

100、200‧‧‧電腦裝置 100, 200‧‧‧ computer devices

110_1~110_3‧‧‧通用連接埠模組 110_1~110_3‧‧‧Common connection module

120‧‧‧處理單元 120‧‧‧Processing unit

130‧‧‧邏輯擴充單元 130‧‧‧Logic expansion unit

140‧‧‧偵測單元 140‧‧‧Detection unit

150‧‧‧電源開關 150‧‧‧Power switch

160‧‧‧外部周邊設備 160‧‧‧External peripheral equipment

170‧‧‧切換單元 170‧‧‧Switch unit

280‧‧‧第二切換單元 280‧‧‧Second switching unit

290‧‧‧微處理器 290‧‧‧Microprocessor

DS1~DS3‧‧‧偵測信號 DS1~DS3‧‧‧Detection signal

PS1~PS3、PSN1~PSN3、PSS1~PSS3、PSM1~PSM3‧‧‧電源開關信號 PS1~PS3, PSN1~PSN3, PSS1~PSS3, PSM1~PSM3‧‧‧ Power switch signal

MCS‧‧‧微控制信號 MCS‧‧‧ micro control signal

S310~S370‧‧‧步驟 S310~S370‧‧‧Steps

圖1是符合本發明第一實施例說明電腦裝置的方塊圖。 BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram showing a computer device in accordance with a first embodiment of the present invention.

圖2是符合本發明第二實施例說明電腦裝置的方塊圖。 Figure 2 is a block diagram showing a computer device in accordance with a second embodiment of the present invention.

圖3為本發明實施例所述之通用連接埠模組的供電方法的流程圖。 FIG. 3 is a flowchart of a power supply method of a universal port module according to an embodiment of the present invention.

200‧‧‧電腦裝置 200‧‧‧ computer equipment

110_1~110_3‧‧‧通用連接埠模組 110_1~110_3‧‧‧Common connection module

120‧‧‧處理單元 120‧‧‧Processing unit

130‧‧‧邏輯擴充單元 130‧‧‧Logic expansion unit

140‧‧‧偵測單元 140‧‧‧Detection unit

150‧‧‧電源開關 150‧‧‧Power switch

160‧‧‧外部周邊設備 160‧‧‧External peripheral equipment

170‧‧‧切換單元 170‧‧‧Switch unit

280‧‧‧第二切換單元 280‧‧‧Second switching unit

290‧‧‧微處理器 290‧‧‧Microprocessor

DS1~DS3‧‧‧偵測信號 DS1~DS3‧‧‧Detection signal

PS1~PS3、PSN1~PSN3、PSS1~PSS3、PSM1~PSM3‧‧‧電源開關信號 PS1~PS3, PSN1~PSN3, PSS1~PSS3, PSM1~PSM3‧‧‧ Power switch signal

MCS‧‧‧微控制信號 MCS‧‧‧ micro control signal

Claims (10)

一種電腦裝置,包括:通用連接埠模組,其中該通用連接埠模組包括:偵測單元,偵測該通用連接埠模組是否與外部周邊設備連接以產生偵測信號;以及電源開關,接收並依據電源開關信號以提供額定電壓至該通用連接埠模組;處理單元以及邏輯擴充單元,該處理單元與該邏輯擴充單元相互耦接,當該電腦裝置於正常狀態時,該處理單元提供該電源開關信號,依據該偵測信號以得知該通用連接埠模組與該外部周邊設備的連接情況,控制該邏輯擴充單元記錄該連接情況,並且,當該電腦裝置由正常狀態轉換到省電狀態時,該邏輯擴充單元依據該連接情況提供該電源開關信號,以使該電源開關停止供電給未被該外部周邊設備連結的該通用連接埠模組,其中該邏輯擴充單元在該電腦裝置的省電狀態下持續被供電。 A computer device includes: a universal port module, wherein the universal port module includes: a detecting unit that detects whether the universal port module is connected to an external peripheral device to generate a detection signal; and a power switch to receive And according to the power switch signal to provide a rated voltage to the universal port module; the processing unit and the logic expansion unit, the processing unit and the logic expansion unit are coupled to each other, when the computer device is in a normal state, the processing unit provides the The power switch signal controls the logic expansion unit to record the connection condition according to the detection signal to know the connection between the universal connection port module and the external peripheral device, and when the computer device is switched from the normal state to the power saving state In the state, the logic expansion unit provides the power switch signal according to the connection condition, so that the power switch stops supplying power to the universal port module not connected by the external peripheral device, wherein the logic expansion unit is in the computer device Power is continuously supplied in the power saving state. 如申請專利範圍第1項所述之電腦裝置,更包括:微處理器,耦接該處理單元以及該邏輯擴充單元,該微處理器接收該偵測信號並轉而通知該處理單元以及該邏輯擴充單元有關於該通用連接埠模組與該外部周邊設備的該連接情況,其中,當在該電腦裝置的省電狀態,且該通用連接埠模組與該外部周邊設備的連接情況由連接轉換為未連接 時,該微控制器調整該邏輯擴充單元的該連接情況,以使該電源開關停止供電給未被該外部周邊設備連結的該通用連接埠模組,其中該微處理器在該電腦裝置的省電狀態下持續被供電。 The computer device of claim 1, further comprising: a microprocessor coupled to the processing unit and the logic expansion unit, the microprocessor receiving the detection signal and informing the processing unit and the logic The expansion unit has a connection status between the universal connection port module and the external peripheral device, wherein when the power saving state of the computer device is in use, and the connection between the universal connection port module and the external peripheral device is converted by the connection Is not connected The microcontroller adjusts the connection of the logic expansion unit to stop the power switch from supplying power to the universal port module that is not connected to the external peripheral device, wherein the microprocessor is in the province of the computer device It is continuously powered in the electrical state. 如申請專利範圍第1項所述之電腦裝置,更包括:切換單元,耦接該處理單元以及該邏輯擴充單元,依據該電腦裝置位於正常狀態或省電狀態以切換該處理單元以及該邏輯擴充單元所提供的電源開關信號。 The computer device of claim 1, further comprising: a switching unit coupled to the processing unit and the logic expansion unit, wherein the processing unit and the logic expansion are switched according to the computer device being in a normal state or a power saving state. The power switch signal provided by the unit. 一種電腦裝置,包括:多個通用連接埠模組,其中該些多個通用連接埠模組的每一個包括:偵測單元,偵測該通用連接埠模組是否與對應的外部周邊設備連接以產生對應的偵測信號;以及電源開關,接收並依據對應的電源開關信號以提供額定電壓至該通用連接埠模組;處理單元以及邏輯擴充單元,該處理單元與該邏輯擴充單元相互耦接,當該電腦裝置於正常狀態時,該處理單元提供對應的該電源開關信號,依據對應的該偵測信號以得知該些多個通用連接埠模組與對應的該外部周邊設備的連接情況,控制該邏輯擴充單元記錄該連接情況,並且,當該電腦裝置由正常狀態轉換到省電狀態時,該邏輯擴充單元依據該連接情況提供對應的該電源開關信號,以使對應的該電源開關停止供電給未被對應的該外部 周邊設備所連結的該些多個通用連接埠模組,其中該邏輯擴充單元在該電腦裝置的省電狀態下持續被供電。 A computer device includes: a plurality of universal port modules, wherein each of the plurality of universal port modules includes: a detecting unit that detects whether the universal port module is connected to a corresponding external peripheral device Generating a corresponding detection signal; and a power switch receiving and providing a rated voltage to the universal port module according to the corresponding power switch signal; a processing unit and a logic expansion unit, the processing unit and the logic expansion unit being coupled to each other, When the computer device is in a normal state, the processing unit provides a corresponding power switch signal, and according to the corresponding detection signal, the connection between the plurality of universal port modules and the corresponding external peripheral device is known. Controlling the logical expansion unit to record the connection situation, and when the computer device transitions from the normal state to the power saving state, the logic expansion unit provides the corresponding power switch signal according to the connection condition, so that the corresponding power switch is stopped. Power is supplied to the external unit that is not corresponding The plurality of universal port modules connected to the peripheral device, wherein the logic expansion unit is continuously powered in a power saving state of the computer device. 如申請專利範圍第4項所述之電腦裝置,更包括:微處理器,耦接該處理單元以及該邏輯擴充單元,該微處理器接收對應的該偵測信號並轉而通知該處理單元以及該邏輯擴充單元有關於該些多個通用連接埠模組與對應的該外部周邊設備的該連接情況,其中,當在該電腦裝置的省電狀態,且該些多個通用連接埠模組與對應的該外部周邊設備的該連接情況由連接轉換為未連接時,該微控制器調整該邏輯擴充單元的該連接情況,以使對應的該電源開關停止供電給未被對應的該外部周邊設備所連結的該些多個通用連接埠模組,其中該微處理器在該電腦裝置的省電狀態下持續被供電。 The computer device of claim 4, further comprising: a microprocessor coupled to the processing unit and the logic expansion unit, the microprocessor receiving the corresponding detection signal and informing the processing unit and The logic expansion unit has the connection status of the plurality of universal connection ports and the corresponding external peripheral device, wherein when the computer device is in a power saving state, the plurality of universal connection ports and the plurality of universal connection ports are When the connection condition of the corresponding external peripheral device is changed from the connection to the unconnected, the microcontroller adjusts the connection condition of the logical expansion unit, so that the corresponding power switch stops supplying power to the external peripheral device that is not corresponding. The plurality of universal port modules are connected, wherein the microprocessor is continuously powered in a power saving state of the computer device. 如申請專利範圍第5項所述之電腦裝置,其中該處理單元以及該微處理器通過內積體電路匯流排以溝通及控制該邏輯擴充單元。 The computer device of claim 5, wherein the processing unit and the microprocessor communicate and control the logical expansion unit through an inner integrated circuit bus. 如申請專利範圍第4項所述之電腦裝置,更包括:切換單元,耦接該處理單元以及該邏輯擴充單元,依據該電腦裝置位於正常狀態或省電狀態以切換該處理單元以及該邏輯擴充單元所提供的電源開關信號。 The computer device of claim 4, further comprising: a switching unit coupled to the processing unit and the logic expansion unit, wherein the processing unit and the logic expansion are switched according to whether the computer device is in a normal state or a power saving state. The power switch signal provided by the unit. 如申請專利範圍第4項所述之電腦裝置,其中該邏輯擴充單元是GPIO擴充器,該通用連接埠模組符合通用序列匯流排規範,且該省電狀態是關機狀態或待命狀態。 The computer device according to claim 4, wherein the logic expansion unit is a GPIO expander, the universal port module conforms to a universal sequence bus bar specification, and the power saving state is a shutdown state or a standby state. 一種通用連接埠模組的供電方法,適用於具有通用連接埠模組的電腦裝置,所述供電方法包括:當該電腦裝置於正常狀態時,提供電源開關信號以提供額定電壓至該通用連接埠模組;偵測該通用連接埠模組是否與外部周邊設備連接,以得知該通用連接埠模組與該外部周邊設備的連接情況;記錄該連接情況於一邏輯擴充單元;以及當該電腦裝置由正常狀態轉換到省電狀態時,該邏輯擴充單元依據該連接情況提供該電源開關信號,以使該電源開關停止供電給未被該外部周邊設備連結的該通用連接埠模組,其中該邏輯擴充單元在該電腦裝置的省電狀態下持續被供電。 A power supply method for a universal port module is applicable to a computer device having a universal port module, the power supply method comprising: providing a power switch signal to provide a rated voltage to the universal port when the computer device is in a normal state? a module; detecting whether the universal port module is connected to an external peripheral device to learn the connection between the universal port module and the external peripheral device; recording the connection condition in a logical expansion unit; and when the computer When the device is switched from the normal state to the power saving state, the logic expansion unit provides the power switch signal according to the connection condition, so that the power switch stops supplying power to the universal port module not connected by the external peripheral device, wherein the The logical expansion unit is continuously powered in the power saving state of the computer device. 如申請專利範圍第9項所述之供電方法,更包括:在該電腦裝置的省電狀態,且該通用連接埠模組與該外部周邊設備的連接情況由連接轉換為未連接時,調整該邏輯擴充單元的連接情況,以使該電源開關停止供電給未被該外部周邊設備連結的該通用連接埠模組。 The power supply method of claim 9, further comprising: adjusting the power saving state of the computer device, and changing the connection between the universal port module and the external peripheral device from the connection to the unconnected state The connection of the logical expansion unit is such that the power switch stops supplying power to the universal port module that is not connected by the external peripheral device.
TW101139974A 2012-10-29 2012-10-29 Computer device and power supply method for universal port module TWI501073B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101139974A TWI501073B (en) 2012-10-29 2012-10-29 Computer device and power supply method for universal port module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101139974A TWI501073B (en) 2012-10-29 2012-10-29 Computer device and power supply method for universal port module

Publications (2)

Publication Number Publication Date
TW201416843A true TW201416843A (en) 2014-05-01
TWI501073B TWI501073B (en) 2015-09-21

Family

ID=51293804

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101139974A TWI501073B (en) 2012-10-29 2012-10-29 Computer device and power supply method for universal port module

Country Status (1)

Country Link
TW (1) TWI501073B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW591509B (en) * 2003-01-28 2004-06-11 Via Tech Inc USB control circuit and operation method applied in computer-to-computer transmission
TWI420317B (en) * 2007-06-08 2013-12-21 Two-way connectivity usb control device and operation method therefor
US20110191616A1 (en) * 2010-02-03 2011-08-04 Action Star Enterprise Co., Ltd. Usb power managing system and method thereof
CN101790225A (en) * 2010-03-16 2010-07-28 华为终端有限公司 Power management method and device for on-line module

Also Published As

Publication number Publication date
TWI501073B (en) 2015-09-21

Similar Documents

Publication Publication Date Title
US9310838B2 (en) Power management method for switching power mode of a computer system based on detection of a human interface device
TWI464571B (en) A power saving electronic device for a computer motherboard in a standby dormant state and a computer motherboard
US8621247B2 (en) Bus interface with power management features
US20170139467A1 (en) Usb interface circuit and method for low power operation
US8285887B2 (en) Link state detection system for network cable
JP3170264U (en) Power saving electronic device for motherboard and its motherboard
US8375234B2 (en) Wakeup of a non-powered universal serial bus
JP3150567U (en) Electronic device that reduces power consumption when computer motherboard shuts down
KR101128352B1 (en) Usb controller and method for controlling the suspend mode of the same
EP2776903B1 (en) Communication and monitoring of a battery via a single wire
WO2017083831A1 (en) Usb interface circuit and method for low power operation
CN102147652A (en) Shut-down energy-saving system and shut-down energy-saving method
US20150253842A1 (en) Semiconductor device, and power control method for usbotg
TWI750623B (en) Power management system and power management method
US9235246B2 (en) Computing device and power supply method of connection module
TWI726550B (en) Method of providing power in standby phase
JP7300667B2 (en) Energy saving hub
TWI808025B (en) Detecting circuit and detecting method of external display device
CN101526841B (en) Computer system and power saving method
TWI501073B (en) Computer device and power supply method for universal port module
KR102244643B1 (en) Switching mode power supply built-in standby power cut-off apparatus and method
US9477300B2 (en) Bridging device and power saving method thereof
CN113467598B (en) Power management system and power management method
TW201426273A (en) Motherboard and power management method thereof
CN102955094A (en) Leakage sensing circuit and mainboard with same