`(12) Patent Application Publication (10) Pub. No.: US 2008/0272741 A1
`
` Kanamori (43) Pub. Date: NOV. 6, 2008
`
`
`US 20080272741A1
`
`(54) SYSTEMS AND METHODS FOR DETECTING
`POWER SOURCES
`Inventor:
`Takashi Kanamori, San Jose, CA
`(US)
`
`(75)
`
`Correspondence Address:
`Chad R, Walsh
`Fountainhead Law Group P.C.
`Ste. 509, 900 Lafayette St,
`Santa Clara, CA 95050 (US)
`
`(73) Assignee:
`
`Summit Microelectronics, inc.,
`Sunnyvale, CA (US)
`
`(21) Appl. No.:
`
`11/973,798
`
`(22)
`
`Filed:
`
`Oct. 9’ 2007
`
`Related US. Application Data
`
`(60) Provisional application No. 60/927,394, filed on May
`3, 2007.
`
`Publication Classification
`
`(51)
`
`Int. Cl.
`(200601)
`H03K 5/15
`(52) US. Cl. ........................................................ 320/137
`(57)
`ABSTRACT
`
`Embodiments of the present invention include techniques for
`detecting power sources. In one embodiment, the present
`invention includes a method of detecting a power source
`comprising coupling a power source to a portable electronic
`device, the power source comprising a first supply voltage
`and a second supply voltage, and at least a first data terminal
`and a second data terminal, coupling a resistor to the first data
`terminal a predetermined time period after the power source
`is coupled to the electronic device, detecting the voltage on
`the first data terminal and second data terminal, and generat-
`ing a first signal corresponding to a first power source if the
`first and second data terminals have the same voltage after
`said predetermined time period, and generating a second sig-
`nal corresponding to a second power source if the first and
`second data terminals have differential voltages after said
`predetermined time period.
`
`1 0
`
`101
`
`
`Electronic Device
`
`System Electronics
`
`In
`
`
`V+
`
`
`
`Regulator Out
`
` 1 3
`
`D+
`
`
`Power
`
`Source
`
`D-
`
`GND
`
`130
`
`131
`
`ZTE/SAMSU NG 1022-0001
`
`|PR2018—00274
`
`ZTE/SAMSUNG 1022-0001
`IPR2018-00274
`
`
`
`Patent Application Publication
`
`Nov. 6, 2008 Sheet 1 0f 8
`
`US 2008/0272741 A1
`
`10
`
`101
`
`
`Electronic Device
`
`
`
`
`System Electronics
`
`
`In
`Regulator Out
`
` V+
`
`D+
`
`1__3_
`FB
`Power
`D-
`Source
`
`GND I —E- Detection th
`
`
`
`
`l—
`
`
`
`130
`
`131
`
`FIG. 1
`
`ZTE/SAMSU NG 1022-0002
`
`|PR2018—00274
`
`ZTE/SAMSUNG 1022-0002
`IPR2018-00274
`
`
`
`Patent Application Publication
`
`Nov. 6, 2008 Sheet 2 0f 8
`
`US 2008/0272741 A1
`
`Full-speed or
`Low-speed USB
`Transceiver
`
`
`
`
`
`15k015% 15k0t5%
`
`
`
`FIG. 2A
`
`
`1.5k0t5%
`
`
`3.0-3.6V
`
`.__J—— Enable/Disable
`
`Full-speed USB
`
`Tranceiver
`
`
`
`Mobile Terminal
`
`
`
`FIG. 23
`
`3.0-3.6V
`
`1.5k015%
`
`Mobile Terminal
`
`. +4“ Enable/Disable
`
`Low-speed USB
`Tranceiver
`
`FIG. ZC
`
`ZTE/SAMSU NG 1022-0003
`
`|PR2018—00274
`
`ZTE/SAMSUNG 1022-0003
`IPR2018-00274
`
`
`
`Patent Application Publication
`
`V.0N
`
`026,
`
`h
`
`f03
`
`47n
`
`1
`
`mgw$920somExmtocm$32
`
`
`
`_m:_E._w._.250$—
`
`
`
`3...GE
`
`s_8\I0row
`
`Ml»+e_o
`
`
`
`00lell’.0
`
`AI19...GE
`
`25020~2.29QOn::5m__$39.?.25%cm
`m.8920W9588%m_REES.
`
`5285:»mm:
`
`i_+0
`2835429:I!-
`mBmmfiBsmcmL\W#395w>m.m-o.m\_/
`
`
`
`
`Egon
`
`850w
`
`ZTE/SAMSU NG 1022-0004
`
`|PR2018—00274
`
`ZTE/SAMSUNG 1022-0004
`IPR2018-00274
`
`
`
`
`
`Patent Application Publication
`
`0N
`
`00w
`
`h
`
`47272
`
`1
`
`gmflcxméVw
`
`#
`
`
`
`mm:88%;“:8=3“.
`
`.38cwfi
`
`
`
`88933
`
`62828»
`
`W2585355Llxw_W>3-on>
`$3.meF mm:
`+0.
`
`
`22.32502
`
`$3ch
`
`mm»GE
`
`2,ma::3B83:00+0m5.wt
`
`4IIII.Lama::3983:8-0
`s_
`IDLIIDe_+0
`
`8_,m_i_.o
`
`
`
`
`
` m.:8mm:onW258333m_REES0.522M»52$”.%=3U_#393§acgmcm_
`
`
`
`tommm:on
`
`ZTE/SAMSU NG 1022-0005
`
`|PR2018—00274
`
`ZTE/SAMSUNG 1022-0005
`IPR2018-00274
`
`
`
`
`
`
`Patent Application Publication
`
`Nov. 6, 2008 Sheet 5 0f 8
`
`US 2008/0272741 A1
`
`:8;
`
`:07:
`
`Emumm
`
`Now
`
`
`
`0_59ch203mm
`
`mmaco
`
`6:80
`
`
`
`Ema
`
`mmmLBm
`
`6:90
`
`62:00
`
`glm
`
`m.mt
`
`ZTE/SAMSU NG 1022-0006
`
`|PR2018—00274
`
`ZTE/SAMSUNG 1022-0006
`IPR2018-00274
`
`
`
`
`
`
`Patent Application Publication
`
`Nov. 6, 2008 Sheet 6 0f 8
`
`US 2008/0272741 A1
`
`
`
`>m.m-o.m
`
`25.82502
`
`
`
`850m9:920”Inm
`
`858mm:ongum
`
`.I
`
` _
`
`
`
`INOD$282393_mm:Bags5=3II.
`
`obmficxm.F
` LumomMgHn
`
`woo
` +0
`
`$30me
`
`$9”ch
`
`+388823;_
`
`-0“mm:ummaméfi
`
`Ezmowcmc.
`
`ton.mm:on
`
`
`
`
`
`o.mt
`
`ZTE/SAMSU NG 1022-0007
`
`|PR2018—00274
`
`ZTE/SAMSUNG 1022-0007
`IPR2018-00274
`
`
`
`
`
`
`
`
`Patent Application Publication
`
`Nov. 6, 2008 Sheet 7 0f 8
`
`US 2008/0272741 A1
`
`m:.mt
`
`.
`
`_
`
`.
`
`_
`
`:9;2m
`
`
`
`2583%m_REES.2522
`
`.39sz
`
`_______
`
`_
`
`D
`
`LE__._
`
`.
`
`$393.26.55cm
`
`5363.a:__=n_
`
`____
`
`_85
`
`"$90
`
`:2m_w
`
` !,
`
`
`
`2583%m_55:5...2522
`
`eon.mm:on
`
`
`
`
`
`reg
`
`36
`
`.3395he5%cm
`
`Swami91:5
`
`ZTE/SAMSU NG 1022-0008
`
`|PR2018—00274
`
`ZTE/SAMSUNG 1022-0008
`IPR2018-00274
`
`
`
`
`
`
`Patent Application Publication
`
`Nov. 6, 2008 Sheet 8 0f 8
`
`US 2008/0272741 A1
`
`Coupling a power source with an electronic device having a first data
`
`terminal and a second data terminal
`
`Coupling a resistor to the first data terminal for a predetermined time
`penod
`
`
`
`Detecting the voltage on the first data terminal and the second data
`terminal
`
`generating a first signal if the first and second data terminals have
`approximately the same voltages and a second signal if the first data
`terminal and the second data terminal have different voltages
`
`801
`
`802
`
`803
`
`804
`
`Fig. 8
`
`ZTE/SAMSU NG 1022-0009
`
`|PR2018—00274
`
`ZTE/SAMSUNG 1022-0009
`IPR2018-00274
`
`
`
`US 2008/0272741 A1
`
`Nov. 6, 2008
`
`SYSTEMS AND METHODS FOR DETECTING
`POWER SOURCES
`
`CROSS REFERENCE TO RELATED
`APPLICATIONS
`
`[0001] The present application claims priority to US. Pro-
`visional Application No. 60/927,394, titled “Systems and
`Methods for Detecting Power Sources”, filed May 3, 2007.
`
`BACKGROUND
`
`[0002] The present invention relates to providing power to
`electronic devices, and in particular, to systems and methods
`for detecting power sources.
`[0003] Electronic devices require power in the form ofvolt-
`ages and currents to operate. Different electronic systems
`may require a wide variety of power sources with different
`voltages and currents to operate. For example, some systems
`may operate of AC voltages and currents and others may
`require DC voltages and currents. For AC powered systems,
`the voltages and currents ofthe power source must be in some
`specified range (e.g., 110V AC or 220V AC). Similarly, DC
`powered systems may require that the DC voltage and DC
`currents supplied by the power source meet certain ratings
`(e.g., 5 volts and 500 mA). However, the ratings of different
`power sources from different manufacturers may vary widely.
`Thus,
`it is desirable to determine the characteristics of a
`power source so that the power source may be used to provide
`power with an electronic system.
`[0004] One area where power source detection is useful is
`in battery charging. Batteries have long been used as a source
`of power for mobile electronic devices. Batteries provide
`energy in the form of electric currents and voltages that allow
`circuits to operate. However, the amount of energy stored in a
`battery is limited, and batteries lose power when the elec-
`tronic devices are in use. When a battery’s energy supply
`becomes depleted, the battery’s voltage will start to fall from
`its rated voltage, and the electronic device relying on the
`battery for power will no longer operate properly. Such
`thresholds will be different for different types of electronic
`devices.
`
`[0005] Many types of batteries are designed for a single
`use. Such batteries are discarded after the charge is depleted.
`However, some batteries are designed to be rechargeable.
`Rechargeable batteries typically require some form ofbattery
`charging system. Typical battery charging systems transfer
`power from a power source, such as an AC wall plug, into the
`battery. The recharging process typically includes processing
`and conditioning voltages and currents from the power source
`so that the voltages and currents supplied to the battery meet
`the particular battery’s charging specifications. For example,
`if the voltages or currents supplied to the battery from the
`power source are too large, the battery can be damaged or
`even explode. On the other hand, if the voltages or currents
`supplied to the battery from the power source are too small,
`the charging process can be very inefficient or altogether
`ineffective. Inefiicient use of the battery’s charging specifi-
`cation can lead to very long charging times, for example.
`Additionally, if the charging process is not carried out effi-
`ciently, the battery’s cell capacity (i.e., the amount of energy
`the battery can hold) may not be optimized.
`[0006] Accordingly, the type of power source is an impor-
`tant aspect of battery charging. One problem associated with
`charging a battery pertains to detecting the type of power
`
`source so the system can process the voltages and currents
`available at the power source into voltages and currents that
`may be used to charge a battery.
`[0007] Thus, there is a need for improved systems and
`methods for detecting power sources.
`
`SUMMARY
`
`[0008] Embodiments of the present invention improve sys-
`tems and methods for detecting power sources. In one
`embodiment, the present invention includes electronic circuit
`comprising an interface controller having a power supply
`terminal, a ground terminal, first and second data terminals,
`and an output terminal coupled to a regulator, and a detection
`circuit coupled to at least one data terminal, wherein the first
`data terminal and the second data terminal are coupled to an
`external power source and the detection circuit senses the
`voltages on the first and second data terminals to determine
`the type of external power source.
`[0009]
`In one embodiment, the external power source is an
`AC adapter and wherein the first and second data terminals
`are coupled together.
`[0010]
`In one embodiment, the first and second data termi-
`nals are coupled together through a short circuit.
`[0011]
`In one embodiment, the first and second data termi-
`nals are coupled together through a resistor.
`[0012]
`In one embodiment, interface controller receives a
`power supply voltage, and in accordance therewith, generates
`an enable signal, wherein the enable signal selectively
`couples a voltage to one of said first and second data termi-
`nals.
`
`In one embodiment, the interface controller outputs
`[0013]
`data on the output terminal to configure the regulator to
`charge a battery according to the power source type.
`[0014]
`In one embodiment, the detection circuit comprises
`a switch coupled to the at least one data terminal, a resistor
`coupled between the switch and a reference voltage, and an
`enable terminal coupled to close the switch, wherein the
`enable terminal closes the switch a predeterrnine time period
`after the external power source is coupled to the interface
`controller, and wherein the detector circuit configures a
`switching regulator to charge a battery with a first current
`limit if the detector circuit senses that the first and second
`
`terminals are at approximately the same voltage, and the
`detector circuit configures a switching regulator to charge a
`battery with a second current limit if the detector circuit
`senses that the first and second terminals are at different
`
`voltages.
`In one embodiment, the interface controller is a
`[0015]
`universal serial bus controller.
`
`invention
`the present
`In another embodiment,
`[0016]
`includes a method of detecting a power source comprising
`coupling a power source with an electronic device, the power
`source comprising a first supply voltage terminal, a second
`supply voltage terminal less than the first supply voltage
`terminal, a first data terminal, and a second data terminal,
`coupling a resistor to the first data terminal a predetermined
`time period after the power source is coupled to the electronic
`device, detecting the voltage on the first data terminal, and
`generating a first signal corresponding to a first power source
`if the first and second data terminals have the same voltage
`after said predetermined time period, and generating a second
`signal corresponding to a second power source ifthe first and
`second data terminals have differential voltages after said
`predetermined time period.
`
`ZTE/SAMSUNG 1022-0010
`
`|PR2018—00274
`
`ZTE/SAMSUNG 1022-0010
`IPR2018-00274
`
`
`
`US 2008/0272741 A1
`
`Nov. 6, 2008
`
`In one embodiment, the resistor is coupled to a D+
`[0017]
`data terminal, and wherein electronic device comprises a full
`speed USB transceiver.
`[0018]
`In one embodiment, the resistor is coupled to a D—
`data terminal, and wherein electronic device comprises a low
`speed USB transceiver.
`[0019]
`In one embodiment, the method further comprising
`configuring a switching regulator to supply a first current if
`the first and second data terminals have the same voltage after
`said predetermined time period, and configuring a switching
`regulator to supply a second USB current if the first and
`second data terminals have differential voltages after said
`predetermined time period.
`invention
`the present
`[0020]
`In another embodiment,
`includes a method of detecting a power source comprising
`coupling a power source with a electronic device, the power
`source comprising a first supply voltage terminal, a ground
`terminal, a D+ data terminal, and a D— data terminal, detect-
`ing that the power source is coupled to the electronic device,
`closing a switch a predetermined time period after detecting
`the power source, and in accordance therewith, coupling the
`first supply voltage to one of said data terminals, sensing the
`voltage on the data terminals, determining the type of the
`power source based on the sensed voltage, and configuring a
`battery charger in the electronic device to charge the battery
`according to the type of the power source.
`[0021]
`In another embodiment, the configuring a battery
`charger comprises configuring a switching regulator.
`[0022]
`In another embodiment, the power source is an AC
`adapter having D+ and D— terminals short circuited together,
`and wherein the voltage on the data terminals is approxi-
`mately the same.
`[0023]
`In another embodiment, the power source is a USB
`power source having a first resistor coupled between the D+
`data terminal and ground and a second resistor coupled
`between the D— data terminal and ground, and wherein the
`voltages on the D+ data terminal and D— data terminal are
`different.
`
`In another embodiment, the at least one data termi-
`[0024]
`nal is the D+ terminal indicating that the electronic device
`comprises a full speed USB transceiver.
`[0025]
`In another embodiment, the at least one data termi-
`nal is the D— terminal indicating that the electronic device
`comprises a low speed USB transceiver.
`[0026] The following detailed description and accompany-
`ing drawings provide a better understanding ofthe nature and
`advantages of the present invention.
`
`BRIEF DESCRIPTION OF THE DRAWINGS
`
`FIG. 1 illustrates an electronic device including
`[0027]
`power source detection according to one embodiment of the
`present invention.
`[0028]
`FIG. 2A-C illustrates examples of power source
`detection according to another embodiment of the present
`invention.
`
`FIG. 3A-B illustrates an example of power source
`[0029]
`detection according to another embodiment of the present
`invention.
`
`FIG. 4A-B illustrates an example of power source
`[0030]
`detection according to another embodiment of the present
`invention.
`
`FIG. 5 illustrates a battery charging system accord-
`[0031]
`ing to one embodiment of the present invention.
`
`FIG. 6 illustrates an example ofpower source detec-
`[0032]
`tion according to another embodiment of the present inven-
`tion.
`
`FIGS. 7A-7B illustrates the timing diagrams for the
`[0033]
`circuit of FIG. 6.
`
`FIG. 8 illustrates a method of charging a battery
`[0034]
`according to another embodiment of the present invention.
`
`DISCLOSURE
`
`[0035] Described herein are techniques for battery charg-
`ing systems and methods. In the following description, for
`purposes of explanation, numerous examples and specific
`details are set forth in order to provide a thorough understand-
`ing ofthe present invention. It will be evident, however, to one
`skilled in the art that the present invention as defined by the
`claims may include some or all of the features in these
`examples alone or
`in combination with other
`features
`described below, and may further include obvious modifica-
`tions and equivalents of the features and concepts described
`herein.
`
`FIG. 1 illustrates an electronic device including a
`[0036]
`battery charger according to one embodiment of the present
`invention. Electronic device 101 includes system electronics
`102, a battery 150, a regulator 103 including circuitry for
`charging the battery, and a controller 130 including a power
`source detection circuit 131. System electronics may include
`microprocessors, microcontrollers, wireless electronics, net-
`work electronics, or a variety of other analog or digital elec-
`trical circuits that may be powered by battery 150. The elec-
`tronic device may be a mobile system, portable phone (e. g., a
`cellular phone), a personal digital assistant (“PDA”), a por-
`table music or video player, or a variety of other mobile
`devices that may be powered by a battery. Regulator 103 may
`include an input terminal 121 coupled to a power source 110
`and an output terminal 122 coupled to a battery 150 for
`charging the battery. Regulator 103 may include a feedback
`terminal 123 for regulating voltage or current. Example regu-
`lators are linear regulators or switching regulators,
`for
`example. Switching regulators may further include filters
`coupled between the regulator output and the battery, for
`example.
`[0037] Embodiments of the present invention include a
`controller 130 including a power source detection circuit 131.
`In this example, power source 110 includes a power supply
`voltage terminal V+, which may provide voltage and current,
`a second power supply voltage terminal
`(here, ground-
`“GND”), and two data terminals (“D+” and “D—”). Controller
`130 includes inputs coupled to the V+, GND, D+, and D—
`terrninals of the power source 110. An example controller
`may be included in electronic device 101 as a separate inte-
`grated circuit, for example. As described in more detail below,
`a detection circuit 131 for detecting the power source may be
`included on the controller 130. Detection circuit may couple
`a passive network (e.g., one or more resistors) to at least one
`data terminal a predetermined time period after the power
`source is coupled to the electronic device, and detect or sense
`the voltages ofthe data terminals a predetermined time period
`after the power source is coupled to the electronic device to
`determine the type of power source. In this example, the
`voltages would be considered an attribute ofthe power source
`and the type of power source would be a characteristic of the
`power source. In one embodiment, the controller 130 gener-
`ates a first signal corresponding to a first power source (e. g.,
`an AC adapter) if the first and second data terminals have the
`
`ZTE/SAMSUNG 1022-0011
`
`|PR2018—00274
`
`ZTE/SAMSUNG 1022-0011
`IPR2018-00274
`
`
`
`US 2008/0272741 A1
`
`Nov. 6, 2008
`
`same voltage after said predetermined time period, and the
`controller 130 generates a second signal corresponding to a
`second power source (e. g., a USB port power sourceihost or
`hub) if the first and second data terminals have differential
`voltages after said predetermined time period
`[0038]
`For example, a Universal Serial Bus (“USB”) is an
`example of a DC power source that may be used to charge a
`battery. USB typically includes a power supply voltage, V+,
`which may be coupled to electronic device 101, for example.
`The voltage and current from the USB power source may be
`coupled through regulator 103 to power the system electron-
`ics 102, or charge the battery 150, or both. However, different
`power sources, such as USB, may have different power rat-
`ings. For example, some USB power sources are designed to
`provide 5 volts and a maximum of 500 mA. Other USB power
`sources are designed to provide 5 volts and a maximum of 100
`MA. More generally, a power source capable ofplugging into
`a wall power supply may transform the AC voltage and cur-
`rent into DC voltage and current and provide a variety of
`different DC voltages and currents that may be used to power
`device 101 or charge battery 150. One example unit is aAC to
`DC converter that receives AC voltages and currents and
`outputs a USB voltage, such as 5 volts, and a certain maxi-
`mum current. The maximum current may be an attribute of
`the power source in this example. One particular problem
`with these power sources is that the current available may be
`different depending on the manufacturer, and if regulator 103
`draws more current than the power source can supply, then the
`voltage of the power source will start to drop (i.e., the power
`source will collapse). For example, wall adapters providing a
`USB compatible output may provide 300 mA, while other
`USB compatible wall adapters may provide 1500 mA or
`more. It is to be understood that the AD to DC power source
`could be a USB compatible or another AC to DC power
`source. Embodiments of the present invention may be used to
`detect whether a power source is anAC power source or a DC
`power source, for example. In this example, the characteristic
`“AC” or “DC” corresponds to the type of power conversion
`employed by the power source.
`[0039]
`In some embodiments, some power sources and
`interfaces for mobile terminal equipment may benefit from
`detecting a power source by reading the impedance between
`D+ and D—. In some power sources, D+ and D— may be
`shorted inside the power source, and the shorted node may be
`floating. This means that D+ and D— are shorted together or
`coupled together through a small impedance (e.g., sufli-
`ciently smaller than 1.5 kohm or 1.5 kohm).
`[0040]
`In USB systems, D+ and D— are the signal lines used
`to implement the USB protocol. D+ and D— form a differen-
`tial pair. D+ and D— lines carry binary data from an upstream
`port (e. g., a USB host or hub port) to downstream devices, or
`from downstream devices to the upstream port. If D+ and D—
`is a differential pair, the voltage level on one is typically
`greater than the other. An exception to this may be particular
`states that occur outside a predetermined time interval after
`the power source is coupled to the electronic device. For
`example, in a USB system, the voltages on D+ and D— are
`different except in an SEO state, an SE1 state, or when a
`downstream device is not connected. The SEO is a state where
`
`both D+ and D— are low, and frequently asserted to signal an
`end of packet, and to signal a reset. Accordingly, SEO state
`does not occur near the time a USB power source is connected
`to the electronic device. The SE1 is a state where both D+ and
`
`D— are high. SE1 is not an intended state in USB.
`
`[0041] The expected difference between the voltages on D+
`and D— may be used to detect the power source. In the USB
`example, l5k§2=5% resistors connected to ground are typi-
`cally used to terminate both D+ and D— lines at host or hub
`ports. This is illustrated in FIG. 2A. At the mobile device
`terminals, a l.5k§2=5% resistor connected to a voltage source
`between 3.0V and 3.6V may be used to pull up either D+ or
`D— as illustrated in FIGS. 2B and 2C. A pull up resistor
`coupled to the D+ line may be used to indicate a full speed
`USB controller device, and a pull up resistor coupled to the
`D— line may be used to indicate a low speed USB device, for
`example. This pull up resistor may reside inside the USB
`controller, and may be connected or disconnected by a switch
`activated by a specific enable signal in the controller, for
`example.
`FIGS. 3A-B illustrate an example technique to
`[0042]
`detect the upstream power source. If the upstream port is an
`AC charger power source (e.g., an AC adapter with a DC
`output), D+ and D— may be shorted together, and the shorted
`node may be floating as in FIG. 3A. The mobile terminal may
`assert a specific enabling signal for the l.5k§2=5% pull up
`resistor inside the device. For example, a controller may
`assert a signal to couple the pull up resistor to the D+ or D—
`terminal after the power source is coupled to the device. Ifthe
`power source has D+ and D— shorted together and floating,
`D+ and D— will go high when the pull up resistor is enabled a
`time period after the power source is coupled to the electronic
`device. FIG. 3B illustrates the voltages on the D+, D—, and
`enable lines. At time 301 the mobile device (e.g., a mobile
`telecommunications terminal such as a cell phone) is coupled
`to the power source. For example, a cable may be plugged into
`the power source on one side and mobile device on the other.
`After a time period, which may be predetermined according
`to an internal clock, circuit delays, or other detector settings,
`the enable signal may couple the pull up resistor to the D+ or
`D— lines. The pull up resistor will cause both D+ and D—
`terminals to increase in voltage. Since D+ and D— are shorted,
`it does not matter ifthe l.5k§2=5% is located on D+ side or on
`
`D— side. Both D+ and D— will get pulled up simultaneously.
`[0043] Alternatively, the upstream port may not be a power
`source with D+ and D7 are shorted. If the connector for the
`
`upstream port is a USB connector, the upstream port is most
`likely to be a PC USB port. A PC USB port operates under
`USB protocol specified by Universal Serial Bus Specification
`Revision 2.0. Accordingly, the 15kQ=5% pull down resistors
`are required on D+ and D— at the upstream port as in FIG. 4A.
`Upon connection of the cable, the mobile device asserts a
`specific enabling signal for the l.5k§2=5% pull up resistor.
`This may be implemented in the USB controller (sometimes
`referred to as the USB PHY), for example. The l.5k§2=5%
`pull up resistor is a much stronger pull up than l5k§2=5% pull
`down resistor. Accordingly, with a USB port power source,
`only one of the two signal lines, D+or D7, will be pulled up
`high, while the other is pulled down by the 15kQ=5% pull
`down resistor. Hence, only D+ should be pulled high for full
`speed device, and only D— should be pulled up high for low
`speed device. The dashed line in FIG. 4A between D+ and D—
`illustrates that the pull up resistor may be coupled to either the
`D+ or D— line. The dashed line is the case where the pull up
`resistor is coupled to D— and not D+. This non-correspon-
`dence between the first voltage, on the first data terminal, D+,
`and the second voltage on the second data terminal, D—, is an
`attribute of the power source, in this example. This is illus-
`trated in FIG. 4B, where the dashed vertical line indicates the
`
`ZTE/SAMSUNG 1022-0012
`
`|PR2018—00274
`
`ZTE/SAMSUNG 1022-0012
`IPR2018-00274
`
`
`
`US 2008/0272741 A1
`
`Nov. 6, 2008
`
`time where the cable is connected between the power source
`and mobile device, and the dashed lines on the D+ and D—
`terminals indicate the signal transitions if the D— cable is
`connected to the pull up resistor. Table 1 illustrates a truth
`table
`
`TABLE 1
`
`Truth Tablez Signals vs. Upstream Power Source
`
`Signals
`ENforthe1.5k£2=5%
`pull up resistor
`D+
`D—
`
`Upstream Power Source
`
`AC Adapter
`1
`
`PC USB Port
`I
`
`1
`1
`
`1/0
`0/1
`
`FIG. 5 illustrates a battery charging system accord-
`[0044]
`ing to one embodiment ofthe present invention. This example
`illustrates an integrated circuit that may be included on an
`electronic device and used to charge a battery using the tech-
`niques described above. An electronic device 500 may
`include a USB socket 509 for receiving a USB cable. The
`USB cable may include a ground connection (GND), a DC
`voltage (VBUS), and two data lines (D+ and D—). Socket 509,
`therefore, includes a ground connection, input voltage con-
`nection, and two data connections. In some applications, an
`AC to DC wall adapter may provide a USB compatible output
`including the four above mentioned outputs. Since a wall
`adapter may not provide data outputs, the D+ and D— termi-
`nals may be connected together (i.e., short circuited) as illus-
`trated by 590. In other applications, a USB port power source
`(e.g., a USB host or hub) may provide a USB compatible
`output including the four above mentioned outputs. Embodi-
`ments of the invention detect the type of power source and
`may be used to configure a battery charger, for example.
`[0045]
`In this example, the electronic device may include a
`USB controller 501 coupled to the USB socket for receiving
`VBUS, GND, D+, and D—. USB controller may couple data
`between integrated circuit 502 to a USB host or hub control-
`ler, for example. In this example, the USB controller acts as an
`interface circuit. The USB controller 501 may include a
`power source detection circuit 561 as describe above. In one
`embodiment the controller 501 may include an internal pull
`up resistor. The pull up resistor may be selectively coupled to
`the D+ input terminal of the controller or the D— input termi-
`nal of the controller. If a USB power source is provided to
`socket 509, controller 501 may detect the power and/or
`ground lines and generate an enable signal after a time period.
`The enable signal may couple an internal resistor in the con-
`troller to the D+ or D— lines as described above. If the socket
`
`509 is coupled to an AC adapter with D+ and D— shorted
`together, then the voltage on both the D+ and D— terminals
`will increase. This state may be sensed and used to indicate
`that the power source is a dedicated charging power source
`such as an AC adapter (e. g., a USB adapter). A characteristic
`of the power source may correspond to a type of power
`conversion employed by the power source. Alternatively, if
`the socket 509 is coupled to an USB port with D+ and D—
`coupled to ground through separate pull down resistors, then
`the voltage on the D+ and D— terminals will be different. One
`of the terminals will be pulled to ground through the pull
`down resistor, and the other terminal will be pulled up
`
`through the pull up resistor. This state may be sensed and used
`to indicate that the power source is a USB port.
`[0046]
`In this example, integrated circuit 502 includes an
`input terminal (e.g., a package pin DCIN) for receiving the
`power source voltage VBUS, with a DC capacitor 510
`coupled between DCIN and ground. Integrated circuit 502
`includes a charge controller 503 for implementing switching
`regulation and battery charging algorithms. Controller 503
`may include data storage 550 (e.g., volatile or nonvolatile
`memory) for storing one or more values used to configure the
`charger, for example. Integrated circuit 502 further includes
`digital pins SDA and SCL for communicating information
`with USB controller 501 for programming and configuring
`the integrated circuit. For example, the USB controller may
`generate one or more signals that are received by charger 502
`that correspond to the power source. The USB controller may
`signal the charger that the power source is anAC adapter, and
`may configure the charger to produce a first current or current
`sequence. Alternatively, the USB controller may signal the
`charger that the power source is a USB port power source, and
`may configure the charger to produce a second current or
`current sequence that uses less current than the first current or
`current sequence. The digital controller 504 may receive
`information from USB controller 501 and configure registers
`or other data storage elements in the integrated circuit to
`program the circuit to perform the desired functions, includ-
`ing programming charge current levels, current limits, thresh-
`old voltages, or expected power source input voltages, for
`example. In this example, controller 501 includes a power
`source detection circuit 561. Power source detection circuit
`
`561 may detect a short circuit between the D+ and D— USB
`lines as illustrated by 590, which may be used in wall adapters
`where no data is transmitted, as described above. If a short
`circuit is detected, integrated circuit 502 may operate in a first
`charging mode by programming a plurality of registers with
`charging parameters corresponding to a wall adapter power
`source. If a short circuit is not detected (i.e., if an open circuit
`is detected), integrated circuit 502 may operate in a second
`charging mode by programming a plurality of registers with
`charging parameters corresponding to a USB power source.
`For example, in a USB power source mode, the system may
`be configured with charge parameters based on information
`communicated between a USB host or hub controller and the
`
`integrated circuit controller 504 through USB controller 501,
`for example.
`[0047]
`In this example, the regulator is a switching regula-
`tor. Accordingly, integrated circuit 502 includes a first switch-
`ing transistor 506 coupled between the DCIN pin and a
`switching output pin SW. A second switching transistor 507
`may be coupled between the SW pin and a ground pin GND
`for establishing a ground connection. The gates of switching
`transistors 506 and 507 are coupled to the controller 503 for
`receiving switching signals, such as pulse width mod