Challenge 1: Three-Point Calibration

Challenge 1: Three-Point Calibration

animation
sensing
calibration
Try Select Open panel for Calibration Methods Reference. Press Play with 2-point selected, then pause and select Multi-point to compare the references.
Observe The opening 2-point model meets Accuracy target and uses two references. Play moves the marker through the stages; Multi-point shows five reference markers.
Explain Accuracy target is compared with the square root of the sum of squared remaining error components; Play advances a marker along the selected illustrative correction curve.

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.

Note

Goal: Extend the calibration to use three reference points for improved accuracy across the range.

Tasks:

  1. Add a third reference point at 50% (midpoint)
  2. Capture three points: low (10%), mid (50%), high (90%)
  3. Use piecewise linear interpolation:
    • For values < 50%: use low-to-mid segment
    • For values >= 50%: use mid-to-high segment
  4. Compare accuracy against two-point calibration

Hint: Store two sets of gain/offset coefficients and select based on input value.

Back to the chapter