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
- Prepare measured device or circuit evidence with matched frequency, temperature, waveform and calibration conditions. Supply explicit caller ratings and limits.
- Enter calibrationVoltagesV, calibrationDistancesCm, observedVoltageV using the field table and calculation rules, then run the tool.
- Read withinCalibrationDistanceCm. The explanation below defines the units, signs, ordering and any flags or placeholder values.
- 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 field | Meaning | Value type; see rules below | Requirement |
|---|---|---|---|
| calibrationVoltagesV | Calibration voltages v | list of number | Required |
| calibrationDistancesCm | Calibration distances cm | list of number | Required |
| observedVoltageV | Observed voltage v | number | Required |
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 field | Meaning | Value type |
|---|---|---|
| withinCalibrationDistanceCm | Within calibration distance cm | number |
{
"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
Similar or alternative tools
- Proximity Sensor Range Calculator
A sensor range criterion can be located on target-specific measured detection fractions. Observed range endpoints expose censoring.
- 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.