1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00
sdrangel/plugins/channelrx/demodvormc
2024-08-27 09:54:09 +02:00
..
icons v7: rename vordemod files to vordemodmc files. Part of #1223 2022-05-01 10:32:08 +02:00
map v7: rename vordemod files to vordemodmc files. Part of #1223 2022-05-01 10:32:08 +02:00
CMakeLists.txt Update CMakeLists.txt to support both Qt5 and Qt6. Add option ENABLE_QT6 2022-11-17 14:34:54 +00:00
icons.qrc v7: rename vordemod files to vordemodmc files. Part of #1223 2022-05-01 10:32:08 +02:00
map.qrc v7: rename vordemod files to vordemodmc files. Part of #1223 2022-05-01 10:32:08 +02:00
navaid.h v7: rename vordemod files to vordemodmc files. Part of #1223 2022-05-01 10:32:08 +02:00
readme.md Add a comma after introductory clauses 2023-05-04 21:42:52 +02:00
vordemodmc.cpp Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
vordemodmc.h Removed destroy method leftovers and Sonar lint 2024-08-27 09:54:09 +02:00
vordemodmcbaseband.cpp Replace deprecated QMutex(Recursive) with QRecursiveMutex 2022-09-17 23:00:07 +02:00
vordemodmcbaseband.h Replace deprecated QMutex(Recursive) with QRecursiveMutex 2022-09-17 23:00:07 +02:00
vordemodmcgui.cpp Removed destroy method leftovers and Sonar lint 2024-08-27 09:54:09 +02:00
vordemodmcgui.h Fixed passing QPoint reference from right click enabler to connected method. Fixes #1549 2022-12-28 20:33:28 +01:00
vordemodmcgui.ui Fix class name 2024-06-23 17:32:49 +02:00
vordemodmcplugin.cpp v7: rename vordemodsc files to vordemod files. Part of #1223 2022-05-01 13:05:36 +02:00
vordemodmcplugin.h v7: VORDemod to VORDemodMC conversion in swagger. Part of #1223 2022-05-01 11:25:15 +02:00
vordemodmcreport.cpp v7: rename vordemod files to vordemodmc files. Part of #1223 2022-05-01 10:32:08 +02:00
vordemodmcreport.h v7: rename vordemod files to vordemodmc files. Part of #1223 2022-05-01 10:32:08 +02:00
vordemodmcsettings.cpp Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
vordemodmcsettings.h v7: rename vordemod files to vordemodmc files. Part of #1223 2022-05-01 10:32:08 +02:00
vordemodmcsink.cpp Fix typos in cpp files 2024-07-10 23:06:38 +02:00
vordemodmcsink.h v7: rename vordemod files to vordemodmc files. Part of #1223 2022-05-01 10:32:08 +02:00
vordemodmcwebapiadapter.cpp v7: VORDemod to VORDemodMC conversion in swagger. Part of #1223 2022-05-01 11:25:15 +02:00
vordemodmcwebapiadapter.h v7: rename vordemod files to vordemodmc files. Part of #1223 2022-05-01 10:32:08 +02:00

VOR demodulator plugin

Introduction

This plugin can be used to demodulate VOR (VHF omnidirectional range) navaids (navigation aids). VORs are radio navigation aids in the VHF 108 - 117.975MHz band commonly used for aircraft navigation.

VORs transmit two 30Hz signals, one AM at the VOR center frequency and one FM on a 9960Hz sub-carrier. The FM reference signal's phase is set so 0 degrees corresponds to magnetic north from the VOR (Some VORs at high latitudes use true North). The phase of the AM variable signal is such that the phase difference to the reference signal corresponds to the bearing from the VOR to the receiver. For example, if a receiver is North from the VOR, the AM and FM 30Hz signals will be received in phase. If a receiver is East from the VOR, the phase difference will be 90 degrees.

VORs also transmit a Morse code ident signal at a 1020Hz offset. This is a 2 or 3 character identifier used to identify the VOR, as multiple VORs can be transmitted on the same frequency. For example, the VOR at London Heathrow transmits .-.. --- -. for LON. The Morse code ident is typically transmitted at 10 seconds intervals at between 7 and 10 wpm. VORs that are under maintenance may transmit TST.

Some VORs also transmit an AM voice identification or information signal between 300-3kHz.

This plugin can demodulate all four signals from multiple VORs simultaneously, allowing your position to be determined and plotted on a map. It can also demodulate the Morse code ident signal and check they are correct for each VOR. The Morse code ident and any voice signal will also be heard as audio.

