← Commit history

Add the one-button Calibrate to the self-calibration section

John Lauer ·1b1916bf41 · ·parent f5746e3
1 file changed +7−1
README.md+7−1
@@ -39,9 +39,15 @@ In his video, Breaking Taps turns a trim pot by hand to set the laser power. Thi - **Tune for fringes** (`smi-dash tune`). It sweeps the laser current and re-centres the signal at each step. Each step is scored by fringe size against noise, with clipping penalised. Then it refines around the best current and tries each gain. A sweep takes about 10 seconds and needs a moving target, which the [test stage](test-stage/README.md) is designed to provide. - **Check every setting.** The Pico reads the laser set-point back from its DAC before the laser can turn on, and the head measures the real laser current. The Pico checks it 50 times a second and turns the laser off above the limit. +One **Calibrate** button (`smi-dash calibrate`) does it all, with the test stage supplying the motion. It homes the stage, zeroes the current readback, centres and tunes, then steps the stage again and reports the result before and after. In the simulator, counting a 1024-pulse step went from 0 nm before to 15.46 µm after.++<img src="software/screenshots/stage-calibrate.png?v=87f7134a" width="900" alt="The Stage tab after a simulated calibration">++*The Stage tab after Calibrate, in the simulator. It runs on the simulator only for now.*+ Every step is also a command, so an AI or a script can retune the board whenever the laser, the mirror or the temperature changes. -<img src="software/screenshots/controls-tuned.png?v=198a825b" width="900" alt="The Controls tab after an automatic tune">+<img src="software/screenshots/controls-tuned.png?v=14b37bd8" width="900" alt="The Controls tab after an automatic tune">  *The Controls tab after an automatic tune, in the simulator: the laser current, gain and offsets were all set by software. Tune and auto-centre have not been run on a physical board yet. Details are in the [software guide](software/README.md).*