Hello,
Sorry about long silence from my side, but i was out of city during weekend. Peter, you did great work ! I will need some time to understand all these equations.
Today i did some more experiments. We must correct our data. We have problem with flowmeters, im not sure that they are do their measurements correctly. Anyway ... Frequency converter has been updated with new software, flowmeters had been changed too. It is what i got during today experiments:
Maximal pump flow (at 100%) is 1530 cubic meters per hour
Pump needs 25 seconds (!!!) to reach speed from 0 to 100%
At inlet flow equal 1520 cubic meters per hour, and with all pumps turned OFF, level in tank rised from 2 to 2.8 meter in 65 seconds.
These data should allow everybody who would like, to make new mathematical model. Im doing it right now.
And about our PID values. You know ... in my company nobody even tried to make any model, they just do their work, set some PID parameters to have regulation "good enought", and just leave it. Im first who want make it in some more scientific way, to calculate PID parameters before system will be ready. I would like to check few ways of normal PID regulation or maybe some advanced regulation to pick up best solutions, i think that it will be precious for me in my future. I dont wanna make "good enought" systems, i do want learn to make very good ones.
This quite simple object with tank and one pump is working already at typical simple PID, so im making model only to practice, to check, and maybe to make it work better. In this object i saw few problems which should be solved by correct PID parameters, or by using other regulation alghoritm, and model should help me to check other solutions.
What is main problem .... :
- making "fast" PID regulator allows pump "react" faster if inlet flow rise will occur, this should prevent us from eventual tank overflow. But fast regulator gives many and long oscilations too what its not too good.
- making "slow" PID regulator allow pump to accuratelly and slowly reach SP withot many oscilations, and object is stabilized faster. But when inlet flow will rapidly rise, pump speed will rise too slow to prevent from tank overflow.
Correct parameters ... it is what i need, to make regulation fast and accurate enought. Choosing of these parameters cannot be done in this case by "lets type in 20 and lets look what is going on". I think so.
Lets back to real object.
Trying use of step response Ziegler-Nichols method i got an almost unstable object with gain egual: -20, I and D parts was turned off. Level oscilations had period equal 250 seconds, level was changing from 2,48m to 2,75m.
Unfortunatelly im still not able to get any oscillations in my math model if i do use only gain. if i use very high gain equal 200 im getting some stable state after long time, and its all. So something is still wrong in this model, and im thinking that our flowmeters can be damaged or mounted not correctly.
Thank you for your help guys !
Greg