Embedded Scheduler in Cell Battery Monitor of the bq769x0

Similar documents

Test Data For PMP /05/2012

bq40zxx Manufacture, Production, and Calibration

AN-87 Comparing the High Speed Comparators

TIDA Dual High Resolution Micro-Stepping Driver

PMP6857 TPS40322 Test Report 9/13/2011

AN-288 System-Oriented DC-DC Conversion Techniques

LM325 LM325 Dual Voltage Regulator

Introduction to Isolated Topologies

Inside the Delta-Sigma Converter: Practical Theory and Application. Speaker: TI FAE: Andrew Wang

DS9638 DS9638 RS-422 Dual High Speed Differential Line Driver

AN-1453 LM25007 Evaluation Board

Application Report. 1 Background. PMP - DC/DC Converters. Bill Johns...

DPI Evaluation TPS65310-Q1

AN-2119 LM8850 Evaluation Board Application Note

TRF3765 Synthesizer Lock Time

A Numerical Solution to an Analog Problem

Power Systems Design Tools

TI Designs: Biometric Steering Wheel. Amy Ball TIDA-00292

Application Report ...

DRV10963 Evaluation Module

LM2925 LM2925 Low Dropout Regulator with Delayed Reset

High-Voltage Signal Conditioning for Low-Voltage ADCs

Technical Documents. SLVSD67 SEPTEMBER 2015 TPS65651 Triple-Output AMOLED Display Power Supply

AN-1557 LM5022 Evaluation Board

Low Voltage Brushed Motor System

LM386 Low Voltage Audio Power Amplifier

How AutoTune TM regulates current in stepper motors. Rakesh Raja, Sudhir Nagaraj Design Engineers, Motor Drive Business Unit Texas Instruments

LMS1585A,LMS1587. LMS1585A/LMS1587 5A and 3A Low Dropout Fast Response Regulators. Literature Number: SNVS061F

Mat'l Density (Kg/cubic Material

LM723,LM723C. LM723/LM723C Voltage Regulator. Literature Number: SNVS765B

Literature Number: SNAP002

LDC0851 Quick-Start Guide

PGA900 as a 4- to 20-mA Current Loop Transmitter

CD74HC138-Q1 HIGH-SPEED CMOS LOGIC 3- TO 8-LINE INVERTING DECODER/DEMULTIPLEXER

AN-Note 1374 Use of LMV225 Linear-In-dB RF Power Detector in. CDMA2000 1X and EV_DO Mobile Station and Access Terminal

LM397 LM397 Single General Purpose Voltage Comparator

TI Designs TIDA Automotive 1.3M Camera Module Design with OV10640, DS90UB913A and power over Coax Test Data

absolute maximum ratings over operating free-air temperature range (unless otherwise noted)

AN-1646 LM3102 Demonstration Board Reference Design

LM113,LM313. LM113/LM313 Reference Diode. Literature Number: SNVS747

LF347, LF347B JFET-INPUT QUAD OPERATIONAL AMPLIFIERS

TIDA Test Report 1/4/2016. TIDA Test Report 1/4/2016

LOW-POWER QUAD DIFFERENTIAL COMPARATOR

Excellent Integrated System Limited

LOAD SHARE CONTROLLER

LMP8640,LMP8640HV. LMP8640/LMP8640HV Precision High Voltage Current Sense Amplifier. Literature Number: SNOSB28D

LM V Monolithic Triple Channel 30 MHz CRT DTV Driver

Compensation Made SIMPLE with LM4360x, LM4600x

Application Note AN091

Design Note DN503. SPI Access By Siri Namtvedt. Keywords. 1 Introduction CC1100 CC1101 CC1150 CC2500 CC2550. SPI Reset Burst Access Command Strobes

Texas Instruments. PMP4435 REVA Test Procedure. China Power Reference Design REVA

DAC0800,DAC0802. DAC0800/DAC Bit Digital-to-Analog Converters. Literature Number: SNAS538B

1 Photo. Bottom side. 11/7/2014 PMP10783 Rev A Test Results

Design of a high-frequency series capacitor buck converter

