Table of Contents

Advertisement

Quick Links

bq35100
Technical Reference Manual
Literature Number: SLUUBH1C
August 2016 – Revised March 2018

Advertisement

Table of Contents
loading

Summary of Contents for Texas Instruments bq35100

  • Page 1 Technical Reference Manual Literature Number: SLUUBH1C August 2016 – Revised March 2018...
  • Page 2: Table Of Contents

    ....................Temperature High Warning ....................Battery Low SOC Warning ..................Battery EOS OCV BAD Warning ........................ALERT Signal ...................... Lifetime Data Collection Contents SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 3 ................. 12.2.1 Sealing/Unsealing Data Flash Access ....................12.3 BlockDataChecksum(): 0x60 ....................12.4 BlockDataLength(): 0x61 ....................12.5 BlockDataControl(): 0x62 ......................Data Flash Summary SLUUBH1C – August 2016 – Revised March 2018 Contents Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 4 ........................ Communications ......................... 14.1 C Interface .......................... Revision History Contents SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 5: Preface

    Read This First About This Manual This technical reference manual (TRM) discusses the modules and peripherals of the bq35100 device, and how each is used to build a complete battery fuel gauge and end-of-service monitor. Content in this TRM complements, not supersedes, information in the bq35100 Lithium Primary Battery Fuel Gauge and End-Of-Service Monitor Data Sheet (SLUSCM6).
  • Page 6 Battery University on ti.com. Glossary TI Glossary — This glossary lists and explains terms, acronyms, and definitions. Read This First SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 7: Introduction

    The fuel gauging functions use voltage, current, and temperature information to provide State-Of-Health (SOH) and End-Of-Service (EOS) data. The bq35100 device is only required to be powered long enough to gather data and to make calculations to support the selected algorithm and the frequency of updates required by the system.
  • Page 8: Basic Measurement Systems

    Basic Measurement Systems Voltage The bq35100 device measures the BAT input using the integrated delta-sigma ADC, which is scaled by the internal translation network, through the ADC. The measured voltage is available through Voltage(), and is updated for the host to read once per second. The translation gain function is determined by a calibration process.
  • Page 9 CLASS SUBCLASS NAME TYPE SIZE MIN VALUE UNIT VALUE VALUE EOS gauge EOS data Values Integer 0.01 mA load current SLUUBH1C – August 2016 – Revised March 2018 Basic Measurement Systems Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 10: Factory Calibration

    SLUUBH1C – August 2016 – Revised March 2018 Factory Calibration The bq35100 fuel gauge requires factory calibration. The gauge performs only a limited number of calibration functions. The rest must be performed by a host system using commands provided by the gauge for this purpose.
  • Page 11: Enter Calibration Mode

    6. Write calibration results to data flash. Enter CALIBRATION Mode The bq35100 device must be enabled (GE High) and in ACC mode (Operation Config A [GMSEL1:0] = 00) AND the GAUGE_START() command should have been sent. When using bqStudio, these steps are automatic.
  • Page 12: Voltage Calibration

    Voltage for more details. The bq35100 device is default-configured to use the BAT input for voltage measurement, and the data used for calibration is made available through the calibration commands in units of millivolts (mV). In this setup, the calculated voltage offset must be written to the corresponding location in DF. The voltage offset is represented by an integer that is a single byte in size and can be written to the appropriate location in DF without any intermediate steps.
  • Page 13: Cc Offset

    CCA bit is set. Host should check the CCA bit more than once every 0.5 s. Exit Calibration Mode Figure 3-3. CC Offset Flow SLUUBH1C – August 2016 – Revised March 2018 Factory Calibration Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 14: Board Offset

    Host should check the CCA/ BCA bits more than Exit Calibration Mode once every 0.5 s. Figure 3-4. Board Offset Flow Factory Calibration SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 15: Obtain Raw Calibration Data

    = rawDataSum/samplesToAvg - BAT, then units are millivolts. - VIN, then units are RawADCounts. Figure 3-5. Obtain Raw Calibration Data Flow SLUUBH1C – August 2016 – Revised March 2018 Factory Calibration Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 16: Current Calibration

    = ccGain * 1,193,046 Convert ccGain and ccDelta to Gauge’s floating point representation and write to DF Figure 3-6. Current Calibration Flow Factory Calibration SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 17: Temperature Calibration

    = known temperature Obtain avgRawTemp int tOffset = temp - avgRawVoltage Write tOffset to DF Figure 3-7. Temperature Calibration Flow SLUUBH1C – August 2016 – Revised March 2018 Factory Calibration Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 18: Floating Point Conversion

    * LHS is an abbreviation for Left-Hand Side. This refers to truncating the floating point value by removing anything to the right of the decimal point. Figure 3-8. Floating Point Conversion Flow Factory Calibration SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 19: Exit Calibration Mode

    I2CWriteWord(0x0000, 0x0080, 100) Device did not I2CWriteWord(0x0000, 0x0000, 100) exit calibration mode; retry I2CReadBlock(0x00, 2, 100) False calMod == 0 True SLUUBH1C – August 2016 – Revised March 2018 Factory Calibration Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 20: Basic Configuration

    0 1 = Enables STATE-OF-HEALTH VOLTAGE CORRELATION mode for LiMnO 1 0 = Enables END-OF-SERVICE RESISTANCE CORRELATION mode for LiSOCl 1 1 = Invalid setting, do not use. Basic Configuration SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 21: Battery Gauging

    ACCUMULATOR Mode In this mode, the bq35100 device measures and updates cell voltage, cell temperature, and load current every 1 s and begins accumulating after GAUGE_START is received. This data is provided through the C interface while ControlStatus() [GA] is set.
  • Page 22: End-Of-Service (Eos) Mode

    R Table Scale EOS Data Values 0x00 0xff 0xff — Update Flag NOTE: Do not update R Table Scale and R TableScaleUpdateFlag. Battery Gauging SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 23: End-Of-Service Detection

    5.3.2 End-Of-Service Detection The bq35100 device can detect when a sharp increase in the trend of tracked impedance occurs, indicating that the battery is reaching its end-of-service condition. When in this mode, each time the GAUGE_START() command is received, then the internal counter "EOS Detection Pulse Count"...
  • Page 24 Integer 5000 2900 Voltage EOS SOH Smooth Values Integer 5000 2800 Start Voltage EOS SOH EOS Data Values Integer Smoothing Margin Battery Gauging SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 25: Power Control

    SLUUBH1C – August 2016 – Revised March 2018 Power Control The bq35100 device has only one active power mode that is enabled through the GAUGE ENABLE (GE) pin. The power consumption of the bq35100 device can change significantly based on host commands that it receives and its default configuration, specifically with respect to data flash updates.
  • Page 26 Are DF updates Set G_DONE = 1 updates data and status to Enabled? Enabled? Data Update Phase Figure 6-2. Operational Flow Power Control SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 27: Flash Updates

    2.4 V during Flash write operations. DEFAULT CLASS SUBCLASS NAME TYPE SIZE UNIT VALUE VALUE VALUE Flash Update OK Configuration Power Integer 4200 2800 Voltage SLUUBH1C – August 2016 – Revised March 2018 Power Control Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 28: Battery Condition Warnings

    Chapter 7 SLUUBH1C – August 2016 – Revised March 2018 Battery Condition Warnings Battery Low Warning The bq35100 device can indicate and optionally trigger the ALERT pin when the primary battery voltage falls below a programmable threshold. STATUS CONDITION ACTION Normal Voltage() >...
  • Page 29: Battery Low Soc Warning

    Configuration Discharge OT Dsg Recovery Integer 0.1°K Battery Low SOC Warning The bq35100 device can indicate and optionally trigger the ALERT pin when the primary battery state-of- health (SOH) falls below a programmable threshold. STATUS CONDITION ACTION Normal StateOfHealth() > SOH Low...
  • Page 30: Alert Signal

    INITCOMP (Bit 0): Initialization Complete 0 = ALERT is not triggered when INITCOMP becomes set (default). 1 = ALERT is triggered when INITCOMP becomes set. ALERT Signal SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 31: Lifetime Data Collection

    SLUUBH1C – August 2016 – Revised March 2018 Lifetime Data Collection The bq35100 device can be enabled by writing to Control() 0x002E [LT_EN] to gather data regarding the primary battery and to store it to data flash. The following data is collected in RAM and only written to DF when the host sends the End command to the device.
  • Page 32: Sha-1 Authentication

    7. With no active MACData() data waiting, write 160-bit message M to MACData() in the format 0xAABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTT, where AA is LSB. 8. Wait 250 ms, then read MACData() for HMAC3. SHA-1 Authentication SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 33: Authenticatedata(): 0X40

    SEALED Access—This byte holds the authentication checksum when writing the authentication challenge to the device, and is part of the 32-byte data block when accessing Manufacturer Data. SLUUBH1C – August 2016 – Revised March 2018 SHA-1 Authentication Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 34: Data Commands

    MACData(). Writing a 0x0000 to Control() is not necessary to read the CONTROL_STATUS(); however, doing so is okay. Data Commands SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 35: Control_Status: 0X0000

    Read: 0x3e Read: 0x3f The Control() MAC command enables the host to control specific features of the device during normal operation, and additional features when the bq35100 device is in different access modes, as described in Table 11-2. Table 11-2. Control MAC Subcommands...
  • Page 36 1 = Bad OCV measurements are made. 0 = Good OCV measurements are made. GA (Bit 0): Indicates the device is in ACTIVE mode. Data Commands SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 37: Device_Type: 0X0001

    This command instructs the fuel gauge to save the coulomb counter offset after calibration when it is in ACTIVE mode. 11.3.10 GAUGE_START: 0x0011 This command instructs the fuel gauge to enter ACTIVE mode. SLUUBH1C – August 2016 – Revised March 2018 Data Commands Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 38: Gauge_Stop: 0X0012

    — RSVD RSVD RSVD RSVD RSVD ALERT RSVD LEGEND: R/W = Read/Write; R = Read only; -n = value after reset Data Commands SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 39: Batteryalert() 0X0B

    This read-only command pair returns an unsigned integer value of the internal temperature sensor in units of 0.1°K, measured by the device, and has a range of 0 to 6553.5°K. SLUUBH1C – August 2016 – Revised March 2018 Data Commands Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 40: Stateofhealth(): 0X2E/0X2F

    Subcommands that require block data are not executed until MACDataSum() and MACDataLen() are written together as a word. Data Commands SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 41: Data Flash

    (32 bytes). There is no auto-increment for the last block of DF. 12.2 Access Modes As shown in Table 12-1, the bq35100 device provides three security modes that control data flash access permissions: FULL ACCESS, UNSEALED, and SEALED. PUBLIC ACCESS refers to those data flash locations specified in Data Flash Summary that are accessible to the user.
  • Page 42: Sealing/Unsealing Data Flash Access

    12.2.1 Sealing/Unsealing Data Flash Access The bq35100 device implements a key-access scheme to transition between SEALED, UNSEALED, and FULL ACCESS modes. Each transition requires that a unique set of two keys be sent to the device via the Control() command (these keys are unrelated to the keys used for SHA-1/HMAC authentication).
  • Page 43: Data Flash Summary

    OT Dsg Time Configuration Discharge 0x41D9 OT Dsg Recovery 1200 0.1°C BatLow Voltage Set Configuration Discharge 0x41DB 32767 2700 Threshold SLUUBH1C – August 2016 – Revised March 2018 Data Flash Summary Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 44 32767 2200 Gas Gauging Design 0x4202 Cell Design Voltage 32767 3700 Gas Gauging Design 0x4204 Cell Terminate Voltage 32767 2000 Data Flash Summary SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 45 Table1 0x42D8 intPart 3 0xFFFF 0xFFFF 0xFFFFFF 0xFFFFF Accum_Table Table1 0x42DA fractPart 3 Accum_Table Table1 0x42DE intPart 4 0xFFFF 0xFFFF SLUUBH1C – August 2016 – Revised March 2018 Data Flash Summary Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 46 0xFFFF 0xCDEF Security Codes 0x41C4 Authen Key1 MSB 0x0000 0xFFFF 0xFEDC Security Codes 0x41C6 Authen Key1 LSB 0x0000 0xFFFF 0xBA98 Data Flash Summary SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 47 0xFFFF 0x3672 Security Codes 0x41D0 FullUnseal Step 1 0x0000 0xFFFF 0xFFFF Security Codes 0x41D2 FullUnseal Step 2 0x0000 0xFFFF 0xFFFF SLUUBH1C – August 2016 – Revised March 2018 Data Flash Summary Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 48: Communications

    Examples of generic I C transactions can be found in the Using I C Communication with the bq275xx Series of Fuel Gauges Application Report (SLUA467). Communications SLUUBH1C – August 2016 – Revised March 2018 Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 49: Revision History

    Method ........................• Changed Sequence ....................• Changed Exit CALIBRATION Mode ......................• Changed Data Flash Table ......................• Changed Communications SLUUBH1C – August 2016 – Revised March 2018 Revision History Submit Documentation Feedback Copyright © 2016–2018, Texas Instruments Incorporated...
  • Page 50 IMPORTANT NOTICE FOR TI DESIGN INFORMATION AND RESOURCES Texas Instruments Incorporated (‘TI”) technical, application or other design advice, services or information, including, but not limited to, reference designs and materials relating to evaluation modules, (collectively, “TI Resources”) are intended to assist designers who are developing applications that incorporate TI products;...

Table of Contents