buhnen
Member
Hi all dear fellows...
I'm sure any of you might have seen any of my posts in this forum, almost always going around the same topic : PID, PIDE.
The matter is that I've been gathering along these last months quite much useful information posted here (Once again, thanks specially Ron Beafourt for sharing all your vast knowledge on the matter with us) but it hasn't yet come to me the chance to go in the "fine-programmation" of my project which involves the PIDE programming ( I'm waiting to be sent to the working place where the project is being perfomed : a water treatment plant)
So, yes, I've got huge loads of tips,technical literature, posts dealing with his to be read...and so on. But all of this information in hands of an unexperienced (and almost self-taught made) programmer is just seeming to me to be like having thousand pieces of a puzzle, other words: like I got a fragmentary approach to the PIDE programming but not a global and practical vision I can make sense of it.
So as a last attempt, I just wanted to post here with enough level of detail how exactly my application is about and listen to all of your tips.
Description of the process:
- A water tank getting filled of water from a pipe on the top of it.
- A floating high-level switch at the top for a purpose that is not a need to be understood here by now.(excuse my poor technical english guys).
- A floating low-level switch at the bottom (It must always be TRUE, otherwise the water pumping out process will be inmediately stopped)
-A LIT (level transmitter 4-20 mA) which is my analogic input feeding the PV parametre to the PIDE block and is going through a 1769 IF8 analogic input card.
Detecting the water filling level.
-Two pumps: Lead and Lag. The lead on is linked to a speedrive's and the lag pump is started straightly. The speeddrive analogic input gets the PIDE's CV through a 1769-OF8C analogic output (the CPU is a 1769-L32E).
When the lead pump can't control the process by itself, for example, when it's raining and the water flowing in to the tank increases drastically, the lag pump must be started helping to support the pump out process. Once the water level is again under control and the CV suits the pre-selected Setpoint (with its associated deadband;the water level in tank must be at a medium level) , the lag pump will be stopped. We have a preselected Program Setpoint, say 50%, and we'll be able to change the Setpoint value from a HMI device whenever we want to (always within the range of allowed values)
As you all can see,the application isn't complex. I have decided to choose the PIDE and not the PID mainly because of the option it offers for toggling in a clear way between the two mode states (Operator and Program) without being necessary any extra rungs of code and for avoiding also problems like bumped transfers. If I'm not wrong the PIDE block simplifies these tasks quite a lot. Secondly: because of the autotuning option which I reckon it'd simplify the PID loop tuning. And also,generally speaking, because the PIDE seems to be a more complex tool and therefore a thriller "programming challenge".But this is quite a personal estimation...
Specificlly my doubt is: what parametres,among the vast quantity of them, are strictly those ones I'd need for this application? This is what currently overwhelms me the most about working with the PIDE, because I don't even know where to start from with them. I let for a later time all the rest which is related to the autotuning, but by now: what should be my starting point when trying to pick out the right set of parametres and manage how to understand the way they are related to each others?
Looking despairingly for some tips which provide me a practical approach to the PIDE...
Thanks in advance.
I'm sure any of you might have seen any of my posts in this forum, almost always going around the same topic : PID, PIDE.
The matter is that I've been gathering along these last months quite much useful information posted here (Once again, thanks specially Ron Beafourt for sharing all your vast knowledge on the matter with us) but it hasn't yet come to me the chance to go in the "fine-programmation" of my project which involves the PIDE programming ( I'm waiting to be sent to the working place where the project is being perfomed : a water treatment plant)
So, yes, I've got huge loads of tips,technical literature, posts dealing with his to be read...and so on. But all of this information in hands of an unexperienced (and almost self-taught made) programmer is just seeming to me to be like having thousand pieces of a puzzle, other words: like I got a fragmentary approach to the PIDE programming but not a global and practical vision I can make sense of it.
So as a last attempt, I just wanted to post here with enough level of detail how exactly my application is about and listen to all of your tips.
Description of the process:
- A water tank getting filled of water from a pipe on the top of it.
- A floating high-level switch at the top for a purpose that is not a need to be understood here by now.(excuse my poor technical english guys).
- A floating low-level switch at the bottom (It must always be TRUE, otherwise the water pumping out process will be inmediately stopped)
-A LIT (level transmitter 4-20 mA) which is my analogic input feeding the PV parametre to the PIDE block and is going through a 1769 IF8 analogic input card.
Detecting the water filling level.
-Two pumps: Lead and Lag. The lead on is linked to a speedrive's and the lag pump is started straightly. The speeddrive analogic input gets the PIDE's CV through a 1769-OF8C analogic output (the CPU is a 1769-L32E).
When the lead pump can't control the process by itself, for example, when it's raining and the water flowing in to the tank increases drastically, the lag pump must be started helping to support the pump out process. Once the water level is again under control and the CV suits the pre-selected Setpoint (with its associated deadband;the water level in tank must be at a medium level) , the lag pump will be stopped. We have a preselected Program Setpoint, say 50%, and we'll be able to change the Setpoint value from a HMI device whenever we want to (always within the range of allowed values)
As you all can see,the application isn't complex. I have decided to choose the PIDE and not the PID mainly because of the option it offers for toggling in a clear way between the two mode states (Operator and Program) without being necessary any extra rungs of code and for avoiding also problems like bumped transfers. If I'm not wrong the PIDE block simplifies these tasks quite a lot. Secondly: because of the autotuning option which I reckon it'd simplify the PID loop tuning. And also,generally speaking, because the PIDE seems to be a more complex tool and therefore a thriller "programming challenge".But this is quite a personal estimation...
Specificlly my doubt is: what parametres,among the vast quantity of them, are strictly those ones I'd need for this application? This is what currently overwhelms me the most about working with the PIDE, because I don't even know where to start from with them. I let for a later time all the rest which is related to the autotuning, but by now: what should be my starting point when trying to pick out the right set of parametres and manage how to understand the way they are related to each others?
Looking despairingly for some tips which provide me a practical approach to the PIDE...
Thanks in advance.