Ideal Translational Motion Sensor

Motion sensor in mechanical translational systems

  • Library:
  • Simscape / Foundation Library / Mechanical / Mechanical Sensors


The Ideal Translational Motion Sensor block represents a device that converts an across variable measured between two mechanical translational nodes into a control signal proportional to velocity or position. You can specify the initial position (offset) as a block parameter.

The sensor is ideal since it does not account for inertia, friction, delays, energy consumption, and so on.

Connections R and C are mechanical translational conserving ports that connect the block to the nodes whose motion is being monitored. Connections V and P are physical signal output ports for velocity and position, respectively.

The block positive direction is from port R to port C. This means that the velocity is measured as v = vRvC, where vR, vC are the absolute velocities at ports R and C, respectively.



expand all

Physical signal output port for velocity.

Physical signal output port for position.


expand all

Mechanical translational conserving port associated with the sensor positive probe.

Mechanical translational conserving port associated with the sensor negative (reference) probe.


expand all

Sensor initial position (offset).

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Introduced in R2007a