A portable electronic device may operate on rechargeable batteries. The batteries of the device may be charged by attaching the device to an external power supply. The external power supply may be a direct current (DC) power source.
Some embodiments of the invention are described with respect to the following figures:
A portable electronic device can be a device with a rechargeable battery. For example a portable electronic device can be a cell phone, portable music player, a camera, or another device. A portable electronic device may include a data connection port that allows digital data to be transferred from or to the portable electronic device. The data connection port may also have terminals for receiving power through the data connection port. The power received from the data connection port may be used to charge the battery or power the portable device. The data connection port may be a universal serial bus (USB) port or another data connection port that supplies power to a connected portable electronic device when connected to the data connection port.
A battery, for example a lithium on or lithium polymer battery may charge at a different rate depending on the amount of current available to the battery charging circuit. Current is the flow of charge through the conductor. The charge is in the form of electrons that move through the conductor. The battery stores the electrons when it is charging and supplies the electrons to a load when the portable electronic device is operating. Increasing the current flow available to the battery can decrease the time that is used to charge a battery. For example if the current drawn to charge the battery is 1.5 amps then the battery may charge in less time than if the current drawn to charge the battery is 0.5 amps.
A Battery Charging Specification (BCS) for USB can define charging protocols. For example the Battery Charging Specification, Revision 1.1 from the USB implementers forum includes references to a dedicated charging port (DCP) and a charging downstream port (CDP). The DCP and CDP can allow a device to connect to a USB port and charge at a rate that is above the standard USB charging rate.
A Standard Downstream Port can be a downstream port on a computing system that expects a downstream device to draw less than 2.5 mA average when unconnected or suspended, up to 100 mA maximum when connected and not suspended, and up to 500 mA maximum if so configured and not suspended. A Standard Downstream Port pulls the data lines, for example the D+ and D− lines, to ground through a 15 kOhm resistor. A Standard Downstream port may have the ability to sense if a Portable Device is driving the D+ line and react in some way, such as wake the computing system.
A Charging Downstream Port is a downstream port on a device that is required to support the Charging Downstream Port features of the Battery Charging Specification. A Charging Downstream Port is capable of outputting a current of, for example 1.5 amps at any time.
According to the Battery Charging Specification, a Dedicated Charging Port is a downstream port on a device that outputs power through a USB connector, but is not capable of enumerating a downstream device. A Dedicated Charging Port is required to output at a minimum current, for example 1.5 amps. A Dedicated Charging Port is required to short the data lines, for example D+ line to the D− line.
The standards are not compatible with the power management states of a computer system. For example a protocol such as CDP requires the presence of a USB host and if a computer is in an off state, for example in the S5, off state, of the advanced configuration and power interface (ACPI) standard, there is not a USB host. If a portable device was connected to a computer with CDP but was in the off state the portable electronic device battery may not charge at the above standard rate as it would expect to be communicating with a USB host. The DCP protocol may connect two signal terminals together to indicate that the port is a DCP. If signal terminals are connected together data cannot be transmitted over the signal terminals and therefore data cannot be transferred between the computer and the portable electronic device.
In one embodiment a computing system can include a port to communicate data and to provide power to a portable device. A power source can provide a current to the portable device. A signal generator can provide a signal indicating the power state of the computing system. A controller can receive the signal and determine the type of charging port for the portable device based on the power state of the computing system.
With reference to the figures,
The port 125 can communicate data with and provide power to a portable device. The port 125 may be for example a USB port or another port that provides both communication and power to a portable device.
The power source can provide a current to the port 125 to supply to a portable device that is connected to the port 125. The power source may provide a constant current to the port or may provide different current levels. For example the power source may provide a constant 1.5 amps allowing a portable device to draw anything up to 1.5 amps and the power source can supply the current drawn by the portable device. The amount drawn by the portable device may be determined by the portable device after a handshake. In another example the power source may be off and not supply any current to the port or may have a reduced amount of current provided such as 0.5 amps.
The signal generator 110 may be part of a controller hub. A controller hub can be for example a computer system chipset which may include multiple input/output controllers for communication with memory, graphics processing, network communication or other input/output. The signal generator 110 can provide a signal indicating the power state of the computing system. The power state of the system may be for example S5, an off state, S3, a low power state, S0, an operational state according to ACPI.
The controller 105 can receive a signal from the signal generator 110 indicating the power state of the computing system 100 and determine the type of charging port for the portable device based on the power state of the computing system. In one embodiment if the power supply is in an off state as indicated by the signal communicated by the connection 115 then the type of charging port determined by the controller 105 may be a dedicated charging port (DCP). The dedicated charging port does not use a USB host and therefore the computer does not have to be an operational USB host and can allow a portable electronic device to draw more current from the port 125 than would be allowed if the type of port 125 was a standard USB port.
In one embodiment if the power supply is in an operational state indicated by the signal communicated by the connection 115 then the type of charging port may be a charging downstream port (CDP). The charging downstream port (CDP) requires a USB host and also allows data to be transferred by the port.
In one embodiment the power source 130 is capable of supplying an amount of current at least equal to the most that can be drawn by the portable device 240. For example the power source 130 may be able to supply 1.5 amps to the portable device 240 to charge the battery 245. In one embodiment it is the portable device 240 that determines how much current can be drawn from the port 125. To determine the amount of current the portable device 240 draws from the port 125 the device may perform a handshake. A handshake can be for example a signal from the controller that is received by the portable device. If the controller 105 provides a handshake that is completed with the portable device 240 the portable device 240 can draw an increased amount of current than if the handshake is not completed. In one embodiment the current supplied by the power source 130 increases if the controller 105 completes the handshake because the portable device 240 is drawing the additional power from the power source 130.
In a low power state the port 125 can be a dedicated charging port if a handshake is completed with the portable device 240. In one embodiment the portable device 240 may determine that the port 125 is a dedicated charging port signal lines of the port are shorted together if the port is a dedicated charging port.
A computing system that is in a low power state may receive a signal from the portable device 240 through the port that wakes the computing system 100 from a low power state. If the computing system is woken from the low power state the port 125 cannot be a dedicated charging port (DCP). A computing system 100 that is in an operation state after waking can have a port 125 that is a charging downstream port if a handshake is completed. A computer system 100 that is connected to a portable device 240 through a charging downstream port can communicate data with the portable device through the port 125 if the port 125 is a charging downstream port.
If the computing system is in an operational state as indicated by the signal generator 310 to the controller 305 then the controller 305 may designate the port 325 a charging down steam port. If the port is a charging downstream port the threshold controller 360 can be used to determine if the battery charge is below a threshold and disable the charging downstream port by indicating to the controller 305 not to provide the handshake to the port 325.
The peripheral controller hub 410 may connect to a computer readable medium 465. The computer readable medium may be a non-volatile memory or a volatile memory. For example the computer readable medium may be a hard drive or random access memory (RAM). The computer readable medium may include instructions that if executed by the processor cause the computing system 400 determine a power state of the computing system using the peripheral controller hub 410. The instructions can cause the system provide a port 425 that is a dedicated charging port if the computing system 400 is in a low power state and a charging downstream port if the computing system 400 is in an operational state.
The computing system 400 may include a battery 455. A threshold controller 460 may monitor the battery 455 and determine if the battery charge is below a threshold of battery capacity. The threshold controller 460 may control the output of the power source 430 or the controller 405.
A controller 560 may supply a third signal 585 to the charging port controller 505 received at input CTL3. The controller 560 may be for example a keyboard controller. The third signal 585 may be activated by the BIOS to indicate to the charging port controller 505 to enable supply of a dedicated charging port or a charging downstream port in a static mode based on the system power state. In a dynamic mode the third signal 585 may be de-asserted if the battery of the computing system is determined to be below a threshold. For example if the system is in an operational state the third signal 585 may be de-asserted if the battery charge is at a critical battery level such as 5 percent of battery capacity. Another example is if the system is in a low power state the third signal 585 is de-asserted if the battery is below a user defined threshold or below a critical threshold and can be re-asserted if the computing system is connected to an external source or the battery goes above the threshold.
The controller_PWR_ON signal 580 can be received by the power source 530. The power source 530 determines from the controller_PWR_ON signal 580 and the V5CP_EN signal 581 whether to output power at +V5CP at 582.
If the third signal 585 is logic 1, first signal 590 is logic 0 and second signal 595 is logic 0 the Charging Port mode is DCP and System in S5 with V5CP turned on by third signal 585. Charging Port is enabled and charging port controller 505 is in DCP mode. Third signal 585 can be de-asserted during this mode if running from Battery and Controller 560 determines battery is below user defined setting. Controller 560 may optionally de-assert third signal 585 if a critical battery situation is deemed necessary, which would terminate any BCS charge session in process and force the charging port OFF.
If the third signal 585 is logic 0, first signal 590 is logic 0 and second signal 595 is logic 1 the Charging Port mode is SDP and System in S3. Charging Port is enabled, but third signal 585 is indicating that Charging Mode is disabled. Third signal 585 may be asserted from this mode in the case where the computing system transitions from battery to AC.
If the third signal 585 is logic 1, first signal 590 is logic 0 and second signal 595 is logic 1 the Charging Port mode is DCP and the System in S3. Charging Port is enabled, and third signal 585 is indicating that Charging Mode is enabled. Third signal 585 can be de-asserted during this mode if running from Battery and Controller 560 determines battery is below user defined setting. Controller 560 may optionally de-assert third signal 585 if a critical battery situation is deemed necessary, which would terminate any BCS charge session in process and force the port into SDP mode.
If the third signal 585 is logic 0, first signal 590 is logic 1 and second signal 595 is logic 1 the Charging Port mode is SDP and the System in S0. The Controller 560 should set the state of third signal 585 according to user setting received. The third signal 585 never changes state in this case.
If the third signal 585 is logic 1, first signal 590 is logic 1 and second signal 595 is logic 1 the Charging Port mode is CDP and the System in S0. The Controller 560 should set the state of third signal 585 according to user setting received, but ignore user defined threshold (for S0 state). Controller 560 may optionally de-assert third signal 585 if a critical battery situation if deemed necessary, which would terminate any BCS charge session in process and force the port into SDP mode.
If it is determined that the power state of the computing system at 605 is in a low power state then the type of charging port is based on the low power state of the computing system at 610. A low power state may be an S3 sleep state or may be an S5 off state. The charging port mode may be the same in the sleep state and off state or may be different. For example the in the off state the charging port may be off or in DCP while in the sleep state the charging port may be in the SDP or the DCP mode. After the type of charging port is determined power can be supplied to the port for the computing system at 615 for charging a portable device.
The method may also include determining a battery threshold and changing the type of charging port or disabling the Dedicated Charging port and the Charging Downstream Port if it is determined that the battery charge is beyond a threshold. For example if the battery threshold capacity is set at 20 percent and the battery charge drops below 20 percent of the battery capacity the type of charging port may be changed. After the type of port is determined at 610 or 620 a handshake protocol is determined for indicating to the portable device the amount of power available.
The techniques described may be embodied in a computer-readable medium for configuring a computing system to execute the method. The computer readable media may include, for example and without limitation, any number of the following; magnetic storage media including disk and tape storage media; optical storage media such as compact disk media (e.g., CD-ROM, CD-R, etc.) and digital video disk storage media; holographic memory; nonvolatile memory storage media including semiconductor-based memory units such as FLASH memory, EEPROM, EPROM, ROM; ferromagnetic digital memories; volatile storage media including registers, buffers or caches, main memory, RAM, etc.; just to name a few. Other new and various types of computer-readable media may be used to store and/or transmit the software modules discussed herein. Computing systems may be found in many forms including but not limited to mainframes, minicomputers, servers, workstations, personal computers, notepads, personal digital assistants, various wireless devices and embedded systems, just to name a few.
In the foregoing description, numerous details are set forth to provide an understanding of the present invention. However, it will be understood by those skilled in the art that the present invention may be practiced without these details. While the invention has been disclosed with respect to a limited number of embodiments, those skilled in the art will appreciate numerous modifications and variations therefrom. It is intended that the appended claims cover such modifications and variations as fall within the true spirit and scope of the invention.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/US2010/047760 | 9/2/2010 | WO | 00 | 2/26/2013 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2012/030348 | 3/8/2012 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
6523122 | Moon | Feb 2003 | B1 |
6697953 | Collins | Feb 2004 | B1 |
7518343 | Veselic et al. | Apr 2009 | B2 |
7624202 | Monks et al. | Nov 2009 | B2 |
7675571 | Cheng et al. | Mar 2010 | B2 |
8386814 | Tom et al. | Feb 2013 | B2 |
8736227 | Chadbourne et al. | May 2014 | B2 |
20060085653 | Bollinger et al. | Apr 2006 | A1 |
20060095641 | Pandit et al. | May 2006 | A1 |
20070050297 | Xu et al. | Mar 2007 | A1 |
20080042616 | Monks et al. | Feb 2008 | A1 |
20090144575 | Tevanian, Jr. | Jun 2009 | A1 |
20100070659 | Ma et al. | Mar 2010 | A1 |
20100090644 | Nokkonen et al. | Apr 2010 | A1 |
20100219790 | Chadbourne et al. | Sep 2010 | A1 |
20110016334 | Tom et al. | Jan 2011 | A1 |
20110057604 | Capella | Mar 2011 | A1 |
20110266997 | Krancher et al. | Nov 2011 | A1 |
20120210146 | Lai et al. | Aug 2012 | A1 |
Number | Date | Country |
---|---|---|
101243374 | Aug 2008 | CN |
101573676 | Nov 2009 | CN |
1564104 | Jan 2015 | CN |
Entry |
---|
Lai et al.; “Battery Charging Specification”, USB Implemeters Forum, Inc., <URL:http://etools.info/project/documents/18001—19000/18509/batt—charging—1—1—final.pdf>, Apr. 15, 2009. |
International Searching Authority, International Search Report and Written Opinion, Appln No. PCT/US2010/047760, date of mailing May 13, 2011, pp. 9. |
Number | Date | Country | |
---|---|---|---|
20130154551 A1 | Jun 2013 | US |