LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Delay setpoint in PID

Hi everyone,


I am currently building an application to control a plant using PID on LabVIEW.
I would like to have the setpoint collected from an analog input module.


The problem is that I do not want the analog input signal data to be used as the actual setpoint, at the time its being read

 

What I want is to give a delay into the measured signal, so from that point on all data measured will be the set point, but with a constant delay.


Is that possible? Could you help me?


I really appreciate your attention.

 

Rafael

0 Kudos
Message 1 of 4
(2,639 Views)

I think i can solve it with the vi pt by pt queue...

0 Kudos
Message 2 of 4
(2,623 Views)

I would like to have the setpoint collected from an analog input module.


The problem is that I do not want the analog input signal data to be used as the actual setpoint, at the time its being read


As far as I understood your problem, you do want to have the AI as the actual Setpoint. What you do not want is to have it as the current setpoint. Am I correct?

 


 What I want is to give a delay into the measured signal, so from that point on all data measured will be the set point, but with a constant delay.


Is that possible? Could you help me?


What do you exacly mean when you say "delay"? is it a time delay (i.e., 50 milliseconds) or you mean a discrete delay (I.e., using the AI value from the previous iteration as the setpoint for the current iteration of the loop?

Felipe Flores
Technical Support Engineer
National Instruments
0 Kudos
Message 3 of 4
(2,580 Views)

Hi Felipe,

 

Thanks for your attention.

 

In fact you understand my point pretty well.

 

I want a delay in time, which I expect to change for discrete since i can follow the iteration clock.

 

regards

0 Kudos
Message 4 of 4
(2,553 Views)