Skip to the content
4 layers145 × 80 mmShunt reversal freerouting source, the printed circuit board in 3D

Shunt reversal freerouting source

fl4p/shunt-reversal

MOSFET H-bridge current-reversal switch for shunt thermal-EMF cancellation. Script-generated KiCad. NOT RELEASED - see DESIGN.md section 12.

Size
145 × 80 mm
Copper layers
4
Thickness
1.6 mm
Parts
100
Nets
53
Pads
606
Tracks, vias
520, 912
Pours
34
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
22 Aug 2026
Updated
3 Sep 2026

Overview

Shunt reversal freerouting source is an open-source printed circuit board by fl4p, from the fl4p/shunt-reversal repository on GitHub. It is a 4-layer board of 145 × 80 mm with 100 parts on 53 nets, routed with 520 tracks and 912 vias.

It is built around the MCP3208-CI/SL, MIC4467YWM-TR and MIE1W0505BGLVH-3R, with the SN74HC02D, SN74HC14D and ISC022N10NM6ATMA1 among its other parts. Its parts include 30 resistors, 29 capacitors, 16 transistors, 7 ICs and 7 diodes. It belongs with the interfaces and adapters boards of this library.

Main components

9

README

README.md

shunt-reversal — MOSFET H-bridge current-reversal switch

A 16-device H-bridge that reverses the current through an external shunt, so the thermal-EMF offset can be cancelled by the half-difference of a forward and a reverse reading. The shunt is not on this board and neither are the Kelvin taps — J3/J4 are M4 lugs that reach it by busbar or cable, with a deliberate thermal break.

The full design record — corner ledgers, error budget, guard doctrine, open items — is in DESIGN.md. This file is just the viewer.

NOT RELEASED. DESIGN.md §12 items 9, 10 and 11 are open release blockers (TVS pulse energy unbounded, R_thJA not applicable as used, no SOA analysis for power-up-into-voltage). Do not order fabrication against these files.

Variants

Both are emitted by the same generators from one source tree; --variant selects.

base-noadc
filesshunt-reversal.kicad_{sch,pcb}shunt-reversal-noadc.kicad_{sch,pcb}
buildpython3 gen_sch.py && python3 gen_pcb.py --fulladd --variant noadc to both
diagnostic ADCU7 MCP3208, 8 channelsabsent
J1 pins 7/9SCLK_H, MOSI_HGND_H
J1 pin 10MISO_HFAULT_H
physical evidenceconduction + gate statenone — commanded state plus one latched bit

The variant is not merely the base board minus a part: §12 item 7 escalates on it, because a stuck-on, stuck-off or dead-open leg is invisible to that board entirely. See DESIGN.md §13.

Incremental footprint migrations

Do not run the full generator/router for a bounded package substitution on the accepted boards. The D4/D5 0603-to-0805 migration is declared by footprint-swap-led-0805.json and implemented by tools/footprint_swap_adapter.py:

sh
python3 /path/to/kicad-design/scripts/kicad_footprint_swap.py \
  --spec footprint-swap-led-0805.json --time-budget 180       # dry-run
python3 /path/to/kicad-design/scripts/kicad_footprint_swap.py \
  --spec footprint-swap-led-0805.json --time-budget 180 --apply

The adapter materializes immutable old board authority from the recorded Git commit, loads the SHA-256-bound vendored 0805 footprint, and applies only the exact field map, footprint placement, and route primitive delta declared by the reviewed overlay. It snapshots its complete source/audit dependency set into the transaction, performs two-fill semantic settlement, requires equality with the DRC-saved board, and runs both project audits concurrently. footprint-migrations/led-0805/audit-mechanism-receipt.json binds calibration against immutable old fixtures; it does not replace the fresh complete scan of each candidate. Regenerate that receipt with tools/calibrate_footprint_swap_audit.py whenever a bound audit input or KiCad compatibility cell changes.

3D renders

topbottom
basebase, topbase, bottom
-noadcnoadc, topnoadc, bottom

Regenerate with — note the .gitignore policy here is never commit raw PNG, so the render is converted and the PNG dropped:

sh
kicad-cli pcb render --side top --quality high --width 1600 --height 900 \
    --background opaque -o /tmp/r.png shunt-reversal.kicad_pcb
cwebp -q 88 /tmp/r.png -o images/shunt-reversal-top.webp

The base render is one commit stale in one respect. It still carries the silkscreen KELVIN TAPS BELONG ON THE SHUNT, which was removed from the generator in ca3fbc5. The -noadc board was regenerated after that and does not have it; the base board artefact was last written in ca1cac7 and cannot be regenerated until the route seed is re-promoted — that is DESIGN.md open item 15, and this is what it looks like from the outside.

Inspect in the browser

KiCanvas renders KiCad 6+ schematics and boards client-side. Pointing it at the directory loads every KiCad file in it as one project, so both variants' schematics and boards appear in its project panel and you can switch between them without reloading:

→ Open all variants in KiCanvas

Straight to a single file:

schematicboard
baseopenopen
-noadcopenopen

These links resolve only once fl4p/shunt-reversal exists and is public. KiCanvas fetches api.github.com and raw.githubusercontent.com unauthenticated, so a private repo returns 404 to it and the viewer fails to load. This board lives in its own repo — rather than under fl4p/pwr-metering, which is private — for exactly that reason.

What works regardless: open https://kicanvas.org/ with no URL parameters and drag the files onto the page, or use its open local file button. It is entirely client-side — nothing is uploaded. Drop the .kicad_pro (or select every file at once) so it picks up the schematic and board together as one project.

Note that KiCanvas only honours the first github= parameter; passing several does not load several projects.

Parts

