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.

CURMOD Macro in Simulink

Hi,

I am implementing field oriented control for AC induction motor using TI's High Voltage kit in Simulink. I am using F28335 microcontller.

For the vector control of induction machine I need the rotor flux angle for park transformation which is calculated by the CURMOD marco in Code composer studio. But in simulink version of DMC library it is not present. Is there any method to use this macro directly in simulink?

  • Hello,

    I apologize for the delayed response. I've contacted MathWorks regarding your question and here is the feedback:

    There is currently not a block which implements this TI macro. You can use any of our custom code method to use this macro. You can use System object or S-functions to create a block.

    If you run into issues trying to build this, I'll follow up with MathWorks for assistance. Best of luck.

    Elizabeth