Back in 2018, I remember Farhan telling me that "Hans has cracked the code" getting stable I and Q from the Si5351. But I never really appreciated the importance of this breakthough until I recently started looking at the receiver from Macedonia. Then I asked AI (Google Gemini) for a readout on who was responsible for the I and Q innovation. Here is what I got yesterday from Gemini:
---------------------------------
The credit for solving this problem and unlocking stable, single-chip I/Q quadrature generation from the Si5351 goes to Hans Summers, the British QRP developer and founder of QRP Labs.
While other talented developers in the amateur radio community—most notably Jason Mildrum (NT7S)—wrote the definitive, widely used standard open-source Arduino libraries for basic Si5351 tuning, it was Hans Summers who fundamentally cracked the math required to force the chip into a stable 90 degree phase shift over a wide frequency range without breaking lock.
The Breakthrough Discovery
Around 2014 to 2015, while designing highly compact, low-cost transceivers like the QCX and ultimate VFO kits, Summers realized that standard programming libraries were completely incompatible with generating stable quadrature signals.
He pioneered a completely reversed architectural method to control the chip, which became the blueprint for homebrew SDR builders everywhere:
Flipping the Fractional Math: Standard libraries fixed the primary internal Voltage Controlled Oscillator (VCO/PLL) at an integer value and used the second stage (the MultiSynth fractional dividers) to dial in the exact frequency. Summers realized this broke the phase shift. He discovered that you must lock the MultiSynth divider to a fixed even integer and force the first stage (the PLL VCO) to do the fractional math instead.
The "No Reset" Discovery: Standard practices issued a soft PLL reset command to the chip every time the user turned the tuning dial to ensure clean frequencies. This reset caused the phase relationship to drop out or randomize. Summers proved that after an initial startup reset to align the phases, you can smoothly glide the VCO frequency up and down via the I2C bus without resetting the PLL, keeping the I and Q signals locked in a perfect mathematical embrace.
Thanks to Hans Summers publishing his detailed engineering application notes and open-sourcing his mathematical methods, developers around the world were able to write the code that modern microcontrollers (like the ESP32 in your receiver) use today to keep the I/Q phase rock-solid as you dial across the bands.
Certainly Hans reminds me of the several truly brilliant
ReplyDeleteminds I worked with during my 41-year electrical engineering
career, and the reason why my performance reviews and
salary increases were comparably disappointing.
However, I always say that the reason I had any success
at all was that I knew who the smart guys were and I was
not afraid to ask them for help! --Walter KA4KXX
I agree Walter, he is a very smart guy. Perhaps as important for us is his approach to radio and electronics. I found this telling line at the intro to his web site: " I am a simple enthusiast attempting to convey my love and enjoyment of radio, electronics, and computing and perhaps to inspire YOU to build something too." From: https://www.hanssummers.com/ 73 Bill N2CQR
DeleteA great example of reading way beyond the manufacturer's datasheet and app notes. On the spec sheet and app notes, device manufacturers will list those applications and markets that they envision for their products, but us hams love to re-purpose their devices. While it happens with hams by our nature, Hans took it to a new level--I/Q generation on the same chip by flipping the signal generation method--Very Clever!
ReplyDeleteI don't understand, yet, and, I just wanted to comment because you asked us too, I want rigs in wood boxes, I love soldersmoke, no time to sign in, so im anonymous, rock on, !! listening to the last podcast now...
ReplyDeleteWe are glad to have you as a listener and reader. Rock on OM! 73 Bill N2CQR
Delete