There was an article on this (or something very close) in Garden Rail 210 February 2012.Cliff George said:Don't real railways use something called a 'track circuit', maybe you could use something similar. It would require the use of non insulated metal wheels.
http://en.wikipedia.org/wiki/Track_circuit