cancel
Showing results for 
Search instead for 
Did you mean: 

Electrical angle interpolation option in MC WB

AnthonyK
Associate III

Hello,

I am trying to enable electrical angle interpolation option in MC WB for the hall sensor, however, I am not seeing any changes in the generated code. I think this option is related to the REV_PARK_ANGLE_COMPENSATION_FACTOR since it is used to calculate the electrical angle based on the speed. is it correct? if no, which part of the code is changed?

 

Thank you

/****** Hall sensors ************/
#define HALL_AVERAGING_FIFO_DEPTH           16 /*!< depth of the FIFO used to average  mechanical speed in 0.1Hz resolution */
#define HALL_MTPA                            false

/* USER CODE BEGIN angle reconstruction M1 */
#define PARK_ANGLE_COMPENSATION_FACTOR      0
#define REV_PARK_ANGLE_COMPENSATION_FACTOR  0
/* USER CODE END angle reconstruction M1 */

 

 

0 REPLIES 0