Author Archives: vk5dgr

RADE Android and iOS apps

Lee, BX4ACP, has been working on Android and iOS RADE decoder apps for FreeDV:

Android: https://github.com/pepefrog1234/RADE_decode_Android

iOS: https://github.com/pepefrog1234/RADE_decode

Lee reports the apps are working pretty well overall, although he’s still improving stability and refining a few parts of the implementation.

It’s great for the FreeDV team to see 3rd party developers using RADE in their projects. This has recently been supercharged by the innovative pure C implementation of RADE V1 from Peter VK3TPM.


David March 2026 – AI V1 C Port QA, Claude Code, V2 EOO and SNR, Stored File OTA tests

RADE V1 AI-assisted C Port

Last month I mentioned Peter’s innovative work using Claude Code to perform a C port of RADE V1, and my concerns around Quality Assurance for AI generated code. The FreeDV project leadership team discussed this and we decided to apply the same quality standards to the C port as the reference Python implementation. We adapted a suite of automated tests developed for the Python version to the C port, and wrote a few new ones. Some of these were developed with the assistance of Claude Code. Through a team effort between Peter, Mooneer and myself these tests are now passing on the C port of RADE V1, which is now ready for initial deployment.

Claude Code for RADE V2 development

I have started using Claude Code for my development and it is indeed a game changer. It’s like having another DSP engineer to work with. It is more knowledgeable than myself in many areas, and is indeed teaching me some DSP tricks like SNR estimation for OFDM. Claude is much faster and more accurate than me at coding, especially around scripting and automated tests. This month Claude helped me prototype a End of Over (EOO) system and SNR estimator for RADE V2, various automated tests, and with refactoring the V2 Python code into a class.

The EOO system is a good example of AI assisted DSP development. The transmitter sends a EOO symbol at the end of it’s transmission. The receiver detects this symbol and cleanly stops decoding, preventing a trail of R2D2 noises at the end of the over. A first pass worked, but was unreliable, only detecting about 40% of the EOO symbols on multipath channels. I then “worked” with Claude on various tests and algorithms he suggested, until we had adequate performance. The constructive criticism went both ways – some of the ideas I had were flops, but I also had objections to some of Claude’s ideas. I learnt quite a bit, as Claude’s knowledge is encyclopedic and he had algorithm ideas I had never heard of. I quite like learning so this was an added bonus. Claude did all the coding and is way faster than me. Eventually we reached an algorithm that passes all the tests we have thrown at it so far, and works down to all but the lowest SNRs.

Turning to SNR estimation, here is a plot of the SNR estimator Claude helped me come up with. Turns out SNR is related to the autocorrelation of the cyclic prefix which we already compute. This works quite well for AWGN channel but (as usual) has significant errors for multipath channels. So I asked Claude to fit a correction that minimises the error over three channel – AWGN, multipath good (slow fading), and multipath poor (fast fading).

RADE V2 SNR estimator for three channels. The x axis is the actual SNR of the channel, the dashed line an ideal SNR estimator. Over the -5 to +5 dB range the RMS error is 1.5 dB, and maximum error 2.8 dB. It is optimised for the mid range (slow fading) MPG channel.

Tx Drive Levels and ALC

The next phase V2 development is stored file over the air (OTA) tests. For each test I generate a file consisting of a chirp – SSB RADE V1 – RADE V2 in samples, which are scaled so they have the same peak power.

As a first step I connected my HF transmitter to a spectrum analyser via a RF sampler and attenuator so I could measure the actual Tx power. I encountered a significant difference in Tx power for each sample, despite the peak drive level being the same. This improved (the difference was reduced) when I increased the drive level from 60% to 80% on my IC7200 test transmitter:

Peak power against time for chirp – SSB – RADE V1 – RADE V2 with USB 60% drive level (just tickling ALC) – significant differences in peak power of each signal.
Peak power against time for 80% USB drive level (ALC half scale) – peak power of four signals more uniform, and has bumped up a few dB.

The 60% drive level followed the conventional FreeDV wisdom of setting Tx drive to “just tickle the ALC”. To explore this a little more I conducted some “over the cable” tests where I connected a FT-817 receiver to the transmitter via attenuators and coax (so no HF channel or noise to deal with). In this case I measured no difference in the measured loss metric of the received RADE V1 and V2 signals between two drive and power levels. This suggests that for modern FreeDV waveforms like RADE V1 and V2, the Tx drive level and amount of ALC is not critical. Indeed driving the radio a little harder so the ALC is engaged may increase the Tx power. It also shows that the path through the two radios introduces just a small amount of distortion to the RADE signals, a pleasing result. Of course this is just one result, with one radio, so I would encourage other experiments in this area.

TestConditionUSB DrivePower settingALC (bars)Peak PowerRADE V1 LossRADE V2 Loss
ControlSoftware0.1080.082
Low powerOTC50%L120W0.1080.079
High PowerOTC80%100%470W0.1070.087
USB/ALC drive level tests. The “loss” is the same objective measure we use for training the network, and allows us to measure distortion of the received signal. The loss barely changed across two drive/power settings, indicating ALC engagement is not critical for this radio.

RADE V2 Stored file OTA testing

So with all the algorithms for RADE V2 in place, I started testing V2 over the air (OTA) using stored file tests, similar to tests performed during RADE V1 development. As mentioned above I generated a file consisting of a chirp – SSB RADE V1 – RADE V2 in sequence, then transmitted that from my home station to various KiwiSDRs around Australia. The chirp is used to estimate SNR of the channel, and SSB and RADE V1 are included for comparison. By sending them all together, we have them passing over roughly the same HF channel.

The purpose of these tests was (a) see if RADE V2 actually works over real world HF channels (b) compare it to RADE V1 to see if we get any improvement at low and high SNRs. The simulations predict a 3 dB increase in sensitivity at low SNRs. At high SNRs the ML network “loss” is significantly lower for V2, but we are not sure what that means in terms of speech quality.

Here are some samples from the OTC/OTA testing. The first set of samples is over the cable (OTC) so very high SNR. Can you hear any difference between RADE V1 and V2? Which one sounds closer to the input speech?

Input Speech
v216 high SNR RADE V1
v216 high SNR RADE V2
V216 high SNR SSB
High SNR spectrogram, chirp-SSB-RADE V1-RADE V2. Note the difference in bandwidth for RADE V1 and V2

This set of samples is from a low SNR (approx -5 dB) path 2000 km across Australia on 14.230 MHz:

V217 low SNR HF path RADE V1
V217 low SNR HF Path RADE V2
V217 low SNR HF path SSB
Low SNR HF path spectrogram

Objective Loss Measure for OTA tests
It can be hard to tell fine differences in speech samples using ad hoc listening tests such as playing the samples above. To help with this problem, the OTA test software also measures the “loss” between the vocoder features at the input of the RADE encoder, to the output of the RADE decoder. This can be considered a number that represents the distortion of speech passed through RADE. We use the same metric when training the ML networks, where the weights are adjusted to minimise the loss. We observe during training that speech quality increases as the loss is reduced. So we can argue that in general a lower “loss” represents increased speech quality. Here is a table of the “loss” for a selection of OTA and OTC samples:

SampleSpeakerV1 softwareV2 softwareChannelV1 OTAV2 OTA
v208David0.1020.077NVIS0.1320.132
v209David0.1020.077NVIS0.1410.125
v211David0.1020.077DX0.5200.154
v216Brian0.1150.086OTC0.1230.096
v217Brian0.1150.086DX0.3110.198
Loss for various samples from the OTA test campaign. The “Software” columns are the loss from software encoding only, before transmission over the channel. A perfect channel (like v216) achieves very close to these loss values.

It can be seen that when sent over the same channel at (almost) the same time, the RADE V2 samples achieve an equal of lower loss than RADE V1. It’s interesting to compare the loss values for v216 and v217 to the samples above – do you agree with the ordering suggested by the loss values?

Conclusions

My conclusions so far:

RADE V2 works over the air for the channels (40m ground wave and NVIS, 20m skip) and two speech samples tested so far. No obvious functional problems over a total of 17 tests.

