CN102263423A - Universal serial bus charging system and its charging method - Google Patents
Universal serial bus charging system and its charging method Download PDFInfo
- Publication number
- CN102263423A CN102263423A CN2010101927651A CN201010192765A CN102263423A CN 102263423 A CN102263423 A CN 102263423A CN 2010101927651 A CN2010101927651 A CN 2010101927651A CN 201010192765 A CN201010192765 A CN 201010192765A CN 102263423 A CN102263423 A CN 102263423A
- Authority
- CN
- China
- Prior art keywords
- charging
- connection port
- rechargeable
- current
- function module
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000006870 function Effects 0.000 description 58
- 238000001514 detection method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 150000001875 compounds Chemical class 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000004397 blinking Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Images
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
Description
【技术领域】 【Technical field】
本发明是关于一种USB充电系统及其方法,特别有关于使用大电流充电的USB充电系统及其方法。The invention relates to a USB charging system and method thereof, in particular to a USB charging system and method using large current charging.
【背景技术】 【Background technique】
近年来,通用串行总线(Universal Serial Bus,以下简称USB)连接端口(Port)已广泛应用于手机、数码相机等各种可携式电子产品中。当需要充电时,这些可携式电子产品可透过USB连接端口为其充电,并配有专用对应该连接端口的充电器,或是通过USB连接端口直接连接至电脑上通过电脑进行充电。根据USB 2.0协议规范,USB连接端口可提供的充电电流介于100毫安至500毫安之间,当这些电子产品利用电脑的USB连接端口进行充电时,只能提供最高500毫安的电流至这些可携式电子产品的电池作充电,以致于充电的速度较慢,耗费较久的充电时间。因此,一部分的可携式电子产品的电池充电规格还允许电脑和集线器(Hub)提供更高的充电电流,以缩短可携式电子产品的充电时间。In recent years, Universal Serial Bus (hereinafter referred to as USB) connection port (Port) has been widely used in various portable electronic products such as mobile phones and digital cameras. When charging is needed, these portable electronic products can be charged through the USB connection port, and are equipped with a special charger corresponding to the connection port, or directly connected to the computer through the USB connection port to charge through the computer. According to the USB 2.0 protocol specification, the charging current that the USB connection port can provide is between 100 mA and 500 mA. The batteries of portable electronic products are charged, so that the charging speed is relatively slow and takes a long time to charge. Therefore, the battery charging specifications of some portable electronic products also allow computers and hubs (Hub) to provide higher charging currents to shorten the charging time of the portable electronic products.
然而,因为成本考虑,现有电脑能提供更高的充电电流给集线器连接端口的数目有限,并且仅为固定的几个连接端口。当可携式电子产品插入非提供较大充电电流的连接端口进行充电时,该可携式电子产品无法快速地被充电,缺乏弹性充电的缺点。However, due to cost considerations, the number of connection ports that the existing computer can provide to the hub with a higher charging current is limited, and there are only a few fixed connection ports. When a portable electronic product is plugged into a connection port that does not provide a large charging current for charging, the portable electronic product cannot be charged quickly, which lacks the disadvantage of flexible charging.
为解决上述的问题,一种现有技术提出额外设置电子式可清除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM),储存哪几个连接端口具有可充电的功能,再由集线器去读取储存于EEPROM的数据,来解决上述固定连接端口缺乏弹性的缺点,但此种方式增加需EEPROM元件的成本。In order to solve the above-mentioned problems, a prior art proposes an additional setting of an electronically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM) to store which connection ports have rechargeable functions, and then the hub To read the data stored in the EEPROM, to solve the above-mentioned shortcoming of the lack of flexibility of the fixed connection port, but this method increases the cost of the EEPROM components.
另一种解决上述问题的现有技术是于集线器控制芯片(Hub Controller IC)中,依据每一连接端口接出一根针脚(Pin),该集线器控制芯片利用该针脚的电平判断哪些连接端口具有可快速充电的功能。然而现今集成电路芯片日益精密,芯片占用机板的面积越来越小,因此在芯片上增加针脚的方式难度较高,且成本较高。Another existing technology to solve the above-mentioned problem is to connect a pin (Pin) according to each connection port in the Hub Controller IC, and the Hub Controller IC uses the level of the pin to determine which connection ports With fast charging function. However, today's integrated circuit chips are becoming more and more sophisticated, and the area occupied by the chips on the board is getting smaller and smaller. Therefore, it is more difficult and costly to add pins on the chip.
因此,需要提出一种可供可携式电子产品进行大电流充电,以解决上述的问题。Therefore, it is necessary to provide a portable electronic product for high-current charging to solve the above-mentioned problems.
【发明内容】 【Content of invention】
有鉴于此,本发明的目的在于提供一种USB充电系统及其方法,其可减少额外的电子元件成本,并达到可动态切换、充电的集线器连接端口。In view of this, the purpose of the present invention is to provide a USB charging system and its method, which can reduce the cost of additional electronic components, and achieve a hub connection port that can be dynamically switched and charged.
为达上述的目的,本发明提供一种USB充电系统,该充电的USB充电系统包括电源单元和集线装置。其中该电源单元是用于提供充电所需的供电能力。该集线装置连接于该电源单元,用于连接至少一可充电装置作充电。该集线装置包括若干连接端口以及一充电功能模块。该些连接端口用于连接该至少一可充电装置。To achieve the above purpose, the present invention provides a USB charging system, which includes a power supply unit and a hub device. Wherein the power supply unit is used to provide the power supply capability required for charging. The hub device is connected to the power supply unit for connecting at least one rechargeable device for charging. The hub device includes several connection ports and a charging function module. The connecting ports are used for connecting the at least one rechargeable device.
该充电功能模块用于分配大于USB规范电流的一充电电流至该些连接端口,以提供该充电电流至该至少一可充电装置,其中该充电功能模块包括:一充电能力计算器,根据该电源单元的供电能力计算一可充电计数值;以及一充电连接端口控制器,用以动态指定该些连接端口之一是否为一充电连接端口,并依该可充电计数值决定该充电连接端口是否对该至少一可充电装置作充电。The charging function module is used for distributing a charging current greater than the USB specification current to the connection ports, so as to provide the charging current to the at least one rechargeable device, wherein the charging function module includes: a charging capacity calculator, according to the power supply The power supply capability of the unit calculates a rechargeable count value; and a charging connection port controller is used to dynamically specify whether one of the connection ports is a charging connection port, and determine whether the charging connection port is a charging connection port according to the rechargeable count value The at least one rechargeable device is for charging.
本发明的一较佳实施例中,该可充电计数值为该电源单元的供电电流值除以该充电电流值的商数。其中该充电连接端口控制器指定该些连接端口之一是否为一充电连接端口是选择自该些可充电装置所连接的连接端口。更进一步地说,该充电连接端口控制器是根据断该可充电计数值,以指定连接该装置的该连接端口被指定成为一标准连接端口或是一充电连接端口。此外,该集线装置还包括一集线功能模块,用于判断该连接端口是否过电流。In a preferred embodiment of the present invention, the rechargeable count value is a quotient of dividing the supply current value of the power supply unit by the charging current value. Wherein the charging port controller specifies whether one of the connecting ports is a charging port is selected from the connecting ports to which the rechargeable devices are connected. Furthermore, the charging connection port controller designates the connection port connected to the device as a standard connection port or a charging connection port according to the chargeable count value. In addition, the line gathering device also includes a line gathering function module for judging whether the connection port is over-current.
本发明还提供一种通用串行总线充电方法,适用于通用串行总线充电系统,以进行充电,该充电系统包括一集线装置以及一电源单元,该集线装置具有一充电功能模块及若干连接端口,且该集线装置可连接一USB主机端,该通用串行总线充电方法包括下列步骤:The present invention also provides a universal serial bus charging method, which is applicable to a universal serial bus charging system for charging. The charging system includes a line gathering device and a power supply unit. The line gathering device has a charging function module and several connection port, and the hub device can be connected to a USB host end, the universal serial bus charging method includes the following steps:
(a)该充电系统对该些连接端口进行初始化步骤,以产生一可充电计数值;(a) the charging system performs an initialization procedure on the connection ports to generate a rechargeable count;
(b)该充电功能模块侦测是否有一装置连接于该些连接端口其中之一,如果是,执行步骤(c),如果否,持续执行步骤(b),直至存在该装置连接于该些连接端口其中之一;(b) The charging function module detects whether a device is connected to one of the connection ports, if yes, execute step (c), if not, continue to execute step (b) until there is the device connected to these connections one of the ports;
(c)该充电功能模块判断该装置是否为一可充电装置,如果是,执行步骤(d),如果否,该充电功能模块指定连接该装置的该连接端口被指定成为一标准连接端口,并且执行步骤(d1);以及(c) the charging function module determines whether the device is a rechargeable device, if yes, execute step (d), if not, the connection port designated by the charging function module to be connected to the device is designated as a standard connection port, and performing step (d1); and
(d)该充电功能模块判断该可充电计数值是否为零,如果是,该充电功能模块指定连接该装置的该连接端口被指定成为一标准连接端口,并且执行步骤(d1),如果否,该充电功能模块指定连接该装置的该连接端口被指定成为一充电连接端口,执行步骤(d2),其中步骤(d)包括下列步骤:(d) The charging function module judges whether the rechargeable count value is zero, if yes, the connection port designated by the charging function module to be connected to the device is designated as a standard connection port, and step (d1) is executed, if not, The connection port designated by the charging function module to be connected to the device is designated as a charging connection port, and step (d2) is performed, wherein step (d) includes the following steps:
(d1)当该连接端口被指定为该标准连接端口时,该充电功能模块维持该可充电计数值为不变状态,并且该充电功能模块控制该电源单元以经由该连接端口提供小于该USB规范电流的一操作电流至该装置,以执行标准USB功能;及(d1) When the connection port is designated as the standard connection port, the charging function module maintains the rechargeable count value in a constant state, and the charging function module controls the power supply unit to provide via the connection port less than the USB specification an operating current of current to the device to perform standard USB functions; and
(d2)当该连接端口被指定为该充电连接端口时,该充电功能模块将该可充电计数值减一,并且该充电功能模块控制该电源单元以经由该连接端口开始提供一充电电流至该装置,以进行充电程序,其中该充电电流大于该USB规范电流。(d2) When the connection port is designated as the charging connection port, the charging function module decrements the rechargeable count value by one, and the charging function module controls the power supply unit to start supplying a charging current to the charging connection port via the connection port The device performs a charging procedure, wherein the charging current is greater than the USB specification current.
本发明的一较佳实施例中,当执行步骤(d)之后,更包括下列步骤:In a preferred embodiment of the present invention, after step (d) is performed, the following steps are further included:
(e)当进行该充电程序时,该集线装置判断该连接端口是否过电流,如果是,该充电功能模块将该可充电计数值增加一,并且该连接端口提供小于该USB规范电流的操作电流至该装置,以执行标准USB功能,如果否,执行步骤(f);以及(e) When performing the charging procedure, the hub device judges whether the connection port is over-current, if so, the charging function module increases the rechargeable count value by one, and the connection port provides an operation current less than the USB specification current to the device to perform standard USB functions, if not, perform step (f); and
(f)该充电功能模块判断该连接端口的该装置是否被移除或者已完成该充电程序,如果是,该可充电计数值增加一,然后返回步骤(b),如果否,持续执行步骤(f),直至该连接端口的装置被移除或者已完成该充电程序。(f) The charging function module judges whether the device connected to the port has been removed or the charging procedure has been completed, if yes, the rechargeable count value is increased by one, and then returns to step (b), if not, continues to execute step ( f) until the device connected to the port is removed or the charging procedure is completed.
根据本发明的USB充电系统及其方法,利用集线装置连接端口的动态切换,改良传统充电连接端口为固定的缺点,并且降低元件的成本。According to the USB charging system and method thereof of the present invention, the dynamic switch of the connection port of the hub device is used to improve the traditional charging connection port and reduce the cost of components.
为让本发明的上述内容能更明显易懂,下文特举较佳实施例,并配合所附图式,作详细说明如下:In order to make the above content of the present invention more obvious and understandable, the following preferred embodiments are specifically cited below, and in conjunction with the accompanying drawings, the detailed description is as follows:
【附图说明】 【Description of drawings】
图1绘示本发明的一较佳实施例的USB充电系统方块图。FIG. 1 is a block diagram of a USB charging system according to a preferred embodiment of the present invention.
图2绘示本发明的另一较佳实施例的USB充电系统方块图。FIG. 2 is a block diagram of a USB charging system according to another preferred embodiment of the present invention.
图3绘示本发明的USB充电方法初始化流程图。FIG. 3 is a flowchart of the initialization of the USB charging method of the present invention.
图4绘示本发明的USB充电方法流程回路图。FIG. 4 is a flow chart of the USB charging method of the present invention.
【具体实施方式】 【Detailed ways】
本发明的较佳实施例藉由所附图式与下面的说明作详细描述,在不同的图式中,相同的元件符号表示相同或相似的元件。Preferred embodiments of the present invention are described in detail with the accompanying drawings and the following descriptions. In different drawings, the same reference numerals represent the same or similar components.
参考图1,绘示本发明的一较佳实施例中通用串行总线(Universal SerialBus,以下简称USB)充电系统的方块图。该USB充电系统10包括电源单元200、集线装置300、限流装置400以及充电状态显示单元450。电源单元200用于提供充电所需的电力,以提供一直流电流给集线装置300。在一实施例中,该电源单元200例如是外接式变压器,如利用交流/直流转换器(AC/DCAdaptor)转换市电的交流电成为直流电流,然后将该直流电流供给至该集线装置300;在另一实例中,该电源单元200设置于主机板,例如是内建在主机板的电流转换元件。Referring to FIG. 1 , it shows a block diagram of a universal serial bus (Universal Serial Bus, hereinafter referred to as USB) charging system in a preferred embodiment of the present invention. The
本发明的集线装置300连接于电源单元200,该集线装置300用于电性连接至少一可充电装置500作充电。该些可充电装置500以第一装置500a至第四装置500d作代表。该集线装置300包括充电功能模块310、集线功能模块320以及若干连接端口(Ports)350,以第一连接端口350a至第四连接端口350d作代表。该电源单元200以及集线装置300设置于同一电路板上,例如该电源单元200以及集线装置300设置于一主机板上,但本发明亦可分开方式实施。The
本发明的一较佳实施例中,该些连接端口350与该些可充电装置500之间还设置限制充电电流大小的限流装置400,以防止过大的电流通过该些可充电装置500,以保护该些可充电装置500,该限流装置400例如是复式保险丝(Poly Fuse)或电源开关(Power Switch)组成。在图1,第一连接端口350a至第四连接端口350d分别相对应连接于限流装置400a至限流装置400d,但不限于此种方式,例如将多个连接端口350(例如2个)连接于同一限流装置400。举例而言,充电电流为1.5A(安培)的话,其该限流装置400所限制的充电电流的极限需大于1.5A,例如1.8A。In a preferred embodiment of the present invention, a current
本发明的一较佳实施例中,充电状态显示单元450连接于该集线装置300,用以显示目前的充电状态,该充电状态显示单元450例如是由发光二极管(LED)组成,利用可程序化控制发光二极管的闪烁或发光颜色,以辨别连接于该连接端口350的可充电装置500的充电状态。In a preferred embodiment of the present invention, the charging
本发明的一较佳实施例中的集线装置300,该集线功能模块320依据USB规范协议以控制连接于该集线装置300的装置的数据传输,该集线功能模块320包括过流侦测器(Over-current Detector)321,该过流侦测器321与限流装置400配合,用于侦测电流是否超过限流装置的限制电流。应注意的是,该集线功能模块320的实施并不限于集线器(Hub),亦可为USB复合式装置(USB Compound Device),例如是在一集线器中整合其它功能的复合式装置。In the
若干连接端口350设置于该集线装置300,以作为该集线装置300连接该些可充电装置500的接口,以传送充电电流至该些可充电装置500。该些连接端口350依据充电电流的大小区分为「标准连接端口(Standard Port)」以及「充电连接端口(Chargeable Port)」,其中该「标准连接端口」是指该连接端口350提供USB规范电流,该「充电连接端口」是指该连接端口350提供大于USB规范电流的电流,以对该些可充电装置500进行快速的大电流充电。在图1中,该集线装置300设置第一连接端口350a至第四连接端口350d,亦可设置较多或是较少数量的连接端口350。A plurality of
上述的USB规范电流是依据USB应用者论坛公司(USB ImplementersForum,Inc.)所公告的规范标准,例如USB 2.0规范电流指出:当装置(Device)待命(Suspend)时为2.5毫安(mA),当装置非待命且未配置时为100mA,当装置非待命且已配置时为500mA;USB 3.0规范电流指出:当装置待命(Suspend)时为2.5mA,当装置未配置时为150mA,在超速(Super Speed)模式下,当装置为低电力装置(Low-Power Device)时为150mA,当装置为高电力装置(High-Power Device)时为900mA。The above-mentioned USB standard current is based on the standard announced by the USB Implementers Forum, Inc., for example, the USB 2.0 standard current indicates that when the device (Device) is in standby (Suspend), it is 2.5 milliamps (mA), 100mA when the device is not in standby and not configured, 500mA when the device is not in standby and configured; Super Speed) mode, when the device is a low-power device (Low-Power Device), it is 150mA, and when the device is a high-power device (High-Power Device), it is 900mA.
该充电功能模块310位该集线装置300内。该充电功能模块310根据该电源单元200的供电能力,以分配大于USB规范电流的充电电流至该些可充电装置500,以进行快速充电。The charging
更进一步地说,充电功能模块310包括充电能力计算器311以及充电连接端口控制器312,该充电能力计算器311用以估计该电源单元200提供的电流大小,以计算可提供至一个可充电装置500的充电电流的倍数,亦即计算出最多可提供几个大于USB规范电流的充电电流给连接端口350。例如当欲提供1.5A的充电电流至一连接端口350(即被视为充电连接端口),且该电源单元200的总供电电流为4.5A,则4.5/1.5=3,该充电能力计算器311计算出可提供3个连接端口350进行充电,该数量则称之为可充电计数值(Chargeable Account)。值得注意的是,1.5A大于USB 2.0的规范电流500mA,为USB 2.0的最大限制电流。Furthermore, the charging
此外,充电连接端口控制器312具有控制该些连接端口350开启侦测可充电装置的功能,用以侦测连接于连接端口350的装置是否为可充电装置500。同时该充电连接端口控制器312分配充电资源,以决定提供给哪些连接端口350所连接的可充电装置500进行充电。该些连接端口350分配到大于USB规范电流的充电电流,且选择自该些可充电装置500所连接的连接端口350,并非只限制于特定的连接端口350。因此该充电连接端口控制器312可动态指定连接端口350为充电连接端口,亦即该充电连接端口控制器312动态切换连接端口350,以选择该连接端口作为充电连接端口。例如在图1中,当第一装置500a经由限流装置400a连接到第一连接端口350a,该第一连接端口350a视为充电连接端口,并且由充电连接端口控制器312分配大于USB规范电流(例如1.5A)的充电电流至该第一连接端口350a,以对该可充电装置500进行充电。In addition, the charging
以下说明该USB充电系统10的运作方式:The operation mode of the
该充电连接端口控制器312根据判断该可充电计数值,以指定连接该装置的该连接端口350被指定成为一标准连接端口,或是一充电连接端口。例如,充电连接端口控制器312判断该可充电计数值是否为零,如果是,该充电连接端口控制器312指定连接该装置的该连接端口350被指定成为一标准连接端口,如果否,该充电连接端口控制器312指定连接该装置的该连接端口350被指定成为一充电连接端口。The charging
当进行该充电程序时,该集线功能模块320的该过流侦测器321用于判断该连接端口350是否过电流,如果是,该充电连接端口控制器312将该可充电计数值增加一,并且该连接端口350提供小于该USB规范电流的操作电流至该装置,以执行标准USB功能,如果否,则持续充电。其中过电流是指该过流侦测器321侦测电流是否超过限流装置400的限制电流。When carrying out the charging procedure, the
其中持续充电后,该充电连接端口控制器312还判断该连接端口350的该装置是否被移除或者已完成该充电程序,如果是,该可充电计数值增加一并结束该充电程序,如果否,则持续充电,直至该连接端口350的该装置被移除或者已完成该充电程序。Wherein after continuous charging, the charging
需注意的是,该充电连接端口控制器312决定哪些连接端口350为充电连接端口的数量并不受限于可充电计数值,以表示动态选择。同样地,该充电连接端口控制器312开启哪些充电连接端口并不受限于可充电计数值,以表示动态选择。例如可充电计数值为2,但该充电连接端口控制器312决定第一连接端口350a至第四连接端口350d皆可被指派为充电连接端口。因此,第一连接端口350a至第四连接端口350d皆开启侦测是否有可充电装置连接于该些连接端口350。而第一连接端口350a至第四连接端口350d中的任意两个连接端口350皆可被指派为充电连接端口,以达到动态选择。It should be noted that the number of the charging
参考图2,绘示本发明的另一较佳实施例中USB充电系统的方块图,该USB充电系统10除了包括上述的电源单元200、集线装置300、限流装置400以及充电状态显示单元450之外,还包括USB主机端(USB Host)100。该USB主机端100用以执行通用串行总线上数据传送时序与传送方向的控制,通常设置于电脑系统(未图标)内,该集线装置300透过连接端口(未图示)连接于该USB主机端100。Referring to FIG. 2 , it shows a block diagram of a USB charging system in another preferred embodiment of the present invention. The
该USB主机端100可对该USB充电系统10做一充电初始化的功能,其细节详述于后。该USB主机端100、电源单元200以及集线装置300设置于同一电路板上,例如该电源单元200以及集线装置300设置于该USB主机端100上,但本发明亦可分开方式设置。另外,其余元件的功能如同图1所述,在此不予赘述。The
本发明的USB充电系统10利用集线装置30的充电功能模块310,依据电源单元200的供电能力分配大于USB规范电流的充电电流,以对该些可充电装置500进行充电,改良传统充电连接端口限制于固定的连接端口的缺点,并且节省EEPROM元件的成本以及不必额外占用机板的面积。The
本发明进一步利用利用上述的USB充电系统执行USB充电方法。参考图1以及图3,图3绘示本发明的USB充电方法的初始化流程图。该初始化流程图表示该充电功能模块310对该些连接端口350执行初始化的步骤,以产生可充电计数值(Chargeable Account)。The present invention further utilizes the above-mentioned USB charging system to perform a USB charging method. Referring to FIG. 1 and FIG. 3 , FIG. 3 shows a flow chart of initialization of the USB charging method of the present invention. The initialization flowchart represents the steps of the charging
在S11步骤中,该充电功能模块310的充电能力计算器311决定该集线装置300的充电连接端口的数量,亦即利用该充电能力计算器311产生一可充电计数值。该可充电计数值表示目前可充电(例如提供1.5A的充电电流)的连接端口数量,例如电源供应单元200具有4.8A的供电能力,充电电流以1.5A计算,则充电能力计算器311产生的最大可充电计数值为3,亦即表示该集线装置300可提供3个连接端口(视为充电连接端口),以进行快速充电。需注意的是,当该充电能力计算器311产生可充电计数值之后,该充电能力计算器311以及该充电连接端口控制器312依据每个充电连接端口的使用状况,以对该可充电计数值作增加或是减少,详细描述于后。In step S11 , the
在步骤S12中,该充电功能模块310的充电连接端口控制器312决定哪些连接端口为充电连接端口,亦即该充电连接端口控制器312指定哪些连接端口为充电连接端口,例如当集线器装置300具有四个连接端口且可充电计数值为3时,第一连接端口、第二连接端口及第四连接端口被指定为充电连接端口(Chargeable Port),第三连接端口被指定为标准连接端口(StandardPort)。In step S12, the charging
需注意的是,该充电连接端口控制器312决定哪些连接端口为充电连接端口的数量并不受限于可充电计数值,例如可充电计数值为3时,第一连接端口350a、第二连接端口350b、第三连接端口350c及第四连接端口350d皆可为充电连接端口,但仅有其中三个连接端口350可被指定为充电连接端口,该充电连接端口控制器312可指定连接端口的能力范围为4个。It should be noted that the charging
在步骤S13中,该充电功能模块310的充电连接端口控制器312开启该些充电连接端口,以侦测是否有可充电装置连接于该充电连接端口。例如第一连接端口350a、第二连接端口350b及第四连接端口350d开启可充电装置的侦测,第三连接端口350c关闭可充电装置的侦测。当侦测到可充电装置500连接至充电连接端口之后,该充电连接端口控制器312与可充电装置500完成后续的交握程序(Handshaking Procedure),在交握程序中,该充电连接端口控制器312通知(Acknowledge)该可充电装置500所连接的连接端口350支持快速的大电流充电。In step S13 , the charging
此外,需注意的是,该充电连接端口控制器312开启哪些充电连接端口并不受限于可充电计数值。当于步骤S12中指定为可充电连接端口的能力范围是4个,但可充电计数值为3时,亦即实际充电连接端口数量为3个,但于步骤S13中,该充电连接端口控制器312可对四个连接端口350开启可充电装置的侦测。例如当一可充电装置500连接至任一连接端口350时,该可充电装置500被通知该连接的连接端口350支持快速充电,亦即被指定为充电连接端口。In addition, it should be noted that which charging ports are enabled by the charging
参考图2以及图3,本发明不限于仅由该充电功能模块310作初始化,也可由USB主机端100的应用程序(Application Program)作选择。以下说明本发明利用上述另一较佳实施例的USB充电系统执行USB充电方法的初始化流程。Referring to FIG. 2 and FIG. 3 , the present invention is not limited to be initialized only by the charging
执行S11步骤,由USB主机端100的一应用程序决定该集线装置300的可充电的充电连接端口的数量,即由该USB主机端100获得一可充电计数值(Chargeable Account)。该可充电计数值仍受依供电能力计算器311的可充电计数值的最大值限制,例如数量为2。Execute step S11, an application program of the
执行步骤S12,由USB主机端100的该应用程序决定哪些连接端口350可被充电。例如设定固定以第一连接端口350a及第二连接端口350b被指定为充电连接端口。Step S12 is executed, and the application program of the
同样值得注意的是,被指定为充电连接端口的连接端口个数,并不受限于可充电计数值。例如在另一实施例的步骤S11中,例如可充电计数值为2。执行步骤S12,由USB主机端100的应用程序选择第二连接端口350b、第三连接端口350c及第四连接端口350d被指定为充电连接端口。It is also worth noting that the number of ports designated as charging ports is not limited to the rechargeable count value. For example, in step S11 of another embodiment, for example, the rechargeable count value is 2. Step S12 is executed, and the application program of the
执行步骤S13,步骤S13代表由该充电功能模块310的充电连接端口控制器312开启侦测该些充电连接端口,进行可充电装置500的侦测。Step S13 is executed. Step S13 represents that the charging
此外,当于步骤S12中指定可充电连接端口的范围是第二连接端口350b、第三连接端口350c及第四连接端口350d,但可充电计数值为2时,即实际可充电的有2个连接端口350,执行步骤S13,由该充电功能模块310的充电连接端口控制器312开启侦测第二连接端口350b、第三连接端口350c及第四连接端口350d,进行可充电装置500的侦测。In addition, when the range of the designated rechargeable connection ports in step S12 is the
参考图1、2、4所示,图4绘示本发明USB充电方法流程回路图。本发明一实施例以及另一实施例中,执行上述图3的USB充电方法的初始化步骤之后,然后执行图4a及图4b的流程步骤,在图1及图2中以第一连接端口350a、第二连接端口350b及第四连接端口350d为可充电连接端口,该USB充电方法流程包括下列步骤:Referring to FIGS. 1 , 2 and 4 , FIG. 4 shows a flow chart of the USB charging method of the present invention. In one embodiment and another embodiment of the present invention, after performing the initialization steps of the above-mentioned USB charging method in FIG. The
在步骤S20中,该充电功能模块310的该充电连接端口控制器312侦测是否有一装置连接于该些充电连接端口之一,如果是,执行步骤S30;如果否,执行步骤S20,直至侦测到有装置连接于该些充电连接端口,然后执行步骤S30。例如第一装置500a连接于第一连接端口350a、第二连接端口350b及第四连接端口350d其中之一连接一装置。另外,当该装置连接于第三连接端口时,直接指定为标准连接端口。In step S20, the charging
在步骤S30中,该充电功能模块310的该充电连接端口控制器312判断该装置是否为可充电装置500,如果是,执行步骤S40;如果否,执行步骤S50,以指定该连接端口为标准连接端口,其后执行步骤S51。例如第一装置500a、第二装置500b分别连接于第一连接端口及第二连接端口,该充电连接端口控制器312侦测第一装置500a及第二装置500b均为可充电装置。In step S30, the charging
具体来说,该充电连接端口控制器312透过侦测判断得知该连接上的装置是否为一具有电池的可充电装置500,并完成与该可充电装置500的交握程序(Handshaking Procedure)。该充电连接端口控制器312侦测该第一装置500a是否为可充电装置的方式,请参考USB应用者论坛公司公告的电池充电规格(Battery Charging Specification(Revision 1.1,April/15/2009))。Specifically, the charging
在步骤S40中,该充电功能模块310的该充电连接端口控制器312判断该可充电计数值是否为零,如果是,执行步骤S50,该连接端口被指定为标准连接端口,其后执行步骤S51;如果否,执行步骤S60,以指定该连接端口为充电连接端口,其后执行步骤S61。In step S40, the charging
值得注意的是,于本发明的USB充电方法中,该可充电计数值是为零代表充电资源用完,且其增加以及减少可充电计数值的单位为一。例如可充电计数值为2,第一装置500a及第二装置500b均为可充电装置,第一连接端口350a及第二连接端口350b各占用一个可充电计数值后,可充电计数值为零。之后,可充电装置例如第三装置500c及第四装置500d个别连接至第三连接端口350c及第四连接端口350d,第三连接端口350c因初始化时即被指定为标准连接端口,而第四连接端口350d因经过步骤S40判断后,当下可充电计数值为零时,执行步骤S50。It should be noted that, in the USB charging method of the present invention, the rechargeable count value being zero represents that the charging resource is used up, and the unit for increasing and decreasing the rechargeable count value is one. For example, the rechargeable count value is 2, the
在步骤S50中,该连接端口被指定为标准连接端口,当该连接端口被指定为标准连接端口,且该充电功能模块310的该充电连接端口控制器312将该可充电计数值维持不变,并且该充电功能模块310控制该电流单元200以经由该连接端口350提供小于该USB规范电流的操作电流至该装置(例如第四装置500d),其后执行步骤S51,即仅执行标准USB功能。其中标准连接端口指的是没有可提供大电流作充电的连接端口350。更进一步地说,标准USB功能指的是在不超过USB协议规范的电流供应的操作模式。In step S50, the connection port is designated as a standard connection port, when the connection port is designated as a standard connection port, and the charging
在步骤S60中,当该连接端口350被指定为充电连接端口时,执行步骤S61,该充电连接端口控制器312将该可充电计数值减一,并且该充电功能模块310控制该电源单元200以经由该连接端口350开始提供一充电电流至该装置(例如第一装置500a),以进行充电程序,其中该充电电流大于该USB规范电流。In step S60, when the
其中充电连接端口是指具有可提供大电流作充电的连接端口350,在一较佳实施例中,提供1.5A的充电电流作充电。此外,本发明还可以将该连接端口350指定为专用充电连接端口(Dedicated Charging Port)的方式实施。此外,在执行步骤S40时,该充电状态显示单元450被开启,用以识别目前的充电状态。The charging connection port refers to the
在步骤S70中,当开始充电程序后,集线功能模块320的过流侦测器321判断该连接端口的装置(例如第一装置500a)是否过电流(Over-current),如果是,执行步骤S51,该充电连接端口控制器312将该可充电计数值增加一,并且该连接端口350提供依据该USB规范电流的操作电流至该装置(例如第一装置500a),并仅执行标准USB功能;如果否,执行步骤S80。其中过电流是指该可充电装置500接收到大于USB规范电流的充电电流时,回报(report)一个过流讯号至USB主机端100,表示该装置不允许大电流充电。或者判断充电电流是否超过限流装置400所限制的充电电流。In step S70, after starting the charging process, the
需注意的是,过流侦测器321并非在步骤S70才侦测是否过电流,过流侦测器321与限流装置400配合使用,持续侦测是否过电流。当限流装置400不允许当下电流通过时,通知过电流侦测器321,使充电连接端口控制器312关闭该连接端口350,以保护集线装置300。若过电流发生,充电连接端口控制器312先关闭该连接端口350,再经由自动或手动(重启装置)启用该连接端口350后,将该连接端口350指定为标准连接端口,即如同初始化时不指定该连接端口350为充电连接端口。该连接端口350若要再成为充电连接端口,需要重启集线装置300,并于初始化时指定或经由USB主机端100的应用程序重新设定。It should be noted that the
在步骤S80中,充电功能模块310的该充电连接端口控制器312判断该连接端口的装置(例如第一装置500a)是否被移除或者已完成充电程序,如果是,执行步骤S81,该可充电计数值增加一,并回到上述侦测是否有装置连接于该些充电连接端口,即执行步骤S20;如果否,持续执行步骤S80,直至该连接端口的装置(例如第一装置500a)被移除或者已完成该充电程序。In step S80, the charging
在步骤S90中,当另一装置连接于另一该些可充电连接端口,且当该另一装置的连接端口被指定为标准连接端口之后,该充电功能模块310的该充电连接端口控制器312判断该可充电计数值是否大于零、该充电连接端口控制器312判断该另一装置是否为可充电装置、以及该集线功能模块320中的过流侦测器321判断该另一装置的该连接端口是否未过电流,如果以上三者皆是(即可充电计数值>0、该另一装置为可充电装置、以及「未」过电流三者皆成立),执行步骤S80,如果三者之中至少一为否,该另一装置的连接端口持续被指定为标准连接端口,以执行标准USB功能。例如,该另一装置为第四装置500d连接于第四连接端口350d。当第二装置500b充电完成后,充电计数值加一,当第四连接端口350d由原先指定的标准连接端口改为充电连接端口且未过电流时,进行充电程序,再进行步骤S80的判断程序。In step S90, when another device is connected to the other charging ports, and when the port of the other device is designated as a standard port, the charging
综上所述,本发明通用串行总线充电系统及其充电方法,利用集线装置中的充电功能模块,根据电源单元的供电能力分配大于USB规范电流的充电电流对该些可充电装置充电,改良传统充电连接端口为固定的缺点,并且降低EEPROM元件的成本以及不必占用机板空间。更进一步地,本发明的USB充电方法提供集线器的充电连接端口的动态切换方法。In summary, the USB charging system and its charging method of the present invention use the charging function module in the hub device to distribute a charging current greater than the USB standard current according to the power supply capacity of the power supply unit to charge these rechargeable devices. Improvement of the traditional charging connection port is a fixed disadvantage, and reduces the cost of EEPROM components and does not need to occupy board space. Furthermore, the USB charging method of the present invention provides a method for dynamically switching charging connection ports of the hub.
Claims (16)
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 true CN102263423A (en) | 2011-11-30 |
| CN102263423B 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) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102938573A (en) * | 2012-11-12 | 2013-02-20 | 广东欧珀移动通信有限公司 | Intelligent charging device and charging method thereof |
| CN104079022A (en) * | 2013-03-29 | 2014-10-01 | 联想(北京)有限公司 | Charging device and method |
| CN104102317A (en) * | 2013-04-08 | 2014-10-15 | 宏碁股份有限公司 | Universal serial bus charging device and management method |
| CN106487069A (en) * | 2016-11-29 | 2017-03-08 | 青岛海信电器股份有限公司 | A charging method and host device based on multiple USB-C interfaces |
| CN108777509A (en) * | 2017-06-08 | 2018-11-09 | 宸定科技股份有限公司 | Concentrator |
| CN110401240A (en) * | 2019-06-28 | 2019-11-01 | 联想(北京)有限公司 | Method of supplying power to and electronic equipment |
| CN114995206A (en) * | 2021-03-01 | 2022-09-02 | 北京字节跳动网络技术有限公司 | Cloud measurement service control method and device, electronic equipment and computer readable medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1350355A (en) * | 2000-10-23 | 2002-05-22 | 明碁电通股份有限公司 | Universal serial bus-type automatic charging device and its operating 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 |
| US20080042616A1 (en) * | 2006-08-17 | 2008-02-21 | Monks Morgan H | System and Method for Rapidly Charging a USB Device |
| CN101499669A (en) * | 2008-10-30 | 2009-08-05 | 深圳华为通信技术有限公司 | Terminal and method for external charging |
-
2010
- 2010-05-26 CN CN2010101927651A patent/CN102263423B/en active Active
Patent Citations (4)
| 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 bus-type automatic charging device and its operating method |
| US20080042616A1 (en) * | 2006-08-17 | 2008-02-21 | Monks Morgan H | System and Method for Rapidly Charging a USB Device |
| CN101499669A (en) * | 2008-10-30 | 2009-08-05 | 深圳华为通信技术有限公司 | Terminal and method for external charging |
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102938573A (en) * | 2012-11-12 | 2013-02-20 | 广东欧珀移动通信有限公司 | Intelligent charging device and charging method thereof |
| CN104079022A (en) * | 2013-03-29 | 2014-10-01 | 联想(北京)有限公司 | Charging device and method |
| CN104079022B (en) * | 2013-03-29 | 2017-06-27 | 联想(北京)有限公司 | A kind of charging device and charging method |
| CN104102317A (en) * | 2013-04-08 | 2014-10-15 | 宏碁股份有限公司 | Universal serial bus charging device and management method |
| CN104102317B (en) * | 2013-04-08 | 2017-03-08 | 宏碁股份有限公司 | Universal serial bus charging device and management method |
| CN109768599B (en) * | 2016-11-29 | 2023-09-12 | 海信视像科技股份有限公司 | Charging method based on multiple USB-C interfaces and main equipment |
| CN106487069A (en) * | 2016-11-29 | 2017-03-08 | 青岛海信电器股份有限公司 | A charging method and host device based on multiple USB-C interfaces |
| CN106487069B (en) * | 2016-11-29 | 2019-03-08 | 青岛海信电器股份有限公司 | A charging method and host device based on multiple USB-C interfaces |
| CN109768599A (en) * | 2016-11-29 | 2019-05-17 | 青岛海信电器股份有限公司 | A kind of charging method and main equipment based on more USB-C interfaces |
| CN108777509A (en) * | 2017-06-08 | 2018-11-09 | 宸定科技股份有限公司 | Concentrator |
| CN108777509B (en) * | 2017-06-08 | 2021-05-11 | 宸定科技股份有限公司 | Concentrator |
| CN110401240B (en) * | 2019-06-28 | 2022-06-28 | 联想(北京)有限公司 | Power supply method and electronic equipment |
| CN110401240A (en) * | 2019-06-28 | 2019-11-01 | 联想(北京)有限公司 | Method of supplying power to and electronic equipment |
| CN114995206A (en) * | 2021-03-01 | 2022-09-02 | 北京字节跳动网络技术有限公司 | Cloud measurement service control method and device, electronic equipment and computer readable medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102263423B (en) | 2013-10-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI498740B (en) | Usb charging system and method thereof | |
| US9887571B1 (en) | Combining power from an internal battery and an external power storage adapter | |
| US10381844B2 (en) | Sourcing power from a battery or AC-DC converter of a power storage adapter | |
| CN102263423B (en) | Universal serial bus charging system and charging method thereof | |
| US10620679B2 (en) | Prioritizing supplying electrical power by a power storage adapter to connected devices | |
| US10476288B2 (en) | Power storage adapter for peak shift operation with a portable information handling system | |
| JP5388484B2 (en) | Apparatus and method for detecting power supply | |
| JP6709004B2 (en) | Hub with combined power supply | |
| US10389154B2 (en) | Power storage adapter using a high efficiency charging method | |
| US10181731B1 (en) | Combining power from a battery and an AC-DC converter of a power storage adapter | |
| US7984318B2 (en) | Apparatus and method to support USB enumeration of a bus powered handheld device | |
| US10642333B2 (en) | Power storage adapter for efficient supply of power of multiple portable information handling systems | |
| EP2985856B1 (en) | Usb charging system with variable charging voltage, charger, and intelligent terminal | |
| CN100487686C (en) | General serial bus and equipment for implementing intercommunication | |
| US20180375358A1 (en) | High efficiency power storage adapter | |
| CN103080868B (en) | Charging port | |
| US20200287403A1 (en) | Method of controlling an output power of a charging device, a circuit, and a charging device | |
| KR102136068B1 (en) | Control method for usb interface and electronic device supporting the same | |
| EP3086433A1 (en) | Charging method, alternating current adaptor, charging management device and terminal | |
| CN208174340U (en) | The power supply circuit and electronic product of portable electronic product with OTG function | |
| US20180375361A1 (en) | Low standby power in a power storage adapter enabled by an associated battery | |
| US11513928B2 (en) | Power storage adapter with power cable validation | |
| WO2013152662A1 (en) | Power supply method for terminal device, and terminal device thereof | |
| TW201331744A (en) | USB hub for supplying power and method thereof | |
| CN107086631B (en) | Multi-channel current self-adaptive charging device with selectable priority |
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 |