LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

determine stability of daq readings

I am reading the resistance of a temperature sensor. I am applying constant heat to change the resistance of the sensor. I need to know when the resistance has stabilized for some small period of time so I can continue with a process. What kind of routine can I use in LabView for this?
0 Kudos
Message 1 of 5
(3,011 Views)
Greetings!

The final resistance of a temperature sensor is always going to be an asymptotic function....in other words, it NEVER actually reaches the final resistance, but approaches is exponentially. However, this can be minimized by a couple of tricks...one is called an Anticipator, where you artificially force the temperature of the sensor to overshoot, thereby bringing the temperature up to its final value quickly. Your best bet is to do a few tests, and find out when the resistance reaches 67% of its final value. (an analogy to an RC time constant.) You can use this as a first order figure of merit. From there, you can figure out what the "time constant" of your sensor is, and use that as a base line for how often you can expect to take a reading.


The best routine to use in Labview is probably to take samples at regular intervals, and then compare subsequent readings. If there is more than a certain percentage of change, then you need to take a few more readings. This is fairly easy to do in Labview with loop iterations.

Hope this helps some. This sort of calibration always needs a bit of real world 'tweaking" but you should come up with a practical solution pretty quickly

good luck!

Eric
Eric P. Nichols
P.O. Box 56235
North Pole, AK 99705
Message 2 of 5
(3,011 Views)
I would simply record the slope of the response curve. If you want a stability of 0.1°C per minute, then you can work out how large your dataset needs to be to accurately monitor the signal. Once the slope of your curve is below this threshold (0.1°C per Minute) for at least 5 consecutive loops, your stability criterium is reached.

Shane

PS Whether or not the final value is ever reached is debateable. I believe it does (noise at the Quantum level will take care of that) 😛
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 3 of 5
(3,011 Views)
Thank you for your response. I will build on this idea. You are right about noise masking the final value. In my situation I have to monitor a reference also and subtract that value to determine stability. It is a very dynamic system. At times the reference gives a false sense of stability so I have to account for that.

Howard
0 Kudos
Message 4 of 5
(3,011 Views)
Thank you for your timely response. I will put your suggestion to work. You are so right about tweaking a system.

Howard
0 Kudos
Message 5 of 5
(3,011 Views)