At low SNRs there is some evidence of V2 performance gain (measured loss values), but it is subtle and may be hard to hear using ad-hoc listening tests. Likewise for high SNR voice quality. It is fair to say V2 is no worse than RADE V1. Both RADE V1 and V2 are doing better than SSB.

The RADE V2 waveform has a fraction of the bandwidth of RADE V1 and SSB (99% power contained in 860 Hz).

After a few laps with Claude the End of Over (EOO) system is working on most OTA samples. The SNR estimator is functional but not accurate, with performance varying across channel types. End users will need to be briefed about it’s accuracy (up to +/- 3 dB error).

Some features I still need to test/demonstrate are the lower latency and streaming text feature.

David Feb 2026 – annual report, Claude C Port, V2 test plan, sine wave robustness

I started this month with writing our annual report to ARDC, who have been kindly supporting our work since 2023. It’s been a great year for FreeDV. We believe we have achieved most of the goals set for the ARDC grant, using just a fraction of our budget. Highlights include:

  1. With RADE V1 we have a high SNR (rag chew) mode that exceeds the quality of SSB.
  2. We have improved low SNR operation such that RADE V1 exceeds the quality of SSB at low SNRs.
  3. Maintained and improved our freedv-gui application, and supporting technology such as the FreeDV QSO finder.
  4. Promoted FreeDV and RADE technology online using our website and at Ham/professional conferences.
  5. Met our goals for a greatly expanded and growing user base.
  6. As a bonus outcome, we have developed the BBFM technology that uses machine learning for high quality, robust speech communication over VHF/UHF.

RADE V1 C Port using AI

In February Peter Marks, a member of our FreeDV project leadership team, has performed some remarkable work with Claude Code – generating a C port of RADE V1 in one day. I estimate this work would take 3 months of my time, requiring a wide range of skills. To verify the port I applied a suite of automated tests that we use for the Python version of RADE V1. Most passed, but there are few small issues that need addressing.

This availability of RADE V1 as a pure C library opens up several exciting possibilities, such as making life easier for packaging and distributing RADE, smaller downloads and embedded operation inside radios on smaller processors.

However the use of AI raises the question of maintenance and continued Quality Assurance. Even if the code is efficiently generated – we still need some assurance that it works and will keep working as the AI adds more code. An appropriately skilled human still needs to be responsible for reviewing the work of the coder (AI or human) and signing off the work. It’s not OK to have efficiently generated code that has subtle bugs. The use of AI for large coding tasks is a new and exciting paradigm, and we need to work out the best way to use the technology but retain appropriate levels of quality. The FreeDV project leadership team is currently pondering this question.

RADE V2 Test Plan, AGC and Robustness to Sine waves

A simple automatic gain control (AGC) was developed and tested to handle varying signal levels into the V2 receiver. It can handle +/- 20 dB range of input signals and based on a series of spot tests and performance curves it doesn’t appear to add any measurable distortion. ML networks tend to be sensitive to input level, hence the need for some sort of AGC.

Now that most of the RADE V2 algorithms are written, I have been proceeding through a suite of tests. Over the years we have worked out just how to break digital voice systems over the air, so we simulate each of these conditions first, as issues are much easier to find and fix in simulation that over the air. These tests and the results have been documented in a test plan/report. I moved quickly through several tests, then came to a screeching halt when testing acquisition with sine waves present.

This is a common scenario – e.g. someone tuning up on a frequency near a valid RADE signal. Turns out the RADE V2 receiver was happily obtaining sync on a sine wave, which locked out any valid RADE signals. Once again, V2 sync is more complicated than V1 due to the absence of pilot symbols. A few days of R&D followed, and now we have an acquisition system that is more robust to in-band sine waves.

The figure below illustrates the problem with sine waves. This is a mesh plot of the autocorrelation of the input signal, which we use to determine if a signal is present. Time flows from right to left in this plot, from 0 to 1000 symbols (about 20 seconds at 50 symbols/s). We peak pick this at each time step to determine the timing offset, which is between 0 and 160 samples. The central mountain is a valid RADE V2 signal with a timing offset of about 80 samples. The horizontal bar starting near 0,0 is the sine wave, which doesn’t have a clear central peak. I’m using the ratio of the maximum of the minimum at each time step to distinguish sine waves from valid RADE V2 signals.

