APB intermediate signal controller

Introduction

This module was designed for controlling two APB intermediate signals, that stand at the same location and govern opposing movements. They can be of any head number, as six individually configurable outputs for each signal are provided. There are inputs for two current-sensing block detectors, and one infrared detector at the block boundary for detecting non-current drawing vehicles. These track circuits are circuit A for both signals, and circuit B for those adjacent (refer to the APB implementation document).

This version features approach-lighting, but that can be turned off and on with an uppercase 'X' packet, with the byte number 6 (first data byte) containing 0xFF (signals are ON) and 0x00 (signals are approach-lit), respectively. This is also useful for system checks and debugging.

The source code below has the eastbound signal with single head, and the westbound signal with a yellow-only lower head. But you can of course change this by adjusting the signal output routine and the aspect selection (search for "DIVERGING"), seperately for each signal.

Photo of an APB intermediate signal installed on a short americaN module
Photo of an APB intermediate signal installed on a short americaN module

Please refer to the document CTC Command structure, section 3.2 for information on how the display packets look like. You can find it here. The APB node of course only sends information related to track circuits, which are "Occupancy" and "Clearance" (OCC0-n).

As for PCBs, fellow model railroader Oliver Hampel of Munich designed industrially-made boards we both use on our modules. If you are interested, contact him at olha (at) arcor.de. These APB boards are very useful, as they incorporate everything necessary for the node, from block detectors to MRBus sockets (see the schematic below). Additionaly, I think there is a wide range where you can use them: CTC control point node, or even an MRBus-PC interface, where a suited controller is mounted on top on the board, are just two examples I built.

Photo of an APB intermediate PCB installed on the above americaN module
Photo of an APB intermediate PCB installed on the above americaN module

Documentation and Source Code

Schematics

Version 1.0[download]
PDF version of schematics copyright by Oliver Hampel


Source code

Version 1.3a - zip file [download]
Version 1.2a - zip file [download]
Note: For all these files you need the MRBus bus files, which can be found in the Download section at the bottom of the Signaling page here .