Angle sensor
Absolute angle of the flange, in radians, without loading it.
- signal
- rotational
- Modelica Standard Library
- 2 ports
angleSensorLibraryRotationalDescription
Measures the absolute angle of the flange, in radians, without loading it. Use it for position feedback in a servo loop.
Example
Resolver and Hall sensor A shaft turning at 10 rad/s read by a resolver, a Hall sensor, and an angle sensor.
Shaft 10 rad/sResolverHall sensorShaft angle
Also in this example:Constant speedElectrical angle sensorResolver
Ports
Outputs 1
-
θ
yAbsolute angle, in radians. It is not wrapped to one revolution.
Conserving terminals 1
-
shaft
flangeMeasured flange. No torque is exchanged.
Equations
Modelica
y = flange.phi flange.tau = 0
Implementation
Modelica Standard Library 4.1.0
MSL documentation Modelica.Mechanics.Rotational.Sensors.AngleSensorAssumptions and limitations
- Ideal: no quantization, noise, or delay, unlike a real encoder.
Used in
These larger examples use it too. Open them from Examples in the app.
- PMSM · Field-oriented control
- Servo position control
See also
Select a block in Gradara and press F1 to open its page offline.