Quantcast
Channel: Power management forum - Recent Threads
Viewing all 35901 articles
Browse latest View live

FlashStream file commands undocumented

$
0
0

I am trying to get a bq27510G3 based system ready for production using a FlashStream golden file generated by bqstudio.

I am trying to make sense out of the write and read commands that are specified in the golden file (FlashStream format) but cannot find any documentation. There are only a few command types that get repeated with different data throughout the file. There are writes to reg 64, 00 and reads from 66 and 04. Could someone explain what this sequence is doing?

I assume that these commands are specific to the ROM mode. A typical snippet is shown below

C: 16 04 93 2D 8D D3
W: 16 00 0C 00 00 00 83 DE
W: 16 64 6D 01
X: 200
C: 16 66 00
W: 16 00 0A 00 00 00 7F 74 1F 21 94 0A 9C 0A F9 E3 00 4C 00 00 00 00 D4 86 4A C6 B4 C2 6E 2B 03 7C 01 48 FD A3 F6 75
W: 16 64 F5 0C
:
C: 16 66 00
C: 16 04 CE C6
W: 16 00 05
W: 16 64 05 00


BQ40z50 returning wrong chemistry on read.

$
0
0
I programmed my BQ40z50 with cell chemistry 0434. When I read it back (send command 0x08 then read 0x00) it returns 0x0107. Am I using the correct command to read chemistry ID (note: I DO NOT MEAN block 0x0022. That returns the ASCII strong LION from the GG file and has nothing to do with how the gauge works), which , or is there a problem with the gauge?

BQ40Z60 in discharge mode

$
0
0

Hi,

I'm using your BQ40Z60EVM connected to the EV2300. I'm able to charge the batteries (2 cells) but I don't undertstand how I can discharge the batteries when I disconnect the AC power supply. The DSG FET is off. How can I command this FET? Can I use the BQ40z60 to power on/power off the load by using the DSG FET or have I use an external load switch?

bq40z60 sense resistor minimum

$
0
0

The bq40z60 datasheet (SLUSAW3C) says that the sense resistor can go down to 3mOhm (section 9.1), but the technical reference manual (SLUUA04A) says that a typical sense resistor is 1mOhm (section 7.1).  Could anyone provide insight on what the minimum sense resistance is, and whether we need to change any registers depending on our choice? I know the eval board has a 5mOhm sense resistor on it.  

I want to make sure my resistor can detect the proper negative power values (when the battery is being discharged), which reach higher currents than the 10A charging value.  Would there be any issues with this? 

BQ34z110 error reading capacity for battery 24v

$
0
0

Hi all, 

I am working to develop lead acid battery monitoring system using BQ34z110 EVM. I selected the chem ID 800 because that it's the closest to my battery. Based on id 800, it seems like only support up to 6 cells battery 12 volts, but I am using the battery 12 cells 24 volts in my case. Below the step by step, I did to get the battery information in Bq software.

1. Flash the BQ34z110 by using bq34z110_V0_04_BLD_0004.senc file.

2. The BQ software showed the wrong voltage result which equal to 12450 mV. By using Multimeter, the actual battery voltage supposes to be equal to 24140 mV.

 3. To validate the voltage program, I did the voltage calibration. The system showed all the correct data from the battery measurement.

4. To test the BQ34z110 is working well or not, I tried to remove the connection with battery and reconnecting again. In this time, I got the correct data for the voltage, however the remaining capacity and state of charge data was showing the wrong result. In prior measurement, the remaining capacity is equal to 2134 mAH but after this test, it is showing the remaining capacity 3867.

Based on that explanation, I have the problem regarding the remaining capacity and state of charge measurement. Can you please guide me, how can I setup the BQ34z110 to work on 12 cells battery using the  Chem ID 800 for 6 cells battery? 

Thank you. 

Hi TI support team, I am working to develop lead acid battery monitoring system using BQ34z110 EVM. 

BQ27532-G1 : How to use SOC_INT

$
0
0

Good day.

How may I use SOC_INT?

What is intended for?

BQ40z60EVM - BMS parameters to new battery

$
0
0

Hello,