Effect of Programmable UVLO on Maximum Duty Cycle Achievable With the TPS4005x and TPS4006x Family of Synchronous Buck Controllers

TI Designs: TIDA Passive Equalization For RS-485

PIN-PIN Compatible Cross-Reference Guide Competitor

AMC1210. User's Guide

Reference Guide & Test Report

LM82,LM83,LM84,LM87 Multiple Remote Diode Temperature Sensing

User's Guide. SLOU262 July 2009 Isolated CAN Transceiver EVM 1

POSITIVE-VOLTAGE REGULATORS

Hands-On: Using MSP430 Embedded Op Amps

LM108A,LM208A,LM308A. LM108A LM208A LM308A Operational Amplifiers. Literature Number: SNOSBS6A

PRECISION VOLTAGE REGULATORS

DAC1020,DAC1218,LF351,LF356,LM135,LM319, LM394,LM395

LF356,LM308,LM741. AN-480 A 40 MHz Programmable Video Op Amp. Literature Number: SNOA756

SLM6260. Sillumin Semiconductor Co., Ltd. Rev. 02 December V 6A PWM STEP-UP DC-DC CONVERTER

Literature Number: SNAP001

TI Precision Designs: Verified Design ±10V 4-Quadrant Multiplying DAC

ORDERING INFORMATION. QFN RGY Tape and reel SN74CBT3251RGYR CU251. SOIC D Tape and reel SN74CBT3251DR

LMV431,LMV431A,LMV431B. LMV431/LMV431A/LMV431B Low-Voltage (1.24V) Adjustable Precision Shunt. Regulators. Literature Number: SNVS041F

LME49710 LME49710 High Performance, High Fidelity Audio Operational Amplifier

Application Report. Battery Management. Doug Williams... ABSTRACT

Small, Dynamic Voltage Management Solution Based on TPS62300 High-Frequency Buck Converter and DAC6571

SEPIC, added CC charging by additional current ctr ( via TLC272) TPS40210 and CSD18563Q5A

1.5 C Accurate Digital Temperature Sensor with SPI Interface

CD74FCT843A BiCMOS 9-BIT BUS-INTERFACE D-TYPE LATCH WITH 3-STATE OUTPUTS

SN65175, SN75175 QUADRUPLE DIFFERENTIAL LINE RECEIVERS

ORDERING INFORMATION. QFN RGY Tape and reel SN74CBT3253RGYR CU253. SOIC D Tape and reel SN74CBT3253DR

ORDERING INFORMATION. QFN RGY Tape and reel SN74CBT3257RGYR CU257. SOIC D Tape and reel SN74CBT3257DR

SN75ALS192 QUADRUPLE DIFFERENTIAL LINE DRIVER

HF Power Amplifier (Reference Design Guide) RFID Systems / ASP

LM146,LM346. LM146/LM346 Programmable Quad Operational Amplifiers. Literature Number: SNOSBH5B

available options TA PACKAGED DEVICE FEATURES 40 C to 85 C ONET2501PARGT 2.5-Gbps limiting amplifier with LOS and RSSI

Topology: Active Clamp Forward Device: UCC2897A Unless otherwise mentioned the measurements were done with about 2A output current.

Dual TPS2378 PD for 51-W High Power-Four Pair PoE

Collin Wells, Jared Becker TI Designs Precision: Verified Design Low-Cost Digital Programmable Gain Amplifier Reference Design

TI Designs Precision: Verified Design Window Comparator Reference Design

Test Report TIDA November 2015

PAH PACKAGE (TOP VIEW) AGND FBIN AGND A VCC GND 3Y1 2Y3

30-V, N-Channel NexFET Power MOSFET Check for Samples: CSD17483F4

LED Driver Based on UCC28060 Interleaved ACDC Single Stage Flyback. Application Report

SN54AC240, SN74AC240 OCTAL BUFFERS/DRIVERS WITH 3-STATE OUTPUTS

PHOTO OF THE PROTOTYPE

THE GC5016 AGC CIRCUIT FUNCTIONAL DESCRIPTION AND APPLICATION NOTE

