TI中文支持网
TI专业的中文技术问题搜集分享网站

BQ769142: DASTATUS6() 庫倫讀取問題

Part Number:BQ769142

您好

想請教BQ769142 的庫倫讀取功能,UseA 使用1mA,

1. Current sense resistors 使用 2 mΩ,

使用充放電機台對電池進行放電,放電累積庫倫與 DASTATUS6() 讀取後累積計算值相當,

2. Current sense resistors 使用 1 mΩ,

相同條件使用充放電機台對電池進行放電,放電累積庫倫與 DASTATUS6() 讀取後累積計算值2倍,

想詢問使用不同Current sense resistors在設定上需要做調整嗎?

感謝

Star Xu:

您好,设置请参考TRM 4.3 Coulomb Counter and Digital Filters

,

jimmy shih:

你好,TRM 4.3 Coulomb Counter and Digital Filters 沒有提到設定的相關資訊,只提到最低可以支援1 mΩ Current sense resistors。

,

Star Xu:

您好,正在查询,稍后回复。

,

Star Xu:

您好,请参考TRM 4.12

 

To account for the change in the sense resistor value, you will need to recalculate the CC Gain and Capacity Gain values and load them into the appropriate registers.

,

jimmy shih:

你好,感謝,另外想請教 2 mΩ 的 CC Gain = 7.4768 / 2 = 3.7384,Type F4 用I2C要怎麼送 3.7384 給AFE

,

Star Xu:

您好,请参考文档BQ769x2 Software Development Guide

www.ti.com/…/sluaa11b.pdf

,

jimmy shih:

你好,您提供的文檔先前有看過,但是內容沒有 Type F4 的範例,而Type F4 為 4 byte date 長度,而3.7384 包含整數與小數部分 所以想問3.BD07C84B5DCC63F要怎麼拆成4 byte date 長度寫入設定值?感謝!!

,

Star Xu:

您好,请参考下面文档Host System Calibration Method

www.ti.com/…/slua640b.pdf

,

jimmy shih:

你好,

感謝您這邊提供參考資料,CC Gain and Capacity Gain values 是不是需要用IEEE754的方式轉換,才有辦法用透過I2C 寫入 4 Byte 給BQ769142? www.h-schmidt.net/…/IEEE754.html

,

Star Xu:

您好,正在查询稍后回复。

,

Star Xu:

您好,Looking at the section I attached before: "Both the CC Gain and Capacity Gain are encoded using a 32-bit IEEE-754 floating point format." It looks like yes; you will need to convert the values to an IEEE-754 floating point value before writing them to the device's memory.

There are some additional instructions on the conversion in Section 3.3.3: Floating Point of the TRM.

赞(0)
未经允许不得转载:TI中文支持网 » BQ769142: DASTATUS6() 庫倫讀取問題
分享到: 更多 (0)