View
2
Download
0
Category
Preview:
Citation preview
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 1
Signals by Spreadsheet
Dr. Gerry AlbersNMRA Life Member
Cincinnati Div. 7, MCR
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 2
Clinic Checklist
• You have a computer– PC running Windows 2000 or later (including Windows 8)
– MAC running Windows emulator (e.g., Virtual Machine)
• You can play Solitaire on your computer
• You can make entries in a spreadsheet
• You like FREE software
• You can make an electrical connection to your DCC track bus
• You can make a Cab Bus (or LocoNet®) connection
Yes! …. If:
SBS is a Completely Integrated Signal System
(Can I create a signal system?)
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 3
PowerDIO
DistributedInput/Output
TData
Throttle
SBS Hardware Configuration - General
TData
TData
Detectors
TurnoutPositions
Signals
Tra
ck B
us
Cab
Bu
s/L
oco
Net
DCC
Command
Station
DIO/D29 Features:• 29 Input or Output Terminals per DIO card• User Determines Direction of Each Terminal• Up to 128 DIO cards (3,712 I/O terminals)• Powered by Track Bus• Can drive signals directly (thru resistors) • Can power occupancy detectors and other
accessories (including Tortoise machines) Acc
DecPower &
CommandsData
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 4
PowerDIO
DistributedInput/Output
TData
Throttle
SBS Hardware Configuration - Digitrax
TData
TData
Detectors
TurnoutPositions
Signals
Tra
ck B
us
Lo
co
Net
DCC
Command
Station
DIO/D29 Features:• 29 Input or Output Terminals per DIO card• User Determines Direction of Each Terminal• Up to 128 DIO cards (3,712 I/O terminals)• Powered by Track Bus• Can drive signals directly (thru resistors) • Can power occupancy detectors and other
accessories (including Tortoise machines)
SBS
PC or MAC
Windows 2000 or Later
LocoBuffer
USB
USB
Acc
DecPower &
CommandsData
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 5
PowerDIO
DistributedInput/Output
TData
Throttle
SBS Hardware Configuration - Others
TData
TData
Data Bus
Interface
Detectors
TurnoutPositions
Signals
Tra
ck B
us
Cab
Bu
s
DCC
Command
Station
DIO/D29 Features:• 29 Input or Output Terminals per DIO card• User Determines Direction of Each Terminal• Up to 128 DIO cards (3,712 I/O terminals)• Powered by Track Bus• Can drive signals directly (thru resistors) • Can power occupancy detectors and other
accessories (including Tortoise machines)
SBS
PC or MAC
Windows 2000 or Later
SB
S D
ata
Bu
s
LocoBuffer
USB
SBS Data BusUSB
SBS Data Bus
Acc
DecPower &
CommandsData
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 6
DIO Board Features
PIC 16F871/40P
DCC
+12V
+5V
Gnd
A0
A1
A2
A3
A4
A5
E0
Gnd
Gnd
C0
C1
C2
C3
C4
C5
C6
C7
Gn
d
D0
D1
D2
D3
D4
D5
D6
D7
Gn
d
B0
B1
B2
B3
B4
B5
B6
B7
Gn
d
JP1
1 2 3
T1T2
T3
T4 T5 T6
LED1
DCC Track Bus
• Power
• DCC Signal
Accessory Power• +12 to 15 V DC, unregulated.
Use for Tortoise driver, etc.• +5VDC, regulated.
Use for occupancy detectors,signals, LED indicators, etc.
29 Input or Output Terminals
(C6 and C7 are reserved)
Reset Button
Address Configuration Jumper (Stowed)
Mounting holes
for #4 screws
Signal/Command Bus Interface (DIO Only)
• Send/Receive Data To/From Computer
• “Daisy-Chain” Connectors
Vin1Vin2
LED
• Green = OK (Receiving Power and DCC Signal)
• Red = Address Configuration Mode, Error or No DCC Signal (Try Reset Button)
• Red Flash = Address or CV Value Accepted (User Configuration Mode Only)
• Off = No Power
Configure Board Address
Address Configuration Jumper (Stowed)
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 7
SBS Software on PC (or MAC)
The SBS System Architecture
TData
TData
TData
Ca
b B
us
or L
oc
oN
et (o
r sta
nd
alo
ne
)Detectors
Signals
DIO
Terminal Definitions
& Names Spreadsheets
Signal
Signal State
Spreadsheets
Tra
ck
Bu
s
Data PowerDIO
DistributedInput/Output
Command
Station
LocoBufferUSB
12
Compile
4
Run
5
TurnoutPositions
Build
3
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 8
SBS “Edit DIO Card” FunctionDIO Spreadsheet
• Enter Terminal Direction: “I” (Input) or “O” (Output)
• Enter your name for Terminal (See “Acceptable Names” List or use “Help”)
• Enter Wire Color (optional, for your documentation)
• Enter Comment (optional, for your documentation)
Control Panel
• Select previously saved DIO card or …
• Select “New” *
• Make Spreadsheet Entries (See Above)
• DO NOT make entries In “Do Not
Use” terminal cells
• “Save” spreadsheet
• “Configure” DIO Card
• Writes Address Into Card If
“Configuration Jumper” is in 1-2
Position
• Configures Terminal Directions In
Card
• “Print” Spreadsheet for your
documentation
• Use “Help” as needed
• “Exit” – Warnings will pop up if
changes were made and not “Saved”
or not “Configured”.
Active Hi/Lo Switches
• Defines Terminal as “Active Hi” or “Active Lo”
Reserved For SBS Use.
Demo
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 9
Example: Automatic Block Signal
Inputs Outputs
B23
B24
S2WG
S2WY
S2WR
B23 B24 S2WG S2WY S2WR
NO = Not Occupied
O = Occupied
ON = On
OFF = Off
Blank = “Don’t Care”
ON OFF OFFNO NO
OFF ON OFFNO O
OFF OFF ONO
“Don’t Care”
IF B23 is not occupied AND…
B24 is not occupied, THEN …
S2WGON, S2WYOFF, etc.
B23B24
S2W
Your Rules for S2W (It’s your railroad):
• Green: both blocks ahead (B23 and B24) not occupied (Proceed)
• Yellow: block ahead (B23) not occupied, second block (B24) occupied (Slow ready to stop)
• Red: block ahead B(23) occupied (Stop)
Default = “Off”
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 10
S2W Spreadsheet
Demo
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 11
Example: Automatic Block Signal (Approach Lit)
Inputs Outputs
B22
B23
B24
S2WG
S2WY
S2WR
NO = Not Occupied
O = Occupied
ON = On
OFF = Off
Blank = “Don’t Care”
B22 B23 B24 S2WG S2WY S2WR
ON OFF OFFO NO NO
OFF ON OFFO NO O
OFF OFF ONO O
NO OFF OFF OFF
B23B24
S2W
B22
Our New Rules for S2W:
• Green: B22 occupied & both blocks ahead (B23 and B24) not occupied (Proceed)
• Yellow: B22 occupied & block ahead (B23) not occupied, second block (B24) occupied (Slow ready to stop)
• Red: B22 occupied & block ahead (B23) occupied (Stop)
• Dark: signal’s block (B22) not occupied
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 12
S2W (Approach Lit) Spreadsheet
Demo
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 13
Build Run
SBS Software on PC
Compile
The SBS System Architecture
TData
TData
TData
CodeButton Ca
b B
us
or L
oc
oN
et
Detectors
Signals
DIO
Terminal Definitions& Names Spreadsheets
Signal
Signal StateSpreadsheets
Repeater
Interface
Data PowerDIO
DistributedInput/Output
DIODIODIODIOData
Dispatch Panel
LightsSwitchesCode Buttons
From Track Bus or AC/DC Supply
2 Wires
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 14
Build Run
SBS Software on PC
Compile
The SBS System Architecture
TData
TData
TData
CodeButton Ca
b B
us
or L
oc
oN
et
Detectors
Signals
DIO
Terminal Definitions& Names Spreadsheets
Signal
Signal StateSpreadsheets
Repeater
Interface
Data PowerDIO
DistributedInput/Output
DIODIODIODIOData
Dispatch Panel
LightsSwitchesCode Buttons
From Track Bus or AC/DC Supply
2 Wires
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 15
Examples
SBS Input Configurations
Current Detector
DIO +5V (Optional*)DIO TerminalDIO GND
* Team Digital DBD2 or eq.
Dete
cto
r
Track Bus, Rail A
Track Bus, Rail B
Switch Position Indication
Contacts on Tortoise
DIO GND
DIO Terminal
TortoiseN R
DIO Input Terminal Limitations:
Maximum input voltages, current:
• High: +5 VDC, 20 ma.
• Low: 0 VDC, 25 ma.
All terminals have a 10K pull-up to +5V.GND
Terminal
Input Configuration: Active Low (Pull-Down)
10k
Mic
rop
roce
sso
r
DIO Board
+5VDC
Switch
Contact
PhotodiodeTransistor/
Detector Out
Example Inputs
+12VDC
+_
Optical Detector
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 16
SBS Output ConfigurationsOutput Configuration:
Active Low (ON = Pull-Down)
GND
Terminal
10k
Mic
rop
roce
sso
r
DIO Board
+5VDC
+12VDC
LED
270Ohms
Output Configuration:
Active High (ON = Push-Up)
GND
Terminal
10k
Mic
rop
roce
sso
r
DIO Board
+5VDC
+12VDC
LED
270Ohms
GPDIO Output Terminal Limitations:
Max output sink (low) current: 25 ma.
Max output source (high) current*: 20ma
All terminals have a 100K pull-up to +5V.*Terminal A4 is not push-pull and cannot source current.
Examples
270 Ohms*
DIO TerminalDIO TerminalDIO Terminal
DIO +5Vor FL2†
Signal - Common AnodeActive Low Configuration
* To color balance signal LED’s, use individual LED resistors with different values.
270 Ohms*
DIO TerminalDIO TerminalDIO Terminal
DIO GNDor FL2†
Signal - Common CathodeActive High Configuration
†FL2 – dual
flasher unit
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 17
APB/ABS Cost - Example
B0 B1 B3 B4 B5
B6
B7 B8
B10
B9 B11
B2
T0 T1 T2 T3 T4 T5
• 3 Sidings
• 2 Blocks Between Sidings
• 12 Blocks (B0 – B11)
• 6 Control Points (OS) – Optical Detectors
• 6 Turnout Positions (T0 – T5)
• 6 Double Head Signals (5 LED’s)
• 6 Single Head Signals, Sidings (2 LED’s)
• 6 Single Head Signals, Mainline (3 LED’s)
Inputs:
• Blocks 12
• Control Points 6
• Turnout Pos. 6
Outputs
• Signal LEDs (6 x 10) 60
Total I/O Bits 84
Signals By Spreadsheet Equipment Req.
• 1 LocoBuffer Interface $70
• 3 DIO/D29 Cards @ $80 ea. $240
• 6 DBD221 Detectors @ $22 ea. $132
• 6 Photosensors @ $1 $6
Total Cost2 $448
Note:
1. DBD22 has two detectors per board
2. DIOs Are Powered By Track Bus = No Power Supply Needed
DIOs Power Detectors, Turnouts, Signals = No Power Supply Needed
Cab Bus Used To Communicate = No Additional Cabling
Programmed Using FREE Spreadsheet Software
This example illustrates the cost of signal system equipment only. It does not include the cost of
computer, signals, switch machines (Tortoise),
Tortoise drivers, accessory decoders, etc.
Typical Headblock (Control Point) – 10 LED’s, 6 Places
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 18
PowerDIO
DistributedInput/Output
TData
Throttle
SBS Hardware Configuration - Digitrax
TData
TData
Detectors
TurnoutPositions
Signals
Tra
ck B
us
Lo
co
Net
DCC
Command
Station
RCS (Route Control System):• 8 Accessory Decoders• Up To 16 Routes• Local or Remote (CTC) Control• Powered by Track Bus• Can Power Tortoises (Need TD8 Driver)
RCSPower +Comm
Local
Panel
TD8
8 Turnouts
DIO/D29 Features:• 29 Input or Output Terminals per DIO card• User Determines Direction of Each Terminal• Up to 128 DIO cards (3,712 I/O terminals)• Powered by Track Bus• Can drive signals directly (thru resistors) • Can power occupancy detectors and other
accessories (including Tortoise machines)
SBS
PC or MAC
Windows 2000 or Later
LocoBuffer
USB
USB
Acc
Dec
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 19
PowerDIO
DistributedInput/Output
TData
Throttle
SBS Hardware Configuration - Other
TData
TData
Data Bus
Interface
Detectors
TurnoutPositions
Signals
Tra
ck B
us
Cab
Bu
s
DCC
Command
Station
DCC
Interface*
USB
• Needed To Operate Accessory Decoders
(i.e., Turnout Control)
• Lenz: LI-USB
NCE: RS232 or NCE USB Interface
RCS (Route Control System):• 8 Accessory Decoders• Up To 16 Routes• Local or Remote (SBS/Throttle) Control• Powered by Track Bus• Can Power Tortoises (Need TD8 Driver)
RCSPower +Comm
Local
Panel
TD8
8 Turnouts
DIO/D29 Features:• 29 Input or Output Terminals per DIO card• User Determines Direction of Each Terminal• Up to 128 DIO cards (3,712 I/O terminals)• Powered by Track Bus• Can drive signals directly (thru resistors) • Can power occupancy detectors and other
accessories (including Tortoise machines)
SBS
PC or MAC
Windows 2000 or Later
SB
S D
ata
Bu
s
LocoBuffer
USB
SBS Data BusUSB
SBS Data Bus
Acc
Dec
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 20
Local Panel
Pushbutton Inputs(Up To 16)
RCS (Route Control System)
• Up to 8 independent switches (more with cascaded RCS’s)• Up to 16 independent local routes (more with cascaded RCS’s)• Any or all switch machines may be locked (usually by the dispatcher)
RCS
DCC Track (Accessory*) Bus
Power +
DCC Signal
DCC Command Bus (e.g., LocoNet)
DC Power
Logic Outputs
(0 – 5VDC)
(Up To 8)
Throttle Provides:
• Switch Machine Activation
• Lock/Unlock Function
• Address & CV Programming
Locked/Unlocked SignalLogic Hi (+5V) = Locked
Logic Lo (0V) = Unlocked
Tortoise Driver Board
Tortoise Switch Machines(Up to 8 independent or 16 Parallel)
PIC With
RCS Software
E0
D0 – D7
A0 – A5B0 – B1C0 – C7
+ 12VDCGND
DCC
Throttle
DCC
Command
Station or
Booster*
+5VGND
To Next GPDIO
(Cascaded RCS’s)
B6
Vin1Vin2
*It is strongly suggested that a separate circuit breaker or DCC booster be used to provide a separate DCC Accessory Bus.
8 Accessory Decoders with 16 local routes
Think Track –
Not Switch
New!!! Can be powered by AC or DC. Must be programmed on DCC.
Can Be Cascaded For
Unlimited Routes.
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 21
Tortoise Driver Board
A I
n
B I
n
A O
ut1
A O
ut2
B O
ut1
B O
ut2
+V INGND
+V INGND
+V INGND
+V INGND
+V INGND
+V INGND
+V INGND
+V INGND
A I
n
B I
n
A O
ut1
A O
ut2
B O
ut1
B O
ut2
A I
n
B I
n
A O
ut1
A O
ut2
B O
ut1
B O
ut2
A I
n
B I
n
A O
ut1
A O
ut2
B O
ut1
B O
ut2
Tortoise Drivers
(2)
Each mini-board has 2
independent drive
circuits. Each circuit
can drive 2 switch
machines in parallel
(e.g., crossovers).
Snap mini-boards apart to
form other combinations
(3/1, 2/2, 1/1/2, etc)
Accessory Power
From RCS/DIO
(+12 to 15 V DC)
Accessory Power To
Other Driver Boards
(+12 to 15 V DC)
(Power can optionally
be applied from this
end instead)
Each driver board contains 8 independent
drive circuits, divided onto 4 mini-boards.
Mounting holes
for #4 screws
Logic signal
from
RCS/DIO
(8 places)
To switch
machine
(8 places)
Tortoise Drivers
(2)
Tortoise Drivers
(2)
Tortoise Drivers
(2)
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 22
AD30 (Accessory Decoders, 30 max)
• Up to 30 independent accessory decoders• Up to 30 independent Tortoise (60 parallel)• Tortoise power provided by AD30 board• AD30 power provided by DCC Track Bus
AD30
DCC Track (Accessory*) Bus
Power +
DCC Signal
DCC Command Bus (e.g., LocoNet)
DC Power
Logic Outputs
(0 – 5VDC)
(Up To 30)
Throttle Provides:
• Switch Machine Activation
• Address Programming
Tortoise Driver Board
Tortoise Switch Machines(Up to 8 independent or 16 Parallel)
PIC With
AD30 Software
A0 – A5B0 – B6C0 – C7D0 – D7E0
+ 12VDCGND
DCC
Throttle
DCC
Command
Station or
Booster*
Vin1Vin2
*It is strongly suggested that a separate circuit breaker or DCC booster be used to provide a separate DCC Accessory Bus.
30 Accessory Decoders (no local routes)
…
…
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 23
Local Panel
Pushbutton Inputs(Up To 8)
STYCS (STaging Yard Control System)
GPDIO
DCC Track (Accessory*) Bus
Power +
DCC Signal
DCC Command Bus (e.g., LocoNet)
DC Power
Logic Outputs
(0 – 5VDC)
(Up To 7)
Throttle Provides:
• Switch Machine Activation
• Lock/Unlock Function
• Address & CV Programming
Locked/Unlocked SignalLogic Hi (+5V) = Locked
Logic Lo (0V) = Unlocked
Tortoise Driver Board
Tortoise Switch
Machines (Up To 7)
PIC With
STYCS Software
E0
D0 – D6A0 – A5B0 – B1
+ 12VDCGND
DCC
Throttle
DCC
Command
Station or
Booster*
+5VGND
To 5V Power Relay
D7
Vin1Vin2
*It is strongly suggested that a separate circuit breaker or DCC booster be used to provide a separate DCC Accessory Bus.
C0 – C7
Photo-detectors
(Up To 8)
7 Accessory Decoders with 8 local routes
Stops train at end of staging yard
• Up to 7 independent switches (8 tracks)• Up to 8 independent routes (to 8 tracks)• Stops train at end of staging yard• Any or all switch machines may be locked (usually by the dispatcher)
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 24
Special Devices
A
Searchlight Signal Driver
PA
I C
op
yri
gh
t 2
00
7
B C A B C
C2
J2
C1
J1
+12V
Gnd
+12V
Gnd
J1
Q1
Q2
Q3
R2 (5
)
C2
J2
C1
Q1
Q2
Q3
R2 (5
)
R1 R1
Gnd Gnd
T1 T2
T3 T4
T5 T6
X
YZ
X
YZ
U2 U2
Dual Searchlight Signal Driver
SD2
A
Searchlight Signal Driver
PA
I C
op
yri
gh
t 2
00
7
B C A B C
C2
J2
C1
J1
+12V
Gnd
+12V
Gnd
J1
Q1
Q2
Q3
R2 (5
)
C2
J2
C1
Q1
Q2
Q3
R2 (5
)
R1 R1
Gnd Gnd
T1 T2
T3 T4
T5 T6
X
YZ
X
YZ
U2 U2
Dual Flasher Unit
FL2
R Y G
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 25
Train Order Operator (TOO) Station
Charleston Operator’s PanelTony Koester Photo
• 2 Operator Panels with 4 Stations Each OR 1 Operator with 8 Stations• Photosensor DetectsTrain “On Station” (OS)
• LED illuminates, “Bell” (buzzer) rings• RESET extinguishes LED
• “Cut Out” eliminates repeated “OS-ing” during switching moves
TOO Kit Includes:
• Power LED (Green)
• 4 Station LEDs (Red)
• 4 Pushbuttons
• 4 Toggle Switches
• 4 Photo-transistors
• 1 Buzzer
PowerPoint Panel Layout :
• Downloadable (Free)
• Prints On Full-Sheet Label
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 26
Footnotes
• SBS Is Available At: www.SignalsBySpreadsheet.com– Software is free
– DIO, RCS, STYCS, AD30, TOO Cards: $80
– Tortoise Driver (8): $40
– Dual Searchlight Signal Driver: $40
– Dual Flasher: $40
– TOO Kit: $40
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 27
Summary
• SBS Hardware & Software Work Together With Existing DCC Systems– Compatible with Digitrax® LocoNet
– No additional communication wiring is needed with Digitrax.
– Can be used “standalone” (does not require Cab Bus)
• SBS Hardware Is Powered by the DCC Track Bus (Accessory Bus)– No additional power supplies or power wiring are needed.
• No Computer Programming!– All entries are made in SBS spreadsheets
– SBS software is free !
SBS Hardware & Software Is Available At:www.SignalsBySpreadsheet.com
SBS
SBS
SBS
http://www.signalsbyspreadsheet.com/
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 28
Suppliers
• Logic/Electronics
– See Handout
• Signals/Electronics
– See Handout
• Signal Operating Software
– See Handout
Acknowledgements
• Digitrax and LocoNet are registered trademarks of
Digitrax Corporation
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 29
STOP!(Absolute)
Thank you for your interest and attention!
Q&A
Signals By Spreadsheet
7/2/2014SBS2_blue.pptx Slide 30
Recommended