05-19-2015
01:54 PM
- last edited on
01-08-2025
04:59 PM
by
Content Cleaner
Dear readers,
I would need to use a load cell connected trough a NI9218 using a full bridge screw terminal to my cRIO (9067) in fpga mode. I have the following calibration information on the load cell:
Excitation voltage used in the calibration 10 V
Maximum load 0.6 kg
Rated output 0.8859 mV/V
Zero balance 0.002 mV/V
I was able to get correct readings from the load cell with cDAQ and DAQmx using the strain measurement and the excitation voltage of 3.3 V provided by the module. The rated output and zero balance had to be inserted in the bridge scaling as a two point scale. (http://www.ni.com/tutorial/7130/en/)
How should I do the same thing in my cRIO host code? I was able to set the NI9218 module properties to +/- 22mV/V and 3.3 Vex. How do I calculate the load from the measured signal?
Thanks in advance.
05-29-2015
04:52 AM
- last edited on
01-08-2025
05:00 PM
by
Content Cleaner
Hi!
I am Collin de Wit, an Application Engineer at National Instruments. I read your question and if I understand correcty you want to know how to use the DAQ code on a RIO system? First of all check that you have the correct software installed on your computer, see this link for more information on that: https://learn.ni.com/learn/article/getting-started-with-compactrio-hardware-and-labview
I think the following link is very usefull to test and understand good how the FPGA environment works so you know best which solution works for you and how to use code on the FPGA. https://learn.ni.com/learn/article/getting-started-with-fpga
About the 9218 module, the excitation current level is on a per channel basis. Each channel can supply 17.8 or 10.1mA depending on the output voltage level set. Typical strain gauges come in 120ohm or 350 ohm. To ensure the NI 9218 can excite your sensor, perform the following actions:
For example, a 120 ohm Full Bridge Strain Gauge will have a nominal output resistance of 120 ohms and need 11.66mA when powered with a 2V supply or 27.5mA when powered by a 3.3V supply. The NI 9218 is limited to 10.1mA at 3.3V so you will need to set the excitation level to 2V. Exceeding the output current will fault the excitation lines and cause the channel to cut power to the sensor.
Also please take a look at this discussion forum where someone also found information on a similar topic. https://forums.ni.com/t5/Real-Time-Measurement-and/Front-panel-control-on-compact-rio/m-p/2478304
Please let me know after this information if any further assistance is needed and if your question were responded.
Best regards,
Collin de Wit
05-30-2015 01:06 AM
For loading cell conneceted through normally you'ld setup an experiment with min and max weights,observe the analog output going to the PIC ADC.A couple of mid weights would be good,incase output is not 100% linear. Once you satisfied with the output range'get max bits for max weight',etc.,then cut code as required.