Slua 734 A
Slua 734 A
Thomas Cosby
ABSTRACT
This application note details manufacture testing, cell voltage calibration, BAT voltage calibration, PACK
voltage calibration, current calibration (CC), and temperature calibration for the bq40zxx devices.
Contents
1 Manufacture Testing ......................................................................................................... 1
2 Calibration .................................................................................................................... 2
2.1 Cell Voltage Calibration ............................................................................................ 3
2.2 BAT Voltage Calibration ........................................................................................... 4
2.3 PACK Voltage Calibration ......................................................................................... 5
2.4 Current Calibration.................................................................................................. 6
2.5 Temperature Calibration ........................................................................................... 9
1 Manufacture Testing
To improve the manufacture testing flow, the gas gauge device allows certain features to be toggled on or
off through ManufacturerAccess() commands. For example, the PRE-CHG FET(), CHG FET(), DS FET(),
Lifetime Data Collection(), Calibration() features. Enabling only the feature under test can simplify the test
flow in production by avoiding any feature interference. These toggling commands will only set the RAM
data, meaning the conditions set by the these commands will be cleared if a reset or seal is issued to the
gauge. The ManufacturingStatus() keeps track of the status (enabled or disabled) of each feature.
The data flash ManufacturingStatus provides the option to enable or disable individual features for normal
operation. Upon a reset or a seal command, the ManufacturingStatus() will be re-loaded from data flash
ManufacturingStatus(). This also means if an update is made to ManufacturingStatus() to enable or
disable a feature, the gauge will only take the new setting if a reset or seal command is sent.
SLUA734A – March 2015 – Revised March 2015 bq40zxx Manufacture, Production, and Calibration 1
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Calibration www.ti.com
2 Calibration
The device has integrated routines that support calibration of current, voltage, and temperature readings,
accessible after writing 0xF081 or 0xF082 to ManufacturerAccess() when the ManufacturingStatus()[CAL]
bit is ON. While the calibration is active, the raw ADC data is available on ManufacturerData(). The device
stops reporting calibration data on ManufacturerData() if any other MAC commands are sent or the device
is reset or sealed.
NOTE: The ManufacturingStatus())[CAL] bit must be turned OFF after calibration is completed. This
bit is cleared at reset or after sealing.
ManufacturerAccess() Description
0x002D Enables/Disables ManufacturingStatus() [CAL]
0xF080 Disables raw ADC data output on ManufacturerData()
0xF081 Outputs raw ADC data of voltage, current, and temperature on ManufacturerData()
0xF082 Outputs raw ADC data of voltage, current, and temperature on ManufacturerData(). This mode
enables an internal short on the coulomb counter inputs (SRP, SRN).
2 bq40zxx Manufacture, Production, and Calibration SLUA734A – March 2015 – Revised March 2015
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
www.ti.com Calibration
VC4
RVC
VCELL4
VC3
RVC
VCELL3
VC2
RVC
VCELL2
VC1
RVC
VCELL1
VSS
SLUA734A – March 2015 – Revised March 2015 bq40zxx Manufacture, Production, and Calibration 3
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Calibration www.ti.com
BAT
VBAT
VSS
4 bq40zxx Manufacture, Production, and Calibration SLUA734A – March 2015 – Revised March 2015
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
www.ti.com Calibration
PACK
VPACK
VSS
SLUA734A – March 2015 – Revised March 2015 bq40zxx Manufacture, Production, and Calibration 5
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Calibration www.ti.com
VCC
SRP SRN
ICC
NOTE: Due to hardware improvements in this device, CC Offset calibration is not necessary. Only
run the CC Offset Calibration procedure if current is observed when no current should be
present.
1. Apply a known current of 0 mA, and ensure no current is flowing through the sense resistor connected
between the SRP and SRN pins.
2. If ManufacturerStatus()[CAL] = 0, send 0x002D to ManufacturerAccess() to enable the [CAL] flag.
3. Send 0xF082 to ManufacturerAccess() to enable raw cell voltage output on ManufacturerData().
4. Poll ManufacturerData() until ZZ increments by 2 before reading data.
5. Obtain the ADC conversion readings of current from ManufacturerData():
• ADCCC = AAaa of ManufacturerData()
Is ADCCC < 0x8000? If yes, use ADCCC; otherwise, ADCCC = –(0xFFFF – AAaa + 0x0001).
6. Average several readings for higher accuracy. Poll ManufacturerData() until ZZ increments to indicate
that updated values are available:
• ADCCC = [ADCCC(reading n) + … + ADCCC(reading 1)]/n
7. Read Coulomb Counter Offset Samples from data flash.
8. Calculate offset value:
• CC offset = ADCCC × (Coulomb Counter Offset Samples)
9. Write the new CC Offset value to data flash.
10. Re-check the current reading and if it is not accurate, repeat steps 1 – 10.
11. Send 0x002D to ManufacturerAccess() to clear the [CAL] flag if all calibration is complete.
6 bq40zxx Manufacture, Production, and Calibration SLUA734A – March 2015 – Revised March 2015
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
www.ti.com Calibration
NOTE: Due to hardware improvements in this device, Board Offset calibration is not necessary.
Only run the Board Offset Calibration procedure if board offset current is observed.
SLUA734A – March 2015 – Revised March 2015 bq40zxx Manufacture, Production, and Calibration 7
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
Calibration www.ti.com
NOTE: There is a conversion factor for CC Gain and Capacity Gain parameters entered in bqStudio.
Name Data Type Data Flash Default bqStudio Default DF-to-Studio Conversion
CC Gain F4 3.58422 1.036 3.714528/DF
Capacity Gain F4 1069035.256 1.036 1107901.13/DF
8 bq40zxx Manufacture, Production, and Calibration SLUA734A – March 2015 – Revised March 2015
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
www.ti.com Calibration
TSx
VTSx
VSS
Revision History
• Added '+' sign to value of ADCCELL1 in number 5 in the Cell Voltage Calibration section. ....................................... 3
• Deleted factor 'VCELL1' from Equation 1. ................................................................................................. 3
• Added ' + J +' to '…' in step 6 of BAT Voltage Calibration section.................................................................. 4
• Changed ' + J +' to '…' in number 6 in the PACK Voltage Calibration section. ................................................... 5
NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other
changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest
issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and
complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale
supplied at the time of order acknowledgment.
TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms
and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary
to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily
performed.
TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and
applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or
other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information
published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or
endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the
third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration
and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered
documentation. Information of third parties may be subject to additional restrictions.
Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service
voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice.
TI is not responsible or liable for any such statements.
Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements
concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support
that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which
anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause
harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use
of any TI components in safety-critical applications.
In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to
help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and
requirements. Nonetheless, such components are subject to these terms.
No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties
have executed a special agreement specifically governing such use.
Only those TI components which TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in
military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components
which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and
regulatory requirements in connection with such use.
TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of
non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.
Products Applications
Audio www.ti.com/audio Automotive and Transportation www.ti.com/automotive
Amplifiers amplifier.ti.com Communications and Telecom www.ti.com/communications
Data Converters dataconverter.ti.com Computers and Peripherals www.ti.com/computers
DLP® Products www.dlp.com Consumer Electronics www.ti.com/consumer-apps
DSP dsp.ti.com Energy and Lighting www.ti.com/energy
Clocks and Timers www.ti.com/clocks Industrial www.ti.com/industrial
Interface interface.ti.com Medical www.ti.com/medical
Logic logic.ti.com Security www.ti.com/security
Power Mgmt power.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense
Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video
RFID www.ti-rfid.com
OMAP Applications Processors www.ti.com/omap TI E2E Community e2e.ti.com
Wireless Connectivity www.ti.com/wirelessconnectivity
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2015, Texas Instruments Incorporated