NI 9237 Example for Shunt Cal and Offset Cal

Publish Date: Feb 18, 2008 | 2 Ratings | 5.00 out of 5 | Print | 3 Customer Reviews | Submit your review

1. Shunt Calibration

Shunt calibration is a process used to obtain a gain adjust factor, which is used to correct for system gain error and discrepancies between nominal Gauge Factor and actual Gauge Factor of the strain gauge. The gain adjust factor is derived using theoretical (simulated) signal levels that should result from engaging a shunt resistor across one leg of a bridge sensor and the measured signal levels with the shunt resistor actually engaged.  Typically, the following formula is used to calculate the gain adjust factor:

The gain adjust factor is then multiplied by each future measurement to obtain highly accurate measurements that are adjusted for any gain errors or any discrepancies in the nominal Gauge Factor.

The calibration performed in this example takes three unique readings. The first is a normal analog reading of the system. The second reading is done with the Shunt Cal Enable I/O Property set to true. The last reading is done with the Offset Call Enable I/O Property set to true.

Note:You should perform an offset null compensation just before you perform a shunt calibration. Performing a shunt calibration before an offset null compensation causes improper gain adjustment because the offset signal voltage is compensated multiple times.


Back to Top

2. NI 9237 Shunt Calibration and Auto-Zero

This example program shows how the Shunt Cal Enable and Offset Cal Enable I/O Properties (Auto-Zero) of the NI 9237 can be used to calibrate a system. The system that this example calibrates for is a quarter bridge configured strain gauge system at rest.

The difference in the first two readings simulates a strain change by shunting one of the arms in the bridge with a precision 100 KOhm resistor. That change is read as a strain and compared to a theoretical calculation based on knowledge of the resistance of the strain gauges used. This test will indicate the effect of the resistance of the wires used to complete the bridge. The longer the external wires to the strain gauge, the greater the resistance. Such an increase in resistance can cause inaccuracies in strain readings. A normal % error should be less than 1%.

The difference in the first and last readings indicates how unbalanced the bridge is. The last reading, with the Offset Cal Enable I/O Property node set to true, returns a reading of the bridge perfectly balanced. It does this by internally disconnecting the external leads and shorting out the analog input channel. If the first reading of the unstrained system has a reading near the limit of the module, the system may move outside of the module’s range when it is loaded. The NI 9237 has a range of -25 mV/V to 25 mV/V.

This example requires LabVIEW 8.5, LabVIEW RT 8.5, LabVIEW FPGA  8.5 as well as the NI RIO 2.3 or 2.3.1 Driver.

Back to Top

Customer Reviews
3 Reviews | Submit your review

Not all required VIs are provided.  - Nov 26, 2012

Under LabVIEW 2011 the project/ZIP file is missing "Binary to" How does this work or it even possible if the NI-9237 is plugged into an EtherCAT that in turn connects to the cRIO?

Example doesn't offset before shunt  - Jul 28, 2008

The example provided doesn't follow the note which says to perform the offset calibration before the shunt. I assume that the note means to perform the offset before the shunt in the fpga software, not just to use the offset values when doing the shunt calculations.

8.2 version  - May 8, 2008

Can you post this example in 8.2. Regards

Bookmark & Share



Shunt and Offset Cal



Rate this document

Answered Your Question?
Yes No