Skip to content
SpeedSource.md

SpeedSource ​

Forced movement of a spline according to a reference angular velocity signal.

Models an ideal source of rotational motion that imposes a prescribed relative angular velocity between a "spline" and its "support" based on the input signal w_ref. The relative rotation angle, ϕ, is dynamically calculated based on the angles of the spline and support, typically from an extended component like PartialElementaryOneSplineAndSupport (e.g., as ϕ=spline.ϕ−ϕsupport). The relative angular velocity, w, is defined as the time derivative of this relative angle ϕ:

w=dphidt

math The core behavior is to equate this kinematic angular velocity w with the reference input wref:

w=wref

math This ensures that the spline rotates relative to the support precisely at the angular velocity specified by wref.

This component extends from PartialElementaryOneSplineAndSupport

Usage ​

RotationalComponents.SpeedSource()

Connectors ​

  • spline - This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. (Spline)

  • support - This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. (Spline)

  • w_ref - This connector represents a real signal as an input to a component (RealInput)

Variables ​

NameDescriptionUnits
phi_supportAbsolute angle of the support splinerad
phiAngle of rotation calculated by differentiating w.rad
wAngular velocity set by w_refrad/s

Behavior ​

support.phi(t)=phi_support(t)support.tau(t)=−spline.tau(t)phi(t)=spline.phi(t)−phi_support(t)w(t)=dphi(t)dtw(t)=w_ref(t)

Source ​

dyad
"""
Forced movement of a spline according to a reference angular velocity signal.

Models an ideal source of rotational motion that imposes a prescribed relative angular velocity
between a "spline" and its "support" based on the input signal `w_ref`.
The relative rotation angle, \$\\phi\$, is dynamically calculated based on the angles of the spline and support,
typically from an extended component like `PartialElementaryOneSplineAndSupport` (e.g., as \$\\phi = \text{spline}.\\phi - \\phi_\text{support}\$).
The relative angular velocity, `w`, is defined as the time derivative of this relative angle \$\\phi\$:

math w = \frac{d\phi}

Thecorebehavioristoequatethiskinematicangularvelocity‘w‘withthereferenceinput$wref$:

math w = w_

Thisensuresthatthesplinerotatesrelativetothesupportpreciselyattheangularvelocityspecifiedby$wref$."""componentSpeedSourceextendsPartialElementaryOneSplineAndSupport"Inputsignalspecifyingthedesiredreferenceangularvelocityofthesplinerelativetothesupport."wref=RealInput()"Dyad":"placement":"icon":"x1":−50,"y1":450,"x2":50,"y2":550"Angleofrotationcalculatedbydifferentiating‘w‘."variablephi::Angle"Angularvelocitysetby‘wref‘"variablew::AngularVelocityrelationsphi=spline.phi−phisupportw=der(phi)w=wrefmetadata"Dyad":"icons":"default":"dyad://RotationalComponents/Pos−Speed−Acc−Move.svg"end
Flattened Source
dyad
"""
Forced movement of a spline according to a reference angular velocity signal.

Models an ideal source of rotational motion that imposes a prescribed relative angular velocity
between a "spline" and its "support" based on the input signal `w_ref`.
The relative rotation angle, \$\\phi\$, is dynamically calculated based on the angles of the spline and support,
typically from an extended component like `PartialElementaryOneSplineAndSupport` (e.g., as \$\\phi = \text{spline}.\\phi - \\phi_\text{support}\$).
The relative angular velocity, `w`, is defined as the time derivative of this relative angle \$\\phi\$:

math w = \frac{d\phi}

Thecorebehavioristoequatethiskinematicangularvelocity‘w‘withthereferenceinput$wref$:

math w = w_

Thisensuresthatthesplinerotatesrelativetothesupportpreciselyattheangularvelocityspecifiedby$wref$."""componentSpeedSource"Primaryrotationalshaftsplineconnector"spline=Spline()"Dyad":"placement":"icon":"x1":950,"y1":450,"x2":1050,"y2":550"Supportsplineconnector"support=Spline()"Dyad":"placement":"icon":"iconName":"support","x1":450,"y1":950,"x2":550,"y2":1050"Absoluteangleofthesupportspline"variablephisupport::Angle"Inputsignalspecifyingthedesiredreferenceangularvelocityofthesplinerelativetothesupport."wref=RealInput()"Dyad":"placement":"icon":"x1":−50,"y1":450,"x2":50,"y2":550"Angleofrotationcalculatedbydifferentiating‘w‘."variablephi::Angle"Angularvelocitysetby‘wref‘"variablew::AngularVelocityrelationssupport.phi=phisupportsupport.tau=−spline.tauphi=spline.phi−phisupportw=der(phi)w=wrefmetadata"Dyad":"icons":"default":"dyad://RotationalComponents/Pos−Speed−Acc−Move.svg"end


Test Cases ​

No test cases defined.

  • Examples

  • Experiments

  • Analyses