Infrared Distance From Voltage Calculator

Interpolate observed infrared sensor voltage on explicit monotone caller branch only; near/far ambiguity, target reflectivity and uncalibrated extrapolation are not guessed.

Description

An infrared sensor may have ambiguous near/far branches.

An infrared sensor may have ambiguous near/far branches. A chosen monotone calibration branch supports in-range interpolation.1

Enter strictly increasing finite voltage observations and aligned positive strictly decreasing distances with at least two points, plus an in-range query. Return interpolated centimeters.

When to use Infrared Distance From Voltage Calculator

Use Infrared Distance From Voltage Calculator when you need to evaluate the supplied records under the calculation and evidence rules below. No branch selection, reflectivity correction or extrapolation is inferred.

Prepare measured device or circuit evidence with matched frequency, temperature, waveform and calibration conditions. Supply explicit caller ratings and limits.

How to use Infrared Distance From Voltage Calculator and understand its results

  1. Prepare measured device or circuit evidence with matched frequency, temperature, waveform and calibration conditions. Supply explicit caller ratings and limits.
  2. Enter calibrationVoltagesV, calibrationDistancesCm, observedVoltageV using the field table and calculation rules, then run the tool.
  3. Read withinCalibrationDistanceCm. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
Input fieldMeaningValue type; see rules belowRequirement
calibrationVoltagesVCalibration voltages vlist of numberRequired
calibrationDistancesCmCalibration distances cmlist of numberRequired
observedVoltageVObserved voltage vnumberRequired

Enter strictly increasing finite voltage observations and aligned positive strictly decreasing distances with at least two points, plus an in-range query. Return interpolated centimeters.

distance=linearInterpolation(voltage,distance,observedVoltage)

Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.

Output fieldMeaningValue type
withinCalibrationDistanceCmWithin calibration distance cmnumber
json
{
  "input": {
    "calibrationVoltagesV": [
      1,
      2,
      3
    ],
    "calibrationDistancesCm": [
      30,
      15,
      10
    ],
    "observedVoltageV": 1.5
  },
  "output": {
    "withinCalibrationDistanceCm": 22.5
  }
}

Limitations and assumptions

No branch selection, reflectivity correction or extrapolation is inferred.

Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Numeric lists are limited to 10,000 entries; string lists to 128 strings of at most 128 characters each. The rules above may impose smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.

Alternative or Complementary methods

Use Proximity Sensor Range Calculator: A sensor range criterion can be located on target-specific measured detection fractions. Observed range endpoints expose censoring. For a complementary task, use Reed Switch Operate Distance Calculator: Reed operate distance can be bracketed on a measured axial-field curve. Lack of a crossing should remain explicitly unknown.

References

  1. Infrared Distance From Voltage Calculator — tool.io

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies