mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-05 02:24:26 +02:00
Updated Setup current and speed limits (markdown)
@@ -1,7 +1,9 @@
|
|||||||
## :zap: Current Limit
|
## :zap: Current Limit
|
||||||
I_MOT_MAX parameter is the maximum single motor current limit, you can adjust in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h) file to decrease/increase current limit(Amps).<br>
|
I_MOT_MAX parameter is the maximum single motor current limit in Amps. It uses the phase current and is only used with FOC control type.<br>
|
||||||
I_DC_MAX parameter is the maximum stage2 DC Link current limit for Commutation and Sinusoidal types (This is the final current protection). Above this value, current chopping is applied. To avoid this make sure that should be set it to I_MOT_MAX + 2A.<br>
|
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>
|
||||||
Some boards are missing the components to measure the DC current, this means current limiting won't work with Commutation and Sinusoidal, FOC should be used in this case.
|
|
||||||
|
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.
|
||||||
|
|
||||||
⚠ 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>
|
⚠ 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).
|
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