← Commit history

Comparison: keep the With / Without AI Flow columns through every section

John Lauer ·5c704e24b9 · ·parent 8918d7b
1 file changed +33−57
docs/comparison/README.md+33−57
@@ -88,66 +88,42 @@ The timing and token figures describe the original two runs. The images show the | 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 | -## Evidence the AI Flow run produced--### Laser-driver transients--![Simulated laser current at four supply and diode corners](laser-transient.png)--The four full-command ngspice cases settle near 135.392 mA. The worst simulated startup or shutdown peak is 135.394 mA, about 0.003 mA above its settled current. The results use vendor models for the pass MOSFET, supervisor, error amplifier and Schottky, plus an electrical fit for the laser diode. [Simulation results](https://wiki.adom.inc/john/self-mixing-interferometer/files/sim/laser-results.json)--### Photodiode amplifier stability--![Phase margin and bandwidth across four TIA gains](tia-phase-bandwidth.png)--This chart plots the reported OPA320 results at four gains. The two monitor polarities give the same phase margin and bandwidth at each gain. Phase margin ranges from 72.6° to 84.0°. Bandwidth ranges from 142 kHz at 150 kΩ to 4.32 MHz at 1 kΩ. The isolated nominal model includes input capacitance and leaves detector shot noise and most board parasitics outside its scope. [TIA simulation data](https://wiki.adom.inc/john/self-mixing-interferometer/files/sim/tia-results.json)--### Current and temperature across the copper--![Adom Fields current density on front and back copper](fields-current.png)--![Adom Fields temperature rise in still and moving air](fields-temperature.png)--The released Fields maps show where current concentrates and estimate a peak rise of about 55 to 56 °C in still air for the specified load. The design review records open decoupling findings and an electrolytic temperature estimate near its rating. First-assembly measurements are still due. [Design review](https://wiki.adom.inc/john/self-mixing-interferometer/files/design-review/README.md)--### Probe access--![Thirteen front-side probe pads with net names](probe-map.png)--The map plots the 13 front-side pad centers from the KiCad board and takes the net names from the project's probe plan. It identifies the power rails, shunt sense, TIA outputs, ADC inputs and sync pad. [Probe plan](https://wiki.adom.inc/john/self-mixing-interferometer/files/docs/explorer/probe-map.json)--### Fabrication read-back--| Released files | What the comparison checked |-|---|---|-| 9 Gerbers and 2 drill files | Read the archive, checked file headers and terminators, and matched each file byte-for-byte against the JLCPCB upload ZIP. |-| 49 assembly BOM rows and 134 placements | Matched the BOM and placement reference sets. Each placement's center and side match its footprint in the released KiCad board. |--These checks cover the released digital files. Assembly orientation and the supplier's production preview remain first-order checks. [Fabrication archive](https://wiki.adom.inc/john/self-mixing-interferometer/files/self-mixing-interferometer-fab.zip) · [Fabrication notes](https://wiki.adom.inc/john/self-mixing-interferometer/files/docs/fabrication.md)--## 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. The AI Flow design review still lists decoupling and capacitor temperature findings. Hardware bring-up remains open. Bench work still needs to measure the laser transient, component temperatures and detector headroom, and confirm optical alignment.+## Simulation and analysis evidence++| | With AI Flow | Without AI Flow |+|---|---|---|+| Laser-driver transients | [![Simulated laser current at four supply and diode corners](laser-transient.png)](laser-transient.png)<br>Four ngspice cases settle near 135.392 mA; the worst start-up or shutdown peak is 135.394 mA, about 0.003 mA above the set current. Vendor models for the pass MOSFET, supervisor, error amplifier and Schottky, plus an electrical fit for the laser. [Results](https://wiki.adom.inc/john/self-mixing-interferometer/files/sim/laser-results.json) | No simulation. The driver loop (OPA810 + BCP53, 5 to 50 mA, 2 to 22 ms soft start) is checked by hand calculation only. |+| Photodiode amplifier stability | [![Phase margin and bandwidth across four TIA gains](tia-phase-bandwidth.png)](tia-phase-bandwidth.png)<br>OPA320 at four gains: phase margin 72.6° to 84.0°, bandwidth 142 kHz (150 kΩ) to 4.32 MHz (1 kΩ). [Data](https://wiki.adom.inc/john/self-mixing-interferometer/files/sim/tia-results.json) | No simulation. Gain, bandwidth and minimum feedback capacitance are worked out by hand (4.99 kΩ with 10 pF, about 3 MHz). |+| Current and temperature in the copper | [![Current density on front and back copper](fields-current.png)](fields-current.png) [![Temperature rise in still and moving air](fields-temperature.png)](fields-temperature.png)<br>Peak rise about 55 to 56 °C in still air at the rated loads; the review lists open decoupling and capacitor-temperature findings. [Design review](https://wiki.adom.inc/john/self-mixing-interferometer/files/design-review/README.md) | No current or heat analysis. The page notes by hand that the 5 V regulator drops about 6.5 V and "runs warm". |+| Probe access | [![Thirteen front-side probe pads with net names](probe-map.png)](probe-map.png)<br>13 test pads, each reachable by the workcell probe and named by net. [Probe plan](https://wiki.adom.inc/john/self-mixing-interferometer/files/docs/explorer/probe-map.json) | No test plan. A 5-pin analog header (J5) and a current-sense header (J6) for a scope and multimeter. |+| Fabrication read-back | 9 Gerbers and 2 drill files matched byte for byte against the JLCPCB upload; 49 BOM rows and 134 placements matched against the board, centre and side. [Fab archive](https://wiki.adom.inc/john/self-mixing-interferometer/files/self-mixing-interferometer-fab.zip) | Gerbers, drill file and BOM written; no read-back reported. |++## What the checks caught before ordering++| | With AI Flow | Without AI Flow |+|---|---|---|+| Laser current spike at shutdown | Found by simulation: the first driver pushed the diode past its limit when the supply dropped. Fixed with a hold-up reservoir and a damped turn-off. | Not checked; no transient simulation was run. |+| Overheating regulator | Found by the heat solve: 1.7 W and 76.5 °C rise against a 60 °C limit. Fixed by moving the voltage drop into resistors, no heatsinks. | Not checked; a hand note flags one warm regulator. |+| Wrong-package diode | A substitute Schottky was a larger package than its footprint; replaced before routing. | Not checked against package drawings. |+| Unreachable test point | One probe point sat 1 mm beyond the probe's reach; moved. | No probe plan to check. |++## What a person still had to catch++| | With AI Flow | Without AI Flow |+|---|---|---|+| Laser pins | The laser's footprint was mirrored by hand instead of with KiCad's flip, so the 3D leads missed their holes and the build guide used another maker's pin numbers. Fixed and checked against the Opnext datasheet. | Generic TO-56 footprint, M-type pinout only; the page asks the builder to confirm their own laser's pins. No 3D model, so a mismatch would not show. |+| Component pages | Skipped by the first run (AI Flow suggests them but does not insist). A second pass made or reused a page for all 55 parts and linked the board to them. | None made. |+| 3D model alignment | A footprint-versus-model audit found the trimpots 2.54 mm off and one capacitor off; fixed in v1.0.4. | Not audited; the Pico and laser have no models at all. |+| Bench work | Not built yet: the laser transient, temperatures, detector headroom and optical alignment still need measuring. | Not built yet. Nobody has reviewed this board the way the AI Flow board was reviewed, so it may have mistakes no one has looked for. |  ## 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.+| | With AI Flow | Without AI Flow |+|---|---|---|+| Parts | Its own picks from datasheets: TPS7A4700 regulators, OPA320 amplifiers, a TPS3808 supervisor | The parts named in the video: LT1763, OPA810, MCP604 |+| Laser current | 0 to 135 mA, with a separate hard cutoff | 5 to 50 mA |+| Laser recommendation | A specific single-longitudinal-mode diode (HL6501MG, about 65 mA) with its jumper settings | Selection advice; the builder picks the diode |+| Laser pinouts supported | Selectable by solder jumpers | M-type only |  ## What we take from it