I'm evaluating the BQ40Z60-EVM with 3 LI-ION batteries with the following characteristics:

Nominal Capacity - 860mA.
Nominal Voltage - 3700mV
Charge Current -  Standard 0.2C, Max 1C
Charge cut-off Voltage - 4200mV
Standard Discharge Current - 0.2C
Standard Discharge Current -  2C
Discharge cut-off Voltage - 2750mV
Impedance - 300mOhms

After setting some parameters in BMS, I'm facing some issues:

  1. Battery charge status is not showing the correct values in percentage.
  2. Max Error is reporting 100%
  3. During charging, BMS report Charge Overload, but only one of the batteries reach 4200mV, and the other two has 3800mv and 3900mV respectively. Which looks like that the battery balance is not working.

Attached the gg.csv file.

(Please visit the site to view this file)

BQ28400 strange startup problem

$
0
0

I am working with a custom bq28400 evaluation board, from which I attach the schematic

(Please visit the site to view this file)

Resistors R1, R2 and transistors Q41,Q42 are not populated, as I am not so far concerned about cell balancing. I put 2.2M resistors instead of 3M, because I just didn't have them. Now this board works MOST of the times...

The trouble is, it sometimes (randomly) fails to start up! It all comes down to transistor Q1, driven by the DSG pin. When the board doesn't start, it is enough to MEASURE pin DSG with a multimeter to get it started (Pin goes high briefly, the settles at 700mV, leaving transistor Q1 closed). Even touching R8 with the hand is enough to trigger the start up. I have checked soldering problems several times, and I am sure about continuity. I am running out of ideas now. Any capacitor/ pull down I missed?

by the way, PRES is pulled down to gnd, but I have tried shorting it to gnd, with the same result


Using BQ27441-G1 in an ON/OFF system

$
0
0

Dear all,

I am designing a battery management circuit that includes a BQ24230 battery charger and a BQ27441-G1 fuel gauge.

In our design, an ON/OFF controller driven by a push-button is used to connect/disconnect the system from the battery (including the host microcontroller and its dedicated power supply). The charger is directly connected to the battery: it does not depend on the ON/OFF controller to allow battery charging even if the push-button has not been pressed.

I have the following questions:

  1. Is it better to keep the fuel gauge outside the system (no ON/OFF controller dependency)?
  2. Knowing that the GPOUT output should not be left floating, what is the best solution if I want to connect it to the host microcontroller which can be disconnected from the battery?
  3. Are there any other recommendations other than 1MOhm pull-downs on I2C lines in this configuration?

Thank you in advance.

Best regards.

BQ78pl11x api commands

$
0
0

Hello,

Does anyone knows where I can find more information about the commands used by the bq79pl11x api? I use the api in combination with the bq78pl116 and see below in the 'OnCommunications Event' windows commands like:

0x3C,

0x3D

and 0x3F.

I found several documents (sluu4141a, slua591), but there is no information about these commands.

gr. Ralf

EV2400 not updating correctly.

$
0
0
I'm running into a recurring problem where the EV2400 and BQ Battery Management Studio software will fail to update registers. Usually it happens when I'm trying to log data. The displayed values will be incorrect or will fail to update, even after stopping the log. I have to restart the BQ Battery management studio software to regain access to the registers. Any word on how to fix that, or should I wait for a patch?

Problem writing to BLOCKDATA

$
0
0

Below is code I am using to write to the BLOCKDATA area in a BQ27425.  The code seems to work correctly up to the RESET.  The problem is that when I do the SOFT_RESET clear the CFGUPDATE flag, the BQ27425 returns a BUSY (not the expected OK). 

I have also tried a HARD_RESET rather than a SOFT_RESET and even waited 240seconds without doing a reset.  None of these three options solve the BUSY problem. 

Can you suggest a sequence that allows me write to the BLOCKDATA area in a BQ27425 without getting a BUSY return when to clear the CFGUPDATE flag?

