Managing the rechargeable batteries in your embedded/mobile design with BIF

Wolfgang Furtner, Infineon Technologies AG, Germany and Lionel Cimaz, STMicroelectronics, France

October 15, 2014

Wolfgang Furtner, Infineon Technologies AG, Germany and Lionel Cimaz, STMicroelectronics, FranceOctober 15, 2014

For the foreseeable future, much of modern mobile and embedded consumer electronics will be ruled by the amount of battery power available in wireless untethered designs. Although much work is being done to create a variety of energy harvesting schemes to make such devices truly independent, batteries will always be there in some form to provide a backup and as sources of constant and regular power to drive the electronics.

Billions of lithium-ion batteries are in use; an increasing number are in rechargeable formats. There are many different, mostly proprietary battery interfaces. This lack of a commonly accepted battery interface standard has caused extra work and logistical effort throughout the industry.

The one point of agreement amongst all these different schemes is the importance of using some sort of smart battery technology by which information is exchanged between the mobile terminal host platform and the battery pack. Smart battery technology significantly improves the safety of the end users by providing access to reliable battery authentication, versatile sensing of operating conditions (e.g. multiple temperature sensors, stress sensors, etc.) and comprehensive battery related data sets (e.g. manufacturing parameters, charging recipes). In particular, battery authentication with cryptographically strong algorithms improves end user safety by eliminating the use of potentially dangerous counterfeit batteries not complying with the required safety standards [3] or incompatible with the charging parameters of the mobile device.

Unfortunately, without common agreement as to what ‘smart’ means in the context of rechargeable batteries, mobile device manufacturers must coordinate, specify, and maintain proprietary solutions from different parties in the ecosystem - themselves, mobile chipset suppliers, battery IC suppliers, and battery pack manufacturers.

Under the umbrella of the MIPI Alliance, the solution to this and other troubling battery problems is working its way through the consumer and mobile industry. Several stakeholders in the mobile device industry started to develop a new industry standard for battery interfaces in the form of MIPI's Battery Interface Specification (BIF). (For a complete description of the specification and its impact on how mobile device developers can incorporate it into their SoC designs read BIF – Battery Interface Standard for Mobile Devices [1], a paper presented at the 2013 Custom Integrated Circuits Conference.)

This article will first look at some techniques and rules that have emerged to help both vendors and users in managing the use of rechargeable batteries, then outline the basic parameters of the BIF specification, and conclude with a description of how it deals with what several characters in the 1967 movie Cool Hand Luke would call “a failure to communicate.”

The many rules of battery charging
Battery charging requires particular attention to ensure safe operation for some battery types. This is specifically true for the Lithium-based batteries widely used in portable devices today (see also [5]). While charging these batteries, appropriate constraints must be followed to control charging current and voltage precisely. The charging segment, defined as the charging voltage and current combination, depends generally on battery temperature and battery voltage. The charging segment is selected by a charging algorithm and applied on a precisely controllable CC/CV (constant current/constant voltage) charger.

For a given battery, a charging profile, composed by a set of charging segments, can be established so that charging is safe over temperature and battery voltage, an example of which is shown in Figure 1. Disrespecting this charging profile may result in various defects such as accelerated aging of the battery, over-heating, or even battery physical damage that can cause end user injuries.



Figure 1: Lithium battery charging profile

Limitations of conventional charging. A portable device charging subsystem is usually designed for a specific battery or family of batteries. It usually cannot guarantee safe operation or identical performance when used with batteries other than the design prototype. This inflexibility limits the choice of battery throughout the product life.

This strong link between a portable device and a battery type is a significant limitation, e.g. considering the effect of this product design on the multi-sourcing of batteries. Logically, each source of the battery would provide its essential charging profile to the charging subsystem and the product charging subsystem would adjust appropriately.

But with a fixed charging subsystem, the approach is quite the opposite: the charging subsystem sets the charging profile requirement for the battery sources. This often results in reduced charging performance and batteries from different sources are not utilized optimally. It could also result in higher battery unit cost from a given battery supplier because they may need to modify and customize their battery design to support the established charging profile for the charging subsystem of each portable device.

The strong attachment of a battery type to a portable device charging subsystem may also limit the use of newer or improved battery technology that requires a different charging profile. Once the portable device is widely available in the market to the end users, it usually cannot use the latest most advanced batteries or even adapt an updated charging profile (for example, improved safe charging rates).

In the same way, the end user may not be able to effectively use higher capacity batteries in after-sales markets - probably it would take a longer time to charge than necessary for the new battery or perhaps operate with underutilized capacity. In the desire to implement charging for various batteries and chemistries, classical software state machines have grown more and more complex and have become harder to maintain.

Battery/device communications is the key
Because so much of the confusion in rechargeable battery managing seems to be about how the battery subsystem communicates with the mobile system within which it resides, BIF deliberately deals with and defines the communication interface only, so the actual power delivery interface and the mechanical parameters of the battery are out of its scope. Nevertheless, BIF brings an impressive array of capabilities to the table.

First of all, BIF minimizes the interface cost since it requires only one pin in addition to the power terminal of the battery. The mechanical pins of a typical battery pack have high reliability requirements due to a harsh operating environment, and take valuable space in the mobile device. These pins are a relatively high-cost component in a mobile device.

BIF implements a simple multi-drop interface structure with one master device and one or more slave devices. It allows connecting multiple ICs on the same single wire bus. A smart battery may include multiple slave devices within the battery pack. The mobile device PCB may contain multiple slave devices, in addition to the master device.

The communication speed of the interface is dynamically scalable to match various available clock sources in the mobile device system under different operating conditions or data speed requirements.

A transceiver for a BIF master can be implemented with a serializer/de-serializer in hardware, or with software driving and sensing a general purpose I/O pin directly.

A fast (approx. 1ms) battery-pack presence detection is implemented without additional wires or contacts to inform the system immediately if the battery pack is disconnected. If the mechanical design of the battery pack connector assures that the communication pin is always the first one that disconnects, this can grant some time for system software to still perform critical shutdown actions.

While battery removals or longer contact breaks are detected and reported, short signal glitches due to contact instability, ESD, or supply voltage bounces can be tolerated in communication.
BIF allows for a cost-efficient implementation of data transceivers. A slave device can be built with an inexpensive and inaccurate clock source. The BIF protocol is constructed to cope with these inaccuracies.

With respect to the mobile device chipset BIF is designed for low-voltage operation, supporting I/O voltages from 2.8V down to 1.1V. This enables interface implementation in the latest semiconductor processes.

Apart from physical layer and link layer protocol, BIF also defines higher level data structures. For certain standard functions (e.g. temperature sensor, non-volatile memory) standard register layouts are defined to enable the use of a generic software driver in the systems.

BIF allows manufacturer-specific functions in addition to the basic functions defined by the BIF specification. This enables slave device differentiation in the market and access to new innovative functions through the same unified interface. BIF also takes care of storing non-volatile data at different phases of the battery pack production chain and during normal use of the battery pack.

The BIF architecture
BIF adds only one single wire (the battery communication line, or BCL) to the two power connectors (VBAT, GND) of the battery pack. Communication signals are exchanged via BCL with reference to power ground (GND).

BCL carries all BIF-related signaling including battery presence detection, analog battery identification, and distinction between analog and smart batteries, as well as data communication.
BIF data communication comprises of exchanges of data, address and command words, an in-band interrupt and wakeup from power-save modes.

There are two types of devices on a BIF bus, master and slave. There is only one master per BCL but there may be multiple slaves. Slaves may be located both inside the battery pack and on the mobile device side of the battery connector.

There are two types of slaves, primary slaves and secondary slaves. Primary slaves have a reserved address and may carry information about the other slaves found in a battery pack. Primary slaves need to have non-volatile memory in order to carry this information.

The BIF master device is typically placed in the power management IC (PMIC) as illustrated in Figure 2. Alternatively it can be placed on the digital baseband (BB) IC.



Figure 2: BIF master and slave devices in mobile terminal host

< Previous
Page 1 of 2
Next >

Loading comments...

Most Commented

  • Currently no items

Parts Search Datasheets.com

Sponsored Blogs