Now we transfer this mathematics with x, y and z to the world of P, UOS and R. We form the partial derivative of the formula for calculating the number at the ADC with respect to all parameters that are subject to uncertainties. The parameters in this example are:
With these results we can calculate the uncertainty of the number at the output of the ADC. According to Gaussian error propagation, the uncertainty is calculated with this formula:
Let us start with the sensor voltage US. All other parameters become constants. For this calculation we set the uncertainties of the other parameters to 0. We set the values of the other constant parameters to suit the chosen operating point P = 3 bar, e.g. US = 30 mV for the sensor voltage. The following applies
The influence of the uncertainty of the sensor voltage on the number at the output of the ADC is therefore weighted with 2834. Next, let us look at the offset voltage of the op-amp:
The offset voltage of the op-amp is weighted with 0.17. So it acts much less strongly on the number at the output of the ADC than the uncertainty of the sensor voltage. This is because the offset is much smaller than the uncertainty of the sensor voltage. Next we look at the reference voltage at the ADC:
The reference voltage of the ADC is weighted with a factor of 0.74. That is insignificantly more than the offset voltage of the op-amp, and many orders of magnitude less than the sensor voltage.
Resistors
Exercise: Calculate the weighting factors for the resistors R1 and R2 yourself. For checking: the results are 12.7 for R1 and for R2.
Result
Finally, we take the square root over all the weighting terms:
For comparison: if we consider only the sensor voltage as an uncertainty and set all other uncertainties to 0, the result is Δ Zahl = 53.23. Obviously the influence of the sensor voltage on the result is dominant. In comparison, all other effects play no role.
Interpretation
It does not matter which op-amp I use or how accurate the resistors are, because the sensor is so poor in comparison that it alone dominates the uncertainty of the system. So if we optimise this system, we improve the sensor and use worse components elsewhere to save the extra costs again. And then we calculate again where to optimise next.
In general: uncertainties that occur before an amplifier are particularly annoying. The uncertainty is multiplied by the gain and therefore acts on the output in amplified form. That is why it often makes sense to optimise all components before an amplifier first, before tackling the components after the amplifier. With high gain, the uncertainty at the ADC often no longer plays any role at all.
In this method, the result of the partial derivative is squared. Then the square root is taken to undo the effect of squaring. This takes into account mathematically that we have normal distributions in the uncertainty ranges and not uniform distributions. But the effect is drastic: large weighting factors become even larger and small ones even smaller.
If we only compare the individual uncertainties without the Gaussian method, the difference is nowhere near as large as in the mathematically correct result according to Gauss. We must look at the effect of the uncertainties on the result, not just the size of the uncertainties. Some uncertainties, for example, are amplified, others are not.