I have found a description of just that idea:ould you use a photo sensor to detect when a train enters the loop to reverse the phase of the isolated track, and then another sensor to go back the the normal phase when it is completely in the isolated track?
Since it now doesn't have to switch rapidly to remove a short current, the photo sensors could control a DPDT reversing mechanical relay.



