Challenge 1: Three-Point Calibration
Challenge 1: Three-Point Calibration
Technical boundaries. The embedded model assumes preset error reductions, including a quarter of the entered non-linearity for its multi-point residual estimate. It illustrates five fixed multi-point references and does not implement the three-point interpolation task described beneath it.
Challenge 1: Three-Point Calibration
Run it: Before you code the three-point version, compare the methods in the reference animation below. Select 2-point and then Multi-point on the same sensor type and watch how a straight two-point line leaves error in a bending response while multi-point interpolation follows the curve. Use it to predict how much accuracy the added midpoint should buy you before you measure it in the simulator.
Goal: Extend the calibration to use three reference points for improved accuracy across the range.
Tasks:
- Add a third reference point at 50% (midpoint)
- Capture three points: low (10%), mid (50%), high (90%)
- Use piecewise linear interpolation:
- For values < 50%: use low-to-mid segment
- For values >= 50%: use mid-to-high segment
- Compare accuracy against two-point calibration
Hint: Store two sets of gain/offset coefficients and select based on input value.