05-12-2009 10:37 AM
05-13-2009 12:18 PM
Tino_1111--
Are you sure you are using a K type thermocouple? Also, are you using any CJC (cold-junction compensation)? The reason I ask is because thermocouples require some form of temperature reference to compensate for unwanted parasitic “cold” junctions. The most common method is to measure the temperature at the reference junction with a direct-reading temperature sensor and subtract the parasitic junction voltage contributions. This process is called cold-junction compensation. You can simplify computing cold-junction compensation by taking advantage of some thermocouple characteristics.
Is your thermocouple floating or grounded? From the setup of your VI, it appears as though your thermocouples are floating sources. If it is floating, you don't need to do a differential measurement, you can just directly connect the negative terminal to AIGND. If it is ground referenced, your best method is to do a differential measurement. A differential measurement helps eliminate noise by rejecting noise that is common to both lines of the differential pair. If these lines are not close together, they can have independent or out-of-phase noise on each of them which could actually amplify the noise level. We recommend using shielded, twisted pair wires for the two signals. Connect the shielding to AIGND or the ground of your thermocouple.
I have some additional questions about your general setup. Do you have more than just two thermocouples? Do all of thermocouples exhibit this "negative spike" behavior? In your screenshot I see the one numeric indicator with a large negative number, but the graph looks like it is at 0. Have you tried different pins on your DAQ card?
Have you looked at the examples included with the DAQmx driver? There are some great examples for analog input, temperature-thermocouple. Once in the Example Finder (Help»Find Examples) navigate to Hardware Input and Output»DAQmx»Analog Measurements»Temperature. This folder will have examples that reference CJC as well. This is something I think you may want to look into.
Here is a website that talks about signal conditioning in general.
Cheers!
--
Tyler C
05-14-2009 10:58 AM
05-15-2009 05:51 PM - edited 05-15-2009 05:51 PM
Hey Tino_1111--
If it is working for you with configuration #2, it sounds like your thermocouples are meant to be measured differentially.
I am a bit confused from your last post. Did you mention that the example does work, but not your VI? Does the example show negative spikes? If the Acq CJC Temperature.vi works, you might want to try making the following changes:
This uses the internal CJC sensor, which the Acq CJC Temperature.vi uses the built in sensor as well.
Cheers!
--
Tyler C