[sdiy] Square to Sine
wa7bsr at gmail.com
wa7bsr at gmail.com
Mon Apr 10 21:27:01 CEST 2017
I remember that this was a big thing for Don Lancaster:
http://www.tinaja.com/magsn01.shtml
Take Care,
John
From: ASSI
Sent: Friday, April 7, 2017 11:32 PM
To: synth-diy at synth-diy.org
Subject: Re: [sdiy] Square to Sine
On Tuesday, April 4, 2017 2:26:30 PM CEST rburnett at richieburnett.co.uk wrote:
> I have always wondered about magic sinewaves for something like this.
> For those not familiar they are sinewaves generated digitally using PWM
> techniques but the transitions in the PWM pulse-train are carefully
> chosen using some clever mathematics to force most of the low-order
> harmonics to zero. This *greatly* reduces how much you have to filter
> the signal in order to get a decent sinewave with nice low THD.
This is the same working principle as any delta-sigma modulator (ternary in
this case), just with a very low oversampling. There are quite a few papers
that probe the fascinating relationship of various pulse trains vs. the
resulting spectrum in order to determine or eliminate the resulting harmonics,
you could easily keep yourself busy reading about that for a year at least.
For audio, the solution of choice is to just oversample the heck out of it,
chuck all the noise harmonics way up beyond audible and then put an LPF behind
it. For power inverters this doesn't quite work since the energy expended for
each switching cycle will reduce the efficiency and it is generally not
possible to switch really fast even if that wasn't a concern. Please heed the
note about the necessary timing precision (and that actually means down to the
switching waveform, not just the timing of the control signal), which would be
even more demanding a requirement if you were to attempt this for audio
frequencies. I guess it's still possible to do in an FPGA, but if you also
want frequency agility (you still can't do "real" modulation since that undoes
the zeroing of the unwanted harmonics) it gets into rather excessive clocking
requirements.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves
_______________________________________________
Synth-diy mailing list
Synth-diy at synth-diy.org
http://synth-diy.org/mailman/listinfo/synth-diy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://synth-diy.org/pipermail/synth-diy/attachments/20170410/13c3b41e/attachment.htm>
More information about the Synth-diy
mailing list