FSM logs
c++1 "Entered state INIT" 1 "Log: 'Initializing environment...'" 1 "Log: 'Environment initialized !'" 1 "Log: 'Initializing battery IC...'" 1 "Log: 'Battery IC initialized !'" 1 "Log: 'Configuring battery IC...'" 2 "Log: 'Battery IC configured !'" 2 "Log: 'Initializing SoH...'" 2 "Log: 'SoH initialized !'" 2 "Log: 'Initializing SoC...'" 2 "Log: 'SoC initialized !'" 2 "Log: 'State fields initialized!'" 2 "Log: 'Battery initialization complete!'" 2 "Left state INIT" 2 "Entered state DISCHARGE" 3 "Log: 'transitioning from INIT to DISCHARGE'" 5 "Left state DISCHARGE" 5 "Entered state CHARGE" 5 "Log: 'Charge enters charge-and-balance mode'" 5 "Log: 'transitioning from DISCHARGE to CHARGE'" 3901 "Log: 'Battery is fully charged'" 3901 "Log: 'Charge leaves charge-and-balance mode'" 3901 "Log: 'Charge enters rebalance mode'" 4202 "Log: 'Battery not fully charged'" 4202 "Log: 'Charge leaves rebalance mode'" 4202 "Log: 'Charge enters charge-and-balance mode'" 4373 "Log: 'Battery is fully charged'" 4373 "Log: 'Charge leaves charge-and-balance mode'" 4373 "Log: 'Charge enters rebalance mode'" 4674 "Log: 'Battery not fully charged'" 4674 "Log: 'Charge leaves rebalance mode'" 4674 "Log: 'Charge enters charge-and-balance mode'" 4772 "Log: 'Battery is fully charged'" 4772 "Log: 'Charge leaves charge-and-balance mode'" 4772 "Log: 'Charge enters rebalance mode'" 5073 "Log: 'Battery not fully charged'" 5073 "Log: 'Charge leaves rebalance mode'" 5074 "Log: 'Charge enters charge-and-balance mode'" 5139 "Log: 'Battery is fully charged'" 5139 "Log: 'Charge leaves charge-and-balance mode'" 5139 "Log: 'Charge enters rebalance mode'" 5440 "Log: 'Battery not fully charged'" 5440 "Log: 'Charge leaves rebalance mode'" 5440 "Log: 'Charge enters charge-and-balance mode'" 5487 "Log: 'Battery is fully charged'" 5487 "Log: 'Charge leaves charge-and-balance mode'" 5487 "Log: 'Charge enters rebalance mode'" 5788 "Log: 'Battery not fully charged'" 5788 "Log: 'Charge leaves rebalance mode'" 5788 "Log: 'Charge enters charge-and-balance mode'" 5823 "Log: 'Battery is fully charged'" 5823 "Log: 'Charge leaves charge-and-balance mode'" 5823 "Log: 'Charge enters rebalance mode'" 6125 "Log: 'Battery not fully charged'" 6125 "Log: 'Charge leaves rebalance mode'" 6125 "Log: 'Charge enters charge-and-balance mode'" 6152 "Log: 'Battery is fully charged'" 6152 "Log: 'Charge leaves charge-and-balance mode'" 6152 "Log: 'Charge enters rebalance mode'" 6453 "Log: 'Battery not fully charged'" 6453 "Log: 'Charge leaves rebalance mode'" 6453 "Log: 'Charge enters charge-and-balance mode'" 6474 "Log: 'Battery is fully charged'" 6474 "Log: 'Charge leaves charge-and-balance mode'" 6474 "Log: 'Charge enters rebalance mode'" 6775 "Log: 'Battery not fully charged'" 6775 "Log: 'Charge leaves rebalance mode'" 6775 "Log: 'Charge enters charge-and-balance mode'" 6793 "Log: 'Battery is fully charged'" 6793 "Log: 'Charge leaves charge-and-balance mode'" 6793 "Log: 'Charge enters rebalance mode'" 7094 "Log: 'Battery is balanced'" 7094 "Log: 'Last Charge FSM state: rebalance'" 7094 "Left state CHARGE" 7094 "Entered state DISCHARGE" 7094 "Log: 'transitioning from CHARGE to DISCHARGE'"
💡
As charger is 44V 2A and charge algorithm refuse to let cells higher than
4.22V
charger never goes in CV mode. Instead it stays in CC mode at 2A, and the algorithm oscillate between charge-and-balance
and rebalance
until fully charged.