PSU Setup - Geowissenschaften/EXCISS GitHub Wiki

The following step by step instruction must be executed, to change some of the factory default values, to match the exciss requirements.

Required hardware

Software preparation

Install bqStudio:

BatteryManagementStudio-1.3.54.1_Build1 (sluc525u)

Update bqStudio Chemistry Database:

Update Charger definiton:

Update Gauge definition:

Change bqStudio View Type

  • In the Window menu select Preferences
  • click on All Global Settings
  • under Battery Management Studio (bqStudio) View Type choose: Show Advanced Views

Charger

The charger IC doesn't require to be prepared. All the pre define parameters are define as hardware based values. Some parameters must be defined during runtime by the MCU.

Gauge Preparation

The gauge IC requires some preparation before first usage. Follow the step by step instruction to prepare the gauge before productive usage.

  1. Connect PSU's SMBus TI EV2400 USB Adapter.

  2. Power up PSU

Gauge firmware update

  • Start bqStudio
  • select gauge and click next
  • select 4500_2_11-bq40z50R2.bqz and click Finish
  • click OK
  • click Firmware
  • select bq40z50R2_v2_11_build_52.srec (mentioned above in Software preparation: Update Gauge definition)
  • click Program
  • restart bqStudio

Gauge battery parameters

Update cell chemistry

A chemistry database update might be required to add the required chem-id(2152) (mentioned above in Software preparation: Update bqStudio Chemistry Database:)

  • select chemid: 2152
  • click on Update Chemistry from Database
Update Gas Gauging parameters
  • click Data Memory

  • click Gas Gauging

  • set Design Capacity mAh (under Design) to: 3500mAh

  • set Design Capacity cWh (under Design) to: 5089cWh

    (Nominal Voltage (V) * cell count * capacity(Ah) * 100 =

    3,635V * 4 * 3,5Ah * 100 = 5089cWh)

  • set Design Voltage (under Design) to: 14540mV

    (Nominal voltage (mV) * cell count)

  • set Chg Current Threshold (under Current Thresholds) to: 30mA

  • set Term Voltage (under IT Cfg) to: 12000mV

    (3000mV * cell count)

  • set Load Mode (under IT Cfg) to: 1 (constant power)

Advanced Charge Alorithm parameters
  • click Data Memory
  • click Advanced Charge Alorithm
  • set Charge Term Taper Current (under Termination Config) to: 50mA
Considerations

We need to ensure:

  • Taper Current > Chg Current Threshold > Quit Current
  • Dsg Current Threshold > Quit Current

Gauge change DA Configuration (0x0012 -> 0x0117)

SLUUBK0A page 150

gauge change DA configuration 0x0012-0x0117

  • click Data Memory

  • click on Settings

  • click on DA Configuration (under Configuration)

  • toggle NR (red)

    NR (Bit 2) = 1 (Use PRES in system detection: NON-REMOVABLE mode)

  • toggle CC0 (red)

    CC1, CC0 (Bit 1,0): Cell Count set to CC1 = 1, CC0 = 1 (Cell Count: 4 cell)

  • toggle EMSHUT_PEXIT_DIS (red)

    EMSHUT_PEXIT_DIS (BIT 8) = 1 (Prevents usage of SHUTDN pin as exit option)

Gauge change Temperature Mode (0x0004 -> 0x001)

SLUUBK0A page 149

gauge change temperature mode 0x0004-0x0001

  • click Data Memory

  • click on Settings

  • click on Temperature Mode (under Configuration)

  • toggle TS2 Mode (green)

    TS2 Mode (Bit 2) = 1 (Cell temperature)

  • toggle TSInt Mode (red)

    TSInt Mode (Bit 0) = 1 (FET temperature)

Gauge change Temperature Enable (0x0006 -> 0x01f) 1e

SLUUBK0A page 148

  • click Data Memory

  • click on Settings

  • click on Temperature Enable (under Configuration)

  • toggle TSint (red)

    TSint (Bit 0) = 1 (Enable internal TS)

  • toggle TS3 (red)

    TS3 (Bit 3) = 1 (Enable TS4)

  • toggle TS4 (red)

    TS3 (Bit 4) = 1 (Enable TS4)

Gauge Mfg Status init (0x0000 -> 0x0010)

SLUUBK0A page 161

gauge mfg status init 0x0000->0x0010

  • toggle FET_EN (red)

    FET_EN (Bit 4) = 1 (All FET Action: Enabled)

  • Power cycle PSU

Gauge change FET Options (0x0020 -> 0x0024)

SLUUBK0A page 138

  • click Data Memory
  • click on Settings
  • click on FET Options (under Configuration)
  • toggle OTFET (red)

OTFET (Bit 2) = 1 (CHG and DSG FETs will be turned off for overtemperature conditions)

Gauge Calibration

Explained at the end of this page

Gauge Mfg Status init (0x0010 -> 0x00b8)

SLUUBK0A page 161

This step proberbly should be done AFTER learning cycle, but we did perform the lerning cycle later. Refer to: TI Support Forum: BQ34Z100-G1: Learned Status

gauge mfg status init 0x0010-0x00b8

  • click Data Memory

  • click on Settings

  • click on Mfg Status init (under Manufacturing)

  • toggle BBR_EN (red) BBR_EN (Bit 7) =1 (Black Box Recorder: Enabled)

  • toggle LF_EN (red) LF_EN (Bit 5)= 1(Lifetime Data Collection: Enabled)

  • toggle GAUGE_EN (red) GAUGE_EN (Bit 3) =1 (Gauging: Enabled)

  • Power cycle PSU

Gauge Perform Learning Cycle

This is described in: 4024.LearningCycleOverview.pdf

Please note: “The learning cycle guide doesn't 100% apply to bq40z50-R1 in terms of some of the flag names. It's more a procedure guide. RDIS is RUP_DIS flag.”

Source: TI Support Forum: BQ40Z50-R1: Problems performing a Learning Cycle

Gauge Calibration (needs to be performed earlier, see above)

Voltage Calibration:

VSS-PIN calibration

  • connect 4 100 Ohm resitors as battery dummys
  • apply 16V between VSS and 4P
  • Measure Cell 1 Voltage and enter value in calibration field
  • tick Calibrate Voltage Checkbox
  • Measure BAT pin voltage and enter value in calibration field
  • tick Calibrate Voltage Checkbox
  • measure PACK pin voltage and enter value in calibration field
  • tick Calibrate Voltage Checkbox
  • Click Calibrate Gas Gauge

Current Calibration

  • set DC load to 900mA and connect to PSU output
  • connect 5V to PSU input
  • disconnect EV2400
  • start bqStudio
  • click on Charger
  • click on Next
  • click on Charger_1_00-bp2700A.bqz
  • click on Finish
  • reconnect EV2400
  • click on Read Register
  • set Input Current Register to 0mA
  • restart bqStudio
  • Click on Calibration
  • Enable DC load
  • Disconnect 5V at PSU input
  • enter measured current (should be 900mA) into Applied Curennt (example: -900)
  • tick Calibrate Current Checkbox
  • Click Calibrate Gas Gauge

Temperature Calibration

  • apply know temperature to all sensor
  • enter temperature in Tempearture field
  • Hit Calibrate Checkbox
  • Click Calibrate Gas Gauge

Links: