Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Analog out grounding question

What would be the best ground connection in the following situation.

 

- I/O-board: NI USB-6343

- Temperature Controller with 1x analog in and 2x analog out.

 

The Temperature Controller has a common ground for input and output.
This temp.controller is connected at our USB-6343 for analog input and analog output.

 

According to our situation we connected our analog inputs as NRSE.

So the 2x analog outputs from the temp.controller uses AI SENSE as common ground (-) and 2 inputs as "+".

 

My question is how to correct wiring the ground of the analog output of the USB-6343.

1) Use for example AO0 and AO GND (15/16) for analog output to the temp.controller or,

2) Use AO0 and AI SENSE as common ground for analog output.

0 Kudos
Message 1 of 13
(4,082 Views)

Nobody ?

0 Kudos
Message 2 of 13
(4,033 Views)

If not restricted by channel count, I prefer differential measurements.

I would use a CAT5/6 cable , shield connected at one side,

you have 4 twisted pairs, 2 pairs for the analog input. GND -> AI- connected at the controller.

3 pair for the anaolg out

4 pair GND connection 

 

Keep in mind you have a multiplexed input, see fig1 in the spec about crosstalk. If your signals arn't too fast, a capacitor at the input can help, (not too high, the analog outputs of the controller migth not like too high cap loads)

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 3 of 13
(3,992 Views)

Do you know the Field Wiring and Noise Considerations for Analog Signals? Have a look at Table 1, and let us know if that answers your questions!

 

The correct wiring of the NI-USB's output to your temperature controller of course on the temperature controller as well. Could you please share it's model number if the guide I linked does not answer your question?

 

 


Ingo – LabVIEW 2013, 2014, 2015, 2016, 2017, 2018, NXG 2.0, 2.1, 3.0
CLADMSD
0 Kudos
Message 4 of 13
(3,969 Views)

According to the "Field Wiring and Noise Considerations for Analog Signals" our situation is more like NRSE.

The temperature controller is the PTC10K-CH from Wavelength electronics.
According figure 3 (wiring diagram) from the PTC10K-CH pdf you can see that pin 2 from connector TB1 is at the same level as pin 2 and 5 from connector J3 (same ground level ... make sense).

 

So from the USB-6343 we use 2 analog inputs to measure set temperature (EXT SET T) and the temperature from a thermistor (ACT T MON). The "COMMON" is connected to AISENSE from the analog inputs.

Because the USB-6343 have a different ground plane for analog output my question is it common to use the AISENSE from the analog input as common ground or should i use the ground from the analog output?

 

I want to avoid ground loops, because the GND from connector TB1 comes from an different power supply.

0 Kudos
Message 5 of 13
(3,961 Views)

From what I understand now, there are two cases: The signal from the temperature controller towards the USB-6343, and the signal in the opposite direction.

 

controller -> USB-6343

Yes, I'd also say you have a grounded signal source and have a NRSE configuration. From your posting I understand that you already set up the USB-6343 and your wiring correctly.

 

USB-6343 -> controller

Unfortunately, your temperature controller does neither have a differential input nor a "fix" for this in terms of a sense type input. As your temperature controller is on a different ground level, it is impossible to send a single-ended signal to it without the possibility of creating a ground loop. Basically you have the not recommended "grounded signal source, RSE" case in the earlier-referenced Table 1 in front of you.

That's another +1 from me for differential signals.

