EE3901/EE5901 Sensor Technologies
Week 10 Notes
Self-generating sensors: thermocouples and photodiodes

Last updated 22 April 2022

A self-generating sensor directly generates a voltage or current, sometimes without requiring a power supply. This occurs by transforming some other type of energy into electricity.

Introduction to self-generating sensors

Various physics effects directly generate electricity. The most obvious example may be the photovoltaic effect, which is the mechanism behind solar power generation. In addition to power generation, the photovoltaic effect can also be used to measure light intensity. A light sensor using this mechanism is called a photodiode. Other examples of self-generating sensors include thermoelectric sensors, piezoelectric sensors, and electrochemical sensors.

In practice, even if the underlying physical effect can generate power, a sensor is not always self-powered. Sometimes additional power is injected to achieve better performance. For example, a photodiode in reverse bias can respond more quickly than a photodiode without applied bias.

Thermoelectric effects

A thermoelectric effect is the direct transformation of heat into electricity. There are various thermoelectric effects named after their discoverers: the Seebeck effect, the Peltier effect, and the Thomson effect. For sensing purposes, we will consider the Seebeck effect.

The underlying physics is as follows. Figure 1 shows a conductor with a temperature gradient.

Figure 1
Figure 1:

The Seebeck effect is the generation of a potential difference when there is a temperature gradient along a conductor.

Zoom:

The Seebeck effect is that a voltage is generated across this conductor. Specifically

where is the gradient of voltage, is a material property called the Seebeck coefficient, and is the gradient of temperature. In a one-dimensional case this simplifies to

where is the distance along the conductor.

A rough intuitive description of the underlying physics is that the conductivity of “hot” charge carriers is different to that of “cold” charge carriers, hence they diffuse at different rates. The majority charge carrier tends to diffuse towards the cold side of the material. Consequently, P-type semiconductors typically have positive whereas N-type semiconductors typically have negative . Metals can have either positive or negative .

The Seebeck effect as presented above is difficult to measure directly, because the wires of the voltage meter would also have their own temperature gradient, and hence their own thermoelectric effect. Consequently the minimum configuration that can be easily measured uses two different materials with different Seebeck coefficients, as shown in Figure 2.

Figure 2
Figure 2:

The Seebeck effect produces a voltage in response to a temperature difference . Crucially, the circuit requires two metals that have different Seebeck coefficients so that the thermoelectric voltages do not cancel out.

Zoom:

Even though the microscopic voltage gradient depends upon the temperature distribution, the actual voltage obtained by integrating along the entire length of the wire depends only on the choice of metals and the temperatures at each junction. The temperature gradient along each wire does not matter, only the temperature at the end points. This is a very convenient result that makes it possible to use the Seebeck effect for temperature sensing.

Note that a voltage is only generated when there is a temperature difference between the two junctions. If the temperatures are equal then there is no thermoelectric voltage.

Thermocouples

A thermocouple is a temperature sensor based on the thermoelectric effect. Thermocouples are often used to measure extreme temperatures, e.g. some types have a range exceeding 1000 °C. Their main limitation is accuracy: errors are typically in the range of at least 1-2 °C. Nevertheless they are widely used in industrial processes, ovens, kilns, engines, gas turbines, etc. where high temperatures need to be measured.

The basic idea of a thermocouple is shown in Figure 3. A voltmeter is connected using any conductor to the reference junction, whose temperature is already known. Then different metals (having different Seebeck coefficients) are used to make the connection to the sensing junction, which is at an unknown temperature.

Figure 3
Figure 3:

Minimal schematic diagram of a thermocouple sensor. A junction is a point where two different metals are joined. The indicated voltages show the Seebeck voltages generated within the given metal for the specified temperature difference.

Zoom:

The reference junction is held at a fixed temperature or is measured using another type of temperature sensor. Typically the reference junction would be somewhat close to room temperature. Temperatures in this range can be easily measured using an RTD, thermistor or other type of sensor. The thermocouple’s sensing junction can then be exposed to the extreme temperature.

Figure 3 shows four temperature gradients, and hence four Seebeck voltages. The thermoelectric voltages in the copper cancel out, because they have the same temperature gradient and use the same conductor for each direction. Therefore, the measured voltage only depends on the temperature difference between and , and the choice of metals for conductors A and B.

For a given pair of metals, the thermocouple is described by a “characteristic function” which gives the output voltage

