subject: Battery Management and Monitoring Design [print this page] Battery Management and Monitoring Design Battery Management and Monitoring Design
1. Foreword
With the rapid development of information technology, mobile devices such as mobile phones, PDAs, handheld computers and other products are becoming more widely used. Coupled with mobile devices to continuously improve the performance of the processor, wireless applications more advanced graphics features. Position on the rise, leading to the power of mobile devices more and more, therefore, proposed a of higher performance requirements, particularly in aspects of Guanli battery, including battery management and Battery charging Jian Kong, is the development of embeddeddell inspiron 14 battery products should be considered.
2. Introduction of Battery Management
2.1. Bq24032A management of battery charging IC
Batterymanagement chips bq24032A support USB and AC charger mode. Charge the battery by bq24032A. This chip provides the power output of the system. A battery management chip bq24032A chip battery monitor VBAT VBAT pin connected to the bq26220. PSEL choice for the power port can be used to select the type of input power as the main power input (USB or AC). If the main input power is not available, the system automatically uses the input second input power source, input battery last resort when there is no USB or options for supplying current to the battery for power. PSEL is low, the USB input is selected accordingly.
2.2. Battery monitor chip Bq26220
bq26220 battery chips are advanced module monitoring equipment, which can accurately measure the charge and discharge current and battery capacity to support all necessary management functions, the chip can be used mobile phones, PDAs and other handheld products. bq26220 chip and the host controller with the implementation of the management function of the battery, the main controller is responsible for the bq26220 data to the systemdell inspiron 17 battery end-user energy management and receive data. This module provides 64-bit flash memory general-purpose 8-bit ROM ID, and 32 bits of RAM. The nonvolatile storage for data backup battery monitoring or critical battery parameters.
Who battery BAT voltage detection input port, this pin is used to detect and measure the voltage. HDQ HDQ for the single interface is a single wire serial communication is bidirectional, the charge will record information about the PDC, and receives information on the records of the host controller, the bq26220 battery monitor chip connected HDQ port port GPIO119 PXA272 processor.
3. Model cell and driver initialization
Windows CE includes a device driver of the sample is divided into two types: the pilot of a single piece (monolithic device driver) and the driver layers (layered device driver). A development model into layers can reduce the development effort and shorten the development cycle, development of and using the development-oriented hierarchical model.
Layered driver consists of two distinct layers: the upper part is a model device driver (MDD), lower the platform-dependent driver (PDD). Server interface device driver (DDSI) is implemented in the DDA set of functions, called by the MDD. Because Microsoft provides all the modules associated with the sourcedell inspiron 1440 battery code private label, do not make changes to this part, just have DP MDD module with module can link into a common database [3]. MDD IOCTLS by TED in the specific function calls to access functionality specific hardware.