This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS320F28035: PMSM FOC with Hall sensor project issues.

Part Number: TMS320F28035

Tool/software: Code Composer Studio

Hi All.

• I'm using TMS320F28035 controller to develop FOC code for PMSM motor with Hall sensor.
• I've isr timer running at 2khz , switching frequency of my mosfet is 10khz (epwm1b, epwm2b, epwm3b) , ecap module is also included.
• When I run motor via ramp control , I am able to sense speed via ecap module.
• However , when i make position calculation transition from ramp control to position calculation from data received from hall sensors, speed of my motor decays with time.
I don't think I am doing anything wrong codewise . But still I want to know the reason why speed decayed.