r/processcontrol • u/MCPONSDogSays • Sep 20 '21
Siemens controller - PID tuning
I've got an RWF50.3 controller with a Siemens valve attached. I'm just starting the process of fine tuning it (and looking forward to doing the deep dive on the theory). Before I jump down the rabbit hole, though, I have a question. This is controlling the level of water in a tank. Output pump starts up, water goes down. Water valve opens, water level comes back up. The challenge is that the tank also has a semi-random amount of water that comes into the tank through a different port, not the valve. The controller shuts the valve (shutting the water off) when the level rises just fine. Then, the water keeps rising. Eventually, the pump kicks on and pumps some water out.
Are the classic models and theory going to hold up in this case, because of the 2nd input? We did use the self-tune feature, and it's working fairly well, but the whole level shifting action is occuring above the setpoint, because of all the extra water in the tank.
If anyone already knows that this scenario is extra whack and I will need to look at it with different tools or formulas, I appreciate a heads up. If it's super easy, a point in the right direction is also very much appreciated. Thanks!
View all comments
Show parent comment
2
u/MCPONSDogSays Sep 22 '21
Thanks for answering, it is so helpful. Sorry for the delay, been hard at work collecting the data! All your assumptions about how we are using it are correct. I made a series of charts that show the water level and and plotted when the pumps came on, off, etc. We studied everything and came up with something that worked, through a mix of trial and error and hopefully educated guesses.
I appreciate the mention of integral windup. We looked it up, and the Siemens guy mentioned it, and it all makes much more sense now.
Having said that, I wish I could "math it out". I called Siemens to ask if they knew what formula applied, and the dude just wouldn't shut up about what I "ought" to do, even though I told him it's working fine. He did have some simple explanations of what the settings do, which at least that was helpful.
I'm taking a calculus class, so some day I hope to actually solve a math problem at work using my education (maybe in a few more classes!).
Anyway, I really appreciate your help, it pointed us in the right direction to understand how to set up our not-quite-typical system.
Have a fabulous day!