Modellbahn Keks
Welcome!
Our cookies offer you a fast, relaxed and full-featured shopping experience. Some are necessary to operate the website and its functions. Others help us to improve our services. If you agree to this, simply consent to the use of cookies for preferences, statistics and marketing by clicking on "OK". Alternatively, you can deactivate individual cookies under "Customise cookies" or all cookies, except those required for the function of our website, under "Reject all".
Digital operation · knowing where the train is

Track Occupancy Detection and Feedback Explained Simply

How does the layout detect a train? Discover current-sensing detectors, contact tracks and feedback buses, from a first test section to a monitored hidden storage yard.

Roco Z21 detector as an example of a track occupancy detection module
Roco · Z21 detector · MBS157073

What does a track occupancy detector report?

A track occupancy detector detects whether its monitored section is occupied. Feedback sends this state to a digital command station, control panel or computer control system. This can help prevent a second train being sent into an occupied hidden storage siding, for example. The appropriate control logic must be configured for this to work.

01 · Detect

Sensor at the track

A current-sensing detector, contact track or other sensor detects an electrical state or an event.

02 · Transmit

Feedback module and bus

The module assigns the report to an input and sends it through the appropriate feedback connection.

03 · Respond

Command station and control system

The display shows the state. Only configured routes and sequences turn this into the required response.

The sensor and feedback interface may be combined in one device. An ordinary occupancy detector initially reports “occupied” or “clear”, not automatically “locomotive 23 is here”. Identifying a locomotive address within a section requires additional detection, such as a fully compatible RailCom chain. More introductory information: digital control and command stations.

Which sensor suits your task?

What matters is the track system, the rolling stock to be detected and the information required. Continuous occupancy detection and a brief switching pulse serve different purposes.

Sensors compared: state or event?
MethodSuitable forImportant limitation
Current-sensing detectorDetecting occupancy of a powered track section through current consumption.Rolling stock with insufficient current consumption is not detected.
Contact trackContinuous occupancy detection through suitable conductive wheelsets on compatible centre-stud track.The track must be prepared for this; take insulated wheelsets into account.
Reed switchDetection at a specific point using a magnet on the vehicle.Does not prove that the entire section is empty.
Optical detection or axle countingDetecting passages or occupancy according to the particular sensor and processing arrangement.Mounting position, counting logic and recovery after faults are crucial.

Current sensing: detecting actual consumption

The monitored traction current flows through the detector to the track. A locomotive or illuminated rolling stock can therefore be detected even when stationary, provided its current draw exceeds the detection threshold. A wagon without an electrical load will normally remain invisible. Poor electrical pickup or a switched-off section can also affect the indication. A missing report, or one frozen after a power failure, does not confirm that a section is empty.

Suitable resistor-equipped wheelsets or other specified electrical loads make rolling stock detectable by current sensing. Resistance, power dissipation and the detection threshold must suit the detector and track voltage. Do not use arbitrary universal values. In particular, the rear of the train should be detected reliably if the control system depends on the entire train having left the section.

Contact track: a conductive axle closes the contact

On suitable centre-stud track, a section of one running rail is electrically isolated from the rest of the return conductor. A suitable conductive wheelset connects it to the other running rail. This allows unlit rolling stock to be detected too. Insulated two-rail wheelsets will not do this without further measures. Modifications, insulating gaps and connections depend on the specific track. In a contact section based on the Märklin C Track example, turnouts and crossings remain outside it; monitoring them requires a separate approach.

“Current sensing” does not automatically mean two-rail, and “digital” does not automatically mean DCC. Current sensing is also used in centre-stud systems. For H0, TT, N and larger gauges, the main considerations are electrical design, permitted voltage, current capacity and rolling stock characteristics.

Reed switches and axle detection: interpreting events correctly

A reed switch responds to a suitable magnet on the vehicle. It reports while activated but does not monitor the whole block continuously. Optical sensors also need a suitable arrangement. Axle counting requires sensors and processing for entry and exit; after a counting error, the state must be restored in a controlled way. Detecting a single axle does not prove that the section is empty afterwards.

Try it: occupied does not always mean detected

This simplified current-sensing demo compares the visible presence of rolling stock with the report. It assumes traction power is on and that the current drawn by the locomotive or intended additional load reliably exceeds the detector’s threshold.

Vehicle present · Report: occupied

The locomotive draws enough current. The current-sensing detector reports the section as occupied.

The illustration explains the principle. It is not a wiring diagram and does not replace checking the actual detector. Contact tracks have different requirements: the suitable conductive connection through the wheelset is what matters there.

Distinguish between the feedback bus and RailCom

Before buying, decide where the report needs to go. Connections on the command station, interface and module must be expressly compatible. Identical-looking connectors prove neither identical pin assignments nor the same protocol.

Feedback connections: check compatibility on the specific device
Feedback connectionPurposeCheck before connecting
s88 / s88-NTransmits input states; modules may have contact inputs or current-sensing inputs.Check the supply, connection direction and adapters. RJ45 is not an Ethernet connection here.
R-BUSFeedback connection used in systems including Z21.Check the command station, module version, address and required cable.
LocoNetA bus through which compatible devices can also exchange feedback.Use a suitable command station connection and follow the power supply requirements.
CAN / manufacturer-specific system busesThe underlying bus technology, or system connections such as ECoSlink.Sharing the same underlying bus technology does not make devices from different manufacturers interchangeable.

RailCom adds information from the decoder to DCC. Local locomotive identification requires the decoder, RailCom cutout, local detector and processing to work together. RailCom does not generally guarantee that every wagon will be detected. Software-based train tracking can use known train assignments without reading a locomotive address in every section.

