Embedded watchdog timeout budget calculator

Calculate maximum observed kick interval and shortest actual timeout with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use maximum observed kick interval and shortest actual timeout to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Ordered watchdog kick times (seconds)
0,0.1,0.25,0.4
Nominal watchdog timeout (seconds)
0.2
Clock frequency tolerance (%)
5
Maximum observed kick interval (seconds)
0.15
Shortest actual timeout (seconds)
0.190476
Worst-case observed timeout margin (seconds)
0.040476

Try another scenario

Ordered watchdog kick times (seconds)
[0, 0.1, 0.25, 0.4]
Nominal watchdog timeout (seconds)
0.22000000000000003
Clock frequency tolerance (%)
5
Maximum observed kick interval (seconds)
0.15
Shortest actual timeout (seconds)
0.209524
Worst-case observed timeout margin (seconds)
0.059524
Calculation method

Calculation method

Maximum observed kick interval (seconds)

Largest consecutive timestamp difference.

Shortest actual timeout (seconds)

Nominal timeout/(1+tolerance/100).

Worst-case observed timeout margin (seconds)

Shortest timeout minus maximum kick interval.

Symbols and units
a
Ordered watchdog kick times (seconds)
b
Nominal watchdog timeout (seconds)
c
Clock frequency tolerance (%)

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • Task timing bounds, kick points, supplied clock tolerance. Returns Timeout margin scenarios. All coefficients and observations are user supplied; results describe only the stated mathematical model. Quantities are deterministic calculations from supplied observations and assumptions; no external data is fetched. Supported limits: Finite inputs only; numeric fields bounded as labelled. Lists and JSON records are limited to 256 entries unless a stricter tool bound is stated. No automatic design approval, legal conclusion, treatment recommendation or safety certification. Ordered watchdog kick times (seconds): minimum 0, maximum 1000000000000.0. Nominal watchdog timeout (seconds): minimum 1e-12, maximum 1000000000000.0. Clock frequency tolerance (%): minimum 0, maximum 99.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.