Angle sensor
Measures shaft angle in radians without loading the mechanical system.
- signal
- rotational
- Gradara equations
- 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
-
y
Absolute 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
Assumptions 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.
- Servo position control
See also
Select a block in Gradara and press F1 to open its page offline.