Invntr
Source

All instruments

transducer

A cantilever with a tip mass and bonded piezoelectric patches (31 mode) reduced to the one-mass numbers dynamics takes, referred to the motion of the tip mass's centre: force per volt (theta), clamped capacitance, short-circuit stiffness, effective and forcing mass, coupling k^2, short- and open-circuit frequencies; the beam's worst bending stress and each patch's peak strain per mm of motion, judged at a swing against a strain limit. Stepped Euler-Bernoulli beam (composite section per piece: neutral axis, EI), cubic finite elements, first mode with the tip mass or the static tip-load shape; series or parallel wiring; optional bond layer; length tuned to a frequency. Built-in PZT-5A and PVDF constants (CC BY sources). Files: shape.csv, scene.glb (the beam, patches and mass deflected, coloured by surface strain).

Field
Waves, optics and circuits
Version
0.1.0
Runs as
Compiled (Rust)
Typical run
2 s

Compiled from source: run sh packs/install.sh once before admitting it.

Known answers it must pass

Admission replaytransducer 0.1.0 · files 4daa0d3c12d4…b95e
  1. r0001bare cantilever, static tip-load shape: K = 3EI/L^3 = 500 N/m, effective mass M_t + 33/140 m L, forcing mass M_t + 3/8 m L, root stress 3EI/L^3 x 1 mm x L x (h/2)/I = 30 MPa per mm (tolerance 1e-6: the stiffness solve's round-off at 240 elements)passed

    stiffness_N_per_m500 ± 0.0005500lockedunder 0.01 % of the tolerance used
    effective_mass_kg0.0118386 ± 1.2e-080.0118386lockedunder 0.01 % of the tolerance used
    forcing_mass_kg0.012925 ± 1.3e-080.012925lockedunder 0.01 % of the tolerance used
    stress_per_mm_MPa30 ± 3e-0530lockedunder 0.01 % of the tolerance used
    stress_per_mm_bare_MPa30 ± 3e-0530lockedunder 0.01 % of the tolerance used
    static_stiffness_N_per_m500 ± 0.0005500lockedunder 0.01 % of the tolerance used
    beam_mass_kg0.0078 ± 7.8e-150.0078locked0.011 % of the tolerance used
  2. r0002bare cantilever, first mode, no tip mass: f = 1.87510407^2/(2 pi) sqrt(EI/(m L^4)) = 81.799 Hz, modal mass at the tip m L/4 (tolerance 1e-5: mesh)passed

    sc_frequency_Hz81.799 ± 0.0008281.799lockedunder 0.01 % of the tolerance used
    effective_mass_kg0.00195 ± 1.9e-080.00195lockedunder 0.01 % of the tolerance used
    stiffness_N_per_m515.098 ± 0.0052515.098lockedunder 0.01 % of the tolerance used
  3. r0003cantilever with a point tip mass, first mode: root of 1 + cos l cosh l + mu l (cos l sinh l - sin l cosh l) = 0, mu = 1.282, l = 1.18550, f = 32.6967 Hz (tolerance 1e-6)passed

    sc_frequency_Hz32.6967 ± 3.3e-0532.6967lockedunder 0.01 % of the tolerance used
  4. r0004two-layer section over the whole length (steel 1 mm + piezo 0.5 mm, E 66 GPa), static shape: neutral axis and EI of the two-layer section, K = 3EI/L^3, theta = |e31| b (z_p - z_n) x 3/(2L) (slope difference of the tip-load shape), C = eps33S b L / h_ppassed

    sections.S1.neutral_axis_mm{"value": 0.6062231759656652, "rel_tol": 1e-12}
    sections.S1.EI_Nm2{"value": 0.33287643061516453, "rel_tol": 1e-12}
    stiffness_N_per_m998.629 ± 0.001998.629lockedunder 0.01 % of the tolerance used
    theta_N_per_V0.00121094 ± 1.2e-090.00121094lockedunder 0.01 % of the tolerance used
    capacitance_F2.65626e-08 ± 2.7e-202.65626e-08lockedunder 0.01 % of the tolerance used
  5. r0005stepped beam: a PZT-5A patch (built-in constants) 8 x 15 x 0.2 mm from 5 mm on a 0.5 mm steel strip, tip load: compliance and the patch's slope difference by integrating M/EI piecewise (quadrature), theta and C by hand, root stress K x 1 mm x L x (h/2)/I on the bare root (tolerance 1e-6)passed

    sections.S2.neutral_axis_mm{"value": 0.28111111111111114, "rel_tol": 1e-12}
    sections.S2.EI_Nm2{"value": 0.03204742547425475, "rel_tol": 1e-12}
    stiffness_N_per_m609.392 ± 0.00061609.392lockedunder 0.01 % of the tolerance used
    theta_N_per_V0.000284517 ± 2.8e-100.000284517lockedunder 0.01 % of the tolerance used
    capacitance_F7.93021e-09 ± 7.9e-217.93021e-09lockedunder 0.01 % of the tolerance used
    stress_per_mm_MPa73.127 ± 7.3e-0573.127lockedunder 0.01 % of the tolerance used
    stress_peak_at_mm0 ± 1e-090lockedunder 0.01 % of the tolerance used
    stress_per_mm_bare_MPa73.127 ± 7.3e-0573.127lockedunder 0.01 % of the tolerance used
  6. r0006a PZT-5A bimorph on brass with a 12 g tip mass (geometry and materials as restated, CC BY, in Machu et al., Sensors 21 (2021) 6759, Tables 1-2) wired in parallel: capacitance 2 eps33S b L/h_p (4 x the series value) while the coupling and the short-circuit frequency are the series wiring's (values pinned from this instrument's series run; that run was compared, read only, with the resonances published for this bimorph: within 0.4 %)passed

    coupling_k20.113376 ± 1.1e-100.113376locked0.058 % of the tolerance used
    sc_frequency_Hz45.7032 ± 4.6e-0845.7032lockedunder 0.01 % of the tolerance used
    capacitance_F1.65039e-07 ± 1.7e-191.65039e-07lockedunder 0.01 % of the tolerance used
  7. r0007tune the free length of a bare cantilever to 100 Hz: L = sqrt(1.8751^2/(2 pi f) sqrt(EI/m)) = 90.4428 mm (tolerance 1e-5, mesh; the frequency hit to 1e-7: eigenvalue round-off)passed

    length_m0.0904428 ± 9e-070.0904428lockedunder 0.01 % of the tolerance used
    sc_frequency_Hz100 ± 1e-05100lockedunder 0.01 % of the tolerance used
  8. r0008a tip mass whose centre sits 20 mm beyond the end of a bare cantilever, static: a force F there bends the beam by a tip force F and moment F e, so the centre moves F((L+e)^3 - e^3)/(3EI): K = 290.698 N/m; root moment F (L+e): 20.930232558139533 MPa per mm (tolerance 1e-6)passed

    stiffness_N_per_m290.698 ± 0.00029290.698lockedunder 0.01 % of the tolerance used
    stress_per_mm_MPa20.9302 ± 2.1e-0520.9302lockedunder 0.01 % of the tolerance used
  9. r0009PVDF unimorph on steel with a 2.6 g tip mass over its last 4 mm, measured first resonance 18.7 Hz (Sensors 21 (2021) 6759, CC BY: Tables 1 and 2 and section 3.3); the tip mass taken as a point at its centre on a rigid 2 mm arm (tolerance 3 %: the mass's shape is not given; as a point at the end of a 69.9 mm beam it gives 1.4 % lower)passed

    sc_frequency_Hz18.7 ± 0.5619.1091locked73 % of the tolerance used
9 of 9 cases passed · sandbox macos-seatbeltrecorded from the kernel in a fresh lab

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

NameUnitDefaultMeaning
beam_E_PaPa
beam_thickness_mm
beam_width_mm
beam_density_kg_per_m3kg/m^3
length_mmFree length, clamp to the beam's end (the start value when tune_length_to_Hz is given).
tip_mass_kgkg0
tip_offset_mm0How far the tip mass's centre sits beyond the beam's end (rigidly attached). Readings per mm refer to that centre's motion.
tip_inertia_kg_m2kg m^20Rotary inertia of the tip mass about its centre.
patches[]
wiringparallelHow every patch layer is connected (polarities taken to add).
bond_thickness_mm0An adhesive layer under every patch (perfectly bonded, carries load).
bond_E_PaPa3000000000.0
bond_density_kg_per_m3kg/m^31200
shapemodeShape the lumped constants are taken over: the first mode with the tip mass, or the static shape under a force at the mass's centre. Both are reported.
elements240
tune_length_to_HzHzFind the free length that gives this short-circuit frequency (patches stay where they are).
tune_length_range_mm[shortest, longest] searched; default half to twice length_m.
swing_mmmmMotion amplitude of the mass's centre (e.g. @run:swing_mm from dynamics): stress and strain at it.
strain_limit1The patch's allowed peak strain (judged when swing_mm is given).
base_velocity_rms_mmpsmm/sThe base vibration: returns dynamics.velocity_rms_mmps scaled by forcing_ratio, so dynamics' one mass is forced as the beam is.

Readings

NameUnitMeaning
length_mm
theta_N_per_VN/V
capacitance_FF
stiffness_N_per_mN/m
effective_mass_kgkg
beam_share_kgkg
forcing_mass_kgkgint(rho A phi) + M_tip: the mass the base acceleration pushes
forcing_ratio1
coupling_k21theta^2/(K C), as dynamics' coupling_k2
sc_frequency_HzHz
oc_frequency_HzHz
frequency_split_pct%
static_stiffness_N_per_mN/m
second_mode_HzHz
stress_per_mm_MPaMPa/mmbeam outer fibre, worst point, per mm of the mass's motion, patches bonded perfectly
stress_per_mm_bare_MPaMPa/mmthe same moment on the bare beam section: the bound when shear lag leaves the beam bare near patch ends and at the clamp (what fatigue gets)
stress_bare_peak_at_mmmm
stress_at_swing_bare_MPaMPa
stress_peak_at_mmmm
patch_strain_per_mm1/mm
beam_mass_kgkg
tip_mass_kgkg
swing_mmmm
stress_at_swing_MPaMPa
patch_strain_at_swing1
strain_limit1
strain_ok
ok
warnings
tuned_to_HzHz
patchesper patch layer (name_face): theta, capacitance, k31^2, clamped permittivity, e31, strain per mm, strain at the swing, ok
sectionsper piece of constant layup: from, to, neutral axis from the beam's bottom face, EI, mass per length
other_shapethe same constants over the other shape
dynamicsfor dynamics, by reference: @run:dynamics.theta_N_per_V and so on
fatiguefor fatigue: @run:fatigue.alternating_per_mm_MPa (the bare-section bound; alternating_per_mm_bonded_MPa with a perfect bond)
scene
shape.csv
scene.glb

Try the call

Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.

Terminal
MCP call