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
- Enter referenceUnit, measurementUnit, referenceDimension, measurementDimension. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| referenceUnit | Reference Unit | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| measurementUnit | Measurement Unit | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| referenceDimension | Reference Dimension | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| measurementDimension | Measurement Dimension | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| sameUnitToken | Same Unit Token | Required. Boolean. |
| sameDimensionToken | Literal token equality only; no dimension algebra or unit compatibility is inferred. | Required. Boolean. |
{
"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
Similar or alternative tools
- Error Reference Measurement Sign
Choose a supplied reference-versus-measurement error sign convention.
- Sensor Reference Frame Sign Choice
Reverse a supplied sensor value under an axis flag.