VSENS

Velocity Sensor

Mechanics
Run the live example Free · no sign-up · runs in your browser

The VelocitySensor block measures the relative or absolute linear velocity between two conserving mechanical flanges and outputs it as a causal continuous numerical signal in meters per second (m/s\text{m/s}).

It draws zero mechanical force from the monitored system, acting as an ideal non-intrusive linear velocity probe or optical encoder.

Real-World Analog: Represents a linear optical encoder scale, Doppler velocimeter, or LVDT measuring relative linear velocity.

Mathematical Model

The measured signal value is:

vout(t)=va(t)−vb(t)v_{\text{out}}(t) = v_a(t) - v_b(t)

Where:

  • v_a is the linear velocity of flange A in meters per second (m/s\text{m/s}).
  • v_b is the linear velocity of flange B in meters per second (m/s\text{m/s}). If flange B is unconnected, vb=0 m/sv_b = 0\text{ m/s} (ground-relative).

Through force drawn by the sensor is zero:

Fsensor=0 NF_{\text{sensor}} = 0 \text{ N}

Inputs & Outputs

Direction ID Label Type Status
→ In flange_a A number Required
→ In flange_b B number Optional
← Out out v number Output

Usage Examples

Monitoring Mass Oscillation

Measuring the velocity waveform of an oscillating mass:

Mass(m=1.0) -> VelocitySensor.flange_a
VelocitySensor.out -> uPlotDisplay

Relative Velocity Across Suspension Damper

Measuring relative compression speed across a suspension strut:

VelocitySensor.flange_a -> Mass(m=250.0)
VelocitySensor.flange_b -> Mass(m=35.0)
VelocitySensor.out -> Scope

Remarks & Best Practices

  • Domain Conversion: Seamlessly bridges acausal conserving physical networks with causal signal blocks (controllers, scopes, filters).
  • Infinite Impedance: Draws no force or energy from the physical network.

Related Components