Title: Quantization and Roundoff Abstract science or problems of everyday life
1Quantization and RoundoffAbstract science or
problems of everyday life?
- István Kollár
- Budapest University of Technology and Economics
- Department of Measurement and Information Systems
2Outline
- Quantization in life
- Sampling vs. Quantization
- Basic results for uniform quantization
- Dithering
- A few paradoxes
- Quantization in floating-point
- Analysis of algorithms
3Quantization everywhere
- What time is it? 1124
- I buy 100 grams of ham
- I am 55 years old (NOT 54.8 years)
- Easter
- Easter Sunday is the Sunday following the full
moon after the March Equinox (not quite true, but
approximately) - The quantum size is inherently given
- Relative vs. absolute error
4Quantized vs. Continuous
- We are not interested here in quantized nature of
time or of space - Consider quantized quantity representing a
continuous one - Look closer than good enough
- Sampling vs. Quantization
5Sampling vs. Quantization II.
6Sampling
7(No Transcript)
8Condition never fulfilled!
- No signal is time and bandlimited
- Transients
- Periodic signals (coherent sampling?)
- Stochastic signals
- The key look for information content in sampled
signal
9Quantizer
10(No Transcript)
11Quantizing Theorem
- If the CF of x is bandlimited, so that
then the replicas contained in will
not overlap the CF of x can be derived from the
CF of x the PDF of x can be derived from the
PDF of x.
12(No Transcript)
13Fulfilment
- No, in theory never
- Amplitude-limited usually it is
- CF-limited never
- Approximations smooth enough, to provide
approximate CF-limitedness - No perfect reconstruction of signal!
14Counterexample
15(No Transcript)
16Quantization Noise
- Noise model
- Independent
- Uniformly distributed
- White
17Quantizing Theorem III/A
then the quantization error will be uniform. Is
this enough for us?
18Noise modulation
19Dither
Anti-alias filtering bandlimit input
signal Dither bandlimit characteristic function
20Subtractive vs. Non-subtractive dither
21Surprize (?)
Three mutually independent variables can be NOT
independent as 3 variables
22Uniform dither (Fleetwood Mac Tusk)
Power changes unpleasant
23Solution
- Add triangularly-ditributed noise as dither
24Marker-based movement analysis (pictures after
Jobbágy, Ákos)
25Measurement by using CCD camera
26Determine position of centre
Defocusing of the camera improves position
estimate
27Block-float (fixed-point) FFT errors
288-point FFT
29Fixed-point FFT with noise model
30(No Transcript)
31Welchs figure for FFT of sine
32Why coherently sampled sine is special
33Maximum error (after Vilmos Pálfi)
7 dB loss in dynamic range
34Error behavior for incoherenly sampled sine
35Signals with the same PDF
36Possibility to measure open-loop error
37Correction use of inverse of algorithm
38Example condition number OK, result not (after
Bart de Moor)
39Evaluation
Theoretically
Numerical results
40Conclusions
- BE CAREFUL!
- Common sense works well except for us (Murphy)
- Tools are available to investigate