
技术领域technical field
本发明是关于电脑系统中的外围装置,尤指一种建构于快捷式周边元件互连总线的外围装置,该外围装置可依据电脑系统的电力供应的状态来调整自身的耗电量。The present invention relates to a peripheral device in a computer system, especially a peripheral device constructed on a shortcut peripheral component interconnection bus. The peripheral device can adjust its power consumption according to the power supply status of the computer system.
背景技术Background technique
一般来说,电脑系统(此处主要就个人电脑而论)通常通过一个电源供应装置(如:切换式电源供应器),来将交流电力转成数种不同规格的电压,以供应至电脑系统中的各种元件,通常将电源供应装置通过连接头连接至主机板,再由主机板将电力供应至各元件,而一般使用者的操作习惯是通过电脑系统的机壳上的开关或通过操作系统的关机选项,来关闭电脑。然而,不论是通过上述方式的何者,只要未确实关闭电源供应装置自身的开关(亦即未完全切断电源回路),事实上都不能算作是真正的隔绝了电脑系统的电力消耗,在这种情形下,仍然会有电流流过元件。Generally speaking, a computer system (mainly referring to a personal computer here) usually uses a power supply device (such as a switching power supply) to convert AC power into several voltages of different specifications to supply to the computer system Usually, the power supply device is connected to the main board through the connector, and then the main board supplies power to each component, and the general user's operating habit is through the switch on the computer system case or through the operation System Shutdown option to shut down the computer. However, no matter which of the above methods is used, as long as the switch of the power supply device itself is not turned off (that is, the power circuit is not completely cut off), in fact it cannot be regarded as truly isolating the power consumption of the computer system. In this case, there will still be current flowing through the element.
现有的电脑系统与电源供应装置的关系请参考图1,电源供应装置10主要供应两种不同的电源至电脑系统20。于正常运作下,电源供应装置10供应主要电源至电脑系统20。当电脑系统20于关机时供应辅助电源至电脑系统20。诚如上述,只要电源供应装置10未被关闭,其仍然供应辅助电源至电脑系统20。举例来说,电脑系统20支持网络唤醒(Wake on LAN,WOL)功能,因此仅管电脑系统20已处于关机状态,但电源供应装置10仍必须供应辅助电源至网络卡(未示出),以使网络卡可以检测是否有接收到唤醒电脑系统20的封包,并于检测到唤醒电脑系统20的封包时启动电脑系统20。Please refer to FIG. 1 for the relationship between the existing computer system and the power supply device. The
显而易见的,当今的电脑系统于关机状态仍须仰赖电源供应装置来供应辅助电源,尽管辅助电源的消耗一般来说远小于电脑系统正常运作时的主要电源消耗,然而,若电脑系统中配置有数种外围装置(如:显示适配卡、声卡、网络适配卡、磁盘扩充适配卡、光驱等)时,若未有妥善的电源管理机制来控制每一外围装置对辅助电源的消耗,将形成可观的电力消耗。Obviously, today's computer systems still have to rely on power supply devices to supply auxiliary power when they are turned off. Although the consumption of auxiliary power is generally much smaller than the main power consumption during normal operation of the computer system, if the computer system is equipped with several For peripheral devices (such as: display adapter card, sound card, network adapter card, disk expansion adapter card, optical drive, etc.), if there is no proper power management mechanism to control the consumption of auxiliary power by each peripheral device, it will cause Considerable power consumption.
发明内容Contents of the invention
有鉴于此,本发明旨在减少于电脑系统处于关机状态时,各项外围装置的电力消耗,以期能减少辅助电源的消耗。因此,本发明尤其针对常见于电脑系统中的快捷式周边元件互连(Peripheral Component Interconnect Express,PCI-E)总线上所连接的外围装置,来提出减少这些外围装置消耗辅助电源的概念。概略来说,本发明最主要的概念即是在周边元件中加入电力检测单元,通过这些单元来检测电源供应装置输出电力的情形,从而得知电脑系统是否处于关机状态。之所以检测电源供应装置的输出电力,主要是由于电源供应装置所提供的电力的变化与电脑系统的运作模式息息相关,当电脑系统处于关机装置时,电源供应装置仅供应相对低的辅助电源至电脑系统,因此,一旦得知电脑系统处于关机状态,即通过外围装置中的控制单元来使外围装置进入省电模式来达到降低电力消耗的目的。In view of this, the present invention aims to reduce the power consumption of various peripheral devices when the computer system is turned off, so as to reduce the consumption of auxiliary power. Therefore, the present invention proposes a concept of reducing the auxiliary power consumption of these peripheral devices especially for peripheral devices connected to the Peripheral Component Interconnect Express (PCI-E) bus commonly used in computer systems. In a nutshell, the main concept of the present invention is to add power detection units to the peripheral components, and use these units to detect the output power of the power supply device, so as to know whether the computer system is in a shutdown state. The reason why the output power of the power supply device is detected is mainly because the change of the power provided by the power supply device is closely related to the operation mode of the computer system. When the computer system is in shutdown mode, the power supply device only supplies relatively low auxiliary power to the computer. Therefore, once the system knows that the computer system is in the shutdown state, the control unit in the peripheral device will make the peripheral device enter the power saving mode to achieve the purpose of reducing power consumption.
因此,依据本发明提供一种用于一电脑系统中的一外围装置。该外围装置包含:一电力检测单元以及一控制单元。该电力检测单元,依据该电脑系统中的一电力供应状态来产生一检测结果。该控制单元耦接于该电力检测单元,依据该电脑系统的指令来控制该外围装置以执行一特定功能,并且依据该检测结果决定是否进入一省电模式。Therefore, according to the present invention, a peripheral device used in a computer system is provided. The peripheral device includes: a power detection unit and a control unit. The power detection unit generates a detection result according to a power supply state in the computer system. The control unit is coupled to the power detection unit, controls the peripheral device to execute a specific function according to the instruction of the computer system, and determines whether to enter a power saving mode according to the detection result.
较佳者,该外围装置另包含有一快捷式周边元件互连总线接口(PeripheralComponent Interconnect Express,PCI-E),用以耦接该电脑系统中的一主机。Preferably, the peripheral device further includes a Peripheral Component Interconnect Express (PCI-E) interface for coupling to a host in the computer system.
较佳者,该电力检测单元是依据该电脑系统中的一主电源存在与否来产生该检测结果。Preferably, the power detection unit generates the detection result according to the presence or absence of a main power supply in the computer system.
较佳者,该电力检测单元是依据该电脑系统中的一电源良好信号(PWR_OK)信号来产生该检测结果。Preferably, the power detection unit generates the detection result according to a power good signal (PWR_OK) signal in the computer system.
较佳者,该省电模式是一暂停模式(suspend mode)。Preferably, the power saving mode is a suspend mode.
较佳者,该省电模式是一静态电流(IDDQ)模式。Preferably, the power saving mode is a static current (IDDQ) mode.
本发明的最大好处是,外围装置不需要通过特别复杂的管理机制来进行省电,只要检测电源供应装置所输出电力的状态,即可决定是否进入省电模式。The greatest benefit of the present invention is that the peripheral device does not need to use a particularly complicated management mechanism to save power, and only needs to detect the state of the output power of the power supply device to determine whether to enter the power saving mode.
附图说明Description of drawings
图1是现有电源供应装置与电脑系统之间电源供应关系的示意图。FIG. 1 is a schematic diagram of a power supply relationship between a conventional power supply device and a computer system.
图2是本发明外围装置的一实施例应用于一电脑系统的示意图。FIG. 2 is a schematic diagram of an embodiment of the peripheral device of the present invention applied to a computer system.
具体实施方式Detailed ways
本发明的实施例中,主要通过于两种不同的方式来检测电源供应装置的电力供应状态,然而此非本发明的唯一限制,通过其它方式来达成检测电源供应装置的电力供应状态的手段应亦属本发明的范畴。In the embodiment of the present invention, the power supply state of the power supply device is mainly detected in two different ways, but this is not the only limitation of the present invention, the means for detecting the power supply state of the power supply device through other methods should be It also belongs to the category of the present invention.
因此,于本发明的实施例中检测电力供应状态的方式之一即是通过检测代表主要电源存在与否的信号。先进技术扩展(Advanced Technology Extended,ATX)规格书中规定,电源供应装置必须输出一电源良好信号(PWR_OK)来指出其电源供应状态。当该电源良好信号被拉起(asserted)至一高逻辑电平时,代表电源供应装置所提供的+12DV、+5VDC与+3VDC等输出端的电压电平高于最低输出电压门槛(分别为:11.40V、4.75V与3.14V)。事实上,该信号被拉起时,电源供应装置中的转换器(converter)是储存了足够能量,确保可连续供应符合于ATX规格(最低输出电压门槛)的电力。反言之,若该信号被降下(de-asserted)至一低逻辑电平时,即代表输出端的电压电平低于最低输出电压门槛,或是主电源已被移去一段时间,无法确保可连续供应符合于标准的电力。此外,本发明的实施例中检测电力供应状态的方式的另一者,即是直接检测主要电源存在与否,例如:检测输出端的电压电平是否高一默认值。Therefore, one of the ways to detect the power supply status in the embodiment of the present invention is to detect the signal representing the presence or absence of the main power supply. The Advanced Technology Extended (ATX) specification stipulates that the power supply device must output a power good signal (PWR_OK) to indicate its power supply status. When the power good signal is asserted to a high logic level, it means that the voltage levels of the +12DV, +5VDC and +3VDC output terminals provided by the power supply device are higher than the minimum output voltage threshold (respectively: 11.40 V, 4.75V, and 3.14V). In fact, when the signal is pulled up, the converter in the power supply device has stored enough energy to ensure continuous supply of power meeting the ATX specification (minimum output voltage threshold). Conversely, if the signal is de-asserted to a low logic level, it means that the voltage level at the output terminal is lower than the minimum output voltage threshold, or the main power supply has been removed for a period of time, and continuous Supply electricity that meets the standards. In addition, another way of detecting the power supply state in the embodiment of the present invention is to directly detect whether the main power source exists or not, for example, to detect whether the voltage level of the output terminal is higher than a default value.
请参考图2,其是本发明外围装置的一实施例的功能方块示意图。电源供应装置210供应电力(包含主要电源与辅助电源)至电脑系统200,其中于本实施例中,电源供应装置210符合于ATX规范,因此,依据ATX规范,电源供应装置210会提供上述的PWR_OK信号至电脑系统200。电脑系统200则包含有一主机230与一外围装置220。Please refer to FIG. 2 , which is a functional block diagram of an embodiment of the peripheral device of the present invention. The power supply device 210 supplies power (including the main power supply and the auxiliary power supply) to the computer system 200. In this embodiment, the power supply device 210 conforms to the ATX specification. Therefore, according to the ATX specification, the power supply device 210 will provide the above-mentioned PWR_OK The signal is sent to the computer system 200 . The computer system 200 includes a host 230 and a peripheral device 220 .
主机230包含有(但不限定于)一中央处理器232以及一主存储器234。外围装置220包含一电力检测单元222、一控制单元224以及一快捷式周边元件互连(Peripheral Component Interconnect Express,PCI-E)总线接口226。控制单元224主要接收中央处理器232所发布的命令来控制外围装置220,若外围装置220为一网络适配卡时,则控制单元224为一网络控制芯片。电力检测单元222可通过上述两种检测电源供应装置210的电力供应状态的方式中的任一者,进而了解电源供应装置210是提供主要电源抑是辅助电源至电脑系统200。The host 230 includes (but is not limited to) a CPU 232 and a main memory 234 . The peripheral device 220 includes a power detection unit 222 , a control unit 224 and a Peripheral Component Interconnect Express (PCI-E) bus interface 226 . The control unit 224 mainly receives commands issued by the CPU 232 to control the peripheral device 220. If the peripheral device 220 is a network adapter card, the control unit 224 is a network control chip. The power detection unit 222 can know whether the power supply device 210 provides the main power or the auxiliary power to the computer system 200 through any one of the above two ways of detecting the power supply state of the power supply device 210 .
当电力检测单元222检测到电源供应装置300所输出的PWR_OK信号为低逻辑电平时或检测到电源供应装置的输出端的电压电平低于一默认值时,电力检测单元222便产生一检测结果来告知控制单元224,控制单元224会视情况来决定进入何种省电模式。举例来说,若外围装置220为网络适配卡时,且开启网络唤醒的功能时,则需仍需利用控制单元224来检测是否收到封包,故不得处于完全不消耗电力的模式,因此外围装置220便进入一种消耗少许电力的暂停模式(suspend mode)。然而,若外围装置220为显示适配卡时,则可处于一种消耗极低的电力(低于暂停模式中所消耗的电力)的静态电流模式(IDDQ MODE),由于电脑系统200处于关机模式时,通常显示器(未示出)是关闭的,因此只要等到电脑系统200恢复至正常模式时,PWR_OK信号被拉起至一高逻辑电平或检测到电源供应装置的输出端的电压电平高于一默认值时,接着,再通过控制单元224将外围装置220切换至正常模式以开始执行其功能(如输出画面至显示器)。其中,静态电流模式是指于此模式下,除了外围装置220中的逻辑门所流过的静态电流(由电源供应装置210所供应)所导致的电力消耗外,完全不消耗额外的电力,因此于静态电流模式中,外围装置220所造成的电力消耗是远低于暂停模式中的电力消耗。When the power detection unit 222 detects that the PWR_OK signal output by the power supply device 300 is a low logic level or detects that the voltage level of the output terminal of the power supply device is lower than a default value, the power detection unit 222 generates a detection result to Inform the control unit 224, and the control unit 224 will decide which power saving mode to enter according to the situation. For example, if the peripheral device 220 is a network adapter card and the wake-on-lan function is enabled, the control unit 224 still needs to be used to detect whether a packet is received, so it must not be in a mode that does not consume power at all, so the peripheral The device 220 enters a suspend mode that consumes a small amount of power. However, if the peripheral device 220 is a display adapter card, it can be in a quiescent current mode (IDDQ MODE) that consumes very low power (lower than the power consumed in the suspend mode), because the computer system 200 is in the shutdown mode , usually the display (not shown) is turned off, so as long as the computer system 200 returns to the normal mode, the PWR_OK signal is pulled up to a high logic level or the voltage level of the output terminal of the power supply device is detected to be higher than When a default value is set, then, the peripheral device 220 is switched to the normal mode through the control unit 224 to start executing its function (such as outputting images to the display). Wherein, the quiescent current mode refers to that in this mode, except for the power consumption caused by the quiescent current (supplied by the power supply device 210 ) flowing through the logic gates in the peripheral device 220, no additional power is consumed at all, so In the quiescent current mode, the power consumption caused by the peripheral device 220 is much lower than that in the suspend mode.
因此,通过PWR_OK信号的状态或电源供应装置输出端的电压电平,可清楚地知道电脑系统运作于正常模式或者是关机模式。由于在电脑系统的关机模式中,外围装置无须消耗过多的电力,因此可视外围装置的需求,进而将其切换至暂停模式或静态电流模式中之一省电模式以降低整体的电力消耗。Therefore, through the state of the PWR_OK signal or the voltage level of the output terminal of the power supply device, it can be clearly known whether the computer system is operating in the normal mode or the shutdown mode. Since the peripheral device does not need to consume too much power in the shutdown mode of the computer system, the peripheral device can be switched to one of the power saving mode of the suspend mode or the static current mode according to the demand of the peripheral device to reduce the overall power consumption.
应当注意的是,上述的实施例中,外围装置的数目并非本发明的限制,亦即,数个本发明的外围装置可同时应用于同一电脑系统,而熟习相关技术的人应可明了其相关的设计与连接方式,为了说明书简洁起见,在此便不多作赘述。此外,于上述的实施例所提到的两种外围装置的省电模式亦非本发明的限制,事实上,本发明的概念在于提供不同的省电模式,以使外围装置于电脑系统开关机之间的操作更有弹性。因此,任何于电脑系统关机时,将外围装置切换至不同省电模式的运作,亦属本发明的范畴。It should be noted that in the above-mentioned embodiments, the number of peripheral devices is not a limitation of the present invention, that is, several peripheral devices of the present invention can be applied to the same computer system at the same time, and those who are familiar with related technologies should be able to understand the relevant For the sake of brevity in the description, the design and connection method of the device will not be repeated here. In addition, the power-saving modes of the two peripheral devices mentioned in the above-mentioned embodiments are not limitations of the present invention. In fact, the concept of the present invention is to provide different power-saving modes so that the peripheral devices can be switched on and off in the computer system. The operation between is more flexible. Therefore, any operation of switching peripheral devices to different power-saving modes when the computer system is shut down also falls within the scope of the present invention.
以上所述仅为本发明的较佳实施例,凡依本发明申请专利范围所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention shall fall within the scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2009101409005ACN101887301A (en) | 2009-05-11 | 2009-05-11 | Peripheral device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2009101409005ACN101887301A (en) | 2009-05-11 | 2009-05-11 | Peripheral device |
| Publication Number | Publication Date |
|---|---|
| CN101887301Atrue CN101887301A (en) | 2010-11-17 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2009101409005APendingCN101887301A (en) | 2009-05-11 | 2009-05-11 | Peripheral device |
| Country | Link |
|---|---|
| CN (1) | CN101887301A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013086713A1 (en)* | 2011-12-14 | 2013-06-20 | Universal Scientific Industrial (Shanghai) Co., Ltd. | Power saving method and control circuitry and power supply |
| CN109144582A (en)* | 2018-07-26 | 2019-01-04 | 广州视源电子科技股份有限公司 | Wake-up circuit and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013086713A1 (en)* | 2011-12-14 | 2013-06-20 | Universal Scientific Industrial (Shanghai) Co., Ltd. | Power saving method and control circuitry and power supply |
| US9513683B2 (en) | 2011-12-14 | 2016-12-06 | Universal Scientific Industrial (Shanghai) Co., Ltd. | Control circuitry used in a computing system, and power supply having the control circuitry |
| CN104137023B (en)* | 2011-12-14 | 2017-03-22 | 环旭电子股份有限公司 | Power supply unit and control circuit thereof and electricity saving method |
| CN109144582A (en)* | 2018-07-26 | 2019-01-04 | 广州视源电子科技股份有限公司 | Wake-up circuit and electronic equipment |
| Publication | Publication Date | Title |
|---|---|---|
| CN100478843C (en) | Method for reducing power consumption of computer system in working state and chip set | |
| JP3170264U (en) | Power saving electronic device for motherboard and its motherboard | |
| TWI464571B (en) | A power saving electronic device for a computer motherboard in a standby dormant state and a computer motherboard | |
| CN104272388B (en) | Ultra-deep power-down mode for memory devices | |
| TWI413906B (en) | Detecting connection to a usb host or hub without using an extra status input | |
| CN101470509B (en) | Computer system control method, computer system and notebook computer | |
| TWI417710B (en) | Computer system for saving power consumption of a stand-by/power-off state and method thereof | |
| JP3974510B2 (en) | Computer apparatus, power management method, and program | |
| CN101907918B (en) | Computer system and related method for saving power consumption in standby/off state | |
| JP3150567U (en) | Electronic device that reduces power consumption when computer motherboard shuts down | |
| CN101517510A (en) | Transitioning a computing platform to a low power system state | |
| EP2735936A2 (en) | Power control system and power control method | |
| CN103746417B (en) | Low-power-consumption control method and system of battery monitoring chip | |
| US9195297B2 (en) | Bridging device for connecting to a host executes a power saving operation or a polling operation according to status detected by the connection detector | |
| US7870408B2 (en) | Universal serial bus wakeup circuit | |
| CN101782802A (en) | Standby power-saving system and computer power supply starting and disconnecting method thereof | |
| CN118068943B (en) | Power management module and computer system | |
| CN101887301A (en) | Peripheral device | |
| CN101556499B (en) | Current adjustment device, power supply device, and current adjustment method | |
| JP7300667B2 (en) | Energy saving hub | |
| CN101727167A (en) | power switching circuit | |
| US20080309167A1 (en) | Power-saving circuit and method thereof | |
| CN114330186A (en) | Front-end chip of data transmission system | |
| Huang et al. | Reducing the standby power consumption of the S3 state for PCs | |
| TWI736434B (en) | Front chip for data transmission system |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication | Open date:20101117 |