A GPS repeater is what you need, and you are most of the way to making one that works.
Overall design of the repeater
will be something like this:
- Patch antenna outdoors, to receive nice strong GPS signals
- Amplifier (in the patch antenna)
- Cable to bring signal down to your workbench
- Bias T to inject DC for the amplifier
- Patch Antenna to radiate signals down to your experiment.
The devil is in the detail, and I might be able to help with a some detail. Starting with an example circuit and refining it.
First calculate the path loss
Compare the two scenarios:
1) Your Device, outdoors: Satellite --> Device
2) Your home-made repeater: Satellite --> Patch --> LNA --> Cable --> Patch --> Free Space Loss --> Device
The difference is of course the antenna, amplifier, antenna and free space path loss, marked in bold. The first step is to add up the impact that has on the signal strength seen at the receiver.
Antenna gain, for a good quality, fairly large (25 mm), passive ceramic patch, is about 3 dBi on boresight. The more compact 10 mm patches, and the ceramic F antennas are not great for this application.
The outdoor antenna has a built-in LNA and filter, you only need to supply power on the cable.
Path loss is wavelength^2 / (2*pi*r)^2.
At 1575 MHz, it is as follows:
0.1 m : 16.4 dB
0.25 m : 24.3 dB
0.5 m : 30.4 dB
1.0 m : 36.4 dB
Cable loss will be about 5 dB for a 5 m length of RG174, the usual cable on these antennas. You can do better with a thicker cable...
The indoor patch antenna can be the same type, but the LNA and SAW filter are not required. Carefully de-solder them and bridge across with some thick wire or a bit of copper tape.
Assuming you keep the re-radiating patch about 25 cm from the device under test, the sum of the losses and gains above is then
- Gpatch +3 dBi
- Glna +27 dB
- Gcable -5 dB
- Gpath -24.3 dB
- Gpatch +3 dBi
Total is about +4 dB
This means that if all the assumptions above are correct, the signal level seen by your device under test will be slightly stronger than what it would see outdoors.
Any deviation (or mistakes) will quickly push the signal level down below where the receiver can cope with it. This could be due to a longer cable, lower gain antenna, mismatch or loss in the bias-T, or longer range from transmit patch to receiver.
If you have an unavoidable loss in the circuit, or you need a much greater distance from transmit patch to DUT, then you'll need a second LNA, perhaps scrounged from the second patch antenna, powered with a second bias-T.
This will get very messy unless you have a very good clean bias T. Any RF leakage into the power lines, or radiation, could couple back into the LNA input (where the first bias T is), causing feedback, oscillation, and complete failure.
Your Bias T circuit
A bias T looks like this:
but MUST have a capacitor to ground from the inductor. (I'll update with a better circuit later.)
You've made a good attempt at the bias circuit, but I fear that the inductor and particularly the capacitor are too far away. We'd generally use a chip inductor and capacitor, 2 mm long, which doesn't disrupt the transmission line too much. I'm also not sure that the impedance of the line is close enough to 50 ohms, it might be costing you a few dB.
What to do? Just use a resistor.
The LNA in a typical GPS antenna I see says
Power Supply : 1.8-5.0 VDC at 10mA. So if you supply it through a 220 ohm 0805 chip resistor, the voltage drop will be only about 2.2 V. Just make sure you have a few volts more than the minimum required, and the LNA will be fine. The resistor will absorb some of the GPS signal, but not enough to change anything here.
You still need a bypass capacitor, C2 in your circuit, but make it a 10n ceramic and keep it as close to the resistor as possible. It should all fit between the legs of the SMA connectors.
Test the circuit DC voltages when powered and running a GPS antenna, and adjust your source voltage accordingly.
Solder the two SMA connectors back-to-back or use a short run of PCB. Try to keep the impedance close to 50 ohms, that is, a 3 mm microstrip track on a 1.6 mm FR4 copper board, with ground underneath.
Note that this circuit also powers both antennas at the same time. This shouldn't be a problem, as long as the indoor antenna is not DC grounded. Check this first, if it's a short, you need to add a capacitor in series with it somewhere.
Having built this bias circuit, you can test it with a regular GPS receiver that has an SMA connector. Simply compare the signal strength of the GPS satellites in the two cases:
- with the GPS antenna directly connected to the receive
- with the GPS antenna connected to the receiver through your bias circuit
Of course you don't add any power to the bias circuit, let the GPS power the antenna.
Experiment a bit - put the transmit patch touching your circuit, then move it away slowly.
Don't expect this circuit to give you good-quality GPS signals for characterising the device's own GPS antenna - for that you probably need to be outdoors. The environment is different, all signals come from above, and there is a warm room not cold sky contributing noise in a different way to the receiver. This is more for a pass-fail test of the GPS, and the circuits that depend on it.