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

Maintaining a constant max current #485

Open
Zeurus09 opened this issue May 4, 2024 · 3 comments
Open

Maintaining a constant max current #485

Zeurus09 opened this issue May 4, 2024 · 3 comments
Labels
question Further information is requested

Comments

@Zeurus09
Copy link

Zeurus09 commented May 4, 2024

Variant

PWM

Control type

FOC

Control mode

Speed

Description

Good afternoon! When the maximum current (I_MOT_MAX) is reached, the controller stops and to restart it, you need to press the power button. Is it possible to set up so that the controller only limits the maximum current, but does not turn off?
This is relevant for FOC_CTRL mode with SPD_MODE.
Thank you.

@Zeurus09 Zeurus09 added the question Further information is requested label May 4, 2024
@Candas1
Copy link
Collaborator

Candas1 commented May 5, 2024

Read the battery section of the wiki.

@Zeurus09
Copy link
Author

Zeurus09 commented May 7, 2024

Read the battery section of the wiki.

Thanks, but I didn't find anything useful on my topic there.
For those who come across this:

  1. The board tries to keep the maximum current specified in the I_MOT_MAX variable. However, the jumps reach 50%. With a limit of 10A, the current reached 15A.
  2. If the wheel does not turn, an emergency shutdown will work. To prevent this from happening, you need to comment out the DIAG_ENA parameter. Here's more about it:
    https://githubissues.com/EFeru/hoverboard-firmware-hack-FOC/367

However, it is not clear what risks the shutdown of DIAG_ENA carries. Neither the wheel nor the board got hot under my loads. I hope nothing breaks)

@Candas1
Copy link
Collaborator

Candas1 commented Jun 17, 2024

I wrote this wiki section so I know it helps on your topic.
It lists all the reasons the board might shutdown, whether it's due to the firmware of your BMS.
DIAG_ENA will not shutdown the board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants