How to get PI controller to work for PMSM current control in Activate?

Jazib
Jazib Altair Community Member
edited August 2023 in Community Q&A

Hi,

I have a motor model in Flux 2D which I am exporting to Activate for building current control. When I use PI controllers to generate Vd* and Vq* my model runs into some algebraic loops. So, I used loop breaker block to get rid of this issue. The loop breaker block seems to function perfectly well when I use a very simple system as my "plant" but as soon as I put my motor block, the simulation (although running) doesn't show any results, which may be because of lack of convergence. I also tried to use Memory block, but that still doesn't help.

Has someone faced this issue before and know how to troubleshoot?

Answers

  • João Marabisa
    João Marabisa
    Altair Employee
    edited August 2023

    Hi @Jazib,

    Instead of connecting the "motor block" with the complete closed-loop system, please give a trying using a simple (known) input and analyzing the output.

    Maybe you're problem is running the "motor block" due to exportation mode.

    Do you have any output file on the current directory?