Slua556 Quick Start
Slua556 Quick Start
Slua556 Quick Start
This application report gives an overview of the implementation and testing of Texas Instruments
bq78PL114 with companion bq76PL102 high-cell-count battery gas gauge and protector. It explores the
hardware and software graphical user interface (GUI) setup.
This document begins with the discussion of the communication setup between the chipset and the
personal computer. TI’s USB Interface Adapter communications box is used with the provided bqWizard™
software. The examples in this document show the S12 version of the firmware. The updated S12 version
has programming and hardware differences from the original S8 firmware. See the bq78PL114 and
bq78PL114S12 Technical Reference Manual (SLUU330) for those differences.
See the application report Chemistry Selection for bq78PL114 (SLUA505) for additional information on
configuring the gas gauge, as well as on the data collection process for defining a .AUX for your battery
pack. The .AUX file is provided by Texas Instruments.
Additionally, review the application report What is a .tmap File? (SLUA542) to understand the nuances of
the different programming files for the gas gauge. of this document includes questions on your pack
configuration required by TI to create a .tmap file. Automatic .AUX file generation is now available through
bqWizard™ software version 2.5.18.
The examples used in this quick-start guide are based on the hardware implementation shown in the
schematic and build of materials. Collateral on the bq78PL114 8S standard evaluation module (EVM)
offered by TI is available (SLUU335). Note that hardware changes are required moving from the S8
firmware to S12. Do not update the firmware on the bq78PL114 8S standard EVM unless you understand
the implications.
Contents
1 Getting Started With the bq78PL114 Graphical User Interface ....................................................... 3
2 Software Communication and Troubleshooting ......................................................................... 3
3 Updating the Firmware to S12 Configuration ............................................................................ 5
4 Exploring the GUI Software Screens ..................................................................................... 7
5 Updating the Chemistry File ............................................................................................... 9
6 Configuring the Gas Gauge .............................................................................................. 10
7 Final Setup Steps for Evaluation ........................................................................................ 15
7.1 To Initialize Gas Gauge and Turn On Charge and Discharge FETs ...................................... 15
7.2 To Enable PowerPump™ Cell Balancing Feature: .......................................................... 17
7.3 Initializing the Pack ............................................................................................... 19
8 Setting Up Logging Data ................................................................................................. 19
8.1 Setup of Dynamic Data Log Definition File .................................................................... 19
8.2 Data Logging Setup .............................................................................................. 21
9 Final Comments Concerning Evaluation ............................................................................... 23
Appendix A .PPCSV Data-Set File Export From S12 Firmware .......................................................... 24
Appendix B Default Data-Set Screen Captures From bqWizard™ GUI for S12 Firmware ............................ 28
Appendix C Reference Design and Reference Design Bill of Materials ................................................. 32
List of Figures
1 Unable to Connect to Chipset Warning. ................................................................................. 3
2 LAN is not built! Warning. .................................................................................................. 3
SLUA556 – April 2010 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges 1
List of Tables
1 Data-Set Parameters to Review in Your S12 Design ................................................................. 14
2 .PPCSV Data-Set File Export From S12 Firmware ................................................................... 24
3 Bill of Materials............................................................................................................. 33
2 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges SLUA556 – April 2010
SLUA556 – April 2010 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges 3
4 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges SLUA556 – April 2010
SLUA556 – April 2010 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges 5
Concerning Figure 6, be sure to choose the Preserve Calibration box as individual IC voltage readings are
calibrated during assembly-test at TI.
6 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges SLUA556 – April 2010
As Figure 9 shows, close the Bootstrap Loader Window by clicking the red X in the upper right corner of
the window.
Some issues may occur when trying to program the firmware. These errors can manifest themselves with
error messages described via the five onboard LED indicators. The bq78PL114 and bq78PL114S12
Technical Reference Manual (SLUU330) explains the LED indicator messages.
SLUA556 – April 2010 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges 7
Figure 11. Loading Proper TMAP File for Your Pack’s Configuration.
Figure 12. Home Screen After Loading 11s Configuration .TMAP File
8 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges SLUA556 – April 2010
SLUA556 – April 2010 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges 9
To fix this issue, choose Utilities → Calibration. Type the appropriate ambient temperature under the
Calibrate Temperature section. In this example, 23°C ambient temperature has been entered. Voltage
reading for the IC are calibrated during production at TI; so, do not attempt to calibrate the voltage unless
necessary. The Calibrate Screen is shown in Figure 16. A relearn/initialize command overwrites any
manual calibration that a user may have entered in cells 5-12 with the values stored in the bq76PL102s.
Close the calibrate screen, and then choose Read All Parameters or Poll Data. Figure 17 shows the
updated home screen with proper temperature sensing.
Next, choose Commands → Reset Fuse. Figure 18 shows the updated home screen with the Fuse Status
flag set green and no Safety flags set.
10 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges SLUA556 – April 2010
NOTE: Do NOT calibrate Voltage of IC unless necessary; voltage is calibrated during production.
Figure 16. Calibration Screen, Used to Update Temperature Reading to Room Temperature
Figure 18. Home Screen Showing Fuse Reset and no Safety Flags
If the pack is at rest (not charging or discharging), the reported current is 0 mA. The Zero Offset current
now can be calibrated. [Ensure that the pack is not being charged or discharged while calibrating the Zero
Offset parameter.] Also, ensure that the sense resistor bits are programmed correctly for either (10 mΩ, 3
mΩ, or 1 mΩ) sense resistor. While using 1-mΩ sense resistor, all parameters are reported in tenths (i.e.,
a 1-A charge current is reported as 100 mA.
Click on the Calibrate button from Step 1 Zero Offset (Figure 19). Current Gain is also calibrated.
Next choose File → Read All Parameters from the Commands Menu (or Ctrl + R as the quick key.)
Figure 19. Calibrating 0-mA Offset While Pack is at Rest (no Charging or Discharging)
12 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges SLUA556 – April 2010
All the Data-Set parameter settings for the gas gauge can be accessed through the .PPCSV file. Save the
default .PPCSV by choosing File → Data-Set (.ppcsv) → Save Data-Set.
Figure 22. GUI Indication That .PPCSV File Has Been Successfully Saved
Now, modify the data-set settings in the .PPCSV file as appropriate for your pack, and then choose File →
Load Data-Set (.ppcsv) → Load Data-Set To Device.
Pay special attention to the following Data-Set settings. The following example is configured for 12 series
cells of standard 4.2-V, Li-ion chemistry (using S12 firmware version).
An entry that is "-1" or "0 seconds" indicates that a feature is disabled. (See Table 1)
Pay special attention to the following Data-Set parameters in the .PPCSV file.
SLUA556 – April 2010 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges 13
<Charge Control>,3,
...
Charge Completion Pack Voltage Qualifier,mV,49200
...
Discharge Completion Pack Voltage Qualifier,mV,42000
...
FC Set SOC Threshold,%,98
FC Clear SOC Threshold,%,97
FD Set SOC Threshold,%,3
FD Clear SOC Threshold,%,4
FD Set Voltage,mV,40000
FD Clear Voltage,mV,40010
FD Set Voltage Time,Seconds,2
...
TDA Set SOC Threshold,%,4
TDA Set Voltage Threshold,mV,40000
TDA Set Voltage Time,Seconds,1
TDA Clear SOC Threshold,%,5
TDA Clear Voltage,mV,40020
TCA Set SOC Threshold,%,100
TCA Clear SOC Threshold,%,99
OCA Set Voltage,mV,51000
<Cell Chemistry>,6,
...
Default Charging Voltage,mV,50400
Default Charging Current,mA,2400
Capacity Algorithm,,0x0003
14 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges SLUA556 – April 2010
After loading the new Data-Set file, be sure to select Read All Parameters from the Commands drop-down
menu.
Figure 23. Select Read All Parameters Command After Importing a Data-Set .PPCSV File
7.1 To Initialize Gas Gauge and Turn On Charge and Discharge FETs
1. Choose the Pack Configuration tab in the Data-Set. (Figure 24)
Note: Ensure that the Wired bit is toggled on.
2. Double-click the Algorithm Enable line with the mouse. A secondary window opens. (Figure 25)
3. Uncheck the Inhibit Safety Rules box, and click OK. (Figure 25)
4. Next, from the Commands drop-down menu, choose Write Pending Changes to RAM CTRL+W
(Choosing the Ctrl + W keys is the quick-key sequence to write changes to RAM.)
5. Finally, select Read All Parameters to update the home screen. (Figure 26 and Figure 27)
SLUA556 – April 2010 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges 15
16 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges SLUA556 – April 2010
Figure 26 shows the S12 home screen with the properly initialized gauge having the Charge and
Discharge FETs turned on.
Figure 27 is a zoom-in on the Status field. Discharge (D-FET), Charge (C-FET) and Pre-charge (P-FET)
MOSFETs are all on. Also, no FUSE error is indicated.
SLUA556 – April 2010 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges 17
Figure 29 shows that the PowerPump™ Cell Balancing is active. Cells 3 and 4 are actively balanced
because their resting voltage is greater than Minimum Cell Differential For Balancing (default = 10 V).
18 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges SLUA556 – April 2010
SLUA556 – April 2010 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges 19
In Figure 31, scroll between available Logging Parameters by clicking the arrows highlighted by the red
box.
20 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges SLUA556 – April 2010
Click Generate File when complete. Choose up to 31 parameters to log (Figure 32).
SLUA556 – April 2010 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges 21
Figure 34. Choosing Poll Data From Commands Menu to Begin Logging
The bqWizard™ software allows the designer to enter comments throughout the log process. To add more
comments, the designer chooses the Logging → Add Comment menu during testing (Figure 35).
22 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges SLUA556 – April 2010
Figure 36. Example of Dynamic Log File for an 11s Battery Pack
SLUA556 – April 2010 Quick-Start Guide for bq78PL114 With bq76PL102 Family Gas Gauges 23
<SBData Static>,1,
Manufacturer Name,,TEXAS INSTRUMENTS
Device Name,,bq78PL114
Device Chemistry,,LION
Manufacturer Data,,0E4D616E20446174612020202020200000000000000000000000000000000000
Serial Number,,1
Manufacture Date,,14964
Design Voltage,mV,33600
At Rate,mAh/10mWh,0
Battery Mode,,0x6001
Remaining Time Alarm,Minutes,10
Remaining Capacity Alarm,mAh/10mWh,560
<Charge Control>,3,
Pre-Charge Temperature,Kelvin,273
Pre-Charge Voltage,mV,3000
Pre-Charge Recovery,mV,3100
Pre-Charge Current,mA,240
Charge Inhibit Temperature Low,Kelvin,273
Charge Inhibit Temperature High,Kelvin,318
Charge Inhibit Recovery Temperature Low,Kelvin,278
Charge Inhibit Recovery Temperature High,Kelvin,313
Charge Suspend Temperature Low,Kelvin,278
Charge Suspend Recovery Temperature Low,Kelvin,283
Charge Suspend Temperature High,Kelvin,333
Charge Suspend Recovery Temperature High,Kelvin,328
Charge Completion Pack Voltage Qualifier,mV,32800
Charge Completion Taper Current Qualifier,mA,240
Charge Completion Time,Seconds RDTE,10
Charge Completion FET Activation Time,Seconds RDTE,10
Discharge Completion Pack Voltage Qualifier,mV,24800
Discharge Completion Time,Seconds RDTE,4
Discharge Completion FET Activation Time,Seconds RDTE,6
Discharge Under Temperature,Kelvin,263
Discharge Under Temperature Recovery,Kelvin,273
Discharge Under Temperature Time,Seconds RDTE,2
FC Set SOC Threshold,%,-1
FC Clear SOC Threshold,%,-1
FD Set SOC Threshold,%,-1
FD Clear SOC Threshold,%,-1
FD Set Voltage,mV,24800
FD Clear Voltage,mV,25600
FD Set Voltage Time,Seconds,0
Transition to Idle Current,mA,50
Transition to Idle Time,Seconds,30
Transition to Discharge Current,mA,-75
Transition to Charge Current,mA,75
Cell Shutdown Voltage,mV,2500
Design Capacity mAh,mAHrs,2400
Design Capacity 10mWh,10mWh,6912
24 .PPCSV Data-Set File Export From S12 Firmware SLUA556 – April 2010
SLUA556 – April 2010 .PPCSV Data-Set File Export From S12 Firmware 25
26 .PPCSV Data-Set File Export From S12 Firmware SLUA556 – April 2010
SLUA556 – April 2010 .PPCSV Data-Set File Export From S12 Firmware 27
Appendix B Default Data-Set Screen Captures From bqWizard™ GUI for S12 Firmware
28 Default Data-Set Screen Captures From bqWizard™ GUI for S12 Firmware SLUA556 – April 2010
SLUA556 – April 2010 Default Data-Set Screen Captures From bqWizard™ GUI for S12 Firmware 29
30 Default Data-Set Screen Captures From bqWizard™ GUI for S12 Firmware SLUA556 – April 2010
SLUA556 – April 2010 Default Data-Set Screen Captures From bqWizard™ GUI for S12 Firmware 31
32 Reference Design and Reference Design Bill of Materials SLUA556 – April 2010
SLUA556 – April 2010 Reference Design and Reference Design Bill of Materials 33
34 Reference Design and Reference Design Bill of Materials SLUA556 – April 2010
SLUA556 – April 2010 Reference Design and Reference Design Bill of Materials 35
36 Reference Design and Reference Design Bill of Materials SLUA556 – April 2010
SLUA556 – April 2010 Reference Design and Reference Design Bill of Materials 37
38 Reference Design and Reference Design Bill of Materials SLUA556 – April 2010
SLUA556 – April 2010 Reference Design and Reference Design Bill of Materials 39
40 Reference Design and Reference Design Bill of Materials SLUA556 – April 2010
SLUA556 – April 2010 Reference Design and Reference Design Bill of Materials 41
42 Reference Design and Reference Design Bill of Materials SLUA556 – April 2010
SLUA556 – April 2010 Reference Design and Reference Design Bill of Materials 43
44 Reference Design and Reference Design Bill of Materials SLUA556 – April 2010
Products Applications
Amplifiers amplifier.ti.com Audio www.ti.com/audio
Data Converters dataconverter.ti.com Automotive www.ti.com/automotive
DLP® Products www.dlp.com Communications and www.ti.com/communications
Telecom
DSP dsp.ti.com Computers and www.ti.com/computers
Peripherals
Clocks and Timers www.ti.com/clocks Consumer Electronics www.ti.com/consumer-apps
Interface interface.ti.com Energy www.ti.com/energy
Logic logic.ti.com Industrial www.ti.com/industrial
Power Mgmt power.ti.com Medical www.ti.com/medical
Microcontrollers microcontroller.ti.com Security www.ti.com/security
RFID www.ti-rfid.com Space, Avionics & www.ti.com/space-avionics-defense
Defense
RF/IF and ZigBee® Solutions www.ti.com/lprf Video and Imaging www.ti.com/video
Wireless www.ti.com/wireless-apps
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2010, Texas Instruments Incorporated