Author Topic: Simple Block Detection w/Signal  (Read 2141 times)

0 Members and 3 Guests are viewing this topic.

robertjohndavis

  • Crew
  • *
  • Posts: 64
  • Respect: +14
Simple Block Detection w/Signal
« on: October 20, 2020, 11:30:19 PM »
0
Hi - I am looking for a very simple DCC-compatible block detection system that can switch a lineside signal between red and green. Just one block.  No other tricks required. If something in the block draws current, the signal is red. Otherwise it is green.

I am sure there are 1000 ways to build such a beast, but I am looking for an off the shelf solution that I can hook up to the track and to a signal. Electronics aren’t my thing, so simple is better.

Anyone have a recco for a simple set up like this?

Thanks much!

Rob

tehachapifan

  • Crew
  • *
  • Posts: 3133
  • Respect: +870
Re: Simple Block Detection w/Signal
« Reply #1 on: October 21, 2020, 12:21:52 AM »
0
Are you locked into the current detection idea? The reason I ask is there are really simple photo cell based options available as well.

robertjohndavis

  • Crew
  • *
  • Posts: 64
  • Respect: +14
Re: Simple Block Detection w/Signal
« Reply #2 on: October 21, 2020, 08:14:45 AM »
0
Good question. I am open to anything that provides true detection. What I want to avoid is an IR solution that triggers a times response from the signal. I need the signal to accurately reflect occupancy at all times- Rob

Rasputen

  • Crew
  • *
  • Posts: 522
  • Respect: +298
Re: Simple Block Detection w/Signal
« Reply #3 on: October 21, 2020, 10:15:00 AM »
0
One solution would be to find an older Digitrax BD1 single block detector or a BD4.  These can be used as a stand-alone device as long as they are grounded to the booster.  The only problem I see is that the output can turn an LED on and off, not switch between two different colors. Note that some people have reported problems with compatibility between high frequency BEMF decoders and BD1s/BD4s. 

ednadolski

  • Crew
  • *
  • Posts: 4794
  • Respect: +1741
Re: Simple Block Detection w/Signal
« Reply #4 on: October 21, 2020, 10:24:18 AM »
0
If something in the block draws current, the signal is red. Otherwise it is green.

If 'something' in this context includes freight cars, remember then you'll have to install resistor wheelsets on whatever cars you want it to be able to detect in the block.

Ed

C855B

  • Crew
  • *
  • Posts: 10854
  • Respect: +2409
Re: Simple Block Detection w/Signal
« Reply #5 on: October 21, 2020, 10:36:37 AM »
0
Good question. I am open to anything that provides true detection. What I want to avoid is an IR solution that triggers a times response from the signal. I need the signal to accurately reflect occupancy at all times- Rob

There are a few off-the-shelf detectors - a/k/a "Chubb Detectors" - designed for DCC that will yield a +5V voltage on occupancy, 0V on not occupied. It would be up to you to put a low-current relay on it to switch between red and green.

The detector I use: http://www.modelrailroadcontrolsystems.com/cpod-control-point-occupancy-detector/
A suitable relay: https://www.ebay.com/itm/1-Channel-DC-5V-Relay-Switch-Board-Module-for-Arduino-Raspberry-Pi-PIC-ARM/221959450343

Don't forget Ed's comment about resistor wheelsets, otherwise it will detect only locos and lighted passenger cars.
« Last Edit: October 21, 2020, 10:45:32 AM by C855B »
...mike

http://www.gibboncozadandwestern.com

Note: Images linked in my postings are on an HTTP server, not HTTPS. Enable "mixed content" in your browser to view.

There are over 1000 images on this server. Not changing anytime soon.

robertjohndavis

  • Crew
  • *
  • Posts: 64
  • Respect: +14
Re: Simple Block Detection w/Signal
« Reply #6 on: October 21, 2020, 01:21:33 PM »
0
If 'something' in this context includes freight cars, remember then you'll have to install resistor wheelsets on whatever cars you want it to be able to detect in the block.

Ed

I am prepared to take the resistor wheelset step, but I appreciate the reminder Ed. It’s all for naught if there’s no current draw.

robertjohndavis

  • Crew
  • *
  • Posts: 64
  • Respect: +14
Re: Simple Block Detection w/Signal
« Reply #7 on: October 21, 2020, 01:22:15 PM »
0
There are a few off-the-shelf detectors - a/k/a "Chubb Detectors" - designed for DCC that will yield a +5V voltage on occupancy, 0V on not occupied. It would be up to you to put a low-current relay on it to switch between red and green.

The detector I use: http://www.modelrailroadcontrolsystems.com/cpod-control-point-occupancy-detector/
A suitable relay: https://www.ebay.com/itm/1-Channel-DC-5V-Relay-Switch-Board-Module-for-Arduino-Raspberry-Pi-PIC-ARM/221959450343

Don't forget Ed's comment about resistor wheelsets, otherwise it will detect only locos and lighted passenger cars.

