This item didn't appear to rouse much interest over on the layout forum (Celbridge), but may be of interest to those who prowl this forum.
Anyway please let me know what you think.
Here is a more detailed description of what’s involved.
In the diagram below of crossing, M is mainline B is branch-line. So what we want to do is allow the mainline have priority over branch-line and of course avoid collisions.
The branch-line is isolated between points x and y. There are sensors S1 and S2 on mainline, when S1 or S2 detects a train power is cut on branch-line.
The next diagram shows how the isolated section can be controlled with on/off switch and then replacing the on/off switch with a relay. Also a diagram with relay pin-outs shown.
What the electronic circuit does is allow the sensor to switch on/off the coil on the relay which in turn turns on/off power to the track
Below is the detailed circuit diagram.
What does it do?
With S1 or S2 = 0 (no train detected) Transistor T1 and T2 are on because current goes to base (b) of transistor and turns “on” the collector-emitter (c-e) circuit thus the relay coil gets 9v. The relay is wired to either side of isolated section on branch-line through the common (CM) and normally open (NO), which is an open circuit, but because the coil on the relay is active the relay switches and the CM-NO circuit closes so we have power to the isolated section.
So this is the normal operating state of the circuit, relay coil active and thus power to isolated section.
Now when a train passes over S1 or S2 (S1, S2 =1) the infrared light from the diode on the left of S1 (the triangle thingy) is reflected back to the right hand side and this activates the transistor circuit in the sensor to “on” so now current is diverted from the base of transistors T1, T2 to ground. This switches off the c-e circuit so no current passes thru the relay coil, which is now in its off state so the CM-NO circuit is now open and no current flows to isolated section.
I have a video of a test track for the circuit over on Celbridge thread on layout forum.
There are some problems with this in practice, the photo-sensor doesn’t work so well on the black undercarriage of our models…so I had to paint them white.
The sensor is only active when it detects something over it, so one needs a long train to ensure that one or both sensors is covered as a train is going thru the crossing.
Also what happens if branch-line loco is already on the crossing as a mainline loco triggers the sensor.Power is cut to branch-line so it stops in the middle of the crossing….crash…bang…oops !!!!!
This is really just the start of trying to design something more comprehensive, it will work fine if the timings of branch and mainline are lagged correctly and you keep an eye on things.
I’m not going to install it on the layout just yet I want to think things thru a bit more.
Am I going to need more sensors on branch-line, could a latching circuit be better.
Would reed switches be better…etc. etc?
Do I go the whole hog and use an Arduino microprocessor…..why didn’t I go DCC in the first place….?????....i know, I know.
Question
Paddy Mac Namara
This item didn't appear to rouse much interest over on the layout forum (Celbridge), but may be of interest to those who prowl this forum.
Anyway please let me know what you think.
Here is a more detailed description of what’s involved.
In the diagram below of crossing, M is mainline B is branch-line. So what we want to do is allow the mainline have priority over branch-line and of course avoid collisions.
The branch-line is isolated between points x and y. There are sensors S1 and S2 on mainline, when S1 or S2 detects a train power is cut on branch-line.
The next diagram shows how the isolated section can be controlled with on/off switch and then replacing the on/off switch with a relay. Also a diagram with relay pin-outs shown.
What the electronic circuit does is allow the sensor to switch on/off the coil on the relay which in turn turns on/off power to the track
Below is the detailed circuit diagram.
What does it do?
With S1 or S2 = 0 (no train detected) Transistor T1 and T2 are on because current goes to base (b) of transistor and turns “on” the collector-emitter (c-e) circuit thus the relay coil gets 9v. The relay is wired to either side of isolated section on branch-line through the common (CM) and normally open (NO), which is an open circuit, but because the coil on the relay is active the relay switches and the CM-NO circuit closes so we have power to the isolated section.
So this is the normal operating state of the circuit, relay coil active and thus power to isolated section.
Now when a train passes over S1 or S2 (S1, S2 =1) the infrared light from the diode on the left of S1 (the triangle thingy) is reflected back to the right hand side and this activates the transistor circuit in the sensor to “on” so now current is diverted from the base of transistors T1, T2 to ground. This switches off the c-e circuit so no current passes thru the relay coil, which is now in its off state so the CM-NO circuit is now open and no current flows to isolated section.
I have a video of a test track for the circuit over on Celbridge thread on layout forum.
There are some problems with this in practice, the photo-sensor doesn’t work so well on the black undercarriage of our models…so I had to paint them white.
The sensor is only active when it detects something over it, so one needs a long train to ensure that one or both sensors is covered as a train is going thru the crossing.
Also what happens if branch-line loco is already on the crossing as a mainline loco triggers the sensor.Power is cut to branch-line so it stops in the middle of the crossing….crash…bang…oops !!!!!
This is really just the start of trying to design something more comprehensive, it will work fine if the timings of branch and mainline are lagged correctly and you keep an eye on things.
I’m not going to install it on the layout just yet I want to think things thru a bit more.
Am I going to need more sensors on branch-line, could a latching circuit be better.
Would reed switches be better…etc. etc?
Do I go the whole hog and use an Arduino microprocessor…..why didn’t I go DCC in the first place….?????....i know, I know.
25 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.