From 0125bf0dc0da5e629c4b66c20dbda77a98006b1f Mon Sep 17 00:00:00 2001 From: juodumas Date: Sun, 3 May 2020 16:29:40 +0300 Subject: [PATCH] Update config.h current limiting comments --- Inc/config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Inc/config.h b/Inc/config.h index 7631376..b8ffd51 100644 --- a/Inc/config.h +++ b/Inc/config.h @@ -130,13 +130,13 @@ #define DIAG_ENA 1 // [-] Motor Diagnostics enable flag: 0 = Disabled, 1 = Enabled (default) // Limitation settings -#define I_MOT_MAX 15 // [A] Maximum motor current limit -#define I_DC_MAX 17 // [A] Maximum DC Link current limit (This is the final current protection. Above this value, current chopping is applied. To avoid this make sure that I_DC_MAX = I_MOT_MAX + 2A) +#define I_MOT_MAX 15 // [A] Maximum single motor current limit +#define I_DC_MAX 17 // [A] 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 I_DC_MAX = I_MOT_MAX + 2A) #define N_MOT_MAX 1000 // [rpm] Maximum motor speed limit // Field Weakening / Phase Advance #define FIELD_WEAK_ENA 0 // [-] Field Weakening / Phase Advance enable flag: 0 = Disabled (default), 1 = Enabled -#define FIELD_WEAK_MAX 5 // [A] Maximum Field Weakening D axis current (only for FOC). Higher current results in higher maximum speed. +#define FIELD_WEAK_MAX 5 // [A] Maximum Field Weakening D axis current (only for FOC). Higher current results in higher maximum speed. Up to 10A has been tested using 10" wheels. #define PHASE_ADV_MAX 25 // [deg] Maximum Phase Advance angle (only for SIN). Higher angle results in higher maximum speed. #define FIELD_WEAK_HI 1500 // [-] Input target High threshold for reaching maximum Field Weakening / Phase Advance. Do NOT set this higher than 1500. #define FIELD_WEAK_LO 1000 // [-] Input target Low threshold for starting Field Weakening / Phase Advance. Do NOT set this higher than 1000.