Proximity - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Proximity

Proximity sensor between two frames.

          

 

 

Description

Connections

Parameters

Description

The equations for the Proximity component are given below.

Distance:

r=rbra=xbxa,ybya,zbza, is the relative displacement vector.

 

The distance (dist) is calculated based on the Use Projection Axis and e__axis  parameters:

dist  = {r . rUse Projection Axis = falser . e__axisUse Projection Axis = true

 

Trigger:

The output signal, proximity, becomes true when:

proximity =distδ or Hold and preproximity and not `Use Reset Signal` or not reset 

 

Connections

Name

Description

Modelica ID

framea

Inboard frame

frame_a

frameb

Outboard frame

frame_b

proximity

Boolean output signal

proximity

reset

Optional boolean input signal

reset

Parameters

Symbol

Default

Units

Description

Modelica ID

Use Projection Axis

 

When checked (true) the distance is calculated along the selected axis of frame_a.

useAxis

δ

1e-3

[m]

Distance threshold between frame_a and frame_b to trigger the sensor.

delta

e__axis

[1,0,0]

 

Unit vector (in frame_a) for distance calculation.

e_axis

Hold

 

When checked (true) the output will remain true after the first trigger. When unchecked (false) the output turns to false as soon as the distance between the frames becomes greater than the given threshold (δ).

hold

Use Reset Signal

 

When checked (true) an input is enabled to reset the sensor.

useReset

 

See Also

Multibody Sensors

Multibody Overview