主题中讨论的其他器件: BQSTUDIO、 GPCCHEM、BQ24295 、BQ27426
工具与软件:
我正在尝试让 bq27741-G1电量计与单节锂离子聚合物电池5200mA 家族工作。 我已将 bq27x00 Linux 驱动程序移植到335x 3.2内核、可以轻松地从 Android 读取监测计。 但是、监测计无法正确跟踪电池容量、并且行为异常。
我们设置充放电周期并在它期间跟踪监测计值。 奇怪的是、在充电周期中、电量监测计认为它会过早地碰到满量超级5200mA、然后 Charge_Now 停止增加、而 Charge_Full 参数开始增加。 我不知道为什么监测计会决定增大 Charge_Full、而不是现在增大 Charge_Now... 更不用说它不是一个10、000 mA 电池。
同样奇怪的是、即使报告的 CHARGE_NOW 仍有足够的 mAh 电量、在放电期间的充电百分比也会从30%降至0%。
https://docs.google.com/spreadsheets/d/1huvOK4QCPwcxbDyibm2bQVjTazWd1aJs2AXCHgr5Gr8/edit?usp=sharing
探测器上的内核驱动程序检查测量仪设计容量是否设置为默认的1000mA 44,如果设置为默认值,则使用以下值对测量仪表进行编程。 如果您遇到明显的错误、或者如果我错过了需要设置的寄存器、请告诉我。
#define CHEM_ID_VALUE 100 // - default
#define DESIGN_CAP 5200
static struct dm_reg bq277xx_dm_regs[] = {
{48, 06, 2, 3700}, /* Design Voltage */
{48, 19, 2, 4860}, /* CC Threshold = 0.9 * Design Cap */
{48, 23, 2, DESIGN_CAP},/* Design Capacity */
{48, 25, 2, 19240}, /* Design Energy = Design Cap * 3.6V */
{48, 44, 1, 1}, /* Design Energy Scale */
{49, 0, 2, 520}, /* SOC1 Set Threshold */
{49, 2, 2, 780}, /* SOC1 Clear Threshold*/
{49, 4, 2, 104}, /* SOC2 Set Threshold */
{49, 6, 2, 260}, /* SOC2 Clear Threshold */
{64, 0, 2, 0x0171}, /* Pack Configuration */
{64, 2, 1, 0xa7}, /* Pack Configuration B */
{64, 3, 1, 0x98}, /* Pack Configuration C */
{68, 2, 2, 15}, /* Power Sleep Current */
{80, 0, 1, 0x01}, /* Load Select - Default. Present average discharge current: This is the average discharge current from the beginning of this discharge cycle until present time. */
{80, 1, 1, 0x01}, /* Load Mode - Default Constanst Power - */
{80, 67, 2, 3200}, /* Terminate Voltage */
{82, 0, 2, DESIGN_CAP}, /* Qmax */
{83, 0, 2, CHEM_ID_VALUE}, /* Chem ID */
};

