Proximity
Proximity sensor between two frames.
Description
Connections
Parameters
The equations for the Proximity component are given below.
Distance:
r=rb−ra=xb−xa,yb−ya,zb−za, 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
Name
Modelica ID
framea
Inboard frame
frame_a
frameb
Outboard frame
frame_b
proximity
Boolean output signal
reset
Optional boolean input signal
Symbol
Default
Units
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
Download Help Document