AngleSensor ​
Measures the absolute rotational angle of a connected spline. This component models an ideal sensor that outputs the absolute angle of a spline. It directly reflects the phi variable of an associated spline object, which is assumed to be defined in the extended PartialAbsoluteSensor or through a connection. The relationship defining the sensor's output is:
There are no dynamics, delays, or inaccuracies modeled in this sensor; it provides a perfect, instantaneous reading of the spline's angle.
This component extends from PartialAbsoluteSensor
Usage ​
RotationalComponents.AngleSensor()
Connectors ​
spline- This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. (Spline)phi- This connector represents a real signal as an output from a component (RealOutput)
Behavior ​
Source ​
"""
Measures the absolute rotational angle of a connected spline.
This component models an ideal sensor that outputs the absolute angle of a spline.
It directly reflects the `phi` variable of an associated `spline` object, which is
assumed to be defined in the extended `PartialAbsoluteSensor` or through a
connection. The relationship defining the sensor's output is:math phi_{sensor} = spline.phi
There are no dynamics, delays, or inaccuracies modeled in this sensor;
it provides a perfect, instantaneous reading of the spline's angle.
"""
component AngleSensor
extends PartialAbsoluteSensor
"Absolute angle of spline as output signal"
phi = RealOutput() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
relations
phi = spline.phi
metadata {
"Dyad": {"icons": {"default": "dyad://RotationalComponents/SingleSplineSensor.svg"}}
}
endFlattened Source
"""
Measures the absolute rotational angle of a connected spline.
This component models an ideal sensor that outputs the absolute angle of a spline.
It directly reflects the `phi` variable of an associated `spline` object, which is
assumed to be defined in the extended `PartialAbsoluteSensor` or through a
connection. The relationship defining the sensor's output is:math phi_{sensor} = spline.phi
There are no dynamics, delays, or inaccuracies modeled in this sensor;
it provides a perfect, instantaneous reading of the spline's angle.
"""
component AngleSensor
"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 angle of spline as output signal"
phi = RealOutput() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
relations
0 = spline.tau
phi = spline.phi
metadata {
"Dyad": {"icons": {"default": "dyad://RotationalComponents/SingleSplineSensor.svg"}}
}
endTest Cases ​
No test cases defined.
Related ​
Examples
Experiments
Analyses