关键词: USB, battery, charging, charger, detection, interface, protection, connector, downstream, port
Overview of USB Battery Charging Revision 1.2 and the Important Role of Charger Detectors
Other than generous helpings of coffee, what helps industry decrease time to market, drive down cost, and focus more of the design cycle on innovation? Hint: standardization. By defining protocols and operating characteristics, standards have impacted all aspects of technology: device package sizes, pinouts, data and communication interfaces, software drivers, connectors, ESD ratings, environmental compliance, test fixtures. The list goes on and on. The more detailed a specification, the better equipped are developers for defining products that serve the marketplace. If there is any doubt about the value of tightly defined standards, go into any two clothing stores and buy the same size shirt.
The best standards grow with technology. Standards consider and then reflect the increasing complexity of an industry, while maintaining support for already established practices. The USB port is an excellent example of a versatile standard. Originally intended to standardize the connectors on a host computer, the USB specification advanced to allow “On the Go” (USB OTG) electronics to act as either the host or peripheral device. The specification evolved again with the introduction of the USB Battery Charging Specification1 to account for the incredible boom of cell phones and other portable devices with a USB port. The USB standard is currently undergoing another evolution with the new USB3.1 specification and the innovative, symmetrical Type-C connector. Because of their ability to “keep up with the Joneses,”2 USB ports are now found wherever chargeable devices are found—which is everywhere.
The maintenance of a strong standard such as USB can even influence governmental policy. In June of 2009, the European Commission issued a memo intending to mandate a common charger for every data-enabled mobile phone that uses the Micro-USB connector and draws largely on BC1.2.3 In response, a memorandum of understanding (MoU) was signed by major mobile phone manufacturers including Apple, LG, Samsung, and Sony Ericsson, among others.4 The GSM Association, which organizes the Mobile World Congress and spans more than 220 countries, also announced intentions to standardize mobile phone charger connections with a USB connector.5 Both the Korean Telecommunications Technology Association and Chinese Ministry of Industry and Information Technology have released technical requirements for the standardization of mobile phone charging.6 Even the International Telecommunication Union, a specialized agency within the United Nations, published ITU-T L.1000, its recommendation to adopt a universal charger based on requirements from the GSMA, EU, and Chinese proposals.7 With the updated power-delivery provisions added to USB2.0, the introduction of USB3.1 in 2013, and the new Type-C connector in 2014, the adoption of a standard connector will continue to be influenced heavily by USB standards.
Why are standards committees and governing bodies choosing to standardize around USB connectors and the protocols outlined in BC1.2? Establishing a common standard allows interoperability, optimal performance, and safety among any devices using USB. The specification defines how much power can be supplied by any port, as well as a smart way for portable devices to detect how much power can be drawn. Thus, any portable equipment manufacturer can design their product to be compatible with as many USB ports as possible. Manufacturers will know how best to utilize each USB port and can anticipate what voltages and currents will be applied by the USB port. Given this knowledge, they can design without the risk of electrical overstress. Finally, the increasing amount of charging current that a device can use significantly reduces the total charge time required. Consequently, charger detection is an important feature that should be built into all rechargeable devices that incorporate a USB port.
Before discussing the charger detection protocol, it is important to know the differences among available USB ports. A downstream port supports USB2.0 communication, and a charging port can deliver currents larger than 500mA. The BC1.2 outlines three different port types: a standard downstream port (SDP), dedicated charging port (DCP), and charging downstream port (CDP).
Think of the SDP as the classic USB port. In addition to USB communication, it provides 100mA of current to peripheral devices when connected; the 100mA is negotiable up to 500mA. While most ports typically do not enforce this current limit, higher currents are not guaranteed. A DCP does not support USB communication, but can supply charge currents beyond 500mA without any negotiation. A CDP supports both USB communication and high-current charging; it features internal circuitry that is switched on during the charger detection phase. Some electronics manufacturers build proprietary charger identification schemes in addition to the USB port types outlined in the specification. Those various schemes add another layer of charger detection technology that cannot be overlooked.
The charger detection phase outlined in BC1.2 has five basic steps.
Figure 1. USB connector pins and data contact detection (DCD).
To perform DCD, the peripheral device must enable a 7µA to 13µA current source (referenced to +3.3V) on D+ and monitor its voltage. This current range is chosen to maintain proper logic levels across all voltage and resistance tolerances allowed in the specification. If D+ is open, the voltage will be logic high. If closed, D+ will read logic low regardless of the port type. If no data pin contact is sensed after the 0.9-second timeout period, the end device assumes that an SDP is present.
Figure 2. Summary of BC1.2 charger detection procedure.
While non-BC1.2-compliant chargers differ among manufacturers, many of these proprietary chargers identify themselves to end devices by the voltage level set by a resistive-divider between VBUS and ground. Depending on the level of coverage required by a charger detecting circuit, sensing circuitry can be added to detect the voltage levels on D+ and D- and, thus, to identify different manufacturer-specific chargers.
A USB charger detection IC is a single chip that implements many of the features and intricacies associated with BC1.2 charger detection. It is, admittedly, possible to implement the detection scheme discretely. But the number of components, board space, and time spent getting the discrete system to operate successfully would increase dramatically.
Adding a dedicated charger detection chip requires some additional board space, so manufacturers often combine other necessary or desirable features into the same package. Consequently, charger detection ICs are highly integrated with a myriad of additional features such as built-in switches for USB or UART/audio operation, serial control interfaces, overvoltage protection (OVP), USB OTG support, Li+ battery charging capability, or even the ability to perform USB enumeration.
Designers looking for a charger detector to drop into existing designs with minimal additional component count and board space will want the MAX14576/MAX14636/MAX14637 family of devices. This class of charger detector is powered directly from the USB VBUS line, so there is no need to add an additional supply. They feature internal SPST switches that are open when performing charger detection and closed when USB data communication is enabled. Each device has an open-drain I/O to signal whether charging is allowed and the status of the data switches. Some charger detector versions have built-in Apple® charger detection in addition to the BC1.2 compliant port detection. Figure 3 shows an example detection circuit that handles the detection protocol. Fewer main processor resources are required and no major modifications need to be made to an existing design.
Figure 3. MAX14636 charger detector block diagram.
Over the last few years, smartphones took the world by storm. One of the major forces driving this sleek technology is form factor. As the list of features continues to increase while overall sizes are shrinking, careful planning and integrated solutions must be implemented to achieve the target shrinking specifications. Take, for example, a mobile phone that uses a single connector for charging; connecting to a PC; connecting to external accessories; or audio playback. To accomplish all of these tasks in a compact manner, system designers can opt to use a charger detection IC such as the MAX14656 (Figure 4).
Figure 4. A smartphone application using the MAX14656 charger detector.
This universal charger detection circuitry automatically distinguishes between different BC1.2-compliant ports and supports detection of most of the Apple proprietary chargers (e.g., 500mA, 1A, 2.1A). This device also has integrated DPDT switches, which allows the D+ and D- lines to be shared by a Hi-Speed USB transceiver, audio outputs, or even an internal UART. Using an I2C interface, the embedded processor reads whether a charger has been attached and configures the internal switches for the appropriate mode. When you consider the built-in OVP on the VBUS pin, the ESD protection on the data lines, and the 1.65mm x 1.65mm footprint, this single charger detector adds considerable versatility in a single connector for space-constrained designs.
Charger detection technology is so versatile because the basic charger detector functions can be coupled with a variety of other features to provide highly integrated circuits for manufacturers of portable electronics. Other solutions combine charger detection with Li+ battery-charging control in a single package. Some combine charger detection with USB self-enumeration. Today’s newest charger-detector chips autonomously monitor the battery charge cycle in accordance with BC1.2, instead of tasking the embedded processor with manually adjusting the total current drawn for the time periods defined in the specification.
When you combine the charger detection and battery-charging functions, you have smart battery switch control. This technology automatically switches from battery power to charger power when a charger is present. Consequently, some charger detector chips can both charge a battery and provide full-load current. Devices that do this also support thermal current regulation, which protects against dangerously high temperatures that result from simultaneously charging the battery and providing current to the load. By integrating charger detection and battery charging, the system designer can focus more on the end application and worry less about charging concerns.
Meanwhile, the USB BC1.2 specification continues to drive the electronics industry by providing a standard on which manufacturers can build upon. The large number of BC1.2-compliant chargers available today is only expected to multiply in volume. That fact alone makes incorporating a USB connector into a portable device an attractive option. With the use of charger detection ICs, the USB connector on a portable device becomes a versatile component. The built-in BC1.2 compliance keeps the implementation clean and simple to use. Whether designing a compact and portable product, the wealth of features accompanying charger detection ICs make them an extremely attractive integrated circuit.
A similar version of this article appeared in November 3, 2014 in EDN.
|© Mar 23, 2015, Maxim Integrated Products, Inc.|
APP 5936: Mar 23, 2015
设计指南5936, AN5936, AN 5936, APP5936, Appnote5936, Appnote 5936