For my senior design project, I have to give a 0-5 bar input signal.( set point).
Right now I directly connected it to set-point of "PID Advanced."
After simulating a Transfer Function and a pressure sensor, I am giving some value in between 0-5 bar as Process Variable to PID Advanced.
But the PID O/p shows up as follows:
When SP=5 bar, PV starts increasing towards 5 bar and PID O/P slowly increases to " 5 ".
When PV reaches 5 bar, PID O/p stays at 5 !!
I want the controller action to show that when SP=PV controller output is zero( at least approximately). This is not happening.
I then tried to give SP in terms of % between 0 to 100.
I then introduced a EGU to % VI in the feedback to convert the PV of 0-5 bar into %.
Now its the same story again.
When SP=100%, PV starts increasing from 0.
Similarly Controller output increases from 0%, but when SP=PV=100%, controller output shows 100% .
I want the controller ouput as follows:
if SP>PV then o/p>0 (increasing towards 100%)
if SP=PV then o/p=o%
if SP<PV then o/p= decreasing towards -100%)
The detailed help in labview did not help. Neither did the example in the examplefinder, since its too complex with a lot of other things.
Please help me.
Thank you.