Thank you, Mike. Will check out those options.

porkypine52

  • Crew
  • *
  • Posts: 60
  • Respect: +6
Re: Simple Block Detection w/Signal
« Reply #8 on: October 21, 2020, 02:39:55 PM »
0
I'm going to use a simple light sensing switch for some hidden track in a off layout storage yard.  You have a small light source over a light sensitive switch.  The switch can go ON or OFF, depending on type. when the light hits it.  Engine or rolling stock will block light source.  Turn off or on a light on the control panel.  Very simple, no need to have to change car axles.  Check[Google] around for some Model Railroad Electrical Websites. There are some good ones out there.  Just depends on technical or fancy you want to go. 

    DIESELS ?!?!?! We Don't Need NO Stinkin' DIESELS!!!

    THE INDIANA RAILWAY--100% STEAM POWERED in 2020

    MARK


    Suppose you were an idiot. And suppose you were a member of Congress. But I repeat myself.
    - Mark Twain, 
« Last Edit: October 21, 2020, 02:42:21 PM by porkypine52 »
DIESELS!?!?!?!  We don't need no STINKIN' DIESELS!!!
The INDIANA RAILWAY.  100% Steam Powered in 2022

MARK          Proud NMRA Member

If I studied all my life, I couldn't think up half the number of funny things passed in one session of congress.

Will Rogers

John

  • Administrator
  • Crew
  • *****
  • Posts: 13366
  • Respect: +3230
Re: Simple Block Detection w/Signal
« Reply #9 on: October 21, 2020, 02:41:56 PM »
0

ednadolski

  • Crew
  • *
  • Posts: 4794
  • Respect: +1741
Re: Simple Block Detection w/Signal
« Reply #10 on: October 21, 2020, 04:00:19 PM »
0
If you want to build it

http://www.circuitous.ca/DccBODvt5.html

If building is an option, you can make something simpler from a few discrete components like this:

Basic circuit:
http://www.trainelectronics.com/DCC_Arduino/Current_Sense/images_current_sense/schematic.gif

With four detectors on one board:


Circuits in operation:

Thread:
https://www.therailwire.net/forum/index.php?topic=37285.msg482465#msg482465

robertjohndavis

  • Crew
  • *
  • Posts: 64
  • Respect: +14
Re: Simple Block Detection w/Signal
« Reply #11 on: October 21, 2020, 04:56:17 PM »
0
I'm going to use a simple light sensing switch for some hidden track in a off layout storage yard.  You have a small light source over a light sensitive switch.  The switch can go ON or OFF, depending on type. when the light hits it.  Engine or rolling stock will block light source.  Turn off or on a light on the control panel.  Very simple, no need to have to change car axles.  Check[Google] around for some Model Railroad Electrical Websites. There are some good ones out there.  Just depends on technical or fancy you want to go. 

The reason I am shying away from (not not totally discounting) a light-source solution is a) if the train is in the block but not covering the sensor, the signal shows clear and b) to fix that with two sensors (in/out one at each end of the block) seems like more work than simple occupancy detection.

Rob

robertjohndavis

  • Crew
  • *
  • Posts: 64
  • Respect: +14
Re: Simple Block Detection w/Signal
« Reply #12 on: October 21, 2020, 04:58:05 PM »
0
If building is an option, you can make something simpler from a few discrete components like this:

Basic circuit:
http://www.trainelectronics.com/DCC_Arduino/Current_Sense/images_current_sense/schematic.gif

With four detectors on one board:


Circuits in operation:

Thread:
https://www.therailwire.net/forum/index.php?topic=37285.msg482465#msg482465


That's slick and with a defect detector! Cool!

John

  • Administrator
  • Crew
  • *****
  • Posts: 13366
  • Respect: +3230
Re: Simple Block Detection w/Signal
« Reply #13 on: October 21, 2020, 06:48:32 PM »
0
If building is an option, you can make something simpler from a few discrete components like this:

Basic circuit:
http://www.trainelectronics.com/DCC_Arduino/Current_Sense/images_current_sense/schematic.gif

With four detectors on one board:


Circuits in operation:

Thread:
https://www.therailwire.net/forum/index.php?topic=37285.msg482465#msg482465


Thats cool ... but the OP just wanted to detect a train and light a LED if the track is occupied ..  The arduino adds extra complexity ..

Having said that . I have an application for this setup ;)

ednadolski

  • Crew
  • *
  • Posts: 4794
  • Respect: +1741
Re: Simple Block Detection w/Signal
« Reply #14 on: October 21, 2020, 08:08:12 PM »
0
The arduino adds extra complexity ..

The arduino drives the bar graph LEDs and plays the audio prompt.   The transistor/detector circuit can be used without any of that, but actually I found it easier and more flexible than trying to build some other kind of dedicated/discrete logic.

Ed
« Last Edit: October 21, 2020, 08:09:43 PM by ednadolski »