I tried that one i couldn't get it to work, I am sending a signal kind of like the one that you have posted, but I use a 10 vac transformer and a bridge recitfer and a make shift polarized capacitor, when I get some time I will make a drawing of it
There's not a lot of difference between the two. The problem might have been that the 2N3904 doesn't have enough gain.
Does this circuit have to fit inside the locomotive (or tender)?
One quick thought without any investigating, you might try a second copy of the circuit with the rail wires reversed.
Since it's a DC shift of the AC, just reversing the inputs would see the opposite DC shift.
Really need to see how you are generating the rail power or at least your waveforms.