Hi Antonis,
first of all, thank you so much for the recommendation. I watched the YouTube video, it was really helpful and I think I managed to wrap my head around your suggestion. I have tried an SFCW implementation for the most basic case of one transmitter and receiver which are just separated by air, and the result seems reasonable to me. However, I also compared this to an analytical calculation, and there are some major discrepancies which I currently cannot get rid of. I have attached both the input file for gprMax and my Matlab script for evaluation, maybe you can have a look?
Short explanation: the antennas are separated by 0.4 meters. As you suggested, I am calculating the impulse response with gprmax. The simulation duration is roughly twice as long as the duration for the individual pulses - this is probably a bit overkill, but necessary
to fully capture the pulse
because its is delayed by ~1.3 nanoseconds due to its propagation (so we also have this delay represented for the mixing). I first calculate the transmitted signal for all individual pulses and convolve them with the impulse response. Here is a point where I am unsure: should I then perform the mixing already for all individual pulses, or first "unwrap" the pulses into a full signal and then do the mixing? I have implemented both versions, but the results are pretty much the same. Note also that I don't perform the I-Q-decomposition and the 90°-shifted signal, but I rather directly multiply the signals.
I then also calculate an analytical signal, which is calculated based on the travel time. This is then processed in the same way as the gprmax signal. Finally, the two signals (gprmax/analytical) are shown in plots to be compared. The main issue is that the main peak in the mixed signal is shifted between these two versions; for the analytical calculation, it is at zero (which makes me think I did something wrong), for the gprmax version, it is at ~500 kHz. But this would also be equivalent to a distance of 17.5 micro meters, which is not correct, either. Any suggestions?
Best,
Dominik