Skip to content
AccelerationSensor.md

AccelerationSensor ​

Measures the absolute angular acceleration of a rotational spline.

This sensor determines the absolute angular acceleration of its spline connector, leveraging properties inherited from PartialAbsoluteSensor, such as the spline's angle (spline.phi). The absolute angular velocity (w) is first calculated as the time derivative of this angle:

w=dspline.phidt

Then, the absolute angular acceleration (a) is computed as the time derivative of the angular velocity:

a=dwdt=d2spline.phidt2

This resulting acceleration is provided as the output a.

This component extends from PartialAbsoluteSensor

Usage ​

RotationalComponents.AccelerationSensor()

Connectors ​

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

  • a - This connector represents a real signal as an output from a component (RealOutput)

Variables ​

NameDescriptionUnits
wAbsolute angular velocity of flangerad/s

Behavior ​

0=spline.tau(t)w(t)=dspline.phi(t)dta(t)=dw(t)dt

Source ​

dyad
"""
Measures the absolute angular acceleration of a rotational spline.

This sensor determines the absolute angular acceleration of its `spline` connector, leveraging properties inherited from `PartialAbsoluteSensor`, such as the spline's angle (`spline.phi`).
The absolute angular velocity (`w`) is first calculated as the time derivative of this angle:

math w = \frac{d\text{spline}.\phi}

Then, the absolute angular acceleration (`a`) is computed as the time derivative of the angular velocity:

math a = \frac{dw}{dt} = \frac{d^2\text{spline}.\phi}

This resulting acceleration is provided as the output `a`.
"""
component AccelerationSensor
  extends PartialAbsoluteSensor
  "Absolute angular acceleration of flange as output signal"
  a = RealOutput() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
  "Absolute angular velocity of flange"
  variable w::AngularVelocity
relations
  w = der(spline.phi)
  a = der(w)
metadata {
  "Dyad": {"icons": {"default": "dyad://RotationalComponents/SingleSplineSensor.svg"}}
}
end
Flattened Source
dyad
"""
Measures the absolute angular acceleration of a rotational spline.

This sensor determines the absolute angular acceleration of its `spline` connector, leveraging properties inherited from `PartialAbsoluteSensor`, such as the spline's angle (`spline.phi`).
The absolute angular velocity (`w`) is first calculated as the time derivative of this angle:

math w = \frac{d\text{spline}.\phi}

Then, the absolute angular acceleration (`a`) is computed as the time derivative of the angular velocity:

math a = \frac{dw}{dt} = \frac{d^2\text{spline}.\phi}

This resulting acceleration is provided as the output `a`.
"""
component AccelerationSensor
  "Spline of the shaft from which sensor information shall be measured"
  spline = Spline() {"Dyad": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}}
  "Absolute angular acceleration of flange as output signal"
  a = RealOutput() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
  "Absolute angular velocity of flange"
  variable w::AngularVelocity
relations
  0 = spline.tau
  w = der(spline.phi)
  a = der(w)
metadata {
  "Dyad": {"icons": {"default": "dyad://RotationalComponents/SingleSplineSensor.svg"}}
}
end


Test Cases ​

No test cases defined.

  • Examples

  • Experiments

  • Analyses