Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Proximity Sensor

Model simple distance sensor

Library

Sensors

Description

The Proximity Sensor block represents a simple proximity sensor. The sensing distance Z is defined as the distance normal to the sensor surface at which the sensor detects an object for a given radial offset R, as shown in the following figure.

A typical sensing distance curve is shown in the following figure.

The output is modeled by an electrical switch which can either be Normally Open (N.O.) or Normally Closed (N.C.) when no object is detected.

Parameters

Vector of radial offset distances R

Vector of distances from the sensor to the object resolved into a plane tangential to the sensor head. The default value is [ -25 -20 -15 -10 -5 0 5 10 15 20 25 ] mm.

Corresponding sensing distances Z

Vector of distances from the sensor to the object resolved with respect to a normal vector at the sensor head. The default value is [ 0 0 5 8 9.5 10 9.5 8 5 0 0 ] mm.

Output when not detected

Indicates whether the output is Normally Open (N.O.), meaning the output becomes closed only when the object is detected, or Normally Closed (N.C.), meaning the output becomes open only when the object is detected. The default value is Normally Open (N.O.).

Closed resistance R_closed

The resistance between the + and - ports when the output contacts are closed. The default value is 0.01 Ω.

Open conductance G_open

The conductance between the + and - ports when the output contacts are open. The default value is 1e-08 1/Ω.

Ports

The block has the following ports:

R

Radial distance to the sensor

Z

Perpendicular distance to the sensor

+

Positive electrical voltage

-

Negative electrical voltage

Was this topic helpful?