Road/Rail crossings

Discussion in 'Other Electronic Interfaces' started by Sol, Dec 23, 2024.

  1. Sol

    Sol Full Member

    Messages:
    674
    Likes Received:
    197
    Joined:
    Mar 13, 2016
    I have this small problem with such crossings & attempting to have flashing lights that get activated by the approaching train some distance before the crossing and then switch off almost as soon as the last wagon/coach has passed the crossing.
    No problems with double track working meaning travel is in one direction BUT bi-directional track is the problems.
    I have contacted BlockSignalingUK & yes they have detectors as does Heathcote Electonics in the UK but it appears that the approach & depart sections either side of the crossing are the same length & that is not what happens in real life on bi-directional single track working.
    Some detectors can be set to stop after a certain time but then if set to allow long trains, then single car DMUs; have probably got to the next station before the detector times out...

    So any of Platform 1 modellers running on single track working having crossings with flashing red lights for road vehicles to stop ,have an answer Please?

    Ron
     
  2. gormo

    gormo Staff Member Administrator

    Messages:
    6,345
    Likes Received:
    4,880
    Joined:
    Dec 5, 2015
    Sounds to me Sol,
    Like you need a relay integrated into the circuit to operate 4 sensors........2 sensors ON/OFF one direction and 2 sensors ON/OFF the other direction.
    An automatic shuttle circuit would do the job possibly ?, but instead of running a train back and forward, it could be switching the sensor circuits instead.
    I am no electronics wizard, but that`s just what came to mind.........someone else with more knowledge may be able to build on that.
    :tophat:Gormo
     
    Andy_Sollis likes this.
  3. Jim Freight

    Jim Freight Full Member

    Messages:
    1,527
    Likes Received:
    1,297
    Joined:
    Sep 9, 2019
    Hi Sol, I like this sort of puzzle, here is a possible solution, I welcome analysis of whether this would work or not from another set of eyes.

    Intended that operation is:

    Bi-directional on a single track
    Independent of train length
    Time before train approaching the crossing is long for lights/barriers to be on/lowered
    Time after train leaving a crossing is short before lights/barriers to be off/lifted​

    Diagram of detectors :-

    Railroad Crossing Diagram.jpg

    The logic :-

    Railroad Crossiing Logic.jpg

    * Timeouts required so a detector can differentiate between gaps between locos/wagons/coaches and the end of the train.

    How it is implemented depends on your skillset, probably easier with a single board micro, but would also possible with hard logic or relays.

    Jim :)
     
    Last edited: Dec 23, 2024
  4. Sol

    Sol Full Member

    Messages:
    674
    Likes Received:
    197
    Joined:
    Mar 13, 2016
    Thanks gents - I thought it would be "simple"
    to make matters more costly, I have two bi-directional tracks that have the same road/rail crossing.
     
    Jim Freight likes this.
  5. Jim Freight

    Jim Freight Full Member

    Messages:
    1,527
    Likes Received:
    1,297
    Joined:
    Sep 9, 2019
    Hi Sol, if both of those lines are bidirectional then a single board micro is definitely required to keep the barriers and lights synchronised with the two lines, certainly increases the complexity of the logic such that a software solution would be the best way forward.

    Jim :)
     
    gormo likes this.
  6. Sol

    Sol Full Member

    Messages:
    674
    Likes Received:
    197
    Joined:
    Mar 13, 2016
    I have just emailed Heathcote with this:-

    Clive, looked at your website for info on how many irdots & controllers just for flashing Red lights at a road/rail crossing.

    I have one particular station like this - all single track working on my layout except passing loops at stations

    the road crossing is the grey part & the double line is another track completely independent of that station so lights would be required to activate whenever a train arrives from the left on either loop or the lower drawn track & of course from the right to left on both tracks. One train could be sitting in the loop from the left & at the same time on the other track, another train passing right to left.

    Yes I am aware of using a switch to activate the lights but need automation because of the physical build of the layout and where operators sit in relation to each station and who is driving trains.
     
  7. Jim Freight

    Jim Freight Full Member

    Messages:
    1,527
    Likes Received:
    1,297
    Joined:
    Sep 9, 2019
    Ouch, that is even more complex with the loop at the station feeding the single track crossing, I think you need a dedicated signalman operator!

    Jim :)
     
  8. Sol

    Sol Full Member

    Messages:
    674
    Likes Received:
    197
    Joined:
    Mar 13, 2016
    That is what I try to tell a couple of my crew - it keeps someone employed on the D&S Railway being the gatekeeper/ boom person !
     
  9. Gary

    Gary Wants more time for modelling.... Staff Member Administrator

    Messages:
    7,643
    Likes Received:
    4,324
    Joined:
    Dec 5, 2015
    gormo likes this.
  10. Sol

    Sol Full Member

    Messages:
    674
    Likes Received:
    197
    Joined:
    Mar 13, 2016
    Thanks Gary - will look into them
     
  11. dorsay

    dorsay Full Member

    Messages:
    16
    Likes Received:
    15
    Joined:
    May 3, 2024
    Sol,

    How about this? It's just one example of using an Arduino.



    David
     
  12. Sol

    Sol Full Member

    Messages:
    674
    Likes Received:
    197
    Joined:
    Mar 13, 2016
    OK I had look at the above post by David - not ideal I think but the link Gary provided https://www.logicrailtech.com/gcp.htm
    does what I prefer in that flashing lights are switched off just after the last car/wagon passes them as it does in the real world. BUT I think I need to win Xlotto to pay for so many sensors needed for the track plan I showed on post #6.
     
  13. Sol

    Sol Full Member

    Messages:
    674
    Likes Received:
    197
    Joined:
    Mar 13, 2016
    ignore that attached file - dunno how it got there !

    I managed to delete it
     
  14. Jim Freight

    Jim Freight Full Member

    Messages:
    1,527
    Likes Received:
    1,297
    Joined:
    Sep 9, 2019
    Me too, when I looked at using RFID for wagon tracking :faint:

    Jim :)
     
  15. dorsay

    dorsay Full Member

    Messages:
    16
    Likes Received:
    15
    Joined:
    May 3, 2024
    Jim

    I was asking you how do you do that quote style that you use but when I "replied" to your post, I saw that it the forum software does that automatically. :thumbs:

    David
     
  16. dorsay

    dorsay Full Member

    Messages:
    16
    Likes Received:
    15
    Joined:
    May 3, 2024
  17. Jim Freight

    Jim Freight Full Member

    Messages:
    1,527
    Likes Received:
    1,297
    Joined:
    Sep 9, 2019
    Hi David, yes, by default the forum software selects the whole message you are replying to, if you want to select a phrase or word out of the message you are replying to just highlight those word(s) by left clicking on the start of the word or phrase and drag the mouse along the word(s), when you release the left mouse button a 'reply' prompt appears. Click on that.

    Jim :)
     
  18. Sol

    Sol Full Member

    Messages:
    674
    Likes Received:
    197
    Joined:
    Mar 13, 2016
    I have had some interesting discussions with two manufactures of detection systems, each costing well over $200 odd for some "real" action
    Logic Rail technologies of USA photocells or IR
    and Hand Made accessories from Tasmania with reed switches & magnets
    and neither will work the way I want or the way trains are used so I am thinking of a completely different outcome by not having a road/rail crossing but a bridge - a lot cheaper & creates a new scenic look.
    So to sleep on this .
     
  19. Jim Freight

    Jim Freight Full Member

    Messages:
    1,527
    Likes Received:
    1,297
    Joined:
    Sep 9, 2019
    You don't fancy getting an Arduino or similar and applying some DiY then :scratchchin:

    Jim :)
     
  20. Sol

    Sol Full Member

    Messages:
    674
    Likes Received:
    197
    Joined:
    Mar 13, 2016
    No Jim, I do know my level of competence or should I say , incompetence ? :avatar:
     

Share This Page