I also worked through some issues when one V2 signal closely follows another, and performed several other tests such as modelling sample clock offsets between the transmitter and and receiver, and frequency drift of the Rx. The 99% occupied bandwidth (OBW) is just 860 Hz and the spectrum much cleaner than RADE V1.

The next step in the test plan is to send some “stored file” V2 signals over the air using SSB radios, debug the issues this throws up, and confirm the results over real world radios and channels are similar to simulation.

FD Linker: A Bridge Between FreeDV 2.2.0 and Turbo Hamlog in Japan

This is a guest post by JH0PCF HIROYUKI Kanda, from Japan.

FreeDV Logging in Japan and the Need for a Bridge Tool

I am HIROYUKI Kanda (JH0PCF), an amateur radio operator in Japan. When FreeDV version 2.2.0 introduced UDP output for received QSO logs, several overseas logging applications—such as KLog—were able to read these packets directly.

However, the situation in Japan was different. Most Japanese amateur radio operators use Turbo Hamlog, developed by JG1MOU (Mr. Hamada). Turbo Hamlog is extremely popular and widely used, but it could not directly receive or import the UDP log packets generated by FreeDV.

FreeDV operators in Japan approached me and said: “We have the binary UDP log data from FreeDV. Could you create a bridge tool that transfers this into Turbo Hamlog?” This request became the starting point for the development of FD Linker.

Human × AI Collaboration in Development

I had no prior programming experience. To make this project possible, I designed the specifications and performed all operational testing myself, while relying on cloud-based AI systems for the coding work.

  • Gemini generated the program code
  • Copilot reviewed and verified the code
  • I handled the design, debugging, and validation

This collaborative workflow allowed rapid development, even during late-night sessions, and resulted in a stable and practical tool for Japanese FreeDV operators. There are two Editions of FD Linker.

FD Linker Times Edition

This edition is designed for operators who want to accurately record the start time of a QSO:

  • Press the Ctrl key when the QSO begins
  • FD Linker stores the PC’s internal time
  • When FreeDV outputs its UDP log packet, FD Linker parses the callsign,
    frequency, and grid locator
  • These fields are automatically entered into Turbo Hamlog
  • After confirmation, FD Linker sends the stored start time to complete
    the log
FD Linker Times Edition capturing start time

FD Linker Listen Edition


This edition continuously waits for FreeDV’s UDP “Log QSO” packets:

  • FD Linker monitors the UDP port
  • When FreeDV outputs a log packet, FD Linker immediately parses it
  • Callsign, frequency, and grid locator are automatically transferred
    into Turbo Hamlog
  • The operator only needs to confirm the entry
FD Linker Listen Edition parsing FreeDV log

Technical Notes:

  • Both editions use the public Turbo Hamlog API
  • The software is lightweight and single‑purpose
  • Development focused on transparency and reproducibility
Turbo Hamlog receiving the transferred QSO data

Acknowledgements

I would like to express my sincere thanks to:

  • Experienced FreeDV operators in Japan who provided early feedback
  • JG1MOU (Mr. Hamada), developer of Turbo Hamlog
  • Gemini & Copilot AI for assisting with code generation and review
  • The FreeDV development team for implementing the UDP log output in version 2.2.0
  • I am also grateful for the advice I received during the icon design process.

Conclusion

FD Linker was created to help Japanese operators enjoy FreeDV more easily by connecting it to the logging software they use every day. I hope this tool will support the growth of FreeDV activity in Japan and contribute to the global digital voice community.

Best regards,
HIROYUKI Kanda (JH0PCF)
PS: I also manage a Japanese FreeDV information site, including the “FreeDV Operation Guide”: https://freedv.info

David Jan 2026 – Timing Integration Bug, ctests

As per December’s report I have a first pass on all the V2 algorithms and am now building up more comprehensive tests, which are showing up more bugs. This month I have been digging into a corner case with the timing estimator not playing nicely with the ML decoder. The symptom was poor speech quality on some channels tested in simulation, in response to different values from the timing estimator as the HF channel evolves.

