PI controller behaves different for step-up and step-down



  • I was trying to use the built-in PI controller only to find out that it is behaving unexpectedly. When stepping up, it works as expected - Proportional term kicks in and afterwards the Integrating term makes it to the desired value. But when stepping down, no action of the P term is observed and a big undershoot happens.
    0_1568147847270_pi_control_axon.png
    Is this normal and is this an intended behaviour? If so, what is the purpose? And how to make the PI controller behave in a symmetrical way?

    This older post asks moreorless the same question, but there is no reply: P term cutoff in PID controller :-(


  • administrators

    Can you provide screenshot where we could see the configuration of the PI controller with all the parameters?



  • Here are the parameters. In the meantime, I have switched to B34 as I was trying to find the difference between the two PI controllers provided by Mervis. Can you please explain when to use B34 and B35?

    Thx.

    0_1568328646285_mervis_pi_parameters.png


  • administrators

    B34 is cooling but B35 is heating controller. We suggest to set the followin PI parameters Xp=between 10 and 50; Ti = between 100 and 150. Or use a PID controller



  • Thanks for the reply @tomas_hora although not very useful. As you can see from the graph in my original post, the Xp and Ti parameters are correctly set. Stepping up from 2 to 3, the PI controller works fine. Stepping down from 3 to 2, the behavior is strange and unexpected. Neither changing the parameters nor switching to PID control solves the problem.

    Also your reply about the B34 and B35 blocks does not bring any useful information. I can see the heating/cooling description in the title of the block. I'm trying to control pressure. Which one should I use then? The documentation is the same for both blocks.

    Please explain. Thanks.