Voltecx is in beta. The macOS build comes first; Windows and Linux packages are still being tested.Beta. macOS comes first; Windows and Linux are still in testing. What's new
Documentation

Elastic Shaft (elasticShaft)

A compliant shaft between two masses: a torsional spring and a damper in parallel.

elasticShaft

Component reference · 繁體中文

Group: Mechanical · Kind: {"element":"elasticShaft","kind":"mechanical"}

When to use it

Use it for the two-mass model of a drive, with the motor inertia on a and the load inertia on b, to see the shaft resonance and tune the speed loop against it.

Pins

Pin Domain Meaning
a mechanical Side a, usually the motor
b mechanical Side b, usually the load

Common parameters

  • k: Torque per radian of twist between the two sides (Default: required)
  • d: Torque per rad/s of slip between the two sides (Default: 0)
  • theta0: Twist at the start, side a ahead of side b (Default: 0)

Parameters

Key Unit Default Typical range Description
k N·m/rad required Torque per radian of twist between the two sides
d N·m·s/rad 0 Torque per rad/s of slip between the two sides
theta0 rad 0 Twist at the start, side a ahead of side b

Parameter descriptions are in English in both languages.

Model

The torque from a to b is k·θ + d·(ωa - ωb), where the twist θ is the integral of ωa - ωb and starts at theta0. It is the same as a Torsional Spring and a Torsional Damper in parallel. With J1 on a and J2 on b the resonance is ωr = sqrt(k·(J1 + J2)/(J1·J2)) and the anti-resonance seen from the motor is sqrt(k/J2).

Common mistakes

  • The shaft has no mass. Put the motor inertia and the load inertia on the two sides as Inertia parts, or the resonance is not there.
  • A speed loop much faster than ωr excites the resonance. Measure the speed on the motor side and keep the loop bandwidth below the anti-resonance, or add a filter.
  • d can be 0 (an undamped shaft) but not below. Keep the maximum step well below 1/ωr.

Problems rules: pin.unconnected, compile.error

Datasheet and sources

k and d come from the coupling or shaft datasheet (torsional stiffness and damping), or from k = G·π·d⁴/(32·L) for a solid round shaft. Measured drives often give the resonance frequency instead: then k = ωr²·J1·J2/(J1 + J2).

Example

Open the example with the command file.openExample and the name demo:elasticShaft.


Generated by cargo xtask reference from the usage texts and parameter specs. Do not edit by hand.