Main Content

Ideal Translational Motion Sensor

Motion sensor in mechanical translational systems

  • Ideal Translational Motion Sensor block

Libraries:
Simscape / Foundation Library / Mechanical / Mechanical Sensors

Description

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 acceleration, 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 where motion is being monitored. 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. The Measurement reference parameter lets you disable port C and measure with respect to ground.

Connections A, V, and P are physical signal output ports for acceleration, velocity, and position, respectively. The visibility of these ports is controlled by block parameters. If you enable port A, the block performs additional computations, to measure acceleration based on velocity. To avoid unnecessary model complexity, it is recommended that in each instance of the block you enable only the ports that you actually use for measurement.

Examples

Ports

Output

expand all

Physical signal output port for acceleration.

Dependencies

To enable this port, select the Acceleration check box.

Physical signal output port for velocity.

Dependencies

To enable this port, select the Velocity check box.

Physical signal output port for position.

Dependencies

To enable this port, select the Position check box.

Conserving

expand all

Mechanical translational conserving port associated with the sensor positive probe.

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

Dependencies

To enable this port, set the Measurement reference parameter to Difference.

Parameters

expand all

Select whether to perform absolute or relative measurements:

  • Difference — Measure the acceleration, velocity, and position of port R relative to port C.

  • Absolute — Disable port C and measure the acceleration, velocity, and position of port R with respect to ground (internal reference node).

Selecting this check box exposes output port A, which lets you measure acceleration. Exposing port A also involves additional computations, to measure acceleration based on velocity, therefore this port is off by default.

Selecting this check box exposes output port V, which lets you measure velocity.

Selecting this check box exposes output port P, which lets you measure position.

Sensor initial position (offset).

Dependencies

To enable this parameter, select the Position check box.

Extended Capabilities

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

Version History

Introduced in R2007a

expand all