QUAKER VALLEY Railroad - CTC Panel   Updated December 15, 2007

Check out the newest progress on the railroad and a discussion of the newest Quaker Valley JMRI CTC panel at http://www.quaker-valley.com/CTC/QV_CTCnew.html

The Quaker Valley Railroad has been developing a CTC Panel using the Panel Pro feature in Decoder Pro for about four years.  In the summer of 2006, I attended the NMRA Philadelphia Convention and sat in on all of the JMRI clinics.  I met some of the key people behind the development and learned a lot, especially about the then newest features of Panel Pro in version 1.7.5.  I also gave a clinic describing how I was using JMRI Panel Pro with my NCE system to develop a virtual CTC panel.  I even have acquired a touch screen which allows me to change the lever position by touching them on the screen.  No more mouse or trackball for the Dispatcher.  One of the flat panel touch screens would be even nicer!

In the last two months of 2007, I have added three new AD4HC accessory decoders to the Quaker Valley, automating 11 turnouts or turnout pairs.  You can see how I mounted the CVP accessory decoder cards at http://www.quaker-valley.com/CTC/AD4.html

This completes the conversion of all main line turnouts to DCC control.  This permitted me to complete the CTC panel with active turnout levers as shown here.

The upper CTC panel shows the Dispatcher has ligned a westbound train which is through Twin Rocks and just took the signal at Moss Creek.  It will take the siding around a train on the main at Shinnton and i cleared into Costello.  There is a train waiting to come off of the yard lead at Costello.  Using the JMRI Logix, the signals drop as the westbound progresses through each control point.  The lower panel does not yet have detection except for blocks in staging at either end of the railroad.  But all of the turnout levers work, so the Dispatcher has abandoned the old control panel.

I always wanted to develop the panel to use the turnout and signal levers and code button just like the real ones.  I thought it would require scripting, but found a way around it last year.  Now the newest versions of JMRI have multi position sensors, and it has worked well to add the signal levers to the single track Quaker Valley line in the top panel.  All four of these levers shown now work pretty much like the prototype..  I have redrawn the background graphics using the 15 wide by two high USS panel included with Panel Pro.  I have moved things around a bit since last year to align with the levers below.  I also have renumbered some of the turnouts on the lower panel.  It is nice to develop things on a screen and if it is not right, easily change it.  I suspect many will prototype their model railroad controls this way before constructing a full size panel.

The code button at the bottom of each position is momentary and controls the turnout and signals.  You can flip the levers back and forth without setting the turnouts.  Only when the code button is pressed does the turnout and signal follow.  And because of the way the JMRI route function can work, they will only follow if the interlocking is unoccupied and the block ahead is unoccupied and the block ahead is not assigned to a train coming the other way.  No more throwing turnouts under moving trains.

So how does this all work in Panel Pro?  I have just updated this part as I have been learning how to use the new Logix, grouped sensors and the multi sensor icon in JMRI version 1.9.1

Sensors, signals and turnouts identified
Each position has three inputs from the Dispatcher.  These are the turnout lever, the signal lever and the code button.  There are three block detector inputs from the railroad and an internal sensor for the interlocking occupancy.  I use NCE BD20s which detect current in each block. These are connected to a NCE Auxiliary Input Unit (AIU) which is on the cab bus and makes the block occupancy info available to the command station and thus to Panel Pro.  If the turnout NT53 is closed (normal) and both NSx and NSy are occupied a Logix sets IS53 to active.  This might save me some infra red detectors.

My friend Ken McCorry uses an infrared detector at the points in each interlocking to hold this block occupied  when a car is over it.  In this way, he has found no need to place resistor wheel sets on any freight cars.  I have been experimenting with detection of my caboose fleet and will likely only detect them and not all freight cars. I am experimenting with the Logix feature in JMRI which may allow me to set a three second delay before the detector will clear.

There are two routes for the turnout.  One sets it Normal (Closed) and one sets it Reverse (or Thrown) to follow the turnout lever.  I have set up routes which only operate when the code button is pushed AND the center light IS545 is active AND the inerlocking IS53in inactive AND the lever IT53 is set.  Panel Pro allows multiple sensors, so I have made sure the block is unoccupied before these routes are used.  I simply show the turnout position as driven by Panel Pro in the two lights above the turnout lever.  I have some local contol panel lights that display the turnout position, but none are sent to the computer.  I don't see the need for feedback from the turnout on the railroad.  Turnouts in positions  49, 53, 7, 15 and 19 in the Quaker Valley panel above show turnouts in the Reverse position.

The signal lever has been much easier to setup with the advances in the JMRI release 1.9.1.  The multi position sensor icon for the lever follows the three sensors IS541,542 and 543.  The directions lights IS544, 545 and 546 are in a defined group so only one can be lit.  If the block IS53 is unoccupied, and the IS545 light is lit and the lever is set for east or west, a Logix will set the appropraie direction light IS544 or 546.  When a train enter the block IS53, the direction light IS545 is set active, dropping the direction light and setting all signal to red. Another condition in the Signal logix allows the Dispatcher to manually set the block to red after it has been assigned.  I am trying to get the light to blink for a 15 second delay.

I have added a JMRI clock to the CTC panel .  I will soon experiment with Ken Cameron's contribuution in 1.9.2.  It should soon be a fast clock married to the NCE command station, but for now it tells real time from the PC.

This background was developed using MS Paint.  I started with the dual background panel provided in the resource folder of Panel Pro.  This now includes a better shade of green and the button punch outs as on the real US&S panels.  I stacked two separate CTC panels one over the other as I need more than the 15 positions available on a single panel.  In fact levers 31 and 33 in the upper right corner control access to staging tracks on the double track Conrail mainline.  I reused the track artwork in the black areas from my older panel.  I even kept the Quaker logo in place.  I added a USS&S plate, starting with a scan of a real plate from a photo.  I cleaned up the lettering and then added it to my panel.  I believe this has been added to the latest JMRI release or the group files area..
US&S Builders Plate

The upper section of the panel represents the modeled portion of my Quaker Valley line which runs north and south between Buffalo NY, through Costello and ending in Lynnsburg, a town in the hills of Western Pennsylvania between Altoona and Johnstown.  The lower panel section shows Conrail's secondary track between these two towns.  I have abbreviated the staging yard tracks on either side of the modeled lines.  In reality, the yards at McKeesport and Altoona are two ends of the Westbound staging yard.  Johnstown and Harrisburg are the Eastbound staging yard.

One other thing I have recently added is a startup reset of the levers and turnouts to the normal position.  When the panel first opens, it looks like this:

Notice that all of the turnouts and levers are unknown.  The NCE block detectors settle in at first, and this shows a train on the wye track at the west end staging.  My reset button is hidden in the bow tie of the quaker logo.

See the red dot?  Touching it sets off two routes.  The first sets all of the internal levers, turnouts and sensors to their normal posistion.  The second sets the turnouts on the accessory decoders around the layout.  I have this one staggered to bounce around the railroad, allowing the capacitors to recharge for the next machine.

It is not necessary on the newest turnouts where I have used slow motion machines.  But these are too quiet,  I'll have to add some relay clacking sound to those levers.

Sweet!  And always getting better.  Seems the JMRI guys add things just as I need them.  And Decoder Pro is still freeware.  Thank you Bob Jacobsen, Dick Bronson and the rest of the JMRI crew!

Check out the older CTC panel used on the Quaker Valley at http://www.quaker-valley.com/CTC/QV_CTC.html

Learn more about the JMRI project, Decoder Pro and Panel Pro at http://jmri.sourceforge.net/

web page updated 12/21/11

Bob Bucklew
Quaker Valley Software

Return to Quaker Valley Home Page