LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to stabilize Voltage input

Hello All,

 

I am new to Labview. I am trying my first project that consist in measuring pressure from a transducer. The output of my transducer is 4- 20 mA and I am using the USB 6229 card.

I am using a 250 ohm precision resistor so the signal converts the 4-20 mA current into 1- 5 V.  The problem is that the voltage values that I acquire oscillate a lot: For example for an expected 1 Volt input (equivalent to zero pressure), I read in labview an oscillating signal from 0.095 V and 1.05V. It represents in my sensor an unacceptable variation (about 20 psi). However, when I measure the voltage in the pins from the DAQ module using my multimeter I read a steady signal of 0.995 V for zero pressure.

 

I appreciate any help with this

0 Kudos
Message 1 of 17
(3,417 Views)

Have you looked at this "variation"?  Might it have a frequency of 60 Hz (in the US) or 50 Hz (most of the rest of the world)?  Do you have a circuit diagram of how you are using the 250 ohm resistor?  [Why are you using a "precision" resistor?  Are you willing to trust its value?  Were you planning to calibrate your setup?].  

 

Am I correct that you are not an Electrical Engineering student?  [Sorry about asking so many questions and not giving "the answer" -- it is far better for you to think about what you are doing and figure it out for yourself, maybe doing a little reading on the side if necessary ...].

 

Bob Schor

0 Kudos
Message 2 of 17
(3,402 Views)

If you have a noisy signal, it's common to take multiple samples and average (or low pass) the values. 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 17
(3,367 Views)

Although this won't help you reduce variation, it might help you reduce surprise.

 

How fast does your multimeter display? What is the smallest division in the range you're measuring? Is it possible that it's already low-pass filtering the signal to give a more steady readout (since when using a multimeter, usually an easy to read display is more valuable than a fast update rate (and indeed a fast update rate makes reading much harder!)).

 

For a physical source of variation I'd look to an oscilloscope or Fourier Transform of the input to see if you can either visually or numerically pick out a dominant frequency (as Bob Schor said, it might be related to your power supplies).


GCentral
0 Kudos
Message 4 of 17
(3,363 Views)

@cbutcher wrote:

(as Bob Schor said, it might be related to your power supplies).


Or, as my (formerly 3-year-old) daughter used to say, on submerging her ears in the tub and listening to herself talk, "Impedance mismatch!".

Message 5 of 17
(3,359 Views)

Hello Bob,

 

No, I am not an electrical engineer. I am mechanical engineer, I have always build my setups using meter but this time I wanted to try something new and challenge my self-using Labiew.  When I refer to a precision resistor, I am referring to a resistor with tight tolerance, I think is 0.1%.

 

I am planning to calibrate my setup using a linear interpolation,  using the voltage at zero pressure (theoretically 1 V) )and the voltage at span pressure (Theoretically 5 V).  My plan was to calibrate the 0 pressure and span pressure of my sensor using the actual Voltage Values. However I am not having a stable value, but an oscillating value.

 

 

Regards,

 

Jose

0 Kudos
Message 6 of 17
(3,343 Views)

 

It make sense, How fo I do that?

Thanks for your help

0 Kudos
Message 7 of 17
(3,342 Views)

Are you looking at the data from a simulated device and not your actual USB device?  Simulated devices output an oscillating signal. 

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 8 of 17
(3,328 Views)

Also consider a "running average", in general sample at a fast rate and then take the average of a predetermined amount of measurements.

 

Every power analyzer I have ever used could do this with user selectable "averaging depths" for exactly this reason. 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 9 of 17
(3,326 Views)

Hi, I am facing the same problem right now that you were facing almost 4 years ago. I was wondering can you tell me how you overcame that problem. I am also a mechanical engineer like you and I am not too good in this stuff. Your help will be appreciated.

 

Kind regards,

Shah

0 Kudos
Message 10 of 17
(1,597 Views)