
The linear response observed in high-end instrumentation should be a baseline expectation for scientific measurement. However, in the commercial spectroscopy market, vendors often "gloss over" non-linear hardware performance by promising a software-side fix.
1. The Mathematical "Canard"
As seen in the figure above, the "S-curve" response on the right (b) is often presented as a minor calibration hurdle. This is a metrological "canard" that ignores the failure of their design. While vendors claim these errors can be fixed in post-processing, they are actually masking a signal chain that cannot keep up with the physical reality of the light being measured.
There is a widespread practice of claiming that hardware non-linearity can be corrected through the pixel-wise application of a global polynomial:
S(Aₙ) = a₀ + a₁Aₙ + a₂Aₙ² + a₃Aₙ³ + ...
In this model, Aₙ is the raw intensity of pixel n, and the coefficients aᵢ are assumed to be constant across the entire array. While mathematically convenient, this model is fundamentally out of sync with the reality of any instrument where the response is limited by bandwidth or slew.
2. The Smoking Gun: The Mercury Line Test
To demonstrate the failure of this global model, we evaluated the coefficients required to linearize the response of the commercial instrument shown in (b) using two mercury (Hg) lines: the broad 546nm peak and the narrow 435nm peak.
Inconsistency of Polynomial Correction
| Spectral Line | a0 (Constant) | a1 (x1) | a2 (x2) | a3 (x3) |
|---|---|---|---|---|
| Broad Peak (546nm) | -0.0112 | 1.1692 | -0.6160 | 0.6320 |
| Narrow Peak (435nm) | -0.0343 | 1.5597 | -2.0373 | 1.7793 |
The results are stark: the narrow, sharper peak requires second- and third-order coefficients that are nearly triple those of the broader peak. Furthermore, the 23.1 mV gap in the constant term (a0) confirms that the "correction" is not a static property of the pixel, but a dynamic function of the signal’s geometry.
3. The Physical "Why": Slew-Limited Response
The divergence in these coefficients proves that the error is tied to the steepness (the dV/dt) of the spectral line. In a slew-limited instrument, non-linearity is a dynamic result of how the signal changes across a set of pixels. Because a global polynomial is static, it is mathematically irreconcilable with the physical behavior of the sensor signal chain.
4. Hardware Integrity Over Software "Gloss"
The goal of our open-science project is to provide metrological and radiometric truth at the hardware level, eliminating the need for mathematical "guesses". By using a hardware-locked state machine architecture and a sub-millivolt noise floor, we have achieved 0.19% Integral Non-Linearity (INL) without software trickery.
Our mission is to provide affordable, high-fidelity hardware to under-resourced scientists who cannot afford to rely on "black box" commercial corrections that fail under scrutiny.
5. The Proof of Radiometric Truth
As demonstrated in Figure 2, the difference between a high-integrity signal chain and a software-dependent one is unmistakable. In our instrument (a), normalizing the spectral traces by exposure time results in a perfect overlay across the dynamic range. This suggests that the system is capturing radiometric truth; the data scales linearly with the photon count because the high-slew AFE and 16-bit differential ADC preserve the peak geometry without "funny business" in the baseline. Conversely, the commercial unit (b) shows significant divergence. This inconsistency confirms that their "S-curve" is not a simple scaling factor but a dynamic distortion that varies with intensity, making it physically impossible to reconcile through standard normalization or global polynomial correction.
- Closing: Open Science in Practice
The goal of this project has been to raise the bar and provide high-fidelity, linear spectroscopy in an open-source design at a fraction of the cost of commercial units. By prioritizing hardware integrity and radiometric truth, we have moved away from metrological fictions and toward an instrument that any scientist can trust.
Full documentation, including the hardware-locked state machine architecture and 0.19% INL performance data, is available on GitHub for the community to pick up, use in their research and advance the standard of open-source instrumentation:https://github.com/drmcnelson/TCD1304-Sensor-Device-with-Linear-Response-and-16-Bit-Differential-ADC