Hacker News new | ask | show | jobs
by labcomputer 6 days ago
Err what?

No, conventional radio broadcasts can be received with a low noise amplifier and a tuned filter.

The received GPS signal, at ground level, is lower than the thermal noise floor. And the 1.023MHz code is modulated on the RF carrier anyway.

1 comments

> and a tuned filter

So correlating it with a sine wavelet?

No? Old AM radio required only rectification. You can receive it with accidental diodes.
You do generally need a tuned filter before the rectification, unless you have an extremely large signal dominating the local airwaves. Which is precisely the parent poster's point: with RF you are almost always doing something to demodulate the signal. Whether you are doing it with a sine wave or something more complicated is not that fundamentally different. (and if you're looking at a spectrum analysis, that is looking at the radio signal from the point of view of that sinusoidal modulation scheme, so you will see such signals 'above' the noise floor more readily than something using a different modulation).
I'd argue that "correlation" is an accurate description of what you're doing with Gold codes - you're testing the known sequence of the output of a PRNG against the received signal, and only accepting it when the data correlates, otherwise you're adjusting the offset and trying again until you find a high correlation (strong +ve and -ve spikes) or you give up and assume there's no transmission. There's nothing in the received signal that tells you there is a real signal there at all, without correlating against every possible offset.

If you compare that to the majority of radio transmissions modulated on a sine wave carrier, there is a clear signal there and you don't need to correlate anything to tell you that, and you don't need to keep trying different offsets - you can just demodulate using a carrier of the correct frequency and the result is correct, just with a slight phase shift relative to the local carrier and which probably isn't even relevant in the frequency domain of the signal.

The key point to me is the trying repeated offsets to try to pick out a signal well below the noise floor, and choosing the offset that provides the best correlation, compared to demodulating a very strong signal that's obviously there by just adding a carrier. The latter could be done using "correlation" if you're implementing an SDR, but it doesn't have to be, and most radio hams would prefer to think of it as a simple analogue operation instead.

A strong signal 'that's obviously there' is only obviously there after you've already filtered it to some extent. If you were to look at the raw broadband RF environment on a scope you very much would not see the vast majority of signals there. And when you're demodulating you do often need to tune the phase and frequency of the carrier you're demodulating with, as well. GNSS signals are just generally quite low bandwidth and so that process takes a while.

Not to say that such codes aren't a neat trick, but it's useful to consider that these are in many ways the same thing.

By "obviously there", I meant take some old analogue receiver and twiddle the tuning knob. The vast majority of radio transmissions are many orders of magnitude louder than the noise floor. They are very obviously there.

Tune your SDR radio down to 1.023MHz, you'll see nothing there at all. The signal is about 20dB below the noise floor. The only way you can pick out anything at all is by correlating it against the PRNG with the correct offset in the sequence.

The GP post (to be fair, I should have replied to the post 2 higher up) was arguing that all signals are weaker than the noise floor and demodulating using a carrier was exactly the same thing. It is in one way, but also not in another - in that you need to keep trying different offsets in the PRNG sequence until you find a correlation. That's why I think "correlation" is a sensible term for Gold Codes, but "demodulation" is better for signals modulated by a sine wave carrier.

You also need an accidental antenna. A tuned one that preferentially receives certain sines. Or else you are receiving sunlight with a solar panel.