Fixture · simple tier · Apache-2.0

Fixture: copperheadhq-tps5430-buck

A 12 V to 5 V, 3 A non-isolated buck converter for an industrial control cabinet, built around the Texas Instruments TPS5430 (fixed 500 kHz, internally compensated, 1.221 V feedback reference) with an external B560C Schottky catch diode. It has reverse-polarity, fuse and TVS protection at the input, screw terminals at opposite edges, and a 60 × 40 mm two-layer board in 2 oz copper.

Attribution

Upstream: copperheadhq/copperhead-tps5430-buck-converter at commit e4510a13, rev E, retrieved 2026-11-30. Copyright (c) 2026 the TPS5430 12 V to 5 V Industrial Buck Converter contributors. Upstream licenses hardware/ under Apache-2.0 (CERN-OHL-S-2.0 until that commit) and docs/ under CC-BY-4.0 with Apache-2.0 offered as well; this fixture takes both under Apache-2.0. The upstream licensing statement is preserved verbatim in LICENSE.

Copied verbatim: the six design files in tree/hardware/, copperhead’s drafting input schematic.intent.json among them, and the nine Markdown files in tree/docs/. Not copied: the symbol libraries in hardware/sym-lib-cache/, which are excerpts of the KiCad standard library under CC-BY-SA-4.0 (the schematic embeds a copy of every symbol it places, so nothing fails to resolve); 3D models, fabrication outputs, renders and the rendered schematic in docs/. No design file was altered.

Why the intent file is here. The schematic was drawn by copperhead’s drafting engine and says so in its header, (generator "copperhead-draft"). copperhead (0.13.0 and later) refuses hand edits to such a sheet and accepts changes only through its intent file and a re-draft, so without the intent no run could change this schematic at all. The first live agent run found that (suite 0.5.0); the file was added then. Re-drafting the vendored intent with copperhead 0.13.0 reproduces the vendored schematic byte for byte. A re-draft also re-vendors the symbol libraries, writing sym-lib-cache/ beside hardware/ and repointing hardware/sym-lib-table at it; those are run output, not fixture content.

Why this board

It was designed by copperhead, and it has a vendor reference to be judged against. Every other fixture is someone else’s board; this one is the agent’s own output, which makes it the natural place to ask whether a model can keep working on a design after copperhead has made it. It is also the only fixture whose central part has a published reference design with the same operating point. TI’s datasheet application circuit (SLVS632L rev L, §7.2.1) and evaluation module, the TPS5430EVM-173 (SLVU157A), are both 5 V, 3 A TPS5430 bucks. Their component values are the cited ground truth the tasks on this fixture grade against: the 1.221 V reference, the 10.0 kΩ / 3.24 kΩ divider for 5 V, the EVM’s 5.90 kΩ low leg for 3.3 V, the ENA pin’s 7 V absolute maximum. They are cited by document and section, and no TI text, figure or design file is reproduced, because TI’s terms permit use of its reference material only for developing an application with its parts.

Its docs are part of the fixture, and that is deliberate. Other fixtures are bare design files, and copperhead init scaffolds their docs at setup. This project already is a copperhead project: docs/SPEC.md carries fifteen keyed budgets, docs/BOM.md the datasheet figure behind every part choice, and docs/DECISIONS.md the log of how the board got here. A copperhead run on it reads and updates those files, and the tasks grade whether it does. For the same reason the tasks here declare no setup command. The two layout tasks start from a patch instead, which also withholds the lines of that record that would give their answer away; their READMEs list what each withholds. copperhead init on this tree refuses to overwrite the four hand-edited docs and exits 1, which the runner would record as a setup failure.

It is small, but its budgets pull against each other. Thirty-seven components on one sheet. The output setpoint, the feedback-reference tolerance, the indicator LED’s 1 to 3 mA current window, and the internal compensation’s dependence on output voltage are coupled. A change to the output voltage that touches only the divider leaves one of them broken.

What it establishes about fixtures

Baseline with kicad-cli 10.0.6, the reference CLI, using the commands below:

Check Errors Warnings Detail
ERC 0 0
DRC 0 0 0 unconnected, 0 parity

This is the first vendored fixture that is clean on every count, and the reasons are worth stating so nobody draws the wrong conclusion from it:

  • Library resolution is ignored, not resolved. copperhead set lib_symbol_issues and footprint_link_issues to ignore in the project file. With its libraries absent the board would otherwise raise library-resolution warnings, as every other fixture does.
  • No version drift. The board was laid out and checked under KiCad 10.0.6, so the KiCad 10 geometry errors that FIXTURES.md section 5.1 finds on boards designed under KiCad 7 and 8 do not arise.

A clean baseline makes one thing possible that is not possible elsewhere: grading at warning severity. A value changed in the schematic but not in the board raises a warning-level footprint_symbol_mismatch parity item, which an error-severity assertion cannot see. Measured: changing R3 and R4 in the schematic only adds exactly two such warnings and nothing else.

The schematic file format is 20231120 (copperhead writes the KiCad 8 format) and the board’s is 20260206 (KiCad 10).

Parser notes for task authors

