Jay's C/MRI Presentation October 2014

87
Bruce Chubb’s Computer/Model Railroad Interface (C/MRI) 101- The Basics By Jay Beckham http://jaysoscalelayout.blogspot.c om/ [email protected] Visit the layout Saturday or Sunday 1

Transcript of Jay's C/MRI Presentation October 2014

Page 1: Jay's C/MRI Presentation October 2014

Bruce Chubb’s Computer/Model Railroad

Interface (C/MRI)101- The Basics

By Jay Beckham

http://jaysoscalelayout.blogspot.com/

[email protected]

Visit the layout Saturday or Sunday1

Page 2: Jay's C/MRI Presentation October 2014

My entire presentation is based on Bruce Chubb’s presentation used with his

permission. I am grateful that he not only agreed to my use of his presentation but

furnished me the presentation which I have modified and adapted.

First I would like to briefly present some electronic/electrical fundamentals that

confused me when I first got into building and using the C/MRI system.

Then I will cover the basic parts that makeup the signaling system and CTC.

2

Page 3: Jay's C/MRI Presentation October 2014

Basic Electronics101

In C/MRI grounding a circuit turns it on and no ground turns it off. This is just the opposite of what

we would normally think. This method is called Current-Sinking and it the default method used by

C/MRI devices. In house wiring we put the wall switch on the hot side of the circuit.

In C/MRI we would ground an LED to make it light or ground the terminal on the switch machine circuit

(SMC12) to make it throw the turnout to the diverging route. And the occupancy detector grounds the pin on an Input board to tell the computer that a electrical block is occupied.

3

Page 4: Jay's C/MRI Presentation October 2014

Example C/MRI application areas:• Optimized occupancy detection (OD and DCCOD)• Signaling systems (very simple, ABS, APB and CTC)• Interface with Command Control including DCC• Staging track control (manual to fully automated)• Grade crossing warning systems (PGCC)• Turnout control (including software diode matrix) • Junction and terminal interlocking• Fast time clocks and layout-room lighting• Driving real-time engine/dispatcher simulators•Automated operations• Reducing layout wiring

4

Page 5: Jay's C/MRI Presentation October 2014

Signaling Basics coveredin a 4-part series:

“Signaling Made Easier”

January through April 2004 Model Railroader Magazine

This series is an excellent source for getting started in Signaling and the C/MRI

Copies are availabledirectly from Kalmbachand from NMRA’s Kalmbach Memorial Library

5

Page 6: Jay's C/MRI Presentation October 2014

32 pages in the March 2007 issue of Scale Rails covering:

State-of-the-Art Electronics to Enhance Operations

Sunset Valley Oregon System

My Life with Bruce and the Sunset Valley by Janet Chubb

6

Page 7: Jay's C/MRI Presentation October 2014

An updated V3.1 User’s Manual now available

However, if have V3.0 then do not need V3.1

7

Page 8: Jay's C/MRI Presentation October 2014

During this presentation we will cover:

• Interfacing made easier

• Block occupancy detection

• Signaling and turnout control

• Centralized Traffic Control Systems

•System assembly and simplified wiring

8

Page 9: Jay's C/MRI Presentation October 2014

Interfacing your railroad to a computer is as easy as connecting a single “super mini-node” card (SMINI) to your computer’s serial port

48 outputs for driving signals, switch motors and panel LEDs 24 inputs for reading block occupancy detectors, switch position and pushbuttonsCan use USB port with USB to RS232 converter cable

9

Page 10: Jay's C/MRI Presentation October 2014

10

Page 11: Jay's C/MRI Presentation October 2014

Simply connect each signal, switch motor,detector, etc.to the SMINI

11

Page 12: Jay's C/MRI Presentation October 2014

Distributed serial:

• Up to 128 nodes

• Devices connect to nearest node

• Use maxi-node for• concentrated I/O

• Everything connects w/single 4-wire cable

• 72 I/O per SMINI

• 2048 I/O capacity per MAXI-node

• 262,144 total I/O capacity

12

Page 13: Jay's C/MRI Presentation October 2014

Each card adds 32 inputs or outputs up maximum of 64 cards per node (2480 I/O lines)

Need more I/O, simply plug in another I/O card

13

Page 14: Jay's C/MRI Presentation October 2014

Each input card provides 32 added inputs

14

Page 15: Jay's C/MRI Presentation October 2014

Handling C/MRI inputs is straightforward

Input open circuited is hardware logic 1 (+5Vdc)

Input grounded is a hardware logic 0 (0 volts)

15

Page 16: Jay's C/MRI Presentation October 2014

Example C/MRI input connections:

16

Page 17: Jay's C/MRI Presentation October 2014

Each output card provides 32 added outputs

17

Page 18: Jay's C/MRI Presentation October 2014

Every C/MRI output can be considered to be a simple SPST toggle switch

Software simple turns the toggle switch on or off When the toggle is on it is grounded Each SMINI provides 48 output lines (switches) Each DOUT32 provides 32 output lines (switches)

18

Page 19: Jay's C/MRI Presentation October 2014