We are breaking significant new ground with RADE V2, e.g. a ML network that deals with a variety of channel impairments like the multi-path channel and fine timing errors as well as performing speech error correction and compression. So it is not unexpected that we will have some challenges along the way. Much better to deal with any problems now, as they will be much harder to fix if left until later in the development cycle.

This was a complex problem, that took me most of this month to understand. My approach was to write up the work in a Latex document. As I am working alone on RADE development, I find it useful to clearly express complex problems using text and math.This led me to develop some maths to describe the OFDM timing and how it relates to the V2 decoder. This was an area that I didn’t understand well with RADE V1, where it was taken care of by the previous, pilot symbol approach. This months work also gives a greater depth of understanding around the performance of the V1 and V2 algorithms (V1 development was quite rushed). The Latex document (when edited) will also be useful for documenting the final V2 algorithms, which we plan to release in another paper.

The figure below attempts to describe the problem. The x-axis is time, the top bar represents the range of timing estimates the RADE decoder can successfully handle. Delta1 and Delta2 represent the timing estimates from the HF channel, which sometimes overlap the prohibited (grey) area.

I have now isolated the problem, can reproduce it with several experiments, and have two potential solutions which I am exploring.

Additional work for this month includes bringing the automated tests (ctests) up to date, and getting the over the air test script ready to run with RADE V2, to support subsequent stages of testing.

David Dec 2025 – Acquisition, RADE V2 testing and planning

This month I worked on RADE V2 acquisition – the algorithms required to determine when a RADE V2 signal is present (instead of just noise), then start decoding. This includes estimating and tracking frequency and timing offsets, and determining when the signal is no longer present. This involved integrating many of the building blocks developed over previous months into a complete receiver, and building up a state machine to control the receiver.

Then followed several weeks of “testing and tuning” to make sure several important tests passed:, including performance on AWGN and multipath channels at high and low SNRs . The acquisition system needs to work at lower SNRs that the speech decoding (down to -5 dB on AWGN channels), so we tend to test it beyond where the decoding breaks.

All of the core algorithms required for a practical RADE V2 receiver have now been built, and are passing initial tests. The next step is to perform some more detailed tests such as simulations to track frequency and timing drift, comparisons to an equivalent RADE V1 receiver and some initial “stored file” over the air tests to sanity check the complete receiver in the real world.

I also updated our Internal FreeDV-038 RADE V2 project plan to update status and plan the next steps of RADE V2 development and documentation work. Documentation is important as it’s a way to review the RADE V2 system and spot any design issues early. RADE V2 performs most of the signal processing using machine learning, leaving just a small amount of classical DSP code. This will hopefully lead to lower CPU load, and simpler C porting and maintenance.

David Nov 2025 – fine timing, signal detection, RADE V2 status

This month I’ve been working on an alternative fine timing estimation algorithm for RADE V2 kindly proposed by Jean-Marc. He suggested a pure DSP algorithm as an alternative to the hybrid DSP/ML algorithm I was previously testing. This is intriguing as it’s simple DSP and so avoids some of the complexities of ML, and also outputs a frequency offset estimate. Turns out it works pretty well. However, like my ML/DSP estimator it exhibits some jitter when tested with multipath channels. Unfortunately the jitter upsets the RADE V2 decoder which was trained with a constant (jitter free) timing offset. So I added a smoothing stage with hysteresis to avoid short term timing jitter but still allow it to acquire new signals rapidly.

Here is a plot of the ML network “loss” against SNR that illustrates the performance of the new timing estimator.

The Genie curves use the ideal timing estimate, and the FT curves the new fine timing estimator. The curves are just about on top of each other which shows that when we use the timing estimator there is very little additional distortion – just the result we want.

The next topic for this month was “signal detection”. How can we determine a RADE V2 signal is present so we can start decoding? Using the output from the timing estimator, I applied a statistical model to make a decision about signal/no-signal. This is working reasonably well, even on low SNR and multipath channels.

To help track RADE V2 development I’ve developed the table below which summarises the new algorithms we’ve had to develop. This is real R&D with many failure paths so it’s hard to estimate schedule, but we can track progress to get a feel for how much algorithm development work is left to do. Once all of the algorithms have been developed, we can integrate them into a set of Python tools and start testing over the air, for example using stored file tests. If our stored files tests are successful, the development becomes a bit more straight forward, e.g. a C port, packaging and documentation is time consuming but low risk.

