• What is matrix routing?

    Vlad Shcherbakov03/15/2025 at 01:36 0 comments

    Matrix routing is one of those concepts that everyone claims to understand—until they actually face the challenge of routing something with a matrix and end up in a tangled mess. I first encountered matrix routing when exploring PXI-based matrix switching systems. In that world, the prevailing mindset is to spend a hefty amount each year on the "magic" routing software and to avoid reinventing the wheel. But honestly, what's so wrong with reinventing your own wheel every now and then? That's one of the things I love most about engineering: understanding how things work so you can put your own spin on them, combine ideas, remix, and integrate them into something new.

    Matrix routing, at its core, is actually quite simple. Here’s a step-by-step guide to implement any arbitrary circuit using a matrix:

    Matrix Routing Procedure

    1. Break your circuit into nets (groups of connected nodes).
    2. Attach the device nodes to X columns.
    3. Assign a unique Y row for each net in the circuit you want to route.
    4. To route a net, close the crosspoints where the X column of each node intersects with the Y row of that net.

    It might take a little time to fully grasp why these steps work, but once you do, you'll have a powerful tool at your disposal.

    I made some router boards to try the idea out. You can get them if you want to support my project: Protomatrix 2x30x80. More to come!