| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → SimElectronics |
| Contents | Index |
| Learn more about SimElectronics |
Sensors

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.

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.
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.
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.).
The resistance between the + and - ports when the output contacts are closed. The default value is 0.01 Ω.
The conductance between the + and - ports when the output contacts are open. The default value is 1e-08 1/Ω.
The block has the following ports:
Radial distance to the sensor.
Perpendicular distance to the sensor.
Positive electrical voltage.
Negative electrical voltage.
![]() | Positive Supply Rail | PS Sensor | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |