[sdiy] Temperature Compensated VCO attempt - help?
Magnus Danielson
cfmd at swipnet.se
Tue Feb 4 08:54:35 CET 2003
From: Don Tillman <don at till.com>
Subject: Re: [sdiy] Temperature Compensated VCO attempt - help?
Date: Mon, 3 Feb 2003 10:35:07 -0800
Dear Don,
> > Date: Mon, 03 Feb 2003 10:02:43 +0100 (CET)
> > From: Magnus Danielson <cfmd at swipnet.se>
> >
> > My bid is:
> >
> > Put a Gilbert-cell on top of an expo-converter. Put the linear
> > (sign-swapping) modulation on one of the Gilbert-cell input pair,
> > put the Schmitt-triggered output waveform on the other input pair
> > of the Gilbert-cell. The current output of the Gilbert-cell is
> > connected to an integrator and this is followed by a
> > Schmitt-trigger. The current in the Gilbert-cell is modulated
> > from the expo-pair. This should be both a compact and pretty
> > well-behaving oscillator and since there is non abrupt switching
> > of current but rather linear change in current balance I think
> > there is a good chance of a nice behaviour.
>
> Well that's certainly elegant.
>
> But I think something's missing (or perhaps I'm missing something).
>
> Say we have it set to a positive frequency, the integrator has just
> hit the positive reference voltage, the Schmitt trigger changes the
> direction to slew down, and then at that point, if we set the control
> voltage to negative, the integrator slews back up to the reference
> voltage, but the Schmitt trigger is still in the positive state so it
> won't notice to change direction again.
>
> Graceful thru-zero a very difficult problem.
OK, don't say a good nights sleep doesn't help you see things clearer.
Now, what is the problem? Realy?
Well, we have a waveform which charges up and down. We have must swap sign on
the charging to keep the waveform within limits. Just to annoy the designer
someone desided we also is allowed to have both positive and negative
frequencies which is under linear control. When the linear control shifts over
from positive to negative frequency or from negative to positive, the waveform
will change direction. Now, when this happends we will reach the same
switch-point we previously we switched sign to keep within bounds. Naturally,
if we switch sign on the linear frequency control the waveform will switch
direction again, but "back" to the "right" direction. What we learn is that
unless we properly followed the polarity we don't actually know if we hit the
upper or lower limit.
OK, now we know what can happend. Now we ask ourself about actual
implementational issues.
Can we correctly identify the shift in modulation sign?
No, that's very hard. The reason is that if we look at the sign for any signal
we effectively use a comparator, and the offset between the comparator and
actual sign shift hides the sign. Especially if the signal sit tight in the
gap for a sufficiently long time it will make a difference. Also, DC offsets
tend to drift some, so when the static offset have been trimmed away there's
still some around. Eventually it doesn't mean much, since the offset becomes
so small that other effects make it meaningless.
The other way is to handle the situation when we actually hit the limits.
If we have a comparator for the upper and for the lower limit so that these
go "high" when the signal goes above the upper limit or below the lower limit.
We also have an output to the sign shifter (the Gilbert-cell I have been
babbeling about). When we hit either of the limits we must change direction.
That's actually how simple it is. We can acheive this by having a state-machine
such that it's output is the current charge-direction. Whenever either the
upper or lower limit is reached and thus either comparator goes high, the state
machine reacts by changing its sign.
There are different ways to actually design this state machine, but a
D-flip-flop and an or-gate might be all it takes.
So Don, does this seem to bark up the right tree now?
I think so. There is a few details about the detailed state-machine and the
ability to filter noise and blips, but what it should do is clear and I do
think those issues can be dealt with.
Oh, it's snowing again! ;O)
(We had a mild snowstorm yeasterday ;O)
Cheers,
Magnus - likes snow
More information about the Synth-diy
mailing list