Author Topic: Simple DCC Detection Switch Position Sensing  (Read 2357 times)

0 Members and 1 Guest are viewing this topic.

davefoxx

  • Crew
  • *
  • Posts: 11675
  • Gender: Male
  • TRW Plaid Member
  • Respect: +6801
Re: Simple DCC Detection Switch Position Sensing
« Reply #15 on: October 04, 2021, 11:49:49 AM »
0
The light is lit when the switch is open.

If I understand what you mean by this statement, shouldn't you consider the light being lit only when the switch is in the "normal" position, as a failsafe?  In other words, if the bulb burns out, it would then be assumed that the switch is thrown and trains would not barrel into a turnout thrown the wrong way.  In your example, a burned out bulb indicates that the switch is aligned for the main route.  Did I get this right?

DFF

Member: ACL/SAL Historical Society
Member: Wilmington & Western RR
A Proud HOer
BUY ALL THE TRAINS!

Ed Kapuscinski

  • Global Moderator
  • Crew
  • *
  • Posts: 24733
  • Head Kino
  • Respect: +9246
    • Conrail 1285
Re: Simple DCC Detection Switch Position Sensing
« Reply #16 on: October 04, 2021, 12:57:21 PM »
0
If I understand what you mean by this statement, shouldn't you consider the light being lit only when the switch is in the "normal" position, as a failsafe?  In other words, if the bulb burns out, it would then be assumed that the switch is thrown and trains would not barrel into a turnout thrown the wrong way.  In your example, a burned out bulb indicates that the switch is aligned for the main route.  Did I get this right?

DFF

You've got it somewhat backwards.

The goal is to indicate to the crew on the ground that the system will not allow the DS to clear things up before they leave the location. Aside from the light (and without eating up its own detection block), there's no practical way for anyone to know what the situation on the ground is because the equipment in the block will also be shunting the circuit and indicating that the block is occupied. The light is a reminder to lock things up before you depart. The signals at the end of the block are what prevents a train from barreling through an open switch. They won't display anything other than a "stop" if the switch is open or the box unlocked. Of course, they'll also be displaying a "stop" indication if there's equipment in the block (which will almost always be the case when the crew is in the area).

If I were designing a true safety critical implementation, I'd have a green LED that was lit when things would report "clear", but that's what the signal system is for. The light is more about "hey dummy, don't forget about me" than anything else.

Ed Kapuscinski

  • Global Moderator
  • Crew
  • *
  • Posts: 24733
  • Head Kino
  • Respect: +9246
    • Conrail 1285
Re: Simple DCC Detection Switch Position Sensing
« Reply #17 on: November 10, 2023, 01:35:00 PM »
+2
So it's been a while since I talked about this, but... I've made progress on making these things "production ready".

I was afraid I was going to blow something up with my switch position circuitry, then I realized I could prototype it in TinkerCAD!

The goal of the whole thing is to enable my switch lock boxes to communicate back to the CTC panel when a switch box is either unlocked or the switch is reversed via putting a load on the track circuit with the light bulbs. The orange light indicates the box is open, the red that the switch is not lined "normal". These lights serve the dual purpose of adding a load to the track and letting crews know they need to line and lock stuff before departing.



This is the general schematic showing the actual components: https://docs.google.com/drawings/d/1GcXuwCP1jxhVdOc8T5hzJ_VoqUIPefcsTSjhNUnZKI0/edit?usp=sharing

And here it is mocked up in TinkerCAD. I had to fake some stuff because their component list sucks, but it gets the point across.
https://www.tinkercad.com/things/9uheUyR2fKK-switch-position-sensor

I think the TinkerCAD simulation stuff is really handy and other folks might not know about it.

Ed Kapuscinski

  • Global Moderator
  • Crew
  • *
  • Posts: 24733
  • Head Kino
  • Respect: +9246
    • Conrail 1285
Re: Simple DCC Detection Switch Position Sensing
« Reply #18 on: January 19, 2024, 10:06:30 AM »
+2
I have completed my first "production" install.

/>
There were some hiccups during the install (which black wire goes where is annoying), and I had to add a block for the microswitch to engage, but otherwise, it works great!