WSENS

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 (0 rad/s0\text{ rad/s}).

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:

ωout(t)=ωa(t)−ωb(t)\omega_{\text{out}}(t) = \omega_a(t) - \omega_b(t)

Where:

  • \omega_{\text{out}}(t) is the continuous causal output signal on port out in radians per second (rad/s\text{rad/s}).
  • \omega_a(t) is the angular velocity of measuring flange A in rad/s\text{rad/s}.
  • \omega_b(t) is the angular velocity of reference flange B in rad/s\text{rad/s} (defaults to 0 rad/s0\text{ rad/s} when left unconnected).

The sensor draws zero net torque from the connected flanges:

τa=0,τb=0\tau_a = 0, \quad \tau_b = 0

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) -> NumericDisplay

Remarks & 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