Description
Return sample age and completed hold periods.
Sampled control models distinguish physical delay, held-state age, phase convention and quantization. A local frequency factor or error envelope assumes the stated sample and signal model, rather than measuring actual sensor or plant behavior.
Return sample age and completed hold periods.
When to use this tool
Use Sampled State Hold Age when checking one supplied sample, delay or quantization convention.
How to use the tool and how it works
- Enter sampleAt, evaluationAt, holdPeriod. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read age, completedPeriods. Use the output convention below.
Return sample age and completed hold periods. Require positive holdPeriod and evaluationAt >= sampleAt; age is their difference and completedPeriods = floor(age/period).1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| sampleAt | Sample At | Required. Finite number. |
| evaluationAt | Evaluation At | Required. Finite number. |
| holdPeriod | Hold Period | Required. Finite number; strictly above 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| age | Age | Required. Finite number. |
| completedPeriods | Completed Periods | Required. Safe integer. |
{
"input": {
"sampleAt": 10,
"evaluationAt": 35,
"holdPeriod": 10
},
"output": {
"age": 25,
"completedPeriods": 2
}
} Limitations and assumptions
- This measures supplied timing only, not actual sample freshness or system behavior.
- 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.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use a validated sampled-system and measurement model for practical control design, operating limits and safety.
References
Similar or alternative tools
- Sample Hold Phase Delay Factor
Return ideal zero-order-hold frequency factors.
- Sample Hold Delay Phase Sign
Return delay phase under an explicit exponential convention.