Learning Content and Theses

Platform for digital learning at HSHL

System Analysis

As an example, let us consider the following measurement chain for a pressure measurement. It begins with the pressure, which a sensor converts into a voltage. Then the voltage is amplified and digitised.

Measurement chain of the pressure measurement: sensor, analogue signal processing, ADC and microcontroller
Sensor = sensor · Analoge Signalverarbeitung = analogue signal processing · Mikrocontroller = microcontroller

Sensor

The sensor shows the following behaviour if no errors occur:

\[ \begin{gathered} P = [1\,\mathrm{bar} \ldots 10\,\mathrm{bar}] \\[6pt] U_{S,\mathrm{ideal}} = \frac{10\,\mathrm{mV}}{\mathrm{bar}} \cdot P \end{gathered} \]

The measurement of the pressure is uncertain. The voltage has an offset of ±1 mV and an uncertainty in the slope of ±1% of the measured value. These are arbitrary values for the example. This gives us the formula for the sensor voltage:

\[ U_{S,\mathrm{real}} = \frac{10\,\mathrm{mV}}{\mathrm{bar}} \cdot P \cdot (1 \pm 0.01) \pm 1\,\mathrm{mV} \]

The term (1 ± 0.01) has the value range [0.99 … 1.01]. This corresponds to [99% … 101%]. Mathematically, it maps the uncertainty of the slope of 1% of the measured value around 100% onto a range. The mapping does not yet give a distribution of the values within the range; it only marks the limits of the range.

The uncertainties are contained in the terms with “±”. To rearrange the formula so that the uncertainties are combined, we multiply out the bracket (1 ± 0.01):

\[ \begin{gathered} U_{S,\mathrm{real}} = \frac{10\,\mathrm{mV}}{\mathrm{bar}} \cdot P \cdot (1 \pm 0.01) \pm 1\,\mathrm{mV} \\[6pt] = \frac{10\,\mathrm{mV}}{\mathrm{bar}} \cdot P \cdot 1 \pm \frac{10\,\mathrm{mV}}{\mathrm{bar}} \cdot P \cdot 0.01 \pm 1\,\mathrm{mV} \\[6pt] = U_{S,\mathrm{ideal}} \pm \Delta U_S \\[6pt] \text{with } U_{S,\mathrm{ideal}} = \frac{10\,\mathrm{mV}}{\mathrm{bar}} \cdot P \\[6pt] \text{and } \Delta U_S = \pm \frac{10\,\mathrm{mV}}{\mathrm{bar}} \cdot P \cdot 0.01 \pm 1\,\mathrm{mV} \end{gathered} \]

The uncertainty is now combined in ΔUS. It has a constant term ±1mV. In addition there is a term that depends on the current pressure value P. For this example, let us insert P = 3 bar into the formula. This gives an uncertainty of the sensor voltage of

\[ \Delta U_S = \pm \frac{10\,\mathrm{mV}}{\mathrm{bar}} \cdot 3\,\mathrm{bar} \cdot 0.01 \pm 1\,\mathrm{mV} = \pm 0.3\,\mathrm{mV} \pm 1\,\mathrm{mV} = [-1.3\,\mathrm{mV} \ldots 1.3\,\mathrm{mV}] \]

The deviation of the sensor voltage from the ideal characteristic at P = 3 bar lies in this interval. It is normally distributed, so it only extremely rarely reaches the limits of the interval and very probably lies close to the middle of the interval at 0mV.

Analogue signal processing

Suppose the pressure sensor can measure a pressure in the range P = [0 bar … 10 bar]. Then the value range of the ideal sensor voltage (without the uncertainty) is US,ideal = [0mV … 100mV]. Suppose the ADC has the reference voltage URef = 3V. To amplify the sensor signal optimally into this range, we need a gain of v = 30.

For this we use a non-inverting op-amp as an amplifier with

\[ \begin{gathered} v = +30 = 1 + \frac{R_2}{R_1} \\[6pt] \text{Choice: } R_1 = 1\,\mathrm{k\Omega},\; R_2 = 29\,\mathrm{k\Omega} \end{gathered} \]

The resistors are not ideal; for a start we take ones in the 0.2% accuracy class with a temperature coefficient of TK=20ppm/°C. The pressure measurement is to be used at temperatures of T = [-25°C .. 75°C]. So ΔT = ±50°C around the reference temperature of 25°C applies. For the resistors this gives:

\[ \begin{gathered} \Delta R_1 = \pm 0.2\,\% \cdot 1\,\mathrm{k\Omega} \pm \frac{20\,\mathrm{ppm}}{{}^\circ\mathrm{C}} \cdot 1\,\mathrm{k\Omega} \cdot 50\,{}^\circ\mathrm{C} = \pm 2\,\Omega \pm 1\,\Omega = \pm 3\,\Omega \\[6pt] \Delta R_2 = \pm 0.2\,\% \cdot 29\,\mathrm{k\Omega} \pm \frac{20\,\mathrm{ppm}}{{}^\circ\mathrm{C}} \cdot 29\,\mathrm{k\Omega} \cdot 50\,{}^\circ\mathrm{C} = \pm 58\,\Omega \pm 29\,\Omega = \pm 87\,\Omega \\[6pt] R_1 = 1\,\mathrm{k\Omega} \pm 3\,\Omega \\[4pt] R_2 = 29\,\mathrm{k\Omega} \pm 87\,\Omega \end{gathered} \]

The op-amp is not ideal either; we use a type with an offset voltage of UOS = 5µV and a temperature coefficient of TK = 100nV/°C. The following applies:

\[ U_{OS} = \pm 5\,\mathrm{\mu V} \pm 100\,\frac{\mathrm{nV}}{{}^\circ\mathrm{C}} \cdot 50\,{}^\circ\mathrm{C} = \pm 5\,\mathrm{\mu V} \pm 5\,\mathrm{\mu V} = \pm 10\,\mathrm{\mu V} \]

We model the offset voltage at the non-inverting input of the op-amp, so it is amplified by the op-amp with v = 30.

ADC

For simplicity, we consider only the reference voltage of the 12-bit ADC to be erroneous. The 3V reference deviates initially by ±200ppm and has a temperature coefficient of TK = 10 ppm/°C.

\[ U_{\mathrm{Ref}} = 3\,\mathrm{V} \pm 200\,\mathrm{ppm} \cdot 3\,\mathrm{V} \pm 10\,\frac{\mathrm{ppm}}{{}^\circ\mathrm{C}} \cdot 50\,{}^\circ\mathrm{C} \cdot 3\,\mathrm{V} = 3\,\mathrm{V} \pm 0.6\,\mathrm{mV} \pm 1.5\,\mathrm{mV} = 3\,\mathrm{V} \pm 2.1\,\mathrm{mV} \]

Linearity, offset and quantisation effects of the ADC are neglected in this example.

Download course as PDF

The PDF contains all pages of the course. Interactive content is only available on the website.