PI Controller Employing TI DMC Blocks / Auto Code Generation

Altair Forum User
Altair Forum User
Altair Employee
edited August 2023 in Community Q&A

Hello,

I am working on field-oriented control of PMSM. I was able to control the speed and d-q axis currents in the continuous domain simulations. However, discrete domain simulation to implement auto code generation is not tracking currents properly despite speed tracking is accurate. I am using TI DMC blocks to implement the PI controllers without reset.

Any suggestions to fix this problem would be appreciated!

Thanks
Chandra Sekhar

Tagged:

Answers

  • Rhonda_20369
    Rhonda_20369 New Altair Community Member
    edited August 2023

    When converting your controller from s-domain to z-domain, the digitization produces some delays due to the sampling. Your system dynamic response must be reevaluated, and the controllers redesigned.