Sensors and transducers are used to measure conditions in a system. This is used to monitor the
performance:

• Is the system working?
• How well is the system working?
• Is the system working safely?
• Is the system likely to fail anytime soon?

A sensor is a device that measures a quantity and converts it into a signal – generally a voltage.

A transducer, on the other hand, is a device that converts one form of energy into another, for
example heat into electrical potential in a thermocouple.

The two most common measurements to take are temperature and position.

## Measuring Temperature

There are multiple ways of measuring and processing temperature.

### Thermostats

A thermostat is a very simple temperature sensor. It is not capable of measuring the temperature
on any scale, only one or two fixed values – it will not tell you the temperature, it will merely tell
you when a certain temperature has been reached.

Basic thermostats consist of a bimetallic strip, the top and bottom have different thermal
expansion coefficients. This means that as temperature changes, they contract and expand at
different rates, curling the strip towards or away from a pole.

### Resistance Temperature Detectors (RTDs)

These are more complicated, outputting a linear resistance-temperature profile: The initial temperature/resistance and β are constants that depend on standards. These are fixed
and specified for the RTD standard (of which there are two – PT100 and PT1000).

Because they output a linear graph, they are extremely useful up to about 850°C. They work
because the resistance of platinum varies fairly linearly with temperature – however there are
slight variations, and so they are better for a large temperature range.

### Thermistors

A thermistor is a semiconductor with temperature-dependent resistance. The output is not linear,
but it is more accurate over a small temperature range than RTDs.

The majority of thermistors are negative temperature coefficient (NTC). This means that as the
temperature increases, their resistance decreases as the semiconductor releases more electrons
for conduction. • is a component constant – typically about 4000K.

### Thermocouple

These are the most accurate temperature measuring devices and are technically transducers not
sensors. They work on the basis that an emf is induced in a wire that experiences a temperature If the top and bottom wires are the same, then the voltage induced in each is equal but opposite.
In this case, the output voltage is zero: Therefore, two dissimilar wires need to be used with different thermoelectric coefficients.

Tables are used to find the values, but generally thermocouples and supporting data are given for
ambient temperature 0 °C. This is generally not, the case, so corrections need to be made using
interpolation form data.

When ambient temperature is zero degrees, the voltage readings are so small that the results are
inaccurate. In this case, they need to be amplified.

## Resistive Temperature Detector Networks

RTDs and thermistors both output a resistance. A detector network then has to be sued to convert
this signal into a practical output.

### Calibration

The device being tested is put into the circuit shown, and the temperature is varied. The current
and voltage are measured as the temperature changes and are plotted on an I-V graph.

This is generally only used to calibrate a sensor in a lab, not in any system, as the output (the
graph) cannot really be used as an input to anything.

### Constant Current

Connecting a temperature resistance device to a constant current source outputs a varying
voltage across the device: A voltage output is very helpful; however, these setups are not very precise. This is because the
resistance in the temperature sensor actually causes a slight change in temperature, affecting the
results. The power dissipated as heat is given as: ### Potential Divider

An alternative to the constant current detector network is a potential divider:

Taking : Again, there is the issue of the resistance affecting the temperature. The power dissipated by this heat increase is: ### Wheatstone Bridge  This may look daunting, but it is just two potential dividers in parallel:

When the two voltages (a and b) equal each other, the output voltage is zero. In this case, the
bridge is said to be balanced: There are two versions of the Wheatstone bridge: manual and automatic:

1. Manual Wheatstone bridges have a variable resistor in position 4. When the resistance
across the thermistor changes, the variable resistor is adjusted until the output voltage is
zero (the bridge is balanced). The resistance on the variable resistor is known and
compared to the previous value.
2. Automatic Wheatstone bridges do not have a variable resistor in any position, so move out
of balance as the temperature changes. The output voltage is then measured and
If the three fixed resistors all have resistance R, then the output voltage is given as: The Power dissipated in the resistors is: ## Measuring Position

Measuring position can vary from being incredibly simple (using buttons or switches), to slightly
more complex (potentiometers), to vastly complicated encoders.

### Potentiometers

These can be linear or circular:    Potentiometers are good, but the contacts wear out over time. There are non-contact alternatives,
but these are more expensive.

### Encoders

An encoder can be used to convert motion into a binary output.

This rotary encoder has three tracks, so the binary output will have three bits. Because there are
three tracks, there are 2³ = 8 possibilities. Therefore, the resolution of this encoder is an eighth of
the circle:  Where is the number of bits (tracks).

A linear encoder has one less division, as the ends do not join up. Therefore: The absolute error in an encoder is given as ± half the resolution.

### Strain Gauges

A strain gauge consists of a folder wire as shown above. When a load is applied, the length of
wire changes. Since resistivity is a material property and does not change, the change in length
leads to a change in resistance: • is a gauge factor
• is the elastic strain

When the strain is very small (and Hooke’s Law applies), the relative change in is almost
proportional to the stress. However, to be more precise: A load cell is more or less a big strain gauge. It works on the same principal, but is configured to
deflect a known amount for a specific applied load. A Wheatstone bridge detector network is
required to get a voltage output:

• All resistors are strain gauges/load cells
• Those in red are in tension
• Those in grey are in compression

When is small: • A sensor is a device that measures a quantity and converts it into a signal
• A transducer is a device that converts one form of energy into another
• Temperature can be measured using a thermostat, thermistor, RTD, or thermocouple
• RTDs and thermistors both output a resistance, so require a temperature detector network – this could be a resistor network, potential divider, constant current network or wheatstone bridge
• Position is measured using potentiometers or encoders
• Specific position transducers also exist, for example strain gauges or load cells