Fred Bartoli wrote:
[sin**2 + cos**2]
I find this way of instantly obtaining the amplitude pretty nice
since it relieves you from having an additional very LF pole in the
stabilization loop, just relying on the oscillator's filter
amplitude response. However I wonder how well this could behave for
a very low distorsion oscillator.
Error in typical analog multipliers (MPY634, etc., the $5-$10 variety)
is typically quoted at 2% full scale. When operated as squarers some
of this cancels out and 0.3 (hi-grade) to 1.2% (low-grade) is what I
see in the MPY634. I suspect there will be further cancellation from
adding sin**2 and cos**2 since they are out of phase.
But think what happens if you have a truly constant-amplitude sine
wave, and then some distortion in your squarers. The ripple due to
error in the squarers will only be a percent, and it will be at twice
the frequency of the oscillator under some pessimistic assumptions
about the nature of the distortion, and at four or eight times the
frequency under some more realistic assumptions about distortion. This
is a lot better for developing AGC than a half-wave or even full-wave
rectified sine wave.
Now, Ban doesn't tell us about all the time constants but I will
assume that to get to sub-tenth-percent distortion that you have to
average the resulting sin**2+cos**2 over a period or so (he shows a
peak-measuring circuit so I'm guessing he's averaging over a couple
cycles). His sin and cos oscillators are expressly designed so that as
you slew the frequency, the amplitude will remain constant within the
precision of the multipliers/dividers there so the gain tweaking is
there only to correct for the error in those multipliers.
He doesn't explicitly say so, but I'm assuming that whenever he uses a
multiplier he uses the most linear input to carry the oscillation and
the least linear input to carry the gain factor. In the medium-spec
analog multipliers the more linear input has a "typical" 0.01%
nonlinearlity so this is the right ballpark.
Tim.