Drive almost any devices directlyfrom C/MRI output line

Within .3A , 40volt limit

19

Page 20: Jay's C/MRI Presentation October 2014

Each output can drive multiple devices

20

Page 21: Jay's C/MRI Presentation October 2014

Programming the C/MRI is straightforward: - like using the English language:

An extremely active User’s Group is available to help you in every step:

http://groups.yahoo.com/group/CMRI_Users

21

Page 22: Jay's C/MRI Presentation October 2014

All C/MRI programs follow the same logic flow diagram

22

Page 23: Jay's C/MRI Presentation October 2014

23

Page 24: Jay's C/MRI Presentation October 2014

For best possible performance:use the DCCOD for DCC railroadsuse the OD for DC railroads

24

Page 25: Jay's C/MRI Presentation October 2014

Advantages provided by DCCOD are numerous:

Transformer isolated

High 150K ohm pot adjustable sensitivity

Turn-on turn-off delay

Monitor LED for setting sensitivity

Open collector output (.3A, 40Vdc)

Track current up to 20A

Small modular unit for easy plug-in and system debug

Priced very reasonable - $9 for medium size layout

25

Page 26: Jay's C/MRI Presentation October 2014

Everything is out in the open with the C/MRI

Including full schematics, parts lists and assembly instructions as well as extensive application information

26

Page 27: Jay's C/MRI Presentation October 2014

A Mother Board (ODMB) is available to further simplify wiring and system debugging

27

Page 28: Jay's C/MRI Presentation October 2014

28

Page 29: Jay's C/MRI Presentation October 2014

29

Page 30: Jay's C/MRI Presentation October 2014

Signaling can add so much interest, beauty and operational realism to a model railroad…

…and it is so easily and cost effectively accomplished using the C/MRI

30

Page 31: Jay's C/MRI Presentation October 2014

Five great reasons for using a computer to signal your railroad:

1. Simplicity

2. Flexibility

3. Prototypical fidelity

4. Easy expandability

5. Low cost

(See www.jlcenterprises.net or separate handout provided for details expanding upon each benefit)

31

Page 32: Jay's C/MRI Presentation October 2014

Using the C/MRI makes prototype signaling easy to accomplish:

• Straightforward application• Well proven technology• Available as boards only, complete kits or fully assembled and tested• Everything out in the open - full schematics, parts lists and abundant software• Total flexibility to accomplish every need • Very cost effective solutions

32

Page 33: Jay's C/MRI Presentation October 2014

33

Page 34: Jay's C/MRI Presentation October 2014

34

Page 35: Jay's C/MRI Presentation October 2014

Light Emitting Diodes (LEDs) are basic elementsto designing most signal systems

35

Page 36: Jay's C/MRI Presentation October 2014

Preferred (most common) method of wiring color light signals

Uses outputs configured for standard current sinking

Applies when signals are wired with common anode

36

Page 37: Jay's C/MRI Presentation October 2014

Driving a searchlight signal using a3-lead bi-color LED

37

Page 38: Jay's C/MRI Presentation October 2014

38

Page 39: Jay's C/MRI Presentation October 2014

39

Page 40: Jay's C/MRI Presentation October 2014

Two color signaling a small railroad

40

Page 41: Jay's C/MRI Presentation October 2014

41

Page 42: Jay's C/MRI Presentation October 2014

42

Page 43: Jay's C/MRI Presentation October 2014

43

Page 44: Jay's C/MRI Presentation October 2014

Three color signals with 2-headed signals leading into passing sidings

In each example, C/MRI documentation leads you step-by-step through the complete interfacing project

44

Page 45: Jay's C/MRI Presentation October 2014

Connecting switch motors directly to C/MRI outputs

Requires 2 outputs per switch motor

45

Page 46: Jay's C/MRI Presentation October 2014

Alternatively, only a single output is required when incorporating an SMC12 card

Also, interface cards are available for connecting to twin-coil switch machines 46

Page 47: Jay's C/MRI Presentation October 2014

Easiest to implement local panel for emulating the operation of a dual-

control power switch motor

Additional options provided in Handbook include adding padlock function and using separate toggles for the Selector Lever and Hand-Throw Levers

47

Page 48: Jay's C/MRI Presentation October 2014

48

Page 49: Jay's C/MRI Presentation October 2014

49

Page 50: Jay's C/MRI Presentation October 2014

50

Page 51: Jay's C/MRI Presentation October 2014

51

Page 52: Jay's C/MRI Presentation October 2014

CTC machines can be great additions to any size railroad

Dirk Start using a GRS style machine modeling the C&O operating on the former PM between

Holland and Grand Rapids Michigan

Page 53: Jay's C/MRI Presentation October 2014

A small size CTC machine covering the east end of UP’s Albina Yard in Portland OR on the SVOS

Page 54: Jay's C/MRI Presentation October 2014

54

Page 55: Jay's C/MRI Presentation October 2014

55

Page 56: Jay's C/MRI Presentation October 2014

Wiring switch and signal levers and code button is easy with the C/MRI

56

Page 57: Jay's C/MRI Presentation October 2014

