PSIM general code Task and interrupt task

User: "Hallay"
Altair Community Member

Description:

Hello,

I wonder to let motor control current loop in a interrupt task and speed loop in another interrupt task.

In PSIM example "DRV 8301-HC-C2 PMSM", current loop is in a interrupt task, but speed loop is in "task."

image.png image.png

What should I do in PSIM model to let my purpose achieve ?

thank you

Product/Topic Name : PSIM 2023.0

 

Find more posts tagged with