Tuning cascaded PI controllers for voltage and current loops in dq frame

Jayvie Gabriel Templonuevo
Jayvie Gabriel Templonuevo Altair Community Member
edited August 17 in Community Q&A

Hi everyone!

I am working on the voltage and current control loops of an inverter in the dq frame with droop control for the generation of reference. The system is an AC stacked grid connected two stage PV inverter. Do you have suggestions or steps on tuning the PI controllers. Currently, I have followed suggestions of tuning the current first then the voltage but so far, my controllers keep on saturating after some time. I have also tried with a constant DC source first to simplfy the tuning process but the gain values I get as stable with a constant DC source still saturates the PI controllers when used with a PV system. I have no access to SmartCtrl sadly. I have attached my PSIM files below.

Tagged:

Answers

  • Rhonda_20369
    Rhonda_20369 New Altair Community Member
    edited August 14

    There are some PSIM video tutorials you should watch to learn the "steps on tuning the PI controllers".

    Please use PSIM's "Help >> Video Tutorials >> Power Supply Design".

     

    I have noticed that you have oscilloscopes at all the voltage probe nodes. Is it because you want to observe the waveforms during simulation? You don't need both probe and scope at the same node.

    You may double click the voltage probe and check the box for "Runtime graph".

     

    Sincerely,

    Rhonda

  • Jayvie Gabriel Templonuevo
    Jayvie Gabriel Templonuevo Altair Community Member
    edited August 16

    There are some PSIM video tutorials you should watch to learn the "steps on tuning the PI controllers".

    Please use PSIM's "Help >> Video Tutorials >> Power Supply Design".

     

    I have noticed that you have oscilloscopes at all the voltage probe nodes. Is it because you want to observe the waveforms during simulation? You don't need both probe and scope at the same node.

    You may double click the voltage probe and check the box for "Runtime graph".

     

    Sincerely,

    Rhonda

    Hi Rhonda!

    Thank you very much for your suggestions. Yes, I use it to observe the waveforms so I can check if the outputs are okay on the fly instead of waiting for the simulation to end.

    The videos in the power supply design use smart control to tune the pi controllers afterwards and unfortunately, I dont have access to it.

  • Albert_Dunford
    Albert_Dunford
    Altair Employee
    edited August 16

    Hi Rhonda!

    Thank you very much for your suggestions. Yes, I use it to observe the waveforms so I can check if the outputs are okay on the fly instead of waiting for the simulation to end.

    The videos in the power supply design use smart control to tune the pi controllers afterwards and unfortunately, I dont have access to it.

    Jayvie,

    Are you a student or commercial? Commercial users can access smartctrl through our APA tools, for students I can ask the developers of smartctrl to get in touch.

    That being said, I neat trick is to use PSIM in free run mode and use the runtime variables. You an setup a control signal and slowly tune the control manually. You could also brute force with a script.

  • Jayvie Gabriel Templonuevo
    Jayvie Gabriel Templonuevo Altair Community Member
    edited August 17

    Jayvie,

    Are you a student or commercial? Commercial users can access smartctrl through our APA tools, for students I can ask the developers of smartctrl to get in touch.

    That being said, I neat trick is to use PSIM in free run mode and use the runtime variables. You an setup a control signal and slowly tune the control manually. You could also brute force with a script.

    Hi Albert!

    I'm a student. I will try to use the free run mode. I am not familiar with the use of script tool in PSIM.