Summary of the invention
The object of this invention is to provide a kind of power supply adaptor and portable computer, in not pulling up power supply adaptor, reduce energy power consumption.
To achieve these goals, the embodiment of the present invention provides a kind of power supply adaptor, is used to the portable computer that is provided with built-in power to power, and described power supply adaptor comprises:
Supply module, is used to described portable computer power supply;
Be arranged at the switch in the current supply circuit of described supply module, be initially in conducting state;
The first acquisition module, for obtaining switch control parameter;
The first judge module, for judging according to described switch control parameter whether described built-in power can support the portable computer first default duration of working under work at present state;
The first control module, for can support that at described built-in power described portable computer is worked the first default duration under described current state time, controls described switch and disconnects, otherwise control described switch conduction.
Above-mentioned power supply adaptor, wherein, the power consumption of described portable computer in the time of the first state is less than a preset value, described switch control parameter comprises the first parameter and the second parameter, described the first judge module is specifically for judging according to described the first parameter and the second parameter whether the current state of described portable computer is described the first state, and whether described built-in power can support the described portable computer first default duration of working under described current state;
Described the first control module is described the first state specifically for the current state at described portable computer, and when described built-in power can support that described portable computer is worked the first default duration under described current state, control described switch and disconnect, otherwise control described switch conduction.
Above-mentioned power supply adaptor, wherein, when described portable computer inside comprises rechargable power supplies, described power supply adaptor also comprises:
The second acquisition module, for mutual with described portable computer, obtain a battery status and judges parameter;
The second control module, in the time judging that according to described battery status parameter is judged rechargable power supplies in charged state, closes described the first control module, otherwise opens described the first control module.
Above-mentioned power supply adaptor, wherein, described the first parameter is: the state parameter of portable computer; Or the current power consumption of portable computer; Or the current power consumption of portable computer and duration.
Above-mentioned power supply adaptor, wherein, when current power consumption that described the first parameter is described portable computer, described the first judge module specifically comprises:
First module, for more described current power consumption and the first thresholding magnitude relationship;
Second unit, in the time that described current power consumption is less than or equal to the first thresholding, the current state that judges described portable computer is described the first state;
Described the first thresholding be the maximum power dissipation of described portable computer under the first state or maximum power dissipation and a fault-tolerant thresholding and.
Above-mentioned power supply adaptor, wherein, current power consumption and duration that described the first parameter is portable computer, described the first judge module specifically comprises:
First module, for more described current power consumption and the first thresholding magnitude relationship;
Unit the 3rd, for being less than or equal to the first thresholding in described current power consumption, and duration while exceeding the second default duration, the current state that judges described portable computer is described the first state;
Described the first thresholding be the maximum power dissipation of described portable computer under the first state or maximum power dissipation and a fault-tolerant thresholding and.
Above-mentioned power supply adaptor, wherein, described supply module comprises a converting unit, described switch is arranged on the current supply circuit between described converting unit and city's plug.
To achieve these goals, the embodiment of the present invention also provides a kind of portable computer, comprises built-in power, and described portable computer also comprises:
The 3rd acquisition module, for obtaining switch control parameter;
The second judge module, for judging according to described switch control parameter whether described built-in power can support the portable computer first default duration of working under work at present state;
The 3rd control module, built-in power is used in the time that can support that portable computer is worked the first default duration under work at present state, to power supply adaptor sending controling instruction, described steering order is used for making described power supply adaptor to disconnect a switch according to described steering order, is powered by described built-in power;
Wherein, described switch is arranged in the current supply circuit of supply module of described power supply adaptor, is initially in conducting state.
Above-mentioned portable computer, wherein, the power consumption of described portable computer in the time of the first state is less than a preset value, described switch control parameter comprises the first parameter and the second parameter, described the second judge module is specifically for judging according to described the first parameter and the second parameter whether the current state of described portable computer is described the first state, and whether described built-in power can support the described portable computer first default duration of working under described current state;
Described the 3rd control module is described the first state specifically for the current state at described portable computer, and described built-in power is can support that described portable computer is worked the first default duration under described current state time, sends described steering order.
Above-mentioned portable computer, wherein, described portable computer inside comprises rechargable power supplies, described portable computer also comprises:
The 4th acquisition module, judges parameter for obtaining a battery status;
The 4th control module, in the time judging that according to described battery status parameter is judged rechargable power supplies in charged state, closes described the 3rd control module, otherwise opens described the 3rd control module.
Above-mentioned portable computer, wherein, described the first parameter is: the state parameter of portable computer; Or the current power consumption of portable computer; Or the current power consumption of portable computer and duration.
To achieve these goals, the embodiment of the present invention also provides a kind of power supply adaptor, is used to portable computer to power, and comprising:
Supply module, is used to described portable computer power supply;
Be arranged at the switch in the current supply circuit of described supply module, be initially in conducting state;
The 5th control module, for judging after the steering order that built-in power can support that portable computer sends work the first default duration under current state time receiving described portable computer, controls described switch and disconnects, otherwise control described switch conduction.
Above-mentioned power supply adaptor, wherein, the power consumption of described portable computer in the time of described the first state is less than a preset value, the current state that described steering order is specially described portable computer is described the first state, and described built-in power can be supported the instruction that described portable computer sends work the first default duration under described current state time.
The embodiment of the present invention has following beneficial effect:
In specific embodiments of the invention, can support portable computer work at built-in power predetermined when long-time, thoroughly powered-down adapter has reduced the energy resource consumption of the power supply adaptor self bringing due to power supply adaptor work in the time that user does not pull up power supply adaptor.
Embodiment
In specific embodiments of the invention, according to the current residing state of PC, can support portable computer work at built-in power predetermined when long-time, thoroughly powered-down adapter, to reduce energy resource consumption.
As shown in Figure 1, the power supply adaptor of the embodiment of the present invention, is used to the portable computer that is provided with built-in power to power, and described power supply adaptor comprises:
Supply module, is used to described portable computer power supply;
Be arranged at the switch in the current supply circuit of described supply module, be initially in conducting state;
The first acquisition module, for obtaining switch control parameter;
The first judge module, for judging according to described switch control parameter whether described built-in power can support the portable computer first default duration of working under work at present state;
The first control module, for can support that at described built-in power described portable computer is worked the first default duration under described current state time, controls described switch and disconnects, otherwise control described switch conduction.
In an embodiment of the present invention, this built-in power can be various types of batteries, as sun-generated electric power on the rechargeable battery of button cell, notebook, notebook etc.
This first default duration can, according to user's demand setting, as 3 hours, can be also more to grow or the shorter time.
Certainly, consider power consumption ability and the battery process of existing portable computer, in the specific embodiment of the invention, can select the less state of those power consumptions to implement, as S3, S4 and S5 state, under these states, power consumption is few, can be powered by built-in power, and unnecessaryly be powered by adapter, increase the loss of the adapter self bringing due to adapter work.
Along with the continuous progress of device fabrication, the power consumption of device is fewer and feweri, or the capacity of battery is increasing, and this state also can change, as selected the states such as S1, S2 to join state set, during even S0 also can add to come in.
Above-mentioned in the situation that, the power consumption of described portable computer in the time stating the first state is less than a preset value, described switch control parameter comprises the first parameter and the second parameter, described the first judge module is specifically for judging according to described the first parameter and the second parameter whether the current state of described portable computer is described the first state, and whether described built-in power can support the described portable computer first default duration of working under described current state;
The second above-mentioned parameter can be the information about power of built-in power, after knowing the current state of portable computer, because the power consumption of portable computer under certain state is known, can judge whether built-in power can support the described portable computer first default duration of working under described current state according to the information about power of described built-in power.
This information about power can only be provided by portable computer, therefore, need to carry out the transmission of state parameter at power supply adaptor and the corresponding PIN for data transmission arranging of portable computer end increase, now, need on the basis of existing adapter, increase a PIN and carry out the transmission of state parameter.As for concrete which kind of communication mode that adopts, in specific embodiments of the invention, do not limit, any mode that can communicate between external equipment and portable computer may be used to the transmission of information about power, and no further details to be given herein.
Described the first control module is described the first state specifically for the current state at described portable computer, and when described built-in power can support that described portable computer is worked the first default duration under described current state, control described switch and disconnect, otherwise control described switch conduction.
Certainly, in specific embodiments of the invention, consider that portable computer major part is all used rechargeable battery, and rechargeable battery is in the time of charging, needing voltage that power supply adaptor provides is the voltage of portable computer while working in S0 pattern, in this case, even if portable computer works in low power consumpting state (as the state such as S4, S5), also should not reduce the output voltage of supply module, so under the circumstances, as shown in Figure 1, in the power supply adaptor of the embodiment of the present invention, also comprise:
The second acquisition module, for mutual with described portable computer, obtain a battery status and judges parameter;
The second control module, in the time judging that according to described battery status parameter is judged rechargable power supplies in charged state, closes described control module, otherwise opens described the first control module.
Can find from above-mentioned description, need to obtain two-part parameter, a part is for judging the current state of described portable computer, another part is used for judging whether built-in power can support the described portable computer first default duration of working under described current state, it must need the information about power of built-in power, and this information about power can only be provided by portable computer.
But the current state for described portable computer can be obtained in several ways, as:
The state parameter of portable computer; Or
The current power consumption of portable computer; Or
The current power consumption of portable computer and duration.
Be described in detail respectively below.
In specific embodiments of the invention, this first state can be single state, can be also the set of multiple states.
< implementation one >
In implementation one, the state parameter that this first parameter is portable computer.
Comprise that take the first state S3, S4 and S5 state are described in detail the course of work of power supply adaptor as example below.
Power supply adaptor is connected with portable computer, directly obtains state parameter from portable computer end.
In above-mentioned implementation, when power supply adaptor and portable computer need to carry out the transmission of state parameter, in implementation one, by carrying out the transmission of state parameter at power supply adaptor and the corresponding PIN for data transmission arranging of portable computer end increase.
Concrete which kind of communication mode that adopts does not limit in specific embodiments of the invention, any transmission that can communicate mode between external equipment and portable computer and may be used to state parameter, and no further details to be given herein.
< implementation two >
While directly obtaining state parameter from portable computer, consider that the electromagnetic interference (EMI) of power supply adaptor itself is larger, data may be made mistakes in transmission receiving course, in implementation two, and the current power consumption that this first parameter is portable computer.
In conjunction with the description in background technology can, in the S0-S5 state of portable computer, under every kind of state, the equipment difference of closing, as S0, equipment is all opened, S1, CPU closes, S3, only have internal memory open, S4 and S5, equipment Close All.
Due to the equipment difference of opening, maintain the needed energy consumption of these opening of device also inevitable different, therefore, in implementation two, directly obtain its current power consumption from portable computer, and judge its residing state according to its current power consumption, be elaborated below.
Comprise that take the first state S3, S4 and S5 state are described in detail the course of work of power supply adaptor as example below.
Set in advance two following thresholdings:
A1, S3, S4 and S5 state, the maximal value of the power consumption of portable computer.
While being single state for the first state, A1 is the power consumption of portable computer under this single status.
Then obtain current power consumption A from portable computer, and the magnitude relationship of judgement and A1, under normal circumstances, no matter portable computer, in which kind of state, now comprises following several relations:
A is greater than A1; Or
A is less than or equal to A1.
Because A1 is S3, S4 and S5 state, the maximal value of the power consumption of portable computer, if A is greater than A1, the current state that shows portable computer is not S3 or S4 or S5 state, otherwise shows that portable computer is current for S3, S4 or S5 state.
Certainly,, after considering that portable computer uses a period of time, due to device aging, power consumption can increase, and therefore, can also adopt following judgment mode.
The magnitude relationship of judgement and A1+ Δ, under normal circumstances, no matter portable computer, in which kind of state, now comprises following several relations:
A is greater than A1+ Δ; Or
A is less than or equal to A1+ Δ.
Because A1 is S3, S4 and S5 state, the maximal value of the power consumption of portable computer, if A is greater than A1+ Δ, the current state that shows portable computer is not S3 or S4 or S5 state; Otherwise show that portable computer is current for S3, S4 or S5 state.
In specific embodiments of the invention, can obtain in the following way the current power consumption of portable computer, be described as follows.
At the output terminal of the power supply adaptor resistance of connecting, and by detecting electric current and the current output voltage of power supply adaptor of resistance, the two multiplies each other and obtains the current power consumption of portable computer.
Certainly, because the direct-flow input end of portable computer is all in series with resistance, can carry out the detection of electric current and voltage by this resistance, and utilize the electric current that detects and voltage to calculate the current power consumption of portable computer, then by data channel, pass to power supply adaptor by portable computer.
< implementation three >
In implementation one, directly obtain state parameter from portable computer, but the electromagnetic interference (EMI) of considering power supply adaptor itself is larger, data may be made mistakes in transmission receiving course, in implementation two, judge with the current power consumption of portable computer, but it does not consider the power consumption saltus step problem that portable computer produces due to extraneous factor, therefore, in implementation three, current power consumption and duration that this first parameter is portable computer.
In conjunction with the description in background technology can, in the S0-S5 state of portable computer, under every kind of state, the equipment difference of closing, as S0, equipment is all opened, S1, CPU closes, S3, only have internal memory open, S4 and S5, equipment Close All.
Due to the equipment difference of opening, maintain the needed energy consumption of these opening of device also inevitable different, therefore, in implementation three, directly obtain its current power consumption from portable computer, and judge its residing state according to its current power consumption and duration, be elaborated below.
Set in advance two following thresholdings:
A1, S3, S4 and S5 state, the maximal value of the power consumption of portable computer.
Then obtain current power consumption A from portable computer, and the magnitude relationship of judgement and A1, under normal circumstances, no matter portable computer, in which kind of state, now comprises following several relations:
A is greater than A1, and the duration exceedes T1; Or
A is less than or equal to A1, and the duration exceedes T2.
Because A1 is S3, S4 and S5 state, the maximal value of the power consumption of portable computer, if A is greater than A1, the current state that shows portable computer is not S3 or S4 or S5 state, otherwise shows that portable computer is current for S3, S4 or S5 state.
For implementation two, add the factor of duration, the power consumption saltus step that can avoid portable computer to produce due to extraneous factor causes the problem of error in judgement.
Certainly,, based on same reason, after considering that portable computer uses a period of time, due to device aging, power consumption can increase, and therefore, can also adopt following judgment mode.
The magnitude relationship of judgement and A1+ Δ, under normal circumstances, no matter portable computer, in which kind of state, now comprises following several relations:
A is greater than A1+ Δ, and the duration exceedes T1; Or
A is less than or equal to A1+ Δ, and the duration exceedes T2.
Certainly, this T1 and T2 can arrange identical time value, also can be different.
In specific embodiments of the invention, it can be variety of way that the position of this switch arranges.
As shown in Figure 2, be the structural representation of common adapter, the various positions that wherein empty wire frame representation switch can arrange, this switch is arranged between converting unit and city's plug.
As shown in Figure 3, for a kind of concrete structure schematic diagram of the adapter of the embodiment of the present invention, wherein adapter passes through in output terminal resistance in series, and switch control unit is by detecting electric current and the current output voltage of power supply adaptor of resistance, and the two multiplies each other and obtains the current power consumption of portable computer;
And simultaneously, switch control unit by and the data channel of notes between local terminal obtain the information about power of built-in power, and after obtaining the current power consumption of portable computer and the information about power of built-in power, switch control unit judges when whether described built-in power can support that described portable computer is worked the first default duration under described current state, if, disconnect by switch described in optical coupler control, otherwise by switch conduction described in optical coupler control.
Below the course of work of above-mentioned adapter is elaborated for example.
Suppose that user leaves computer a period of time, notebook computer enters holding state, now built-in power electric weight abundance, now, adapter end is by detecting electric current and the current output voltage of power supply adaptor of resistance, the two multiplies each other and obtains the current power consumption of portable computer, find that notebook computer enters holding state, after the electric weight of the built-in power simultaneously sending by data channel by reception notebook computer end, while finding that built-in power can support that described portable computer is worked default duration under holding state, gauge tap disconnects, be portable computer power supply by built-in power.
User gets back to behind seat, open notebook computer, now notebook computer enters duty, adapter end is by detecting electric current and the current output voltage of power supply adaptor of resistance, the two multiplies each other and obtains the current power consumption of portable computer, find that notebook computer enters duty, after the electric weight of the built-in power simultaneously sending by data channel by reception notebook computer end, while finding that built-in power cannot support that described portable computer is worked default duration under holding state, gauge tap conducting is portable computer power supply by adapter.
If user is out to lunch at noon, notebook computer enters holding state, now, can be disconnected by gauge tap again, be portable computer power supply by built-in power, and after user's lunch is returned, notebook computer enter duty, gauge tap conducting of adapter is portable computer power supply by adapter.
So move in circles, user need not pull up adapter, and electric loop that also can deenergization adapter, is conducive to the saving of the energy, has simplified user's operation simultaneously.
Certainly, above-mentioned is the explanation of carrying out as example take duty and holding state, applicable equally for other states, differs and one illustrates at this.
In the above-described embodiment, be to control take adapter oneself explanation of carrying out as example, but also can be controlled by portable computer end, be described as follows.
The portable computer of the embodiment of the present invention, comprises built-in power, and described portable computer also comprises:
The 3rd acquisition module, for obtaining switch control parameter;
The second judge module, for judging according to described switch control parameter whether described built-in power can support the portable computer first default duration of working under work at present state;
The 3rd control module, for can support that at built-in power portable computer is worked the first default duration under work at present state time, to power supply adaptor sending controling instruction, makes described power supply adaptor disconnect a switch, is powered by described built-in power;
Described switch is arranged in the current supply circuit of supply module of described power supply adaptor, is initially in conducting state.
The power consumption of described portable computer in the time of the first state is less than a preset value, described switch control parameter comprises the first parameter and the second parameter, described the second judge module is specifically for judging according to described the first parameter and the second parameter whether the current state of described portable computer is described the first state, and whether described built-in power can support the described portable computer first default duration of working under described current state;
Described the 3rd control module is described the first state specifically for the current state at described portable computer, and described built-in power is can support that described portable computer is worked the first default duration under described current state time, sends described steering order.
Wherein, consider the charging of battery, when described portable computer inside comprises rechargable power supplies, described portable computer also comprises:
The 4th acquisition module, judges parameter for obtaining a battery status;
The 4th control module, in the time judging that according to described battery status parameter is judged rechargable power supplies in charged state, closes described the 3rd control module, otherwise opens described the 3rd control module.
Described the first parameter is:
The state parameter of portable computer; Or
The current power consumption of portable computer; Or
The current power consumption of portable computer and duration.
Another power supply adaptor of the present invention, is used to portable computer to power, and comprising:
Supply module, is used to described portable computer power supply;
Be arranged at the switch in the current supply circuit of described supply module, be initially in conducting state;
The 5th control module, for receiving described portable computer judging after the steering order that built-in power can support that portable computer sends work the first default duration under current state time, controls described switch and disconnects, otherwise control described switch conduction.
And the power consumption of described portable computer in the time of described the first state is less than a preset value, the current state that described steering order is specially described portable computer is described the first state, and described built-in power can be supported the instruction that described portable computer sends work the first default duration under described current state time.
Below the course of work of above-mentioned adapter is elaborated for example.
Suppose that user leaves computer a period of time, notebook computer enters holding state, while finding that built-in power can support that described portable computer is worked default duration under holding state simultaneously, send a steering order to adapter, indication adapter gauge tap disconnects, being disconnected according to this instruction gauge tap by adapter, is portable computer power supply by built-in power.During standby and when built-in power can support that described portable computer is worked default duration under holding state, continue to send above-mentioned steering order to adapter, guarantee the disconnection of switch.
Get back to behind seat user, open notebook computer, now notebook computer enters duty, when notebook computer finds that built-in power can support that described portable computer is worked down default duration in working order simultaneously, stop sending a steering order to adapter, and adapter is in the time receiving this steering order, can gauge tap conducting, powered by adapter.
Certainly, if user is not returning for a long time, while causing built-in power cannot support that described portable computer is worked default duration under holding state, notebook computer stops to adapter sending controling instruction, and adapter is not in the time receiving this steering order, can gauge tap conducting, powered by adapter.
So move in circles, user need not pull up adapter, and electric loop that also can deenergization adapter, is conducive to the saving of the energy, has simplified user's operation simultaneously.
Certainly, above-mentioned is the explanation of carrying out as example take duty and holding state, applicable equally for other states, differs and one illustrates at this.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.