FunctionRequirementStatus
Phase EqualisationHandle phase distortion of HF channel, and fine timing offsets of +/-1 msOK
Fine frequency offsets+/- 2 HzOK
Coarse Freq offsets+/- 50 Hzunder test
Coarse and fine timingtiming to within +/-1 msOK
Signal detectionOne false detect every 10 minutesunder test
Frame syncAlign Rx symbols with RADE decoderOK
Amplitude equalisationKeep Rx signal within dynamic range of MLTBD
End of Over DetectionReliably detect the end of transmission and “squelch” within 100msTBD

David Oct 2025, Timing Integration, Pacificon, WASPAA

This month was dominated by the travel and attendance at the Pacificon and WASPAA 2025 conferences.

A write up of our Pacificon attendance is here. WASPAA is a professional level acoustics and speech conference where I (along with Jean-Marc) presented a poster paper on RADE V1. This was well received by the other attendees. It was pointed out that RADE V1 is the first known real-world deployment of a neural codec – an important milestone that the Ham community can be proud of. Several attendees also thanked me for Codec 2 – it is used in academic research as a (low quality) “control” for various projects.

Earlier in the month prior to the conferences I worked on integration and testing of the fine timing algorithm with the core RADE V2 decoder. However I hit some performance degradation that I traced to jitter in the timing estimator. At WASPAA, Jean-Marc developed an alternative timing estimator that I am now evaluating – thanks Jean-Marc!

Promotional efforts this month included a ARDC blog post on the BBFM work, and working with Kanda-san JH0PCF on a RADE V2 magazine article.

David Sep 2025, BBFM Paper, WASPAA

This month I worked on our Baseband FM (BBFM) paper, “RADE for Land Mobile Radio: A Neural Codec for Transmission of Speech over Baseband FM Radio Channels” which is now available here on arxiv.org.

This paper is written at a professional technical level and has a description of the BBFM technology including design, derivation of our linearised FM model, training, ASR evaluation results, and the UHF Radio demo. There is a complimentary BBFM web page with demo samples, and Github branch with source code.

This months work included review corrections, upload and publishing on arxiv.org. Quite a lot of work to complete this paper by my co-author Tibor Bece, contributor George Karan, and myself however we are very pleased with the results. Thank you Bill Cowley and Jean-Marc Valin for reviewing the paper and your many useful comments.

Also this month I prepared a poster presentation for the WASPAA 2025 conference I am attending on October.

This months RADE V2 development was focused on fine timing estimator integration. In particular I am carefully testing the combined system to ensure the fine timing estimator doesn’t cause any distortion in the decoded RADE V2 speech.

David August 2025, BBFM write up, RADE V2 OTA, Fine timing

BBFM Documentation

Given our fine results from last months Baseband FM (BBFM) tests, I set about wrapping up the current phase of the project by documenting the work. I’ve been working on a draft paper that describes the work at a professional engineering/signal processing level, which has quite a lot of math, especially around the use of FM demodulators. Once I have this reviewed by some colleagues I’ll put it up on ArXiv.

The second documentation effort was a Ham friendly RADE-BBFM web page to provide a more gentle introduction to the technology. Third was a GitHub branch (dr-bbfm, off the RADE repo) that provides the open source software and some instructions for the advanced experimenter to reproduce the work.

First RADE V2 Over the Air Test

After some more careful development I reached the point where I could finally test the “smoke test” version of RADE V2 over the air. The goal of this test was to see if the many new and novel techniques we’ve developed for RADE V2 will work together to send speech over a real radio channel. It was not a performance test, so we weren’t looking for that last dB of performance. Given the number of new techniques, just working over a real world radio channel is enough.

Using a 10 second sample of my own voice, I generated a file that contained a chirp signal to measure SNR, followed by my own voice encoded with SSB, RADE V1, and RADE V2. On the 8th of August 2025 I transmitted the file from my home station to a KiwiSDR about 100 km away, over a 40m near vertical incidence (NVIS) channel with significant fading.

Somewhat to my surprise, the RADE V2 prototype worked first time!

Block Diagram of Prototype RADE V2 Receiver. The blue boxes are implemented with Machine Learning (ML). The “RADE Decoder” does most of the heavy lifting, taking off air QPSK symbols and converting them to features for the FARGAN speech synthesis stage. Not much classical DSP left…

This waveform has many new and novel features including:

  • Using ML to handle phase distortion from the HF channel, fine frequency offsets, and small timing offsets (normally performed using classical DSP).
  • No pilot or unique word symbols which is pretty novel compared to any other waveform I’ve ever seen, (saving bandwidth and power, framing overheads).
  • Low latency frames of around 40 ms (very low for robust digital voice, supporting rapid PTT turn around, faster sync).
  • A 800 Hz 99% power occupied bandwidth (3x bandwidth efficiency of SSB).
  • A PAPR of 3 dB through commodity SSB radio filters (this is pretty good for OFDM and compared to SSB, and we may be able to improve this further).
  • ML frame sync and fine timing (normally done with classical DSP, supports low overhead no pilot/UW operation).
  • Compared to RADE V1 (and most other modems), very little classical DSP code.

Here is a spectrogram (time flowing left to right) of the received signals:

From left to right Chirp – SSB – RADE V1 – RADE V2 received over a NVIS path.

You can see how narrow the V2 signal (far right) is, and it’s out of band energy falls off quickly. It also appears “brighter” – the narrower waveform means more power packed into a smaller bandwidth. The fading is quite obvious in both the V1 and V2 signals. Here are the received speech samples after decoding:

SSB
Decoded RADE V1
Decoded RADE V2

The decoded V2 speech sounds more or less the same as RADE V1 (and better than SSB), which is what I was aiming for in this “functional” test. Real world HF channels evolve all the time, so it’s tricky to perceive fine differences even with two signals close together in time – e.g. from the spectrogram you can see they are experiencing fades at different points in the sample. That’s OK for now – drilling down into speech quality improvements will come later.

Here are the “off air” RADE V1 and V2 signals. V2 sounds like an old school fax machine to me, and the fast fading typical of NVIS channels is quite obvious on both signals.

Off air RADE V1 (first) and V2 (second) signals. The fading is easy to hear.

On a subsequent transmission I could hear (and by observing the metrics see) a few issues in the V2 prototype. This is expected as I took a few short cuts to get this rough V2 prototype on the air ASAP to support the functional test. Now that we know the many novel techniques in RADE V2 actually work in practice, we can start carefully tuning each subsystem to optimise performance.

Fine Timing

The OTA test samples I collected suggested I needed another look at fine timing. So this month I spent time working on the math, simulation, and training code. The fine timing algorithm consists of some initial DSP which extracts “features” which are fed to a small ML network. This outputs a fine timing estimate (delta in the block diagram above) that tells us the best time to sample the received OFDM symbols

Here are some figures that show the fine timing estimator in action. The input signal is a RADE V2 signal with fast fading at a SNR of 0dB (sample below). This is a tough example – it’s really hard to even hear the RADE signal at this SNR, however from the plot below you can see the ML producing good results. The plots have time (in symbols) on the x axis, and the fine timing estimate (a number between 0 and 159) on the y axis.

The correct answer (90 +/- 8 for this simulation) bounces about as the fading channel is modeled by two paths with a delay that is 16 samples (2 ms) apart. Some times one path is stronger, sometimes the other path (16 samples delayed) is stronger.

Note the spurious value at the start of the ML (and also DSP) output. This can be viewed as a synchronization or acquisition delay. For this sample it’s about 12 symbols or 240 ms long. Some more work required to see if we can reduce this, to speed up acquisition.

Simulated received signal at the input to the fine timing estimator, a RADE V2 signal with fading at 0 dB SNR
Fine Timing DSP Feature Extractor output – the correct answer (90 +/- 8) is “in there” but a lot of crazy values
Output from ML Network – all cleaned up and we have our correct answer (90 +/- 8) (most of the time). Note spurious output at the start, the ML takes 240ms to synchronise – we can hopefully improve that.