Bill Sloman said:
It would be messy. In theory, to create a triangular waveform, you
want to add the odd harmonics of the fundamental, with each harmonic
added at an amplitude that is related to the amplitude of the
fundamental in proportion to the inverse of the square of the harmonic
number - the third harmonic at one nineth of the fundamental, and the
fifth harmonic at one 25th (4%) would seem to be as much as you'd
need.
So, three centre-tapped tank circuits, tuned to be resonant at the
fundamental, the third harmonic and the fifth harmonic. Then three
separate feed inductors, each going from the same voltage rail to a
different centre-tap, and three pairs of MOS-FET switching transistors
to drive the three separate tank circuits.
Then a 4046 running at - say - thirty times the fundamental frequency,
divided by six to drive the fifth harmonic tank, by ten to drive third
harmonic tank and by thirty to drive the fundamental tank, with a
second divide by thirty output in quadrature with the first that you
can phase lock to the output from the fundamental tank.
This would give you three sychronised sine waves; put a 225 turn
floating coil on the fundamental tank circuit, a 25 turn floating coil
on the third harmonic tank circuit and a 9 turn floating coil on the
5th harmonic tank circuit, and connect the three coils in series ands
you should be able to end up with a not-too-round triangular wave.
The feed inductors could probably have quite a lot more inductance
than the inductance of the tank circuits - the original Baxandall
class-D oscillator built with bipolar transistor switches "squegs"
when the feed inductor is too big, but oscillators driven by MOS-FETs
don't seem to have this problem.
Blimey, I didn't consider that solution! Thanks for this. The tanks I assume
would be close to resonance but may be a little out due to tolerances and
drift, which I guess will add a bit of cross-over distortion, but that might
get filtered out eventually.
Anyway, I was thinking more on the lines of modulating the current through
the single source inductor. Maybe by reducing the source inductor to a much
lower value, and PWMing it such that the resulting dB/dt in the core
generates a triangle wave. The reason I say that is because your work seems
to suggest the ripple through this source inductor (due to the centre tap
voltage rising and falling) actually adds harmonic distortion to the output
waveform, and one of the solutions was to try to remove it by PWMing.
Also, this source inductor is quite a large component and suffers from I2R
losses, so couldn't you make it look much bigger to the circuit by tracking
a proportion of the centre tap voltage and PWMing a much smaller source
inductor with it? The result from that I think would be to effectively put a
much smaller ripple voltage across the inductor, and you could get away with
a smaller one as a result.
BTW I have made a large-ish class D oscillator which worked fine even with a
large source inductor relative to the drive inductance, and yes I did use
MOSFETs
One thing of note, your experiments with PWMing produced some ringing which
you suggest non-overlapping drive might help. I came to the conclusion that
you *need* a small amount of overlapping, because when both transitors are
off the current stops flowing instantly, which would mean the source
inductor voltage would rise to try to keep its current flowing and there's
nowhere for the current to go (both transitors are off). The one I built has
a PLD that guarantees a few 100ns of overlap and had no issues with noise.
Mark.