Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Connect usb-6351 to PCB Signal Conditioner, AC Coupling

Solved!
Go to solution

Hello, everyone. I typically work with load cells and the cDAQ line, which has signal-conditioning built-in. However, in this case, I have:

  • USB-6351
  • PCB 482C05 Four-channel, IEPE Sensor Signal Conditioner
  • Three accelerometers (208C05)

 

The accelerometers connect to the IEPE port of the signal conditioner channel, then there is an output port which outputs +/-5VDC. My original thought was that the signal conditioner was giving me a traditional DC signal, like I would get from a load cell signal conditioner. However, after a talk with PCB, the tech support agent was clear that the unit is AC coupled only. Honestly, I have only a vague understanding of AC coupling, and I'm not confident I'm connecting the device properly. PCB always wasn't very clear; I informed the agent on the phone that I was using the differential inputs because I was expecting both positive and negative voltage. The agent said he wasn't sure I should use a differential input, but then also said he wasn't sure I should tie one side of the output to ground. There isn't really a third option.

 

Currently, I have the signal conditioner connected as follows:

USB-6351     PCB 482C05

1 ai0 +          ch1 out +

2 ai0 -           ch1 out -

4 ai1 +          ch2 out +

5 ai1 -           ch2 out -

7 ai2 +          ch3 out +

8 ai2 -           ch3 out -

 

 

I created a custom scale in NI MAX to convert the voltage range (+/-5VDC) to the force range (+/-1000 pounds) and named it "PCB208C04."

 

Then, from python, I add an AI voltage channel:

 

        task.ai_channels.add_ai_voltage_chan(
            physical_channel="Dev1/ai0:2,
            name_to_assign_to_channel="Force",
            terminal_config=TerminalConfiguration.DIFF,
            units=VoltageUnits.FROM_CUSTOM_SCALE,
            custom_scale_name="PCB208C05"
        )
 
Now, I'm getting values, and I'm not in an ideal testing situation (I'm hitting a big steel plate with a rubber mallet on my desk), but the values don't seem "reasonable" and they seem remarkably consistent. I'm wondering if I don't have the signal conditioner connected to the right input pins. Also, I'm not sure that the add_ai_voltage_chan function is going to set up the input for AC coupling.
 
Any insight would be greatly appreciated. 
0 Kudos
Message 1 of 6
(2,228 Views)

The foremost issue is that USB-6351 is not well suited for the job. You need a DSA card to interface with accelerometers.

 

A quick lesson on why a DSA instead of a DAQ,

  1. Vibration and Sound signals are AC in nature
  2. "relative" amplitude and frequency content are of utmost importance in these applications
  3. These vibration or sound signals have a high dynamic range (signals are very small and next moment very large)
  4. DAQ is designed for higher DC accuracy and not for AC
  5. ADCs used in DAQ are of low bitness - typically 16-bit
  6. The dynamic range of 16-bit ADC is less and you usually need to switch ranges to measure small and large signals with good resolution and accuracy
  7. DSA uses 24-bit ADC and hence a very large dynamic range (110dB+) - mostly you don't need to switch ranges
  8. DSA instruments even come with IEPE excitation (you don't need an external signal conditioner)
  9. DSA instruments' front end has the option to switch between AC and DC coupling options
  10. DSA instruments are meant to present the frequency content very well (so you can rely on FFTs on these signals captured)

 

Now, to address your connection question, depending on where your PCB 482C05 gets its power, you can consider it a grounded or floating differential signal and connect as per this article - https://www.ni.com/en-us/support/documentation/supplemental/06/grounding-considerations---intermedia...

santo_13_3-1675043756220.png

 

https://www.ni.com/en-us/innovations/white-papers/10/dynamic-signal-acquisition-fundamentals.html

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 6
(2,217 Views)

First off, thank you for your comprehensive response.

 

So, you're saying the USB-6351 can't do AC coupling?

 

I understand what you're saying about hardware limitations, and this isn't the hardware I would have chosen, but it's the hardware they've given me and is currently the standard for this test I have to make work. I'm stuck with it for now. I wonder if setting up a custom voltage channel would be better instead. Set the excitation source to 5V, the excitation voltage to 1V (that's the spec on the 482C). The data I get that way seems more reasonable, although I don't really have a way of confirming.

 

>> depending on where your PCB 482C05 gets its power, 

It gets it from a wall-wart that puts out + and - 32 VDC and does not appear to have any connection to earth ground. 

0 Kudos
Message 3 of 6
(2,195 Views)
Solution
Accepted by t_exiter

USB-6351 can only do DC coupling - but it does not matter in your application as your signal conditioner already blocked DC and outputs only AC

santo_13_0-1675088404900.png

 

If you're limited to 6351, it is fine, it will work but not the best/appropriate. Choose an appropriate voltage range for the DAQ to digitize the signal properly, either internal or external.

 

Nothing much you need to do from the DAQ side, treat the signal like a voltage input. Ensure the grounding is proper, it looks like the signals are referenced to ground (BNC outer terminal) and choose an input configuration and grounding appropriately.

 

santo_13_1-1675088611709.png

 

To test whether your setup works properly, I would suggest attaching the accelerometer to a small geared DC motor and run it at a constant speed, now you should be able to pick up that motor rpm in the output of the accelerometer. Check if PCB suggests any simple way to test the setup.

 

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 6
(2,184 Views)

Thank you so much. This has been very helpful.

 

My only remaining question is how to configure the input. The Signal Conditioner is exciting the force sensor at 1VDC. Will I see that on the output side and need to compensate, or do I just use input as a regular voltage channel.

 

Sorry for the basic questions. Normally, I use cDAQ cards specifically made for IEPE sensors, and all of this happens magically.

 

Thanks!

0 Kudos
Message 5 of 6
(2,163 Views)

On the DAQmx side, configure an Analog Voltage Input task with a 10V range (choose a range based on actual observations) with a custom scale to translate to your physical units.

 

The reason I suggest 10V is that the datasheet states a max +/-10V output signal from the conditioner (depends on the gain and actual signal from the sensor), adjust it later based on your observations.

 

The sensor is powered by a constant current (that you set between 2 and 20mA) with compliance set at 26V +/-1V DC (not 1V signal as you assumed, it was rather the accuracy of the DC bias of IEPE)

santo_13_1-1675134439957.png

 

 

 

santo_13_0-1675134370678.png

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 6 of 6
(2,112 Views)