07-30-2007 02:31 PM
07-30-2007 04:34 PM
07-30-2007 04:35 PM
The PID output is the control signal (input) to your system. Given the PID gains, and based on how far away or near to the current feedback (process variable) you are, the PID output (i.e. system input) will be adjusted to drive your system to the desired setpoint.
Come to think of it, are you trying to generate a sine wave with the PID VI? Why not use the sine wave generator?
07-30-2007 04:44 PM
07-30-2007 05:17 PM
07-30-2007 05:23 PM
07-30-2007 06:05 PM
07-30-2007 06:42 PM
You are reinitializing your PID in every loop, so you don't let the PID "remember" what it needs to correct previous inputs. Remove that constant and give it a shot. Other than that, what kind of behavior are you seeing? Could it be a matter of tuning your gains? Try making the gains into a control so you can tune online. Remember to make a control to reinitialize the PID, ONLY when you change your PID gains, not all the time.
07-30-2007 06:57 PM
07-30-2007 07:32 PM