CN106155259A - A kind of power control method and device - Google Patents

A kind of power control method and device Download PDF

Info

Publication number
CN106155259A
CN106155259A CN201510190823.XA CN201510190823A CN106155259A CN 106155259 A CN106155259 A CN 106155259A CN 201510190823 A CN201510190823 A CN 201510190823A CN 106155259 A CN106155259 A CN 106155259A
Authority
CN
China
Prior art keywords
power supply
computer system
host computer
control
state
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201510190823.XA
Other languages
Chinese (zh)
Inventor
李志勇
樊小军
丁世顺
郭宇婕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510190823.XA priority Critical patent/CN106155259A/en
Publication of CN106155259A publication Critical patent/CN106155259A/en
Pending legal-status Critical Current

Links

Abstract

Power control method disclosed in the present application and device, obtain current operating state and the parameter preset item numerical value of power supply of host computer system in real time;On this basis, according to current operating state and the parameter preset item numerical value of power supply of host computer system, power supply is carried out energy-conservation or protection control.Visible; it is different from prior art; the application is simultaneously by parameter preset item numerical value (such as output or output electric current) and the current operating state of host computer system of power supply; the control foundation that and protection energy-conservation as power supply controls; it is achieved thereby that the actual working state combining host computer system carries out control on demand to power supply; the control mode the most single, rough compared to prior art, the application can be mated the actual working state of PC host computer system and be controlled power supply the most accurately.

Description

