Angular Velocity Sensor
Mechanics
Run the live example
Free · no sign-up · runs in your browser
The Angular Velocity Sensor block measures the rotational speed difference between two conserving mechanical flanges and outputs it as a causal continuous numerical signal.
It acts as an ideal tachometer or rotary encoder with zero mechanical drag or friction. When flange B is left unconnected, the sensor measures absolute shaft speed relative to the stationary inertial reference frame ().
Real-World Analog: Represents an optical rotary encoder, resolver, or tachometer measuring shaft angular speed without absorbing torque.
Mathematical Model
The sensor samples the across-variable potential difference without introducing internal torque:
Where:
\omega_{\text{out}}(t)is the continuous causal output signal on portoutin radians per second ().\omega_a(t)is the angular velocity of measuring flange A in .\omega_b(t)is the angular velocity of reference flange B in (defaults to when left unconnected).
The sensor draws zero net torque from the connected flanges:
Inputs & Outputs
| Direction | ID | Label | Type | Status |
|---|---|---|---|---|
| → In | flange_a |
A | number | Required |
| → In | flange_b |
B | number | Optional |
| ← Out | out |
ω | number | Output |
Usage Examples
Absolute Shaft Speed Measurement
Measure the angular velocity of an accelerating flywheel relative to mechanical ground:
Inertia -> AngularVelocitySensor(flange_a)
AngularVelocitySensor(out) -> uPlotDisplay
Relative Slip Velocity
Measure relative slip speed across a torsional damper or clutch:
Inertia1 -> AngularVelocitySensor(flange_a)
Inertia2 -> AngularVelocitySensor(flange_b)
AngularVelocitySensor(out) -> NumericDisplayRemarks & Best Practices
- Across-Variable Sensor: Analogous to an ideal voltmeter in electrical circuits, connecting in parallel across the measurement nodes.
- Zero Disturbance: Causes zero reaction torque, ensuring the simulation results are unaffected by instrumentation.
- Signal Domain Bridge: Translates acausal rotational mechanics variables into standard causal block diagram signals for PID controllers and displays.
Related Components
- TorqueSensor: In-line measurement of transmitted through-torque
- AngularVelocitySource: Ideal across-variable rotational speed generator
- Inertia: Rotating inertial mass
- RotationalReference: Clamped stationary mechanical housing (0 rad/s)