Global Sources
EE Times-Asia
Stay in touch with EE Times Asia
?
EE Times-Asia > Amplifiers/Converters
?
?
Amplifiers/Converters??

USB OTG presents benefits, challenges to power designers

Posted: 16 Oct 2003 ?? ?Print Version ?Bookmark and Share

Keywords:usb? usb on-the-go? usb otg? vbus? computer peripherals?

The USB standard defines a host/peripheral relationship: the PC is the host, and devices that plug into it are always peripherals. In recent years, however, technology users began to rely on mobile, battery-operated devices such as PDAs, cellphones and digital cameras, frequently leaving the PC out of the picture.

Users need to connect these devices directly to each other, a use not supported by USB. In response to this limitation, a supplement to the USB 2.0 specification called USB On-The-Go (OTG) addresses mobile interconnectivity by defining how two devices connect without the need for a computer host. The USB OTG specification has backing from heavy hitters such as Nokia, Ericsson, Motorola, HP, Intel, Microsoft, Qualcomm, Texas Instruments, Palm, Cypress and Philips. As vendors introduce controller and software platforms to OEMs, it becomes increasingly important for OEM designers to understand the power management complexities the specification presents.

Under the specification, the user plugs two devices together to establish a link. The devices take care of all the host/peripheral negotiation without any input from the user to make the experience as simple as possible. USB OTG defines two types of configurations: A-devices (devices that have a Standard-A or Mini-A plug inserted), are hosts by default when connected, and B-devices (devices that have a Standard-B or Mini-B plug inserted), are peripherals by default when connected. OTG-devices (formerly known as dual-role-devices) can be either an A-device or B-device, giving it the potential to be either host or peripheral. The status is negotiated between the devices.

In addition to providing new device definitions, the specification presents many challenges for portable electronic system engineers. USB OTG requires that battery-powered portable devices create a 5V supply typically from a 3V to 4.2V single-cell Li-ion source. Additional requirements define VBus monitoring and protocols for handling power-saving modes.

According to the OTG Supplement Rev 1.0, an OTG A-device must provide at least 8mA between 4.4V and 5.25V to power VBus. Devices can negotiate for more current, depending on the host's ability to supply more power. Voltage rise time must be less than 100ms in case the peripheral draws more current than can be supplied by the A-device. In this instance, the A-device must turn off VBus and terminate the session.

When VBus is not powered up, the A-device must have only 40k-100k resistance on VBus, and voltage due to leakage on VBus must be less than 0.2V. Finally, the OTG device's VBus decoupling capacitance must be between 1F and 6.5F. A standard USB host has a minimum 96F.

USB OTG defines low-power consumption for portable devices. When there is no active session, VBus is turned off to save battery power. If the A-device turns off the VBus, but the B-device wants to use the bus, the B-device can request that the A-device turn on VBus. This request is called Session Request Protocol (SRP) by the USB OTG supplement and it is performed by data-line pulsing and VBus pulsing.

Before starting VBus pulsing, the VBus voltage must be below 0.8V to make sure that the A-device recognizes there is no session in progress, and also so that it can detect low to high voltage when VBus pulsing begins.

During VBus pulsing the B-device drives VBus high to signal the A-device to turn on VBus. While driving VBus, the B-device must monitor VBus to make sure it is connected to an OTG device instead of a standard USB host. This is detected via the difference in capacitance described above.

The OTG specification defines four voltage thresholds to monitor:

7 VA_VBus _VLD monitors VBus: Reporting when it is above 4.4V, inside a valid range. This detector also functions as a simple over-current detector in case the load requires more current than the host can provide.

7 VA_SESS_VLD monitors VBus: The range of 0.8V to 2V signals an A-device that the session is valid. This voltage range is used to detect a B-device VBus-pulsing to initiate the SRP.

7 VB_SESS_VLD monitors VBus: The range 0.8V to 4V signals a B-device that the session is valid.

7 VB_SESS_END monitors VBus: the range is 0.2V to 0.8V to signal a B-device that the session has ended. This state must be recognized by the B-device before initiating SRP.

