I`mI'm trying to build a frequency modulated LC oscillator but all circuits I`veI've tried have terrible mains hum after demodultaion.
The oscillator is tuned by capacitive sensor but I`mI'm using a fixed capacitor instead until I solve this problem. I`veI've tried different topologies: Franklin, Clapp, Vackář, Hartley at different frequencies from 60 to 500 MHz but there`sthere's no difference between them in terms of mains hum. I`mI'm using an SDR receiver for demodulation, it works fine and cannot be the source of hum. Using battery instead of AC supply didn`tdidn't help. I`m using 10 µF and 10 nF capacitors for decoupling. Using physically smaller inductors helped a little, but the noise is still unacceptable.
As suggested in comments, I`veI've tested all circuit nodes with and without powering the circuit and 50 Hz component appears only at the antenna output.
Uploading my setup and schematics as requested. The setup is just an SDR receiver and the oscillator with a piece of wire at the output as a makeshift antenna. The capacitive sensor Cvar is absent, as I`mI'm using a fixed capacitor C4 instead.
I`veI've made a new board with a ground plane and a nickel silver EMI shield. I`veI've added a 1.8V LD1117 regulator and 100pF and 390pF NP0 decoupling capacitors — and still no luck. There are no significant changes in the noise performance. Unfortunately, I couldn`tcouldn't find an iron box to put the whole circuit in, but I`mI'm almost sure there are some clever circuit and PCB design techniques that do not require magnetic shielding. For example, I`veI've tested the SDR receiver on a cheap unshielded FM transmitter: there`sthere's no hum at all, even with the volume maxed out, so the culprit is definitely the circuit and PCB design.
Also, as suggested in the answer below, I`veI've recorded an IF from my SDR receiver and generated its spectrum at low frequencies.
Unfortunately, I`veI've got no other capacitors in the range between 1 and 10 pF to make further tests (the oscillator won`twon't start with C4 ≥ 10 pF). I guess that the AC line noise picked by PCB traces and L2 changes the gate capacitance of J1, and increasing the value of C4 reduces the influence of those changes on frequency. This is also confirmed by adding a strong noise source, e.g. a cell phone making a call. You can see large spikes on Fig. 6c and the frequency does actually increase when I add a noise source, meaning that the gate capacitance of J1 is inversely proportional to voltage. Makes sense to me. Seems like I need to either reduce coupling between J1 and LC tank or add some high-pass filtering between them, but I`mI'm not sure what the best way of doing it is.