The characteristic function can be given by a look-up table or mathematical function. A standard reference is the ITS-90 Thermocouple Database published by the U.S. National Institute of Standards and Technology (NIST). In this database, rows correspond to increments of 10 °C, while columns correspond to increments of 1 °C. The database tabulates the function in Eq. (3).

Example 10.1

A J-type thermocouple measures a temperature of 951 °C, while the reference junction is at 25 °C. What is the measured voltage?

Solution

Referring to the Type J table in the ITS-90 database, we find

Hence

Example 10.2

The voltage produced by a J-type thermocouple is 2.34 mV when the reference junction is 0 °C. What is the temperature at the sensing junction?

Solution

Referring to the table,

Consequently,

Referring to the Type J table, we find that 2.34 mV lies somewhere between 44 °C ( mV) and 45 °C ( mV). We can estimate the temperature by linear interpolation. The measured voltage is of the step between 44 and 45 °C. Hence the temperature is

Types of thermocouples

A wide array of metal combinations are useful to create thermocouples. Some popular pairs are given letter codes. Some of the most common are as follows:

Type K thermocouple

This is the most common general purpose type.

Materials: chromel (90% nickel and 10% chromium by weight) / alumel (95% Ni, 2% Al, 2% Mn, 1% Si).

Range: short term: -180 °C to 1370 °C; continuous: 0 °C to 1100 °C.

Typical error: °C.

Type T thermocouple

Type T is used in low temperature applications like freezers. It is also corrosion resistant so it is suitable for high-humidity environments.

Materials: copper / constantan (55% Cu, 45% Ni).

Range: short term -250 °C to 400 °C; continuous -185 °C to 300 °C.

Typical error: °C.

Type B thermocouple

Type B is used in high temperature environments.

Materials: platinum (30%) rhodium / platinum (6%) rhodium

Range: short term 0 to 1820 °C; continuous 0 to 1700 °C.

Other types

There are various other common types (e.g. J, E, R, etc) which are suitable for use in different situations (e.g. in vacuum, or inert atmospheres, or oxidising atmospheres, or reducing atmospheres).

Interface circuits for thermocouples

The output voltage from a thermocouple is typically in the mV range, so it needs to be amplified to interface with other circuitry. Suitable designs include op-amp based differential amplifier circuits or instrumentation amplifier circuits. The amplifier gain needs be chosen based upon the voltage range that is accepted by the downstream circuit.

Photovoltaic sensors

The photovoltaic effect is the mechanism behind solar cells. Light shining onto a semiconductor can create electron-hole pairs, if the photon wavelength lies within the absorption spectrum of the material. However, a current is only created if the electrons and holes are then conducted away from each other. One way to separate the charge carriers is with a p-n junction: the built-in field across the depletion region will drive the carriers towards their respective electrodes, and hence generate electricity.

This effect can also be used as a sensor to measure light intensity. A device optimised for sensing (as opposed to power generation) is called a photodetector or a photodiode. Its behaviour is characterised by a current-voltage curve. An idealised current-voltage curve for a photodiode is shown in Figure 4.

Figure 4
Figure 4:

The typical shape of a current-voltage (IV) curve for a photodiode. The inset shows the circuit symbol and the polarity of the voltage and current definitions used in this figure.

Zoom:

The main mechanism for light sensing is to measure the current at short circuit or reverse bias . The advantage of using reverse bias is that the electric field is stronger, resulting in faster response times and a linear dynamic range that extends to higher light intensities. Another approach is to measure the open circuit voltage, which is the voltage developed when no current is allowed to flow.

A typical small-scale silicon photodiode has a short circuit current under illumination in the range of tens of μA, open circuit voltages in the range of hundreds of mV, and reverse bias dark current in the range of a few nA.

Photodiodes will only detect light that is absorbed and then converted into charge carriers. Different semiconductor materials have different absorption spectra, hence the wavelengths of light that are detected will depend upon the material choice.

A common electrical circuit model for a photodiode is shown in Figure 5. Here is the photogenerated current (ideally linearly proportional to the light intensity within the operational range of the sensor), represents the capacitance of the device, is called the shunt resistance and should be as large as possible, and is the series resistance and should be as small as possible. We adopt the sign convention that positive current is forward bias across the diode, even though the desirable photocurrent flows in the opposite direction. This same circuit model also applies to solar cells (albeit with different numbers for each element).

Figure 5
Figure 5:

A simple equivalent circuit model of a photodiode, which can be used to analyse its behaviour in the context of a broader circuit design. The voltage and current match the polarity shown in Figure 4.

