Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use frequency correction from hdsdr not work correctly #110

Closed
F4HTB opened this issue Dec 20, 2020 · 12 comments
Closed

Use frequency correction from hdsdr not work correctly #110

F4HTB opened this issue Dec 20, 2020 · 12 comments

Comments

@F4HTB
Copy link

F4HTB commented Dec 20, 2020

Hello,

Receiver: RX888
Software: HDSDR v2.80 installer with OmniRig V2 support. (March 19, 2020)
DLL: ExtIO_sddc_v1.1RC1.zip from https://github.com/ik1xpv/ExtIO_sddc/releases/download/v1.1/ExtIO_sddc_v1.1RC1.zip
OS: Windows 10 1909

I have try to set the ppm correction compared to the 9.996MHZ beacon.
I have set the signal to hear on 1khz BF.
The frequency in hdsdr is 9994331hz.
When i go to calibration settings, i have :
Current Tune Frequency [hz] 9994331,00
Correct Tune Frequency: 9995000

When i clic on "Calculate" i get :
+66,94 for the ppm
Tune at 9995000hz

But the BF signal appear no to 1khz but at 1350hz.

Maybe I'm doing it wrong but I followed a youtube video to remind myself how to do it and it doesn't have the same effect.

Many Thanks.

@ik1xpv
Copy link
Owner

ik1xpv commented Dec 20, 2020

You are right, Thanks.
This if the first of the known issue we have see https://github.com/ik1xpv/ExtIO_sddc/releases/tag/v1.1
" - The reference frequency correction via HDSDR -> Options -> Calibration Settings ->LO Frequency Calibration doesn't work correctly. This problem will be addressed in the next release."

@F4HTB
Copy link
Author

F4HTB commented Dec 23, 2020

Hello,
know you if it's possible to set ppm correction in another way?

@ik1xpv
Copy link
Owner

ik1xpv commented Dec 23, 2020

In v1.01 https://github.com/ik1xpv/ExtIO_sddc/releases/tag/v1.01 I used a control in ExtIO dialog.
If we will not able to solve in other way we will go back to such a solution.
Note that RX888 has internal trimmer to adjust the reference.

@hayguen
Copy link
Collaborator

hayguen commented Dec 23, 2020

@ik1xpv think you need to go back to that solution!
HDSDR's correction is linear only .. thus, it will only work for HF (direct ADC conversion).
on VHF, when the tuner comes in, HDSDR would require additional knowledge of the structure .. which it hasn't.

but: this does not explain this error with the 9.996MHZ beacon.

@F4HTB
Copy link
Author

F4HTB commented Dec 23, 2020

It's the green one?

aaaa

@ik1xpv
Copy link
Owner

ik1xpv commented Dec 23, 2020

Hayati you are right. we have to do it in the ExtIO dialog.
Olivier, yes that is the trimmer I used. Of course be careful and use a very small screwdriver ;-)

@hayguen
Copy link
Collaborator

hayguen commented Dec 23, 2020

@F4HTB : can you please reset and repeat the calibration?
this time, please have the LO just 1 kHz away from the tune frequency, whilst calibration!
and then report both frequencies and what frequency is reported before and after doing AM sync.
then, after the calibration, have the LO multiple MHz away .. but tune to the same frequency .. what synced Tune frequency is reported then?

@ik1xpv : i suppose, that the samplerate error, which is not calibrated .. does produce additional error .. right?

@ik1xpv
Copy link
Owner

ik1xpv commented Dec 23, 2020 via email

@hayguen
Copy link
Collaborator

hayguen commented Dec 23, 2020

Hi Oscar,
meanwhile i've tested myself, what i asked to F4HTB.
it's what i expected/feared:
the huge samplerate is not calibrated - just the LO frequency gets calibrated ..
thus, the reported samplerate to HDSDR would need to be adjusted.

it's nice to have a possibility to calibrate with a screwdriver .. but that would require opening the case .. not so ideal (for me)

@ik1xpv
Copy link
Owner

ik1xpv commented Dec 23, 2020

You are right. Somehow we will do it :-)

@howard0su
Copy link
Collaborator

one problem of HDSDR is that it displays the raw sample rate like 63999999 which is a bit ugly on UI. If HDSDR can display it wrapped as 64M, it will be great.

I think we may need to add back the logic to calibrate ADC rate.

hayguen added a commit to hayguen/ExtIO_sddc that referenced this issue Jan 7, 2021
…rk in progress)

* calibration setting (in registry of hdsdr) modifies reported samplerates
 see ik1xpv#110
 calibration settings has to be entered manually in the registry
 Computer\HKEY_CURRENT_USER\Software\HDSDR\ExtIO_SDDC.dll\012_Value
* calibration of hdsdr can be used to determine the ppm value ..
 but it must be resetted, when entering this value in the registry
 - whilst hdsdr is already terminated
* added new extio function 'ExtIoSrateSelText()'
 to display a readable samplerate in next hdsdr release
* added double variants for several extio functions
* deactivated unnecessary extio Tune functions

Signed-off-by: hayati ayguen <[email protected]>
hayguen added a commit to hayguen/ExtIO_sddc that referenced this issue Jan 7, 2021
…rk in progress)

* calibration setting (in registry of hdsdr) modifies reported samplerates
 see ik1xpv#110
 calibration settings has to be entered manually in the registry
 Computer\HKEY_CURRENT_USER\Software\HDSDR\ExtIO_SDDC.dll\012_Value
* calibration of hdsdr can be used to determine the ppm value ..
 but it must be resetted, when entering this value in the registry
 - whilst hdsdr is already terminated
* added new extio function 'ExtIoSrateSelText()'
 to display a readable samplerate in next hdsdr release
* added double variants for several extio functions
* deactivated unnecessary extio Tune functions

Signed-off-by: hayati ayguen <[email protected]>
hayguen added a commit to hayguen/ExtIO_sddc that referenced this issue Jan 7, 2021
…rk in progress)

* calibration setting (in registry of hdsdr) modifies reported samplerates
 see ik1xpv#110
 calibration settings has to be entered manually in the registry
 Computer\HKEY_CURRENT_USER\Software\HDSDR\ExtIO_SDDC.dll\012_Value
* calibration of hdsdr can be used to determine the ppm value ..
 but it must be resetted, when entering this value in the registry
 - whilst hdsdr is already terminated
* added new extio function 'ExtIoSrateSelText()'
 to display a readable samplerate in next hdsdr release
* added double variants for several extio functions
* deactivated unnecessary extio Tune functions

Signed-off-by: hayati ayguen <[email protected]>
ik1xpv pushed a commit that referenced this issue Jan 8, 2021
…rk in progress) (#143)

* calibration setting (in registry of hdsdr) modifies reported samplerates
 see #110
 calibration settings has to be entered manually in the registry
 Computer\HKEY_CURRENT_USER\Software\HDSDR\ExtIO_SDDC.dll\012_Value
* calibration of hdsdr can be used to determine the ppm value ..
 but it must be resetted, when entering this value in the registry
 - whilst hdsdr is already terminated
* added new extio function 'ExtIoSrateSelText()'
 to display a readable samplerate in next hdsdr release
* added double variants for several extio functions
* deactivated unnecessary extio Tune functions

Signed-off-by: hayati ayguen <[email protected]>
@ik1xpv
Copy link
Owner

ik1xpv commented Feb 28, 2021

@ik1xpv ik1xpv closed this as completed Feb 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants