AccelerationSensor
IconAccelerationSensor
Ideal sensor to measure the absolute angular acceleration of spline
This component extends from PartialAbsoluteSensor
Usage
AccelerationSensor()
Connectors
spline
- (Spline
)a
- This connector represents a real signal as an output from a component (RealOutput
)
Variables
Name | Description | Units |
---|---|---|
w | Absolute angular velocity of flange | rad/s |
Behavior
\[ \begin{align} 0 &= \mathtt{spline.tau}\left( t \right) \\ w\left( t \right) &= \frac{\mathrm{d} \mathtt{spline.phi}\left( t \right)}{\mathrm{d}t} \\ a\left( t \right) &= \frac{\mathrm{d} w\left( t \right)}{\mathrm{d}t} \end{align} \]
Source
# Ideal sensor to measure the absolute angular acceleration of spline
component AccelerationSensor
extends PartialAbsoluteSensor
# Absolute angular acceleration of flange as output signal
a = RealOutput() [{
"JuliaSim": {"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 {
"JuliaSim": {"icons": {"default": "jsml://RotationalComponents/SingleSplineSensor.svg"}}
}
end
Flattened Source
# Ideal sensor to measure the absolute angular acceleration of spline component AccelerationSensor # Spline of the shaft from which sensor information shall be measured spline = Spline() [{ "JuliaSim": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}} }] # Absolute angular acceleration of flange as output signal a = RealOutput() [{ "JuliaSim": {"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 { "JuliaSim": {"icons": {"default": "jsml://RotationalComponents/SingleSplineSensor.svg"}} } end
Test Cases
Related
- Examples
- Experiments
- Analyses