A specific example: the Roco Z21 detector 10808 sends occupancy states over R-BUS or CAN; the additional RailCom information uses the CAN connection to a compatible Z21. Do not assume that every similarly named module offers these functions. The Z21 product overview helps distinguish between them.

Plan blocks and detection sections sensibly

A block is an area managed for train operation. A detection section is the area covered by a sensor. A block may contain one or more detection sections. The number needed depends on the software, direction of travel, braking method and required stopping accuracy. There is no universal rule of “always three detectors per block”.

In a visible station, a platform track can be planned as a block with separate entry and stopping areas. On the open line, several blocks follow one another; the control system checks the next route before authorising movement. In both cases, occupancy information, train length and the configured braking logic must work together. Section boundaries are therefore established before the track is permanently laid.

Example: two tracks in a hidden storage yard

Assumption: two storage sidings are initially each equipped with one area monitored throughout its length. This produces two occupancy reports. Additional stopping or entry detectors may be required for the chosen control approach. The turnout route must explicitly be included in the plan; it is not automatically monitored by the two storage siding detectors.

Turnout areaPlan monitoring and permission to proceed separately
Storage siding 1 · Detection input 1One section monitored throughout its length
Storage siding 2 · Detection input 2One section monitored throughout its length

Plan the stopping point and usable track length so that the longest intended train fits completely between the turnout areas that must be kept unobstructed. A route must not be released solely because the locomotive has reached the next track. A wagon left behind must remain detectable. For details of the geometry, see planning a hidden storage yard.

A detection section on two-rail track

With a conventional single-pole current-sensing detector, the monitored rail is isolated at both ends of the section and fed through the specified detector output. The module’s instructions identify the required rail, terminal and reference potentials. Booster boundaries and reversing loops may require additional isolation gaps.

Feed the track without bypassing the detector

An additional wire directly from the traction power distribution to the monitored rail would bypass the detector. All monitored current for that section must pass through the correct detection channel.

Multiple feeds within the same section

If several feed points are needed, connect them together on the section side of the same detector output. Do not connect outputs from different detectors or boosters together. Follow the device instructions for group supplies and current capacity.

Check after connecting

First test the section on its own: empty, with a locomotive, with a wagon, and running across both boundaries. Then connect the neighbouring sections. Clear labels on the track, cables and detector inputs save considerable fault-finding time later.

For reversing loops, the arrangement of the polarity switching module and feedback detector is product-specific. Use wiring examples from the manufacturers involved. For the basic structure, see wiring a model railway and planning booster sections.

Six steps to the first reliable report

  1. Define the system. Consider the track type, command station, feedback connection and intended software together. On an existing layout, check its interfaces first.
  2. Mark out the sections. Allow for boundaries, turnout areas, direction of travel and the longest train. Give each section a unique name.
  3. Choose components. Compare sensor type, number of inputs, grouping, electrical limits and required connecting cables.
  4. Connect with the power off. Follow the manufacturer’s diagram, check insulating gaps and route cables so they can be traced. Only measure resistance and continuity on unpowered components that have been appropriately isolated.
  5. Assign the inputs. Enter the module address and input in the system. Occupy each section individually and check the displayed assignment.
  6. Test operating situations. Check slow crossings of boundaries, standstill, the longest train, the rear of the train, restart and loss of traction power. Only then enable automatic routes gradually.

Ordinary multimeters cannot assess digital track voltage reliably in every measurement mode. The multimeter guide explains suitable checks and common misinterpretations.

Narrow down common faults systematically

Symptoms, possible causes and the first check
SymptomPossible causeCheck first
Always clearCurrent-sensing detector bypassed, load too small or incorrect input assigned.Test one known locomotive in the section and trace every feed.
Always occupiedConductive bridge, faulty insulation or an active sensor contact.Remove the rolling stock and disconnect the section from the detector according to the instructions; check the wiring with the power off.
Report flickersPoor electrical pickup, a loose connection or an unsuitable filter setting.Clean the track and wheels and check the wires; only then adjust delays appropriately.
Correct state in the wrong placeIncorrect address, module order or software assignment.Activate only one input and compare the display with the documentation.

Always check in the same order: sensor and track, detector input, bus connection, address and finally software assignment. Change only one thing at a time. A correctly sent turnout command does not confirm the turnout’s actual end position; this requires suitable position detection.

Common questions about feedback

Do I need feedback modules if I operate manually?

Not necessarily. They are useful for monitoring hidden track or indicating occupied areas. For automatic sequences, the required feedback must suit the control approach.

Does occupancy detection also work with analogue operation?

It can, depending on the sensor and device. Current-sensing detectors must suit the power supply in use; detection may fail when traction power is switched off. Contact or optical methods may have different requirements.

Does an occupancy detector stop the train automatically?

Normally, it initially provides information. A suitably configured control system or dedicated circuitry handles braking and stopping. Simple indication and automatic protection are different functions.

Can I mix feedback modules from different brands?

Only with an expressly compatible interface and compatible processing. Sensor connections, feedback bus, power supply and required additional functions must be checked together.

How much spare capacity should I allow?

First determine the inputs needed from your track plan. Then allow for expansion with further sections and sensors. The right spare capacity depends more on the expansion plan than on a blanket percentage.

Manufacturer documents for further reading

Find feedback modules for your system

Compare suitable modules by manufacturer and model. This selection is a starting point for the topic; always check the sensor type, bus, power supply and functions of the specific version before buying.

Find suitable products through the links to the range.