Current Filtering

Discussions regarding the Field Oriented Control (FOC) implementation on the VESC.
beak90
Posts: 8
Joined: 07 Apr 2017, 02:45
Location: Los Angeles

Current Filtering

Postby beak90 » 24 Apr 2017, 23:21

Is there any code implemented to filter the current sense signals? The BLDC tool has the current filters in the current tab, and I got pretty good results filtering the data with an FIR filter. This seems like it would be pretty complicated to implement into the code myself. Since this was in the current tab, I figured it might be implemented in the firmware somewhere.

I did try changing the filter time constant (MCPWM_FOC_I_FILTER_CONST) in mcpwm_foc.h but it didn't seem to change anything. It looks like the firmware only uses the filtered value for overload sensing.

Return to “FOC”

Who is online

Users browsing this forum: No registered users and 1 guest