# Sensors and instrumentation

A test stand measures with sensors and acts with actuators. Each one is either wired to a DAQ as a bare signal, or built into an instrument that exchanges messages with the computer.

## Two ways in: wired to a DAQ, or through an instrument

A [transducer](https://dev.nominal.io/learning/reference/glossary.md#transducer "A device that converts one form of energy into another, such as a pressure into an electrical signal, or an electrical signal into motion.") turns one physical quantity into an electrical signal, and nothing more. It’s wired to an input on a [data acquisition (DAQ)](https://dev.nominal.io/learning/reference/glossary.md#data-acquisition-daq "Hardware that connects sensors and actuators to a computer. It reads the sensors' signals and drives the actuators.") system, which measures the signal. A fluids panel, which runs compressed air through valves, works this way: its pressure transducers, its switches and its valves are each wired to the panel’s DAQ.

An [instrument](https://dev.nominal.io/learning/reference/glossary.md#instrument "A self-contained device with its own transducers and electronics built in, and any actuators it needs, which a computer controls over a communications bus and a person through its front panel.") has its own transducers, electronics and actuators built in. The computer exchanges messages with it over a [communications bus](https://dev.nominal.io/learning/reference/glossary.md#communications-bus "A data connection that a computer uses to send commands to instruments and read their measurements, as messages rather than as raw electrical signals.") instead of measuring its signals. An e-axle [dyno](https://dev.nominal.io/learning/reference/glossary.md#dynamometer-dyno "A test stand that loads a motor or engine and records its speed and torque."), where a motor drives the e-axle under test and a load motor on each side brakes it, works this way: its motor controllers and its power supply are instruments.

|  | Wired to a DAQ | Instrument |
| --- | --- | --- |
| What crosses the wire | An electrical signal, such as a current or a voltage | Messages, such as “set speed to 1,000 RPM” or “speed is 998 RPM” |
| Where the measuring happens | In the DAQ | Inside the instrument |
| What you configure | The DAQ channel’s range, scaling and sample rate | The instrument’s settings, through its messages or its front panel |
| Example | A fluids panel | An e-axle dyno |

A flow meter, for example, can come either way: as a bare transducer for a DAQ, or as an instrument with its own display and bus connection.

## DAQ inputs and outputs

A DAQ has four kinds of [I/O point](https://dev.nominal.io/learning/reference/glossary.md#io-point "One input or output on a DAQ, wired to one sensor or actuator."). The fluids panel’s DAQ uses a separate NI C Series module for each kind:

| Kind | What connects to it | Example on the fluids panel | Module |
| --- | --- | --- | --- |
| Analog input | A sensor that reports a value in a range | `p_1`, the supply pressure | NI-9203, current input |
| Digital input | A sensor that reports on or off | `sw_1`, the slide’s retracted switch | NI-9421, 24 V digital input |
| Analog output | An actuator you set anywhere in a range | `v_2`, the proportional valve | NI-9265, current output |
| Digital output | An actuator you turn on or off | `pump_1`, the compressor’s relay | NI-9476, 24 V digital output |

Analog signals come in several forms, and each needs a matching input: a voltage, a 4–20 mA current, a small voltage from a thermocouple, or a resistance bridge that needs power from the DAQ.

## 4–20 mA current loops

A [current loop](https://dev.nominal.io/learning/reference/glossary.md#current-loop "A way of sending a measurement or command as an electrical current between 4 and 20 mA, where 4 mA is the bottom of the range and 20 mA the top.") carries a measurement as a current between 4 and 20 mA. A loop power supply, the transducer and the DAQ’s input are wired in series, in one loop.[[1]](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#ni-current-loop)

Current loops suit test stands and industrial sites for two reasons:[[1]](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#ni-current-loop)

- The same current flows everywhere in a loop, so the wire’s resistance doesn’t change the reading the way it changes a voltage over a long cable.
- The range starts at 4 mA, a live zero. A reading of 0 mA means the loop is broken, not that the value is zero.

A two-wire transducer takes its power from the loop itself. The WIKA A-10 pressure transducer, for example, runs from an 8–30 V supply and draws no more than 25 mA, its signal current.[[2]](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#wika-a10)

To scale a 4–20 mA reading to a value, use the transducer’s range:

```text
value = low + (current − 4 mA) ÷ 16 mA × (high − low)
```

For `p_1`, a 0–100 psig transducer, 12 mA is 50 psig, and 17.6 mA is 85 psig.

Outputs can use the same signal. The fluids panel commands its proportional valve, `v_2`, with a 4–20 mA output.

## Sensors by quantity

### Pressure

A pressure transducer reports pressure relative to a reference. [Gauge pressure](https://dev.nominal.io/learning/reference/glossary.md#gauge-pressure "Pressure measured relative to the surrounding air, in units such as psig, so an open tank reads 0."), in psig, is relative to the surrounding air, so an open line reads 0. Absolute pressure, in psia, is relative to a vacuum. Differential pressure, in psid, is the difference between two ports. Every pressure channel on the fluids panel is in psig.

### Temperature

NI compares three kinds of temperature sensor:[[3]](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#ni-temperature)

| Sensor | How it works | Range | Trade-offs |
| --- | --- | --- | --- |
| [Thermocouple](https://dev.nominal.io/learning/reference/glossary.md#thermocouple "A temperature sensor made of two different metals joined at the tip, which produces a small voltage that depends on temperature.") | Two different metals, joined at the tip, make a voltage that depends on temperature | About −210 to 1,760 °C | Widest range, but a small, nonlinear signal |
| [RTD](https://dev.nominal.io/learning/reference/glossary.md#rtd "Short for resistance temperature detector: a temperature sensor whose resistance rises with temperature, such as a Pt100.") | A metal winding, often platinum, whose resistance changes with temperature | About −240 to 650 °C | Best accuracy, stability and linearity |
| [Thermistor](https://dev.nominal.io/learning/reference/glossary.md#thermistor "A temperature sensor made of a resistor whose resistance changes strongly with temperature.") | A resistor, typically with a negative temperature coefficient, whose resistance falls as it heats | About −40 to 250 °C | Most sensitive, but narrowest range |

A thermocouple needs cold-junction compensation and amplification.[[3]](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#ni-temperature) Its voltage depends on the difference in temperature between the tip and the point where its wires connect to the DAQ. The DAQ measures the temperature at that connection, and corrects for it.

The dyno’s motor controllers read a temperature sensor in each motor. The control software treats a reading at or below 0 °C as a sensor fault, such as a missing sensor or a broken wire, rather than a real temperature, and trips the stand. Treating an impossible reading as a fault is the same idea as a current loop’s live zero.

### Strain, force and torque

A strain gauge is a resistor that stretches with the surface it’s bonded to. Strain is the change in length divided by the original length.[[4]](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#ni-strain)

The change in resistance is tiny, so strain gauges are wired in a Wheatstone bridge: a quarter, half or full bridge, depending on how many of its four arms are active gauges. A bridge needs [excitation](https://dev.nominal.io/learning/reference/glossary.md#excitation "Power that a DAQ supplies to a sensor so it can work, such as a voltage across a strain gauge."), a voltage from the DAQ to power it. A shunt calibration checks the bridge’s output by switching in a known resistor.[[4]](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#ni-strain)

A [load cell](https://dev.nominal.io/learning/reference/glossary.md#load-cell "A sensor that measures force, using strain gauges that stretch slightly under load.") measures force with strain gauges in a bridge,[[4]](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#ni-strain) and a [torque sensor](https://dev.nominal.io/learning/reference/glossary.md#torque-sensor "A sensor that measures the twisting force on a shaft, with strain gauges on the shaft or in a flange.") does the same on a twisting shaft. The dyno has no torque sensor. It calculates torque from motor current instead, as shown below.

### Flow

A [flow meter](https://dev.nominal.io/learning/reference/glossary.md#flow-meter "A sensor that measures how much fluid passes per unit of time, such as liters per minute.") measures how much fluid passes per unit time. On the fluids panel, `fm_1` reports 0 to 100 L/min. The panel’s float gauge is a rotameter: a float rides up a tapered tube as flow increases, and you read it by eye, so it has no channel.

## Instruments

The dyno has two kinds of instrument:

- **Motor controllers.** Each one measures its motor’s current, speed and temperature, and switches the power that drives the motor. The computer sends each one a speed or current command about 16 times a second over a CAN bus, and reads back its measurements.
- **A power supply.** One box both sources and sinks power on the 48 V bus. It measures its own voltage and current, takes SCPI commands over USB, and holds its setpoint without being resent.

See [Communications](https://dev.nominal.io/learning/guides/communications.md) for the buses and protocols.

An instrument can also have a [front panel](https://dev.nominal.io/learning/reference/glossary.md#front-panel "The physical controls and display on an instrument, such as knobs, buttons and a screen, for operating it by hand.") of knobs, buttons and a screen for running it by hand. While a computer controls it, an instrument can lock its front panel in remote mode, so the two don’t fight.

LabVIEW calls its programs virtual instruments (VIs) “because their appearance and operation imitate physical instruments, such as oscilloscopes and multimeters”, and calls each program’s user interface its front panel.[[5]](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#labview) A LabVIEW front panel is software on a screen, not part of an instrument.

## From signal to channel

Software called a [driver](https://dev.nominal.io/learning/reference/glossary.md#driver "The software that talks to one piece of hardware and turns its signals into channel values, and channel values into its signals.") talks to the DAQ or the instrument, and turns each reading into a [channel](https://dev.nominal.io/learning/reference/glossary.md#channel "A named value that a stand reads or writes, such as inlet_pressure, together with the series of values it records over time."): a named value in [engineering units](https://dev.nominal.io/learning/reference/glossary.md#engineering-units "The units a quantity is measured in, such as psig, RPM or °C, as opposed to the raw electrical signal a sensor sends."), such as `p_1` in psig. For a transducer, that means scaling the raw signal, like the 4–20 mA formula above. For an instrument that reports in engineering units, the driver decodes its messages.

Some channels are calculated from others. These are [derived channels](https://dev.nominal.io/learning/reference/glossary.md#derived-channel "A channel calculated from other channels rather than measured, such as power calculated from voltage and current.").

### Worked example: the dyno’s torque

The dyno has no torque sensor, so its software calculates each motor’s torque from its current, using a constant per motor:

| Motor | Torque at maximum current | Constant |
| --- | --- | --- |
| DUT | 27.503 Nm at 35 A | 0.786 Nm/A |
| Left load motor | 3.812 Nm at 20 A | 0.191 Nm/A |
| Right load motor | 3.800 Nm at 20 A | 0.190 Nm/A |

A load motor drawing 10 A is producing about 1.9 Nm. That calculation carries two kinds of error:

- Every error in the current measurement passes straight through to torque.
- The constant is a property of the motor, and it doesn’t account for friction or losses between the motor and the axle. A torque sensor on the shaft would measure what reaches the axle.

Because torque is current times a constant, each motor’s torque and current channels always move together.

## Choosing a sensor

When you choose a sensor, check:

- **Range.** It covers the values you expect, with headroom for overload.
- **Accuracy.** It’s good enough once every error is added up. See [Measurement quality](https://dev.nominal.io/learning/guides/measurement-quality.md).
- **Response time.** It’s fast enough for how quickly the value changes.
- **Output.** It matches an input you have, such as 4–20 mA or a bridge.
- **Environment.** Its temperature range, vibration rating and wetted materials suit the stand.
- **Failure behavior.** A failure shows up as an obvious fault, like 0 mA on a current loop, not as a believable value.

## Further reading

- NI, [Measuring Temperature with Thermocouples, RTDs, and Thermistors](https://www.ni.com/en/shop/data-acquisition/sensor-fundamentals/measuring-temperature-with-thermocouples-rtds-and-thermistors.html).
- NI, [Measuring Strain with Strain Gages](https://www.ni.com/en/shop/data-acquisition/sensor-fundamentals/measuring-strain-with-strain-gages.html).
- NI, [4-20 mA Current Loop Fundamentals, System Design, and Setup](https://www.ni.com/white-paper/6940/en/).
- NIST, [ITS-90 Thermocouple Database](https://its90.nist.gov/), the reference tables for thermocouple voltage against temperature.

## References

---

[1]
([1](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#id1),[2](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#id2))

NI, [“4-20 mA Current Loop Fundamentals, System Design, and Setup”](https://www.ni.com/white-paper/6940/en/), updated 2025-02-03. Retrieved 2026-11-12.

[[2](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#id3)]

WIKA, [“Datasheet A-10: Pressure transmitter for general industrial applications”](https://www.transcat.com/media/pdf/Wika_A-10.pdf), 02/2008, US edition, hosted by Transcat. Retrieved 2026-11-12.

[3]
([1](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#id4),[2](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#id5))

NI, [“Measuring Temperature with Thermocouples, RTDs, and Thermistors”](https://www.ni.com/en/shop/data-acquisition/sensor-fundamentals/measuring-temperature-with-thermocouples-rtds-and-thermistors.html). Retrieved 2026-11-12.

[4]
([1](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#id6),[2](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#id7),[3](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#id8))

NI, [“Measuring Strain with Strain Gages”](https://www.ni.com/en/shop/data-acquisition/sensor-fundamentals/measuring-strain-with-strain-gages.html). Retrieved 2026-11-12.

[[5](https://dev.nominal.io/learning/guides/sensors-and-instrumentation.md#id9)]

NI, [“Getting Started with LabVIEW”](https://download.ni.com/support/manuals/321527e.pdf), November 2001 edition. Retrieved 2026-11-12.
