Skip to content

Color pipeline P10: hardware measurement gate and program closure #4044

Open

Description

@zackees

Phase P10 of the color pipeline implementation (see parent issue). Program-level closure gate: per #4032, static datasheet analysis alone cannot close the implementation phase — measured hardware evidence is required.

Scope

Measured ground truth, compatibility hardening, and program sign-off.

  • Instrument measurement (A2, B9): at least one representative WS2812B/SK6812-class strip and one SPI/high-bit-depth strip, across primaries, secondaries, neutral ramp, low codes, full scale, operating temperature. Primary/secondary chromaticity via spectroradiometer (≤ ±0.002 xy on narrowband) or spectrally corrected colorimeter; plain colorimeter only for neutral/luminance tracking. Fixture: fixed geometry, dark surround, logged temperature and drive current.
  • Measurement reports + measured profiles (C7): reports (instrument model/serial, date, fixture, temperature, raw data) checked into FastLED/datasheets, append-only; measured profiles minted with new report IDs (C8.2) and ingested via the P3 pipeline as a reviewed PR. Profile-accuracy budget: median ΔE2000 ≤ 1.5 / max ≤ 4.0 at reference temperature (A1); thermal drift recorded as documentation (B10). Re-measurement triggers documented: new part, bin divergence beyond budget, out-of-budget validation.
  • Legacy compatibility: byte-identical output with color management disabled, proven across representative chipsets and the existing test corpus; the B6 documentation (legacy .fled appearance changes only with CM enabled, and why) shipped in user-facing docs.
  • Program sign-off: full C++ test suite green; representative hardware validation via examples/AutoResearch/AutoResearch.ino + bash autoresearch (no new example sketches); every parent acceptance-criteria row checked or explicitly re-assigned by a follow-up decision issue.

Decisions implemented

A1 (profile budgets), A2, B9, B10, C7; closes the loop on C8/C9 by exercising the mint→ingest→bind path with real measured data.

Acceptance criteria owned

  • Instrument measurement of WS2812B/SK6812-class + one high-bit-depth strip.
  • Legacy output byte-identical with CM disabled.
  • Full C++ tests + representative hardware validation green.

Dependencies

All prior phases (P1–P9).

Deliverables

Measurement reports + measured profiles in FastLED/datasheets, ingested generated profiles, byte-identical regression suite, hardware validation evidence, final program report against the parent's criteria table.

Activity

  1. zackees commented on Sep 19, 2026

    @zackees
    MemberAuthor

    P10 status: everything that does not need the instrument is done

    P10 item state
    Legacy output byte-identical with CM disabled done: tests/fl/channels/channel.cpp pins the unbound output byte for byte on WS2812 and on APA102, SK9822, WS2801, LPD8806 and LPD6803, at full and half brightness. Expected frames are hand-derived from each protocol, not captured (#4461). uno Blink is byte-identical to before the pipeline existed.
    B6 documentation in user-facing docs done: src/fl/fled/FLED_FORMAT.md → "Playback with and without colour management (B6)" (#4461). Writing it found that B6's behaviour half is unimplemented: colour-managed .fled playback does not decode the file's declared colour. That is filed as #4460, which needs an API decision; the workaround is documented.
    Full C++ test suite green green on master (308/308 unit, 95/95 examples).
    Representative hardware validation via AutoResearch the pipeline runs on the bench ESP32-C6 and RP2350 through bash autoresearch --rpc-smoke + colorPipelinePerf (#4454).
    Instrument measurement of a WS2812B/SK6812-class strip and one high-bit-depth strip, reports into FastLED/datasheets, measured profiles ingested via P3 blocked: needs a spectroradiometer or spectrally corrected colorimeter with a controlled fixture. The bench here can drive strips but cannot measure chromaticity, and a plain colorimeter is only allowed for neutral/luminance.
    Every parent acceptance-criteria row checked or re-assigned P1–P9 are closed with evidence. Their remaining items are re-assigned to #4457 (APA102 global brightness), #4458 (float-free bind), #4460 (B6 behaviour) and #4198 (RGBW/RGBWW).

    P10 stays open until the measurement is made.

  2. zackees commented on Sep 19, 2026

    @zackees
    MemberAuthor

    Update: every re-assigned follow-up is now resolved and merged.

    This issue is now the only open sub-issue of #4034. What remains is the instrument measurement, which needs a spectroradiometer or spectrally corrected colorimeter.

  3. zackees commented on Sep 23, 2026

    @zackees
    MemberAuthor

    Instrument handoff / quote-ready pilot (research only)\n\nP10 remains open: no measured strip data or calibrated profile has been produced. Datasheet mcd/current/power figures do not establish spectral power distribution, CIE chromaticity, or code-to-light response; do not infer runtime profile values from them.\n\nPotential measurement-service starting points (capability for this custom protocol/code sweep still needs confirmation):\n- Elite Electronic Engineering photometric testing — advertises sphere/spectroradiometer and LED photometry.\n- Gamma Scientific accredited calibration/testing — advertises color/photometric/electrical and temperature testing under its accredited services. Its GS-1220 system specifications are instrument specifications, not a guarantee of uncertainty on our strips.\n- LightLab International LED testing — advertises LED spectral/color measurement; geography and custom-sequence suitability need checking.\n\nAsk for a small pilot quote before a full matrix: one identified WS2812B/SK6812-class sample and one identified SPI/high-bit-depth sample, with exact part/lot/bin, supply and pixel count fixed. Have the lab confirm it can drive/log the actual digital code sequence safely, maintain fixed geometry/dark surround and thermal equilibrium, log board/ambient temperature and V/I, and measure R/G/B, C/M/Y, neutral ramp (including low codes), and full scale at reference and operating temperatures. Request wavelength-resolved raw SPD, CIE 1931 xyY and relative luminance per state, repeated readings, instrument model/serial/calibration, fixture details, raw machine-readable files, uncertainty for narrowband and low-code states, and corrections for bandpass/stray light. The issue's ≤ ±0.002 xy requirement must be demonstrated for the relevant states—not assumed from a catalog figure. NIST notes that spectral stray light can materially distort LED chromaticity, especially green LEDs.\n\nNo lab has been contacted and no purchase or shipping has been authorized. Once a pilot report exists, validate it against the measured-profile schema and the P10 accuracy gate before any runtime-admissible profile is minted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions