Quantcast

Documentation Center

  • Trial Software
  • Product Updates

PS Sensor

Model generic linear sensor

Library

Sensors

Description

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 Y = max(min(A · U + B,Ymax),Ymin), where Ymin and Ymax are minimum and maximum limits on the output, respectively.

Dialog Box and Parameters

Output type

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.

Sensor gain, A

The sensitivity of the output Y with respect to the input U, dY/dU. The default value is 1.

Sensor offset, B

The output when the input U is zero. The output does not exceed the limits Ymax and Ymin. The default value is 0.

Maximum output, Ymax

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 typeUnits
Variable voltageV
Variable currentA
Variable resistor

The default value is 5.

Minimum output, Ymin

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 typeUnits
Variable voltageV
Variable currentA
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.

Ports

The block has the following ports:

U

Physical input signal

+

Positive electrical voltage

-

Negative electrical voltage

See Also

| |

Was this topic helpful?