LIBRARY
AccelerationSensor
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
julia
using RotationalComponents #hide
using ModelingToolkit #hide
@named sys = RotationalComponents.Sensors.AccelerationSensor() #hide
let eqs = full_equations(sys); Base.length(eqs) > 25 ? nothing : eqs end #hide<< @example-block not executed in draft mode >>Source
dyad
# 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"}}
}
endFlattened 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