please i need help for
how can i know the rate of each MAKRO in DMC MATH? what can I understand from the Colors of each MACRO?
thanks
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.
please i need help for
how can i know the rate of each MAKRO in DMC MATH? what can I understand from the Colors of each MACRO?
thanks
Hi, Ahmed
To interpret the 1st question, I'll take an example. To IQmath_v15c (a lib of DMC MATH), you could find the document in the folder: C:\ti\controlSUITE\libs\math\IQmath\v15c\doc. In this document, you could see the following table:
In the item of Execution Cycles, you could find the rate of the MACROs.
For the second question, I need your further interpretation of the COLOR.
Axel
Ahmed,
I'm sorry that I'm not sure about that. However, from the program I could see that each macro is executed with the order of the signal flow in each interruption (ISR function). I don't know what is the sample time. Do you mean the frequency of execution?
Axel
Hi, Ahmed,
I don't think that the different color means the different frequency of execution.
Axel
Hi, Ahmed,
I think that the image you show me is a block diagram of FOC algorithm. I'll show you an example:
C:\ti\controlSUITE\development_kits\DRV830x-HC-C2-KIT_v104\PM_Sensorless where you'll find a CCS project of FOC algorithm with sensorless-PMSM. And the Doc is at the location of C:\ti\controlSUITE\development_kits\DRV830x-HC-C2-KIT_v104\PM_Sensorless\~Doc .
The block diagram is similar to yours. And in the code (with compiling option Level 7), you'll find out the macros in the diagram is executed in the interruption function: MainISR, which is triggered by EPWM module. And the order of execution follows the direction of the arrows. So, I think the execution frequency of each macro in the control circuit is same.
Axel