Main Content

Temperature Sensor

Ideal temperature sensor

  • Temperature Sensor block

Libraries:
Simscape / Foundation Library / Thermal / Thermal Sensors

Description

The Temperature Sensor block represents an ideal temperature sensor, that is, a device that measures either the absolute temperature at a node, or the temperature difference between two nodes, without drawing any heat.

Connections A and B are thermal conserving ports that connect to the two points where temperature is being monitored. Port T is a physical signal port that outputs the temperature difference value.

The block positive direction is from port A to port B. The measured temperature is determined as T = TA – TB.

To measure the absolute temperature at a node, set the set the Measurement reference parameter to Absolute and connect port A to the node being measured.

Ports

Output

expand all

Physical signal output port for temperature measurement.

Conserving

expand all

Thermal conserving port.

Thermal conserving port. The measurement is positive when the value at port A is greater than the value at port B.

Dependencies

To enable this port, set the Measurement reference parameter to Difference.

Parameters

expand all

Select between absolute and relative measurements:

  • Difference — The sensor measures the temperature difference between two nodes in the model. Selecting this option exposes port B on the block icon.

  • Absolute — The sensor measures absolute temperature at port A. The sensor contains an implicit reference node, which means that you need only one port to make absolute measurements. Selecting this option hides port B on the block icon.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2007b

expand all