Application Report. Art Kay... High-Performance Linear Products

LME49720 LME49720 Dual High Performance, High Fidelity Audio Operational Amplifier

TPS mA 14W Constant Current Buck LED Driver Micro- Module

Transcription:

Application Report Embedded Scheduler in Cell Battery Monitor of the bq769x0 Vish Nadarajah... Battery Management System/Monitoring & Protection ABSTRACT The Scheduler is the most critical digital embedded block inside the cell battery monitor IC, providing the crucial timing frame to the monitor. This application note expands on the parameters detailed in measurement synchronizing the timing of the ADC modulator schedule during the Coulomb Counting and cell balancing. Understanding the operations of the Scheduler allows the user to implement optimized cell balancing algorithms, polling of the ADC via the host microcontroller. Reset Clocks Scheduler Stacking I/F I 2 C Slave Pin MUX Coulomb Counter Decimator Protection Wake Detection Digital_core Digital Core With the Scheduler Figure 1. Embedded Scheduler as Part of the Digital Core Contents 1 Operations of the Scheduler... 2 2 Scheduler and the ADC System... 2 2.1 Cell Balancing OFF... 3 2.2 Passive Cell Balancing ON... 5 3 Scheduler and the Coulomb Counter... 8 4 Scheduler in Stacking Interface... 9 All trademarks are the property of their respective owners. List of Figures 1 Embedded Scheduler as Part of the Digital Core... 1 2 14-Bit ADC System... 2 3 Scheduler ADC Measurement Window Without Balancing... 3 4 Scheduler Time Frame Window During Without Balancing... 3 5 Scheduler Balance vs Measure... 5 6 Passive Cell Balancing of 2 Cells Timing... 5 Embedded Scheduler in Cell Battery Monitor of the bq769x0 1

Operations of the Scheduler www.ti.com 7 Scheduler ADC Measurement Window During Balancing... 5 8 Scheduler Time Frame Window During Balancing... 6 9 16-Bit Delta Sigma Coulomb Counter... 8 10 Stacking Interface... 9 List of Tables 1 Scheduling During Normal Mode Without Balancing... 4 2 Scheduling for Normal Mode With Passive Cell Balancing... 7 1 Operations of the Scheduler The ADC and Coulomb Counter are synchronized in the Scheduler to the 250 ms measurement period. The Scheduler is responsible for controlling the start and stop times of voltage measurements, coulomb counting, cell balancing, and stacked communications. The Scheduler is a state machine that operates on the 12.5 ms time slice from the internally-generated system clock block. The system clock is generated internally and runs at 256 khz. The Scheduler initiates a new frame every 250 ms. Every 2 seconds (8 frames), the Scheduler digitizes the temperature measurement information as illustrated in Figure 4. The Scheduler schedules each cell voltage to be measured 12.5 ms during passive balancing and 50 ms when passive balancing is turned off. The Scheduler provides the time slices for 5 voltages measured by the Decimator (VC1-VC5), and up to 10 additional voltages are stored in the register space (VC6-VC15). These voltages are measured in the middle and upper die of a stacked system and relayed to the bottom device via the stacked communications interface. A fault condition will be detected approximately 0 to 250 ms after the event. For faults detected in the middle and top stacked devices, an additional communications delay is incurred. Cell voltages are transferred from the middle to bottom device and top to middle device once every 125 ms. Therefore, it can take from approximately 0 to 125 ms for a measurement to be transferred to the next lower device. In a 3-stacked system, this can be double for the top device. Finally, the comparison is done only once every 125 ms. 2 Scheduler and the ADC System The 14-Bit ADC System is represented in Figure 2. The digital block controls the clocks, enables, and select lines to the modulator and analog MUX es. The modulator bit-stream is attenuated and decimated to produce a 14-bit result. VC5 VC4 VC3 VC2 VC1 TS1 Analog Mux_sel 14-Bit ADC adc_ena adc_bs Digital Scheduler adc_wr adc_rst Decimator VC1 VC2 VC3 adc_out VC4 VC5 Temp To adc_clk Clocks 256 khz Figure 2. 14-Bit ADC System 2 Embedded Scheduler in Cell Battery Monitor of the bq769x0

www.ti.com Scheduler and the ADC System 2.1 Cell Balancing OFF When cell balancing is OFF, each ADC channel is measured over a 50-ms window, as shown in Figure 2. At the beginning of the cycle, the ADC is enabled, the channel MUX is switched, or both occur. The first 500 µs of the cycle allow for settling before decimation begins. Eleven conversions are averaged over the window. At the end of the window, the average is stored as shown in Figure 3. Measuring of 5 cell voltages is accomplished over one 250-ms period. Eight periods make up a 2-second super period. During the first 250 ms period of the 2-second super period, the cell voltage 5 measurement window is reduced to 37.5 ms and temperature is measured during the excess 12.5 ms. Table 1 shows the schedule during normal mode. 0 0.5 4.5 8.5 12.5 16.5 20.5 24.5 28.5 32.5 36.5 40.5 44.5 48.5 50 ms Start Conversion Enable ADC Switch MUX First Valid ADC Result Begin Averaging Final Valid Conversion (Cell 5 Reduced Window) Final Valid Conversion (Normal Conversion) Figure 3. Scheduler ADC Measurement Window Without Balancing Figure 4. Scheduler Time Frame Window During Without Balancing Embedded Scheduler in Cell Battery Monitor of the bq769x0 3

Scheduler and the ADC System www.ti.com Table 1 shows the schedule during normal mode. Table 1. Scheduling During Normal Mode Without Balancing tick_cnt time (ms) Measure Stack Volt Comp 0 0.0 VC1 Start 1 12.5 First stack communication at 0 ms 2 25.0 3 37.5 4 50.0 VC2 Start 5 62.5 First OV/UV comparison at 50 ms 6 75.0 7 87.5 8 100.0 VC3 9 112.5 10 125.0 Start 11 137.5 12 150.0 VC4 13 162.5 14 175.0 Start 15 187.5 16 200.0 VC5 17 212.5 18 225.0 19 237.5 Temp 20 250.0 VC1 Start 21 262.5 22 275.0 23 287.5 24 300.0 VC2 Start 25 312.5 26 325.0 27 337.5 28 350.0 VC3 29 362.5 30 375.0 Start 31 387.5 32 400.0 VC4 33 412.5 34 425.0 Start 35 437.5 36 450.0 VC5 37 462.5 38 475.0 39 487.5 40 500.0 4 Embedded Scheduler in Cell Battery Monitor of the bq769x0

www.ti.com 2.2 Passive Cell Balancing ON Scheduler and the ADC System When passive cell balancing is ON, each cell is measured by ADC for 12.5 ms as well as temperature in the first 250 ms period of the 2 second period. The remaining time is allocated to balancing. The values in the balancing registers are masked during the measurement time. SCL Balance Measure VC1 VC0 Figure 5. Scheduler Balance vs Measure Figure 6. Passive Cell Balancing of 2 Cells Timing When temperature measurements on the TS pin are selected, the thermistor bias is enabled 37.5 ms before the measurement begins and is then disabled after the measurement window is done as shown in Figure 8 and Table 2. 0 0.5 4.5 8.5 12.5 ms Start Conversion Enable ADC Switch MUX Final Valid Conversion First Valid (Balancing, Temperature) ADC Result Begin Averaging Figure 7. Scheduler ADC Measurement Window During Balancing Embedded Scheduler in Cell Battery Monitor of the bq769x0 5

Scheduler and the ADC System www.ti.com Figure 8. Scheduler Time Frame Window During Balancing 6 Embedded Scheduler in Cell Battery Monitor of the bq769x0

www.ti.com Scheduler and the ADC System Table 2 shows the Scheduler for normal mode with passive cell balancing. Table 2. Scheduling for Normal Mode With Passive Cell Balancing A 12.5-ms measurement window is also used for all measurements when cell balancing is ON. This is shown in Table 2. When balancing is ON, the excess time in the 250 ms period is used for balancing. Embedded Scheduler in Cell Battery Monitor of the bq769x0 7

