From 8a3821f3d0e92ad23f07b89528ec1359d2dedd2d Mon Sep 17 00:00:00 2001 From: Candas1 Date: Thu, 9 Jun 2022 15:39:17 +0200 Subject: [PATCH] Updated Setup current and speed limits (markdown) --- Setup-current-and-speed-limits.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Setup-current-and-speed-limits.md b/Setup-current-and-speed-limits.md index 074b916..c0df61d 100644 --- a/Setup-current-and-speed-limits.md +++ b/Setup-current-and-speed-limits.md @@ -2,8 +2,15 @@ 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).
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.
+⚠ 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.
+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). + ## :o: Speed Limit You can adjust N_MOT_MAX in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h) file to decrease/increase the speed limit(RPMs).
+ +⚠ 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.
+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). + This is only limiting the speed, the speed you will actually reach depends on: * The [battery](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Battery) you are using * [Control type/Control mode](https://github.com/EFeru/hoverboard-firmware-hack-FOC#foc-firmware)