• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Power Management » Battery Management » Battery Management - Gas Gauge Forum » current calibration in BQ20Z95 & OCD recovery
Share
Battery Management
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

current calibration in BQ20Z95 & OCD recovery

current calibration in BQ20Z95 & OCD recovery

This question is not answered
Deepak Bansal
Posted by Deepak Bansal
on Sep 23 2011 20:43 PM
Expert2395 points

1. In many of board after setting my load current to 2A, then clicking on "CURRENT CALIBRATION", my board start reading wrong value of current. Even if there was no load, it give wrong value of current.

2. I set my external load current greater then "OC 1st Tier dsg", after which [OCD] get set in safety status & DSG fet gets open. Now my load current gets zero & I set my recovery current 200mA. My  DSG fet do not get set. Is this recovery current is +200ma?

bq20z95
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Deepak Bansal
    Posted by Deepak Bansal
    on Sep 26 2011 06:31 AM
    Expert2395 points

    Before current calibration, following were my Data flash readings:

    After I calibrated current as recommended, my data flash readings changed to following giving a large error

     

    Please reply at the earliest as this is crucial for my business.

    Deepak Bansal

    Research & Development Engineer

     

    bq20z95
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jason Blackman
    Posted by Jason Blackman
    on Sep 26 2011 11:46 AM
    Expert4405 points

    Deepak,

    Are you using an EVM or is this part on your own board? If you are using the EVM, make sure you are applying the load current between Pack- and Bat-, not between Pack+ and Pack-. This applies the current directly to the sense resistor, so you should select 'off' for FET control. Apply the 2A load current this way, measure it with a digital multimeter, enter it into the box for 'Enter actual current' and then run current calibration. Then when you take the load away you should be reading a current close to zero. CC Offset and Board calibrations will take care of any additional current that is being falsely reported, but make sure there is no current flowing during those calibrations.

    The way OC Dsg Recovery current works is that the DSG FET is still disabled until the Average Current is below the recovery threshold. The Average Current is a one-minute rolling average of discharge current, so it could be that this average is still above the threshold while you are expecting the FET to come back on. You can also check if there have been any Permanent Flags set on the SBS screen. If there are any, you might need to clear them manually before the DSG FET will turn back on.

    Hope this helps,

    Jason

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Deepak Bansal
    Posted by Deepak Bansal
    on Sep 28 2011 02:31 AM
    Expert2395 points

    Jason

    Many thanks for your reply.

     

    You said apply load current between Pack- & Bat-, how to apply current b/w two ground. Do you want to say current b/w PACK- & BAT+. Also ss there any technical document which can help me in better understanding.

     

    Thanks & Regards

    bq20z95
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jason Blackman
    Posted by Jason Blackman
    on Sep 28 2011 07:46 AM
    Expert4405 points

    Deepak,

    Take a look at the schematic found on page 8 of the bq20z95EVM User's Guide (http://www.ti.com/lit/ug/sluu275/sluu275.pdf). Pack- and Bat- are connected directly to each other with only the sense resistor in between. There isn't an actual ground here, it's just a reference to which voltages are measured against in the rest of the PCB. 

    Hope this helps. Let me know if you need further clarification.

    Regards,

    Jason

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Deepak Bansal
    Posted by Deepak Bansal
    on Sep 29 2011 08:08 AM
    Expert2395 points

    Jason,

    For current calibration, I used to setup 2A of current by applying load between PACK+ & PACK- & then clicking on CURRENT CALIBRATION BUTTON. But after this there is error as I discussed above in current readings. Is this method correct & if wrong kindly suggest me right method.

    Thanks & Regards

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jason Blackman
    Posted by Jason Blackman
    on Sep 29 2011 08:51 AM
    Expert4405 points

    Deepak,

    It is the preferred method to apply the load current between Pack- and Bat-, not between Pack+ and Pack-. This applies the current directly to the sense resistor, so you should select 'off' for FET control. The sense resistor is how the gauge measures current, so this method is taking away all the other components in the current path that don't matter for calibration. Apply the 2A load current this way, measure it with a digital multimeter, enter it into the box for 'Enter actual current' and then run current calibration. Then when you take the load away you should be reading a current close to zero. CC Offset and Board Offset calibrations will take care of any additional current that is being falsely reported, but make sure there is no current flowing during those calibrations.

    Regards,

    Jason

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Deepak Bansal
    Posted by Deepak Bansal
    on Sep 30 2011 06:56 AM
    Expert2395 points

    Jason

    Kindly help me in below issue:

    Run time error "6" - overflow.

     

     I am using bqEASY to program bq20z95 & above error is generated by entering following values:

    1. No of cells in series - 4

    2. no of cells in parallel  - 15

    3. short circuit protection during charging - 15 AMP

    4. Max steady state discharge current - 20000 mA

    5.Peak short term discharge current -25000 mA

    6. Short circuit detection during discharge- 30A

    Rest of parameters are entered as I had done in my earlier projects & showed no error.I think this is due to large current values.

    Please confirm me if is this error is due to large current values & what is the solution for this. And if this error is due to large current values then what are the threshold values in above case.

    bq20z95
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jason Blackman
    Posted by Jason Blackman
    on Sep 30 2011 08:52 AM
    Expert4405 points

    Deepak,

    What is the capacity of each cell?

    Regards,

    Jason

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Deepak Bansal
    Posted by Deepak Bansal
    on Oct 01 2011 00:22 AM
    Expert2395 points

    Jason,

    Cap of each cell- 2200mAh

    Thanks & Regards

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jason Blackman
    Posted by Jason Blackman
    on Oct 03 2011 14:17 PM
    Expert4405 points

    Deepak,

    Are you using the default sense resistor of 10 milliohms? If you are, then it looks like you will be hitting the limit of the Overload voltage threshold register in the AFE (http://focus.ti.com/general/docs/lit/getliterature.tsp?genericPartNumber=bq29330&fileType=pdf). This correlates to the peak short term discharge current you entered. For a 10 milliohm sense resistor, this current max would be 0.205V / 0.01 ohms = 20.5A. You would need to use a smaller sense resistor to get around this limitation.

    Regards,

    Jason

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Deepak Bansal
    Posted by Deepak Bansal
    on Oct 04 2011 01:46 AM
    Expert2395 points

    Jason,

    I am using two parallel sense resistor of 10mohm each. (Rsns = 5mohm).

     

    Thanks & Regards

    Deepak Bansal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jason Blackman
    Posted by Jason Blackman
    on Oct 04 2011 07:31 AM
    Expert4405 points

    Deepak,

    In that case, your value for short circuit during charge is below the minimum voltage for this register in the AFE. The current that corresponds to the smallest voltage using a 5mohm sense resistor is 0.1V/0.005mohm = 20A.

    Regards,

    Jason

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Deepak Bansal
    Posted by Deepak Bansal
    on Oct 05 2011 05:36 AM
    Expert2395 points

    Hi Jason,

    As I discussed earlier I have problem in current recovery during discharge.

    I set my OC 1st tier dsg current -> 2000mA

     DSG Current Recovery -> 200ma

    Sense resistor -> 10 mohm

     

    1. I put load across Pack+ & Pack- & set load current greater than 2A.After this my DSG fet gets open & following was reading of registers:

     

    2. After that my current reduces to zero because dsg fet gets open, but I kept my load resistor connected to it. After that when avg. current falls below dsg recovery current for more than "Current Recovery Timer", my dsg fet gets back on. As you can see below

     

     

    But as told earlier, I kept my load connected to it. Now as you can both chg & dsg fet are on, then current should start again. But it do not get start again & even there is no voltage across PACK+ & PACK-, inspite of fact that both fets are on.

    But if I remove load & reconnect it again, current starts & voltage appears across output. I don't understand why this happens.Kindly help.

     

    Thanks & Regards

    Deepak Bansal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jason Blackman
    Posted by Jason Blackman
    on Oct 05 2011 14:36 PM
    Expert4405 points

    Deepak,

    Can you send me a log file showing this? That would greatly help me to figure out what the issue is.

    Thanks,

    Jason

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Deepak Bansal
    Posted by Deepak Bansal
    on Oct 07 2011 07:29 AM
    Expert2395 points

    Hi Jason,

    Attached please find find log file.

    During logging, I have checked all the parameters, but some of them don't appear in log file.Please check the same.

     

    Thanks & Regards

    Deepak Bansal4555.datalog.log

     

    bq20z95
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use