A kind of power control method and device
Technical field
The invention belongs to power supply and control technical field, particularly relate to a kind of power control method and device.
Background technology
Consider based on energy-conservation consideration and main frame, power protection, need to PC (Personal Computer, individual People's computer) power supply carry out energy-conservation and protection control.
Current power supply is energy-conservation/and protection control program is: when output or the output electric current of power supply reach to set During fixed high threshold (protection point), control power supply and enter protected mode, to avoid damaging power supply or master Machine;On the contrary, it is less than the lowest threshold set, i.e. underloading or sky when output or the output electric current of power supply During load, control power supply and enter energy saver mode, it is achieved be energy-conservation.Visible, existing energy-conservation/protection control program Control mode is the most single, only using the output of power supply or output electric current as controlling foundation, it is achieved right Power supply controls roughly, and the accurate power supply failing to realize coupling PC host computer system actual working state controls.
Summary of the invention
In view of this, it is an object of the invention to provide a kind of power control method and device, it is intended to combine The actual working state of PC host computer system, it is achieved PC power source is controlled the most accurately.
To this end, the present invention is disclosed directly below technical scheme:
A kind of power control method, including:
Obtain current operating state and the parameter preset item numerical value of power supply of host computer system in real time;
According to current operating state and the parameter preset item numerical value of power supply of described host computer system, power supply is entered Row is energy-conservation or protection controls.
Said method, it is preferred that the current operating state of described host computer system is in following six kinds of states Any one:
The state that out-of-work state S1 of normal operating conditions S0, central processor CPU, CPU close S2, holding state S3, resting state S4, off-mode S5.
Said method, it is preferred that described parameter preset item is the output electric current of power supply.
Said method, it is preferred that the current operating state of host computer system is S0 or S1 or S2, then described in depend on According to current operating state and the parameter preset item numerical value of power supply of described host computer system, power supply is carried out energy-conservation Or protection control includes:
Judge power supply exports the first protection threshold value whether electric current reaches default;
If the determination result is YES, then control power supply and enter protected mode.
Said method, it is preferred that the current operating state of host computer system is S3 or S4 or S5, then described in depend on According to current operating state and the parameter preset item numerical value of power supply of described host computer system, power supply is carried out energy-conservation Or protection control includes:
Judge that whether the output electric current of power supply is less than the first green-threshold preset;
If judged result is less than described first green-threshold, then controls power supply and enter energy saver mode;
If judged result is for being not less than described first green-threshold, then continue to judge that the output electric current of power supply is No reach default second protection threshold value;If judged result is for reaching described second protection threshold value, then control Power supply enters protected mode.
Said method, it is preferred that after described control power supply enters energy saver mode, also include:
Judge whether the electric power outputting current obtained in real time reaches the second default green-threshold, if judging knot Fruit is yes, then control power supply and jump out energy saver mode.
Said method, it is preferred that described first protection threshold value is 19.5A.
Said method, it is preferred that described first green-threshold is 0.45A, described second protection threshold value is 4A.
Said method, it is preferred that described second green-threshold is 0.6A.
A kind of power control, including:
Acquisition module, for current operating state and the parameter preset item of power supply of acquisition host computer system in real time Numerical value;
Control module, is used for the current operating state according to described host computer system and the parameter preset item of power supply Numerical value, carries out energy-conservation or protection control to power supply.
Said apparatus, it is preferred that when the current operating state of described host computer system is S0 or S1 or S2, institute State control module to include:
First judging unit, for judging whether the output electric current of power supply reaches the first default protection threshold value;
First control unit, for when judged result is for being, controls power supply and enters protected mode.
Said apparatus, it is preferred that when the current operating state of described host computer system is S3 or S4 or S5, institute State control module to include:
Second judging unit, for judging that whether the output electric current of power supply is less than the first green-threshold preset;
Second control unit, is less than described first segment for the judged result at described second judging unit During energy threshold value, control power supply and enter energy saver mode;
3rd judging unit, for the judged result at described second judging unit for being not less than described first During green-threshold, continue to judge whether the output electric current of power supply reaches the second default protection threshold value;
3rd control unit, for protecting for reaching described second in the judged result of described 3rd judging unit When protecting threshold value, control power supply and enter protected mode.
Said apparatus, it is preferred that described control module also includes:
4th judging unit, after entering energy saver mode at power supply, it is judged that the power supply output obtained in real time Whether electric current reaches the second default green-threshold;
4th control unit, for when the judged result of described 4th judging unit is for being, controls power supply Jump out energy saver mode.
From above scheme, power control method disclosed in the present application and device, obtain main frame system in real time The current operating state of system and the parameter preset item numerical value of power supply;On this basis, according to host computer system The parameter preset item numerical value of current operating state and power supply, carries out energy-conservation or protection control to power supply.It is visible, Being different from prior art, the application is simultaneously by parameter preset item numerical value (the such as output or defeated of power supply Go out electric current) and the current operating state of host computer system, the control foundation that and protection energy-conservation as power supply controls, It is achieved thereby that the actual working state combining host computer system carries out control on demand to power supply, compared to existing The control mode that technology is the most single, rough, the application can mate the actual working state of PC host computer system Power supply is controlled the most accurately.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below, Accompanying drawing in description is only embodiments of the invention, for those of ordinary skill in the art, not On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
Fig. 1 is the flow chart of a kind of power control method embodiment one that the application provides;
Fig. 2 is the flow chart of a kind of power control method embodiment two that the application provides;
Fig. 3 is the flow chart of a kind of power control method embodiment three that the application provides;
Fig. 4 is the flow chart of a kind of power control method embodiment four that the application provides;
Fig. 5 is the structural representation of a kind of power control embodiment five that the application provides;
Fig. 6 is the structural representation of a kind of power control embodiment six that the application provides;
Fig. 7 is the structural representation of a kind of power control embodiment seven that the application provides;
Fig. 8 is the structural representation of a kind of power control method embodiment eight that the application provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
Embodiment one
With reference to the flow chart of a kind of power control method embodiment one that Fig. 1, Fig. 1 provide for the application, should Method can be applicable to desktop computer, all-in-one, notebook, PAD (portable android device, flat board Computer) etc. in various types of computer equipments.As it is shown in figure 1, described method may comprise steps of:
S101: obtain current operating state and the parameter preset item numerical value of power supply of host computer system in real time.
During actual application the application, described parameter preset item can be the output of power supply, it is also possible to be The output electric current of power supply, parameter preset item described in the present embodiment is the output electric current of power supply, i.e. this enforcement Example specifically use power supply output electric current energy-conservation as power supply or protection control control according to one of.
The detection function of host computer system duty and electric power outputting current can be integrated in power management chip In, power management chip is connected with host mainboard and power supply, when, after electric power starting, power management chip will Duty and the output electric current of power supply of host computer system is detected by the pin set.Specifically, when When host computer system is in S0 or S1 or S2 state, it is to power management chip output low level status signal; Otherwise, when host computer system is in S3 or S4 or S5 state, then export high level state to power management chip Signal, in the present embodiment, power management chip obtains the high electricity of host computer system by its pin SYS_ONB Putting down or low level state signal, the output electric current of power supply is then examined by the pin I12B of power management chip Survey and obtain.
Wherein, state S0 of host computer system, S1, S2, S3, S4 and S5 are specially ACPI (Advanced Configuration and Power Interface, ACPI) defined in power management Six kinds of system modes, the definition of each state is as follows:
S0: computer normally works, all hardware equipment is completely in the state opened or normally work;
S1: also referred to as POS (Power on Suspend, CPU quits work), other hardware device The most normally work;
S2: CPU is closed, but remaining hardware device still operates;
S3: commonly referred to STR (Suspend to RAM, suspend to internal memory), refer to operating data Closing hard disk after write internal memory, this state is holding state, can wake up up with mouse or keyboard;
S4: also referred to as STD (Suspend to Disk, suspend to hard disk), refer to hard for memory information write Dish, the most all parts quit work, and this state is resting state (degree of depth is standby), typically passes through Press power key to wake up up;
S5: all hardware equipment (including power supply) is all closed, and namely shuts down.
S102: according to current operating state and the parameter preset item numerical value of power supply of described host computer system, right Power supply carries out energy-conservation or protection control.
The application is simultaneously by the actual working state the two parameter exporting electric current and host computer system of power supply Value, as power supply being carried out the energy-conservation or control foundation of protection control, based on this, need to be previously according to two The different value condition of parameter formulate different power control scheme, follow-up are detecting the reality of two parameter After value, according to the control program pre-established, power supply can be carried out the most energy-conservation or protection control, The actual working state combining host computer system with realization carries out control on demand to power supply.
From above scheme, power control method disclosed in the present application, obtain working as of host computer system in real time The parameter preset item numerical value of front duty and power supply;On this basis, according to the current work of host computer system Make the parameter preset item numerical value of state and power supply, power supply is carried out energy-conservation or protection control.Visible, difference In prior art, the application is simultaneously by parameter preset item numerical value (such as output or the output electricity of power supply Stream) and the current operating state of host computer system, the control foundation that and protection energy-conservation as power supply controls, from And achieve the actual working state combining host computer system and power supply is carried out control on demand, compared to existing skill The control mode that art is the most single, rough, the application can mate the actual working state pair of PC host computer system Power supply controls the most accurately.
Embodiment two
With reference to the flow chart of a kind of power control method embodiment two that Fig. 2, Fig. 2 provide for the application, this In embodiment, it is assumed that the current operating state of host computer system is S0 or S1 or S2, and the most described step S102 can To be realized by following steps:
S201: judge whether the output electric current of power supply reaches the first default protection threshold value;
S202: if the determination result is YES, then control power supply and enter protected mode.
The present embodiment is in low level signal state for SYS_ONB, i.e. for the work shape of host computer system State is the situation of S0 or S1 or S2, provides the most energy-conservation and protection control program.
From the description of a pair hosting system status of embodiment, under S0 state, computer normally works, and place In high power supply supply status, under S1 and S2 state, computer normally works, but is in low power supply supply status; The hardware devices such as three kinds of states belong to user and normally use the situation of computer, the fan in host computer system are equal Normal work, thus need power supply to carry out normal power supply, therefore, under described three kinds of system modes, in order to Do not affect Consumer's Experience, normally use for user computer to carry out normal power supply, be not suitable for controlling power supply and enter Energy saver mode.Based on this, in the present embodiment, when host computer system runs on S0 or S1 or S2 state, only Carry out power supply protecting control, and it is not carried out Energy Saving Control.
When host computer system runs on three of the above state, when the output electric current of power supply is excessive and reaches setting Over-current protection point, during the most described first protection threshold value, in order to avoid damage power supply or main frame, need to be to power supply Carry out protecting control so that it is enter protected mode.
Wherein, the over-current protection point of power supply can be by technical staff according to each device in power supply and host computer system Performance parameter is set, and the power supply over-current protection point under S0, S1, S2 state is specifically set by the present embodiment It is set to 19.5A, i.e. when the output electric current of power supply reaches 19.5A, controls power supply and carry out protected mode, with There is not overcurrent damage in protection power supply or main frame.
Embodiment three
With reference to the flow chart of a kind of power control method embodiment three that Fig. 3, Fig. 3 provide for the application, this In embodiment, it is assumed that the current operating state of host computer system is S3 or S4 or S5, and the most described step S102 can To be realized by following steps:
S301: judge that whether the output electric current of power supply is less than the first green-threshold preset;
S302: if judged result is less than described first green-threshold, then control power supply and enter energy saver mode;
S303: if judged result is for being not less than described first green-threshold, then continue to judge the output of power supply Whether electric current reaches the second default protection threshold value;
S304: if judged result is for reaching described second protection threshold value, then controls power supply and enter protected mode.
The present embodiment is in high level signal state for SYS_ONB, i.e. for the work shape of host computer system State is the situation of S3 or S4 or S5, provides the most energy-conservation and protection control program.
Wherein, described first green-threshold is set as 0.45A by the present embodiment, and the second protection threshold value is set to 4.0A。
When the duty of host computer system is S3 or S4 or S5, host computer system is in the improper start of user The state used, such as in main frame, the hardware device such as fan is not opened, if electric power outputting current (I12B) simultaneously Less than described first green-threshold (0.45A), then power supply underloading or zero load, now controllable power enters Energy saver mode, it is achieved energy-conservation.Specifically, power management chip passes through its Energy Saving Control foot BURST to master Control chip one high voltage indication signal of output, instruction main control chip controls power supply and enters energy saver mode.
On the contrary, when host computer system runs on S3 or S4 or S5 state, if the output electric current of power supply is higher, and Reach set second protection threshold value (4.0A), then in order to avoid in host computer system corresponding device because of electric current Excessive and damage, power supply need to be controlled and enter protected mode.
Being different from the over-current protection point 19.5A of embodiment two, the over-current protection point of power supply is set by the present embodiment For 4.0A based on considered below:
When host computer system runs on S3 or S4 or S5 state, the hardware device of system is not opened, and fan etc. dissipates Host computer system can not be dispelled the heat, be lowered the temperature by thermal device, thus the S0 properly functioning compared to radiating element, S1 and S2 state, the current carrying capability of host computer system reduces accordingly, such as, under S0, S1 or S2 state, The output electric current of 10A is the safe current of power supply, is not result in that power supply and main frame damage, and S3, S4 or S5 Under state, the 10A output electric current that power supply produces then can become the abnormal current of system, and host computer system is because of cannot Dispel the heat, lower the temperature and be easily caused overcurrent damage.
Based on this, the application combines the different operating state of host computer system, has formulated different power supplys and has controlled Scheme, it is achieved that power supply is carried out control on demand, control accuracy is higher.
Embodiment four
With reference to the flow chart of a kind of power control method embodiment four that Fig. 4, Fig. 4 provide for the application, this Premised on application scenarios that embodiment is provided by embodiment three and scheme, as shown in Figure 4, enter at power supply After energy saver mode, described method can also comprise the following steps:
S401: judge whether the electric power outputting current obtained in real time reaches the second default green-threshold;
S402: if the determination result is YES, then control power supply and jump out energy saver mode.
Enter after energy saver mode controlling power supply, need to continue to detect the output electric current of power supply, once power supply Output electric current gos up to the second green-threshold set, then control power supply and jump out energy saver mode.Specifically, When I12B foot detects that electric power outputting current reaches the second green-threshold, the energy-conservation control of power management chip Foot BURST processed can export a low-voltage indication signal to main control chip, and instruction main control chip controls power supply Jump out energy saver mode.
In the present embodiment, described second green-threshold is specially 0.6A.Ideally, power supply enters joint Can pattern and jump out the current threshold of energy saver mode and may be configured as same numerical value, but in view of actual applied field There is circuit tolerance, therefore, this reality in Jing Zhong, PCB (Printed Circuit Board, printed circuit board) Execute example to will jump out the current threshold of energy saver mode and be set above entering a number of energy saver mode current threshold Value.
Embodiment five
With reference to the structural representation of a kind of power control embodiment five that Fig. 5, Fig. 5 provide for the application, The method can be applicable in various types of computer equipments such as desktop computer, all-in-one, notebook, PAD. As it is shown in figure 5, described device can include acquisition module 100 and control module 200.
Acquisition module 100, for current operating state and the parameter preset of power supply of acquisition host computer system in real time Item numerical value.
During actual application the application, described parameter preset item can be the output of power supply, it is also possible to be The output electric current of power supply, parameter preset item described in the present embodiment is the output electric current of power supply, i.e. this enforcement Example specifically use power supply output electric current energy-conservation as power supply or protection control control according to one of.
The detection function of host computer system duty and electric power outputting current can be integrated in power management chip In, power management chip is connected with host mainboard and power supply, when, after electric power starting, power management chip will Duty and the output electric current of power supply of host computer system is detected by the pin set.Specifically, when When host computer system is in S0 or S1 or S2 state, it is to power management chip output low level status signal; Otherwise, when host computer system is in S3 or S4 or S5 state, then export high level state to power management chip Signal, in the present embodiment, power management chip obtains the high electricity of host computer system by its pin SYS_ONB Putting down or low level state signal, the output electric current of power supply is then examined by the pin I12B of power management chip Survey and obtain.
Wherein, state S0 of host computer system, S1, S2, S3, S4 and S5 are specially ACPI (Advanced Configuration and Power Interface, ACPI) defined in power management Six kinds of system modes, the definition of each state is as follows:
S0: computer normally works, all hardware equipment is completely in the state opened or normally work;
S1: also referred to as POS (Power on Suspend, CPU quits work), other hardware device The most normally work;
S2: CPU is closed, but remaining hardware device still operates;
S3: commonly referred to STR (Suspend to RAM, suspend to internal memory), refer to operating data Closing hard disk after write internal memory, this state is holding state, can wake up up with mouse or keyboard;
S4: also referred to as STD (Suspend to Disk, suspend to hard disk), refer to hard for memory information write Dish, the most all parts quit work, and this state is resting state (degree of depth is standby), typically passes through Press power key to wake up up;
S5: all hardware equipment (including power supply) is all closed, and namely shuts down.
Control module 200, is used for the current operating state according to described host computer system and the parameter preset of power supply Item numerical value, carries out energy-conservation or protection control to power supply.
The application is simultaneously by the actual working state the two parameter exporting electric current and host computer system of power supply Value, as power supply being carried out the energy-conservation or control foundation of protection control, based on this, need to be previously according to two The different value condition of parameter formulate different power control scheme, follow-up are detecting the reality of two parameter After value, according to the control program pre-established, power supply can be carried out the most energy-conservation or protection control, The actual working state combining host computer system with realization carries out control on demand to power supply.
From above scheme, power control disclosed in the present application, obtain working as of host computer system in real time The parameter preset item numerical value of front duty and power supply;On this basis, according to the current work of host computer system Make the parameter preset item numerical value of state and power supply, power supply is carried out energy-conservation or protection control.Visible, difference In prior art, the application is simultaneously by parameter preset item numerical value (such as output or the output electricity of power supply Stream) and the current operating state of host computer system, the control foundation that and protection energy-conservation as power supply controls, from And achieve the actual working state combining host computer system and power supply is carried out control on demand, compared to existing skill The control mode that art is the most single, rough, the application can mate the actual working state pair of PC host computer system Power supply controls the most accurately.
Embodiment six
With reference to the structural representation of a kind of power control embodiment six that Fig. 6, Fig. 6 provide for the application, In the present embodiment, it is assumed that the current operating state of host computer system is S0 or S1 or S2, the most described control module 200 include the first judging unit 210 and the first control unit 220.
First judging unit 210, for judging whether the output electric current of power supply reaches the first default protection threshold Value.
First control unit 220, for when judged result is for being, controls power supply and enters protected mode.
The present embodiment is in low level signal state for SYS_ONB, i.e. for the work shape of host computer system State is the situation of S0 or S1 or S2, provides the most energy-conservation and protection control program.
From the embodiment five description to hosting system status, under S0 state, computer normally works, and place In high power supply supply status, under S1 and S2 state, computer normally works, but is in low power supply supply status; The hardware devices such as three kinds of states belong to user and normally use the situation of computer, the fan in host computer system are equal Normal work, thus need power supply to carry out normal power supply, therefore, under described three kinds of system modes, in order to Do not affect Consumer's Experience, normally use for user computer to carry out normal power supply, be not suitable for controlling power supply and enter Energy saver mode.Based on this, in the present embodiment, when host computer system runs on S0 or S1 or S2 state, only Carry out power supply protecting control, and it is not carried out Energy Saving Control.
When host computer system runs on three of the above state, when the output electric current of power supply is excessive and reaches setting Over-current protection point, during the most described first protection threshold value, in order to avoid damage power supply or main frame, need to be to power supply Carry out protecting control so that it is enter protected mode.
Wherein, the over-current protection point of power supply can be by technical staff according to each device in power supply and host computer system Performance parameter is set, and the power supply over-current protection point under S0, S1, S2 state is specifically set by the present embodiment It is set to 19.5A, i.e. when the output electric current of power supply reaches 19.5A, controls power supply and carry out protected mode, with There is not overcurrent damage in protection power supply or main frame.
Embodiment seven
With reference to the structural representation of a kind of power control embodiment seven that Fig. 7, Fig. 7 provide for the application, In the present embodiment, it is assumed that the current operating state of host computer system is S3 or S4 or S5, the most described control module 200 include the second judging unit the 230, second control unit the 240, the 3rd judging unit 250 and the 3rd control Unit 260.
Wherein, the second judging unit 230, for judging that whether the output electric current of power supply is less than first preset Green-threshold;
Second control unit 240, is less than described first for the judged result at described second judging unit During green-threshold, control power supply and enter energy saver mode;
3rd judging unit 250, in the judged result of described second judging unit for being not less than described the During one green-threshold, continue to judge whether the output electric current of power supply reaches the second default protection threshold value;
3rd control unit 260, for the judged result at described 3rd judging unit for reaching described second During protection threshold value, control power supply and enter protected mode.
The present embodiment is in high level signal state for SYS_ONB, i.e. for the work shape of host computer system State is the situation of S3 or S4 or S5, provides the most energy-conservation and protection control program.
Wherein, described first green-threshold is set as 0.45A by the present embodiment, and the second protection threshold value is set to 4.0A。
When the duty of host computer system is S3 or S4 or S5, host computer system is in the improper start of user The state used, such as in main frame, the hardware device such as fan is not opened, if electric power outputting current (I12B) simultaneously Less than described first green-threshold (0.45A), then power supply underloading or zero load, now controllable power enters Energy saver mode, it is achieved energy-conservation.Specifically, power management chip passes through its Energy Saving Control foot BURST to master Control chip one high voltage indication signal of output, instruction main control chip controls power supply and enters energy saver mode.
On the contrary, when host computer system runs on S3 or S4 or S5 state, if the output electric current of power supply is higher, and Reach set second protection threshold value (4.0A), then in order to avoid in host computer system corresponding device because of electric current Excessive and damage, power supply need to be controlled and enter protected mode.
Being different from the over-current protection point 19.5A of embodiment two, the over-current protection point of power supply is set by the present embodiment For 4.0A based on considered below:
When host computer system runs on S3 or S4 or S5 state, the hardware device of system is not opened, and fan etc. dissipates Host computer system can not be dispelled the heat, be lowered the temperature by thermal device, thus the S0 properly functioning compared to radiating element, S1 and S2 state, the current carrying capability of host computer system reduces accordingly, such as, under S0, S1 or S2 state, The output electric current of 10A is the safe current of power supply, is not result in that power supply and main frame damage, and S3, S4 or S5 Under state, the 10A output electric current that power supply produces then can become the abnormal current of system, and host computer system is because of cannot Dispel the heat, lower the temperature and be easily caused overcurrent damage.
Based on this, the application combines the different operating state of host computer system, has formulated different power supplys and has controlled Scheme, it is achieved that power supply is carried out control on demand, control accuracy is higher.
Embodiment eight
Structural representation with reference to a kind of power control method embodiment eight that Fig. 8, Fig. 8 provide for the application Premised on figure, application scenarios that the present embodiment is provided by embodiment seven and scheme, as shown in Figure 8, described Control module 200 can also include the 4th judging unit 270 and the 4th control unit 280.
4th judging unit 270, after entering energy saver mode at described control power supply, it is judged that obtain in real time Electric power outputting current whether reach default the second green-threshold;
4th control unit 280, for when the judged result of described 4th judging unit is for being, controls electricity Energy saver mode is jumped out in source.
Enter after energy saver mode controlling power supply, need to continue to detect the output electric current of power supply, once power supply Output electric current gos up to the second green-threshold set, then control power supply and jump out energy saver mode.Specifically, When I12B foot detects that electric power outputting current reaches the second green-threshold, the energy-conservation control of power management chip Foot BURST processed can export a low-voltage indication signal to main control chip, and instruction main control chip controls power supply Jump out energy saver mode.
In the present embodiment, described second green-threshold is specially 0.6A.Ideally, power supply enters Energy saver mode and jump out the current threshold of energy saver mode and may be configured as same numerical value, but in view of reality application In scene, there is circuit tolerance in PCB (Printed Circuit Board, printed circuit board), therefore, The present embodiment will jump out the current threshold of energy saver mode and is set above entering the one of energy saver mode current threshold Individual numerical value.
It should be noted that each embodiment in this specification all uses the mode gone forward one by one to describe, each What embodiment stressed is all the difference with other embodiments, identical similar between each embodiment Part see mutually.
For convenience of description, it is divided into various module or unit to be respectively described with function when describing system above. Certainly, can be the function of each unit in same or multiple softwares and/or hardware when implementing the application Realize.
As seen through the above description of the embodiments, those skilled in the art is it can be understood that arrive The application can add the mode of required general hardware platform by software and realize.Based on such understanding, The part that prior art is contributed by the technical scheme of the application the most in other words can be with software product Form embody, this computer software product can be stored in storage medium, as ROM/RAM, Magnetic disc, CD etc., including some instructions with so that computer equipment (can be personal computer, Server, or the network equipment etc.) perform each embodiment of the application or some part institute of embodiment The method stated.
Finally, in addition it is also necessary to explanation, in this article, such as first, second, third and fourth etc. it The relational terms of class is used merely to separate an entity or operation with another entity or operating space, And not necessarily require or imply and there is the relation of any this reality or suitable between these entities or operation Sequence.And, term " includes ", " comprising " or its any other variant are intended to nonexcludability Comprise, so that include that the process of a series of key element, method, article or equipment not only include that A little key elements, but also include other key elements being not expressly set out, or also include for this process, The key element that method, article or equipment are intrinsic.In the case of there is no more restriction, by statement " bag Include one ... " key element that limits, it is not excluded that include the process of described key element, method, article or Person's equipment there is also other identical element.
The above is only the preferred embodiment of the present invention, it is noted that general for the art For logical technical staff, under the premise without departing from the principles of the invention, it is also possible to make some improvement and profit Decorations, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (13)

1. a power control method, it is characterised in that including:
Obtain current operating state and the parameter preset item numerical value of power supply of host computer system in real time;
According to current operating state and the parameter preset item numerical value of power supply of described host computer system, power supply is entered Row is energy-conservation or protection controls.
Method the most according to claim 1, it is characterised in that the work at present of described host computer system State is any one in following six kinds of states:
The state that out-of-work state S1 of normal operating conditions S0, central processor CPU, CPU close S2, holding state S3, resting state S4, off-mode S5.
Method the most according to claim 2, it is characterised in that described parameter preset item is power supply Output electric current.
Method the most according to claim 3, it is characterised in that the current operating state of host computer system For S0 or S1 or S2, the most described current operating state according to described host computer system and the parameter preset of power supply Item numerical value, carries out power supply energy-conservation or protects control to include:
Judge power supply exports the first protection threshold value whether electric current reaches default;
If the determination result is YES, then control power supply and enter protected mode.
Method the most according to claim 3, it is characterised in that the current operating state of host computer system For S3 or S4 or S5, the most described current operating state according to described host computer system and the parameter preset of power supply Item numerical value, carries out power supply energy-conservation or protects control to include:
Judge that whether the output electric current of power supply is less than the first green-threshold preset;
If judged result is less than described first green-threshold, then controls power supply and enter energy saver mode;
If judged result is for being not less than described first green-threshold, then continue to judge that the output electric current of power supply is No reach default second protection threshold value;If judged result is for reaching described second protection threshold value, then control Power supply enters protected mode.
Method the most according to claim 5, it is characterised in that enter energy-conservation at described control power supply After pattern, also include:
Judge whether the electric power outputting current obtained in real time reaches the second default green-threshold, if judging knot Fruit is yes, then control power supply and jump out energy saver mode.
Method the most according to claim 4, it is characterised in that described first protection threshold value is 19.5A.
Method the most according to claim 5, it is characterised in that described first green-threshold is 0.45A, Described second protection threshold value is 4A.
Method the most according to claim 6, it is characterised in that described second green-threshold is 0.6A.
10. a power control, it is characterised in that including:
Acquisition module, for current operating state and the parameter preset item of power supply of acquisition host computer system in real time Numerical value;
Control module, is used for the current operating state according to described host computer system and the parameter preset item of power supply Numerical value, carries out energy-conservation or protection control to power supply.
11. devices according to claim 10, it is characterised in that the current work of described host computer system As state be S0 or S1 or S2 time, described control module includes:
First judging unit, for judging whether the output electric current of power supply reaches the first default protection threshold value;
First control unit, for when judged result is for being, controls power supply and enters protected mode.
12. devices according to claim 10, it is characterised in that the current work of described host computer system As state be S3 or S4 or S5 time, described control module includes:
Second judging unit, for judging that whether the output electric current of power supply is less than the first green-threshold preset;
Second control unit, is less than described first segment for the judged result at described second judging unit During energy threshold value, control power supply and enter energy saver mode;
3rd judging unit, for the judged result at described second judging unit for being not less than described first During green-threshold, continue to judge whether the output electric current of power supply reaches the second default protection threshold value;
3rd control unit, for protecting for reaching described second in the judged result of described 3rd judging unit When protecting threshold value, control power supply and enter protected mode.
13. devices according to claim 12, it is characterised in that described control module also includes:
4th judging unit, after entering energy saver mode at power supply, it is judged that the power supply output obtained in real time Whether electric current reaches the second default green-threshold;
4th control unit, for when the judged result of described 4th judging unit is for being, controls power supply Jump out energy saver mode.
CN201510190823.XA 2015-04-21 2015-04-21 A kind of power control method and device Pending CN106155259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510190823.XA CN106155259A (en) 2015-04-21 2015-04-21 A kind of power control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510190823.XA CN106155259A (en) 2015-04-21 2015-04-21 A kind of power control method and device

Publications (1)

Publication Number Publication Date
CN106155259A true CN106155259A (en) 2016-11-23

Family

ID=58057904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510190823.XA Pending CN106155259A (en) 2015-04-21 2015-04-21 A kind of power control method and device

Country Status (1)

Country Link
CN (1) CN106155259A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1640120A (en) * 2002-02-27 2005-07-13 皇家飞利浦电子股份有限公司 Power standby mode circuitry for audiovisual device
US20060098368A1 (en) * 2004-11-09 2006-05-11 Dell Products L.P. Auto adjustment of over current protection in degraded mode
CN102084261A (en) * 2008-07-11 2011-06-01 三美电机株式会社 Battery state monitoring device
US20140068288A1 (en) * 2012-09-04 2014-03-06 Motorola Mobility, Inc. Method and device with enhanced battery capacity savings
CN104035344A (en) * 2013-03-04 2014-09-10 纬创资通股份有限公司 Power saving device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1640120A (en) * 2002-02-27 2005-07-13 皇家飞利浦电子股份有限公司 Power standby mode circuitry for audiovisual device
US20060098368A1 (en) * 2004-11-09 2006-05-11 Dell Products L.P. Auto adjustment of over current protection in degraded mode
CN102084261A (en) * 2008-07-11 2011-06-01 三美电机株式会社 Battery state monitoring device
US20140068288A1 (en) * 2012-09-04 2014-03-06 Motorola Mobility, Inc. Method and device with enhanced battery capacity savings
CN104035344A (en) * 2013-03-04 2014-09-10 纬创资通股份有限公司 Power saving device

Similar Documents

Publication Publication Date Title
KR101698877B1 (en) Total platform power control
TWI300175B (en) Method and apparatus for adjusting the voltage and frequency to minimize power dissipation in a multiprocessor system
US7657764B2 (en) Method and apparatus for on-demand power management
US8301873B2 (en) Method and computer system for thermal throttling protection
TWI652569B (en) Apparatus, system, method and computer program product for improved regulation of electrical device's consumption of power from external power supply
US10394293B2 (en) Method for preventing over-heating of a device within a data processing system
US11550382B2 (en) Power-subsystem-monitoring-based graphics processing system
KR20130126647A (en) Maximum current limiting method and apparatus
CN105518564B (en) CPU over-current protection methods and device
TWI571734B (en) Power management circuit and method thereof and computer system
US20110241628A1 (en) Power management unit for portable electronic devices
CN104813253A (en) Method and apparatus for power resource protection
CN106371540B (en) System power management method, chip and electronic equipment
US20130205151A1 (en) Electronic apparatus and controlling method of protecting electronic apparatus
US10152106B2 (en) Power excursion tolerant power system
EP2972660B1 (en) Controlling power supply unit power consumption during idle state
US8782444B2 (en) Circuit protection system and method for a circuit utilizing chip type power supply
US9735563B2 (en) Power distribution method, power distribution apparatus, and information handling system
CN106155259A (en) A kind of power control method and device
US8826056B2 (en) Circuit protection system and method
Intel Intel® Desktop Board D201GLY Technical Product Specification
Intel
CN210091171U (en) Security computer based on domestic Loongson processor
Yahya et al. DarkGates: A Hybrid Power-Gating Architecture to Mitigate the Performance Impact of Dark-Silicon in High Performance Processors
CN101907916A (en) Intelligent protection circuit and method of notebook battery pack

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161123

RJ01 Rejection of invention patent application after publication