This disclosure is related to providing power to devices over a standard data bus. Specifically, it is related to data communication between a charging device, including a power supply, and a powered device over a cable that provides power to the powered device.
Standards have been adopted to provide power to a mobile powered device (PD) through a Universal Serial Bus (USB) cable. The PD typically includes a rechargeable battery, and the power supply typically charges the battery in addition to providing power to operate the device. The power supply is often known as a charging device. A standard for providing power to a PD is the USB Battery Charging Specification 1.2 that defines signals and protocols that allow the charging device and the PD to communicate for the purpose of differentiating between a Standard Downstream Port (SDP), a Charging Downstream Port (CDP) or a Dedicated Charging Port (DCP). In some applications it may be desirable for the PD to obtain additional information from the charging device that may not be addressed in the charging specification, while maintaining compliance with the specification.
Non-limiting and non-exhaustive embodiments of the present invention are provided in the following figures, wherein like reference numerals refer to like parts throughout the various views unless otherwise specified.
Corresponding reference characters indicate corresponding components throughout the several views of the drawings. Skilled artisans will appreciate that elements in the figures are illustrated for simplicity and clarity and have not necessarily been drawn to scale. For example, the dimensions of some of the elements in the figures may be exaggerated relative to other elements to help to improve understanding of various embodiments of the present invention. Also, common but well-understood elements that are useful or necessary in a commercially feasible embodiment are often not depicted in order to facilitate a less obstructed view of these various embodiments of the present invention.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one having ordinary skill in the art that the specific detail need not be employed to practice the present invention. In other instances, well-known materials or methods have not been described in detail in order to avoid obscuring the present invention.
Reference throughout this specification to “one embodiment”, “an embodiment”, “one example” or “an example” means that a particular feature, structure or characteristic described in connection with the embodiment or example is included in at least one embodiment of the present invention. Thus, appearances of the phrases “in one embodiment”, “in an embodiment”, “one example” or “an example” in various places throughout this specification are not necessarily all referring to the same embodiment or example. Furthermore, the particular features, structures or characteristics may be combined in any suitable combinations and/or subcombinations in one or more embodiments or examples. Particular features, structures or characteristics may be included in an integrated circuit, an electronic circuit, a combinational logic circuit, or other suitable components that provide the described functionality. In addition, it is appreciated that the figures provided herewith are for explanation purposes to persons ordinarily skilled in the art and that the drawings are not necessarily drawn to scale.
The example timing diagram 300 of
After initial contact at t=0 between the USB socket (typically USB Type A in the charger) and a USB cable the charging device closes a switch between D+/D− 308 (short circuit) for 1000 milliseconds. This provides full backwards compatibility to the existing USB Battery Charging specification 1.2. During this initial handshaking period, the USB BC 1.2 handshake (Data Contact Detect, 1st and 2nd Detection) takes place. The handshaking period includes determining if the attached charging device is a standard downstream port (SDP), Charging Downstream Port (CDP), or a dedicated charging port (DCP). No digital communication occurs with a DCP.
After the end 311 of the handshaking period, the switch between D+/D− 308 is opened and the charging device starts (or continues) monitoring both data lines. In the illustrated example, the beginning 313 of the normal mode of operation does not commence until an enable signal has been detected by the charging device.
In the example of
In the example of
Once the charging device has detected the IDENT request signal it will start sending predefined data using predefined timing(s) such as the examples of t1312, t2314, t3316, t4318. As mentioned above, the charging device may determine that the powered device is capable of communicating digital data prior to the start of normal operation in response to the IDENT request. Thus, if no IDENT request is received, or if an IDENT request is received, but the powered device is not an approved device, then the charging device may refrain from sending the digital data. Even still, in another example, the charging device may refrain from providing power to the powered device if the powered device is not an approved device. In yet another example, the content of the digital data communicated by the charging device may be dependent what type of powered device is identified.
The predefined timing of t1312 may command the charging device to send digital data in a time interval of t3316. The predefined timing of t2314 may vary from a first voltage toggle to the next voltage toggle. These predefined digital data may be proprietary digital data established between a manufacturer of the PD and the manufacturer of the charger. In the example of
Once the predefined data have been received by the PD 102, the PD 102 may commence with default operation by providing an enable signal to the charging device 104. In the example of
In other words, it is not necessary for the PD 102 to provide an enable signal to the charger for the PD 102 to receive power from the charging device 104. The charging device 104 continues to provide 5 V to the PD in the absence of an enable signal unless the PD 102 commands the charger to change the output voltage. As an alternative to an enable signal that marks the start of normal operation, the PD 102 may command the charging device 104 to change the output voltage, current, or power after the PD 102 receives digital data from the charging device that communicates the capabilities of the charger to the PD 102.
Charging device 400 may be capable of bidirectional communication of USB signals D− 406 and D+ 404 to the PD through the USB socket 408. Control unit 420 processes the request from the PD. Control unit 420 may respond with the requested digital data for the PD. Control unit 420 may also control power converter 407. Power converter 407 receives power from an input power connector 411. Power converter 407 supplies power to the PD through VBUS 405 and ground 401 terminals. The voltage VO 424 and current IO 422 on VBUS 405 may vary depending on the voltage control signal UVC 409.
Control unit 420 includes a USB communication module 414 for performing the digital communication processes (e.g., process 500) described herein. USB communication module 414 is illustrated separately and separate from state machine 410 for clarity, but may be a single unit and/or implemented in the state machine 410. State machine 410, as well as USB communication module 414 can, but need not necessarily include, one or more microprocessors, embedded processors, controllers, application specific integrated circuits (ASICs), advanced digital signal processors (ADSPs), and the like. The term state machine describes the functions implemented by the system rather than specific hardware. Moreover, as used herein the term “memory” refers to any type of computer storage medium, including long term, short term, or other memory associated with charging device 400, and is not to be limited to any particular type of memory or number of memories, or type of media upon which memory is stored. In one embodiment, state machine 410 includes a processor that executes instructions included in the software stored in memory 418 and/or firmware 416.
The processes described herein may be implemented by various means depending upon the application. For example, these processes may be implemented in hardware 412, firmware 416, software stored in memory 418, or any combination thereof. For a hardware implementation, the state machine 410 may be implemented within one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, micro-controllers, microprocessors, electronic devices, other electronic units designed to perform the functions described herein, or a combination thereof.
For a firmware and/or software implementation, the processes may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. Any computer-readable medium tangibly embodying instructions may be used in implementing the processes described herein. For example, program code may be stored in memory 418 and executed by a processor. Memory 418 may be implemented within or external to the processor. In one embodiment, memory 418 may also be used for one time programming (OTP). Thus, memory 418 may be programmed by, for example, a manufacturer to store adapter specific information such as authentication information, power levels, etc. during production line testing.
If implemented in firmware and/or software, the functions may be stored as one or more instructions or code on a computer-readable medium. Examples include non-transitory computer-readable media encoded with a data structure and computer-readable media encoded with a computer program. Computer-readable media includes physical computer storage media. A storage medium may be any available medium that can be accessed by a computer.
Descriptions of state machine 410, hardware 412, and/or USB communication module 414 may be generated and compiled for incorporation into other integrated circuits. For example, behavioral level code describing USB communication module 414, or portions thereof, may be generated using a hardware descriptive language, such as VHDL or Verilog, and stored to a machine-readable storage medium. Furthermore, the behavioral level code can be compiled into register transfer level (“RTL”) code, a netlist, or even a circuit layout and stored to a machine-readable storage medium. The behavioral level code, the RTL code, the netlist, and the circuit layout all represent various levels of abstraction to describe USB communication module 414. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, Flash Memory, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium. Combinations of the above should also be included within the scope of computer-readable media.
This application claims the benefit of U.S. Provisional Application No. 61/817,094, filed Apr. 29, 2013.
Number | Name | Date | Kind |
---|---|---|---|
7378817 | Calhoon | May 2008 | B2 |
20110016341 | Tom | Jan 2011 | A1 |
20120166173 | Fischbach | Jun 2012 | A1 |
20130238819 | Oljaca | Sep 2013 | A1 |
Number | Date | Country |
---|---|---|
2387125 | Nov 2011 | EP |
2584471 | Apr 2013 | EP |
Entry |
---|
“Battery Charging Specification”, version 1.2, USB Implementers Forum, Inc., Dec. 7, 2010. (http://www.usb.org/developers/devclass.sub.--docs/BCv1.2.sub.--011- 912.zip). |
PCT/US2014/035728—PCT International Search Report and Written Opinion, mailed Jul. 8, 2014 (10 pages). |
“Universal Serial Bus Specification Revision 2.0”, Universal Serial Bus Specification, No. Rev. 2.0, Apr. 27, 2000, XP001544046, paragraph [9.1.2]; figures 9-1 (Part 1: pp. i-xxviii and 1-297). |
“Universal Serial Bus Specification Revision 2.0”, Universal Serial Bus Specification, No. Rev. 2.0, Apr. 27, 2000, XP001544046, paragraph [9.1.2]; figures 9-1 (Part 2: pp. 298-622). |
Remple Terry: “Battery charging specification”, Apr. 15, 2009, No. Revision 1.1, Apr. 15, 2009, pp. I-VI, 1, XP002676116, Retrieved from the Internet: URL: http://www.usb.org/developers (pp. i-vi and 1-38). |
Len Sherman: “The Basics of USB Battery Charging: a Survival Guide”, Dec. 9, 2010, XP055047785, Retrieved from the Internet: URL: http://www.maximintegrated.com/app-notes/index.mvp/id/4803 [retrieved on Dec. 13, 2012] (14 pages). |
“CHY100 ChiPhy™ Family, Charger Interface Physical Layer IC,” Power Integrations, Inc., Mar. 2014, pp. 1-6. |
Number | Date | Country | |
---|---|---|---|
20140320075 A1 | Oct 2014 | US |
Number | Date | Country | |
---|---|---|---|
61817094 | Apr 2013 | US |