Merge pull request #383 from TechAUmNu/dev_fw_5_03

Tweak settings for A50S hardware
This commit is contained in:
Benjamin Vedder 2022-01-09 20:23:49 +01:00 committed by GitHub
commit 76f100f61a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 53 additions and 53 deletions

View File

@ -225,13 +225,13 @@
#define MCCONF_L_MIN_VOLTAGE 8.0 // Minimum input voltage #define MCCONF_L_MIN_VOLTAGE 8.0 // Minimum input voltage
#endif #endif
#ifndef MCCONF_L_MAX_VOLTAGE #ifndef MCCONF_L_MAX_VOLTAGE
#define MCCONF_L_MAX_VOLTAGE 56.0 // Maximum input voltage #define MCCONF_L_MAX_VOLTAGE 55.0 // Maximum input voltage
#endif #endif
#ifndef MCCONF_DEFAULT_MOTOR_TYPE #ifndef MCCONF_DEFAULT_MOTOR_TYPE
#define MCCONF_DEFAULT_MOTOR_TYPE MOTOR_TYPE_FOC #define MCCONF_DEFAULT_MOTOR_TYPE MOTOR_TYPE_FOC
#endif #endif
#ifndef MCCONF_FOC_F_ZV #ifndef MCCONF_FOC_F_ZV
#define MCCONF_FOC_F_ZV 35000.0 #define MCCONF_FOC_F_ZV 25000.0 // Switching frequency reduced to allow rise time of low side shunts
#endif #endif
#ifndef MCCONF_L_MAX_ABS_CURRENT #ifndef MCCONF_L_MAX_ABS_CURRENT
#define MCCONF_L_MAX_ABS_CURRENT 80.0 // The maximum absolute current above which a fault is generated #define MCCONF_L_MAX_ABS_CURRENT 80.0 // The maximum absolute current above which a fault is generated
@ -263,7 +263,7 @@
#define HW_LIM_VIN 4.0, 56.0 #define HW_LIM_VIN 4.0, 56.0
#define HW_LIM_ERPM -200e3, 200e3 #define HW_LIM_ERPM -200e3, 200e3
#define HW_LIM_DUTY_MIN 0.0, 0.1 #define HW_LIM_DUTY_MIN 0.0, 0.1
#define HW_LIM_DUTY_MAX 0.0, 0.99 #define HW_LIM_DUTY_MAX 0.0, 0.93 // Duty cycle limited to allow rise time of low side shunts
#define HW_LIM_TEMP_FET -40.0, 100.0 #define HW_LIM_TEMP_FET -40.0, 100.0
#endif #endif
@ -276,7 +276,7 @@
#define HW_LIM_VIN 4.0, 28.0 #define HW_LIM_VIN 4.0, 28.0
#define HW_LIM_ERPM -200e3, 200e3 #define HW_LIM_ERPM -200e3, 200e3
#define HW_LIM_DUTY_MIN 0.0, 0.1 #define HW_LIM_DUTY_MIN 0.0, 0.1
#define HW_LIM_DUTY_MAX 0.0, 0.99 #define HW_LIM_DUTY_MAX 0.0, 0.93 // Duty cycle limited to allow rise time of low side shunts
#define HW_LIM_TEMP_FET -40.0, 100.0 #define HW_LIM_TEMP_FET -40.0, 100.0
#endif #endif