CN102263423B - Universal serial bus charging system and charging method thereof - Google Patents
Universal serial bus charging system and charging method thereof Download PDFInfo
- Publication number
- CN102263423B CN102263423B CN2010101927651A CN201010192765A CN102263423B CN 102263423 B CN102263423 B CN 102263423B CN 2010101927651 A CN2010101927651 A CN 2010101927651A CN 201010192765 A CN201010192765 A CN 201010192765A CN 102263423 B CN102263423 B CN 102263423B
- Authority
- CN
- China
- Prior art keywords
- connectivity port
- charging
- chargeable
- function module
- connectivity
- 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.)
- Active
Links
Images
Abstract
The invention discloses a universal serial bus charging system and a charging method thereof. The universal serial bus charging system is provided with a concentrator, wherein the concentrator is provided with a charging function module and a plurality of connection ports; and the charging function module dynamically allocates charging current higher than the standard current of a universal serial bus (USB) to the connection ports according to the power supply capability of a power unit, so that the power unit provides the charging current to at least one chargeable device to charge the at least one chargeable device.
Description
[technical field]
The invention relates to a kind of USB charging system and method thereof, be particularly to use USB charging system and the method thereof of large current charge.
[background technology]
In recent years, USB (Universal Serial Bus is hereinafter to be referred as USB) connectivity port (Port) has been widely used in the various portable electronic products such as mobile phone, digital camera.When needs charged, these portable electronic products can see through usb connecting port and be its charging, and were furnished with special use to charger that should the connectivity port, or were connected directly on the computer by usb connecting port and charge by computer.According to the USB2.0 protocol specification, the available charging current of usb connecting port is between 100 milliamperes to 500 milliamperes, when these electronic products utilize the usb connecting port of computer to charge, can only provide the highest 500 milliamperes electric current to the battery of these portable electronic products to charge, so that the speed of charging is slower, expend the charging interval more of a specified duration.Therefore, the battery charge specification of the portable electronic product of a part also allows computer and hub (Hub) that higher charging current is provided, to shorten the charging interval of portable electronic product.
Yet because cost consideration, existing computer can provide higher charging current limited to the number of hub connectivity port, and only is fixing several connectivity ports.When portable electronic product inserts the non-connectivity port that big charging current is provided when charging, this portable electronic product can't be recharged rapidly, the shortcoming of the charging that lacks flexibility.
For solving the above problems, a kind of prior art proposes that electronic type additionally is set can remove programmable read only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), store which connectivity port and have chargeable function, go to read the data that are stored in EEPROM by hub again, solve the inelastic shortcoming in said fixing connectivity port, but this kind mode increases the cost that needs the EEPROM element.
The prior art that another kind addresses the above problem is in concentrator control chip (Hub Controller IC), pick out a stitch (Pin) according to each connectivity port, this concentrator control chip utilizes which connectivity port of electrical level judging of this stitch to have the function of quickly-chargeable.Yet integrated circuit (IC) chip is accurate day by day now, and the area that chip takies the machine plate is more and more littler, and is therefore higher in the mode difficulty of chip increase stitch, and cost is higher.
Therefore, need to propose a kind of portable electronic product that supplies and carry out large current charge, to solve the above problems.
[summary of the invention]
In view of this, the object of the present invention is to provide a kind of USB charging system and method thereof, it can reduce extra electronic component cost, and reaches the hub connectivity port that can dynamically switch, charge.
In order to achieve the above object, the invention provides a kind of USB charging system, the USB charging system of this charging comprises power subsystem and line concentrator.Wherein this power subsystem is be used to providing charging required power supply capacity.This line concentrator is connected in this power subsystem, is used for connecting at least one rechargeable device and charges.This line concentrator comprises some connectivity ports and a charge function module.Those connectivity ports are used for connecting this at least one rechargeable device.
This charge function module be used for to distribute a charging current greater than USB standard electric current to those connectivity ports, to provide this charging current to this at least one rechargeable device, wherein this charge function module comprises: a charging ability calculator, calculate a chargeable count value according to the power supply capacity of this power subsystem; And a charging connectivity port controller, whether be a charging connectivity port in order to one of those connectivity ports of dynamic appointment, and determine according to this chargeable count value whether this charging connectivity port charges to this at least one rechargeable device.
In the preferred embodiment of the present invention, this chargeable count value is that the power supply current value of this power subsystem is divided by the quotient of this charging current value.Wherein this charging connectivity port controller specifies whether one of those connectivity ports are that a charging connectivity port is the connectivity port of selecting from those rechargeable device connect.Saying that further this charging connectivity port controller is according to disconnected this chargeable count value, is a standard connectivity port or a charging connectivity port to specify this connectivity port that connects this line concentrator to be designated as.In addition, this line concentrator also comprises a line concentration functional module, is used for judging whether overcurrent of this connectivity port.
The present invention also provides a kind of USB charging method, be applicable to the USB charging system, to charge, this charging system comprises a line concentrator and a power subsystem, this line concentrator has a charge function module and some connectivity ports, and this line concentrator can connect a usb host end, and this charge function module also comprises a charging ability calculator and a charging connectivity port controller, and this USB charging method comprises the following steps:
(a) this charging system carries out initialization step to those connectivity ports, to produce a chargeable count value;
(b) detecting of this charge function module whether have a device be connected in those connectivity ports one of them, if execution in step (c) if not, continues execution in step (b), until this device of existence be connected in those connectivity ports one of them;
(c) this charge function module judges whether this device is a rechargeable device, if, execution in step (d), if not, it is a standard connectivity port that this charge function module specifies this connectivity port that connects this device to be designated as, and execution in step (d1); And
(d) this charge function module judges whether this chargeable count value is zero, if, it is a standard connectivity port that this charge function module specifies this connectivity port that connects this device to be designated as, and execution in step (d1), if not, it is a charging connectivity port that this charge function module specifies this connectivity port that connects this device to be designated as, execution in step (d2), and wherein step (d) comprises the following steps:
(d1) when this connectivity port is designated as this standard connectivity port, it is invariant state that this charge function module is kept this chargeable count value, and this this power subsystem of charge function module controls installs to this so that the operating current less than this USB standard electric current to be provided via this connectivity port, with operative norm USB function; And
(d2) when this connectivity port is designated as this charging connectivity port, this charge function module should chargeable count value subtract one, and this this power subsystem of charge function module controls is to begin to provide a charging current to install to this via this connectivity port, to carry out charging procedure, wherein this charging current is greater than this USB standard electric current.
In the preferred embodiment of the present invention, after execution in step (d), more comprise the following steps:
(e) when carrying out this charging procedure, this line concentrator is judged whether overcurrent of this connectivity port, if, this charge function module should chargeable count value increase by one, and this connectivity port provides the operating current less than this USB standard electric current to install to this, with operative norm USB function, if not, execution in step (f); And
(f) this charge function module judges whether this device of this connectivity port is removed or has finished this charging procedure, if, this chargeable count value increases by one, return step (b) then, if not, continue execution in step (f), the device until this connectivity port is removed or has finished this charging procedure.
According to USB charging system of the present invention and method thereof, utilize the dynamic switching of line concentrator connectivity port, improvement tradition charging connectivity port is fixing shortcoming, and reduces the cost of element.
For foregoing of the present invention can be become apparent, preferred embodiment cited below particularly, and cooperate appended graphicly, be described in detail below:
[description of drawings]
Fig. 1 illustrates the USB charging system calcspar of a preferred embodiment of the present invention.
Fig. 2 illustrates the USB charging system calcspar of another preferred embodiment of the present invention.
Fig. 3 illustrates USB charging method initialization flowchart of the present invention.
Fig. 4 illustrates USB charging method flow process loop diagram of the present invention.
[embodiment]
Preferred embodiment of the present invention is described in detail by appended graphic and following explanation, different graphic in, the same or analogous element of components identical symbolic representation.
With reference to figure 1, illustrate the calcspar of USB in the preferred embodiment of the present invention (Universal SerialBus is hereinafter to be referred as USB) charging system.This USB charging system 10 comprises power subsystem 200, line concentrator 300, current-limiting apparatus 400 and charged state display unit 450.Power subsystem 200 is used for the required electric power that charges is provided, to provide a direct current electric current to line concentrator 300.In one embodiment, this power subsystem 200 for example is the circumscribed transformer, as utilizes the alternating current of AC/DC converter (AC/DCAdaptor) conversion civil power to become direct current, then this direct current is supplied to this line concentrator 300; In another example, this power subsystem 200 is arranged at motherboard, build the current conversion element of motherboard in for example being in.
In the preferred embodiment of the present invention; the current-limiting apparatus 400 of restriction charging current size also is set between those connectivity ports 350 and those rechargeable device 500; to prevent that excessive electric current is by those rechargeable device 500; to protect those rechargeable device 500, this current-limiting apparatus 400 for example is that double insurance silk (Poly Fuse) or mains switch (Power Switch) are formed.At Fig. 1, the first connectivity port 350a to the, the four connectivity port 350d corresponding current-limiting apparatus 400a that is connected in respectively but are not limited thereto kind of a mode to current-limiting apparatus 400d, for example a plurality of connectivity ports 350 (for example 2) are connected in same current-limiting apparatus 400.For example, charging current is 1.5A (ampere), and the limit of the charging current that its this current-limiting apparatus 400 limits needs greater than 1.5A, for example 1.8A.
In the preferred embodiment of the present invention, charged state display unit 450 is connected in this line concentrator 300, in order to show present charged state, this charged state display unit 450 for example is made up of light-emitting diode (LED), utilize flicker or the glow color of programmable control light-emitting diode, to distinguish the charged state of the rechargeable device 500 that is connected in this connectivity port 350.
Some connectivity ports 350 are arranged at this line concentrator 300, to connect the interface of those rechargeable device 500 as this line concentrator 300, to transmit charging current to those rechargeable device 500.Those connectivity ports 350 are " standard connectivity port (Standard Port) " and " charging connectivity port (Chargeable Port) " according to the size discrimination of charging current, wherein should " standard connectivity port " refer to that this connectivity port 350 provided USB standard electric current, should " charging connectivity port " refer to that this connectivity port 350 provided the electric current greater than USB standard electric current, so that those rechargeable device 500 are carried out large current charge fast.In Fig. 1, this line concentrator 300 arranges the first connectivity port 350a to the, four connectivity port 350d, and the more or connectivity port of lesser amt 350 also can be set.
Above-mentioned USB standard electric current is according to (the USB ImplementersForum of USB application person Tribune, Inc.) codes and standards of announcing, for example USB2.0 standard electric current is pointed out: be 2.5 milliamperes (mA) when device (Device) is awaited orders (Suspend), awaiting orders and be 100mA when not disposing when device is non-, is 500mA when device is non-when awaiting orders and having disposed; USB3.0 standard electric current is pointed out: be 2.5mA when device is awaited orders (Suspend), when device is 150mA when not disposing, under hypervelocity (Super Speed) pattern, when device is 150mA during for low electric device (Low-Power Device), when device is 900mA during for high electric device (High-Power Device).
In 310 these line concentrators 300 of this charge function module.This charge function module 310 is according to the power supply capacity of this power subsystem 200, to distribute charging current greater than USB standard electric current to those rechargeable device 500, to carry out quick charge.
Further say, charge function module 310 comprises charging ability calculator 311 and charging connectivity port controller 312, the size of current of this charging ability calculator 311 in order to estimate that this power subsystem 200 provides, can provide to the multiple of the charging current of a rechargeable device 500 to calculate, that is to calculate and to provide several charging currents greater than USB standard electric current to connectivity port 350 at most.For example ought desire to provide charging current to a connectivity port 350 (namely being regarded as the connectivity port of charging) of 1.5A, and total supply current of this power subsystem 200 is 4.5A, 4.5/1.5=3 then, this charging ability calculator 311 calculates can provide 3 connectivity ports 350 to charge, and this quantity then is referred to as chargeable count value (Chargeable Account).It should be noted that 1.5A greater than the standard electric current 500mA of USB2.0, is the maximum constraints electric current of USB2.0.
In addition, charging connectivity port controller 312 has the function that the detecting rechargeable device is opened in those connectivity ports 350 of control, and whether the device that is connected in connectivity port 350 in order to detecting is rechargeable device 500.Should distribute the charging resources by charging connectivity port controller 312 simultaneously, charge to determine to offer the rechargeable device 500 which connectivity port 350 connected.Those connectivity ports 350 are assigned to the charging current greater than USB standard electric current, and select from the connectivity port 350 that those rechargeable device 500 connect, and are not only to be limited to specific connectivity port 350.Therefore this charging connectivity port controller 312 can dynamically specify connectivity port 350 to be the charging connectivity port, that is should dynamically switch connectivity port 350 by charging connectivity port controller 312, to select this connectivity port as the charging connectivity port.For example in Fig. 1, when the first device 500a is connected to the first connectivity port 350a via current-limiting apparatus 400a, this first connectivity port 350a is considered as the connectivity port of charging, and distribute charging current greater than USB standard electric current (for example 1.5A) to this first connectivity port 350a, so that this rechargeable device 500 is charged by charging connectivity port controller 312.
The function mode of this USB charging system 10 below is described:
This charging connectivity port controller 312 is a standard connectivity port according to judging this chargeable count value to specify this connectivity port 350 that connects this device to be designated as, or a charging connectivity port.For example, charging connectivity port controller 312 judges whether this chargeable count value is zero, if, it is a standard connectivity port that this charging connectivity port controller 312 specifies this connectivity port 350 that connects this device to be designated as, if not, to specify this connectivity port 350 that connects these devices to be designated as be a charging connectivity port to this charging connectivity port controller 312.
When carrying out this charging procedure, this overcurrent detector 321 of this line concentration functional module 320 is used for judging whether overcurrent of this connectivity port 350, if, this charging connectivity port controller 312 should chargeable count value increase by one, and this connectivity port 350 provides the operating current less than this USB standard electric current to install to this, with operative norm USB function, if not, then continue charging.Wherein overcurrent refers to whether these overcurrent detector 321 detecting currents surpass the restriction electric current of current-limiting apparatus 400.
After wherein continuing charging, this charging connectivity port controller 312 judges also whether this device of this connectivity port 350 is removed or has finished this charging procedure, if, this chargeable count value increase finishes this charging procedure in the lump, if not, then continue charging, this device until this connectivity port 350 is removed or has finished this charging procedure.
Be noted that this charging connectivity port controller 312 determines which connectivity port 350 to be not limited to chargeable count value for the quantity of charging connectivity port, with the expression Dynamic Selection.Similarly, which charging connectivity port this charging connectivity port controller 312 is opened and is not limited to chargeable count value, with the expression Dynamic Selection.For example chargeable count value is 2, but this charging connectivity port controller 312 determines the first connectivity port 350a to the, four connectivity port 350d all can be designated as the charging connectivity port.Whether therefore, the first connectivity port 350a to the, four connectivity port 350d all open detecting has rechargeable device to be connected in those connectivity ports 350.And any two connectivity ports 350 among the first connectivity port 350a to the, the four connectivity port 350d all can be designated as the charging connectivity port, to reach Dynamic Selection.
With reference to figure 2, illustrate the calcspar of USB charging system in another preferred embodiment of the present invention, this USB charging system 10 also comprises usb host end (USB Host) 100 except comprising above-mentioned power subsystem 200, line concentrator 300, current-limiting apparatus 400 and charged state display unit 450.This usb host end 100 is arranged in the computer system (not icon) usually in order to carry out the control that data transmit sequential and direction of transfer on the USB, and this line concentrator 300 sees through connectivity port (not shown) and is connected in this usb host end 100.
This usb host end 100 can be done the initialized function of a charging to this USB charging system 10, after its details is specified in.This usb host end 100, power subsystem 200 and line concentrator 300 are arranged on the same circuit board, and for example this power subsystem 200 and line concentrator 300 are arranged on this usb host end 100, but but also separating type setting of the present invention.In addition, the function of all the other elements is described as Fig. 1, does not repeat them here.
The present invention further utilizes above-mentioned USB charging system to carry out the USB charging method.With reference to figure 1 and Fig. 3, Fig. 3 illustrates the initialization flowchart of USB charging method of the present invention.This initialization flowchart represents that this charge function module 310 is to the initialized step of those connectivity ports 350 execution, to produce chargeable count value (Chargeable Account).
In the S11 step, the charging ability calculator 311 of this charge function module 310 determines the quantity of the charging connectivity port of this line concentrator 300, that is utilizes this charging ability calculator 311 to produce a chargeable count value.This chargeable count value is represented the connectivity port quantity of chargeable (charging current of 1.5A for example is provided) at present, for example power-supply unit 200 has the power supply capacity of 4.8A, charging current is calculated with 1.5A, then the maximum chargeable count value of charging ability calculator 311 generations is 3, that is represent that this line concentrator 300 can provide 3 connectivity ports (being considered as the connectivity port of charging), to carry out quick charge.Be noted that, after this charging ability calculator 311 produces chargeable count value, this charging ability calculator 311 and should charging connectivity port controller 312 according to the behaviours in service of each charging connectivity port, so that this chargeable count value is done to increase or reduce, after being described in detail in.
In step S12, which connectivity port the charging connectivity port controller 312 of this charge function module 310 determines be the charging connectivity port, that is should specify which connectivity port to be the charging connectivity port by charging connectivity port controller 312, for example when hub device 300 has four connectivity ports and chargeable count value and is 3, first connectivity port, second connectivity port and the 4th connectivity port are designated as charging connectivity port (Chargeable Port), and the 3rd connectivity port is designated as standard connectivity port (StandardPort).
Be noted that, which connectivity port this charging connectivity port controller 312 determines be not limited to chargeable count value for the quantity of charging connectivity port, for example chargeable count value is 3 o'clock, the first connectivity port 350a, the second connectivity port 350b, the 3rd connectivity port 350c and the 4th connectivity port 350d all can be the charging connectivity port, three connectivity ports 350 can be designated as the charging connectivity port but only have wherein, and it is 4 that this charging connectivity port controller 312 can be specified the limit of power of connectivity port.
In step S13, whether the charging connectivity port controller 312 of this charge function module 310 is opened those charging connectivity ports, have rechargeable device to be connected in this charging connectivity port with detecting.For example the first connectivity port 350a, the second connectivity port 350b and the 4th connectivity port 350d open the detecting of rechargeable device, and the 3rd connectivity port 350c closes the detecting of rechargeable device.When detect rechargeable device 500 be connected to the charging connectivity port after, this charging connectivity port controller 312 is finished follow-up friendship with rechargeable device 500 and is held program (Handshaking Procedure), hold in the program in friendship, large current charge is fast supported in the connectivity port 350 that these charging connectivity port controller 312 notice (Acknowledge) these rechargeable device 500 connect.
In addition, be noted which charging connectivity port this charging connectivity port controller 312 is opened and be not limited to chargeable count value.When the limit of power of being appointed as chargeable connectivity port in step S12 is 4, but chargeable count value is 3 o'clock, that is actual charging connectivity port quantity is 3, but in step S13, this charging connectivity port controller 312 can be opened the detecting of rechargeable device to four connectivity ports 350.For example when a rechargeable device 500 was connected to arbitrary connectivity port 350, quick charges were supported in these rechargeable device 500 notified connectivity ports that should connect 350, that is are designated as the charging connectivity port.
With reference to figure 2 and Fig. 3, the invention is not restricted to only do initialization by this charge function module 310, also can be elected by the application program (Application Program) of usb host end 100.Below explanation the present invention utilizes the USB charging system of above-mentioned another preferred embodiment to carry out the initialization flow process of USB charging method.
Carry out the S11 step, determined the quantity of the chargeable charging connectivity port of this line concentrator 300 namely to obtain chargeable count values (Chargeable Account) by this usb host end 100 by an application program of usb host end 100.This chargeable count value still is subjected to limit according to the maximum of the chargeable count value of power supply capacity calculator 311, and for example quantity is 2.
Execution in step S12 determines which connectivity port 350 to be recharged by this application program of usb host end 100.For example set to fix with the first connectivity port 350a and the second connectivity port 350b and be designated as the charging connectivity port.
It should be noted that the connectivity port number that is designated as the charging connectivity port equally, be not limited to chargeable count value.For example in the step S11 of another embodiment, for example chargeable count value is 2.Execution in step S12 selects the second connectivity port 350b, the 3rd connectivity port 350c and the 4th connectivity port 350d to be designated as the charging connectivity port by the application program of usb host end 100.
Execution in step S13, step S13 representative is opened those charging connectivity ports of detecting by the charging connectivity port controller 312 of this charge function module 310, carries out the detecting of rechargeable device 500.
In addition, scope when the chargeable connectivity port of appointment in step S12 is the second connectivity port 350b, the 3rd connectivity port 350c and the 4th connectivity port 350d, but chargeable count value is 2 o'clock, i.e. actual chargeable 2 connectivity ports 350 that have, execution in step S13, charging connectivity port controller 312 by this charge function module 310 is opened the detecting second connectivity port 350b, the 3rd connectivity port 350c and the 4th connectivity port 350d, carries out the detecting of rechargeable device 500.
Shown in figure 1,2,4, Fig. 4 illustrates USB charging method flow process loop diagram of the present invention.Among one embodiment of the invention and another embodiment, carry out after the initialization step of USB charging method of above-mentioned Fig. 3, the process step of execution graph 4a and Fig. 4 b then, be chargeable connectivity port with the first connectivity port 350a, the second connectivity port 350b and the 4th connectivity port 350d in Fig. 1 and Fig. 2, this USB charging method flow process comprises the following steps:
In step S20, whether these charging connectivity port controller 312 detectings of this charge function module 310 have a device to be connected in one of those charging connectivity ports, if, execution in step S30; If not, execution in step S20 is connected in those chargings connectivity port, execution in step S30 then until having detected device.For example the first device 500a is connected in the first connectivity port 350a, the second connectivity port 350b and the 4th connectivity port 350d one of them connects a device.In addition, when this device is connected in the 3rd connectivity port, directly be appointed as the standard connectivity port.
In step S30, this charging connectivity port controller 312 of this charge function module 310 judges whether this device is rechargeable device 500, if, execution in step S40; If not, execution in step S50 is the standard connectivity port to specify this connectivity port, thereafter execution in step S51.For example the first device 500a, the second device 500b are connected to first connectivity port and second connectivity port, and this charging connectivity port controller 312 detectings, first device 500a and the second device 500b are rechargeable device.
Specifically, this charging connectivity port controller 312 sees through detecting and judges that whether the device learnt in this connection is one to have the rechargeable device 500 of battery, and finishes with the friendship of this rechargeable device 500 and hold program (Handshaking Procedure).Whether this this first device of charging connectivity port controller 312 detectings 500a is the mode of rechargeable device, please refer to battery charge specification (the Battery Charging Specification (Revision1.1, April/15/2009)) of USB application person Tribune bulletin.
In step S40, this charging connectivity port controller 312 of this charge function module 310 judges whether this chargeable count value is zero, if, execution in step S50, this connectivity port is designated as the standard connectivity port, thereafter execution in step S51; If not, execution in step S60 serves as charging connectivity port, execution in step S61 thereafter to specify this connectivity port.
It should be noted that in USB charging method of the present invention this chargeable count value is for zero representative charging resource uses up, and its increase and the unit that reduces chargeable count value are one.For example chargeable count value is that 2, the first device 500a and the second device 500b are rechargeable device, and after the first connectivity port 350a and the second connectivity port 350b respectively took a chargeable count value, chargeable count value was zero.Afterwards, rechargeable device is the 3rd device 500c and individual the 3rd connectivity port 350c and the 4th connectivity port 350d of not being connected to of the 4th device 500d for example, the 3rd connectivity port 350c is designated as the standard connectivity port during because of initialization, and the 4th connectivity port 350d is because of after judging through step S40, when chargeable count value is zero instantly, execution in step S50.
In step S50, this connectivity port is designated as the standard connectivity port, when this connectivity port is designated as the standard connectivity port, and this charging connectivity port controller 312 of this charge function module 310 should chargeable count value remain unchanged, and this charge function module 310 these current units 200 of control are to provide operating current less than this USB standard electric current to this device (for example the 4th device 500d) via this connectivity port 350, thereafter execution in step S51, i.e. operative norm USB function only.Wherein the standard connectivity port refers to does not have to provide big electric current to do the connectivity port 350 of charging.Say that further standard USB function refers to the operator scheme in the electric current supply that is no more than the usb protocol standard.
In step S60, when this connectivity port 350 is designated as the charging connectivity port, execution in step S61, this charging connectivity port controller 312 should chargeable count value subtract one, and these charge function module 310 these power subsystems 200 of control are to begin to provide a charging current to this device (for example first device 500a) via this connectivity port 350, to carry out charging procedure, wherein this charging current is greater than this USB standard electric current.
The connectivity port of wherein charging refers to have and can provide big electric current to do the connectivity port 350 of charging, in a preferred embodiment, provides the charging current of 1.5A to charge.In addition, the present invention's mode that this connectivity port 350 can also be appointed as special charging connectivity port (Dedicated Charging Port) is implemented.In addition, when execution in step S40, this charged state display unit 450 is unlocked, in order to identify present charged state.
In step S70, behind the beginning charging procedure, whether the device (for example first device 500a) that the overcurrent detector 321 of line concentration functional module 320 is judged this connectivity port overcurrent (Over-current), if, execution in step S51, this charging connectivity port controller 312 should chargeable count value increase by one, and this connectivity port 350 provides operating current according to this USB standard electric current to this device (for example first installing 500a), and operative norm USB function only; If not, execution in step S80.When wherein overcurrent referred to that this rechargeable device 500 receives charging current greater than USB standard electric current, repayment (report) overcurrent signal represented that to usb host end 100 this device does not allow large current charge.Judge perhaps whether charging current surpasses the charging current that current-limiting apparatus 400 limits.
Be noted that overcurrent detector 321 is not whether just to detect overcurrent at step S70, overcurrent detector 321 is used with current-limiting apparatus 400, and whether lasting detecting overcurrent.When current-limiting apparatus 400 do not allow instantly electric current by the time, notice overcurrent detecting device 321 makes charging connectivity port controller 312 cut out this connectivity port 350, with protection line concentrator 300.If overcurrent takes place, charging connectivity port controller 312 cuts out this connectivity port 350 earlier, after enabling this connectivity port 350 via automatic or manual (rebooting device) again, the standard connectivity port is appointed as in this connectivity port 350, does not specify this connectivity port 350 to be the charging connectivity port during namely as initialization.Line concentrator 300 need be restarted if will become the charging connectivity port again in this connectivity port 350, and specifies when initialization or reset via the application program of usb host end 100.
In step S80, this charging connectivity port controller 312 of charge function module 310 judges whether the device (for example first device 500a) of this connectivity port is removed or has finished charging procedure, if, execution in step S81, this chargeable count value increases by one, and get back to above-mentioned detecting whether have device be connected in those the charging connectivity port, i.e. execution in step S20; If not, continue execution in step S80, the device (for example first device 500a) until this connectivity port is removed or has finished this charging procedure.
In step S90, when another device is connected in another those chargeable connectivity port, and after the connectivity port of this another device is designated as the standard connectivity port, this charging connectivity port controller 312 of this charge function module 310 judges that whether this chargeable count value is greater than zero, this charging connectivity port controller 312 judges whether this another device is rechargeable device, and this connectivity port overcurrent whether not of judging this another device of the overcurrent detector 321 in this line concentration functional module 320, if above three (gets final product chargometer numerical value>0, this another device is rechargeable device, and " not " overcurrent three all sets up), execution in step S80, if it is at least one for denying among the three, the connectivity port of this another device continues to be designated as the standard connectivity port, with operative norm USB function.For example, this another device is that the 4th device 500d is connected in the 4th connectivity port 350d.After the second device 500b charging was finished, chargometer numerical value added one, when the 4th connectivity port 350d is changed into the charging connectivity port and not during overcurrent, carried out charging procedure by the standard connectivity port of original appointment, carried out the determining program of step S80 again.
In sum, USB charging system of the present invention and charging method thereof, utilize the charge function module in the line concentrator, power supply capacity distribution according to power subsystem is charged to those rechargeable device greater than the charging current of USB standard electric current, improvement tradition charging connectivity port is fixing shortcoming, and reduces the cost of EEPROM element and needn't take the machine board space.Further, USB charging method of the present invention provides the dynamic switching method of the charging connectivity port of hub.
Claims (16)
1. USB charging system, comprise a power subsystem and a line concentrator, wherein this power subsystem is used for providing a charging power, this line concentrator is connected in this power subsystem and is used for connecting at least one rechargeable device and charges, this line concentrator comprises some connectivity ports, these connectivity ports are used for connecting at least one rechargeable device, it is characterized in that: this line concentrator also comprises a charge function module, this charge function module is coupled to this power subsystem, be used for to distribute a charging current greater than the universal serial bus specification electric current to those connectivity ports, so that this power subsystem provides this charging current to this at least one rechargeable device, this charge function module comprises: a charging ability calculator and a charging connectivity port controller, wherein this charging ability calculator calculates a chargeable count value according to this charging power of this power subsystem, whether this charging connectivity port controller is a charging connectivity port in order to one of those connectivity ports of dynamic appointment, and determines according to this chargeable count value whether this charging connectivity port charges to this at least one rechargeable device.
2. USB charging system as claimed in claim 1 is characterized in that: this chargeable count value is the power supply current value of this power subsystem quotient divided by this charging current value.
3. USB charging system as claimed in claim 1, it is characterized in that: this charging connectivity port controller is a standard connectivity port or a charging connectivity port according to this chargeable count value to specify this connectivity port that connects this line concentrator to be designated as.
4. USB charging system as claimed in claim 1 is characterized in that: this line concentrator comprises that also a line concentration functional module is used for judging whether overcurrent of those connectivity ports.
5. USB charging system as claimed in claim 1 is characterized in that: which connectivity port this charging connectivity port controller determines inequality with this chargeable count value for the quantity of charging connectivity port.
6. USB charging system as claimed in claim 1 is characterized in that: also have a current-limiting apparatus between those connectivity ports and those rechargeable device.
7. USB charging system as claimed in claim 1, it is characterized in that: this system comprises that also a charged state display unit is connected in this line concentrator, in order to identify present charged state.
8. USB charging method, be applicable to a USB charging system, to charge, this charging system comprises a line concentrator and a power subsystem, this line concentrator has a charge function module and some connectivity ports, and this line concentrator is suitable for connecting a USB host end, and this charge function module also comprises a charging ability calculator and a charging connectivity port controller, and it is characterized in that: this USB charging method comprises the following steps:
(a) this charging system carries out initialization step to those connectivity ports, to produce a chargeable count value;
(b) detecting of this charge function module whether have a device be connected in those connectivity ports one of them, if execution in step (c) if not, continues execution in step (b), until this device of existence be connected in those connectivity ports one of them;
(c) this charge function module judges whether this device is a rechargeable device, if, execution in step (d), if not, it is a standard connectivity port that this charge function module specifies this connectivity port that connects this device to be designated as, and execution in step (d1); And
(d) this charge function module judges whether this chargeable count value is zero, if, it is a standard connectivity port that this charge function module specifies this connectivity port that connects this device to be designated as, and execution in step (d1), if not, it is a charging connectivity port that this charge function module specifies this connectivity port that connects this device to be designated as, execution in step (d2), and wherein step (d) comprises the following steps:
(d1) when this connectivity port is designated as this standard connectivity port, it is invariant state that this charge function module is kept this chargeable count value, and this this power subsystem of charge function module controls installs to this so that the operating current less than a universal serial bus specification electric current to be provided via this connectivity port, to carry out a standard universal serial bus function; And
(d2) when this connectivity port is designated as this charging connectivity port, this charge function module should chargeable count value subtract one, and this this power subsystem of charge function module controls is to begin to provide a charging current to install to this via this connectivity port, to carry out charging procedure, wherein this charging current is greater than this universal serial bus specification electric current.
9. USB charging method as claimed in claim 8 is characterized in that: in step (d) afterwards, more comprise the following steps:
(e) when carrying out this charging procedure, this line concentrator is judged whether overcurrent of this connectivity port, if, this charge function module should chargeable count value increase by one, and this connectivity port provides the operating current less than this universal serial bus specification electric current to install to this, with the operative norm general series buss function, if not, execution in step (f); And
(f) this charge function module judges whether this device of this connectivity port is removed or has finished this charging procedure, if, this chargeable count value increases by one, return step (b) then, if not, continue execution in step (f), this device until this connectivity port is removed or has finished this charging procedure.
10. USB charging method as claimed in claim 9 is characterized in that: the device of judging this connectivity port whether overcurrent is to judge whether this charging current value surpasses the current value that a current-limiting apparatus of this charging system limits.
11. USB charging method as claimed in claim 9, it is characterized in that: when another device is connected in another chargeable connectivity port, and after the connectivity port of this another device is designated as the standard connectivity port, this charge function module judges that whether this chargeable count value is greater than zero, this charge function module judges whether this another device is rechargeable device, and this line concentrator this connectivity port overcurrent not as yet whether of judging this another device, if above three all is, execution in step (f), if it is at least one for denying among the three, the connectivity port of this another device continues to be designated as this standard connectivity port, to carry out this standard universal serial bus function.
12. USB charging method as claimed in claim 8 is characterized in that: the initialization step in the step (a) comprises the following steps:
(1) this charge function module determines the quantity of this charging connectivity port that this line concentrator is supported, to produce this chargeable count value;
(2) which connectivity port is this charge function module determine be appointed as the charging connectivity port; And
(3) this charge function module is opened those chargeable connectivity ports, to detect those rechargeable device.
13. USB charging method as claimed in claim 12 is characterized in that: determine that this chargeable count value is to be obtained by the power supply current value of this power subsystem quotient divided by this charging current value in the step (1).
14. USB charging method as claimed in claim 12 is characterized in that: which connectivity port is this charge function module determine inequality with this chargeable count value for the quantity of charging connectivity port in the step (2).
15. USB charging method as claimed in claim 12 is characterized in that: it is inequality that this charge function module is opened quantity and this chargeable count value of which charging connectivity port in the step (3).
16. USB charging method as claimed in claim 8 is characterized in that: the initialization step in the step (a) comprises the following steps:
(1) utilize an application program of this USB host end to determine the quantity of the charging connectivity port of this line concentrator, to produce this chargeable count value;
(2) utilize this application program of this USB host end to determine which connectivity port to be recharged; And
(3) this charging connectivity port controller is opened those chargeable connectivity ports, to detect those rechargeable device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101927651A CN102263423B (en) | 2010-05-26 | 2010-05-26 | Universal serial bus charging system and charging method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101927651A CN102263423B (en) | 2010-05-26 | 2010-05-26 | Universal serial bus charging system and charging method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102263423A CN102263423A (en) | 2011-11-30 |
CN102263423B true CN102263423B (en) | 2013-10-02 |
Family
ID=45009939
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101927651A Active CN102263423B (en) | 2010-05-26 | 2010-05-26 | Universal serial bus charging system and charging method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102263423B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102938573B (en) * | 2012-11-12 | 2014-08-13 | 广东欧珀移动通信有限公司 | Intelligent charging device and charging method thereof |
CN104079022B (en) * | 2013-03-29 | 2017-06-27 | 联想(北京)有限公司 | A kind of charging device and charging method |
CN104102317B (en) * | 2013-04-08 | 2017-03-08 | 宏碁股份有限公司 | USB charging device and management method |
CN109768599B (en) * | 2016-11-29 | 2023-09-12 | 海信视像科技股份有限公司 | Charging method based on multiple USB-C interfaces and main equipment |
JP2018206394A (en) * | 2017-06-08 | 2018-12-27 | 宸定科技股▲ふん▼有限公司SIM Power Technology Inc. | Hub |
CN110401240B (en) * | 2019-06-28 | 2022-06-28 | 联想(北京)有限公司 | Power supply method and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1350355A (en) * | 2000-10-23 | 2002-05-22 | 明碁电通股份有限公司 | Universal serial bar-type automatic chargers and their operation method |
US6798173B2 (en) * | 2000-09-27 | 2004-09-28 | Benq Corporation | Automatic charging device via a universal serial bus and method of operating the same |
CN101499669A (en) * | 2008-10-30 | 2009-08-05 | 深圳华为通信技术有限公司 | Terminal and method for external charging |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7631111B2 (en) * | 2006-08-17 | 2009-12-08 | Standard Microsystems Corporation | System method for rapidly charging USB device's battery wherein USB device requests charging the battery at a higher power level |
-
2010
- 2010-05-26 CN CN2010101927651A patent/CN102263423B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6798173B2 (en) * | 2000-09-27 | 2004-09-28 | Benq Corporation | Automatic charging device via a universal serial bus and method of operating the same |
CN1350355A (en) * | 2000-10-23 | 2002-05-22 | 明碁电通股份有限公司 | Universal serial bar-type automatic chargers and their operation method |
CN101499669A (en) * | 2008-10-30 | 2009-08-05 | 深圳华为通信技术有限公司 | Terminal and method for external charging |
Also Published As
Publication number | Publication date |
---|---|
CN102263423A (en) | 2011-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8773078B2 (en) | Universal serial bus (USB) charging system and method thereof | |
CN104903812B (en) | Power management system and method | |
CN103078393B (en) | USB hub and electric power supply method for the same | |
CN102263423B (en) | Universal serial bus charging system and charging method thereof | |
CN100487686C (en) | General serial bus and equipment for implementing intercommunication | |
EP2677625B1 (en) | Battery charging method and electronic device | |
JP5388484B2 (en) | Apparatus and method for detecting power supply | |
JP4980735B2 (en) | Power supply apparatus and power supply system | |
CN101872996A (en) | Be used to consume and provide the efficient system and the method for power | |
US20210149468A1 (en) | Intelligent power module | |
CN104756352A (en) | High voltage dedicated charging port | |
CN104756350A (en) | High voltage dedicated charging port | |
CN104617615B (en) | Charging method and electronic equipment | |
CN107332208B (en) | A kind of protection circuit, mainboard guard method and terminal | |
CN103309835A (en) | Universal serial bus device and power supply method thereof | |
CN104362687A (en) | Bidirectional power balance method and device based on USB-OTG | |
CN104025421A (en) | Method and apparatus of master selection logic in ups parallel system | |
CN102929821B (en) | Electronic equipment and electronic apparatus system | |
CN105071484B (en) | A kind of charging method and device of the terminal with data exchanging function | |
CN105762883B (en) | Method and electronic equipment for charging for electronic equipment | |
CN106502749B (en) | The method and system of program are write with a brush dipped in Chinese ink based on CAN bus multimachine | |
EP3872505B1 (en) | Charging pile test method, device and system, storage medium and processor | |
CN114243871A (en) | Charging and discharging circuit, electronic equipment and electronic system | |
CN103246336A (en) | Electronic apparatus and driving control method thereof | |
CN112763893A (en) | Mainboard test system and method of intelligent terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |