by John Lauer
Two-board Molecule interferometer with onboard RP2040, USB-C data, 15 V USB-C PD power and a JST stage interface.
← Commit history
Add a with/without AI Flow comparison sub-page
4 files changed
+62
docs/comparison/README.mdadded+62@@ -0,0 +1,62 @@+# Same brief, with and without AI Flow++People asked a fair question: if an AI can already design a PCB, why use Adom AI Flow at all? So we ran the same request twice and kept everything we could measure.++The request, word for word: watch [Breaking Taps' self-mixing interferometer video](https://www.youtube.com/watch?v=k4AEZ35VklM), make a PCB for his build, and publish a wiki page with the video link, a clear explanation of how the board works, a recommended laser diode and the rest of the optics, so others can build it.++| | With AI Flow | Without AI Flow |+|---|---|---|+| AI | OpenAI Codex (GPT-6.2), running AI Flow, with a supervising Claude that made four decisions during the run | Claude Opus 5.5 on its own, told not to use AI Flow and not to look at the other board |+| Wall time to a finished, published board | about 5 hours (301.6 min to `finish`) | 48 minutes |+| Tokens (as reported by each AI) | 341 M processed (338 M of them cached context), 447 k generated | 26.2 M processed (25.9 M cached context), 145 k generated |+| Human or supervisor input | 4 decisions (laser current range, input voltage, how to shed regulator heat, pours before judging heat), plus two "keep going" nudges | none |++++*With AI Flow: 92 x 84 mm, Adom molecule format, 179 parts, Raspberry Pi Pico socketed on the board.*++++*Without AI Flow: 110 x 75 mm, 85 parts. The Pico and the laser have no 3D models on this board, so they do not show.*++## What each run checked++| Check | With AI Flow | Without AI Flow |+|---|---|---|+| KiCad 10 ERC and DRC | 0 errors, 0 unconnected | 0 errors, 0 unconnected |+| Schematic matches the board | KiCad's own netlist check, 430 of 430 pins | its own script, 247 of 247 pins |+| SPICE simulation | photodiode amplifiers (phase margin, bandwidth) and the laser driver at power-up and power-down, with the manufacturers' own transistor, diode and supervisor models | none; hand calculations only |+| Current and heat in the copper | Adom Fields solve of the routed, poured board at full load | none |+| Test plan | 13 test points, each placed where a probe can reach it | none |+| Fab files read back | Gerbers, drill, BOM and placement checked against the board | Gerbers and BOM written; no read-back reported |+| Component pages for every part | yes, after a second pass (see below) | no |++## What the checks caught++These are problems the AI Flow run found and fixed before anything was ordered:++- **Laser current spike at shutdown.** The first laser driver simulation pushed the diode past its current limit when the supply dropped. The design gained a hold-up reservoir and a damped turn-off; the final simulations peak 0.003 mA above the set current.+- **A regulator that would cook.** The heat solve showed the laser regulator burning 1.7 W and running 76.5 °C above room temperature, over its 60 °C limit. The fix moved most of the voltage drop into resistors ahead of the regulators, with no heatsinks.+- **A swapped diode.** A substitute Schottky turned out to be a larger package than its footprint; it was replaced before routing.+- **Test points out of reach.** One probe point sat 1 mm beyond the test probe's reach and was moved.++## What neither run caught on its own++Honest part of the story: the AI Flow board still shipped with two mistakes that a person spotted afterwards.++- **The laser's pins.** The laser sits on the back of the board, and its footprint was mirrored by hand instead of with KiCad's own flip. The 3D leads missed their holes, and the build guide used another maker's pin numbers for this diode. Fixed in a later revision, checked against the Opnext datasheet.+- **No component pages.** AI Flow suggests a wiki page for every part, but it does not insist, and the first run skipped them. A second pass made or reused a page for all 55 parts and linked the board to them.++The board made without AI Flow has not had the same outside review, so it may carry mistakes of its own that nobody has looked for yet.++## Where they differ in the design++- **Parts.** Without AI Flow, the AI reused the parts named in the video (LT1763, OPA810, MCP604). With AI Flow, it chose its own from datasheets (TPS7A4700 regulators, OPA320 amplifiers, a TPS3808 supervisor).+- **Laser range.** 0 to 135 mA with a separate hard cutoff, versus 5 to 50 mA. The single-longitudinal-mode diode recommended on this page runs at about 65 mA.+- **Laser choice.** The AI Flow page names a specific single-longitudinal-mode diode (HL6501MG), with its jumper settings. The other page gives selection advice and leaves the pick to the builder.++## What we take from it++Without AI Flow, the AI got to a clean DRC and a good write-up six times faster and with about a thirteenth of the tokens. With AI Flow, it produced a board whose laser driver, amplifiers and copper heat were simulated before ordering, and those checks found real faults. The two runs used different AIs and the AI Flow run had a supervisor, so this is a field report, not a controlled benchmark. A cleaner test would give the same AI the same prompt with and without AI Flow.++[Back to the board](../../README.md)
docs/comparison/comparison-icon.pngadded⋯ 1 unchanged line ⋯
docs/comparison/with-aiflow.pngadded⋯ 1 unchanged line ⋯
docs/comparison/without-aiflow.pngadded⋯ 1 unchanged line ⋯