1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-11 17:35:16 -05:00
sdrangel/plugins/feature/vorlocalizer
2021-11-06 21:33:26 +01:00
..
icons
map
CMakeLists.txt
icons.qrc
map.qrc
navaid.h
readme.md VOR Localizer: added forced round robin average and turn time progress bar 2020-12-08 08:28:55 +01:00
vorlocalizer.cpp API: report running state for feature plugins with run action 2021-10-23 21:24:25 +02:00
vorlocalizer.h API: report running state for feature plugins with run action 2021-10-23 21:24:25 +02:00
vorlocalizergui.cpp Don't use WA_DeleteOnClose for progess dialogs, as a crash can occur if the user closes the window before the download is complete. 2021-11-03 11:02:04 +00:00
vorlocalizergui.h Fix assertion when removing all elements from model 2021-04-13 10:14:54 +01:00
vorlocalizergui.ui VOR Localizer: added forced round robin average and turn time progress bar 2020-12-08 08:28:55 +01:00
vorlocalizerplugin.cpp Updated versions and changelogs 2021-11-06 21:33:26 +01:00
vorlocalizerplugin.h Fix cut and paste errors from PTT feature 2021-01-15 11:00:03 +00:00
vorlocalizerreport.cpp
vorlocalizerreport.h
vorlocalizersettings.cpp
vorlocalizersettings.h VOR Localizer: added forced round robin average and turn time progress bar 2020-12-08 08:28:55 +01:00
vorlocalizerwebapiadapter.cpp
vorlocalizerwebapiadapter.h
vorlocalizerworker.cpp
vorlocalizerworker.h

VOR Localizer plugin

Introduction

This plugin can control and receive information from single channel VOR demodulators (see VOR single channel demodulator for details) and collate information from multiple VOR demodulators in order to show your position on a map.

Interface

VOR Localizer plugin GUI

There are 3 sections in this interface:

  • A: settings
  • B: VOR table
  • C: map (not shown on this picture)

A: Settings section

VOR Localizer settings

1: Start/Stop plugin

This button starts or stops the plugin

2: 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.

3: 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 degress 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.

4: Round robin turn time

Available VOR demodulator channels are allocated to service the selected VORs on the map and displayed in the VOR table (B). There could be less available channels than the number of VORs to service in which case the channel(s) of the same device can be used to service VORs in turn in a round robin fashion. This sets the time in seconds dedicated to each turn. More details on channels allocation agorithm is given in (7).

5: Round robin turn time progress

Shows the round robin turn time progress

6: Force averaging over round robin turn time

Averaging of radial direction and signal magnitudes normally take place only if there is more than one round robin turn for a device. This forces averaging even if only one round robin turn exists i.e. the channels for this device are active continuously. Such an averaging may help in getting a better position fix.

7: Center frequency shift

The center frequency of the device may be shifted from its value computed from VOR allocation. This can help moving the channel center away from the device DC if necessary.

8: List of VOR demodulator channels in the system

This combo is not used to select anything but just to show the VOR demodulators that have been detected and that will be used to service the list of selected VORs int the (B) table.

The display is Rn:m where n is the device set index and m the channel index in the device set.

Channels may be used in round robin turns if their number is not enough to cover all VORs. The allocation algorithm will use devices with multiple channels first in order to accomodate several VORs with just one device. The baseband must be large enough to fit the VORs simultaneously. If there are VORs remaining more turns are added with just one channel being used. It is always possible to service any number of VORs with a single channel.

When there is more than one turn for a device valid radial directions are averaged and the resulting average is used during the round robin loop. Averaging also takes place for reference and variable signal levels.

9: Refresh VOR demodulators list and allocation

Use this button to (re)scan the available VOR demodulators in the SDRangel instance and (re)run the round robin allocation.

B: 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. The frequency is highlighted in green when the VOR is serviced by a demodulator.
  • Nav Id - This is the VOR unique identifier from the VOR database.
  • 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 mangitude of the received 30Hz AM variable signal in dB.
  • Mute - This button allows you to mute or unmute the audio from the corresponding VOR.

C: Map

The map displays the locations of each VOR, with an information box containing the information about the VOR, such as it's 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 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. The frequency will be highlighted green when the VOR is serviced by a VOR demodulator. 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 provided by the VOR demodulator or their average over the round robin turn if this is the case. 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/