This project draws its rails with its own copperhead_power: library rather than KiCad’s power:. copperhead 0.13.0, pinned from suite 0.3.0, recognizes them from the library’s (power) flag: listNets returns +5V, GND and VIN_BUCK, and listSymbols returns the 37 real components. Under 0.8.1, the previous pin, it did neither (no rails, 69 “components”), so net_present on a rail would have misreported here. Two things still hold under 0.13.0:

  • listNets also returns PWR_FLAG, the value of the three power-flag symbols. It is not a net, so do not assert on it.
  • The parser’s own pin resolver is not a full netlister. Connectivity on this fixture is graded through divider_setpoint, which reads the netlist kicad-cli exports.

Scale

File Lines
Schematic 5,224
Board 16,121
docs/ (nine files) 2,018

A correct value change on this schematic touches two lines: one Value property per resistor. docs/CHANGELOG.md alone is 1,306 lines, so a run that regenerates docs rather than appending to them is visible in the diff.

Verifying this fixture

node scripts/hash-fixture.mjs --check fixtures/copperheadhq-tps5430-buck

Regenerating the baseline reports

Only when the reference kicad-cli version changes, and the new counts belong in fixture.json in the same commit. Run on a copy, never in tree/, because kicad-cli writes a .kicad_prl beside what it reads:

cp -r fixtures/copperheadhq-tps5430-buck/tree /tmp/tps5430 && cd /tmp/tps5430/hardware
kicad-cli sch erc --format json -o erc.json tps5430-12-v-to-5-v-industrial-buck-converter.kicad_sch
kicad-cli pcb drc --schematic-parity --format json -o drc.json tps5430-12-v-to-5-v-industrial-buck-converter.kicad_pcb

This page is rendered from fixtures/copperheadhq-tps5430-buck/README.md in the repository, at the commit the site was built from.

Provenance

From fixture.json. The hash covers only tree/, which is the part copied into the sandbox. Each task pins this hash, and result records made against a different hash are kept separate on the leaderboard.

Upstreamcopperhead TPS5430 12 V to 5 V industrial buck converter, rev E
Commite4510a134619832624be89e7fd1f9a8efa4c4a25
Retrieved2026-11-30
LicenseApache-2.0 · verbatim LICENSE
CopyrightCopyright (c) 2026 the TPS5430 12 V to 5 V Industrial Buck Converter contributors
ModificationsThe six design files in hardware/ (schematic, its drafting intent schematic.intent.json, board, project, design rules, sym-lib-table) and the nine Markdown files in docs/ copied verbatim. The intent file was added in suite 0.5.0: the schematic is engine-drafted, and copperhead 0.13.0 edits such a sheet only through its intent. The symbol libraries the sym-lib-table names (hardware/sym-lib-cache/) were not copied: they are excerpts of the KiCad standard library under CC-BY-SA-4.0, and the schematic carries its own embedded copies of every symbol it places. hardware/lib/3d/ models, docs/schematic.pdf and docs/schematic.svg, fab/, 3d/, images/ and the repository README were not copied. No design file was altered.
Tree hashe927e423f5d2d495779789c2946f51fac90d20b20c367cd1f91bd02af84ef575
KiCadauthored with 10.x, file format 20231120, verified with kicad-cli 10.0.6
Artifactsschematic: hardware/tps5430-12-v-to-5-v-industrial-buck-converter.kicad_schboard: hardware/tps5430-12-v-to-5-v-industrial-buck-converter.kicad_pcbproject: hardware/tps5430-12-v-to-5-v-industrial-buck-converter.kicad_pro
Sourcefixture.json · design tree · baseline reports

Scale

The sizes that a task's diff-ratio bound is set against. A diff ratio is a fraction of the constrained file's line count, so the same percentage allows a very different amount of change on a small board than on a large one. Each task README shows the calculation for its own bound.

Sheets1
Symbols37
Schematic lines5,224
Board lines16,121
Signal netsBOOT, EN, EN_EXT, FB, LED_A, Q1_GATE, SW
Power nets+5V, GND, VIN_BUCK, VIN_FUSED, VIN_PROT, VIN_RAW

Baseline verification

Measured with kicad-cli 10.0.6 on the files as vendored. A baseline error is permitted only when it is enumerated here by type and accounted for in the README above; an unaccounted one disqualifies the board. Tasks check that a run adds no new violations on top of these counts, since a real board in a bare checkout rarely produces a clean report.

CheckErrorsError typesWarningsWarning typesDetail
ERC0none0none
DRC0none0none0 unconnected, 0 parity

Clean on every count under the project's own severities, the only vendored fixture so far that is. Two things make that true and a task author should know both. First, copperhead wrote this project and set `lib_symbol_issues` and `footprint_link_issues` to ignore in the .kicad_pro, which is why the missing sym-lib-cache libraries raise no library-resolution warnings here as they do on every other fixture. Second, the board was designed and checked under KiCad 10.0.6, the reference CLI, so none of the version-drift geometry errors section 5.1 of FIXTURES.md describes apply. Warnings are therefore zero as well, and a task here may grade at warning severity, which makes a schematic-to-board parity mismatch visible.

Tasks on this fixture

TaskTierModeExpectedAssertions
do-tps5430-ena-to-vinmediumdorefusal8
do-tps5430-place-power-stageharddoedit16
do-tps5430-route-power-stageharddoedit13
do-tps5430-vout-3v3mediumdorefusal8
do-tps5430-vout-3v3-acceptedmediumdoedit18