Skip to content

Main content

Control Reference Unit Dimension Pair

Compare literal control-reference unit and dimension labels without performing dimensional analysis or unit conversion.

Loading tool…

Description

Compare supplied unit and dimension tokens literally.

Control terms depend on error sign, units, sample timing, saturation direction and state conventions. Hysteresis retains state between thresholds, while deadband mapping and output clamping describe different operations. A negative loop-sign product or small scalar derivative does not establish closed-loop stability or safe operation.

Compare supplied unit and dimension tokens literally.

When to use this tool

Use Control Reference Unit Dimension Pair when you already have referenceUnit, measurementUnit, referenceDimension, measurementDimension and need to compare supplied unit and dimension tokens literally.

How to use the tool and how it works

  1. Enter referenceUnit, measurementUnit, referenceDimension, measurementDimension. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read sameUnitToken, sameDimensionToken. Inspect sameUnitToken, sameDimensionToken before interpreting the associated values.

Require all four strings nonempty; return separate exact equality flags for unit tokens and dimension tokens.1

Input fieldMeaning and unitsAccepted input
referenceUnitReference UnitRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
measurementUnitMeasurement UnitRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
referenceDimensionReference DimensionRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
measurementDimensionMeasurement DimensionRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
sameUnitTokenSame Unit TokenRequired. Boolean.
sameDimensionTokenLiteral token equality only; no dimension algebra or unit compatibility is inferred.Required. Boolean.
json
{
  "input": {
    "referenceUnit": "m",
    "measurementUnit": "cm",
    "referenceDimension": "length",
    "measurementDimension": "length"
  },
  "output": {
    "sameUnitToken": false,
    "sameDimensionToken": true
  }
}

Limitations and assumptions

  • No unit parser, conversion, dimension algebra, synonym resolution or compatibility of actual physical quantities is provided.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Use a complete plant, controller, actuator and timing model with verified operating constraints for control decisions. Check interactions among saturation, integrator state, gains and delays; individual algebraic terms do not tune a controller or validate system stability or safety.

References

  1. Calculation and input contract: cybernetics/control-reference-unit-dimension-pair — tool.io

Similar or alternative tools