Calibrating a Sensor in LabVIEW

Most of the LabVIEW applications involve data acquisition through NI hardware. Since we would be attempting to measure some real world phenomenon(like strain, load, pressure… etc), these will be converted into electrical signals(like voltage, current… etc) that can be measured using the data acquisition hardware.

A sensor is a device which is used to convert a real world phenomenon into a signal that can be measured. The measured electrical signal needs to be converted back to equivalent real world phenomenon for better user understanding. Here the sensor calibration that we will discuss is a 500kN load-cell with an output voltage range of 0-10V. That means that this load-cell can measure force up to 0-500kN and convert into voltage signal in the range of 0-10V.  This output voltage from load-cell is read using data acquisition hardware and displayed on the screen as equivalent force using LabVIEW. The characteristic of this load cell is linear.

Calibration Table for Loadcell

LC Calibration

Below listed are two methods that i followed to achieve the above said.

Calibrating a Sensor

Method 1: Using Linear Fit.vi

Linear Fit.vi for calibration

Method 2: Using Threshold and Interpolate 1D Array.vi

Interpolate 1D Array.vi for calibration

Leave a Reply