higher phase advance
This commit is contained in:
parent
40eb4916f9
commit
40e051cb5c
|
@ -4,8 +4,8 @@
|
|||
|
||||
|
||||
//Select the calibration values for the different pcbs
|
||||
#define BOBBYCAR_PCB_FRONT //Green PCB. black programming cable. outer power button
|
||||
//#define BOBBYCAR_PCB_REAR //Blue PCB. with XT60-U, beige programming cable. inner power button
|
||||
//#define BOBBYCAR_PCB_FRONT //Green PCB. black programming cable. outer power button
|
||||
#define BOBBYCAR_PCB_REAR //Blue PCB. with XT60-U, beige programming cable. inner power button
|
||||
//#define HOVERBRETT //Green PCB in Hoverbrett
|
||||
|
||||
#include "stm32f1xx_hal.h"
|
||||
|
@ -213,7 +213,7 @@
|
|||
// Field Weakening / Phase Advance
|
||||
#define FIELD_WEAK_ENA 1 // [-] 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. Up to 10A has been tested using 10" wheels.
|
||||
#define PHASE_ADV_MAX 10 // [deg] Maximum Phase Advance angle (only for SIN). Higher angle results in higher maximum speed. Default: 25. gives around 1500rpm at full throttle. (10=850-900rpm)
|
||||
#define PHASE_ADV_MAX 15 // [deg] Maximum Phase Advance angle (only for SIN). Higher angle results in higher maximum speed. Default: 25. gives around 1500rpm at full throttle. (10=700-900rpm ~26kmh)
|
||||
#define FIELD_WEAK_HI 1000 // (1000, 1500] Input target High threshold for reaching maximum Field Weakening / Phase Advance. Do NOT set this higher than 1500.
|
||||
#define FIELD_WEAK_LO 750 // ( 500, 1000] Input target Low threshold for starting Field Weakening / Phase Advance. Do NOT set this higher than 1000.
|
||||
|
||||
|
|
Loading…
Reference in New Issue