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.

TIDA-010938: How to reduce the execution time for Interrupt ISR if ISR fre. 21.667KHZ.

Part Number: TIDA-010938


Tool/software:

Dear Concern 

I hope you are doing well.

Actually, we have some issue during the development of our project and i have mentioned all issue one by one for better clarification:

  1. Found ISR Interrupt execution time is differ in debugging mode and in free run mode.
  2. how to improve the Grid feed Current THD because i have already done lot of changes in hardware by improving our LCL filter by still our THD is very high more than that 30% for reference I have attached the picture
  3. Request if you guide the software algorithm for SPLL, DCL loop & Harmonic correction and how's it's working so that we can easily short out the problem.  
  • Hi,

    1) i suggest you to check the compiler settings. it can be that the right optimization is not selected.

    2) i suggest you to check the fft of the current and see which harmonic is impacting. In case you would like to decrease an harmonic you need to tune properly the corrispective resonant controller.

    3) these topics are generic to C2000 and multiple domain. I suggest you to look for past thread about this topic on E2E. In case you do not find the right answer, please open other thread.

  • Hi 

    1.  I have already change optimization setting but still the problem will be same and if you can check in your end with same example code and build in launchpad so can easily check issue and maybe you suggest fast.

    2. ok first we will tune the value of proportional resonant and after that if we are facing the same issue then again raise the issue for your suggestion via may be video conference or any platform in which you are comfortable.

    3. ok first we will check.

  • Hi

    1) how much % of the ISR are you measuring ?

    2) I suggest you to open other E2E about the single topic if problem persists.

  • hi 

    1. during debug mode @ 21.66khz ISR positive width observe 15us but during free run same ISR routine shows time 36usec.

    2. ok i will check