Skip to content

Running version 0.13? Its documentation is on the 0.13 site. Go to the 0.13 documentation

Antenna switches and relays

Antenna switches and relays

An antenna switch chooses which antenna a radio uses, by switching control lines. Here you set up its antennas, the lines each one turns on, the antenna at rest, and the antenna preferred on each band, and the relays of a device such as a power supply. You add a switch as Add a device describes. Operators choose the antennas and switch the relays as Antennas and relays describes.

You change a switch in two places, as the administrator:

  • In Settings › Station › Antenna switches & relays, on the Connection tab of the switch, under Antennas. Choose Save in the bar at the bottom of the page to keep the changes.
  • On the page of the switch, with Edit at its top. Each change is saved as you make it, and Done leaves editing.

A change applies at once, the switch starting again on it. A change made while a radio related to the switch transmits waits until the radio stops, since a switch that starts again selects the antenna it starts on.

Change an antenna

The pencil of an antenna opens it, and Add an antenna opens the same dialog for a new one:

  • Name and Description, which operators see on the tile of the antenna.
  • Control lines: each line the antenna turns on or off. An antenna that needs two relays on and a third off names all three. Add a control line adds another line. The switch turns off every other line of the switch.
  • Rotator: the rotator the antenna is mounted on, or None (the antenna is not on a rotator).
  • Beam widths of this antenna: its own Horizontal (°) and Vertical (°) beam widths. Without them, the beam widths of the rotator are used while this antenna is chosen.
  • Frequencies and Maximum power (W): what the antenna takes. They hold a radio transmitting through it (see Transmit limits).

Choose Save in the dialog. The bin of an antenna deletes it after asking, and its bands leave the preferred antennas. On the page of the switch, drag a tile by its handle, or use the arrow keys on the handle, to put the antennas in order.

A control line is chosen in the list of every line the station has, by its kind: GPIO pins, sound card pins, serial port pins, network relays and inverted lines. Free only lists only those no device uses. New control line…, at the end of the list, adds one in place (see Other devices and control lines).

The default antenna and the start

  • Default antenna: the antenna connected while every line is off, the rest position of the switch. It turns no line on. Choosing it turns every line off. Every other antenna must turn at least one line on.
  • At start: what the switch selects when the station starts, the default antenna or the last antenna, the one chosen last.

A switch without a default antenna offers None to operators, which turns every line off and connects no antenna. A radio related to the switch doesn’t transmit while None is selected.

For a remote station, a switch grounded at rest is the safest: every antenna is connected to ground until it is chosen, and a power cut or a broken control cable leaves them grounded. In Web Radio Control, such a switch has no default antenna. Don’t add the grounded position as an antenna of its own, as the station would let the radio transmit into it. How such a switch is built is in Grounded at rest.

Follow the band of a radio

A switch can select the antenna preferred on each band as a radio comes to the band:

Choose the preferred antennas

Under Preferred antennas, next to the antennas, choose an antenna for each band of the band plans of the station, or None, which leaves the antenna as it is on that band. A band can be preferred only to an antenna whose Frequencies, if it has any, reach the band.

Relate the switch to the radio

On the Related devices tab of the radio, choose Add a related device, the switch, and tick Follow the band of the radio. Or relate the two on the Related devices tab of the switch.

The switch then follows whatever tunes the radio: the band menu, a typed frequency, a spot, a memory, WRC Link or the front panel of the radio. It never switches while a radio related to it transmits. It waits, and once the radio stops, it selects the antenna of the band the radio is on then. A switch two radios share follows the radio that transmits, and otherwise the last one that changed band.

Each antenna selected so is in the events of the switch, such as Selected Yagi for 20m, following IC-7610.

With Tune the radio to the antenna’s band on, under Antennas, an operator who selects an antenna that doesn’t cover the frequency of the radio has the radio tuned to the nearest band that antenna is preferred on. It is off unless you turn it on.

Never while transmitting

No one, administrators included, switches the antenna while a radio related to the switch transmits, by the station or from the radio itself. Switching would cut the signal, or send it to another antenna. The station refuses and says why: The antenna is not switched while IC-7610 transmits. Try again once it stops. This holds whichever antenna port the radio transmits on, with an Antenna number on the relation or without one. A relay of another device related to a radio is not switched while that radio transmits either.

With an amplifier in the line, put it on standby before you change antennas, so that it isn’t keyed into an open switch.

Test the switch

On the Test step, as you add the switch or later with Check the settings in steps › on its page, Read the lines reads the lines, switching nothing. Switch to each antenna then switches to each antenna in turn, and asks whether the switch or its indicator followed. Check the path of each antenna with an antenna analyzer before you transmit through it (see The tests).

Relays

A device of relays, such as the power supplies of the station, is added as Other device (see Add a device) and has its page under Devices. On that page, Edit works as for a switch: drag a relay to put the relays in order, the pencil changes one, and Add a relay adds one. A relay has:

  • a Name and Description, which operators see;
  • its Control line;
  • its Direction: Output, switched by Web Radio Control, or Input, read by Web Radio Control, such as a door contact;
  • for an output, what it does At start: off, on or as it was.

A device that started without one of its lines says so, Started without: …, in editing and on its Connection tab.

If something went wrong
  • The switch is not saved, naming a preferred antenna that is not rated for a band. The frequencies of that antenna don’t reach the band. Add the band to its frequencies, or choose another antenna for the band.
  • A change is refused as changed meanwhile. Another administrator changed the switch. The page reads it again. Make your change once more.
  • The switch doesn’t follow the band. Check that the switch is related to the radio with Follow the band of the radio, and that the band has a preferred antenna.
  • An antenna doesn’t switch. Read its lines on the Test step, and see A device doesn’t work.
Last updated on