
I want to have an automatic turnout & polarity switching of two hidden reversing loops. I don't care which direction the train goes when it enters the loop. The layout will use DCC.
I know there are some commercial items for this purpose but they seem complicated, expensive, require more "cuts" or sections and besides the DIY part of this hobby is what I am looking forward to.
N = North rail of main line
S = South rail
O = Outside Rail of loop
I = Inside rail
S1 & S2 are Photosensor locations (~$1)
T = Tortoise Switch motor
Two CD power sources - Both with S as common - CD1 = South to Inside & CD2 = South to Outside. Both can be very slow charge off of the DCC power as they will only be needed once per full round trip. (One capacitor, one diode & a resistor each ~ $4)
One DPDT two coil latching relay. ($3.50 on E-Bay)
Two SCR's (about $1.50)
I know "polarity" is not the right term for the AC used by DCC but the concept is easier to describe this way. Assume the main line polarity is fixed east bound.
When the loop polarity is clockwise CD1 will charge. (Outside rail opposite of South rail)
When the loop polarity is counter clockwise CD2 will charge. (Inside rail opposite of South rail)
I should be fairly easy and cheap to create a circuit to "fire" an SCR once on a light to dark transistion using a Cadmium-Sulfide photoresistor (CS), one transistor, one resistor and an SCR. (Assuming a 12K/300K CS detector) Transistor & SCR connected "darlington" style, CS placed emitter to ground, about a 1M resistor up to the positive and the relay coil between the positive and the SCR. If I can find a very low current SCR I might not even need the transistor

The relay output is used to switch the polarity of the power to the switch motor.
The switch motor DPDT contacts are used to match the "polarity" of the loop to the direction of the turnout.
Anytime a train crosses a sensor indicating it is near one of the legs of the wye AND the CD is charged (indicating a change is needed) the SCR will fire to pulse the proper coil of the latching relay. The latching relay will change the polarity of the switch engine. The switch engine will then change the direction of the wye and the "polarity" of the loop to match the correct side of the wye.
With a latching relay and loop polarity controlled by the switch motor there should never be any mismatched states on power-up. Since the CD's are only powered when there is a mis-match with the associated sensor it will only fire once even if the light between the cars pulses the CS.
The only potential problem I see is the proper placement of the sensors relative to the cuts to make sure the entire process is complete before the train gets to the cut at the highest speed and having the loop long enough to make sure the longest train is shorter than the distance between the sensors.
I don't care which way the train goes around the loop on entry but I guess you could use a push button across the SCR to manually change the direction of the wye.
Do the DPDT contacts on the Tortoise Switch motor switch fast enough to not have a bad hesitation if used to switch the loop polarity?
Has anybody tried this method or something similar?
Anyone see any reason why it won't work before I buy the parts?
...Jim