I've spent the past couple weeks experimenting with gnuradio and how to model a source and a cross correlation interferometer. My goal is to see if is possible to build an interferometer in the gnuradio environment where in theory it should be easier to do things like delay, tracking etc. Obviously, doing the simulations up front before spending any money is far more efficient.
It is apparently not an easy subject to search for either. I found the allbins project, but that seems to be stale.
One of the things I am confused about is the delay function in gnuradio. The block text says that it is a delay based on the sample rate. For the standard interferometer diagram, the delay value is t = B sin (Theta) /c where B is the baseline and theta is the angle between the receiver and the normal line. For something like a nominal baseline of 100m and a 30 degree angle, this comes out to be 167 nS. To create a "delay" of 167 nS would theoretically require a sample rate of at least 6 million.
I put together a simulation anyway, using a gaussian distribution as a proxy for the bessel function for the beamwidth of a dish. I used a slow moving sawtooth wave as my "for" loop, for doing both the gaussian as well as the simulated delay for the dishes. It did end up producing the typical sinc curve. But I'm struggling with the units, since it doesn't seem to add up. There's some part of the flow graph, maybe it's the units, maybe some ratio of frequency to sample rate that I just don't quite get yet.
I'm also hoping that maybe someone else has already done this and has some tips or pointers. I've attached the flowgraph and a screen shot of the output. The chart recorder colors are red is the "for" loop, green is the gaussian, and blue is the mixer output. I threw some noise in there for good measure, but it doesn't seem to make too much of a difference. Obviously, the model doesn't include the locked LOs for the LNBs or LNAs, but the general idea here is that the input would be from something like two BladeRF devices connected to the LNA/LNBs.