Wiring the switch and signal indication lamps is just as easy

57

Page 58: Jay's C/MRI Presentation October 2014

58

Page 59: Jay's C/MRI Presentation October 2014

59

Page 60: Jay's C/MRI Presentation October 2014

CSX Clinchfield Dispatching Center is quite applicable to a C/MRI based club size system

Some C/MRI users are already interfacing to five monitors within computerized dispatching centers

60

Page 61: Jay's C/MRI Presentation October 2014

Monitoring operational status is readily available by studying the graphics display

61

Page 62: Jay's C/MRI Presentation October 2014

Modern dispatching with C/MRI

62

Page 63: Jay's C/MRI Presentation October 2014

63

Page 64: Jay's C/MRI Presentation October 2014

64

Automated room and scenic lighting control tied to fast clock simulating 24-hour day-night

operation easily accomplished using the C/MRI

Page 65: Jay's C/MRI Presentation October 2014

65

Night operation can be dramatic and including sunrise and sunset effects can be spectacular

Page 66: Jay's C/MRI Presentation October 2014
Page 67: Jay's C/MRI Presentation October 2014

New Prototypical Grade Crossing Control (PGCC)

67

Drives gates, flashers (w/fade-in and fade-out), real grade bell digitally recorded sound and 4-prototypical bell control options

and all exactly like the prototype

Page 68: Jay's C/MRI Presentation October 2014

68

Automate scenic lift-up to totally eliminate duckunders

Page 69: Jay's C/MRI Presentation October 2014

Two new Railroader’s Applications Handbooks

are availiable

Together these totally replace single Volume V2.269

Page 70: Jay's C/MRI Presentation October 2014

70

Page 71: Jay's C/MRI Presentation October 2014

71

Page 72: Jay's C/MRI Presentation October 2014

72

Page 73: Jay's C/MRI Presentation October 2014

You can easily take advantage of the

C/MRI Several options available:

bare board from JLC Enterprises

… and from SLIQ Electronics: complete kits fully assembled and tested

73

Page 74: Jay's C/MRI Presentation October 2014

The C/MRI documentation is extremely thorough and follows a step by step everything explained process:

User’s Manual V3.1

Application Handbook Volume 1

Application Handbook Volume 2

74

Page 75: Jay's C/MRI Presentation October 2014

75

Page 76: Jay's C/MRI Presentation October 2014

76

Page 77: Jay's C/MRI Presentation October 2014

77

Page 78: Jay's C/MRI Presentation October 2014

78

Page 79: Jay's C/MRI Presentation October 2014

79

Page 80: Jay's C/MRI Presentation October 2014

80

Page 81: Jay's C/MRI Presentation October 2014

81

My original CTC board. By next year I will have rebuilt it to match the many changes that have been made to the railroad.

This is a photo of half of the CTC. Each panel is 30 inches wide so the finished CTC will have four 30 inch panels.

Page 82: Jay's C/MRI Presentation October 2014

82

To add in wiring and reduce the number of printed circuit boards required, I have developed two small boards that are helpful. From time to time I make the blank boards available to the C/MRI group.

The first board uses the standard network CAT5 cable (8 wires) to help with wiring. It has an RJ45 connecter for CAT5 on one end and either a Molex connector or a screw terminal block on the other end. The Molex fits all the standard C/MRI boards. The photo shows the Molex option.

Page 83: Jay's C/MRI Presentation October 2014

83

The second board I call my Signal Control Circuit or SCC for short. It also has the CAT5 connector at the right and 15 screw terminals across the bottom. Also 2 screw terminals for 5+ Volts and Common connections. I allows 4 pair of wires to control a total of 12 LEDs in signals. Previously you saw a diagram of a standard OS section which had one double head three color signals and two single head three color signals. That is a total of 12 LEDs to light. Rather than use 12 outputs from a SMINI board we only need 8 outputs thus saving on boards, wire, and effort. The 12 resistors can be matched to the particular LEDs you use.

Page 84: Jay's C/MRI Presentation October 2014

In summary – You have seen that a computer will add a new dimension and even more enjoyment to your model railroading hobby

84

Page 85: Jay's C/MRI Presentation October 2014

•The C/MRI is easy to apply• It is an educational project• It is a fun project• Include the C/MRI on your railroad• I know that you will love it!

85

Page 86: Jay's C/MRI Presentation October 2014

86

I would like to thanks a number of people who have been helpful with my understanding of C/MRI, with the building of the 100+ printed circuit boards, wiring my CTC panel, creating over 5,000 lines of Visual Basic code, running several thousand feet of wire, and building almost 100 temporary signals that we are using till I have time to build detailed WM and PRR signals.

They are: Bill Carr, Gail Carr, Bruce Chubb, Jim Withrow, Don Wood, and the members of the C/MRI Users Yahoo Group.

Page 87: Jay's C/MRI Presentation October 2014

THANK YOUFor Attending

C/MRI 101- The Basics

By Jay Beckham

http://jaysoscalelayout.blogspot.com/

[email protected]

Visit our layout:Saturday 1:15 to 6:00Sunday Noon to 6:00

87