forked from lucysrausch/hoverboard-firmware-hack
► Added speed threshold to enable Phase Advance
- Phase Advance is enabled only when Motor Speed > n_motPhaAdvEna (400 rpm). This prevents that during a kick-down (100% duty cycle) the Phase advance kicks in even though we are running at low speed. - This update improves the acceleration response - no impact on code execution time
This commit is contained in:
@ -3,8 +3,8 @@ function CodeMetrics() {
|
||||
this.metricsArray.var = new Array();
|
||||
this.metricsArray.fcn = new Array();
|
||||
this.metricsArray.fcn["BLDC_controller_initialize"] = {file: "D:\\git\\hoverboard-firmware-hack\\01_Matlab\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 8,
|
||||
stackTotal: 8};
|
||||
stack: 16,
|
||||
stackTotal: 16};
|
||||
this.metricsArray.fcn["BLDC_controller_step"] = {file: "D:\\git\\hoverboard-firmware-hack\\01_Matlab\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 60,
|
||||
stackTotal: 69};
|
||||
|
Reference in New Issue
Block a user