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

Battery power max in Basic settings with 48V 750W battery & 500W motor? #82

Open
kiwisibk opened this issue Sep 21, 2023 · 1 comment
Open

Comments

@kiwisibk
Copy link

kiwisibk commented Sep 21, 2023

As the subject says, with a 48V 750W battery, what value should I enter in "Battery power max (W)" in "Basic settings" when using a 500W motor?

Thank you

@dzid26
Copy link

dzid26 commented Sep 21, 2023

It's just electrical power. It's somewhat meaningless because it is not mechanical power which depends on motor speed and motor characteristics.
From a hardware protection point of view, this value also doesn't matter directly. Maximum current is what matters (both for the motor and the battery)!
Since battery voltage is somewhat stable, this value is basically another way to limit the current. I guess. For people who perhaps know rated battery pack power, but don't know the max current... or Ohm's law. I = P / U.

uint32_t ui32_battery_current_max_x100 = ((uint32_t) ui8_target_battery_max_power_div25 * 2500000)
/ ui16_battery_voltage_filtered_x1000;

In practice, if the battery voltage drops a bit, then the current value limit based on the battery power will increase a bit. Which is the opposite of what you want to happen, if you want to protect the cells.
Additionally, you will be getting a bit more torque at lower battery voltage (but slower max cadence nevertheless due to bemf and physics), which is not desired either.

In conclusion, just set it to a high value (800), don't rely on it, and protect the battery and the motor using Battery Current Max.

Someone, please let me know if I missed something :)

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

No branches or pull requests

2 participants