Project

Block Detector

A home-designed two-channel DCC block detector with an active-high output, so a broken wire under the layout reads as occupied rather than clear.

Status
active
Platform
PCB · KiCad 10
Source
bazauto/block-detection

Why

The off-the-shelf detectors on the layout are active low. The feedback nodes’ inputs are pulled up, so a broken cable or connection under the layout floats high and reads exactly like a clear block, the permissive state.

This board is active high: occupied drives 3.3V and clear drives 0V, so the same broken wire reads as occupied. The decision is recorded as build our own active-high block detector.

The board

Status

Revision 1.0: 10 boards ordered from PCBWay, awaiting delivery. Nothing has been measured on hardware yet.

A known concern going into bench testing: the signal chain has no gain, so the comparator threshold sits in the millivolt region, a small fraction of the trimmer’s travel. A series resistor to narrow the trimmer’s range was suggested but isn’t in revision 1.0; sizing it needs the CT’s actual turns ratio.

Checks

ERC and DRC run in CI on every change, using the same KiCad release the board was designed in.

Decisions

  • accepted
    Build our own active-high block detector

    · Off-the-shelf detectors pull low for occupied, so a broken wire under the layout reads as a clear block. A home-designed board with an active-high output makes that fault read as occupied instead.

Log

Nothing logged yet.