Skip to content
Documentation sections

Sensor Accuracy Budget

POSThttps://rftools.io/api/py/v1/calculate

Slug sensor-accuracy-budget. Calculate total sensor error using RSS and worst-case methods. Analyze offset, gain, nonlinearity, resolution, and temperature drift contributions.

Inputs

Send every one of these in inputs, in the units shown. Most are required: a call without one is refused (400) and costs nothing; one the calculator can do without takes the default shown. An input outside its range is still computed and flagged in the provenance.

Inputs of sensor-accuracy-budget
NameUnitRangeDefaultDescription
offsetErrornumber% FSat least 00.1Offset Error
gainErrornumber% FSat least 00.2Gain/Sensitivity Error
nonlinearitynumber% FSat least 00.1Nonlinearity
resolutionnumber% FSat least 00.05Resolution Error
tempDriftnumber% FS/°Cat least 00.005Temp Drift
tempRangenumber°Cat least 040Temperature Range
errorTermsnumbernone0 … 60How many further error terms the budget includes (0–6)
term1Errornumber% FS0 … 1000A further error, such as hysteresis, repeatability, long-term stability or the ADC reference
term2Errornumber% FS0 … 1000A further error, such as hysteresis, repeatability, long-term stability or the ADC reference
term3Errornumber% FS0 … 1000A further error, such as hysteresis, repeatability, long-term stability or the ADC reference
term4Errornumber% FS0 … 1000A further error, such as hysteresis, repeatability, long-term stability or the ADC reference
term5Errornumber% FS0 … 1000A further error, such as hysteresis, repeatability, long-term stability or the ADC reference
term6Errornumber% FS0 … 1000A further error, such as hysteresis, repeatability, long-term stability or the ADC reference

Outputs

Returned in values, by key. A value that is unbounded or undefined is null.

Outputs of sensor-accuracy-budget
FieldUnitDescription
tempError% FSTemperature Error
totalRssheadline% FSTotal Accuracy (RSS)
totalWorstCase% FSTotal Accuracy (Worst Case)

Calling it

  • Calculate: one call, the request and response in full, and its errors.
  • Batch: this calculator with others, or a sweep, in one request.
  • Solve for a target: the value of one input that brings an output to a target.