Figure 3:
is the quantisation step.
|
A/D converters have a certain resolution. For example, the MAX1271 has a
resolution of 12 bits which means that it divides the input range into
4096 equal steps (see Fig 3).
(
17)
where
is the dynamic range in volt
(for example ) and is the number of quantisation steps
(for example, 4096). is the quantisation step which defines
minimal voltage change which is needed to see a change in the output
of the quantiser. The operation of the quantiser can be written down
as:
(
18)
Figure 4:
Illustration of the quantisation error. It is zero at
and increases to the edges of the sampling interval. Illustrated
is the worst case scenario. This repeats in the next sampling interval
and so forth.
|
Fig. 4 shows error produced by the quantiser in the
worst case scenario. From that it can be seen that the maximum quantisation
error is half the quantisation step:
(
19)
The smaller the quantisation step the lower the error!
What is the mean square error ?
(
20)
|
|
|
(23) |
this then results in the almost trival result that the size of the
quantisation step scales linarly with the average error . So if we
have two times more quantisation steps then the error will half!
What is the relative error to a sine wave?
(
24)
Ratio to signal power to noise:
This equation needs to be interpreted with care because increasing
the amplitude of the input signal might lead to saturation if the
input range of the A/D converter is exceeded.
github / contact