Virgo Logbook
UTC--:--:--
GPS-
Reports
Length Sensing and Control›Frequency stabilization #6232

(untitled)


Simple model of quantization in a feedback loop.
------------------------------------------------

I have studied with simulink the effect of quantization
in a feedback loop.
The loop is quite simple:
    P               Z
   fq   Q          fq   Q
  1e-2  0
  1e-2  2         100   2
The unity gain is set at 1 kHz.
The loop is "very" stable according to the standards:
the phase margin is 170 degrees, the gain margin is 5.
The closed loop (G/(1+G)) shows up a very slight
bump at 100 Hz (gain of 1.3).

A quantizer with a big step (0.1) is set in front 
of the system (an "ADC"), and a quantizer of 1e-7 is
set back to the system (a "DAC").

In the simulation, there is an initial kick with an
arbitray size. One sees that an oscillation develops,
that is not random but stationary, whose amplitude
depends on the "ADC" "bit" size.
- this is not a loop instability
- this is not noise enhanced by closed loop gain (G/(1+G)

Conclusions:
1) this is an effect specific to quantization.
The loop is using the G/(1+G) bump to oscillate.
2) contrary to what is usually assumed:
the quantization noise is not "noise", but determinist;
thus, its spectrum will show a set of lines, and can not
be calculated with the "bit/sqrt(12)/(f_sampling/2)".