Zoom:

Interface circuits for current-generating sensors

In theory, converting a current signal into a voltage is easy: just use a resistor! Direct the current through the resistor, measure the voltage on the resistor, and calculate the current with Ohm’s law. A resistor used in this way is called a “current sense resistor” and is a common design for many circumstances.

However if the current is small, then using a current sense resistor is impractical. A small current would require a large resistance in order to produce a voltage big enough to be easily measured. However, a current-generating sensor may not be able to drive a large resistor.

A better design is the transimpedance amplifier (also called a transresistance amplifier). The prefix trans- means that the resistance is a ratio between an output voltage and an input current. Therefore it has units of ohms, but does not represent a simple resistance in the sense of Ohm’s law.

Transimpedance amplifiers

A transimpedance amplifier is a current-to-voltage converter. It is useful for sensors that produce a small current, e.g. photodiodes. The idea is to use an op-amp to create a “virtual ground”, as shown in Figure 6.

Figure 6
Figure 6:

Simplified schematic of a transimpedance amplifier. The sensor is represented by the current source . The crucial aspect of this design is that the voltage across is constant.

Zoom:

Notice that the voltage across the sensor is constant. The op-amp will drive in such a way that the voltage across the sensor is (almost) zero. Analysis of the current flow gives an expression for the output voltage . Hence we can identify the gain as , i.e. having units of Ω = V/A. Often it will be written as V/μA to emphasise that small input currents are amplified to produce a convenient voltage.

The design drawn in Figure 6 is a surprisingly challenging circuit for the op-amp, because the sensor will always have some capacitance across its terminals. Consider the schematic in Figure 7. The op-amp is trying to control , the voltage at the inverting input. However, notice that and form a low-pass filter. Consequently, the op-amp’s feedback is hindered by the capacitance of the sensor.

Figure 7
Figure 7:

A practical transimpedance amplifier circuit includes a capacitor , whose role is to prevent and acting like a lowpass filter. Such a lowpass filter would prevent the op-amp from responding quickly to changes in .

Zoom:

In practice, the situation is even worse than is immediately obvious from the low-pass characteristics of the feedback network. The problem is that the voltage divider formed by and adds a phase shift to the voltage at . Combined with the phase behaviour of the op-amp itself, this can cause the circuit to oscillate. (For details, please refer to The Art of Electronics by Horowitz and Hill, Chapter 4x.3.)

The solution is to add a capacitor in the feedback path to reduce the high frequency gain. A design rule from The Art of Electronics is to choose

where is the gain-bandwidth product of the op-amp and is the total capacitance to ground as seen by the op-amp’s inverting input. This would be something like , i.e. the total parallel combination of capacitance due to the sensor, cable, and the op-amp pin itself.

Simulations of this circuit with and without are shown in Figures 8 and 9.

Figure 8
Figure 8:

Micro-cap circuit simulation (AC analysis) of the transimpedance amplifier without the feedback capacitor. Notice the oscillation appears as a high gain resonance peak. The height of the peak in simulation is determined by the voltage supply rails. In practice, the circuit will produce rail-to-rail oscillation at some high frequency. Clearly, the oscillation is not useful for sensing.

Zoom:
Figure 9
Figure 9:

The same situation as Figure 8 but with the feedback capacitor turned on. Notice the correct behaviour of the circuit with no resonance peak.

Zoom:

Bandwidth considerations

The bandwidth of the transimpedance amplifier is given by

Notice that the higher the gain (i.e. the higher ), the lower the bandwidth. Furthermore, going to a faster op-amp (with higher ) provides only a small benefit because of the square root. This bandwidth can easily become a problem, since realistic values can lead to circuit bandwidths in the hundreds of kHz range, whereas the actual sensors can be tens of MHz or faster. We don’t want our interface circuit to limit the bandwidth of a high speed photodiode.

A common way around this is to build a cascade of two amplifiers, as shown in Figure 10.

Figure 10
Figure 10:

A cascade of two amplifiers can achieve high bandwidth and high gain.

Zoom:

First use a transimpedance amplifier to turn the current into a voltage and provide some amplification. The second stage is then a voltage amplifier. The total gain is the product of the gains of each amplifier.

Of course there is a trade-off in this design. Each amplification stage introduces noise. Nevertheless a two stage design is a common and practical approach.

References

Paul Horowitz and Winfield Hill, The Art of Electronics, 3rd edition, Cambridge University Press, 2015.