► 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:
EmanuelFeru
2019-06-11 21:24:08 +02:00
parent b828efffd5
commit bf9725159d
82 changed files with 11103 additions and 8747 deletions

View File

@@ -3,22 +3,22 @@ this.def = new Array();
this.def["rtM_"] = {file: "ert_main_c.html",line:29,type:"var"};
this.def["rtMPtr"] = {file: "ert_main_c.html",line:30,type:"var"};
this.def["rtP"] = {file: "ert_main_c.html",line:31,type:"var"};
this.def["rtDW"] = {file: "ert_main_c.html",line:88,type:"var"};
this.def["rtU"] = {file: "ert_main_c.html",line:89,type:"var"};
this.def["rtY"] = {file: "ert_main_c.html",line:90,type:"var"};
this.def["rt_OneStep"] = {file: "ert_main_c.html",line:104,type:"fcn"};
this.def["main"] = {file: "ert_main_c.html",line:140,type:"fcn"};
this.def["rtDW"] = {file: "ert_main_c.html",line:103,type:"var"};
this.def["rtU"] = {file: "ert_main_c.html",line:104,type:"var"};
this.def["rtY"] = {file: "ert_main_c.html",line:105,type:"var"};
this.def["rt_OneStep"] = {file: "ert_main_c.html",line:119,type:"fcn"};
this.def["main"] = {file: "ert_main_c.html",line:155,type:"fcn"};
this.def["plook_u8s32u32n31_evenc_s"] = {file: "BLDC_controller_c.html",line:93,type:"fcn"};
this.def["intrp1d_s16s32s32u8u32n31l_s"] = {file: "BLDC_controller_c.html",line:127,type:"fcn"};
this.def["div_nde_s32_floor"] = {file: "BLDC_controller_c.html",line:143,type:"fcn"};
this.def["BLDC_controller_step"] = {file: "BLDC_controller_c.html",line:150,type:"fcn"};
this.def["BLDC_controller_initialize"] = {file: "BLDC_controller_c.html",line:663,type:"fcn"};
this.def["BLDC_controller_initialize"] = {file: "BLDC_controller_c.html",line:666,type:"fcn"};
this.def["RT_MODEL"] = {file: "BLDC_controller_h.html",line:35,type:"type"};
this.def["DW"] = {file: "BLDC_controller_h.html",line:58,type:"type"};
this.def["ConstP"] = {file: "BLDC_controller_h.html",line:116,type:"type"};
this.def["ExtU"] = {file: "BLDC_controller_h.html",line:124,type:"type"};
this.def["ExtY"] = {file: "BLDC_controller_h.html",line:133,type:"type"};
this.def["P"] = {file: "BLDC_controller_h.html",line:173,type:"type"};
this.def["P"] = {file: "BLDC_controller_h.html",line:184,type:"type"};
this.def["rtConstP"] = {file: "BLDC_controller_data_c.html",line:27,type:"var"};
this.def["int8_T"] = {file: "rtwtypes_h.html",line:55,type:"type"};
this.def["uint8_T"] = {file: "rtwtypes_h.html",line:56,type:"type"};