There are some possible solutions to this problem. Have you considered using

  • a different controller,
  • a signal level converter (isolating your usb-6343's output from the controllers input), or using
  • the USB-6343's power adapter to supply the controller as well?

 

 

Regarding your other question: According to USB-6343 Screw Terminal Pinout, "All ground references—AI GND, AO GND, and D GND—are connected on the device, they are connected by small traces to reduce crosstalk between subsystems. Each ground has a slight difference in potential." So yes, it is common to use the AI GND / AO GND when the hardware devices are on the same GND plane. If not, one uses AI Sense instead of AI GND for the Inputs. Unfortunately, your temperature controller does not have a similar sense input.


Ingo – LabVIEW 2013, 2014, 2015, 2016, 2017, 2018, NXG 2.0, 2.1, 3.0
CLADMSD
Message 6 of 13
(3,954 Views)

That's why I would choose a differential voltage reading and a GND referenced AO .

The additional GND connections mentioned in my first post (spare 4th paire) would create a gnd loop, but  with an old network cable (4 pairs twisted and shielded) not that critical.

The AI- of both channels should be connected at the controller signal gnd pin2.

AO-GND to pin5

The critical GND loop is the controller power gnd to controller GND to 6343 gnd to 6343 power gnd ..

 

 

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


Message 7 of 13
(3,951 Views)

Thanks guys for your feedback.

 

What i also can do is to power both the temp.controller and the usb-6343 from the same linear power supply as mentioned, so they have a common "-" ground (not connected to mains earth).

Then we have all ground levels on the same level ...

 

The manual says:

Single-ended input connections can be used when all input signals meet the following criteria.

  • Input signals are high level (greater than 1 V)
  • Signal cabling is short and travels through a noise-free environment or is properly shielded
  • All input signals can share a common reference signal at the source

Differential connections should be used when any of the above criteria are violated.

 

Well, all input signals and output signal are greater then 1V, so according the manual i should use RSE or NRSE.

 

In the meantime i did some measurements with normal cables (not shielded ... will do that later) and got some good results with NRSE.without the bias resistors.

 

16hour input vs output.png

I will do the same measurement later with the bias resistors connected, to see if it makes some differences.
Later i will do the same measurement in RSE mode.

 

Above is a 16 hour temperature measurement. The blue line is the set temperature (from AO of the usb-6343) and the orange is the actual measured temperature (some pikes).

0 Kudos
Message 8 of 13
(3,904 Views)

@Henrik_Volkers wrote:

The additional GND connections mentioned in my first post (spare 4th paire) would create a gnd loop, but  with an old network cable (4 pairs twisted and shielded) not that critical.

 

The critical GND loop is the controller power gnd to controller GND to 6343 gnd to 6343 power gnd .. 


That's correct, except the "not that critical" which is always something up for discussion. Eric wrote that the voltage for both devices comes from different power supplies. If they are connected to "the same" electrical outlet Eric's set-up should work. He could also have additional wiring from controller-PSU GND to NI-PSU GND to make sure a possible high-current flows "around" the devices and not through them via the pins you mentioned.

 

I saw a lot of cases where ground-loops between devices even connected to different building power systems in labs with big machinery around did work for years, however I would never recommend someone to do such a thing. Only Eric knows the bigger picture of his setup; if he feels safe about it (and compared the PSUs GND levels to each other), he could wire the devices. Taking into account that the temperature controller is obviously meant to be used in such a way (no differential pins provided), it should survive small currents coming from a ground loop and its measurements should be insensitive to voltage changes from a ground loop. At least I hope...

 


Ingo – LabVIEW 2013, 2014, 2015, 2016, 2017, 2018, NXG 2.0, 2.1, 3.0
CLADMSD
0 Kudos
Message 9 of 13
(3,923 Views)

@ikaiser

... Only Eric knows the bigger picture of his setup; if he feels safe about it (and compared the PSUs GND levels to each other), he could wire the devices. Taking into account that the temperature controller is obviously meant to be used in such a way (no differential pins provided), it should survive small currents coming from a ground loop and its measurements should be insensitive to voltage changes from a ground loop. At least I hope...

 


Ok, first ... i typed a lot of information this morning .... but it seams my posting dissapears !!!

 

First of all, thanks guys for you information !

 

First thing i will do is to connect both Temp.Controller and the USB-6343 to the same 12V linear power supply to have a common "-", so they will have a "floating" dc output with a common ground (should be RSE or NSRE connected because in and output voltages are greater then 1V, according the manual).

The temp controller is a very sensitive device which responses in mV.

 

In the meantime i did a 16 hour temperature measurement in NSRE without the bias resistors connected.

 

16hour input vs output.png

 

The blue line is the set temperature (EXT SET T) and the orange line is the actual measured temperature (ACT T MON).

I see some little spikes, but all where connected without shielded cables.

 

 

0 Kudos
Message 10 of 13
(3,910 Views)