Article View: sci.electronics.design
Article #166Re: Ai is cool
From: john larkin
Date: Sun, 11 Oct 2026 15:06
Date: Sun, 11 Oct 2026 15:06
69 lines
4359 bytes
4359 bytes
On Sun, 11 Oct 2026 18:46:15 +1100, Bill-Sloman <bill.sloman@sophia-elektronica.com> wrote: >On 11/10/2026 12:31 pm, john larkin wrote: >> On Thu, 08 Oct 2026 08:09:33 -0700, john larkin <jl@glen--canyon.com> >> wrote: >> >>> On Thu, 08 Oct 2026 06:30:02 +0000, someone >>> <2a59d59e3809f827ce709d3815e3950eef4a6a93af5557a93a7fdfba71460843@example.com> >>> wrote: >>> >>>> If your target output frequency isn't an integer submultiple of the DDS reference clock, stuff like that happens. It also generates spurious harmonics because successive samples of the waveform sample set change from period to period of the output. Does your DDS take an external clock? >>> >>> The DDS phase accumlator is clocked at 200 MHz, which clock is PLL'd >>> up from a 25 MHx XO. >>> >>> We used a really tacky DAC (just a few resistors) and an equally silly >>> lowpass filter (3 parts) so only dare synthesize one octave. We divide >>> down from there. >>> >>> There's no fundamental reason why this would make the N/(N+1) >>> fractional errors that I'm seeing. It must be a bug in the math >>> somewhere. >>> >>> We have a brainstorm session on Friday to review the thing. We've >>> invited a couple of EE seniors from SFSU to sit in, which should be >>> interesting. >>> >>> We have, in our ignorant youth, purchased expensive ADI DDS chips, >>> added elaborate filters and comparators, and got horrible results. The >>> FPGA-based DDS shoud be much better, once we fix the math. >If you didn't understand the math embedded in the expensive ADI DDS chip >you might have got horrible results out of them too. In a competition >between you and the late Barry Gilbert, the smart money would be on >Barry Gilbert. The ADI datasheet is in plain sight. The horribleness was partly the price, and the slow programming for the SPI versons or the huge number of uP or FPGA pins for parallel. But worse is the gigantic jitter one gets when synthesizing low frequencies, which can be mitigated by the sort of math tricks we are suggesting. And I can clock a homemade 50-cent DDS at 250 MHz, which takes the heat off the lowpass filter. An AD9913 can clock at 250, but it costs $34 and none are in stock. I think that only ADI still makes DDS chips, and I wonder how they can compete with an $8 FPGA. > >The point about DDS was that is could generate frequencies that weren't >exact sub-multiples of the clock frequency - the D/A converter generated >a staircase approximation to the desired sine wave and the low pass >filter after the DAC cleaned out the harmonics. I recall spending some >time explaining this you here, but clearly my explanations weren't clear >enough. Wikipedia mostly agrees with you. Even with 32-bit math, the numbers get ugly at low frequencies. I'll ask my FPGA girls if they'll do a 48 or 64-bit divider. John Larkin Highland Tech Glen Canyon Design Center Lunatic Fringe Electronics
Technical Details
Message-ID:
<g78nclh7ovm0m5si1ulm40u4lng2mjp88s@4ax.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<p5e8cllcg2qf2l4pjpaki8h9me576b9vsm@4ax.com> <18dc7a199cc339b2$17$240429$4256dc03@news.newsgroupdirect.com> <qobfcl5rhm01pd5updqafa1keahueg9sat@4ax.com> <2dplcldh4srf1mjamatfa8kgbg2udahl23@4ax.com> <11afesa$2eenk$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: john larkin <jl@glen--canyon.com> Newsgroups: sci.electronics.design Subject: Re: Ai is cool Date: Sun, 11 Oct 2026 08:06:41 -0700 Organization: A noiseless patient Spider Lines: 69 Message-ID: <g78nclh7ovm0m5si1ulm40u4lng2mjp88s@4ax.com> References: <p5e8cllcg2qf2l4pjpaki8h9me576b9vsm@4ax.com> <18dc7a199cc339b2$17$240429$4256dc03@news.newsgroupdirect.com> <qobfcl5rhm01pd5updqafa1keahueg9sat@4ax.com> <2dplcldh4srf1mjamatfa8kgbg2udahl23@4ax.com> <11afesa$2eenk$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Date: Sun, 11 Oct 2026 15:06:43 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2885475"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18eGjuaL1MtVzjUp+83qltG"; posting-host="6323347a86e0328f7274afa80bca3cd1" User-Agent: ForteAgent/8.00.32.1272 Cancel-Lock: sha1:VUjrD07BPD/TA+UVK3Pa8viOsFs= sha256:hbJt55QYxmUcR8efx5BduioTGuAoNODVl8k6KAthkkU= sha1:/NNXEXf0oaTsr2Pk92V2M9BX4xs= sha256:wu6MzA4kZ+llWinuoCtnGl2sTuf2PIMf37jVfB1UbBQ=