sdrangel icon indicating copy to clipboard operation
sdrangel copied to clipboard

DSC decoder plugin FSK frequencies/baud rate incorrect for VHF

Open tttonyyy opened this issue 1 year ago • 7 comments

Love the DSC decoder plugin concept - but:

    static const int DSCDEMOD_CHANNEL_SAMPLE_RATE = 1000; // Must be integer multiple of baud rate (x10)
    static const int DSCDEMOD_BAUD_RATE = 100;
    static const int DSCDEMOD_FREQUENCY_SHIFT = 170;

The ITU spec for VHF band (156.525MHz) is for FSK with centre frequency 1700Hz +-400Hz IE 2100Hz and 1300Hz. The baud rate in VHF band is 1200.

Similarly, the NFM demod settings for VHF DSC (16K0G2B) should be: RFBW = 16000 FMd = 5000

If manually using the UDP sample sink to capture DSC bursts I have to set the NFM gain to 0.5 otherwise the signals are distorted, not sure how that applies to this plugin, however. I can provide baseband recordings if that helps development.

Great work,

Tony

tttonyyy avatar Jun 02 '23 07:06 tttonyyy

If you can upload a recording that would be helpful, as am out of range for VHF here. Thanks.

srcejon avatar Jun 02 '23 08:06 srcejon

Here's a baseband recording of a selective individual call.

routine_call.zip

Address: 233333334 Self: 201444555 Called station rx and tx channel 8

tttonyyy avatar Jun 02 '23 09:06 tttonyyy

Thanks, but that .wav file doesn't appear to contain IQ data. It's just a single channel. Can you make the recording in SDRangel using the File Sink plugin?

srcejon avatar Jun 03 '23 08:06 srcejon

No problem. I'm away from home most of today but will get that recording for you as soon as possible.

tttonyyy avatar Jun 03 '23 08:06 tttonyyy

Thanks - unfortunately not trivial to get working...

srcejon avatar Jun 05 '23 13:06 srcejon

Meanwhile it would be nice to rename the plugin to "HF DSC...." and remove VHF frequency from plugin documentation. This way no frustrated users trying to figure out why their setup does not work!

sv1 avatar May 11 '24 10:05 sv1