2175615_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2175615_en-US

2175615_en-US

mc33771 sleep coulomb counter issue?

I want to measure the Coulomb count of the MC3371 during its sleep period. Before going to sleep, I cleared the relevant registers of the coulometer and configured CYCLIC_TIMER = 2S at the same time. After sleeping for 16 seconds, I woke up the MC33771 using CSB and then read the three registers -cc_nb_samples, COULOMB_CNT1, and COULOMB_CNT2. CC_NB_SAMPLES is always 65535, and COULOMB_CNT1 and COULOMB_CNT2 are normal values. Shouldn't the count of CC_NB_SAMPLES during hibernation be based on the CYCLIC_TIMER?
The relevant screenshots are as follows

yexiaoer_0-1758788469419.png

This waveform is the voltage waveform of VANA:

 

yexiaoer_0-1758788716397.png


Re: mc33771 sleep coulomb counter issue?

Dear Ye Xiaoer,

if coulomb counting during the entire hour is not critical, you can disable coulomb counting in sleep mode by setting the I_MEAS_EN=0 and enable it only during short active windows. This avoids overflow but sacrifices continuous integration.



JozefKozon_2-1758863239187.png


With Best Regards,

Jozef

Re: mc33771 sleep coulomb counter issue?Dear JozefKozon:
Thank you very much for your answer. I confirmed that the SAMP_OVF flag bit was set. But now our project has a requirement: the BMS wakes up once every hour, and it is necessary to read the average current and sleep time during the sleep period after waking up? If CC_NB_SAMPLES reaches 0XFFFF within a very short actual cycle now(CycLic_Timer = 1s), then I cannot obtain the correct number of samples and cannot calculate the average current correctly? Is it also impossible to convert the duration of the sleep period based on the number of samplings? How to solve this problem? Looking forward to your reply.
Re: mc33771 sleep coulomb counter issue?

Dear Ye Xiaoer,

CC_NB_SAMPLES is not tied to CYCLIC_TIMER ticks.
It is the raw number of ADC2 samples that contributed to the coulomb integration. In low‑power/sleep operation the coulomb counter can continue integrating independent of your cyclic timer, so CC_NB_SAMPLES can quickly saturate to 0xFFFF unless you read/reset it often enough or force a fresh conversion after wake. Check the CC_OVR_FLT flag to confirm an overflow.

Please refer to the MC33771C datasheet and to the AN12633

JozefKozon_0-1758794007190.png


  • The coulomb counter accumulates the discrete integral of ADC2 samples.
  • COULOMB_CNT1/2 hold the integral.
  • CC_NB_SAMPLES holds the number of accumulated samples.

JozefKozon_1-1758794117009.png

With Best Regards,

Jozef



タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-20-2025 11:29 PM
更新者: