11-27-2007 02:58 PM
11-28-2007 01:27 PM
11-28-2007
02:14 PM
- last edited on
07-23-2025
11:19 AM
by
Content Cleaner
Hi Brett,
Thank you for contacting National Instruments. I would first suggest making sure the signal is properly grounded. Refer to the Developer Zone article, Field Wiring and Noise Considerations for Analog Signals, for details how to properly ground the signal.
I have a few questions for you about your setup. What input configuration (differential, referenced single ended, or non-referenced single ended) are you using to measure the signal? Also, to what channels on the SCB-100 did you connect your signal?
As mentioned in the Field Wiring article, something to be aware of if you are measuring a differential signal from a floating source (not connected to building ground) is that you will need to connect a resistor (10kΩ to 100kΩ) from AI+ to AIGND and another resistor from AI- to AIGND.
11-28-2007 03:27 PM
11-28-2007 04:06 PM
11-28-2007 06:29 PM
Thanks Chris, Hani ...
Some new info here. We (I use that term loosely!) completed wiring all of the unused inputs to AI GND. They are all tied down. As for the actual input signals, both sides (+ & -) are wired to AI GND via 50k resistors.
Result - the signal seems to be even noisier.
But, the potential good news (or the "a ha!" at least) is that in doing so I found some very peculiar things. I opened up MAX and looked at an unused channel (now tied down) and saw it oscillating between 0 and 0.1V in a very discrete-looking manner. Very bizarre, considering they are directly tied together. So then I went and looked individually (via RSE measurement, using AI GND as the direct reference) at each single-ended input that makes up the pair, and did this for all of our unused (tied down) channels. All of one side of the differentials (the + side I believe) appear to be solid 0 (okay, maybe it's slightly offset by 1 mV or something). If I do a RSE measurement on the - side however, I see a discrete switching back and forth between 0 and -0.1V. This is true for every single differential pair, when each half is measured with reference to AI GND. And as for the actual signals themselves? Well we've got to scale the still but they appear to okay so far (this is only after watching for ten minutes, so may be premature). The other guys are shifting back and forth like usual, but the actual signals are not when measured via RSE measurement. They do suffer the same noise kinds of issues (peak to peak of about 5 mV), but at this point we are not complaining.
So now this has us considering using SRE measurements on signals that might be traveling via (twisted pair) over very considerable lengths. Obviously we'd like to use differential, but our DAQ board is not delivering here.
Does it sound like our board is broken? Any other ideas of what I could look into?
Thanks so much for all of your help!
Brett
11-29-2007 12:00 PM
So I apparently was premature in thinking the single-ended solution might be a fix. I ran an overnight test, recording at 1 second intervals, of two channels that are ultimately measuring the same thing. One was a single-ended measurement, the other a differential measurement (and scaled). In both cases, the signal is going to ground via a 50k resistor - while in the differential case both legs are going to ground via a 50k resistor.
I've attached a screen capture of the readings (again, over a 9+ hour span). Very bizarre!
Any suggestions?
11-29-2007 12:06 PM
12-03-2007 01:00 PM
Chris, Hani -
Thanks for all of your help, and sorry I didn't update you guys ...
I logged data at 1 Hz for two days straight, and sat down last Friday to try to further decipher what the cause was. I wanted to be able to point at some heavy duty building HVAC controls not too far away (that we've always suspected as not being grounded properly). But in sitting down to try to correlate different events, what I found was quite shocking and made me feel a bit stupid ...
Long story short, it appears that the monitor on our monitoring PC was causing the problem, via grounding loops. We had two cases that we were fighting before - one a constant shift that appeared to occur, and the other being very ratty readings as it appeared to be temporarily "jumping back" to where it was before the offset.
In the first case, everytime our monitor would cut out into power-saving mode (60 minutes) it would cause a constant offset to form. When the monitor woke up, it'd jump back. Unfortunately this PC is used by many people for different purposes, so it was very hard to pinpoint this up front (maybe even the desk was bumped, mouse activated, etc ...). So I guess when the monitor is in the on state, it caused some grounding loop in the measurement that translated to an offset.
Secondly, I had a rackmount PC (that we barely need to view the display of) with its analog VGA cable connected to the same measurement PC's monitor. Hardly ever used it, easy to forget about! After discovering the monitor had very much to do with that offset in the previous case, I was in the process of switching monitors when I discovered that when I would disconnect the monitor's secondary analog input, the signal got rock solid (it stopped trying to make those temporary "jumps").
Over the weekend, I turned the monitor onto an always on mode (feeding it a blank screensaver) and I let this thing sit and monitor some batteries ... and sure enough, it had no issues (offset or the "jumps")! So I guess we're back in business.
My only concern at this point is, is there something wrong with our board? While I could see how the rackmount PC being tied into the monitor could create some ground loop issues (it comes through a completely different path back to the same UPS), why the heck would the card be so sensitive as to the PC it's attached to having it's monitor turn on and off? I tried this with multiple monitors, and they all have the same effect (although slightly different in offset magnitude). Are we going to point the finger at our video card?
Thanks so much for all of your help ... I guess it just took a little sleuth work in the end to figure out!
Brett
12-03-2007 01:17 PM