LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change setpoint automatically to a PID control

Solved!
Go to solution

@becidea wrote:

How can I insert it to my vi?

 


Insert WHAT into your VI?

0 Kudos
Message 11 of 26
(1,550 Views)

STANDART DEviation

0 Kudos
Message 12 of 26
(1,548 Views)

As I wrote before, it's under the Mathematics -> Probability and Statistics palette, shouldn't be too hard to find.  Drop it on the block diagram in place of the Express VI version that's in your sample code, and you can wire the array of floating points (the thick orange wire) directly to it, without converting to dynamic data.  If you are not yet familiar with that much of LabVIEW, you may want to work through some of the tutorials or take a class.

0 Kudos
Message 13 of 26
(1,546 Views)

Hi

I've attached my VI for how I solved the problem with waiting until stable

0 Kudos
Message 14 of 26
(1,533 Views)

Dear TBN,

 

could you please send this vi compatible with earlier version of labview such as LV10

 

Best.

0 Kudos
Message 15 of 26
(1,527 Views)

OK

 

Here it is.

Download All
0 Kudos
Message 16 of 26
(1,525 Views)

I have checked the vi you sent, but I have almost the sam configuration. Temperature is fluctuating around the set point, so with this vi,  in the first part of fluctuating will be taken as if temperature stable. but actually it is not like this. Thank you for this vi.

 

We can use "standart deviation and avarage value". Or, there can be something that I can save every nex 30 data and compare the avarage value of those 30 data with the set point. What do you think about this idea?

 

besT

0 Kudos
Message 17 of 26
(1,509 Views)

becidea wrote:

We can use "standart deviation and avarage value". Or, there can be something that I can save every nex 30 data and compare the avarage value of those 30 data with the set point. What do you think about this idea?


I think you should try writing the code and see how it works for you - it should not be difficult.  If you get stuck or have specific questions, upload your code.

0 Kudos
Message 18 of 26
(1,503 Views)

Hi,

 

this is my vi, when the temperature is in range light the lamps. But this is not stability. Because temperature fluxcuate and several times can be in range. this should be like PID control. I don't know what you can offer me.

Best.

0 Kudos
Message 19 of 26
(1,489 Views)

@becidea wrote:

this is my vi, when the temperature is in range light the lamps. But this is not stability. Because temperature fluxcuate and several times can be in range. this should be like PID control. I don't know what you can offer me.


I'm sorry, I cannot figure out what you're asking here.  Are you saying that your system never becomes stable?  Does it eventually reach a stable point, but your code does not detect that properly?  If the temperature fluctuates too much, it might be that you need to retune the controller.

0 Kudos
Message 20 of 26
(1,484 Views)