APB/CTC unified intermediate signal
The unified APB/CTC intermediate signal is a replacement for both the APB intermediate and CTC hold signal modules, incorporating their functionality in one software version. By writing a configuration variable in EEPROM, the desired functioning can be easily switched, without any need to touch the firmware.
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. As implemented, both signals have a yellow-only lower head, but this can of course be changed.
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.
Documentation and Source Code
Memory Map and Tools
| Memory Map 1.4 (pdf) | [download] |
| Configuration tool | [download] |
| APB emulator tool | [download] |
| The configuration tool is a Windows GUI application that let's you easily configure the APB/CTC Unified Intermediate. The APB Emulator simulates an APB interface by sending an APB safety packet. Both need an MRBus-Computer interface and the respective TDisp Interface programs. |
Schematics
| Version 1.0 | [download] |
| PDF version of schematics copyright by Oliver Hampel |
Source code
| Version 1.4a - zip file | [download] |
| Version 1.4 - 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 . |

