| SimElectronics™ | ![]() |
Sensors

The PS Sensor block represents a generic linear sensor. The block converts the physical signal input U into an electrical output Y across the + and - ports. The Output type parameter value determines which of the following electrical outputs the block produces:
Output voltage
Output current
Output resistance
Y is related to U as
where Ymin and Ymax are
minimum and maximum limits on the output, respectively.

Indicates whether the sensor output is a Variable voltage of Y V, a Variable current of Y A, or Variable resistor with a value of Y Ω. The default value is Variable voltage.
The sensitivity of the output Y with respect to the input U, dY/dU. The default value is 1.
The output when the input U is zero. The output does not exceed the limits Ymax and Ymin. The default value is 0.
The upper limit on the sensor output. The following table shows the units of this parameter, which depend on the selected value of the Output type parameter.
| Output type | Units |
|---|---|
| Variable voltage | V |
| Variable current | A |
| Variable resistor | Ω |
The default value is 5.
The lower limit on the sensor output. The following table shows the units of this parameter, which depend on the selected value of the Output type parameter.
| Output type | Units |
|---|---|
| Variable voltage | V |
| Variable current | A |
| Variable resistor | Ω |
The default value is 0.01.
If you select Variable resistance for the Output type parameter, the minimum resistance Ymin must be greater than zero.
The block has the following ports:
Physical input signal.
Positive electrical voltage.
Negative electrical voltage.
Simscape Controlled Voltage Source, Simscape Controlled Current Source, and Simscape Variable Resistor
![]() | Proximity Sensor | Pulse Current Source | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |