Hey 'yall,
I'm running a V12, 66.9, TCXO.? I've run freq cal and I'm off by 190 hz.? I've hard coded the cal value into si5351.init as well as 0.0.? The 190 hz error shows against my freq standard (10MHz) as well as my Siglent sig gen.? Zero beat is at 10,000,190. And when I'm listening to some SSB net on 20M, the best audio comes in at +190 hz (assuming they run the net on a whole freq).? Freq cal shows an error of 0.15Hz throughout the 20 min.? I adjust the cal factor to a freq error of 0.15Hz before I start cal.? I've run cal multiple time with the same results.? Everything is temp stabilized.
190 Hz isn't that bad but I'd like it to be close to zero.
Any thoughts?
Thanks
Mark
KU3O
|
Are you saying that if you tune to 10 MHz and select SAM demodulation, you measure a frequency offset of 190 Hz?
A gotcha with the frequency calibration is that it matters how you tune to 10 MHz -- don't touch the fine tune knob! The math under the hood in the frequency calibration routine doesn't account for the fine tune frequency offset. Instead, tune by pressing the Dir Freq (Direct Frequency) button and entering 10 on the button pad. Does that help?
On Monday, April 7th, 2025 at 8:35 PM, epif18 via groups.io <epif18@...> wrote:
toggle quoted message
Show quoted text
Hey 'yall,
I'm running a V12, 66.9, TCXO.? I've run freq cal and I'm off by 190 hz.? I've hard coded the cal value into si5351.init as well as 0.0.? The 190 hz error shows against my freq standard (10MHz) as well as my Siglent sig gen.? Zero beat is at 10,000,190. And when I'm listening to some SSB net on 20M, the best audio comes in at +190 hz (assuming they run the net on a whole freq).? Freq cal shows an error of 0.15Hz throughout the 20 min.? I adjust the cal factor to a freq error of 0.15Hz before I start cal.? I've run cal multiple time with the same results.? Everything is temp stabilized.
190 Hz isn't that bad but I'd like it to be close to zero.
Any thoughts?
Thanks
Mark
KU3O
|
Hey Oliver,
I select the 30M band and tune to 10MHz using the Tune knob.? I select SAM demod and use the Fine Tune to get the freq error down to the lowest value possible.? Then I start the Calibration routine.? I then use the Filter knob to adjust the correction factor to lower the freq error to about 0.15Hz.? That then shows up on the graph in the appropriate spot.? That's the graph with the Run Mean, Avg Mean, Std Dev, etc.? I let that run for 30 min then exit and save.
The display then goes back to the operating display (waterfall, etc) and the freq shows 10000190.? When I tune to 10000000 using the Fine Tune knob, I get a very low freq audio tone.? Looks like a little less that 200Hz (ish) on the audio spectrum.
When I shut down and restart then tune to 10MHz, SAM shows a 190 Hz error against my freq standard.
I'll try your recommendation and let you know.
Thanks
Mark
KU3O
|
OK, the direct freq entry was the key.? Freq error on 30M and 20M around 4Hz, Which I think is fine.
Thanks Oliver
Mark
KU3O
|
¡°The math under the hood in the frequency calibration routine doesn't account for the fine tune frequency offset.¡± ? I didn¡¯t catch that either¡ any reason for that.? Seems a bit quirky¡ ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ?
toggle quoted message
Show quoted text
From: [email protected] <[email protected]> On Behalf Of Oliver KI3P via groups.io Sent: Tuesday, April 8, 2025 5:17 AM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] Freq Calibration? Are you saying that if you tune to 10 MHz and select SAM demodulation, you measure a frequency offset of 190 Hz? A gotcha with the frequency calibration is that it matters how you tune to 10 MHz -- don't touch the fine tune knob! The math under the hood in the frequency calibration routine doesn't account for the fine tune frequency offset. Instead, tune by pressing the Dir Freq (Direct Frequency) button and entering 10 on the button pad. Does that help? On Monday, April 7th, 2025 at 8:35 PM, epif18 via groups.io <epif18@...> wrote:
I'm running a V12, 66.9, TCXO.? I've run freq cal and I'm off by 190 hz.? I've hard coded the cal value into si5351.init as well as 0.0.? The 190 hz error shows against my freq standard (10MHz) as well as my Siglent sig gen.? Zero beat is at 10,000,190. And when I'm listening to some SSB net on 20M, the best audio comes in at +190 hz (assuming they run the net on a whole freq).? Freq cal shows an error of 0.15Hz throughout the 20 min.? I adjust the cal factor to a freq error of 0.15Hz before I start cal.? I've run cal multiple time with the same results.? Everything is temp stabilized. 190 Hz isn't that bad but I'd like it to be close to zero.
?
|
No reason for it, it's just another bug that needs to be squashed.
On Tuesday, April 8th, 2025 at 11:51 AM, K9HZ <bill@...> wrote:
toggle quoted message
Show quoted text
¡°The math under the hood in the frequency calibration routine doesn't account for the fine tune frequency offset.¡± ? I didn¡¯t catch that either¡ any reason for that. Seems a bit quirky¡ ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? ? Are you saying that if you tune to 10 MHz and select SAM demodulation, you measure a frequency offset of 190 Hz? A gotcha with the frequency calibration is that it matters how you tune to 10 MHz -- don't touch the fine tune knob! The math under the hood in the frequency calibration routine doesn't account for the fine tune frequency offset. Instead, tune by pressing the Dir Freq (Direct Frequency) button and entering 10 on the button pad. Does that help? On Monday, April 7th, 2025 at 8:35 PM, epif18 via groups.io <epif18@...> wrote:
I'm running a V12, 66.9, TCXO.? I've run freq cal and I'm off by 190 hz.? I've hard coded the cal value into si5351.init as well as 0.0.? The 190 hz error shows against my freq standard (10MHz) as well as my Siglent sig gen.? Zero beat is at 10,000,190. And when I'm listening to some SSB net on 20M, the best audio comes in at +190 hz (assuming they run the net on a whole freq).? Freq cal shows an error of 0.15Hz throughout the 20 min.? I adjust the cal factor to a freq error of 0.15Hz before I start cal.? I've run cal multiple time with the same results.? Everything is temp stabilized. 190 Hz isn't that bad but I'd like it to be close to zero.
?
|
I've fixed this one too. Added a call to ResetTuning() at line 33 of MenuProc.cpp -- i.e., reset the tuning right before calling CalibrateFrequency(). See the changed line on GitHub here:
On Tuesday, April 8th, 2025 at 6:47 PM, Oliver KI3P via groups.io <oliver@...> wrote:
toggle quoted message
Show quoted text
No reason for it, it's just another bug that needs to be squashed.
On Tuesday, April 8th, 2025 at 11:51 AM, K9HZ <bill@...> wrote:
¡°The math under the hood in the frequency calibration routine doesn't account for the fine tune frequency offset.¡± ? I didn¡¯t catch that either¡ any reason for that. Seems a bit quirky¡ ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? ? Are you saying that if you tune to 10 MHz and select SAM demodulation, you measure a frequency offset of 190 Hz? A gotcha with the frequency calibration is that it matters how you tune to 10 MHz -- don't touch the fine tune knob! The math under the hood in the frequency calibration routine doesn't account for the fine tune frequency offset. Instead, tune by pressing the Dir Freq (Direct Frequency) button and entering 10 on the button pad. Does that help? On Monday, April 7th, 2025 at 8:35 PM, epif18 via groups.io <epif18@...> wrote:
I'm running a V12, 66.9, TCXO.? I've run freq cal and I'm off by 190 hz.? I've hard coded the cal value into si5351.init as well as 0.0.? The 190 hz error shows against my freq standard (10MHz) as well as my Siglent sig gen.? Zero beat is at 10,000,190. And when I'm listening to some SSB net on 20M, the best audio comes in at +190 hz (assuming they run the net on a whole freq).? Freq cal shows an error of 0.15Hz throughout the 20 min.? I adjust the cal factor to a freq error of 0.15Hz before I start cal.? I've run cal multiple time with the same results.? Everything is temp stabilized. 190 Hz isn't that bad but I'd like it to be close to zero.
?
|
Oliver, as long as your fixing some minor bugs¡. When the radio is turned on and have not selected any matrix buttons the audio filter tune works correctly.? After selecting any matrix button the filter tune adjustment reverses direction and the amount of increment movement for any rotational movement is divided by at least 10.? Turn the radio off and right back on filter tune works correctly until a matrix button is selected and the above happens again.? Don¡¯t know if you saw my add on earlier about selecting CW and having the fine tune increment cycle with each CW selection and cancellation.? Maybe you have already addressed that with the changes you just made. I will download the new bug fixes and let you know if it is still doing it. Rick, KN4AIE ?
toggle quoted message
Show quoted text
From: [email protected] <[email protected]> On Behalf Of Oliver KI3P via groups.io Sent: Tuesday, April 8, 2025 8:04 PM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] Freq Calibration? I've fixed this one too. Added a call to ResetTuning() at line 33 of MenuProc.cpp -- i.e., reset the tuning right before calling CalibrateFrequency(). See the changed line on GitHub here: On Tuesday, April 8th, 2025 at 6:47 PM, Oliver KI3P via groups.io <oliver@...> wrote:
No reason for it, it's just another bug that needs to be squashed. On Tuesday, April 8th, 2025 at 11:51 AM, K9HZ <bill@...> wrote:
¡°The math under the hood in the frequency calibration routine doesn't account for the fine tune frequency offset.¡± ? I didn¡¯t catch that either¡ any reason for that. Seems a bit quirky¡ ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? ? Are you saying that if you tune to 10 MHz and select SAM demodulation, you measure a frequency offset of 190 Hz? A gotcha with the frequency calibration is that it matters how you tune to 10 MHz -- don't touch the fine tune knob! The math under the hood in the frequency calibration routine doesn't account for the fine tune frequency offset. Instead, tune by pressing the Dir Freq (Direct Frequency) button and entering 10 on the button pad. Does that help? On Monday, April 7th, 2025 at 8:35 PM, epif18 via groups.io <epif18@...> wrote: I'm running a V12, 66.9, TCXO.? I've run freq cal and I'm off by 190 hz.? I've hard coded the cal value into si5351.init as well as 0.0.? The 190 hz error shows against my freq standard (10MHz) as well as my Siglent sig gen.? Zero beat is at 10,000,190. And when I'm listening to some SSB net on 20M, the best audio comes in at +190 hz (assuming they run the net on a whole freq).? Freq cal shows an error of 0.15Hz throughout the 20 min.? I adjust the cal factor to a freq error of 0.15Hz before I start cal.? I've run cal multiple time with the same results.? Everything is temp stabilized. 190 Hz isn't that bad but I'd like it to be close to zero.
?
?
?
|
Missed your original message Rick, sorry about that.
This was a fun one* to track down. It turned out to be due to the logic flag that tracks whether the main menu is still active. It was being left TRUE when exiting the menu windows instead of being reset to FALSE. See this line for the place where this bug intersects with the encoder reading code:
I fixed it by just before returning from SetSecondaryMenuIndex() in Menu.cpp:
mainMenuWindowActive = false;
Cheers, Oliver KI3P
*sarcasm
On Tuesday, April 8th, 2025 at 8:42 PM, Rick Price via groups.io <rickprice48@...> wrote:
toggle quoted message
Show quoted text
Oliver, as long as your fixing some minor bugs¡. When the radio is turned on and have not selected any matrix buttons the audio filter tune works correctly. After selecting any matrix button the filter tune adjustment reverses direction and the amount of increment movement for any rotational movement is divided by at least 10. Turn the radio off and right back on filter tune works correctly until a matrix button is selected and the above happens again. Don¡¯t know if you saw my add on earlier about selecting CW and having the fine tune increment cycle with each CW selection and cancellation. Maybe you have already addressed that with the changes you just made. I will download the new bug fixes and let you know if it is still doing it. Rick, KN4AIE ? ? I've fixed this one too. Added a call to ResetTuning() at line 33 of MenuProc.cpp -- i.e., reset the tuning right before calling CalibrateFrequency(). See the changed line on GitHub here: On Tuesday, April 8th, 2025 at 6:47 PM, Oliver KI3P via groups.io <oliver@...> wrote:
No reason for it, it's just another bug that needs to be squashed. On Tuesday, April 8th, 2025 at 11:51 AM, K9HZ <bill@...> wrote:
¡°The math under the hood in the frequency calibration routine doesn't account for the fine tune frequency offset.¡± ? I didn¡¯t catch that either¡ any reason for that. Seems a bit quirky¡ ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? ? Are you saying that if you tune to 10 MHz and select SAM demodulation, you measure a frequency offset of 190 Hz? A gotcha with the frequency calibration is that it matters how you tune to 10 MHz -- don't touch the fine tune knob! The math under the hood in the frequency calibration routine doesn't account for the fine tune frequency offset. Instead, tune by pressing the Dir Freq (Direct Frequency) button and entering 10 on the button pad. Does that help? On Monday, April 7th, 2025 at 8:35 PM, epif18 via groups.io <epif18@...> wrote: I'm running a V12, 66.9, TCXO.? I've run freq cal and I'm off by 190 hz.? I've hard coded the cal value into si5351.init as well as 0.0.? The 190 hz error shows against my freq standard (10MHz) as well as my Siglent sig gen.? Zero beat is at 10,000,190. And when I'm listening to some SSB net on 20M, the best audio comes in at +190 hz (assuming they run the net on a whole freq).? Freq cal shows an error of 0.15Hz throughout the 20 min.? I adjust the cal factor to a freq error of 0.15Hz before I start cal.? I've run cal multiple time with the same results.? Everything is temp stabilized. 190 Hz isn't that bad but I'd like it to be close to zero.
?
?
?
|
Thank you, Oliver, your fixes all worked very well.? Those that you fixed have been ¡°Bugging¡± ha, ha, me for a while. Rick Price KN4AIE ?
toggle quoted message
Show quoted text
From: [email protected] <[email protected]> On Behalf Of Oliver KI3P via groups.io Sent: Wednesday, April 9, 2025 6:30 AM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] Freq Calibration? Missed your original message Rick, sorry about that. This was a fun one* to track down. It turned out to be due to the logic flag that tracks whether the main menu is still active. It was being left TRUE when exiting the menu windows instead of being reset to FALSE. See this line for the place where this bug intersects with the encoder reading code: I fixed it by just before returning from SetSecondaryMenuIndex() in Menu.cpp: mainMenuWindowActive = false; On Tuesday, April 8th, 2025 at 8:42 PM, Rick Price via groups.io <rickprice48@...> wrote:
Oliver, as long as your fixing some minor bugs¡. When the radio is turned on and have not selected any matrix buttons the audio filter tune works correctly. After selecting any matrix button the filter tune adjustment reverses direction and the amount of increment movement for any rotational movement is divided by at least 10. Turn the radio off and right back on filter tune works correctly until a matrix button is selected and the above happens again. Don¡¯t know if you saw my add on earlier about selecting CW and having the fine tune increment cycle with each CW selection and cancellation. Maybe you have already addressed that with the changes you just made. I will download the new bug fixes and let you know if it is still doing it. Rick, KN4AIE ? ? I've fixed this one too. Added a call to ResetTuning() at line 33 of MenuProc.cpp -- i.e., reset the tuning right before calling CalibrateFrequency(). See the changed line on GitHub here: On Tuesday, April 8th, 2025 at 6:47 PM, Oliver KI3P via groups.io <oliver@...> wrote: No reason for it, it's just another bug that needs to be squashed. On Tuesday, April 8th, 2025 at 11:51 AM, K9HZ <bill@...> wrote: ¡°The math under the hood in the frequency calibration routine doesn't account for the fine tune frequency offset.¡± ? I didn¡¯t catch that either¡ any reason for that. Seems a bit quirky¡ ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? ? Are you saying that if you tune to 10 MHz and select SAM demodulation, you measure a frequency offset of 190 Hz? A gotcha with the frequency calibration is that it matters how you tune to 10 MHz -- don't touch the fine tune knob! The math under the hood in the frequency calibration routine doesn't account for the fine tune frequency offset. Instead, tune by pressing the Dir Freq (Direct Frequency) button and entering 10 on the button pad. Does that help? On Monday, April 7th, 2025 at 8:35 PM, epif18 via groups.io <epif18@...> wrote: I'm running a V12, 66.9, TCXO.? I've run freq cal and I'm off by 190 hz.? I've hard coded the cal value into si5351.init as well as 0.0.? The 190 hz error shows against my freq standard (10MHz) as well as my Siglent sig gen.? Zero beat is at 10,000,190. And when I'm listening to some SSB net on 20M, the best audio comes in at +190 hz (assuming they run the net on a whole freq).? Freq cal shows an error of 0.15Hz throughout the 20 min.? I adjust the cal factor to a freq error of 0.15Hz before I start cal.? I've run cal multiple time with the same results.? Everything is temp stabilized. 190 Hz isn't that bad but I'd like it to be close to zero.
?
?
?
?
|