Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: bms_ic: rework balancing control #57

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

martinjaeger
Copy link
Member

Switching between automatic and manual balancing requires to enter config update mode for the bq769x2. During config update mode, all measurements and protections are disabled. As also stated in the datasheet, this mode should only be activated for initial configuration (before actual operation of the battery).

This means that we have to decide regarding automatic or manual balancing operation at the very beginning and only allow manually setting the switches if we are not in automatic balancing mode.

This behavior makes sense also for other drivers than the bq769x2, as an application firmware would either control balancing itself or let the chip/driver control balancing autonomously. It is not required to switch between automatic and manual balancing while the BMS is in operation.

@martinjaeger martinjaeger force-pushed the auto-balancing-rework branch 2 times, most recently from c9ba27e to 61a9656 Compare February 24, 2024 21:10
Switching between automatic and manual balancing requires to enter
config update mode for the bq769x2. During config update mode, all
measurements and protections are disabled. As also stated in the
datasheet, this mode should only be activated for initial configuration
(before actual operation of the battery).

This means that we have to decide regarding automatic or manual
balancing operation at the very beginning and only allow manually
setting the switches if we are not in automatic balancing mode.

This behavior makes sense also for other drivers than the bq769x2,
as an application firmware would either control balancing itself
or let the chip/driver control balancing autonomously. It is not
required to switch between automatic and manual balancing while the
BMS is in operation.
@martinjaeger martinjaeger force-pushed the auto-balancing-rework branch from 61a9656 to cfd5ebb Compare March 15, 2024 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant