01-17-2016 11:26 PM
Hellow friends,
My issue is I have a setpoint in PID which is variable sine wave,
The PV should follow the dynamic setpoint , it has a frequency of 4Hz.
How to achieve this ?.........
01-18-2016 02:26 AM
01-18-2016 09:05 AM
Go to Help Menu and click on "Find Examples...". Then under "Control and Simulation", find "PID". There you have several examples of how to do PID control.
Then, look at the 'Simulation - Lead-Lag.vi". This examples shows how to create a sinewave and apply to the controller (in this case, a lead-lag controller).
The trick to feed signals to PID is to think as how you can feed the controller with one point after another. You can also look at the point-by-point palette under signal processing. And if you profile is based on steps and ramps, look at the setpoint profile.vi in the PID palette.
Hope this helps...