Rotational.RelAngleSensor ​
This component extends from PartialRelativeSensor
Usage ​
TranslatedComponents.Rotational.RelAngleSensor()
Connectors ​
flange_a- This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. (Spline)flange_b- This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. (Spline)phi_rel- This connector represents a real signal as an output from a component (RealOutput)
Behavior ​
julia
using TranslatedComponents #hide
using ModelingToolkit #hide
@named sys = TranslatedComponents.Rotational.RelAngleSensor() #hide
full_equations(sys) #hide<< @example-block not executed in draft mode >>Source ​
dyad
component RelAngleSensor
extends PartialRelativeSensor
phi_rel = RealOutput()
relations
phi_rel = flange_b.phi - flange_a.phi
0 = flange_a.tau
endFlattened Source
dyad
component RelAngleSensor
flange_a = Spline()
flange_b = Spline()
phi_rel = RealOutput()
relations
0 = flange_a.tau + flange_b.tau
phi_rel = flange_b.phi - flange_a.phi
0 = flange_a.tau
metadata {}
endTest Cases ​
No test cases defined.
Related ​
Examples
Experiments
Analyses