100
QtyValueFootprintReferences
16ISC022N10NM6shunt-reversal:Infineon_PG-TSON-8-3Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, Q10, Q11, Q12, Q13, Q14, Q15, Q16
12100kResistor_SMD:R_0603_1608MetricR33, R34, R35, R36, R37, R42, R44, R46, R48, R50, R52, R54
11100nCapacitor_SMD:C_0603_1608MetricC2, C4, C6, C8, C10, C11, C12, C13, C14, C16, C21
910nCapacitor_SMD:C_0603_1608MetricC20, C22, C23, C24, C28, C29, C30, C31, C32
71MResistor_SMD:R_0603_1608MetricR5, R6, R7, R8, R41, R43, R45
4150kResistor_SMD:R_0603_1608MetricR47, R49, R51, R53
425RResistor_SMD:R_0603_1608MetricR1, R2, R3, R4
4M3MountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
210uCapacitor_SMD:C_0805_2012MetricC1, C3
210uCapacitor_SMD:C_1206_3216MetricC9, C15
21N4148WDiode_SMD:D_SOD-123D2, D3
2220pCapacitor_SMD:C_0603_1608MetricC18, C19
222uCapacitor_SMD:C_1206_3216MetricC5, C7
22k2Resistor_SMD:R_0603_1608MetricR38, R39
2MIE1W0505BGLVHshunt-reversal:MIE1W0505BGLVH_LGA-12_4x5mmU1, U2
2MMBZ15VDLT1GPackage_TO_SOT_SMD:SOT-23D6, D7
110kResistor_SMD:R_0603_1608MetricR55
11uCapacitor_SMD:C_0805_2012MetricC17
1BYP_INshunt-reversal:Lug_M4_RingJ6
1BYP_OUTshunt-reversal:Lug_M4_RingJ7
1CTRLConnector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_VerticalJ1
1GND_OUTshunt-reversal:Lug_M4_RingJ5
1INshunt-reversal:Lug_M4_RingJ2
1ISO7761DWRPackage_SO:SOIC-16W_7.5x10.3mm_P1.27mmU3
1MCP3208-CI/SLPackage_SO:SOIC-16_3.9x9.9mm_P1.27mmU7
1MIC4467YWM-TRPackage_SO:SOIC-16W_7.5x10.3mm_P1.27mmU6
1Nshunt-reversal:Lug_M4_RingJ4
1Pshunt-reversal:Lug_M4_RingJ3
1SMDJ36CADiode_SMD:D_SMCD1
1SN74HC02DPackage_SO:SOIC-14_3.9x8.7mm_P1.27mmU5
1SN74HC14DPackage_SO:SOIC-14_3.9x8.7mm_P1.27mmU4
1greenLED_SMD:LED_0603_1608MetricD5
1redLED_SMD:LED_0603_1608MetricD4

More from fl4p/shunt-reversal

1
  • 4 layers145 × 80 mmShunt reversal noadc, the printed circuit board in 3D

    Shunt reversal noadc

    fl4p/shunt-reversal

    MOSFET H-bridge current-reversal switch for shunt thermal-EMF cancellation. Script-generated KiCad. NOT RELEASED - see DESIGN.md section 12.

    75 parts

Similar boards

  • 2 layers149.9 × 111.8 mmBc80, the printed circuit board in 3D

    Bc80

    isolenta/bc80

    Homebrew 8-bit computer project

    63 parts1
  • 4 layers252 × 92 mmCooksense, the printed circuit board in 3D

    Cooksense

    misko/prompt2device

    The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

    195 parts3MIT
  • 6 layers160 × 100 mmCourant.before colored actual models 20260918T190457, the printed circuit board in 3D

    Courant.before colored actual models 20260918T190457

    KrasForge/Courant

    A 2D finite-difference physical-modeling synthesis engine in structural VHDL: a vibrating membrane/plate/gong solved on FPGA fabric, with a nonlinear chaos term, playable polyphonically over MIDI/CV.

    199 partsMIT
  • 4 layers150.3 × 132.3 mmMRIAMP, the printed circuit board in 3D

    MRIAMP

    msayad97/Amplifier

    235 parts1
  • 4 layers80 × 60 mmBytebeam ble can, the printed circuit board in 3D

    Bytebeam ble can

    Atif6894/automotive-ble-can-pcb

    A small 4-layer board that sits on a vehicle's 12/24 V harness, talks CAN FD through a TCAN4550-Q1, and exposes it over Bluetooth LE through a CC2340R5-Q1.

    153 parts
  • 4 layers288.5 × 95 mmOTTO Beta Main, the printed circuit board in 3D

    OTTO Beta Main

    bitfieldaudio/otto-hardware

    OTTO hardware files for upcoming beta. WORK IN PROGRESS

    331 parts37
  • 4 layers56.3 × 68.4 mmTest Stand Power Monitor, the printed circuit board in 3D

    Test Stand Power Monitor

    ekatynski/Test-Stand-Power-Monitor

    A small board for cheaply and easily monitoring a motor test stand for a host of data types.

    70 parts

Questions

How big is the Shunt reversal freerouting source PCB?

It measures 145 × 80 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Shunt reversal freerouting source use?

100 parts, built around the MCP3208-CI/SL, MIC4467YWM-TR, MIE1W0505BGLVH-3R and SN74HC02D. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Shunt reversal freerouting source KiCad files?

From the fl4p/shunt-reversal repository on GitHub, at the commit this page was made from: the board is autoroute-freerouting-v2.3.0/shunt-reversal-freerouting-source.kicad_pcb and its schematic autoroute-freerouting-v2.3.0/shunt-reversal-freerouting.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Shunt reversal freerouting source design in my own project?

Its repository states no licence, so its author keeps all rights: ask fl4p before reusing the design.