Ive been working on large time delay systems, so i have to design a smith predictor to eliminate the time delay factor. I tried to implement smith predctor but I am not sure if its correct or not. I am uploding the screenshort of the same, if any corrections are there pls let me know.
Most here (incl. me) don't have the simulation module installed, so I am not sure about the simulation part. I am not very familiar with simulation, so maybe I don't quite understand your code design.
However, what's the purpose of the second while loop? It does not do anything useful because the condition is met immediately and it will never iterate more than once. Also, since the 1 second wait on the outside occurs in parallel to the inner loop, it makes no difference. Once the inner parts have completed, it will have elapsed.
Thank You for the reply sir.
The outer loop is required because smith predictor has two loops. The output from the outer loop will be given to my system i.e. heater. Should I remove the outer loop or change the delay time in any of the loop?
I have removed the outer loop and simplified the block diagram. Will this work ?? or need some more corrections?
There is more to the Smith Predictor than what your diagram shows. Fortunately, we have an example of Smith Predictor shipping with the LabVIEW Control Design and Simulation Module:
C:\Program Files (x86)\National Instruments\LabVIEW 2015\examples\Control and Simulation\Case Studies\Process Control\Smith Predictor\Smith Predictor.vi
Also, please check this post here. This other student was able to get further a bit:
Hopefully it helps!
Thank You for the recommendation.
I have seen that example but it is in simulation and i need to implement on the actual system, so i am worried that will it work or not.