resonator
A vibration energy harvester as a base-excited mass-spring-damper (Williams and Yates): mass, tuned frequency, mechanical and electrical damping, the source's vibration (RMS acceleration or velocity).
Readings harvested power, relative swing, half-power bandwidth, the power when the source runs off tune, the margin against a power budget, the piezo coupling needed (estimate).
File power.csv (power and swing across ±20 % of the tuned frequency).
- Field
- Dynamics and control
- Version
- 0.1.0
- Runs as
- Compiled (Rust)
- Typical run
- 1 s
Compiled from source: run sh packs/install.sh once before admitting it.
Known answers it must pass
r0001tuned, matched damping: P = m A² / (16 ζ
w_n) (Williams and Yates)passedpower_uW198.944 ± 2 × 10⁻⁷198.944lockedunder 0.01 % of the tolerance usedr0002far below resonance the mass follows the base: swing → A/w_n² (A/w_n² at 1 % of
f_n, to 10⁻³)passedswing_mm0.028658 ± 2.9 × 10⁻⁵0.0286608locked10 % of the tolerance usedr0003half-power bandwidth = 2
zeta_totalf_nfor light damping (to 2 %)passedbandwidth_Hz1 ± 0.020.9875locked62 % of the tolerance used
Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.
Inputs
| Name | Unit | Default | Meaning |
|---|---|---|---|
mass_kg | kg | 0.01 | |
natural_frequency_Hz | Hz | 25.0 | |
zeta_mech | 1 | 0.01 | Mechanical damping ratio (air, clamps, material). |
zeta_elec | 1 | matched | Harvested (electrical) damping ratio, or "matched" (= mechanical: the most power). |
frequency_Hz | Hz | The source's frequency (default: the tuned one). | |
accel_rms_mps2 | m/s² | ||
velocity_rms_mmps | mm/s | RMS vibration velocity, as machine-condition standards give it. | |
detune_pct | % | 2.0 | |
power_budget_uW | µW |
Readings
| Name | Unit | Meaning |
|---|---|---|
power_uW | µW | |
swing_mm | mm | |
bandwidth_Hz | Hz | |
power_detuned_uW | µW | |
margin | 1 | |
power.csv | ||
zeta_total | 1 | |
coupling_k2_needed | 1 | |
stiffness_N_per_m | N/m | |
base_accel_peak_mps2 | m/s² | |
peak_power_uW | µW | |
power_budget_uW | µW | |
detune_pct | % |
Try the call
Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.