Invention content
In view of the foregoing, it is necessary to which a kind of power supply system extending battery is provided.
A kind of power supply system, including battery, controller and the adapter for connecting power supply, the power supply are used
It powers in by the adapter electron device, the controller includes detection module, comparison module and control module, described
Detection module is used to detect the load of the working condition of the electronic device, the capacity of the adapter and the electronic device,
Relationship of the comparison module for the capacity and the load of the adapter, the control module are described for judging
The power supply state of adapter, the control module are additionally operable to be more than in the power capacity of normal, the described adapter of the adapter
The adapter, which is controlled, when the capacity of the battery and electronic device normal work exports the first charging current to the electricity
Pond is charged, and defeated for controlling the adapter when normal in adapter power supply and the electronic device is in standby
Go out the second charging current to charge to the battery.
Preferably, the control module is additionally operable to be not more than in the power capacity of the normal and described adapter of the adapter
Controlled when the capacity of the battery adapter export second charging current give the battery charging.
Preferably, the control module is after the capacity of the comparison module adapter is not less than the load
Judge that the adapter power supply is normal.
Preferably, difference of the control module in the capacity and the load of the comparison module adapter
No more than judging the adapter electricity shortage after the first reference value.
Preferably, difference of the control module in the capacity and the load of the comparison module adapter
Judge the adapter abnormal electrical power supply after when more than first reference value and not less than the second reference value.
Preferably, the control module judges the adapter abnormal electrical power supply and judges after the battery exists described in control
Battery gives the computer power supply.
Preferably, when the adapter electricity shortage and the computer are in normal work, the control module control
The adapter exports third charging current and charges to the battery;When the adapter electricity shortage and the computer is in institute
When stating standby mode, the control module control adapter exports second charging current and charges to the battery.
Preferably, second charging current is more than first charging current.
Preferably, the controller further includes setting module, and the setting module is for setting first reference value.
Preferably, second charging current is more than first charging current.
Compared with prior art, in the power supply system, the control module is normal, described suitable in adapter power supply
The capacity of orchestration is more than the capacity of the battery and when electronic device works normally controls adapter output described the
One charging current gives battery charging, and the control module is normal in adapter power supply and the electronic device is in institute
Controlled when stating standby mode the adapter export second charging current give the battery charging.
Specific implementation mode
Referring to Fig. 1, the better embodiment of the present invention, a kind of power supply system are applied in an electronic device, including
One formula controller 10, an adapter(adaptor)20, a battery 30.The adapter 20 connects a power supply 40.It is real one
It applies in example, the electronic device is computer.The power supply 40 supplies electricity to the computer by the adapter 20
Load 50 and for charging to the battery 30.The controller 10 compares including a detection module 11, a setting module 13, one
Module 15 and a control module 17.
Working condition, the appearance for detecting the adapter 20 that the detection module 11 is used to detect the computer
Amount, the battery 30 whether there is and the load 50 for detecting computer.The working condition of the computer includes normal work
Make state(S0 states, computer normal work, all hardware equipment are completely in opening or normal work)And standby mode.It is described
Standby mode includes sleep(S3 states, commonly referred to as STR, Suspend to RAM, suspend to memory, i.e., by running number
According to write-in memory after close hard disk), suspend mode(S4 states, also referred to as STD, Suspend to Disk, suspend to hard disk, i.e. memory
Hard disk is written in information, and then all components are stopped)And it closes(S5 states, i.e. all hardware equipment are all closed, namely
Computer is in off-mode).The setting module 13 is for setting one first reference value and one second reference value.The comparison
Relationship of the module 15 for the capacity and the load 50 of the adapter 20.The control module 17 is used for according to
The relationship of the capacity of adapter 20 and the load 50 and judge that the power supply state of the adapter 20 and the control power supply are electric
The power supply in source 40.The power supply state of the adapter 20 includes normal power supply, electricity shortage and abnormal electrical power supply.
The control module 17 judges the adapter 20 when the capacity of the adapter 20 is not less than the load 50
Power supply is normal;The control module 17 is joined in the capacity and the difference of the load 50 of the adapter 20 no more than described first
20 electricity shortage of the adapter is judged when examining value;Capacity and the load 50 of the control module 17 in the adapter 20
Difference be more than first reference value and not less than second reference value when judges 20 abnormal electrical power supply of the adapter.
Referring to Fig. 2, in one embodiment, when the capacity of the adapter 20 is 40W, the controller 10 is described negative
50 are carried to judge 20 electricity shortage of the adapter when 45W and 65W, judges that the adapter 20 supplies when the load is 90W
Electrical anomaly.When the capacity of the adapter 20 is 45W, the controller 10 is when the load 50 is 40W and 45W described in judgement
Adapter 20 is powered normally, judges 20 electricity shortage of the adapter when the load 50 is 65W, is 90W in the load
When judge 20 abnormal electrical power supply of the adapter.When the capacity of the adapter 20 is divided into 65W, the controller 10 is in the load
50 judge that the adapter 20 is powered normally when being 40W, 45W and 65W, judge the adapter when the load 50 is 90W
20 electricity shortages.When the capacity of the adapter 20 is 90W, the controller 10 the load 50 for 40W, 45W, 65W and
Judge that the adapter 20 is powered normally when 90W.
Fig. 3 and Fig. 4 is please referred to, the operation principle of the power supply system is:
101:Whether the capacity of 15 adapter 20 of the comparison module is not less than the load 50, if so,
Carry out 102;Otherwise, 201 are carried out.
102:The detection module 11 detects the battery 30 and whether there is, if being not present, carries out 103;Otherwise it carries out
104。
103:The control module 17 judges that the adapter 20 is powered normally, and the power supply 40 passes through the adaptation
Device 20 gives the load 50 power supply.
104:Whether the capacity of 15 adapter 20 of the comparison module is more than the capacity of the battery 30, if not
It is then to carry out 105;Otherwise, 106 are carried out.
105:The control module 17 judges that the adapter 20 is powered normally, and the control module 17 is in the computer
The adapter 20 is controlled when normal work exports one first charging current to the charging of the battery 30 and at the computer
Controlled when the standby mode adapter 20 export one second charging current give the battery 30 charge.
106:The control module 17 judges that the adapter 20 is powered normally, and the control module 17 controls the adaptation
Device 20 exports second charging current and charges to the battery 30.
201:The control module 17 judge the adapter 20 whether electricity shortage, if so, carry out 202;Otherwise, into
Row 205.
202:The detection module 11 detects the battery 30 and whether there is, if being not present, carries out 203;Otherwise it carries out
204。
203:The control module 17 judge 20 electricity shortage of the adapter and control the power supply 40 reduce to
The power supply of the load 50.
204:The control module 17 judges 20 electricity shortage of the adapter, and the control module 17 is in the computer
The adapter 20 is controlled when normal work exports a third charging current to the charging of the battery 30 and at the computer
Controlled when the standby mode adapter 20 export second charging current give the battery 30 charge.
205:The detection module 11 detects the battery 30 and whether there is, if being not present, carries out 206;Otherwise, it carries out
207。
206:The control module 17 controls the computer shutdown.
207:The control module 17 judges that 20 abnormal electrical power supply of the adapter, the battery 30 supply electricity to the load
50。
In one embodiment, second charging current is more than first charging current, and first charging current is big
In the third charging current.
Referring to Fig. 5, the controller 10 judges that the flow of the power supply state of the adapter 20 is:
301:The relationship of the capacity of 15 adapter 20 of the comparison module and the load 50.
302:Whether the capacity of 15 adapter 20 of the comparison module is not less than the load 50, if so,
Carry out 303;Otherwise, 304 are carried out.
303:The control module 17 judges that the adapter 20 is powered normally.
304:The difference and described first of the capacity of 15 adapter 20 of the comparison module and the load 50
The relationship of reference value.
305:Whether the capacity of 15 adapter 20 of the comparison module and the difference of the load 50 are not more than
First reference value, if so, carrying out 306;Otherwise, 307 are carried out.
306:The control module 17 judges 20 electricity shortage of the adapter.
307:The capacity of 15 adapter 20 of the comparison module and the difference of the load 50 are more than described the
One reference value and not less than second reference value when, the control module 17 judges 20 abnormal electrical power supply of the adapter.
In above-mentioned power supply system, the relationship of the capacity of 10 adapter 20 of the controller and the load 50,
To be powered to the battery 30 with different supply currents, makes full use of the capacity of the adapter 20 and extend the battery
30 service life.
It will be apparent to those skilled in the art that the reality of production can be combined with scheme of the invention according to the present invention and inventive concept
Border needs to make other to be altered or modified accordingly, and these change and adjustment should all belong to range disclosed in this invention.