Skip to content

Feature/low pass filter#2219

Open
mbuhansen wants to merge 7 commits intodalathegreat:mainfrom
mbuhansen:feature/low-pass-filter
Open

Feature/low pass filter#2219
mbuhansen wants to merge 7 commits intodalathegreat:mainfrom
mbuhansen:feature/low-pass-filter

Conversation

@mbuhansen
Copy link
Copy Markdown
Contributor

What

This PR implements a low pass filter on charge rate that is sent to inverter, to prevent oscillation when battery is charging

Why

Why does it do it?

How

Low pass filter only allow increasing values (10% new, 90% old)

Comment thread Software/Software.cpp
@mbuhansen
Copy link
Copy Markdown
Contributor Author

I have move it to bmw i3 protocol.

Comment thread Software/Software.cpp
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you revert all changes to Software.cpp?

…and discharge power calculations"

This reverts commit bbe8c9a.
@mbuhansen
Copy link
Copy Markdown
Contributor Author

I have revert change back to software.cpp
I think it would be a good idea to make it an on/off setting, so other battery protocols can use it if they experience oscillation in charging current due to fast regulation.

@dalathegreat
Copy link
Copy Markdown
Owner

Yes can you add a configurable option? Or do you need help with it?

@mbuhansen
Copy link
Copy Markdown
Contributor Author

I have changed it so that it can be turned on and off in inverter config on the setting page.

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.

2 participants