HAL_StatusTypeDef  WriteDataBlock (uint8_t CLASS, uint8_t OFFSET, uint8_t Init, uint8_t u8WriteBytes, bool toNVM)
{
   HAL_StatusTypeDef    HalReturn = HAL_NOP;
   uint8_t              UnSealReturn;
   uint8_t              i8Sum, x, u8Dummy;
   uint8_t              u8LocalWriteBuffer[32] = {0x00};
   uint8_t              u8LocalReadBuffer[36] = {0x00}; //Little Endian
   uint8_t              u8CheckSumBuffer[10] = {0x00};

      //To update a Data Block the bq must be in CFGUPDATE mode
      if ((HalReturn = WriteStandardInfo(CONTROL, SET_CFGUPDATE, &u8Dummy))  == HAL_OK)
      {
          if (ReadStandardInfo(FLAGS, NO_CNTL_FNCT, u8LocalReadBuffer, 2) == HAL_OK)
              //LoByte = OCVTAKEN / RSVD / ITPOR / CFGUPMODE // BAT_DET / SOC1 / SOCF / DSG
              if ((u8LocalReadBuffer[0] & 0x10) != 0x10) //check CFGUPMODE = true
                  return HAL_ERROR;
      }
       
      //Put the Class and Offset, of the BlockData to be accessed, into  BlockData and BlockData+1
      u8LocalWriteBuffer[0] = DATACLASS;     //DATACLASS = 0x3E;
      u8LocalWriteBuffer[1] = CLASS;         //e.g., 0x52;
      u8LocalWriteBuffer[2] = (OFFSET / 32); //BLOCK_#: 0, 1, 2, etc.;
      HalReturn = I2C_Master_Transmit(&hi2c1, 0xAA, u8LocalWriteBuffer, 3, BQ27425_TIMEOUT);
     
      //Write BLOCKDATACONTROL(0x61) & 0x00
      u8LocalWriteBuffer[0] = BLOCKDATACONTROL; //0x61;
      u8LocalWriteBuffer[1] = 0x00;             //0x00;
      HalReturn = I2C_Master_Transmit(&hi2c1, 0xAA, u8LocalWriteBuffer, 2, BQ27425_TIMEOUT);

      //Write the bytes of the designated WriteBuffer[] to the BLOCKDATA at addresses 0x40 - 0x5F
      if (Init == true)
      {
        HalReturn = I2C_Mem_Write(&hi2c1, 0xAA, BLOCKDATA, 1, u8GasGaugeStateInit, 32, BQ27425_TIMEOUT); //u8WriteBytes
      }
     
      if (toNVM)
      {
        //Compute the CheckSum of the 32-bytes just written to the DataBlock at 0x40 - 0x5F
        i8Sum = 0x00;
        for (x=0; x<32; ++x)
            i8Sum += u8LocalWriteBuffer[x];
        u8CheckSumBuffer[0] = 0xFF - i8Sum; //compute 1's complement of the CheckSum
            
        //Write the CheckSum to BLOCKDATACHECKSUM            
        HalReturn = I2C_Mem_Write(&hi2c1, 0xAA, BLOCKDATACHECKSUM, 1, u8CheckSumBuffer, 1, BQ27425_TIMEOUT);
      }
     
    //Clear the CFGUPDATE flag
    HalReturn = WriteStandardInfo(CONTROL, SOFT_RESET, u8CheckSumBuffer);
    Delay(0x100); //100ms
    
    return  HalReturn;
}

BQ34Z100-G1 Capacity setting issue

$
0
0

Dear E2E team,

We have Make our Custom board for BQ34Z100-G1,

As learn cycles was done on EVM, 

Now Facing Issues in capacity indication on screen & LED will goes to from 60% to 0% instantly on LED indication & on PC studio as well,

help to improve system performance

 

 

Thanks & Regards

Dhananjay Chavan  (Please visit the site to view this file)

BQ27532: I2C communication problem with bq24250

$
0
0

Good day.

I use an evaluation board BQ27532 with BQ24250.

I do succeed to communicate with BQ27532 via I2C. Partially, I can read from and write to all gauge registers.

As far as I understand, communication with BQ24250 is performed via BQ27532. I mean slave address is the same as BQ27532.

But reading from CHARGER STATUS register (0x32) returns me value 0x40 (i.e. I2C communication error between gauge and charger).

What may be wrong?

Thank you in advance.

5023 Error code

$
0
0

Dear,

      I am using 11.1V Lithium Battery in SMBUS. its charging and discharging FET are ON  but at o/p only 1.3 V is showing through multimeter and in pack voltage  calibration  5023 error code is showing. If we connect charger at its P+  P- pts. pack voltage calibration is done but as we remove supply then again it shows 5023 error code. what can be the reason behind it


BQ27742-G1 'Imax Intzerrupt'

$
0
0

Hello Team,

could you provide me with an parametric file which my customer can download to the BQ27742-G1 EVM and test the Imax Interrupt feature?!

So far, they had no success in achieving to issue and interrupt (based on the Imax limit), and they think that they still not have some settings correct in place.

Do they have to apply an battery pack to evaluate this Imax Interrupt feature (or electrical load), or what is the physical test scenario for it.

An further request is, to explain the function of the RA0 pin/function on the device and the usage of the I/O controller in general!

Thanks

Albert

About BQ27421_G1B Min Taper Capacity in TRM

$
0
0

Hi 

I have simple question for BQ27421 G1B setting.

Now I checked to  BQ27421 G1B  TRM, but  I can not found  this  " Min Taper Capacity " in  TRM document.

【 Question 】

   Dose BQ27421 G1B TRM have this explain about   " Min Taper Capacity " ??

   Please tell us this  " Min Taper Capacity "  detail.

  I thunk this setting is Min Taper Current t value , is it Correct ??

March Jasper  ( MRB  Sugimoto ) 

  

Interconnect battery - bq34z100g1 - system load

$
0
0

Hi e2e Community,

I would like to have some help to understand how to implement BQ34Z100-G1 in my PCB.

I'm using a 1500mAh 14.8V 4cell Li-ion protected battery. It have 3 wires, one red+, one black-, and thermistor.

Currently, the battery is conected to BQ24610 charger and it works well !

But I would like to use a full gauge for more accuracy in state of charge.

BQ34Z100-G1 is designed to be implemented battery pack or in a system ( http://www.ti.com/product/bq34z100-g1

So my questions are :

- Does anyone have a shematic to improve my understanding ?

- What's the difference between BAT- and PACK- in the bq34z100EVM-003 Schematic ?  ( see page19 of http://www.ti.com/lit/ug/sluu904a/sluu904a.pdf

BQ27510-G3 issue with StateOfCharge after a few cycles

$
0
0

Hello,

I'm doing a new post on my issue because I have new information and context changed.

We are using a 6 cells (LGC 18650 MG1 - ChemID 287) battery with 2850 mAh. Our application is to drive a brushless motor every 1s, stop it for 1s and do it again continually 24h/24h. So the load is really not constant. The gauge used is the BQ27510-G3.

The system is working really well, StateOfCharge is really correct and TimeToEmpty too. But after a few cycles (it was 6, but now is most after 15 cycles) of charge / discharge (2h/2h or 6h/6h), StateOfCharge starts good from 100% and stops after a few minutes to a value (never the same, 79%, 42%, it changes each time) and stays to the end of the discharge to this value. After that, on the next discharge, the StateOfCharge never move from 100% and TimeToEmpty increases each cycle.

Please see on the picture attached (only discharge cycle are logged). On the 16th cycle the % (in green) stops is value to 79%. After that TimeToEmpty (in blue) will growing up without stopping.

We tried many many things to correct this but we never found a solution ! IT_Enable is enabled and the component is sealed. The only way we found is to make a Reset to unblock the value.

Could somebody help us to find a solution ? It is difficult to the system on this state.

Please find attached config files (SREC file (zipped) and export from Flash XLS) from the device.

Thanks in advance.

(Please visit the site to view this file)

(Please visit the site to view this file)

SMBus addressing for situatuion where pack has more than one gas gauge

$
0
0

If we are forced to use more than one battery management IC in our pack because we must balance charge in parallel cells, is it possible to combine the SMBus lines of two or more Battery Management Units, like bq40z60 and address each individually? 

Viewing all 35901 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>