03-20-2014 08:12 AM
Hi, I am doing a simulation project that involves a PID block and a Plant Simulator. From observation, varying the dt(s) value on the Plant Simulator makes a big difference to the output.I expected the dt(s) value to the PID block to have a bigger impact. Is there a reason for this? Thanks,Martin
03-25-2014 10:20 AM
Hi Martinby,
Could you give us a little background on what you are looking to do and a screenshot or demo vi for what you mean?
Regards,
Andrew
03-25-2014 11:24 AM
How much effect the dt value has on the PID output will depend on the PID gains - for example, if you have a pure proportional controller, the dt will have no effect at all, and if your integral and derivative gains are small then dt will have little effect. The dt should be the same for both the PID and the simulator (the time, not necessarily the value - they could use different units). In a real system you should generally leave the PID dt unwired, so that it will use the real time difference between executions.
03-26-2014 01:40 PM
Thats great, thanks a mil for that,Martin.