20-sim webhelp > Library > Iconic Diagrams > Mechanical > Rotation > Sensors > positionsensor-relative


positionsensor-relative

Navigation:  Library > Iconic Diagrams > Mechanical > Rotation > Sensors >

positionsensor-relative

Previous pageReturn to chapter overviewNext page

Library

Iconic Diagrams\Mechanical\Rotation\Sensors

Use

Domains: Continuous. Size: 1-D. Kind: Iconic Diagrams (Rotation), Block Diagrams.

Description

This model translates a angular position difference to an output signal. It has a force out causality. The port p of the model has separate high and low terminals. The equations are:

 

p.T = p_high.T = p_low.T;

p.omega = p_high.omega - p_low.omega;

p.T = 0;

phi = int(p.omega);

 

Interface

Ports

Description

p_high, p_low

Both terminals of the Rotation port p.

Causality

 

fixed force out

 

Output

 

phi

Relative angular position [rad]

Initial Values

 

phi_initial

Initial angular position [rad]