LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change setpoint automatically to a PID control

Solved!
Go to solution

Are you asking about what you can use instead of a PID controller?

0 Kudos
Message 21 of 26
(685 Views)

no no no,

 

My system is controlled by PID and it is going to stable after some time. I mean that this program is not correct to understand whther temperature is stable or not.  stability means this boolen in program should always light.  but here boolen light and then no light. when the temperature fluctuate while getting stable, several times  in the range of desired temperature.

 

 

 

0 Kudos
Message 22 of 26
(681 Views)

You Can insert a time delay, so the temperature must be stable XX time before your lamp lights up. A PID Controller Will always have an error, so maybe your temperature range is too narrow

0 Kudos
Message 23 of 26
(680 Views)

@becidea wrote:

My system is controlled by PID and it is going to stable after some time. I mean that this program is not correct to understand whther temperature is stable or not.  stability means this boolen in program should always light.  but here boolen light and then no light. when the temperature fluctuate while getting stable, several times  in the range of desired temperature.


How do you wish to define "stability" for your system?  "This boolean... should always light" isn't a very clear definition.  If you can describe exactly what stability means in your system, then you can write code to match that.  Maybe using Average and Standard Deviation is not the best solution for you.  You might want to define stability as some number of consecutive data points within some range of your setpoint, for example.

0 Kudos
Message 24 of 26
(676 Views)

Hello guys,

Sorry for dropping in just like that. TBN, can you please post a LABVIEW 8.0 version of the autoupdatesetpoint.vi?

thanks

saurabh

0 Kudos
Message 25 of 26
(662 Views)

OK

 

Here it is.

Download All
0 Kudos
Message 26 of 26
(658 Views)