The USB 2.0 specification's power management issues were mostly confined to keeping track of voltage drops across current-limiting ICs, connectors and PCB traces. USB OTG introduces many more challenges for engineers to consider.

Creating the VBus supply from a battery is a primary concern. A power management system for an OTG device needs to include a 4.4V to 5.25V output, supplying at least 8mA. In common practice, the majority of portable devices use a single-cell Li-ion or lithium polymer battery. This means a voltage converter is required to step up from 3V-4.2V to 4.4V-5.25V.

High-efficiency conversion is required to provide the longest possible battery runtime. The OTG specification calls for at least 8mA and allows negotiation for higher currents if the peripheral needs more power. OTG devices can provide up to 500mA, but in realistic terms, handheld portable electronics do not have 500mA to spare for external loads. 100mA is a commonly accepted realistic maximum.

The specification also states that the supply must have a rise time of less than 100ms. Typically, this is not an issue for voltage converters because they have turn-on times of less than a few milliseconds.

Up to capacitance standards

An HF fractional (1.5x) charge pump is the preferred conversion method for several reasons. The first reason is meeting the required output capacitance. An HF switched capacitor regulator can use small capacitors on the output to easily meet the OTG specification's maximum 6.5F requirement. Other solutions, such as inductor-based DC/DC boost converters, can have stability problems with small output capacitors.

Another reason for using a fractional charge pump as opposed to a standard regulated voltage doubler is to increase efficiency, which improves battery runtime. For example, if the Li-ion battery voltage is 3.6V, a 5V-output regulated voltage-doubler's theoretical efficiency would be 69 percent. With the same I/O conditions, a 1.5x fractional charge pump achieves 93 percent. These numbers are theoretical, but in actual testing, charge pumps achieve efficiencies within 1 percent of theoretical calculations.

Other minor considerations include the leakage requirement, which states that when the VBus is turned off, the A-device must not float the VBus any higher than 0.2V. Additionally, a pull-down resistor is required in the range of 40k and 100k.

For OTG-device compatibility, four voltage detectors are required to watch VBus for (greater than) 4.4V, (0.8V to) 4V, (0.8V to) 2V, and (0.2V to) 0.8V. These levels correspond to the different states of VBus as seen by an A-device or B-device. From a practical standpoint, the voltage detectors should be extremely low quiescent-current devices to maximize power savings. This is especially true for the 2.0V voltage detector because it must remain enabled even when the A-device turns off the bus, so it can recognize an SRP event.

Furthermore, when the OTG device is acting as a B-device, the maximum allowed unconfigured current is 150A. Clearly, the power budgets must be managed carefully.

Another function that sets OTG apart from its USB predecessor is the ability of a B-device to wake up VBus when it is turned off to save power. OTG devices must be able to perform data-line pulsing and VBus pulsing to initiate an SRP. The power management system must be able to drive VBus and monitor voltage and timing simultaneously.

The purpose of this is to see the difference between the capacitance of an OTG device (maximum 6.5F) and a standard USB host (minimum 96F). The monitor must take into account the timing which would charge 2 x 6.5F above 2.1V, yet 96+1F (1F is the minimum allowed OTG capacitance) would remain below 2V. This is important so that a standard USB host that is not SRP-capable won't be damaged due to reverse current flow on VBus.

A designer of an OTG device could use the voltage converter for VBus pulsing, but this approach would needlessly burn power. The preferred method for VBus pulsing is a current source because it simplifies timing. A current source charging a capacitor provides a linear voltage ramp, in contrast to a voltage source charging an RC, which gives an exponential curve.

The OTG specification states that one of the initial conditions required before a B-device can start SRP is that the VBus must be less than 0.8V. It can be helpful to speed up SRP by switching in a pull-down resistor to discharge VBus. The only requirement of this discharge resistor is that it cannot draw more than 8mA.

- Erik Ogren

AnalogicTech Inc.





Article Comments - USB OTG presents benefits, challenge...
Comments:??
*? You can enter [0] more charecters.
*Verify code:
?
?
Webinars

Seminars

Visit Asia Webinars to learn about the latest in technology and get practical design tips.

?
?
Back to Top