12-15-2016 02:23 PM
Dear all.
i want to implement a process model transfer function in labview with delay time Td.
G(s) = K. exp(-s.Td)
------------------------
T.s+1
i've try Transfer function H(s) block from PID toolskit. but there's no option for exponential factor.
Anyone can help me to represent this transfer function ??
I have the LabVIEW Control Design and Simulation Module
I have the LabVIEW 2014
Thanks a lot.
12-16-2016 09:48 AM
Hi Haazzaa22,
This forum post asks the exact same question, and the answer lies in using the LabVIEW Control Design and Simulation Module.
This is a 3 hour crash course on using the LabVIEW CD & S Module
http://www.ni.com/tutorial/5855/en/
There are many different ways to write out functions in LabVIEW, but I think that this tutorial will be very helpful to you for using the PID/Fuzzy Logic toolkit and Modeling systems:
Modeling a System
12-16-2016 10:02 AM
12-16-2016 10:10 AM
12-16-2016 02:37 PM
Hello Hazzaa22,
Were you trying to share some code or a screenshot? I believe your latest posting referred to an attachment that didn't make it through. Can you try to re-send and also if you can give us more details on exactly what you try to achieve and why CD&S doesn't work for you that would help us figure out what the issue is.
Thank you
12-16-2016 02:47 PM
12-16-2016 02:48 PM
12-16-2016 03:33 PM
Hello Hazzaa22
If you have the LabVIEW Control Design and Simulation, it is very simple to create a Transfer Function with delay. In your case, if you use the Zero-Pole-Gain representation (ZPK) and use the delay, you can easily get the simulation. However, if you want to use the transfer function with the Control and Simulation Loop, you have to represent the delay separate from the Transfer Function. Here is the whole code:
Here is the example:
Hope this helps,
12-16-2016 03:37 PM
Actually, it is worth for you to look at the following shipping example:
C:\Program Files (x86)\National Instruments\LabVIEW 2014\examples\Control and Simulation\Case Studies\Process Control\Smith Predictor\Smith Predictor.vi
It does have a simulation of a PID with delay in closed-loop.
12-16-2016 03:39 PM
Actually, it is worth for you to look at the following shipping example:
C:\Program Files (x86)\National Instruments\LabVIEW 2014\examples\Control and Simulation\Case Studies\Process Control\Smith Predictor\Smith Predictor.vi
It does have a simulation of a PID with delay in closed-loop.