CALCULATORS / CONTROL SYSTEMS AND DYNAMIC RESPONSE
Control sampling and delay budget calculator
Sample-period and Nyquist screen; no anti-alias filter design.
SCENARIO COMPARISON
Compare the numbers.
This source describes an analytical model. Its quantities and checks are the view.
| Scenario | periods | ratio |
|---|---|---|
| 0.001 | 10 | |
| 0.00125 | 8 |
All calculated quantities are listed with the inputs. Switch to Source to inspect the equations.
Change an input to see the consequences.
BASELINE INPUTS
CALCULATED
Edits change the baseline source.
Illustrative first-order example. Checks are editable requirements, not design standards. The broader topic may require additional equations, data, and validation.
Formula and units
This example uses the following equations. Input names and units match the editable source above.
- period
period = 1/sampleFrequency [s]- ratio
ratio = sampleFrequency/bandwidth
Original worked example
These are the baseline values in the downloadable source. Edits above let you test your own values.
Given
- sample frequency
- 1000 Hz
- bandwidth
- 100 Hz
Calculated
- period
- 0.001 s
- ratio
- 10
Assumptions and limits
Sample-period and Nyquist screen; no anti-alias filter design.
The requirement checks use the limits written in this example. Passing a check does not establish that the model covers every load, material behavior, or operating condition in a real design.
Download this .napkin example ↓Take it further with your agent
Napkin keeps the inputs, equations, checks and assumptions together in one study. Your agent sets it up; you change the numbers.
codex 'Use Napkin (https://napkin.engineering/mcp, or the local Napkin plugin) to build a study: Control sampling and delay budget. Inputs: plant bandwidth; sample rate; computation and actuator delays. Outputs: delay phase; timing budget. Model scope: Declared linear or low-order nonlinear plant models. Read napkin_capabilities and the current snapshot. Ask me for the values that matter, label assumptions with units, author .napkin source, validate it and apply it with napkin_source using the current revision, then open the study. Add checks for the limits I supply. Keep unsupported analyses explicit.'Claude needs the Napkin connector; Codex needs the Napkin plugin. Set up your agent ↗
The broader study
The topic brief below describes the broader scope. The worked example above states the particular calculation it implements.
- Inputs: plant bandwidth, sample rate, computation and actuator delays
- Outputs: delay phase, timing budget
- Modes: calculate, compare, sweep
- Drawing: Response and stability plots
EXECUTABLE WORKED EXAMPLE · FIRST-ORDER MODEL · CHECK THE SCOPE & ASSUMPTIONS
More in control systems and dynamic response
- First-order step response calculator
- Second-order response calculator
- PID output from error, integral and derivative calculator
- PI tuning for a first-order delayed process calculator
- Transfer-function frequency response calculator
- Stability margins from crossover measurements calculator
- Continuous-to-discrete model calculator
- Motion feedforward estimate calculator
- Scalar state-space equilibrium and pole calculator