Software modems in ham radio — Part 1: Two kinds of burst

How a software modem turns bytes into sound and the sound back into bytes: the modern signal science, examined through a single VARA FM session.

Every digital mode you run uses a modem: something that turns bytes on one end into a sound a radio can transmit, and turns that sound back into bytes at the far end. The same principle powered the early computer networks that sent data over analogue telephone lines. These functions can be performed by a hardware device (TNC), or by software running on a general-purpose computer. Today we are looking at the software modem VARA FM — one of the better ones, and the least documented. It incorporates many of the important techniques used in modern digital communications and because of that it is a great case study for this series.

Before any eyebrows are raised, I’ll acknowledge a couple of well-known issues:

  • VARA is a proprietary Windows-only closed-source software, with its higher-speed modes sitting behind a paid license. It doesn’t meet the community’s expectations for the open, interoperable software we would like to see in a hobby centered on experimentation and learning. This criticism, however, would ring hollow coming from somebody who also makes a living selling to ham radio operators. Digirig products are open-source hardware, but physical goods protect a business opportunity far better than software does — releasing the design doesn’t give away the product. My view is that the man put serious knowledge and time into making a software modem that works well and he deserves to be compensated for his work.
  • Reflected in the FCC’s rules is the expectation that data on amateur radio bands stays open to inspection. VARA doesn’t encrypt in the traditional sense, but that is not the same as being inspectable. The software doesn’t support a monitoring mode for decoding third-party traffic, and its higher-speed modes sit behind the paywall. This raises the question of whether the software is compliant for use by amateur radio operators in the USA. I’m not going to attempt legal analysis here, but it is worth pointing this out.
  • This writeup touches on the details of VARA’s implementation as an academic curiosity and a way to demonstrate the application of signal science in a real-world software modem. I don’t believe it conflicts with VARA’s license agreement. My process for analyzing the modem involved using an AI agent to listen to live VARA sessions, work out their purpose and contents, replay fragments of the audio, and match what it heard against publicly available analysis and existing knowledge in the fields of communications and DSP. Doing this reminded me of the film Project Hail Mary, in which Dr. Ryland Grace teaches the ship’s computer to translate the alien’s language. That said, there is no expectation of the information here being complete or accurate.

This is the first of multiple parts, each covering one layer of a software modem with VARA FM as the case study.

The session

Let’s start with an example of a complete session: here is one entire contact recorded on a single computer running two copies of VARA FM from separate folders, each configured to use its own Digirig, connected with a crossover cable. The whole exchange takes under 22 seconds from the first burst to the last, with 1,024 bytes moved in each direction.

Frame ladder of one complete VARA FM contact spanning about 22 seconds, drawn with time running downward. Two columns, caller on the left and answerer on the right, hold 22 bursts. Bar height is proportional to how long each burst lasts, so the two 4.81-second data bodies are the tall blocks and everything else is a short control burst. One station transmits at a time and the columns alternate, except the final two bursts are both the caller sending the disconnect. Each bar is coloured by its class, phase grid or tone pattern; two bars (the wide-data arming bursts 6 and 11) are drawn in both colours because that burst is a tone preamble followed by a phase-grid body in one keying.
Twenty-two bursts, one station transmitting at a time because the channel is half duplex. The stations alternate for all but the final pair (20 and 21), where we observe the caller sending the disconnect twice.
The full 25-second recording of the session charted above. The melodic chirps are the tone patterns; the two long rushes of hiss are the data bursts.

Two kinds of burst

A careful observer will notice that the bursts do not all sound or look alike: at some moments the audio is almost melodic and the waterfall shows a sparse scatter of lines, while at others it is a wall of hiss that fills the band. These are two classes of burst common in communications, and they are the subject of this part; we’ll call them the tone pattern and the phase grid. The two have distinct purposes, and the modem switches between them as the session progresses.

Two stacked waterfall panels on one shared frequency scale; frequency across, time downward over ten symbols. Top, tone pattern: seven contiguous frequency bands of seven carrier positions each, marked by alternating tint, with one carrier lit in three of the seven bands per symbol. Bottom, phase grid: fourteen comb carriers spanning a slightly wider range, lit on every symbol as continuous vertical stripes shaded by one of four phases. Equal frequencies line up vertically between the panels.
The tone pattern encodes information in the choice of active carriers. The phase grid activates all the carriers on every symbol and encodes information in how each carrier’s phase changes from one symbol to the next.

The tone pattern is a kind of pilot signal. Its purpose is to draw the receiving side’s attention and help it prepare for the data that follows. It is conservative with bandwidth and carries little information. Once the receiving side is armed, the phase grid fires up, using as much of the bandwidth as is available to push the payload through as fast as possible.

Both kinds are built from the same raw material. A transmission is a sequence of symbols sent back to back with no gap between them — 24 ms each in a phase grid, a shade shorter (21.3 ms) in a tone pattern — so within a burst there is never an instant without signal. Inside one symbol the modem can put a tone on any of 128 evenly spaced frequencies; the ones it actually uses are its carriers, and what you hear is all of them sounding together.

The two classes side by side

Tone patternPhase grid
Roleacquisition and signallingpayload
FamilyMFSK — the message is which frequency is activeOFDM — the message rides in each carrier’s phase (and, at higher speeds, its amplitude)
Informationa few bits, by carrier positionup to 8 bits on every carrier in use
Bandwidth3 carriers of 49the whole channel
Receiver needsan energy detectorsymbol timing, a phase reference and error correction
Error correctionnone; redundancy from repetition and diversitya rate-1/2 turbo code
Failure modethe detection vote falls shortthe checksum fails after decoding
Trade-offrobust and cheap to detect, but a very low ratea high rate, but needs a clean channel
First usedthe “Piccolo” diplomatic radiotelegraph, 1962; touch-tone dialling a year laterthe Collins Kineplex radio modem, 1957; mass use came with DSL
Also seen inFT8, WSPR; Wi-Fi and LTE use similarly sparse preambles for acquisition802.11, DVB-T, DAB, LTE and 5G payload; VDSL
In VARAburst detection, addressing, acknowledgements and control framesall payload, the connect request, the CQFRAME beacon

Terms used here

ModemModulator–demodulator: turns data into a signal a radio can send, and turns it back at the far end.
SymbolOne step of the transmission — in VARA, a slice of sound around 24 ms long.
CarrierOne of the evenly spaced frequencies a tone can sit on; a burst uses many at once.
Half duplexOne station transmits at a time; the two take turns and never key up together.
Pilot signalA known signal sent to help the receiver lock on before the real data arrives.
DTMFTelephone touch-tones: two tones sounded at once identify a key on the keypad.
MFSKMulti-frequency-shift keying: the message is which of several tones is present.
OFDMOrthogonal frequency-division multiplexing: many slow carriers sent side by side at once.
DQPSKDifferential phase-shift keying: data rides in the change of phase from one symbol to the next.
Turbo codeAn error-correcting code strong enough to rebuild a damaged frame, not merely flag it.
ChecksumA short check value that reveals whether a frame arrived intact.

What’s next

That wraps up the quick overview of the two kinds of burst — in data transmission generally, and in VARA specifically. In the next part we’ll take a deep dive into the tone pattern — the simpler of the two — and see how it works, what information it carries, and how VARA encodes and detects it.

I encourage feedback on the series and welcome questions, corrections and criticism. The comments section is open below.

Software modems in ham radio — Part 1: Two kinds of burst
Tagged on:                 

Leave a Reply