SlavaK815
Member
Hello fellow model railroaders,
It took me lots of time to build bench work/roadbed/track/wiring so in the mean time I was thinking about how to make signals work on my future railroad. Eventually I’ve decided to build my own circuit board that will take various sensors inputs and provide outputs for LED signals. It is a good exercise and at the end I should have inexpensive solution for what I need.
Here is what I have in mind so far –
1. Board will support 12 sensors inputs. Each sensor input can connected be one of this kind physical sensors–
3. Board will provide 10 logical outputs. With Simple programmable logic device ATF22LV10CQZ each out of 10 outputs will be a logical function of 12 inputs. Each board will have its own programmed logical function to convert sensors input to signal output.
4. In addition to 10 output’s – first 8 outputs will also have extra 8 inverted outputs.
5. Board will also have 10 extra always ON outputs for LEDs
The board will be 6x4 inches and will be installed in areas with multiple switched where signaling in desired. Some usage examples would be –
1. 10 outputs can drive 5 of 2xLED signals with full 4 states (green; red; green+red; all off) based on 12 sensors input. Station enter/exit would be example of that usage.
2. 10 outputs and 8 inverts can drive 8 2xLED signals with 2 states (read or green) plus one 4 state signal. Yards would be example of that usage.
3. Outputs can be connected to 3xLED signals if desired and same physical sensor can be connected to two inputs to provide two different ON->OFF delays to implement yellow.
I am still in the process of designing PCB for this and hope to order boards in few weeks.
Any feedback? Would you suggest some other features?
Thanks for reading.
Slava
It took me lots of time to build bench work/roadbed/track/wiring so in the mean time I was thinking about how to make signals work on my future railroad. Eventually I’ve decided to build my own circuit board that will take various sensors inputs and provide outputs for LED signals. It is a good exercise and at the end I should have inexpensive solution for what I need.
Here is what I have in mind so far –
1. Board will support 12 sensors inputs. Each sensor input can connected be one of this kind physical sensors–
a. Photo reflective sensor based on OPB733TR (to sense when train leaves of travels to/on main) that will be installed under track
b. Current Detection sensor to work with NCE BD20 (to sense when station/yard track is occupied)
c. Track voltage sensor connected to turnout frog to sense turnout position
2. Each sensor will have 0.3 seconds OFF->ON delay to avoid false positive and 0.5..60 ON->OFF seconds delay (adjustable per sensor input with Potentiometer) to extend sensor’s ON state.b. Current Detection sensor to work with NCE BD20 (to sense when station/yard track is occupied)
c. Track voltage sensor connected to turnout frog to sense turnout position
3. Board will provide 10 logical outputs. With Simple programmable logic device ATF22LV10CQZ each out of 10 outputs will be a logical function of 12 inputs. Each board will have its own programmed logical function to convert sensors input to signal output.
4. In addition to 10 output’s – first 8 outputs will also have extra 8 inverted outputs.
5. Board will also have 10 extra always ON outputs for LEDs
The board will be 6x4 inches and will be installed in areas with multiple switched where signaling in desired. Some usage examples would be –
1. 10 outputs can drive 5 of 2xLED signals with full 4 states (green; red; green+red; all off) based on 12 sensors input. Station enter/exit would be example of that usage.
2. 10 outputs and 8 inverts can drive 8 2xLED signals with 2 states (read or green) plus one 4 state signal. Yards would be example of that usage.
3. Outputs can be connected to 3xLED signals if desired and same physical sensor can be connected to two inputs to provide two different ON->OFF delays to implement yellow.
I am still in the process of designing PCB for this and hope to order boards in few weeks.
Any feedback? Would you suggest some other features?
Thanks for reading.
Slava