Scheduler and the Coulomb Counter 3 Scheduler and the Coulomb Counter www.ti.com Integrating 16-bit Delta-Sigma ADC, also called Coulomb Counter (CC), effectively measures accumulated charges coulombs across the sense resistor, using a 250-ms integration window generated by the Scheduler. The integration time (250 ms) is equivalent to the time needed for a single read through the decimation filter. The decimator comprises two FIR filters with a window function to generate the coefficients. The CC integrates the values over a timeframe of 250 ms. After the initial BOOT (and CC_ENABLE being set), the first CC_READY occurs at around 400 ms. The first conversion will contain the integrated values obtained in the 250 ms frame preceding CC_READY. Prior to the CC_READY flag going up, the CC registers are all cleared to ZEROs. Consecutive conversion of the CC happens at 250-ms intervals. The Coulomb counting system is shown in Figure 9. The CC is controlled by the Scheduler via internal signals: the cc_ena and cc_wr signals. The cc_ena is the general enable signal and gates the clock to the block. When cc_ena is high, bit-stream counting commences. When cc_wr is pulsed, the current count is stored to the read-only results register and the count is reset. In addition, the cc_ready signal is raised. This signal generates an alert status via the Register block and is cleared by the cc_ready_clr signal originating from the Register block. The clear signal is initiated by the host processor external to the bqmaximo device. Analog Digital cc_ena Scheduler SRN SRP 0RGXODWRU cc_bs cc_wr Coulomb Counter To cc_rdy cc_rdy_clr cc_out cc_clk Clocks 256 khz Figure 9. 16-Bit Delta Sigma Coulomb Counter Two counting modes are available. In continuous counting, the scheduler holds cc_ena high while cc_wr is pulsed every 64000 cycles. In one-shot mode, the Scheduler raises cc_ena for only a single accumulation period. The registered count is stored locally in the Coulomb Counter block and is read from either the I2C or stacking interfaces via the Register block. Each time cc_wr is pulsed the new result overwrites the previous result. There is no flag to detect this condition: It is the responsibility of the host processor to respond to the ready alert in a timely manner. The digital block controls the clock and enable to the modulator. The modulator bit-stream is accumulated using a CC filter. The CC maintains a 16-bit signed count which initializes to 32000 (full-scale negative). When the counter is enabled, a bit-stream value of 1 bit causes the counter to increment. A single accumulation period is 64000 cycles (250 ms). 8 Embedded Scheduler in Cell Battery Monitor of the bq769x0

www.ti.com 4 Scheduler in Stacking Interface Scheduler in Stacking Interface The master functionality in the bottom and middle die is initiated by the Scheduler of that device. The Schedulers in different devices run independently from each other and are not synchronized to one another. Internally, up to 3 die can be daisy-chained together as in a multi-chip module (MCM) as depicted in Figure 10. In such a system stacked MCMs as in bq769030 and bq76940 the stacking interface is used to communicate control information up the stack (from bottom to the top die) and measurement data and status information flow down the stack (from top to bottom). Two bits in the EEPROM identify whether a device is standalone (non-stacked-bq76920), bottom, middle, or top. The bottom device acts as a master when communicating with the middle or top device. The middle device acts as a slave when communicating with the bottom device, and as a master when communicating with the top device. The top device always acts as a slave. Top Middle Bottom stk_master stk_slave stk_master stk_slave stk_master i2c_slave stk_slave Host Processor Figure 10. Stacking Interface The bottom device is responsible for testing all 15 voltages for overvoltage and undervoltage (OV / UV) faults. The state machine cycles through all 15 cell voltage registers, comparing each to the OV and UV limits. The ov_detect and uv_detect signals are cleared at the beginning of the comparison. At the end of the comparison, if any cell voltage reading is above the OV trip threshold, the OV timer is incremented. Likewise, if any cell voltage is below the UV trip threshold and above the UV ignore threshold (approximately 500 mv) uv_detect will be set and the UV timer will be incremented. If the detection signal is low, the timer is reset. Embedded Scheduler in Cell Battery Monitor of the bq769x0 9

IMPORTANT NOTICE 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