Note that for aircraft, there is typically a direct line-of-sight to the VOR. This is unlikely to be the case when using an SDR on the ground. To get good results, ideally you want to be on a nice high hill or close to the VOR.

Interface

The top and bottom bars of the channel window are described here

VOR Demodulator plugin GUI

1: Level meter in dB

  • top bar (green): average value
  • bottom bar (blue green): instantaneous peak value
  • tip vertical bar (bright green): peak hold value

2: Channel power

Average total power in dB relative to a +/- 1.0 amplitude signal received in the pass band.

3: Audio mute and audio output select

Left click on this button to toggle audio mute for this channel. The button will light up in green if the squelch is open. This helps identifying which channels are active in a multi-channel configuration.

If you right click on it, it will open a dialog to select the audio output device. See audio management documentation for details.

4: Download VOR Database

Pressing this button downloads the OpenAIP.net Navaid database, which contains the details (position, frequencies, name and ident) for each VOR. This needs to be performed at least once.

5: Draw Radials Adjusted for Magnetic Declination

When checked, radials on the map will drawn adjusted for magnetic declination. For example, if a VOR has a magnetic declination of 5 degrees, and the radial is calculated at 0 degrees, the radial will be drawn to magnetic North, i.e. -5 degrees from true North. If not checked, the same radial would be drawn to true North (i.e 0 degrees), which may result in a less accurate position estimate.

6: Morse ident threshold

This is the Morse code ident threshold, expressed as a linear signal to noise (SNR) ratio. This is effectively the signal level required for the Morse demodulator to detect a dot or dash. Setting this to low values will allow the Morse demodulator to detect weak signals, but it also increases the likelihood that noise will incorrectly be interpreted as a signal, resulting in invalid idents being reported.

7: Squelch threshold

This is the squelch threshold in dB. The average total power received in the signal bandwidth before demodulation is compared to this value and the squelch input is open above this value. It can be varied continuously in 0.1 dB steps from 0.0 to -100.0 dB using the dial button.

8: Volume

This is the volume of the audio signal from 0.0 (mute) to 10.0 (maximum). It can be varied continuously in 0.1 steps using the dial button.

VOR Table

The VOR table displays information about selected VORs. To select or deselect a VOR, double click it on the map. The information displayed includes:

VOR Demodulator Table

  • Name - The name of the VOR. For example: 'LONDON'.
  • Freq (MHz) - The center frequency the VOR transmits on in MHz.
  • Offset (kHz) - This is the current difference between the VOR's center frequency and SDRangel's device center frequency. If displayed in red, the VOR is out of range and its signal will not be able to be received.
  • Ident - A 2 or 3 character identifier for the VOR. For example: 'LON'.
  • Morse - The Morse code identifier for the VOR. For example: '.-.. --- -.'
  • RX Ident - This contains the demodulated ident. If it matches the expected ident, it will be displayed in green, if not, it will be displayed in red. If an ident is received that is not 2 or 3 characters, it will not be displayed, but the last received ident will be displayed in yellow.
  • RX Morse - This contains the demodulated Morse code ident. Colour coding is as for RX Ident.
  • Radial - This contains the demodulated radial direction in degrees (unadjusted for magnetic declination). If there is a low confidence the value is correct (due to a weak signal), it will be displayed in red.
  • Ref (dB) - This displays the magnitude of the received 30Hz FM reference signal in dB.
  • Var (dB) - This displays the magnitude of the received 30Hz AM variable signal in dB.
  • Mute - This button allows you to mute or unmute the audio from the corresponding VOR.

Map

The map displays the locations of each VOR, with an information box containing the information about the VOR, such as its name, frequency, ident (in text and Morse), range and magnetic declination.

To initialise the VORs on the map, first set your position using the Preferences > My position menu, then open the VOR Demodulator channel (close and reopen it, if already open). Then press the Download VOR Database button (This only needs to be performed once). The map should then display VORs in your vicinity.

Double clicking on a VOR will select and add it to the list of VORs to demodulate. It will be added to the VOR table and will be highlighted green. Double clicking a selected VOR, will remove it from the list of VORs to demodulate and it will be removed from the VOR table.

When a signal from a VOR is correctly being demodulated, a radial line will be drawn on the map, at the angle corresponding to the phase difference between the AM and FM 30Hz signals. Your receiver should be somewhere along this radial line. The length of the radial line is set according to the range of the VOR as recorded in the database, which is valid for aircraft at altitude. Range on the ground will be considerably less. An approximate position for the receiver is where the radial lines from two or more VORs intersect.

VOR Demodulator Map

Attribution

Icons by Denelson83 and mamayer, via Wikimedia Commons and RULI from the Noun Project https://thenounproject.com/