mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-04 18:14:28 +02:00
Updated Setup current and speed limits (markdown)
@@ -3,7 +3,9 @@ I_MOT_MAX parameter is the maximum single motor current limit in Amps. It uses t
|
||||
I_DC_MAX parameter is the maximum stage 2 DC Link current limit in Amps. It uses the DC current and is the only current protection for Commutation and Sinusoidal control types. Above this value, current chopping is applied.<br>
|
||||
|
||||
To avoid both current limitation to compete when using FOC, set I_DC_MAX to I_MOT_MAX + 2A.<br>
|
||||
Some boards are missing the components to measure the DC current, this means current limiting won't work with Commutation and Sinusoidal, FOC control type should be used in this case.
|
||||
|
||||
Some boards are missing the components to measure the DC Link current, so the current measured on PC0/PC1 will be zero, this means current limiting won't work with Commutation and Sinusoidal, FOC control type should be used in this case.<br>
|
||||
<img src="https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/main/docs/pictures/mainboard_pinout.png" width="700"><br>
|
||||
|
||||
⚠ Current and speed limits will be stored in flash memory if you set them up on the go or if you do the auto-calibration, so changing it in config.h file won't have any effect anymore. It will be only erased from flash memory if you fully delete memory before flashing.<br>
|
||||
An alternative to bypass those settings is to change **FLASH_WRITE_KEY** in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h).
|
||||
|
Reference in New Issue
Block a user