MOC - Common Area Control Module

In order to limit the number of cables and wires circulating under the network, the common zone control module (MOC) allows decentralization of the commands and measurements to be carried out and will take charge of them. This universal module must be able to adapt to the particularities of each zone and thus be modular.

Features offered by the common module

The common management module for a network zone must adapt to the particular features of each zone and be upgradable. It also has :

  • Eight slots to accommodate specific cards (block detection, electromagnetic switch controls, lighting controls, progressive traffic lights). These can be mixed and added as the area evolves ;
  • A CAN communication card allowing it to be connected to the bus of the same name. Via this connection, the module receives instructions and returns information concerning the connected interface cards ;
  • Several orders of WS2812B LED strips allowing, among other things, to light the interior of buildings with a minimum of wiring. This solution makes it possible in particular to add LEDs by connecting them in series following those already existing. A simple modification of the microcontroller parameters will allow them to be taken into account immediately. The LEDs of a strip can be controlled individually ;
  • Several servomotor commands (turnouts, animations, etc.).

General operating principle of the MOC

The zone control module is modular according to the necessary needs. It will be composed of at least 2 printed circuits :

  • piloting MOC;
  • CAN bus connection card.

It is connected to the module network by five wires :

  • Power supply +15V DC;
  • Mass ;
  • One of the two rail traction DCC connections (the same for all MOC modules);
  • 2 wires (twisted pair) for CAN communication.

When the module is powered up, the microcontroller will review the connected interface cards and send this information to the network management module (MOG).

The different interface cards

At this stage, three different types of interface cards are developed :

  • The block detection card (CDC): detects the presence of a train on two separate blocks in DCC (a MOC equipped with 8 CDC cards can detect the presence of a train on 16 different blocks) ;
  • The switch control card (CCA): allows the control of an electromagnetic switch (a MOC equipped with 8 CCA cards can control 8 switches) ;
  • The lighting control card (CCE) which allows the control of two series of bulbs or other 15V motor (a CCE card makes it possible, for example, to independently manage the ignition of two series of street lamps).


Maturity : 50%

Overall progress of the MOC module

Version 0.5

The assembly was carried out on a breadboard in order to quickly check the general operation of the project. This type of construction also makes it possible to develop and validate the software part of the microcontroller.

Version 0.6

The first three types of interface cards are finalized.

Version 0.7

The CAN communication card is finalized

Maturity : 100%

MOC interface card for detecting the presence of a train in two separate blocks.

Maturity : 100%

MOC interface card allowing the control of an electromagnetic switch.

Maturity : 100%

MOC interface card allowing the control of two 15V power supplies.

Maturity : 100%

Communication interface card common to all modules.

Maturity : 60%

Upper part of the common module to accommodate the interface cards.

Maturity : 30%

Lower part of the common module responsible for communications and control of the zone.